LWR.define('@view/scopedHeaderAndFooter/labels', [], function() { return ["Consentimiento de cookies","Logotipo P\u0026G Health: La Ciencia del Cuidado Humano","Bandera de México, el país de esta versión del sitio web","Menú Toggle","Mi perfil","Login","Logotipo P\u0026G Health: La Ciencia del Cuidado Humano. Clic para volver a la página de inicio.","Ingrese una dirección de correo electrónico válida.","Ingrese su contraseña.","Este campo es obligatorio.","Cargando elementos de menú...","Mostrar menú"]; });(function() { LWR.define("@branding/scoped/6602a42b-de39-4194-9c14-372f1e6f8ed8",function(){if("undefined"!=typeof document){var o=document.createElement("style");o.textContent=".dxpBrand_6602a42b-de39-4194-9c14-372f1e6f8ed8{--dxp-g-success:#4bca81;--dxp-g-brand:rgb(0, 87, 183);--dxp-s-form-checkbox-color-background:var(--dxp-s-form-element-color-background);--dxp-s-dropdown-text-color:var(--dxp-g-root-contrast);--dxp-s-button-border-color-focus:var(--dxp-s-button-color-focus);--dxp-g-warning-contrast-3:#fff;--dxp-s-tertiary-button-text-color:var(--dxp-s-button-color);--dxp-s-dropdown-color-background:var(--dxp-g-root);--dxp-s-secondary-button-text-color-active:var(--dxp-s-secondary-button-text-color-focus);--dxp-g-neutral-contrast-3:#fff;--dxp-s-button-color-hover:var(--dxp-s-button-color-1);--dxp-g-neutral-contrast-2:#000;--dxp-g-neutral-contrast-1:#000;--dxp-s-button-color-focus-contrast:#ffffff;--dxp-g-warning-contrast-2:#000;--dxp-s-tertiary-button-border-color-1:rgba(0,0,0,0);--dxp-g-warning-contrast-1:#000;--dxp-s-button-border-color-active:var(--dxp-s-button-border-color-focus);--dxp-s-link-text-color-1:rgb(0, 68, 142);--dxp-g-info:#16325c;--dxp-g-root:rgb(255, 255, 255);--dxp-g-root-contrast-1:rgb(26, 26, 26);--dxp-g-root-contrast:rgb(46, 46, 46);--dxp-s-tertiary-button-text-color-focus:var(--dxp-s-tertiary-button-text-color-1);--dxp-g-root-contrast-2:rgb(0, 0, 0);--dxp-g-root-contrast-3:rgb(0, 0, 0);--dxp-s-tertiary-button-color-1:rgba(0,0,0,0);--dxp-s-form-checkbox-color-background-checked:var(--dxp-s-form-checkbox-color-background);--dxp-s-secondary-button-color-focus:var(--dxp-s-secondary-button-color-1);--dxp-g-warning-2:rgb(226, 125, 0);--dxp-g-warning-3:rgb(103, 57, 0);--dxp-s-form-element-color-border:var(--dxp-g-neutral-3);--dxp-g-warning-1:rgb(255, 165, 52);--dxp-s-secondary-button-color-hover:var(--dxp-s-secondary-button-color-1);--dxp-s-form-checkbox-color-border:var(--dxp-s-form-element-color-border);--dxp-s-tertiary-button-border-color-hover:var(--dxp-s-tertiary-button-border-color-1);--dxp-s-tertiary-button-border-color-focus:var(--dxp-s-tertiary-button-border-color-1);--dxp-g-warning-contrast:#000;--dxp-s-tertiary-button-color:rgba(0,0,0,0);--dxp-s-secondary-button-border-color:var(--dxp-s-button-color);--dxp-s-secondary-button-text-color:var(--dxp-s-button-color);--dxp-s-text-heading-small-color:var(--dxp-g-root-contrast);--dxp-s-form-element-color-background:var(--dxp-g-root);--dxp-s-form-element-placeholder-text-color:var(--dxp-g-neutral-3);--dxp-s-tertiary-button-border-color-active:var(--dxp-s-tertiary-button-border-color-focus);--dxp-g-offline-3:rgb(0, 0, 0);--dxp-g-offline-2:rgb(7, 7, 7);--dxp-g-offline-1:rgb(48, 48, 48);--dxp-s-button-color-contrast-1:var(--dxp-g-brand-contrast-1);--dxp-s-secondary-button-border-color-active:var(--dxp-s-secondary-button-border-color-focus);--dxp-g-offline:#444444;--dxp-g-success-contrast:#000;--dxp-g-brand-contrast-1:rgb(255, 255, 255);--dxp-g-brand-contrast-3:rgb(255, 255, 255);--dxp-s-button-color-hover-contrast:#ffffff;--dxp-g-brand-contrast-2:rgb(255, 255, 255);--dxp-g-brand-1:rgb(0, 68, 142);--dxp-g-brand-2:rgb(0, 29, 61);--dxp-s-secondary-button-text-color-focus:var(--dxp-s-secondary-button-text-color-1);--dxp-g-warning:#ffb75d;--dxp-g-success-3:rgb(7, 25, 15);--dxp-g-brand-3:rgb(0, 0, 0);--dxp-g-success-2:rgb(35, 119, 71);--dxp-g-success-1:rgb(54, 182, 108);--dxp-s-secondary-button-text-color-1:var(--dxp-s-button-color-1);--dxp-s-link-text-color-hover:var(--dxp-s-link-text-color-1);--dxp-g-offline-contrast-3:#fff;--dxp-g-offline-contrast-2:#fff;--dxp-s-tertiary-button-color-hover:var(--dxp-s-tertiary-button-color-1);--dxp-g-info-contrast-3:#fff;--dxp-s-form-checkbox-color-border-checked:var(--dxp-s-form-checkbox-color-border);--dxp-s-button-color-active:var(--dxp-s-button-color-focus);--dxp-g-destructive-1:rgb(162, 48, 43);--dxp-g-offline-contrast-1:#fff;--dxp-s-tertiary-button-text-color-1:var(--dxp-s-button-color-1);--dxp-g-info-contrast:#fff;--dxp-s-link-text-color:var(--dxp-g-brand);--dxp-g-destructive-2:rgb(97, 29, 26);--dxp-g-neutral:#ecebea;--dxp-g-destructive-3:rgb(1, 0, 0);--dxp-g-info-contrast-1:#fff;--dxp-s-dropdown-text-color-hover:var(--dxp-g-neutral-contrast);--dxp-g-info-contrast-2:#fff;--dxp-s-form-element-label-color:var(--dxp-g-root-contrast);--dxp-s-secondary-button-color-active:var(--dxp-s-secondary-button-color-focus);--dxp-s-tertiary-button-text-color-active:var(--dxp-s-tertiary-button-text-color-focus);--dxp-s-secondary-button-border-color-hover:var(--dxp-s-secondary-button-border-color-1);--dxp-g-info-2:rgb(0, 0, 0);--dxp-s-form-element-text-color:var(--dxp-g-root-contrast);--dxp-g-info-3:rgb(0, 0, 0);--dxp-g-destructive-contrast:#fff;--dxp-s-secondary-button-border-color-focus:var(--dxp-s-secondary-button-border-color-1);--dxp-g-info-1:rgb(14, 32, 59);--dxp-g-destructive-contrast-1:#fff;--dxp-g-neutral-contrast:#000;--dxp-s-dropdown-color-background-hover:var(--dxp-g-neutral);--dxp-g-destructive-contrast-2:#fff;--dxp-g-root-1:rgb(235, 235, 235);--dxp-g-destructive-contrast-3:#fff;--dxp-g-root-2:rgb(194, 194, 194);--dxp-g-root-3:rgb(133, 133, 133);--dxp-s-button-color-1:rgb(0, 68, 142);--dxp-s-form-element-color-background-active:var(--dxp-s-form-element-color-background);--dxp-s-body-text-color:var(--dxp-g-root-contrast);--dxp-g-brand-contrast:#ffffff;--dxp-s-button-color:var(--dxp-g-brand);--dxp-s-button-border-color-hover:var(--dxp-s-button-color-hover);--dxp-g-neutral-3:rgb(118, 113, 107);--dxp-s-body-small-text-color:var(--dxp-g-root-contrast);--dxp-g-neutral-2:rgb(178, 174, 170);--dxp-s-text-heading-extra-large-color:var(--dxp-g-root-contrast);--dxp-g-neutral-1:rgb(217, 215, 213);--dxp-s-secondary-button-color-1:var(--dxp-g-root-1);--dxp-s-button-color-active-contrast:var(--dxp-s-button-color-focus-contrast);--dxp-g-success-contrast-3:#fff;--dxp-g-success-contrast-2:#fff;--dxp-s-secondary-button-border-color-1:var(--dxp-s-button-color-1);--dxp-s-tertiary-button-color-focus:var(--dxp-s-tertiary-button-color-1);--dxp-s-form-element-color-border-focus:var(--dxp-g-brand);--dxp-g-success-contrast-1:#000;--dxp-s-button-border-color:var(--dxp-s-button-color);--dxp-s-secondary-button-color:var(--dxp-g-root);--dxp-s-text-heading-extra-extra-small-color:var(--dxp-g-root-contrast);--dxp-s-form-element-text-color-focus:var(--dxp-s-form-element-text-color);--dxp-s-text-heading-extra-small-color:var(--dxp-g-root-contrast);--dxp-s-tertiary-button-border-color:rgba(0,0,0,0);--dxp-s-tertiary-button-text-color-hover:var(--dxp-s-tertiary-button-text-color-1);--dxp-g-destructive:#c23934;--dxp-s-tertiary-button-color-active:var(--dxp-s-tertiary-button-color-focus);--dxp-s-dropdown-color-border:var(--dxp-g-neutral);--dxp-s-button-color-contrast:#fff;--dxp-g-offline-contrast:#fff;--dxp-s-text-heading-medium-color:var(--dxp-g-root-contrast);--dxp-s-text-heading-large-color:var(--dxp-g-root-contrast);--dxp-s-button-color-focus:var(--dxp-s-button-color-1);--dxp-s-secondary-button-text-color-hover:var(--dxp-s-secondary-button-text-color-1);color:var(--dxp-g-root-contrast);background-color:var(--dxp-g-root);--dxp-g-success-h:146;--dxp-g-success-s:55%;--dxp-g-success-l:54%;--dxp-g-success-a:1.0;--dxp-g-brand-h:211;--dxp-g-brand-s:100%;--dxp-g-brand-l:36%;--dxp-g-brand-a:1.0;--dxp-s-button-color-focus-contrast-h:0;--dxp-s-button-color-focus-contrast-s:0%;--dxp-s-button-color-focus-contrast-l:100%;--dxp-s-button-color-focus-contrast-a:1.0;--dxp-g-info-h:216;--dxp-g-info-s:61%;--dxp-g-info-l:22%;--dxp-g-info-a:1.0;--dxp-g-root-h:0;--dxp-g-root-s:0%;--dxp-g-root-l:100%;--dxp-g-root-a:1.0;--dxp-g-root-contrast-h:0;--dxp-g-root-contrast-s:0%;--dxp-g-root-contrast-l:18%;--dxp-g-root-contrast-a:1.0;--dxp-g-warning-contrast-h:0;--dxp-g-warning-contrast-s:0%;--dxp-g-warning-contrast-l:0%;--dxp-g-warning-contrast-a:1.0;--dxp-s-tertiary-button-color-h:0;--dxp-s-tertiary-button-color-s:0%;--dxp-s-tertiary-button-color-l:0%;--dxp-s-tertiary-button-color-a:0.0;--dxp-g-offline-h:0;--dxp-g-offline-s:0%;--dxp-g-offline-l:27%;--dxp-g-offline-a:1.0;--dxp-g-success-contrast-h:0;--dxp-g-success-contrast-s:0%;--dxp-g-success-contrast-l:0%;--dxp-g-success-contrast-a:1.0;--dxp-s-button-color-hover-contrast-h:0;--dxp-s-button-color-hover-contrast-s:0%;--dxp-s-button-color-hover-contrast-l:100%;--dxp-s-button-color-hover-contrast-a:1.0;--dxp-g-warning-h:33;--dxp-g-warning-s:100%;--dxp-g-warning-l:68%;--dxp-g-warning-a:1.0;--dxp-g-info-contrast-h:0;--dxp-g-info-contrast-s:0%;--dxp-g-info-contrast-l:100%;--dxp-g-info-contrast-a:1.0;--dxp-g-neutral-h:30;--dxp-g-neutral-s:5%;--dxp-g-neutral-l:92%;--dxp-g-neutral-a:1.0;--dxp-g-destructive-contrast-h:0;--dxp-g-destructive-contrast-s:0%;--dxp-g-destructive-contrast-l:100%;--dxp-g-destructive-contrast-a:1.0;--dxp-g-neutral-contrast-h:0;--dxp-g-neutral-contrast-s:0%;--dxp-g-neutral-contrast-l:0%;--dxp-g-neutral-contrast-a:1.0;--dxp-g-brand-contrast-h:0;--dxp-g-brand-contrast-s:0%;--dxp-g-brand-contrast-l:100%;--dxp-g-brand-contrast-a:1.0;--dxp-s-tertiary-button-border-color-h:0;--dxp-s-tertiary-button-border-color-s:0%;--dxp-s-tertiary-button-border-color-l:0%;--dxp-s-tertiary-button-border-color-a:0.0;--dxp-g-destructive-h:2;--dxp-g-destructive-s:58%;--dxp-g-destructive-l:48%;--dxp-g-destructive-a:1.0;--dxp-s-button-color-contrast-h:0;--dxp-s-button-color-contrast-s:0%;--dxp-s-button-color-contrast-l:100%;--dxp-s-button-color-contrast-a:1.0;--dxp-g-offline-contrast-h:0;--dxp-g-offline-contrast-s:0%;--dxp-g-offline-contrast-l:100%;--dxp-g-offline-contrast-a:1.0;}",document.head.append(o)}}); })();(function() { LWR.define("experience/utilsInternal",["exports"],function(e){const t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=Function.prototype.toString,o=r.call(Object);function i(e){return"function"==typeof e}function c(e){return"object"==typeof e&&null!==e}function s(e){return i(e)||c(e)}function u(e){return t.call(e)}function a(e){if(!c(e)||"[object Object]"!==u(e))return!1;const t=Object.getPrototypeOf(Object(e));if(null===t)return!0;const s=n.call(t,"constructor")&&t.constructor;return i(s)&&s instanceof s&&r.call(s)===o}function l(e){return null==e}const f="#REF:$";function p(e,t){return e.localeCompare(t)}function y(e,t,n,r,o=f){if(!c(e))return e;const i=e;return n.has(i)?e:(n.set(i,o),Array.isArray(i)?i.map((e,i)=>{const c=`${o}[${String(i)}]`;return y(e,t,n,r,c)}):a(e)?Object.keys(e).sort(t).reduce((i,c)=>{const s=`${o}.${c}`;return i[c]=y(e[c],t,n,r,s),i},{}):e)}function d(e,t=[],n="#REF:$"){if(c(e)&&!Object.isFrozen(e)){const r=e;if("undefined"==typeof window&&!a(r)&&!Array.isArray(r)){const e=`unsupported type '${u(r)}' found at '${n}'`;t.push(new Error(e))}Object.freeze(r);for(const e of Object.keys(r))d(r[e],t,`${n}.${e}`)}const r=Object.create(null);return Object.defineProperty(r,"value",{enumerable:!0,value:e}),Object.defineProperty(r,"errors",{enumerable:!0,value:t}),r}const b=new WeakSet;function h(e,t){try{const n=Reflect.get(e,t);Reflect.defineProperty(e,t,{enumerable:!0,get:()=>"object"==typeof n&&null!==n?g(n):n})}catch{}}function g(e){if("object"!=typeof e||null===e||b.has(e))return e;if(b.add(e),Object.isFrozen(e)){const t=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));for(const[n,r]of Object.entries(e))Reflect.set(t,n,"object"==typeof r&&null!==r?g(r):r);return Object.freeze(t)}for(const t of Object.keys(e))h(e,t);return Object.freeze(e)}function m(e,t,n){const r=n=>String.prototype.split.call(t,n).filter(Boolean).reduce((e,t)=>null!=e?e[t]:e,e),o=r(/[,[\]]+?/)||r(/[,[\].]+?/);return void 0===o||o===e?n:o}function j(){const e=[],t=[],n=new WeakMap,r="#REF:$";function o(e,o){const i=String(e),s=n.get(this),u=s?s+(Array.isArray(this)?`[${i}]`:"."+i):Array.isArray(this)?`[${i}]`:i;if(!c(o)||o!==Object(o))return void 0===o?(t.push(u),"#REF:undefined"):o;const a=o;if(n.has(a)){const e=n.get(a);return e?`${r}${"["===e[0]?"":"."}${e}`:r}return n.set(a,u),a}return o.errors=()=>e,o.pathsUndefined=()=>t,o}function v(){const e=new Map,t="#REF:$";function n(t,n){const r=e.get(t);let o=t.substring(6);0===o.indexOf(".")&&(o=o.substring(1));const i=o?m(n,o):n;for(const e of r)e.value[e.key]=i;e.delete(t)}return function(r,o){if("string"==typeof o&&0===o.indexOf(t))return e.has(o)||e.set(o,[]),e.get(o).push({value:this,key:r}),o;if(!c(o)||o!==Object(o))return"string"==typeof o&&"#REF:undefined"===o?void 0:o;if(""===r){const t=this[""];for(const r of e.keys())n(r,t)}return o}}const O="#REF:$";function w(e,t,n,r,o=O){if(e===t)return!0;if(null==e||null==t||"object"!=typeof e||"object"!=typeof t)return e!=e&&t!=t;if(n.has(e))return n.get(e)===t;if(n.set(e,t),Array.isArray(e)){const i=e.length;if(!Array.isArray(t)||i!==t.length)return!1;for(let c=i;0!=c--;){const i=`${o}[${String(c)}]`;if(!w(e.at(c),t.at(c),n,r,i))return!1}return!0}if(a(e)){const i=Reflect.ownKeys(e),c=i.length;if(!a(t)||c!==Reflect.ownKeys(t).length)return!1;for(let s=c;0!=s--;){const c=i.at(s),u=`${o}.${String(c)}`;if(!Reflect.has(t,c)||!w(Reflect.get(e,c),Reflect.get(t,c),n,r,u))return!1}return!0}return!1}const A=function(){let e=0;return()=>i(crypto?.randomUUID)?crypto.randomUUID():i(crypto?.getRandomValues)?[1e7,1e3,4e3,8e3,1e11].join("-").replace(/[018]/g,e=>(Number(e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(e)/4).toString(16)):String(++e)}();const R=new WeakMap,$=new WeakMap,k=new WeakMap;function S(e){return!!R.has(e)&&(clearTimeout(R.get(e)),$.has(e)&&clearTimeout($.get(e)),R.delete(e),$.delete(e),k.delete(e),!0)}const P=Symbol(),F=["connect","disconnect","update"];function D(e,t){const n=Reflect.get(e,t),r={...e};Reflect.deleteProperty(r,t);return["function"==typeof n||void 0===n?n:()=>Boolean(n),r]}function E(e,t,n){let r=0;const o=[],i=[...e];for(;;){let e=0,c=!0;for(let o=r;o<i.length;o++){const s=t*e+i[o];i[o]=Math.floor(s/n),e=s%n,c&&(i[o]?c=!1:r=o)}if(o.unshift(e),c)return o}}const T="0123456789abcdefghijklmnopqrstuvwxyz",M=[...T].reduce((e,t,n)=>(e[t]=n,e),{});e.CONDITION=P,e.base36Decode=function(e){if(!e)return e;const t=E([...e].map(e=>{const t=M[e];if(void 0===t)throw new TypeError(`Invalid base 36 digit: ${e}`);return t}),36,256);return(new TextDecoder).decode(new Uint8Array(t))},e.base36Encode=function(e){return e?E((new TextEncoder).encode(e),256,36).map(e=>T[e]).join(""):e},e.baseConvert=E,e.circularRefReplacer=j,e.circularRefReviver=v,e.clearDebounceTimeout=S,e.createConditionalAdapter=function(e,t,n){const r=arguments.length;let o,c;if(r>2){if(void 0!==t&&!Array.isArray(t))throw new TypeError(`[utils] traps need to be an array; '${typeof t}' given`);if(void 0!==n&&!i(n))throw new TypeError(`[utils] callback needs to be a function; '${typeof n}' given`);o=t,c=n}else if(r>1){const e=Array.isArray(t),n=i(t);if(void 0!==t&&!e&&!n)throw new TypeError(`[utils] second parameter either needs to define traps via an array, or a callback function; '${typeof t}' given`);o=e?t:void 0,c=n?t:void 0}const s=Symbol(),u=Symbol();class a extends e{[u](e){const t=this[s].last??this[s].default;return t?.(e,this)??!0}constructor(...e){super(...e),this[s]={default:c,last:c};const t=this,n=new Set(Array.isArray(o)&&o.length>0?o.filter(e=>!F.includes(e)):[]);for(const e of n){const n=Reflect.get(this,e);i(n)&&Reflect.defineProperty(this,e,{enumerable:!0,writable:!1,configurable:!1,value:function(...r){if(t[u](e))return n?.apply(this,r)}})}}update(e,t){let n,r;if(Reflect.has(e,P)){const[o,i]=D(e,P);n=i,r=t,this[s].last=o}else if(t&&Reflect.has(t,"value")){const[o,i]=D(t.value,P);r={...t,value:i},n=e,this[s].last=o}else this[s].last=void 0,n=e,r=t;!Array.isArray(o)||Array.isArray(o)&&(0===o.length||o.includes("update"))?this[u]("update")&&super.update(n,r):super.update(n,r)}}return a.contextSchema={value:"required"},a},e.dateAdd=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()+t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()+t.months),"number"==typeof t?.days&&n.setDate(n.getDate()+t.days),n}},e.dateSubtract=function(e,t){if(e instanceof Date){const n=new Date(e);return"number"==typeof t?.years&&n.setFullYear(n.getFullYear()-t.years),"number"==typeof t?.months&&n.setMonth(n.getMonth()-t.months),"number"==typeof t?.days&&n.setDate(n.getDate()-t.days),n}},e.debounce=function(e,t=0){let n,r,o=[];function i(){const{promise:t,resolve:c,reject:s}=n;if(k.has(t)){const e=setTimeout(i.bind(this),k.get(t));return $.set(t,e),void k.delete(t)}const u=o;r=void 0,o=[];try{const r=e.apply(this,u[u.length-1]);Promise.resolve(r).then(c,s).finally(()=>{n=void 0,R.delete(t),$.delete(t),k.delete(t)})}catch(e){s(e)}}return function(...e){n?S(n.promise):n=function(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}(),o.push(e),r=setTimeout(i.bind(this),t);const{promise:c}=n;return R.set(c,r),c}},e.deepClone=function(e){const t=(e,t)=>{const n=Object.create(null);return Object.defineProperty(n,"value",{enumerable:!0,value:e}),Object.defineProperty(n,"errors",{enumerable:!0,value:t}),n};if(!s(e))return t("symbol"==typeof e?Symbol.prototype.valueOf.call(e):e,[]);const n=j(),r=JSON.parse(JSON.stringify(e,n),v()),o=n.pathsUndefined();for(const e of o){e.split(".").reduce((e,t)=>{if(a(e))return!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=void 0),e[t]},r)}return t(r,n.errors())},e.deepEqual=function(e,t){const n=[],r=w(e,t,new WeakMap,n),o=Object.create(null);return Object.defineProperty(o,"value",{enumerable:!0,value:r}),Object.defineProperty(o,"errors",{enumerable:!0,value:n}),o},e.deepFreeze=function(e){return d(e)},e.deepSort=function(e,t){const n=new WeakMap,r=[],o=y(e,i(t)?t:p,n,r),c=Object.create(null);return Object.defineProperty(c,"value",{enumerable:!0,value:o}),Object.defineProperty(c,"errors",{enumerable:!0,value:r}),c},e.empty=function(e){if(Array.isArray(e))return 0===e.length;switch(typeof e){case"string":return""===e.toString();case"boolean":case"number":case"function":return!1;case"object":return 0===Object.keys(e??{}).length;default:return null==e}},e.extendDebouncedTimeout=function(e,t=0){return!!R.has(e)&&(k.set(e,t),!0)},e.get=m,e.getCookie=function(e){return globalThis.document?.cookie.split(";").map(e=>e.trim().split("=")).filter(([t])=>t.startsWith(e)).map(([,e])=>e)[0]},e.getObjectTag=u,e.isBlank=function(e){return l(e)||"string"!=typeof e||0===e.trim().length},e.isFunction=i,e.isInteger=e=>Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.isNil=l,e.isObject=s,e.isObjectLike=c,e.isPlainObject=a,e.isPromiseLike=function(e){return c(e)&&"function"==typeof e.then},e.readonly=g,e.uuidValidate=function(e){return"string"==typeof e&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(e)},e.uuidv4=A,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/utils",["exports","experience/utilsInternal"],function(e,t){Object.defineProperty(e,"clearDebounceTimeout",{enumerable:!0,get:function(){return t.clearDebounceTimeout}}),Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return t.debounce}}),Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return t.empty}}),Object.defineProperty(e,"extendDebouncedTimeout",{enumerable:!0,get:function(){return t.extendDebouncedTimeout}}),Object.defineProperty(e,"get",{enumerable:!0,get:function(){return t.get}}),Object.defineProperty(e,"getObjectTag",{enumerable:!0,get:function(){return t.getObjectTag}}),Object.defineProperty(e,"isBlank",{enumerable:!0,get:function(){return t.isBlank}}),Object.defineProperty(e,"isFunction",{enumerable:!0,get:function(){return t.isFunction}}),Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return t.isInteger}}),Object.defineProperty(e,"isNil",{enumerable:!0,get:function(){return t.isNil}}),Object.defineProperty(e,"isObject",{enumerable:!0,get:function(){return t.isObject}}),Object.defineProperty(e,"isObjectLike",{enumerable:!0,get:function(){return t.isObjectLike}}),Object.defineProperty(e,"isPlainObject",{enumerable:!0,get:function(){return t.isPlainObject}}),Object.defineProperty(e,"isPromiseLike",{enumerable:!0,get:function(){return t.isPromiseLike}}),Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/dataProvider",["exports","lwc","experience/dataLayerObject","experience/utils"],function(e,t,r,n){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(r);const s=[];function c(e,t,r,n){const{k:o,c:c,i:i,s:d,f:l}=e;return l([t.hasDataLayerObjects?i(t.dataLayerObjects,function(e){return c("experience-data-layer-object",a.default,{props:{scriptDataAttributes:e.attributes,customObject:e.customObject},key:o(0,e.id)})}):s,d("",{key:1,slotData:t.dataProxyContext},s,r)])}var i=t.registerTemplate(c);c.slots=[""],c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-1cva0bnnf5d",c.legacyStylesheetToken="experience-dataProvider_dataProvider",t.freezeTemplate(c);const d="sfdc__dataprovider_action";class l extends CustomEvent{constructor(e,t,r){const o={onSuccess:n.isFunction(r)?r:n.isPlainObject(r)&&n.isFunction(r.onSuccess)?r.onSuccess:void 0,onError:n.isFunction(r)?r:n.isPlainObject(r)&&n.isFunction(r.onError)?r.onError:void 0};super(d,{bubbles:!0,cancelable:!0,composed:!0,detail:{type:e,payload:t,options:o}})}}const u=new WeakMap;function f(e){return function e(t){if(n.isFunction(t)&&t.constructor===D.constructor)return!0;const r=null!=t?Object.getPrototypeOf(t):null;return null!=r&&e(r)}(e)}function p(e){return function(e){const t=[];return function e(r,n){n&&t.push(r);const o=null!=r?Object.getPrototypeOf(r):null;f(o)&&e(o,!0)}(e,f(e)),t.reverse()}(e).reduce((e,t)=>{if(u.has(t)){const r=u.get(t);return{...e,...r}}return e},{})}const h=Symbol("handleDataProviderActionEventField"),v=Symbol("handleDataProviderActionEvent"),y=Symbol(),b=Symbol();class g extends t.LightningElement{wireConnectedState({connected:e}){e?this.addEventListener(d,this[h]):this.removeEventListener(d,this[h])}get sfdcData(){return this._sfdcData}set sfdcData(e){this._sfdcData=e}get dataProxyContext(){return{[y]:this.getData(),[b]:this}}hasData(e){return!0}updateComponents(){}getData(){return this.sfdcData}get hasDataLayerObjects(){return!!this.dataLayerObjects&&this.dataLayerObjects.length>0}constructor(){super(),this[h]=this[v].bind(this),this.sfdcFields=[],this.sfdcIsPreviewMode=!1,this.sfdcType=void 0,this.sfdcExpressionKey=void 0,this.sfdcIsViewLevelDataProvider=!1,this.generatedTemplate=void 0,this._sfdcData=void 0,this.dataLayerObjects=void 0,this._sfdcData={}}[v](e){if(e.defaultPrevented)return;const{detail:t,target:r}=e,{type:o,payload:a,options:s}=t,c=p(Object.getPrototypeOf(this).constructor);if(Reflect.has(c,o)){e.preventDefault(),e.stopPropagation();const t=n.isFunction(s.onSuccess),i=n.isFunction(s.onError);try{const e=c[o].call(this,a,this,r);e instanceof Promise?e.then(e=>(t&&s.onSuccess?.call(void 0,e,!0),e),e=>{i&&s.onError?.call(void 0,e,!1)}):t&&s.onSuccess?.call(void 0,e,!0)}catch(e){i&&s.onError?.call(void 0,e,!1)}}}}g.renderMode="light",g.preloadData=void 0,t.registerDecorators(g,{publicProps:{sfdcFields:{config:0},sfdcIsPreviewMode:{config:0},sfdcType:{config:0},sfdcExpressionKey:{config:0},sfdcIsViewLevelDataProvider:{config:0},generatedTemplate:{config:0},sfdcData:{config:3}},publicMethods:["hasData","updateComponents","getData"],track:{_sfdcData:1},wire:{wireConnectedState:{adapter:class{constructor(e){this.dataCallback=e}update(){}connect(){this.dataCallback({connected:!0})}disconnect(){this.dataCallback({connected:!1})}},method:1,config:function(e){return{}}}},fields:["dataLayerObjects"]});const D=t.registerComponent(g,{tmpl:i,sel:"experience-data-provider",apiVersion:62});e.DataProviderActionEvent=l,e.SFDC_DATA_ATTRIBUTE=y,e.SFDC_PROVIDER_ATTRIBUTE=b,e.default=D,e.registerAction=function(e,t,r){if(!f(e))throw new TypeError("[dataProvider] parameter 'ctor' needs to be a DataProvider constructor");if("string"!=typeof t)throw new TypeError("[dataProvider] parameter 'type' needs to be a string");if(!n.isFunction(r))throw new TypeError("[dataProvider] parameter 'handler' needs to be a function");u.has(e)||u.set(e,{});const o=u.get(e);if(Reflect.has(o,t))throw new TypeError(`[dataProvider] a handler has already been registered for action type '${t}'`);o[t]=r},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("dxp_data_provider/dataProxy",["exports","lwc","experience/dataProvider"],function(t,e,a){class r extends e.LightningElement{constructor(...t){super(...t),this.routerContainerView=void 0,this.routeParams=void 0,this.attributes={},this._sfdcData=void 0,this.generated=void 0,this.html=void 0}get generatedTemplate(){return this.generated}set generatedTemplate(t){this.generated=t,this.html=t.html,this.attributes=this.evaluateAttributes(t.attributes),this.updateComponents()}get sfdcData(){return this._sfdcData}set sfdcData(t){this._sfdcData=t,this.updateComponents()}hasData(t){return function(t,e){return t?.[a.SFDC_PROVIDER_ATTRIBUTE]?.hasData?.(e)??!0}(this.sfdcData,t)}getData(){return t=this.sfdcData,t?.[a.SFDC_DATA_ATTRIBUTE]??t;var t}updateComponents(){this.generatedTemplate&&(this.attributes=this.evaluateAttributes(this.generatedTemplate.attributes))}connectedCallback(){this.updateComponents()}evaluateAttributes(t){return"function"==typeof t?t(this):{}}render(){return this.html}}r.renderMode="light",e.registerDecorators(r,{publicProps:{routerContainerView:{config:0},routeParams:{config:0},generatedTemplate:{config:3},sfdcData:{config:3}},publicMethods:["hasData","getData","updateComponents"],track:{attributes:1,_sfdcData:1},fields:["generated","html"]});const s=e.registerComponent(r,{tmpl:void 0,sel:"dxp_data_provider-data-proxy",apiVersion:62});t.default=s,Object.defineProperty(t,"__esModule",{value:!0})}); })();LWR.define('@salesforce/label/c.PG_Cookie_Consent', ['@view/scopedHeaderAndFooter/labels'], m => m[0]);(function() { LWR.define("c/pg_OneTrustCookie",["exports","lwc","@salesforce/label/c.PG_Cookie_Consent"],function(e,t,o){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=n(o);var l=[function(e,t,o){return".btnOneTrust"+(e?"["+e+"]":"")+" {display: block!important;position: fixed;left: auto;top: auto;right: 0;bottom: 0;}"}];const i={btnOneTrust:!0};function r(e,t,o,n){const{gid:s,b:l,h:r}=e,{_m0:a}=n;return[r("input",{classMap:i,attrs:{name:"btnOneTrust",type:"button",id:s("btnOneTrust")},props:{value:t.label.cookieLabel},key:0,on:{click:a||(n._m0=l(t.handleCookieConsent))}})]}var a=t.registerTemplate(r);r.stylesheets=[],r.stylesheetToken="c-pg_OneTrustCookie_pg_OneTrustCookie",l&&r.stylesheets.push.apply(r.stylesheets,l),t.freezeTemplate(r);class c extends t.LightningElement{constructor(...e){super(...e),this.label={cookieLabel:s.default}}handleCookieConsent(){document.dispatchEvent(new CustomEvent("callcookieconsent",{detail:{data:""}}))}}t.registerDecorators(c,{fields:["label"]});const u=t.registerComponent(c,{tmpl:a,sel:"c-pg_one-trust-cookie",apiVersion:58});e.default=u,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/utils",["exports"],function(t){function e(t,e){if("string"==typeof e){const n=e.trim().split(/\s+/);for(let e=0,{length:r}=n;e<r;e+=1)t[n[e]]=!0;return t}return Object.assign(t,e)}const n=Object.defineProperties(Object.create(null),{add:{value(t){return e(this,t)}},invert:{value(){const t=Object.keys(this);for(let e=0,{length:n}=t;e<n;e+=1){const n=t[e];this[n]=!this[n]}return this}},toString:{value(){let t="";const e=Object.keys(this);for(let n=0,{length:r}=e;n<r;n+=1){const r=e[n];this[r]&&(t+=(t.length?" ":"")+r)}return t}}});const r=/input|select|textarea|button|object/;function i(t){const e=t.tagName.toLowerCase();return!!("a"===e&&t.href||!t.disabled&&r.test(e))&&function(t){if("hidden"===window.getComputedStyle(t).visibility)return!1;const{width:e,height:n}=t.getBoundingClientRect();return e>0||n>0}(t)}function o(t){return"enable"===t.dataset.navigation||t.tabIndex>=0&&i(t)}t.classSet=function(t){return e(Object.create(n),t)},t.formatLabel=function(t){const e=Array.prototype.slice.call(arguments,1);let n=e;return Array.isArray(e[0])&&([n]=e),t.replace(/{(\d+)}/g,(t,e)=>{const r=n[e];return null!=r?r:""})},t.queryFocusable=function(t){const e=t.querySelectorAll("*"),n=[];for(let t=0,{length:r}=e;t<r;t+=1){const r=e[t];o(r)&&n.push(r)}return n},Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("community_byo/scopedHeaderAndFooter",["exports","lwc","lightning/utils"],function(e,o,t){function r(e,o,t){var r=e?"."+e:"",s=e?"."+e+"-host":"";return(o?":host {":s+" {")+"display: flex;flex-flow: column;}"+(o?":host.full-height {":s+".full-height {")+"min-height: 100%;}.sticky-header"+r+" {position: sticky;top: 0;z-index: 100001;}.community_byo-scoped-header-and-footer__header-content"+r+" {background-color: rgb(239, 240, 242);max-width: var(--dxp-c-header-content-max-width);margin: 0 auto;}.community_byo-scoped-header-and-footer__main"+r+" {flex: 1 0 auto;}.community_byo-scoped-header-and-footer__footer-content"+r+" {background-color: rgb(239, 240, 242);max-width: var(--dxp-c-footer-content-max-width);margin: 0 auto;}"}r.$scoped$=!0;var s=[r];const a={"data-f6-region":""},n={classMap:{"community_byo-scoped-header-and-footer__header-content":!0},key:1},d={attrs:{name:"header"},key:2},i=[],c={classMap:{"community_byo-scoped-header-and-footer__main":!0},attrs:{"data-f6-region":"",role:"main"},key:3},h={key:4},m={attrs:{"data-f6-region":""},key:6},l={classMap:{"community_byo-scoped-header-and-footer__footer-content":!0},key:7},y={attrs:{name:"footer"},key:8};function u(e,o,t,r){const{ncls:s,s:u,h:f,fr:p}=e;return[f("header",{className:s(o.computedHeaderClass),attrs:a,key:0},[f("div",n,[u("header",d,i,t)])]),f("main",c,[u("",h,i,t)]),o.showThemeFooter?p(5,[f("footer",m,[f("div",l,[u("footer",y,i,t)])])],0):null]}var f=o.registerTemplate(u);u.slots=["","footer","header"],u.renderMode="light",u.stylesheets=[],u.stylesheetToken="lwc-6raprfhcujs",u.legacyStylesheetToken="community_byo-scopedHeaderAndFooter_scopedHeaderAndFooter",s&&u.stylesheets.push.apply(u.stylesheets,s),o.freezeTemplate(u);class p extends o.LightningElement{constructor(...e){super(...e),this.stickyThemeHeader=void 0,this.hideThemeFooter=void 0,this.showThemeFooterAtBottom=void 0}connectedCallback(){this.showThemeFooterAtBottom&&this.classList.add("full-height")}get showThemeFooter(){return!this.hideThemeFooter}get computedHeaderClass(){return t.classSet({"sticky-header":this.stickyThemeHeader}).toString()}}p.renderMode="light",o.registerDecorators(p,{publicProps:{stickyThemeHeader:{config:0},hideThemeFooter:{config:0},showThemeFooterAtBottom:{config:0}}});const g=o.registerComponent(p,{tmpl:f,sel:"community_byo-scoped-header-and-footer",apiVersion:62});e.default=g,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/community/basePath', ['@app/basePath'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("@salesforce/resourceUrl/flags",["exports","@app/basePath","@app/versionKey"],function(e,t,a){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=r(t),n=r(a),f=`${u.default}/webruntime/org-asset/${n.default}/resource/081Dn000002bvna`;e.default=f,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/resourceUrl/icons",["exports","@app/basePath","@app/versionKey"],function(e,t,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(t),u=a(r),f=`${n.default}/webruntime/org-asset/${u.default}/resource/081Dn000002cRfb`;e.default=f,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("force/ldsBindings",["exports","lwc"],function(e,t){const r="refresh-adapter-event",n="adapter-unfulfilled-error",s="LWC component's @wire target property or method threw an error during value provisioning. Original error:",o=new WeakMap;var i;function a(e){return e.state===i.Error}function u(e){return function(n){return function(e,n,s){const o=n.get(t.unwrap(e));if(void 0===o)return;const[i,u]=o;if(s.instrument(()=>({[r]:!0,adapterName:i})),void 0===u)return Promise.resolve(void 0);return s.refreshSnapshot(u).then(e=>{if(a(e))throw e.error})}(n,o,e)}}!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(i||(i={}));const{isArray:c}=Array,{stringify:d}=JSON;function h(e,t){if(e instanceof Error)throw e.message=`${t}\n[${e.message}]`,e;throw new Error(`${t}\n[${d(e)}]`)}class l{constructor(e){this.obj=e,this.copy={},this.currentPath={key:"",value:e,parent:null,data:this.copy}}sanitize(){const e=this;return d(this.obj,function(t,r){if(""===t)return r;const n=this;return n!==e.currentPath.value&&e.exit(n),"object"==typeof r&&null!==r?(e.enter(t,r),r):(e.currentPath.data[t]=r,r)}),this.copy}enter(e,t){const{currentPath:r}=this,n=r.data[e]=c(t)?[]:{};this.currentPath={key:e,value:t,parent:r,data:n}}exit(e){for(;this.currentPath.value!==e;)this.currentPath=this.currentPath.parent||this.currentPath}}function f(e){return new l(e).sanitize()}class p{constructor(e,t,r,n,s){this.connected=!1,this.adapter=e,this.name=t,this.luvio=r,this.callback=n,this.sourceContext=s,this.emit()}connect(){this.connected=!0,this.callAdapter(this.generateAdapterRequestContext())}disconnect(){this.unsubscribe(),this.connected=!1}update(e,t){this.unsubscribe(),this.config=f(e),this.callAdapter(this.generateAdapterRequestContext(t))}generateAdapterRequestContext(e){return this.sourceContext?{sourceContext:{...this.sourceContext}}:{}}callAdapter(e){if(!this.connected||void 0===this.config)return;const t=this.adapter(this.config,e);this.processAdapterResponse(t)}processAdapterResponse(e){if(null===e)return;const t=this.config,r=e=>{null!==e&&(!function(e){return e.state===i.Unfulfilled}(e)?this.config===t&&((function(e){return e.state===i.Fulfilled}(e)||a(e)||function(e){return e.state===i.Stale}(e))&&this.emit(e),this.subscribe(e)):this.luvio.instrument(()=>({[n]:!0,adapterName:this.adapter.name,missingPaths:e.missingPaths,missingLinks:e.missingLinks})))};void 0===e.then?r(e):e.then(r,e=>h(e,"Luvio wire adapter Promise<Snapshot> rejected. Original error:"))}emit(e){const t=function(e){return void 0===e?{data:void 0,error:void 0}:a(e)?{data:void 0,error:e.error}:{data:e.data,error:void 0}}(e);o.set(t,[this.name,e]);try{this.callback(t)}catch(e){e instanceof Error&&h(e,s)}}subscribe(e){this.unsubscribe(),this.connected&&(this.unsubscriber=this.luvio.storeSubscribe(e,this.emit.bind(this)))}unsubscribe(){void 0!==this.unsubscriber&&(this.unsubscriber(),this.unsubscriber=void 0)}}class v extends p{connect(){this.connectTimestamp=Date.now(),super.connect()}disconnect(){this.connectTimestamp=void 0,super.disconnect()}update(e,t){if(this.connectTimestamp){const r=this.generateAdapterRequestContext(t);super.unsubscribe(),this.config=f(e),super.callAdapter(r)}else super.update(e,t)}generateAdapterRequestContext(e){return{...super.generateAdapterRequestContext(e),cachePolicy:{type:"valid-at",timestamp:this.connectTimestamp}}}subscribe(e){var t;if(super.subscribe(e),this.connected&&(null===(t=e.refresh)||void 0===t?void 0:t.resolve)){const t=e.refresh.resolve;e.refresh.resolve=e=>(this.connectTimestamp=Date.now(),t(e))}}}function y(e){const t={data:void 0,errors:void 0};return void 0===e||(t.data=function(e){if("data"in e&&void 0!==e.data){const t="data"in e.data&&void 0!==e.data.data,r="results"in e.data&&void 0!==e.data.results;if(t)return e.data.data;if(r)return e.data}}(e),"error"in e&&void 0!==e.error&&(Array.isArray(e.error)?t.errors=e.error:t.errors=[e.error])),t}class b extends p{constructor(e,t,r,n,s,o){super(e,t,r,s,o),this.astResolver=n}update(e,t){this.unsubscribe(),e.batchQuery?this.config={batchQuery:e.batchQuery.map(e=>m(e))}:this.config=m(e),this.callAdapter(super.generateAdapterRequestContext(t))}emit(e){const t=y(e);o.set(t,[this.name,e]);try{this.callback(t)}catch(e){e instanceof Error&&h(e,s)}}callAdapter(e){if(!this.connected||void 0===this.config)return;const t=this.config;if("batchQuery"in t){const r={batchQuery:t.batchQuery.map(e=>this.resolveQueryAst(e))};if(r.batchQuery.some(e=>void 0===e))return;const n=this.adapter(r,e);this.processAdapterResponse(n)}else if("query"in t){const r=this.resolveQueryAst(t);if(void 0!==r){const t=this.adapter(r,e);this.processAdapterResponse(t)}}}resolveQueryAst(e){if(null===e.query)return;const t=this.astResolver(e.query);if(void 0===t&&void 0!==e.query)return;return{...e,query:t}}}function m(e){return{...f(e),query:e.query}}let A={refreshCalled:e=>{},instrumentAdapter:(e,t)=>e};e.refresh=void 0;const{create:I,defineProperty:g,defineProperties:R}=Object;var T;function C(e){return e.state===T.Error}function N(e){return e.state===T.Pending}function x(e){return null!==e&&void 0!==e.then}function P(e){return C(e)?{data:void 0,error:e.error}:{data:e.data,error:void 0}}function q(e){if(C(e))return"adapterError"===e.error.errorType?{data:void 0,errors:e.error.error}:{data:void 0,errors:[e.error]};const t={},r=e;return"data"in r.data&&void 0!==r.data.data&&(t.data=r.data.data),void 0!==r.data.errors&&(t.errors=r.data.errors),t}!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(T||(T={})),e.ADAPTER_UNFULFILLED_ERROR=n,e.REFRESH_ADAPTER_EVENT=r,e.bindWireRefresh=function(t){const r=u(t);e.refresh=(e,t)=>(A.refreshCalled(t),r(e))},e.createGraphQLImperativeAdapter=function(e,t,r,n){const{name:s}=r,o=(e,r,s)=>{let o=null;if("batchQuery"in e){if(o={batchQuery:e.batchQuery.map(e=>({...e,query:n(e.query)}))},o.batchQuery.some(e=>void 0===e.query))return void s({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})}else if("query"in e){const t=n(e.query);if(void 0===t)return void s({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]});o={...e,query:t}}const i=t(o,r);null!==i?x(i)?i.then(e=>{s(null!==e?q(e):{data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})}):s(q(i)):s({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]})};g(o,"name",{value:`${s}_invoke`});const i=(r,s,o)=>{let i,a=o,u=null;if("batchQuery"in r){if(u={batchQuery:r.batchQuery.map(e=>({...e,query:n(e.query)}))},u.batchQuery.some(e=>void 0===e.query))return o({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{}}else if("query"in r){const e=n(r.query);if(void 0===e)return o({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{};u={...r,query:e}}const c=t(u,s);if(null===c)return a({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]}),()=>{};const d=t=>{i=e.storeSubscribe(t,e=>{null===a||N(e)||a(q(e))})};return x(c)?c.then(e=>{if(null!==a){if(null===e)return void a({data:void 0,errors:[{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}]});N(e)||a(q(e)),d(e)}}):(N(c)||a(q(c)),d(c)),()=>{null!==a&&void 0!==i&&i(),a=null,i=void 0}};return g(i,"name",{value:`${s}_subscribe`}),{invoke:o,subscribe:i}},e.createGraphQLWireAdapterConstructor=function(e,t,r,n){const{apiFamily:s,name:o}=r;return function(e,t,r,n){const s=function(s,o){const i=new b(e,t,r,n,s,o);this.connect=()=>i.connect(),this.disconnect=()=>i.disconnect(),this.update=(e,t)=>i.update(e,t)};return Object.defineProperty(s,"name",{value:t}),s}(t,`${s}.${o}`,e,n)},e.createImperativeAdapter=function(e,t,r){const{name:n}=r,s=(r,n,s)=>{const o=t(r,n);null!==o?x(o)?o.then(e=>{s(null!==e?P(e):{data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}})}).finally(()=>{e.storeCleanup()}):s(P(o)):s({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}})};g(s,"name",{value:`${n}_invoke`});const o=(r,n,s)=>{let o,i=s;const a=t(r,n);if(null===a)return i({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}}),()=>{};const u=t=>{o=e.storeSubscribe(t,e=>{null===i||N(e)||i(P(e))})};return x(a)?a.then(e=>{if(null!==i){if(null===e)return void i({data:void 0,error:{ok:!1,status:400,statusText:"INVALID_CONFIG",body:void 0,headers:{},errorType:"fetchResponse"}});N(e)||i(P(e)),u(e)}}):(N(a)||i(P(a)),u(a)),()=>{null!==i&&void 0!==o&&o(),i=null,o=void 0}};return g(o,"name",{value:`${n}_subscribe`}),{invoke:s,subscribe:o}},e.createInfiniteScrollingWireAdapterConstructor=function(e,t,r){const{apiFamily:n,name:s}=r;return function(e,t,r){const n=function(n,s){const o=new v(e,t,r,n,s);this.connect=()=>o.connect(),this.disconnect=()=>o.disconnect(),this.update=(e,t)=>o.update(e,t)};return Object.defineProperty(n,"name",{value:t}),n}(t,`${n}.${s}`,e)},e.createInstrumentedAdapter=function(e,t){return A.instrumentAdapter(e,t)},e.createLDSAdapter=function(e,t,r){return r(e)},e.createWireAdapterConstructor=function(e,t,r){const{apiFamily:n,name:s}=r;return function(e,t,r){const n=function(n,s){const o=new p(e,t,r,n,s);this.connect=()=>o.connect(),this.disconnect=()=>o.disconnect(),this.update=(e,t)=>o.update(e,t)};return Object.defineProperty(n,"name",{value:t}),n}(t,`${n}.${s}`,e)},e.instrument=function(e){A=Object.assign(A,e)},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("force/luvioEngine",["exports"],function(e){var t;!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(t||(t={}));const{create:r,entries:s,freeze:n,keys:i,values:a,assign:o}=Object,{hasOwnProperty:h}=Object.prototype,{isArray:l}=Array,{push:c,indexOf:d,slice:u}=Array.prototype,{parse:p,stringify:v}=JSON,f=new WeakSet;let S=!1;function g(e){if(!S&&"object"==typeof e&&null!==e&&!f.has(e)){if(f.add(e),l(e))for(let t=0,r=e.length;t<r;t+=1)g(e[t]);else{const t=i(e);for(let r=0,s=t.length;r<s;r+=1)g(e[t[r]])}n(e)}}function m(e){return e.state===t.Error}function y(e){return e.state===t.Fulfilled}function b(e){return e.state===t.Stale}function k(e){return e.state===t.Unfulfilled}function M(e){return e.state===t.Pending}function I(e,r){g(e);return{error:e,state:t.Error,data:void 0,refresh:r}}function w(e){return void 0!==e&&void 0!==e.then}function R(e,t=[]){for(const r of t)switch(e.type){case"cache-miss-out-of-ttl":r.onCacheMissOutOfTtl&&r.onCacheMissOutOfTtl(e);break;case"data-out-of-ttl-duration-update":r.onDataOutOfTtlDurationUpdate&&r.onDataOutOfTtlDurationUpdate(e);break;case"store-reset":r.onStoreReset&&r.onStoreReset(e);break;case"store-publish":r.onStorePublish&&r.onStorePublish(e);break;case"store-snapshot-emit":case"store-snapshot-rebuild":case"store-snapshot-refresh":case"store-snapshot-subscribe":case"store-snapshot-unsubscribe":r.onStoreSnapshotEvent&&r.onStoreSnapshotEvent(e)}}function T(e,t=[]){for(const r of t)switch(e.type){case"custom":r.onCustomAdapterEvent&&r.onCustomAdapterEvent(e);break;case"environment":r.onEnvironmentEvent&&r.onEnvironmentEvent(e);break;default:r.onAdapterEvent&&r.onAdapterEvent(e)}}function P(e,t,r,s){return function(...n){T(r,t);try{const i=e(...n);return w(i)?i.then(e=>(T(s(e,!1,!0,r),t),e)).catch(e=>{throw T(s(e,!0,!0,r),t),e}):(T(s(i,!1,!1,r),t),i)}catch(e){throw T(s(e,!0,!1,r),t),e}}}const E=Promise.resolve();function O(e){setTimeout(()=>{throw e},0)}function C(){let e=Date.now()-5001;return(t,r)=>{const s=Date.now();if(e+5e3<s)return e=s,n=t,E.then(n).catch(O),r();var n;r()}}var K,N,L,x;function D(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return v(e);let t,r;if(l(e)){for(r="[",t=0;t<e.length;t++)t&&(r+=","),r+=D(e[t])||"null";return r+"]"}if(null===e)return"null";const s=i(e).sort();for(r="",t=0;t<s.length;t++){const n=s[t],i=D(e[n]);i&&(r&&(r+=","),r+=v(n)+":"+i)}return"{"+r+"}"}function A(e){return e.__type===N.Error}!function(e){e[e.RESOURCE_NOT_FOUND=404]="RESOURCE_NOT_FOUND"}(K||(K={})),function(e){e.Error="error"}(N||(N={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(L||(L={})),e.StoreResolveResultState=void 0,(x=e.StoreResolveResultState||(e.StoreResolveResultState={}))[x.Found=0]="Found",x[x.Error=1]="Error",x[x.Null=2]="Null",x[x.NotPresent=3]="NotPresent",x[x.Stale=4]="Stale";const $=new WeakMap;function q(e){if("string"==typeof e)return e;const t=$.get(e);if(void 0===t){const t=D(e);return $.set(e,t),t}return t}const _="Undefined value used in StoreKeyMap operation";class j{constructor(){this.keyMap=new Map,this.valueMap=new Map}clear(){this.valueMap.clear(),this.keyMap.clear()}delete(e){const t=q(e);if(void 0!==t)return this.keyMap.delete(t),this.valueMap.delete(t);throw new Error(`${_}: delete`)}entries(){const e=this.valueMap.entries(),t=[];for(const[r,s]of Array.from(e)){const e=this.keyMap.get(r);void 0!==e&&t.push([e,s])}return t.values()}forEachKey(e,t){return this.keyMap.forEach(e,t)}forEachValue(e,t){return this.valueMap.forEach(e,t)}get(e){const t=q(e);if(void 0!==t)return this.valueMap.get(t);throw new Error(`${_}: get`)}has(e){const t=q(e);if(void 0!==t)return this.valueMap.has(t);throw new Error(`${_}: has`)}keys(){return this.keyMap.values()}keysAsArray(){return Array.from(this.keys())}keysAsStrings(){return this.keyMap.keys()}merge(e){e.keyMap.forEach((e,t)=>{this.keyMap.set(t,e)}),e.valueMap.forEach((e,t)=>{this.valueMap.set(t,e)})}set(e,t){const r=q(e);if(void 0!==r)return this.keyMap.set(r,e),this.valueMap.set(r,t);throw new Error(`${_}: set`)}size(){return this.valueMap.size}values(){return this.valueMap.values()}}const F="Undefined value used in StoreKeySet operation";class U{constructor(){this.set=new Set,this.valueMap=new Map}add(e){const t=q(e);if(void 0===t)throw new Error(`${F}: add`);return this.set.add(t),this.valueMap.set(t,e),this}clear(){this.set.clear(),this.valueMap.clear()}delete(e){const t=q(e);if(void 0!==t)return this.set.delete(t),this.valueMap.delete(t);throw new Error(`${F}: delete`)}entries(){return this.valueMap.entries()}forEach(e,t){return this.valueMap.forEach(e,t)}has(e){const t=q(e);if(void 0!==t)return this.set.has(t);throw new Error(`${F}: has`)}keys(){return this.valueMap.values()}keysAsArray(){return Array.from(this.keys())}keysAsStrings(){return this.set.keys()}merge(e){e.set.forEach(e=>{this.set.add(e)}),e.valueMap.forEach((e,t)=>{this.valueMap.set(t,e)})}size(){return this.set.size}values(){return this.valueMap.values()}}function Q(e,t){return new Promise(r=>{let s=0;const{pendingTrimKeys:n,retainedIds:i,metadata:a}=e,o=Date.now();n.forEach(e=>{const r=a[e];void 0!==i[e]||void 0===r||void 0!==r&&r.expirationTimestamp>=o||(t(e),s++)}),r({deallocatedCount:s})})}function z(e,t){const{length:r}=t,{seenRecords:s}=e;for(let n=0;n<r;n+=1){const r=t[n];if(s.has(r)||r===e.recordId)return!0}return!1}function B(e,t){return!1===M(e)&&!1===z(e,t)}function V(e,t,r){return!0===M(e)&&!1===z(e,r)&&!1===z(e,t)}function W(e,t){const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s];0===n.indexOf(e)&&c.call(r,n)}return r}function G(e,t){return`${e}::${t}`}class H{constructor(e={}){this.records=r(null),this.metadata=r(null),this.visitedIds=r(null),this.refreshedIds=r(null),this.redirectKeys=r(null),this.retainedIds=r(null),this.ttlOverrides=r(null),this.snapshotSubscriptions=[],this.trimTask=null,this.pendingTrimKeys=new Set,this.defaultTTLOverride=void 0,this.watchSubscriptions=[],this.eventObservers=[],this.insertedIds=r(null),this.reverseRedirectKeys=r(null),this.currentSnapshotId=0,this.scheduler=e.scheduler||C(),e.initialData&&this.deserialize(e.initialData,e.resetInitialDataTtls),this.trimPolicy=e.customTrimPolicy||Q}readEntry(e){return this.records[this.getCanonicalRecordId(e)]}getNumEntries(){return i(this.records).length}readMetadata(e){return this.metadata[this.getCanonicalRecordId(e)]}readMetadataWhere(e){const t=i(this.metadata),r=[],s=h.call(e,"namespace"),n=h.call(e,"representationName"),a=h.call(e,"ttlOverride");for(let i=0,o=t.length;i<o;i++){const o=t[i],h=this.metadata[o];if((!s||h.namespace===e.namespace)&&(!n||h.representationName===e.representationName)){if(a){if(this.ttlOverrides[G(h.namespace,h.representationName)]!==e.ttlOverride)continue}r.push({metadata:h,key:o})}}return r}put(e,t){const{records:r,insertedIds:s,pendingTrimKeys:n,retainedIds:i}=this,a=this.getCanonicalRecordId(e);!1===h.call(r,a)&&(s[a]=!0),r[a]=t,void 0===i[a]&&n.add(a)}publish(e,t){const r=this.getCanonicalRecordId(e);this.put(r,t),this.markVisited(r)}getCanonicalRecordId(e){let t=e;const{redirectKeys:r}=this;for(;r[t];)t=r[t];return t}getRedirectLineage(e){const{redirectKeys:t}=this,r=[];if(void 0===t[e])return[];let s=e;for(;void 0!==t[s];)c.call(r,s),s=t[s];return r}redirect(e,t){const{redirectKeys:r,reverseRedirectKeys:s}=this;if(e===t)throw new Error("cannot redirect a key to itself");if(void 0!==s[t]&&s[t]!==e)throw new Error("cannot have multiple redirects keys point to the same canonical key");if(void 0!==r[t])throw new Error("the canonical key must be terminal and cannot already be part of a redirect chain");r[e]=t,s[t]=e,delete this.records[e],this.visitedIds[e]=!0}broadcast(e,t){const{snapshotSubscriptions:s,watchSubscriptions:n,visitedIds:a,refreshedIds:o,insertedIds:h}=this,l=i(a),d=i(o);if(0===l.length&&0===d.length)return Promise.resolve();const u=[];for(let r=0,n=s.length;r<n;r++){const n=s[r],{snapshot:i}=n;m(i)||B(i,l)||V(i,l,d)||u.push(new Promise(r=>{e(i,e=>{R({type:"store-snapshot-rebuild",timestamp:Date.now(),snapshot:e,subscriptionId:n.id},this.eventObservers),this.emitOrRefreshRebuiltSnapshot(e,n,t).then(()=>r())})}))}for(let e=0,t=n.length;e<t;e++){const{prefix:t,callback:r}=n[e],s=W(t,l);if(s.length>0){const e=[];for(let t=0,r=s.length;t<r;t++){const r=s[t],n=h[r]||!1;c.call(e,{id:r,inserted:n})}r(e)}}return this.visitedIds=r(null),this.refreshedIds=r(null),this.insertedIds=r(null),Promise.all(u).then(()=>{})}broadcastNonCachedSnapshot(e,t){const{snapshotSubscriptions:r}=this;for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i,callback:a}=n;M(i)&&i.recordId===e&&(n.snapshot=t,a(t))}}lookup(e,t,r,s){return t(e,r,s)}subscribe(e,t){const r={id:this.currentSnapshotId++,snapshot:e,callback:t};return R({type:"store-snapshot-subscribe",subscriptionId:r.id,snapshot:e,timestamp:Date.now()},this.eventObservers),this.snapshotSubscriptions=[...this.snapshotSubscriptions,r],m(e)||this.retainSnapshotIds(e),()=>{const{snapshotSubscriptions:e}=this,t=d.call(e,r);if(t>-1){this.snapshotSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)];const{snapshot:s,id:n}=r;R({type:"store-snapshot-unsubscribe",subscriptionId:n,snapshot:s,timestamp:Date.now()},this.eventObservers),m(s)||this.releaseSnapshotIds(s)}}}updateAvailable(e){const{snapshotSubscriptions:t}=this;this.expirePossibleStaleRecords(e);const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s],{snapshot:i,id:a}=n;m(i)||z(i,e)&&r.push(this.refreshSnapshot(i,a,"update-available"))}return Promise.all(r).then(e=>{}).catch(e=>Promise.resolve(void 0))}retain(e){const t=e.length;for(let r=0;r<t;r++){const t=e[r];this.increaseRetentionCount(t)}return()=>{this.release(e)}}watch(e,t){const r={prefix:e,callback:t};return this.watchSubscriptions=[...this.watchSubscriptions,r],()=>{const{watchSubscriptions:e}=this,t=d.call(e,r);this.watchSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)]}}evict(e){const t=this.getCanonicalRecordId(e);delete this.records[t],this.markVisited(t)}cleanup(){this.scheduleTrim()}dealloc(e){const t=this.getCanonicalRecordId(e);delete this.records[t]}keyExistsInStore(e){return void 0!==this.records[e]}publishMetadata(e,t){this.putMetadata(e,t,!0);const r=this.getCanonicalRecordId(e);this.markRefreshed(r)}putMetadata(e,t,r){const{namespace:s,representationName:n,ingestionTimestamp:i}=t,a=function(e,t,r){const s=t[e];return void 0===s?r:s}(G(s,n),this.ttlOverrides,this.defaultTTLOverride),o=this.getCanonicalRecordId(e);if(void 0!==a&&!0===r){const e=i+a,r={...t,expirationTimestamp:e};this.metadata[o]=r}else this.metadata[o]=t}expirePossibleStaleRecords(e){const t=Date.now()-1;for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.readMetadata(s);void 0!==n&&this.publishMetadata(s,{...n,expirationTimestamp:t})}}setTTLOverride(e,t,r){this.ttlOverrides[G(e,t)]=r}getTTLOverride(e,t){return this.ttlOverrides[G(e,t)]}getTTLOverrides(){return this.ttlOverrides}setDefaultTTLOverride(e){this.defaultTTLOverride=e}getDefaultTTLOverride(){return this.defaultTTLOverride}reset(){this.records=r(null),this.snapshotSubscriptions=[],this.watchSubscriptions=[],this.visitedIds=r(null),this.refreshedIds=r(null),this.insertedIds=r(null),this.redirectKeys=r(null),this.reverseRedirectKeys=r(null),this.retainedIds=r(null),this.ttlOverrides=r(null),this.trimTask=null,this.metadata=r(null),this.defaultTTLOverride=void 0,R({type:"store-reset",timestamp:Date.now()},this.eventObservers)}addStoreEventObserver(e){return this.eventObservers.push(e),()=>{const{eventObservers:t}=this,r=this.eventObservers.indexOf(e);r>-1&&(this.eventObservers=[...u.call(t,0,r),...u.call(t,r+1)])}}scheduleTrim(){null===this.trimTask&&(this.trimTask=()=>{const{metadata:e,pendingTrimKeys:t,retainedIds:r,records:s,dealloc:n}=this;return this.trimPolicy({metadata:e,pendingTrimKeys:t,retainedIds:r,storeRecords:s},n.bind(this)).then(e=>{this.pendingTrimKeys.clear();const{trimKeysSkipped:t}=e;return void 0!==t&&(this.pendingTrimKeys=t),e})},this.scheduler(this.trimTask,()=>{this.trimTask=null}))}buildIngestionStagingStore(){const e=new H,t=this,r=e.readEntry.bind(e),s=e.readMetadata.bind(e),n=e.evict.bind(e);return e.readEntry=e=>{const s=r(e);return void 0===s?t.readEntry(e):s},e.readMetadata=e=>{const r=s(e);return r||t.readMetadata(e)},e.evict=e=>{n(e),t.evict(e)},e.ttlOverrides=t.ttlOverrides,e.defaultTTLOverride=t.defaultTTLOverride,e.redirectKeys=t.redirectKeys,e.reverseRedirectKeys=t.reverseRedirectKeys,e}updateSubscriptionSnapshot(e,t){const{snapshot:r}=e;r!==t&&(e.snapshot=t,m(t)||this.retainSnapshotIds(t),m(r)||this.releaseSnapshotIds(r))}refreshSnapshot(e,t,r){const{refresh:s}=e;return void 0!==s?(R({type:"store-snapshot-refresh",subscriptionId:t,reason:r,snapshot:e,timestamp:Date.now()},this.eventObservers),s.resolve(s.config)):Promise.resolve(void 0)}instrumentIngestedNewData(e,t){const r=t.recordId,s=this.metadata[r];s?R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers):t.seenRecords.keysAsArray().forEach(r=>{const s=this.metadata[r];s&&R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers)})}emitOrRefreshRebuiltSnapshot(e,t,r){const{snapshot:s,callback:n,id:i}=t;if(M(e))return M(s)&&this.updateSubscriptionSnapshot(t,e),Promise.resolve();if(this.updateSubscriptionSnapshot(t,e),r(e))e!==s&&(R({type:"store-snapshot-emit",snapshot:e,timestamp:Date.now(),subscriptionId:i},this.eventObservers),n(e)),this.instrumentIngestedNewDataOnFulfilledSnapshots(s,e);else if(k(e))return this.refreshSnapshot(e,i,"rebuild-unfulfilled").then();return Promise.resolve()}instrumentIngestedNewDataOnFulfilledSnapshots(e,t){y(e)&&y(t)&&this.instrumentIngestedNewData(e,t)}retainSnapshotIds(e){const t=e.recordId,{seenRecords:r}=e,s=void 0===r?[t]:[t,...Array.from(r.keysAsStrings())];this.retain(s)}releaseSnapshotIds(e){const t=e.recordId,{seenRecords:r}=e,s=void 0===r?[t]:[t,...Array.from(r.keysAsStrings())];this.release(s)}increaseRetentionCount(e){const t=this.retainedIds[e];this.retainedIds[e]=void 0===t?1:t+1,this.pendingTrimKeys.delete(e)}decreaseRetentionCount(e){const t=this.retainedIds[e];return 1===t?(this.pendingTrimKeys.add(e),delete this.retainedIds[e]):(void 0===t||(this.retainedIds[e]=t-1),!1)}release(e){const t=e.length;let r=!1;for(let s=0;s<t;s++){const t=e[s];!0===this.decreaseRetentionCount(t)&&(r=!0)}!0===r&&this.scheduleTrim()}markVisited(e){const{visitedIds:t,reverseRedirectKeys:r}=this;t[e]=!0;let s=r[e];for(;void 0!==s;)t[s]=!0,s=r[s]}markRefreshed(e){const{refreshedIds:t,reverseRedirectKeys:r}=this;t[e]=!0;let s=r[e];for(;void 0!==s;)t[s]=!0,s=r[s]}serialize(){return{luvioStoreData:{data:this.records,metadata:this.metadata,version:"1"}}}deserialize(e,t){const r=e.luvioStoreData;"1"===r.version&&(this.records=r.data,this.metadata=this.calculateAndSetNewTTLs(r.metadata,t))}calculateAndSetNewTTLs(e,t){if(!0===t){const t=Date.now();i(e).forEach(r=>{const s=e[r],n=s.expirationTimestamp-s.ingestionTimestamp;s.ingestionTimestamp=t,s.expirationTimestamp=t+n})}return e}}function J(e,t){const{seenRecords:r}=e;return t.some(t=>r.has(t)||t===e.recordId)}function X(e,t){return!1===M(e)&&!1===J(e,t)}function Y(e,t,r){return!0===M(e)&&!1===J(e,r)&&!1===J(e,t)}function Z(e,t){const r=i(e);return t.filter(t=>r.every(r=>e[r]===t[r]))}class ee{constructor(e={}){this.recordsMap=new j,this.metadataMap=new j,this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.redirectKeysMap=new j,this.retainedIdsMap=new j,this.ttlOverridesMap=new j,this.snapshotSubscriptions=[],this.trimTask=null,this.pendingTrims=new U,this.defaultTTLOverride=void 0,this.watchSubscriptions=[],this.eventObservers=[],this.insertedIdsSet=new U,this.reverseRedirectKeysMap=new j,this.scheduler=e.scheduler||C(),this.fallbackStringKeyInMemoryStore=new H(e)}readEntry(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.readEntry(e):this.recordsMap.get(e)}getNumEntries(){const e=this.recordsMap.size();return 0===e?this.fallbackStringKeyInMemoryStore.getNumEntries():e}readMetadata(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.readMetadata(e):this.metadataMap.get(e)}readMetadataWhere(e){const t=this.metadataMap.keysAsArray();if(0===t.length)return this.fallbackStringKeyInMemoryStore.readMetadataWhere(e);const r=[],s=h.call(e,"namespace"),n=h.call(e,"representationName"),i=h.call(e,"ttlOverride");for(let a=0,o=t.length;a<o;a++){const o=t[a],h=this.metadataMap.get(o);if(h){if(s&&h.namespace!==e.namespace)continue;if(n&&h.representationName!==e.representationName)continue;if(i){if(this.ttlOverridesMap.get(this.buildStructuredKey(h.namespace,h.representationName,{}))!==e.ttlOverride)continue}r.push({metadata:h,key:o})}}return r}put(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.put(e,t);const{recordsMap:r,insertedIdsSet:s,pendingTrims:n,retainedIdsMap:i}=this,a=this.getCanonicalRecordId(e);!1===r.get(a)&&s.add(a),r.set(a,t),void 0===i.get(a)&&n.add(a)}publish(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.publish(e,t);const r=this.getCanonicalRecordId(e);this.put(r,t),this.markVisited(r),this.emitStorePublishEvent(e)}getCanonicalRecordId(e){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.getCanonicalRecordId(e);const{redirectKeysMap:t}=this;let r=e;for(;t.get(r);)r=t.get(r);return r}getRedirectLineage(e){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.getRedirectLineage(e);const{redirectKeysMap:t}=this,r=[];let s=t.get(e);for(;void 0!==s;)c.call(r,s),s=t.get(s);return r}redirect(e,t){if("string"==typeof e&&"string"==typeof t)return void this.fallbackStringKeyInMemoryStore.redirect(e,t);if("string"==typeof e||"string"==typeof t)throw new Error("cannot have key and canonicalKey of different types");const{redirectKeysMap:r,reverseRedirectKeysMap:s}=this;if(e===t)throw new Error("cannot redirect a key to itself");if(s.has(t))throw new Error("cannot have multiple redirects keys point to the same canonical key");if(r.has(t))throw new Error("the canonical key must be terminal and cannot already be part of a redirect chain");r.set(e,t),s.set(t,e),this.recordsMap.delete(e),this.visitedIdsSet.add(e)}broadcast(e,t){const{snapshotSubscriptions:r,watchSubscriptions:s,visitedIdsSet:n,refreshedIdsSet:i,insertedIdsSet:a}=this,o=n.keysAsArray(),h=i.keysAsArray();if(0===o.length&&0===h.length)return this.isUsingStringKeys()?this.fallbackStringKeyInMemoryStore.broadcast(e,t):Promise.resolve();for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i}=n;m(i)||X(i,o)||Y(i,o,h)||e(i,e=>{this.emitOrRefreshRebuiltSnapshot(e,n,t)})}for(let e=0,t=s.length;e<t;e++){const{partialKey:t,callback:r}=s[e],n=Z(t,o);if(n.length>0){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t],s=a.has(r);c.call(e,{id:r,inserted:s})}r(e)}}return this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.insertedIdsSet=new U,Promise.resolve()}broadcastNonCachedSnapshot(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.broadcastNonCachedSnapshot(e,t);const{snapshotSubscriptions:r}=this;for(let s=0,n=r.length;s<n;s++){const n=r[s],{snapshot:i,callback:a}=n;M(i)&&i.recordId===e&&(n.snapshot=t,a(t))}}lookup(e,t,r,s){return t(e,r,s)}subscribe(e,t){if(this.delegateToFallbackStringKeyStore(e))return this.fallbackStringKeyInMemoryStore.subscribe(e,t);const r={snapshot:e,callback:t};return this.snapshotSubscriptions=[...this.snapshotSubscriptions,r],m(e)||this.retainSnapshotIds(e),()=>{const{snapshotSubscriptions:e}=this,t=d.call(e,r);if(t>-1){this.snapshotSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)];const{snapshot:s}=r;m(s)||this.releaseSnapshotIds(s)}}}updateAvailable(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.updateAvailable(e);const{snapshotSubscriptions:t}=this;this.expirePossibleStaleRecords(e);const r=[];for(let s=0,n=t.length;s<n;s++){const n=t[s],{snapshot:i}=n;m(i)||J(i,e)&&r.push(this.refreshSnapshot(i))}return Promise.all(r).then(e=>{}).catch(e=>Promise.resolve(void 0))}retain(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.retain(e);for(let t=0,r=e.length;t<r;t++){const r=e[t];this.increaseRetentionCount(r)}return()=>{this.release(e)}}watch(e,t){if("string"==typeof e)return this.fallbackStringKeyInMemoryStore.watch(e,t);const r={partialKey:e,callback:t};return this.watchSubscriptions=[...this.watchSubscriptions,r],()=>{const{watchSubscriptions:e}=this,t=d.call(e,r);this.watchSubscriptions=[...u.call(e,0,t),...u.call(e,t+1)]}}evict(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.evict(e);const t=this.getCanonicalRecordId(e);this.recordsMap.delete(t),this.markVisited(t)}cleanup(){this.fallbackStringKeyInMemoryStore.pendingTrimKeys.size>0&&this.fallbackStringKeyInMemoryStore.cleanup()}dealloc(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.dealloc(e);const t=this.getCanonicalRecordId(e);this.recordsMap.delete(t)}keyExistsInStore(e){return"string"==typeof e?this.fallbackStringKeyInMemoryStore.keyExistsInStore(e):void 0!==this.recordsMap.get(e)}publishMetadata(e,t){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.publishMetadata(e,t);this.putMetadata(e,t,!0);const r=this.getCanonicalRecordId(e);this.markRefreshed(r)}putMetadata(e,t,r){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.putMetadata(e,t,r);const{namespace:s,representationName:n,ingestionTimestamp:i}=t,a=function(e,t,r){const s=t.get(e);return void 0===s?r:s}(this.buildStructuredKey(s,n,{}),this.ttlOverridesMap,this.defaultTTLOverride),o=this.getCanonicalRecordId(e);if(void 0!==a&&r){const e=i+a,r={...t,expirationTimestamp:e};this.metadataMap.set(o,r)}else this.metadataMap.set(o,t)}expirePossibleStaleRecords(e){if(e.length>0&&"string"==typeof e[0])return this.fallbackStringKeyInMemoryStore.expirePossibleStaleRecords(e);const t=Date.now();for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.readMetadata(s);void 0!==n&&this.publishMetadata(s,{...n,expirationTimestamp:t})}}setTTLOverride(e,t,r){this.fallbackStringKeyInMemoryStore.setTTLOverride(e,t,r),this.ttlOverridesMap.set(this.buildStructuredKey(e,t,{}),r)}getTTLOverride(e,t){return this.ttlOverridesMap.get(this.buildStructuredKey(e,t,{}))}getTTLOverrides(){return this.ttlOverridesMap}setDefaultTTLOverride(e){this.fallbackStringKeyInMemoryStore.setDefaultTTLOverride(e),this.defaultTTLOverride=e}getDefaultTTLOverride(){return this.defaultTTLOverride}reset(){this.recordsMap=new j,this.snapshotSubscriptions=[],this.watchSubscriptions=[],this.visitedIdsSet=new U,this.refreshedIdsSet=new U,this.insertedIdsSet=new U,this.redirectKeysMap=new j,this.reverseRedirectKeysMap=new j,this.retainedIdsMap=new j,this.ttlOverridesMap=new j,this.trimTask=null,this.metadataMap=new j,this.defaultTTLOverride=void 0,this.fallbackStringKeyInMemoryStore.reset()}addStoreEventObserver(e){const t=this.fallbackStringKeyInMemoryStore.addStoreEventObserver(e);return this.eventObservers.push(e),()=>{const{eventObservers:r}=this,s=this.eventObservers.indexOf(e);s>-1&&(this.eventObservers=[...u.call(r,0,s),...u.call(r,s+1)]),t()}}scheduleTrim(){this.fallbackStringKeyInMemoryStore.pendingTrimKeys.size>0?this.fallbackStringKeyInMemoryStore.scheduleTrim():null===this.trimTask&&(this.trimTask=()=>{const{metadataMap:e,retainedIdsMap:t,pendingTrims:r}=this;let s=0;const n=Date.now();return r.forEach(r=>{const i=e.get(r);void 0!==t.get(r)||void 0===i||void 0!==i&&i.expirationTimestamp>=n||(this.dealloc(r),s++)}),r.clear(),Promise.resolve({deallocatedCount:s})},this.scheduler(this.trimTask,()=>{this.trimTask=null}))}updateSubscriptionSnapshot(e,t){const{snapshot:r}=e;r!==t&&(e.snapshot=t,m(t)||this.retainSnapshotIds(t),m(r)||this.releaseSnapshotIds(r))}refreshSnapshot(e){const{refresh:t}=e;return void 0!==t?t.resolve(t.config):Promise.resolve(void 0)}instrumentIngestedNewData(e,t){const r=t.recordId,s=this.metadataMap.get(r);s?R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers):t.seenRecords.keysAsArray().forEach(r=>{const s=this.metadataMap.get(r);s&&R({type:"cache-miss-out-of-ttl",oldSnapshot:e,newSnapshot:t,recordId:r,recordMetadata:s,timestamp:Date.now()},this.eventObservers)})}emitOrRefreshRebuiltSnapshot(e,t,r){const{snapshot:s,callback:n}=t;if(M(e))M(s)&&this.updateSubscriptionSnapshot(t,e);else if(this.updateSubscriptionSnapshot(t,e),r(e))e!==s&&n(e),this.instrumentIngestedNewDataOnFulfilledSnapshots(s,e);else if(k(e)){const{refresh:t}=e;void 0!==t&&t.resolve(t.config)}}instrumentIngestedNewDataOnFulfilledSnapshots(e,t){y(e)&&y(t)&&this.instrumentIngestedNewData(e,t)}retainSnapshotIds(e){const{recordId:t,seenRecords:r}=e,s=void 0===r?[t]:[t,...r.keysAsArray()];this.retain(s)}releaseSnapshotIds(e){const{recordId:t,seenRecords:r}=e,s=void 0===r?[t]:[t,...r.keysAsArray()];this.release(s)}increaseRetentionCount(e){const t=this.retainedIdsMap.get(e);this.retainedIdsMap.set(e,void 0===t?1:t+1),this.pendingTrims.delete(e)}decreaseRetentionCount(e){const t=this.retainedIdsMap.get(e);return 1===t?(this.pendingTrims.add(e),this.retainedIdsMap.delete(e),!0):(void 0===t||this.retainedIdsMap.set(e,t-1),!1)}release(e){const t=e.length;let r=!1;for(let s=0;s<t;s++){const t=e[s];!0===this.decreaseRetentionCount(t)&&(r=!0)}!0===r&&this.scheduleTrim()}markVisited(e){if("string"==typeof e)return void this.fallbackStringKeyInMemoryStore.markVisited(e);const{visitedIdsSet:t,reverseRedirectKeysMap:r}=this;let s=e;do{t.add(s),s=r.get(s)}while(void 0!==s)}markRefreshed(e){const{refreshedIdsSet:t,reverseRedirectKeysMap:r}=this;let s=e;do{t.add(s),s=r.get(s)}while(void 0!==s)}isUsingStringKeys(){return 0!==i(this.fallbackStringKeyInMemoryStore.visitedIds).length||0!==i(this.fallbackStringKeyInMemoryStore.refreshedIds).length}delegateToFallbackStringKeyStore(e){return!m(e)&&"string"==typeof e.recordId}emitStorePublishEvent(e){R({type:"store-publish",timestamp:Date.now(),store:this,key:e,keySchema:this.buildKeySchema(e)},this.eventObservers)}buildStructuredKey(e,t,r){return{...r,namespace:e,representationName:t}}buildIngestionStagingStore(){const e=new ee;return e.ttlOverridesMap=this.ttlOverridesMap,e.defaultTTLOverride=this.defaultTTLOverride,e.redirectKeysMap=this.redirectKeysMap,e.reverseRedirectKeysMap=this.reverseRedirectKeysMap,e.fallbackStringKeyInMemoryStore=this.fallbackStringKeyInMemoryStore.buildIngestionStagingStore(),e}buildKeySchema(e){const{namespace:t,representationName:r,...s}=e;return["namespace","representationName",...i(s).sort()]}serialize(){return this.fallbackStringKeyInMemoryStore.serialize()}}function te(e){switch(e){case"background":return"background";case"high":return"high";default:return"normal"}}var re;function se(e){const{priority:t,requestCorrelator:r,eventObservers:s,sourceContext:n}=e;return{networkPriority:te(t),requestCorrelator:r,eventObservers:s,sourceContext:n}}function ne(e,t){const r=(r,s)=>e(r,s,t);return r.ttlStrategy=t,r}function ie(e){const{buildNetworkSnapshot:t,buildSnapshotContext:r,coercedAdapterRequestContext:s}=e;return t(r,s).then(t=>"Pending"===t.state?e.resolvePendingSnapshot(t):t)}function ae(t=0){return(r,s,n)=>{if(void 0!==s){const{expirationTimestamp:i}=s;if(r>i)return r<=i+t&&!0!==n?e.StoreResolveResultState.Stale:e.StoreResolveResultState.NotPresent}return!0===n?e.StoreResolveResultState.Error:e.StoreResolveResultState.Found}}function oe(e,t){return w(e)?e.then(t):t(e)}e.HttpStatusCode=void 0,(re=e.HttpStatusCode||(e.HttpStatusCode={}))[re.Ok=200]="Ok",re[re.Created=201]="Created",re[re.NoContent=204]="NoContent",re[re.NotModified=304]="NotModified",re[re.BadRequest=400]="BadRequest",re[re.Unauthorized=401]="Unauthorized",re[re.Forbidden=403]="Forbidden",re[re.NotFound=404]="NotFound",re[re.ServerError=500]="ServerError",re[re.GatewayTimeout=504]="GatewayTimeout";const he=function(e){const{buildCachedSnapshot:t,buildSnapshotContext:r,storeLookup:s,luvio:n}=e;return oe(t(r,ne(s,ae()),n),t=>{if(void 0!==t){if(y(t)||m(t))return t;if(M(t))return e.resolvePendingSnapshot(t)}return ie(e)})},le=function(e){return ie(e)},ce=function(t){const{buildCachedSnapshot:r,buildSnapshotContext:s,storeLookup:n,luvio:i}=t;return oe(r(s,ne(n,ae()),i),t=>{if(void 0!==t&&(y(t)||m(t)))return t;const r=void 0!==t?t.refresh:void 0;return I({body:void 0,headers:{},ok:!1,status:e.HttpStatusCode.GatewayTimeout,statusText:"Data requested with only-if-cached policy and not found in the cache.",errorType:"fetchResponse"},r)})};function de(e){return"object"==typeof e&&null!==e&&h.call(e,"__ref")}function ue(e){return null!==e&&e.type===pe.Node}var pe,ve;!function(e){e.Link="Link",e.Node="Node",e.Error="Error",e.Locked="Locked"}(pe||(pe={}));class fe{constructor(e,t){this.type=pe.Error,this.store=e,this.data=t}retrieve(){return this.data}}class Se{constructor(e,t){this.type=pe.Link,this.store=e,this.data=t}isPending(){return!0===this.data.pending}isMissing(){return!0===this.data.isMissing}follow(){const{__ref:e}=this.data;if(void 0===e)return null;const t=(r=this.store,s=e,r.readEntry(s));var r,s;return null==t?null:A(t)?new fe(this.store,t):new ge(this.store,t,e)}linkData(){return this.data.data}writeLinkData(e){this.data.data=e}}class ge{constructor(e,t,r){this.type=pe.Node,this.store=e,this.data=t,this.storeKey=r}object(e){const t=this.data[e];if(de(t))throw new Error(`Cannot walk to path ${String(e)}. "${String(e)}" is a link: "${t}"`);if("object"!=typeof t||null===t)throw new Error(`Cannot walk to path ${String(e)}. "${String(e)}" is a scalar: "${t}"`);return new ge(this.store,t,this.storeKey)}link(e){const t=this.data[e];if(!de(t))throw new Error(`Cannot walk to link ${String(e)}. "${String(e)}" is not a link: "${t}"`);return new Se(this.store,t)}scalar(e){const t=this.data[e];if("object"==typeof t&&null!==t)throw new Error(`Cannot return value at path ${String(e)}. ${String(e)} is not a scalar.`);return t}keys(){return i(this.data)}isScalar(e){if(void 0===this.data)return!0;const t=this.data[e];return"object"!=typeof t||null===t}isMissing(e){const t=this.data[e];return!(!t||"object"!=typeof t.__state||null===t.__state)&&!!t.__state.isMissing}isPending(e){const t=this.data[e];return!(!t||"object"!=typeof t.__state||null===t.__state)&&!!t.__state.pending}write(e,t){this.data[e]=t;const r=this.store.getCanonicalRecordId(this.storeKey);this.store.markVisited(r)}isUndefined(e){return void 0===this.data[e]}retrieve(){return this.data}}function me(e){return!0===e.reader}function ye(e,t){const{args:r,name:s}=e;return r&&0!==r.length?function(e,t){if(!t)return e;var r=[];for(var s in t)if(h.call(t,s)){var n=t[s];null===n&&void 0===n||r.push(s+":"+v(n))}return 0===r.length?e:e+"(".concat(r.join(","),")")}(s,function(e,t){const r={};return e.forEach(e=>{"Variable"===e.kind?r[e.name]=t[e.variableName]:r[e.name]=e.value}),r}(r,t)):s}function be(e){return null!=e}function ke(e){return"object"==typeof e&&null!==e}function Me(e){if(void 0===e)return{state:ve.NotPresent};if(null===e)return{state:ve.Null};const{__ref:t,pending:r,isMissing:s}=e;return!0===r?{state:ve.Pending}:!0===s?{state:ve.Missing}:void 0===t?{state:ve.RefNotPresent}:{state:ve.RefPresent,key:t}}!function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(ve||(ve={}));const Ie=(t,r,s)=>!0===s?e.StoreResolveResultState.Error:e.StoreResolveResultState.Found;const we="ROOT";var Re;!function(e){e[e.Missing=0]="Missing",e[e.Success=1]="Success",e[e.Error=2]="Error"}(Re||(Re={}));const Te={state:Re.Missing};const Pe=new WeakMap;class Ee{constructor(r,s,n,i,a){this.store=r,this.hasPendingData=!1,this.getLinkState=Me,this.StoreLinkStateValues=ve,this.StoreResolveResultState=e.StoreResolveResultState,this.variables=s,this.seenIds=new U,this.missingPaths=new U,this.missingLinks=new U,this.isMissingData=!1,this.hasStaleData=!1,this.refresh=n;let o,h=!0;void 0===i||i.state!==t.Fulfilled&&i.state!==t.Stale||(o=i.data,h=!1),this.snapshotChanged=h,this.currentPath={fullPath:"",key:we,parent:null,baseSnapshotValue:o},this.baseSnapshot=i,this.timestamp=Date.now(),this.ttlStrategy=void 0===a?Ie:a}resolveMetadata(e,t){const r=Me(e.__metadata);if(r.state!==ve.RefPresent)return void this.markMissing();const s=this.resolveKey(r.key);if(s.version===t)return s.value;this.markMissing()}readFragmentUnion(e,t){const{value:r}=e,{discriminator:s}=t,n=r[s];return this.readFragment(e,t.unionSelections[n])}read(e){const{node:t}=e,{recordId:r}=e,s=this.storeLookup(r),n=this.readFragment(s,t);switch(n.state){case Re.Missing:return!1===this.isMissingData&&(this.isMissingData=!0,this.snapshotChanged=!0),this.createSnapshot(void 0,e);case Re.Error:return this.createErrorSnapshot(n.value);default:return this.createSnapshot(n.value,e)}}getSnapshotState(){return!0===this.isMissingData?t.Unfulfilled:!0===this.hasPendingData?t.Pending:!0===this.hasStaleData?t.Stale:t.Fulfilled}createErrorSnapshot(e){return{data:void 0,error:e,state:t.Error,refresh:this.refresh}}createSnapshot(e,t){return!1===this.snapshotChanged&&t.recordId===this.baseSnapshot.recordId?this.baseSnapshot:(g(e),{recordId:t.recordId,select:t,variables:this.variables,seenRecords:this.seenIds,data:e,state:this.getSnapshotState(),missingPaths:this.missingPaths,missingLinks:this.missingLinks,refresh:this.refresh})}opaqueCopy(e){return p(v(e))}deepCopy(t,r,s,n){const i=t[s];if(this.enterPath(s),l(i)){const e=[];this.selectAll(i,e,n),r[s]=e}else if("object"==typeof i&&null!==i)if(void 0!==i.__ref){const t=i.__ref;if(l(t)){const e=[];this.selectAll(t,e,n),r[s]=e}else{if(!0===h.call(n,t))throw new Error("Invalid eager selection on records with circular references.");const i=this.resolveKey(t);switch(i.state){case e.StoreResolveResultState.NotPresent:r[s]=void 0;break;case e.StoreResolveResultState.Found:{const e={};this.selectAll(i.value,e,{...n,[t]:!0}),r[s]=e;break}}}}else{const e={};this.selectAll(i,e,n),r[s]=e}else this.checkIfChanged(i),r[s]=i;this.exitPath()}selectAllArray(e,t,r){const{length:s}=e;for(let n=0;n<s;n+=1)this.deepCopy(e,t,n,r)}selectAllObject(e,t,r){const s=i(e),{length:n}=s;for(let i=0;i<n;i+=1){const n=s[i];this.deepCopy(e,t,n,r)}}selectAll(e,t,r={}){!0===l(e)?this.selectAllArray(e,t,r):this.selectAllObject(e,t,r)}markPending(){this.hasPendingData=!0}markStale(){this.hasStaleData=!0}markMissing(){this.isMissingData=!0;const e=this.getFullPathString(this.currentPath.fullPath);this.missingPaths.add(e),this.checkIfChanged(void 0)}markMissingLink(e){this.missingLinks.add(e),this.markMissing()}unMarkMissing(){const e=this.getFullPathString(this.currentPath.fullPath);this.missingPaths.delete(e),0===this.missingPaths.size()&&(this.isMissingData=!1)}assignNonScalar(e,t,r){e[t]=r}enterPath(e){const t=this.currentPath,{key:r,fullPath:s,baseSnapshotValue:n}=t;let i;null!=n&&(i=n[e]),this.currentPath={parent:t,key:e,fullPath:r===we?e:s+"."+e,baseSnapshotValue:i}}exitPath(){this.currentPath=this.currentPath.parent}readSingleLink(e,t,r,s,n){const{required:i,nullable:a,fragment:o}=t,h=void 0===n?e:n,l=Me(r[e]);switch(l.state){case ve.RefNotPresent:case ve.NotPresent:case ve.Missing:if(me(o)&&!0===o.synthetic)return this.assignNonScalar(s,h,o.read(this));if(l.state===ve.Missing&&!1===i)return;return void this.markMissing();case ve.Null:if(!0===a)return void this.readScalar(e,r,s);throw new Error(`Invalid Link State. Link on "${this.currentPath.fullPath}" is null but selection is not nullable: \n${v(t,null,2)}`);case ve.Pending:return void this.markPending();default:this.readStoreLinkWithRef(l,o,s,h,!0)}}markRedirectsSeen(e){const{redirects:t}=e,{length:r}=t;if(0!==r)for(let e=0;e<r;e+=1)this.markSeenId(t[e])}resolveKey(t,r={}){const s=this.storeLookup(t),{required:n}=r;switch(s.state){case e.StoreResolveResultState.Stale:this.markStale();break;case e.StoreResolveResultState.NotPresent:!1!==n&&this.markMissingLink(t)}return this.markRedirectsSeen(s),this.markSeenId(s.resolvedKey),s}readStoreLinkWithRef(e,t,r,s,n){const i=this.readFragment(this.resolveKey(e.key,{required:n}),t);switch(i.state){case Re.Error:return void this.markMissing();case Re.Success:this.assignNonScalar(r,s,i.value)}}readObject(e,t,r,s){const n=r[e];if(!0===t.nullable&&null===n)return void this.readScalar(e,r,s);if(!0===t.opaque)return void this.readOpaque(s,e,n,t.required);if(void 0===n)return!1===t.required?void this.checkIfChanged(n):this.markMissing();if("object"==typeof n.__state){if(!0===t.supportsMissingMarker&&!0===n.__state.isMissing)return void this.checkIfChanged(n);if(!0===n.__state.pending)return void this.markPending()}const i=l(n)?[]:{};void 0===t.selections?this.selectAll(n,i):this.traverseSelections(t,n,i),this.assignNonScalar(s,e,i)}checkIfArrayLengthChanged(e){if(!0===this.snapshotChanged)return;const{baseSnapshotValue:t}=this.currentPath;be(t)&&(this.snapshotChanged=t.length!==e.length)}checkIfObjectKeysLengthChanged(e){if(!0===this.snapshotChanged)return;const{baseSnapshotValue:t}=this.currentPath;be(t)&&(this.snapshotChanged=e.length!==i(t).length)}checkIfChanged(e,t){!0!==this.snapshotChanged&&(!0===(null==t?void 0:t.useDeepEquals)?this.snapshotChanged=v(this.currentPath.baseSnapshotValue)!==v(e):this.snapshotChanged=this.currentPath.baseSnapshotValue!==e)}readPluralLink(e,t,r,s){if(void 0===t.fragment)return;const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const i=s[e]=[];for(let e=0,r=n.length;e<r;e+=1)this.enterPath(e),this.readSingleLink(e,t,n,i),this.exitPath();this.checkIfArrayLengthChanged(i)}readObjectMap(e,t,r,s){const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const a=s[e]={},o=i(n);this.checkIfObjectKeysLengthChanged(o);for(let e=0,r=o.length;e<r;e+=1){const r=o[e];this.enterPath(r),this.readObject(r,t,n,a),this.exitPath()}}readLinkMap(e,t,r,s){const n=r[e],a=i(n),o={};this.checkIfObjectKeysLengthChanged(a);for(let e=0,r=a.length;e<r;e+=1){const r=a[e];this.enterPath(r),this.readSingleLink(r,t,n,o),this.exitPath()}this.assignNonScalar(s,e,o)}readSuccessResolveState(e,t){if(me(t)&&!0===t.synthetic)return{state:Re.Missing};if(!0===t.union)return this.readFragmentUnion(e,t);const{version:r}=e;if(void 0!==r&&void 0!==t.version&&r!==t.version)return{state:Re.Missing};if(me(t)){const r=t.read(e.value,this);return{state:Re.Success,value:r}}if(t.opaque){this.checkIfChanged(e.value,{useDeepEquals:!0}),ke(e.value)&&!Pe.has(e.value)&&Pe.set(e.value,this.opaqueCopy(e.value));const t=ke(e.value)?Pe.get(e.value):e.value;return{state:Re.Success,value:t}}const s={};return this.traverseSelections(t,e.value,s),{state:Re.Success,value:s}}readFragment(t,r){if(me(r)&&!0===r.synthetic){const e=r.read(this);return"Error"===e.state?{state:Re.Error,value:e.value}:{state:Re.Success,value:e}}switch(t.state){case e.StoreResolveResultState.NotPresent:return Te;case e.StoreResolveResultState.Error:return{state:Re.Error,value:t.value};case e.StoreResolveResultState.Stale:return this.markStale(),this.readSuccessResolveState(t,r);case e.StoreResolveResultState.Found:return this.readSuccessResolveState(t,r)}}readPluralObject(e,t,r,s){if(void 0===t.selections)return;const n=r[e];if(void 0===n){if(!1===t.required)return;return this.markMissing()}const i=s[e]=[];for(let e=0,r=n.length;e<r;e+=1){this.enterPath(e);const r=n[e];if(void 0===r)return this.markMissing(),void this.exitPath();const s={};this.traverseSelections(t,r,s),c.call(i,s),this.exitPath()}this.checkIfArrayLengthChanged(i)}readOpaque(e,t,r,s){this.checkIfChanged(r),void 0===r&&!1===s||(e[t]=r)}readScalarMap(e,t,r,s){const n=t[e];if(void 0===n)return!1!==s?void this.markMissing():void this.checkIfChanged(void 0);const a=r[e]={},o=i(n);this.checkIfObjectKeysLengthChanged(o);for(let e=0,t=o.length;e<t;e+=1){const t=o[e];this.enterPath(t),this.readScalar(t,n,a),this.exitPath()}}readScalarPlural(e,t,r,s){const n=t[e];if(void 0===n){if(!1===s)return;return this.markMissing()}const i=r[e]=[];if(!0!==this.snapshotChanged)if(this.checkIfArrayLengthChanged(n),!0!==this.snapshotChanged)for(let e=0,t=n.length;e<t;e+=1){this.enterPath(e);const t=n[e];if(c.call(i,t),this.checkIfChanged(t),this.exitPath(),!0===this.snapshotChanged){c.apply(i,u.call(n,e+1));break}}else c.apply(i,n);else c.apply(i,n)}readScalar(e,t,r,s){if(!h.call(t,e))return!1!==s?void this.markMissing():void this.checkIfChanged(void 0);this.assignScalar(e,r,t[e])}assignScalar(e,t,r){t[e]=r,this.checkIfChanged(r)}storeLookup(t){return function(t,r,s,n){const i=s.getRedirectLineage(t),a=s.getCanonicalRecordId(t),o=s.readEntry(a);if(void 0===o)return{state:e.StoreResolveResultState.NotPresent,redirects:i,resolvedKey:a};let h;const l=s.readMetadata(a);void 0!==l&&(h=l.version);const c=n(r,l,null!==o&&A(o));switch(c!==e.StoreResolveResultState.NotPresent&&c!==e.StoreResolveResultState.Stale||l&&l.ingestionTimestamp&&R({type:"data-out-of-ttl-duration-update",lastExpiredDuration:r-l.ingestionTimestamp,recordId:a,storeResolveResultState:c===e.StoreResolveResultState.NotPresent?"not-present":"stale"},s.eventObservers),c){case e.StoreResolveResultState.NotPresent:return{state:c,redirects:i,resolvedKey:a};case e.StoreResolveResultState.Error:return{state:c,value:o.error,version:h,redirects:i,resolvedKey:a};case e.StoreResolveResultState.Stale:return{state:c,value:o,version:h,redirects:i,resolvedKey:a};default:return{state:c,value:o,redirects:i,resolvedKey:a,version:h}}}(t,this.timestamp,this.store,this.ttlStrategy)}selectUnion(e,t,r,s){const{discriminator:n}=e,i=r[n],a=e.unionSelections[i],o={selections:a.selections,private:a.private,name:e.name,kind:e.kind};this.traverseSelection(o,t,s)}selectObjectUnion(e,t,r){const{name:s}=e,n=t[s];void 0!==n?!0!==e.nullable||null!==n?this.selectUnion(e,t,n,r):this.readScalar(s,t,r):this.markMissing()}traverseSelection(e,t,r){const{variables:s}=this,n=ye(e,s);var i;!0!==(i=e).union||"Object"!==i.kind?"Link"===e.kind?!0===e.plural?this.readPluralLink(n,e,t,r):!0===e.map?this.readLinkMap(n,e,t,r):this.readSingleLink(n,e,t,r):"Scalar"===e.kind?!0===e.map?this.readScalarMap(n,t,r,!1!==e.required):!0===e.plural?this.readScalarPlural(n,t,r,!1!==e.required):this.readScalar(n,t,r,e.required):"Object"===e.kind&&(!0===e.map?this.readObjectMap(n,e,t,r):!0===e.plural?this.readPluralObject(n,e,t,r):this.readObject(n,e,t,r)):this.selectObjectUnion(e,t,r)}traverseSelections(e,t,r){const{selections:s}=e;if(void 0===s)return void this.selectAll(t,r);const{length:n}=s;for(let e=0;e<n;e+=1){const n=s[e];this.enterPath(n.name),this.traverseSelection(n,t,r),this.exitPath()}}isRebuilding(){return void 0!==this.baseSnapshot}getIsDataMissing(){return this.isMissingData}getTimeStamp(){return this.timestamp}markSeenId(e){this.seenIds.add(e)}getFullPathString(e){return"number"==typeof e?e.toString():e}}function Oe(e,r){if(void 0===e)return Oe(r,r);const{type:s}=e;switch(s){case"cache-and-network":return function(e=0){return function(t){const{buildCachedSnapshot:r,buildNetworkSnapshot:s,buildSnapshotContext:n,storeLookup:i,coercedAdapterRequestContext:a,luvio:o}=t;return oe(r(n,ne(i,ae(1e3*e)),o),e=>{if(void 0!==e){if(y(e)||m(e)||b(e))return s(n,a),e;if(M(e))return t.resolvePendingSnapshot(e)}return ie(t)})}}(e.staleDurationSeconds);case"cache-then-network":return he;case"no-cache":return le;case"only-if-cached":return ce;case"stale-while-revalidate":return a=e.staleDurationSeconds,function(e){const{buildCachedSnapshot:r,buildNetworkSnapshot:s,buildSnapshotContext:n,storeLookup:i,coercedAdapterRequestContext:o,luvio:h}=e;return oe(r(n,ne(i,ae(1e3*a)),h),r=>{if(void 0!==r){if(y(r)||m(r))return r;if(M(r))return e.resolvePendingSnapshot(r);if(r.state===t.Stale)return s(n,o),r}return ie(e)})};case"valid-at":{const t=Oe(e.basePolicy,r);return n=t,i=e.timestamp,function(e){return n({...e,storeLookup:(t,r,s)=>e.storeLookup(t,r,(e,t,r)=>s(i,t,r))})}}default:return Oe(r,r)}var n,i,a}const Ce=Symbol("Wildcard");function Ke(e,t,r,s){return Object.entries(t).map(([n,i])=>n.startsWith("$")?function(e,t,r,s,n){const i=Ne[t];if(void 0===i)return!1;return i(e,r,s,n)}(e,n,t,r,s):"object"==typeof r?!l(r)&&Ke(e,i,s(e,r[n]),s):void 0).every(e=>!0===e)}const Ne={$eq:Le,$ne:function(e,t,r,s){return!Le(e,{$eq:t.$ne},r)},$gt:function(e,t,r,s){return r>t.$gt},$gte:function(e,t,r,s){return r>=t.$gte},$lt:function(e,t,r,s){return r<t.$lt},$lte:function(e,t,r,s){return r<=t.$lte},$and:function(e,t,r,s){for(let n=0;n<t.$and.length;n++){if(!1===Ke(e,t.$and[n],r,s))return!1}return!0},$not:function(e,t,r,s){return!Ke(e,t.$not,r,s)},$nor:function(e,t,r,s){return!xe(e,{$or:t.$nor},r,s)},$or:xe,$in:De,$nin:function(e,t,r,s){return!De(e,{$in:t.$nin},r)},$exists:function(e,t,r,s){const n=null!=r;return t.$exists?n:!n},$regex:function(e,t,r,s){return t.$regex.test(r)}};function Le(e,t,r,s){return("object"!=typeof r||null===r)&&t.$eq===r}function xe(e,t,r,s){for(let n=0;n<t.$or.length;n++){if(!0===Ke(e,t.$or[n],r,s))return!0}return!1}function De(e,t,r,s){for(let e=0;e<t.$in.length;e++){if(Le(0,{$eq:t.$in[e]},r))return!0}return!1}var Ae,$e;!function(e){e[e.UrlParameter=0]="UrlParameter",e[e.QueryParameter=1]="QueryParameter",e[e.Body=2]="Body",e[e.Header=3]="Header"}(Ae||(Ae={})),function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.Number=2]="Number",e[e.Integer=3]="Integer",e[e.Unsupported=4]="Unsupported"}($e||($e={}));const qe="urlParams",_e="queryParams",je="body",Fe="headers";function Ue(e,t){switch(t){case $e.String:return"string"==typeof e;case $e.Boolean:return"boolean"==typeof e;case $e.Number:return"number"==typeof e;case $e.Integer:return"number"==typeof e&&Math.floor(e)===e;default:return!1}}e.Environment=class{constructor(e,t){this.networkCount=0,this.storeQueryEvaluator=void 0,this.defaultCachePolicy={type:"cache-then-network"},this.store=e,this.networkAdapter=t,this.adapterContextMap=r(null),this.typeQueryEvaluatorMap=r(null),this.createSnapshot=this.createSnapshot.bind(this),this.rebuildSnapshot=this.rebuildSnapshot.bind(this)}setDefaultCachePolicy(e){this.defaultCachePolicy=e}dispatchResourceRequest(e,t,r){const s=Date.now(),n=`${s}${this.networkCount++}`;return T({type:"network-request-start",timestamp:s,request:e,uuid:n},r),new Promise((i,a)=>{this.networkAdapter(e,t).then(e=>{const t=Date.now();return T({type:"network-request-end",timestamp:t,duration:t-s,response:e,uuid:n},r),e.ok?i(e):a({...e,errorType:"fetchResponse"})},e=>{const t=Date.now();return T({type:"network-request-error",uuid:n,timestamp:t,duration:t-s,error:e},r),a(function(e){return null!==e&&"object"==typeof e&&"status"in e}(e)?{...e,errorType:"fetchResponse"}:function(e){if("object"==typeof e&&e instanceof Error)return e.errorType="networkAdapterError",e;const t=new Error(`NetworkAdapter rejected with non-Error object: ${void 0===e?"undefined":v(e)}`);return t.errorType="networkAdapterError",t}(e))})})}isErrorCacheable(t){const{error:r}=t;return"fetchResponse"===r.errorType&&r.status===e.HttpStatusCode.NotFound}resolvePendingSnapshot(e){return new Promise(t=>{let r;r=this.storeSubscribe(e,e=>{void 0!==r&&r(),t(e)})})}storeIngest(e,t,r,s,n){null!==t&&t(r,{fullPath:e,parent:null,propertyName:null},s,void 0===n?this.store:n,Date.now())}storeIngestError(e,t,r,s){const{error:i}=t;if(this.isErrorCacheable(t)){const t=void 0===s?this.store:s,a={__type:N.Error,status:K.RESOURCE_NOT_FOUND,error:i};if(n(a),t.publish(e,a),void 0!==r){const{ttl:s,namespace:n,representationName:i,version:a}=r,o=Date.now(),h={ingestionTimestamp:o,expirationTimestamp:o+s,representationName:i,namespace:n,version:a};t.publishMetadata(e,h)}}else this.store.broadcastNonCachedSnapshot(e,t)}storePublish(e,t){this.store.publish(e,t)}storePut(e,t){this.store.put(e,t)}storeRedirect(e,t){this.store.redirect(e,t)}storeGetCanonicalKey(e){return this.store.getCanonicalRecordId(e)}storeBroadcast(e,t){return this.store.broadcast(e,t)}storeSubscribe(e,t){return this.store.subscribe(e,t)}storeWatch(e,t){return this.store.watch(e,t)}storeLookup(e,t,r,s){return this.store.lookup(e,t,r,s)}storeCleanup(){this.store.cleanup()}storeEvict(e){this.store.evict(e)}storeDealloc(e){this.store.dealloc(e)}storeReset(){this.store.reset()}storeRetain(e){return this.store.retain(e)}storeKeyExists(e){return this.store.keyExistsInStore(e)}snapshotAvailable(e){return y(e)||m(e)||b(e)}createSnapshot(e,t,r){return new Ee(this.store,e.variables,t,void 0,r).read(e)}rebuildSnapshot(e,t){t(new Ee(this.store,e.variables,e.refresh,e).read(e.select))}getNode(e,t){const r=void 0===t?this.store:t,s=r.readEntry(e);return void 0===s?null:this.wrapNormalizedGraphNode(s,e,r)}wrapNormalizedGraphNode(e,t,r){if(null===e)return null;const s=void 0===r?this.store:r;return A(e)?new fe(s,e):new ge(s,e,t)}withContext(e,t){const{contextId:s,onContextLoaded:n}=t;void 0===this.adapterContextMap[s]&&(this.adapterContextMap[s]=r(null));const i=this.adapterContextMap[s],a={set(e,t){i[e]=t},get:e=>i[e]};if(void 0===n)return(t,r)=>e(t,a,r);let o=!0;const h=n(a);return(t,r)=>o?h.then(()=>(o=!1,e(t,a,r))):e(t,a,r)}publishStoreMetadata(e,t){this.store.publishMetadata(e,t)}putStoreMetadata(e,t,r){this.store.putMetadata(e,t,r)}storeSetTTLOverride(e,t,r){return this.store.setTTLOverride(e,t,r),this.recomputeTTLOverrideExpirations(e,t),Promise.resolve()}storeGetTTLOverride(e,t){return Promise.resolve(this.store.getTTLOverride(e,t))}storeGetTTLOverrides(){return this.store.getTTLOverrides()}recomputeTTLOverrideExpirations(e,t){const r=this.store.readMetadataWhere({namespace:e,representationName:t});for(let e=0,t=r.length;e<t;e++){const t=r[e];this.publishStoreMetadata(t.key,t.metadata)}}storeSetDefaultTTLOverride(e){return this.store.setDefaultTTLOverride(e),this.recomputeDefaultTTLOverrideExpirations(),Promise.resolve()}storeGetDefaultTTLOverride(){return this.store.getDefaultTTLOverride()}recomputeDefaultTTLOverrideExpirations(){const e=this.store.readMetadataWhere({ttlOverride:void 0});for(let t=0,r=e.length;t<r;t++){const r=e[t];this.publishStoreMetadata(r.key,r.metadata)}}storeBuildIngestionStagingStore(){return this.store.buildIngestionStagingStore()}applyCachePolicy(e,t,r,s,n){const{defaultCachePolicy:i}=this,{cachePolicy:a,eventObservers:o}=t;let h=Oe(a,i);let l=s,c=n;if(void 0!==o){h=function(e,t,r){return P(e,r,{type:"adapter-lookup-start",cachePolicy:t,timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"adapter-lookup-end",hasError:t,timestamp:n,duration:n-s.timestamp}})}(h,void 0===a?i.type:a.type,o),l=function(e,t){return P(e,t,{type:"cache-lookup-start",timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"cache-lookup-end",hasError:t,wasResultAsync:r,snapshotState:void 0!==e&&(i=t,!1===i)?e.state:void 0,timestamp:n,duration:n-s.timestamp};var i})}(s,o),c=function(e,t){return P(e,t,{type:"network-lookup-start",timestamp:Date.now()},(e,t,r,s)=>{const n=Date.now();return{type:"network-lookup-end",hasError:t,timestamp:n,duration:n-s.timestamp}})}(n,o)}return h({buildCachedSnapshot:l,buildNetworkSnapshot:c,buildSnapshotContext:r,resolvePendingSnapshot:e=>this.resolvePendingSnapshot(e),storeLookup:(e,t,r)=>this.storeLookup(e,this.createSnapshot,t,r),coercedAdapterRequestContext:se(t),luvio:e})}handleSuccessResponse(e,t){return e()}handleErrorResponse(e){return e()}getNotifyChangeStoreEntries(e){const t=[];for(let r=0,s=e.length;r<s;r++){const s=e[r],n=this.getNode(s);ue(n)&&t.push({key:s,record:n.retrieve()})}return Promise.resolve(t)}notifyStoreUpdateAvailable(e){return this.store.updateAvailable(e)}registerStoreQueryEvaluator(e){this.storeQueryEvaluator=e}getStoreQueryEvaluator(){return this.storeQueryEvaluator}registerTypeQueryEvaluator(e,t,r){this.typeQueryEvaluatorMap[e]||(this.typeQueryEvaluatorMap[e]=Object.create(null)),this.typeQueryEvaluatorMap[e][t]=r}getTypeQueryEvaluator(e,t){const r=this.typeQueryEvaluatorMap[e];if(r&&r[t])return r[t]}buildStructuredKey(e,t,r){return this.store.buildStructuredKey(e,t,r)}expirePossibleStaleRecords(e,t,r){return this.store.expirePossibleStaleRecords(e),void 0!==r&&void 0!==t?this.refreshPossibleStaleRecords(t,r):Promise.resolve()}refreshPossibleStaleRecords(e,t){return Promise.resolve(t(e,{cachePolicy:{type:"no-cache"}})).then(()=>{})}},e.GraphNode=ge,e.InMemoryStore=ee,e.InMemoryStoreQueryEvaluator=class{constructor(e){this.store=e,this.storeToIndexMap=new WeakMap,this.storeToIndexMap.set(e,{nodeType:"indexBySchema",value:{}})}queryByKey(e,t){const r=this.getKeyIndex(this.store,t);if(void 0===r)return Promise.resolve([]);let s=[r];for(let r=0;r<t.length;r++){const n=[],i=e[t[r]],o=i===Ce;for(let e=0,t=s.length;e<t;e++){const t=s[e];if("key"===t.nodeType)throw new Error("");let r=[];o?r=a(t.value):h.call(t.value,String(i))&&(r=[t.value[String(i)]]),n.push(...r)}s=n}const n=s.filter(e=>"key"===e.nodeType);return Promise.resolve(n.map(e=>e.value))}queryWhere(e,t,r,s){const n=null!=s?s:(e,t)=>this.resolveData(e,t);return this.queryByKey(e,t).then(e=>e.filter(e=>{const t=this.store.readEntry(JSON.stringify(e));return Ke(this.store,r,n(this.store,t),n)}))}resolveData(e,t){return"object"==typeof t&&null!==t&&"__link"in t&&"string"==typeof t.__link?e.readEntry(t.__link):t}registerKey(e,t,r){const s=this.getOrRegisterKeyIndex(e,r);if(void 0===s)return;const n=r.length;let i=s;for(let e=0;e<n-1;e++){const s=t[r[e]];i=this.getOrRegisterSubKeyIndex(i,s)}i.value[String(t[r[n-1]])]={nodeType:"key",value:t}}getIndexBySchema(e){return this.storeToIndexMap.get(e)}getOrRegisterKeyIndex(e,t){const r=this.getIndexBySchema(e);if(void 0===r)return;const s=this.getKeySchemaIdentifier(t);let n=r.value[s];return void 0===n&&(n={nodeType:"index",value:{}},r.value[s]=n),n}getKeyIndex(e,t){let r=this.storeToIndexMap.get(e);if(void 0===r)return;const s=this.getKeySchemaIdentifier(t);return r.value[s]}getOrRegisterSubKeyIndex(e,t){let r=e.value[String(t)];if(void 0===r)r={nodeType:"index",value:{}},e.value[String(t)]=r;else if("index"!==r.nodeType)throw new Error("Failed to find subindex value");return r}getKeySchemaIdentifier(e){return e.join(":")}},e.Luvio=class{constructor(e,t={}){this.environment=e,this.options=t}storePublish(e,t){this.environment.storePublish(e,t)}storeRedirect(e,t){this.environment.storeRedirect(e,t)}storeRetain(e){return this.environment.storeRetain(e)}storeGetCanonicalKey(e){return this.environment.storeGetCanonicalKey(e)}storeBroadcast(){return this.environment.storeBroadcast(this.environment.rebuildSnapshot,this.environment.snapshotAvailable)}storeIngest(e,t,r){this.environment.storeIngest(e,t,r,this)}storeIngestError(e,t,r){return this.environment.storeIngestError(e,t,r)}storeSubscribe(e,t){return this.environment.storeSubscribe(e,t)}storeWatch(e,t){return this.environment.storeWatch(e,t)}storeLookup(e,t){return this.environment.storeLookup(e,this.environment.createSnapshot,t)}storeEvict(e){this.environment.storeEvict(e)}storeCleanup(){this.environment.storeCleanup()}storeExpirePossibleStaleRecords(e,t,r){return this.environment.expirePossibleStaleRecords(e,t,r)}createSnapshot(e,t){return this.environment.createSnapshot(e,t)}errorSnapshot(e,t){return I(e,t)}dispatchResourceRequest(e,t){let r=e,s={},n=[];if(void 0!==t){void 0!==t.resourceRequestContext&&(s=t.resourceRequestContext),void 0!==t.eventObservers&&(n=t.eventObservers);const{overrides:i}=t;if(void 0!==i){const{headers:t,priority:s}=i;void 0!==t&&(r={...e,headers:{...e.headers,...t}}),void 0!==s&&(r.priority=s)}}const{queryParams:a,urlParams:o}=r;for(const e of i(a)){void 0===a[e]&&delete a[e]}for(const e of i(o)){void 0===o[e]&&delete o[e]}return this.environment.dispatchResourceRequest(r,s,n)}refreshSnapshot(e){const{refresh:t}=e;if(void 0!==t){const{config:e,resolve:r}=t;return r(e)}throw new Error("Snapshot is not refreshable")}getNode(e){return this.environment.getNode(e)}wrapNormalizedGraphNode(e,t){return this.environment.wrapNormalizedGraphNode(e,t)}instrument(e){const{instrument:t}=this.options;t&&t(e())}snapshotAvailable(e){return this.environment.snapshotAvailable(e)}withContext(e,t){return this.environment.withContext(e,t)}resolvePendingSnapshot(e){return this.environment.resolvePendingSnapshot(e)}publishStoreMetadata(e,t){const{ttl:r,namespace:s,representationName:n,version:i}=t;let{ingestionTimestamp:a}=t;void 0===a&&(a=Date.now());const o={ingestionTimestamp:a,expirationTimestamp:a+r,representationName:n,namespace:s,version:i};return this.environment.publishStoreMetadata(e,o)}storeSetTTLOverride(e,t,r){return this.environment.storeSetTTLOverride(e,t,r)}storeGetTTLOverride(e,t){return this.environment.storeGetTTLOverride(e,t)}storeSetDefaultTTLOverride(e){return this.environment.storeSetDefaultTTLOverride(e)}applyCachePolicy(e,t,r,s){return this.environment.applyCachePolicy(this,e,t,r,s)}handleSuccessResponse(e,t){return this.environment.handleSuccessResponse(e,(()=>{let e;return function(){return void 0===e&&(e=t()),e}})())}handleErrorResponse(e){return this.environment.handleErrorResponse(e)}getNotifyChangeStoreEntries(e){return this.environment.getNotifyChangeStoreEntries(e)}notifyStoreUpdateAvailable(e){return this.environment.notifyStoreUpdateAvailable(e)}registerStoreQueryEvaluator(e){return this.environment.registerStoreQueryEvaluator(e)}getStoreQueryEvaluator(){return this.environment.getStoreQueryEvaluator()}registerTypeQueryEvaluator(e,t,r){return this.environment.registerTypeQueryEvaluator(e,t,r)}getTypeQueryEvaluator(e,t){return this.environment.getTypeQueryEvaluator(e,t)}buildStructuredKey(e,t,r){return this.environment.buildStructuredKey(e,t,r)}},e.Reader=Ee,e.StoreKeyMap=j,e.StoreKeySet=U,e.StringKeyInMemoryStore=H,e.Wildcard=Ce,e.adapterToNetworkPriority=te,e.buildNetworkSnapshotCachePolicy=function(e,t,r,s,n){const{luvio:i,config:a}=e,{networkPriority:o,requestCorrelator:h,eventObservers:l,sourceContext:c}=t,d={resourceRequestContext:{requestCorrelator:h,sourceContext:c,luvioRequestMethod:s},eventObservers:l};return"normal"!==o&&(d.overrides={priority:o}),n?r(i,a,d,e.cacheSnapshot):r(i,a,d)},e.coerceAdapterRequestContext=se,e.coerceConfig=function(e,t){const r={};return t.forEach(({name:t,coerceFn:s})=>{const n=void 0===s?e[t]:s(e[t]);void 0!==n&&(r[t]=n)}),r},e.createCustomAdapterEventEmitter=(e,t=[])=>r=>{T({type:"custom",namespace:e,timestamp:Date.now(),data:r},t)},e.createResourceParams=function(e){return t=>function(e,t){const r=(t,{name:r})=>(t[r]=e[r],t),s=t.filter(e=>e.resourceType===Ae.UrlParameter).reduce(r,{}),n=t.filter(e=>e.resourceType===Ae.QueryParameter).reduce(r,{}),a=t.filter(e=>e.resourceType===Ae.Header).reduce(r,{}),o=t.filter(e=>e.resourceType===Ae.Body),h=o.reduce((t,{name:r,required:s})=>{const n=e[r];return(s||void 0!==n)&&(t[r]=n),t},{}),l={};i(s).length>0&&(l[qe]=s);i(n).length>0&&(l[_e]=n);o.length>0&&(l[je]=h);i(a).length>0&&(l[Fe]=a);return l}(t,e)},e.deepFreeze=g,e.emitAdapterEvent=T,e.ingestShape=function(e,t,r,s,n,i,a,o,h,l,c,d){const u=s.readEntry(a);let p=o(e,u,{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:i},r,s,n);if(void 0!==u&&!1!==d(u,p)||r.storePublish(a,p),void 0!==i){const e={ttl:i,namespace:h,version:l,representationName:c,ingestionTimestamp:n};r.publishStoreMetadata(a,e)}},e.isFileReference=function(e){return"object"==typeof e&&null!==e&&"isFileReference"in e&&!0===e.isFileReference},e.isFormData=function(e){return"object"==typeof e&&null!==e&&"namedEntries"in e&&l(e.namedEntries)},e.resolveLink=function(e,t,r){const{StoreLinkStateValues:s}=e,n=e.getLinkState(t);switch(n.state){case s.RefNotPresent:case s.NotPresent:case s.Missing:return e.markMissingLink(t.__ref),void e.markMissing();case s.Pending:return void e.markPending();case s.Null:return}const{key:i}=n;return e.read({recordId:i,node:{kind:"Fragment",private:[],opaque:!0,version:r},variables:{}})},e.serializeStructuredKey=q,e.setBypassDeepFreeze=function(e){S=e},e.typeCheckConfig=function(e,t,r){r.forEach(({name:r,typeCheckShape:s,isArrayShape:n})=>{switch(s){case $e.Unsupported:return;case $e.String:case $e.Boolean:case $e.Number:case $e.Integer:if(n)!function(e,t,r,s){const n=e[r];if(l(n)){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];Ue(r,s)&&e.push(r)}t[r]=e}}(e,t,r,s);else{const n=e[r];Ue(n,s)&&(t[r]=n)}return;default:return}})},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("force/ldsAdaptersApex",["exports","force/luvioEngine","force/ldsBindings","force/ldsEngineWebruntime"],function(e,r,t,n){const{hasOwnProperty:o}=Object.prototype;const{isArray:a}=Array;const{keys:s,create:i}=Object,{stringify:u}=JSON,{isArray:c}=Array;const l={overrides:{headers:{"Cache-Control":"no-cache"}}};function d(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return u(e);let r,t;if(c(e)){for(t="[",r=0;r<e.length;r++)r&&(t+=","),t+=d(e[r])||"null";return t+"]"}if(null===e)return"null";const n=s(e).sort();for(t="",r=0;r<n.length;r++){const o=n[r],a=d(e[o]);a&&(t&&(t+=","),t+=u(o)+":"+a)}return"{"+t+"}"}const{create:p,keys:f,values:m}=Object,{isArray:h}=Array,{stringify:v}=JSON;const y="cache-control",x="APEX_V_1",C={ttl:3e5,namespace:"Apex",representationName:"",version:x};const P=(e,t,n,o,a)=>{const s=t.fullPath,i=e,u=o.readEntry(s);var c,l;return r.deepFreeze(i),void 0!==u&&!1!=(c=u,v(i)===v(c))||n.storePublish(s,i),n.publishStoreMetadata(s,{...C,ingestionTimestamp:a}),l=s,{__ref:r.serializeStructuredKey(l)}};function g(e){if("object"==typeof(r=e)&&null!==r&&!1===c(r)){return-1===m(e).indexOf(void 0)?e:null}var r;return e}const b=":";function A(e){return null==e||"object"==typeof e&&0===f(e).length}function S(e,r,t,n){return[e.replace("__",b),r,t,A(n)?"":d(n)].join(b)}function w(e,r,t,n){return{apexMethod:t,apexClass:r,methodParams:e,xSFDCAllowContinuation:n+""}}function F(e,r){return""!==e?`${e}__${r}`:r}function _(e){const{headers:r}=e,t=function(e){if(void 0===e)return;const r=f(e);for(let t=0,n=r.length;t<n;t+=1){const n=r[t];if(n.toLowerCase()===y)return e[n]}}(r);return null!=(n=t)&&"string"==typeof n&&n.indexOf("no-cache")<0&&n.indexOf("no-store")<0;var n}function O(e){return[e.urlParams.apexClass.replace("__",b),e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,A(e.queryParams.methodParams)?"":d(e.queryParams.methodParams)].join(b)}function q(e,r){const{luvio:t,config:n}=e,{apexClass:o,apexMethod:a,xSFDCAllowContinuation:s,methodParams:i}=n;return r({recordId:S(o,a,s,i),node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}},{config:n,resolve:()=>I(t,n,l)})}function D(e,t,n,o){const a=O(n),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}};if(_(o)){const r=function(e,r,t,n){const{body:o}=t,a=O(r),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}};return e.storeIngest(a,P,o),e.storeLookup(s,n)}(e,n,o,{config:t,resolve:()=>I(e,t,l)});return e.storeBroadcast().then(()=>r)}return Promise.resolve({recordId:a,variables:{},seenRecords:new r.StoreKeySet,select:s,state:"Fulfilled",data:o.body})}function I(e,t,n){const o=function(e){const r=p(null);return A(e.methodParams)||(r.methodParams=e.methodParams),{queryParams:r,urlParams:{apexMethod:e.apexMethod,apexClass:e.apexClass},headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}(t),a=function(e){const r={},t=e.headers.xSFDCAllowContinuation;return void 0!==t&&(r["X-SFDC-Allow-Continuation"]=t),{baseUri:"/lwr/apex/v62.0",basePath:"/"+e.urlParams.apexClass+"/"+e.urlParams.apexMethod,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:r,priority:"normal"}}(o);return e.dispatchResourceRequest(a,n).then(n=>e.handleSuccessResponse(()=>D(e,t,o,n),()=>new r.StoreKeyMap),r=>e.handleErrorResponse(()=>function(e,r,t,n){return Promise.resolve(e.errorSnapshot(n,{config:r,resolve:()=>I(e,r,l)}))}(e,t,0,r)))}function j(e,r){const{luvio:t,config:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:s,sourceContext:i}=r,u={resourceRequestContext:{requestCorrelator:a,sourceContext:i},eventObservers:s};return"normal"!==o&&(u.overrides={priority:o}),I(t,n,u)}const M=(e,r)=>{const{namespace:t,classname:n,method:o,isContinuation:a}=r;return k(e,t,n,o,a)};function k(e,r,t,n,o){return(a,s)=>{const i=g(a);if(null===i)return null;const u=w(i,F(r,t),n,o);return e.applyCachePolicy(s||{},{config:u,luvio:e},q,j)}}function N(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return v(e);let r,t;if(h(e)){for(t="[",r=0;r<e.length;r++)r&&(t+=","),t+=N(e[r])||"null";return t+"]"}if(null===e)return"null";const n=f(e).sort();for(t="",r=0;r<n.length;r++){const o=n[r],a=N(e[o]);a&&(t&&(t+=","),t+=v(o)+":"+a)}return"{"+t+"}"}function R(e){return[e.urlParams.apexClass.replace("__",b),e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,A(e.body)?"":N(e.body)].join(b)}function $(e,r){const{config:t}=e,{apexClass:n,apexMethod:o,xSFDCAllowContinuation:a,methodParams:s}=t;return r({recordId:S(n,o,a,s),node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}})}function E(e,t,n,o){const a=R(n),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}};if(_(o)){const r=function(e,r,t,n){const{body:o}=t,a=R(r),s={recordId:a,node:{kind:"Fragment",opaque:!0,private:[],version:x},variables:{}};return e.storeIngest(a,P,o),e.storeLookup(s,n)}(e,n,o);return e.storeBroadcast().then(()=>r)}return Promise.resolve({recordId:a,variables:{},seenRecords:new r.StoreKeySet,select:s,state:"Fulfilled",data:o.body})}function J(e,t,n){const o=function(e){return{urlParams:{apexMethod:e.apexMethod,apexClass:e.apexClass},body:e.methodParams,headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}(t),a=function(e){const r={},t=e.headers.xSFDCAllowContinuation;return void 0!==t&&(r["X-SFDC-Allow-Continuation"]=t),{baseUri:"/lwr/apex/v62.0",basePath:"/"+e.urlParams.apexClass+"/"+e.urlParams.apexMethod,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:r,priority:"normal"}}(o);return e.dispatchResourceRequest(a,n).then(t=>e.handleSuccessResponse(()=>E(e,0,o,t),()=>new r.StoreKeyMap),r=>e.handleErrorResponse(()=>function(e,r,t,n){return Promise.resolve(e.errorSnapshot(n))}(e,0,0,r)))}function L(e,r){const{luvio:t,config:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:s,sourceContext:i}=r,u={resourceRequestContext:{requestCorrelator:a,sourceContext:i},eventObservers:s};return"normal"!==o&&(u.overrides={priority:o}),J(t,n,u)}function K(e){if("Error"===e.state)throw e.error;return e.data}const V=(e,r,t)=>{const{namespace:n,classname:o,method:a,isContinuation:s}=r;return function(e){return(r,t)=>{const n=e(r,t);return Promise.resolve(n).then(K)}}(t(e,n,o,a,s))},B=(e,r)=>V(e,r,W),T=(e,r)=>V(e,r,k);function W(e,r,t,n,o){return(a,s)=>{const i=w(a,F(r,t),n,o);return e.applyCachePolicy(s||{},{config:i,luvio:e},$,L)}}const X=new Map;function z(e,r,t,n){return(o,a)=>{const s=function(e){return X.get(e)}(r),i=e(o,a);return null===i||void 0===s||a&&a.excludeFromPredictions||s.saveRequest({adapterName:"getApex",config:{name:n,invokerParams:t,config:o}}),i}}let U;n.withDefaultLuvio(e=>{U=e,t.bindWireRefresh(U)});e.GetApexWireAdapterFactory=M,e.getApexInvoker=function(e,r,n,o,a){const s=`getApex_${e}_${r}_${n}_${o}`,i={apiFamily:"Apex",name:s},u=a?T:B,c=t.createLDSAdapter(U,s,t=>u(t,{namespace:e,classname:r,method:n,isContinuation:o}));return c.adapter=t.createWireAdapterConstructor(U,t.createInstrumentedAdapter(z(t.createLDSAdapter(U,s,t=>M(t,{namespace:e,classname:r,method:n,isContinuation:o})),U,{namespace:e,classname:r,method:n,isContinuation:o},s),i),i),c},e.getApexInvoker_imperative=function(e,r,n,o){const a=`getApex_${e}_${r}_${n}_${o}`,s={apiFamily:"Apex",name:a},i=t.createInstrumentedAdapter(t.createLDSAdapter(U,a,t=>M(t,{namespace:e,classname:r,method:n,isContinuation:o})),s);return t.createImperativeAdapter(U,i,s)},e.getSObjectValue=function(e,r){if(!1==("object"==typeof(t=e)&&null!==t&&!1===a(t)))return;var t;const n=function(e){const r=e.indexOf(".");if(r<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,r),e.substring(r+1)]}(function(e){if("string"==typeof e)return e;if(e&&"string"==typeof e.objectApiName&&"string"==typeof e.fieldApiName)return e.objectApiName+"."+e.fieldApiName;throw new TypeError("Value is not a string or FieldId.")}(r))[1].split(".");let s=e;for(let e=0,r=n.length;e<r;e++){const r=n[e];if(!o.call(s,r))return;s=s[r]}return s},e.refreshApex=function(e){return t.refresh(e,"refreshApex")},e.registerPrefetcher=function(e,r){X.set(e,r)},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/apex/PG_FooterController.getFooterConfigurationByCountry",["exports","lwc","force/ldsAdaptersApex"],function(e,s,o){const r=o.getApexInvoker("","@udd/01pDn00000YSiDW","getFooterConfigurationByCountry","false"),n=s.registerComponent(r,{tmpl:void 0,sel:"@salesforce-3zagzgknd9qyuv7sczs6w67rnbu4ots5bpd5jmsqkaw4cdkcr1twfs6mb983d4nq5pfs78c81mrxga6pcelk1o9",apiVersion:62});e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/label/c.PG_FooterLogoAltText', ['@view/scopedHeaderAndFooter/labels'], m => m[1]);LWR.define('@salesforce/label/c.PG_FooterFlagAltText', ['@view/scopedHeaderAndFooter/labels'], m => m[2]);(function() { LWR.define("lightning/shadowBaseClassPrivate",["exports","lwc"],function(e,t){const s=[];function a(e,t,a,n){return s}var n=t.registerTemplate(a);a.stylesheets=[],a.stylesheetToken="lwc-758d5qnnql0",a.legacyStylesheetToken="lightning-shadowBaseClassPrivate_shadowBaseClassPrivate",t.freezeTemplate(a);class l extends t.LightningElement{connectedCallback(){this.template.synthetic||this.setAttribute("data-render-mode","shadow")}}const i=t.registerComponent(l,{tmpl:n,sel:"lightning-shadow-base-class-private",apiVersion:62});e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/sldsCommon",["exports"],function(e){var d=[function(e,d,a){var o=e?"["+e+"]":"",r=e?"["+e+"-host]":"";return["*",o,",",o,"::before,",o,"::after {box-sizing: border-box;}",d?":host([data-render-mode='shadow']) h1"+o+",:host([data-render-mode='shadow']) h2"+o+",:host([data-render-mode='shadow']) h3"+o+",:host([data-render-mode='shadow']) h4"+o+",:host([data-render-mode='shadow']) h5"+o+",:host([data-render-mode='shadow']) h6":r+"[data-render-mode='shadow'] h1"+o+","+r+"[data-render-mode='shadow'] h2"+o+","+r+"[data-render-mode='shadow'] h3"+o+","+r+"[data-render-mode='shadow'] h4"+o+","+r+"[data-render-mode='shadow'] h5"+o+","+r+"[data-render-mode='shadow'] h6",o," {font-weight: var(--sds-s-heading-font-weight, inherit);margin-block-start: var(\n --sds-s-heading-spacing-block-start,\n var(--sds-s-heading-spacing-block)\n );margin-block-end: var(\n --sds-s-heading-spacing-block-end,\n var(--sds-s-heading-spacing-block)\n );font-size: 1em;}",d?":host([data-render-mode='shadow']) a":r+"[data-render-mode='shadow'] a",o," {color: var(--slds-s-link-color);text-decoration: var(--_slds-g-font-decoration, none);transition: color 0.1s linear;background-color: transparent;}",d?":host([data-render-mode='shadow']) a:active"+o+",:host([data-render-mode='shadow']) a:hover":r+"[data-render-mode='shadow'] a:active"+o+","+r+"[data-render-mode='shadow'] a:hover",o," {outline: 0;}",d?":host([data-render-mode='shadow']) a:hover"+o+",:host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:hover"+o+","+r+"[data-render-mode='shadow'] a:focus",o," {text-decoration: var(--_slds-g-font-decoration-hover, underline);color: var(\n --slds-g-link-color-hover,\n var(--slds-g-color-brand-base-30, #014486)\n );}",d?":host([data-render-mode='shadow']) a:active":r+"[data-render-mode='shadow'] a:active",o," {color: var(\n --slds-g-link-color-active,\n var(--slds-g-color-brand-base-30, #014486)\n );}",d?":host([data-render-mode='shadow']) a:focus-visible":r+"[data-render-mode='shadow'] a:focus-visible",o," {outline-color: var(\n --_slds-g-color-outline,\n var(--slds-g-color-brand-base-50, #0176d3)\n );}",d?":host([data-render-mode='shadow']) a:focus":r+"[data-render-mode='shadow'] a:focus",o," {box-shadow: var(--_slds-g-shadow);border-color: var(--_slds-g-color-border);border-width: var(--_slds-g-sizing-border);border-style: var(--_slds-g-style-border);outline: var(--_slds-g-font-decoration-hover);}",d?":host([data-render-mode='shadow']) a"+o+",:host([data-render-mode='shadow']) button":r+"[data-render-mode='shadow'] a"+o+","+r+"[data-render-mode='shadow'] button",o," {cursor: pointer;}",d?":host([data-render-mode='shadow']) p":r+"[data-render-mode='shadow'] p",o," {margin-block-start: var(\n --sds-s-content-spacing-block-start,\n var(--sds-s-content-spacing-block, 0)\n );margin-block-end: var(\n --sds-s-content-spacing-block-end,\n var(--sds-s-content-spacing-block, 0)\n );margin-inline-start: 0;margin-inline-end: 0;padding-block-start: 0;padding-block-end: 0;padding-inline-start: 0;padding-inline-end: 0;}",d?":host([data-render-mode='shadow']) ol"+o+",:host([data-render-mode='shadow']) ul":r+"[data-render-mode='shadow'] ol"+o+","+r+"[data-render-mode='shadow'] ul",o," {list-style: none;padding: 0;margin-block-start: var(\n --sds-s-content-spacing-block-start,\n var(--sds-s-content-spacing-block)\n );margin-block-end: var(\n --sds-s-content-spacing-block-end,\n var(--sds-s-content-spacing-block)\n );}",d?":host([data-render-mode='shadow']) button"+o+",:host([data-render-mode='shadow']) [type='button']"+o+",:host([data-render-mode='shadow']) [type='reset']"+o+",:host([data-render-mode='shadow']) [type='submit']":r+"[data-render-mode='shadow'] button"+o+","+r+"[data-render-mode='shadow'] [type='button']"+o+","+r+"[data-render-mode='shadow'] [type='reset']"+o+","+r+"[data-render-mode='shadow'] [type='submit']",o," {-webkit-appearance: button;appearance: button;cursor: pointer;}",d?":host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']",o," {-webkit-appearance: textfield;outline-offset: -2px;}",d?":host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-decoration,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-cancel-button,:host([data-render-mode='shadow']) [type='search']"+o+"::-webkit-search-results-button,:host([data-render-mode='shadow']) [type='search']":r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-decoration,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-cancel-button,"+r+"[data-render-mode='shadow'] [type='search']"+o+"::-webkit-search-results-button,"+r+"[data-render-mode='shadow'] [type='search']",o,"::-webkit-search-results-decoration {display: none;}",d?":host([data-render-mode='shadow']) select":r+"[data-render-mode='shadow'] select",o," {color: inherit;font: inherit;margin: 0;}",d?":host([data-render-mode='shadow']) input:focus"+o+",:host([data-render-mode='shadow']) button:focus"+o+",:host([data-render-mode='shadow']) select:focus"+o+",:host([data-render-mode='shadow']) textarea:focus":r+"[data-render-mode='shadow'] input:focus"+o+","+r+"[data-render-mode='shadow'] button:focus"+o+","+r+"[data-render-mode='shadow'] select:focus"+o+","+r+"[data-render-mode='shadow'] textarea:focus",o," {outline-offset: 0;}",o,"::-moz-focus-inner {border-style: none;padding: 0;}",o,"::-webkit-search-decoration {-webkit-appearance: none;}",o,"::-webkit-file-upload-button {-webkit-appearance: button;font: inherit;}:-moz-focusring",o," {outline: 1px dotted ButtonText;}:-moz-ui-invalid",o," {box-shadow: none;}",d?":host([data-render-mode='shadow']) code"+o+",:host([data-render-mode='shadow']) kbd"+o+",:host([data-render-mode='shadow']) samp"+o+",:host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] code"+o+","+r+"[data-render-mode='shadow'] kbd"+o+","+r+"[data-render-mode='shadow'] samp"+o+","+r+"[data-render-mode='shadow'] pre",o," {font-family: var(\n --sds-g-font-family-monospace,\n Consolas,\n Menlo,\n Monaco,\n Courier,\n monospace,\n monospace\n );font-size: var(--sds-g-font-size-base, 0.875rem, 1rem);}",d?":host([data-render-mode='shadow']) img"+o+",:host([data-render-mode='shadow']) [type='image']":r+"[data-render-mode='shadow'] img"+o+","+r+"[data-render-mode='shadow'] [type='image']",o," {max-width: 100%;height: auto;border: 0;vertical-align: middle;}",d?":host([data-render-mode='shadow']) iframe":r+"[data-render-mode='shadow'] iframe",o," {border-style: none;}",d?":host([data-render-mode='shadow']) svg:not([fill])":r+"[data-render-mode='shadow'] svg:not([fill])",o," {fill: currentColor;}",d?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {text-decoration: none;cursor: help;}",d?":host([data-render-mode='shadow']) table":r+"[data-render-mode='shadow'] table",o," {border-collapse: collapse;border-spacing: 0;border: 0;width: 100%;}",d?":host([data-render-mode='shadow']) hr":r+"[data-render-mode='shadow'] hr",o," {display: block;margin: var(--sds-g-spacing-6, 2rem, 2rem) 0;border-top: var(--sds-g-sizing-border-1, 1px, 1px) solid\n var(--slds-g-color-border-base-1, #c9c9c9);height: var(--sds-g-sizing-border-1, 1px, 1px);clear: both;box-sizing: content-box;border: 0;padding: 0;}",d?":host([data-render-mode='shadow']) abbr[title]":r+"[data-render-mode='shadow'] abbr[title]",o," {border-bottom: var(--sds-g-sizing-border-1, 1px, 1px) dotted;text-decoration: none;border: 0;cursor: help;}",d?":host([data-render-mode='shadow']) caption"+o+",:host([data-render-mode='shadow']) th"+o+",:host([data-render-mode='shadow']) td":r+"[data-render-mode='shadow'] caption"+o+","+r+"[data-render-mode='shadow'] th"+o+","+r+"[data-render-mode='shadow'] td",o," {text-align: left;}",d?":host([data-render-mode='shadow']) td"+o+",:host([data-render-mode='shadow']) th":r+"[data-render-mode='shadow'] td"+o+","+r+"[data-render-mode='shadow'] th",o," {padding: 0;}",d?":host([data-render-mode='shadow']) dl":r+"[data-render-mode='shadow'] dl",o," {margin: 0;padding: 0;}",d?":host([data-render-mode='shadow']) dd":r+"[data-render-mode='shadow'] dd",o," {margin: 0;}",d?":host([data-render-mode='shadow']) pre":r+"[data-render-mode='shadow'] pre",o," {overflow: auto;}",d?":host([data-render-mode='shadow']) mark":r+"[data-render-mode='shadow'] mark",o," {background-color: #ff0;color: #000;}",d?":host([data-render-mode='shadow']) small":r+"[data-render-mode='shadow'] small",o," {font-size: 80%;}",d?":host([data-render-mode='shadow']) sub"+o+",:host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sub"+o+","+r+"[data-render-mode='shadow'] sup",o," {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}",d?":host([data-render-mode='shadow']) sup":r+"[data-render-mode='shadow'] sup",o," {top: -0.5em;}",d?":host([data-render-mode='shadow']) sub":r+"[data-render-mode='shadow'] sub",o," {bottom: -0.25em;}",d?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong"+o+",:host([data-render-mode='shadow']) dfn":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong"+o+","+r+"[data-render-mode='shadow'] dfn",o," {font-weight: var(--sds-g-font-weight-7, 700, 700);}",d?":host([data-render-mode='shadow']) b"+o+",:host([data-render-mode='shadow']) strong":r+"[data-render-mode='shadow'] b"+o+","+r+"[data-render-mode='shadow'] strong",o," {font-weight: var(--sds-g-font-weight-bold, bold, bold);}[data-f6-region].f6-highlight",o," {position: relative;}[data-f6-region].f6-highlight",o,"::after {width: 100%;height: 100%;content: '';outline: rgb(94, 158, 214) 3px solid;outline-offset: -3px;position: absolute;top: 0;left: 0;z-index: 9999;}"].join("")}];e.default=d,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/sldsUtilsThemes",["exports"],function(e){var s=[function(e,s,r){var a=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(s?':host([data-render-mode="shadow"]) .slds-theme_default'+a+",:host([data-interactive-dialog]) .slds-theme_default":o+'[data-render-mode="shadow"] .slds-theme_default'+a+","+o+"[data-interactive-dialog] .slds-theme_default")+a+" {background-color: var(--slds-g-color-neutral-base-100, #fff);color: var(--slds-g-color-neutral-base-10, #181818);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_shade'+a+",:host([data-interactive-dialog]) .slds-theme_shade":o+'[data-render-mode="shadow"] .slds-theme_shade'+a+","+o+"[data-interactive-dialog] .slds-theme_shade")+a+" {background-color: var(--slds-g-color-neutral-base-95, #f3f3f3);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_inverse'+a+",:host([data-interactive-dialog]) .slds-theme_inverse":o+'[data-render-mode="shadow"] .slds-theme_inverse'+a+","+o+"[data-interactive-dialog] .slds-theme_inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-10, #001639);border-color: var(--slds-g-color-brand-base-10, #001639);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_alt-inverse'+a+",:host([data-interactive-dialog]) .slds-theme_alt-inverse":o+'[data-render-mode="shadow"] .slds-theme_alt-inverse'+a+","+o+"[data-interactive-dialog] .slds-theme_alt-inverse")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-brand-base-20, #032d60);border-color: var(--slds-g-color-brand-base-20, #032d60);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_success'+a+",:host([data-interactive-dialog]) .slds-theme_success":o+'[data-render-mode="shadow"] .slds-theme_success'+a+","+o+"[data-interactive-dialog] .slds-theme_success")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-success-base-50, #2e844a);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_info'+a+",:host([data-interactive-dialog]) .slds-theme_info":o+'[data-render-mode="shadow"] .slds-theme_info'+a+","+o+"[data-interactive-dialog] .slds-theme_info")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-50, #747474);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning'+a+",:host([data-interactive-dialog]) .slds-theme_warning":o+'[data-render-mode="shadow"] .slds-theme_warning'+a+","+o+"[data-interactive-dialog] .slds-theme_warning")+a+" {background-color: var(--slds-g-color-warning-base-60, #fe9339);color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color: var(--slds-g-color-neutral-base-10, #181818);--slds-g-link-color-active: var(--slds-g-color-neutral-base-30, #514f4d);--slds-g-link-color-hover: var(--slds-g-color-neutral-base-10, #181818);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;--_slds-g-shadow: 0 0 3px var(--slds--g-color-neutral-base-30, #514f4d);--_slds-g-style-border: solid;--_slds-g-sizing-border: var(--sds-g-sizing-border-1);--_slds-g-color-border: var(--slds-g-color-neutral-base-30, #514f4d);--_slds-g-color-outline: transparent;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" "+a+"::part(button) {color: var(--slds-g-color-on-warning-1);text-decoration: underline;--slds-c-icon-color-foreground: var(--slds-g-color-on-warning-1);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):hover"+a+" {color: color-mix(in oklab, currentColor, transparent 25%);--slds-c-icon-color-foreground: color-mix(in oklab, var(--slds-g-color-on-warning-1), transparent 25%);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):focus"+a+" {color: var(--slds-g-color-neutral-base-30, #514f4d);box-shadow: 0 0 3px var(--slds-g-color-neutral-base-30, #514f4d);border: 1px solid var(--slds-g-color-neutral-base-30, #514f4d);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" ::part(button):active"+a+" {color: var(--slds-g-color-neutral-base-50, #706e6b);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_warning':o+'[data-render-mode="shadow"] .slds-theme_warning')+a+" "+a+"::part(boundary) {--slds-c-icon-color-foreground: var(--slds-g-color-neutral-base-30, #514f4d);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_error'+a+",:host([data-interactive-dialog]) .slds-theme_error":o+'[data-render-mode="shadow"] .slds-theme_error'+a+","+o+"[data-interactive-dialog] .slds-theme_error")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-error-base-40, #ea001e);--slds-g-link-color: var(--slds-g-color-neutral-base-100, #fff);--slds-g-link-color-active: var(--slds-g-color-neutral-100-opacity-50, rgb(255 255 255 / 50%));--slds-g-link-color-hover: var(--slds-g-color-neutral-base-100, #fff);--_slds-g-font-decoration: underline;--_slds-g-font-decoration-hover: none;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_offline'+a+",:host([data-interactive-dialog]) .slds-theme_offline":o+'[data-render-mode="shadow"] .slds-theme_offline'+a+","+o+"[data-interactive-dialog] .slds-theme_offline")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);background-color: var(--slds-g-color-neutral-base-30, #444);}"+(s?':host([data-render-mode="shadow"]) .slds-theme_alert-texture'+a+",:host([data-interactive-dialog]) .slds-theme_alert-texture":o+'[data-render-mode="shadow"] .slds-theme_alert-texture'+a+","+o+"[data-interactive-dialog] .slds-theme_alert-texture")+a+" {background-image: linear-gradient(45deg, rgb(0 0 0 / 2.5%) 25%, transparent 25%, transparent 50%, rgb(0 0 0 / 2.5%) 50%, rgb(0 0 0 / 2.5%) 75%, transparent 75%, transparent);background-size: 64px 64px;}"+(s?':host([data-render-mode="shadow"]) .slds-theme_inverse-text'+a+",:host([data-interactive-dialog]) .slds-theme_inverse-text":o+'[data-render-mode="shadow"] .slds-theme_inverse-text'+a+","+o+"[data-interactive-dialog] .slds-theme_inverse-text")+a+" {color: var(--slds-g-color-neutral-base-100, #fff);}"}];e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/i18n/locale', [], function() { return "es-MX"; });(function() { LWR.define("lightning/iso8601Utils",["exports"],function(t){const n=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?)?)?)?$/i,e=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d[:]?\d\d)|Z)?$/i,i=/(Z|([+-])(\d{2})[:]?(\d{2}))$/i;function r(t){if(!function(t){if("string"!=typeof t)return!1;return e.test(t)}(t))return!1;return s(`2018-09-09T${d(t)}Z`)}function d(t){return"string"==typeof t?t.split(i)[0]:t}function s(t){const n=Date.parse(t);return isFinite(n)}t.STANDARD_DATE_FORMAT="YYYY-MM-DD",t.STANDARD_TIME_FORMAT="HH:mm:ss.SSS",t.TIME_SEPARATOR="T",t.isValidISODateTimeString=function(t){return function(t){if("string"!=typeof t)return!1;return n.test(t)}(t)&&s(t)},t.isValidISOTimeString=r,t.padMilliseconds=function(t){if("string"==typeof t&&(s(t)||r(t))){const n=t.indexOf(".");let e=t.search(i);if(-1===e&&(e=t.length),-1!==n){const i=t.substring(n+1,e);let r=i;if(i.length>3)r=r.substring(0,3);else if(i.length<3){r=`${r}${"0".repeat(3-i.length)}`}return`${t.substring(0,n)}.${r}${t.substring(e)}`}}return t},t.removeTimeZoneSuffix=d,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/utilsPrivate",["exports","@salesforce/client/formFactor","@salesforce/i18n/locale","lightning/iso8601Utils","lwc"],function(e,t,n,r,i){function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(t),a=o(n);const u="undefined"!=typeof window;const c=["activeDescendant","atomic","autoComplete","busy","checked","colCount","colIndex","colSpan","controls","current","describedAt","describedBy","description","details","disabled","dropEffect","errorMessage","expanded","flowTo","grabbed","hasPopup","hidden","invalid","keyShortcuts","label","labelledBy","level","live","modal","multiLine","multiSelectable","orientation","owns","placeholder","posInSet","pressed","readOnly","relevant","required","roleDescription","rowCount","rowIndex","rowSpan","selected","setSize","sort","valueMax","valueMin","valueNow","valueText"],l=(e,t="default")=>{const n=e?e.length:0;if(0===n)throw new Error("List of aria properties is required");const r={};if("default"===t){for(let t=0;t<n;t+=1){const n=e[t],i=n.toUpperCase();r[i]||(r[i]=`aria-${n.toLowerCase()}`)}return r}for(let t=0;t<n;t+=1){const n=e[t],i=`aria-${n.toLowerCase()}`;if(!r[i]){const e=`aria${n[0].toUpperCase()}${n.slice(1)}`;r[i]=e}}return r},f=l(c),d=l(c,"cc");let m=null;const p="($1) $2-$3",A=/^\d{10}$/,h=/(\d{3})(\d{3})(\d{4})/,g=/^1\d{10}$/,w=/1(\d{3})(\d{3})(\d{4})$/;const y=/^(\/+|\.+|ftp|http(s?):\/\/)/i;function S(e){return y.test(e)}function N(e){const t=u?window.location.protocol:"https:";return S(e)?e:`${t}//${e}`}const E="javascript:void(0)",M=/^(?:\w+script|data):/i,b=/&#(\w+)(^\w|;)?/g,C=/&(newline|tab);/gi,T=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;const O="((?:(?:https?|ftp):\\/\\/(?:[\\w\\-\\|=%~#\\/+*@\\.,;:\\?!']|&){0,2047}(?:[\\(\\)\\.\\w=\\/+#-]*)[^\\s()\\.<>,;\\[\\]`'\"])|(?:\\b(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW)(?!@(?:[a-z0-9](?:[-a-z0-9]{0,62}[a-z0-9])?\\.)+(?:AC|AD|AE|AERO|AF|AG|AI|AL|AM|AN|AO|AQ|AR|ARPA|AS|ASIA|AT|AU|AW|AX|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BIZ|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CAT|CC|CD|CF|CG|CH|CI|CK|CL|CM|CN|CO|COM|COOP|CR|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EDU|EE|EG|ER|ES|ET|EU|FI|FJ|FK|FM|FO|FR|GA|GB|GD|GE|GF|GG|GH|GI|GL|GM|GN|GOV|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IM|IN|INFO|INT|IO|IQ|IR|IS|IT|JE|JM|JO|JOBS|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|ME|MG|MH|MIL|MK|ML|MM|MN|MO|MOBI|MP|MQ|MR|MS|MT|MU|MUSEUM|MV|MW|MX|MY|MZ|NA|NAME|NC|NE|NET|NF|NG|NI|NL|NO|NP|NR|NU|NZ|OM|ORG|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PRO|PS|PT|PW|PY|QA|RE|RO|RS|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TEL|TF|TG|TH|TJ|TK|TL|TM|TN|TO|TP|TR|TRAVEL|TT|TV|TW|TZ|UA|UG|UK|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|XN--0ZWM56D|XN--11B5BS3A9AJ6G|XN--80AKHBYKNJ4F|XN--9T4B11YI5A|XN--DEBA0AD|XN--FIQS8S|XN--FIQZ9S|XN--G6W251D|XN--HGBK6AJ7F53BBA|XN--HLCJ6AYA9ESC7A|XN--J6W193G|XN--JXALPDLP|XN--KGBECHTV|XN--KPRW13D|XN--KPRY57D|XN--MGBAAM7A8H|XN--MGBERP4A5D4AR|XN--P1AI|XN--WGBH1C|XN--ZCKZAH|YE|YT|ZA|ZM|ZW))(?:/[\\w\\-=?/.&;:%~,+@#*]{0,2048}(?:[\\w=/+#-]|\\([^\\s()]*\\)))?(?:$|(?=\\.$)|(?=\\.\\s)|(?=[^\\w\\.]))))",I="([\\w-\\.\\+_']{1,64}@(?:[\\w-]){1,255}(?:\\.[\\w-]{1,255}){1,10})",B="(\r\n|\r|\n)",D=function(e){return N(e)},L=function(e){return`mailto:${e}`};const R=Array.prototype.slice;const G=e=>{if(Number.isNaN(e)||null==e||""===e||Array.isArray(e))return!0;const t=Number(e);return Number.isNaN(t)};const v={};const P=u&&function(e){return/Trident.*rv[ :]*11\./.test(e.userAgent)}(navigator),F=u&&function(e){return/Chrome/.test(e.userAgent)&&/Google Inc/.test(e.vendor)}(navigator),K=u&&function(e){return/^((?!chrome|android).)*safari/i.test(e.userAgent)}(navigator);const U=new Set(["www.youtube.com","www.youtube-nocookie.com","www.youtube.ca","www.youtube.jp","www.youtube.com.br","www.youtube.co.uk","www.youtube.nl","www.youtube.pl","www.youtube.es","www.youtube.ie","www.youtube.fr","player.vimeo.com","play.vidyard.com","players.brightcove.net","bcove.video","player.cloudinary.com","fast.wistia.net","i1.adis.ws","s1.adis.ws","scormanywhere.secure.force.com","appiniummastertrial.secure.force.com","embed.app.guidde.com","cdnapisec.kaltura.com"]);const H=new RegExp(`(${B})|${O}|${I}`,"gi"),V=new RegExp(`${O}|${I}`,"gi"),X=new RegExp(`^${I}$`,"gi"),x=new RegExp(B,"gi");function Z(e){return{isText:!0,value:e}}function $(e){return{isNewline:!0,key:e}}function k(e,t,n){return!n&&e.match(x)?$(t):e.match(X)?function(e,t){return{isLink:!0,value:e,href:L(e),key:`${e}-${t}`}}(e,t):function(e,t){return{isLink:!0,value:e,href:D(e),key:`${e}-${t}`}}(e,t)}const W=new Set(["type","attributes","state"]);const J=u&&(({userAgent:e})=>/(macintosh|macintel|macppc|mac68k|macos)/i.test(e))(navigator),Y=u&&(({userAgent:e})=>/(win32|win64|windows)/i.test(e))(navigator),_=u&&(({userAgent:e})=>/(iphone|ipad|ipod)/i.test(e))(navigator),j=u&&(({userAgent:e})=>/android/i.test(e))(navigator),z=["1","2","3","4","5","6"];const q=180,Q=90;function ee(e){return null!=e&&""!==e&&(isFinite(e)||r.isValidISODateTimeString(e))}function te(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=Q}function ne(e){return null!=e&&""!==e&&isFinite(e)&&Math.abs(e)<=q}function re(e){const t={weekday:e.weekday,era:e.era,year:e.year,month:e.month,day:e.day,hour:e.hour,hourCycle:void 0,hour12:void 0,minute:e.minute,second:e.second,timeZoneName:e.timeZoneName,timeZone:e.timeZone},{hour12:n}=e;return e._hour12Set&&(!1===n?t.hourCycle="h23":t.hour12=n),t}const ie=/^#[0-9abcdef]{6}$/i;const oe=i.registerComponent(class{constructor(){this._observers=[]}subscribe(e){const t=e=>this._observers=this._observers.filter(t=>t!==e);return this._observers.push(e),()=>t(e)}notify(e){this._observers.forEach(t=>t(e))}},{tmpl:void 0,sel:"lightning-utils-private",apiVersion:62}),se=/^LIGHTNING/i,ae=/-\w/g;function ue(e){return e[1].toUpperCase()}function ce(e){return null==e}function le(e){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")}const fe={FIRST:"first",MIDDLE:"middle",LAST:"last",ONLY:"only"};const{hasOwn:de}=Object,{hasOwnProperty:me}=Object.prototype,pe="function"==typeof de?de:function(e,t){return me.call(e,t)};e.ARIA=f,e.ARIA_TO_CAMEL=d,e.ArraySlice=R,e.BUTTON_GROUP_ORDER=fe,e.EventEmitter=class{constructor(){this.registry={}}on(e,t){return this.registry[e]=this.registry[e]||[],this.registry[e].push(t),this}once(e,t){const n=function(){t.apply(null,arguments),this.removeListener(e,n)}.bind(this);return this.on(e,n),this}emit(e){const t=this.registry[e];let n=0;if(t){const e=Array.prototype.slice.call(arguments,1);for(let r=0,{length:i}=t;r<i;r+=1)n+=1,t[r].apply(null,e)}return n>0}removeListener(e,t){const n=this.registry[e];if(n)for(let e=0,r=n.length;e<r;e+=1)if(n[e]===t)return n.splice(e,1),this;return this}},e.FALLBACK_URL=E,e.Observable=oe,e.VALID_HEADING_LEVELS=z,e.animationFrame=function(){return new Promise(e=>{window.requestAnimationFrame(e)})},e.arraysEqual=function e(t,n){if(!t||!n)return!1;if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(t[r]instanceof Array&&n[r]instanceof Array){if(!e(t[r],n[r]))return!1}else if(t[r]!==n[r])return!1;return!0},e.assert=function(e,t){},e.buttonGroupOrderClass=function(e){return{[fe.FIRST]:"slds-button_first",[fe.MIDDLE]:"slds-button_middle",[fe.LAST]:"slds-button_last",[fe.ONLY]:"single-button"}[e]},e.classListMutation=function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n[r];r<i;r+=1){const i=n[r];"string"==typeof i&&i.length>0&&(t[i]?e.add(i):e.remove(i))}},e.classSetToString=function(e){let t="";const n=Object.keys(e);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r];e[i]&&(t+=(t.length?" ":"")+i)}return t},e.computeAriaInvalid=function(e,t,n){return void 0!==n?n:null!=t&&""!==t&&!!e||void 0},e.createEmailHref=L,e.createHttpHref=D,e.decorateInputForDragon=function(e){const t=le(e);Object.defineProperty(e,"value",{set(e){t.set.call(this,e),this.dispatchEvent(new CustomEvent("input"))},get:t.get,enumerable:!0,configurable:!0})},e.deepCopy=function e(t){if(Object(t)!==t)return t;if(t instanceof Set)return new Set(t);if(t instanceof Date)return new Date(t);if("function"==typeof t)return t.bind({});if(Array.isArray(t)){const n=[],r=t.length;for(let i=0;i<r;i++)n.push(e(t[i]));return n}const n=Object.create({});let r=Object.keys(t);t instanceof Error&&(r=Object.getOwnPropertyNames(t));const i=r.length;for(let o=0;o<i;o++){const i=r[o];n[i]=e(t[i])}return n},e.emailRegexString=I,e.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},e.getRealDOMId=function(e){return"string"==typeof e?e.length>0?e:null:"object"==typeof e&&null!==e?e.getAttribute("id"):null},e.getShadowActiveElement=function(){let e=document.activeElement;for(;e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e},e.getShadowActiveElements=function(){let e=document.activeElement;const t=[];for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)t.push(e),e=e.shadowRoot.activeElement;return e&&t.push(e),t},e.getZIndexBaseline=function(){const e=u?(window.getComputedStyle(document.documentElement)||document.documentElement.style).getPropertyValue("--lwc-zIndexModal"):9e3,t=parseInt(e,10);return isNaN(t)?9100:t+100},e.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},e.hasAnimation=function(){if(u){if(!window.matchMedia)return!0;const e=window.matchMedia("(prefers-reduced-motion: reduce)");return!(!e||e.matches)}return!1},e.hasOnlyAllowedVideoIframes=function(e){if(e&&e.indexOf("<iframe")>-1){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.prototype.slice.call(t.querySelectorAll("iframe"));return n.length>0&&!n.some(e=>!function(e){const t=document.createElement("a");if(t.href=e,"https:"!==t.protocol)return!1;if("vimeo.com"===t.hostname){const e=/^\/showcase\/\d+\/embed$/;return null!==t.pathname.match(e)}if("www.my.salesforce-sites.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.salesforce-sites\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.my\.salesforce-sites\.com$/))return!0;if("www.lightning.force.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.lightning\.force\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.lightning\.force\.com$/))return!0;if("www.my.site.com"===t.hostname)return!1;if(t.hostname.match(/^[\w-]+\.my\.site\.com$/))return!0;if(t.hostname.match(/^[\w-]+\.sandbox\.my\.site\.com$/))return!0;return U.has(t.hostname)}(e.src))}return!1},e.hasOwn=pe,e.hasOwnProperties=function(e){for(let t in e)if(pe(e,t))return!0;return!1},e.isAbsoluteUrl=S,e.isAndroidOS=j,e.isAriaDescriptionSupported=function(){if(null!==m)return m;const e="test ability to set";try{const t=document.createElement("span");t.ariaDescription=e;const n=t.getAttribute(f.DESCRIPTION);m=e===n}catch(e){m=!1}return m},e.isBubblingFocusEvent=function(e){return e instanceof FocusEvent&&["focus","blur"].includes(e.type)},e.isCSR=u,e.isChrome=F,e.isDesktopBrowser=function(){return"Large"===s.default},e.isHeadingLevelValid=function(e){return("string"==typeof e||"number"==typeof e)&&z.includes(e.toString())},e.isIE11=P,e.isMacOS=J,e.isNativeComponent=function(e){return e?.template&&!e.template.synthetic},e.isNotUndefinedOrNull=function(e){return!ce(e)},e.isRTL=function(){return u&&"rtl"===document.dir},e.isSafari=K,e.isShiftMetaOrControlKey=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},e.isTextIgnoreRTL=function(e){return"string"==typeof e&&""!==e&&ie.test(e)},e.isUndefinedOrNull=ce,e.isValidDate=ee,e.isValidLatitude=te,e.isValidLongitude=ne,e.isValidPageReference=function(e){return e&&e.type&&"string"==typeof e.type&&e.attributes&&"object"==typeof e.attributes&&Object.keys(e).every(e=>W.has(e))},e.isValidPhone=function(e){return"string"==typeof e&&""!==e},e.isWindowsOS=Y,e.isiOS=_,e.keyCodes={tab:9,backspace:8,enter:13,escape:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46,shift:16},e.makeAbsoluteUrl=N,e.makeEverythingExceptElementInert=function(e){const t=[];let n=e,r=n.parentNode.host||n.parentNode;for(;null!=r;)if(r.nodeType===Node.ELEMENT_NODE){let e=r.firstChild;for(null===e&&r.shadowRoot&&(e=r.shadowRoot.firstChild);null!==e;)e.nodeType===Node.ELEMENT_NODE&&e!==n&&"head"!==e.localName&&(t.push({node:e,ariaHidden:e.ariaHidden}),e.ariaHidden=!0),e=e.nextSibling;n=r,r=r.parentNode}else r=r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r.parentNode;return t},e.newLineRegexString=B,e.normalizeAriaAttribute=function(e){let t=Array.isArray(e)?e:[e];return t=t.map(e=>"string"==typeof e?e.replace(/\s+/g," ").trim():"").filter(e=>!!e),t.length>0?t.join(" "):null},e.normalizeArray=function(e){return Array.isArray(e)?e:[]},e.normalizeBoolean=function(e){return"string"==typeof e||!!e},e.normalizeKeyValue=function(e){switch(e){case"Spacebar":return" ";case"Esc":return"Escape";case"Del":return"Delete";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Up":return"ArrowUp";default:return e}},e.normalizeNumber=function(e,t={}){const{fallbackValue:n,minValue:r,maxValue:i}=t,o="number"==typeof n&&n||void 0;return G(e)||!G(e)&&e<r||!G(e)&&e>i?o:1*e},e.normalizeString=function(e,t={}){const{fallbackValue:n="",validValues:r,toLowerCase:i=!0}=t;let o="string"==typeof e&&e.trim()||"";return o=i?o.toLowerCase():o,r&&-1===r.indexOf(o)&&(o=n),o},e.observePosition=function(e,t=5,n,r){const i=e.getBoundingClientRect(),o=i.left,s=i.top,a=n.left,u=n.top,c=Math.abs(o-a),l=Math.abs(s-u);(c>=t||l>=t)&&r()},e.parseToFormattedLinkifiedParts=function(e,t=!1){const n=[],r=t?V:H;let i,o=0;for(;null!==(i=r.exec(e));){let s=i[0];const a=s&&s.endsWith(""");i.index>0&&n.push(Z(e.slice(0,i.index))),a&&(s=s.slice(0,s.lastIndexOf("""))),n.push(k(s,o,t)),a&&n.push(Z(""")),e=e.substring(r.lastIndex),r.lastIndex=0,o+=1}return null!=e&&""!==e&&n.push(Z(e)),n},e.parseToFormattedParts=function(e){return e.split(x).map((e,t)=>t%2==0?Z(e):$(t))},e.raf=function(e){let t=!1;return function(n){t||requestAnimationFrame(()=>{e.call(this,n),t=!1}),t=!0}},e.reflectAttribute=function(e,t,n){e&&("string"==typeof n?e.setAttribute(t,n):!0===n?e.setAttribute(t,""):n?console.warn(`Invalid attribute value for "${t}": ${n}`):e.removeAttribute(t))},e.restoreInertness=function(e){for(let t=0,{length:n}=e;t<n;t+=1){const n=e[t],{node:r}=n;r&&(r.ariaHidden=n.ariaHidden)}},e.runActionOnBufferedTypedCharacters=function(e,t){const n=e.key;if(n&&n.length>1)return;v._clearBufferId&&clearTimeout(v._clearBufferId),v._keyBuffer=v._keyBuffer||[],v._keyBuffer.push(n),t(v._keyBuffer.join("").toLowerCase()),v._clearBufferId=setTimeout(()=>{v._keyBuffer=[]},700)},e.sanitizeURL=function(e){if(e){return(t=e,t.replace(b,(e,t)=>String.fromCharCode(t))).replace(C,"").replace(T,"").trim().match(M)?E:e}var t;return E},e.setDecoratedDragonInputValueWithoutEvent=function(e,t){return le(e).set.call(e,t)},e.synchronizeAttrs=function(e,t){e&&(se.test(e.tagName)?function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];e[i.replace(ae,ue)]=o||null}}(e,t):function(e,t){const n=Object.keys(t);for(let r=0,{length:i}=n;r<i;r+=1){const i=n[r],o=t[i];o?e.setAttribute(i,o):e.removeAttribute(i)}}(e,t))},e.tagRegexString="(<a[\\s]+[^>]+[^/]>[\\s\\S]*?</a>|<a[\\s]+[^>]+/>|<i?frame[\\s]+[^>]+[^/]>[\\s\\S]*?</i?frame>|<i?frame[\\s]+[^>]+/>|<area[\\s]+[^>]+[^/]>[\\s\\S]*?</area>|<area[\\s]+[^>]+/>|<link[\\s]+[^>]+[^/]>[\\s\\S]*?</link>|<link[\\s]+[^>]+/>|<img[\\s]+[^>]+[^/]>[\\s\\S]*?</img>|<img[\\s]+[^>]+>|<form[\\s]+[^>]+[^/]>[\\s\\S]*?</form>|<form[\\s]+[^>]+/>|<body[\\s]+[^>]+[^/]>[\\s\\S]*?</body>|<body[\\s]+[^>]+/>|<head[\\s]+[^>]+[^/]>[\\s\\S]*?</head>|<head[\\s]+[^>]+/>|<input[\\s]+[^>]+[^/]>[\\s\\S]*?</input>|<input[\\s]+[^>]+/>|<button[\\s]+[^>]+[^/]>[\\s\\S]*?</button>|<button[\\s]+[^>]+/>|<blockquote[\\s]+[^>]+[^/]>[\\s\\S]*?</blockquote>|<blockquote[\\s]+[^>]+/>|<q[\\s]+[^>]+[^/]>[\\s\\S]*?</q>|<q[\\s]+[^>]+/>|<del[\\s]+[^>]+[^/]>[\\s\\S]*?</del>|<del[\\s]+[^>]+/>|<ins[\\s]+[^>]+[^/]>[\\s\\S]*?</ins>|<ins[\\s]+[^>]+/>)",e.timeout=function(e){return new Promise(t=>{setTimeout(t,e)})},e.toDateTimeFormatOptions=re,e.toFormattedDate=function(e,t){const{value:n}=e;if(ee(n)){const r=t(re(e)).format(n);if(r)return r}return console.warn(`<lightning-formatted-date-time> The value attribute accepts either a Date object, a timestamp, or a valid ISO8601 formatted string with timezone offset. but we are getting the ${typeof n} value "${n}" instead.`),""},e.toFormattedLocation=function(e){const{latitude:t,longitude:n}=e;return te(t)&&ne(n)?`${t}, ${n}`:(console.warn("<lightning-formatted-location> expects latitude in range [-90.0, 90.0], longitude in range [-180.0, 180.0]."),"")},e.toFormattedNumber=function(e,t){const{value:n}=e;if(null!=n&&""!==n&&isFinite(n)){const{formatStyle:r}=e,i={style:r,currency:e.currencyCode,currencyDisplay:e.currencyDisplayAs,minimumIntegerDigits:e.minimumIntegerDigits,minimumFractionDigits:e.minimumFractionDigits,maximumFractionDigits:e.maximumFractionDigits,minimumSignificantDigits:e.minimumSignificantDigits,maximumSignificantDigits:e.maximumSignificantDigits},o=String(n);let s=o;return"percent-fixed"===r&&(i.style="percent",s=parseFloat(n)/100,o.indexOf(".")>0&&o.indexOf("e")<0&&(s=s.toFixed(o.split(".")[1].length+2))),t(i).format(s)}return""},e.toNorthAmericanPhoneNumber=function(e,t){return function(e){const t=function(e){if(!e)return null;const[,t]=e.split("-");return t}(e);if("US"===t||"CA"===t)return!0;return!1}(t||a.default)?A.test(e)?e.replace(h,p):g.test(e)?e.replace(w,p):e||"":e},e.updateAriaInvalidOnElement=function(e,t){t?e.setAttribute("aria-invalid",!0):e.removeAttribute("aria-invalid")},e.urlRegexString=O,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/routingService",["exports","@salesforce/client/formFactor","lightning/utilsPrivate"],function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t);const o="Small";const s="lightningroutingservicegetlinkinfo",a=new WeakMap,u={standard:"standard_webPage"};function l(e,t){return new Promise((n,r)=>{const i=new CustomEvent(s,{detail:{stateRef:t,callback:(e,t)=>{e?r(e):n(t)}},bubbles:!0,composed:!0,cancelable:!0});e.dispatchEvent(i)})}e.LinkInfo=class{constructor(e,t){this.url=e,this.dispatcher=t,Object.freeze(this)}},e.getLinkInfo=l,e.hasLinkProvider=function(e){let{parentNode:t}=e;for(;t;){if(a.has(t))return!0;t=t.parentNode}return!1},e.isLinkProvider=function(e){return a.has(e)},e.registerLinkProvider=function(e,t){let n=a.get(e);void 0===n&&(n=new Set,a.set(e,n)),n.add(t),e.addEventListener(s,t)},e.unregisterLinkProvider=function(e,t){let n=a.get(e);n&&(n.delete(t),n.size||a.delete(e)),e.removeEventListener(s,t)},e.updateRawLinkInfo=function(e,{url:t,target:r}){return null==t&&console.error("url must be specified"),n.isCSR&&function(e,t){return!e||"_self"===e||t===o&&"_blank"===e||"_top"===e&&window.top===window||"_parent"===e&&window.parent===window}(r,i.default)?l(e,{stateType:u.standard,attributes:{url:t,target:r}}):new Promise(e=>{e({url:t,dispatcher:()=>{}})})},e.urlTypes=u,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/formattedRichText",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/purifyLib","lightning/routingService","lightning/utilsPrivate"],function(e,t,i,n,a,r){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(i),c=l(n);var o=[function(){return""}];const d={attrs:{part:"formatted-rich-text"},context:{lwc:{dom:"manual"}},key:0};function h(e,t,i,n){const{h:a}=e;return[a("span",d)]}var p=t.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-4nfn2rc40ch",h.legacyStylesheetToken="lightning-formattedRichText_formattedRichText",o&&h.stylesheets.push.apply(h.stylesheets,o),t.freezeTemplate(h);const u=Object.freeze(["a","abbr","acronym","address","b","br","big","blockquote","caption","cite","code","col","colgroup","del","div","dl","dd","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","ol","mark","p","param","pre","q","s","samp","small","span","strong","sub","sup","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","var","strike","font"]),f=Object.freeze(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","rows","rowspan","spellcheck","scope","selected","shape","size","span","srclang","start","src","step","style","summary","tabindex","target","title","type","usemap","valign","value","width","xmlns","data-fileid"]),m=Object.freeze(["ftp","ftps","http","https","mailto","tel","callto","cid","xmpp","ciscotel","navision"]).join("|"),g=new RegExp(`^(?:(?:${m}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"),k=Object.freeze({ALLOWED_TAGS:u,ALLOWED_ATTR:f,ALLOWED_URI_REGEXP:g,ALLOW_UNKNOWN_PROTOCOLS:!1});class b extends s.default{constructor(...e){super(...e),this.initialRender=!0,this._value="",this._disableLinkify=!1,this.connected=!1,this.clean=!1}get disableLinkify(){return this._disableLinkify}set disableLinkify(e){this._disableLinkify=r.normalizeBoolean(e),this.renderRichText()}get value(){return this._value}set value(e){this._value=null==e?"":String(e),this.renderRichText()}renderedCallback(){this.initialRender&&(this.renderRichText(),this.initialRender=!1)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-rich-text-editor__output"),this.connected=!0}disconnectedCallback(){this.removeLinkClickListeners(),this.connected=!1}handleClick(e){const t=e.currentTarget;if(null==t)return;const i=t.target,n=t.href;a.updateRawLinkInfo(this,{url:n,target:i}).then(i=>{t.href=i.url,i.dispatcher(e)})}sanitize(e){if(!e)return this.clean=!0,e;let t;this.clean=!1;let i=k;r.hasOnlyAllowedVideoIframes(e)&&(i={...k,ALLOWED_TAGS:k.ALLOWED_TAGS.concat(["iframe"]),ALLOWED_ATTR:k.ALLOWED_ATTR.concat(["allowfullscreen"])});try{t=c.default(e,i),this.clean=!0}catch(i){console.warn("<lightning-formatted-rich-text> Exception caught when attempting to sanitize: ",i),t=e,this.clean=!1}return t}renderRichText(){if(this.connected){const e=this.sanitize(this.value),t=this.container;if(this.clean)t.innerHTML=e;else{const i=document.createTextNode(e);for(;t.hasChildNodes();)t.removeChild(t.lastChild);t.appendChild(i)}this.disableLinkify||function(e){const t=new RegExp(`^${r.urlRegexString}/?$`,"i"),i=new RegExp(`^${r.emailRegexString}$`,"i"),n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(;a.nextNode();){const e=a.currentNode,l=a.currentNode.parentNode;if("A"===l.nodeName)continue;const s=a.currentNode.nodeValue.split(/("|;|["']?\s+["']?|["'])/g),c=document.createDocumentFragment();let o=!1;s.forEach((e,n)=>{if(n%2==0)if(e.match(t)){const t=document.createElement("a");t.href=r.createHttpHref(e),t.target="_blank",t.rel="noopener",t.appendChild(document.createTextNode(e)),c.appendChild(t),o=!0}else if(e.match(i)){const t=document.createElement("a");t.href=r.createEmailHref(e),t.appendChild(document.createTextNode(e)),c.appendChild(t),o=!0}else e&&c.appendChild(document.createTextNode(e));else e&&c.appendChild(document.createTextNode(e))}),o&&n.push({parent:l,fragment:c,currentNode:e})}n.forEach(({parent:e,fragment:t,currentNode:i})=>{e.replaceChild(t,i)})}(t),this.addLinkClickListeners()}}addLinkClickListeners(){this.links.forEach(e=>{e.addEventListener("click",this.handleClick.bind(this))})}removeLinkClickListeners(){this.links.forEach(e=>{e.removeEventListener("click",this.handleClick.bind(this))})}get links(){return this.container?[...this.container.querySelectorAll("a")]:[]}get container(){return this.template.querySelector("span")}}b.validationOptOut=["class"],t.registerDecorators(b,{publicProps:{disableLinkify:{config:3},value:{config:3}},fields:["initialRender","_value","_disableLinkify","connected","clean"]});const L=t.registerComponent(b,{tmpl:p,sel:"lightning-formatted-rich-text",apiVersion:62});e.default=L,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@luvio/runtime', ['force/luvioRuntimeWebruntime'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("force/luvioRegistry",["exports"],function(i){const t=[],e=[];function n(i){t.push(i),e.forEach(t=>i(t))}i.findRegistrations=function(i){return e.filter(t=>t.id===i)},i.forEachRegistration=n,i.register=function(i){e.push(i),t.forEach(t=>t(i))},i.withRegistration=function(i,t){n(e=>{e.id===i&&t(e)})},Object.defineProperty(i,"__esModule",{value:!0})}); })();LWR.define('@luvio/registry', ['force/luvioRegistry'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("experience/uri",["exports"],function(e){function n(e){return encodeURIComponent(e).replace(/[!'()~]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())}function t(e){const t="object"==typeof e&&null!=e?e:{};return"URLSearchParams"in globalThis?new URLSearchParams(t).toString():Object.keys(t).map(e=>n(e)+"="+n(t[e])).join("&")}e.composeQueryString=t,e.composeUri=function(e,n){const o="string"==typeof e?e:"",r=t(n);if(r){const e=-1!==o.indexOf("?")?"&":"?";return`${o}${e}${r}`}return o},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/coercion",["exports"],function(e){function r(e){return function(e){return"number"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Number]"===Object.prototype.toString.call(e)}(e)&&e!==+e}e.coerceBooleanProperty=function(e){return null!=e&&"false"!==`${e}`.toLowerCase()},e.coerceNumberProperty=function(e,r=0){return function(e){return!isNaN(parseFloat(String(e)))&&!isNaN(Number(e))}(e)?Number(e):r},e.coerceStringProperty=function(e,n){const t=null==e||r(e)?"":e.toString();return t.length>0?t:n},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/serializeError",["exports","lwc"],function(e,r){const o=[EvalError,RangeError,ReferenceError,SyntaxError,TypeError,URIError,globalThis.DOMException,globalThis.AssertionError,globalThis.SystemError].filter(Boolean).map(e=>[e.name,e]),t=new Map(o),n=r.registerComponent(t,{tmpl:void 0,sel:"experience-serialize-error",apiVersion:62});class s extends Error{constructor(e){super(s._prepareSuperMessage(e)),this.name="NonError"}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}r.registerDecorators(s,{fields:["name"]});const i=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0},{property:"cause",enumerable:!1}],a=Symbol(".toJSON was called"),u=e=>n.get(e)??Error,c=({from:e,seen:r,to:o,forceEnumerable:t,maxDepth:n,depth:s,useToJSON:p,serialize:l})=>{if(!o)if(Array.isArray(e))o=[];else if(!l&&f(e)){o=new(u(e.name))}else o={};if(r.push(e),s>=n)return o;if(p&&"function"==typeof e.toJSON&&!0!==e[a])return(e=>{e[a]=!0;const r=e.toJSON();return delete e[a],r})(e);const m=e=>c({from:e,seen:[...r],forceEnumerable:t,maxDepth:n,depth:s,useToJSON:p,serialize:l});for(const[t,n]of Object.entries(e))"function"==typeof Buffer&&Buffer.isBuffer(n)?o[t]="[object Buffer]":null===n||"object"!=typeof n||"function"!=typeof n.pipe?"function"!=typeof n&&(n&&"object"==typeof n?r.includes(e[t])?o[t]="[Circular]":(s++,o[t]=m(e[t])):o[t]=n):o[t]="[object Stream]";for(const{property:r,enumerable:n}of i)void 0!==e[r]&&null!==e[r]&&Object.defineProperty(o,r,{value:f(e[r])?m(e[r]):e[r],enumerable:!!t||n,configurable:!0,writable:!0});return o};function f(e){return Boolean(e)&&"object"==typeof e&&"name"in e&&"message"in e&&"stack"in e}e.deserializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY}=r;if(e instanceof Error)return e;if(function(e){return Boolean(e)&&"object"==typeof e&&"message"in e&&!Array.isArray(e)}(e)){const r=u(e.name);return c({from:e,seen:[],to:new r,maxDepth:o,depth:0,serialize:!1})}return new s(e)},e.registerErrorConstructor=function(e,r){n.set(e,r)},e.serializeError=function(e,r={}){const{maxDepth:o=Number.POSITIVE_INFINITY,useToJSON:t=!0}=r;return"object"==typeof e&&null!==e?c({from:e,seen:[],forceEnumerable:!0,maxDepth:o,depth:0,useToJSON:t,serialize:!0}):"function"==typeof e?`[Function: ${e.name??"anonymous"}]`:e},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/data",["exports","experience/utils","lwc","experience/coercion","experience/serializeError","transport","experience/uri"],function(e,t,r,n,s,o,c){const i="Aborted";class a extends Error{constructor(e){super(n.coerceStringProperty(e,i)),this.name="AbortError"}}r.registerDecorators(a,{fields:["name"]}),s.registerErrorConstructor("AbortError",a);const u=Symbol("abort"),l=Symbol("abortSignal"),f=new WeakMap;class p extends Promise{static from(e){return e instanceof p?e:e instanceof Promise||"function"==typeof e.catch?new p((t,r)=>e.then(t).catch(r)):new p((t,r)=>e.then(t,r))}static connect(e,t){const r=f.get(e),n=f.get(t),{controller:s}=r,{controller:o}=n,{signal:c}=s,{signal:i}=o;if(c===i)return;n.parent=r;const a=(e,t)=>{!e.reason&&(e.reason=t.reason)};if(i.aborted&&!c.aborted)a(r,n),s.abort();else if(c.aborted&&!i.aborted)a(n,r),o.abort();else{const e=()=>{i.removeEventListener("abort",e),i.aborted||(a(n,r),o.abort())},t=()=>{i.removeEventListener("abort",t),c.aborted||(a(r,n),s.abort())};c.addEventListener("abort",e),i.addEventListener("abort",t)}}constructor(e){const t=new AbortController,{signal:r}=t;let n=!1;const s=e=>{f.get(this).reason=e||i,t.abort()};super((t,o)=>{const c=()=>{r.removeEventListener("abort",c);const e=f.get(this);let t=!!e.isHandled,s=e.parent;for(;s;)t=t||!!s.isHandled,s=s.parent;if(e.isHandled=!0,!n&&!t){n=!0;const t=e.reason;o(new a(t instanceof Error?t.message:t))}};r.addEventListener("abort",c),e(e=>{!n&&!r.aborted&&t(e),n=!0},e=>{!n&&!r.aborted&&o(e),n=!0},s,r)}),this[u]=void 0,this[l]=void 0,f.set(this,{controller:t}),this[u]=s.bind(null),this[l]=r}_wrapHandler(e){return t.isFunction(e)?t=>{let r=e(t);if(r instanceof p)p.connect(this,r);else if(r instanceof Promise){const e=r=p.from(r);p.connect(this,e)}if(this[l].aborted){const e=f.get(this).reason;throw new a(e instanceof Error?e.message:e)}return r}:e}then(e,t){const r=p.from(super.then(this._wrapHandler(e),this._wrapHandler(t)));return p.connect(this,r),r}catch(e){const t=p.from(super.catch(this._wrapHandler(e)));return p.connect(this,t),t}finally(e){const t=p.from(super.finally(this._wrapHandler(e)));return p.connect(this,t),t}}class h{constructor(e,t){this.response=e,this.data=t}}function d(e,t){const r=new h(e,t);return Object.freeze(r),r}const b=["opaque","opaqueredirect"];async function m(e){const[t,r]=e instanceof h?[e.response,e.data]:[e,e];if(t instanceof Response&&!t.ok&&!b.includes(t.type))throw await r;return r}function g(e){let r,n,s,c;const i=new p((e,t,o,i)=>{r=e,n=t,s=o,c=i});let a=!1;c.addEventListener("abort",()=>a=!0);return e((e,s)=>{const u=e instanceof Request,l=s&&"object"==typeof s?{...s,signal:c}:{signal:c},f=u?{...e.clone(),...l}:l,p=u?e.url:e;return a||function(e,r,n){let s={...r};delete s.interceptRequest,delete s.interceptResponse;let c=m;if(r&&t.isFunction(r.interceptResponse)){const{interceptResponse:n}=r;c=r=>{const o=n(r,e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(m):m(o)}}const i=({url:t,requestInit:r}={})=>(r&&"object"==typeof r&&(s={...r,signal:n},delete s.interceptRequest,delete s.interceptResponse),o.fetch(t||e,s).then(c));if(r&&t.isFunction(r.interceptRequest)){const{interceptRequest:n}=r,o=n(e,s);return t.isPromiseLike(o)?Promise.resolve(o).then(i):i(o)}return i()}(p,f,c).then(e=>!a&&r(e)).catch(e=>!a&&n(e)),i},s,c),i}const y=(e,t)=>({url:e,requestInit:{method:"GET",credentials:"same-origin",headers:{"Content-Type":"application/json;charset=UTF-8"},...t&&"object"==typeof t?t:{}}});function R(e){return(t,r,n)=>{if(t instanceof Response){const{headers:s,status:o}=t,c=s.get("content-type");if("string"==typeof c&&c.includes("application/json")){const c=s.has("content-length")&&"chunked"!==s.get("transfer-encoding")?Number(s.get("content-length")):-1;if(204===o||0===c)return null;return d(t,e(t,r,n))}}return t}}const E=R(e=>e.ok?e.json():e);function j(e){const r=e&&"object"==typeof e?{...e}:{};return t.isFunction(r.interceptRequest)||(r.interceptRequest=y),t.isFunction(r.interceptResponse)||(r.interceptResponse=E),r}function w(e,t="string"){return null===e||("array"===t?void 0===e||Array.isArray(e):["undefined",t].includes(typeof e))}function A(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"type")&&w(e?.message)&&w(e?.type)&&w(e?.arguments,"object")}function v(e){return e?Reflect.ownKeys(e).reduce((t,r)=>("string"==typeof r&&Reflect.set(t,r,Reflect.get(e,r)),t),{}):{}}function P({message:e,type:t,arguments:r}){return{message:e??"",type:t??"",arguments:v(r)}}function q(e){return Array.isArray(e)?e.reduce((e,t)=>(A(t)&&e.push(P(t)),e),[]):A(e)?[P(e)]:[]}function L(e){return e.find(e=>e.message.length>0)?.message??""}function F(e){if(function(e){return null!==e&&"object"==typeof e&&Reflect.has(e,"status")&&Reflect.has(e,"errors")&&w(e?.status,"number")&&w(e?.errors,"array")}(e)){const{status:t,errors:r}=e;return{status:t??null,errors:q(r)}}return{status:null,errors:q(e)}}class O extends Error{constructor(e){super(),this.name="FetchError",this.errors=[],this.status=null;let{status:t,errors:r}=F(e);this.status=t,this.errors=r,this.message=L(r),Object.defineProperty(this,"errors",{enumerable:!0,configurable:!1,get:()=>r,set(e){r=q(e),this.message=L(r)}}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!1,get:()=>t,set(e){t="number"==typeof e?e:null}})}}function x(e){function t(e){return"string"==typeof e||null==e}return null!==e&&"object"==typeof e&&Reflect.has(e,"message")&&Reflect.has(e,"errorCode")&&t(e?.message)&&t(e?.errorCode)}function S(e){if(e&&"object"==typeof e&&(Reflect.has(e,"url")||Reflect.has(e,"body"))){const{url:t="",body:r}=e,n=r instanceof URLSearchParams?Object.fromEntries(r.entries()):r instanceof FormData?function(e){const t={};for(const[r,n]of e)"string"==typeof n&&(t[r]=n);return t}(r.entries()):{};try{const{searchParams:e}=new URL(t);return{...n,...Object.fromEntries(e.entries())}}catch{return n}}return{}}function C({message:e,errorCode:t},r){return{type:t??"",message:e??"",arguments:S(r)}}function H(e,t){return Array.isArray(e)?e.reduce((e,r)=>(x(r)&&e.push(C(r,t)),e),[]):x(e)?[C(e,t)]:[]}r.registerDecorators(O,{fields:["name","errors","status"]}),s.registerErrorConstructor("FetchError",O);const _=R((e,t,r)=>e.ok?e.json():e.json().then(n=>{throw new O({status:e.status,errors:H(n,{...r,url:t})})}));Object.defineProperty(e,"composeQueryString",{enumerable:!0,get:function(){return c.composeQueryString}}),Object.defineProperty(e,"composeUri",{enumerable:!0,get:function(){return c.composeUri}}),e.ABORT=u,e.ABORT_SIGNAL=l,e.AbortError=a,e.AbortablePromise=p,e.FetchError=O,e.connectApiResponseInterceptor=_,e.createFetchResponse=d,e.createResponseInterceptor=R,e.defaultRequestInterceptor=y,e.defaultResponseInterceptor=E,e.fetchAbortable=g,e.fetchService=function(e,t){return g((r,n,s)=>{if("function"==typeof e){e((e,t)=>r(e,j(t)),n,s)}else r(e,j(t))})},e.transformConnectApiErrorResponse=H,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/store",["exports","experience/utils","experience/utilsInternal","@luvio/runtime","@luvio/registry","experience/serializeError","lwc","experience/data"],function(t,e,i,s,r,n,o,c){const a=new Map,h=new Map,u=new Map,l={},d=new WeakMap,b=new Map,f=new WeakMap,y="experience::ɵɵStore",p="experience::ɵɵMeta",g="ɵɵErrors",_=new s.InMemoryStore;_.set(y,{}),_.set(p,{});let m=_;function S(){return m.get(y)}function v(){return m.get(p)}function k(t){return Reflect.get(S(),t)}function w(t,e){const i=S();Reflect.set(i,t,e),m.set(y,i)}function O(t){return Reflect.get(v(),t)}function P(t,e){const i=v();Reflect.set(i,t,e),m.set(p,i)}function j(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();!Reflect.has(r,g)&&(r[g]={}),r[g][s]=!0}function E(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();delete r[g]?.[s]}function A(t,e,i){e.reduce((t,s,r)=>(r===e.length-1?t[s]=i:Reflect.has(t,s)?"object"==typeof t[s]&&null!==t[s]&&(t[s]={...t[s]}):t[s]={},t[s]),t)}const $={id:"commandModule",runtimeDependencies:{store:!0},setCommandRuntime:({store:t})=>m=function(t){if(t!==m){t.keys().contains(p)||t.set(p,{});const e=t.get(p);if(t.keys().contains(y)){if(Reflect.has(e,g)){const s=t.get(y),r=e[g];Object.keys(r).forEach(t=>{const e=JSON.parse(t);e.length>2?A(s,e,{data:void 0,error:void 0,loaded:!1,loading:!1}):A(s,e,void 0)}),Object.entries(s).forEach(([t,e])=>{s[t]=i.readonly(e)})}}else t.set(y,{});t.set(p,{})}return t}(t)};r.register($);const C=Object.prototype.hasOwnProperty,K=["data","error","loaded","loading"];function R(t,e){d.set(t,e);const i=t.load();return d.delete(t),i}function L(t){const e=n.serializeError(t);return"string"==typeof e?e:JSON.stringify(e)}function x(t){const e=t=>("NonError"===t.name&&(t.message=t.message.replace(/^"|"$/g,"")),t);try{return e(n.deserializeError(JSON.parse(t)))}catch(i){return e(n.deserializeError(t))}}function M(t){return e.isPlainObject(t)&&Object.keys(t).every(t=>K.includes(t))&&("string"==typeof t.error||void 0===t.error)&&"boolean"==typeof t.loaded&&"boolean"==typeof t.loading}function F(t){if(e.isPlainObject(t)){const e=Object.keys(t);return e.length>0&&e.some(e=>M(t[e]))}return!1}function N(t,e){if(F(t))return t;const i=t instanceof Error?{data:void 0,error:L(t)}:{data:t,error:void 0};return e="string"==typeof e?e:"{}",{[e]:{...i,loaded:!0,loading:!1}}}function z(t,s,r,n){const o=`${t.name}.${r}`,c=t.get(r),a=(...t)=>t.reduce((t,i)=>{const s=F(i);return Object.keys(i).forEach(r=>{const n=t[r],o=i[r];s&&e.isPlainObject(n)&&e.isPlainObject(o)?t[r]=a(n,o):t[r]=o}),t},{});return C.call(l,o)&&l[o]>0||F(c)?(h=N(s,n),e.isPlainObject(c)?a(i.deepClone(c).value,h):h):s;var h}function J(t,e,i){const s=`${t.name}.${i}`,r=t.get(i);return F(r)?Object.keys(r).reduce((t,i)=>{const s=N(e,i);return t[i]={...r[i],...s[i]},t},{}):C.call(l,s)&&l[s]>0?Object.keys(l).reduce((t,i)=>{if(-1!==i.indexOf(`${s}.`)){const s=i.substring(i.lastIndexOf(".")+1),r=N(e,s);t[s]=r[s]}return t},{}):e}function T(t,i,s=!1){const r=Array.isArray(i),n=i?.at?.(1);function o(i,s){const r=`${t.name}.${i}`;return C.call(l,r)&&l[r]>0||F(s)?e.isPlainObject(s)?function(t,i){i="string"==typeof i?i:"{}";const s=e.isPlainObject(t)?t[i]:void 0,r=e.isPlainObject(s);return r&&"string"==typeof s.error?x(s.error):r?s.data:void 0}(s,n):void 0:s}class c{get name(){return t.name}get size(){return r&&e.isPlainObject(t.container)?Object.entries(t.container).reduce((s,[r,n])=>{const o=`${t.name}.${r}`;return C.call(l,o)&&l[o]>0||F(n)?e.isPlainObject(n)&&C.call(n,i[1])&&s++:s++,s},0):t.size}has(s){const n=t.has(s);if(r){const r=t.get(s),n=`${t.name}.${s}`;if(C.call(l,n)&&l[n]>0||F(r))return e.isPlainObject(r)&&C.call(r,i[1])}return n}get(e){const i=t.get(e);return r?o(e,i):i}set(e,i){const s=r?z(t,i,e,n):J(t,i,e);t.set(e,s)}delete(e){if(r&&F(t.get(e))){const s=t.get(e),r=C.call(s,i[1]);if(r){const r={...s};delete r[i[1]],0===Object.keys(r).length?t.delete(e):t.set(e,r)}return r}return t.delete(e)}clear(){t.clear()}update(e,i){return t.update(e,s=>{const c=r?o(e,s):s,a=i(c);return r?z(t,a,e,n):J(t,a,e)})}dispatch(e,i){return t.dispatch(e,i)}}return s?new class extends c{subscribe(e,i){return t.subscribe(e,i)}subscribeAction(i,s){return e.isFunction(s),t.subscribeAction(i,s)}}:new c}function V(t){return new class{get config(){return t.config}get(){return t.get()}load(){return R(t,!0)}subscribe(i){return e.isFunction(i),t.subscribe(i)}subscribeAction(i,s){return e.isFunction(s),t.subscribeAction(i,s)}subscribeLoad(i){return e.isFunction(i),t.subscribeLoad(i)}}}function D(t,e,i){return!i[t]&&(i[t]=[]),i[t].push(e),{unsubscribe(){const s=i[t],r=s?.indexOf(e);r>-1&&s.splice(r,1)}}}function I(t,i,s,r,n,o,c){const a=t[r];if(e.isFunction(a))try{const t={type:n,payload:o};"error"===r?a(t,s,c):a(t,s)}catch(t){}}function W(t,e,i,s,r,n,o){if(t[r]){const e=t[r];for(const t of e)"error"===s?I(t,0,i,s,r,n,o):I(t,0,i,s,r,n)}}function q(t,e,i=t=>t){return Object.entries(t).reduce((t,[s,r])=>{var n;return t[s]=(n=r,(t,s,r)=>{r?n(i(t),e(),r):n(i(t),e())}),t},{})}function B(t,i,...s){const r=new t(...arguments.length>2?s:[]);return f.set(r,!0),r.update(e.isPlainObject(i)?i:{}),r.connect(),r}function G(t,e){const s=i.deepSort(e??{}).value,r=i.deepSort(t??{}).value;return`${JSON.stringify(s,i.circularRefReplacer())}:${JSON.stringify(r,i.circularRefReplacer())}`}class H extends Error{constructor(t){super("string"==typeof t?t:t instanceof Error?t.message:void 0),this.name="StoreActionError",this.error=t}}o.registerDecorators(H,{fields:["name"]}),n.registerErrorConstructor("StoreActionError",H);const Q=Object.freeze({});function U(t){const{loader:i}=t||{},s=e.isPlainObject(i);return{handler:!s&&e.isFunction(i)?i:s&&e.isFunction(i.handler)?i.handler:void 0,abortable:s&&!0===i.abortable}}function X(t,e,i,s){const r=i?{key:s,subscriber:t,unsubscribable:i}:{key:s,subscriber:t};return e.push(r),{unsubscribe:()=>{r.unsubscribable?.unsubscribe();const t=e,i=t.indexOf(r);i>-1&&t.splice(i,1)}}}function Y(t){for(const e of t)delete e.unsubscribable}function Z(t,e,i){const s=`${t.name}.${e}`;return i?`${s}.${i}`:s}function tt(t,i,s,r=1){const n=Z(t,i);[n,`${n}.${s}`].forEach(t=>{const i=l[t],s=(e.isInteger(i)?i:0)+r;s>0?l[t]=s:delete l[t]})}function et(t){return M(t)?t:function(t=!1){return{data:void 0,error:void 0,loaded:!1,loading:t}}()}t.Store=class{constructor(t,i=Object.freeze({})){if(this.actions={},this.actionSubscribers={},this.subscribers={},this.localState=T(this),this.name=t,this.options=i,a.has(t))return a.get(t);if(a.set(t,this),Reflect.has(i,"state")?this._updateContainer(e.isFunction(i.state)?i.state():i.state):e.isPlainObject(k(this.name))||w(this.name,{}),e.isPlainObject(i.actions))for(const[s,r]of Object.entries(i.actions))if(e.isPlainObject(r)&&"string"==typeof r.namespace&&e.isFunction(r.handler)){const{namespace:t,handler:e}=r,i=`${t}/${s}`;if(h.has(i))throw new TypeError(`[store] handler already registered for action type in namespace '${t}': ${s}`);h.set(i,this),this._registerAction(s,e)}else{if(!e.isFunction(r))throw new TypeError(`[store] invalid action configuration for store '${t}': ${s}`);this._registerAction(s,r)}const s=T(this,void 0,!0);if(Array.isArray(i.plugins))for(const t of i.plugins)t(s)}get size(){return Object.keys(this.container).length}get container(){return k(this.name)}_updateContainer(t){const s=i.readonly(t);w(this.name,e.isPlainObject(s)?s:{})}_has(t){return Reflect.has(this.container,t)}_get(t){const e=this.container,i=Reflect.has(e,t)?e[t]:void 0;return function(t,e,...i){const s=JSON.stringify([t,e,...i]),r=v();return Reflect.has(r,g)&&!0===r[g][s]}(this.name,t)?x(i):i}_delete(t){return!!this._has(t)&&(this._notify(t,()=>{E(this.name,t);const{[t]:e,...i}=this.container;this._updateContainer(i)}),!0)}_update(t,e){this._notify(t,()=>this._set(t,e))}_set(t,e){const i=e instanceof Error,s=i?L(e):e;i?j(this.name,t):E(this.name,t),this._updateContainer({...this.container,[t]:s})}_notify(t,i){const s=this._get(t);this._notifyMutationSubscribers("before",t,s instanceof Error?void 0:s),e.isFunction(i)&&i();const r=this._get(t);r instanceof Error?this._notifyMutationSubscribers("error",t,void 0,r):this._notifyMutationSubscribers("after",t,r)}_registerAction(t,e){this.actions[t]=t=>{try{const i=e.call(null,this.localState,t);return Promise.resolve(i)}catch(t){return Promise.reject(t)}}}_notifyActionSubscribers(t,e,i,s){W(this.actionSubscribers,0,this.localState,t,e,i,s)}_notifyMutationSubscribers(t,e,i,s){W(this.subscribers,0,this.localState,t,e,i,s)}_dispatchAction(t,e,s){const r=i.readonly(s);return this._notifyActionSubscribers("before",t,r),new Promise((i,s)=>{e(r).then(e=>{this._notifyActionSubscribers("after",t,e),i(e)}).catch(e=>{const i=e instanceof Error?e:new H(e);this._notifyActionSubscribers("error",t,r,i),s(i)})})}has(t){return this._has(t)}get(t){return this._get(t)}set(t,e){this._update(t,e)}delete(t){return this._delete(t)}clear(){for(const t of Object.keys(this.container))this._delete(t)}update(t,i){if(e.isFunction(i)){const e=t;this._update(e,i(this._get(e)))}}dispatch(t,i){const s=this.actions[t];if(e.isFunction(s))return this._dispatchAction(t,s,i);if(t.includes("/")&&h.has(t)){const e=t.substring(t.indexOf("/")+1);return h.get(t).dispatch(e,i)}const r=`unknown action type: ${t}`;return Promise.reject(new TypeError(r))}subscribe(t,e){const i=t,s="function"==typeof(r=e)?{after:r,error:r}:r;var r;const n=this.subscribers,o=D(i,s,n),c="undefined"!=typeof window&&!0===this.options?.discard,a={unsubscribe:()=>{o.unsubscribe(),!c||Reflect.has(n,i)&&0!==n[i].length||(delete n[i],this._delete(i))}};if(this._has(i)){const t=this._get(i);t instanceof Error?I(s,0,this.localState,"error",i,void 0,t):I(s,0,this.localState,"after",i,t)}return a}subscribeAction(t,e){const i="function"==typeof e?{after:e,error:e}:e;if(t.includes("/")&&h.has(t)){const i=t.substring(t.indexOf("/")+1);return h.get(t).subscribeAction(i,e)}return D(t,i,this.actionSubscribers)}},t.StoreActionError=H,t.StoreAdapter=class{get config(){return this._config||Q}constructor(t,s,r,n){if(this.uuid=i.uuidv4(),this.connectors=[],this.rawMutationSubscribers=[],this.rawActionSubscribers=[],this.rawLoadSubscribers=[],this.loadSubscribers={},this.activeSubscriptions=[],this.localState=void 0,this.isConnected=!1,this.isSubscribed=!1,this._config=void 0,this._context=void 0,this.entryKey=void 0,this.lastCallbackEntry=void 0,this.dataCallback=t,this.store=s,this.key=r,this.options=n,n&&Array.isArray(n.connectors))for(const t of n.connectors)e.isPlainObject(t)?this.connectors.push(t):e.isFunction(t)&&this.connectors.push({connect:t})}get loadingPromises(){return u.get(this.store.name)}_notifyConnectors(t){for(const i of this.connectors)e.isFunction(i[t])&&i[t](V(this),{type:this.key,payload:this.config},this.localState)}_notifyLoadSubscribers(t,e){const{data:i}=this._read();W(this.loadSubscribers,0,this.localState,t,this.key,i,e)}_obtainLoadingPromiseKey(){return`${this.key}:${this.entryKey}`}_obtainRawEntryContainer(){return this.store.get(this.key)}_obtainEntryContainer(){const t=this._obtainRawEntryContainer();return e.isPlainObject(t)?{...t}:{}}_obtainEntry(t){const i=e.isPlainObject(t)?t:this._obtainEntryContainer();return i?.[this.entryKey]}_read(t){return et(t||this._obtainEntry())}_writeContainer(t){this.store.set(this.key,t)}_write(t,e=this.entryKey){const i=this._obtainEntryContainer();i[e]=t,this._updateMeta("w",e),this._writeContainer(i)}_updateMeta(t,e=this.entryKey){const i=`${this.store.name}:${this.key}`,s=O(i)??{};"d"===t?Reflect.deleteProperty(s,e):Reflect.set(s,e,performance.now()+performance.timeOrigin),P(i,s)}_callback(t){if(this.isConnected&&this.dataCallback&&!i.deepEqual(t,this.lastCallbackEntry).value){this.lastCallbackEntry=t;const{error:e}=t,s={...t};s.error="string"==typeof e?x(e):void 0,i.readonly(s),this.dataCallback.call(null,s)}}_removeLoadingPromise(t){const i=this.loadingPromises,s=i?.get(t);i?.delete(t),e.clearDebounceTimeout(s),e.clearDebounceTimeout(b.get(t))}_unsubscribe(){if(this.isSubscribed){this.isSubscribed=!1,tt(this.store,this.key,this.entryKey,-1);if("undefined"!=typeof window&&!0===(this.options?.discard||this.store.options.discard)&&e.isPlainObject(this._obtainRawEntryContainer())){const t=Z(this.store,this.key,this.entryKey);if(!Reflect.has(l,t)){const t=this._obtainEntryContainer();if(delete t[this.entryKey],0===Object.keys(t).length){P(`${this.store.name}:${this.key}`,{}),this.store.delete(this.key)}else this._updateMeta("d"),this._writeContainer(t)}}this._notifyConnectors("disconnect")}for(const t of this.activeSubscriptions)t.unsubscribe();this.activeSubscriptions.splice(0,this.activeSubscriptions.length),Y(this.rawMutationSubscribers),Y(this.rawActionSubscribers),Y(this.rawLoadSubscribers);for(const t of Object.keys(this.loadSubscribers))delete this.loadSubscribers[t];delete this.lastCallbackEntry}_subscribe(){if(!this.isConnected||!this._config)return;this._unsubscribe();const t=G(this._config,this._context);if(this.entryKey!==t){this.entryKey=t,this.localState=T(this.store,[this.key,this.entryKey,this.uuid]);const e=this._obtainRawEntryContainer();if(void 0!==e&&!F(e)){const t=N(e,this.entryKey);Object.keys(t).forEach(t=>this._updateMeta("w",t)),this._writeContainer(t)}}tt(this.store,this.key,this.entryKey),u.has(this.store.name)||u.set(this.store.name,new Map),this._notifyConnectors("connect");for(const t of this.rawLoadSubscribers){const e=D(this.key,t.subscriber,this.loadSubscribers);this.activeSubscriptions.push(e),t.unsubscribable=e}this.isSubscribed=!0;this.activeSubscriptions.push(this.store.subscribe(this.key,(()=>{let t;const i=({payload:i})=>{if(this.entryKey&&(e.isPlainObject(t)&&Reflect.has(t,this.entryKey)||e.isPlainObject(i)&&Reflect.has(i,this.entryKey))){const t=this._obtainEntry(i);this._isValid(t)&&this._callback(this._read(t))}};return{before:({payload:e})=>{t=e},after:i,error:i}})())),!U(this.options).handler||"undefined"==typeof window&&!f.get(this)?this._callback(this._read()):this._getAsync(this._read());for(const t of this.rawMutationSubscribers){const e=this.store.subscribe(this.key,t.subscriber);this.activeSubscriptions.push(e),t.unsubscribable=e}for(const t of this.rawActionSubscribers){const e=this.store.subscribeAction(t.key,t.subscriber);this.activeSubscriptions.push(e),t.unsubscribable=e}}_getAsync(t){const s=this._obtainLoadingPromiseKey(),r=this.loadingPromises?.get(s),n=e.isPromiseLike(r);return n?r:t.loaded||t.loading?t.loading&&!n?R(this,!1):this._isValid(t)?Promise.resolve(i.readonly(t)):R(this,!1):R(this,!1)}_isValid(t){if(this.options&&e.isFunction(this.options.validator))try{if(!this.options.validator({type:this.key,payload:i.readonly(t)},V(this),this.localState))return!1}catch{}const s=`${this.store.name}:${this.key}`,r=O(s)?.[this.entryKey];if("number"==typeof r){const t="number"==typeof this.options?.cache?.ttl&&!Number.isNaN(this.options.cache.ttl)&&this.options.cache.ttl>=-1?this.options?.cache?.ttl:300;if(-1===t)return!0;return 1e3*t>=performance.now()-(r-performance.timeOrigin)}return!0}_load(t,s){this._notifyLoadSubscribers("before");const{name:r}=this.store;try{const n=!1!==d.get(this),o=(n?e.debounce(t):t)({type:this.key,payload:this._config},this.localState);if(e.isPromiseLike(o)){n&&b.set(s,o);const t=c.AbortablePromise.from(o).then(e=>{const n=this._obtainLoadingPromiseKey(),o=this.loadingPromises?.get(n);if(n!==s){b.delete(s),this._removeLoadingPromise(s);const t=s.substring(s.indexOf(":")+1);E(r,this.key,t),this._write({data:e,error:void 0,loaded:!0,loading:!1},t)}else o&&o===t&&(b.delete(n),this._removeLoadingPromise(n),E(r,this.key,this.entryKey),this._write({data:e,error:void 0,loaded:!0,loading:!1}),this._notifyLoadSubscribers("after"));return i.readonly(this._read())},e=>{const n=this._obtainLoadingPromiseKey(),o=this.loadingPromises?.get(n);if(n!==s){b.delete(s),this._removeLoadingPromise(s);const t=s.substring(s.indexOf(":")+1);if(e instanceof c.AbortError){E(r,this.key,t);const e=this._obtainEntryContainer();this._write({...et(e?.[t]),loading:!1},t)}else j(r,this.key,t),this._write({data:void 0,error:L(e),loaded:!0,loading:!1},t)}else o&&o===t&&(b.delete(n),this._removeLoadingPromise(n),e instanceof c.AbortError?(E(r,this.key,this.entryKey),this._write({...this._read(),loading:!1}),this._notifyLoadSubscribers("after")):(j(r,this.key,this.entryKey),this._write({data:void 0,error:L(e),loaded:!0,loading:!1}),this._notifyLoadSubscribers("error",e)));return i.readonly(this._read())});return this.loadingPromises?.set(s,t),this._write({...this._read(),loading:!0}),t}E(r,this.key,this.entryKey),this._write({data:o,error:void 0,loaded:!0,loading:!1}),this._notifyLoadSubscribers("after")}catch(t){if(t instanceof c.AbortError)E(r,this.key,this.entryKey),this._write({...this._read(),loading:!1}),this._notifyLoadSubscribers("after");else{j(r,this.key,this.entryKey);const e=L(t);this._write({data:void 0,error:e,loaded:!0,loading:!1}),this._notifyLoadSubscribers("error",t)}}return b.delete(s),Promise.resolve(i.readonly(this._read()))}update(t,e){this._config=i.readonly(t),this._context=i.readonly(e??{}),this._subscribe()}connect(){this.isConnected||(f.has(this)&&f.set(this,!0),this.isConnected=!0,this._subscribe())}disconnect(){this.isConnected&&(f.has(this)&&f.set(this,!1),this.isConnected=!1,this._unsubscribe())}get(){return this._getAsync(this._read()).then(t=>{if("string"==typeof t.error)throw x(t.error);return t})}load(){const t=U(this.options);if(!this.isSubscribed||!t.handler)return Promise.resolve(i.readonly(this._read()));const s=this._obtainLoadingPromiseKey(),r=this.loadingPromises?.get(s);if(e.isPromiseLike(r)&&(e.extendDebouncedTimeout(r)||e.extendDebouncedTimeout(b.get(s))))return r;const{handler:n}=t;return this._load(n,s)}subscribe(t){const i=()=>this.localState,s=t=>{const{payload:e}=t;return{type:t.type,payload:e?.[this.entryKey]?.data}},r=e.isFunction(t)?q({after:t,error:t},i,s):q(t,i,s),n=this.isSubscribed?this.store.subscribe(this.key,r):void 0;return n&&this.activeSubscriptions.push(n),X(r,this.rawMutationSubscribers,n)}subscribeAction(t,e){const i=()=>this.localState,s=q("function"==typeof e?{after:e,error:e}:e,i),r=this.isSubscribed?this.store.subscribeAction(t,s):void 0;return r&&this.activeSubscriptions.push(r),X(s,this.rawActionSubscribers,r,t)}subscribeLoad(t){const i=()=>this.localState,s=e.isFunction(t)?q({after:t,error:t},i):q(t,i),r=this.isSubscribed?D(this.key,s,this.loadSubscribers):void 0;return r&&this.activeSubscriptions.push(r),X(s,this.rawLoadSubscribers,r)}},t.deleteStoreAdapterValue=function(t,e,...i){const s=B(t,e,...i),r=T(s.store,[s.key,s.entryKey,s.uuid]);s.disconnect(),s.options?.discard||s.store.options.discard||r.delete(s.key)},t.deserializeError=x,t.distributeStoreAdapterValue=function(t,e,...i){const s=B(t,{},...i);s.disconnect();const r=s.store,n=s.key,o=Reflect.get(r.container,n),c=`${r.name}.${n}`;C.call(l,c)&&l[c]>0||F(o)?r.set(n,J(r,e,n)):r.set(n,e)},t.getStoreAdapterValue=function(t,e,...i){const s=B(t,e,...i);return s.get().then(t=>t.data).finally(()=>{s.disconnect()})},t.hasSubscribers=function(t,i,s,r){const n=`${t.name}.${i}`;if(e.isPlainObject(s)||e.isPlainObject(r)){const t=`${n}.${G(s,r)}`;return Reflect.has(l,t)&&Number(l[t])>0}return Reflect.has(l,n)&&Number(l[n])>0||Reflect.has(t.subscribers,i)&&t.subscribers?.[i]?.length>0},t.serializeError=L,t.setStoreAdapterValue=function(t,e,i,...s){const r=B(t,i,...s),n=r.store,o=r.key;r.disconnect(),n.set(o,z(n,e,o,r.entryKey))},Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/config",["exports"],function(e){e.currentRelease={currentRelease:"252",apiVersion:"v62.0"},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("experience/cmsDeliveryApi",["exports","experience/store","experience/config","experience/data","experience/utils"],function(e,t,r,n,i){const o=r.currentRelease.apiVersion;async function s(e){if(!i.isPlainObject(e))throw new TypeError("Options are required to successfully be able to execute this request.");if("string"!=typeof e.channelOrSiteId||0===e.channelOrSiteId.trim().length)throw new TypeError("The 'channelOrSiteId' parameter is required to successfully execute this request.");if("string"!=typeof e.contentKeyOrId||0===e.contentKeyOrId.trim().length)throw new TypeError("The 'contentKeyOrId' parameter is required to successfully execute this request.");const t=function(e,t){if(e.startsWith("0DM"))return`/services/data/${o}/connect/sites/${e}/cms/delivery/contents/${t}`;if(e.startsWith("0ap"))return`/services/data/${o}/connect/cms/delivery/channels/${e}/contents/${t}`;throw new TypeError("The 'channelOrSiteId' parameter is invalid")}(encodeURIComponent(e.channelOrSiteId),encodeURIComponent(e.contentKeyOrId));return n.fetchService(t).catch(e=>{throw new Error(e.statusText)})}const c=new t.Store("@@CmsDeliveryApi");function a(e){return s(e.payload)}const u=r.currentRelease.apiVersion,l=["channelOrSiteId"],d={channelOrSiteId:"string",contentKeys:"array",managedContentIds:"array",contentTypeFQN:"string",page:"number",pageSize:"number",referenceDepth:"number",includeContentBody:"boolean"},p=Object.values(d).filter((e,t,r)=>r.indexOf(e)===t);function f(e){return"array"===e}function h(e,t){return f(t)?Array.isArray(e):(r=t,p.includes(r)&&typeof e===t);var r}function y(e){return"string"==typeof e&&e.trim().length>0}async function v(e){if(!i.isPlainObject(e))throw new TypeError("Enter input parameters to execute the request.");if(!y(e.channelOrSiteId))throw new TypeError("Enter a value for channelOrSiteId.");const t=encodeURIComponent(e.channelOrSiteId),r=function(e){const t={};for(const[n,o]of Object.entries(e)){const e=d[n];if(r=n,!(l.includes(r)||i.isNil(o)||i.isNil(e))){if(!h(o,e))throw"array"===e?new TypeError(`The type entered for ${n} isn’t valid. Enter the value as an ${e}.`):new TypeError(`The type entered for ${n} isn’t valid. Enter the value as a ${e}.`);if(f(e)){const e=o.join(",");y(e)&&(t[n]=e)}(y(o)||i.isInteger(o)||"boolean"==typeof o)&&(t[n]=o.toString())}}var r;return t}(e),o=function(e,t){if(e.startsWith("0DM"))return n.composeUri(`/services/data/${u}/connect/sites/${e}/cms/delivery/contents`,t);if(e.startsWith("0ap"))return n.composeUri(`/services/data/${u}/connect/cms/delivery/channels/${e}/contents`,t);throw new TypeError("Enter a valid prefix for channelOrSiteId.")}(t,r);return n.fetchService(o).catch(e=>{throw new Error(e.statusText)})}const m=new t.Store("@@CmsDeliveryListApi");function w(e){return v(e.payload)}class O extends t.StoreAdapter{constructor(e){super(e,c,"content",{loader:a})}}class I extends t.StoreAdapter{constructor(e){super(e,m,"contents",{loader:w})}}e.getContent=O,e.getContents=I,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pg_SiteFooter",["exports","lwc","lightning/formattedRichText","experience/cmsDeliveryApi","lightning/navigation","@salesforce/site/Id","@salesforce/community/basePath","@salesforce/resourceUrl/flags","@salesforce/resourceUrl/icons","@salesforce/apex/PG_FooterController.getFooterConfigurationByCountry","@salesforce/label/c.PG_FooterLogoAltText","@salesforce/label/c.PG_FooterFlagAltText"],function(e,i,t,l,a,o,n,s,r,c,g,d){function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=f(t),h=f(o),p=f(n),b=f(s),m=f(r),_=f(c),L=f(g),y=f(d);var v=[function(e,i,t){var l=e?"["+e+"]":"";return".componentContainer"+l+" {background: #ffffff;}.contentContainer"+l+" {max-width: 1400px;width: 100%;}.topPanelContainer"+l+" {border-bottom: 1px solid #525252;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}.logo"+l+" {height: 52px;width: 109px;}.countryContainer"+l+" {width: -webkit-fit-content;width: -moz-fit-content;width: fit-content;height: 50px;border: 1px solid #0057B7;border-radius: 50px;-webkit-box-align: center;-ms-flex-align: center;align-items: center;padding-right: 25px;}.countryContainer"+l+" > img"+l+" {padding-left: 2px;width: 45px;height: 46px;border-radius: 50px;}.countryContainer"+l+" > h4"+l+" {color: #0057B7;font-style: italic;}li"+l+" {font-size: 12px;}.adchoices-link-wrapper"+l+" a"+l+" {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}.adchoices-link-wrapper"+l+" img"+l+" {width: 16px;height: 16px;margin-left: 4px;position: relative;top: 0;-o-object-fit: contain;object-fit: contain;}@media only screen and (max-width: 480px) {.middlePanelMobileAlignment"+l+" {-webkit-box-align: center;-ms-flex-align: center;align-items: center;}.bottomPanelMobileAlignment"+l+" {-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-orient: vertical;-webkit-box-direction: reverse;-ms-flex-direction: column-reverse;flex-direction: column-reverse;}.bottomPanelMobileAlignment"+l+" > li"+l+" > div"+l+" {text-align: center;padding-inline: 20%;padding-top: 32px;}.bottomPanelMobileAlignment"+l+" > li"+l+" > a"+l+" {padding-left: 0;padding-right: 0;}}"}];const x=i.parseFragment`<img class="logo${0}"${"a0:src"}${"a0:alt"} tabindex="0"${2}>`,P=i.parseFragment`<div class="slds-grid slds-grid_vertical slds-p-vertical_large middlePanelMobileAlignment${0}"${2}><div class="countryContainer slds-grid${0}"${2}><img${"a2:src"}${"a2:alt"} tabindex="0"${3}><h4 class="slds-p-horizontal_medium${0}" tabindex="0"${2}>${"t4"}</h4></div></div>`,$=i.parseFragment`<li tabindex="0"${3}>${"t1"}</li>`,C=i.parseFragment`<li${3}><a${"a1:href"} class="slds-p-right_large${0}" rel="noopener" target="_blank"${2}>${"t2"}</a></li>`,U=i.parseFragment`<li${3}><a${"a1:href"} class="slds-p-right_large${0}" rel="noopener" target="_blank"${2}>${"t2"}</a></li>`,k=i.parseFragment`<li${3}><a${"a1:href"} class="slds-p-right_large${0}" rel="noopener" target="_blank"${2}>${"t2"}</a></li>`,A=i.parseFragment`<li${3}><a${"a1:href"} class="slds-p-right_large${0}" rel="noopener" target="_blank"${2}>${"t2"}</a></li>`,w=i.parseFragment`<li${3}><a href="" class="slds-p-right_large${0}" rel="noopener" target="_self"${2}>${"t2"}</a></li>`,M=i.parseFragment`<li class="adchoices-link-wrapper${0}"${2}><a${"a1:href"} class="outline${0}"${"a1:aria-label"} target="_blank"${2}>${"t2"}<img${"a3:src"}${"a3:alt"}${3}></a></li>`,R={classMap:{"slds-grid":!0,"slds-align_absolute-center":!0,componentContainer:!0},key:0},G={classMap:{"slds-grid":!0,"slds-grid_vertical":!0,"slds-p-around_large":!0,contentContainer:!0},key:1},F={classMap:{"slds-grid":!0,"slds-grid_align-spread":!0,"slds-p-bottom_large":!0,topPanelContainer:!0},key:2},T={classMap:{"slds-size_1-of-2":!0,"slds-grid":!0,"slds-grid_align-end":!0,"slds-text-align_right":!0,footerLegalAdvice:!0},key:5},O={classMap:{"slds-grid":!0,"slds-wrap":!0,"slds-grid_align-spread":!0,bottomPanelMobileAlignment:!0},key:9},V={key:12},N={classMap:{"slds-grid":!0,"slds-wrap":!0,bottomPanelMobileAlignment:!0},key:13};function I(e,i,t,l){const{sp:a,st:o,c:n,h:s,d:r,b:c,fr:g}=e,{_m0:d}=l;return[s("div",R,[s("div",G,[s("div",F,[o(x,4,[a(0,{attrs:{src:i.footerLogoUrl,alt:i.logoAltText}},null)]),s("div",T,[n("lightning-formatted-rich-text",u.default,{props:{value:i.legalAdvice,tabIndex:"0"},key:6})])]),o(P,8,[a(2,{attrs:{src:i.flag,alt:i.flagAltText}},null),a(4,null,r(i.configuration.displayedcCountrynName))]),s("ul",O,[o($,11,[a(1,null,r(i.configuration.copyrightMessage))]),s("li",V,[s("ul",N,[i.isCookiesPolicyVisible?o(C,15,[a(1,{attrs:{href:i.configuration.cookiesPolicyURL}},null),a(2,null,r(i.configuration.cookiesPolicyLabel))]):null,i.isPrivacyVisible?o(U,17,[a(1,{attrs:{href:i.configuration.privacyURL}},null),a(2,null,r(i.configuration.privacyLabel))]):null,i.isMedicalProfessionalsVisible?o(k,19,[a(1,{attrs:{href:i.configuration.medicalProfessionalsURL}},null),a(2,null,r(i.configuration.medicalProfessionalsLabel))]):null,i.isTermsOfUseVisible?o(A,21,[a(1,{attrs:{href:i.configuration.termsOfUseURL}},null),a(2,null,r(i.configuration.termsOfUseLabel))]):null,i.isContactVisible?o(w,23,[a(1,{on:{click:d||(l._m0=c(i.handleContactUs))}},null),a(2,null,r(i.configuration.contactLabel))]):null,i.isAdChoicesVisible?g(24,[o(M,26,[a(1,{attrs:{href:i.configuration.adChoicesURL,"aria-label":i.configuration.adChoicesLabel}},null),a(2,null,r(i.configuration.adChoicesLabel)),a(3,{attrs:{src:i.adChoicesLogoUrl,alt:i.configuration.adChoicesLabel}},null)])],0):null])])])])])]}var D=i.registerTemplate(I);I.stylesheets=[],I.stylesheetToken="c-pg_SiteFooter_pg_SiteFooter",v&&I.stylesheets.push.apply(I.stylesheets,v),i.freezeTemplate(I);class z extends(a.NavigationMixin(i.LightningElement)){constructor(...e){super(...e),this.country=void 0,this.contentId=void 0,this.alternativeLegalAdvice=void 0,this.footerLogoUrl=void 0,this.logoAltText=L.default,this.flagAltText=y.default,this.adChoicesLogoUrl=`${m.default}/adchoices.svg`,this.contactApiName="CONTACTO__c",this.configuration={country:null,label:null,legalAdvice:null,copyrightMessage:null,cookiesPolicyLabel:null,cookiesPolicyURL:null,privacyLabel:null,privacyURL:null,medicalProfessionalsLabel:null,medicalProfessionalsURL:null,termsOfUseLabel:null,termsOfUseURL:null,adChoicesLabel:null,adChoicesURL:null,contactLabel:null,contactURL:null},this.footerLogoData=void 0}results({data:e,error:i}){e?this.setupContent(e):i&&console.log(i)}onGetFooterLogo({data:e,error:i}){e&&(this.footerLogoData=e,this.footerLogoUrl=`${p.default}/sfsites/c${e.contentBody["sfdc_cms:media"].url}`)}handleContactUs(e){e.preventDefault(),this[a.NavigationMixin.Navigate]({type:"comm__namedPage",attributes:{name:this.contactApiName}})}setupContent(e){this.configuration.country=e.PG_Country__c,this.configuration.displayedcCountrynName=e.PG_DisplayedCountryName__c||e.PG_Country__c,this.configuration.label=e.MasterLabel,this.configuration.legalAdvice=e.PG_LegalAdvice__c,this.configuration.copyrightMessage=e.PG_CopyrightMessage__c,this.configuration.cookiesPolicyLabel=e.PG_CookiesPolicyLabel__c,this.configuration.cookiesPolicyURL=e.PG_CookiesPolicyURL__c,this.configuration.privacyLabel=e.PG_PrivacyLabel__c,this.configuration.privacyURL=e.PG_PrivacyURL__c,this.configuration.medicalProfessionalsLabel=e.PG_MedicalProfessionalsLabel__c,this.configuration.medicalProfessionalsURL=e.PG_MedicalProfessionalsURL__c,this.configuration.termsOfUseLabel=e.PG_TermsOfUseLabel__c,this.configuration.termsOfUseURL=e.PG_TermsOfUseURL__c,this.configuration.adChoicesLabel=e.PG_AdChoicesLabel__c,this.configuration.adChoicesURL=e.PG_AdChoicesURL__c,this.configuration.contactLabel=e.PG_ContactLabel__c,this.configuration.contactURL=e.PG_ContactURL__c}get legalAdvice(){return this.alternativeLegalAdvice&&""!==this.alternativeLegalAdvice?this.alternativeLegalAdvice:this.configuration.legalAdvice}get flag(){return b.default+"/flags/"+this.configuration.country+".png"}get isCookiesPolicyVisible(){return this.configuration.cookiesPolicyLabel}get isPrivacyVisible(){return this.configuration.privacyLabel}get isMedicalProfessionalsVisible(){return this.configuration.medicalProfessionalsLabel}get isTermsOfUseVisible(){return this.configuration.termsOfUseLabel}get isAdChoicesVisible(){return this.configuration.adChoicesLabel}get isContactVisible(){return this.configuration.contactLabel}}i.registerDecorators(z,{publicProps:{country:{config:0},contentId:{config:0},alternativeLegalAdvice:{config:0}},track:{configuration:1},wire:{results:{adapter:_.default,dynamic:["country"],method:1,config:function(e){return{country:e.country}}},onGetFooterLogo:{adapter:l.getContent,dynamic:["contentKeyOrId"],method:1,config:function(e){return{channelOrSiteId:h.default,contentKeyOrId:e.contentId}}}},fields:["footerLogoUrl","logoAltText","flagAltText","adChoicesLogoUrl","contactApiName","footerLogoData"]});const j=i.registerComponent(z,{tmpl:D,sel:"c-pg_site-footer",apiVersion:58});e.default=j,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("dxp_data_provider/userDataProvider",["exports","@salesforce/loader","lwc","experience/dataLayerObject","experience/dataProvider"],function(e,t,s,r,a){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=i(r),o=i(a);const u=[];function c(e,t,s,r){const{c:a,s:i}=e;return[a("experience-data-layer-object",d.default,{props:{scriptDataAttributes:t.dataAttributes,customObject:t.userDataLayer},key:0}),i("",{key:1,slotData:t.dataProxyContext},u,s)]}var n=s.registerTemplate(c);c.slots=[""],c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-1qlnuek0fto",c.legacyStylesheetToken="dxp_data_provider-userDataProvider_userDataProvider",s.freezeTemplate(c);class l extends o.default{constructor(...e){super(...e),this.sfdcExpressionKey=void 0,this.childData=void 0,this.userId=void 0,this.isGuest=void 0}triggerAsyncImports(){void 0===this.isGuest&&t.load("@salesforce/user/isGuest").then(e=>{this.isGuest=e.default,!1===this.isGuest&&t.load("@salesforce/user/Id").then(e=>{this.userId=e.default})})}get sfdcData(){return{userId:this.userId,isGuest:this.isGuest,...this.childData}}hasData(e){return this.isGuest||void 0!==this.sfdcData[e]}get userDataLayer(){return{crmId:this.userId,attributes:{isGuest:this.isGuest}}}get dataAttributes(){return{providerType:"user"}}connectedCallback(){this.triggerAsyncImports()}render(){return n}}l.renderMode="light",s.registerDecorators(l,{publicProps:{sfdcExpressionKey:{config:0},childData:{config:0}},publicMethods:["hasData"],fields:["userId","isGuest"]});const p=s.registerComponent(l,{tmpl:n,sel:"dxp_data_provider-user-data-provider",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/apex/PG_NavigationMenuItemsController.getNavigationMenuItems",["exports","lwc","force/ldsAdaptersApex"],function(e,s,o){const i=o.getApexInvoker("","@udd/01pDn00000aCtR4","getNavigationMenuItems","false"),p=s.registerComponent(i,{tmpl:void 0,sel:"@salesforce-7uq2xflp5xthyrx42wbci4suy71zej3pjbczxlskwuri9q6xg6gu0iqeoq1zvrkap9bokmbn5i1kw6khdlsxxvkfypw8j",apiVersion:62});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/user/isGuest', ['@app/user'], function(m) { return (m && typeof m === 'object' && 'default' in m ? m.default : m)['isGuest'] });LWR.define('@salesforce/user/Id', ['@app/user'], function(m) { return (m && typeof m === 'object' && 'default' in m ? m.default : m)['id'] });LWR.define('@salesforce/schema/User.Name', [], function() { return {"objectApiName":"User","fieldApiName":"Name"}; });LWR.define('@salesforce/schema/User.Contact.Salutation', [], function() { return {"objectApiName":"User","fieldApiName":"Contact.Salutation"}; });LWR.define('@salesforce/label/c.PG_Menu_Toggle', ['@view/scopedHeaderAndFooter/labels'], m => m[3]);LWR.define('@salesforce/label/c.PG_My_Profile', ['@view/scopedHeaderAndFooter/labels'], m => m[4]);LWR.define('@salesforce/label/c.PG_LoginButtonLabel', ['@view/scopedHeaderAndFooter/labels'], m => m[5]);LWR.define('@salesforce/label/c.PG_Health_Logo_Alt_Text_Redirect', ['@view/scopedHeaderAndFooter/labels'], m => m[6]);(function() { LWR.define("@salesforce/resourceUrl/LOGO_PG_Health_Esp",["exports","@app/basePath","@app/versionKey"],function(e,t,a){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=n(t),o=n(a),r=`${f.default}/webruntime/org-asset/${o.default}/resource/081Dn000002cLkg`;e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/apex/PG_CMSController.getCollectionItemByCollectionKey",["exports","lwc","force/ldsAdaptersApex"],function(e,o,s){const t=s.getApexInvoker("","@udd/01pDn00000aCtR2","getCollectionItemByCollectionKey","false"),d=o.registerComponent(t,{tmpl:void 0,sel:"@salesforce-2u0dznfonh3mhswjtsv2kx72ocmsfchj238jdb6t4e2fzu8mfe48rjdg3rfxddi2wonbjaa45sy2wbxks2ux",apiVersion:62});e.default=d,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/apex/PG_Utility.getCommunityCountryName",["exports","lwc","force/ldsAdaptersApex"],function(e,l,t){const m=t.getApexInvoker("","@udd/01pDn00000YSiDi","getCommunityCountryName","false"),o=l.registerComponent(m,{tmpl:void 0,sel:"@salesforce-1bv32019mcfmvdmmd7a4r4y0fy2qtfygjl54a2kptplklmbjksmif1vovll5x",apiVersion:62});e.default=o,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pgServiceNavigation",["exports","lightning/navigation","@salesforce/community/basePath"],function(e,t,a){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(a);const n="Home",_="Redeem__c",o="Surveys_List__c",s="User_Profile__c",u="Materials__c",l="Knowledge__c",d="Support__c",c=r.default||"/",g={Spain:{[n]:`${c}`,[_]:`${r.default}/redeem`,[o]:`${r.default}/surveys/list`,[s]:`${r.default}/user-profile`,[u]:`${r.default}/materials`,[l]:`${r.default}/knowledge`,[d]:`${r.default}/support`},Peru:{[n]:`${c}`,[_]:`${r.default}/redeem`,[o]:`${r.default}/surveys/list`,[s]:`${r.default}/user-profile`,[u]:`${r.default}/materials`,[l]:`${r.default}/knowledge`,[d]:`${r.default}/support`},Germany:{[n]:`${c}`,[_]:`${r.default}/redeem`,[o]:`${r.default}/surveys/list`,[s]:`${r.default}/user-profile`,[u]:`${r.default}/materials`,[l]:`${r.default}/knowledge`,[d]:`${r.default}/support`}};function P(){this[t.NavigationMixin.Navigate]||console.error("You forgot to use NavigationMixin")}e.API_NAMES_TARGETS_MAP=g,e.BRANDS_PAGE="Brands__c",e.CHANGE_PASSWORD_PAGE="Change_Password__c",e.FORGOT_PASSWORD_PAGE="Forgot_Password",e.HOME_PAGE=n,e.KNOWLEDGE_LIST_PAGE="KnowledgeList__c",e.KNOWLEDGE_PAGE=l,e.LOGIN_PAGE="Login",e.MATERIALS_PAGE=u,e.MATERIAL_LIST_PAGE="MaterialList__c",e.QUIZ_PAGE="Quiz__c",e.QUIZ_RESULT_PAGE="Quiz_Result__c",e.REDEEM_PAGE=_,e.REGISTER_PAGE="Self_Register",e.SUPPORT_PAGE=d,e.SURVEY_LIST_PAGE=o,e.SURVEY_PAGE="Surveys__c",e.TERMS_AND_CONDITIONS_PAGE="TermsAndConditions__c",e.TRAINING_PAGE="Training__c",e.USER_PROFILE_PAGE=s,e.generateURLToCustomPage=function(e,a={}){return P.call(this),this[t.NavigationMixin.GenerateUrl]({type:"comm__namedPage",attributes:{name:e},state:a})},e.getUrlParamValue=function(e){return new URL((window===globalThis||window===document?location:window.location).href).searchParams.get(e)},e.navigateToCustomPage=function(e,a,i={}){P.call(this);const r=i||e.currentTarget.dataset.urlParam,n=a||e.currentTarget.dataset.pageApiName;n&&(e.currentTarget.dataset.userId?this[t.NavigationMixin.Navigate]({type:"standard__recordPage",attributes:{recordId:e.currentTarget.dataset.userId,objectApiName:n,actionName:"view"}}):this[t.NavigationMixin.Navigate]({type:"comm__namedPage",attributes:{name:n},state:r}))},e.navigateToNamedPage=function(e,a={}){P.call(this),this[t.NavigationMixin.Navigate]({type:"comm__namedPage",attributes:{name:e},state:a})},e.navigateToWebPage=function(e,a={}){P.call(this),this[t.NavigationMixin.Navigate]({type:"standard__webPage",attributes:{url:e},state:a},!1)},Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/label/c.PG_RequiredEmailErrorMessage', ['@view/scopedHeaderAndFooter/labels'], m => m[7]);LWR.define('@salesforce/label/c.PG_RequiredPwdErrorMessage', ['@view/scopedHeaderAndFooter/labels'], m => m[8]);(function() { LWR.define("@salesforce/resourceUrl/logos",["exports","@app/basePath","@app/versionKey"],function(e,t,r){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=a(t),f=a(r),n=`${u.default}/webruntime/org-asset/${f.default}/resource/081Dn000002cRfd`;e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/label/c.PG_TextRequiredValueMissingErrorMsg', ['@view/scopedHeaderAndFooter/labels'], m => m[9]);(function() { LWR.define("@salesforce/apex/PG_BaseLookupController.doSearch",["exports","lwc","force/ldsAdaptersApex"],function(e,o,s){const d=s.getApexInvoker("","@udd/01pDn00000aE7Qh","doSearch","false"),c=o.registerComponent(d,{tmpl:void 0,sel:"@salesforce-y2os3w4cpil0zikzox23kob85dduwgvosytksad7eimdbc5w7so2e9jzc",apiVersion:62});e.default=c,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pgUtils",["exports","@salesforce/label/c.PG_RequiredEmailErrorMessage","@salesforce/label/c.PG_RequiredPwdErrorMessage","@salesforce/resourceUrl/logos","@salesforce/label/c.PG_TextRequiredValueMissingErrorMsg","@salesforce/apex/PG_BaseLookupController.doSearch"],function(e,t,r,n,o,a){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(t),l=i(r),u=i(n);const c={requiredFieldErrorMessage:i(o).default};const d=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,f={EMAIL:"email",PASSWORD:"password"};function E(e){let t="";return e.type===f.EMAIL?""!==e.value.trim()&&e.value.trim().match(d)||(t=s.default):e.type===f.PASSWORD&&""===e.value.trim()&&(t=l.default),t}function R(e,t,r=!1){const n=new CustomEvent(e,{detail:t,bubbles:r});this.dispatchEvent(n)}function O(e,t){e&&(e.setCustomValidity(t),e.reportValidity())}e.COLORS={COLOR_PRIMARY_BLUE:"#0057B8",COLOR_PRIMARY_GREY:"#4A4A4A",COLOR_SECONDARY_GREY:"#D9D9D9",COLOR_WHITE:"#FFFFFF",COLOR_BLACK:"#000000",COLOR_SKY_BLUE:"#BFEAFF",COLOR_PRIMARY_GREEN:"#3A8250",COLOR_PRIMARY_ORANGE:"#E35A00"},e.COUNTRIES={CO_COUNTRY:"Colombia",MX_COUNTRY:"Mexico",BR_COUNTRY:"Brazil"},e.COUNTRY_ISO_CODE={SPAIN:"es",PERU:"pe"},e.COUNTRY_NAME={es:"Spain",pe:"Peru"},e.CRM_PROFFESSIONS=["Médico"],e.FOCUS_LOOP_POINTS={START:"start",END:"end"},e.INPUT_TYPES=f,e.KEYBOARD_KEYS={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ENTER:"Enter",TAB:"Tab"},e.MATERIALS_CONTENT_TYPE={VIDEO:"Video",IMAGE:"Image",PDF:"PDF",BUNDLE:"Bundle"},e.PROGRESS_VALUES={COMPLETED:"Completed",IN_PROGRESS:"In progress",NOT_STARTED:"Not started"},e.areOnlyLatinCharactersUsed=function(e){return/^[\x00-\x7F]*$/.test(e)},e.checkForLookupErrors=function(e){let t=[];return 0===e.getSelection().length&&t.push({message:c.requiredFieldErrorMessage}),t},e.convertStringParamsToObject=function(e){if(!e)return{};const t=e.split(", "),r={};return t.forEach(e=>{const[t,n]=e.split("=");r[t]=n}),r},e.formattedCurrency=function(e,t,r){return`${t} ${new Intl.NumberFormat(e,{maximumFractionDigits:2,minimumFractionDigits:2}).format(r)}`},e.generateGUID=function(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)},e.getConvertedFromMilliseconds=function(e){const t=Math.floor(e/1e3%60);return[Math.floor(e/1e3/60%60).toString().padStart(2,"0"),t.toString().padStart(2,"0")].join(":")},e.getErrorMessage=E,e.getFooterLogo=function(e){return`${u.default}/${e}/footer-logo.png`},e.getNestedPropertyValue=function(e,t){const r=e.split(".");let n=t;try{return r.forEach(e=>{n=n[e]}),n}catch(e){return null}},e.getPrevYears=function(e){const t=(new Date).getFullYear(),r=[t];for(let n=t-1,o=t-e;n>=o;n--)r.push(n);return r},e.getSelectionEventDetail=function(e,t,r,n={}){let o={selectedId:e.id,selectedValue:e.title,objectApiName:t,fieldApiName:r};return{detail:Object.assign(o,n)}},e.getSiteLogo=function(e){return`${u.default}/${e}/site-logo.png`},e.getTimezoneOffsetDetails=function(){const e=(new Date).getTimezoneOffset()/60;return[e>0,e]},e.getTomorrowDate=function(){const e=new Date;return e.setDate(e.getDate()+1),e.setHours(0,0,0,0),e.valueOf()},e.isValidDate=function(e){return e instanceof Date&&!isNaN(e.getTime())},e.isValidEmail=function(e){return/^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w{2,}([-.]\w+)*$/.test(e)},e.isValidUrl=function(e){return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)},e.notifyError=function(e,t){return new CustomEvent(e,{detail:{errorMessage:t}})},e.notifyParent=R,e.parseIfBoolean=function(e){return"false"!==e&&("true"===e||e)},e.passEventThrough=function({type:e,detail:t}){R.call(this,e,t)},e.regExpEmailFormat=d,e.setBodyScroll=function(e){document.body.style.overflowY=e?"hidden":"initial"},e.sortRecordsByPublishedDateDesc=function(e){const t=[...e];return t.sort((e,t)=>new Date(t.publishedDate)-new Date(e.publishedDate)),t},e.validateField=O,e.validateFieldBySelector=function(e,t){O(this.template.querySelector(e),t)},e.validateStandardLWCFields=function(e,t){let r=[];return e.querySelectorAll(t).forEach(e=>{if(!e.checkValidity()){let t=E(e);t&&r.push({field:e.label,message:t}),e.setCustomValidity(E(e)),e.reportValidity()}}),{valid:!r.length,messages:r}},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pgBaseComponent",["exports","lwc","lightning/navigation","@salesforce/user/Id","@salesforce/user/isGuest","c/pgServiceNavigation","@salesforce/community/basePath","@salesforce/apex/PG_Utility.getCommunityCountryName","c/pgUtils"],function(e,i,t,a,s,n,o,r,d){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=l(a),c=l(s),g=l(o),h=l(r);class u extends(t.NavigationMixin(i.LightningElement)){constructor(...e){super(...e),this.currentPageReference=void 0,this.userId=v.default,this.basePath=g.default,this.homePageBasePath=g.default||"/",this.isUserGuest=c.default,this.navigationMixinNavigate=this[t.NavigationMixin.Navigate],this.navigationMixinGenerateUrl=this[t.NavigationMixin.GenerateUrl],this.isMobileDevice=void 0,this.isTabletDevice=void 0,this.isDesktopDevice=void 0,this.isAura=!1,this.device=void 0,this.country=void 0,this.navigateToCustomPage=n.navigateToCustomPage,this.navigateToNamedPage=n.navigateToNamedPage,this.navigateToWebPage=n.navigateToWebPage,this.generateURLToCustomPage=n.generateURLToCustomPage,this.passEventThrough=d.passEventThrough,this.notifyParent=d.notifyParent,this.validateField=d.validateField,this.validateFieldBySelector=d.validateFieldBySelector,this.validateStandardLWCFields=d.validateStandardLWCFields}getCountryResponse({error:e,data:i}){if(i){this.country=i;const e=new CustomEvent("countryfetched",{detail:this.country});this.dispatchEvent(e)}else e&&console.log(e)}connectedCallback(){window.innerWidth>=1024?(this.isMobileDevice=this.isTabletDevice=!1,this.isDesktopDevice=!0,this.device="desktop"):window.innerWidth>=768?(this.isMobileDevice=this.isDesktopDevice=!1,this.isTabletDevice=!0,this.device="tablet"):(this.isTabletDevice=this.isDesktopDevice=!1,this.isMobileDevice=!0,this.device="mobile"),void 0!==window.$A&&null!==window.$A&&(this.isAura=!0)}}i.registerDecorators(u,{wire:{currentPageReference:{adapter:t.CurrentPageReference,config:function(e){return{}}},getCountryResponse:{adapter:h.default,method:1,config:function(e){return{}}}},fields:["userId","basePath","homePageBasePath","isUserGuest","navigationMixinNavigate","navigationMixinGenerateUrl","isMobileDevice","isTabletDevice","isDesktopDevice","isAura","device","country","navigateToCustomPage","navigateToNamedPage","navigateToWebPage","generateURLToCustomPage","passEventThrough","notifyParent","validateField","validateFieldBySelector","validateStandardLWCFields"]});const f=i.registerComponent(u,{tmpl:void 0,sel:"c-pg-base-component",apiVersion:58});e.default=f,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("force/ldsAdaptersUiapi",["exports","force/ldsBindings","force/ldsEngineWebruntime","force/luvioEngine"],function(e,t,r,n){var o,a,i,s,c,l,u,d,p,f,m;!function(e){e.Fulfilled="Fulfilled",e.Unfulfilled="Unfulfilled",e.Error="Error",e.Pending="Pending",e.Stale="Stale"}(o||(o={})),Promise.resolve(),function(e){e[e.RESOURCE_NOT_FOUND=404]="RESOURCE_NOT_FOUND"}(a||(a={})),function(e){e.Error="error"}(i||(i={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(s||(s={})),function(e){e[e.Found=0]="Found",e[e.Error=1]="Error",e[e.Null=2]="Null",e[e.NotPresent=3]="NotPresent",e[e.Stale=4]="Stale"}(c||(c={})),function(e){e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.NoContent=204]="NoContent",e[e.NotModified=304]="NotModified",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.ServerError=500]="ServerError",e[e.GatewayTimeout=504]="GatewayTimeout"}(l||(l={})),function(e){e.Link="Link",e.Node="Node",e.Error="Error",e.Locked="Locked"}(u||(u={})),function(e){e[e.NotPresent=0]="NotPresent",e[e.RefNotPresent=1]="RefNotPresent",e[e.RefPresent=2]="RefPresent",e[e.Null=3]="Null",e[e.Missing=4]="Missing",e[e.Pending=5]="Pending"}(d||(d={})),function(e){e[e.Missing=0]="Missing",e[e.Success=1]="Success",e[e.Error=2]="Error"}(p||(p={})),p.Missing,function(e){e[e.UrlParameter=0]="UrlParameter",e[e.QueryParameter=1]="QueryParameter",e[e.Body=2]="Body",e[e.Header=3]="Header"}(f||(f={})),function(e){e[e.String=0]="String",e[e.Boolean=1]="Boolean",e[e.Number=2]="Number",e[e.Integer=3]="Integer",e[e.Unsupported=4]="Unsupported"}(m||(m={}));const{keys:g,create:y}=Object,{assign:h,create:v,freeze:b,isFrozen:P,keys:S}=Object;function A(e){return"string"==typeof e}function R(e,t=!1){if(A(e)){const r=e.trim();if(r.length>0&&(!t||r.indexOf(".")>-1))return r}else if(function(e){if("object"!=typeof e||null===e)return!1;const t=e;return A(t.objectApiName)&&A(t.fieldApiName)}(e))return e.objectApiName+"."+e.fieldApiName}function k(e){const t=typeof e;return null===e||"string"===t||"number"===t||"boolean"===t}function I(e,t,r){const n=C(),o=e.fields;let a;r&&(a=r.fields);const i=S(o);for(let e=0,r=i.length;e<r;e++){const r=i[e],s=o[r].value;if(k(s))if(a&&t){const e=a[r];e&&t(e)&&(n.fields[r]=s)}else n.fields[r]=s}return n}function C(){return{apiName:void 0,fields:{}}}function N(e){return"object"==typeof e&&null!==e&&("value"in e&&"displayValue"in e)}function T(e,t){const r=R(t);if(void 0===r)return;const n=function(e){const t=e.indexOf(".");if(t<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,t),e.substring(t+1)]}(r)[1],o=n.split(".");let a=e;for(;a&&a.fields;){const e=o.shift(),t=a.fields[e];if(void 0===t)return;if(!(o.length>0))return t;a=t.value}return a}function L(e,t,r,n){let o=0,a=Date.now();const i=n&&n.allowFunction?n.allowFunction:()=>{},s=n&&n.dropFunction?n.dropFunction:()=>{};return(...n)=>{const c=Date.now();return c-a<=t?o<e?(o+=1,i(),r(...n)):void s():(a=c,o=1,i(),r(...n))}}let F,_,E,w,j,O,q;y(null),y(null),b({name:"",children:{}});let D,B,x=5,M=5,U=5,V=!1,z=!1;const W={setGetObjectInfoAdapter:function(e){D=e},getGetObjectInfoAdapter:function(){return D},setGetObjectInfosAdapter:function(e){B=e},getGetObjectInfosAdapter:function(){return B}};function K(e,t){return null!=t?t:e}const Q={setTrackedFieldDepthOnCacheMiss:function(e){x=e},getTrackedFieldDepthOnCacheMiss:function(){return x},setTrackedFieldDepthOnCacheMergeConflict:function(e){M=e},getTrackedFieldDepthOnCacheMergeConflict:function(){return M},setTrackedFieldDepthOnNotifyChange:function(e){U=e},getTrackedFieldDepthOnNotifyChange:function(){return U},setTrackedFieldLeafNodeIdAndNameOnly:function(e){V=e},getTrackedFieldLeafNodeIdAndNameOnly:function(){return V},setDraftAwareCreateRecordAdapter:function(e){E=e},getDraftAwareCreateRecordAdapter:function(){return E},setDraftAwareUpdateRecordAdapter:function(e){w=e},getDraftAwareUpdateRecordAdapter:function(){return w},setDraftAwareDeleteRecordAdapter:function(e){j=e},getDraftAwareDeleteRecordAdapter:function(){return j},setDraftAwareCreateContentDocumentAndVersionAdapter:function(e){O=e},getDraftAwareCreateContentDocumentAndVersionAdapter:function(){return O},setRelatedListsPredictionsEnabled:function(e){z=e},areRelatedListsPredictionsEnabled:function(){return!0===z},setDraftAwareCreateContentVersionAdapter:function(e){q=e},getDraftAwareCreateContentVersionAdapter:function(){return q},...W},G={setDraftAwareGraphQLAdapter:function(e){_=e},getDraftAwareGraphQLAdapter:function(){return _},setEnvironmentAwareGraphQLBatchAdapter:function(e){F=e},getEnvironmentAwareGraphQLBatchAdapter:function(){return F}},$=new Set;let H={recordConflictsResolved:e=>{},nullDisplayValueConflict:e=>{},getRecordNotifyChangeAllowed:()=>{},getRecordNotifyChangeDropped:()=>{},notifyRecordUpdateAvailableAllowed:()=>{},notifyRecordUpdateAvailableDropped:()=>{},recordApiNameChanged:(e,t)=>{},recordTypeIdIsNull:e=>{},weakEtagZero:(e,t,r)=>{},getRecordNotifyChangeNetworkResult:(e,t)=>{}};function J(e){H=Object.assign(H,e)}const Z=new Map;function X(e,t,r){return(n,o)=>{const a=function(e){return Z.get(e)}(t),i=e(n,o);return null===i||void 0===a||o&&o.excludeFromPredictions||a.saveRequest({adapterName:r,config:n}),i}}function Y(e,t,r){return Q.areRelatedListsPredictionsEnabled()?X(e,t,r):(t,r)=>e(t,r)}const{hasOwnProperty:ee}=Object.prototype,{keys:te,create:re}=Object,{stringify:ne}=JSON,{isArray:oe}=Array,{push:ae}=Array.prototype;function ie(e){return"object"==typeof e&&null!==e&&!1===oe(e)}function se(e,t){return t.parameters.required.every(t=>t in e)}const ce="Unfulfilled",le={overrides:{headers:{"Cache-Control":"no-cache"}}};function ue(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0===e)return;if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return ne(e);let t,r;if(oe(e)){for(r="[",t=0;t<e.length;t++)t&&(r+=","),r+=ue(e[t])||"null";return r+"]"}if(null===e)return"null";const n=te(e).sort();for(r="",t=0;t<n.length;t++){const o=n[t],a=ue(e[o]);a&&(r&&(r+=","),r+=ne(o)+":"+a)}return"{"+r+"}"}function de(e){switch(e){case 200:return"OK";case 201:return"Created";case 304:return"Not Modified";case 404:return"Not Found";case 400:return"Bad Request";case 500:return"Server Error";default:return`Unexpected HTTP Status Code: ${e}`}}function pe(e){return e.state===ce}function fe(e,t,r,n,o=!1,a){return{name:e,required:t,resourceType:r,typeCheckShape:n,isArrayShape:o,coerceFn:a}}function me(e,t){return{displayName:e,parameters:{required:t.filter(e=>e.required).map(e=>e.name),optional:t.filter(e=>!e.required).map(e=>e.name)}}}const ge="UiApi",{assign:ye,create:he,freeze:ve,isFrozen:be,keys:Pe}=Object,{hasOwnProperty:Se}=Object.prototype,{split:Ae,endsWith:Re}=String.prototype,{isArray:ke}=Array,{concat:Ie,filter:Ce,includes:Ne,push:Te,reduce:Le}=Array.prototype,{parse:Fe,stringify:_e}=JSON;function Ee(e){return"string"==typeof e}function we(e){const t={};for(let r=0,n=e.length;r<n;r+=1)t[e[r]]=!0;return Pe(t)}function je(e){if("string"==typeof e){const t=e.trim();if(t.length>0)return t}else if("object"==typeof(t=e)&&null!==t&&Ee(t.objectApiName))return e.objectApiName.trim();var t}function Oe(e){if("object"!=typeof e||null===e)return!1;const t=e;return Ee(t.objectApiName)&&Ee(t.fieldApiName)}function qe(e){return Oe(e)?e:function(e){const t=e.split(".");return{objectApiName:t[0],fieldApiName:t[1]}}(e)}function De(e,t=!1){if(Ee(e)){const r=e.trim();if(r.length>0&&(!t||r.indexOf(".")>-1))return r}else if(Oe(e))return e.objectApiName+"."+e.fieldApiName}function Be(e,t={onlyQualifiedFieldNames:!1}){const r=ke(e)?e:[e],n=[];for(let e=0,o=r.length;e<o;e+=1){const o=De(r[e],t.onlyQualifiedFieldNames);if(void 0===o){if(t.onlyQualifiedFieldNames)continue;return}Te.call(n,o)}if(0!==n.length)return we(n).sort()}const{keys:xe,create:Me,assign:Ue}=Object,{isArray:Ve}=Array,{stringify:ze}=JSON;function We(e,t,r){const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(!1===r(e[o],t[o]))return!1;return!0}function Ke(e,t,r){const n=xe(e).sort(),o=xe(t).sort();if(n.length!==o.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(i!==o[a])return!1;if(!1===r(e[i],t[i]))return!1}return!0}function Qe(e){return{__ref:n.serializeStructuredKey(e)}}function Ge(e,t){e.__metadata=Qe(t)}function $e(e,t){if(e.objectApiName!==t.objectApiName)return!1;if(e.type!==t.type)return!1;if(e.id!==t.id)return!1;return e.listViewApiName===t.listViewApiName}const He="64e2cac6d374ad92f491a9f8a952c6c3",Je="ListColumnRepresentation";function Ze(e,t,r,n,o,a){return e}function Xe(e,t){return ze(t)===ze(e)}const Ye=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Ze,"UiApi",He,Je,Xe),Qe(i)};function et(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:Je,mergeable:!1})}const tt=function(e,t){return at(e,{listViewApiName:t.listReference.listViewApiName?t.listReference.listViewApiName.toLowerCase():t.listReference.listViewApiName,objectApiName:t.listReference.objectApiName.toLowerCase(),type:t.listReference.type})},rt=9e5,nt="5adf17d38be03c0f71b1c52485b377a6",ot="ListInfoRepresentation";function at(e,t){return ge+"::"+ot+":"+(null===t.listViewApiName?"":t.listViewApiName)+":"+t.objectApiName+":"+t.type}function it(e,t,r,n,o,a){const i=e.displayColumns,s=r.fullPath+"__displayColumns";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Ye(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const st=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"623aa9ce3a11031e35faf5671a41746e",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"operandLabels",kind:"Scalar",plural:!0},{name:"operator",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"f98dc7dec10408a9648ef8e5b37002a3",private:[],selections:[{name:"message",kind:"Scalar"},{name:"state",kind:"Scalar"}]},{selections:o,opaque:a}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]},{selections:i,opaque:s}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"f1519bef57e70ab7c5ef160dc5ff0c47",private:[],selections:[{name:"label",kind:"Scalar"},{name:"shareApiName",kind:"Scalar"}]};return{kind:"Fragment",version:"561657f32721ec1dac1601575b029640",private:[],selections:[{name:"shareType",kind:"Scalar"},{name:"shares",kind:"Object",plural:!0,selections:e}]}}(),{selections:c,opaque:l}={kind:"Fragment",version:"32def9b631252c12b91a8209c1f49f5a",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"isAscending",kind:"Scalar"},{name:"label",kind:"Scalar"}]},{selections:u,opaque:d}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"2634258f216db34315c06d759a35676d",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"3b85c5a08d50ce328481b9f8ab56127b",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",version:"2fe9814e7124b47f59da585483c1b3f9",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"entity",kind:"Object",nullable:!0,selections:e},{name:"label",kind:"Scalar"},{name:"relatedEntity",kind:"Object",nullable:!0,selections:r}]}}(),{selections:p,opaque:f}={kind:"Fragment",version:"6506134f4d72fdfa349fe60ef1af2413",private:[],selections:[{name:"columnWidths",kind:"Scalar",map:!0},{name:"columnWrap",kind:"Scalar",map:!0}]};return{kind:"Fragment",version:nt,private:["eTag"],selections:[{name:"cloneable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"displayColumns",kind:"Link",plural:!0,fragment:{kind:"Fragment",version:He,private:[],opaque:!0}},{name:"filterLogicString",kind:"Scalar"},{name:"filteredByInfo",kind:"Object",plural:!0,selections:e},{name:"hasMassActions",kind:"Scalar",required:!1},{name:"inlineEditDetails",kind:"Object",selections:r},{name:"label",kind:"Scalar"},{name:"listReference",kind:"Object",selections:o},{name:"listShares",kind:"Object",plural:!0,selections:i},{name:"objectApiNames",kind:"Scalar",plural:!0},{name:"orderedByInfo",kind:"Object",plural:!0,selections:c},{name:"scope",kind:"Object",nullable:!0,selections:u},{name:"searchable",kind:"Scalar"},{name:"updateable",kind:"Scalar"},{name:"userPreferences",kind:"Object",selections:p},{name:"visibility",kind:"Scalar"},{name:"visibilityEditable",kind:"Scalar"}]}};function ct(e,t){return e.eTag===t.eTag}const lt=function(e,t,r,o,a){const i=tt(r,e),s=rt;return n.ingestShape(e,t,r,o,a,s,i,it,"UiApi",nt,ot,ct),Qe(i)};function ut(e,t,r,n){const o=tt(t,r);e.set(o,{namespace:ge,representationName:ot,mergeable:!1});const a=r.displayColumns.length;for(let t=0;t<a;t++)et(e,0,r.displayColumns[t],()=>"")}const dt="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456";function pt(e){if(Ee(e)){if(18===e.length)return e;if(15===e.length){let t=e;for(let r=0;r<15;r+=5){let n=0;for(let t=0;t<5;t++){const o=e[r+t];o>="A"&&o<="Z"&&(n+=1<<t)}t+=dt[n]}return t}}else if(null==e)return}function ft(e){const t=ke(e)?e:[e];if(0!==t.length&&function(e){return 0!==e.length&&e.every(e=>Ee(e)&&e.trim().length>0)}(t))return we(t).sort()}function mt(e,t){if(e.available!==t.available)return!1;if(e.defaultRecordTypeMapping!==t.defaultRecordTypeMapping)return!1;if(e.master!==t.master)return!1;if(e.name!==t.name)return!1;return e.recordTypeId===t.recordTypeId}const gt="195d918987a35f45e1aa4dce9a11d8c5",yt="FieldValueRepresentation";function ht(e,t,r,n,o,a){const i=e.value,s=r.fullPath+"__value";return null!==i&&"object"==typeof i&&(e.value=Rn(i,{fullPath:s,propertyName:"value",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)),e}const vt=function(){return{kind:"Fragment",version:gt,private:[],selections:[{name:"displayValue",kind:"Scalar"},{name:"value",kind:"Link",nullable:!0,fragment:Bt()}]}};function bt(e,t){if(e.displayValue!==t.displayValue)return!1;const r=e.value,n=t.value;return r===n||null!=r&&null!=n&&null!=r.__ref&&null!=n.__ref&&r.__ref===n.__ref}const Pt=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,ht,"UiApi",gt,yt,bt),Qe(i)};function St(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:yt,mergeable:!1}),null!==r.value&&"object"==typeof r.value&&At(e,t,r.value)}const At=(e,t,r,n)=>{const o=Dt(t,r);e.set(o,{namespace:ge,representationName:Ot,mergeable:!0});const a=r.childRelationships,i=Pe(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];Lt(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=Pe(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];St(e,t,c[n],()=>o+"__fields__"+n)}return e},Rt="79cb5ac9f44542f683d00245fdfe500d",kt="RecordCollectionRepresentation";function It(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Rn(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const Ct=function(){return{kind:"Fragment",version:Rt,private:[],selections:[{name:"count",kind:"Scalar"},{name:"currentPageToken",kind:"Scalar"},{name:"currentPageUrl",kind:"Scalar"},{name:"nextPageToken",kind:"Scalar"},{name:"nextPageUrl",kind:"Scalar"},{name:"previousPageToken",kind:"Scalar"},{name:"previousPageUrl",kind:"Scalar"},{name:"records",kind:"Link",plural:!0,fragment:Bt()}]}};function Nt(e,t){if(e.count!==t.count)return!1;if(e.currentPageUrl!==t.currentPageUrl)return!1;if(e.currentPageToken!==t.currentPageToken)return!1;if(e.nextPageToken!==t.nextPageToken)return!1;if(e.nextPageUrl!==t.nextPageUrl)return!1;if(e.previousPageToken!==t.previousPageToken)return!1;if(e.previousPageUrl!==t.previousPageUrl)return!1;return!1!==We(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Tt=function(e,t,r,o,a){const i=t.fullPath;return n.ingestShape(e,t,r,o,a,12e4,i,It,"UiApi",Rt,kt,Nt),Qe(i)};function Lt(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:kt,mergeable:!1});const a=r.records.length;for(let n=0;n<a;n++)At(e,t,r.records[n])}const Ft="Name",_t=`${ge}::RecordViewEntityRepresentation:${Ft}:`,Et=function(e,t){const{apiName:r,id:n}=t;return r===Ft?_t+n:Dt(e,t)},wt=3e4,jt="98c5b18512e48ca8d28727549507e4ba",Ot="RecordRepresentation";function qt(e,t){return ge+"::"+Ot+":"+t.recordId}function Dt(e,t){return qt(0,{recordId:t.id})}const Bt=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"d1e589a127fb1060c89070cdb6f500b2",private:[],selections:[{name:"available",kind:"Scalar"},{name:"defaultRecordTypeMapping",kind:"Scalar"},{name:"master",kind:"Scalar"},{name:"name",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}]};return{kind:"Fragment",version:jt,private:["eTag","weakEtag"],selections:[{name:"apiName",kind:"Scalar"},{name:"childRelationships",kind:"Link",map:!0,fragment:Ct()},{name:"fields",kind:"Link",map:!0,fragment:vt()},{name:"id",kind:"Scalar"},{name:"lastModifiedById",kind:"Scalar"},{name:"lastModifiedDate",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"recordTypeInfo",kind:"Object",nullable:!0,selections:e},{name:"systemModstamp",kind:"Scalar"}]}},xt=function(e){const t=void 0===e.childRelationships?{name:"childRelationships",kind:"Link",map:!0,fragment:Ct()}:e.childRelationships,r=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:vt()}:e.fields,{selections:n,opaque:o}={kind:"Fragment",version:"d1e589a127fb1060c89070cdb6f500b2",private:[],selections:[{name:"available",kind:"Scalar"},{name:"defaultRecordTypeMapping",kind:"Scalar"},{name:"master",kind:"Scalar"},{name:"name",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}]};return{kind:"Fragment",version:jt,private:["eTag","weakEtag"],selections:[{name:"apiName",kind:"Scalar"},t,r,{name:"id",kind:"Scalar"},{name:"lastModifiedById",kind:"Scalar"},{name:"lastModifiedDate",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"recordTypeInfo",kind:"Object",nullable:!0,selections:n},{name:"systemModstamp",kind:"Scalar"}]}};function Mt(e,t,r,n){const o=Et(t,r);e.set(o,{namespace:ge,representationName:Ot,mergeable:!1});const a=r.childRelationships,i=xe(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];Lt(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=xe(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];St(e,t,c[n],()=>o+"__fields__"+n)}}const Ut=e=>function(t){const r=t.map(e=>qt(0,e));return e.notifyStoreUpdateAvailable(r)},Vt="012000000000000AAA",zt=new Set(["AIPredictionScore","AISentimentResult","AcademicSession","AcademicTerm","AcademicTermEnrollment","AcademicYear","Account","AccountAccountRelation","AccountBrand","AccountContactRelation","AccountForecast","AccountForecastAdjustment","AccountForecastPeriodMetric","AccountParticipant","AccountPartner","AccountProductForecast","AccountProductPeriodForecast","AccountRelationship","AccountTeamMember","Accreditation","AcctMgrPeriodicTargetDstr","AcctMgrTarget","AcctMgrTargetDstr","ActionCadence","ActionCadenceStep","ActionCadenceStepTracker","ActionCadenceTracker","ActionPlan","ActionPlanBaseTemplateAsgn","ActionPlanItem","ActionPlanItemDependency","ActionPlanTemplate","ActionPlanTemplateAssignment","ActionPlanTemplateItem","ActionPlanTemplateItemValue","ActionPlanTemplateVersion","ActionPlanTmplItmAssessmentInd","ActionPlnTmplItmDependency","ActionVisibility","ActionableList","ActionableListColumn","ActionableListMember","ActionableListMemberStatus","ActivationTarget","ActiveScratchOrg","ActivityMetric","ActivityMetricRollup","ActivityTiming","AdBuyServerAccount","AdCreativeSizeType","AdOpportunity","AdOrderItem","AdOrderItemCreativeSizeType","AdOrderItemPrintIssue","AdOrderItemUnitsSplit","AdOrderLineAdTarget","AdPageLayoutType","AdProductDefaultTargetCategory","AdProductTargetCategory","AdQuote","AdQuoteLine","AdQuoteLineAdTarget","AdQuoteLineCreativeSizeType","AdQuoteLinePrintIssue","AdQuoteLineUnitsSplit","AdServer","AdServerAccount","AdServerUser","AdSpaceCreativeSizeType","AdSpaceGroupMember","AdSpaceSpecification","AdSpecMediaPrintIssue","AdTargetCategory","AdTargetCategorySegment","AdUsage","AdUsageSummary","AddOnDefinition","Address","AdvAccountForecastFact","AdvAcctForecastSetPartner","AdvAcctForecastSetUse","AiDataset","AiImageDetectedObject","AiImageTrainingObject","AiVisionModel","AiVisionModelMetric","AiVisionModelObjectMetric","AiVisitRecommendRequest","AiVisitRecommendation","AiVisitSummary","AiVisitTaskRcmd","AiVisitTaskRcmdRequest","AirTravelEmssnFctr","AirTravelEnrgyUse","AllergyIntolerance","AlternativePaymentMethod","AnnualEmssnInventory","AnnualEmssnRdctnTarget","AntiCorruptionInitSum","ApiAnomalyEventStore","AppAnalyticsDeliveryConfig","AppAnalyticsQueryRequest","AppExtension","AppMenuItem","AppUsageAssignment","ApplicationCase","ApplicationDecision","ApplicationFormTemplate","ApplicationRecommendation","ApplicationRecommender","ApplicationReview","ApplicationTimeline","AppointmentInvitation","AppointmentInvitee","AppointmentReason","AppointmentTopicTimeSlot","ApptBundleAggrDurDnscale","ApptBundleAggrPolicy","ApptBundleConfig","ApptBundlePolicy","ApptBundlePolicySvcTerr","ApptBundlePropagatePolicy","ApptBundleRestrictPolicy","ApptBundleSortPolicy","ApptReasonEngmtChannelType","AsmtQstnRespRecommendation","Assessment","AssessmentEnvelope","AssessmentEnvelopeItem","AssessmentIndDefinedValue","AssessmentIndValue","AssessmentIndicatorDefinition","AssessmentQuestion","AssessmentQuestionAssignment","AssessmentQuestionResponse","AssessmentQuestionSet","AssessmentQuestionVersion","AssessmentSignature","AssessmentTask","AssessmentTaskContentDocument","AssessmentTaskDefinition","AssessmentTaskIndDefinition","AssessmentTaskOrder","Asset","AssetAccountParticipant","AssetAction","AssetActionSource","AssetAttribute","AssetContactParticipant","AssetDowntimePeriod","AssetMilestone","AssetRelationship","AssetStatePeriod","AssetWarranty","AssignedResource","AssistantText","AssociatedLocation","Assortment","AssortmentProduct","AsyncOperationLog","AttachedContentNote","AttributeCategory","AttributeDefinition","AttributePicklist","AttributePicklistValue","AuthApplicationAsset","AuthApplicationPlace","AuthFormRequestRecord","AuthLocationAccessSchedule","AuthorNote","AuthorizationForm","AuthorizationFormConsent","AuthorizationFormDataUse","AuthorizationFormText","AuthorizedInsuranceLine","AutomatedAction","AutomatedActionCondition","AutomatedActionParameter","Award","BCEntityPermission","BCEntityPermissionSet","BCFieldPermission","BCParticipant","BCParticipantAccess","BCPermissionSet","BCRecordAccess","BCRecordAccessApproval","BCRelatedParticipant","BackgroundOperation","Banker","BatchJob","BatchJobPartFailedRecord","Benefit","BenefitAssignment","BenefitAssignmentAdjustment","BenefitDisbursement","BenefitDisbursementAdj","BenefitParameterValue","BenefitSchedule","BenefitSession","BenefitType","BillingBatchFilterCriteria","BillingBatchScheduler","BillingPeriodItem","BillingPolicy","BillingSchedule","BillingScheduleCreationStatus","BillingScheduleGroup","BillingTreatment","BillingTreatmentItem","BldgEnrgyIntensity","BldgEnrgyIntensityVal","BldgSizeCategory","BlockchainAppMember","BlockchainApplication","BlockchainEntity","BlockchainField","BlockchainMember","BoardCertification","BranchUnit","BranchUnitBusinessMember","BranchUnitCustomer","BranchUnitRelatedRecord","BroadcastCommAudience","BroadcastCommunication","BroadcastTopic","Budget","BudgetAllocation","BudgetCategory","BudgetCategoryValue","BudgetPeriod","BundledCareFeeAgreement","BusRegAuthTypeDependency","BusRegAuthorizationType","BusinessAlert","BusinessAlertStatus","BusinessBrand","BusinessHours","BusinessLicense","BusinessLicenseApplication","BusinessMilestone","BusinessProfile","BusinessType","BuyerAccount","BuyerGroup","BuyerGroupPricebook","CalcProcStepRelationship","CalculationMatrix","CalculationMatrixColumn","CalculationMatrixRow","CalculationMatrixVersion","CalculationProcedure","CalculationProcedureStep","CalculationProcedureVariable","CalculationProcedureVersion","Campaign","CampaignInsight","CampaignMember","CampaignMemberStatus","CapitationCareFeeAgreement","CardPaymentMethod","CareBarrier","CareBarrierDeterminant","CareBarrierType","CareBenefitVerifyRequest","CareDeterminant","CareDeterminantType","CareDiagnosis","CareEpisode","CareEpisodeDetail","CareFeeScheduleItem","CareInterventionType","CareLimitType","CareMetricTarget","CareObservation","CareObservationComponent","CarePerformer","CarePgmEnrolleeWkOrdStep","CarePgmEnrolleeWorkOrder","CarePgmProvHealthcareProvider","CarePlan","CarePlanActivity","CarePlanActivityDetail","CarePlanDetail","CarePlanTemplate","CarePlanTemplateBenefit","CarePlanTemplateGoal","CarePlanTemplateProblem","CarePractnFacilityAppt","CarePreauth","CarePreauthItem","CareProgram","CareProgramCampaign","CareProgramEligibilityRule","CareProgramEnrollee","CareProgramEnrolleeProduct","CareProgramEnrollmentCard","CareProgramGoal","CareProgramProduct","CareProgramProvider","CareProgramTeamMember","CareProviderAdverseAction","CareProviderFacilitySpecialty","CareProviderSearchableField","CareRegisteredDevice","CareRequest","CareRequestDrug","CareRequestExtension","CareRequestItem","CareRequestReviewer","CareSpecialty","CareSpecialtyTaxonomy","CareTaxonomy","CartDeliveryGroup","CartItem","CartTax","Case","CaseArticle","CaseComment","CaseContactRole","CaseMilestone","CaseParticipant","CaseProgram","CaseRelatedIssue","CategorizedCareFeeAgreement","ChangeRequest","ChangeRequestRelatedIssue","ChangeRequestRelatedItem","ChannelObjectLinkingRule","ChannelProgram","ChannelProgramLevel","ChannelProgramMember","Claim","ClaimCase","ClaimCovPaymentAdjustment","ClaimCovReserveAdjustment","ClaimCoverage","ClaimCoveragePaymentDetail","ClaimCoverageReserveDetail","ClaimItem","ClaimParticipant","ClaimPaymentSummary","ClaimPayoutPlan","ClaimRecovery","ClaimTeamMember","ClauseCatgConfiguration","ClinicalAlert","ClinicalDetectedIssue","ClinicalDetectedIssueDetail","ClinicalEncounter","ClinicalEncounterDiagnosis","ClinicalEncounterFacility","ClinicalEncounterIdentifier","ClinicalEncounterProvider","ClinicalEncounterReason","ClinicalEncounterSvcRequest","ClinicalServiceRequest","ClinicalServiceRequestDetail","CloudServiceProvider","CodeSet","CodeSetBundle","CodeSetRelationship","CollaborationRoom","CommSubscription","CommSubscriptionChannelType","CommSubscriptionConsent","CommSubscriptionTiming","CommerceEntitlementPolicy","CommissionSchedule","CommissionScheduleAssignment","CommsRegionDiscount","CommsVolumeDiscount","ComplaintCase","ComplaintParticipant","ConsentMetric","ConsentUsageMetric","ConstituentRole","ConsumptionRate","ConsumptionSchedule","Contact","ContactContactRelation","ContactEncounter","ContactEncounterParticipant","ContactPointAddress","ContactPointConsent","ContactPointEmail","ContactPointPhone","ContactPointTypeConsent","ContactProfile","ContactRequest","ContentDocument","ContentDocumentLink","ContentDocumentListViewMapping","ContentFolderItem","ContentFolderLink","ContentNote","ContentVersion","ContentWorkspace","Contract","ContractContactRole","ContractDocVerContentDoc","ContractDocVersionSection","ContractDocumentVersion","ContractGroupPlan","ContractGroupPlanGroupClass","ContractLineItem","ContractLineOutcome","ContractLineOutcomeData","ContractPaymentAgreement","ContractType","ContractTypeConfig","ConversationBroadcast","ConversationBroadcastEntry","Coupon","CourseOffering","CourseOfferingParticipant","CourseOfferingPtcpResult","CourseOfferingSchedule","CourseOfferingScheduleTmpl","CoverageBenefit","CoverageBenefitItem","CoverageBenefitItemLimit","CoverageLimit","CoverageType","CrbnCreditAlloc","CrbnCreditAllocItem","CrbnCreditDistribution","CrbnCreditProject","CrbnEmssnScopeAlloc","CrbnEmssnScopeAllocVal","CredentialStuffingEventStore","CreditMemo","CreditMemoAddressGroup","CreditMemoInvApplication","CreditMemoLine","Crisis","CryptoProdCatgWalletGroup","CryptoProdtCatgWalletRole","CryptoProduct","CryptoTransEnvelopeChgLog","CryptoTransaction","CryptoTransactionEnvelope","CryptoWallet","CryptoWalletGroup","CryptoWalletGroupItem","CspTrustedSite","CustomObjectParticipant","Customer","CustomerProperty","DandBCompany","DataAction","DataActionTarget","DataConnectorS3","DataLakeObjectInstance","DataStream","DataUseLegalBasis","DataUsePurpose","DelegatedAccount","DeleteEvent","DeliveryTask","DiagnosticSummary","DiagnosticSummaryDetail","DigitalSignature","DigitalWallet","Disclosure","DisclosureDefinition","DisclosureDefinitionVersion","DisclosureType","DisclsReportingPeriod","DistributorAuthorization","DivrsEquityInclSum","DocTemplateSectionCondition","DocumentChecklistItem","DocumentClause","DocumentClauseSet","DocumentEnvelope","DocumentGenerationProcess","DocumentGenerationSetting","DocumentRecipient","DocumentTemplate","DocumentTemplateContentDoc","DocumentTemplateSection","DocumentTemplateToken","DrugDisplayTerm","DsarPolicyLog","DuplicateRecordItem","DuplicateRecordSet","ECart","EconomicPerformanceSum","EditionDefinition","EducationalInfoRequest","ElectricityEmssnFctrSet","ElectronicMediaGroup","EmailContent","EmailMessageRelation","EmissionsActivity","EmissionsForecastFact","EmpBenefitSummary","EmpUserProvisionProcessErr","EmpUserProvisioningProcess","Employee","EmployeeAsset","EmployeeContact","EmployeeCrisisAssessment","EmployeeDemographicSum","EmployeeDevelopmentSum","EmployeeJob","EmployeeJobPosition","EmployeeOrganization","EmssnRdctnCommitment","EmssnReductionTarget","EnablementProgram","EnblProgramSection","EnblProgramTaskDefinition","EnblProgramTaskProgress","EngagementAttendee","EngagementChannelType","EngagementChannelWorkType","EngagementInteraction","EngagementProgram","EngagementProgramVersion","EngagementTopic","EnhancedEmailTemplate","EnhancedLetterhead","EnrollmentEligibilityCriteria","Entitlement","EntitlementContact","EntityArchivingException","EntityArchivingJob","EntityArchivingSetup","EntityMilestone","EnvironmentHubMember","EnvironmentalRisk","Examination","Expense","ExpenseReport","ExpenseReportEntry","ExplainabilityMsgTemplate","ExpressionSet","ExpressionSetVersion","ExtDataShare","ExtDataShareTarget","ExternalAccountHierarchy","FTestVirtualBpoLookup","FeeScheduleDefinition","FeedItem","FieldServiceMobileExtension","FieldServiceMobileSettings","FieldServiceOrgSettings","FinanceBalanceSnapshot","FinanceBook","FinancePeriod","FinanceTransaction","FinanceTransactionErrorLog","FinancialDeal","FinancialDealAsset","FinancialDealBid","FinancialDealInteraction","FinancialDealParticipant","FinancialDealParty","FinancialDealProduct","FinclDealInteractionSummary","FlowInterview","FlowOrchestrationInstance","FlowOrchestrationStageInstance","FlowOrchestrationStepInstance","FlowOrchestrationWorkItem","ForecastingOwnerAdjustment","FrgtHaulingEmssnFctr","FrgtHaulingEnrgyUse","FtestBigObjectLookup","FtestConcrete","FtestConcrete6","FtestConcrete7","FtestConcrete8","FtestVirtualMain","FtestZosUiPrototypeChild1","FtestZosUiPrototypeChild2","FtestZosUiPrototypeParent","FulfillmentOrder","FulfillmentOrderLineItem","FundingAward","FundingAwardAmendment","FundingAwardRequirement","FundingDisbursement","FundingOpportunity","GeneratedDocument","GeneratedDocumentSection","GeneratedWaste","GenericVisitTask","GenericVisitTaskContext","GeoCountry","GeoState","GnrcVstKeyPerformanceInd","GnrcVstTaskContextRelation","GoalAssignment","GoalAssignmentDetail","GoalDefinition","GoalLink","GovtFinancialAsstSum","GroundTravelEmssnFctr","GroundTravelEnrgyUse","Group","GroupCensus","GroupCensusMember","GroupCensusMemberPlan","GroupClass","GroupClassContribution","GuestBuyerProfile","HealthCareDiagnosis","HealthCareProcedure","HealthCondition","HealthConditionDetail","HealthScore","HealthScoreActionLog","HealthcareFacility","HealthcareFacilityNetwork","HealthcarePayerNetwork","HealthcarePractitionerFacility","HealthcareProvider","HealthcareProviderNpi","HealthcareProviderSpecialty","HealthcareProviderTaxonomy","Holiday","HotelStayEmssnFctr","HotelStayEnrgyUse","IPAddressRange","Identifier","IdentityDocument","IdentityResolution","Image","InStoreLocation","Incident","IncidentRelatedItem","IncludedLicenseDefinition","Individual","IndividualApplication","IndividualApplicationItem","IndividualCrisisAssessment","InflationRate","InfoAuthRequestForm","InfoAuthorizationRequest","InsPolicyTransactionDetail","InsightsExternalData","InsightsExternalDataPart","InspectionAssessmentInd","InspectionType","InsuranceClaimAsset","InsuranceContract","InsurancePolicy","InsurancePolicyAsset","InsurancePolicyCoverage","InsurancePolicyMemberAsset","InsurancePolicyOwner","InsurancePolicyParticipant","InsurancePolicySurcharge","InsurancePolicyTransaction","InsuranceProfile","Interaction","InteractionAttendee","InteractionParticipant","InteractionRelatedAccount","InteractionSumDiscussedAccount","InteractionSummary","InteractionSummaryParticipant","InterestTag","InternalOrganizationUnit","InventoryItemReservation","InventoryReservation","Invoice","InvoiceAddressGroup","InvoiceBatchRun","InvoiceBatchRunCriteria","InvoiceBatchRunRecovery","InvoiceLine","JobFamily","JobPosition","JobProfile","JournalSubType","JournalType","KnowledgeArticleVersion","Lead","LeadLineItem","LeadPreferredSeller","LearnerProgram","LearnerProgramRequirement","LearnerProgramRqmtProgress","Learning","LearningAchievement","LearningCourse","LearningFoundationItem","LearningItem","LearningItemAssignment","LearningItemProgress","LearningOutcomeItem","LearningProgram","LearningProgramPlan","LearningProgramPlanRqmt","LegalEntity","LicensingError","LicensingRequest","LicensingRequestOrderItem","LicensingSnapshotRequest","LinkedArticle","ListEmail","LiveAgentSession","LiveChatButton","LiveChatDeployment","LiveChatSensitiveDataRule","LiveChatTranscript","LiveChatVisitor","LoanApplicant","LoanApplicantAddress","LoanApplicantAsset","LoanApplicantDeclaration","LoanApplicantEmployment","LoanApplicantIncome","LoanApplicantLiability","LoanApplicationAsset","LoanApplicationFinancial","LoanApplicationLiability","LoanApplicationProperty","LoanApplicationTitleHolder","LocWaitlistMsgTemplate","Location","LocationGroup","LocationGroupAssignment","LocationTrustMeasure","LocationWaitlist","LocationWaitlistedParty","LoyaltyLedger","LoyaltyMemberCurrency","LoyaltyMemberTier","LoyaltyMembershipLifecycle","LoyaltyPartnerProduct","LoyaltyPgmEngmtAttrProm","LoyaltyPgmEngmtAttribute","LoyaltyPgmGroupMbrRlnsp","LoyaltyPgmMbrAttributeVal","LoyaltyPgmPartnerCurrency","LoyaltyPgmPartnerPromotion","LoyaltyPgmPtnrLdgrSummary","LoyaltyPgmPtnrPrepaidPack","LoyaltyProgram","LoyaltyProgramBadge","LoyaltyProgramCurrency","LoyaltyProgramMbrPromotion","LoyaltyProgramMember","LoyaltyProgramMemberBadge","LoyaltyProgramMemberCase","LoyaltyProgramMemberMerge","LoyaltyProgramPartner","LoyaltyProgramProcess","LoyaltyProgramWidget","LoyaltyTier","LoyaltyTierBenefit","LoyaltyTierGroup","Macro","MaintenanceAsset","MaintenancePlan","MaintenanceWorkRule","ManagedContent","ManagedContentVariant","ManufacturingProgram","MarketSegment","MarketSegmentActivation","MarketingAction","MarketingForm","MarketingLink","MarketingLinkContent","MarketingResource","MedReconRecommendation","MedReconStmtRecommendation","MedTherapyStmtReviewIssue","MediaChannel","MediaContentTitle","MediaPrintIssue","MediaTitleAvailability","MediaTitleReleaseDate","MediaTitleRevenue","Medication","MedicationDispense","MedicationReconciliation","MedicationRequest","MedicationStatement","MedicationStatementDetail","MedicationTherapyReview","MedicationTherapyStmtReview","MedicinalIngredient","MemberBenefit","MemberPlan","MerchantAccount","MessagingChannel","MessagingDeliveryError","MessagingEndUser","MessagingSession","Metric","MfgProgramCpntFrcstFact","MfgProgramForecastFact","MfgProgramVariantFrcstFact","MktAiPredictiveInsight","MktCalculatedInsight","MktDataTransform","MktMLModel","MobileSettingsAssignment","MsgChannelLanguageKeyword","MultipartyInfoAuthRequest","NamespaceRegistry","NetworkReferencedObject","Note","ObjectRelatedUrl","ObjectStateActionDefinition","ObjectStateDefinition","ObjectStateTransition","ObjectStateTransitionAction","ObjectStateValue","ObjectTerritory2Association","OcrDocumentScanResult","OmniAssessmentTask","OmniDataPack","OmniDataTransform","OmniDataTransformItem","OmniESignatureTemplate","OmniProcess","OmniProcessAsmtQuestionVer","OmniProcessCompilation","OmniProcessElement","OmniProcessTransientData","OmniScriptSavedSession","OmniUiCard","OperatingHours","OperatingHoursHoliday","Opportunity","OpportunityContactRole","OpportunityHistory","OpportunityLineItem","OpportunityLineItemSchedule","OpportunityLineItemSplit","OpportunityParticipant","OpportunityPartner","OpportunityPreferredSeller","OpportunitySplit","OpportunityTeamMember","Order","OrderAction","OrderAdjustmentGroup","OrderAdjustmentGroupSummary","OrderChangeLog","OrderDeliveryGroup","OrderDeliveryGroupSummary","OrderDeliveryMethod","OrderItem","OrderItemAdjustmentLineItem","OrderItemAdjustmentLineSummary","OrderItemConsumptionRate","OrderItemConsumptionSchedule","OrderItemRelationship","OrderItemSummary","OrderItemSummaryChange","OrderItemTaxLineItem","OrderItemTaxLineItemSummary","OrderPaymentSummary","OrderSummary","OrderSummaryRoutingSchedule","OrgIncidentSummary","OrgMetric","OrgMetricScanResult","OrgMetricScanSummary","Organization","OtherComponentTask","OtherEmssnFctrSet","OtherEmssnFctrSetItem","Partner","PartnerFundAllocation","PartnerFundClaim","PartnerFundRequest","PartnerMarketingBudget","PartyCertifiedCapacity","PartyConsent","PartyIdentityVerification","PartyIdentityVerificationStep","PartyIncome","PartyProfile","PartyProfileAddress","PartyProfileRisk","PartyRelationshipGroup","PartyRoleRelation","PartyScreeningStep","PartyScreeningSummary","PatientHealthReaction","PatientImmunization","PatientImmunizationProtocol","PatientMedicalProcedure","PatientMedicalProcedureDetail","PatientMedicationDosage","PaymentAuthAdjustment","PaymentBatchRun","PaymentBatchRunCriteria","PaymentGateway","PaymentGatewayLog","PaymentGatewayProvider","PaymentIntent","PaymentLineInvoice","PaymentRequest","PaymentRequestLine","PaymentSchedule","PaymentScheduleItem","PaymentSchedulePolicy","PaymentScheduleTreatment","PaymentScheduleTreatmentDtl","PaymentTerm","PaymentTermItem","PcmtEmssnFctrSet","PcmtEmssnFctrSetItem","PercentileBsdCareFeeAgreement","Period","PersonAccount","PersonDisability","PersonEducation","PersonEmployment","PersonExamination","PersonLanguage","PersonLifeEvent","PersonList","PersonName","PgmRebateTypBnftMapping","PickTicket","PickTicketAssignment","PickTicketProduct","PlanBenefit","PlanBenefitItem","PlatformLicenseDefinition","Polygon","PreliminaryApplicationRef","PreventiveCareAgreement","PriceAdjustmentGroupShape","PriceAdjustmentItemShape","PriceAdjustmentSchedule","PriceAdjustmentTier","PriceList","PriceRule","PriceRuleAction","PriceRuleActionItem","PriceRuleCondition","PriceRuleConditionFilter","PriceRuleExecutionStage","Pricebook2","PricebookEntry","PricingHeader","PricingLineItem","PricingProduct","PrivacyHold","PrivacyHoldReason","PrivacyJobSession","PrivacyPolicy","PrivacyRequest","Problem","ProblemDefinition","ProblemGoalDefinition","ProblemIncident","ProblemRelatedItem","ProcessDefinition","ProcessException","ProcessInstance","Producer","ProducerCommission","ProducerPolicyAssignment","Product2","Product2DataTranslation","ProductAttribute","ProductAttributeDefinition","ProductAttributeSet","ProductAttributeSetItem","ProductAttributeSetProduct","ProductAvailabilityProjection","ProductCatalog","ProductCategory","ProductCategoryAttribute","ProductCategoryDataTranslation","ProductCategoryMedia","ProductCategoryProduct","ProductCategoryServiceProcess","ProductComponentGroup","ProductConfigurationalRule","ProductConsumed","ProductConsumedState","ProductConsumptionSchedule","ProductCoverage","ProductCoverageLimit","ProductEmissionsFactor","ProductFaultCode","ProductFulfillmentLocation","ProductItem","ProductItemTransaction","ProductLaborCode","ProductLicenseMap","ProductMedia","ProductOverridePathItem","ProductQuantityRule","ProductRelComponentOverride","ProductRelatedComponent","ProductRelatedMaterial","ProductRelatedServiceProcess","ProductRelationshipType","ProductRequest","ProductRequestLineItem","ProductRequired","ProductSellingModel","ProductSellingModelOption","ProductServiceCampaign","ProductServiceCampaignItem","ProductSpecificationType","ProductTransfer","ProductTransferState","ProductWarrantyTerm","ProfileSkill","ProfileSkillEndorsement","ProfileSkillUser","Program","ProgramEnrollment","ProgramProduct","ProgramRebateTypPayoutSrc","ProgramRebateType","ProgramRebateTypeBenefit","ProgramRebateTypeFilter","ProgramRebateTypePayout","ProgramRebateTypeProduct","ProgramRebateTypeReference","ProgramTermApplnTimeline","Promotion","PromotionChannel","PromotionDataTranslation","PromotionLoyaltyPtnrProdt","PromotionMarketSegment","PromotionProduct","PromotionProductCategory","PromotionQualifier","PromotionSegment","PromotionSegmentBuyerGroup","PromotionSegmentSalesStore","PromotionTarget","PromotionTier","ProrationPolicy","ProviderNetworkContract","ProviderNetworkTier","ProviderSearchSyncLog","ProvisioningRun","ProvisioningRunEvent","ProvisioningTargetGroup","ProvisioningTargetItem","ProvisioningTargetRole","PublicApplicationParticipant","PublicComplaint","PublicProgram","PurchaseQuantityRule","PurchaserPlan","PurchaserPlanAssn","PymtSchdDistributionMethod","QuickText","Quote","QuoteDocument","QuoteItemTaxItem","QuoteLineItem","QuoteLineItemAttribute","QuoteLinePriceAdjustment","QuoteLineRelationship","RebateClaim","RebateMemberAggregateItem","RebateMemberProductAggregate","RebatePayment","RebatePayoutAdjustment","RebateProgram","RebateProgramMember","RebateProgramMemberPayout","RebateProgramPayoutPeriod","ReceivedDocument","ReceivedDocumentType","Recommendation","RecordAction","RecordAlert","RecordType","RecordsetFilterCriteria","RecordsetFilterCriteriaRule","RecordsetFltrCritMonitor","RecurrenceSchedule","ReferencedDashboard","Referral","RefrigerantEmssnFctr","RefundLinePayment","RegAuthorizationTypeProduct","RegionStatusDiscount","RegulatoryAuthority","RegulatoryAuthorizationType","RegulatoryCode","RegulatoryCodeAssessmentInd","RegulatoryCodeUse","RegulatoryCodeViolation","RegulatoryTrxnFee","RegulatoryTrxnFeeItem","ReinsAgreementLineItem","ReinsPolicyBordereauFact","ReinsProtocolProdtComponent","ReinsuranceAgreement","ReinsuranceProtocol","ReinsuranceProtocolAgreement","RentalCarEmssnFctr","RentalCarEnrgyUse","ReplyText","Report","ReportAnomalyEventStore","ReportedConsumption","ResidentialLoanApplication","ResourceAbsence","ResourcePreference","RetailLocationGroup","RetailStore","RetailStoreGroupAssignment","RetailStoreKpi","RetailVisitKpi","ReturnOrder","ReturnOrderItemAdjustment","ReturnOrderItemTax","ReturnOrderLineItem","RevRecogTreatmentItemGroup","RevenueAsyncOperation","RevenueDistributionMethod","RevenueElement","RevenueElementDistribution","RevenueRecogTreatmentItem","RevenueRecognitionPolicy","RevenueRecognitionTreatment","RevenueTransactionErrorLog","RightsQuote","RightsQuoteLineItem","RightsQuoteLineMediaTitle","SalesAgreement","SalesAgreementProduct","SalesAgreementProductSchedule","SalesChannel","SalesContractLine","SalesTransactionItemShape","SalesTransactionShape","SalesTrxnItemRelationShape","SalesforceContract","SalesforceInvoice","SalesforceQuote","SchedulingConstraint","Scope3CrbnFtprnt","Scope3EmssnSrc","Scope3PcmtItem","Scope3PcmtSummary","Scorecard","ScorecardAssociation","ScorecardMetric","ScratchOrgInfo","SearchPromotionRule","SecuritiesHolding","Seller","SerializedProduct","SerializedProductTransaction","ServiceAppointment","ServiceAppointmentCapacityUsage","ServiceAppointmentGroup","ServiceContract","ServiceCrew","ServiceCrewMember","ServiceReport","ServiceReportLayout","ServiceResource","ServiceResourceCapacity","ServiceResourceDataTranslation","ServiceResourcePreference","ServiceResourceSkill","ServiceTerritory","ServiceTerritoryDataTranslation","ServiceTerritoryLocation","ServiceTerritoryMember","ServiceTerritoryRelationship","ServiceTerritoryWorkType","SessionHijackingEventStore","SettingUsageDefinition","SettingUsageMap","SetupAssistantStep","SharedSavingPaymentAgreement","SharingRecordCollection","SharingRecordCollectionItem","Shift","ShiftEngagementChannel","ShiftPattern","ShiftPatternEntry","ShiftSegment","ShiftSegmentType","ShiftTemplate","ShiftWorkTopic","Shipment","ShipmentItem","SignatureTask","SignatureTaskLineItem","Skill","SkillLevelDefinition","SkillRequirement","Snippet","SnippetAssignment","SocialContributionSum","SocialPersona","SocialPost","StandardCareFeeAgreement","StandardPermissionSet","StaticResource","StnryAssetAnnualFact","StnryAssetCrbnFtprnt","StnryAssetCrbnFtprntItm","StnryAssetEnrgyUse","StnryAssetEnvrSrc","StnryAssetWaterActvty","StnryAssetWaterFtprnt","StnryAssetWtrFtprntItm","StoreActionPlanTemplate","StoreAssortment","StoreProduct","StreamingChannel","SuccessTeam","Supplier","SupplierProduct","Survey","SurveyEmailBranding","SurveyInvitation","SurveyQuestion","SurveyQuestionChoice","SurveyQuestionResponse","SurveyResponse","SurveySubject","SustainabilityCntrLine","SustainabilityCredit","SustainabilityPurchase","SustainabilityScorecard","SvcCatalogCategory","SvcCatalogCategoryItem","SvcCatalogItemDef","SvcCatalogReqExtdAttrVal","SvcCatalogReqRelatedItem","SvcCatalogRequest","Swarm","SwarmMember","TagCategory","TagCategoryAssignment","TaxDisclosureSummary","TaxEngine","TaxEngineInteractionLog","TaxEngineProvider","TaxGeoConfig","TaxPolicy","TaxRate","TaxTreatment","Tenant","TenantParameterMap","ThreatDetectionFeedback","TimeSheet","TimeSheetEntry","TimeSlot","Topic","TopicAssignment","TrackedCommunication","TrackedCommunicationDetail","TrainingCourseParticipant","TransactionJournal","Translation","TravelMode","TrialEnvironmentSignup","TrnCourse","UnitOfMeasure","UnitOfMeasureConversion","UsageEntitlement","UsageEntitlementPeriod","UsageEntitlementUsage","UsageFactor","UsageImpactFactor","UsageImpactGroup","UsageImpactGroupFactor","UsageImpactGroupPgmMeasure","UsageImpactGroupVersion","User","UserEsignVendorIdentifier","UserFinancialAuthority","UserLicenseDefinition","UserLocationAssignment","UserRole","Vehicle","VehicleAssetCrbnFtprnt","VehicleAssetEmssnSrc","VehicleAssetEnrgyUse","VehicleDefinition","VehicleUserAssignment","VideoCall","ViolationEnforcementAction","ViolationType","ViolationTypeAssessmentInd","ViolationTypeUse","Visit","VisitedParty","Visitor","VoiceCall","VolumeDiscount","VolunteerProject","Voucher","VoucherDefinition","WarrantyTerm","WarrantyTermCoverage","WasteFootprint","WasteFootprintItem","WaveAutoInstallRequest","WebCart","WebStore","WebStoreBuyerGroup","WebStoreCatalog","WebStoreInventorySource","WebStorePricebook","WebStoreSearchProdSettings","WorkCapacityLimit","WorkCapacityUsage","WorkCoaching","WorkContract","WorkOrder","WorkOrderLineItem","WorkPlan","WorkPlanSelectionRule","WorkPlanTemplate","WorkPlanTemplateEntry","WorkProcedure","WorkProcedureStep","WorkRewardFund","WorkRewardFundType","WorkStep","WorkStepTemplate","WorkType","WorkTypeCareSpecialty","WorkTypeCodeSetBundle","WorkTypeExtension","WorkTypeGroup","WorkTypeGroupDataTranslation","WorkTypeGroupMember","WorkTypeGroupRole","WorkerCompCoverageClass","WstDispoEmssnFctrSet","WstDispoEmssnFctrSetItm"]),Wt=new Set(["AIProductOptimizedField","ASEOrgSyncHealthStats","ASEOrgSyncHealthTxns","ActionableOrchResponseEvent","ActionableOrchSourceEvent","ActnblListKeyPrfmIndAsgnt","ApplicationSectionDefinition","ApplnStageSectionDefinition","AssetThresholdUpdateEvent","BulkApi2JobResultsEvent","BulkApi2JobStatusEvent","BulkMessage","CommerceJobStatus","CommerceSearchResultsRule","CompiledProduct","ConsentUnsubscribeEvent","ContentTaxonomyModel","ContextPersistenceEvent","ContractCreationEvent","ConvIntelligenceVoiceCall","ConvMessageSendRequest","ConversationInsightEvent","ConversationTranscriptSendRequest","DataActionJobStatusEvent","DataCloudCurrencyConfig","DataCloudFiscalCalendar","DataMultiOrgServiceEvent","DataObjectDependency","DecisionTableRecordset","DiscoveryFrwrkSampleTemplate","DiscoveryFrwrkTemplateMember","DocumentExtReviewerConsent","EmailBounceEvent","ExtKnowledgeIngestionStatus","ExtKnowledgeIngestionTask","ExtKnowledgeOrgStatus","ExtKnowledgeXDSConnector","ExternalDocRefMapping","ExternalEncryptionRootKey","FirstBillPaymentSetupEvent","FlowDefDataActionMapping","GenericHammerResult","GeolocationBasedAction","InsuranceRatingInput","InsuranceRatingOutput","InsuranceRatingRequestEvent","InsuranceRatingRequestItem","InterviewItemWaitCondition","MLFeature","ManagedContentJobBody","ManagedContentOffCoreLocation","ManagedContentSpaceFolderShare","MerchantAccountEvent","MessagingChannelUpdateEvent","MetricsDeletionJobStatus","MktMLModelPartitionRun","MktMLModelSetupRun","MktMLSetupRunChgEvent","MngContentFormActionEvent","ObjectUserTerritory2View","OrgSharingEvent","PaymentIntentEvent","PaymentLinkEvent","PlatformEventUsage","PriceSheetData","PricingDecisionHashMap","PricingLookupSyncStatus","PushUpgradeCustomization","QuoteSaveEvent","RelationshipGraphView","Rule","RuleAction","RuleActionParameter","RuleCondition","RuleDeploymentRequestEvent","RuleExpression","RuleExpressionTerm","RuleFilterCriteria","RuleLibrary","RuleReferenceVariable","RuleValue","RuleVersion","Ruleset","RulesetDependency","RulesetVersion","SalesTrxnItemPrcSht","SalesTrxnItemPrcShtShape","SavedPaymentMethodEvent","ScheduledReminder","SearchBBRule","SearchBBRuleCondition","ServiceAppointmentEvent","SiqOrgMigrationStatus","StatsInvalidationEvent","TenantBillingUsageEvent","WebPushMessageSubscription","WebStoreCMS","WebStoreUserCreatedEvent"]),Kt=5,Qt=".",Gt={kind:"Scalar",name:"value"},$t={kind:"Scalar",name:"displayValue"},Ht={kind:"Object",name:"fields"};function Jt(e,t=[]){const r={name:"<root>",optional:!1,scalar:!1,children:{}};return tr(r,e,!1),tr(r,t,!0),r}function Zt(e,t){const r=[],{children:n}=t,o=Pe(n);for(let e=0,t=o.length;e<t;e+=1){const t=n[o[e]];let a;a=!0===t.scalar?Gt:{kind:"Link",name:"value",nullable:!0,fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:ar(t),version:jt}};const i={kind:"Link",name:t.name,required:!0!==t.optional&&void 0,fragment:{kind:"Fragment",version:gt,private:[],selections:[$t,a]}};Te.call(r,i)}return{kind:"Object",name:e,selections:r}}function Xt(e){const t=[],r=Pe(e);for(let n=0,o=r.length;n<o;n++){const o=r[n],{value:a}=e[o];let i=Gt;or(a)&&(i={kind:"Link",name:"value",nullable:!0,fragment:{kind:"Fragment",private:[],selections:sr(a),version:jt}});const s={kind:"Link",name:o,required:void 0,fragment:{kind:"Fragment",version:gt,private:[],selections:[$t,i]}};Te.call(t,s)}return{kind:"Object",name:Ht.name,selections:t}}function Yt(e){const t=[],r=Pe(e.fields);for(let n=0,o=r.length;n<o;n++){const o=r[n],{value:a}=e.fields[o];if(or(a)){const e=Yt(a);for(let t=0,r=e.length;t<r;t++)e[t]=`${o}.${e[t]}`;Te.apply(t,e)}else Te.call(t,o)}return t}function er(e){const{apiName:t}=e,r=Yt(e);for(let e=0,n=r.length;e<n;e++)r[e]=`${t}.${r[e]}`;return r}function tr(e,t,r){for(let n=0,o=t.length;n<o;n++){const o=t[n].split(Qt);let a=e;for(let e=1,t=o.length;e<t&&e<=Kt+1;e++){const n=o[e];let i=a.children[n];if(void 0===i){const o=e===t-1;(e<=Kt||!0===o)&&(a.scalar=!1,i={name:n,scalar:o,optional:r,children:{}},a.children[n]=i)}a=i}}}const rr={kind:"Object",name:"childRelationships"},nr={kind:"Object",opaque:!0,name:"drafts",required:!1};function or(e){return null!==e&&"object"==typeof e}function ar(e){return[...xt({childRelationships:rr,fields:Zt("fields",e)}).selections,nr]}function ir(e,t=[]){return ar(Jt(e,t))}function sr(e){return[...xt({childRelationships:rr,fields:Xt(e.fields)}).selections,nr]}const cr="__c",lr="__dlm",ur="__x",dr={representationName:"",namespace:ge,ttl:wt,version:"RECORD_REPRESENTATION_ERROR_VERSION_1"};function pr(e){return!!e&&"Node"===e.type}function fr(e){gr(e,"Id")}function mr(e){gr(e,"Name")}function gr(e,t){void 0===e.children[t]&&(e.children[t]={name:t,children:{}})}function yr(e,t,r,n,o={},a=0){if(!pr(t))return;if(Se.call(o,e))return;let i={...o,[e]:!0};const s=t.object("fields"),c=s.keys();let l=r;for(let e=0,t=c.length;e<t;e+=1){const t=c[e],r=s.link(t);let o=l.children[t];if(void 0===o){if(o={name:t,children:{}},r.isMissing()){l.children[t]=o;continue}const e=r.follow();if(!pr(e))continue;const{maxDepth:s,onlyFetchLeafNodeIdAndName:c}=n;if(!1===e.isScalar("value")){if(a+1>s){!0===c&&(fr(l),mr(l));continue}const r=e.link("value"),u=r.follow();if(hr(u))continue;yr(r.data.__ref,u,o,n,i,a+1),0===Pe(o.children).length&&(fr(o),mr(o)),l.children[t]=o}else{if(a===s){if(!0===c){fr(l),mr(l);continue}if(null===e.scalar("value"))continue}const t=r.linkData();if(void 0!==t){const{fields:e}=t;if(Ne.call(e,"ExternalId"))continue;for(let t=0,r=e.length;t<r;t+=1){const r=e[t];o.children[r]={name:r,children:{}}}}}l.children[t]=o}}}function hr(e){return!(!pr(e)||!e.isScalar("apiName"))&&Re.call(e.scalar("apiName"),ur)}function vr(e){return 0===Pe(e.children).length?[]:br(e)}function br(e){const t=Pe(e.children);return 0===t.length?""===e.name?[]:[e.name]:Le.call(t,(t,r)=>Ie.call(t,br(e.children[r]).map(t=>`${e.name}.${t}`)),[])}const Pr=ve({name:"",children:{}}),Sr=(e=[],t=!1)=>{if(0===e.length)return Pr;const r={name:Ar(e[0]),children:{},optional:t};return tr(r,e,t),r},Ar=e=>{const t=De(e);return void 0===t?"":function(e){const t=e.indexOf(".");if(t<1)throw new TypeError("Value does not include an object API name.");return[e.substring(0,t),e.substring(t+1)]}(t)[0]};function Rr(e,t){const r=e.children,n=t.children,o=Pe(n);for(let e=0,t=o.length;e<t;e++){const t=o[e];void 0===r[t]?r[t]=n[t]:Rr(r[t],n[t])}}function kr(e,t,r,n){const o=void 0===n?[]:[...n];if(!pr(t))return o;const a=t.scalar("apiName"),i={name:a,children:{}};yr(e,t,i,r);const s={name:a,children:{}};return tr(s,o),Rr(i,s),vr(i).sort()}function Ir(e){return null===e.recordTypeId?Vt:e.recordTypeId}function Cr(e,t){if(!pr(e))return;const r=e.scalar("apiName");for(let n=0,o=t.length;n<o;n++){const o=t[n].split(".");o[0]===r&&Lr(e,o.slice(1))}}function Nr(e,t){if(!pr(e))return;const r=e.object("fields"),n=t.shift();if(r.isUndefined(n))return;const o=r.link(n),a=o.follow();if(pr(a)&&a.isScalar("value")&&t.length>0&&!be(o.data)){const e=o.linkData(),r=void 0===e?[]:e.fields;o.writeLinkData({fields:we([...r,t.join(".")])})}}function Tr(e,t){if(!pr(e))return;const r=e.scalar("apiName");for(let n=0,o=t.length;n<o;n++){const o=t[n].split(".");o[0]===r&&Nr(e,o.slice(1))}}function Lr(e,t){if(!pr(e))return;const r=e.object("fields"),n=t.shift();if(!0===r.isUndefined(n))return void Fr(r,n);const o=r.link(n);if(o.isPending())Fr(r,n);else if(t.length>0&&!1===o.isMissing()){const e=o.follow();if(!pr(e))return;!1===e.isScalar("value")&&Lr(e.link("value").follow(),t)}}function Fr(e,t){e.write(t,{__ref:void 0,isMissing:!0})}function _r(e){return(zt.has(e)||Re.call(e,cr)||Re.call(e,lr))&&!Wt.has(e)}function Er(e,t){if(e.name!==t.name)return!1;const r=e.children,n=t.children,o=Pe(r),a=Pe(n),i=a.length;if(i>o.length)return!1;let s=!0;for(let e=0;e<i;e++){const t=a[e],o=r[t];if(void 0===o)return!1;s=s&&Er(o,n[t])}return s}function wr(e,t,r,n,o){const{body:a}=t,i=sr(a),s=qt(0,{recordId:r});e.storeIngest(s,n,a),An(e,o);return e.storeLookup({recordId:s,node:{kind:"Fragment",private:[],selections:i,version:jt},variables:{}})}function jr(e,t,r){const n={...e.fields},o={...e,fields:n},a=Pe(t.fields);for(let t=0,o=a.length;t<o;t+=1){const o=a[t];if(void 0===e.fields[o]){if(pr(r)){const e=r.object("fields").link(o),t=e.follow();if(pr(t)){if(!1===t.isScalar("value")){if(hr(t.link("value").follow()))continue}}else{const t=e.linkData();if(void 0!==t){const{fields:e}=t;if(Ne.call(e,"ExternalId"))continue}}}n[o]={__ref:void 0,pending:!0}}}return o}function Or(e,t,r,n){const o=qt(0,{recordId:t.id}),a=e.wrapNormalizedGraphNode(t,o),i=e.wrapNormalizedGraphNode(r,o),s={name:t.apiName,children:{}},c={name:r.apiName,children:{}},l={maxDepth:Q.getTrackedFieldDepthOnCacheMergeConflict(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()};return yr(o,a,s,l),yr(o,i,c,l),t.weakEtag>r.weakEtag?function(e,t,r,n,o,a){return!1===Er(r,n)?!1===_r(e.apiName)?Dr(e,t):(o.conflicts[e.id]={recordId:e.id,trackedFields:n},jr(e,t,a)):e}(t,r,s,c,n,i):function(e,t,r,n,o,a,i){if(!1===Er(o,n)){if(!1===_r(t.apiName))return Dr(r,t);const o=jr(r,t,i);return a?a.conflicts[t.id]={recordId:t.id,trackedFields:n}:sn(e,{recordId:t.id,optionalFields:vr(n)}),o}return r}(e,t,r,s,c,n)}function qr(e,t){return null===e?t:e}function Dr(e,t){const r=qr(e.lastModifiedDate,t.lastModifiedDate),n=qr(e.lastModifiedById,t.lastModifiedById),o=qr(e.systemModstamp,t.systemModstamp);return{...e,fields:{...t.fields,...e.fields},lastModifiedDate:r,lastModifiedById:n,systemModstamp:o}}function Br(e){return`UiApi::RecordRepresentationDependency:${e.recordId}`}function xr(e,t,r,n){if(void 0===e)return t;!function(e,t,r){const n=t.value;if(null!==e.displayValue&&null===t.displayValue&&null!==n){t.displayValue=e.displayValue;const o="object"==typeof n;H.nullDisplayValueConflict({entityName:r.parent.data.apiName,fieldName:r.propertyName,fieldType:o?"spanning-record":"scalar",areValuesEqual:o?void 0:n===e.value})}}(e,t,n);const{value:o}=t;if(null===o||void 0===o.__ref){const r=n.parent;if(void 0===r.existing)return t;if(r.existing.weakEtag>r.data.weakEtag)return e}return t}function Mr(e,t,r){return(n,o,a,i,s)=>{const c=o.fullPath;let l=i.readEntry(c),u=function(e,t,r,n,o,a,i,s,c){const l=e.value,u=r.fullPath+"__value";if(null!==l&&"object"==typeof l){const d=Wr(i,s,c);e.value=d(l,{fullPath:u,propertyName:"value",parent:{data:e,key:r.fullPath,existing:t}},n,o,a)}return e}(n,i.readEntry(c),{fullPath:c,parent:o.parent,propertyName:o.propertyName},a,i,s,e,t,r);return l=i.readEntry(c),u=xr(l,u,0,o),void 0!==l&&!1!==bt(l,u)||a.storePublish(c,u),Qe(c)}}function Ur(e,t){const r=e.children[t];return void 0===r?Pr:r}function Vr(e,t,r){return(n,o,a,i,s)=>{const c=o.propertyName,l=Ur(e,c),u=Ur(t,c),d=Mr(l,u,r)(n,o,a,i,s);return null===n.value&&function(e,t,r){let n=[];const o=[];e&&Te.call(o,e),t&&Te.call(o,t);for(let e=0;e<o.length;e++){const t=o[e],r=Pe(t.children);for(let e=0;e<r.length;e++){const o=r[e],a=t.children[o];a&&(n=[...n,...br(a)])}}n=we(n),n.length>0&&(r.data={fields:n})}(l,u,d),d}}function zr(e,t,r){return n={childRelationships:Tt,fields:Vr(e,t,r)},function(e,t,r,o,a,i){const s=e.childRelationships,c=r.fullPath+"__childRelationships",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=n.childRelationships(p,{fullPath:f,propertyName:u,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}const d=e.fields,p=r.fullPath+"__fields",f=Object.keys(d),m=f.length;for(let s=0;s<m;s++){const c=f[s],l=d[c],u=p+"__"+c;d[c]=n.fields(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}return e};var n}const Wr=(e,t,r)=>{const n=zr(e,t,r);return(e,t,o,a,i)=>{e.eTag="";const s=Et(o,e);let c=a.readEntry(s);const l={fullPath:s,parent:t.parent,propertyName:t.propertyName};let u=n(e,c,l,o,a,i);return c=a.readEntry(s),u=function(e,t,r,n,o){if(void 0===e||"error"===e.__type)return t;if(t.recordTypeId!==e.recordTypeId){null!==t.recordTypeId&&void 0!==t.recordTypeId&&null!==e.recordTypeId&&void 0!==e.recordTypeId||H.recordTypeIdIsNull(t.apiName);const n=Br({recordId:e.id}),o=r.getNode(n);if(pr(o)){const e=o.retrieve();if(null!==e){const t=Pe(e);for(let e=0,n=t.length;e<n;e++)r.storeEvict(t[e])}}}e.apiName!==t.apiName&&H.recordApiNameChanged(t.apiName,e.apiName);const a=0===t.weakEtag,i=0===e.weakEtag;return(a||i)&&H.weakEtagZero(a,i,t.apiName),a||i||t.weakEtag===e.weakEtag?Dr(t,e):Or(r,t,e,o)}(c,u,o,0,r),void 0!==c&&!1!==function(e,t){if(e.weakEtag!==t.weakEtag)return!1;if(e.apiName!==t.apiName)return!1;if(e.eTag!==t.eTag)return!1;if(e.id!==t.id)return!1;if(!1===Ke(e.childRelationships,t.childRelationships,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===Ke(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.lastModifiedById!==t.lastModifiedById)return!1;if(e.lastModifiedDate!==t.lastModifiedDate)return!1;if(e.recordTypeId!==t.recordTypeId)return!1;const r=e.recordTypeInfo,n=t.recordTypeInfo;return!!(r===n||null!=r&&null!=n&&mt(r,n))&&e.systemModstamp===t.systemModstamp}(c,u)&&void 0===c.drafts||o.storePublish(s,u),o.publishStoreMetadata(s,{ttl:wt,representationName:Ot,namespace:ge,version:jt,ingestionTimestamp:i}),Qe(s)}};function Kr(e){const{fields:t,optionalFields:r,trackedFields:n,serverRequestCount:o=1}=e,a={conflicts:{},serverRequestCount:o},i=Wr(t,r,a);return(e,t,r,o,s)=>{const c=i(e,t,r,o,s);An(r,a);return Cr(r.getNode(c.__ref),vr(n)),c}}function Qr(e,t){const{queryParams:r,headers:n,basePath:o,baseUri:a,urlParams:i}=t,{basePath:s,baseUri:c,headers:l,urlParams:u}=e,d=`${a}${o}`,p=`${c}${s}`;if(void 0!==r.layoutTypes)return!1;if(p!==d){const e=$r(i),t=$r(u),r=function(e){return Se.call(e,"recordIds")&&1===e.recordIds.length}(u)&&function(e){return Se.call(e,"recordId")}(i)&&e[0]===t[0];if(!r||function(e,t){return e.includes("/record-ui")&&t.includes("/records")||e.includes("/records")&&t.includes("/record-ui")}(p,d))return!1}const f=Pe(n),m=f.length;if(m!==Pe(l).length)return!1;for(let e=0,t=m;e<t;e++){let t=f[e];if(n[t]!==l[t])return!1}return function(e,t){if(t.length>e.length)return!1;const r={};for(let t=0,n=e.length;t<n;t+=1)r[e[t]]=!0;for(let e=0,n=t.length;e<n;e+=1)if(void 0===r[t[e]])return!1;return!0}(Gr(e.queryParams.fields,e.queryParams.optionalFields),Gr(r.fields,r.optionalFields))}function Gr(e,t){return[...ke(e)?e:[],...ke(t)?t:[]]}function $r(e){return Se.call(e,"recordId")?[e.recordId]:Se.call(e,"recordIds")?e.recordIds:[]}const Hr=function(e){return{...Xr(e),fulfill:Qr}};function Jr(e,t){return qt(0,{recordId:t.urlParams.recordId})}function Zr(e,t,r,n){At(e,t,n)}function Xr(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const Yr=[fe("recordId",!0,0,0,!1,pt),fe("childRelationships",!1,1,0,!0),fe("fields",!1,1,0,!0,Be),fe("forms",!1,1,0,!0),fe("layoutTypes",!1,1,0,!0,ft),fe("modes",!1,1,0,!0,ft),fe("optionalFields",!1,1,0,!0,Be),fe("pageSize",!1,1,3),fe("updateMru",!1,1,1)],en=n.createResourceParams(Yr);function tn(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Yr),t}(n.coerceConfig(e,Yr));return se(r,t)?void 0===r.layoutTypes&&void 0===r.fields&&void 0===r.optionalFields?null:r:null}function rn(e,t,r,n){return{recordId:qt(0,{recordId:t}),node:{kind:"Fragment",private:["eTag","weakEtag"],selections:ir(r,n),version:jt},variables:{}}}function nn(e,t){return{config:t,resolve:()=>sn(e,t)}}function on(e,t,r,n,o,a){const{body:i}=o,s=void 0===t.fields?[]:t.fields,c=void 0===t.optionalFields?[]:t.optionalFields,l=Sr(s,!1);return e.storeIngest(r,Kr({fields:l,optionalFields:Sr(c,!0),trackedFields:Sr(n,!0),serverRequestCount:a}),i),e.storeLookup(rn(0,t.recordId,s,c),nn(e,t))}function an(e,t,r,n){const o=e.errorSnapshot(n,nn(e,t));return e.storeIngestError(r,o,dr),o}function sn(e,t,r=0,o){const{request:a,key:i,allTrackedFields:s,resourceParams:c}=function(e,t){const{recordId:r,fields:n}=t,o=Jr(0,en(t)),a=kr(o,e.getNode(o),{maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},t.optionalFields),i=void 0===n?a:function(e,t){const{length:r}=e,{length:n}=t;if(0===r||e===t)return[];if(0===n)return e;const o={};for(let e=0;e<n;e+=1)o[t[e]]=!0;const a=[];for(let t=0;t<r;t+=1){const r=e[t];void 0===o[r]&&a.push(r)}return a}(a,n),s=en({recordId:r,fields:n,optionalFields:i.length>0?i:void 0});return{request:Hr(s),key:o,allTrackedFields:a,resourceParams:s}}(e,t);return e.dispatchResourceRequest(a,o).then(o=>(function(e){return ke(e.results)&&1===e.results.length}(o.body)&&(o.body=o.body.results[0].result),e.handleSuccessResponse(()=>function(e,t,r,n,o,a){const i=on(e,t,r,n,o,a);return e.storeBroadcast().then(()=>i)}(e,t,i,s,o,r+1),()=>{const t=new n.StoreKeyMap;return Zr(t,e,0,o.body),t})),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=an(e,t,r,n);return e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function cn(e,t){const{config:r,luvio:n}=e,o=void 0===r.fields?[]:r.fields,a=void 0===r.optionalFields?[]:r.optionalFields;return t(rn(0,r.recordId,o,a),nn(n,r))}function ln(e,t){const{config:r,luvio:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=t,c={resourceRequestContext:{requestCorrelator:a,sourceContext:s},eventObservers:i};return"normal"!==o&&(c.overrides={priority:o}),sn(n,r,0,c)}function un(e,t,r){return e.applyCachePolicy(r||{},{config:t,luvio:e},cn,ln)}const dn="98cce53b8d13b1883d001bbdaab24383",pn=re(null);function fn(e,t){return ge+"::BatchRepresentation:(childRelationships:"+t.queryParams.childRelationships+",fields:"+t.queryParams.fields+",layoutTypes:"+t.queryParams.layoutTypes+",modes:"+t.queryParams.modes+",optionalFields:"+t.queryParams.optionalFields+",pageSize:"+t.queryParams.pageSize+",updateMru:"+t.queryParams.updateMru+",recordIds:"+t.urlParams.recordIds+")"}function mn(e,t,r,n){const o=n.results,a=function(e){let t=[];for(let r=0,n=e.urlParams.recordIds.length;r<n;r+=1){const n=e.urlParams.recordIds[r];t.push({urlParams:{recordId:n},queryParams:{fields:e.queryParams.fields,optionalFields:e.queryParams.optionalFields}})}return t}(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)Zr(e,t,0,c);else if(404===s){const t=Jr(0,n);e.set(t,{namespace:ge,representationName:Ot,mergeable:!1})}}}function gn(e,t,r,n){const o=fn(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}function yn(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/batch/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}function hn(e){const{records:t}=e,r=[],n=[],o=[];for(let e=0,a=t.length;e<a;e+=1){const{recordIds:a,fields:i=[],optionalFields:s=[]}=t[e];ae.call(r,...a),i.length>0&&ae.call(n,...i),s.length>0&&ae.call(o,...s)}return{urlParams:{recordIds:r},queryParams:{fields:n.length>0?n:void 0,optionalFields:o.length>0?o:void 0}}}function vn(e){const t=[],{records:r}=e;for(let e=0,n=r.length;e<n;e+=1){const n=r[e],{recordIds:o,fields:a,optionalFields:i}=n;for(let e=0,r=o.length;e<r;e+=1){const r=o[e],n={};oe(a)&&(n.fields=a),oe(i)&&(n.optionalFields=i),t.push({urlParams:{recordId:r},queryParams:n})}}return t}function bn(e,t){return function(e,t,r){const o="result",a="statusCode",i="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:s=>{const c=e.storeLookup({recordId:fn(0,r),node:{kind:"Fragment",private:[],version:dn},variables:{}});if("Error"===c.state&&"fetchResponse"===c.error.errorType&&404===c.error.status)return{state:c.state,value:c.error};const l={};s.enterPath(i);const u=s.getTimeStamp(),d=[];for(let e=0,r=t.length;e<r;e+=1){s.enterPath(e),s.enterPath(o);const r=t[e],n=Jr(0,r),i=s.getIsDataMissing(),c=s.read(rn(0,r.urlParams.recordId,r.queryParams.fields||[],r.queryParams.optionalFields||[]));s.exitPath();const l={};switch(s.markSeenId(n),c.state){case"Stale":s.markStale();case"Fulfilled":s.enterPath(a),s.assignScalar(a,l,200),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,c.data),s.exitPath();break;case"Error":s.enterPath(a),s.assignScalar(a,l,c.error.status),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,c.error.body),s.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===s.isRebuilding()){s.markMissingLink(n);break}const e=pn[n];if(void 0===e||e.expiration<u)s.markMissingLink(n);else{!1===i&&s.unMarkMissing();const{response:t,status:r}=e;s.enterPath(a),s.assignScalar(a,l,r),s.exitPath(),s.enterPath(o),s.assignNonScalar(l,o,t),s.exitPath()}}break;case"Pending":s.markPending()}ae.call(d,l),s.exitPath()}return s.assignNonScalar(l,i,d),n.deepFreeze(l),s.exitPath(),l}}}(e,vn(t),hn(t))}function Pn(e,t,r,o,a=0){const i=o.body.results,s=vn(t),c=fn(0,r),{childSnapshotData:l,seenRecords:u}=function(e,t,r,o=0){const a=[];let i=new n.StoreKeySet,s="Fulfilled";const c=Date.now();for(let n=0,l=t.length;n<l;n+=1){const l=t[n],u=Jr(0,l),d=r[n],{statusCode:p,result:f}=d;if(200===p){const t={status:p,body:f,ok:!0,statusText:"OK",headers:{}},r=kr(u,e.getNode(u),{maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},l.queryParams.optionalFields),n=on(e,{recordId:l.urlParams.recordId,fields:l.queryParams.fields,optionalFields:l.queryParams.optionalFields},u,r,t,o+1);"Stale"===n.state&&(s="Stale"),i.merge(n.seenRecords),i.add(n.recordId);const c={statusCode:p,result:n.data};a.push(c)}else{const t={status:p,body:f,ok:!1,statusText:de(p),headers:{},errorType:"fetchResponse"};an(e,{recordId:l.urlParams.recordId,fields:l.queryParams.fields,optionalFields:l.queryParams.optionalFields},u,t),i.add(u);const r={statusCode:p,result:f};a.push(r)}404!==p&&200!==p?pn[u]={expiration:c+wt,response:f,status:p}:delete pn[u]}const l={results:a};return n.deepFreeze(l),{childSnapshotData:l,seenRecords:i,snapshotState:s}}(e,s,i,a),d={recordId:c,data:l,state:"Fulfilled",seenRecords:u,select:{recordId:c,node:bn(e,t),variables:{}},refresh:{config:t,resolve:()=>Sn(e,t,a,le)},variables:{}};return e.storeBroadcast().then(()=>d)}function Sn(e,t,r=0,o){const a=hn(t),i=yn(a);return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>Pn(e,t,a,o,r+1),()=>{const t=new n.StoreKeyMap;return mn(t,e,a,o.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=gn(e,r,n,{config:t,resolve:()=>Sn(e,t,0,le)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}function An(e,t){const r=Pe(t.conflicts);if(0!==r.length)if(1===r.length){const n=r[0];sn(e,{recordId:n,optionalFields:vr(t.conflicts[n].trackedFields)},t.serverRequestCount)}else{Sn(e,{records:Le.call(r,(e,r)=>{const{trackedFields:n}=t.conflicts[r];return Te.call(e,{recordIds:[r],optionalFields:vr(n)}),e},[])},t.serverRequestCount)}else H.recordConflictsResolved(t.serverRequestCount)}re(null);const Rn=(e,t,r,n,o)=>{const a={conflicts:{},serverRequestCount:0};e.eTag="";const i=Wr(Pr,Pr,a)(e,t,r,n,o);return An(r,a),i},kn="0.111.0",In={ttl:Number.MAX_SAFE_INTEGER,namespace:"",representationName:"",version:kn};function Cn(e,t){if(void 0===t){const t=En(e,0);if(void 0===t)return;return[t,0]}const r=Ln(e,t);if(!(r<0))return[t,r]}function Nn(e,t){return void 0===e?t:{...e,...t}}function Tn(e,t){const r=e.__END__;return void 0===r||t<r?En(e,t):null}function Ln(e,t){if(null==t)return 0;const r=e[t];return void 0===r?-1:r}function Fn(e,t,r){const n=e.__END__,o=t+r;return void 0===n?o:Math.min(o,n)}function _n(e,t,r){const n=t-r;if(n<0)return null;const o=e.__END__;return void 0!==o&&n>=o?void 0:En(e,n)}function En(e,t){const r=Object.keys(e);for(let n=0,o=r.length;n<o;n++){const o=r[n];if(e[o]===t&&"__END__"!==o)return o}}function wn(e,t){const r=Object.keys(e);let n,o=-1;for(let a=0,i=r.length;a<i;a++){const i=r[a],s=e[i];if("__END__"!==i&&void 0!==s){if(s===t)return[i,s];s<t&&s>o&&(n=i,o=s)}}return[n,o]}const jn=function(e,t){return Bn(e,{objectApiName:t.listReference.objectApiName.toLowerCase(),searchTerm:t.searchTerm,sortBy:t.sortBy,where:t.where,listViewApiName:t.listReference.listViewApiName?t.listReference.listViewApiName.toLowerCase():t.listReference.listViewApiName})},On=3e4,qn="e5c90c4081cd557f8ffec53028ede1e8",Dn="ListRecordCollectionRepresentation";function Bn(e,t){return ge+"::"+Dn+":"+t.objectApiName+":"+(null===t.searchTerm?"":t.searchTerm)+":"+(null===t.sortBy?"":"["+t.sortBy.join(",")+"]")+":"+(null===t.where?"":t.where)+":"+(null===t.listViewApiName?"":t.listViewApiName)}function xn(e,t){return Bn(0,t)+"__pagination"}const Mn=function(e){const{selections:t,opaque:r}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:qn,read:(r,n)=>{const o={};if(void 0===e)return o;const a=n.resolveMetadata(r,kn),i=Un(a,e),{startOffset:s,endOffset:c,metadataProperties:l}=i;if(void 0!==a&&void 0!==s&&void 0!==c){const e="records";n.enterPath(e);const t=r[e],a=[],i=[];for(let e=s;e<c;e++)n.enterPath(e),n.readSingleLink(e,{name:"records",kind:"Link",fragment:Bt()},t,i,e-s),!1===n.getIsDataMissing()&&(a[e-s]=i[e-s]),n.exitPath();n.exitPath(),n.assignNonScalar(o,e,a)}return n.enterPath("currentPageToken"),n.readScalar("currentPageToken",l,o),n.exitPath(),n.enterPath("nextPageToken"),n.readScalar("nextPageToken",l,o),n.exitPath(),n.enterPath("previousPageToken"),n.readScalar("previousPageToken",l,o),n.exitPath(),n.enterPath("pageSize"),n.readScalar("pageSize",l,o),n.exitPath(),n.enterPath("count"),n.readScalar("count",l,o),n.exitPath(),n.enterPath("fields"),n.readScalarPlural("fields",r,o,!0),n.exitPath(),n.enterPath("listInfoETag"),n.readScalar("listInfoETag",r,o),n.exitPath(),n.enterPath("listReference"),n.readObject("listReference",{name:"listReference",kind:"Object",selections:t},r,o),n.exitPath(),n.enterPath("optionalFields"),n.readScalarPlural("optionalFields",r,o,!0),n.exitPath(),n.enterPath("searchTerm"),n.readScalar("searchTerm",r,o),n.exitPath(),n.enterPath("sortBy"),null===r.sortBy?n.readScalar("sortBy",r,o):n.readScalarPlural("sortBy",r,o,!0),n.exitPath(),n.enterPath("where"),n.readScalar("where",r,o),n.exitPath(),o}}};function Un(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=Cn(e,o);if(void 0===i)return n;const[s,c]=i,l=Fn(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=Tn(e,l);void 0!==u&&(r.nextPageToken=u);const d=_n(e,c,a);return void 0!==d&&(r.previousPageToken=d),r.pageSize=a,r.count=l-c,n}const Vn=function(e,t){const r=void 0===e.records?{name:"records",kind:"Link",fragment:Bt()}:e.records,{selections:n,opaque:o}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:qn,read:(e,o)=>{const a={};if(void 0===t)return a;const i=o.resolveMetadata(e,kn),s=Un(i,t),{startOffset:c,endOffset:l,metadataProperties:u}=s;if(void 0!==i&&void 0!==c&&void 0!==l){const t="records";o.enterPath(t);const n=e[t],i=[],s=[];for(let e=c;e<l;e++)o.enterPath(e),o.readSingleLink(e,r,n,s,e-c),!1===o.getIsDataMissing()&&(i[e-c]=s[e-c]),o.exitPath();o.exitPath(),o.assignNonScalar(a,t,i)}return o.enterPath("currentPageToken"),o.readScalar("currentPageToken",u,a),o.exitPath(),o.enterPath("nextPageToken"),o.readScalar("nextPageToken",u,a),o.exitPath(),o.enterPath("previousPageToken"),o.readScalar("previousPageToken",u,a),o.exitPath(),o.enterPath("pageSize"),o.readScalar("pageSize",u,a),o.exitPath(),o.enterPath("count"),o.readScalar("count",u,a),o.exitPath(),o.enterPath("fields"),o.readScalarPlural("fields",e,a,!0),o.exitPath(),o.enterPath("listInfoETag"),o.readScalar("listInfoETag",e,a),o.exitPath(),o.enterPath("listReference"),o.readObject("listReference",{name:"listReference",kind:"Object",selections:n},e,a),o.exitPath(),o.enterPath("optionalFields"),o.readScalarPlural("optionalFields",e,a,!0),o.exitPath(),o.enterPath("searchTerm"),o.readScalar("searchTerm",e,a),o.exitPath(),o.enterPath("sortBy"),null===e.sortBy?o.readScalar("sortBy",e,a):o.readScalarPlural("sortBy",e,a,!0),o.exitPath(),o.enterPath("where"),o.readScalar("where",e,a),o.exitPath(),a}}};const zn=function(e,t,r,n,o){const a=jn(r,e),i=n.readEntry(a),s=On;let c=function(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Rn(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,records:y}=e,h=void 0===u?0:Ln(u,p),v={[p]:h},b=h+y.length;if(null===f)v.__END__=b;else if(v[f]=b,void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}null!==g&&(v[g]=Math.max(h-m,0));const P=Nn(u,v);void 0!==u&&!1!==Ke(u,P,(e,t)=>e===t)||(r.storePublish(l,P),r.publishStoreMetadata(l,In)),Ge(c,l),void 0!==i&&void 0!==i.records&&(c.records=[...i.records.slice(0,h),...c.records,...i.records.slice(b)]),void 0!==i&&!1!==function(e,t){if(e.count!==t.count)return!1;if(e.pageSize!==t.pageSize)return!1;if(e.currentPageToken!==t.currentPageToken)return!1;if(e.currentPageUrl!==t.currentPageUrl)return!1;if(!1===We(e.fields,t.fields,(e,t)=>{if(e!==t)return!1}))return!1;if(e.listInfoETag!==t.listInfoETag)return!1;if(!$e(e.listReference,t.listReference))return!1;if(e.nextPageToken!==t.nextPageToken)return!1;if(e.nextPageUrl!==t.nextPageUrl)return!1;if(!1===We(e.optionalFields,t.optionalFields,(e,t)=>{if(e!==t)return!1}))return!1;if(e.previousPageToken!==t.previousPageToken)return!1;if(e.previousPageUrl!==t.previousPageUrl)return!1;if(!1===We(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.searchTerm!==t.searchTerm)return!1;const r=e.sortBy,n=t.sortBy;return!!(()=>null===r||null===n?r===n:!1!==We(r,n,(e,t)=>{if(e!==t)return!1})&&void 0)()&&e.where===t.where}(i,c)||r.storePublish(a,c);{const e={ttl:s,namespace:"UiApi",version:qn,representationName:Dn,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Qe(a)};function Wn(e,t,r,n){const o=jn(t,r);e.set(o,{namespace:ge,representationName:Dn,mergeable:!0}),e.set(o+"__pagination",{namespace:ge,representationName:Dn,mergeable:!0});const a=r.records.length;for(let n=0;n<a;n++)At(e,t,r.records[n])}const Kn=e=>function(t){const r=t.map(e=>Bn(0,e));return e.notifyStoreUpdateAvailable(r)},Qn="cf8d2eb042188974da26ffe6618cfd07",Gn="ListUiRepresentation";function $n(e,t){return ge+"::"+Gn+":"+(null===t.listViewApiName?"":t.listViewApiName)+":"+t.objectApiName+":"+t.type+":"+(null===t.sortBy?"":"["+t.sortBy.join(",")+"]")}function Hn(e,t){return $n(0,{listViewApiName:t.info.listReference.listViewApiName,objectApiName:t.info.listReference.objectApiName,type:t.info.listReference.type,sortBy:t.records.sortBy})}function Jn(e,t,r,n,o,a){const i=e.info,s=r.fullPath+"__info";e.info=lt(i,{fullPath:s,propertyName:"info",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a);const c=e.records,l=r.fullPath+"__records";return e.records=zn(c,{fullPath:l,propertyName:"records",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}const Zn=function(e,t){const r=void 0===e.info?{name:"info",kind:"Link",fragment:st()}:e.info,n=void 0===e.records?{name:"records",kind:"Link",fragment:Mn(t)}:e.records;return{kind:"Fragment",version:Qn,private:["eTag"],selections:[r,n]}};function Xn(e,t){if(e.eTag!==t.eTag)return!1;const r=e.info,n=t.info;if(r.__ref!==n.__ref)return!1;const o=e.records,a=t.records;return o.__ref===a.__ref}const Yn=function(e,t,r,o,a){const i=Hn(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Jn,"UiApi",Qn,Gn,Xn),Qe(i)};function eo(e,t,r,n){const o=Hn(0,r);e.set(o,{namespace:ge,representationName:Gn,mergeable:!1}),ut(e,t,r.info),Wn(e,t,r.records)}const to=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0,!1,je),fe("fields",!1,1,0,!0,Be),fe("optionalFields",!1,1,0,!0,Be),fe("pageSize",!1,1,3),fe("pageToken",!1,1,0),fe("sortBy",!1,1,0,!0,Be)],ro=me("getListUiByApiName",to),no=n.createResourceParams(to);function oo(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,to),t}(n.coerceConfig(e,to));return se(r,t)?r:null}const ao=[fe("listViewId",!0,0,0),fe("fields",!1,1,0,!0,Be),fe("optionalFields",!1,1,0,!0,Be),fe("pageSize",!1,1,3),fe("pageToken",!1,1,0),fe("sortBy",!1,1,0,!0,Be)],io=me("getListUiByListViewId",ao),so=n.createResourceParams(ao);function co(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ao),t}(n.coerceConfig(e,ao));return se(r,t)?r:null}const lo="0b29241fd9ed04bb61fde26b3f558ac4",uo="ListInfoSummaryRepresentation";function po(e,t){const r={id:t.id};return ge+"::"+uo+":"+(null===(n=r).id?"":n.id);var n}function fo(e,t,r,n,o,a){return e}function mo(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.url!==t.url)return!1;return e.id===t.id}const go=function(e,t,r,o,a){const i=po(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,fo,"UiApi",lo,uo,mo),Qe(i)};function yo(e,t,r,n){const o=po(0,r);e.set(o,{namespace:ge,representationName:uo,mergeable:!1})}const ho="d0cadb0927f908b5b64694e1cff0b2d7",vo="ListInfoSummaryCollectionRepresentation";function bo(e,t){return ge+"::"+vo+":"+t.objectApiName+":"+(null===t.queryString?"":t.queryString)+":"+t.recentListsOnly}function Po(e,t){return bo(0,{objectApiName:t.objectApiName,queryString:t.queryString,recentListsOnly:t.recentListsOnly})}const So=function(e){return{kind:"Fragment",reader:!0,synthetic:!1,version:ho,read:(t,r)=>{const n={};if(void 0===e)return n;const o=r.resolveMetadata(t,kn),a=function(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=Cn(e,o);if(void 0===i)return n;const[s,c]=i,l=Fn(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=Tn(e,l);void 0!==u&&(r.nextPageToken=u);const d=_n(e,c,a);void 0!==d&&(r.previousPageToken=d);return r.pageSize=a,r.count=l-c,n}(o,e),{startOffset:i,endOffset:s,metadataProperties:c}=a;if(void 0!==o&&void 0!==i&&void 0!==s){const e="lists";r.enterPath(e);const o=t[e],a=[],c=[];for(let e=i;e<s;e++)r.enterPath(e),r.readSingleLink(e,{name:"lists",kind:"Link",fragment:{kind:"Fragment",version:lo,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"url",kind:"Scalar"}]}},o,c,e-i),!1===r.getIsDataMissing()&&(a[e-i]=c[e-i]),r.exitPath();r.exitPath(),r.assignNonScalar(n,e,a)}return r.enterPath("currentPageToken"),r.readScalar("currentPageToken",c,n),r.exitPath(),r.enterPath("nextPageToken"),r.readScalar("nextPageToken",c,n),r.exitPath(),r.enterPath("previousPageToken"),r.readScalar("previousPageToken",c,n),r.exitPath(),r.enterPath("pageSize"),r.readScalar("pageSize",c,n),r.exitPath(),r.enterPath("count"),r.readScalar("count",c,n),r.exitPath(),r.enterPath("objectApiName"),r.readScalar("objectApiName",t,n),r.exitPath(),r.enterPath("queryString"),r.readScalar("queryString",t,n),r.exitPath(),r.enterPath("recentListsOnly"),r.readScalar("recentListsOnly",t,n),r.exitPath(),n}}};const Ao=function(e,t,r,n,o){const a=Po(0,e),i=n.readEntry(a),s=void 0!==t.ttl?t.ttl:2592e6;let c=function(e,t,r,n,o,a){const i=e.lists,s=r.fullPath+"__lists";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=go(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,lists:y}=e,h=void 0===u?0:Ln(u,p),v={[p]:h},b=h+y.length;if(null===f)v.__END__=b;else if(v[f]=b,void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}null!==g&&(v[g]=Math.max(h-m,0));const P=Nn(u,v);var S,A;if(void 0!==u&&!1!==Ke(u,P,(e,t)=>e===t)||(r.storePublish(l,P),r.publishStoreMetadata(l,In)),Ge(c,l),void 0!==i&&void 0!==i.lists&&(c.lists=[...i.lists.slice(0,h),...c.lists,...i.lists.slice(b)]),void 0!==i&&!1!=(A=c,(S=i).recentListsOnly===A.recentListsOnly&&S.count===A.count&&S.pageSize===A.pageSize&&S.currentPageToken===A.currentPageToken&&S.currentPageUrl===A.currentPageUrl&&S.eTag===A.eTag&&S.objectApiName===A.objectApiName&&!1!==We(S.lists,A.lists,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&S.nextPageToken===A.nextPageToken&&S.nextPageUrl===A.nextPageUrl&&S.previousPageToken===A.previousPageToken&&S.previousPageUrl===A.previousPageUrl&&S.queryString===A.queryString)||r.storePublish(a,c),void 0!==s){const e={ttl:s,namespace:"UiApi",version:ho,representationName:vo,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Qe(a)};const Ro=e=>function(t){const r=t.map(e=>bo(0,e));return e.notifyStoreUpdateAvailable(r)},ko=ge+"::"+Dn,Io=ge+"::"+vo;let Co=new Map,No=new Map;function To(e,t,r){const n=Co.get(e)||new Map;n.size||Co.set(e,n);const o=n.get(t)||new Set;o.size||n.set(t,o),o.add(r)}function Lo(e,t,r){const n=No.get(e)||new Map;n.size||No.set(e,n);const o=n.get(t)||new Set;o.size||n.set(t,o),o.add(r)}function Fo(e){const t=e.split(":");return{objectApiName:t[3],listViewApiName:t[7]}}function _o(e){const t=e.split(":");return{objectApiName:t[3],recentLists:t[5]}}function Eo(e){return`listReferenceById::${e}`}function wo(e,t){return`listReferenceByApiName::${e.toLowerCase()}:${t.toLowerCase()}`}function jo(e,t,r){r&&t.set(Eo(r),e),t.set(wo(e.objectApiName,e.listViewApiName||""),e)}function Oo(e,t){return e.listViewId?t.get(Eo(e.listViewId)):t.get(wo(e.objectApiName||"",e.listViewApiName||""))}const qo=st().selections;st().private;const Do=[...qo,{kind:"Scalar",name:"eTag"}];function Bo(e,t,r){let n={...t};n.objectApiName=n.objectApiName.toLowerCase(),n.listViewApiName=n.listViewApiName?n.listViewApiName.toLowerCase():n.listViewApiName;return r({recordId:at(0,{...n}),node:{kind:"Fragment",selections:Do,private:[],version:nt},variables:{}})}function xo(e){const{objectApiName:t,listViewApiName:r}=e;return`defaults::${t.toLowerCase()}:${r?r.toLowerCase():r}`}function Mo(e,t,r,n){if(void 0!==e.sortBy&&e.sortBy.length>0||null===t.sortBy)return;const o=xo(r),a=n.get(o)||{};n.set(o,{...a,sortBy:t.sortBy})}function Uo(e,t){const r=Oo(e,t);if(void 0===r)return{};const n=xo(r);return t.get(n)||{}}const Vo=["CreatedDate","Id","LastModifiedById","LastModifiedDate","SystemModstamp"];function zo(e,t){const r=e.split(".");for(let e=1;e<r.length;++e){const n=r.slice(0,e).join(".");for(let e=0;e<Vo.length;++e)t[`${n}.${Vo[e]}`]=!0}}function Wo(e,t){return!!(e&&e.fields&&e.fields[t[0]]&&void 0!==e.fields[t[0]].value)&&(!(t.length>1)||Wo(e.fields[t[0]].value,t.slice(1)))}function Ko(e,{fields:t=[],optionalFields:r=[],sortBy:n},o){const{displayColumns:a,listReference:{objectApiName:i}}=o;let s={},c={},l={};for(let e=0,t=a.length;e<t;++e){const t=`${i}.${a[e].fieldApiName}`;s[t]=!0,zo(t,l)}for(let e=0,r=t.length;e<r;++e){const r=t[e].startsWith(`${i}.`)?t[e]:`${i}.${t[e]}`;s[r]||(s[r]=!0,zo(r,l))}for(let e=0,t=r.length;e<t;++e){const t=r[e].startsWith(`${i}.`)?r[e]:`${i}.${r[e]}`;s[t]||(c[t]=!0,zo(t,l))}const u=Bn(0,{listViewId:o.eTag,sortBy:n||null,searchTerm:null,where:null,objectApiName:o.listReference.objectApiName,listViewApiName:o.listReference.listViewApiName})+"__fieldstatus",d=e.getNode(u),p=pr(d)?d.retrieve():{missingFields:{...l}};return{getRecordSelectionFieldSets(){const e={...c},t=Pe(l);for(let r=0;r<t.length;++r){const n=t[r];s[n]||p.missingFields[n]||(e[n]=!0)}return[Pe(s).sort(),Pe(e).sort()]},processRecords(t){const{missingFields:r}=p,n=Pe(r);for(let e=0;e<n.length;++e){const o=n[e],a=o.split(".").slice(1);for(let e=0;e<t.length;++e)if(Wo(t[e],a)){delete r[o];break}}return e.storePublish(u,p),this}}}function Qo(e){return t=>{const r=(n=t.objectApiName,o=t.listViewApiName,[...(Co.get(n.toLowerCase())||new Map).get(o.toLowerCase())||[]]);var n,o;return e.notifyStoreUpdateAvailable(r)}}function Go(e){return t=>{const r=function(e,t){const r=No.get(e)||new Map;return[...r.get(t?"true":"false")||[],...void 0===t&&r.get("true")||[]]}(t.objectApiName,t.recentLists);return e.notifyStoreUpdateAvailable(r)}}let $o;function Ho(e,t){const r=Oo({objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase()},$o);if(void 0!==r){const e=Uo({...t.urlParams,...t.body},$o);return Bn(0,{objectApiName:r.objectApiName.toLowerCase(),listViewApiName:r.listViewApiName?r.listViewApiName.toLowerCase():r.listViewApiName,searchTerm:t.body.searchTerm||null,where:t.body.where||null,sortBy:void 0!==t.body.sortBy&&t.body.sortBy.length<=0?e.sortBy||t.body.sortBy||[]:t.body.sortBy||e.sortBy||[]})}return Bn(0,{objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase(),searchTerm:t.body.searchTerm||null,where:t.body.where||null,sortBy:t.body.sortBy||[]})}function Jo(e,t){const{fields:r=[],optionalFields:n=[]}=t.body;return Vn({records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:ir(r,n),version:jt}}},Xo(t))}function Zo(e,t,r,n){const{body:o}=r,a=Ho(0,t);e.storeIngest(a,zn,o);const i=t.body.optionalFields;if(i&&i.length>0){!function(e,t,r){const n=t.records;for(let t=0;t<n.length;t++){const o=n[t].__ref;if(void 0!==o){Cr(e.getNode(o),r)}}}(e,o,i)}return e.storeLookup({recordId:a,node:Jo(0,t),variables:{}},n)}function Xo(e){const{body:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}function Yo(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-records/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}function ea(e){if(e.data&&e.data[e.name]&&void 0!==e.data.previousPageToken){const{offsetFromToken:t,tokenForAtMost:r,paginationMetadata:n}=e.pagination,o=t(n,e.data.currentPageToken);if(o<0)return{pageSize:e.pageSize,pageToken:e.pageToken};const a=o+e.data[e.name].length,[i,s]=r(n,a);return{pageSize:o-s+e.pageSize,pageToken:i}}return{pageSize:e.pageSize,pageToken:e.pageToken}}function ta(e){return"Fulfilled"===e.state}function ra(e){return"Unfulfilled"===e.state}function na(e){return"Stale"===e.state}function oa(e){return"Error"===e.state}const aa="3529c5f7d0eb2206c90a52c6d9f721d4",ia="ListViewSummaryRepresentation";function sa(e,t){const r={id:t.id};return ge+"::"+ia+":"+(null===(n=r).id?"":n.id);var n}function ca(e,t,r,n,o,a){return e}function la(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.listUiUrl!==t.listUiUrl)return!1;return e.id===t.id}const ua=function(e,t,r,o,a){const i=sa(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,ca,"UiApi",aa,ia,la),Qe(i)};function da(e,t,r,n){const o=sa(0,r);e.set(o,{namespace:ge,representationName:ia,mergeable:!1})}const pa="f4c79fe066da3558499d5ee88c72abcd",fa="ListViewSummaryCollectionRepresentation";function ma(e,t){return ge+"::"+fa+":"+t.objectApiName+":"+(null===t.queryString?"":t.queryString)+":"+t.recentListsOnly}function ga(e,t){return ma(0,{objectApiName:t.objectApiName,queryString:t.queryString,recentListsOnly:t.recentListsOnly})}const ya=function(e){return{kind:"Fragment",reader:!0,synthetic:!1,version:pa,read:(t,r)=>{const n={};if(void 0===e)return n;const o=r.resolveMetadata(t,kn),a=function(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=Cn(e,o);if(void 0===i)return n;const[s,c]=i,l=Fn(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const u=Tn(e,l);void 0!==u&&(r.nextPageToken=u);const d=_n(e,c,a);void 0!==d&&(r.previousPageToken=d);return r.pageSize=a,r.count=l-c,n}(o,e),{startOffset:i,endOffset:s,metadataProperties:c}=a;if(void 0!==o&&void 0!==i&&void 0!==s){const e="lists";r.enterPath(e);const o=t[e],a=[],c=[];for(let e=i;e<s;e++)r.enterPath(e),r.readSingleLink(e,{name:"lists",kind:"Link",fragment:{kind:"Fragment",version:aa,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"listUiUrl",kind:"Scalar"}]}},o,c,e-i),!1===r.getIsDataMissing()&&(a[e-i]=c[e-i]),r.exitPath();r.exitPath(),r.assignNonScalar(n,e,a)}return r.enterPath("currentPageToken"),r.readScalar("currentPageToken",c,n),r.exitPath(),r.enterPath("nextPageToken"),r.readScalar("nextPageToken",c,n),r.exitPath(),r.enterPath("previousPageToken"),r.readScalar("previousPageToken",c,n),r.exitPath(),r.enterPath("pageSize"),r.readScalar("pageSize",c,n),r.exitPath(),r.enterPath("count"),r.readScalar("count",c,n),r.exitPath(),r.enterPath("objectApiName"),r.readScalar("objectApiName",t,n),r.exitPath(),r.enterPath("queryString"),r.readScalar("queryString",t,n),r.exitPath(),r.enterPath("recentListsOnly"),r.readScalar("recentListsOnly",t,n),r.exitPath(),n}}};const ha=function(e,t,r,n,o){const a=ga(0,e),i=n.readEntry(a),s=void 0!==t.ttl?t.ttl:2592e6;let c=function(e,t,r,n,o,a){const i=e.lists,s=r.fullPath+"__lists";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=ua(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,lists:y}=e,h=void 0===u?0:Ln(u,p),v={[p]:h},b=h+y.length;if(null===f)v.__END__=b;else if(v[f]=b,void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}null!==g&&(v[g]=Math.max(h-m,0));const P=Nn(u,v);var S,A;if(void 0!==u&&!1!==Ke(u,P,(e,t)=>e===t)||(r.storePublish(l,P),r.publishStoreMetadata(l,In)),Ge(c,l),void 0!==i&&void 0!==i.lists&&(c.lists=[...i.lists.slice(0,h),...c.lists,...i.lists.slice(b)]),void 0!==i&&!1!=(A=c,(S=i).recentListsOnly===A.recentListsOnly&&S.count===A.count&&S.pageSize===A.pageSize&&S.currentPageToken===A.currentPageToken&&S.currentPageUrl===A.currentPageUrl&&S.eTag===A.eTag&&S.objectApiName===A.objectApiName&&!1!==We(S.lists,A.lists,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&S.nextPageToken===A.nextPageToken&&S.nextPageUrl===A.nextPageUrl&&S.previousPageToken===A.previousPageToken&&S.previousPageUrl===A.previousPageUrl&&S.queryString===A.queryString)||r.storePublish(a,c),void 0!==s){const e={ttl:s,namespace:"UiApi",version:pa,representationName:fa,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Qe(a)};const va=e=>function(t){const r=t.map(e=>ma(0,e));return e.notifyStoreUpdateAvailable(r)};function ba(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?20:t.pageSize}}function Pa(e,t){const r=ba(t);return ya(r)}function Sa(e,t){return ma(0,{objectApiName:t.urlParams.objectApiName,queryString:t.queryParams.q||null,recentListsOnly:t.queryParams.recentListsOnly||!1})}function Aa(e,t,r,n){!function(e,t,r){const n=ga(0,r);e.set(n,{namespace:ge,representationName:fa,mergeable:!0}),e.set(n+"__pagination",{namespace:ge,representationName:fa,mergeable:!0});const o=r.lists.length;for(let t=0;t<o;t++)da(e,0,r.lists[t])}(e,0,n)}function Ra(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-ui/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const ka=[fe("objectApiName",!0,0,0,!1,je),fe("pageSize",!1,1,3),fe("pageToken",!1,1,0),fe("q",!1,1,0),fe("recentListsOnly",!1,1,1)],Ia=me("getListViewSummaryCollection",ka),Ca=n.createResourceParams(ka);function Na(e,t){return Sa(0,Ca(t))}function Ta(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ka),t}(n.coerceConfig(e,ka));return se(r,t)?r:null}function La(e,t){return Pa(0,Ca(t))}function Fa(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Sa(0,t);e.storeIngest(i,ha,a);const s=e.storeLookup({recordId:i,node:Pa(0,t),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>wa(e,t,le)});return e.storeBroadcast().then(()=>a)}function _a(e,t,r,n){const o=function(e,t,r,n){const o=Sa(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>wa(e,t,le)});return e.storeBroadcast().then(()=>o)}function Ea(e,t,r,n){if(void 0===n)return Ra(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.lists)return 0;const r=t.lists;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=Sa(0,t),n={recordId:r,node:{kind:"Fragment",version:pa,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:kn,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=ba(t),a=Ln(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=wn(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);return Ra(void 0===o?r:Ca({...t,pageSize:a,pageToken:o}))}function wa(e,t,r,o){const a=Ca(t),i=Ea(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>Fa(e,t,a,r),()=>{const e=new n.StoreKeyMap;return Aa(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>_a(e,t,a,r)))}function ja(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,wa,void 0,!0)}function Oa(e,t){const{luvio:r,config:n}=e,o=t({recordId:Na(0,n),node:La(0,n),variables:{}},{config:n,resolve:()=>wa(r,n,le)});return pe(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const qa=[fe("objectApiName",!0,0,0,!1,je),fe("fields",!1,1,0,!0,Be),fe("optionalFields",!1,1,0,!0,Be),fe("pageSize",!1,1,3),fe("pageToken",!1,1,0),fe("sortBy",!1,1,0,!0,Be)],Da=me("getMruListUi",qa),Ba=n.createResourceParams(qa);function xa(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,qa),t}(n.coerceConfig(e,qa));return se(r,t)?r:null}function Ma(e,t=400,r="data is not fetchable"){return n=>Promise.resolve(e.errorSnapshot({status:t,statusText:r,ok:!1,body:void 0,headers:{},errorType:"fetchResponse"}))}function Ua(e){return void 0!==e.then}const Va=50,za={...Da,parameters:{...Da.parameters,optional:[...Da.parameters.optional,"listViewApiName","listViewId"]}};function Wa(e,t){const r=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}(Ba(e)),n={records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:ir(...t.getRecordSelectionFieldSets()),version:jt}}},o=Vn(n,r);return Zn({records:{name:"records",kind:"Link",fragment:o}},r)}function Ka(e,t){return{config:t,resolve:()=>Ga(e,t)}}function Qa(e,t,r,n,o){const a=o||Ko(e,r,n),i=Ba(r);var s;return t({recordId:(s=i,$n(0,{listViewApiName:null,objectApiName:s.urlParams.objectApiName,type:"mru",sortBy:s.queryParams.sortBy||null})),node:Wa(r,a),variables:{}},Ka(e,r))}function Ga(e,t,r){const o=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/mru-list-ui/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(Ba(t));return e.dispatchResourceRequest(o,r).then(r=>{const{body:o}=r,a=o.records.sortBy;return a&&"string"==typeof a&&(o.records.sortBy=a.split(",")),e.handleSuccessResponse(()=>function(e,t,r){const{body:n}=r,o=n.info,a=$n(0,{...o.listReference,sortBy:n.records.sortBy}),i=Ko(e,t,o);i.processRecords(n.records.records);const s=Wa(t,i);e.storeIngest(a,Yn,n);const c=e.storeLookup({recordId:a,node:s,variables:{}},Ka(e,t));return e.storeBroadcast().then(()=>c)}(e,t,r),()=>{const t=new n.StoreKeyMap;return eo(t,e,o),t})},r=>e.handleErrorResponse(()=>function(e,t,r){return Promise.resolve(e.errorSnapshot(r,Ka(e,t)))}(e,t,r)))}function $a(e,t,r,o,a){const i=function(e,t,r,n){const{fields:o,optionalFields:a,pageSize:i,pageToken:s,sortBy:c}=t,l={fields:o,optionalFields:a,pageSize:i,pageToken:s,sortBy:c},u=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/mru-list-records/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{objectApiName:t.objectApiName},queryParams:l});if(n){const o={recordId:xn(0,{listViewId:r.eTag,searchTerm:null,where:null,sortBy:void 0===t.sortBy?null:t.sortBy,objectApiName:r.listReference.objectApiName.toLowerCase(),listViewApiName:r.listReference.listViewApiName?r.listReference.listViewApiName.toLowerCase():r.listReference.listViewApiName}),node:{kind:"Fragment",private:[],opaque:!0,version:kn},variables:{}},a=e.storeLookup(o),i="Fulfilled"===a.state?a.data:{},{pageSize:s,pageToken:c}=ea({data:n.data?n.data.records:null,name:"records",pageSize:t.pageSize||Va,pageToken:t.pageToken,pagination:{offsetFromToken:Ln,tokenForAtMost:wn,paginationMetadata:i}});s===Va&&void 0===u.queryParams.pageSize||(u.queryParams.pageSize=s),void 0===c&&void 0===u.queryParams.pageToken||(u.queryParams.pageToken=c)}return u}(e,t,r,a);return e.dispatchResourceRequest(i,o).then(a=>{const{body:i}=a;if(i.listInfoETag!==r.eTag)return Ga(e,t,o);const{sortBy:s}=i;return s&&"string"==typeof s&&(i.sortBy=s.split(",")),e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,{listInfoETag:a}=o,i=Ko(e,t,r).processRecords(o.records);e.storeIngest(Bn(0,{listViewId:a,searchTerm:null,where:null,sortBy:o.sortBy,objectApiName:r.listReference.objectApiName.toLowerCase(),listViewApiName:r.listReference.listViewApiName?r.listReference.listViewApiName.toLowerCase():r.listReference.listViewApiName}),zn,o);const s=Qa(e,e.storeLookup.bind(e),t,r,i);return e.storeBroadcast().then(()=>s)}(e,t,r,a),()=>{const t=new n.StoreKeyMap;return Wn(t,e,i),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,Ka(e,t));return e.storeIngestError($n(0,{...r.listReference,sortBy:void 0===t.sortBy?null:t.sortBy}),o),e.storeBroadcast().then(()=>o)}(e,t,r,n)))}function Ha(e,t,r){const{config:n}=e;return Bo(0,{id:null,listViewApiName:null,objectApiName:n.objectApiName.toLowerCase(),type:"mru"},t)}function Ja(e,t){const{config:r,listInfo:n,luvio:o}=e;if(void 0!==n)return e.listUi=Qa(o,t,r,n),e.listUi}function Za(e,t){const{config:r,listInfo:n,listUi:o,luvio:a}=e,{networkPriority:i,requestCorrelator:s,eventObservers:c,sourceContext:l}=t,u={resourceRequestContext:{requestCorrelator:s,sourceContext:l},eventObservers:c};return"normal"!==i&&(u.overrides={priority:i}),n&&o&&o.data&&!ta(o)&&!na(o)?$a(a,r,n,u,o):Ga(a,r,u)}const Xa=`${ge}__getListUi`,Ya=50,ei={...ro,parameters:{...ro.parameters,optional:[...ro.parameters.optional,"listViewId"]}},ti={...io,parameters:{...io.parameters,optional:[...io.parameters.optional,"listViewApiName","objectApiName"]}};function ri(e,t){if(void 0!==e.sortBy)return e.sortBy;const r=Uo(e,t);return void 0!==r.sortBy?r.sortBy:null}function ni(e,t,r){const n={...Uo(e,t),...e};let o;if(mi(n)){o=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}(so(n))}else if(pi(n)){o=function(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}(no(n))}const a={records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:ir(...r.getRecordSelectionFieldSets()),version:jt}}},i=Vn(a,o);return Zn({records:{name:"records",kind:"Link",fragment:i}},o)}function oi(e,t,r,n,o,a){return t({recordId:$n(0,{...o.listReference,sortBy:ri(n,r)}),node:ni(n,r,a||Ko(e,n,o)),variables:{}},ai(e,r,n))}function ai(e,t,r){return{config:r,resolve:()=>si(e,t,r,void 0)}}function ii(e,t,r,n){const{body:o}=n,a=o.info,{listReference:i}=a,s=$n(0,{...i,sortBy:o.records.sortBy}),c=Ko(e,r,a);c.processRecords(o.records.records),function(e,t){jo(e,t,e.id)}(i,t),Mo(r,o.records,i,t);const l=ni(r,t,c);e.storeIngest(s,Yn,o);const u=e.storeLookup({recordId:s,node:l,variables:{}},ai(e,t,r));return e.storeBroadcast().then(()=>u)}function si(e,t,r,o){const a=function(e){const{fields:t,optionalFields:r,pageSize:n,pageToken:o,sortBy:a}=e,i={fields:t,optionalFields:r,pageSize:n,pageToken:o,sortBy:a};let s;if(pi(e))s=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-ui/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewApiName:e.listViewApiName,objectApiName:e.objectApiName},queryParams:i});else{if(!mi(e))throw new Error("unrecognized config");s=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-ui/"+e.urlParams.listViewId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewId:e.listViewId},queryParams:i})}return s}(r);return e.dispatchResourceRequest(a,o).then(o=>{const{body:a}=o,i=a.records.sortBy;return i&&"string"==typeof i&&(a.records.sortBy=i.split(",")),e.handleSuccessResponse(()=>ii(e,t,r,o),()=>{const t=new n.StoreKeyMap;return eo(t,e,a),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n){return Promise.resolve(e.errorSnapshot(n,ai(e,t,r)))}(e,t,r,n)))}function ci(e,t,r,o,a,i){const{request:s,releaseKeys:c}=function(e,t,r,n,o){const{fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l}=r,u={fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l},d={fields:a,optionalFields:i,pageSize:s,pageToken:c,sortBy:l};let p;if(pi(r))p=Yo({urlParams:{listViewApiName:r.listViewApiName,objectApiName:r.objectApiName},body:d});else{if(!mi(r))throw new Error("how did MRU config get here?");p=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-records/"+e.urlParams.listViewId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{listViewId:r.listViewId},queryParams:u})}let f=()=>{};if(o){if("Error"!==o.state){const{recordId:t,seenRecords:r}=o,n=void 0===r?[t]:[t,...r.keysAsArray()],a=[];n.forEach(e=>a.push(e)),f=e.storeRetain(a)}const a={recordId:xn(0,{listViewId:n.eTag,searchTerm:null,where:null,sortBy:ri(r,t),objectApiName:n.listReference.objectApiName.toLowerCase(),listViewApiName:n.listReference.listViewApiName?n.listReference.listViewApiName.toLowerCase():n.listReference.listViewApiName}),node:{kind:"Fragment",private:[],opaque:!0,version:kn},variables:{}},i=e.storeLookup(a),s="Fulfilled"===i.state?i.data:{},{pageSize:c,pageToken:l}=ea({data:o.data?o.data.records:null,name:"records",pageSize:r.pageSize||Ya,pageToken:r.pageToken,pagination:{offsetFromToken:Ln,tokenForAtMost:wn,paginationMetadata:s}});c===Ya&&void 0===p.queryParams.pageSize||(p.queryParams.pageSize=c),(l||void 0!==p.queryParams.pageToken)&&(p.queryParams.pageToken=l)}return{request:p,releaseKeys:f}}(e,t,r,o,i);return e.dispatchResourceRequest(s).then(i=>{const{body:s}=i;if(s.listInfoETag!==o.eTag)return si(e,t,r,a);const{sortBy:l}=s;return l&&"string"==typeof l&&(s.sortBy=l.split(",")),e.handleSuccessResponse(()=>function(e,t,r,n,o,a){const{body:i}=o,{listInfoETag:s}=i,c=Ko(e,r,n).processRecords(i.records);e.storeIngest(Bn(0,{listViewId:s,searchTerm:null,where:null,sortBy:i.sortBy,objectApiName:n.listReference.objectApiName.toLowerCase(),listViewApiName:n.listReference.listViewApiName?n.listReference.listViewApiName.toLowerCase():n.listReference.listViewApiName}),zn,i);const l=oi(e,e.storeLookup.bind(e),t,r,n,c);return a(),e.storeBroadcast().then(()=>l)}(e,t,r,o,i,c),()=>{const t=new n.StoreKeyMap;return Wn(t,e,s),t})},n=>e.handleErrorResponse(()=>function(e,t,r,n,o,a){const i=e.errorSnapshot(o);return e.storeIngestError($n(0,{...n.listReference,sortBy:ri(r,t)}),i),a(),e.storeBroadcast().then(()=>i)}(e,t,r,o,n,c)))}function li(e,t,r){const{adapterContext:n,config:o}=e,a=Oo(o,n);if(void 0!==a)return Bo(0,a,t)}function ui(e,t){const{adapterContext:r,config:n,listInfo:o,luvio:a}=e;if(void 0!==o)return e.listUi=oi(a,t,r,n,o),e.listUi}function di(e,t){const{adapterContext:r,config:n,listInfo:o,listUi:a,luvio:i}=e,{networkPriority:s,requestCorrelator:c,eventObservers:l,sourceContext:u}=t,d={resourceRequestContext:{requestCorrelator:c,sourceContext:u},eventObservers:l};return"normal"!==s&&(d.overrides={priority:s}),o&&a&&a.data&&!ta(a)&&!na(a)?ci(i,r,n,o,d,a):si(i,r,n,d)}function pi(e){return void 0!==e.listViewApiName}function fi(e){return ie(e)&&e.objectApiName&&e.listViewApiName}function mi(e){return!!e.listViewId}function gi(e){return ie(e)&&e.listViewId}const yi=Symbol.for("MRU"),hi=e=>{const t=(t,r,n)=>{const o=function(e){return fi(e)?oo(e,ei):gi(e)?co(e,ti):null}(t);if(null===o)return null;const a=n||{},i=e.applyCachePolicy(a,{adapterContext:r,config:o,luvio:e},li,Ma(e)),s=t=>{const n=ta(t)||na(t)?t.data:void 0;return e.applyCachePolicy(a,{adapterContext:r,config:o,listInfo:n,luvio:e},ui,di)};return Ua(i)?i.then(s):s(i)};let r=null,n=null;return e.withContext(function(o,a,i){if(function(e){return ie(e)&&e.listViewApiName===yi}(o)){null===n&&(n=(e=>function(t,r){const n=xa(t,za);if(null===n)return null;const o=r||{},a=e.applyCachePolicy(o,{config:n,luvio:e},Ha,Ma(e)),i=t=>{const r=ta(t)||na(t)?t.data:void 0;return e.applyCachePolicy(o,{config:n,listInfo:r,luvio:e},Ja,Za)};return Ua(a)?a.then(i):i(a)})(e));const t={...o};return delete t.listViewApiName,n(t,i)}return function(e){return ie(e)&&e.objectApiName&&!e.listViewId&&!e.listViewApiName}(o)?(null===r&&(r=(e=>function(t,r){const n=Ta(t,Ia);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Oa,ja)})(e)),r(o,i)):fi(o)||gi(o)?t(o,a,i):null},{contextId:Xa})},vi=9e5,bi="2302a71ca718abb60353eb88dedb1c12",Pi="ObjectInfoRepresentation";function Si(e,t){return ge+"::"+Pi+":"+t.apiName}function Ai(e,t){return Si(0,{apiName:t.apiName})}function Ri(e,t,r,n,o,a){return e}const ki=function(){return{kind:"Fragment",version:bi,private:["eTag"],selections:[{name:"apiName",kind:"Scalar"},{name:"associateEntityType",kind:"Scalar"},{name:"associateParentEntity",kind:"Scalar"},{name:"childRelationships",kind:"Object",opaque:!0},{name:"compactLayoutable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"custom",kind:"Scalar"},{name:"defaultRecordTypeId",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"dependentFields",kind:"Object",opaque:!0},{name:"feedEnabled",kind:"Scalar"},{name:"fields",kind:"Object",opaque:!0},{name:"keyPrefix",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"labelPlural",kind:"Scalar"},{name:"layoutable",kind:"Scalar"},{name:"mruEnabled",kind:"Scalar"},{name:"nameFields",kind:"Object",opaque:!0},{name:"queryable",kind:"Scalar"},{name:"recordTypeInfos",kind:"Object",opaque:!0},{name:"searchLayoutable",kind:"Scalar"},{name:"searchable",kind:"Scalar"},{name:"themeInfo",kind:"Object",opaque:!0},{name:"updateable",kind:"Scalar"}]}};function Ii(e,t){return e.eTag===t.eTag}const Ci=function(e,t,r,o,a){const i=Ai(0,e),s=vi;return n.ingestShape(e,t,r,o,a,s,i,Ri,"UiApi",bi,Pi,Ii),Qe(i)};function Ni(e,t,r,n){const o=Ai(0,r);e.set(o,{namespace:ge,representationName:Pi,mergeable:!1})}function Ti(e,t){return ki()}function Li(e,t){return Si(0,{apiName:t.urlParams.objectApiName})}function Fi(e,t,r,n){Ni(e,0,n)}function _i(e,t,r,o){const{body:a}=r,i=Li(0,t);e.storeIngest(i,Ci,a);const s=e.storeLookup({recordId:i,node:Ti(),variables:{}},o);return n.deepFreeze(s.data),s}function Ei(e,t,r,n){const o=Li(0,t),a=e.errorSnapshot(r,n),i={ttl:vi,namespace:ge,version:bi,representationName:Pi};return e.storeIngestError(o,a,i),a}const wi="getObjectInfo",ji=[fe("objectApiName",!0,0,0,!1,je)],Oi=me(wi,ji),qi=n.createResourceParams(ji);function Di(e,t){return Li(0,qi(t))}function Bi(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ji),t}(n.coerceConfig(e,ji));return se(r,t)?r:null}function xi(e,t){return qi(t),Ti()}function Mi(e,t,r){const o=qi(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=_i(e,r,n,{config:t,resolve:()=>Mi(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Fi(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=Ei(e,r,n,{config:t,resolve:()=>Mi(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Ui(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Mi,void 0,!1)}function Vi(e,t){const{luvio:r,config:n}=e;return t({recordId:Di(0,n),node:xi(0,n),variables:{}},{config:n,resolve:()=>Mi(r,n,le)})}const zi=e=>function(t,r){const n=Bi(t,Oi);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Vi,Ui)};var Wi;!function(e){e.EmptySpace="EmptySpace",e.ReportChart="ReportChart",e.VisualforcePage="VisualforcePage",e.Canvas="Canvas",e.Field="Field",e.CustomLink="CustomLink"}(Wi||(Wi={}));const Ki=9e5,Qi="fb515e25a89ca1ec154dc865e72b913a",Gi="RecordLayoutRepresentation";function $i(e,t){return ge+"::"+Gi+":"+(null===t.recordTypeId?"":t.recordTypeId)+":"+(null===t.objectApiName?"":t.objectApiName)+":"+t.layoutType+":"+t.mode}function Hi(e,t){return $i(0,{recordTypeId:t.recordTypeId,objectApiName:t.objectApiName,layoutType:t.layoutType,mode:t.mode})}function Ji(e,t,r,n,o,a){return e}const Zi=function(){return{kind:"Fragment",version:Qi,private:["eTag"],selections:[{name:"id",kind:"Scalar"},{name:"layoutType",kind:"Scalar"},{name:"mode",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"saveOptions",kind:"Object",opaque:!0},{name:"sections",kind:"Object",opaque:!0}]}};function Xi(e,t){return e.eTag===t.eTag}const Yi=function(e,t,r,o,a){const i=Hi(0,e),s=Ki;return n.ingestShape(e,t,r,o,a,s,i,Ji,"UiApi",Qi,Gi,Xi),Qe(i)};function es(e,t,r,n){const o=Hi(0,r);e.set(o,{namespace:ge,representationName:Gi,mergeable:!1})}function ts(e){const t=ke(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=pt(t[e]);if(void 0===n)return;Te.call(r,n)}if(0!==r.length)return we(r).sort()}const rs="4ba42e1fa0fb00cf78fce86082da41c9",ns="RecordLayoutUserStateRepresentation";function os(e,t){return ge+"::"+ns+":"+t.recordTypeId+":"+t.apiName+":"+t.layoutType+":"+t.mode}function as(e,t){return os(0,{recordTypeId:t.recordTypeId,apiName:t.apiName,layoutType:t.layoutType,mode:t.mode})}function is(e,t,r,n,o,a){return e}const ss=function(){return{kind:"Fragment",version:rs,private:["apiName","recordTypeId","layoutType","mode"],selections:[{name:"id",kind:"Scalar"},{name:"sectionUserStates",kind:"Object",opaque:!0}]}};function cs(e,t){return ze(t)===ze(e)}const ls=function(e,t,r,o,a){const i=as(0,e);return n.ingestShape(e,t,r,o,a,9e5,i,is,"UiApi",rs,ns,cs),Qe(i)};function us(e,t,r,n){const o=as(0,r);e.set(o,{namespace:ge,representationName:ns,mergeable:!1})}const ds=9e5,ps="49cdd4bc235a6094c3559cc7735b3b6d";function fs(e,t,r,n,o,a){const i=e.layoutUserStates,s=r.fullPath+"__layoutUserStates",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=ls(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.layouts,d=r.fullPath+"__layouts",p=Object.keys(u),f=p.length;for(let i=0;i<f;i++){const s=p[i],c=u[s],l=d+"__"+s,f=Object.keys(c),m=f.length;for(let i=0;i<m;i++){const s=f[i],u=c[s],d=l+"__"+s,p=Object.keys(u),m=p.length;for(let i=0;i<m;i++){const s=p[i],c=u[s],l=d+"__"+s,f=Object.keys(c),m=f.length;for(let i=0;i<m;i++){const s=f[i],u=c[s],d=l+"__"+s;c[s]=Yi(u,{fullPath:d,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}}}}const m=e.objectInfos,g=r.fullPath+"__objectInfos",y=Object.keys(m),h=y.length;for(let i=0;i<h;i++){const s=y[i],c=m[s],l=g+"__"+s;m[s]=Ci(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const v=e.records,b=r.fullPath+"__records",P=Object.keys(v),S=P.length;for(let i=0;i<S;i++){const s=P[i],c=v[s],l=b+"__"+s;v[s]=Rn(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function ms(e,t){if(e.eTag!==t.eTag)return!1;if(!1===Ke(e.layoutUserStates,t.layoutUserStates,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===Ke(e.layouts,t.layouts,(e,t)=>{if(!1===Ke(e,t,(e,t)=>{if(!1===Ke(e,t,(e,t)=>{if(!1===Ke(e,t,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1}))return!1}))return!1}))return!1;if(!1===Ke(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==Ke(e.records,t.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const gs=function(e,t,r,o,a){const i=t.fullPath,s=ds;return n.ingestShape(e,t,r,o,a,s,i,fs,"UiApi",ps,"RecordUiRepresentation",ms),Qe(i)};const ys=[fe("recordIds",!0,0,0,!0,ts),fe("childRelationships",!1,1,0,!0),fe("formFactor",!1,1,0),fe("layoutTypes",!1,1,0,!0,ft),fe("modes",!1,1,0,!0,ft),fe("optionalFields",!1,1,0,!0,Be),fe("pageSize",!1,1,3),fe("updateMru",!1,1,1)];function hs(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ys),t}(n.coerceConfig(e,ys));return se(r,t)?r:null}const vs=Zi(),bs=ki(),Ps=ss();function Ss(e,t,r,n){const o=[];for(let e=0,n=t.length;e<n;e+=1){const n=[],a={kind:"Object",name:t[e],selections:n};for(let e=0;e<r.length;e+=1){const t={kind:"Link",name:r[e],fragment:vs};Te.call(n,t)}Te.call(o,a)}const a=[],i=[];for(let t=0,r=e.length;t<r;t+=1){const{recordId:r,recordData:s}=e[t];Te.call(a,{kind:"Object",name:s.apiName,required:!1,map:!0,selections:o});const c=n[r],l=er(s);Te.call(i,{kind:"Link",name:r,fragment:{kind:"Fragment",selections:ir(l,c),private:["eTag","weakEtag"]}})}return{kind:"Fragment",private:["eTag"],version:ps,selections:[{kind:"Link",name:"layoutUserStates",map:!0,fragment:Ps},{kind:"Object",name:"layouts",selections:a},{kind:"Link",name:"objectInfos",map:!0,fragment:bs},{name:"records",kind:"Object",selections:i}]}}const As="Id",Rs="Name",ks="Field";function Is(e,t){const r=e.fields[t];return void 0!==r&&(!0===r.reference&&null!==r.relationshipName)}function Cs(e,t){return e.fields[t].relationshipName}function Ns(e,t){const r=e.fields[t].referenceToInfos;if(1!==r.length)return Rs;const n=r[0].nameFields;if(n.length<1)return Rs;for(let e=0,t=r.length;e<t;e++){const t=r[e].nameFields;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(r===Rs)return r}}return n[0]}function Ts(e,t){const r=[],n=[];for(let o=0,a=e.sections.length;o<a;o++){const a=e.sections[o];for(let e=0,o=a.layoutRows.length;e<o;e++){const o=a.layoutRows[e];for(let e=0,a=o.layoutItems.length;e<a;e++){const a=o.layoutItems[e];for(let e=0,o=a.layoutComponents.length;e<o;e++){const o=a.layoutComponents[e],{apiName:i}=o;if(i&&o.componentType===ks){if(Is(t,i)){const e=Cs(t,i);r.push(`${t.apiName}.${e}.${As}`);const o=Ns(t,i);n.push(`${t.apiName}.${e}.${o}`)}r.push(`${t.apiName}.${o.apiName}`)}}}}}return{fields:r,optionalFields:n}}function Ls(e,t){const r={},{apiName:n,fields:o}=e,{fields:a}=t,i=Pe(a);for(let e=0,s=i.length;e<s;e+=1){const s=i[e],c=a[s],{relationshipName:l}=c;if(null===l)continue;const u=o[l];if(void 0===u||null!==u.value)continue;r[`${n}.${l}.Id`]=!0;r[`${n}.${l}.${Ns(t,s)}`]=!0}return Pe(r)}function Fs(e){const{records:t,objectInfos:r}=e,n={},o=Pe(t);for(let e=0,a=o.length;e<a;e+=1){const a=o[e],i=t[a],{apiName:s}=i,c=r[s];n[a]=Ls(i,c)}return n}const _s={displayName:"getRecordUi",parameters:{required:["recordIds","layoutTypes","modes"],optional:["optionalFields"],unsupported:["formFactor","childRelationships","pageSize","updateMru"]}},Es={ttl:ds,representationName:"",namespace:ge,version:"RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION_1"},ws="RECORD_UI_CACHED_SELECTOR_VERSION_1";function js(e){return`${e}__selector`}function Os(e,t){const{layouts:r}=e,n=Pe(r);for(let e=0,o=n.length;e<o;e+=1){const o=n[e],a=r[o],i=Pe(a);for(let e=0,r=i.length;e<r;e+=1){const r=i[e],n=a[r],s=Pe(n);for(let e=0,a=s.length;e<a;e+=1){const a=n[s[e]],i=Pe(a);for(let e=0,n=i.length;e<n;e+=1){t(o,r,a[i[e]])}}}}}function qs(e,t){const r=[];for(let n=0,o=t.length;n<o;n+=1){const o=t[n],a=e.records[o];Te.call(r,{recordId:o,recordData:a,recordTypeId:Ir(a)})}return r}function Ds(e,t,r,n){const o=e.sort().join(","),a=n.sort().join(","),i=t.sort().join(","),s=r.sort().join(",");return`${ge}::RecordUiRepresentation:${o}:${i}:${s}:${a}`}function Bs(e,t){return{config:t,resolve:()=>Ms(e,t)}}function xs(e,t,r,n,o){const{recordIds:a,layoutTypes:i,modes:s,optionalFields:c}=t;Os(o,(e,t,r)=>{if(null===r.id)return;const n=o.layoutUserStates[r.id];void 0!==n&&(n.apiName=e,n.recordTypeId=t,n.mode=r.mode,n.layoutType=r.layoutType)});const l=Fs(o),u={recordId:n,node:Ss(qs(o,a),i,s,l),variables:{}};e.storePublish(r,u),e.storeIngest(n,gs,o);const d=[],p=[];for(let t=0,r=a.length;t<r;t+=1){const r=a[t],n=qt(0,{recordId:r}),o=e.getNode(n);pr(o)&&(d.push(o),p.push(r))}!function(e,t){for(let r=0,n=t.length;r<n;r++){const n=t[r].data.id;void 0!==e[n]&&Tr(t[r],e[n])}}(l,d),function(e,t,r){for(let n=0,o=r.length;n<o;n++){const o=r[n].data.id;(e.length>0||void 0!==t[o])&&Cr(r[n],[...e,...t[o]])}}(c,l,d),function(e,t,r){for(let n=0,o=t.length;n<o;n+=1){const o=Br({recordId:t[n]}),a=he(null);for(let e=0,t=r.length;e<t;e++)a[r[e]]=!0;const i=e.getNode(o);if(pr(i)){const e=i.retrieve();ye(a,e)}e.storePublish(o,a)}}(e,p,[n,r]);const f=e.storeLookup(u,Bs(e,t));return e.storeBroadcast().then(()=>f)}function Ms(e,t,r){const{key:o,resourceRequest:a,selectorKey:i}=function(e,t){const{recordIds:r,layoutTypes:n,modes:o,optionalFields:a}=t,i=Ds(r,n,o,a),s=js(i),c=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-ui/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{recordIds:r},queryParams:{layoutTypes:n,modes:o,optionalFields:we(a).sort()}});return{key:i,selectorKey:s,resourceRequest:c}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>xs(e,t,i,o,r.body),()=>{const a=new n.StoreKeyMap;return function(e,t,r,o,a){const{recordIds:i,layoutTypes:s,modes:c}=r,l=Fe(_e(a));Os(l,(e,t,r)=>{if(null===r.id)return;const n=l.layoutUserStates[r.id];void 0!==n&&(n.apiName=e,n.recordTypeId=t,n.mode=r.mode,n.layoutType=r.layoutType)});const u=Fs(l),d={recordId:o,node:Ss(qs(l,i),s,c,u),variables:{}};t.storeIngest(o,gs,l);const p=t.storeLookup(d,Bs(t,r));if("Error"===p.state)return new n.StoreKeyMap;const f=[...p.seenRecords.keysAsArray(),p.recordId];for(let t=0,r=f.length;t<r;t++){const r=f[t],n=r.split("::")[0],o=r.split("::")[1].split(":")[0];e.set(r,{namespace:n,representationName:o,mergeable:o===Ot})}}(a,e,t,o,r.body),a}),r=>e.handleErrorResponse(()=>function(e,t,r,n,o){const a=e.errorSnapshot(o,Bs(e,t));return e.storeIngestError(n,a,Es),e.storeBroadcast().then(()=>{if("fetchResponse"===o.errorType){const{status:a}=o;if(404===a){const o={recordId:n,node:{kind:"Fragment",private:[],opaque:!0,version:ws},variables:{}};return e.storePublish(r,o),e.storeLookup(o,Bs(e,t))}}return a})}(e,t,i,o,r)))}function Us(e,t){const{config:r}=e,{recordIds:n,layoutTypes:o,modes:a,optionalFields:i}=r;return t({recordId:js(Ds(n,o,a,i)),node:{kind:"Fragment",private:[],opaque:!0,version:ws},variables:{}})}function Vs(e,t){const{config:r,luvio:n,selector:o}=e;if(void 0!==o)return t(o,Bs(n,r))}function zs(e,t){const{networkPriority:r,requestCorrelator:n,eventObservers:o,sourceContext:a}=t,i={resourceRequestContext:{requestCorrelator:n,sourceContext:a},eventObservers:o};return"normal"!==r&&(i.overrides={priority:r}),Ms(e.luvio,e.config,i)}const Ws=e=>function(t,r){const n=function(e){const t=hs(e,_s);if(null===t)return null;const{layoutTypes:r,modes:n}=t;return void 0===r||void 0===n?null:{...t,layoutTypes:r,modes:n,optionalFields:void 0===t.optionalFields?[]:t.optionalFields}}(t);if(null===n)return null;const o=r||{},a=e.applyCachePolicy(o,{config:n,luvio:e},Us,Ma(e)),i=t=>{const r=ta(t)||na(t)?t.data:void 0;return e.applyCachePolicy(o,{config:n,luvio:e,selector:r},Vs,zs)};return Ua(a)?a.then(i):i(a)};var Ks;!function(e){e.View="View",e.Edit="Edit",e.Create="Create"}(Ks||(Ks={}));const Qs=Ks.View,Gs=Zi();function $s(e,t){return{config:t,resolve:()=>function(e,t){const{recordId:r,layoutTypes:n,modes:o,optionalFields:a}=t,i=void 0===o?[Qs]:o,s=void 0===a?[]:a;return Ms(e,{recordIds:[r],layoutTypes:n,modes:i,optionalFields:s}).then(n=>{const o=$s(e,t);if(oa(n)){var a=qt(0,{recordId:r});return e.storeIngestError(a,n),e.storeBroadcast().then(()=>e.errorSnapshot(n.error,o))}ra(n);const{data:i}=n;if(void 0===i)throw new Error(`RecordUi adapter resolved with a ${n.state} snapshot with undefined data`);const{layoutMap:c,objectInfo:l}=Js(r,i),{fields:u,optionalFields:d}=Ys(c,l),p=we(s.concat(d));return function(e,t,r){const n=void 0===t.fields?[]:t.fields,o=void 0===t.optionalFields?[]:t.optionalFields,a=rn(0,t.recordId,n,o);return e.storeLookup(a,r||nn(e,t))}(e,{recordId:r,fields:u,optionalFields:p},o)})}(e,t)}}function Hs(e,t){return`${Ai(0,t)}__implicit__fields__selector`}function Js(e,t){const{objectInfos:r,layouts:n,records:o}=t,a=o[e],{apiName:i}=a,s=r[i],c=Ir(a);let l={};return Se.call(n,i)&&(l=n[i][c]||{}),{layoutMap:l,objectInfo:s}}function Zs(e,t,r,n,o,a,i){if(oa(o))return e.errorSnapshot(o.error,t);ra(o);const{data:s}=o;if(void 0===s)throw new Error(`RecordUi adapter resolved with a ${o.state} snapshot with undefined data`);const{layoutMap:c,objectInfo:l}=Js(r,s);return l.layoutable?function(e,t,r,n,o,a){let{fields:i,optionalFields:s}=Ys(n,o);a&&a.length>0&&(s=we(s.concat(a)));const c=function(e,t){const r=t||[];return e.forEach(e=>{e in r||r.push(e)}),r}(i,s);return ec(e,t,r,[],c)}(e,t,r,c,l,i):function(e,t,r,n,o,a,i){const s=Pe(i||{}).map(e=>`${o.apiName}.${e}`),c=Hs(0,o);return t.set(c,s),ec(e,r,n,s,a)}(e,a,t,r,l,i,function(e,t){const{records:r}=t,n=r[e],{fields:o}=n;return o}(r,s))}const Xs=[{name:"apiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"}];function Ys(e,t){let r=[],n=[];const o=Pe(e);for(let a=0,i=o.length;a<i;a+=1){const i=e[o[a]],s=Pe(i);for(let e=0,o=s.length;e<o;e+=1){const o=s[e],{fields:a,optionalFields:c}=Ts(i[o],t);r=r.concat(a),n=n.concat(c)}}return{fields:we(r).sort(),optionalFields:we(n).sort()}}function ec(e,t,r,n,o){const a=un(e,{recordId:r,fields:n,optionalFields:void 0===o?[]:we(o).sort()});return Ua(a)?a.then(e=>(e.refresh=t,e)):a.refresh=t,a}function tc(e,t){const{config:r,luvio:n,adapterContext:o}=e,{recordId:a}=r,i=void 0===r.optionalFields?[]:we(r.optionalFields).sort(),s=$s(n,r),{networkPriority:c,requestCorrelator:l,eventObservers:u,sourceContext:d}=t,p={resourceRequestContext:{requestCorrelator:l,sourceContext:d},eventObservers:u};if("normal"!==c&&(p.overrides={priority:c}),void 0!==e.fields){const r={recordId:a,fields:e.fields,optionalFields:i};return sn(n,r,0,t).then(e=>(e.refresh=s,e))}const f=void 0!==r.modes?r.modes:[Qs],m={recordIds:[a],layoutTypes:r.layoutTypes,modes:f,optionalFields:i};return Ms(n,m,p).then(e=>Zs(n,s,a,0,e,o,i))}function rc(e,t){const{config:r,luvio:n}=e,{recordId:o}=r;return t({recordId:qt(0,{recordId:o}),node:{kind:"Fragment",private:[],selections:Xs,version:jt},variables:{}})}const nc=(e,t,r,n)=>(o,a)=>{const{luvio:i}=o;return a({recordId:$i(0,{objectApiName:e,recordTypeId:t,layoutType:r,mode:n}),node:Gs,variables:{}})};function oc(e,t,r,n){return e.applyCachePolicy({},{config:t,luvio:e,adapterContext:r},n,()=>new Promise(e=>{e({state:"Error",data:void 0,error:{body:void 0,headers:{},ok:!1,status:504,statusText:"Gateway Timeout",errorType:"fetchResponse"}})}))}function ac(e,t,r,n){return e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},()=>{},tc)}function ic(e,t,r,n){return cc(oc(e,t,r,rc),o=>{if("Unfulfilled"===o.state||"Error"===o.state||void 0===o.data)return ac(e,t,r,n);const a=oc(e,t,r,(e=>(t,r)=>{const{luvio:n}=t;if(void 0!==e.data)return Vi({config:{objectApiName:e.data.apiName},luvio:n},r)})(o));return cc(a,a=>{const{layoutTypes:i}=t;if("Unfulfilled"===a.state||"Error"===a.state||void 0===a.data)return ac(e,t,r,n);const{data:s}=o,c=Ir(s),l=void 0===t.modes?[Qs]:t.modes;if(!a.data.layoutable){const i=Hs(0,a.data),s=r.get(i);return s?e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},function(e,t,r,n,o){return(a,i)=>sc(e,t,r,n,o,!1,a,i)}(e,t,o,a,s),tc):ac(e,t,r,n)}return function(e,t,r,n,o,a,i){let s=[];for(let c=0;c<o.length;c++){const l=o[c];for(let o=0;o<a.length;o++){const c=a[o];s.push(Promise.resolve(oc(e,t,i,nc(r,n,l,c))).then(e=>({layoutType:l,mode:c,snapshot:e})))}}return Promise.all(s).then(e=>{let t={isStale:!1};for(let r=0;r<e.length;r++){const n=e[r];if(void 0===n.snapshot.data){t.isStale=!1,t.layoutMap=void 0;break}void 0===t.layoutMap&&(t.layoutMap={});const{layoutType:o,mode:a,snapshot:i}=n;void 0===t.layoutMap[o]&&(t.layoutMap=ye({},t.layoutMap,{[o]:{}})),void 0!==i.data&&(t.layoutMap[o][a]=i.data),t.isStale=t.isStale||na(i)}return t})}(e,t,a.data.apiName,c,i,l,r).then(i=>e.applyCachePolicy(n||{},{config:t,luvio:e,adapterContext:r},function(e,t,r,n,o){return(a,i)=>{const{layoutMap:s,isStale:c}=e;if(void 0===s||void 0===o.data)return;const{fields:l,optionalFields:u}=Ys(s,o.data);let d={...r,optionalFields:r.optionalFields?we(r.optionalFields.concat(u)).sort():u};return sc(t,d,n,o,l,c,a,i)}}(i,e,t,o,a),tc))})})}function sc(e,t,r,n,o,a,i,s){if(void 0===n.data)return;const c=void 0===t.optionalFields?[]:we(t.optionalFields).sort(),{recordId:l}=t,u=s(rn(0,l,o,c),$s(e,t));return ta(u)?(na(n)||na(r)||a)&&(u.state="Stale"):ra(u)&&(i.fields=o,i.config.optionalFields=c),u}function cc(e,t){return Ua(e)?e.then(t):t(e)}const lc=`${ge}__getRecord`,uc={displayName:"getRecord",parameters:{required:["recordId"],optional:["fields","layoutTypes","modes","optionalFields"],unsupported:["childRelationships","pageSize","updateMru"]}};function dc(e,t){const r={urlParams:{recordId:e.id},queryParams:{optionalFields:t}};return Hr(r)}const pc=e=>function(t){const r=t.map(e=>qt(0,function(e){const t={},r=pt(e.recordId);return void 0!==r&&(t.recordId=r),t}(e)));e.getNotifyChangeStoreEntries(r).then(t=>{const r=[];for(let o=0,a=t.length;o<a;o++){const{key:a,record:i}=t[o],s=e.wrapNormalizedGraphNode(i,a),c=kr(a,s,{maxDepth:Q.getTrackedFieldDepthOnNotifyChange(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()}),l=dc(i,c),u=i.weakEtag,d=Sr([],!1),p=Sr(c,!0),f=e.dispatchResourceRequest(l).then(t=>e.handleSuccessResponse(()=>{const{body:r}=t;e.storeIngest(a,Kr({fields:d,optionalFields:p,trackedFields:p,serverRequestCount:1}),r);const n=e.storeBroadcast();return H.getRecordNotifyChangeNetworkResult(u!==r.weakEtag),n},()=>{const r=new n.StoreKeyMap;return Mt(r,e,t.body),r}),t=>e.handleErrorResponse(()=>{const r=e.errorSnapshot(t);e.storeIngestError(a,r,dr);const n=e.storeBroadcast();return H.getRecordNotifyChangeNetworkResult(null,!0),n.then(()=>r)}));r.push(f)}return Promise.all(r)})},fc=e=>e.withContext(function(t,r,n){const o=tn(t,uc);return null===o?null:function(e){return"layoutTypes"in e}(o)?ic(e,o,r,n):function(e){return"fields"in e||"optionalFields"in e}(o)?un(e,o,n):null},{contextId:lc}),mc=e=>function(t){const r=(e=>function(t){const r=t.map(e=>at(0,e));return e.notifyStoreUpdateAvailable(r)})(e);return t.forEach(e=>{e.listViewApiName=e.listViewApiName?e.listViewApiName.toLowerCase():e.listViewApiName,e.objectApiName=e.objectApiName?e.objectApiName.toLowerCase():e.objectApiName,e.type||(e.type="__recent"===e.listViewApiName?"mru":"listView")}),r(t)},gc="4aa37812ee37c752a099b29026217c85",yc="ObjectInfoDirectoryEntryRepresentation";function hc(e,t){const r={objectInfoUrl:t.objectInfoUrl};return ge+"::"+yc+":"+r.objectInfoUrl}function vc(e,t,r,n,o,a){return e}function bc(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;if(e.labelPlural!==t.labelPlural)return!1;if(e.objectInfoUrl!==t.objectInfoUrl)return!1;if(e.keyPrefix!==t.keyPrefix)return!1;return!1!==We(e.nameFields,t.nameFields,(e,t)=>{if(e!==t)return!1})}const Pc=function(e,t,r,o,a){const i=hc(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,vc,"UiApi",gc,yc,bc),Qe(i)};function Sc(e,t,r,n){const o=hc(0,r);e.set(o,{namespace:ge,representationName:yc,mergeable:!1})}const Ac="37fd8c0154ee743c9defbf03e9b4b067",Rc="ObjectInfoDirectoryRepresentation";function kc(e,t,r,n,o,a){const i=e.objects,s=r.fullPath+"__objects",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Pc(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const Ic=function(){return{kind:"Fragment",version:Ac,private:[],selections:[{name:"objects",kind:"Link",map:!0,fragment:{kind:"Fragment",version:gc,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"keyPrefix",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"labelPlural",kind:"Scalar"},{name:"nameFields",kind:"Scalar",plural:!0},{name:"objectInfoUrl",kind:"Scalar"}]}}]}};function Cc(e,t){return!1!==Ke(e.objects,t.objects,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Nc=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,kc,"UiApi",Ac,Rc,Cc),Qe(i)};const Tc="7e00c51105cbf56a79ab8fcddf462c1e",Lc="QuickActionExecutionRepresentation";function Fc(e,t){return ge+"::"+Lc+":"+t.id}function _c(e,t){return Fc(0,{id:t.id})}function Ec(e,t,r,n,o,a){return e}const wc=function(){return{kind:"Fragment",version:Tc,private:["eTag"],selections:[{name:"contextId",kind:"Scalar"},{name:"feedItemId",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"isCreated",kind:"Scalar"},{name:"isSuccess",kind:"Scalar"},{name:"successMessage",kind:"Scalar"}]}};function jc(e,t){if(e.isCreated!==t.isCreated)return!1;if(e.isSuccess!==t.isSuccess)return!1;if(e.eTag!==t.eTag)return!1;if(e.id!==t.id)return!1;if(e.successMessage!==t.successMessage)return!1;if(e.contextId!==t.contextId)return!1;return e.feedItemId===t.feedItemId}const Oc=function(e,t,r,o,a){const i=_c(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Ec,"UiApi",Tc,Lc,jc),Qe(i)};function qc(e,t,r,n){const o=_c(0,r);e.set(o,{namespace:ge,representationName:Lc,mergeable:!1})}const Dc=9e5,Bc="993b0a7bce6056c4f57ed300ec153d9c",xc="QuickActionDefaultsRepresentation";function Mc(e,t){return ge+"::"+xc+":"+t.actionApiName}function Uc(e,t){return Mc(0,{actionApiName:t.actionApiName})}const Vc=function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:vt()}:e.fields;return{kind:"Fragment",version:Bc,private:["eTag"],selections:[{name:"actionApiName",kind:"Scalar"},t,{name:"objectApiName",kind:"Scalar"}]}};const zc=e=>function(t){const r=t.map(e=>Mc(0,e));return e.notifyStoreUpdateAvailable(r)};function Wc(e){const t=ke(e)?e:[e];return 0===t.length?t:ft(t)}var Kc;function Qc(e){if(e===Kc.Large||e===Kc.Medium||e===Kc.Small)return e}!function(e){e.Large="Large",e.Medium="Medium",e.Small="Small"}(Kc||(Kc={}));const Gc="3f49d751896cf66e6e29788d8880e2cc",$c="PlatformActionRepresentation";function Hc(e,t){const r={externalId:t.externalId,relatedSourceObject:t.relatedSourceObject,relatedListRecordId:t.relatedListRecordId};return ge+"::"+$c+":"+(n=r).externalId+":"+(null===n.relatedSourceObject?"":n.relatedSourceObject)+":"+(null===n.relatedListRecordId?"":n.relatedListRecordId);var n}function Jc(e,t,r,n,o,a){return e}function Zc(e,t){if(e.actionListContext!==t.actionListContext)return!1;if(e.apiName!==t.apiName)return!1;if(e.externalId!==t.externalId)return!1;if(e.id!==t.id)return!1;if(e.isMassAction!==t.isMassAction)return!1;if(e.label!==t.label)return!1;if(e.sourceObject!==t.sourceObject)return!1;if(e.type!==t.type)return!1;if(e.actionTarget!==t.actionTarget)return!1;if(e.actionTargetType!==t.actionTargetType)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.lwcComponent!==t.lwcComponent)return!1;if(e.primaryColor!==t.primaryColor)return!1;if(e.relatedListRecordId!==t.relatedListRecordId)return!1;if(e.relatedSourceObject!==t.relatedSourceObject)return!1;if(e.section!==t.section)return!1;if(e.subtype!==t.subtype)return!1;if(e.targetObject!==t.targetObject)return!1;return e.targetUrl===t.targetUrl}const Xc=function(e,t,r,o,a){const i=Hc(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,Jc,"UiApi",Gc,$c,Zc),Qe(i)};function Yc(e,t,r,n){const o=Hc(0,r);e.set(o,{namespace:ge,representationName:$c,mergeable:!1})}const el="378d506f563a4bd724b322d440df33d1",tl="EntityActionRepresentation";function rl(e,t){const r={url:t.url};return ge+"::"+tl+":"+r.url}function nl(e,t,r,n,o,a){const i=e.actions,s=r.fullPath+"__actions";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Xc(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function ol(e,t){if(e.url!==t.url)return!1;if(!1===We(e.actions,t.actions,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==We(e.links,t.links,(e,t)=>{if(e!==t)return!1})}const al=function(e,t,r,o,a){const i=rl(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,nl,"UiApi",el,tl,ol),Qe(i)};function il(e,t,r,n){const o=rl(0,r);e.set(o,{namespace:ge,representationName:tl,mergeable:!1});const a=r.actions.length;for(let t=0;t<a;t++)Yc(e,0,r.actions[t])}const sl=3e5,cl="e485d96c1402a9ca2f56e56485af0216",ll="ActionRepresentation";function ul(e,t,r,n,o,a){const i=e.actions,s=r.fullPath+"__actions",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=al(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const dl=function(){return{kind:"Fragment",version:cl,private:["eTag","url"],selections:[{name:"actions",kind:"Link",map:!0,fragment:{kind:"Fragment",version:el,private:["links","url"],selections:[{name:"actions",kind:"Link",plural:!0,fragment:{kind:"Fragment",version:Gc,private:["id"],selections:[{name:"actionListContext",kind:"Scalar"},{name:"actionTarget",kind:"Scalar"},{name:"actionTargetType",kind:"Scalar"},{name:"apiName",kind:"Scalar"},{name:"externalId",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"isMassAction",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"lwcComponent",kind:"Scalar"},{name:"primaryColor",kind:"Scalar"},{name:"relatedListRecordId",kind:"Scalar"},{name:"relatedSourceObject",kind:"Scalar"},{name:"section",kind:"Scalar"},{name:"sourceObject",kind:"Scalar"},{name:"subtype",kind:"Scalar"},{name:"targetObject",kind:"Scalar"},{name:"targetUrl",kind:"Scalar"},{name:"type",kind:"Scalar"}]}}]}}]}};function pl(e,t){if(e.eTag!==t.eTag)return!1;if(e.url!==t.url)return!1;return!1!==Ke(e.actions,t.actions,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const fl=function(e,t,r,o,a){const i=t.fullPath,s=sl;return n.ingestShape(e,t,r,o,a,s,i,ul,"UiApi",cl,ll,pl),Qe(i)};function ml(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:ll,mergeable:!1});const a=r.actions,i=xe(a),s=i.length;for(let t=0;t<s;t++){il(e,0,a[i[t]])}}function gl(e,t){return dl()}function yl(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",apiNames:"+t.queryParams.apiNames+",formFactor:"+t.queryParams.formFactor+",retrievalMode:"+t.queryParams.retrievalMode+",sections:"+t.queryParams.sections+")"}const hl="getGlobalActions",vl=[fe("actionTypes",!1,1,0,!0),fe("apiNames",!1,1,0,!0,Wc),fe("formFactor",!1,1,0,!1,Qc),fe("retrievalMode",!1,1,0),fe("sections",!1,1,0,!0,ft)],bl=me(hl,vl),Pl=n.createResourceParams(vl);function Sl(e,t){return yl(0,Pl(t))}function Al(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,vl),t}(n.coerceConfig(e,vl));return se(r,t)?r:null}function Rl(e,t){return Pl(t),gl()}function kl(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=yl(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:gl(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Cl(e,t,le)});return e.storeBroadcast().then(()=>a)}function Il(e,t,r,n){const o=function(e,t,r,n){const o=yl(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Cl(e,t,le)});return e.storeBroadcast().then(()=>o)}function Cl(e,t,r){const o=Pl(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/global",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>kl(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>yl(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Il(e,t,o,r)))}function Nl(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Cl,void 0,!1)}function Tl(e,t){const{luvio:r,config:n}=e;return t({recordId:Sl(0,n),node:Rl(0,n),variables:{}},{config:n,resolve:()=>Cl(r,n,le)})}const Ll=e=>function(t,r){const n=Al(t,bl);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Tl,Nl)},Fl=9e5,_l="35f3eec8ce7f6001c6d5d17821b75bb9",El="QuickActionLayoutRepresentation";function wl(e,t){return ge+"::"+El+":"+t.actionApiName}function jl(e,t){return wl(0,{actionApiName:t.actionApiName})}function Ol(e,t,r,n,o,a){return e}const ql=function(){return{kind:"Fragment",version:_l,private:["eTag"],selections:[{name:"actionApiName",kind:"Scalar"},{name:"layout",kind:"Object",opaque:!0}]}};function Dl(e,t){return e.eTag===t.eTag}const Bl=function(e,t,r,o,a){const i=jl(0,e),s=Fl;return n.ingestShape(e,t,r,o,a,s,i,Ol,"UiApi",_l,El,Dl),Qe(i)};function xl(e,t){return ql()}function Ml(e,t){return wl(0,{actionApiName:t.urlParams.actionApiName})}function Ul(e,t,r,n){!function(e,t,r){const n=jl(0,r);e.set(n,{namespace:ge,representationName:El,mergeable:!1})}(e,0,n)}const Vl="getQuickActionLayout",zl=[fe("actionApiName",!0,0,0),fe("objectApiName",!1,1,0),fe("recordTypeId",!1,1,0)],Wl=me(Vl,zl),Kl=n.createResourceParams(zl);function Ql(e,t){return Ml(0,Kl(t))}function Gl(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,zl),t}(e);return se(r,t)?r:null}function $l(e,t){return Kl(t),xl()}function Hl(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Ml(0,t);e.storeIngest(i,Bl,a);const s=e.storeLookup({recordId:i,node:xl(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Zl(e,t,le)});return e.storeBroadcast().then(()=>a)}function Jl(e,t,r,n){const o=function(e,t,r,n){const o=Ml(0,t),a=e.errorSnapshot(r,n),i={ttl:Fl,namespace:ge,version:_l,representationName:El};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Zl(e,t,le)});return e.storeBroadcast().then(()=>o)}function Zl(e,t,r){const o=Kl(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/layout/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Hl(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Ul(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Jl(e,t,o,r)))}function Xl(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Zl,void 0,!1)}function Yl(e,t){const{luvio:r,config:n}=e;return t({recordId:Ql(0,n),node:$l(0,n),variables:{}},{config:n,resolve:()=>Zl(r,n,le)})}const eu=e=>function(t,r){const n=Gl(t,Wl);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Yl,Xl)};function tu(e){const t=ke(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=je(t[e]);if(void 0===n)return;Te.call(r,n)}if(0!==r.length)return we(r)}function ru(e,t){return dl()}function nu(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",objectApiNames:"+t.urlParams.objectApiNames+")"}const ou="getLookupActions",au=[fe("objectApiNames",!0,0,0,!0,function(e){const t=tu(e);return void 0===t?void 0:t.sort()}),fe("actionTypes",!1,1,0,!0,ft),fe("formFactor",!1,1,0,!1,Qc),fe("sections",!1,1,0,!0,ft)],iu=me(ou,au),su=n.createResourceParams(au);function cu(e,t){return nu(0,su(t))}function lu(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,au),t}(n.coerceConfig(e,au));return se(r,t)?r:null}function uu(e,t){return su(t),ru()}function du(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=nu(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:ru(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>fu(e,t,le)});return e.storeBroadcast().then(()=>a)}function pu(e,t,r,n){const o=function(e,t,r,n){const o=nu(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>fu(e,t,le)});return e.storeBroadcast().then(()=>o)}function fu(e,t,r){const o=su(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/lookup/"+e.urlParams.objectApiNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>du(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>nu(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>pu(e,t,o,r)))}function mu(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,fu,void 0,!1)}function gu(e,t){const{luvio:r,config:n}=e;return t({recordId:cu(0,n),node:uu(0,n),variables:{}},{config:n,resolve:()=>fu(r,n,le)})}const yu=e=>function(t,r){const n=lu(t,iu);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},gu,mu)};function hu(e,t){return dl()}function vu(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",objectApiName:"+t.urlParams.objectApiName+")"}const bu="getObjectCreateActions",Pu=[fe("objectApiName",!0,0,0,!1,je),fe("actionTypes",!1,1,0,!0),fe("formFactor",!1,1,0,!1,Qc),fe("sections",!1,1,0,!0,ft)],Su=me(bu,Pu),Au=n.createResourceParams(Pu);function Ru(e,t){return vu(0,Au(t))}function ku(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Pu),t}(n.coerceConfig(e,Pu));return se(r,t)?r:null}function Iu(e,t){return Au(t),hu()}function Cu(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=vu(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:hu(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Tu(e,t,le)});return e.storeBroadcast().then(()=>a)}function Nu(e,t,r,n){const o=function(e,t,r,n){const o=vu(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Tu(e,t,le)});return e.storeBroadcast().then(()=>o)}function Tu(e,t,r){const o=Au(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/object/"+e.urlParams.objectApiName+"/record-create",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Cu(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>vu(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Nu(e,t,o,r)))}function Lu(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Tu,void 0,!1)}function Fu(e,t){const{luvio:r,config:n}=e;return t({recordId:Ru(0,n),node:Iu(0,n),variables:{}},{config:n,resolve:()=>Tu(r,n,le)})}const _u=e=>function(t,r){const n=ku(t,Su);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Fu,Lu)},Eu="fecd80e9e24a1c1e75fd5395cd34ff2e",wu="ActionOverrideRepresentation";function ju(e,t,r,n,o,a){return e}const Ou=function(){return{kind:"Fragment",version:Eu,private:[],opaque:!0}};function qu(e,t){return ze(t)===ze(e)}const Du=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,ju,"UiApi",Eu,wu,qu),Qe(i)};function Bu(e,t){return Ou()}function xu(e,t){return ge+"::ActionOverrideRepresentation:(type:"+t.queryParams.type+",defaultTemplateOnly:"+t.queryParams.defaultTemplateOnly+",objectApiName:"+t.urlParams.objectApiName+")"}function Mu(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:wu,mergeable:!1})}(e,0,0,()=>xu(0,r))}const Uu="getActionOverrides",Vu=[fe("objectApiName",!0,0,0,!1,je),fe("type",!1,1,0),fe("defaultTemplateOnly",!1,1,1)],zu=me(Uu,Vu),Wu=n.createResourceParams(Vu);function Ku(e,t){return xu(0,Wu(t))}function Qu(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Vu),t}(n.coerceConfig(e,Vu));return se(r,t)?r:null}function Gu(e,t){return Wu(t),Bu()}function $u(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=xu(0,t);e.storeIngest(i,Du,a);const s=e.storeLookup({recordId:i,node:Bu(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Ju(e,t,le)});return e.storeBroadcast().then(()=>a)}function Hu(e,t,r,n){const o=function(e,t,r,n){const o=xu(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Ju(e,t,le)});return e.storeBroadcast().then(()=>o)}function Ju(e,t,r){const o=Wu(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/overrides/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>$u(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Mu(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Hu(e,t,o,r)))}function Zu(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Ju,void 0,!1)}function Xu(e,t){const{luvio:r,config:n}=e;return t({recordId:Ku(0,n),node:Gu(0,n),variables:{}},{config:n,resolve:()=>Ju(r,n,le)})}const Yu=e=>function(t,r){const n=Qu(t,zu);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Xu,Zu)},ed=3e5,td="c57b66c259b23683db7b763e132e8633",rd="FlexipageFormulaActivationRepresentation";function nd(e,t,r,n,o,a){return e}const od=function(){return{kind:"Fragment",version:td,private:["eTag"],selections:[{name:"activations",kind:"Object",opaque:!0}]}};function ad(e,t){return ze(t)===ze(e)}const id=function(e,t,r,o,a){const i=t.fullPath,s=ed;return n.ingestShape(e,t,r,o,a,s,i,nd,"UiApi",td,rd,ad),Qe(i)};function sd(e,t){return od()}function cd(e,t){return ge+"::FlexipageFormulaActivationRepresentation:(application:"+t.queryParams.application+",objectApiNames:"+t.queryParams.objectApiNames+",actionFeature:"+t.urlParams.actionFeature+")"}function ld(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:rd,mergeable:!1})}(e,0,0,()=>cd(0,r))}const ud="getFlexipageFormulaOverrides",dd=[fe("actionFeature",!0,0,0,!1,je),fe("application",!1,1,0,!1,je),fe("objectApiNames",!1,1,0,!0,ft)],pd=me(ud,dd),fd=n.createResourceParams(dd);function md(e,t){return cd(0,fd(t))}function gd(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,dd),t}(n.coerceConfig(e,dd));return se(r,t)?r:null}function yd(e,t){return fd(t),sd()}function hd(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=cd(0,t);e.storeIngest(i,id,a);const s=e.storeLookup({recordId:i,node:sd(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>bd(e,t,le)});return e.storeBroadcast().then(()=>a)}function vd(e,t,r,n){const o=function(e,t,r,n){const o=cd(0,t),a=e.errorSnapshot(r,n),i={ttl:ed,namespace:ge,version:td,representationName:rd};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>bd(e,t,le)});return e.storeBroadcast().then(()=>o)}function bd(e,t,r){const o=fd(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/formula-activation/"+e.urlParams.actionFeature,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>hd(e,t,o,r),()=>{const e=new n.StoreKeyMap;return ld(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>vd(e,t,o,r)))}function Pd(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,bd,void 0,!1)}function Sd(e,t){const{luvio:r,config:n}=e;return t({recordId:md(0,n),node:yd(0,n),variables:{}},{config:n,resolve:()=>bd(r,n,le)})}const Ad=e=>function(t,r){const n=gd(t,pd);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Sd,Pd)};const Rd=9e5,kd="fa106dcb7d887c1e9b3e958336280ac8",Id="QuickActionInfoRepresentation";function Cd(e,t){return ge+"::"+Id+":"+t.actionApiName}function Nd(e,t){return Cd(0,{actionApiName:t.actionApiName})}function Td(e,t,r,n,o,a){return e}const Ld=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"7a5e66e0b88fe9d2233bb3158931bfa6",private:["eTag"],selections:[{name:"color",kind:"Scalar"},{name:"colorContext",kind:"Scalar"},{name:"theme",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"5e970aa7dacfdd8e0c6d5daca575ec58",private:["eTag"],selections:[{name:"inputName",kind:"Scalar"},{name:"inputValue",kind:"Scalar"}]},{selections:o,opaque:a}={kind:"Fragment",version:"53b489083ef57944d2a9d4a2aaf72ec3",private:["eTag"],selections:[{name:"contentType",kind:"Scalar"},{name:"height",kind:"Scalar"},{name:"theme",kind:"Scalar"},{name:"url",kind:"Scalar"},{name:"width",kind:"Scalar"}]};return{kind:"Fragment",version:kd,private:["eTag"],selections:[{name:"accessLevelRequired",kind:"Scalar"},{name:"actionApiName",kind:"Scalar"},{name:"colors",kind:"Object",plural:!0,selections:e},{name:"copilotActionDescription",kind:"Scalar"},{name:"copilotInputs",kind:"Object",plural:!0,selections:r},{name:"copilotIntent",kind:"Scalar"},{name:"copilotPlanTemplateId",kind:"Scalar"},{name:"copilotUserUtterance",kind:"Scalar"},{name:"flowDevName",kind:"Scalar"},{name:"flowRecordIdVar",kind:"Scalar"},{name:"iconName",kind:"Scalar"},{name:"icons",kind:"Object",plural:!0,selections:o},{name:"label",kind:"Scalar"},{name:"lightningComponentBundleName",kind:"Scalar"},{name:"lightningComponentQualifiedName",kind:"Scalar"},{name:"lightningWebComponentBundleName",kind:"Scalar"},{name:"lightningWebComponentQualifiedName",kind:"Scalar"},{name:"targetParentField",kind:"Scalar"},{name:"targetRecordTypeId",kind:"Scalar"},{name:"targetSobjectType",kind:"Scalar"},{name:"type",kind:"Scalar"}]}};function Fd(e,t){if(e.actionApiName!==t.actionApiName)return!1;if(e.eTag!==t.eTag)return!1;if(e.label!==t.label)return!1;if(e.type!==t.type)return!1;if(e.accessLevelRequired!==t.accessLevelRequired)return!1;const r=We(e.colors,t.colors,(e,t)=>{if(!function(e,t){return e.color===t.color&&(e.colorContext===t.colorContext&&(e.eTag===t.eTag&&e.theme===t.theme))}(e,t))return!1});if(!1===r)return!1;if(e.copilotActionDescription!==t.copilotActionDescription)return!1;const n=We(e.copilotInputs,t.copilotInputs,(e,t)=>{if(!function(e,t){return e.eTag===t.eTag&&(e.inputName===t.inputName&&e.inputValue===t.inputValue)}(e,t))return!1});if(!1===n)return!1;if(e.copilotIntent!==t.copilotIntent)return!1;if(e.copilotPlanTemplateId!==t.copilotPlanTemplateId)return!1;if(e.copilotUserUtterance!==t.copilotUserUtterance)return!1;if(e.flowDevName!==t.flowDevName)return!1;if(e.flowRecordIdVar!==t.flowRecordIdVar)return!1;if(e.iconName!==t.iconName)return!1;const o=We(e.icons,t.icons,(e,t)=>{if(!function(e,t){return e.height===t.height&&(e.width===t.width&&(e.contentType===t.contentType&&(e.eTag===t.eTag&&(e.theme===t.theme&&e.url===t.url))))}(e,t))return!1});if(!1===o)return!1;if(e.lightningComponentBundleName!==t.lightningComponentBundleName)return!1;if(e.lightningComponentQualifiedName!==t.lightningComponentQualifiedName)return!1;if(e.lightningWebComponentBundleName!==t.lightningWebComponentBundleName)return!1;if(e.lightningWebComponentQualifiedName!==t.lightningWebComponentQualifiedName)return!1;if(e.targetParentField!==t.targetParentField)return!1;if(e.targetRecordTypeId!==t.targetRecordTypeId)return!1;return e.targetSobjectType===t.targetSobjectType}const _d=function(e,t,r,o,a){const i=Nd(0,e),s=Rd;return n.ingestShape(e,t,r,o,a,s,i,Td,"UiApi",kd,Id,Fd),Qe(i)};function Ed(e,t){return Ld()}function wd(e,t){return Cd(0,{actionApiName:t.urlParams.actionApiName})}function jd(e,t,r,n){!function(e,t,r){const n=Nd(0,r);e.set(n,{namespace:ge,representationName:Id,mergeable:!1})}(e,0,n)}const Od="getQuickActionInfo",qd=[fe("actionApiName",!0,0,0,!1,je),fe("parentRecordId",!1,1,0,!1,pt)],Dd=me(Od,qd),Bd=n.createResourceParams(qd);function xd(e,t){return wd(0,Bd(t))}function Md(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,qd),t}(n.coerceConfig(e,qd));return se(r,t)?r:null}function Ud(e,t){return Bd(t),Ed()}function Vd(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=wd(0,t);e.storeIngest(i,_d,a);const s=e.storeLookup({recordId:i,node:Ed(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Wd(e,t,le)});return e.storeBroadcast().then(()=>a)}function zd(e,t,r,n){const o=function(e,t,r,n){const o=wd(0,t),a=e.errorSnapshot(r,n),i={ttl:Rd,namespace:ge,version:kd,representationName:Id};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Wd(e,t,le)});return e.storeBroadcast().then(()=>o)}function Wd(e,t,r){const o=Bd(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/quick-action-info/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Vd(e,t,o,r),()=>{const e=new n.StoreKeyMap;return jd(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>zd(e,t,o,r)))}function Kd(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Wd,void 0,!1)}function Qd(e,t){const{luvio:r,config:n}=e;return t({recordId:xd(0,n),node:Ud(0,n),variables:{}},{config:n,resolve:()=>Wd(r,n,le)})}const Gd=e=>function(t,r){const n=Md(t,Dd);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Qd,Kd)},$d={ttl:Dc,namespace:ge,representationName:xc,version:Bc};const Hd=e=>function(t,r,n,o,a){const i=Uc(0,t),s=o.readEntry(i);let c=function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e)(t,o.readEntry(i),{fullPath:i,parent:r.parent,propertyName:r.propertyName},n,o,a);var l,u;return u=c,c=void 0===(l=s)?u:{...u,fields:{...l.fields,...u.fields}},void 0!==s&&!1!==function(e,t){return e.actionApiName===t.actionApiName&&(e.eTag===t.eTag&&(e.objectApiName===t.objectApiName&&!1!==Ke(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1})))}(s,c)||n.storePublish(i,c),n.publishStoreMetadata(i,{...$d,ingestionTimestamp:a}),Qe(i)};function Jd(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=Hd({fields:Vr(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return Cr(r.getNode(s.__ref),vr(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);An(a,r);return Cr(a.getNode(c.__ref),vr(t)),c}}function Zd(e,t){return function(e){return Vc({fields:Zt("fields",e)})}(Jt([],t.queryParams.optionalFields||[]))}function Xd(e,t){return Mc(0,{actionApiName:t.urlParams.actionApiName})}function Yd(e,t,r,n){!function(e,t,r){const n=Uc(0,r);e.set(n,{namespace:ge,representationName:xc,mergeable:!1});const o=r.fields,a=xe(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];St(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,n)}function ep(e,t){return Zd(0,ap(t))}function tp(e,t,r){const o=ap(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record-defaults/"+e.urlParams.actionApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o),i=ip(e,t),s={maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},c=Sr(kr(i,e.getNode(i),s,t.optionalFields)),l=Pr;return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>{const n=Jd({fields:l,optionalFields:c,trackedFields:c});e.storeIngest(i,n,r.body);const o=function(e,t){const r={recordId:ip(e,t),node:ep(0,t),variables:{}};return e.storeLookup(r,{config:t,resolve:()=>tp(e,t,le)})}(e,t);return e.storeBroadcast().then(()=>o)},()=>{const t=new n.StoreKeyMap;return Yd(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=Xd(0,t),a=e.errorSnapshot(r,n),i={ttl:Dc,namespace:ge,version:Bc,representationName:xc};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>tp(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}const rp="getQuickActionDefaults",np=[fe("actionApiName",!0,0,0,!1,je),fe("optionalFields",!1,1,0,!0,Be),fe("parentRecordId",!1,1,0)],op=me(rp,np),ap=n.createResourceParams(np);function ip(e,t){return Xd(0,ap(t))}function sp(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,np),t}(n.coerceConfig(e,np));return se(r,t)?r:null}function cp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,tp,void 0,!1)}function lp(e,t){const{luvio:r,config:n}=e;return t({recordId:ip(0,n),node:ep(0,n),variables:{}},{config:n,resolve:()=>tp(r,n,le)})}const up=e=>function(t,r){const n=sp(t,op);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},lp,cp)};function dp(e,t){return dl()}function pp(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",apiNames:"+t.queryParams.apiNames+",formFactor:"+t.queryParams.formFactor+",retrievalMode:"+t.queryParams.retrievalMode+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+")"}const fp="getRecordActions",mp=[fe("recordIds",!0,0,0,!0,ts),fe("actionTypes",!1,1,0,!0),fe("apiNames",!1,1,0,!0,Wc),fe("formFactor",!1,1,0,!1,Qc),fe("retrievalMode",!1,1,0),fe("sections",!1,1,0,!0,ft)],gp=me(fp,mp),yp=n.createResourceParams(mp);function hp(e,t){return pp(0,yp(t))}function vp(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,mp),t}(n.coerceConfig(e,mp));return se(r,t)?void 0===r.sections&&void 0===r.apiNames?null:r:null}function bp(e,t){return yp(t),dp()}function Pp(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=pp(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:dp(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Ap(e,t,le)});return e.storeBroadcast().then(()=>a)}function Sp(e,t,r,n){const o=function(e,t,r,n){const o=pp(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Ap(e,t,le)});return e.storeBroadcast().then(()=>o)}function Ap(e,t,r){const o=yp(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Pp(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>pp(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Sp(e,t,o,r)))}function Rp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Ap,void 0,!1)}function kp(e,t){const{luvio:r,config:n}=e;return t({recordId:hp(0,n),node:bp(0,n),variables:{}},{config:n,resolve:()=>Ap(r,n,le)})}const Ip=e=>function(t,r){const n=vp(t,gp);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},kp,Rp)};function Cp(e,t){return dl()}function Np(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+")"}const Tp="getRecordEditActions",Lp=[fe("recordIds",!0,0,0,!0,ts),fe("actionTypes",!1,1,0,!0),fe("formFactor",!1,1,0,!1,Qc),fe("sections",!1,1,0,!0,ft)],Fp=me(Tp,Lp),_p=n.createResourceParams(Lp);function Ep(e,t){return Np(0,_p(t))}function wp(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Lp),t}(n.coerceConfig(e,Lp));return se(r,t)?r:null}function jp(e,t){return _p(t),Cp()}function Op(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Np(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:Cp(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Dp(e,t,le)});return e.storeBroadcast().then(()=>a)}function qp(e,t,r,n){const o=function(e,t,r,n){const o=Np(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Dp(e,t,le)});return e.storeBroadcast().then(()=>o)}function Dp(e,t,r){const o=_p(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/record-edit",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Op(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>Np(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>qp(e,t,o,r)))}function Bp(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Dp,void 0,!1)}function xp(e,t){const{luvio:r,config:n}=e;return t({recordId:Ep(0,n),node:jp(0,n),variables:{}},{config:n,resolve:()=>Dp(r,n,le)})}const Mp=e=>function(t,r){const n=wp(t,Fp);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},xp,Bp)};function Up(e,t="ActionRelatedListSingleBatchInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.actionTypes){const r=e.actionTypes,n=t+".actionTypes";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.apiNames){const r=e.apiNames,n=t+".apiNames";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.formFactor){const r=e.formFactor;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".formFactor")+'")')}const r=e.relatedListId;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".relatedListId")+'")');if(void 0!==e.retrievalMode){const r=e.retrievalMode;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".retrievalMode")+'")')}if(void 0!==e.sections){const r=e.sections,n=t+".sections";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}})();return void 0===r?null:r}function Vp(e,t){return dl()}function zp(e,t){return ge+"::ActionRepresentation:(recordIds:"+t.urlParams.recordIds+",relatedListId:"+t.urlParams.relatedListId+","+(void 0===t.body.actionTypes?"actionTypes":"actionTypes:"+t.body.actionTypes)+"::"+(void 0===t.body.apiNames?"apiNames":"apiNames:"+t.body.apiNames)+"::"+(void 0===t.body.formFactor?"formFactor":"formFactor:"+t.body.formFactor)+"::"+(void 0===t.body.retrievalMode?"retrievalMode":"retrievalMode:"+t.body.retrievalMode)+"::"+(void 0===t.body.sections?"sections":"sections:"+t.body.sections)+")"}function Wp(e,t,r,n){ml(e,0,n,()=>zp(0,r))}function Kp(e,t,r,o){const{body:a}=r,i=zp(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:Vp(),variables:{}},o);return n.deepFreeze(s.data),s}function Qp(e,t,r,n){const o=zp(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}const Gp=re(null);function $p(e){return function(e){const t=[];for(let r=0,n=e.body.relatedListsActionParameters.length;r<n;r+=1){let n={urlParams:{recordIds:e.urlParams.recordIds,relatedListId:e.body.relatedListsActionParameters[r].relatedListId},body:{}},o=e.body.relatedListsActionParameters[r];"apiNames"in o&&(n.body.apiNames=Wc(o.apiNames)),"retrievalMode"in o&&(n.body.retrievalMode=o.retrievalMode),"formFactor"in o&&(n.body.formFactor=Qc(o.formFactor)),"actionTypes"in o&&(n.body.actionTypes=o.actionTypes),"sections"in o&&(n.body.sections=ft(o.sections)),t.push(n)}return t}(e)}function Hp(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(Jp(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=zp(0,t[e]),a=Vp(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=Gp[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,$p(t),t)}function Jp(e,t){return ge+"::ActionRelatedListsCollectionBatchRepresentation:(recordIds:"+t.urlParams.recordIds+",["+t.body.relatedListsActionParameters.map(e=>(void 0===e.actionTypes?"relatedListsActionParameters.actionTypes":"relatedListsActionParameters.actionTypes:"+e.actionTypes)+"::"+(void 0===e.apiNames?"relatedListsActionParameters.apiNames":"relatedListsActionParameters.apiNames:"+e.apiNames)+"::"+(void 0===e.formFactor?"relatedListsActionParameters.formFactor":"relatedListsActionParameters.formFactor:"+e.formFactor)+"::relatedListsActionParameters.relatedListId:"+e.relatedListId+"::"+(void 0===e.retrievalMode?"relatedListsActionParameters.retrievalMode":"relatedListsActionParameters.retrievalMode:"+e.retrievalMode)+"::"+(void 0===e.sections?"relatedListsActionParameters.sections":"relatedListsActionParameters.sections:"+e.sections)).join(",")+"])"}function Zp(e,t,r,o){const a=r.body.results,i=$p(t),s=Jp(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=zp(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=Kp(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{Qp(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?Gp[u]={expiration:s+sl,response:f,status:p}:delete Gp[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:Hp(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const Xp="getRelatedListsActions",Yp=[fe("recordIds",!0,0,0,!0,ts),fe("relatedListsActionParameters",!0,2,4,!0)],ef=me(Xp,Yp),tf=n.createResourceParams(Yp);function rf(e,t){return Jp(0,tf(t))}function nf(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Yp);const r=e.relatedListsActionParameters;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Up(n)&&e.push(n)}t.relatedListsActionParameters=e}return t}(n.coerceConfig(e,Yp));return se(r,t)?r:null}function of(e,t){return Hp(e,tf(t))}function af(e,t,r,n){const o=function(e,t,r,n){const o=Jp(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>sf(e,t,le)});return e.storeBroadcast().then(()=>o)}function sf(e,t,r){const o=tf(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/related-list/batch",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Zp(e,r,n,{config:t,resolve:()=>sf(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=$p(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)Wp(e,0,r,s);else if(404===i){const t=zp(0,r);e.set(t,{namespace:ge,representationName:ll,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>af(e,t,o,r)))}function cf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,sf,"get",!1)}function lf(e,t){const{luvio:r,config:n}=e;return t({recordId:rf(0,n),node:of(r,n),variables:{}},{config:n,resolve:()=>sf(r,n,le)})}const uf=e=>function(t,r){const n=nf(t,ef);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},lf,cf)},df="getRelatedListActions",pf=[fe("recordIds",!0,0,0,!0,ts),fe("relatedListId",!0,0,0),fe("actionTypes",!1,2,0,!0),fe("apiNames",!1,2,0,!0,Wc),fe("formFactor",!1,2,0,!1,Qc),fe("retrievalMode",!1,2,0),fe("sections",!1,2,0,!0,ft)],ff=me(df,pf),mf=n.createResourceParams(pf);function gf(e,t){return zp(0,mf(t))}function yf(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,pf),t}(n.coerceConfig(e,pf));return se(r,t)?r:null}function hf(e,t){return mf(t),Vp()}function vf(e,t,r){const o=mf(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/related-list/"+e.urlParams.relatedListId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Kp(e,r,n,{config:t,resolve:()=>vf(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Wp(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=Qp(e,r,n,{config:t,resolve:()=>vf(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function bf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,vf,"get",!1)}function Pf(e,t){const{luvio:r,config:n}=e;return t({recordId:gf(0,n),node:hf(0,n),variables:{}},{config:n,resolve:()=>vf(r,n,le)})}const Sf=e=>function(t,r){const n=yf(t,ff);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Pf,bf)};function Af(e,t){return dl()}function Rf(e,t){return ge+"::ActionRepresentation:(actionTypes:"+t.queryParams.actionTypes+",formFactor:"+t.queryParams.formFactor+",sections:"+t.queryParams.sections+",recordIds:"+t.urlParams.recordIds+",relatedListRecordIds:"+t.urlParams.relatedListRecordIds+")"}const kf="getRelatedListRecordActions",If=[fe("recordIds",!0,0,0,!0,ts),fe("relatedListRecordIds",!0,0,0,!0,ts),fe("actionTypes",!1,1,0,!0,ft),fe("formFactor",!1,1,0,!1,Qc),fe("sections",!1,1,0,!0,ft)],Cf=me(kf,If),Nf=n.createResourceParams(If);function Tf(e,t){return Rf(0,Nf(t))}function Lf(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,If),t}(n.coerceConfig(e,If));return se(r,t)?r:null}function Ff(e,t){return Nf(t),Af()}function _f(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Rf(0,t);e.storeIngest(i,fl,a);const s=e.storeLookup({recordId:i,node:Af(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>wf(e,t,le)});return e.storeBroadcast().then(()=>a)}function Ef(e,t,r,n){const o=function(e,t,r,n){const o=Rf(0,t),a=e.errorSnapshot(r,n),i={ttl:sl,namespace:ge,version:cl,representationName:ll};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>wf(e,t,le)});return e.storeBroadcast().then(()=>o)}function wf(e,t,r){const o=Nf(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/record/"+e.urlParams.recordIds+"/related-list-record/"+e.urlParams.relatedListRecordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>_f(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){ml(e,0,n,()=>Rf(0,r))}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Ef(e,t,o,r)))}function jf(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,wf,void 0,!1)}function Of(e,t){const{luvio:r,config:n}=e;return t({recordId:Tf(0,n),node:Ff(0,n),variables:{}},{config:n,resolve:()=>wf(r,n,le)})}const qf=e=>function(t,r){const n=Lf(t,Cf);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Of,jf)},Df="a316b3bba367f54adc67d7552ed7d36d",Bf="PageReferenceRepresentation";function xf(e,t,r,n,o,a){return e}function Mf(e,t){return ze(t)===ze(e)}const Uf="09884ca5bf90ea4662092a4e48817081",Vf="NavItemRepresentation";function zf(e,t){const r={developerName:t.developerName};return ge+"::"+Vf+":"+r.developerName}function Wf(e,t,r,o,a,i){const s=e.pageReference,c=r.fullPath+"__pageReference";return null!==s&&"object"==typeof s&&(e.pageReference=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,xf,"UiApi",Df,Bf,Mf),Qe(i)}(s,{fullPath:c,propertyName:"pageReference",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)),e}const Kf=function(){return{kind:"Fragment",version:Uf,private:[],selections:[{name:"availableInClassic",kind:"Scalar"},{name:"availableInLightning",kind:"Scalar"},{name:"color",kind:"Scalar"},{name:"content",kind:"Scalar"},{name:"custom",kind:"Scalar"},{name:"developerName",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"id",kind:"Scalar"},{name:"itemType",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"objectLabel",kind:"Scalar"},{name:"objectLabelPlural",kind:"Scalar"},{name:"pageReference",kind:"Link",nullable:!0,fragment:{kind:"Fragment",version:Df,private:[],opaque:!0}},{name:"standardType",kind:"Scalar"}]}};function Qf(e,t){if(e.availableInClassic!==t.availableInClassic)return!1;if(e.availableInLightning!==t.availableInLightning)return!1;if(e.custom!==t.custom)return!1;if(e.color!==t.color)return!1;if(e.developerName!==t.developerName)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.itemType!==t.itemType)return!1;if(e.label!==t.label)return!1;if(e.objectApiName!==t.objectApiName)return!1;if(e.content!==t.content)return!1;if(e.id!==t.id)return!1;if(e.objectLabel!==t.objectLabel)return!1;if(e.objectLabelPlural!==t.objectLabelPlural)return!1;const r=e.pageReference,n=t.pageReference;if(r!==n&&(null==r||null==n||null==r.__ref||null==n.__ref||r.__ref!==n.__ref))return!1;return e.standardType===t.standardType}const Gf=function(e,t,r,o,a){const i=zf(0,e);return n.ingestShape(e,t,r,o,a,12e4,i,Wf,"UiApi",Uf,Vf,Qf),Qe(i)};function $f(e,t,r,n){const o=zf(0,r);e.set(o,{namespace:ge,representationName:Vf,mergeable:!1}),null!==r.pageReference&&"object"==typeof r.pageReference&&function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:Bf,mergeable:!1})}(e,0,r.pageReference,()=>o+"__pageReference")}const Hf=3e5,Jf="0cd492fdd6c713c206ef53dc02175f71",Zf="AppRepresentation";function Xf(e,t){return ge+"::"+Zf+":"+(null===t.appId?"":t.appId)}function Yf(e,t){return Xf(0,{appId:t.appId})}function em(e,t,r,n,o,a){const i=e.navItems,s=r.fullPath+"__navItems";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Gf(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const c=e.userNavItems,l=r.fullPath+"__userNavItems";for(let i=0;i<c.length;i++){const s=c[i];let u=l+"__"+i;c[i]=Gf(s,{fullPath:u,propertyName:i,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const tm=function(){return{kind:"Fragment",version:Jf,private:["eTag"],selections:[{name:"appId",kind:"Scalar"},{name:"description",kind:"Scalar"},{name:"developerName",kind:"Scalar"},{name:"formFactors",kind:"Scalar",plural:!0},{name:"headerColor",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"},{name:"isNavAutoTempTabsDisabled",kind:"Scalar"},{name:"isNavPersonalizationDisabled",kind:"Scalar"},{name:"isNavTabPersistenceDisabled",kind:"Scalar"},{name:"isOmniPinnedViewEnabled",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"logoUrl",kind:"Scalar"},{name:"mobileStartUrl",kind:"Scalar"},{name:"navItems",kind:"Link",plural:!0,fragment:Kf()},{name:"selected",kind:"Scalar"},{name:"startUrl",kind:"Scalar"},{name:"type",kind:"Scalar"},{name:"userNavItems",kind:"Link",plural:!0,fragment:Kf()}]}};function rm(e,t){if(e.isNavAutoTempTabsDisabled!==t.isNavAutoTempTabsDisabled)return!1;if(e.isNavPersonalizationDisabled!==t.isNavPersonalizationDisabled)return!1;if(e.isNavTabPersistenceDisabled!==t.isNavTabPersistenceDisabled)return!1;if(e.isOmniPinnedViewEnabled!==t.isOmniPinnedViewEnabled)return!1;if(e.selected!==t.selected)return!1;if(e.developerName!==t.developerName)return!1;if(e.eTag!==t.eTag)return!1;if(e.label!==t.label)return!1;if(e.logoUrl!==t.logoUrl)return!1;if(e.startUrl!==t.startUrl)return!1;if(e.type!==t.type)return!1;if(e.appId!==t.appId)return!1;if(e.description!==t.description)return!1;if(!1===We(e.formFactors,t.formFactors,(e,t)=>{if(e!==t)return!1}))return!1;if(e.headerColor!==t.headerColor)return!1;if(e.iconUrl!==t.iconUrl)return!1;if(e.mobileStartUrl!==t.mobileStartUrl)return!1;if(!1===We(e.navItems,t.navItems,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return!1!==We(e.userNavItems,t.userNavItems,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const nm=function(e,t,r,o,a){const i=Yf(0,e),s=Hf;return n.ingestShape(e,t,r,o,a,s,i,em,"UiApi",Jf,Zf,rm),Qe(i)};function om(e,t,r,n){const o=Yf(0,r);e.set(o,{namespace:ge,representationName:Zf,mergeable:!1});const a=r.navItems.length;for(let t=0;t<a;t++)$f(e,0,r.navItems[t]);const i=r.userNavItems.length;for(let t=0;t<i;t++)$f(e,0,r.userNavItems[t])}const am=3e5,im="a254babf0b6414315db7808a157fd9fc",sm="AppsRepresentation";function cm(e,t,r,n,o,a){const i=e.apps,s=r.fullPath+"__apps";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=nm(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const lm=function(){return{kind:"Fragment",version:im,private:["eTag"],selections:[{name:"apps",kind:"Link",plural:!0,fragment:tm()}]}};function um(e,t){if(e.eTag!==t.eTag)return!1;return!1!==We(e.apps,t.apps,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const dm=function(e,t,r,o,a){const i=t.fullPath,s=am;return n.ingestShape(e,t,r,o,a,s,i,cm,"UiApi",im,sm,um),Qe(i)};function pm(e,t){return lm()}function fm(e,t){return ge+"::AppsRepresentation:(formFactor:"+t.queryParams.formFactor+",userCustomizations:"+t.queryParams.userCustomizations+")"}function mm(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:sm,mergeable:!1});const a=r.apps.length;for(let t=0;t<a;t++)om(e,0,r.apps[t])}(e,0,n,()=>fm(0,r))}const gm="getAllApps",ym=[fe("formFactor",!1,1,0,!1,Qc),fe("userCustomizations",!1,1,1)],hm=me(gm,ym),vm=n.createResourceParams(ym);function bm(e,t){return fm(0,vm(t))}function Pm(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ym),t}(n.coerceConfig(e,ym));return se(r,t)?r:null}function Sm(e,t){return vm(t),pm()}function Am(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=fm(0,t);e.storeIngest(i,dm,a);const s=e.storeLookup({recordId:i,node:pm(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>km(e,t,le)});return e.storeBroadcast().then(()=>a)}function Rm(e,t,r,n){const o=function(e,t,r,n){const o=fm(0,t),a=e.errorSnapshot(r,n),i={ttl:am,namespace:ge,version:im,representationName:sm};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>km(e,t,le)});return e.storeBroadcast().then(()=>o)}function km(e,t,r){const o=vm(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/apps",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Am(e,t,o,r),()=>{const e=new n.StoreKeyMap;return mm(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Rm(e,t,o,r)))}function Im(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,km,void 0,!1)}function Cm(e,t){const{luvio:r,config:n}=e;return t({recordId:bm(0,n),node:Sm(0,n),variables:{}},{config:n,resolve:()=>km(r,n,le)})}const Nm=e=>function(t,r){const n=Pm(t,hm);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Cm,Im)};function Tm(e,t){return tm()}function Lm(e,t){return Xf(0,{appId:t.urlParams.appId})}const Fm="getAppDetails",_m=[fe("appId",!0,0,0),fe("formFactor",!1,1,0,!1,Qc),fe("userCustomizations",!1,1,1)],Em=me(Fm,_m),wm=n.createResourceParams(_m);function jm(e,t){return Lm(0,wm(t))}function Om(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,_m),t}(n.coerceConfig(e,_m));return se(r,t)?r:null}function qm(e,t){return wm(t),Tm()}function Dm(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Lm(0,t);e.storeIngest(i,nm,a);const s=e.storeLookup({recordId:i,node:Tm(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>xm(e,t,le)});return e.storeBroadcast().then(()=>a)}function Bm(e,t,r,n){const o=function(e,t,r,n){const o=Lm(0,t),a=e.errorSnapshot(r,n),i={ttl:Hf,namespace:ge,version:Jf,representationName:Zf};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>xm(e,t,le)});return e.storeBroadcast().then(()=>o)}function xm(e,t,r){const o=wm(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/apps/"+e.urlParams.appId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Dm(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){om(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Bm(e,t,o,r)))}function Mm(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,xm,void 0,!1)}function Um(e,t){const{luvio:r,config:n}=e;return t({recordId:jm(0,n),node:qm(0,n),variables:{}},{config:n,resolve:()=>xm(r,n,le)})}const Vm=e=>function(t,r){const n=Om(t,Em);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Um,Mm)},zm=9e5,Wm="be27ee99dc0dc43a1f66b8fe98dc532c",Km="DuplicatesConfigurationRepresentation";function Qm(e,t,r,n,o,a){return e}const Gm=function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"f43ef90ffde4d488414d6868e3aaefcb",private:["eTag"],selections:[{name:"field",kind:"Scalar"},{name:"operation",kind:"Scalar"},{name:"sortOrder",kind:"Scalar"},{name:"value",kind:"Scalar"}]};return{kind:"Fragment",version:"320d7f254687278f2763d4b490dab3fb",private:["eTag"],selections:[{name:"booleanFilter",kind:"Scalar"},{name:"filterItems",kind:"Object",plural:!0,selections:e},{name:"ruleCritera",kind:"Scalar"}]}}(),{selections:r,opaque:n}={kind:"Fragment",version:"b47b44e260e5ce777beaf3da9088997c",private:["eTag"],selections:[{name:"matchEngine",kind:"Scalar"},{name:"matchFields",kind:"Scalar",plural:!0},{name:"name",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"}]};return{kind:"Fragment",version:"bb83d7210bb1d7861b6188bc5f552617",private:["eTag"],selections:[{name:"actionOnInsert",kind:"Scalar"},{name:"actionOnUpdate",kind:"Scalar"},{name:"active",kind:"Scalar"},{name:"duplicateRuleFilters",kind:"Object",plural:!0,selections:e},{name:"matchRules",kind:"Object",plural:!0,selections:r},{name:"name",kind:"Scalar"},{name:"operationsOnInsert",kind:"Scalar",plural:!0},{name:"operationsOnUpdate",kind:"Scalar",plural:!0}]}}();return{kind:"Fragment",version:Wm,private:["eTag"],selections:[{name:"apiName",kind:"Scalar"},{name:"dedupeEnabled",kind:"Scalar"},{name:"dedupeFields",kind:"Scalar",plural:!0},{name:"duplicateRules",kind:"Object",plural:!0,selections:e},{name:"predupeEnabled",kind:"Scalar"}]}};function $m(e,t){return e.eTag===t.eTag}const Hm=function(e,t,r,o,a){const i=t.fullPath,s=zm;return n.ingestShape(e,t,r,o,a,s,i,Qm,"UiApi",Wm,Km,$m),Qe(i)};function Jm(e,t){return Gm()}function Zm(e,t){return ge+"::DuplicatesConfigurationRepresentation:(recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}function Xm(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:Km,mergeable:!1})}(e,0,0,()=>Zm(0,r))}const Ym="getDuplicateConfiguration",eg=[fe("objectApiName",!0,0,0),fe("recordTypeId",!1,1,0)],tg=me(Ym,eg),rg=n.createResourceParams(eg);function ng(e,t){return Zm(0,rg(t))}function og(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,eg),t}(e);return se(r,t)?r:null}function ag(e,t){return rg(t),Jm()}function ig(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Zm(0,t);e.storeIngest(i,Hm,a);const s=e.storeLookup({recordId:i,node:Jm(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>cg(e,t,le)});return e.storeBroadcast().then(()=>a)}function sg(e,t,r,n){const o=function(e,t,r,n){const o=Zm(0,t),a=e.errorSnapshot(r,n),i={ttl:zm,namespace:ge,version:Wm,representationName:Km};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>cg(e,t,le)});return e.storeBroadcast().then(()=>o)}function cg(e,t,r){const o=rg(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/duplicates/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>ig(e,t,o,r),()=>{const e=new n.StoreKeyMap;return Xm(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>sg(e,t,o,r)))}function lg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,cg,void 0,!1)}function ug(e,t){const{luvio:r,config:n}=e;return t({recordId:ng(0,n),node:ag(0,n),variables:{}},{config:n,resolve:()=>cg(r,n,le)})}const dg=e=>function(t,r){const n=og(t,tg);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},ug,lg)};var pg;function fg(e){if(e===pg.Full||e===pg.Compact)return e}function mg(e){if(e===Ks.Create||e===Ks.Edit||e===Ks.View)return e}function gg(e,t,r,n){const o=function(e,t){return ge+"::RecordLayoutRepresentation:(formFactor:"+t.queryParams.formFactor+",layoutType:"+t.queryParams.layoutType+",mode:"+t.queryParams.mode+",recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}(0,t),a=e.errorSnapshot(r,n),i={ttl:Ki,namespace:ge,version:Qi,representationName:Gi};return e.storeIngestError(o,a,i),a}!function(e){e.Full="Full",e.Compact="Compact"}(pg||(pg={}));const yg={displayName:"getLayout",parameters:{required:["objectApiName","layoutType","mode"],optional:["recordTypeId"]}};function hg(e,t){const r=function(e,t){if(!ie(e))return null;const r=n.coerceConfig(e,bg),o=function(e){const t={};return n.typeCheckConfig(e,t,bg),t}(r);if(!se(o,t))return null;return o}(e,yg);if(null===r)return null;let o=r.recordTypeId;if(void 0===o){if(null!==e.recordTypeId&&void 0!==e.recordTypeId)return null;o=Vt}return{...r,recordTypeId:o,layoutType:r.layoutType,mode:r.mode}}function vg(e,t){const{luvio:r,config:n}=e;return t({recordId:$i(0,n),node:Zi(),variables:{}},{config:n,resolve:()=>Sg(r,n,le)})}const bg=[fe("objectApiName",!0,0,0,!1,je),fe("formFactor",!1,1,0),fe("layoutType",!1,1,0,!1,fg),fe("mode",!1,1,0,!1,mg),fe("recordTypeId",!1,1,0,!1,pt)],Pg=n.createResourceParams(bg);function Sg(e,t,r){const o=Pg(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,a=$i(0,t);e.storeIngest(a,Yi,o);const i=e.storeLookup({recordId:a,node:Zi(),variables:{}},{config:t,resolve:()=>Sg(e,t,le)});return e.storeBroadcast().then(()=>i)}(e,t,0,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){es(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=gg(e,r,n,{config:t,resolve:()=>Sg(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Ag(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Sg,void 0,!1)}const Rg=e=>function(t,r){const n=hg(t);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},vg,Ag)};function kg(e,t){const{objectApiName:r,recordTypeId:n,layoutType:o,mode:a}=t,i={recordId:os(0,{apiName:r,recordTypeId:n,layoutType:o,mode:a}),node:ss(),variables:{}};return e.storeLookup(i,{config:t,resolve:()=>Ig(e,t)})}function Ig(e,t,r){const{resourceParams:o,request:a,key:i}=function(e,t){const{recordTypeId:r,layoutType:n,mode:o,objectApiName:a}=t,i=os(0,{apiName:a,recordTypeId:r,layoutType:n,mode:o}),s={urlParams:{objectApiName:t.objectApiName},queryParams:{layoutType:t.layoutType,mode:t.mode,recordTypeId:t.recordTypeId}},c=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName+"/user-state",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(s);return{resourceParams:s,request:c,key:i}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,{recordTypeId:a,layoutType:i,mode:s}=t;o.apiName=t.objectApiName,o.recordTypeId=a,o.layoutType=i,o.mode=s,e.storeIngest(r,ls,o);const c=kg(e,t);return e.storeBroadcast().then(()=>c)}(e,t,i,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){us(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,{config:t,resolve:()=>Ig(e,t)});return e.storeIngestError(r,o),e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function Cg(e,t){const r=function(e,t){if(!ie(e))return null;const r=n.coerceConfig(e,Lg),o=function(e){const t={};return n.typeCheckConfig(e,t,Lg),t}(r);if(!se(o,t))return null;return o}(e,t);if(null===r)return null;const o=r.recordTypeId,a=e;let i=r.layoutType;if(void 0===i){if(void 0!==a.layoutType)return null;i=pg.Full}let s=r.mode;if(void 0===s){if(void 0!==a.mode)return null;s=Ks.View}return{...r,recordTypeId:o,layoutType:i,mode:s}}const Ng={displayName:"getLayoutUserState",parameters:{required:["objectApiName","recordTypeId"],optional:["formFactor","layoutType","mode"]}};function Tg(e,t){const{config:r,luvio:n}=e,{objectApiName:o,recordTypeId:a,layoutType:i,mode:s}=r;return t({recordId:os(0,{apiName:o,recordTypeId:a,layoutType:i,mode:s}),node:ss(),variables:{}},{config:r,resolve:()=>Ig(n,r)})}const Lg=[fe("objectApiName",!0,0,0,!1,je),fe("formFactor",!1,1,0),fe("layoutType",!1,1,0,!1,fg),fe("mode",!1,1,0,!1,mg),fe("recordTypeId",!1,1,0,!1,pt)];function Fg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Ig,void 0,!1)}const _g=e=>function(t,r){const n=Cg(t,Ng);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Tg,Fg)};function Eg(e,t){return at(0,{objectApiName:t.urlParams.objectApiName.toLowerCase(),listViewApiName:t.urlParams.listViewApiName.toLowerCase(),type:"__recent"===t.urlParams.listViewApiName.toLowerCase()?"mru":"listView"})}function wg(e,t){return st()}function jg(e,t,r,n){ut(e,t,n)}function Og(e,t,r,o){const{body:a}=r,i=Eg(0,t);e.storeIngest(i,lt,a);const s=e.storeLookup({recordId:i,node:wg(),variables:{}},o);return n.deepFreeze(s.data),s}function qg(e,t,r,n){const o=Eg(0,t),a=e.errorSnapshot(r,n),i={ttl:rt,namespace:ge,version:nt,representationName:ot};return e.storeIngestError(o,a,i),a}const Dg=re(null);function Bg(e){return function(e){const t=[],{queryParams:r}=e,{names:n=[]}=r;for(const e of n){const[r,n]=e.split(".");t.push({urlParams:{objectApiName:r,listViewApiName:n}})}return t}(e)}function xg(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(Mg(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=Eg(0,t[e]),a=wg(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=Dg[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,Bg(t),t)}function Mg(e,t){return ge+"::ListInfoBatchRepresentation:(ids:"+t.queryParams.ids+",names:"+t.queryParams.names+")"}function Ug(e,t,r,o){const a=r.body.results,i=Bg(t),s=Mg(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=Eg(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=Og(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{qg(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?Dg[u]={expiration:s+rt,response:f,status:p}:delete Dg[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:xg(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const Vg="getListInfosByName",zg=[fe("ids",!1,1,0,!0),fe("names",!1,1,0,!0)],Wg=me(Vg,zg),Kg=n.createResourceParams(zg);function Qg(e,t){return Mg(0,Kg(t))}function Gg(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,zg),t}(e);return se(r,t)?r:null}function $g(e,t){return xg(e,Kg(t))}function Hg(e,t,r,n){const o=function(e,t,r,n){const o=Mg(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Jg(e,t,le)});return e.storeBroadcast().then(()=>o)}function Jg(e,t,r){const o=Kg(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/batch",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Ug(e,r,n,{config:t,resolve:()=>Jg(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=Bg(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)jg(e,t,0,c);else if(404===s){const t=Eg(0,n);e.set(t,{namespace:ge,representationName:ot,mergeable:!1})}}}(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>Hg(e,t,o,r)))}function Zg(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Jg,void 0,!1)}function Xg(e,t){const{luvio:r,config:n}=e;return t({recordId:Qg(0,n),node:$g(r,n),variables:{}},{config:n,resolve:()=>Jg(r,n,le)})}const Yg=e=>function(t,r){const n=Gg(t,Wg);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Xg,Zg)};function ey(e){const{queryParams:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?20:t.pageSize}}function ty(e,t){const r=ey(t);return So(r)}function ry(e,t){return bo(0,{objectApiName:t.urlParams.objectApiName,queryString:t.queryParams.q||null,recentListsOnly:t.queryParams.recentListsOnly||!1})}function ny(e,t,r,n){!function(e,t,r){const n=Po(0,r);e.set(n,{namespace:ge,representationName:vo,mergeable:!0}),e.set(n+"__pagination",{namespace:ge,representationName:vo,mergeable:!0});const o=r.lists.length;for(let t=0;t<o;t++)yo(e,0,r.lists[t])}(e,0,n)}function oy(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const ay="getListInfosByObjectName",iy=[fe("objectApiName",!0,0,0),fe("pageSize",!1,1,3),fe("pageToken",!1,1,0),fe("q",!1,1,0),fe("recentListsOnly",!1,1,1)],sy=me(ay,iy),cy=n.createResourceParams(iy);function ly(e,t){return ry(0,cy(t))}function uy(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,iy),t}(e);return se(r,t)?r:null}function dy(e,t){return ty(0,cy(t))}function py(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=ry(0,t);e.storeIngest(i,Ao,a);const s=e.storeLookup({recordId:i,node:ty(0,t),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>gy(e,t,le)});return e.storeBroadcast().then(()=>a)}function fy(e,t,r,n){const o=function(e,t,r,n){const o=ry(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>gy(e,t,le)});return e.storeBroadcast().then(()=>o)}function my(e,t,r,n){if(void 0===n)return oy(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.lists)return 0;const r=t.lists;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=ry(0,t),n={recordId:r,node:{kind:"Fragment",version:ho,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:kn,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=ey(t),a=Ln(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=wn(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);return oy(void 0===o?r:cy({...t,pageSize:a,pageToken:o}))}function gy(e,t,r,o){const a=cy(t),i=my(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>py(e,t,a,r),()=>{const e=new n.StoreKeyMap;return ny(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>fy(e,t,a,r)))}function yy(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,gy,void 0,!0)}function hy(e,t){const{luvio:r,config:n}=e,o=t({recordId:ly(0,n),node:dy(0,n),variables:{}},{config:n,resolve:()=>gy(r,n,le)});return pe(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const vy=e=>function(t,r){const n=uy(t,sy);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},hy,yy)};function by(e,t="ListFilterByInfoInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldApiName")+'")');const n=e.operandLabels,o=t+".operandLabels";if(!Ve(n))return new TypeError('Expected "array" but received "'+typeof n+'" (at "'+o+'")');for(let e=0;e<n.length;e++){const t=n[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(o+"["+e+"]")+'")')}const a=e.operator;return"string"!=typeof a?new TypeError('Expected "string" but received "'+typeof a+'" (at "'+(t+".operator")+'")'):void 0})();return void 0===r?null:r}function Py(e,t="ListScopeInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.apiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".apiName")+'")');if(void 0!==e.entityId){const r=e.entityId,n=t+".entityId";let o=null;const a=(()=>{if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+n+'")')})();null!=a&&(o=a.message);let i=null;const s=(()=>{if(null!==r)return new TypeError('Expected "null" but received "'+typeof r+'" (at "'+n+'")')})();if(null!=s&&(i=s.message),o&&i){let e="Object doesn't match union (at \""+n+'")';return e+="\n"+o.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+i.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}if(void 0!==e.relatedEntityId){const r=e.relatedEntityId,n=t+".relatedEntityId";let o=null;const a=(()=>{if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+n+'")')})();null!=a&&(o=a.message);let i=null;const s=(()=>{if(null!==r)return new TypeError('Expected "null" but received "'+typeof r+'" (at "'+n+'")')})();if(null!=s&&(i=s.message),o&&i){let e="Object doesn't match union (at \""+n+'")';return e+="\n"+o.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+i.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}const Sy="createListInfo",Ay=[fe("objectApiName",!0,0,0,!1,je),fe("displayColumns",!1,2,0,!0),fe("filterLogicString",!1,2,0),fe("filteredByInfo",!1,2,4,!0),fe("label",!1,2,0),fe("listShares",!1,2,0,!0),fe("listViewApiName",!1,2,0),fe("scope",!1,2,4),fe("visibility",!1,2,0)],Ry=me(Sy,Ay),ky=n.createResourceParams(Ay);function Iy(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Ay);const r=e.filteredByInfo;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===by(n)&&e.push(n)}t.filteredByInfo=e}const o=e.scope;return null===Py(o)&&(t.scope=o),t}(n.coerceConfig(e,Ay));return se(r,t)?r:null}function Cy(e,t,r){const o=ky(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=tt(e,o);e.storeIngest(a,lt,o);const i=e.storeLookup({recordId:a,node:st(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){ut(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const Ny=e=>function(t){const r=Iy(t,Ry);if(null===r)throw new Error('Invalid config for "createListInfo"');return Cy(e,r)};function Ty(e,t){return at(0,{objectApiName:t.urlParams.objectApiName,listViewApiName:t.urlParams.listViewApiName,type:"listView"})}const Ly="deleteListInfo",Fy=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0)],_y=me(Ly,Fy),Ey=n.createResourceParams(Fy);function wy(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Fy),t}(e);return se(r,t)?r:null}function jy(e,t,r){const o=Ey(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"delete",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(()=>e.handleSuccessResponse(()=>(function(e,t){const r=Ty(0,t);e.storeEvict(r)}(e,o),e.storeBroadcast()),()=>{const e=new n.StoreKeyMap;return function(e,t,r){const n=Ty(0,r);e.set(n,{namespace:ge,representationName:ot,mergeable:!1})}(e,0,o),e}),e=>{throw n.deepFreeze(e),e})}const Oy=e=>function(t){const r=wy(t,_y);if(null===r)throw new Error(`Invalid config for "${Ly}"`);return jy(e,r)},qy="getListInfoByName",Dy=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0)],By=me(qy,Dy),xy=n.createResourceParams(Dy);function My(e,t){return Eg(0,xy(t))}function Uy(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Dy),t}(e);return se(r,t)?r:null}function Vy(e,t){return xy(t),wg()}function zy(e,t,r){const o=xy(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Og(e,r,n,{config:t,resolve:()=>zy(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return jg(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=qg(e,r,n,{config:t,resolve:()=>zy(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Wy(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,zy,void 0,!1)}function Ky(e,t){const{luvio:r,config:n}=e;return t({recordId:My(0,n),node:Vy(0,n),variables:{}},{config:n,resolve:()=>zy(r,n,le)})}const Qy=e=>function(t,r){const n=Uy(t,By);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Ky,Wy)};const Gy="updateListInfoByName",$y=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0,!1,je),fe("displayColumns",!1,2,0,!0),fe("filterLogicString",!1,2,0),fe("filteredByInfo",!1,2,4,!0),fe("label",!1,2,0),fe("listShares",!1,2,0,!0),fe("scope",!1,2,4),fe("visibility",!1,2,0)],Hy=me(Gy,$y),Jy=n.createResourceParams($y);function Zy(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,$y);const r=e.filteredByInfo;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===by(n)&&e.push(n)}t.filteredByInfo=e}const o=e.scope;return null===Py(o)&&(t.scope=o),t}(n.coerceConfig(e,$y));return se(r,t)?r:null}function Xy(e,t,r){const o=Jy(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-info/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=tt(e,o);e.storeIngest(a,lt,o);const i=e.storeLookup({recordId:a,node:st(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){ut(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const Yy=e=>function(t){const r=Zy(t,Hy);if(null===r)throw new Error('Invalid config for "updateListInfoByName"');return Xy(e,r)};const eh=9e5,th="2405a0b25c2c00f82e88b600edc16387",rh="ListObjectInfoRepresentation";function nh(e,t){return ge+"::"+rh+":"+t.objectApiName}function oh(e,t){return nh(0,{objectApiName:t.objectApiName})}function ah(e,t,r,n,o,a){return e}const ih=function(){const{selections:e,opaque:t}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"d77026c4d63ef00cdd7e3d600687a40d",private:[],selections:[{name:"id",kind:"Scalar"},{name:"label",kind:"Scalar"}]};return{kind:"Fragment",version:"355933ff2970aa91a2848a94565e956a",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"availableEntities",kind:"Object",plural:!0,selections:e},{name:"label",kind:"Scalar"}]}}(),{selections:r,opaque:n}=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"c5c08ea834378670c9d6f235ff71c9f0",private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"label",kind:"Scalar"}]};return{kind:"Fragment",version:"2c35f797fead79b5c45b521e77dd6ace",private:[],selections:[{name:"alias",kind:"Scalar"},{name:"dataType",kind:"Scalar"},{name:"defaultFilterOperator",kind:"Scalar"},{name:"displayable",kind:"Scalar"},{name:"fieldApiName",kind:"Scalar"},{name:"filterable",kind:"Scalar"},{name:"label",kind:"Scalar"},{name:"picklistValues",kind:"Object",plural:!0,selections:e},{name:"sortable",kind:"Scalar"},{name:"supportedFilterOperators",kind:"Scalar",plural:!0}]}}();return{kind:"Fragment",version:th,private:[],selections:[{name:"availableScopes",kind:"Object",plural:!0,selections:e},{name:"columns",kind:"Object",plural:!0,selections:r},{name:"createable",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"publicOrSharedCreateable",kind:"Scalar"},{name:"relatedEntityApiName",kind:"Scalar"}]}};function sh(e,t){if(e.createable!==t.createable)return!1;if(e.publicOrSharedCreateable!==t.publicOrSharedCreateable)return!1;if(e.objectApiName!==t.objectApiName)return!1;const r=We(e.availableScopes,t.availableScopes,(e,t)=>{if(!function(e,t){if(e.apiName!==t.apiName)return!1;if(e.label!==t.label)return!1;const r=We(e.availableEntities,t.availableEntities,(e,t)=>{if(!function(e,t){return e.id===t.id&&e.label===t.label}(e,t))return!1});return!1!==r}(e,t))return!1});if(!1===r)return!1;const n=We(e.columns,t.columns,(e,t)=>{if(!function(e,t){if(e.displayable!==t.displayable)return!1;if(e.filterable!==t.filterable)return!1;if(e.sortable!==t.sortable)return!1;if(e.alias!==t.alias)return!1;if(e.defaultFilterOperator!==t.defaultFilterOperator)return!1;if(e.fieldApiName!==t.fieldApiName)return!1;if(e.label!==t.label)return!1;if(e.dataType!==t.dataType)return!1;const r=We(e.picklistValues,t.picklistValues,(e,t)=>{if(!function(e,t){return e.apiName===t.apiName&&e.label===t.label}(e,t))return!1});return!1!==r&&!1!==We(e.supportedFilterOperators,t.supportedFilterOperators,(e,t)=>{if(e!==t)return!1})}(e,t))return!1});if(!1===n)return!1;return e.relatedEntityApiName===t.relatedEntityApiName}const ch=function(e,t,r,o,a){const i=oh(0,e),s=eh;return n.ingestShape(e,t,r,o,a,s,i,ah,"UiApi",th,rh,sh),Qe(i)};function lh(e,t){return ih()}function uh(e,t){return nh(0,{objectApiName:t.urlParams.objectApiName})}function dh(e,t,r,n){!function(e,t,r){const n=oh(0,r);e.set(n,{namespace:ge,representationName:rh,mergeable:!1})}(e,0,n)}const ph="getListObjectInfo",fh=[fe("objectApiName",!0,0,0,!1,je)],mh=me(ph,fh),gh=n.createResourceParams(fh);function yh(e,t){return uh(0,gh(t))}function hh(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,fh),t}(n.coerceConfig(e,fh));return se(r,t)?r:null}function vh(e,t){return gh(t),lh()}function bh(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=uh(0,t);e.storeIngest(i,ch,a);const s=e.storeLookup({recordId:i,node:lh(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Sh(e,t,le)});return e.storeBroadcast().then(()=>a)}function Ph(e,t,r,n){const o=function(e,t,r,n){const o=uh(0,t),a=e.errorSnapshot(r,n),i={ttl:eh,namespace:ge,version:th,representationName:rh};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Sh(e,t,le)});return e.storeBroadcast().then(()=>o)}function Sh(e,t,r){const o=gh(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-object-info/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>bh(e,t,o,r),()=>{const e=new n.StoreKeyMap;return dh(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Ph(e,t,o,r)))}function Ah(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Sh,void 0,!1)}function Rh(e,t){const{luvio:r,config:n}=e;return t({recordId:yh(0,n),node:vh(0,n),variables:{}},{config:n,resolve:()=>Sh(r,n,le)})}const kh=e=>function(t,r){const n=hh(t,mh);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Rh,Ah)},Ih=9e5,Ch="458d4a6a30201e422e8daec5fcb03845",Nh="ListPreferencesRepresentation";function Th(e,t){return ge+"::"+Nh+":"+t.objectApiName+":"+(null===t.listViewApiName?"":t.listViewApiName)}function Lh(e,t){return Th(0,{objectApiName:t.listReference.objectApiName,listViewApiName:t.listReference.listViewApiName})}function Fh(e,t,r,n,o,a){return e}const _h=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"76042ff4af603b2ac0ec69fa0bd12046",private:[],selections:[{name:"id",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"type",kind:"Scalar"}]},{selections:r,opaque:n}={kind:"Fragment",version:"32def9b631252c12b91a8209c1f49f5a",private:[],selections:[{name:"fieldApiName",kind:"Scalar"},{name:"isAscending",kind:"Scalar"},{name:"label",kind:"Scalar"}]};return{kind:"Fragment",version:Ch,private:[],selections:[{name:"columnWidths",kind:"Scalar",map:!0},{name:"columnWrap",kind:"Scalar",map:!0},{name:"listReference",kind:"Object",selections:e},{name:"orderedBy",kind:"Object",plural:!0,selections:r}]}};function Eh(e,t){if(!1===Ke(e.columnWidths,t.columnWidths,(e,t)=>{if(e!==t)return!1}))return!1;if(!1===Ke(e.columnWrap,t.columnWrap,(e,t)=>{if(e!==t)return!1}))return!1;if(!$e(e.listReference,t.listReference))return!1;const r=We(e.orderedBy,t.orderedBy,(e,t)=>{if(!function(e,t){return e.isAscending===t.isAscending&&(e.fieldApiName===t.fieldApiName&&e.label===t.label)}(e,t))return!1});return!1!==r}const wh=function(e,t,r,o,a){const i=Lh(0,e),s=Ih;return n.ingestShape(e,t,r,o,a,s,i,Fh,"UiApi",Ch,Nh,Eh),Qe(i)};function jh(e,t,r,n){const o=Lh(0,r);e.set(o,{namespace:ge,representationName:Nh,mergeable:!1})}function Oh(e,t){return _h()}function qh(e,t){return Th(0,{objectApiName:t.urlParams.objectApiName,listViewApiName:t.urlParams.listViewApiName})}const Dh="getListPreferences",Bh=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0,!1,je)],xh=me(Dh,Bh),Mh=n.createResourceParams(Bh);function Uh(e,t){return qh(0,Mh(t))}function Vh(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Bh),t}(n.coerceConfig(e,Bh));return se(r,t)?r:null}function zh(e,t){return Mh(t),Oh()}function Wh(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=qh(0,t);e.storeIngest(i,wh,a);const s=e.storeLookup({recordId:i,node:Oh(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Qh(e,t,le)});return e.storeBroadcast().then(()=>a)}function Kh(e,t,r,n){const o=function(e,t,r,n){const o=qh(0,t),a=e.errorSnapshot(r,n),i={ttl:Ih,namespace:ge,version:Ch,representationName:Nh};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Qh(e,t,le)});return e.storeBroadcast().then(()=>o)}function Qh(e,t,r){const o=Mh(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-preferences/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Wh(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){jh(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>Kh(e,t,o,r)))}function Gh(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Qh,void 0,!1)}function $h(e,t){const{luvio:r,config:n}=e;return t({recordId:Uh(0,n),node:zh(0,n),variables:{}},{config:n,resolve:()=>Qh(r,n,le)})}const Hh=e=>function(t,r){const n=Vh(t,xh);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},$h,Gh)};function Jh(e,t="ListOrderedByInfoInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldApiName")+'")');const n=e.isAscending;return"boolean"!=typeof n?new TypeError('Expected "boolean" but received "'+typeof n+'" (at "'+(t+".isAscending")+'")'):void 0})();return void 0===r?null:r}const Zh="updateListPreferences",Xh=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0,!1,je),fe("columnWidths",!1,2,4),fe("columnWrap",!1,2,4),fe("orderedBy",!1,2,4,!0)],Yh=me(Zh,Xh),ev=n.createResourceParams(Xh);function tv(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Xh);const r=e.columnWidths;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"number"==typeof a&&Math.floor(a)===a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWidths=e)}const o=e.columnWrap;if(ie(o)){const e={},r=Object.keys(o);for(let t=0,n=r.length;t<n;t++){const n=r[t],a=o[n];"boolean"==typeof a&&void 0!==e&&(e[n]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWrap=e)}const a=e.orderedBy;if(oe(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];null===Jh(r)&&e.push(r)}t.orderedBy=e}return t}(n.coerceConfig(e,Xh));return se(r,t)?r:null}function rv(e,t,r){const o=ev(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/list-preferences/"+e.urlParams.objectApiName+"/"+e.urlParams.listViewApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=Lh(0,o);e.storeIngest(a,wh,o);const i=e.storeLookup({recordId:a,node:_h(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){jh(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const nv=e=>function(t){const r=tv(t,Yh);if(null===r)throw new Error('Invalid config for "updateListPreferences"');return rv(e,r)},ov=12e4,av="756779d0d7e137dd72c743544afbad82",iv="NavItemsRepresentation";function sv(e,t,r,n,o,a){const i=e.navItems,s=r.fullPath+"__navItems";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Gf(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const cv=function(){return{kind:"Fragment",version:av,private:["eTag","currentPageUrl"],selections:[{name:"navItems",kind:"Link",plural:!0,fragment:Kf()},{name:"nextPageUrl",kind:"Scalar"}]}};function lv(e,t){if(e.currentPageUrl!==t.currentPageUrl)return!1;if(e.eTag!==t.eTag)return!1;if(!1===We(e.navItems,t.navItems,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.nextPageUrl===t.nextPageUrl}const uv=function(e,t,r,o,a){const i=t.fullPath,s=ov;return n.ingestShape(e,t,r,o,a,s,i,sv,"UiApi",av,iv,lv),Qe(i)};function dv(e,t){return cv()}function pv(e,t){return ge+"::NavItemsRepresentation:(formFactor:"+t.queryParams.formFactor+",navItemNames:"+t.queryParams.navItemNames+",page:"+t.queryParams.page+",pageSize:"+t.queryParams.pageSize+")"}function fv(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:iv,mergeable:!1});const a=r.navItems.length;for(let t=0;t<a;t++)$f(e,0,r.navItems[t])}(e,0,n,()=>pv(0,r))}const mv="getNavItems",gv=[fe("formFactor",!1,1,0,!1,Qc),fe("navItemNames",!1,1,0,!0),fe("page",!1,1,3),fe("pageSize",!1,1,3)],yv=me(mv,gv),hv=n.createResourceParams(gv);function vv(e,t){return pv(0,hv(t))}function bv(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,gv),t}(n.coerceConfig(e,gv));return se(r,t)?r:null}function Pv(e,t){return hv(t),dv()}function Sv(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=pv(0,t);e.storeIngest(i,uv,a);const s=e.storeLookup({recordId:i,node:dv(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>Rv(e,t,le)});return e.storeBroadcast().then(()=>a)}function Av(e,t,r,n){const o=function(e,t,r,n){const o=pv(0,t),a=e.errorSnapshot(r,n),i={ttl:ov,namespace:ge,version:av,representationName:iv};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>Rv(e,t,le)});return e.storeBroadcast().then(()=>o)}function Rv(e,t,r){const o=hv(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/nav-items",method:"get",body:null,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Sv(e,t,o,r),()=>{const e=new n.StoreKeyMap;return fv(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Av(e,t,o,r)))}function kv(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Rv,void 0,!1)}function Iv(e,t){const{luvio:r,config:n}=e;return t({recordId:vv(0,n),node:Pv(0,n),variables:{}},{config:n,resolve:()=>Rv(r,n,le)})}const Cv=e=>function(t,r){const n=bv(t,yv);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Iv,kv)};function Nv(e,t){return Ic()}function Tv(e,t){return ge+"::ObjectInfoDirectoryRepresentation:()"}function Lv(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:Rc,mergeable:!1});const a=r.objects,i=xe(a),s=i.length;for(let t=0;t<s;t++)Sc(e,0,a[i[t]])}(e,0,n,()=>Tv())}const Fv=[],_v=me("getObjectInfoDirectory",Fv),Ev=n.createResourceParams(Fv);function wv(e,t){return Ev(t),Tv()}function jv(e,t){return Ev(t),Nv()}function Ov(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Tv();e.storeIngest(i,Nc,a);const s=e.storeLookup({recordId:i,node:Nv(),variables:{}},o);return n.deepFreeze(s.data),s}(e,0,o,{config:t,resolve:()=>Dv(e,t,le)});return e.storeBroadcast().then(()=>a)}function qv(e,t,r,n){const o=function(e,t,r,n){const o=Tv(),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,0,n,{config:t,resolve:()=>Dv(e,t,le)});return e.storeBroadcast().then(()=>o)}function Dv(e,t,r){Ev(t);const o={baseUri:"/services/data/v62.0",basePath:"/ui-api/object-info",method:"get",body:null,urlParams:{},queryParams:{},headers:{},priority:"normal"};return e.dispatchResourceRequest(o,r).then(r=>e.handleSuccessResponse(()=>Ov(e,t,0,r),()=>{const e=new n.StoreKeyMap;return Lv(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>qv(e,t,0,r)))}function Bv(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Dv,void 0,!1)}function xv(e,t){const{luvio:r,config:n}=e;return t({recordId:wv(0,n),node:jv(0,n),variables:{}},{config:n,resolve:()=>Dv(r,n,le)})}const Mv=re(null);function Uv(e){let t=[];for(let r=0,n=e.urlParams.objectApiNames.length;r<n;r+=1){const n=e.urlParams.objectApiNames[r];t.push({urlParams:{objectApiName:n}})}return t}function Vv(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(zv(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=Li(0,t[e]),a=Ti(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=Mv[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,Uv(t),t)}function zv(e,t){return ge+"::SimplifiedBatchRepresentation:(objectApiNames:"+t.urlParams.objectApiNames+")"}function Wv(e,t,r,o){const a=r.body.results,i=Uv(t),s=zv(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=Li(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=_i(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{Ei(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?Mv[u]={expiration:s+vi,response:f,status:p}:delete Mv[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:Vv(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const Kv="getObjectInfos",Qv=[fe("objectApiNames",!0,0,0,!0,tu)],Gv=me(Kv,Qv),$v=n.createResourceParams(Qv);function Hv(e,t){return zv(0,$v(t))}function Jv(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Qv),t}(n.coerceConfig(e,Qv));return se(r,t)?r:null}function Zv(e,t){return Vv(e,$v(t))}function Xv(e,t,r,n){const o=function(e,t,r,n){const o=zv(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Yv(e,t,le)});return e.storeBroadcast().then(()=>o)}function Yv(e,t,r){const o=$v(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/object-info/batch/"+e.urlParams.objectApiNames,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Wv(e,r,n,{config:t,resolve:()=>Yv(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=Uv(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)Fi(e,0,0,s);else if(404===i){const t=Li(0,r);e.set(t,{namespace:ge,representationName:Pi,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Xv(e,t,o,r)))}function eb(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Yv,void 0,!1)}function tb(e,t){const{luvio:r,config:n}=e;return t({recordId:Hv(0,n),node:Zv(r,n),variables:{}},{config:n,resolve:()=>Yv(r,n,le)})}const rb=e=>function(t,r){const n=Jv(t,Gv);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},tb,eb)};var nb;!function(e){e.WorkStepStatus="WorkStepStatus",e.LeadStatus="LeadStatus",e.CaseStatus="CaseStatus",e.OpportunityStage="OpportunityStage"}(nb||(nb={}));const ob=function(){const e=function(){const{selections:e}=ab();return{kind:"Fragment",version:"8d2032474fb4fabdf5cf4042be9042d9",private:[],selections:[...e,{name:"sortOrder",kind:"Scalar"},{name:"statusCode",kind:"Scalar"}]}}(),t=function(){const{selections:e}=ab();return{kind:"Fragment",version:"53893a219bc0888951863f2c44317cac",private:[],selections:[...e,{name:"converted",kind:"Scalar"}]}}(),r=function(){const{selections:e}=ab();return{kind:"Fragment",version:"4818ec07c499784571c1012ead048c88",private:[],selections:[...e,{name:"closed",kind:"Scalar"}]}}(),n=function(){const{selections:e}=ab();return{kind:"Fragment",version:"950a3a962acbd2b128f937d4c055a9d6",private:[],selections:[...e,{name:"closed",kind:"Scalar"},{name:"defaultProbability",kind:"Scalar"},{name:"forecastCategoryName",kind:"Scalar"},{name:"won",kind:"Scalar"}]}}();return{kind:"Fragment",union:!0,discriminator:"picklistAtrributesValueType",unionSelections:{[nb.WorkStepStatus]:e,[nb.LeadStatus]:t,[nb.CaseStatus]:r,[nb.OpportunityStage]:n}}},ab=function(){return{kind:"Fragment",version:"bd523b2343366edfc25a2dbee2c4e986",private:[],selections:[{name:"picklistAtrributesValueType",kind:"Scalar"}]}},ib=function(e,t){return lb(e,{id:t.url.substring(t.url.indexOf("/ui-api"))})},sb="0a361a49370acb4c6a31721a2057649a",cb="PicklistValuesRepresentation";function lb(e,t){return ge+"::"+cb+":"+t.id}function ub(e,t,r,n,o,a){return e}const db=function(){const{selections:e,opaque:t}=function(){const e=ob();return{kind:"Fragment",version:"9e2a16a80378487f557124c771201cf9",private:[],selections:[{kind:"Object",name:"attributes",discriminator:e.discriminator,union:!0,nullable:!0,unionSelections:e.unionSelections},{name:"label",kind:"Scalar"},{name:"validFor",kind:"Scalar",plural:!0},{name:"value",kind:"Scalar"}]}}();return{kind:"Fragment",version:sb,private:["eTag"],selections:[{name:"controllerValues",kind:"Scalar",map:!0},{name:"defaultValue",kind:"Object",nullable:!0,selections:e},{name:"url",kind:"Scalar"},{name:"values",kind:"Object",plural:!0,selections:e}]}};function pb(e,t){return e.eTag===t.eTag}const fb=function(e,t,r,o,a){const i=ib(r,e);return n.ingestShape(e,t,r,o,a,9e5,i,ub,"UiApi",sb,cb,pb),Qe(i)};function mb(e,t,r,n){const o=ib(t,r);e.set(o,{namespace:ge,representationName:cb,mergeable:!1})}const gb=3e5,yb="ec03b0f6da287c949d1ccaa904ddbfd3",hb="PicklistValuesCollectionRepresentation";function vb(e,t,r,n,o,a){const i=e.picklistFieldValues,s=r.fullPath+"__picklistFieldValues",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=fb(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}const bb=function(){return{kind:"Fragment",version:yb,private:["eTag"],selections:[{name:"picklistFieldValues",kind:"Link",map:!0,fragment:db()}]}};function Pb(e,t){if(e.eTag!==t.eTag)return!1;return!1!==Ke(e.picklistFieldValues,t.picklistFieldValues,(e,t)=>{if(e.__ref!==t.__ref)return!1})}const Sb=function(e,t,r,o,a){const i=t.fullPath,s=gb;return n.ingestShape(e,t,r,o,a,s,i,vb,"UiApi",yb,hb,Pb),Qe(i)};function Ab(e,t){return bb()}function Rb(e,t){return ge+"::PicklistValuesCollectionRepresentation:(objectApiName:"+t.urlParams.objectApiName+",recordTypeId:"+t.urlParams.recordTypeId+")"}function kb(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:hb,mergeable:!1});const a=r.picklistFieldValues,i=xe(a),s=i.length;for(let r=0;r<s;r++)mb(e,t,a[i[r]])}(e,t,n,()=>Rb(0,r))}const Ib="getPicklistValuesByRecordType",Cb=[fe("objectApiName",!0,0,0,!1,je),fe("recordTypeId",!0,0,0,!1,pt)],Nb=me(Ib,Cb),Tb=n.createResourceParams(Cb);function Lb(e,t){return Rb(0,Tb(t))}function Fb(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Cb),t}(n.coerceConfig(e,Cb));return se(r,t)?r:null}function _b(e,t){return Tb(t),Ab()}function Eb(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Rb(0,t);e.storeIngest(i,Sb,a);const s=e.storeLookup({recordId:i,node:Ab(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>jb(e,t,le)});return e.storeBroadcast().then(()=>a)}function wb(e,t,r,n){const o=function(e,t,r,n){const o=Rb(0,t),a=e.errorSnapshot(r,n),i={ttl:gb,namespace:ge,version:yb,representationName:hb};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>jb(e,t,le)});return e.storeBroadcast().then(()=>o)}function jb(e,t,r){const o=Tb(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName+"/picklist-values/"+e.urlParams.recordTypeId,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Eb(e,t,o,r),()=>{const t=new n.StoreKeyMap;return kb(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>wb(e,t,o,r)))}function Ob(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,jb,void 0,!1)}function qb(e,t){const{luvio:r,config:n}=e;return t({recordId:Lb(0,n),node:_b(0,n),variables:{}},{config:n,resolve:()=>jb(r,n,le)})}const Db=e=>function(t,r){const n=Fb(t,Nb);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},qb,Ob)};function Bb(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/object-info/"+e.urlParams.objectApiName+"/picklist-values/"+e.urlParams.recordTypeId+"/"+e.urlParams.fieldApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const xb=db().selections;function Mb(e,t){return{config:t,resolve:()=>Vb(e,t)}}function Ub(e,t,r,n){const{body:o}=n;e.storeIngest(r,fb,o);const a=function(e,t){const r=qe(t.fieldApiName),n=Bb({urlParams:{objectApiName:r.objectApiName,fieldApiName:r.fieldApiName,recordTypeId:t.recordTypeId}}),o=lb(0,{id:n.basePath});return e.storeLookup({recordId:o,node:{kind:"Fragment",private:["eTag"],selections:xb,version:sb},variables:{}},Mb(e,t))}(e,t);return e.storeBroadcast().then(()=>a)}function Vb(e,t,r){const{resourceParams:o,request:a,key:i}=function(e,t){const{recordTypeId:r,fieldApiName:n}=t,o=qe(n),a={urlParams:{objectApiName:o.objectApiName,fieldApiName:o.fieldApiName,recordTypeId:r}},i=Bb(a);return{resourceParams:a,request:i,key:lb(0,{id:i.basePath})}}(0,t);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Ub(e,t,i,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){mb(e,t,n)}(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=e.errorSnapshot(n,Mb(e,t));return e.storeIngestError(r,o),e.storeBroadcast().then(()=>o)}(e,t,i,r)))}function zb(e,t){const{config:r,luvio:n}=e,{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=t,c={resourceRequestContext:{requestCorrelator:a,sourceContext:s},eventObservers:i};return"normal"!==o&&(c.overrides={priority:o}),Vb(n,r,c)}function Wb(e,t){const{config:r,luvio:n}=e,o=qe(r.fieldApiName),{basePath:a}=Bb({urlParams:{objectApiName:o.objectApiName,fieldApiName:o.fieldApiName,recordTypeId:r.recordTypeId}});return t({recordId:lb(0,{id:a}),node:{kind:"Fragment",private:["eTag"],selections:xb,version:sb},variables:{}},Mb(n,r))}const Kb={displayName:"getPicklistValues",parameters:{required:["recordTypeId","fieldApiName"],optional:[]}};function Qb(e,t){return function(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Gb),t}(n.coerceConfig(e,Gb));if(!se(r,t))return null;return r}(e,Kb)}const Gb=[fe("fieldApiName",!0,0,0,!1,De),fe("objectApiName",!0,0,0),fe("recordTypeId",!0,0,0,!1,pt)];const $b=e=>function(t,r){const n=Qb(t);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Wb,zb)};function Hb(e,t){return Zi()}function Jb(e,t){return $i(0,{layoutType:"PathAssistant",objectApiName:t.urlParams.objectApiName,layoutOverride:t.queryParams.layoutOverride,recordTypeId:t.queryParams.recordTypeId||"",mode:t.queryParams.mode||"",formFactor:t.queryParams.formFactor||""})}const Zb="getPathLayout",Xb=[fe("objectApiName",!0,0,0,!1,je),fe("formFactor",!1,1,0),fe("layoutOverride",!0,1,0),fe("mode",!1,1,0,!1,mg),fe("recordTypeId",!1,1,0,!1,pt)],Yb=me(Zb,Xb),eP=n.createResourceParams(Xb);function tP(e,t){return Jb(0,eP(t))}function rP(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Xb),t}(n.coerceConfig(e,Xb));return se(r,t)?r:null}function nP(e,t){return eP(t),Hb()}function oP(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=Jb(0,t);e.storeIngest(i,Yi,a);const s=e.storeLookup({recordId:i,node:Hb(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>iP(e,t,le)});return e.storeBroadcast().then(()=>a)}function aP(e,t,r,n){const o=function(e,t,r,n){const o=Jb(0,t),a=e.errorSnapshot(r,n),i={ttl:Ki,namespace:ge,version:Qi,representationName:Gi};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>iP(e,t,le)});return e.storeBroadcast().then(()=>o)}function iP(e,t,r){const o=eP(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/path/layout/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>oP(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){es(e,0,n)}(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>aP(e,t,o,r)))}function sP(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,iP,void 0,!1)}function cP(e,t){const{luvio:r,config:n}=e;return t({recordId:tP(0,n),node:nP(0,n),variables:{}},{config:n,resolve:()=>iP(r,n,le)})}const lP=e=>function(t,r){const n=rP(t,Yb);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},cP,sP)},uP=3e4,dP="583c38564fa15ce0fb3dd2807be1bdc6",pP="DuplicatesRepresentation";function fP(e,t,r,n,o,a){return e}const mP=function(){return{kind:"Fragment",version:dP,private:[],opaque:!0}};function gP(e,t){return ze(t)===ze(e)}const yP=function(e,t,r,o,a){const i=t.fullPath,s=uP;return n.ingestShape(e,t,r,o,a,s,i,fP,"UiApi",dP,pP,gP),Qe(i)};function hP(e,t){return mP()}function vP(e,t){return ge+"::DuplicatesRepresentation:("+(void 0===t.body.allowSaveOnDuplicate?"allowSaveOnDuplicate":"allowSaveOnDuplicate:"+t.body.allowSaveOnDuplicate)+"::"+(void 0===t.body.apiName?"apiName":"apiName:"+t.body.apiName)+"::"+ue(t.body.fields)+")"}function bP(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:pP,mergeable:!1})}(e,0,0,()=>vP(0,r))}const PP="getDuplicates",SP=[fe("allowSaveOnDuplicate",!1,2,1),fe("apiName",!1,2,0),fe("fields",!0,2,4)],AP=me(PP,SP),RP=n.createResourceParams(SP);function kP(e,t){return vP(0,RP(t))}function IP(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,SP);const r=e.fields;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(e);return se(r,t)?r:null}function CP(e,t){return RP(t),hP()}function NP(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=vP(0,t);e.storeIngest(i,yP,a);const s=e.storeLookup({recordId:i,node:hP(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>LP(e,t,le)});return e.storeBroadcast().then(()=>a)}function TP(e,t,r,n){const o=function(e,t,r,n){const o=vP(0,t),a=e.errorSnapshot(r,n),i={ttl:uP,namespace:ge,version:dP,representationName:pP};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>LP(e,t,le)});return e.storeBroadcast().then(()=>o)}function LP(e,t,r){const o=RP(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/predupe",method:"post",body:e.body,urlParams:{},queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>NP(e,t,o,r),()=>{const e=new n.StoreKeyMap;return bP(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>TP(e,t,o,r)))}function FP(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,LP,"get",!1)}function _P(e,t){const{luvio:r,config:n}=e;return t({recordId:kP(0,n),node:CP(0,n),variables:{}},{config:n,resolve:()=>LP(r,n,le)})}const EP=e=>function(t,r){const n=IP(t,AP);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},_P,FP)};const wP="34ffbf4219dfebb707bff609c2d5bf89";function jP(e,t){return GP(e,t)}function OP(e,t,r,n,o,a){return e}const qP=function(){const{selections:e}=HP(),{selections:t,opaque:r}={kind:"Fragment",version:"e84b9ffdeff97c411bd111f2a55cf6b6",private:[],selections:[{name:"companyBluemasterId",kind:"Scalar"},{name:"responseId",kind:"Scalar"}]};return{kind:"Fragment",version:wP,private:["eTag"],selections:[...e,{name:"backgroundColor",kind:"Scalar"},{name:"height",kind:"Scalar"},{name:"photoMetadata",kind:"Object",selections:t},{name:"photoUrl",kind:"Scalar"},{name:"provider",kind:"Scalar"},{name:"width",kind:"Scalar"}]}};function DP(e,t){if(!1===JP(e,t))return!1;if(e.eTag!==t.eTag)return!1;if(e.photoUrl!==t.photoUrl)return!1;if(e.backgroundColor!==t.backgroundColor)return!1;if(e.height!==t.height)return!1;if(!function(e,t){return e.companyBluemasterId===t.companyBluemasterId&&e.responseId===t.responseId}(e.photoMetadata,t.photoMetadata))return!1;if(e.provider!==t.provider)return!1;return e.width===t.width}const BP=function(e,t,r,o,a){const i=jP(r,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,OP,"UiApi",wP,"PhotoRecordAvatarRepresentation",DP),Qe(i)};const xP="cbdcf69a6568d41ccf155b2b95ec70e7";function MP(e,t){return GP(e,t)}function UP(e,t,r,n,o,a){return e}const VP=function(){const{selections:e}=HP();return{kind:"Fragment",version:xP,private:["eTag"],selections:[...e,{name:"backgroundColor",kind:"Scalar"},{name:"iconUrl",kind:"Scalar"}]}};function zP(e,t){if(!1===JP(e,t))return!1;if(e.eTag!==t.eTag)return!1;if(e.backgroundColor!==t.backgroundColor)return!1;return e.iconUrl===t.iconUrl}const WP=function(e,t,r,o,a){const i=MP(r,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,UP,"UiApi",xP,"ThemeRecordAvatarRepresentation",zP),Qe(i)};var KP;!function(e){e.Photo="Photo",e.Theme="Theme"}(KP||(KP={}));const QP="AbstractRecordAvatarRepresentation";function GP(e,t){const r={recordId:t.recordId};return ge+"::"+QP+":"+r.recordId}const $P=function(){const e=qP(),t=VP();return{kind:"Fragment",union:!0,discriminator:"type",unionSelections:{[KP.Photo]:e,[KP.Theme]:t}}},HP=function(){return{kind:"Fragment",version:"bc05f8d1c708b6c41c9bf2fe6001aff0",private:[],selections:[{name:"recordId",kind:"Scalar"},{name:"type",kind:"Scalar"}]}};function JP(e,t){if(e.recordId!==t.recordId)return!1;return e.type===t.type}function ZP(e,t,r,n){const o=r.type;if("Photo"===o)return function(e,t,r){const n=jP(t,r);e.set(n,{namespace:ge,representationName:QP,mergeable:!1})}(e,t,r);if("Theme"===o)return function(e,t,r){const n=MP(t,r);e.set(n,{namespace:ge,representationName:QP,mergeable:!1})}(e,t,r);throw new Error(`Invalid discriminatorValue "${o}". Expected one of "Photo","Theme"`)}const XP="f531b44760afecfce89990fe5a5c5c29",YP="RecordAvatarBatchRepresentation";function eS(e,t,r,n,o,a){const i=e.result,s=r.fullPath+"__result";return e.result=function(e,t,r,n,o){const a=e.type;if("Photo"===a)return BP(e,t,r,n,o);if("Theme"===a)return WP(e,t,r,n,o);throw new Error(`Invalid discriminatorValue "${a}". Expected one of "Photo","Theme"`)}(i,{fullPath:s,propertyName:"result",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}function tS(e,t){if(!1===vS(e,t))return!1;const r=e.result,n=t.result;return r.__ref===n.__ref}function rS(e,t){if(e.errorCode!==t.errorCode)return!1;return e.message===t.message}const nS="e7fac2bfb5cdacc5e0f15c350f9ab8fe",oS="ErrorBadRequestRecordAvatarBatchRepresentation";function aS(e,t,r,n,o,a){return e}function iS(e,t){if(!1===vS(e,t))return!1;return!1!==We(e.result,t.result,(e,t)=>{if(!rS(e,t))return!1})}const sS="cbd48fd50d0db463fdff7b1834c22bed",cS="ErrorRecordAvatarBatchRepresentation";function lS(e,t,r,n,o,a){return e}function uS(e,t){if(!1===vS(e,t))return!1;return!1!==We(e.result,t.result,(e,t)=>{if(!rS(e,t))return!1})}const dS=200,pS=400,fS=404,mS=3e5,gS="8956293536e94d5ec63b274b61033d2c",yS=function(){const e=function(){const{selections:e}=hS();return{kind:"Fragment",version:XP,private:[],selections:[...e,{kind:"Link",name:"result",fragment:$P()}]}}(),t=function(){const{selections:e}=hS(),{selections:t,opaque:r}={kind:"Fragment",version:"17c20b01167dba9a81452e60bb28b2f2",private:[],selections:[{name:"errorCode",kind:"Scalar"},{name:"message",kind:"Scalar"}]};return{kind:"Fragment",version:nS,private:[],selections:[...e,{name:"result",kind:"Object",plural:!0,selections:t}]}}(),r=function(){const{selections:e}=hS(),{selections:t,opaque:r}={kind:"Fragment",version:"17c20b01167dba9a81452e60bb28b2f2",private:[],selections:[{name:"errorCode",kind:"Scalar"},{name:"message",kind:"Scalar"}]};return{kind:"Fragment",version:sS,private:[],selections:[...e,{name:"result",kind:"Object",plural:!0,selections:t}]}}();return{kind:"Fragment",union:!0,discriminator:"statusCode",unionSelections:{[dS]:e,[pS]:t,[fS]:r}}},hS=function(){return{kind:"Fragment",version:gS,private:[],selections:[{name:"statusCode",kind:"Scalar"}]}};function vS(e,t){return e.statusCode===t.statusCode}const bS=function(e,t,r,o,a){const i=e.statusCode;if(200===i)return function(e,t,r,o,a){const i=t.fullPath,s=mS;return n.ingestShape(e,t,r,o,a,s,i,eS,"UiApi",XP,YP,tS),Qe(i)}(e,t,r,o,a);if(400===i)return function(e,t,r,o,a){const i=t.fullPath,s=mS;return n.ingestShape(e,t,r,o,a,s,i,aS,"UiApi",nS,oS,iS),Qe(i)}(e,t,r,o,a);if(404===i)return function(e,t,r,o,a){const i=t.fullPath,s=mS;return n.ingestShape(e,t,r,o,a,s,i,lS,"UiApi",sS,cS,uS),Qe(i)}(e,t,r,o,a);throw new Error(`Invalid discriminatorValue "${i}". Expected one of "200","400","404"`)};function PS(e,t,r,n){const o=r.statusCode;if(200===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:YP,mergeable:!1})}(e,0,0,n);if(400===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:oS,mergeable:!1})}(e,0,0,n);if(404===o)return function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:cS,mergeable:!1})}(e,0,0,n);throw new Error(`Invalid discriminatorValue "${o}". Expected one of "200","400","404"`)}const SS=18e5,AS="c44c049fa6ad7cf7e932c0aab9107d86",RS="RecordAvatarBulkMapRepresentation";const kS=function(e,t,r,n,o){const a=t.fullPath,i=n.readEntry(a);let s=function(e,t,r,n,o,a){const i=Object.keys(e),s=i.length;for(let c=0;c<s;c++){const s=i[c],l=e[s],u=r.fullPath+"__"+s;e[s]=bS(l,{fullPath:u,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,propertyName:t.propertyName,parent:t.parent},r,n,o);var c,l;return l=s,s=void 0===(c=i)?l:{...c,...l},void 0!==i&&!1!==function(e,t){return!1!==Ke(e,t,(e,t)=>{if(e.__ref!==t.__ref)return!1})}(i,s)||r.storePublish(a,s),Qe(a)};function IS(e,t){return ge+"::RecordAvatarBulkMapRepresentation:(formFactor:"+t.queryParams.formFactor+",recordIds:"+t.urlParams.recordIds+")"}function CS(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:RS,mergeable:!1});const a=r,i=xe(a),s=i.length;for(let t=0;t<s;t++){const r=i[t];PS(e,0,a[r],()=>o+"__"+r)}}(e,0,n,()=>IS(0,r))}const NS=`${ge}RecordAvatarsBulk`;function TS(e){return{kind:"Fragment",private:[],version:gS,selections:e.map(e=>({kind:"Link",name:e,fragment:yS()}))}}function LS(e){return{recordId:NS,node:TS(e),variables:{}}}const FS=new Set;function _S(e,t,r){const{uncachedRecordIds:o,recordIds:a}=t,{recordIdsInFlight:i,recordIdsNotInFlight:s}=function(e,t){const r=[],n=[];return e.forEach(e=>{t.has(e)?n.push(e):r.push(e)}),{recordIdsInFlight:n,recordIdsNotInFlight:r}}(o||a,FS);let c;if(s.length>0){s.forEach(e=>FS.add(e));const o=BS({...t,recordIds:s}),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-avatars/batch/"+e.urlParams.recordIds,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);c=e.dispatchResourceRequest(a,r).then(r=>{let a;return s.forEach(e=>FS.delete(e)),a=function(e){return void 0===e.body.hasErrors}(r)?r.body:r.body.results.reduce((e,t,r)=>(e[s[r]]=t,e),{}),r.body=a,e.handleSuccessResponse(()=>function(e,t,r,n){const o=ES(e,r,n,{config:t,resolve:()=>_S(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return CS(e,0,o,a),e})},r=>(s.forEach(e=>FS.delete(e)),e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=IS(0,t),a=e.errorSnapshot(r,n),i={ttl:SS,namespace:ge,version:AS,representationName:RS};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>_S(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r))))}return i.length>0&&function(e,t){const r=Le.call(t,(e,t)=>(e[t]={statusCode:200,result:{backgroundColor:null,eTag:"",height:null,photoMetadata:{companyBluemasterId:null,responseId:null},photoUrl:"",provider:null,recordId:"",type:"Photo",width:null}},e),{});e.storeIngest(NS,kS,r)}(e,i),c||Promise.resolve(function(e,t){const{recordIds:r}=t;return e.storeLookup(LS(r),{config:t,resolve:()=>_S(e,t,le)})}(e,t))}function ES(e,t,r,n){const{body:o}=r;e.storeIngest(NS,kS,o);let a=[];n&&(a=n.config.recordIds);const i=e.storeLookup(LS(a),n);return"Pending"===i.state?(e.resolvePendingSnapshot(i).then(()=>{ES(e,t,r,n)}),Promise.resolve(i)):Promise.resolve(i)}function wS(e,t){const{luvio:r,config:n}=e,{recordIds:o}=n,a=t(LS(o),{config:n,resolve:()=>_S(r,n,le)});return void 0!==a.data&&ra(a)&&(e.uncachedRecordIds=a.missingPaths.keysAsArray().sort()),a}function jS(e,t){const{luvio:r,config:n,uncachedRecordIds:o}=e;void 0!==o&&(n.uncachedRecordIds=o);const{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),_S(r,n,l)}const OS="getRecordAvatars",qS=[fe("recordIds",!0,0,0,!0,ts),fe("formFactor",!1,1,0,!1,Qc)],DS=me(OS,qS),BS=n.createResourceParams(qS);function xS(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,qS),t}(n.coerceConfig(e,qS));return se(r,t)?r:null}const MS=e=>function(t,r){const n=xS(t,DS);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},wS,jS)};function US(e){const t=oe(e)?e:[e],r=[];for(let e=0,n=t.length;e<n;e+=1){const n=pt(t[e]);if(void 0===n)return;ae.call(r,n)}if(0!==r.length)return we(r)}function VS(e){const t=function(e){const t={records:[]},{records:r=[]}=e;for(let e=0,n=r.length;e<n;e+=1){const n={},o=r[e];if(ie(o)){const e=US(o.recordIds);void 0!==e&&(n.recordIds=e);const r=Be(o.optionalFields);void 0!==r&&(n.optionalFields=r);const a=Be(o.fields);void 0!==a&&(n.fields=a),ae.call(t.records,n)}}return t}(e),r={},n=t.records;if(oe(n)){const e=[];for(let t=0,r=n.length;t<r;t+=1){const r={},o=n[t];if(ie(o)){const{recordIds:t,fields:n,optionalFields:a}=o;if(oe(t)){const e=[];for(let r=0,n=t.length;r<n;r++){const n=t[r];"string"==typeof n&&ae.call(e,n)}r.recordIds=e}if(!r.recordIds||0===r.recordIds.length)continue;if(oe(n)){const e=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];"string"==typeof r&&ae.call(e,r)}r.fields=e}if(oe(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];"string"==typeof r&&ae.call(e,r)}r.optionalFields=e}if(void 0===r.fields&&void 0===r.optionalFields)continue;ae.call(e,r)}}e.length>0&&ye(r,{records:e})}return r}const zS={displayName:"getRecords",parameters:{required:["records"],optional:[]}};function WS(e,t){return fn(0,hn(t))}function KS(e,t,r){const o=hn(t),a=yn(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>Pn(e,t,o,r),()=>{const t=new n.StoreKeyMap;return mn(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=gn(e,r,n,{config:t,resolve:()=>KS(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function QS(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,KS,void 0,!1)}function GS(e,t){const{luvio:r,config:n}=e;return t({recordId:WS(0,n),node:bn(r,n),variables:{}},{config:n,resolve:()=>KS(r,n,le)})}const $S=e=>function(t,r){const n=function(e,t){if(!ie(e))return null;const r=VS(e);return se(r,t)?r:null}(t,zS);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},GS,QS)};function HS(e,t){if(e.parentObjectApiName!==t.parentObjectApiName)return!1;if(e.relatedListId!==t.relatedListId)return!1;if(e.type!==t.type)return!1;if(e.id!==t.id)return!1;if(e.inContextOfRecordId!==t.inContextOfRecordId)return!1;if(e.listViewApiName!==t.listViewApiName)return!1;if(e.objectApiName!==t.objectApiName)return!1;return e.recordTypeId===t.recordTypeId}const JS="836b875b519813e7499efc62f0f1d04b",ZS="RelatedListRecordCountRepresentation";function XS(e,t){return ge+"::"+ZS+":"+(null===t.parentRecordId?"":t.parentRecordId)+":"+t.relatedListId}function YS(e,t){return XS(0,{parentRecordId:t.listReference.inContextOfRecordId,relatedListId:t.listReference.relatedListId})}function eA(e,t,r,n,o,a){return e}const tA=function(){const{selections:e,opaque:t}={kind:"Fragment",version:"4d4bdab5d0aa61e365e766409c9b3a31",private:[],selections:[{name:"id",kind:"Scalar"},{name:"inContextOfRecordId",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"parentObjectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"relatedListId",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",version:JS,private:["eTag"],selections:[{name:"count",kind:"Scalar"},{name:"hasMore",kind:"Scalar"},{name:"listReference",kind:"Object",selections:e}]}};function rA(e,t){if(e.hasMore!==t.hasMore)return!1;if(e.eTag!==t.eTag)return!1;if(e.count!==t.count)return!1;return!!HS(e.listReference,t.listReference)}const nA=function(e,t,r,o,a){const i=YS(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,eA,"UiApi",JS,ZS,rA),Qe(i)};function oA(e,t){return tA()}function aA(e,t){return XS(0,{parentRecordId:t.urlParams.parentRecordId,relatedListId:t.urlParams.relatedListId})}function iA(e,t,r,n){!function(e,t,r){const n=YS(0,r);e.set(n,{namespace:ge,representationName:ZS,mergeable:!1})}(e,0,n)}function sA(e,t,r,o){const{body:a}=r,i=aA(0,t);e.storeIngest(i,nA,a);const s=e.storeLookup({recordId:i,node:oA(),variables:{}},o);return n.deepFreeze(s.data),s}function cA(e,t,r,n){const o=aA(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}const lA=re(null);function uA(e){let t=[];for(let r=0,n=e.urlParams.relatedListNames.length;r<n;r+=1){const n=e.urlParams.relatedListNames[r];t.push({urlParams:{parentRecordId:e.urlParams.parentRecordId,relatedListId:n},queryParams:{maxCount:e.queryParams.maxCount}})}return t}function dA(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(pA(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=aA(0,t[e]),a=oA(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=lA[r];if(void 0===e)i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,uA(t),t)}function pA(e,t){return ge+"::BatchRelatedListCountRepresentation:(maxCount:"+t.queryParams.maxCount+",parentRecordId:"+t.urlParams.parentRecordId+",relatedListNames:"+t.urlParams.relatedListNames+")"}function fA(e,t,r,o){const a=r.body.results,i=uA(t),s=pA(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";for(let s=0,c=t.length;s<c;s+=1){const c=t[s],l=aA(0,c),u=r[s],{statusCode:d,result:p}=u;if(200===d){const t=sA(e,c,{status:200,body:p,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{cA(e,c,{status:d,body:p,ok:!1,statusText:de(u.statusCode),headers:{},errorType:"fetchResponse"}),a.add(l);const t={statusCode:d,result:p};n.deepFreeze(t),ae.call(o,t)}404!==d&&200!==d?lA[l]={response:p,status:d}:delete lA[l]}const s={results:o};return n.deepFreeze(s),{childSnapshotData:s,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:dA(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const mA="getRelatedListsCount",gA=[fe("parentRecordId",!0,0,0,!1,pt),fe("relatedListNames",!0,0,0,!0,Be),fe("maxCount",!1,1,3)],yA=me(mA,gA),hA=n.createResourceParams(gA);function vA(e,t){return pA(0,hA(t))}function bA(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,gA),t}(n.coerceConfig(e,gA));return se(r,t)?r:null}function PA(e,t){return dA(e,hA(t))}function SA(e,t,r,n){const o=function(e,t,r,n){const o=pA(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>AA(e,t,le)});return e.storeBroadcast().then(()=>o)}function AA(e,t,r){const o=hA(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-count/batch/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=fA(e,r,n,{config:t,resolve:()=>AA(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=uA(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)iA(e,0,0,s);else if(404===i){const t=aA(0,r);e.set(t,{namespace:ge,representationName:ZS,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>SA(e,t,o,r)))}function RA(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,AA,void 0,!1)}function kA(e,t){const{luvio:r,config:n}=e;return t({recordId:vA(0,n),node:PA(r,n),variables:{}},{config:n,resolve:()=>AA(r,n,le)})}const IA=e=>function(t,r){const n=bA(t,yA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},kA,RA)},CA="getRelatedListCount",NA=[fe("parentRecordId",!0,0,0,!1,pt),fe("relatedListId",!0,0,0),fe("maxCount",!1,1,3)],TA=me(CA,NA),LA=n.createResourceParams(NA);function FA(e,t){return aA(0,LA(t))}function _A(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,NA),t}(n.coerceConfig(e,NA));return se(r,t)?r:null}function EA(e,t){return LA(t),oA()}function wA(e,t,r){const o=LA(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-count/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=sA(e,r,n,{config:t,resolve:()=>wA(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return iA(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=cA(e,r,n,{config:t,resolve:()=>wA(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function jA(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,wA,void 0,!1)}function OA(e,t){const{luvio:r,config:n}=e;return t({recordId:FA(0,n),node:EA(0,n),variables:{}},{config:n,resolve:()=>wA(r,n,le)})}const qA=e=>function(t,r){const n=_A(t,TA);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},OA,jA)},DA=9e5,BA="c977d65d153a2b4e888ddd45fb083248",xA="RelatedListInfoRepresentation";function MA(e,t){return ge+"::"+xA+":"+t.relatedListId+":"+t.parentObjectApiName+":"+t.restrictColumnsToLayout+":"+(null===t.recordTypeId?"":t.recordTypeId)+":["+t.optionalFields.join(",")+"]:["+t.fields.join(",")+"]"}function UA(e,t){return MA(0,{relatedListId:t.listReference.relatedListId,parentObjectApiName:t.listReference.parentObjectApiName,restrictColumnsToLayout:t.restrictColumnsToLayout,recordTypeId:t.listReference.recordTypeId,optionalFields:t.optionalFields,fields:t.fields})}function VA(e,t,r,n,o,a){return e}const zA=function(){return{kind:"Fragment",version:BA,private:["eTag"],selections:[{name:"cloneable",kind:"Scalar"},{name:"createable",kind:"Scalar"},{name:"deletable",kind:"Scalar"},{name:"displayColumns",kind:"Object",opaque:!0},{name:"fieldApiName",kind:"Scalar"},{name:"fields",kind:"Object",opaque:!0},{name:"filterLogicString",kind:"Scalar"},{name:"filterable",kind:"Scalar"},{name:"filteredByInfo",kind:"Object",opaque:!0},{name:"label",kind:"Scalar"},{name:"listReference",kind:"Object",opaque:!0},{name:"objectApiNames",kind:"Object",opaque:!0},{name:"optionalFields",kind:"Object",opaque:!0},{name:"orderedByInfo",kind:"Object",opaque:!0},{name:"restrictColumnsToLayout",kind:"Scalar"},{name:"updateable",kind:"Scalar"},{name:"userPreferences",kind:"Object",opaque:!0},{name:"visibility",kind:"Scalar"},{name:"visibilityEditable",kind:"Scalar"}]}};function WA(e,t){return e.eTag===t.eTag}const KA=function(e,t,r,o,a){const i=UA(0,e),s=DA;return n.ingestShape(e,t,r,o,a,s,i,VA,"UiApi",BA,xA,WA),Qe(i)};function QA(e,t,r,n){const o=UA(0,r);e.set(o,{namespace:ge,representationName:xA,mergeable:!1})}function GA(e,t){return zA()}function $A(e,t){return MA(0,{relatedListId:t.urlParams.relatedListId,parentObjectApiName:t.urlParams.parentObjectApiName,restrictColumnsToLayout:!1!==t.queryParams.restrictColumnsToLayout,recordTypeId:t.queryParams.recordTypeId||null,optionalFields:t.queryParams.optionalFields||[],fields:t.queryParams.fields||[]})}function HA(e,t,r,n){QA(e,0,n)}function JA(e,t,r,o){const{body:a}=r,i=$A(0,t);e.storeIngest(i,KA,a);const s=e.storeLookup({recordId:i,node:GA(),variables:{}},o);return n.deepFreeze(s.data),s}function ZA(e,t,r,n){const o=$A(0,t),a=e.errorSnapshot(r,n),i={ttl:DA,namespace:ge,version:BA,representationName:xA};return e.storeIngestError(o,a,i),a}function XA(e){const t=[];for(let r=0,n=e.urlParams.relatedListNames.length;r<n;r+=1){const n=e.urlParams.relatedListNames[r];t.push({urlParams:{parentObjectApiName:e.urlParams.parentObjectApiName,relatedListId:n},queryParams:{recordTypeId:e.queryParams.recordTypeId,fields:[],optionalFields:[],restrictColumnsToLayout:!0}})}return t}const YA=re(null);function eR(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(tR(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=$A(0,t[e]),a=GA(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=YA[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,XA(t),t)}function tR(e,t){return ge+"::RelatedListInfoBatchRepresentation:(recordTypeId:"+t.queryParams.recordTypeId+",parentObjectApiName:"+t.urlParams.parentObjectApiName+",relatedListNames:"+t.urlParams.relatedListNames+")"}function rR(e,t,r,o){const a=r.body.results,i=XA(t),s=tR(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=$A(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=JA(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{ZA(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?YA[u]={expiration:s+DA,response:f,status:p}:delete YA[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:eR(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const nR="getRelatedListInfoBatch",oR=[fe("parentObjectApiName",!0,0,0,!1,je),fe("relatedListNames",!0,0,0,!0),fe("recordTypeId",!1,1,0)],aR=me(nR,oR),iR=n.createResourceParams(oR);function sR(e,t){return tR(0,iR(t))}function cR(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,oR),t}(n.coerceConfig(e,oR));return se(r,t)?r:null}function lR(e,t){return eR(e,iR(t))}function uR(e,t,r,n){const o=function(e,t,r,n){const o=tR(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>dR(e,t,le)});return e.storeBroadcast().then(()=>o)}function dR(e,t,r){const o=iR(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-info/batch/"+e.urlParams.parentObjectApiName+"/"+e.urlParams.relatedListNames,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=rR(e,r,n,{config:t,resolve:()=>dR(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=XA(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)HA(e,0,0,s);else if(404===i){const t=$A(0,r);e.set(t,{namespace:ge,representationName:xA,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>uR(e,t,o,r)))}function pR(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,dR,void 0,!1)}function fR(e,t){const{luvio:r,config:n}=e;return t({recordId:sR(0,n),node:lR(r,n),variables:{}},{config:n,resolve:()=>dR(r,n,le)})}const mR=e=>function(t,r){const n=cR(t,aR);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},fR,pR)},gR="2a1722afba0e1ee52d6b7b0a25ccd9f4",yR="RelatedListSummaryInfoCollectionRepresentation";function hR(e,t){return ge+"::"+yR+":"+t.parentObjectApiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function vR(e,t){return hR(0,{parentObjectApiName:t.parentObjectApiName,recordTypeId:t.parentRecordTypeId})}function bR(e,t,r,n,o,a){return e}const PR=function(){return{kind:"Fragment",version:gR,private:["eTag"],selections:[{name:"parentObjectApiName",kind:"Scalar"},{name:"parentRecordTypeId",kind:"Scalar"},{name:"relatedLists",kind:"Object",opaque:!0}]}};function SR(e,t){return e.eTag===t.eTag}const AR=function(e,t,r,o,a){const i=vR(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,bR,"UiApi",gR,yR,SR),Qe(i)};function RR(e,t){return PR()}function kR(e,t){return hR(0,{parentObjectApiName:t.urlParams.parentObjectApiName,recordTypeId:t.queryParams.recordTypeId||null})}function IR(e,t,r,n){!function(e,t,r){const n=vR(0,r);e.set(n,{namespace:ge,representationName:yR,mergeable:!1})}(e,0,n)}const CR="getRelatedListsInfo",NR=[fe("parentObjectApiName",!0,0,0,!1,je),fe("recordTypeId",!1,1,0)],TR=me(CR,NR),LR=n.createResourceParams(NR);function FR(e,t){return kR(0,LR(t))}function _R(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,NR),t}(n.coerceConfig(e,NR));return se(r,t)?r:null}function ER(e,t){return LR(t),RR()}function wR(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=kR(0,t);e.storeIngest(i,AR,a);const s=e.storeLookup({recordId:i,node:RR(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>OR(e,t,le)});return e.storeBroadcast().then(()=>a)}function jR(e,t,r,n){const o=function(e,t,r,n){const o=kR(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>OR(e,t,le)});return e.storeBroadcast().then(()=>o)}function OR(e,t,r){const o=LR(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-info/"+e.urlParams.parentObjectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>wR(e,t,o,r),()=>{const e=new n.StoreKeyMap;return IR(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>jR(e,t,o,r)))}function qR(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,OR,void 0,!1)}function DR(e,t){const{luvio:r,config:n}=e;return t({recordId:FR(0,n),node:ER(0,n),variables:{}},{config:n,resolve:()=>OR(r,n,le)})}const BR=e=>function(t,r){const n=_R(t,TR);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},DR,qR)},xR="getRelatedListInfo",MR=[fe("parentObjectApiName",!0,0,0,!1,je),fe("relatedListId",!0,0,0),fe("fields",!1,1,0,!0),fe("optionalFields",!1,1,0,!0),fe("recordTypeId",!1,1,0),fe("restrictColumnsToLayout",!1,1,1)],UR=me(xR,MR),VR=n.createResourceParams(MR);function zR(e,t){return $A(0,VR(t))}function WR(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,MR),t}(n.coerceConfig(e,MR));return se(r,t)?r:null}function KR(e,t){return VR(t),GA()}function QR(e,t,r){const o=VR(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-info/"+e.urlParams.parentObjectApiName+"/"+e.urlParams.relatedListId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=JA(e,r,n,{config:t,resolve:()=>QR(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return HA(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=ZA(e,r,n,{config:t,resolve:()=>QR(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function GR(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,QR,void 0,!1)}function $R(e,t){const{luvio:r,config:n}=e;return t({recordId:zR(0,n),node:KR(0,n),variables:{}},{config:n,resolve:()=>QR(r,n,le)})}const HR=e=>function(t,r){const n=WR(t,UR);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},$R,GR)};function JR(e){const t={};n.typeCheckConfig(e,t,ZR);const r=e.orderedByInfo;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Jh(n)&&e.push(n)}t.orderedByInfo=e}const o=e.userPreferences,a=function(e,t="ListUserPreferenceInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.columnWidths,n=t+".columnWidths";if("object"!=typeof r||Ve(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=xe(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';if("number"!=typeof a||"number"==typeof a&&Math.floor(a)!==a)return new TypeError('Expected "integer" but received "'+typeof a+'" (at "'+i+'")')}const a=e.columnWrap,i=t+".columnWrap";if("object"!=typeof a||Ve(a)||null===a)return new TypeError('Expected "object" but received "'+typeof a+'" (at "'+i+'")');const s=xe(a);for(let e=0;e<s.length;e++){const t=s[e],r=a[t];if("boolean"!=typeof r)return new TypeError('Expected "boolean" but received "'+typeof r+'" (at "'+i+'["'+t+'"]")')}})();return void 0===r?null:r}(o);if(null!==a)throw a;return t.userPreferences=o,t}const ZR=[fe("parentObjectApiName",!0,0,0,!1,je),fe("relatedListId",!0,0,0),fe("recordTypeId",!1,1,0),fe("orderedByInfo",!0,2,4,!0),fe("userPreferences",!0,2,4)],XR=me("updateRelatedListInfo",ZR),YR=n.createResourceParams(ZR);function ek(e,t,r){const o=YR(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-info/"+e.urlParams.parentObjectApiName+"/"+e.urlParams.relatedListId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=UA(0,o);e.storeIngest(a,KA,o);const i=e.storeLookup({recordId:a,node:zA(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){QA(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const tk=e=>function(t){const r=function(e,t){if(!ie(e))return null;const r=JR(n.coerceConfig(e,ZR));return se(r,t)?r:null}(t,XR);if(null===r)throw new Error('Invalid config for "updateRelatedListInfo"');return ek(e,r)},rk=9e5,nk="094cdf8e3e1f07fca02c4e51e14c528e",ok="RelatedListUserPreferencesRepresentation";function ak(e,t){return ge+"::"+ok+":"+t.preferencesId}function ik(e,t){return ak(0,{preferencesId:t.preferencesId})}function sk(e,t,r,n,o,a){return e}const ck=function(){return{kind:"Fragment",version:nk,private:[],opaque:!0}};function lk(e,t){return ze(t)===ze(e)}const uk=function(e,t,r,o,a){const i=ik(0,e),s=rk;return n.ingestShape(e,t,r,o,a,s,i,sk,"UiApi",nk,ok,lk),Qe(i)};function dk(e,t,r,n){const o=ik(0,r);e.set(o,{namespace:ge,representationName:ok,mergeable:!1})}function pk(e,t){return ck()}function fk(e,t){return ak(0,{preferencesId:t.urlParams.preferencesId})}function mk(e,t,r,n){dk(e,0,n)}function gk(e,t,r,o){const{body:a}=r,i=fk(0,t);e.storeIngest(i,uk,a);const s=e.storeLookup({recordId:i,node:pk(),variables:{}},o);return n.deepFreeze(s.data),s}function yk(e,t,r,n){const o=fk(0,t),a=e.errorSnapshot(r,n),i={ttl:rk,namespace:ge,version:nk,representationName:ok};return e.storeIngestError(o,a,i),a}const hk=re(null);function vk(e){let t=[];for(let r=0,n=e.urlParams.preferencesIds.length;r<n;r+=1){const n=e.urlParams.preferencesIds[r];t.push({urlParams:{preferencesId:n}})}return t}function bk(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(Pk(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=fk(0,t[e]),a=pk(),s=i.getIsDataMissing(),c=i.read({recordId:r,node:a,variables:{}});i.exitPath();const u={};switch(i.markSeenId(r),c.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,u,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,c.data),i.exitPath();break;case"Error":const e=c.error;i.enterPath(o),i.assignScalar(o,u,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===c.data){if(!1===i.isRebuilding()){i.markMissingLink(r);break}const e=hk[r];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(r);else{!1===s&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,u,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(u,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,u),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,vk(t),t)}function Pk(e,t){return ge+"::RelatedListPreferencesBatchRepresentation:(preferencesIds:"+t.urlParams.preferencesIds+")"}function Sk(e,t,r,o){const a=r.body.results,i=vk(t),s=Pk(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=fk(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=gk(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{yk(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?hk[u]={expiration:s+rk,response:f,status:p}:delete hk[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:bk(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const Ak="getRelatedListPreferencesBatch",Rk=[fe("preferencesIds",!0,0,0,!0)],kk=me(Ak,Rk),Ik=n.createResourceParams(Rk);function Ck(e,t){return Pk(0,Ik(t))}function Nk(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Rk),t}(e);return se(r,t)?r:null}function Tk(e,t){return bk(e,Ik(t))}function Lk(e,t,r,n){const o=function(e,t,r,n){const o=Pk(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>Fk(e,t,le)});return e.storeBroadcast().then(()=>o)}function Fk(e,t,r){const o=Ik(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-preferences/batch/"+e.urlParams.preferencesIds,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=Sk(e,r,n,{config:t,resolve:()=>Fk(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=vk(r);for(let t=0,r=a.length;t<r;t++){const r=a[t],n=o[t],{statusCode:i,result:s}=n;if(200===i)mk(e,0,0,s);else if(404===i){const t=fk(0,r);e.set(t,{namespace:ge,representationName:ok,mergeable:!1})}}}(e,0,o,r.body),e}),r=>e.handleErrorResponse(()=>Lk(e,t,o,r)))}function _k(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Fk,void 0,!1)}function Ek(e,t){const{luvio:r,config:n}=e;return t({recordId:Ck(0,n),node:Tk(r,n),variables:{}},{config:n,resolve:()=>Fk(r,n,le)})}const wk=e=>function(t,r){const n=Nk(t,kk);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},Ek,_k)},jk="getRelatedListPreferences",Ok=[fe("preferencesId",!0,0,0)],qk=me(jk,Ok),Dk=n.createResourceParams(Ok);function Bk(e,t){return fk(0,Dk(t))}function xk(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,Ok),t}(e);return se(r,t)?r:null}function Mk(e,t){return Dk(t),pk()}function Uk(e,t,r){const o=Dk(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-preferences/"+e.urlParams.preferencesId,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=gk(e,r,n,{config:t,resolve:()=>Uk(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const e=new n.StoreKeyMap;return mk(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=yk(e,r,n,{config:t,resolve:()=>Uk(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r)))}function Vk(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,Uk,void 0,!1)}function zk(e,t){const{luvio:r,config:n}=e;return t({recordId:Bk(0,n),node:Mk(0,n),variables:{}},{config:n,resolve:()=>Uk(r,n,le)})}const Wk=e=>function(t,r){const n=xk(t,qk);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},zk,Vk)};const Kk=[fe("preferencesId",!0,0,0),fe("columnWidths",!1,2,4),fe("columnWrap",!1,2,4),fe("orderedBy",!1,2,4,!0)],Qk=me("updateRelatedListPreferences",Kk),Gk=n.createResourceParams(Kk);function $k(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,Kk);const r=e.columnWidths;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"number"==typeof a&&Math.floor(a)===a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWidths=e)}const o=e.columnWrap;if(ie(o)){const e={},r=Object.keys(o);for(let t=0,n=r.length;t<n;t++){const n=r[t],a=o[n];"boolean"==typeof a&&void 0!==e&&(e[n]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.columnWrap=e)}const a=e.orderedBy;if(oe(a)){const e=[];for(let t=0,r=a.length;t<r;t++){const r=a[t];null===Jh(r)&&e.push(r)}t.orderedBy=e}return t}(e);return se(r,t)?r:null}function Hk(e,t,r){const o=Gk(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-preferences/"+e.urlParams.preferencesId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=ik(0,o);e.storeIngest(a,uk,o);const i=e.storeLookup({recordId:a,node:ck(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){dk(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const Jk=e=>function(t){const r=$k(t,Qk);if(null===r)throw new Error('Invalid config for "updateRelatedListPreferences"');return Hk(e,r)};function Zk(e,t="RelatedListRecordsSingleBatchInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.fields){const r=e.fields,n=t+".fields";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.optionalFields){const r=e.optionalFields,n=t+".optionalFields";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.pageSize){const r=e.pageSize,n=t+".pageSize";if("number"!=typeof r||"number"==typeof r&&Math.floor(r)!==r)return new TypeError('Expected "integer" but received "'+typeof r+'" (at "'+n+'")')}const r=e.relatedListId;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".relatedListId")+'")');if(void 0!==e.sortBy){const r=e.sortBy,n=t+".sortBy";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=r[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(n+"["+e+"]")+'")')}}if(void 0!==e.where){const r=e.where;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".where")+'")')}})();return void 0===r?null:r}const Xk="0.111.0",Yk={ttl:Number.MAX_SAFE_INTEGER,namespace:"",representationName:"",version:Xk};function eI(e,t){const{clientTokens:r}=e,n=Object.keys(r);for(let e=0,o=n.length;e<o;e++){const o=n[e];if(r[o]===t)return o}}function tI(e,t){if(void 0===t)return 0;const r=e.clientTokens[t];return void 0===r?-1:r}function rI(e){return function(e){let t,r,n,o,a="",i=0;const s=e.length%3;for(;i<e.length;){if((r=e.charCodeAt(i++))>255||(n=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("Failed base64ToAscii encoding: The string to be encoded contains characters outside of the Latin1 range. "+e);t=r<<16|n<<8|o,a+=nI.charAt(t>>18&63)+nI.charAt(t>>12&63)+nI.charAt(t>>6&63)+nI.charAt(63&t)}return s?a.slice(0,s-3)+"===".substring(s):a}("client:"+e)}const nI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function oI(e,t,r,n){e.clientTokens[r]=t,void 0!==n&&(e.serverTokens[t]=n)}function aI(e,t){if(void 0===e)return t;return{clientTokens:{...e.clientTokens,...t.clientTokens},serverTokens:function(e,t){const r=[],n=Math.max(e.length,t.length);for(let o=0;o<n;o++){const n=t[o]||e[o];r.push(n)}return r}(e.serverTokens,t.serverTokens),__END__:t.hasOwnProperty("__END__")?t.__END__:e.__END__}}const iI=3e4,sI="62467c27c19349b70c9db2a8d9d591d9",cI="RelatedListRecordCollectionRepresentation";function lI(e,t){return ge+"::"+cI+":["+t.sortBy.join(",")+"]:"+(null===t.parentRecordId?"":t.parentRecordId)+":"+t.relatedListId+":"+(null===t.where?"":t.where)}function uI(e,t){return lI(0,{sortBy:t.sortBy,parentRecordId:t.listReference.inContextOfRecordId,relatedListId:t.listReference.relatedListId,where:t.where})}function dI(e,t){const r={},n={metadataProperties:r};if(void 0===e)return n;const{token:o,pageSize:a}=t,i=function(e,t){if(void 0===t){const t=eI(e,0);if(void 0===t)return;return[t,0]}const r=tI(e,t);if(!(r<0))return[t,r]}(e,o);if(void 0===i)return n;const[s,c]=i,l=function(e,t,r){const n=e.__END__,o=t+r;return void 0===n?o:Math.min(o,n)}(e,c,a);n.startOffset=c,n.endOffset=l,r.currentPageToken=s;const{clientToken:u,serverToken:d}=function(e,t){const r=e.__END__;if(void 0===r||t<r){const r=eI(e,t);return void 0===r?{clientToken:void 0,serverToken:void 0}:{clientToken:r,serverToken:e.serverTokens[t]||void 0}}return{clientToken:null,serverToken:null}}(e,l);void 0!==u&&(r.nextPageToken=u,n.nextServerToken=d);const p=function(e,t,r){const n=t-r;if(n<0)return null;const o=e.__END__;return void 0!==o&&n>=o?void 0:eI(e,n)}(e,c,a);return void 0!==p&&(r.previousPageToken=p),r.pageSize=a,r.count=l-c,n}const pI=function(e,t){const r=void 0===e.records?{name:"records",kind:"Link",fragment:Bt()}:e.records,{selections:n,opaque:o}={kind:"Fragment",version:"4d4bdab5d0aa61e365e766409c9b3a31",private:[],selections:[{name:"id",kind:"Scalar"},{name:"inContextOfRecordId",kind:"Scalar"},{name:"listViewApiName",kind:"Scalar"},{name:"objectApiName",kind:"Scalar"},{name:"parentObjectApiName",kind:"Scalar"},{name:"recordTypeId",kind:"Scalar"},{name:"relatedListId",kind:"Scalar"},{name:"type",kind:"Scalar"}]};return{kind:"Fragment",reader:!0,synthetic:!1,version:sI,read:(e,o)=>{const a={};if(void 0===t)return a;const i=o.resolveMetadata(e,Xk),s=dI(i,t),{startOffset:c,endOffset:l,metadataProperties:u}=s;if(void 0!==i&&void 0!==c&&void 0!==l){const t="records";o.enterPath(t);const n=e[t],i=[],s=[];for(let e=c;e<l;e++)o.enterPath(e),o.readSingleLink(e,r,n,s,e-c),!1===o.getIsDataMissing()&&(i[e-c]=s[e-c]),o.exitPath();o.exitPath(),o.assignNonScalar(a,t,i)}return o.enterPath("currentPageToken"),o.readScalar("currentPageToken",u,a),o.exitPath(),o.enterPath("nextPageToken"),o.readScalar("nextPageToken",u,a),o.exitPath(),o.enterPath("previousPageToken"),o.readScalar("previousPageToken",u,a),o.exitPath(),o.enterPath("pageSize"),o.readScalar("pageSize",u,a),o.exitPath(),o.enterPath("count"),o.readScalar("count",u,a),o.exitPath(),o.enterPath("fields"),o.readScalarPlural("fields",e,a,!0),o.exitPath(),o.enterPath("listInfoETag"),o.readScalar("listInfoETag",e,a),o.exitPath(),o.enterPath("listReference"),o.readObject("listReference",{name:"listReference",kind:"Object",selections:n},e,a),o.exitPath(),o.enterPath("optionalFields"),o.readScalarPlural("optionalFields",e,a,!0),o.exitPath(),o.enterPath("sortBy"),o.readScalarPlural("sortBy",e,a,!0),o.exitPath(),o.enterPath("where"),o.readScalar("where",e,a),o.exitPath(),a}}};const fI=function(e,t,r,n,o){const a=uI(0,e),i=n.readEntry(a),s=iI;let c=function(e,t,r,n,o,a){const i=e.records,s=r.fullPath+"__records";for(let c=0;c<i.length;c++){const l=i[c];let u=s+"__"+c;i[c]=Rn(l,{fullPath:u,propertyName:c,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}(e,n.readEntry(a),{fullPath:a,parent:t.parent,propertyName:t.propertyName,ttl:s},r,n,o);const l=a+"__pagination",u=n.readEntry(l),{count:d,currentPageToken:p,nextPageToken:f,pageSize:m,previousPageToken:g,records:y}=e,h=void 0===u?0:function(e,t){return e.serverTokens.indexOf(t)}(u,p),v={clientTokens:{},serverTokens:[]};oI(v,h,rI(h),p);const b=h+y.length;if(null===f)v.__END__=b;else{if(oI(v,b,rI(b),f),void 0!==u){const e=u.__END__;void 0!==e&&b>=e&&(v.__END__=void 0)}}if(null!==g){const e=Math.max(h-m,0);oI(v,e,rI(e),g)}for(let e=h+1;e<b;e++){oI(v,e,rI(e))}const P=aI(u,v);var S,A;void 0!==u&&!1!==function(e,t){const{clientTokens:r,serverTokens:n,__END__:o}=e,{clientTokens:a,serverTokens:i,__END__:s}=t,c=Object.keys(r),l=Object.keys(a),u=c.length;if(u!==l.length)return!1;for(let e=0;e<u;e++){const t=c[e];if(r[t]!==a[t])return!1}const d=n.length;if(d!==i.length)return!1;for(let e=0;e<d;e++)if(n[e]!==i[e])return!1;return o===s}(u,P)||(r.storePublish(l,P),r.publishStoreMetadata(l,Yk)),Ge(c,l),void 0!==i&&void 0!==i.records&&(c.records=[...i.records.slice(0,h),...c.records,...i.records.slice(b)]),void 0!==i&&!1!=(A=c,(S=i).count===A.count&&S.pageSize===A.pageSize&&S.currentPageToken===A.currentPageToken&&S.currentPageUrl===A.currentPageUrl&&!1!==We(S.fields,A.fields,(e,t)=>{if(e!==t)return!1})&&S.listInfoETag===A.listInfoETag&&!!HS(S.listReference,A.listReference)&&S.nextPageToken===A.nextPageToken&&S.nextPageUrl===A.nextPageUrl&&!1!==We(S.optionalFields,A.optionalFields,(e,t)=>{if(e!==t)return!1})&&S.previousPageToken===A.previousPageToken&&S.previousPageUrl===A.previousPageUrl&&!1!==We(S.records,A.records,(e,t)=>{if(e.__ref!==t.__ref)return!1})&&!1!==We(S.sortBy,A.sortBy,(e,t)=>{if(e!==t)return!1})&&S.where===A.where)||r.storePublish(a,c);{const e={ttl:s,namespace:"UiApi",version:sI,representationName:cI,ingestionTimestamp:o};r.publishStoreMetadata(a,e)}return Qe(a)};function mI(e,t){const{fields:r=[],optionalFields:n=[]}=t.body;return pI({records:{name:"records",kind:"Link",fragment:{kind:"Fragment",private:["eTag","weakEtag"],selections:ir(r,n),version:jt}}},yI(t))}function gI(e,t,r,n){const{body:o}=r,a=hI(e,t);e.storeIngest(a,fI,o);const i=t.body.optionalFields;if(i&&i.length>0){!function(e,t,r){const n=t.records;for(let t=0;t<n.length;t++){const o=n[t].__ref;if(void 0!==o){Cr(e.getNode(o),r)}}}(e,o,i)}return e.storeLookup({recordId:a,node:mI(0,t),variables:{}},n)}function yI(e){const{body:t}=e;return{token:t.pageToken,pageSize:void 0===t.pageSize?50:t.pageSize}}function hI(e,t){return lI(0,{sortBy:t.body.sortBy||[],where:t.body.where||null,parentRecordId:t.urlParams.parentRecordId,relatedListId:t.urlParams.relatedListId})}function vI(e,t,r,n){!function(e,t,r){const n=uI(0,r);e.set(n,{namespace:ge,representationName:cI,mergeable:!0}),e.set(n+"__pagination",{namespace:ge,representationName:cI,mergeable:!0});const o=r.records.length;for(let n=0;n<o;n++)At(e,t,r.records[n])}(e,t,n)}function bI(e,t,r,n){const o=hI(0,t),a=e.errorSnapshot(r,n),i={ttl:iI,namespace:ge,version:sI,representationName:cI};return e.storeIngestError(o,a,i),a}function PI(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-records/"+e.urlParams.parentRecordId+"/"+e.urlParams.relatedListId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}const SI=re(null);function AI(e){return function(e){const t=[];for(let r=0,n=e.body.relatedListParameters.length;r<n;r+=1){let n={urlParams:{parentRecordId:e.urlParams.parentRecordId,relatedListId:e.body.relatedListParameters[r].relatedListId},body:{}},o=e.body.relatedListParameters[r];"fields"in o&&(n.body.fields=o.fields),"optionalFields"in o&&(n.body.optionalFields=o.optionalFields),"pageSize"in o&&(n.body.pageSize=o.pageSize),"sortBy"in o&&(n.body.sortBy=o.sortBy),"where"in o&&(n.body.where=o.where),t.push(n)}return t}(e)}function RI(e,t){return function(e,t,r){const n="result",o="statusCode",a="results";return{kind:"Fragment",reader:!0,synthetic:!0,read:i=>{const s=i.storeLookup(kI(e,r));if(s.state===i.StoreResolveResultState.Error&&404===s.value.status)return{state:"Error",value:s.value};const c={};i.enterPath(a);const l=[];for(let e=0,r=t.length;e<r;e+=1){i.enterPath(e),i.enterPath(n);const r=t[e],a=hI(0,r),s=mI(0,r),c=i.getIsDataMissing(),u=i.read({recordId:a,node:s,variables:{}});i.exitPath();const d={};switch(i.markSeenId(a),u.state){case"Stale":i.markStale();case"Fulfilled":i.enterPath(o),i.assignScalar(o,d,200),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,u.data),i.exitPath();break;case"Error":const e=u.error;i.enterPath(o),i.assignScalar(o,d,e.status),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,e.body),i.exitPath();break;case"Unfulfilled":if(void 0===u.data){if(!1===i.isRebuilding()){i.markMissingLink(a);break}const e=SI[a];if(void 0===e||e.expiration<i.getTimeStamp())i.markMissingLink(a);else{!1===c&&i.unMarkMissing();const{response:t,status:r}=e;i.enterPath(o),i.assignScalar(o,d,r),i.exitPath(),i.enterPath(n),i.assignNonScalar(d,n,t),i.exitPath()}}break;case"Pending":i.markPending()}ae.call(l,d),i.exitPath()}return i.assignNonScalar(c,a,l),i.exitPath(),c}}}(e,AI(t),t)}function kI(e,t){return ge+"::RelatedListRecordCollectionBatchRepresentation:(parentRecordId:"+t.urlParams.parentRecordId+",["+t.body.relatedListParameters.map(e=>(void 0===e.fields?"relatedListParameters.fields":"relatedListParameters.fields:"+e.fields)+"::"+(void 0===e.optionalFields?"relatedListParameters.optionalFields":"relatedListParameters.optionalFields:"+e.optionalFields)+"::"+(void 0===e.pageSize?"relatedListParameters.pageSize":"relatedListParameters.pageSize:"+e.pageSize)+"::relatedListParameters.relatedListId:"+e.relatedListId+"::"+(void 0===e.sortBy?"relatedListParameters.sortBy":"relatedListParameters.sortBy:"+e.sortBy)+"::"+(void 0===e.where?"relatedListParameters.where":"relatedListParameters.where:"+e.where)).join(",")+"])"}function II(e,t,r,o){const a=r.body.results,i=AI(t),s=kI(0,t),{childSnapshotData:c,seenRecords:l,snapshotState:u}=function(e,t,r){const o=[];let a=new n.StoreKeySet,i="Fulfilled";const s=Date.now();for(let c=0,l=t.length;c<l;c+=1){const l=t[c],u=hI(0,l),d=r[c],{statusCode:p,result:f}=d;if(200===p){const t=gI(e,l,{status:200,body:f,ok:!0,statusText:"OK",headers:{}});"Stale"===t.state&&(i="Stale"),a.merge(t.seenRecords),a.add(t.recordId);const r={statusCode:200,result:t.data};n.deepFreeze(r),ae.call(o,r)}else{bI(e,l,{status:p,body:f,ok:!1,statusText:de(d.statusCode),headers:{},errorType:"fetchResponse"}),a.add(u);const t={statusCode:p,result:f};n.deepFreeze(t),ae.call(o,t)}404!==p&&200!==p?SI[u]={expiration:s+iI,response:f,status:p}:delete SI[u]}const c={results:o};return n.deepFreeze(c),{childSnapshotData:c,seenRecords:a,snapshotState:i}}(e,i,a),d={recordId:s,data:c,state:u,seenRecords:l,select:{recordId:s,node:RI(e,t),variables:{}},refresh:o,variables:{}};return e.storeEvict(s),d}const CI="getRelatedListRecordsBatch",NI=[fe("parentRecordId",!0,0,0,!1,pt),fe("relatedListParameters",!0,2,4,!0)],TI=me(CI,NI),LI=n.createResourceParams(NI);function FI(e,t){return kI(0,LI(t))}function _I(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,NI);const r=e.relatedListParameters;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===Zk(n)&&e.push(n)}t.relatedListParameters=e}return t}(n.coerceConfig(e,NI));return se(r,t)?r:null}function EI(e,t){return RI(e,LI(t))}function wI(e,t,r,n){const o=function(e,t,r,n){const o=kI(0,t),a=e.errorSnapshot(r,n);return e.storeIngestError(o,a),a}(e,r,n,{config:t,resolve:()=>jI(e,t,le)});return e.storeBroadcast().then(()=>o)}function jI(e,t,r){const o=LI(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/related-list-records/batch/"+e.urlParams.parentRecordId,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=II(e,r,n,{config:t,resolve:()=>jI(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,o,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results,a=AI(r);for(let r=0,n=a.length;r<n;r++){const n=a[r],i=o[r],{statusCode:s,result:c}=i;if(200===s)vI(e,t,0,c);else if(404===s){const t=hI(0,n);e.set(t,{namespace:ge,representationName:cI,mergeable:!1})}}}(t,e,o,r.body),t}),r=>e.handleErrorResponse(()=>wI(e,t,o,r)))}function OI(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,jI,"get",!1)}function qI(e,t){const{luvio:r,config:n}=e;return t({recordId:FI(0,n),node:EI(r,n),variables:{}},{config:n,resolve:()=>jI(r,n,le)})}const DI=e=>function(t,r){const n=_I(t,TI);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},qI,OI)},BI="getRelatedListRecords",xI=[fe("parentRecordId",!0,0,0,!1,pt),fe("relatedListId",!0,0,0),fe("fields",!1,2,0,!0),fe("optionalFields",!1,2,0,!0),fe("pageSize",!1,2,3),fe("pageToken",!1,2,0),fe("sortBy",!1,2,0,!0),fe("where",!1,2,0)],MI=me(BI,xI),UI=n.createResourceParams(xI);function VI(e,t){return hI(0,UI(t))}function zI(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,xI),t}(n.coerceConfig(e,xI));return se(r,t)?r:null}function WI(e,t){return mI(0,UI(t))}function KI(e,t,r,n){const o=function(e,t){const r=hI(0,t),n={recordId:r,node:{kind:"Fragment",version:sI,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:Xk,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,r);if(void 0===o)return PI(r);const{token:a,pageSize:i}=yI(r),s=tI(o,a),c=function(e,t){if(void 0===t)return e;const r=function(e){const{data:t}=e;if(void 0===t||!t.records)return 0;const r=t.records;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(t);if(r<=0)return e;return Math.max(e+r,e)}(s,n),[l,u]=function(e,t){const{serverTokens:r}=e;for(let e=t;e>=0;e--){const t=r[e];if(void 0!==t)return[t,e]}return[void 0,-1]}(o,c);return PI(UI({...t,pageSize:i-(u-s),pageToken:l}))}function QI(e,t,r,o){const a=UI(t),i=KI(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>e.handleSuccessResponse(()=>function(e,t,r,n){const o=gI(e,r,n,{config:t,resolve:()=>QI(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,a,r),()=>{const t=new n.StoreKeyMap;return vI(t,e,0,r.body),t}),r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=bI(e,r,n,{config:t,resolve:()=>QI(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}function GI(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,QI,"get",!0)}function $I(e,t){const{luvio:r,config:n}=e,o=t({recordId:VI(0,n),node:WI(0,n),variables:{}},{config:n,resolve:()=>QI(r,n,le)});return pe(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}const HI=e=>function(t,r){const n=zI(t,MI);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},$I,GI)};var JI,ZI;!function(e){e.Text="Text",e.Select="Select"}(JI||(JI={})),function(e){e.Field="Field",e.DataCategory="DataCategory"}(ZI||(ZI={}));const XI=3e4,YI="7d241c2ee7cc9b09d6bd434b33b0b5e4",eC="SearchFilterMetadataCollectionRepresentation";function tC(e,t){return ge+"::"+eC+":"+t.objectApiName+":"+(null===t.channel?"":t.channel)}function rC(e,t){return tC(0,{objectApiName:t.objectApiName,channel:t.channel})}function nC(e,t,r,n,o,a){return e}const oC=function(){return{kind:"Fragment",version:YI,private:[],opaque:!0}};function aC(e,t){return ze(t)===ze(e)}const iC=function(e,t,r,o,a){const i=rC(0,e),s=XI;return n.ingestShape(e,t,r,o,a,s,i,nC,"UiApi",YI,eC,aC),Qe(i)};function sC(e,t){return oC()}function cC(e,t){return tC(0,{objectApiName:t.urlParams.objectApiName,channel:t.queryParams.channel||null})}function lC(e,t,r,n){!function(e,t,r){const n=rC(0,r);e.set(n,{namespace:ge,representationName:eC,mergeable:!1})}(e,0,n)}const uC="getSearchFilterMetadata",dC=[fe("objectApiName",!0,0,0),fe("channel",!1,1,0)],pC=me(uC,dC),fC=n.createResourceParams(dC);function mC(e,t){return cC(0,fC(t))}function gC(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,dC),t}(e);return se(r,t)?r:null}function yC(e,t){return fC(t),sC()}function hC(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=cC(0,t);e.storeIngest(i,iC,a);const s=e.storeLookup({recordId:i,node:sC(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>bC(e,t,le)});return e.storeBroadcast().then(()=>a)}function vC(e,t,r,n){const o=function(e,t,r,n){const o=cC(0,t),a=e.errorSnapshot(r,n),i={ttl:XI,namespace:ge,version:YI,representationName:eC};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>bC(e,t,le)});return e.storeBroadcast().then(()=>o)}function bC(e,t,r){const o=fC(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/filters",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>hC(e,t,o,r),()=>{const e=new n.StoreKeyMap;return lC(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>vC(e,t,o,r)))}function PC(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,bC,void 0,!1)}function SC(e,t){const{luvio:r,config:n}=e;return t({recordId:mC(0,n),node:yC(0,n),variables:{}},{config:n,resolve:()=>bC(r,n,le)})}const AC=e=>function(t,r){const n=gC(t,pC);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},SC,PC)},RC=3e4,kC="8d851a8d9abf0a061a8ad81d4cbb83bc",IC="SearchFilterOptionCollectionRepresentation";function CC(e,t){return ge+"::"+IC+":"+(null===t.query?"":t.query)+":"+t.objectApiName+":"+t.filterApiName}function NC(e,t){return CC(0,{query:t.query,objectApiName:t.objectApiName,filterApiName:t.filterApiName})}function TC(e,t,r,n,o,a){return e}const LC=function(){return{kind:"Fragment",version:kC,private:[],opaque:!0}};function FC(e,t){return ze(t)===ze(e)}const _C=function(e,t,r,o,a){const i=NC(0,e),s=RC;return n.ingestShape(e,t,r,o,a,s,i,TC,"UiApi",kC,IC,FC),Qe(i)};function EC(e,t){return LC()}function wC(e,t){return CC(0,{query:t.queryParams.q||null,objectApiName:t.urlParams.objectApiName,filterApiName:t.urlParams.filterApiName})}function jC(e,t,r,n){!function(e,t,r){const n=NC(0,r);e.set(n,{namespace:ge,representationName:IC,mergeable:!1})}(e,0,n)}const OC="getSearchFilterOptions",qC=[fe("filterApiName",!0,0,0),fe("objectApiName",!0,0,0),fe("q",!1,1,0)],DC=me(OC,qC),BC=n.createResourceParams(qC);function xC(e,t){return wC(0,BC(t))}function MC(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,qC),t}(e);return se(r,t)?r:null}function UC(e,t){return BC(t),EC()}function VC(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=wC(0,t);e.storeIngest(i,_C,a);const s=e.storeLookup({recordId:i,node:EC(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>WC(e,t,le)});return e.storeBroadcast().then(()=>a)}function zC(e,t,r,n){const o=function(e,t,r,n){const o=wC(0,t),a=e.errorSnapshot(r,n),i={ttl:RC,namespace:ge,version:kC,representationName:IC};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>WC(e,t,le)});return e.storeBroadcast().then(()=>o)}function WC(e,t,r){const o=BC(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/filters/"+e.urlParams.filterApiName+"/options",method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>VC(e,t,o,r),()=>{const e=new n.StoreKeyMap;return jC(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>zC(e,t,o,r)))}function KC(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,WC,void 0,!1)}function QC(e,t){const{luvio:r,config:n}=e;return t({recordId:xC(0,n),node:UC(0,n),variables:{}},{config:n,resolve:()=>WC(r,n,le)})}const GC=e=>function(t,r){const n=MC(t,DC);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},QC,KC)},$C=3e4,HC="ab99b79a5e8a78e051ec92b39d76a6bd",JC="LookupMetadataRepresentation";function ZC(e,t){return ge+"::"+JC+":"+t.objectApiName+":"+t.fieldApiName}function XC(e,t){return ZC(0,{objectApiName:t.objectApiName,fieldApiName:t.fieldApiName})}function YC(e,t,r,n,o,a){return e}const eN=function(){return{kind:"Fragment",version:HC,private:[],opaque:!0}};function tN(e,t){return ze(t)===ze(e)}const rN=function(e,t,r,o,a){const i=XC(0,e),s=$C;return n.ingestShape(e,t,r,o,a,s,i,YC,"UiApi",HC,JC,tN),Qe(i)};function nN(e,t){return eN()}function oN(e,t){return ZC(0,{objectApiName:t.urlParams.objectApiName,fieldApiName:t.urlParams.fieldApiName})}function aN(e,t,r,n){!function(e,t,r){const n=XC(0,r);e.set(n,{namespace:ge,representationName:JC,mergeable:!1})}(e,0,n)}const iN="getLookupMetadata",sN=[fe("fieldApiName",!0,0,0),fe("objectApiName",!0,0,0)],cN=me(iN,sN),lN=n.createResourceParams(sN);function uN(e,t){return oN(0,lN(t))}function dN(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,sN),t}(e);return se(r,t)?r:null}function pN(e,t){return lN(t),nN()}function fN(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=oN(0,t);e.storeIngest(i,rN,a);const s=e.storeLookup({recordId:i,node:nN(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>gN(e,t,le)});return e.storeBroadcast().then(()=>a)}function mN(e,t,r,n){const o=function(e,t,r,n){const o=oN(0,t),a=e.errorSnapshot(r,n),i={ttl:$C,namespace:ge,version:HC,representationName:JC};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>gN(e,t,le)});return e.storeBroadcast().then(()=>o)}function gN(e,t,r){const o=lN(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/search-info/"+e.urlParams.objectApiName+"/lookup/"+e.urlParams.fieldApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>fN(e,t,o,r),()=>{const e=new n.StoreKeyMap;return aN(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>mN(e,t,o,r)))}function yN(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,gN,void 0,!1)}function hN(e,t){const{luvio:r,config:n}=e;return t({recordId:uN(0,n),node:pN(0,n),variables:{}},{config:n,resolve:()=>gN(r,n,le)})}const vN=e=>function(t,r){const n=dN(t,cN);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},hN,yN)};function bN(e,t="SearchDataCategoryInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.groupName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".groupName")+'")');const n=e.operator;if("string"!=typeof n)return new TypeError('Expected "string" but received "'+typeof n+'" (at "'+(t+".operator")+'")');const o=e.values,a=t+".values";if(!Ve(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=o[e];if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+(a+"["+e+"]")+'")')}})();return void 0===r?null:r}function PN(e,t="SearchFilterInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.fieldPath;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".fieldPath")+'")');if(void 0!==e.objectApiName){const r=e.objectApiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+(t+".objectApiName")+'")')}const n=e.operator;if("string"!=typeof n)return new TypeError('Expected "string" but received "'+typeof n+'" (at "'+(t+".operator")+'")');const o=e.values,a=t+".values";if(!Ve(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=o[e],r=a+"["+e+"]";let n=null;const i=(()=>{if("string"!=typeof t)return new TypeError('Expected "string" but received "'+typeof t+'" (at "'+r+'")')})();null!=i&&(n=i.message);let s=null;const c=(()=>{if("number"!=typeof t)return new TypeError('Expected "number" but received "'+typeof t+'" (at "'+r+'")')})();null!=c&&(s=c.message);let l=null;const u=(()=>{if("boolean"!=typeof t)return new TypeError('Expected "boolean" but received "'+typeof t+'" (at "'+r+'")')})();if(null!=u&&(l=u.message),n&&s&&l){let e="Object doesn't match union (at \""+r+'")';return e+="\n"+n.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+s.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+l.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}function SN(e,t="SearchObjectOptionsRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.dataCategories,n=t+".dataCategories";if(!Ve(r))return new TypeError('Expected "array" but received "'+typeof r+'" (at "'+n+'")');for(let e=0;e<r.length;e++){const t=n+"["+e+"]",o=bN(r[e],t);if(null!==o){let e="Object doesn't match SearchDataCategoryInputRepresentation (at \""+t+'")\n';return e+=o.message.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}const o=e.filters,a=t+".filters";if(!Ve(o))return new TypeError('Expected "array" but received "'+typeof o+'" (at "'+a+'")');for(let e=0;e<o.length;e++){const t=a+"["+e+"]",r=PN(o[e],t);if(null!==r){let e="Object doesn't match SearchFilterInputRepresentation (at \""+t+'")\n';return e+=r.message.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}const AN=200,RN="5e805b26bc243a05358227e1d5e31fe2",kN="SearchResultsSummaryRepresentation";function IN(e,t){return ge+"::"+kN+":"+t.query+":"+(null===t.configurationName?"":t.configurationName)}function CN(e,t){return IN(0,{query:t.query,configurationName:t.configurationName})}function NN(e,t,r,n,o,a){return e}const TN=function(){return{kind:"Fragment",version:RN,private:[],opaque:!0}};function LN(e,t){return ze(t)===ze(e)}const FN=function(e,t,r,o,a){const i=CN(0,e),s=AN;return n.ingestShape(e,t,r,o,a,s,i,NN,"UiApi",RN,kN,LN),Qe(i)};function _N(e,t){return TN()}function EN(e,t){return IN(0,{query:t.queryParams.q,configurationName:t.body.configurationName||null})}function wN(e,t,r,n){!function(e,t,r){const n=CN(0,r);e.set(n,{namespace:ge,representationName:kN,mergeable:!1})}(e,0,n)}const jN="getSearchResults",ON=[fe("q",!0,1,0),fe("answerTypes",!1,2,0,!0),fe("configurationName",!1,2,0),fe("objectApiNames",!1,2,0,!0),fe("searchObjectOptions",!1,2,4)],qN=me(jN,ON),DN=n.createResourceParams(ON);function BN(e,t){return EN(0,DN(t))}function xN(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,ON);const r=e.searchObjectOptions;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];null===SN(a)&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.searchObjectOptions=e)}return t}(e);return se(r,t)?r:null}function MN(e,t){return DN(t),_N()}function UN(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=EN(0,t);e.storeIngest(i,FN,a);const s=e.storeLookup({recordId:i,node:_N(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>zN(e,t,le)});return e.storeBroadcast().then(()=>a)}function VN(e,t,r,n){const o=function(e,t,r,n){const o=EN(0,t),a=e.errorSnapshot(r,n),i={ttl:AN,namespace:ge,version:RN,representationName:kN};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>zN(e,t,le)});return e.storeBroadcast().then(()=>o)}function zN(e,t,r){const o=DN(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/search/results",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>UN(e,t,o,r),()=>{const e=new n.StoreKeyMap;return wN(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>VN(e,t,o,r)))}function WN(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,zN,"get",!1)}function KN(e,t){const{luvio:r,config:n}=e;return t({recordId:BN(0,n),node:MN(0,n),variables:{}},{config:n,resolve:()=>zN(r,n,le)})}const QN=e=>function(t,r){const n=xN(t,qN);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},KN,WN)},GN=200,$N="3102453bf10ea449d9665914d5f5febf",HN="KeywordSearchResultsSummaryRepresentation";function JN(e,t){return ge+"::"+HN+":"+t.query+":"+t.objectApiName+":"+(null===t.configurationName?"":t.configurationName)}function ZN(e,t){return JN(0,{query:t.query,objectApiName:t.objectApiName,configurationName:t.configurationName})}function XN(e,t,r,n,o,a){return e}const YN=function(){return{kind:"Fragment",version:$N,private:[],opaque:!0}};function eT(e,t){return ze(t)===ze(e)}const tT=function(e,t,r,o,a){const i=ZN(0,e),s=GN;return n.ingestShape(e,t,r,o,a,s,i,XN,"UiApi",$N,HN,eT),Qe(i)};function rT(e,t){return YN()}function nT(e,t){return JN(0,{query:t.queryParams.q,objectApiName:t.queryParams.objectApiName,configurationName:t.body.configurationName||null})}function oT(e,t,r,n){!function(e,t,r){const n=ZN(0,r);e.set(n,{namespace:ge,representationName:HN,mergeable:!1})}(e,0,n)}const aT="getKeywordSearchResults",iT=[fe("objectApiName",!0,1,0),fe("q",!0,1,0),fe("configurationName",!1,2,0),fe("filters",!1,2,4,!0),fe("pageSize",!1,2,3),fe("pageToken",!1,2,0),fe("sortBy",!1,2,0)],sT=me(aT,iT),cT=n.createResourceParams(iT);function lT(e,t){return nT(0,cT(t))}function uT(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,iT);const r=e.filters;if(oe(r)){const e=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];null===PN(n)&&e.push(n)}t.filters=e}return t}(e);return se(r,t)?r:null}function dT(e,t){return cT(t),rT()}function pT(e,t,r,o){const a=function(e,t,r,o){const{body:a}=r,i=nT(0,t);e.storeIngest(i,tT,a);const s=e.storeLookup({recordId:i,node:rT(),variables:{}},o);return n.deepFreeze(s.data),s}(e,r,o,{config:t,resolve:()=>mT(e,t,le)});return e.storeBroadcast().then(()=>a)}function fT(e,t,r,n){const o=function(e,t,r,n){const o=nT(0,t),a=e.errorSnapshot(r,n),i={ttl:GN,namespace:ge,version:$N,representationName:HN};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>mT(e,t,le)});return e.storeBroadcast().then(()=>o)}function mT(e,t,r){const o=cT(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/search/results/keyword",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(r=>e.handleSuccessResponse(()=>pT(e,t,o,r),()=>{const e=new n.StoreKeyMap;return oT(e,0,0,r.body),e}),r=>e.handleErrorResponse(()=>fT(e,t,o,r)))}function gT(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,mT,"get",!1)}function yT(e,t){const{luvio:r,config:n}=e;return t({recordId:lT(0,n),node:dT(0,n),variables:{}},{config:n,resolve:()=>mT(r,n,le)})}const hT=e=>function(t,r){const n=uT(t,sT);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},yT,gT)},vT="UiApi",bT="RecordRepresentation",PT="RecordViewEntityRepresentation",ST=`${vT}::${bT}:`,AT=`${vT}::${PT}:Name:`,RT="__fields__";function kT(e,t){const r={status:200,body:e,ok:!0,statusText:"OK",headers:{}},n={conflicts:{},serverRequestCount:0},o=Wr(Pr,Pr,n);return wr(t,r,e.id,o,n)}function IT(e){return void 0===e.fields&&void 0!==e.id}function CT(e,t){const{result:r,snapshotState:o,seenRecords:a}=function(e,t){const r=[];let o=new n.StoreKeySet,a="Fulfilled";const i=t.results;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{statusCode:s,result:c}=n;if(200===s||201===s)if(IT(c)){const t=qt(0,{recordId:c.id});e.storeEvict(t),ae.call(r,{...n})}else{const t=kT(c,e);"Error"!==t.state&&(o.merge(t.seenRecords),o.add(t.recordId),"Stale"===t.state&&(a="Stale"));const i={...n,result:t.data};ae.call(r,i)}else{const e={statusCode:s,result:c};ae.call(r,e)}}const s={hasErrors:t.hasErrors,results:r};return n.deepFreeze(s),{result:s,seenRecords:o,snapshotState:a}}(e,t.body);return{state:o,seenRecords:a,data:r}}re(null);const NT=[fe("allOrNone",!0,2,1,!1),fe("operations",!0,2,4,!0)],TT=me("executeBatchRecordOperations",NT),LT=["CREATE","UPDATE","DELETE"],FT=n.createResourceParams(NT);function _T(e,t){if(!ie(e))return null;const r=function(e){const t={},r=e.operations;if(void 0!==r&&oe(r)){const e=[];let n=!1;for(let t=0,o=r.length;t<o;t++){const o=r[t];ie(o)&&(void 0!==o&&void 0!==o.type&&"string"==typeof o.type&<.includes(o.type.toUpperCase())&&ee.call(o,"records")?e.push(o):n=!0)}!n&&e.length>0&&(t.operations=e)}const n=e.allOrNone;return void 0!==n&&"boolean"==typeof n&&(t.allOrNone=n),t}(n.coerceConfig(e,NT));return se(r,t)?r:null}function ET(e,t,r){const o=FT(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/batch",method:"post",body:e.body,urlParams:{},queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=CT(e,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){const o=n.results;for(let r=0,n=o.length;r<n;r+=1){const{statusCode:n,result:a}=o[r];if(200===n||201===n)if(IT(a)){const t=qt(0,{recordId:a.id});e.set(t,{namespace:ge,representationName:Ot,mergeable:!1})}else At(e,t,a)}}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const wT=e=>function(t){const r=_T(t,TT);if(null===r)throw new Error('Invalid config for "executeBatchRecordOperations"');return ET(e,r)};const jT=[fe("actionApiName",!0,0,0),fe("allowSaveOnDuplicate",!1,2,1),fe("apiName",!0,2,0),fe("contextId",!1,2,0,!1,pt),fe("fields",!0,2,4)],OT=me("performUpdateRecordQuickAction",jT),qT=n.createResourceParams(jT);function DT(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,jT);const r=e.fields;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(n.coerceConfig(e,jT));return se(r,t)?r:null}function BT(e,t,r){const o=qT(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/perform-quick-action/"+e.urlParams.actionApiName,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=_c(0,o);e.storeIngest(a,Oc,o);const i=e.storeLookup({recordId:a,node:wc(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){qc(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const xT=e=>function(t){const r=DT(t,OT);if(null===r)throw new Error('Invalid config for "performUpdateRecordQuickAction"');return BT(e,r)};const MT=[fe("actionApiName",!0,0,0),fe("allowSaveOnDuplicate",!1,2,1),fe("apiName",!0,2,0),fe("contextId",!1,2,0,!1,pt),fe("fields",!0,2,4)],UT=me("performQuickAction",MT),VT=n.createResourceParams(MT);function zT(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,MT);const r=e.fields;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(n.coerceConfig(e,MT));return se(r,t)?r:null}function WT(e,t,r){const o=VT(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/actions/perform-quick-action/"+e.urlParams.actionApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:o}=r,a=_c(0,o);e.storeIngest(a,Oc,o);const i=e.storeLookup({recordId:a,node:wc(),variables:{}});return n.deepFreeze(i.data),i}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const e=new n.StoreKeyMap;return function(e,t,r,n){qc(e,0,n)}(e,0,0,t.body),e}),e=>{throw n.deepFreeze(e),e})}const KT=e=>function(t){const r=zT(t,UT);if(null===r)throw new Error('Invalid config for "performQuickAction"');return WT(e,r)};function QT(e,t,r,n){var o,a,i,s,c;return o=n,a=r.objectApiName,i=r.recordTypeId,s=r.layoutType,c=r.mode,o.apiName=a,o.recordTypeId=i,o.layoutType=s,o.mode=c,e.storeIngest(t,ls,n),e.storeBroadcast().then(()=>kg(e,r))}function GT(e,t){const r=Cg(e,Ng);if(null===r)throw new Error(`@wire(updateLayoutUserState) invalid configuration ${_e(e)}`);return function(e,t="RecordLayoutUserStateInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');const r=e.sectionUserStates,n=t+".sectionUserStates";if("object"!=typeof r||Ve(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=xe(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';if("object"!=typeof a||Ve(a)||null===a)return new TypeError('Expected "object" but received "'+typeof a+'" (at "'+i+'")')}})()}(t,"layoutUserStateInput"),{...r,layoutUserStateInput:t}}const $T=e=>(t,r,o,a,i)=>{const s=GT({objectApiName:t,recordTypeId:r,layoutType:o,mode:a},i),{objectApiName:c,layoutType:l,mode:u,recordTypeId:d,layoutUserStateInput:p}=s,f=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/layout/"+e.urlParams.objectApiName+"/user-state",method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}({urlParams:{objectApiName:c},body:p,queryParams:{layoutType:l,mode:u,recordTypeId:d}}),m=os(0,{apiName:c,recordTypeId:d,layoutType:l,mode:u}),g=kg(e,s);if(ta(g)){const t=function(e,t){let r,n;const{sectionUserStates:o}=t,{sectionUserStates:a}=e,i=Pe(o);for(let t=0,s=i.length;t<s;t+=1){const s=i[t];if(void 0===a[s])return null;void 0===r&&(r=Fe(_e(e)),n=r.sectionUserStates);const c=o[s];n[s].collapsed=c.collapsed}return r}(g.data,p);null!==t&&QT(e,m,s,t)}return function(e,t,r,o){return e.dispatchResourceRequest(o).then(o=>{const{body:a}=o;return e.handleSuccessResponse(()=>QT(e,r,t,a),()=>{const e=new n.StoreKeyMap;return us(e,0,a),e})},e=>{throw n.deepFreeze(e),e})}(e,s,m,f)};function HT(e,t,r,o){const a=YT(t),i=function(e,t,r,n){if(void 0===n)return Yo(r);const[o,a]=function(e,t,r){const n=function(e){const{data:t}=e;if(void 0===t||!t.records)return 0;const r=t.records;for(let e=0;e<r.length;e++)if(void 0===r[e])return e;return r.length}(r);if(n>0){const r=function(e,t){const r=Ho(0,t),n={recordId:r,node:{kind:"Fragment",version:qn,private:[],selections:[{kind:"Link",name:"__metadata",fragment:{kind:"Fragment",version:kn,opaque:!0,private:[]}}]},variables:{}},o=e.storeLookup(n);if("Fulfilled"!==o.state)return;return o.data.__metadata}(e,t);if(void 0!==r){const{token:e,pageSize:o}=Xo(t),a=Ln(r,e);if(a<0)return[void 0,-1];const i=a+n,[s,c]=wn(r,i);if(void 0!==s)return[s,o-(c-a)]}}return[void 0,-1]}(e,r,n);if(void 0===o)return Yo(r);return Yo(YT({...t,pageSize:a,pageToken:o}))}(e,t,a,o);return e.dispatchResourceRequest(i,r).then(r=>{const{body:o}=r,i=o.sortBy;i&&"string"==typeof i&&(r.body.sortBy=i.split(","));return"__Recent"!==(o.listReference&&o.listReference.listViewApiName?o.listReference.listViewApiName:null)||i||(r.body.sortBy=[]),e.handleSuccessResponse(()=>function(e,t,r,n){const{body:o}=n,a=o.listReference;if(void 0!==a){const e={...a};e.id=o.listInfoETag,jo(e,aL,o.listReference.id),Mo(t,o,a,aL)}return function(e,t,r,n){const o=Zo(e,r,n,{config:t,resolve:()=>HT(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,r,n)}(e,t,a,r),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){Wn(e,t,n)}(t,e,0,r.body),t})},r=>e.handleErrorResponse(()=>function(e,t,r,n){const o=function(e,t,r,n){const o=Ho(0,t),a=e.errorSnapshot(r,n),i={ttl:On,namespace:ge,version:qn,representationName:Dn};return e.storeIngestError(o,a,i),a}(e,r,n,{config:t,resolve:()=>HT(e,t,le)});return e.storeBroadcast().then(()=>o)}(e,t,a,r)))}const JT="getListRecordsByName",ZT=[fe("listViewApiName",!0,0,0),fe("objectApiName",!0,0,0),fe("fields",!1,2,0,!0),fe("optionalFields",!1,2,0,!0),fe("pageSize",!1,2,3),fe("pageToken",!1,2,0),fe("searchTerm",!1,2,0),fe("sortBy",!1,2,0,!0),fe("where",!1,2,0)],XT=me(JT,ZT),YT=n.createResourceParams(ZT);function eL(e,t){return Ho(0,YT(t))}function tL(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,ZT),t}(e);return se(r,t)?r:null}function rL(e,t){return Jo(0,YT(t))}function nL(e,t){return n.buildNetworkSnapshotCachePolicy(e,t,HT,"get",!0)}function oL(e,t){const{luvio:r,config:n}=e,o=t({recordId:eL(0,n),node:rL(0,n),variables:{}},{config:n,resolve:()=>HT(r,n,le)});return pe(o)&&void 0!==o.data&&(e.cacheSnapshot=o),o}let aL;const iL=`${ge}__${JT}`,sL=e=>e.withContext(function(t,r,n){const o=tL(t,XT);return null===o?null:(function(e){$o=e}(r),function(e){aL=e}(r),e.applyCachePolicy(n||{},{adapterContext:r,config:o,luvio:e},oL,nL))},{contextId:iL});const cL="LookupValuesRepresentation";function lL(e,t){return ge+"::LookupValuesRepresentation:(dependentFieldBindings:"+t.queryParams.dependentFieldBindings+",page:"+t.queryParams.page+",pageSize:"+t.queryParams.pageSize+",q:"+t.queryParams.q+",searchType:"+t.queryParams.searchType+",sourceRecordId:"+t.queryParams.sourceRecordId+",targetApiName:"+t.queryParams.targetApiName+",fieldApiName:"+t.urlParams.fieldApiName+",objectApiName:"+t.urlParams.objectApiName+","+(void 0===t.body.sourceRecord?"sourceRecord":"sourceRecord:"+t.body.sourceRecord)+")"}function uL(e,t,r,n){!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:cL,mergeable:!1});const a=r.lookupResults,i=xe(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];Lt(e,t,a[n],()=>o+"__lookupResults__"+n)}}(e,t,n,()=>lL(0,r))}const dL=[fe("fieldApiName",!0,0,0,!1,De),fe("objectApiName",!0,0,0),fe("dependentFieldBindings",!1,1,0,!0),fe("page",!1,1,3),fe("pageSize",!1,1,3),fe("q",!1,1,0),fe("searchType",!1,1,0),fe("sourceRecordId",!1,1,0),fe("targetApiName",!1,1,0),fe("sourceRecord",!1,2,4)];function pL(e){const t={};n.typeCheckConfig(e,t,dL);const r=e.sourceRecord,o=function(e,t="RecordInputRepresentation"){const r=(()=>{if("object"!=typeof e||Ve(e)||null===e)return new TypeError('Expected "object" but received "'+typeof e+'" (at "'+t+'")');if(void 0!==e.allowSaveOnDuplicate){const r=e.allowSaveOnDuplicate;if("boolean"!=typeof r)return new TypeError('Expected "boolean" but received "'+typeof r+'" (at "'+t+'.allowSaveOnDuplicate")')}if(void 0!==e.apiName){const r=e.apiName;if("string"!=typeof r)return new TypeError('Expected "string" but received "'+typeof r+'" (at "'+t+'.apiName")')}const r=e.fields,n=t+".fields";if("object"!=typeof r||Ve(r)||null===r)return new TypeError('Expected "object" but received "'+typeof r+'" (at "'+n+'")');const o=xe(r);for(let e=0;e<o.length;e++){const t=o[e],a=r[t],i=n+'["'+t+'"]';let s=null;const c=(()=>{if("string"!=typeof a)return new TypeError('Expected "string" but received "'+typeof a+'" (at "'+i+'")')})();null!=c&&(s=c.message);let l=null;const u=(()=>{if("number"!=typeof a)return new TypeError('Expected "number" but received "'+typeof a+'" (at "'+i+'")')})();null!=u&&(l=u.message);let d=null;const p=(()=>{if(null!==a)return new TypeError('Expected "null" but received "'+typeof a+'" (at "'+i+'")')})();null!=p&&(d=p.message);let f=null;const m=(()=>{if("boolean"!=typeof a)return new TypeError('Expected "boolean" but received "'+typeof a+'" (at "'+i+'")')})();if(null!=m&&(f=m.message),s&&l&&d&&f){let e="Object doesn't match union (at \""+i+'")';return e+="\n"+s.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+l.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+d.split("\n").map(e=>"\t"+e).join("\n"),e+="\n"+f.split("\n").map(e=>"\t"+e).join("\n"),new TypeError(e)}}})();return void 0===r?null:r}(r);return null===o&&(t.sourceRecord=r),null===r&&(t.sourceRecord=r),t}const fL={displayName:"getLookupRecords",parameters:{required:["fieldApiName"],optional:["requestParams"]}};function mL(e){const t=function(e,t){if(!ie(e))return null;const r=pL(n.coerceConfig(e,dL));return se(r,t)?r:null}(e,fL);if(null===t)return t;const r=function(e){if(!ie(e))return{};const t={},r=e.requestParams||{},n=r.dependentFieldBindings;void 0!==n&&(t.dependentFieldBindings=n);const o=r.page;void 0!==o&&(t.page=o);const a=r.pageSize;void 0!==a&&(t.pageSize=a);const i=r.q;void 0!==i&&(t.q=i);const s=r.searchType;void 0!==s&&(t.searchType=s);const c=r.sourceRecordId;void 0!==c&&(t.sourceRecordId=c);const l=r.targetApiName;void 0!==l&&(t.targetApiName=l);const u=r.sourceRecord;return void 0!==u&&(t.sourceRecord=u),t}(e),{objectApiName:o,fieldApiName:a}=qe(t.fieldApiName);return{...t,objectApiName:o,fieldApiName:a,...r}}function gL(e){const{fields:t}=e;delete e.eTag,delete e.weakEtag,Object.keys(t).forEach(e=>{const{value:r}=t[e];or(r)&&gL(r)})}function yL(e,t,r){const{objectApiName:o,fieldApiName:a}=t,i={urlParams:{objectApiName:o,fieldApiName:a},queryParams:{page:t.page,pageSize:t.pageSize,q:t.q,searchType:t.searchType,dependentFieldBindings:t.dependentFieldBindings,sourceRecordId:t.sourceRecordId,targetApiName:t.targetApiName},body:{sourceRecord:t.sourceRecord}},s=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/lookups/"+e.urlParams.objectApiName+"/"+e.urlParams.fieldApiName,method:"post",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(i);return e.dispatchResourceRequest(s,r).then(t=>e.handleSuccessResponse(()=>{const e=lL(0,i),{body:r}=t;return Object.keys(r.lookupResults).map(e=>r.lookupResults[e].records).reduce((e,t)=>e.concat(t),[]).forEach(e=>gL(e)),n.deepFreeze(r),Promise.resolve({state:"Fulfilled",recordId:e,variables:{},seenRecords:new n.StoreKeySet,select:{recordId:e,node:{kind:"Fragment"},variables:{}},data:r})},()=>{const r=new n.StoreKeyMap;return uL(r,e,i,t.body),r}),t=>e.handleErrorResponse(()=>Promise.resolve(e.errorSnapshot(t))))}function hL(e,t){}function vL(e,t){const{networkPriority:r,requestCorrelator:n,eventObservers:o}=t,a={resourceRequestContext:{requestCorrelator:n},eventObservers:o};return"normal"!==r&&(a.overrides={priority:r}),yL(e.luvio,e.config,a)}const bL=e=>(t,r)=>{const n=mL(t);if(null===n)return null;const o={config:n,resolve:()=>yL(e,n)},a=e.applyCachePolicy(r||{},{config:n,luvio:e},hL,vL);return Ua(a)?a.then(e=>(e.refresh=o,e)):(a.refresh=o,a)};const PL=[fe("recordId",!0,0,0),fe("actionType",!0,2,0),fe("blueMasterId",!1,2,0),fe("externalId",!1,2,0),fe("photoUrl",!1,2,0),fe("profileName",!1,2,0)],SL=me("updateRecordAvatar",PL);function AL(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,PL),t}(e);return se(r,t)?r:null}const RL=e=>t=>{const r=AL(t,SL);if(null===r)throw new Error("updateRecordAvatar invalid configuration");const o=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-avatars/"+e.urlParams.recordId+"/association",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}({urlParams:{recordId:r.recordId},body:{externalId:r.externalId,blueMasterId:r.blueMasterId,profileName:r.profileName,photoUrl:r.photoUrl,actionType:r.actionType}});return e.dispatchResourceRequest(o).then(t=>{const{body:r}=t,o=GP(0,r);return e.handleSuccessResponse(()=>{let t;if("Theme"===r.type)t=VP,e.storeIngest(o,WP,r);else{if("Photo"!==r.type)throw new Error("Unsupported avatar type");t=qP,e.storeIngest(o,BP,r)}const n=e.storeLookup({recordId:o,node:t(),variables:{}});return e.storeBroadcast().then(()=>n)},()=>{const t=new n.StoreKeyMap;return ZP(t,e,r),t})},e=>{throw n.deepFreeze(e),e})},kL="809ada3563b00c364360826037620d7e",IL="RecordCreateDefaultRecordRepresentation";function CL(e,t,r,n,o,a){const i=e.childRelationships,s=r.fullPath+"__childRelationships",c=Object.keys(i),l=c.length;for(let u=0;u<l;u++){const l=c[u],d=i[l],p=s+"__"+l;i[l]=Tt(d,{fullPath:p,propertyName:l,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.fields,d=r.fullPath+"__fields",p=Object.keys(u),f=p.length;for(let i=0;i<f;i++){const s=p[i],c=u[s],l=d+"__"+s;u[s]=Pt(c,{fullPath:l,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}return e}function NL(e,t){if(e.weakEtag!==t.weakEtag)return!1;if(e.apiName!==t.apiName)return!1;if(e.eTag!==t.eTag)return!1;if(!1===Ke(e.childRelationships,t.childRelationships,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(!1===Ke(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;if(e.id!==t.id)return!1;if(e.lastModifiedById!==t.lastModifiedById)return!1;if(e.lastModifiedDate!==t.lastModifiedDate)return!1;if(e.recordTypeId!==t.recordTypeId)return!1;const r=e.recordTypeInfo,n=t.recordTypeInfo;if(!(r===n||null!=r&&null!=n&&mt(r,n)))return!1;return e.systemModstamp===t.systemModstamp}const TL="894a62b8f5de5535f2483fb2c3abca8e",LL="RecordDefaultsRepresentation";function FL(e,t,r,o,a,i){const s=e.layout,c=r.fullPath+"__layout";null!==s&&"object"==typeof s&&(e.layout=Yi(s,{fullPath:c,propertyName:"layout",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i));const l=e.objectInfos,u=r.fullPath+"__objectInfos",d=Object.keys(l),p=d.length;for(let n=0;n<p;n++){const s=d[n],c=l[s],p=u+"__"+s;l[s]=Ci(c,{fullPath:p,propertyName:s,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i)}const f=e.record,m=r.fullPath+"__record";return e.record=function(e,t,r,o,a){const i=t.fullPath,s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,CL,"UiApi",kL,IL,NL),Qe(i)}(f,{fullPath:m,propertyName:"record",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},o,a,i),e}function _L(e,t){const r=e.layout,n=t.layout;if(r!==n&&(null==r||null==n||null==r.__ref||null==n.__ref||r.__ref!==n.__ref))return!1;if(!1===Ke(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const o=e.record,a=t.record;return o.__ref===a.__ref}const EL=function(e,t,r,o,a){const i=t.fullPath;return n.ingestShape(e,t,r,o,a,9e5,i,FL,"UiApi",TL,LL,_L),Qe(i)};function wL(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:LL,mergeable:!1}),null!==r.layout&&"object"==typeof r.layout&&es(e,0,r.layout);const a=r.objectInfos,i=xe(a),s=i.length;for(let t=0;t<s;t++){Ni(e,0,a[i[t]])}!function(e,t,r,n){const o=n();e.set(o,{namespace:ge,representationName:IL,mergeable:!1});const a=r.childRelationships,i=xe(a),s=i.length;for(let r=0;r<s;r++){const n=i[r];Lt(e,t,a[n],()=>o+"__childRelationships__"+n)}const c=r.fields,l=xe(c),u=l.length;for(let r=0;r<u;r++){const n=l[r];St(e,t,c[n],()=>o+"__fields__"+n)}}(e,t,r.record,()=>o+"__record")}function jL(e,t){return ge+"::RecordDefaultsRepresentation:(formFactor:"+t.queryParams.formFactor+",optionalFields:"+t.queryParams.optionalFields+",recordTypeId:"+t.queryParams.recordTypeId+",objectApiName:"+t.urlParams.objectApiName+")"}const OL="getRecordCreateDefaults",qL=[fe("objectApiName",!0,0,0,!1,je),fe("formFactor",!1,1,0,!1,Qc),fe("optionalFields",!1,1,0,!0,Be),fe("recordTypeId",!1,1,0,!1,pt)],DL=me(OL,qL),BL=n.createResourceParams(qL);function xL(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,qL),t}(n.coerceConfig(e,qL));return se(r,t)?r:null}const ML=`${ge}__${OL}`,UL=Zi(),VL=ki();function zL(e){const t=sr(e.record);return[{kind:"Link",name:"layout",nullable:!0,fragment:UL},{kind:"Link",name:"objectInfos",map:!0,fragment:VL},{kind:"Link",name:"record",fragment:{kind:"Fragment",private:[],selections:t,version:kL}}]}function WL(e,t,r){return{config:r,resolve:()=>KL(e,t,r)}}function KL(e,t,r,o){const a=BL(r),i=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-defaults/create/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}(a),s=jL(0,a),c=QL(e,r);return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>{const{body:n}=o,a={recordId:s,node:{kind:"Fragment",private:[],version:TL,selections:zL(n)},variables:{}};t.set(c,a),e.storeIngest(s,EL,n);const i=e.storeLookup(a,WL(e,t,r));return e.storeBroadcast().then(()=>i)},()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){wL(e,t,n,()=>jL(0,r))}(t,e,a,o.body),t}),n=>e.handleErrorResponse(()=>{const o=e.errorSnapshot(n,WL(e,t,r));return e.storeIngestError(s,o),e.storeBroadcast().then(()=>o)}))}function QL(e,t){return`${jL(0,BL(t))}__selector`}function GL(e,t){const{luvio:r,config:n,cachedSelector:o,adapterContext:a}=e;return void 0===o?void 0:t(o,WL(r,a,n))}function $L(e,t){const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),KL(o,n,r,l)}const HL=e=>e.withContext(function(t,r,n){const o=function(e){const t=xL(e,DL);if(null===t)return null;let r=t.formFactor;if(void 0===r){if(void 0!==e.formFactor)return null;r=Kc.Large}const n=void 0===t.recordTypeId?Vt:t.recordTypeId,o=void 0===t.optionalFields?[]:t.optionalFields;return{...t,formFactor:r,recordTypeId:n,optionalFields:o}}(t);if(null===o)return null;const a=QL(0,o),i=r.get(a);return e.applyCachePolicy(n||{},{luvio:e,config:o,adapterContext:r,cachedSelector:i},GL,$L)},{contextId:ML}),JL=1e3,ZL="6a63c9ca6dda2e125d94e004f83240d8",XL="RecordTemplateCloneRepresentation";function YL(e,t){return ge+"::"+XL+":"+t.cloneSourceId+":"+(null===t.recordTypeId?"":t.recordTypeId)}function eF(e,t){return YL(0,{cloneSourceId:t.cloneSourceId,recordTypeId:t.recordTypeId})}const tF=function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:vt()}:e.fields;return{kind:"Fragment",version:ZL,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"cloneSourceId",kind:"Scalar"},t,{name:"recordTypeId",kind:"Scalar"}]}};function rF(e,t){if(e.apiName!==t.apiName)return!1;if(e.cloneSourceId!==t.cloneSourceId)return!1;if(!1===Ke(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.recordTypeId===t.recordTypeId}function nF(e){return function(t,r,o,a,i){const s=eF(0,t),c=JL;return n.ingestShape(t,r,o,a,i,c,s,function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e),"UiApi",ZL,XL,rF),Qe(s)}}const oF=1e3,aF="b352a734f919895e97682703b486b649",iF="RecordDefaultsTemplateCloneRepresentation";function sF(e,t){return ge+"::"+iF+":"+t.cloneSourceId+":"+(null===t.recordTypeId?"":t.recordTypeId)}function cF(e,t){return sF(0,{cloneSourceId:t.record.cloneSourceId,recordTypeId:t.record.recordTypeId})}const lF=function(e){const t=void 0===e.objectInfos?{name:"objectInfos",kind:"Link",map:!0,fragment:ki()}:e.objectInfos,r=void 0===e.record?{name:"record",kind:"Link",fragment:{kind:"Fragment",version:ZL,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"cloneSourceId",kind:"Scalar"},{name:"fields",kind:"Link",map:!0,fragment:vt()},{name:"recordTypeId",kind:"Scalar"}]}}:e.record;return{kind:"Fragment",version:aF,private:[],selections:[t,r]}};function uF(e,t){if(!1===Ke(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const r=e.record,n=t.record;return r.__ref===n.__ref}function dF(e,t,r,n){const o=cF(0,r);e.set(o,{namespace:ge,representationName:iF,mergeable:!1});const a=r.objectInfos,i=xe(a),s=i.length;for(let t=0;t<s;t++){Ni(e,0,a[i[t]])}!function(e,t,r){const n=eF(0,r);e.set(n,{namespace:ge,representationName:XL,mergeable:!1});const o=r.fields,a=xe(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];St(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,r.record)}function pF(e){return function(t,r,o,a,i){const s=cF(0,t),c=oF;return n.ingestShape(t,r,o,a,i,c,s,function(e){return function(t,r,n,o,a,i){const s=t.objectInfos,c=n.fullPath+"__objectInfos",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.objectInfos(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}const d=t.record,p=n.fullPath+"__record";return t.record=e.record(d,{fullPath:p,propertyName:"record",parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i),t}}(e),"UiApi",aF,iF,uF),Qe(s)}}function fF(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=nF({fields:Vr(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return Cr(r.getNode(s.__ref),vr(n)),s}}function mF(e){return tF({fields:Zt("fields",e)})}function gF(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=pF({objectInfos:Ci,record:fF(e)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return Cr(r.getNode(s.__ref),vr(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);An(a,r);return Cr(a.getNode(c.__ref),vr(t)),c}}function yF(e,t){return function(e){return lF({record:{kind:"Link",name:"record",fragment:mF(e)}})}(Jt([],t.queryParams.optionalFields||[]))}const hF=(e,t)=>{let{optionalFields:r}=t.queryParams;return r=void 0===r?[".CloneSourceId"]:[...r,".CloneSourceId"],yF(0,{...t,queryParams:{...t.queryParams,optionalFields:r}})};function vF(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-defaults/template/clone/"+e.urlParams.recordId,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}const bF="getRecordTemplateClone",PF=[fe("recordId",!0,0,0,!1,pt),fe("optionalFields",!1,1,0,!0,Be),fe("recordTypeId",!1,1,0)],SF=me(bF,PF),AF=n.createResourceParams(PF);function RF(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,PF),t}(n.coerceConfig(e,PF));return se(r,t)?r:null}const kF=`${ge}__${bF}`,IF="defaultRecordTypeId",CF={ttl:oF,representationName:"",namespace:ge,version:"RECORD_TEMPLATE_CLONE_ERROR_VERSION_1"};function NF(e,t){const{recordTypeId:r}=e;if(null!=r)return r;const n=t.get(IF);return null!=n?n:void 0}const TF=(e,t,r,o)=>{const a=AF(r),i=NF(r,t),{recordId:s}=r,c=vF(a),l=YL(0,{cloneSourceId:s,recordTypeId:void 0===i?null:i}),u=void 0===i?c:vF({...a,queryParams:{...c.queryParams,optionalFields:kr(l,e.getNode(l),{maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},r.optionalFields)}});return e.dispatchResourceRequest(u,o).then(o=>e.handleSuccessResponse(()=>{const{body:n}=o,i=cF(0,n),s=n.record.recordTypeId,c=n.record.apiName;!function(e,t){e.set(IF,t.defaultRecordTypeId)}(t,n.objectInfos[c]);const l=Sr(a.queryParams.optionalFields);e.storeIngest(i,gF({fields:Pr,optionalFields:l,trackedFields:l,serverRequestCount:1}),n);const u=LF(e,t,{...r,recordTypeId:s});return e.storeBroadcast().then(()=>u)},()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){dF(e,t,n)}(t,e,0,o.body),t}),n=>e.handleErrorResponse(()=>{const o=sF(0,{cloneSourceId:r.recordId,recordTypeId:r.recordTypeId||null}),a=e.errorSnapshot(n,{config:r,resolve:()=>TF(e,t,r,le)});return e.storeIngestError(o,a,CF),Promise.resolve(a)}))},LF=(e,t,r)=>{const n=AF(r),o={recordId:sF(0,{cloneSourceId:r.recordId,recordTypeId:r.recordTypeId||null}),node:hF(0,n),variables:{}};return e.storeLookup(o,{config:r,resolve:()=>TF(e,t,r,le)})};function FF(e,t){const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),TF(o,n,r,l)}function _F(e,t){const{adapterContext:r,config:n,luvio:o,recordTypeId:a}=e,i={...n,recordTypeId:a},s=AF(i);return t({recordId:sF(0,{cloneSourceId:i.recordId,recordTypeId:i.recordTypeId||null}),node:hF(0,s),variables:{}},{config:n,resolve:()=>TF(o,r,i,le)})}const EF=e=>e.withContext(function(t,r,n){const o=RF(t,SF);if(null===o)return null;const a=NF(o,r);return e.applyCachePolicy(n||{},{luvio:e,config:o,recordTypeId:a,adapterContext:r},_F,FF)},{contextId:kF}),wF=3e4,jF="665de0fdde39efd6f1098e374117ef58",OF="RecordTemplateCreateRepresentation";function qF(e,t){return ge+"::"+OF+":"+t.apiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function DF(e,t){return qF(0,{apiName:t.apiName,recordTypeId:t.recordTypeId})}const BF=function(e){const t=void 0===e.fields?{name:"fields",kind:"Link",map:!0,fragment:vt()}:e.fields;return{kind:"Fragment",version:jF,private:[],selections:[{name:"apiName",kind:"Scalar"},t,{name:"recordTypeId",kind:"Scalar"}]}};function xF(e,t){if(e.apiName!==t.apiName)return!1;if(!1===Ke(e.fields,t.fields,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;return e.recordTypeId===t.recordTypeId}function MF(e){return function(t,r,o,a,i){const s=DF(0,t),c=wF;return n.ingestShape(t,r,o,a,i,c,s,function(e){return function(t,r,n,o,a,i){const s=t.fields,c=n.fullPath+"__fields",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.fields(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}return t}}(e),"UiApi",jF,OF,xF),Qe(s)}}const UF=9e5,VF="30493e7ac0677e35242026bb959c079e",zF="RecordDefaultsTemplateCreateRepresentation";function WF(e,t){return ge+"::"+zF+":"+t.objectApiName+":"+(null===t.recordTypeId?"":t.recordTypeId)}function KF(e,t){return WF(0,{objectApiName:t.record.apiName,recordTypeId:t.record.recordTypeId})}const QF=function(e){const t=void 0===e.objectInfos?{name:"objectInfos",kind:"Link",map:!0,fragment:ki()}:e.objectInfos,r=void 0===e.record?{name:"record",kind:"Link",fragment:{kind:"Fragment",version:jF,private:[],selections:[{name:"apiName",kind:"Scalar"},{name:"fields",kind:"Link",map:!0,fragment:vt()},{name:"recordTypeId",kind:"Scalar"}]}}:e.record;return{kind:"Fragment",version:VF,private:[],selections:[t,r]}};function GF(e,t){if(!1===Ke(e.objectInfos,t.objectInfos,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const r=e.record,n=t.record;return r.__ref===n.__ref}function $F(e,t,r,n){const o=KF(0,r);e.set(o,{namespace:ge,representationName:zF,mergeable:!1});const a=r.objectInfos,i=xe(a),s=i.length;for(let t=0;t<s;t++){Ni(e,0,a[i[t]])}!function(e,t,r){const n=DF(0,r);e.set(n,{namespace:ge,representationName:OF,mergeable:!1});const o=r.fields,a=xe(o),i=a.length;for(let r=0;r<i;r++){const i=a[r];St(e,t,o[i],()=>n+"__fields__"+i)}}(e,t,r.record)}function HF(e){return function(t,r,o,a,i){const s=KF(0,t),c=UF;return n.ingestShape(t,r,o,a,i,c,s,function(e){return function(t,r,n,o,a,i){const s=t.objectInfos,c=n.fullPath+"__objectInfos",l=Object.keys(s),u=l.length;for(let d=0;d<u;d++){const u=l[d],p=s[u],f=c+"__"+u;s[u]=e.objectInfos(p,{fullPath:f,propertyName:u,parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i)}const d=t.record,p=n.fullPath+"__record";return t.record=e.record(d,{fullPath:p,propertyName:"record",parent:{data:t,key:n.fullPath,existing:r},ttl:n.ttl},o,a,i),t}}(e),"UiApi",VF,zF,GF),Qe(s)}}function JF(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=MF({fields:Vr(t,r,o)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return Cr(r.getNode(s.__ref),vr(n)),s}}function ZF(e){return BF({fields:Zt("fields",e)})}function XF(e){const{trackedFields:t}=e,r={conflicts:{},serverRequestCount:1},n=function(e){const{fields:t,optionalFields:r,trackedFields:n,recordConflictMap:o}=e,a=HF({objectInfos:Ci,record:JF(e)});return(e,t,r,o,i)=>{const s=a(e,t,r,o,i);return Cr(r.getNode(s.__ref),vr(n)),s}}({...e,recordConflictMap:r});return(e,o,a,i,s)=>{const c=n(e,o,a,i,s);An(a,r);return Cr(a.getNode(c.__ref),vr(t)),c}}function YF(e,t){return function(e){return QF({record:{kind:"Link",name:"record",fragment:ZF(e)}})}(Jt([],t.queryParams.optionalFields||[]))}function e_(e,t){return WF(0,{objectApiName:t.urlParams.objectApiName,recordTypeId:t.queryParams.recordTypeId||null})}function t_(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/record-defaults/template/create/"+e.urlParams.objectApiName,method:"get",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:{},priority:"normal"}}function r_(e,t){return YF(0,i_(t))}const n_="getRecordTemplateCreate",o_=[fe("objectApiName",!0,0,0,!1,je),fe("optionalFields",!1,1,0,!0,Be),fe("recordTypeId",!1,1,0)],a_=me(n_,o_),i_=n.createResourceParams(o_);function s_(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,o_),t}(n.coerceConfig(e,o_));return se(r,t)?r:null}const c_=`${ge}__${n_}`;function l_(e,t,r){return{config:r,resolve:()=>m_(e,t,r,le)}}function u_(e){return`DEFAULTS::recordTypeId:${e}`}function d_(e,t){const r=i_(t),{recordTypeId:n}=r.queryParams;if(null!=n)return n;const o=e.get(u_(r.urlParams.objectApiName));return null!=o?o:void 0}function p_(e,t,r,n,o,a){const{urlParams:{objectApiName:i},queryParams:{optionalFields:s}}=a,{body:c}=o,l=KF(0,c),u=c.record.recordTypeId,d=c.objectInfos[i].defaultRecordTypeId;t.set(u_(i),d);const p=qF(0,{apiName:i,recordTypeId:u}),f=kr(p,e.getNode(p),{maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},s),m=Sr(f,!0),g=XF({fields:Pr,optionalFields:m,trackedFields:m,serverRequestCount:1});e.storeIngest(l,g,c);const y=function(e,t,r){const n=i_(r),o={recordId:e_(0,n),node:r_(0,r),variables:{}};return e.storeLookup(o,l_(e,t,r))}(e,t,{...r,recordTypeId:u});return e.storeBroadcast().then(()=>y)}function f_(e,t,r,n,o){const a=function(e,t,r,n){const o=e_(0,t),a=e.errorSnapshot(r,n),i={ttl:UF,namespace:ge,version:VF,representationName:zF};return e.storeIngestError(o,a,i),a}(e,n,o,l_(e,t,r));return e.storeBroadcast().then(()=>a)}function m_(e,t,r,o){const a=i_(r),i=function(e,t,r){const n=i_(r),o=d_(t,r),{objectApiName:a}=r,i=t_(n);if(void 0===o)return i;const s=qF(0,{apiName:a,recordTypeId:o});return t_({...n,queryParams:{...i.queryParams,optionalFields:kr(s,e.getNode(s),{maxDepth:Q.getTrackedFieldDepthOnCacheMiss(),onlyFetchLeafNodeIdAndName:Q.getTrackedFieldLeafNodeIdAndNameOnly()},r.optionalFields)}})}(e,t,r);return e.dispatchResourceRequest(i,o).then(o=>e.handleSuccessResponse(()=>p_(e,t,r,0,o,a),()=>{const t=new n.StoreKeyMap;return function(e,t,r,n){$F(e,t,n)}(t,e,0,o.body),t}),n=>e.handleErrorResponse(()=>f_(e,t,r,a,n)))}const g_=(e,t)=>{const{config:r,adapterContext:n,luvio:o}=e,{networkPriority:a,requestCorrelator:i,eventObservers:s,sourceContext:c}=t,l={resourceRequestContext:{requestCorrelator:i,sourceContext:c},eventObservers:s};return"normal"!==a&&(l.overrides={priority:a}),m_(o,n,r,l)},y_=(e,t)=>{const{adapterContext:r,config:n,luvio:o,recordTypeId:a}=e,i={...n,recordTypeId:a};return t({recordId:e_(0,i_(i)),node:r_(0,n),variables:{}},l_(o,r,n))},h_=e=>e.withContext(function(t,r,n){const o=s_(t,a_);if(null===o)return null;const a=d_(r,o);return e.applyCachePolicy(n||{},{luvio:e,config:o,recordTypeId:a,adapterContext:r},y_,g_)},{contextId:c_});const v_=[fe("handleOwnerChange",!1,1,1),fe("includeFieldsInBody",!1,1,1),fe("triggerOtherEmail",!1,1,1),fe("triggerUserEmail",!1,1,1),fe("useDefaultRule",!1,1,1),fe("allowSaveOnDuplicate",!1,2,1),fe("apiName",!1,2,0),fe("fields",!0,2,4)],b_=n.createResourceParams(v_);function P_(e,t){const r=b_(t),o=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records",method:"post",body:e.body,urlParams:{},queryParams:e.queryParams,headers:{},priority:"normal"}}(r),a={conflicts:{},serverRequestCount:1},i=Wr(Pr,Pr,a);return e.dispatchResourceRequest(o).then(t=>e.handleSuccessResponse(()=>function(e,t,r,o){const{body:a,status:i}=t;if(i===n.HttpStatusCode.NoContent){const t={state:"Fulfilled",data:{}};return e.storeBroadcast().then(()=>t)}const s=sr(a),c=qt(0,{recordId:a.id});e.storeIngest(c,r,a),An(e,o);const l=e.storeLookup({recordId:c,node:{kind:"Fragment",private:[],selections:s,version:jt},variables:{}});return e.storeBroadcast().then(()=>l)}(e,t,i,a),()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){At(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const S_=e=>function(t){const r=t,n=Q.getDraftAwareCreateRecordAdapter();return void 0!==n?n(r,P_):P_(e,r)};function A_(e,t){return qt(0,{recordId:t.urlParams.recordId})}const R_="deleteRecord",k_=[fe("recordId",!0,0,0,!1,pt)],I_=me(R_,k_),C_=n.createResourceParams(k_);function N_(e,t){if(!ie(e))return null;const r=function(e){const t={};return n.typeCheckConfig(e,t,k_),t}(n.coerceConfig(e,k_));return se(r,t)?r:null}function T_(e,t,r){const o=C_(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"delete",body:null,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(()=>e.handleSuccessResponse(()=>(function(e,t){const r=A_(0,t);e.storeEvict(r)}(e,o),e.storeBroadcast()),()=>{const e=new n.StoreKeyMap;return function(e,t,r){const n=A_(0,r);e.set(n,{namespace:ge,representationName:Ot,mergeable:!1})}(e,0,o),e}),e=>{throw n.deepFreeze(e),e})}const L_=e=>{const t=(e=>function(t){const r=N_(t,I_);if(null===r)throw new Error(`Invalid config for "${R_}"`);return T_(e,r)})(e);return e=>{const r={recordId:e},n=Q.getDraftAwareDeleteRecordAdapter();return void 0!==n?n(r,T_):t(r)}};const F_=[fe("recordId",!0,0,0,!1,pt),fe("handleOwnerChange",!1,1,1),fe("triggerOtherEmail",!1,1,1),fe("triggerUserEmail",!1,1,1),fe("useDefaultRule",!1,1,1),fe("allowSaveOnDuplicate",!1,2,1),fe("apiName",!1,2,0),fe("fields",!0,2,4),fe("ifUnmodifiedSince",!1,3,0)],__=me("updateRecord",F_),E_=n.createResourceParams(F_);function w_(e,t){if(!ie(e))return null;const r=function(e){const t={};n.typeCheckConfig(e,t,F_);const r=e.fields;if(ie(r)){const e={},n=Object.keys(r);for(let t=0,o=n.length;t<o;t++){const o=n[t],a=r[o];"string"==typeof a&&void 0!==e&&(e[o]=a),"number"==typeof a&&void 0!==e&&(e[o]=a),null===a&&void 0!==e&&(e[o]=a),"boolean"==typeof a&&void 0!==e&&(e[o]=a)}void 0!==e&&Object.keys(e).length>=0&&(t.fields=e)}return t}(n.coerceConfig(e,F_));return se(r,t)?r:null}const j_=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/;function O_(e,t,r){const{recordId:o}=t,a=function(e){const t={};if(ie(e)&&"string"==typeof e.ifUnmodifiedSince&&(t.ifUnmodifiedSince=e.ifUnmodifiedSince,t.ifUnmodifiedSince.match(j_))){const e=new Date(t.ifUnmodifiedSince).toUTCString();"Invalid Date"!==e&&(t.ifUnmodifiedSince=e)}return t}(r),i=E_({...t,...a}),s=function(e){const t={},r=e.headers.ifUnmodifiedSince;return void 0!==r&&(t["If-Unmodified-Since"]=r),{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/"+e.urlParams.recordId,method:"patch",body:e.body,urlParams:e.urlParams,queryParams:e.queryParams,headers:t,priority:"normal"}}(i),c={conflicts:{},serverRequestCount:0},l=Wr(Pr,Pr,c);return e.dispatchResourceRequest(s).then(t=>e.handleSuccessResponse(()=>{if(t.status===n.HttpStatusCode.NoContent){const t={state:"Fulfilled",data:{}};return e.storeEvict(qt(0,{recordId:o})),e.storeBroadcast().then(()=>t)}const r=wr(e,t,o,l,c);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return function(e,t,r,n){At(e,t,n)}(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const q_=e=>(t,r)=>{let n=null;if(ie(t)&&ie(t.fields)&&(n=w_({recordId:t.fields.Id,...t},__)),null===n)throw new Error("Invalid recordInput");const o=Q.getDraftAwareUpdateRecordAdapter();return void 0!==o?o(n,O_):O_(e,n,r)},D_="5f97eb4f2c3f805ef9d98ba7f0530b3e",B_="ContentDocumentCompositeRepresentation";function x_(e,t){return ge+"::"+B_+":"+t.contentDocumentId}function M_(e,t){return x_(0,{contentDocumentId:t.contentDocument.id})}function U_(e,t,r,n,o,a){const i=e.contentDocument,s=r.fullPath+"__contentDocument";e.contentDocument=Rn(i,{fullPath:s,propertyName:"contentDocument",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a);const c=e.contentDocumentLinks,l=r.fullPath+"__contentDocumentLinks";for(let i=0;i<c.length;i++){const s=c[i];let u=l+"__"+i;c[i]=Rn(s,{fullPath:u,propertyName:i,parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a)}const u=e.contentVersion,d=r.fullPath+"__contentVersion";return e.contentVersion=Rn(u,{fullPath:d,propertyName:"contentVersion",parent:{data:e,key:r.fullPath,existing:t},ttl:r.ttl},n,o,a),e}function V_(e,t){const r=e.contentDocument,n=t.contentDocument;if(r.__ref!==n.__ref)return!1;if(!1===We(e.contentDocumentLinks,t.contentDocumentLinks,(e,t)=>{if(e.__ref!==t.__ref)return!1}))return!1;const o=e.contentVersion,a=t.contentVersion;return o.__ref===a.__ref}const z_=function(e,t,r,o,a){const i=M_(0,e),s=void 0!==t.ttl?t.ttl:2592e6;return n.ingestShape(e,t,r,o,a,s,i,U_,"UiApi",D_,B_,V_),Qe(i)};function W_(e,t,r,n){!function(e,t,r){const n=M_(0,r);e.set(n,{namespace:ge,representationName:B_,mergeable:!1}),At(e,t,r.contentDocument);const o=r.contentDocumentLinks.length;for(let n=0;n<o;n++)At(e,t,r.contentDocumentLinks[n]);At(e,t,r.contentVersion)}(e,t,n)}const K_=function(e){return{kind:"Fragment",private:[],version:D_,selections:[{name:"contentDocument",kind:"Link",fragment:{kind:"Fragment",private:[],version:jt,selections:sr(e.contentDocument)}},{name:"contentDocumentLinks",kind:"Link",plural:!0,fragment:{kind:"Fragment",private:[],version:jt,selections:sr(e.contentDocumentLinks[0]||{fields:{}})}},{name:"contentVersion",kind:"Link",fragment:{kind:"Fragment",private:[],version:jt,selections:sr(e.contentVersion)}}]}};function Q_(e,t,r){const o=function(e){const{fileData:t,title:r,description:n,contentDocumentId:o}=e,a={namedEntries:[{name:"fileData",value:t}]};return void 0!==r&&a.namedEntries.push({name:"title",value:r}),void 0!==n&&a.namedEntries.push({name:"description",value:n}),{urlParams:{contentDocumentId:o},body:a}}(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/content-documents/"+e.urlParams.contentDocumentId+"/content-versions",method:"post",body:e.body,urlParams:e.urlParams,queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:n}=r,o=M_(0,n),a=K_(n);return e.storeIngest(o,z_,n),e.storeLookup({recordId:o,node:a,variables:{}})}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return W_(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}function G_(e,t,r){const o=function(e){const{fileData:t,title:r,description:n}=e,o={namedEntries:[{name:"fileData",value:t}]};return void 0!==r&&o.namedEntries.push({name:"title",value:r}),void 0!==n&&o.namedEntries.push({name:"description",value:n}),{body:o}}(t),a=function(e){return{baseUri:"/services/data/v62.0",basePath:"/ui-api/records/content-documents/content-versions",method:"post",body:e.body,urlParams:{},queryParams:{},headers:{},priority:"normal"}}(o);return e.dispatchResourceRequest(a,r).then(t=>e.handleSuccessResponse(()=>{const r=function(e,t,r){const{body:n}=r,o=M_(0,n),a=K_(n);return e.storeIngest(o,z_,n),e.storeLookup({recordId:o,node:a,variables:{}})}(e,0,t);return e.storeBroadcast().then(()=>r)},()=>{const r=new n.StoreKeyMap;return W_(r,e,0,t.body),r}),e=>{throw n.deepFreeze(e),e})}const $_=[fe("description",!1,2,0),fe("title",!1,2,0)];const H_={displayName:"createContentDocumentAndVersion",parameters:{required:["fileData"],optional:["description","title"]}};function J_(e){const t=function(e){const t={};return n.typeCheckConfig(e,t,$_),t}(e),r=e.fileData;return void 0!==r&&r instanceof Object&&(t.fileData=r),t}const Z_=e=>function(t,r){let o=function(e,t){if(!ie(e))return null;const r=J_(e);return se(r,t)?r:null}(t,H_);if(null===o)throw new Error('Invalid config for "createContentDocumentAndVersion"');const a=Q.getDraftAwareCreateContentDocumentAndVersionAdapter();return void 0!==a?a(o,G_,r):G_(e,o,function(e){let t;if(void 0!==e){const r=n.coerceAdapterRequestContext(e),{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=r;t={resourceRequestContext:{requestCorrelator:a,sourceContext:s,luvioRequestMethod:void 0},eventObservers:i},"normal"!==o&&(t.overrides={priority:o})}return t}(r))};const X_=[fe("contentDocumentId",!0,0,0),fe("description",!1,2,0),fe("title",!1,2,0)];const Y_={displayName:"createContentVersion",parameters:{required:["contentDocumentId","fileData"],optional:["description","title"]}};function eE(e){const t=function(e){const t={};return n.typeCheckConfig(e,t,X_),t}(e),r=e.fileData;return void 0!==r&&r instanceof Object&&(t.fileData=r),t}const tE=e=>function(t,r){const o=function(e,t){if(!ie(e))return null;const r=eE(e);return se(r,t)?r:null}(t,Y_);if(null===o)throw new Error('Invalid config for "createContentVersion"');const a=Q.getDraftAwareCreateContentVersionAdapter();return void 0!==a?a(o,Q_,r):Q_(e,o,function(e){let t;if(void 0!==e){const r=n.coerceAdapterRequestContext(e),{networkPriority:o,requestCorrelator:a,eventObservers:i,sourceContext:s}=r;t={resourceRequestContext:{requestCorrelator:a,sourceContext:s,luvioRequestMethod:void 0},eventObservers:i},"normal"!==o&&(t.overrides={priority:o})}return t}(r))};const rE=["namespace","representationName","id"];!function(e){const{id:t}=e;$.has(t)||(r.register(e),$.add(t))}({id:"@salesforce/lds-adapters-uiapi",configuration:{...Q,...G,...W},instrument:J}),e.createContentDocumentAndVersion=void 0,e.createContentVersion=void 0,e.createListInfo=void 0,e.createRecord=void 0,e.deleteListInfo=void 0,e.deleteRecord=void 0,e.executeBatchRecordOperations=void 0,e.getActionOverrides=void 0,e.getAllApps=void 0,e.getAppDetails=void 0,e.getDuplicateConfiguration=void 0,e.getDuplicates=void 0,e.getFlexipageFormulaOverrides=void 0,e.getGlobalActions=void 0,e.getKeywordSearchResults=void 0,e.getLayout=void 0,e.getLayoutUserState=void 0,e.getListInfoByName=void 0,e.getListInfosByName=void 0,e.getListInfosByObjectName=void 0,e.getListObjectInfo=void 0,e.getListPreferences=void 0,e.getListRecordsByName=void 0,e.getListUi=void 0,e.getLookupActions=void 0,e.getLookupMetadata=void 0,e.getLookupRecords=void 0,e.getNavItems=void 0,e.getObjectCreateActions=void 0,e.getObjectInfo=void 0,e.getObjectInfos=void 0,e.getPathLayout=void 0,e.getPicklistValues=void 0,e.getPicklistValuesByRecordType=void 0,e.getQuickActionDefaults=void 0,e.getQuickActionInfo=void 0,e.getQuickActionLayout=void 0,e.getRecord=void 0,e.getRecordActions=void 0,e.getRecordAvatars=void 0,e.getRecordCreateDefaults=void 0,e.getRecordEditActions=void 0,e.getRecordTemplateClone=void 0,e.getRecordTemplateCreate=void 0,e.getRecordUi=void 0,e.getRecords=void 0,e.getRelatedListActions=void 0,e.getRelatedListCount=void 0,e.getRelatedListInfo=void 0,e.getRelatedListInfoBatch=void 0,e.getRelatedListPreferences=void 0,e.getRelatedListPreferencesBatch=void 0,e.getRelatedListRecordActions=void 0,e.getRelatedListRecords=void 0,e.getRelatedListRecordsBatch=void 0,e.getRelatedListsActions=void 0,e.getRelatedListsCount=void 0,e.getRelatedListsInfo=void 0,e.getSearchFilterMetadata=void 0,e.getSearchFilterOptions=void 0,e.getSearchResults=void 0,e.performQuickAction=void 0,e.performUpdateRecordQuickAction=void 0,e.updateListInfoByName=void 0,e.updateListPreferences=void 0,e.updateRecord=void 0,e.updateRecordAvatar=void 0,e.getActionOverrides_imperative=void 0,e.getAllApps_imperative=void 0,e.getAppDetails_imperative=void 0,e.getDuplicateConfiguration_imperative=void 0,e.getDuplicates_imperative=void 0,e.getFlexipageFormulaOverrides_imperative=void 0,e.getGlobalActions_imperative=void 0,e.getKeywordSearchResults_imperative=void 0,e.getLayout_imperative=void 0,e.getLayoutUserState_imperative=void 0,e.getListInfoByName_imperative=void 0,e.getListInfosByName_imperative=void 0,e.getListInfosByObjectName_imperative=void 0,e.getListObjectInfo_imperative=void 0,e.getListPreferences_imperative=void 0,e.getListRecordsByName_imperative=void 0,e.getListUi_imperative=void 0,e.getLookupActions_imperative=void 0,e.getLookupMetadata_imperative=void 0,e.getLookupRecords_imperative=void 0,e.getNavItems_imperative=void 0,e.getObjectCreateActions_imperative=void 0,e.getObjectInfo_imperative=void 0,e.getObjectInfos_imperative=void 0,e.getPathLayout_imperative=void 0,e.getPicklistValues_imperative=void 0,e.getPicklistValuesByRecordType_imperative=void 0,e.getQuickActionDefaults_imperative=void 0,e.getQuickActionInfo_imperative=void 0,e.getQuickActionLayout_imperative=void 0,e.getRecord_imperative=void 0,e.getRecordActions_imperative=void 0,e.getRecordAvatars_imperative=void 0,e.getRecordCreateDefaults_imperative=void 0,e.getRecordEditActions_imperative=void 0,e.getRecordTemplateClone_imperative=void 0,e.getRecordTemplateCreate_imperative=void 0,e.getRecordUi_imperative=void 0,e.getRecords_imperative=void 0,e.getRelatedListActions_imperative=void 0,e.getRelatedListCount_imperative=void 0,e.getRelatedListInfo_imperative=void 0,e.getRelatedListInfoBatch_imperative=void 0,e.getRelatedListPreferences_imperative=void 0,e.getRelatedListPreferencesBatch_imperative=void 0,e.getRelatedListRecordActions_imperative=void 0,e.getRelatedListRecords_imperative=void 0,e.getRelatedListRecordsBatch_imperative=void 0,e.getRelatedListsActions_imperative=void 0,e.getRelatedListsCount_imperative=void 0,e.getRelatedListsInfo_imperative=void 0,e.getSearchFilterMetadata_imperative=void 0,e.getSearchFilterOptions_imperative=void 0,e.getSearchResults_imperative=void 0;const nE={apiFamily:ge,name:Uu},oE={apiFamily:ge,name:gm,ttl:3e5},aE={apiFamily:ge,name:Fm,ttl:3e5},iE={apiFamily:ge,name:Ym,ttl:9e5},sE={apiFamily:ge,name:PP,ttl:3e4},cE={apiFamily:ge,name:ud,ttl:3e5},lE={apiFamily:ge,name:hl,ttl:3e5},uE={apiFamily:ge,name:aT,ttl:200},dE={apiFamily:ge,name:"getLayout",ttl:9e5},pE={apiFamily:ge,name:"getLayoutUserState",ttl:9e5},fE={apiFamily:ge,name:qy,ttl:9e5},mE={apiFamily:ge,name:Vg},gE={apiFamily:ge,name:ay},yE={apiFamily:ge,name:ph,ttl:9e5},hE={apiFamily:ge,name:Dh,ttl:9e5},vE={apiFamily:ge,name:"getListRecordsByName",ttl:3e4},bE={apiFamily:ge,name:"getListUi",ttl:9e5},PE={apiFamily:ge,name:ou,ttl:3e5},SE={apiFamily:ge,name:iN,ttl:3e4},AE={apiFamily:ge,name:"getLookupRecords"},RE={apiFamily:ge,name:mv,ttl:12e4},kE={apiFamily:ge,name:bu,ttl:3e5},IE={apiFamily:ge,name:wi,ttl:9e5},CE={apiFamily:ge,name:Kv},NE={apiFamily:ge,name:Zb,ttl:9e5},TE={apiFamily:ge,name:"getPicklistValues",ttl:9e5},LE={apiFamily:ge,name:Ib,ttl:3e5},FE={apiFamily:ge,name:rp,ttl:9e5},_E={apiFamily:ge,name:Od,ttl:9e5},EE={apiFamily:ge,name:Vl,ttl:9e5},wE={apiFamily:ge,name:"getRecord",ttl:3e4},jE={apiFamily:ge,name:fp,ttl:3e5},OE={apiFamily:ge,name:OS,ttl:18e5},qE={apiFamily:ge,name:"getRecordCreateDefaults",ttl:9e5},DE={apiFamily:ge,name:Tp,ttl:3e5},BE={apiFamily:ge,name:"getRecordTemplateClone",ttl:1e3},xE={apiFamily:ge,name:"getRecordTemplateCreate",ttl:9e5},ME={apiFamily:ge,name:"getRecordUi",ttl:9e5},UE={apiFamily:ge,name:"getRecords"},VE={apiFamily:ge,name:df,ttl:3e5},zE={apiFamily:ge,name:CA},WE={apiFamily:ge,name:xR,ttl:9e5},KE={apiFamily:ge,name:nR},QE={apiFamily:ge,name:jk,ttl:9e5},GE={apiFamily:ge,name:Ak},$E={apiFamily:ge,name:kf,ttl:3e5},HE={apiFamily:ge,name:BI,ttl:3e4},JE={apiFamily:ge,name:CI},ZE={apiFamily:ge,name:Xp},XE={apiFamily:ge,name:mA},YE={apiFamily:ge,name:CR},ew={apiFamily:ge,name:uC,ttl:3e4},tw={apiFamily:ge,name:OC,ttl:3e4},rw={apiFamily:ge,name:jN,ttl:200};r.withDefaultLuvio(r=>{({createContentDocumentAndVersion:e.createContentDocumentAndVersion,createContentVersion:e.createContentVersion,createListInfo:e.createListInfo,createRecord:e.createRecord,deleteListInfo:e.deleteListInfo,deleteRecord:e.deleteRecord,executeBatchRecordOperations:e.executeBatchRecordOperations,getActionOverrides:e.getActionOverrides,getAllApps:e.getAllApps,getAppDetails:e.getAppDetails,getDuplicateConfiguration:e.getDuplicateConfiguration,getDuplicates:e.getDuplicates,getFlexipageFormulaOverrides:e.getFlexipageFormulaOverrides,getGlobalActions:e.getGlobalActions,getKeywordSearchResults:e.getKeywordSearchResults,getLayout:e.getLayout,getLayoutUserState:e.getLayoutUserState,getListInfoByName:e.getListInfoByName,getListInfosByName:e.getListInfosByName,getListInfosByObjectName:e.getListInfosByObjectName,getListObjectInfo:e.getListObjectInfo,getListPreferences:e.getListPreferences,getListRecordsByName:e.getListRecordsByName,getListUi:e.getListUi,getLookupActions:e.getLookupActions,getLookupMetadata:e.getLookupMetadata,getLookupRecords:e.getLookupRecords,getNavItems:e.getNavItems,getObjectCreateActions:e.getObjectCreateActions,getObjectInfo:e.getObjectInfo,getObjectInfos:e.getObjectInfos,getPathLayout:e.getPathLayout,getPicklistValues:e.getPicklistValues,getPicklistValuesByRecordType:e.getPicklistValuesByRecordType,getQuickActionDefaults:e.getQuickActionDefaults,getQuickActionInfo:e.getQuickActionInfo,getQuickActionLayout:e.getQuickActionLayout,getRecord:e.getRecord,getRecordActions:e.getRecordActions,getRecordAvatars:e.getRecordAvatars,getRecordCreateDefaults:e.getRecordCreateDefaults,getRecordEditActions:e.getRecordEditActions,getRecordTemplateClone:e.getRecordTemplateClone,getRecordTemplateCreate:e.getRecordTemplateCreate,getRecordUi:e.getRecordUi,getRecords:e.getRecords,getRelatedListActions:e.getRelatedListActions,getRelatedListCount:e.getRelatedListCount,getRelatedListInfo:e.getRelatedListInfo,getRelatedListInfoBatch:e.getRelatedListInfoBatch,getRelatedListPreferences:e.getRelatedListPreferences,getRelatedListPreferencesBatch:e.getRelatedListPreferencesBatch,getRelatedListRecordActions:e.getRelatedListRecordActions,getRelatedListRecords:e.getRelatedListRecords,getRelatedListRecordsBatch:e.getRelatedListRecordsBatch,getRelatedListsActions:e.getRelatedListsActions,getRelatedListsCount:e.getRelatedListsCount,getRelatedListsInfo:e.getRelatedListsInfo,getSearchFilterMetadata:e.getSearchFilterMetadata,getSearchFilterOptions:e.getSearchFilterOptions,getSearchResults:e.getSearchResults,performQuickAction:e.performQuickAction,performUpdateRecordQuickAction:e.performUpdateRecordQuickAction,updateListInfoByName:e.updateListInfoByName,updateListPreferences:e.updateListPreferences,updateRecord:e.updateRecord,updateRecordAvatar:e.updateRecordAvatar,getActionOverrides_imperative:e.getActionOverrides_imperative,getAllApps_imperative:e.getAllApps_imperative,getAppDetails_imperative:e.getAppDetails_imperative,getDuplicateConfiguration_imperative:e.getDuplicateConfiguration_imperative,getDuplicates_imperative:e.getDuplicates_imperative,getFlexipageFormulaOverrides_imperative:e.getFlexipageFormulaOverrides_imperative,getGlobalActions_imperative:e.getGlobalActions_imperative,getKeywordSearchResults_imperative:e.getKeywordSearchResults_imperative,getLayout_imperative:e.getLayout_imperative,getLayoutUserState_imperative:e.getLayoutUserState_imperative,getListInfoByName_imperative:e.getListInfoByName_imperative,getListInfosByName_imperative:e.getListInfosByName_imperative,getListInfosByObjectName_imperative:e.getListInfosByObjectName_imperative,getListObjectInfo_imperative:e.getListObjectInfo_imperative,getListPreferences_imperative:e.getListPreferences_imperative,getListRecordsByName_imperative:e.getListRecordsByName_imperative,getListUi_imperative:e.getListUi_imperative,getLookupActions_imperative:e.getLookupActions_imperative,getLookupMetadata_imperative:e.getLookupMetadata_imperative,getLookupRecords_imperative:e.getLookupRecords_imperative,getNavItems_imperative:e.getNavItems_imperative,getObjectCreateActions_imperative:e.getObjectCreateActions_imperative,getObjectInfo_imperative:e.getObjectInfo_imperative,getObjectInfos_imperative:e.getObjectInfos_imperative,getPathLayout_imperative:e.getPathLayout_imperative,getPicklistValues_imperative:e.getPicklistValues_imperative,getPicklistValuesByRecordType_imperative:e.getPicklistValuesByRecordType_imperative,getQuickActionDefaults_imperative:e.getQuickActionDefaults_imperative,getQuickActionInfo_imperative:e.getQuickActionInfo_imperative,getQuickActionLayout_imperative:e.getQuickActionLayout_imperative,getRecord_imperative:e.getRecord_imperative,getRecordActions_imperative:e.getRecordActions_imperative,getRecordAvatars_imperative:e.getRecordAvatars_imperative,getRecordCreateDefaults_imperative:e.getRecordCreateDefaults_imperative,getRecordEditActions_imperative:e.getRecordEditActions_imperative,getRecordTemplateClone_imperative:e.getRecordTemplateClone_imperative,getRecordTemplateCreate_imperative:e.getRecordTemplateCreate_imperative,getRecordUi_imperative:e.getRecordUi_imperative,getRecords_imperative:e.getRecords_imperative,getRelatedListActions_imperative:e.getRelatedListActions_imperative,getRelatedListCount_imperative:e.getRelatedListCount_imperative,getRelatedListInfo_imperative:e.getRelatedListInfo_imperative,getRelatedListInfoBatch_imperative:e.getRelatedListInfoBatch_imperative,getRelatedListPreferences_imperative:e.getRelatedListPreferences_imperative,getRelatedListPreferencesBatch_imperative:e.getRelatedListPreferencesBatch_imperative,getRelatedListRecordActions_imperative:e.getRelatedListRecordActions_imperative,getRelatedListRecords_imperative:e.getRelatedListRecords_imperative,getRelatedListRecordsBatch_imperative:e.getRelatedListRecordsBatch_imperative,getRelatedListsActions_imperative:e.getRelatedListsActions_imperative,getRelatedListsCount_imperative:e.getRelatedListsCount_imperative,getRelatedListsInfo_imperative:e.getRelatedListsInfo_imperative,getSearchFilterMetadata_imperative:e.getSearchFilterMetadata_imperative,getSearchFilterOptions_imperative:e.getSearchFilterOptions_imperative,getSearchResults_imperative:e.getSearchResults_imperative}=function(e){const r=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getActionOverrides",Yu),nE),n=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getAllApps",Nm),oE),o=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getAppDetails",Vm),aE),a=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getDuplicateConfiguration",dg),iE),i=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getDuplicates",EP),sE),s=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getFlexipageFormulaOverrides",Ad),cE),c=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getGlobalActions",Ll),lE),l=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getKeywordSearchResults",hT),uE),u=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLayout",Rg),dE),d=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLayoutUserState",_g),pE),p=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getListInfoByName",Qy),e,"getListInfoByName"),fE),f=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListInfosByName",Yg),mE),m=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getListInfosByObjectName",vy),e,"getListInfosByObjectName"),gE),g=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getListObjectInfo",kh),e,"getListObjectInfo"),yE),y=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListPreferences",Hh),hE),h=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getListRecordsByName",sL),e,"getListRecordsByName"),vE),v=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getListUi",hi),bE),b=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupActions",yu),PE),P=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupMetadata",vN),SE),S=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getLookupRecords",bL),AE),A=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getNavItems",Cv),RE),R=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getObjectCreateActions",_u),kE),k=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getObjectInfo",zi),e,"getObjectInfo"),IE),I=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getObjectInfos",rb),e,"getObjectInfos"),CE),C=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPathLayout",lP),NE),N=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPicklistValues",$b),TE),T=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getPicklistValuesByRecordType",Db),LE),L=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionDefaults",up),FE),F=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionInfo",Gd),_E),_=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getQuickActionLayout",eu),EE),E=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getRecord",fc),e,"getRecord"),wE),w=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getRecordActions",Ip),e,"getRecordActions"),jE),j=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getRecordAvatars",MS),e,"getRecordAvatars"),OE),O=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordCreateDefaults",HL),qE),q=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordEditActions",Mp),DE),D=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordTemplateClone",EF),BE),B=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordTemplateCreate",h_),xE),x=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRecordUi",Ws),ME),M=t.createInstrumentedAdapter(X(t.createLDSAdapter(e,"getRecords",$S),e,"getRecords"),UE),U=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListActions",Sf),VE),V=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListCount",qA),zE),z=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListInfo",HR),WE),Q=t.createInstrumentedAdapter(Y(t.createLDSAdapter(e,"getRelatedListInfoBatch",mR),e,"getRelatedListInfoBatch"),KE),G=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListPreferences",Wk),QE),$=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListPreferencesBatch",wk),GE),H=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListRecordActions",qf),$E),J=t.createInstrumentedAdapter(Y(t.createLDSAdapter(e,"getRelatedListRecords",HI),e,"getRelatedListRecords"),HE),Z=t.createInstrumentedAdapter(Y(t.createLDSAdapter(e,"getRelatedListRecordsBatch",DI),e,"getRelatedListRecordsBatch"),JE),ee=t.createInstrumentedAdapter(Y(t.createLDSAdapter(e,"getRelatedListsActions",uf),e,"getRelatedListsActions"),ZE),te=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListsCount",IA),XE),re=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getRelatedListsInfo",BR),YE),ne=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchFilterMetadata",AC),ew),oe=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchFilterOptions",GC),tw),ae=t.createInstrumentedAdapter(t.createLDSAdapter(e,"getSearchResults",QN),rw);function ie(t){const r=t(e);return(...e)=>r(...e).then(e=>e.data)}return{createContentDocumentAndVersion:ie(Z_),createContentVersion:ie(tE),createListInfo:t.createLDSAdapter(e,Sy,Ny),createRecord:ie(S_),deleteListInfo:t.createLDSAdapter(e,Ly,Oy),deleteRecord:t.createLDSAdapter(e,"deleteRecord",L_),executeBatchRecordOperations:ie(wT),getActionOverrides:t.createWireAdapterConstructor(e,r,nE),getAllApps:t.createWireAdapterConstructor(e,n,oE),getAppDetails:t.createWireAdapterConstructor(e,o,aE),getDuplicateConfiguration:t.createWireAdapterConstructor(e,a,iE),getDuplicates:t.createWireAdapterConstructor(e,i,sE),getFlexipageFormulaOverrides:t.createWireAdapterConstructor(e,s,cE),getGlobalActions:t.createWireAdapterConstructor(e,c,lE),getKeywordSearchResults:t.createWireAdapterConstructor(e,l,uE),getLayout:t.createWireAdapterConstructor(e,u,dE),getLayoutUserState:t.createWireAdapterConstructor(e,d,pE),getListInfoByName:t.createWireAdapterConstructor(e,p,fE),getListInfosByName:t.createWireAdapterConstructor(e,f,mE),getListInfosByObjectName:t.createWireAdapterConstructor(e,m,gE),getListObjectInfo:t.createWireAdapterConstructor(e,g,yE),getListPreferences:t.createWireAdapterConstructor(e,y,hE),getListRecordsByName:t.createInfiniteScrollingWireAdapterConstructor(e,h,vE),getListUi:t.createInfiniteScrollingWireAdapterConstructor(e,v,bE),getLookupActions:t.createWireAdapterConstructor(e,b,PE),getLookupMetadata:t.createWireAdapterConstructor(e,P,SE),getLookupRecords:t.createWireAdapterConstructor(e,S,AE),getNavItems:t.createWireAdapterConstructor(e,A,RE),getObjectCreateActions:t.createWireAdapterConstructor(e,R,kE),getPathLayout:t.createWireAdapterConstructor(e,C,NE),getPicklistValues:t.createWireAdapterConstructor(e,N,TE),getPicklistValuesByRecordType:t.createWireAdapterConstructor(e,T,LE),getQuickActionDefaults:t.createWireAdapterConstructor(e,L,FE),getQuickActionInfo:t.createWireAdapterConstructor(e,F,_E),getQuickActionLayout:t.createWireAdapterConstructor(e,_,EE),getRecord:t.createWireAdapterConstructor(e,E,wE),getRecordActions:t.createWireAdapterConstructor(e,w,jE),getRecordAvatars:t.createWireAdapterConstructor(e,j,OE),getRecordCreateDefaults:t.createWireAdapterConstructor(e,O,qE),getRecordEditActions:t.createWireAdapterConstructor(e,q,DE),getRecordTemplateClone:t.createWireAdapterConstructor(e,D,BE),getRecordTemplateCreate:t.createWireAdapterConstructor(e,B,xE),getRecordUi:t.createWireAdapterConstructor(e,x,ME),getRecords:t.createWireAdapterConstructor(e,M,UE),getRelatedListActions:t.createWireAdapterConstructor(e,U,VE),getRelatedListCount:t.createWireAdapterConstructor(e,V,zE),getRelatedListInfo:t.createWireAdapterConstructor(e,z,WE),getRelatedListInfoBatch:t.createWireAdapterConstructor(e,Q,KE),getRelatedListPreferences:t.createWireAdapterConstructor(e,G,QE),getRelatedListPreferencesBatch:t.createWireAdapterConstructor(e,$,GE),getRelatedListRecordActions:t.createWireAdapterConstructor(e,H,$E),getRelatedListRecords:t.createInfiniteScrollingWireAdapterConstructor(e,J,HE),getRelatedListRecordsBatch:t.createWireAdapterConstructor(e,Z,JE),getRelatedListsActions:t.createWireAdapterConstructor(e,ee,ZE),getRelatedListsCount:t.createWireAdapterConstructor(e,te,XE),getRelatedListsInfo:t.createWireAdapterConstructor(e,re,YE),getSearchFilterMetadata:t.createWireAdapterConstructor(e,ne,ew),getSearchFilterOptions:t.createWireAdapterConstructor(e,oe,tw),getSearchResults:t.createWireAdapterConstructor(e,ae,rw),performQuickAction:ie(KT),performUpdateRecordQuickAction:ie(xT),updateListInfoByName:t.createLDSAdapter(e,Gy,Yy),updateListPreferences:t.createLDSAdapter(e,Zh,nv),updateRecord:ie(q_),updateRecordAvatar:ie(RL),getObjectInfo:K(t.createWireAdapterConstructor(e,k,IE),W.getGetObjectInfoAdapter()),getObjectInfos:K(t.createWireAdapterConstructor(e,I,CE),W.getGetObjectInfosAdapter()),getActionOverrides_imperative:t.createImperativeAdapter(e,r,nE),getAllApps_imperative:t.createImperativeAdapter(e,n,oE),getAppDetails_imperative:t.createImperativeAdapter(e,o,aE),getDuplicateConfiguration_imperative:t.createImperativeAdapter(e,a,iE),getDuplicates_imperative:t.createImperativeAdapter(e,i,sE),getFlexipageFormulaOverrides_imperative:t.createImperativeAdapter(e,s,cE),getGlobalActions_imperative:t.createImperativeAdapter(e,c,lE),getKeywordSearchResults_imperative:t.createImperativeAdapter(e,l,uE),getLayout_imperative:t.createImperativeAdapter(e,u,dE),getLayoutUserState_imperative:t.createImperativeAdapter(e,d,pE),getListInfoByName_imperative:t.createImperativeAdapter(e,p,fE),getListInfosByName_imperative:t.createImperativeAdapter(e,f,mE),getListInfosByObjectName_imperative:t.createImperativeAdapter(e,m,gE),getListObjectInfo_imperative:t.createImperativeAdapter(e,g,yE),getListPreferences_imperative:t.createImperativeAdapter(e,y,hE),getListRecordsByName_imperative:t.createImperativeAdapter(e,h,vE),getListUi_imperative:t.createImperativeAdapter(e,v,bE),getLookupActions_imperative:t.createImperativeAdapter(e,b,PE),getLookupMetadata_imperative:t.createImperativeAdapter(e,P,SE),getLookupRecords_imperative:t.createImperativeAdapter(e,S,AE),getNavItems_imperative:t.createImperativeAdapter(e,A,RE),getObjectCreateActions_imperative:t.createImperativeAdapter(e,R,kE),getObjectInfo_imperative:t.createImperativeAdapter(e,k,IE),getObjectInfos_imperative:t.createImperativeAdapter(e,I,CE),getPathLayout_imperative:t.createImperativeAdapter(e,C,NE),getPicklistValues_imperative:t.createImperativeAdapter(e,N,TE),getPicklistValuesByRecordType_imperative:t.createImperativeAdapter(e,T,LE),getQuickActionDefaults_imperative:t.createImperativeAdapter(e,L,FE),getQuickActionInfo_imperative:t.createImperativeAdapter(e,F,_E),getQuickActionLayout_imperative:t.createImperativeAdapter(e,_,EE),getRecord_imperative:t.createImperativeAdapter(e,E,wE),getRecordActions_imperative:t.createImperativeAdapter(e,w,jE),getRecordAvatars_imperative:t.createImperativeAdapter(e,j,OE),getRecordCreateDefaults_imperative:t.createImperativeAdapter(e,O,qE),getRecordEditActions_imperative:t.createImperativeAdapter(e,q,DE),getRecordTemplateClone_imperative:t.createImperativeAdapter(e,D,BE),getRecordTemplateCreate_imperative:t.createImperativeAdapter(e,B,xE),getRecordUi_imperative:t.createImperativeAdapter(e,x,ME),getRecords_imperative:t.createImperativeAdapter(e,M,UE),getRelatedListActions_imperative:t.createImperativeAdapter(e,U,VE),getRelatedListCount_imperative:t.createImperativeAdapter(e,V,zE),getRelatedListInfo_imperative:t.createImperativeAdapter(e,z,WE),getRelatedListInfoBatch_imperative:t.createImperativeAdapter(e,Q,KE),getRelatedListPreferences_imperative:t.createImperativeAdapter(e,G,QE),getRelatedListPreferencesBatch_imperative:t.createImperativeAdapter(e,$,GE),getRelatedListRecordActions_imperative:t.createImperativeAdapter(e,H,$E),getRelatedListRecords_imperative:t.createImperativeAdapter(e,J,HE),getRelatedListRecordsBatch_imperative:t.createImperativeAdapter(e,Z,JE),getRelatedListsActions_imperative:t.createImperativeAdapter(e,ee,ZE),getRelatedListsCount_imperative:t.createImperativeAdapter(e,te,XE),getRelatedListsInfo_imperative:t.createImperativeAdapter(e,re,YE),getSearchFilterMetadata_imperative:t.createImperativeAdapter(e,ne,ew),getSearchFilterOptions_imperative:t.createImperativeAdapter(e,oe,tw),getSearchResults_imperative:t.createImperativeAdapter(e,ae,rw)}}(r))});let nw;let ow;let aw;e.getRecordNotifyChange=void 0,e.notifyRecordUpdateAvailable=void 0,e.notifyListViewSummaryUpdateAvailable=void 0,e.notifyListInfoSummaryUpdateAvailable=void 0,e.notifyListInfoUpdateAvailable=void 0,e.notifyQuickActionDefaultsUpdateAvailable=void 0,e.notifyListRecordCollectionUpdateAvailable=void 0,e.notifyAllListRecordUpdateAvailable=void 0,e.notifyAllListInfoSummaryUpdateAvailable=void 0,r.withDefaultLuvio(r=>{t.bindWireRefresh(r),nw=t.createLDSAdapter(r,"updateLayoutUserState",$T),ow=t.createLDSAdapter(r,"baseUpdateRelatedListInfo",tk),aw=t.createLDSAdapter(r,"baseUpdateRelatedListPreferences",Jk),e.getRecordNotifyChange=L(60,6e4,t.createLDSAdapter(r,"getRecordNotifyChange",pc),{allowFunction:H.getRecordNotifyChangeAllowed,dropFunction:H.getRecordNotifyChangeDropped}),e.notifyRecordUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyRecordUpdateAvailable",Ut),{allowFunction:H.notifyRecordUpdateAvailableAllowed,dropFunction:H.notifyRecordUpdateAvailableDropped}),e.notifyListViewSummaryUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyListViewSummaryUpdateAvailable",va)),e.notifyListInfoSummaryUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyListInfoSummaryUpdateAvailable",Ro)),e.notifyListInfoUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyListInfoUpdateAvailable",mc)),e.notifyListRecordCollectionUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyListRecordCollectionUpdateAvailable",Kn)),e.notifyQuickActionDefaultsUpdateAvailable=L(60,6e4,t.createLDSAdapter(r,"notifyQuickActionDefaultsUpdateAvailable",zc)),function(e){e.storeWatch(ko,e=>{for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id.endsWith("__pagination"))continue;const{objectApiName:n,listViewApiName:o}=Fo(r.id);To(n,o,r.id)}})}(r),function(e){e.storeWatch(Io,e=>{for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id.endsWith("__pagination"))continue;const{objectApiName:n,recentLists:o}=_o(r.id);Lo(n,o,r.id)}})}(r),e.notifyAllListRecordUpdateAvailable=L(60,6e4,Qo(r)),e.notifyAllListInfoSummaryUpdateAvailable=L(60,6e4,Go(r))}),e.API_NAMESPACE=vT,e.InMemoryRecordRepresentationQueryEvaluator=class{constructor(e){this.baseQueryEvaluator=e}queryByKey(e){return this.baseQueryEvaluator.queryByKey(this.buildKeyQuery(e),rE)}queryWhere(e,t){const r={namespace:ge,representationName:Ot,id:n.Wildcard},o=t?this.buildKeyQuery(t):r;return this.baseQueryEvaluator.queryWhere(o,rE,e)}buildKeyQuery(e){return{id:n.Wildcard,...e,namespace:ge,representationName:Ot}}},e.MRU=yi,e.ObjectInfoDirectoryEntryRepresentationType=Rc,e.ObjectInfoRepresentationType=Pi,e.RECORD_FIELDS_KEY_JUNCTION=RT,e.RECORD_ID_PREFIX=ST,e.RECORD_REPRESENTATION_NAME=bT,e.RECORD_VIEW_ENTITY_ID_PREFIX=AT,e.RECORD_VIEW_ENTITY_REPRESENTATION_NAME=PT,e.RecordRepresentationRepresentationType=Ot,e.RecordRepresentationTTL=wt,e.RecordRepresentationType=Ot,e.RecordRepresentationVersion=jt,e.UiApiNamespace=ge,e.buildRecordRepKeyFromId=function(e){return`${vT}::${bT}:${e}`},e.coerceFieldIdArray=Be,e.coerceObjectId=je,e.coerceObjectIdArray=tu,e.configuration=Q,e.createIngestRecordWithFields=(e,t)=>(r,n,o,a,i)=>{r.eTag="";const s={conflicts:{},serverRequestCount:0},c=Wr(e,t,s)(r,n,o,a,i);return An(o,s),c},e.createLDSAdapterWithPrediction=X,e.createRecordInputFilteredByEditedFields=function(e,t){const r=C();t.id&&(r.fields.Id=t.id);const n=e.fields,o=t.fields,a=S(n);for(let e=0,t=a.length;e<t;e++){const t=a[e];let i;o&&(i=o[t]),(!i||o&&n[t]!==i.value)&&(r.fields[t]=n[t])}return r},e.createRelatedListAdapterWithPrediction=Y,e.extractRecordIdFromStoreKey=function(e){if(void 0===e||-1===e.indexOf(ST)&&-1===e.indexOf(AT))return;const t=e.split(":");return t[t.length-1].split("_")[0]},e.generateRecordInputForCreate=function(e,t){const r=I(e,e=>!0===e.createable,t);return r.apiName=e.apiName,delete r.fields.Id,r},e.generateRecordInputForUpdate=function(e,t){const r=I(e,e=>!0===e.updateable,t);return e.id,r.fields.Id=e.id,r},e.getFieldDisplayValue=function(e,t){const r=T(e,t);if(void 0!==r)return N(r)?r.displayValue:r},e.getFieldValue=function(e,t){const r=T(e,t);if(void 0!==r)return N(r)?r.value:r},e.getListInfoByNameAdapterFactory=Qy,e.getListInfosByObjectNameAdapterFactory=vy,e.getListObjectInfoAdapterFactory=kh,e.getListRecordsByNameAdapterFactory=sL,e.getObjectInfoAdapterFactory=zi,e.getObjectInfoDirectoryAdapterFactory=e=>function(t,r){const n=function(e,t){if(!ie(e))return null;const r={};return se(r,t)?r:null}(t,_v);return null===n?null:e.applyCachePolicy(r||{},{config:n,luvio:e},xv,Bv)},e.getObjectInfosAdapterFactory=rb,e.getRecordActionsAdapterFactory=Ip,e.getRecordAdapterFactory=fc,e.getRecordAvatarsAdapterFactory=MS,e.getRecordId18=pt,e.getRecordInput=C,e.getRecordsAdapterFactory=$S,e.getRelatedListInfoBatchAdapterFactory=mR,e.getRelatedListRecordsAdapterFactory=HI,e.getRelatedListRecordsBatchAdapterFactory=DI,e.getRelatedListsActionsAdapterFactory=uf,e.getResponseCacheKeysContentDocumentCompositeRepresentation=W_,e.getTypeCacheKeysRecord=At,e.ingestContentDocumentCompositeRepresentation=z_,e.ingestObjectInfo=Ci,e.ingestQuickActionExecutionRepresentation=Oc,e.ingestRecord=Rn,e.instrument=J,e.isStoreKeyRecordViewEntity=function(e){return e.indexOf(AT)>-1&&-1===e.indexOf(RT)},e.keyBuilderContentDocumentCompositeRepresentation=x_,e.keyBuilderFromTypeContentDocumentCompositeRepresentation=M_,e.keyBuilderFromTypeRecordRepresentation=Dt,e.keyBuilderObjectInfo=Si,e.keyBuilderQuickActionExecutionRepresentation=Fc,e.keyBuilderRecord=qt,e.refresh=function(e){return t.refresh(e,"refreshUiApi")},e.registerPrefetcher=function(e,t){Z.set(e,t)},e.updateLayoutUserState=(e,t,r,n,o)=>nw(e,t,r,n,o).then(()=>{}),e.updateRelatedListInfo=e=>{const t=ow(e);if(null!==t)return"then"in t?t.then(e=>e.data):"Error"===t.state?Promise.reject(t.error):Promise.resolve(t.data)},e.updateRelatedListPreferences=e=>{const t=aw(e);if(null!==t)return"then"in t?t.then(e=>e.data):"Error"===t.state?Promise.reject(t.error):Promise.resolve(t.data)},Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("interop/uiRecordApi",["exports","force/ldsAdaptersUiapi"],function(e,t){Object.defineProperty(e,"createContentDocumentAndVersion",{enumerable:!0,get:function(){return t.createContentDocumentAndVersion}}),Object.defineProperty(e,"createRecord",{enumerable:!0,get:function(){return t.createRecord}}),Object.defineProperty(e,"createRecordInputFilteredByEditedFields",{enumerable:!0,get:function(){return t.createRecordInputFilteredByEditedFields}}),Object.defineProperty(e,"deleteRecord",{enumerable:!0,get:function(){return t.deleteRecord}}),Object.defineProperty(e,"generateRecordInputForCreate",{enumerable:!0,get:function(){return t.generateRecordInputForCreate}}),Object.defineProperty(e,"generateRecordInputForUpdate",{enumerable:!0,get:function(){return t.generateRecordInputForUpdate}}),Object.defineProperty(e,"getFieldDisplayValue",{enumerable:!0,get:function(){return t.getFieldDisplayValue}}),Object.defineProperty(e,"getFieldValue",{enumerable:!0,get:function(){return t.getFieldValue}}),Object.defineProperty(e,"getRecord",{enumerable:!0,get:function(){return t.getRecord}}),Object.defineProperty(e,"getRecordCreateDefaults",{enumerable:!0,get:function(){return t.getRecordCreateDefaults}}),Object.defineProperty(e,"getRecordInput",{enumerable:!0,get:function(){return t.getRecordInput}}),Object.defineProperty(e,"getRecordNotifyChange",{enumerable:!0,get:function(){return t.getRecordNotifyChange}}),Object.defineProperty(e,"getRecordUi",{enumerable:!0,get:function(){return t.getRecordUi}}),Object.defineProperty(e,"getRecords",{enumerable:!0,get:function(){return t.getRecords}}),Object.defineProperty(e,"notifyRecordUpdateAvailable",{enumerable:!0,get:function(){return t.notifyRecordUpdateAvailable}}),Object.defineProperty(e,"refresh",{enumerable:!0,get:function(){return t.refresh}}),Object.defineProperty(e,"unstable_createContentDocumentAndVersion",{enumerable:!0,get:function(){return t.createContentDocumentAndVersion}}),Object.defineProperty(e,"updateRecord",{enumerable:!0,get:function(){return t.updateRecord}}),Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('lightning/uiRecordApi', ['interop/uiRecordApi'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });LWR.define('@salesforce/label/LightningButtonMenu.loading', ['@view/scopedHeaderAndFooter/labels'], m => m[10]);LWR.define('@salesforce/label/LightningButtonMenu.showMenu', ['@view/scopedHeaderAndFooter/labels'], m => m[11]);(function() { LWR.define("lightning/primitiveBubble",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils"],function(t,e,i,s){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var l=n(i);var o=[[function(t,e,i){return".fix-popover_tooltip_alignment"+(t?"["+t+"]":"")+" {min-width: inherit;}"}],function(){return""}];const a={part:"overlay"},r={"slds-popover__body":!0},d={lwc:{dom:"manual"}};function h(t,e,i,s){const{ncls:n,b:l,h:o}=t,{_m0:h,_m1:c}=s;return[o("div",{className:n(e.computedPopoverClass),attrs:a,key:0,on:{transitionend:h||(s._m0=l(e.handleTransitionEnd))}},[o("div",{classMap:r,context:d,key:1,on:{mouseleave:c||(s._m1=l(e.handleMouseLeave))}})])]}var c=e.registerTemplate(h);h.stylesheets=[],h.stylesheetToken="lwc-5fnnbdvmu3k",h.legacyStylesheetToken="lightning-primitiveBubble_primitiveBubble",o&&h.stylesheets.push.apply(h.stylesheets,o),e.freezeTemplate(h);const b={horizontal:"left",vertical:"bottom"},u="1rem",p="absolute",v="0",g="0";class m extends l.default{constructor(...t){super(...t),this.state={visible:!1,hidden:!0,contentId:""},this.disableVisibilityChangeOnLeave=void 0}get contentId(){return this.state.contentId}set contentId(t){this.state.contentId=t,this.state.inDOM&&this.divEl.setAttribute("id",this.state.contentId)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tooltip"),this.setAttribute("aria-hidden",!0),this.setAttribute("class","slds-scope"),this.state.inDOM=!0}disconnectedCallback(){this.state.inDOM=!1}renderedCallback(){this.setContentManually(),this.setIdManually(),this.createInvisibleDivManually()}set content(t){this.state.content=t,this.state.inDOM&&this.setContentManually()}get content(){return this.state.content||""}get align(){return this.state.align||b}set align(t){this.state.align=t}get visible(){return this.state.visible}set visible(t){this.state.visible=t,this.state.visible&&(this.state.hidden=!1),this.state.hidden?this.setAttribute("aria-hidden",!0):this.removeAttribute("aria-hidden")}handleTransitionEnd(){this.state.visible||(this.state.hidden=!0,this.setAttribute("aria-hidden",!0))}setIdManually(){this.setAttribute("id",this.state.contentId)}setContentManually(){this.template.querySelector(".slds-popover__body").textContent=this.state.content}createInvisibleDivManually(){if(this.state.visible){const t=this.template.querySelector(".slds-popover"),e=this.template.querySelector(".slds-popover__body"),i=document.createElement("div"),{vertical:s}=this.align;let n=null;window&&t&&e&&(n=window.getComputedStyle(t),i.style.width=n.getPropertyValue("width"),i.style.top="bottom"===s?Math.max(32,t.offsetHeight)+"px":"-1rem"),i.style.height=u,i.style.position=p,i.style.left=v,i.style.marginLeft=g,e.appendChild(i)}}get computedPopoverClass(){const t=s.classSet("slds-popover").add("slds-popover_tooltip").add("fix-popover_tooltip_alignment");t.add({"slds-rise-from-ground":this.visible,"slds-fall-into-ground":!this.visible,"slds-hide":this.state.hidden});const{horizontal:e,vertical:i}=this.align;return t.add({"slds-nubbin_top-left":"left"===e&&"top"===i,"slds-nubbin_top-right":"right"===e&&"top"===i,"slds-nubbin_bottom-left":"left"===e&&"bottom"===i,"slds-nubbin_bottom-right":"right"===e&&"bottom"===i,"slds-nubbin_bottom":"center"===e&&"bottom"===i,"slds-nubbin_top":"center"===e&&"top"===i,"slds-nubbin_left":"left"===e&&"center"===i,"slds-nubbin_right":"right"===e&&"center"===i}),t.toString()}handleMouseLeave(){this.disableVisibilityChangeOnLeave||(this.visible=!1)}}e.registerDecorators(m,{publicProps:{disableVisibilityChangeOnLeave:{config:0},contentId:{config:3},content:{config:3},align:{config:3},visible:{config:3}},track:{state:1}});const y=e.registerComponent(m,{tmpl:c,sel:"lightning-primitive-bubble",apiVersion:62});t.default=y,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/ariaObserver",["exports","lwc","lightning/utilsPrivate"],function(e,t,o){const n="\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0,0,0,0);\n border: 0;\n";let i=!1;const r=[];function s(){const e=[...r].sort((e,t)=>e.priority-t.priority);r.length=0,i=!1,e.forEach(({callback:e})=>e())}function a(e,t){r.push({callback:t,priority:e}),i||(i=!0,Promise.resolve().then(s))}function l(e){if(e.shadowRoot)return e.shadowRoot.childNodes;if("function"==typeof e.assignedNodes){const t=e.assignedNodes();return t.length?t:e.childNodes}return e.childNodes}function d(e){if("function"!=typeof e.assignedNodes&&e.assignedSlot&&e.assignedSlot.parentElement)return e.assignedSlot.parentElement;if(e.parentElement)return e.parentElement;const t=e.getRootNode();return t!==document?t.host:null}function c(e,t){let o=e;for(;null!=o;)if(o=d(o),o===t)return!0;return!1}class h{constructor(e){this._observers=[],this._callbacks=[];const t=[],o=e=>{if(!(e=>t.some(t=>t.contains(e)))(e)){t.push(e);const o=new MutationObserver(()=>this._mutationCallback());o.observe(e,{subtree:!0,attributes:!0,childList:!0,characterData:!0}),this._observers.push(o)}l(e).forEach(e=>o(e))};o(e)}onMutation(e){this._callbacks.push(e)}_mutationCallback(){a(0,()=>this._callbacks.forEach(e=>e()))}disconnect(){this._observers.forEach(e=>e.disconnect()),this._observers=void 0,this._callbacks=void 0}}function u(e){const t={},{attributes:o}=e;for(let e=0;e<o.length;e++){const n=o[e];t[n.name]=n.value}return t}const f=new WeakMap;function p(e){let t=f.get(e);return t||(t="shadow-aria-"+Math.floor(1e9*Math.random()).toString(16),f.set(e,t)),t}const m=new Set(["a","audio","button","details","input","select","summary","textarea","video"]);const g=["display","visibility"];function v(e,t,o){const n=new Map,i=(e,t)=>{const r=function(e,t){if(e.nodeType===Node.TEXT_NODE)return t&&t.nodeType===Node.TEXT_NODE?(t.textContent!==e.textContent&&(t.textContent=e.textContent),t):e.cloneNode();if(e.nodeType!==Node.ELEMENT_NODE)return document.createComment("shadow-aria-deleted");let o,n,{tagName:i}=e;if(["style","link","script"].includes(i.toLowerCase()))return document.createComment("shadow-aria-deleted");(i.includes("-")||"slot"===i.toLowerCase())&&(i="div"),t&&t.nodeType===Node.ELEMENT_NODE&&t.tagName.toLowerCase()===i.toLowerCase()?(n=t,o=u(n)):n=document.createElement(i);const r=Object.fromEntries([...Object.entries(u(e))].filter(([e])=>e.toLowerCase().startsWith("aria-")||"role"===e.toLowerCase())),s=getComputedStyle(e);let a="";var l,d;return g.forEach(e=>a+=`${e}:${s[e]};`),"contents"!==s?.display&&(r.id=p(e)),r.style=a,m.has(i.toLowerCase())&&(r.tabindex="-1"),Object.entries(r).forEach(([e,t])=>{o&&o[e]===t||n.setAttribute(e,t)}),o&&Object.keys(o).forEach(e=>{e in r||n.removeAttribute(e)}),d=e,(l=n)&&d&&function(e,t){e.addEventListener("focus",e=>{e.preventDefault(),e.stopImmediatePropagation(),t.dispatchEvent(new e.constructor(e.type,e)),t.focus()})}(l,d),n}(e,t);if(r.nodeType===Node.COMMENT_NODE)return r;o.has(e)&&n.set(e,r);const s=l(e);if(t&&t.childNodes.length===s.length)for(let e=0;e<s.length;e++){const o=t.childNodes[e],n=s[e],r=i(n,o);r!==o&&t.replaceChild(r,o)}else{if(t)for(;t.childNodes.length;)t.childNodes[t.childNodes.length-1].remove();s.forEach(e=>{const t=i(e,null);r.appendChild(t)})}return r};return{mirroredNode:i(e,t),trackedNodesToMirroredNodes:n}}function N(e,t,o){const n=t.map(e=>e.getAttribute("id")),i=function(e){if(!e)return[];return e.trim().split(/\s+/)}(e.getAttribute(o)),r=n.filter(e=>!i.includes(e)),s=i.filter(e=>!n.includes(e));return e.setAttribute(o,n.join(" ")),{linkedNodeIds:r,unlinkedNodeIds:s}}const b=["aria-activedescendant","aria-errormessage"],y=new WeakMap,E=[];function w(e,t){const o=function(e){let t=y.get(e);if(!t){const o=document.createElement("div");o.setAttribute("class","aria-element-reflection-mirror"),o.setAttribute("style",n);(e.body||e).appendChild(o),t={redundantChildNodes:new Set,nodesToMirroredNodes:new Map,mirrorRoot:o},y.set(e,t)}return t}(e);!function(e,t){const{redundantChildNodes:o,nodesToMirroredNodes:n,mirrorRoot:i}=e;t.redundantChildNodes.forEach(e=>o.add(e));const r=new Set(t.relationships.map(({toNodes:e})=>e).flat().filter(Boolean).filter(e=>!o.has(e)));r.forEach(e=>{const t=new Set([...o,e]),{node:r=null,usage:s=0}=n.get(e)||{},{mirroredNode:a,trackedNodesToMirroredNodes:l}=v(e,r,t);a!==r&&(r&&i.removeChild(r),i.appendChild(a)),l.forEach((e,t)=>n.set(t,{node:e,usage:s}))})}(o,t),function(e,t){const{nodesToMirroredNodes:o}=e;t.relationships.forEach(t=>{const{fromNode:n,toNodes:i,relationship:r,track:s,signal:a,mirrorOnly:l}=t;if(i?.length){if(!l){const t=i.map(e=>o.get(e).node),{linkedNodeIds:l,unlinkedNodeIds:d}=N(n,t,r);C(e,d,l),s&&function(e,t,o){t.forEach(t=>{const n=new h(t);n.onMutation(()=>{!function(e,t){k({fromNode:e,toNodes:t,mirrorOnly:!0})}(e,[t])}),o&&o.addEventListener("abort",()=>{n.disconnect()})})}(n,i,a)}}else{const{unlinkedNodeIds:t}=N(n,[],r);C(e,t),n.removeAttribute(r)}})}(o,t)}function C(e,t,o=[]){const{nodesToMirroredNodes:n,mirrorRoot:i}=e;n.forEach((e,r)=>{o.includes(e.node.id)?e.usage++:t.includes(e.node.id)&&--e.usage<=0&&(n.delete(r),e.node.parentElement===i&&i.removeChild(e.node))})}function M(){const e=function(e){const t=new Map;return e.forEach(e=>{const{fromNode:o}=e,n=o.getRootNode();let i=t.get(n);i||(i={relationships:[],redundantChildNodes:new Set},t.set(n,i)),i.relationships.push(e)}),t.forEach(e=>{const{relationships:t,redundantChildNodes:o}=e,n=t.map(e=>e.toNodes).flat();for(let e=0;e<n.length;e++)for(let t=e+1;t<n.length;t++){const i=n[e],r=n[t];i&&r&&e!==t&&(c(i,r)?o.add(i):c(r,i)&&o.add(r))}}),t}(E);E.length=0,e.forEach((e,t)=>w(t,e))}function k(e){E.push(e),a(1,M)}function I(e,t,o,n={}){const{track:i,signal:r}=n;t=function(e,t){return Array.isArray(e)||(e=[e]),(e=e.filter(Boolean)).length>1&&b.includes(t)&&(console.warn(`Multiple targets passed to aria relationship "${t}". This API only accepts a single target. Ignoring elements beyond the first one.`),e=e.slice(0,1)),e}(t,o),k({fromNode:e,toNodes:t,relationship:o,track:i,signal:r})}const O=[["aria-controls",{ariaReflection:"ariaControlsElements",polyfill:function(e,t,o){I(e,t,"aria-controls",o)}}],["aria-labelledby",{ariaReflection:"ariaLabelledByElements",polyfill:function(e,t,o){I(e,t,"aria-labelledby",o)}}],["aria-describedby",{ariaReflection:"ariaDescribedByElements",polyfill:function(e,t,o){I(e,t,"aria-describedby",o)}}],["aria-errormessage",{ariaReflection:"ariaErrorMessageElements",polyfill:function(e,t,o){I(e,t,"aria-errormessage",o)}}],["aria-activedescendant",{ariaReflection:"ariaActiveDescendantElement",polyfill:function(e,t,o){I(e,t,"aria-activedescendant",o)}}],["aria-details",{ariaReflection:"ariaDetailsElements",polyfill:function(e,t,o){I(e,t,"aria-details",o)}}]],R=new Map(O);let A;function S(e,t){return"string"!=typeof t||""===t?[]:_(t).map(t=>e.querySelector(`[id*="${t}"]`)).filter(e=>!!e)}function _(e){return e?(e+"").trim().split(/\s+/):[]}o.isCSR&&(A=[...R.values()].every(({ariaReflection:e})=>e in Element.prototype));const T=t.registerComponent(class{constructor(e){this.component=e,this.template=e.template,this.isNativeShadow=o.isNativeComponent(e),this.state={},this.liveIds={},this.guid=o.guid(),this.placeholderContainer=null,this.ariaReflectionMap=new Map,this.nodeMap=new Map}connectLiveIdRef(e,t){const o=(e+"").trim().split(/\s+/).map(e=>`[id*="${e}"]`).join(",");let n;this.liveIds[e]?this.liveIds[e].callbacks.push(t):(n={refs:e,selector:o,callbacks:[t]},this.liveIds[e]=n)}connect({attribute:e,targetSelector:t,targetNode:o,relatedNodeIds:n,relatedNodes:i}){this.state[e]=this.state[e]||{};const r=this.state[e];r.targetNode=o,r.targetSelector=t,r.relatedNodes=(Array.isArray(i)?i:[i]).filter(Boolean),r.relatedNodeIds=Array.isArray(n)?n.join(" "):n,this.component.isConnected&&this.privateUpdate(e)}sync(e){if(null!=e&&(this.isNativeShadow=e),!this.component.isConnected)throw new Error("Invalid sync invocation. It can only be invoked during renderedCallback().");this.root||(this.root=this.template&&this.template.host?this.template.host.getRootNode():null),this.privateUpdateLiveIds();for(const e in this.state)Object.prototype.hasOwnProperty.call(this.state,e)&&this.privateUpdate(e)}get privateIsMoRequired(){return this.isNativeShadow||0!==Object.keys(this.liveIds).length}get root(){return this._root}set root(e){this._root=e,this._root&&this.privateIsMoRequired&&this.privateCreateMutationObserver()}privateUpdate(e){const{targetSelector:t,targetNode:o=this.template.querySelector(t),relatedNodeIds:n,relatedNodes:i}=this.state[e];if(!o)return;const r=R.get(e);if(!r)throw new Error(`${e} is not supported by AriaObserver. Supported attributes: ${Array.from(R.keys())}`);if(this.isNativeShadow){const t=[...i,...S(this.root,n)];A?o[r.ariaReflection]=i:r.polyfill(o,t,e);const s=o.getRootNode();for(let e=0;e<t.length;e++)this.privateAddNestedReferences(s,t[e])}else{const t=[..._(n),...i.map(e=>e.id)].join(" ");t?o.setAttribute(e,t):o.removeAttribute(e)}}privateExtractCorrectElements(e="",t){const o=`(${e.split(/\s/g).join("|")})`,n=new RegExp(`^${o}(-[0-9]+)$`);return[...t].filter(e=>n.test(e.id))}privateCreateMutationObserver(){this.disconnect(),this.mo=new MutationObserver(()=>{this.component.isConnected&&this.sync()}),this.mo.observe(this.root,{characterData:!0,childList:!0,subtree:!0})}privateExtractIds(e){return e.map(e=>e.getAttribute("id")).join(" ")}privateUpdateLiveIds(){const e=this.template&&this.template.host?this.template.host.getRootNode():null;if(e)for(const t in this.liveIds)if(Object.prototype.hasOwnProperty.call(this.liveIds,t)){const o=this.liveIds[t];if(!o.elements||!o.elements.length){const n=_(t);try{const t=[...e.querySelectorAll(o.selector)];o.elements=t.sort((e,t)=>{const o=e.getAttribute("id")?.replace(/-[0-9]+$/g,""),i=t.getAttribute("id")?.replace(/-[0-9]+$/g,"");return n.indexOf(o)-n.indexOf(i)})}catch(e){return void(e instanceof DOMException&&console.warn(`lightning/ariaObserver could not find elements to connect live IDs due to an invalid id selector.\n\n${e}`))}}const n=this.privateExtractCorrectElements(o.refs,o.elements),i=this.privateExtractIds(n);if(i.length&&i!==o.ids){for(let e=0;e<o.callbacks.length;e++)o.callbacks[e](i);o.ids=i}}}privateAddNestedReferences(e,t){for(let o=0;o<O.length;o++){const[n,{polyfill:i}]=O[o],r=t.getAttribute(n);if(r){let o=this.nodeMap.get(t);if(!o){let i=this.ariaReflectionMap.get(e);i||(i=e.querySelector(".aria-element-reflection-mirror"),this.ariaReflectionMap.set(e,i)),i&&(o=i.querySelector(`[${n}='${r}']`),this.nodeMap.set(t,o))}if(o){i(o,S(this.root,r),n)}}}}disconnect(){this.mo&&(this.mo.disconnect(),this.mo=void 0)}},{tmpl:void 0,sel:"lightning-aria-observer",apiVersion:62});e.default=T,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/i18n/dir', [], function() { return "ltr"; });(function() { LWR.define("lightning/positionLibrary",["exports","lightning/utilsPrivate","@salesforce/i18n/dir"],function(t,e,i){function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=o(i);const s="data-position-id";const r=new class{get window(){return this._window||(this._window=window,this.window.getComputedStyle||(this.window.getComputedStyle=t=>t.style)),this._window}mockWindow(t){this._window=t}get documentElement(){return e.assert(this.window.document,"Missing window.document"),this.window.document.documentElement}get MutationObserver(){return this.window.MutationObserver}isWindow(t){return t&&"[object Window]"===t.toString()}};function h(t){return t&&11===t.nodeType}function l(t,e,i){if(!t||t===e||t===document.body)return null;try{const o=r.window.getComputedStyle(t);return o?i(o)?t:l(h(t.parentNode)?t.parentNode.host:t.parentNode,e,i):null}catch(t){return null}}function a(t){return t===r.window||(!(h(t.parentNode)||!t.parentNode||!t.parentNode.tagName||"BODY"!==t.parentNode.tagName.toUpperCase())||(h(t.parentNode)&&t.parentNode.host?a(t.parentNode.host):!!t.parentNode&&a(t.parentNode)))}function d(t){return t.nodeType&&(1===t.nodeType||11===t.nodeType)}let c=1e6;function p(t){const e="lgcp-"+c++;return t.setAttribute(s,e),t=document.querySelector(`[${s}="${e}"]`)||t}function u(t,e,i,o,s){const h=e.isInside||!s&&(a=o,d=r.window,l(a,d,t=>"hidden"===t["overflow-x"]||"hidden"===t["overflow-y"]));var a,d;return t.style.position=h?"fixed":"absolute",t.style.zIndex=i||0,t.style.left="rtl"===n.default?"99999px":"-9999px",t.style.right="auto",t.style.top="0px",{element:t,overlay:e}}function f(t){return t&&function(t){return"px"===t.slice(-2)}(t)?parseFloat(t):0}const g={Center:"center",Middle:"middle",Right:"right",Left:"left",Bottom:"bottom",Top:"top",Default:"default"},m={top:g.Top,bottom:g.Bottom,center:g.Middle},b={left:g.Left,right:g.Right,center:g.Center},w={left:g.Right,right:g.Left,top:g.Bottom,bottom:g.Top,center:g.Center,default:g.Right};function v(t){if(t)return t.getBoundingClientRect();const e={width:r.window.innerWidth||document.body.clientWidth||0,height:r.window.innerHeight||document.body.clientHeight||0,top:0,left:0};return e.bottom=e.height,e.right=e.width,e}function y(t,i){return e.normalizeString(t,{fallbackValue:i||g.Default,validValues:[g.Center,g.Right,g.Left,g.Bottom,g.Top,g.Middle,g.Default]})}function _(t){return t=y(t,g.Left),w[t]}class x{constructor(t,e,i,o){this.pad=t||0,this.boxDirections=e||{left:!0,right:!0},this.transformX=i||function(){},this.transformY=o||function(){}}transform(){}}const L={center:(t,e)=>Math.floor(t+.5*e.width),right:(t,e)=>t+e.width,left:t=>t,bottom:(t,e)=>t+e.height},O={top:class extends x{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)+this.pad)}}},bottom:class extends x{transform(t,e){return{top:Math.floor(this.transformY(t.top,t,e)-e.height-this.pad)}}},center:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-.5*e.width)}}},middle:class extends x{transform(t,e){return{top:Math.floor(.5*(2*t.top+t.height-e.height))}}},left:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)+this.pad)}}},right:class extends x{transform(t,e){return{left:Math.floor(this.transformX(t.left,t,e)-e.width-this.pad)}}},below:class extends x{transform(t,e){const i=t.top+t.height+this.pad;return e.top<i?{top:i}:{}}},"bounding box":class extends x{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left=t.left+this.pad),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.left=t.left+t.width-e.width-this.pad),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.top=t.top+t.height-e.height-this.pad),i}},"shrinking box":class extends x{transform(t,e){const i={};return this.boxDirections.top&&e.top<t.top+this.pad&&(i.top=t.top+this.pad,i.height=Math.max(e.height-(i.top-e.top),36)),this.boxDirections.left&&e.left<t.left+this.pad&&(i.left=t.left+this.pad,i.width=Math.max(e.width-(i.left-e.left),36)),this.boxDirections.right&&e.left+e.width>t.left+t.width-this.pad&&(i.right=t.left+t.width-this.pad,i.width=Math.max(i.right-(i.left||e.left),36)),this.boxDirections.bottom&&e.top+e.height>t.top+t.height-this.pad&&(i.bottom=t.top+t.height-this.pad,i.height=Math.max(i.bottom-(i.top||e.top),36)),i}},"inverse bounding box":class extends x{transform(t,e){const i={};return this.boxDirections.left&&t.left-this.pad<e.left&&(i.left=t.left-this.pad),this.boxDirections.right&&e.left+e.width<t.left+t.width+this.pad&&(i.left=t.width+this.pad-e.width+t.left),this.boxDirections.top&&t.top<e.top+this.pad&&(i.top=t.top-this.pad),this.boxDirections.bottom&&e.top+e.height<t.top+t.height+this.pad&&(i.top=t.height+this.pad-e.height+t.top),i}},default:x};function D(t){return L[t]||L.left}class C{type(t){return this._type=t,this}align(t,e){return this._transformX=D(t),this._transformY=D(e),this}pad(t){return this._pad=parseInt(t,10),this}boxDirections(t){return this._boxDirections=t,this}build(){return new(O[this._type]?O[this._type]:O[g.Default])(this._pad||0,this._boxDirections||{},this._transformX||D(g.left),this._transformY||D(g.left))}}class I{constructor(t,e){const{target:i,element:o,pad:n,boxDirections:s}=e,{horizontal:r,vertical:h}=e.targetAlign;this._element=o,this._targetElement=i,this.destroyed=!1,this._transformer=(new C).type(t).align(r,h).pad(n).boxDirections(s).build()}detach(){this._disabled=!0}attach(){this._disabled=!1}computeDisplacement(){return this._disabled||(this._targetElement.refresh(),this._element.refresh(),this._pendingBox=this._transformer.transform(this._targetElement,this._element)),this}computePosition(){const t=this._element;return this._disabled||Object.keys(this._pendingBox).forEach(e=>{t.setDirection(e,this._pendingBox[e])}),this}destroy(){this._element.release(),this._targetElement.release(),this._disabled=!0,this.destroyed=!0}}class M{constructor(t,e){if(this.id=e,this.width=0,this.height=0,this.left=0,this.top=0,this.right=0,this.bottom=0,this._dirty=!1,this._node=null,this._releaseCb=null,!t)throw new Error("Element missing");r.isWindow(t)&&(t=r.window),this._node=t,this.setupObserver(),this.refresh()}setupObserver(){r.MutationObserver&&!this._node.isObserved&&(this._observer=new r.MutationObserver(this.refresh.bind(this)),r.isWindow(this._node)||(this._observer.observe(this._node,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this._node.isObserved=!0))}setReleaseCallback(t,e){const i=e||this;this._releaseCb=t.bind(i)}checkNodeIsInDom(){return!!a(this._node)}refresh(){const t=r.window;if(!this.isDirty()){if(!this.checkNodeIsInDom())return this.release();let e,i,o,n;if(void 0!==t.pageYOffset?(o=t.pageYOffset,n=t.pageXOffset):(o=t.scrollY,n=t.scrollX),r.isWindow(this._node))e={},this.width=r.documentElement.clientWidth,this.height=r.documentElement.clientHeight,this.left=n,this.top=o,this.right=r.documentElement.clientWidth+n,this.bottom=r.documentElement.clientHeight;else{for(i in this._node.offsetHeight,e=this._node.getBoundingClientRect(),e)this[i]=Math.floor(e[i]);this.top=Math.floor(this.top+o),this.bottom=Math.floor(this.top+e.height),this.left=Math.floor(this.left+n),this.right=Math.floor(this.left+e.width)}this._dirty=!1}return this._dirty}getNode(){return this._node}isDirty(){return this._dirty}bake(){const t=r.window,e=this._node.getBoundingClientRect(),i=t.getComputedStyle(this._node)||this._node.style,o=void 0!==t.pageYOffset,n=o?t.pageYOffset:t.scrollY,s=o?t.pageXOffset:t.scrollX,h=i.left.match(/auto|fixed/)?"0":f(i.left),l=i.top.match(/auto|fixed/)?"0":f(i.top),a=e.top-(this.top<e.top?f(i.marginBottom):-1*f(i.marginTop)),d=this.top<a?f(i.marginBottom):-1*f(i.marginTop);let c=Math.round(this.left-(e.left+s));const p=Math.round(this.top-(e.top+d+n)),u=t.innerWidth||document.body.clientWidth;let g=parseInt(i.right,10);h+c+parseInt(i.width,10)>u&&g<=0&&(g=g<0?-g:c,this._node.style.right=-g+"px",c=0),this._node.style.left=`${h+c}px`,this._node.style.top=`${l+p}px`,this._restoreSize&&(void 0===this.originalHeight&&(this.originalHeight=this._node.style.height),void 0===this.originalWidth&&(this.originalWidth=this._node.style.width),this._node.style.width=`${this.width}px`,this._node.style.height=`${this.height}px`),this._dirty=!1}setDirection(t,e){this[t]=e,this._dirty=!0,"height"!==t&&"width"!==t||(this._restoreSize=!0)}release(){this._restoreSize&&(this._node.style.width=this.originalWidth,this._node.style.height=this.originalHeight,this._removeMinHeight&&(this._node.style.minHeight="")),this._releaseCb&&this._releaseCb(this),this._observer&&(this._observer.disconnect(),this._observer=null)}querySelectorAll(t){return this._node.querySelectorAll(t)}}const A=new class{constructor(){this.proxyCache={}}get count(){return Object.keys(this.proxyCache).length}releaseOrphanProxies(){for(const t in this.proxyCache)this.proxyCache[t].el.checkNodeIsInDom()||this.proxyCache[t].el.release()}bakeOff(){for(const t in this.proxyCache)this.proxyCache[t].el.isDirty()&&this.proxyCache[t].el.bake()}getReferenceCount(t){const e=t.id;return e&&this.proxyCache[e]?this.proxyCache[e].refCount:0}release(t){const e=this.proxyCache[t.id];e&&--e.refCount,e&&e.refCount<=0&&delete this.proxyCache[t.id]}reset(){this.proxyCache={}}create(t){let i="window";if(r.isWindow(t)||(i=t?t.getAttribute(s):null,e.assert(i&&t.nodeType&&(1!==t.nodeType||11!==t.nodeType),`Element Proxy requires an element and has property ${s}`)),this.proxyCache[i])return this.proxyCache[i].refCount++,this.proxyCache[i].el;const o=new M(t,i);var n;return o.setReleaseCallback(S,o),this.proxyCache[i]={el:o,refCount:1},(n=0,new Promise(t=>{setTimeout(()=>{t()},n)})).then(()=>{this.releaseOrphanProxies()}),this.proxyCache[i].el}};function S(t){return A.release(t)}function E(t){return A.create(t)}const N=new class{constructor(){this.callbacks=[],this.repositionScheduled=!1,this._constraints=[],this.timeoutId=0,this.lastIndex=e.getZIndexBaseline(),this.eventsBound=!1}get nextIndex(){return this.lastIndex++}get constraints(){return this._constraints}set constraints(t){this._constraints=this._constraints.concat(t)}dispatchRepositionCallbacks(){for(;this.callbacks.length>0;)this.callbacks.shift()()}add(t){return"function"==typeof t&&(this.callbacks.push(t),!0)}scheduleReposition(t){0===this.timeoutId&&(this.timeoutId=setTimeout(()=>{this.reposition(t)},10))}reposition(t){"function"==typeof t&&this.callbacks.push(t),clearTimeout(this.timeoutId),this.timeoutId=0,this.repositionScheduled||(requestAnimationFrame(()=>{this.repositionScheduled=!1,this._constraints=this._constraints.filter(t=>!t.destroyed&&(t.computeDisplacement().computePosition(),!0)),A.bakeOff(),this.dispatchRepositionCallbacks()}),this.repositionScheduled=!0)}get repositioning(){return this._reposition||(this._reposition=this.scheduleReposition.bind(this)),this._reposition}bindEvents(){this.eventsBound||(window.addEventListener("resize",this.repositioning),window.addEventListener("scroll",this.repositioning),this.eventsBound=!0)}detachEvents(){window.removeEventListener("resize",this.repositioning),window.removeEventListener("scroll",this.repositioning),this.eventsBound=!1}rebase(t){this.lastIndex<=t&&(this.lastIndex=t+1)}};function P(t){N.scheduleReposition(t)}function k(t){N.reposition(t)}function z(t){return N.rebase(t)}class B{constructor(t,e,i,o){this.config=t,this.constraintList=e,this.scrollableParent=i,this.observer=o}disable(){this.constraintList.forEach(t=>{t.detach()})}enable(){this.constraintList.forEach(t=>{t.attach()})}destroy(){for(this.config.removeListeners&&(this.config.removeListeners(),this.config.removeListeners=void 0);this.constraintList.length>0;)this.constraintList.pop().destroy();if(this.config.appendToBody&&this.config.element){const t=document.querySelector(`[${s}="${this.config.element.getAttribute(s)}"]`);t&&t.parentNode.removeChild(t)}this.observer&&(this.observer.disconnect(),this.observer=null)}reposition(){return new Promise(t=>{k(()=>{t()})})}}const T={NONE:"none",MODAL:"uiModal",DIALOG:"lightning-dialog",POPOVER:"lightning-popover",PANEL:"uiPanel",SLDSMODAL:"slds-modal"};function R(t){if(!t)return{isInside:!1,type:null,overlay:null};const e=function(t){return t.localName===T.DIALOG?T.DIALOG:t.localName===T.POPOVER?T.POPOVER:t.classList&&t.classList.contains(T.MODAL)?T.MODAL:t.classList&&t.classList.contains(T.PANEL)?T.PANEL:t.classList&&t.classList.contains(T.SLDSMODAL)?T.SLDSMODAL:T.NONE}(t);return e!==T.NONE?{isInside:!0,type:e,overlay:t}:t.parentNode?R(h(t.parentNode)?t.parentNode.host:t.parentNode):{isInside:!1,type:null,overlay:null}}class W{constructor(t){this._element=t,this._detection=R(this._element)||{isInside:!1,overlay:null}}get isInsideModal(){return this.isInside&&(this._detection.type===T.MODAL||this._detection.type===T.DIALOG||this._detection.type===T.SLDSMODAL)}get isInside(){return this._detection.isInside}get overlay(){return this._detection.overlay}}const H="1.875rem";function Y(t,e,i){N.bindEvents();let o=(a=t.target,n="TEXTAREA"===a.tagName?h(a.parentNode)?a.parentNode.host:a.parentNode:a,s=r.window,l(n,s,t=>{const e=t["overflow-y"];return"auto"===e||"scroll"===e}));var n,s,a;!o&&i&&(o=function(t){var e;for(let i=0;i<t.length;i++){let o=t[i];if(o instanceof HTMLElement&&("auto"===(e=r.window.getComputedStyle(o)["overflow-y"])||"scroll"===e))return o}return null}(i));const d=function(t,e){e.align=e.align||{},e.targetAlign=e.targetAlign||{};const i=function(t,e,i,o){const n=v(t),s=v(),r=e.getBoundingClientRect(),h=i.getBoundingClientRect(),l=void 0!==r.height?r.height:r.bottom-r.top,a=void 0!==r.width?r.width:r.right-r.left;let d=!1;"rtl"===document.dir&&(d=o,o=!1);let c=h.top-n.top-l,p=n.height-h.bottom-l,u=c>=0||null==t&&p<0&&c>p,f=p>=0||c<0&&p>c,g=!1;g=t?h.right-n.left>=a&&h.left+a>(d?h.right:n.width):h.right>=a&&h.left+a>(d?h.right:n.width);let m=!1;m=t?h.left+a<=n.right&&h.right-n.left-a<(o?h.left:0):h.left+a<=n.width&&h.right-a<(o?h.left:0);const b=n.width-h.left,w=h.right;return m||g||!t?!m&&!g&&b<a&&w<a&&(g=w>b,m=w<b):(g=(h.right-n.left>=a||h.right>=a)&&h.left+a>(d?h.right:n.width),m=(h.left+a<=n.right||h.left+a<=s.width)&&h.right-a<(o?h.left:0)),!u&&!f&&t&&e.style&&"fixed"===e.style.position&&(u=h.top-s.top-l>0,f=s.height-h.bottom-l>0),{shouldAlignToLeft:m,shouldAlignToRight:g,hasSpaceAbove:u,hasSpaceBelow:f,centerOverflow:{left:h.left-.5*a<0,right:h.right+.5*a>n.width,top:h.top-.5*l<0,bottom:h.bottom+.5*l>n.height}}}(e.overlay.isInside?null:t,e.element,e.target,e.leftAsBoundary),{align:o,targetAlign:n}=function(t,e){const i={horizontal:t.align.horizontal,vertical:t.align.vertical},o={horizontal:t.targetAlign.horizontal,vertical:t.targetAlign.vertical};"rtl"===document.dir&&(i.horizontal=_(i.horizontal),o.horizontal=_(o.horizontal));let n=!1;(function(t){return t.autoFlip||t.autoFlipVertical})(t)&&(i.vertical===g.Bottom?n=!e.hasSpaceAbove&&e.hasSpaceBelow:i.vertical===g.Top?n=e.hasSpaceAbove&&!e.hasSpaceBelow:i.vertical===g.Center&&(e.centerOverflow.top&&!e.centerOverflow.bottom?i.vertical=o.vertical=g.Top:e.centerOverflow.bottom&&!e.centerOverflow.top&&(i.vertical=o.vertical=g.Bottom)));let s=!1;(function(t){return t.autoFlip||t.autoFlipHorizontal})(t)&&(i.horizontal===g.Left?s=e.shouldAlignToRight&&!e.shouldAlignToLeft:i.horizontal===g.Right?s=e.shouldAlignToLeft&&!e.shouldAlignToRight:i.horizontal===g.Center&&(e.centerOverflow.left&&!e.centerOverflow.right?i.horizontal=o.horizontal=g.Left:e.centerOverflow.right&&!e.centerOverflow.left&&(i.horizontal=o.horizontal=g.Right)));return{align:{horizontal:s?_(i.horizontal):y(i.horizontal,g.Left),vertical:n?_(i.vertical):y(i.vertical,g.Top)},targetAlign:{horizontal:s?_(o.horizontal):y(o.horizontal,g.Left),vertical:n?_(o.vertical):y(o.vertical,g.Bottom)}}}(e,i);!e.isInsideModal||i.hasSpaceAbove||i.hasSpaceBelow||(e.scrollableParentBound=!0);return{target:e.target,element:e.element,align:o,targetAlign:n,alignWidth:e.alignWidth,scrollableParentBound:e.scrollableParentBound,keepInViewport:e.keepInViewport,pad:e.pad,padTop:e.padTop,padLeft:e.padLeft,autoShrink:{height:e.autoShrink||e.autoShrinkHeight,width:e.autoShrink||e.autoShrinkWidth},minHeight:e.minHeight||H}}(o,t);d.alignWidth&&"fixed"===d.element.style.position&&(d.element.style.width=d.target.getBoundingClientRect().width+"px");const c=[],u=function(t,e){const i=t.element;let o=null;return r.MutationObserver&&!i.isObserved&&(o=new r.MutationObserver(()=>{}),o.observe(i,{attributes:!0,subtree:!0,childList:!0}),i.isObserved=!0),e&&(e.addEventListener("scroll",P),t.removeListeners=()=>{e.removeEventListener("scroll",P)}),o}(d,o);d.appendToBody&&document.body.appendChild(d.element),d.element=E(d.element),d.target=E(d.target);const f=Object.assign({},d);void 0!==f.padLeft&&(f.pad=f.padLeft);const w=Object.assign({},d);var x;void 0!==w.padTop&&(w.pad=w.padTop),c.push(new I((x=y(x=d.align.horizontal,g.Left),b[x]),f)),c.push(new I(function(t){return t=y(t,g.Left),m[t]}(d.align.vertical),w));const L=d.autoShrink.height||d.autoShrink.width;if(d.scrollableParentBound&&o){const t=p(o),e={element:d.element,enabled:d.enabled,target:E(t),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}};if(L){const t=e.element.getNode().style;t.minHeight||(t.minHeight=d.minHeight,e.element._removeMinHeight=!0),e.boxDirections={top:!!d.autoShrink.height,bottom:!!d.autoShrink.height,left:!!d.autoShrink.width,right:!!d.autoShrink.width},c.push(new I("shrinking box",e))}else c.push(new I("bounding box",e))}var O;return d.keepInViewport&&c.push(new I("bounding box",{element:d.element,enabled:d.enabled,target:E(window),align:{},targetAlign:{},pad:3,boxDirections:{top:!0,bottom:!0,left:!0,right:!0}})),O=c,N.constraints=O,e||k(),new B(d,c,o,u)}function X(t,e){return e&&"string"==typeof e?t.querySelector(e):e&&"function"==typeof e?e():e}function U(t,i,o){e.assert(t,"Root is undefined or missing"),e.assert(i,"Config is undefined or missing");const n=p(t),s=X(n,i.target),h=X(n,i.element);if(!s||!h)return null;i.target=p(s),i.element=p(h);const l=new W(i.element);if(i.isInsideModal=l.isInsideModal,i.isInsideModal&&l.overlay){z(parseInt(l.overlay.style.zIndex,10))}const a=new W(i.target);if(a.isInsideModal&&a.overlay){z(parseInt(a.overlay.style.zIndex,10))}const c=u(i.element,l,N.nextIndex,i.target,i.alignWidth);i.element=c.element,i.overlay=c.overlay,function(t){e.assert(t.element&&d(t.element),"Element is undefined or missing, or not a Dom Node"),e.assert(t.target&&(r.isWindow(t.target)||d(t.target)),"Target is undefined or missing")}(i);const f=Y(i,o);return t.dispatchEvent(new CustomEvent("privatescrollablecontainer",{composed:!0,bubbles:!0,detail:{callback:t=>{var e=Y(i,o,t);f.config.align.horizontal=e.config.align.horizontal,f.config.align.vertical=e.config.align.vertical}}})),f}function V(t){t&&t.destroy()}t.AutoPosition=class{constructor(t){this._autoPositionUpdater=null,this._root=t}start(t){return new Promise(t=>{requestAnimationFrame(()=>t())}).then(()=>{let e=Promise.resolve();return this._autoPositionUpdater?e=e.then(()=>this._autoPositionUpdater.reposition()):this._autoPositionUpdater=U(this._root,t),e.then(()=>this._autoPositionUpdater)})}stop(){return this._autoPositionUpdater&&(V(this._autoPositionUpdater),this._autoPositionUpdater=null),Promise.resolve()}},t.Direction=g,t.startPositioning=U,t.stopPositioning=V,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/tooltipLibrary",["exports","lwc","lightning/positionLibrary","lightning/utilsPrivate","lightning/primitiveBubble","lightning/ariaObserver"],function(i,e,t,s,n,o){function r(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var h=r(n),a=r(o);const l="salesforce-lightning-tooltip-bubble",d=`${l}_${s.guid()}`;function c(){return null!=window.ResizeObserver}let u,_;function g(){return u||(u=e.createElement("lightning-primitive-bubble",{is:h.default}),u.contentId=d,u.style.position="absolute",u.style.minWidth="75px",u.disableVisibilityChangeOnLeave=!0),u}const v={Info:"info",Toggle:"toggle"};Object.defineProperty(i,"Direction",{enumerable:!0,get:function(){return t.Direction}}),i.BUBBLE_PREFIX=l,i.Tooltip=class{constructor(i,e){if(this._autoPosition=null,this._disabled=!0,this._initialized=!1,this._visible=!1,this._isFocusEvent=!1,this._initialResize=!0,this._ariaObserver=null,this._config={},s.assert(e.target,"target for tooltip is undefined or missing"),this.value=i,this._root=e.root,this._target=e.target,this._config={...e},this._config.align=e.align||{},this._config.targetAlign=e.targetAlign||{},this._config.disableAriaDescribedBy=e.disableAriaDescribedBy||!1,this._type=s.normalizeString(e.type,{fallbackValue:v.Info,validValues:Object.values(v)}),this._element=e.element,s.isCSR&&!this._element){this._element=g;const i=g();null===i.parentNode&&document.body.appendChild(i)}this.handleDocumentTouch=this.handleDocumentTouch.bind(this),this.handleEscape=this.handleEscape.bind(this),this.hide=this.hide.bind(this)}detach(){this._disabled=!0}attach(){this._disabled=!1}initialize(){const i=this._target();if(!this._initialized&&i){if(this._type===v.Toggle)this.addToggleListeners();else this.addInfoListeners();this._config.disableAriaDescribedBy||(this._ariaObserver=new a.default(this._root),this._ariaObserver.connect({attribute:"aria-describedby",targetNode:this._target(),relatedNodes:this._element()})),this._initialized=!0}}disconnect(){this._ariaObserver&&this._ariaObserver.disconnect()}addInfoListeners(){const i=this._target();!this._initialized&&i&&(["mouseenter","focus"].forEach(e=>i.addEventListener(e,()=>this.show())),["mouseleave","blur","click","keydown"].forEach(e=>i.addEventListener(e,i=>{this._visible&&(this.hideIfNotSelfCover(i),"Escape"===i.key&&i.stopPropagation())})))}hideIfNotSelfCover(i){if(!this._visible)return;const e=this._element();if("mouseleave"===i.type&&i.clientX&&i.clientY)try{const t="top"===e.align.vertical?1:0;if((document.elementFromPoint?document.elementFromPoint(i.clientX,i.clientY+t):null)===this._element())return void(c()||this.startPositioning())}catch(i){}this.hide()}handleDocumentTouch(){this._visible&&this.hide()}addToggleListeners(){const i=this._target();!this._initialized&&i&&(i.addEventListener("touchstart",i=>{i.stopPropagation(),this.toggle()}),["mouseenter","focus"].forEach(e=>i.addEventListener(e,i=>this.show(i))),["mouseleave","blur"].forEach(e=>i.addEventListener(e,i=>this.hideIfNotSelfCover(i))),i.addEventListener("keydown",i=>{"Escape"===i.key&&this._visible&&(this.hideIfNotSelfCover(i),i.stopPropagation())}))}handleEscape(i){"Escape"===i.key&&this._isFocusEvent&&(i.stopPropagation(),this.hideIfNotSelfCover(i))}get resizeObserver(){return this._resizeObserver||(this._resizeObserver=this._buildResizeObserver(()=>{if(this._visible&&this._autoPosition){const i=this._element();if(_!==this)return void this.hide(!1);this.startPositioning().then(()=>{this._initialResize&&(i.addEventListener("mouseleave",this.hide),this._initialResize=!1)})}})),this._resizeObserver}show(i){if(this._disabled||this._visible)return;_&&_!==this&&_._visible&&_.hide(!1),_=this,this._isFocusEvent=i&&"focus"===i.type,this._visible=!0,this._initialResize=!0;const e=this._element();e.visible=this._visible,e.content=this._value,this._ariaObserver&&this._root&&this._root.isConnected&&this._ariaObserver.sync(),this.startPositioning(),document.addEventListener("keydown",this.handleEscape),document.addEventListener("touchstart",this.handleDocumentTouch),this.resizeObserver.observe(e)}hide(i=!0){this._visible=!1;const e=this._element();i&&(e.visible=this._visible),this.stopPositioning(),document.removeEventListener("touchstart",this.handleDocumentTouch),document.removeEventListener("keydown",this.handleEscape),e.removeEventListener("mouseleave",this.hide),this.resizeObserver.unobserve(e),_=null}toggle(){this._visible?this.hide():this.show()}get value(){return this._value}set value(i){this._value=i,this._disabled=!i}get initialized(){return this._initialized}get visible(){return this._visible}startPositioning(){this._autoPosition||(this._autoPosition=new t.AutoPosition(this._root));const i={horizontal:this._config.align.horizontal||t.Direction.Left,vertical:this._config.align.vertical||t.Direction.Bottom},e={horizontal:this._config.targetAlign.horizontal||t.Direction.Left,vertical:this._config.targetAlign.vertical||t.Direction.Top},s=.5*this._target().getBoundingClientRect().width-24;return this._autoPosition.start({target:this._target,element:this._element,align:i,targetAlign:e,autoFlip:!0,padTop:16,padLeft:s}).then(i=>{if(i){const e=this._element();e.align=i.config.align,e.visible=this._visible}})}stopPositioning(){this._autoPosition&&this._autoPosition.stop()}_buildResizeObserver(i){return c()?new ResizeObserver(i):{observe(){},unobserve(){}}}},i.TooltipType=v,Object.defineProperty(i,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/iconUtils",["exports","lightning/configProvider"],function(r,e){const t={standard:{header_discounts:"rgb(92, 92, 92)",contact:"rgb(150, 2, 199)",prep_flow:"rgb(255, 83, 138)",crypto_transaction:"rgb(255, 93, 45)",multi_select_checkbox:"rgb(147, 147, 147)",work_order:"rgb(6, 165, 154)",post:"rgb(27, 150, 255)",global_constant:"rgb(16, 124, 173)",change_request:"rgb(5, 103, 100)",indicator_performance_period:"rgb(3, 45, 96)",data_cloud:"rgb(90, 27, 169)",carousel:"rgb(59, 167, 85)",account_score:"rgb(88, 103, 232)",work_contract:"rgb(27, 150, 255)",impact_strategy_assignment:"rgb(6, 165, 154)",resource_skill:"rgb(59, 167, 85)",system_and_global_variable:"rgb(16, 124, 173)",segments:"rgb(255, 93, 45)",account_info:"rgb(88, 103, 232)",prompt_builder:"rgb(47, 44, 183)",goals:"rgb(27, 150, 255)",tour_check:"rgb(144, 80, 233)",adjust_value:"rgb(59, 167, 85)",case_wrap_up:"rgb(255, 93, 45)",investment_account:"rgb(59, 167, 85)",store:"rgb(57, 101, 71)",slider:"rgb(147, 147, 147)",output:"rgb(16, 124, 173)",medication_ingredient:"rgb(6, 165, 154)",store_group:"rgb(27, 150, 255)",all:"rgb(16, 124, 173)",service_territory_policy:"rgb(27, 150, 255)",slack_conversations:"rgb(72, 26, 84)",picklist_choice:"rgb(16, 124, 173)",choice:"rgb(16, 124, 173)",funding_requirement:"rgb(57, 101, 71)",your_account:"rgb(1, 68, 134)",app:"rgb(255, 93, 45)",default:"rgb(147, 147, 147)",case_milestone:"rgb(255, 93, 45)",operation_plan:"rgb(90, 27, 169)",today:"rgb(255, 83, 138)",buyer_account:"rgb(57, 101, 71)",lead_list:"rgb(255, 93, 45)",list_rate:"rgb(57, 101, 71)",work_plan_template:"rgb(6, 165, 154)",tableau:"rgb(15, 30, 60)",shift:"rgb(255, 83, 138)",people_score:"rgb(88, 103, 232)",product_item_transaction:"rgb(255, 93, 45)",person_language:"rgb(6, 165, 154)",apex:"rgb(16, 124, 173)",reply_text:"rgb(255, 83, 138)",answer_private:"rgb(255, 93, 45)",immunization:"rgb(255, 83, 138)",asset_downtime_period:"rgb(16, 124, 173)","opportunity_contact role":"rgb(88, 103, 232)",retail_banking_console:"rgb(6, 165, 154)",channel_program_members:"rgb(6, 165, 154)",apps_admin:"rgb(88, 103, 232)",metric_definition:"rgb(16, 124, 173)",datadotcom:"rgb(27, 150, 255)",settings:"rgb(57, 101, 71)",network_contract:"rgb(59, 167, 85)",crypto_transaction_envelope_item:"rgb(16, 124, 173)",product_item:"rgb(27, 150, 255)",metrics:"rgb(27, 150, 255)",topic2:"rgb(27, 150, 255)",partner_fund_allocation:"rgb(6, 165, 154)",care_request_reviewer:"rgb(59, 167, 85)",indicator_definition:"rgb(3, 45, 96)",crypto_transaction_envelope_change_snapshot:"rgb(203, 101, 255)",operation_plan_step_execution:"rgb(90, 27, 169)",approval:"rgb(59, 167, 85)",work_queue:"rgb(16, 124, 173)",iot_orchestrations:"rgb(16, 124, 173)",visualforce_page:"rgb(255, 93, 45)",person_account:"rgb(88, 103, 232)",entity:"rgb(255, 93, 45)",dynamic_highlights_panel:"rgb(59, 167, 85)",service_territory_location:"rgb(88, 103, 232)",qualifications:"rgb(57, 101, 71)",document_preview:"rgb(182, 5, 84)",tax_treatment:"rgb(57, 101, 71)",entitlement_policy:"rgb(57, 101, 71)",form:"rgb(59, 167, 85)",query_editor:"rgb(126, 38, 0)",visualization:"rgb(27, 150, 255)",products:"rgb(90, 27, 169)",prompt:"rgb(6, 165, 154)",order_item:"rgb(27, 150, 255)",read_receipts:"rgb(59, 167, 85)",javascript_button:"rgb(255, 93, 45)",maintenance_asset:"rgb(16, 124, 173)",work_plan_rule:"rgb(6, 165, 154)",loop:"rgb(255, 93, 45)",portal_roles_and_subordinates:"rgb(27, 150, 255)",work_capacity_limit:"rgb(16, 124, 173)",employee_organization:"rgb(27, 150, 255)",workforce_engagement:"rgb(182, 5, 84)",constant:"rgb(16, 124, 173)",marketing_actions:"rgb(59, 167, 85)",case_transcript:"rgb(255, 93, 45)",list_fee:"rgb(47, 44, 183)",timesheet_entry:"rgb(59, 167, 85)",key_dates:"rgb(27, 150, 255)",multi_picklist:"rgb(147, 147, 147)",facility_bed:"rgb(255, 83, 138)",product_workspace:"rgb(57, 101, 71)",visit_templates:"rgb(27, 150, 255)",restriction_policy:"rgb(27, 150, 255)",task:"rgb(59, 167, 85)",scheduling_workspace_territory:"rgb(255, 83, 138)",answer_best:"rgb(255, 93, 45)",attach:"rgb(144, 80, 233)",asset_action:"rgb(16, 124, 173)",section:"rgb(147, 147, 147)",service_request:"rgb(27, 150, 255)",orders:"rgb(27, 150, 255)",propagation_policy:"rgb(27, 150, 255)",budget:"rgb(16, 124, 173)",report_type:"rgb(59, 167, 85)",past_chat:"rgb(255, 93, 45)",crypto_transaction_envelope_change_log:"rgb(8, 73, 104)",feedback:"rgb(27, 150, 255)",action_list_component:"rgb(16, 124, 173)",opportunity_splits:"rgb(255, 93, 45)",location_permit:"rgb(6, 165, 154)",app_form_product_participant:"rgb(126, 38, 0)",messaging_user:"rgb(6, 165, 154)",filter_criteria:"rgb(16, 124, 173)",tax_policy:"rgb(57, 101, 71)",trailhead:"rgb(3, 45, 96)",entitlements:"rgb(144, 80, 233)",checkout:"rgb(57, 101, 71)",formula:"rgb(16, 124, 173)",case_log_a_call:"rgb(255, 93, 45)",shift_pattern_entry:"rgb(255, 83, 138)",thanks_loading:"rgb(147, 147, 147)",job_family:"rgb(27, 150, 255)",service_appointment_capacity_usage:"rgb(16, 124, 173)",inbox:"rgb(16, 124, 173)",channel_program_levels:"rgb(6, 165, 154)",letterhead:"rgb(27, 150, 255)",promotions_workspace:"rgb(57, 101, 71)",nft_settings:"rgb(255, 83, 138)",asset_hierarchy:"rgb(16, 124, 173)",email_chatter:"rgb(255, 93, 45)",custody_chain_entry:"rgb(6, 165, 154)",document_reference:"rgb(16, 124, 173)",announcement:"rgb(27, 150, 255)",field_sales:"rgb(144, 80, 233)",bot:"rgb(16, 124, 173)",macros:"rgb(6, 165, 154)",dashboard_ea:"rgb(88, 103, 232)",job_profile:"rgb(255, 83, 138)",steps:"rgb(16, 124, 173)",snippet_alt:"rgb(16, 124, 173)",asset_relationship:"rgb(255, 93, 45)",high_velocity_sales:"rgb(6, 165, 154)",brand:"rgb(88, 103, 232)",historical_adherence:"rgb(6, 165, 154)",visits:"rgb(27, 150, 255)",einstein_replies:"rgb(255, 83, 138)",coaching:"rgb(255, 83, 138)",record_lookup:"rgb(255, 83, 138)",product_service_campaign_item:"rgb(16, 124, 173)",scheduling_constraint:"rgb(255, 83, 138)",lightning_component:"rgb(147, 147, 147)",search:"rgb(27, 150, 255)",connected_apps:"rgb(88, 103, 232)",swarm_request:"rgb(255, 83, 138)",work_type_group:"rgb(16, 124, 173)",education:"rgb(27, 150, 255)",work_type:"rgb(16, 124, 173)",travel_mode:"rgb(59, 167, 85)",environment_hub:"rgb(16, 124, 173)",identifier:"rgb(255, 93, 45)",cms:"rgb(59, 167, 85)",call_coaching:"rgb(27, 150, 255)",salesforce_cms:"rgb(16, 124, 173)",price_sheet:"rgb(59, 167, 85)",thanks:"rgb(255, 83, 138)",service_territory_member:"rgb(88, 103, 232)",work_forecast:"rgb(255, 93, 45)",crypto_product_category_wallet_role:"rgb(5, 103, 100)",program_cohort_member:"rgb(27, 150, 255)",holiday_operating_hours:"rgb(27, 150, 255)",uploaded_model:"rgb(6, 165, 154)",user_role:"rgb(59, 167, 85)",observation_component:"rgb(88, 103, 232)",orchestrator:"rgb(16, 124, 173)",work_capacity_usage:"rgb(16, 124, 173)",record_create:"rgb(255, 83, 138)",campaign_members:"rgb(255, 93, 45)",retail_banking:"rgb(6, 165, 154)",product_service_campaign:"rgb(16, 124, 173)",portal_roles:"rgb(255, 93, 45)",operation_plan_step:"rgb(90, 27, 169)",calibration:"rgb(6, 165, 154)",answer_public:"rgb(255, 93, 45)",robot:"rgb(47, 44, 183)",display_text:"rgb(147, 147, 147)",product_consumed_state:"rgb(6, 165, 154)",budget_category_value:"rgb(27, 150, 255)",scheduling_workspace:"rgb(255, 83, 138)",unmatched:"rgb(27, 150, 255)",partners:"rgb(6, 165, 154)",email_iq:"rgb(88, 103, 232)",mulesoft:"rgb(27, 150, 255)",service_crew:"rgb(255, 93, 45)",payment_gateway:"rgb(5, 103, 100)",voice_call:"rgb(59, 167, 85)",cancel_checkout:"rgb(147, 147, 147)",asset_warranty:"rgb(16, 124, 173)",resource_capacity:"rgb(59, 167, 85)",repeaters:"rgb(6, 165, 154)",setup_modal:"rgb(16, 124, 173)",channel_programs:"rgb(6, 165, 154)",quip:"rgb(255, 93, 45)",quip_sheet:"rgb(59, 167, 85)",timeslot:"rgb(255, 93, 45)",live_chat:"rgb(255, 93, 45)",service_request_detail:"rgb(6, 165, 154)",med_rec_statement_recommendation:"rgb(88, 103, 232)",job_position:"rgb(27, 150, 255)",sobject_collection:"rgb(16, 124, 173)",user:"rgb(16, 124, 173)",client:"rgb(6, 165, 154)",screen:"rgb(27, 150, 255)",portal:"rgb(59, 167, 85)",partner_fund_request:"rgb(6, 165, 154)",asset_audit:"rgb(144, 80, 233)",resource_preference:"rgb(59, 167, 85)",record_consent:"rgb(255, 83, 138)",first_non_empty:"rgb(255, 83, 138)",rate_adjustment:"rgb(182, 5, 84)",impact_strategy:"rgb(6, 165, 154)",customer_360:"rgb(3, 45, 96)",employee_job:"rgb(27, 150, 255)",resource_absence:"rgb(59, 167, 85)",registered_model:"rgb(59, 167, 85)",panel_detail:"rgb(8, 73, 104)",text_template:"rgb(16, 124, 173)",entitlement_template:"rgb(88, 103, 232)",lightning_usage:"rgb(88, 103, 232)",volume_discounts:"rgb(255, 93, 45)",indicator_result:"rgb(3, 45, 96)",product_transfer_state:"rgb(255, 93, 45)",medication_dispense:"rgb(27, 150, 255)",entitlement:"rgb(88, 103, 232)",empty:"rgb(147, 147, 147)",text:"rgb(147, 147, 147)",delegated_account:"rgb(57, 101, 71)",fulfillment_order:"rgb(147, 147, 147)",case_email:"rgb(255, 93, 45)",account:"rgb(88, 103, 232)",coupon_codes:"rgb(57, 101, 71)",assignment:"rgb(255, 93, 45)",wealth_management_console:"rgb(6, 165, 154)",task2:"rgb(59, 167, 85)",patient_medication_dosage:"rgb(6, 165, 154)",code_playground:"rgb(16, 124, 173)",social:"rgb(255, 83, 138)",endorsement:"rgb(88, 103, 232)",folder:"rgb(88, 103, 232)",service_crew_member:"rgb(88, 103, 232)",variation_attribute_setup:"rgb(57, 101, 71)",real_time:"rgb(255, 93, 45)",connect_wallet:"rgb(182, 5, 84)",flow:"rgb(16, 124, 173)",recipe:"rgb(16, 124, 173)",expense_report_entry:"rgb(47, 44, 183)",employee:"rgb(27, 150, 255)",omni_supervisor:"rgb(88, 103, 232)",capacity_plan:"rgb(255, 83, 138)",asset_object:"rgb(16, 124, 173)",product:"rgb(144, 80, 233)",crypto_transaction_envelope:"rgb(5, 103, 100)",topic:"rgb(27, 150, 255)",product_required:"rgb(255, 83, 138)",dynamic_record_choice:"rgb(16, 124, 173)",aggregation_policy:"rgb(27, 150, 255)",warranty_term:"rgb(16, 124, 173)",process:"rgb(16, 124, 173)",swarm_session:"rgb(255, 83, 138)",people:"rgb(6, 165, 154)",medication:"rgb(59, 167, 85)",reward:"rgb(255, 83, 138)",employee_contact:"rgb(27, 150, 255)",bundle_policy:"rgb(27, 150, 255)",performance:"rgb(255, 93, 45)",promotions:"rgb(57, 101, 71)",case_comment:"rgb(255, 93, 45)",price_book_entries:"rgb(57, 101, 71)",sales_channel:"rgb(16, 124, 173)",apex_plugin:"rgb(16, 124, 173)",party_profile:"rgb(90, 27, 169)",campaign:"rgb(144, 80, 233)",contact_request:"rgb(255, 93, 45)",business_hours:"rgb(59, 167, 85)",metric:"rgb(6, 165, 154)",evernote:"rgb(59, 167, 85)",variation_products:"rgb(57, 101, 71)",program_cohort:"rgb(27, 150, 255)",trailhead_alt:"rgb(3, 45, 96)",service_territory:"rgb(88, 103, 232)",customer_lifecycle_analytics:"rgb(88, 103, 232)",code_set:"rgb(16, 124, 173)",case:"rgb(255, 83, 138)",slack:"rgb(74, 21, 75)",currency:"rgb(147, 147, 147)",record:"rgb(59, 167, 85)",code_set_bundle:"rgb(16, 124, 173)",queue:"rgb(16, 124, 173)",schedule_objective:"rgb(16, 124, 173)",contract_line_item:"rgb(59, 167, 85)",skill_entity:"rgb(88, 103, 232)",funding_award_adjustment:"rgb(27, 150, 255)",skill:"rgb(255, 93, 45)",operating_hours:"rgb(27, 150, 255)",crypto_product:"rgb(144, 80, 233)",taxonomy:"rgb(27, 150, 255)",operation_plan_request:"rgb(90, 27, 169)",custom:"rgb(147, 147, 147)",related_list:"rgb(6, 165, 154)",bot_training:"rgb(16, 124, 173)",case_change_status:"rgb(255, 93, 45)",insurance_console:"rgb(6, 165, 154)",dashboard_component:"rgb(88, 103, 232)",incident:"rgb(182, 5, 84)",contract:"rgb(57, 101, 71)",policy:"rgb(6, 165, 154)",sobject:"rgb(147, 147, 147)",whatsapp:"rgb(59, 167, 85)",sales_cadence_target:"rgb(16, 124, 173)",photo:"rgb(147, 147, 147)",apps:"rgb(27, 150, 255)",timesheet:"rgb(88, 103, 232)",drafts:"rgb(27, 150, 255)",outcome:"rgb(255, 93, 45)",discounts:"rgb(57, 101, 71)",work_order_item:"rgb(27, 150, 255)",pricebook:"rgb(144, 80, 233)",scan_card:"rgb(255, 93, 45)",note:"rgb(182, 5, 84)",serialized_product_transaction:"rgb(27, 150, 255)",shift_pattern:"rgb(255, 83, 138)",buyer_group:"rgb(57, 101, 71)",price_adjustment_schedule:"rgb(255, 83, 138)",product_quantity_rules:"rgb(57, 101, 71)",medication_reconciliation:"rgb(16, 124, 173)",procedure:"rgb(27, 150, 255)",opportunity:"rgb(255, 93, 45)",news:"rgb(88, 103, 232)",sort_policy:"rgb(27, 150, 255)",display_rich_text:"rgb(147, 147, 147)",strategy:"rgb(59, 167, 85)",time_period:"rgb(3, 45, 96)",call_history:"rgb(255, 93, 45)",webcart:"rgb(57, 101, 71)",serialized_product:"rgb(27, 150, 255)",tax_rate:"rgb(57, 101, 71)",report:"rgb(6, 165, 154)",customer_workspace:"rgb(57, 101, 71)",groups:"rgb(27, 150, 255)",data_model:"rgb(255, 83, 138)",dashboard:"rgb(47, 44, 183)",generic_loading:"rgb(147, 147, 147)",number_input:"rgb(147, 147, 147)",toggle:"rgb(147, 147, 147)",address:"rgb(59, 167, 85)",price_books:"rgb(57, 101, 71)",entity_milestone:"rgb(255, 93, 45)",contract_line_outcome:"rgb(57, 101, 71)",wealth_management:"rgb(6, 165, 154)",customers:"rgb(6, 165, 154)",disclosure_and_compliance:"rgb(6, 165, 154)",workspace:"rgb(255, 93, 45)",story:"rgb(16, 124, 173)",service_appointment:"rgb(88, 103, 232)",maintenance_plan:"rgb(16, 124, 173)",contract_line_outcome_data:"rgb(57, 101, 71)",data_integration_hub:"rgb(16, 124, 173)",person_name:"rgb(88, 103, 232)",work_plan_template_entry:"rgb(6, 165, 154)",hierarchy:"rgb(6, 165, 154)",custom_component_task:"rgb(88, 103, 232)",partner_marketing_budget:"rgb(6, 165, 154)",asset_action_source:"rgb(16, 124, 173)",skill_requirement:"rgb(255, 93, 45)",filter_criteria_rule:"rgb(16, 124, 173)",no_code_model:"rgb(27, 150, 255)",location:"rgb(59, 167, 85)",promotion_tiers:"rgb(57, 101, 71)",radio_button:"rgb(147, 147, 147)",avatar_loading:"rgb(147, 147, 147)",article:"rgb(255, 93, 45)",custody_entry_verification:"rgb(6, 165, 154)",learner_program:"rgb(255, 93, 45)",invocable_action:"rgb(16, 124, 173)",device:"rgb(88, 103, 232)",app_form_participant:"rgb(5, 103, 100)",proposition:"rgb(27, 150, 255)",snippets:"rgb(6, 165, 154)",customer_portal_users:"rgb(27, 150, 255)",cost_model:"rgb(3, 45, 96)",path_experiment:"rgb(221, 122, 1)",actions_and_buttons:"rgb(255, 93, 45)",record_update:"rgb(255, 83, 138)",shift_type:"rgb(255, 83, 138)",water:"rgb(88, 103, 232)",log_a_call:"rgb(6, 165, 154)",crypto_wallet:"rgb(57, 101, 71)",crypto_wallet_group:"rgb(16, 124, 173)",quotes:"rgb(59, 167, 85)",data_governance:"rgb(57, 101, 71)",question_feed:"rgb(255, 93, 45)",attribute_based_pricing:"rgb(182, 5, 84)",walkthroughs:"rgb(6, 165, 154)",kanban:"rgb(27, 150, 255)",work_plan:"rgb(6, 165, 154)",shift_template:"rgb(255, 83, 138)",merge:"rgb(255, 93, 45)",expense:"rgb(47, 44, 183)",dataset:"rgb(144, 80, 233)",work_summary:"rgb(182, 5, 84)",shift_preference:"rgb(255, 83, 138)",product_consumed:"rgb(6, 165, 154)",canvas:"rgb(147, 147, 147)",bundles_pricing:"rgb(27, 150, 255)",forecasts:"rgb(59, 167, 85)",relationship:"rgb(27, 150, 255)",tour:"rgb(144, 80, 233)",service_resource:"rgb(88, 103, 232)",filter:"rgb(47, 44, 183)",sales_path:"rgb(16, 124, 173)",shift_scheduling_operation:"rgb(255, 83, 138)",data_graph:"rgb(6, 165, 154)",data_lake_objects:"rgb(90, 27, 169)",events:"rgb(27, 150, 255)",data_mapping:"rgb(3, 45, 96)",sms:"rgb(59, 167, 85)",impact_outcome:"rgb(6, 165, 154)",rtc_presence:"rgb(6, 165, 154)",avatar:"rgb(27, 150, 255)",record_delete:"rgb(255, 83, 138)",solution:"rgb(59, 167, 85)",nft_studio:"rgb(88, 103, 232)",manual_discounts:"rgb(16, 124, 173)",agent_home:"rgb(3, 45, 96)",linked:"rgb(6, 165, 154)",partner_fund_claim:"rgb(6, 165, 154)",individual:"rgb(27, 150, 255)",custom_notification:"rgb(27, 150, 255)",contract_payment:"rgb(144, 80, 233)",date_input:"rgb(147, 147, 147)",catalog:"rgb(57, 101, 71)",template:"rgb(27, 150, 255)",activation_target:"rgb(203, 101, 255)",selling_model:"rgb(144, 80, 233)",shipment:"rgb(88, 103, 232)",budget_allocation:"rgb(16, 124, 173)",custody_override:"rgb(6, 165, 154)",record_signature_task:"rgb(255, 83, 138)",event:"rgb(203, 101, 255)",insurance:"rgb(6, 165, 154)",live_chat_visitor:"rgb(255, 93, 45)",textarea:"rgb(147, 147, 147)",work_step:"rgb(6, 165, 154)",picklist_type:"rgb(147, 147, 147)",survey:"rgb(16, 124, 173)",operation_plan_execution:"rgb(90, 27, 169)",link:"rgb(27, 150, 255)",messaging_session:"rgb(6, 165, 154)",video:"rgb(144, 80, 233)",list_email:"rgb(147, 147, 147)",med_rec_recommendation:"rgb(6, 165, 154)",crypto_wallet_group_item:"rgb(144, 80, 233)",recycle_bin:"rgb(27, 150, 255)",document:"rgb(147, 147, 147)",product_transfer:"rgb(255, 93, 45)",instore_locations:"rgb(16, 124, 173)",recent:"rgb(27, 150, 255)",practitioner_role:"rgb(255, 83, 138)",password:"rgb(147, 147, 147)",datashare_target:"rgb(255, 83, 138)",expense_report:"rgb(47, 44, 183)",branch_merge:"rgb(255, 83, 138)",ai_accelerator_card:"rgb(16, 124, 173)",insights:"rgb(203, 101, 255)",budget_period:"rgb(150, 2, 199)",market:"rgb(57, 101, 71)",dropbox:"rgb(27, 150, 255)",unified_health_score:"rgb(88, 103, 232)",bill_of_materials:"rgb(255, 93, 45)",calculated_insights:"rgb(27, 150, 255)",employee_job_position:"rgb(27, 150, 255)",file:"rgb(147, 147, 147)",outcome_activity:"rgb(6, 165, 154)",currency_input:"rgb(147, 147, 147)",data_transforms:"rgb(88, 103, 232)",variable:"rgb(16, 124, 173)",team_member:"rgb(255, 93, 45)",pricing_workspace:"rgb(57, 101, 71)",agent_session:"rgb(255, 93, 45)",guidance_center:"rgb(88, 103, 232)",crypto_category_wallet_group:"rgb(182, 5, 84)",group_loading:"rgb(147, 147, 147)",lead:"rgb(27, 150, 255)",email:"rgb(147, 147, 147)",service_contract:"rgb(88, 103, 232)",decision:"rgb(255, 93, 45)",promotion_segments:"rgb(57, 101, 71)",duration_downscale:"rgb(27, 150, 255)",snippet:"rgb(88, 103, 232)",entitlement_process:"rgb(88, 103, 232)",price_adjustment_matrix:"rgb(6, 165, 154)",contact_list:"rgb(88, 103, 232)",planogram:"rgb(27, 150, 255)",activations:"rgb(144, 80, 233)",scheduling_policy:"rgb(255, 83, 138)",channel_program_history:"rgb(6, 165, 154)",question_best:"rgb(255, 93, 45)",omni_channel:"rgb(16, 124, 173)",collection_variable:"rgb(16, 124, 173)",indicator_assignment:"rgb(3, 45, 96)",procedure_detail:"rgb(6, 165, 154)",sales_value:"rgb(27, 150, 255)",knowledge:"rgb(203, 101, 255)",datashares:"rgb(150, 2, 199)",date_time:"rgb(147, 147, 147)",category:"rgb(57, 101, 71)",maintenance_work_rule:"rgb(16, 124, 173)",data_streams:"rgb(255, 83, 138)",textbox:"rgb(147, 147, 147)",lead_insights:"rgb(27, 150, 255)",waits:"rgb(255, 93, 45)",concur:"rgb(6, 165, 154)",feed:"rgb(27, 150, 255)",sort:"rgb(47, 44, 183)",messaging_conversation:"rgb(6, 165, 154)",service_report:"rgb(88, 103, 232)",iot_context:"rgb(16, 124, 173)",price_adjustment_tier:"rgb(3, 45, 96)",asset_state_period:"rgb(16, 124, 173)",call:"rgb(255, 93, 45)",collection:"rgb(255, 93, 45)",stage:"rgb(255, 93, 45)",sales_cadence:"rgb(16, 124, 173)",product_request_line_item:"rgb(59, 167, 85)",return_order_line_item:"rgb(6, 165, 154)",chart:"rgb(6, 165, 154)",customer:"rgb(57, 101, 71)",buyer_group_qualifier:"rgb(57, 101, 71)",quick_text:"rgb(27, 150, 255)",home:"rgb(255, 83, 138)",sossession:"rgb(16, 124, 173)",digital_verification_config:"rgb(47, 44, 183)",aggregate:"rgb(27, 150, 255)",bundle_config:"rgb(27, 150, 255)",title_party:"rgb(5, 103, 100)",employee_asset:"rgb(27, 150, 255)",process_exception:"rgb(255, 93, 45)",product_warranty_term:"rgb(144, 80, 233)",problem:"rgb(255, 93, 45)",stage_collection:"rgb(255, 93, 45)",product_request:"rgb(59, 167, 85)",logging:"rgb(16, 124, 173)",digital_verification_config_group:"rgb(47, 44, 183)",assigned_resource:"rgb(59, 167, 85)",return_order:"rgb(6, 165, 154)",poll:"rgb(27, 150, 255)",household:"rgb(6, 165, 154)",work_step_template:"rgb(6, 165, 154)",medication_statement:"rgb(27, 150, 255)",labels:"rgb(59, 167, 85)"},custom:{custom110:"rgb(242, 139, 0)",custom100:"rgb(225, 93, 118)",custom111:"rgb(242, 139, 0)",custom1:"rgb(255, 123, 132)",custom101:"rgb(242, 139, 0)",custom112:"rgb(242, 139, 0)",custom2:"rgb(207, 208, 92)",custom102:"rgb(242, 139, 0)",custom113:"rgb(242, 139, 0)",custom90:"rgb(34, 164, 138)",custom3:"rgb(236, 180, 108)",custom103:"rgb(242, 139, 0)",custom80:"rgb(101, 154, 213)",custom91:"rgb(191, 123, 102)",custom4:"rgb(225, 217, 81)",custom104:"rgb(242, 139, 0)",custom70:"rgb(231, 105, 180)",custom81:"rgb(218, 98, 127)",custom92:"rgb(81, 126, 130)",custom5:"rgb(159, 219, 102)",custom105:"rgb(242, 139, 0)",custom60:"rgb(191, 90, 136)",custom71:"rgb(227, 110, 227)",custom82:"rgb(209, 91, 151)",custom93:"rgb(144, 77, 76)",custom6:"rgb(84, 196, 115)",custom106:"rgb(242, 139, 0)",custom50:"rgb(73, 188, 211)",custom61:"rgb(245, 115, 118)",custom72:"rgb(141, 155, 251)",custom83:"rgb(231, 128, 111)",custom94:"rgb(67, 156, 186)",custom7:"rgb(106, 137, 229)",custom107:"rgb(242, 139, 0)",custom40:"rgb(131, 199, 94)",custom51:"rgb(216, 199, 96)",custom62:"rgb(107, 146, 220)",custom73:"rgb(103, 158, 240)",custom84:"rgb(246, 112, 123)",custom95:"rgb(139, 207, 106)",custom8:"rgb(80, 206, 185)",custom108:"rgb(242, 139, 0)",custom30:"rgb(245, 159, 113)",custom41:"rgb(67, 181, 181)",custom52:"rgb(238, 142, 111)",custom63:"rgb(124, 207, 96)",custom74:"rgb(65, 200, 160)",custom85:"rgb(242, 104, 145)",custom96:"rgb(109, 157, 227)",custom9:"rgb(107, 158, 226)",custom109:"rgb(242, 139, 0)",custom20:"rgb(72, 199, 200)",custom31:"rgb(235, 104, 127)",custom42:"rgb(207, 208, 91)",custom53:"rgb(243, 110, 131)",custom64:"rgb(97, 143, 216)",custom75:"rgb(205, 159, 101)",custom86:"rgb(226, 96, 171)",custom97:"rgb(221, 96, 133)",custom10:"rgb(100, 136, 227)",custom21:"rgb(138, 122, 237)",custom32:"rgb(56, 195, 147)",custom43:"rgb(127, 147, 249)",custom54:"rgb(234, 112, 177)",custom65:"rgb(242, 121, 171)",custom76:"rgb(219, 109, 122)",custom87:"rgb(216, 118, 229)",custom98:"rgb(225, 190, 92)",custom11:"rgb(135, 132, 234)",custom22:"rgb(139, 133, 249)",custom33:"rgb(151, 207, 93)",custom44:"rgb(200, 202, 88)",custom55:"rgb(214, 110, 224)",custom66:"rgb(216, 190, 95)",custom77:"rgb(181, 93, 91)",custom88:"rgb(153, 111, 230)",custom99:"rgb(240, 133, 110)",custom12:"rgb(220, 113, 209)",custom23:"rgb(176, 112, 230)",custom34:"rgb(213, 138, 106)",custom45:"rgb(217, 88, 121)",custom56:"rgb(113, 141, 235)",custom67:"rgb(248, 125, 118)",custom78:"rgb(90, 149, 221)",custom89:"rgb(62, 153, 190)",custom13:"rgb(223, 97, 132)",custom24:"rgb(229, 103, 152)",custom35:"rgb(233, 99, 126)",custom46:"rgb(103, 165, 231)",custom57:"rgb(90, 156, 221)",custom68:"rgb(242, 105, 121)",custom79:"rgb(142, 211, 99)",custom14:"rgb(60, 194, 179)",custom25:"rgb(228, 111, 190)",custom36:"rgb(212, 114, 212)",custom47:"rgb(95, 204, 100)",custom58:"rgb(52, 181, 157)",custom69:"rgb(237, 99, 135)",custom15:"rgb(247, 126, 117)",custom26:"rgb(118, 152, 240)",custom37:"rgb(140, 137, 242)",custom48:"rgb(239, 105, 127)",custom59:"rgb(227, 208, 103)",custom16:"rgb(233, 175, 103)",custom27:"rgb(90, 176, 210)",custom38:"rgb(83, 182, 215)",custom49:"rgb(226, 92, 128)",custom17:"rgb(172, 211, 96)",custom28:"rgb(137, 192, 89)",custom39:"rgb(79, 190, 117)",custom18:"rgb(77, 202, 118)",custom29:"rgb(189, 210, 95)",custom19:"rgb(58, 190, 177)"},action:{new_custom18:"rgb(59, 167, 85)",new_custom29:"rgb(59, 167, 85)",edit_groups:"rgb(6, 165, 154)",new_custom9:"rgb(27, 150, 255)",log_a_call:"rgb(6, 165, 154)",new_custom19:"rgb(6, 165, 154)",filter:"rgb(255, 83, 138)",user_activation:"rgb(16, 124, 173)",opportunity_competitor:"rgb(255, 93, 45)",canvas:"rgb(16, 124, 173)",change_record_type:"rgb(16, 124, 173)",new_notebook:"rgb(255, 93, 45)",docusign:"rgb(27, 150, 255)",share_link:"rgb(88, 103, 232)",add_file:"rgb(88, 103, 232)",edit_relationship:"rgb(6, 165, 154)",notebook:"rgb(255, 93, 45)",new_lead:"rgb(255, 93, 45)",new_custom_object:"rgb(59, 167, 85)",new_account:"rgb(88, 103, 232)",question_post_action:"rgb(59, 167, 85)",share_file:"rgb(147, 147, 147)",default_custom_object:"rgb(16, 124, 173)",opportunity_team_member:"rgb(255, 93, 45)",add_photo_video:"rgb(6, 165, 154)",sort:"rgb(59, 167, 85)",call:"rgb(6, 165, 154)",concur:"rgb(6, 165, 154)",reject:"rgb(6, 165, 154)",share_poll:"rgb(27, 150, 255)",scan_enabled:"rgb(27, 150, 255)",following:"rgb(59, 167, 85)",defer:"rgb(255, 83, 138)",opportunity_line_item:"rgb(255, 93, 45)",social_post:"rgb(255, 83, 138)",share_post:"rgb(27, 150, 255)",view_relationship:"rgb(27, 150, 255)",adjust_value:"rgb(59, 167, 85)",upload:"rgb(16, 124, 173)",remove_relationship:"rgb(255, 83, 138)",freeze_user:"rgb(16, 124, 173)",new_person_account:"rgb(88, 103, 232)",bug:"rgb(255, 83, 138)",apex:"rgb(92, 92, 92)",new_opportunity:"rgb(255, 93, 45)",fallback:"rgb(88, 103, 232)",dial_in:"rgb(88, 103, 232)",approval:"rgb(6, 165, 154)",change_owner:"rgb(16, 124, 173)",new_task:"rgb(59, 167, 85)",priority:"rgb(255, 93, 45)",remove:"rgb(16, 124, 173)",web_link:"rgb(27, 150, 255)",leave_group:"rgb(255, 93, 45)",manage_perm_sets:"rgb(16, 124, 173)",close:"rgb(255, 83, 138)",google_news:"rgb(255, 83, 138)",announcement:"rgb(255, 93, 45)",back:"rgb(6, 165, 154)",new_custom90:"rgb(6, 165, 154)",download:"rgb(16, 124, 173)",new_custom80:"rgb(27, 150, 255)",new_custom91:"rgb(147, 147, 147)",search:"rgb(27, 150, 255)",new_event:"rgb(255, 83, 138)",new_custom70:"rgb(255, 83, 138)",new_custom81:"rgb(255, 83, 138)",new_custom92:"rgb(5, 103, 100)",refresh:"rgb(16, 124, 173)",share_thanks:"rgb(255, 83, 138)",update:"rgb(16, 124, 173)",email:"rgb(16, 124, 173)",join_group:"rgb(88, 103, 232)",new_custom60:"rgb(255, 83, 138)",new_custom71:"rgb(203, 101, 255)",new_custom82:"rgb(255, 83, 138)",new_custom93:"rgb(92, 92, 92)",edit:"rgb(6, 165, 154)",quote:"rgb(59, 167, 85)",dropbox:"rgb(27, 150, 255)",description:"rgb(59, 167, 85)",map:"rgb(27, 150, 255)",user:"rgb(27, 150, 255)",reset_password:"rgb(16, 124, 173)",new_custom50:"rgb(27, 150, 255)",new_custom61:"rgb(255, 83, 138)",new_custom72:"rgb(88, 103, 232)",new_custom83:"rgb(255, 83, 138)",new_custom94:"rgb(6, 165, 154)",clone:"rgb(27, 150, 255)",script:"rgb(16, 124, 173)",delete:"rgb(255, 83, 138)",new_custom40:"rgb(59, 167, 85)",new_custom51:"rgb(255, 93, 45)",new_custom62:"rgb(88, 103, 232)",new_custom73:"rgb(27, 150, 255)",new_custom84:"rgb(255, 83, 138)",new_custom95:"rgb(59, 167, 85)",scan_disabled:"rgb(147, 147, 147)",share:"rgb(16, 124, 173)",new_custom30:"rgb(255, 93, 45)",new_custom41:"rgb(6, 165, 154)",new_custom52:"rgb(255, 83, 138)",new_custom63:"rgb(59, 167, 85)",new_custom74:"rgb(6, 165, 154)",new_custom85:"rgb(255, 83, 138)",new_custom96:"rgb(27, 150, 255)",log_event:"rgb(27, 150, 255)",new_group:"rgb(27, 150, 255)",new_custom20:"rgb(6, 165, 154)",new_custom31:"rgb(255, 83, 138)",new_custom42:"rgb(59, 167, 85)",info:"rgb(16, 124, 173)",new_custom53:"rgb(255, 83, 138)",new_custom64:"rgb(88, 103, 232)",new_custom75:"rgb(147, 147, 147)",new_custom86:"rgb(255, 83, 138)",flow:"rgb(16, 124, 173)",new_custom97:"rgb(255, 83, 138)",submit_for_approval:"rgb(59, 167, 85)",new:"rgb(27, 150, 255)",new_campaign:"rgb(255, 93, 45)",new_custom10:"rgb(88, 103, 232)",new_custom21:"rgb(88, 103, 232)",new_custom32:"rgb(6, 165, 154)",new_custom43:"rgb(88, 103, 232)",new_custom54:"rgb(255, 83, 138)",new_custom65:"rgb(255, 83, 138)",new_custom76:"rgb(255, 83, 138)",new_custom87:"rgb(203, 101, 255)",new_custom98:"rgb(255, 93, 45)",new_case:"rgb(255, 93, 45)",new_custom100:"rgb(255, 83, 138)",new_custom1:"rgb(255, 83, 138)",new_contact:"rgb(144, 80, 233)",office_365:"rgb(255, 93, 45)",new_custom11:"rgb(88, 103, 232)",new_custom22:"rgb(88, 103, 232)",new_custom33:"rgb(59, 167, 85)",new_custom44:"rgb(59, 167, 85)",new_custom55:"rgb(203, 101, 255)",new_custom66:"rgb(255, 93, 45)",new_custom77:"rgb(255, 83, 138)",new_custom88:"rgb(144, 80, 233)",new_custom99:"rgb(255, 83, 138)",add_contact:"rgb(144, 80, 233)",evernote:"rgb(59, 167, 85)",new_custom2:"rgb(59, 167, 85)",lead_convert:"rgb(255, 93, 45)",new_custom12:"rgb(203, 101, 255)",new_custom23:"rgb(203, 101, 255)",new_custom34:"rgb(255, 93, 45)",new_custom45:"rgb(255, 83, 138)",new_custom56:"rgb(88, 103, 232)",new_custom67:"rgb(255, 83, 138)",recall:"rgb(8, 73, 104)",new_custom78:"rgb(27, 150, 255)",new_custom89:"rgb(16, 124, 173)",follow:"rgb(27, 150, 255)",record:"rgb(59, 167, 85)",new_custom3:"rgb(255, 93, 45)",new_note:"rgb(255, 93, 45)",new_custom13:"rgb(255, 83, 138)",new_custom24:"rgb(255, 83, 138)",new_custom35:"rgb(255, 83, 138)",new_custom46:"rgb(27, 150, 255)",new_custom57:"rgb(27, 150, 255)",new_custom68:"rgb(255, 83, 138)",new_custom79:"rgb(59, 167, 85)",new_child_case:"rgb(255, 93, 45)",new_custom4:"rgb(255, 93, 45)",new_custom14:"rgb(6, 165, 154)",new_custom25:"rgb(255, 83, 138)",new_custom36:"rgb(203, 101, 255)",new_custom47:"rgb(59, 167, 85)",new_custom58:"rgb(6, 165, 154)",new_custom69:"rgb(255, 83, 138)",new_custom5:"rgb(59, 167, 85)",goal:"rgb(27, 150, 255)",new_custom15:"rgb(255, 83, 138)",new_custom26:"rgb(88, 103, 232)",new_custom37:"rgb(88, 103, 232)",new_custom48:"rgb(255, 83, 138)",new_custom59:"rgb(255, 93, 45)",new_custom6:"rgb(59, 167, 85)",log_this_event:"rgb(255, 83, 138)",new_custom16:"rgb(255, 93, 45)",new_custom27:"rgb(27, 150, 255)",new_custom38:"rgb(27, 150, 255)",new_custom49:"rgb(255, 83, 138)",new_custom7:"rgb(88, 103, 232)",more:"rgb(27, 150, 255)",add_relationship:"rgb(27, 150, 255)",new_custom17:"rgb(59, 167, 85)",new_custom28:"rgb(59, 167, 85)",new_custom39:"rgb(59, 167, 85)",password_unlock:"rgb(16, 124, 173)",check:"rgb(16, 124, 173)",update_status:"rgb(6, 165, 154)",preview:"rgb(88, 103, 232)",new_custom8:"rgb(6, 165, 154)"}};const g=/^([a-zA-Z]+):([a-zA-Z]\w*)$/,b=/_/g;let o;const s=Object.assign(Object.create(null),{action:"lightning.actionSprite",custom:"lightning.customSprite",doctype:"lightning.doctypeSprite",standard:"lightning.standardSprite",utility:"lightning.utilitySprite"}),c=Object.assign(Object.create(null),{action:"lightning.actionSpriteRtl",custom:"lightning.customSpriteRtl",doctype:"lightning.doctypeSpriteRtl",standard:"lightning.standardSpriteRtl",utility:"lightning.utilitySpriteRtl"}),n=Object.assign(Object.create(null),{"lightning.actionSprite":"/assets/icons/action-sprite/svg/symbols.svg","lightning.actionSpriteRtl":"/assets/icons/action-sprite/svg/symbols.svg","lightning.customSprite":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.customSpriteRtl":"/assets/icons/custom-sprite/svg/symbols.svg","lightning.doctypeSprite":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.doctypeSpriteRtl":"/assets/icons/doctype-sprite/svg/symbols.svg","lightning.standardSprite":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.standardSpriteRtl":"/assets/icons/standard-sprite/svg/symbols.svg","lightning.utilitySprite":"/assets/icons/utility-sprite/svg/symbols.svg","lightning.utilitySpriteRtl":"/assets/icons/utility-sprite/svg/symbols.svg"}),a=(r,t)=>{const g="rtl"===t?c:s;return e.getToken(g[r])||((r,e)=>n[e[r]])(r,g)},_=r=>e=>{const t=g.exec(e);return t?t[r]:""},i=_(1),u=_(2),m=r=>g.test(r);r.computeSldsClass=r=>{if(m(r)){return`slds-icon-${i(r)}-${u(r).replace(b,"-")}`}return""},r.getCategory=i,r.getIconColor=r=>{if(m(r)){const e=i(r),g=u(r);return t[e]&&t[e][g]||null}return null},r.getIconPath=(r,t="ltr")=>{if(o=void 0!==o?o:e.getPathPrefix(),m(r)){const e=a(i(r),t);if(e)return`${o}${e}#${u(r)}`}return""},r.getName=u,r.isValidName=m,r.polyfill=function(){},Object.defineProperty(r,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/primitiveIcon",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/iconUtils","@salesforce/i18n/dir","@salesforce/loader"],function(t,e,i,a,s,n,r,l){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=c(i),u=c(r);var d=[function(){return""}];const h=e.parseFragment`<svg${"c0"} focusable="false"${"a0:data-key"} aria-hidden="true" part="icon"${2}><use${"a1:xlink:href"}${3}/></svg>`;function g(t,i,a,s){const{ncls:n,fid:r,sp:l,st:c}=t;return[c(h,1,[l(0,{className:n(i.computedClass),attrs:{"data-key":i.name}},null),l(1,{attrs:{"xlink:href":e.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",r(i.href))}},null)])]}var m=e.registerTemplate(g);g.stylesheets=[],g.stylesheetToken="lwc-25f9lgh55ct",g.legacyStylesheetToken="lightning-primitiveIcon_primitiveIcon",d&&g.stylesheets.push.apply(g.stylesheets,d),e.freezeTemplate(g);const f={},p={};function v(t,e){const i=y(t,e);if(f[i])return f[i];const a=async function(t,e){if("rtl"===t)switch(e){case"utility":{const{default:t}=await l.load("lightning/iconSvgTemplatesUtilityRtl");return t}case"action":{const{default:t}=await l.load("lightning/iconSvgTemplatesActionRtl");return t}case"standard":{const{default:t}=await l.load("lightning/iconSvgTemplatesStandardRtl");return t}case"doctype":{const{default:t}=await l.load("lightning/iconSvgTemplatesDoctypeRtl");return t}case"custom":{const{default:t}=await l.load("lightning/iconSvgTemplatesCustomRtl");return t}default:return null}else switch(e){case"utility":{const{default:t}=await l.load("lightning/iconSvgTemplatesUtility");return t}case"action":{const{default:t}=await l.load("lightning/iconSvgTemplatesAction");return t}case"standard":{const{default:t}=await l.load("lightning/iconSvgTemplatesStandard");return t}case"doctype":{const{default:t}=await l.load("lightning/iconSvgTemplatesDoctype");return t}case"custom":{const{default:t}=await l.load("lightning/iconSvgTemplatesCustom");return t}default:return null}}(t,e);return a.then(t=>{p[i]=t,delete f[i]}).catch(()=>{delete f[i]}),f[i]=a,a}function y(t,e){return`${e}${t}`}class _ extends o.default{constructor(...t){super(...t),this.src=void 0,this.svgClass=void 0,this._size="medium",this._variant="",this._iconLibrary=null,this._iconName=null}get size(){return this._size}set size(t){this._size=t,this.setAttribute("size",this.normalizeSize(this._size))}get variant(){return this._variant}set variant(t){this._variant=t,this.setAttribute("variant",this.normalizeVariant(this._variant))}get iconName(){return this._iconName}set iconName(t){t!==this._iconName&&(this._iconName=t,this.requestIconTemplates())}get category(){if(n.isValidName(this._iconName)){const[t]=this._iconName.split(":");return t}return null}get isReady(){return!!this._iconLibrary}async requestIconTemplates(){if(function(t,e){const i=y(t,e);return!!p[i]}(u.default,this.category))this._iconLibrary=function(t,e){const i=y(t,e);return p[i]||null}(u.default,this.category);else if(this.category)try{this._iconLibrary=null,s.isCSR&&(this._iconLibrary=await v(u.default,this.category))}catch(t){console.warn(`<lightning-primitive-icon> failed to dynamically import icon templates for ${this.category}: ${t.message}`)}}renderedCallback(){(this.isReady||this.iconName!==this.prevIconName)&&(this.prevIconName=this.iconName)}render(){if(this.isReady&&!this.src){const t=this.iconName;if(n.isValidName(t)){const[e,i]=t.split(":"),a=this._iconLibrary[`${e}_${i}`];if(a)return a}}return m}get href(){return this.src||""}get name(){return n.getName(this.iconName)}normalizeSize(t){return s.normalizeString(t,{fallbackValue:"medium",validValues:["xx-small","x-small","small","medium","large"]})}normalizeVariant(t){return s.normalizeString(t,{fallbackValue:"",validValues:["bare","error","inverse","warning","success"]})}get computedClass(){const t=a.classSet(this.svgClass);switch("bare"!==this._variant&&t.add("slds-icon"),this._variant){case"error":t.add("slds-icon-text-error");break;case"warning":t.add("slds-icon-text-warning");break;case"success":t.add("slds-icon-text-success");break;case"inverse":case"bare":break;default:this.src||t.add("slds-icon-text-default")}return"medium"!==this._size&&t.add(`slds-icon_${this._size}`),t.toString()}}_.validationOptOut=["class"],_.stylesheets=[d],e.registerDecorators(_,{publicProps:{src:{config:0},svgClass:{config:0},size:{config:3},variant:{config:3},iconName:{config:3}},fields:["_size","_variant","_iconLibrary","_iconName"]});const w=e.registerComponent(_,{tmpl:m,sel:"lightning-primitive-icon",apiVersion:62});t.default=w,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("lightning/spinner",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate"],function(t,e,i,a,s){function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(i);var l=[function(){return""}];const o=e.parseFragment`<div part="backdrop"${3}></div>`,d=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,p=e.parseFragment`<div part="dot-a" class="slds-spinner__dot-a${0}"${2}></div>`,c=e.parseFragment`<div part="dot-b" class="slds-spinner__dot-b${0}"${2}></div>`,h={role:"status",part:"spinner"};function v(t,e,i,a){const{st:s,ncls:n,d:r,sp:l,h:v}=t;return[s(o,1),v("div",{className:n(e.computedClass),attrs:h,key:2},[e.validAlternativeText?s(d,4,[l(1,null,r(e._altText))]):null,s(p,6),s(c,8)])]}var u=e.registerTemplate(v);v.stylesheets=[],v.stylesheetToken="lwc-47dd688sbro",v.legacyStylesheetToken="lightning-spinner_spinner",l&&v.stylesheets.push.apply(v.stylesheets,l),e.freezeTemplate(v);const g="medium",_="base";class m extends r.default{constructor(...t){super(...t),this.alternativeText=void 0,this._originalSize=g,this._privateSize=g,this._originalVariant=void 0,this._privateVariant=_,this._altText=null}get size(){return this._originalSize}set size(t){this._originalSize=t,this._privateSize=this.normalizeSize(t),this.setAttribute("size",this._privateSize)}get variant(){return this._originalVariant}set variant(t){this._originalVariant=t,this._privateVariant=this.normalizeVariant(t),this._privateVariant!==_&&this.setAttribute("variant",this._privateVariant)}connectedCallback(){super.connectedCallback(),this.classList.add("slds-spinner_container"),s.isCSR&&(this.template.addEventListener("mousewheel",this.stopScrolling),this.template.addEventListener("touchmove",this.stopScrolling))}renderedCallback(){setTimeout(()=>{this._altText=this.alternativeText},0)}normalizeVariant(t){return s.normalizeString(t,{fallbackValue:_,validValues:["base","brand","inverse"]})}normalizeSize(t){return s.normalizeString(t,{fallbackValue:g,validValues:["xx-small","x-small","small","medium","large"]})}get computedClass(){const t=a.classSet("slds-spinner");return this._privateVariant!==_&&t.add(`slds-spinner_${this._privateVariant}`),t.add(`slds-spinner_${this._privateSize}`),t.toString()}get validAlternativeText(){const t=s.isCSR&&!!this.alternativeText;return t||console.warn("<lightning-spinner> The alternativeText attribute should not be empty. Please add a description of what is causing the wait."),t}stopScrolling(t){t.preventDefault()}}m.validationOptOut=["class"],e.registerDecorators(m,{publicProps:{alternativeText:{config:0},size:{config:3},variant:{config:3}},fields:["_originalSize","_privateSize","_originalVariant","_privateVariant","_altText"]});const z=e.registerComponent(m,{tmpl:u,sel:"lightning-spinner",apiVersion:62});t.default=z,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("interop/buttonMenu",["exports","lwc","lightning/primitiveIcon","lightning/spinner","@salesforce/label/LightningButtonMenu.loading","@salesforce/label/LightningButtonMenu.showMenu","lightning/shadowBaseClassPrivate","lightning/utils","lightning/utilsPrivate","lightning/positionLibrary","lightning/tooltipLibrary"],function(t,e,n,i,s,o,l,r,a,d,u){function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var h=c(n),g=c(i),m=c(s),b=c(o),p=c(l);var _=[function(){return""},function(t,e,n){return".fix-slds-button_icon-border-filled"+(t?"["+t+"]":"")+" {height: unset;line-height: var(--slds-c-button-line-height, var(--sds-c-button-line-height, 1.875rem));}"}];const f=e.parseFragment`<abbr class="slds-indicator_unsaved slds-p-right_xx-small${0}"${"a0:title"}${2}>*</abbr>`,v=e.parseFragment`<span class="slds-assistive-text${0}"${2}>${"t1"}</span>`,w={props:{iconName:"utility:down",svgClass:"slds-button__icon slds-button__icon_x-small slds-m-left_xx-small",variant:"bare"},key:4},y={part:"overlay dropdown"},M={"slds-dropdown__list":!0,"slds-dropdown_length-with-icon-10":!0},A={role:"menu"},k={key:10},I=[];function x(t,e,n,i){const{ncls:s,ti:o,b:l,sp:r,st:a,d:d,t:u,c:c,h:m,s:b}=t,{_m0:p,_m1:_,_m2:x,_m3:C,_m4:B,_m5:D,_m6:O,_m7:T,_m8:S,_m9:P,_m10:V,_m11:L,_m12:F,_m13:N,_m14:R}=i;return[m("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,"aria-expanded":e.computedAriaExpanded,title:e.computedTitle,accesskey:e.computedAccessKey,value:e.value,"aria-haspopup":"true",type:"button",tabindex:o(e.tabIndex),part:e.buttonParts},key:0,on:{click:p||(i._m0=l(e.handleButtonClick)),keydown:_||(i._m1=l(e.handleButtonKeyDown)),blur:x||(i._m2=l(e.handleBlur)),focus:C||(i._m3=l(e.handleFocus)),mousedown:B||(i._m4=l(e.handleButtonMouseDown))}},[e.isDraft?a(f,2,[r(0,{attrs:{title:e.draftAlternativeText}},null)]):null,u(d(e.label)),c("lightning-primitive-icon",h.default,{props:{iconName:e.iconName,svgClass:e.iconSvgClass,variant:"bare"},key:3}),e.computedShowDownIcon?c("lightning-primitive-icon",h.default,w):null,a(v,6,[r(1,null,d(e.computedAlternativeText))])]),e._dropdownOpened?m("div",{className:s(e.computedDropdownClass),attrs:y,key:7,on:{mousedown:D||(i._m5=l(e.handleDropdownMouseDown)),mouseup:O||(i._m6=l(e.handleDropdownMouseUp)),mouseleave:T||(i._m7=l(e.handleDropdownMouseLeave)),scroll:S||(i._m8=l(e.handleDropdownScroll))}},[e.isLoading?c("lightning-spinner",g.default,{props:{size:"small",alternativeText:e.computedLoadingStateAlternativeText},key:8}):null,e.isLoading?null:m("div",{classMap:M,attrs:A,key:9,on:{privateselect:P||(i._m9=l(e.handleMenuItemPrivateSelect)),privateblur:V||(i._m10=l(e.handlePrivateBlur)),privatefocus:L||(i._m11=l(e.handlePrivateFocus)),mouseover:F||(i._m12=l(e.handleMouseOverOnMenuItem)),mouseout:N||(i._m13=l(e.allowBlur)),keydown:R||(i._m14=l(e.handleKeyOnMenuItem))}},[b("",k,I,n)])]):null]}var C=e.registerTemplate(x);function B(t){t.preventDefault(),t.stopPropagation()}function D(t,e){a.runActionOnBufferedTypedCharacters(t,e.focusMenuItemWithText)}x.slots=[""],x.stylesheets=[],x.stylesheetToken="lwc-1df1eblanv8",x.legacyStylesheetToken="interop-buttonMenu_buttonMenu",_&&x.stylesheets.push.apply(x.stylesheets,_),e.freezeTemplate(x);const O={loading:m.default,showMenu:b.default},T="LIGHTNING-MENU-ITEM",S=`${T}, .slds-dropdown__list .slds-dropdown__item`,P=["left","center","right","bottom-left","bottom-center","bottom-right"];P.push("auto","auto-right","auto-left");const V="button button-icon";class L extends p.default{constructor(...t){super(...t),this.internalDatatableActionsMenu=!1,this.iconSize="medium",this.value="",this.alternativeText=O.showMenu,this.loadingStateAlternativeText=O.loading,this.draftAlternativeText=void 0,this.groupOrder="",this.tabIndex=void 0,this._accesskey=null,this._disabled=!1,this._dropdownVisible=!1,this._dropdownOpened=!1,this._nubbin=!1,this._title=null,this._isDraft=!1,this._isLoading=!1,this._focusOnIndexDuringRenderedCallback=null,this._tabindex=0,this._order=null,this._variant="border",this._iconName="utility:down",this._label=null,this.buttonParts=V,this._positioning=!1,this._menuAlignment="left",this._boundingRect={},this._tooltip=null,this._needsFocusAfterRender=!1}get iconName(){return this._iconName}set iconName(t){this._iconName=t,a.reflectAttribute(this,"icon-name",this._iconName)}get label(){return this._label}set label(t){this._label=t,this.buttonParts=t?"button":V,a.reflectAttribute(this,"label",this._label)}connectedCallback(){super.connectedCallback(),this._connected=!0,this.keyboardInterface=this.menuKeyboardInterface(),this.classList.add("slds-dropdown-trigger","slds-dropdown-trigger_click"),this.isDraft&&this.classList.add("slds-is-unsaved")}disconnectedCallback(){this._connected=!1,this._tooltip&&this._tooltip.disconnect()}renderedCallback(){this.initTooltip(),!this._positioning&&this._dropdownVisible&&this.focusOnMenuItemAfterRender()}get iconSvgClass(){return this.label?"slds-button__icon slds-button__icon_right":"slds-button__icon"}get variant(){return this._variant}set variant(t){this._variant=a.normalizeString(t,{fallbackValue:"border",validValues:["border","border-inverse","border-filled","bare","bare-inverse","container"]}),a.reflectAttribute(this,"variant",this._variant)}get menuAlignment(){return this._menuAlignment}set menuAlignment(t){this._menuAlignment=a.normalizeString(t,{fallbackValue:"left",validValues:P})}get disabled(){return this._disabled}set disabled(t){this._disabled=a.normalizeBoolean(t)}get nubbin(){return this._nubbin}set nubbin(t){this._nubbin=a.normalizeBoolean(t)}get title(){return this._title}set title(t){this._title=t}get isDraft(){return this._isDraft}set isDraft(t){this._isDraft=a.normalizeBoolean(t)}get isLoading(){return this._isLoading}set isLoading(t){const e=a.normalizeBoolean(t);this.isAutoAlignment()&&a.isCSR&&(this.stopPositioning(),this._isLoading&&!e&&this.startPositioning()),this._isLoading=e}get accessKey(){return this._accesskey}set accessKey(t){this._accesskey=t}get tooltip(){return this._tooltip?this._tooltip.value:void 0}set tooltip(t){this._tooltip?this._tooltip.value=t:t&&a.isCSR&&(this._tooltip=new u.Tooltip(t,{root:this,target:()=>this.template.querySelector("button")}),this._tooltip.initialize())}focus(){this._connected&&this.focusOnButton()}click(){this._connected&&this.template.querySelector("button").click()}get computedAriaExpanded(){return String(this._dropdownVisible)}initTooltip(){this._tooltip&&!this._tooltip.initialized&&this._tooltip.initialize()}focusOnMenuItemAfterRender(){let t=this._focusOnIndexDuringRenderedCallback||0;const e=this.getMenuItems();"LAST"===t&&(t=e.length-1,t<0&&(t="LAST")),"LAST"!==t&&(t>e.length-1&&e.length>0&&(t=e.length-1),this.focusOnMenuItem(t),this._focusOnIndexDuringRenderedCallback=null)}get computedAccessKey(){return this._accesskey}get computedTitle(){return this._title}get computedAlternativeText(){return this.alternativeText||O.showMenu}get computedLoadingStateAlternativeText(){return this.loadingStateAlternativeText||O.loading}get computedButtonClass(){const t=!this.computedShowDownIcon,e="bare"===this.variant||"bare-inverse"===this.variant,n=r.classSet("slds-button");if(this.label)n.add({"slds-button_neutral":"border"===this.variant,"slds-button_inverse":"border-inverse"===this.variant});else{const i="container"===this.variant||"bare-inverse"===this.variant||"border-inverse"===this.variant;n.add({"slds-button_icon":!t,"slds-button_icon-bare":e,"slds-button_icon-more":!i&&!t,"slds-button_icon-container-more":i&&!t,"slds-button_icon-container":"container"===this.variant&&t,"slds-button_icon-border":"border"===this.variant&&t,"slds-button_icon-border-filled":"border-filled"===this.variant,"fix-slds-button_icon-border-filled":"border-filled"===this.variant&&""!==this.groupOrder,"slds-button_icon-border-inverse":"border-inverse"===this.variant,"slds-button_icon-inverse":"bare-inverse"===this.variant,"slds-button_icon-xx-small":"xx-small"===this.iconSize&&!e,"slds-button_icon-x-small":"x-small"===this.iconSize&&!e,"slds-button_icon-small":"small"===this.iconSize&&!e,"slds-button_icon-large":"large"===this.iconSize&&!e})}return n.add(a.buttonGroupOrderClass(this.groupOrder)).toString()}get computedShowDownIcon(){return!("utility:down"===this.iconName||"utility:chevrondown"===this.iconName||this.internalDatatableActionsMenu&&"utility:threedots"===this.iconName)}get computedDropdownClass(){return r.classSet("slds-dropdown").add({"slds-dropdown_left":"left"===this.menuAlignment||this.isAutoAlignment(),"slds-dropdown_center":"center"===this.menuAlignment,"slds-dropdown_right":"right"===this.menuAlignment,"slds-dropdown_bottom":"bottom-center"===this.menuAlignment,"slds-dropdown_bottom slds-dropdown_right slds-dropdown_bottom-right":"bottom-right"===this.menuAlignment,"slds-dropdown_bottom slds-dropdown_left slds-dropdown_bottom-left":"bottom-left"===this.menuAlignment,"slds-nubbin_top-left":this.nubbin&&"left"===this.menuAlignment,"slds-nubbin_top-right":this.nubbin&&"right"===this.menuAlignment,"slds-nubbin_top":this.nubbin&&"center"===this.menuAlignment,"slds-nubbin_bottom-left":this.nubbin&&"bottom-left"===this.menuAlignment,"slds-nubbin_bottom-right":this.nubbin&&"bottom-right"===this.menuAlignment,"slds-nubbin_bottom":this.nubbin&&"bottom-center"===this.menuAlignment,"slds-p-vertical_large":this.isLoading}).toString()}handleMenuItemPrivateSelect(t){this._dropdownVisible&&(this.toggleMenuVisibility(),this.focusOnButton()),t.stopPropagation();!this.dispatchSelect(t)&&t.preventDefault()}dispatchSelect(t){return this.dispatchEvent(new CustomEvent("select",{cancelable:!0,detail:{value:t.detail.value}}))}handleButtonClick(){this.allowBlur(),this.toggleMenuVisibility(),this.focusOnButton()}handleButtonKeyDown(t){!function(t,e){const n=e.isMenuVisible();switch(t.keyCode){case a.keyCodes.enter:case a.keyCodes.space:B(t),e.toggleMenuVisibility();break;case a.keyCodes.down:case a.keyCodes.up:if(B(t),!n){let n=0;t.keyCode===a.keyCodes.up&&(n="LAST"),e.setNextFocusIndex(n),e.toggleMenuVisibility()}break;case a.keyCodes.escape:case a.keyCodes.tab:n&&(B(t),e.toggleMenuVisibility());break;default:if(!n&&e.showDropdownWhenTypingCharacters)B(t),e.toggleMenuVisibility();else if(!n)break;window.requestAnimationFrame(()=>{D(t,e)})}}(t,this.keyboardInterface)}handleButtonMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseDown(t){0===t.button&&this.cancelBlur()}handleDropdownMouseUp(){this.allowBlur()}handleDropdownMouseLeave(){this._menuHasFocus||this.close()}handleDropdownScroll(t){t.stopPropagation()}focusOnButton(){this.template.querySelector("button").focus()}focusOnMenuItem(t){if(this._dropdownVisible){const e=this.getMenuItemByIndex(t);this.cancelBlurAndFocusOnMenuItem(e)}}isAutoAlignment(){return this.menuAlignment.startsWith("auto")}startPositioning(){if(!this.isAutoAlignment())return Promise.resolve();this._positioning=!0;const t={horizontal:d.Direction.Left,vertical:d.Direction.Top},e={horizontal:d.Direction.Left,vertical:d.Direction.Bottom};let n,i=!0;return"auto-right"===this.menuAlignment&&(t.horizontal=d.Direction.Right,e.horizontal=d.Direction.Right),"auto-right"!==this.menuAlignment&&"auto-left"!==this.menuAlignment||(i=!1,n=!0),a.animationFrame().then(()=>(this.stopPositioning(),this._autoPosition=d.startPositioning(this,{target:()=>this.template.querySelector("button"),element:()=>this.template.querySelector(".slds-dropdown"),align:t,targetAlign:e,autoFlip:i,autoFlipVertical:n,scrollableParentBound:!0,keepInViewport:!0},!0),this._autoPosition?this._autoPosition.reposition():Promise.reject())).then(()=>(this._needsFocusAfterRender=!0,a.timeout(0))).then(()=>{this._positioning=!1,this._needsFocusAfterRender&&(this.focusOnMenuItemAfterRender(),this._needsFocusAfterRender=!1)})}stopPositioning(){this._autoPosition&&(d.stopPositioning(this._autoPosition),this._autoPosition=null),this._positioning=!1}toggleMenuVisibility(){this.disabled||(this._dropdownVisible=!this._dropdownVisible,!this._dropdownOpened&&this._dropdownVisible&&(this._dropdownOpened=!0),this._dropdownVisible?(this.startPositioning(),this.dispatchEvent(new CustomEvent("open")),this._boundingRect=this.getBoundingClientRect(),this.pollBoundingRect()):(this.stopPositioning(),this.dispatchEvent(new CustomEvent("close"))),this.classList.toggle("slds-is-open"))}getChildNodes(t,e){return t?t.matches&&t.matches(e)?[t]:Array.from(t.childNodes).reduce((t,n)=>[...t,...this.getChildNodes(n,e)],[]):[]}getMenuItems(){return this.getChildNodes(this,S)}getMenuItemByIndex(t){return this.getMenuItems()[t]}findMenuItemIndex(t){return this.getMenuItems().indexOf(t)}findMenuItemFromEventTarget(t){let e=t;const n=this.template.querySelector("[role='menu']");for(;e!==n;){if(e.tagName===T)return e;if(!e.parentNode)return null;e=e.parentNode}return null}handleKeyOnMenuItem(t){const e=this.findMenuItemFromEventTarget(t.target);e&&function(t,e,n){switch(t.keyCode){case a.keyCodes.down:case a.keyCodes.up:{B(t);let i=t.keyCode===a.keyCodes.up?e-1:e+1;const s=n.getTotalMenuItems();i>=s?i=0:i<0&&(i=s-1),n.focusOnIndex(i);break}case a.keyCodes.home:B(t),n.focusOnIndex(0);break;case a.keyCodes.end:B(t),n.focusOnIndex(n.getTotalMenuItems()-1);break;case a.keyCodes.escape:case a.keyCodes.tab:n.isMenuVisible()&&(t.keyCode===a.keyCodes.escape&&B(t),n.toggleMenuVisibility()),n.returnFocus();break;default:D(t,n)}}(t,this.findMenuItemIndex(e),this.keyboardInterface)}handleMouseOverOnMenuItem(t){const e=this.findMenuItemFromEventTarget(t.target);if(e){const t=this.findMenuItemIndex(e);this.focusOnMenuItem(t)}}cancelBlurAndFocusOnMenuItem(t){t&&(this.cancelBlur(),t.focus())}handleFocus(){this.dispatchEvent(new CustomEvent("focus"))}handlePrivateBlur(t){if(t.detail.relatedTarget){this.findMenuItemFromEventTarget(t.detail.relatedTarget)&&this.cancelBlur()}t.stopPropagation(),this.handleBlur(),this._menuHasFocus=!1}handlePrivateFocus(t){t.stopPropagation(),this.allowBlur(),this._menuHasFocus=!0}handleBlur(){this._cancelBlur||(this._dropdownVisible&&this.toggleMenuVisibility(),this.dispatchEvent(new CustomEvent("blur")))}allowBlur(){this._cancelBlur=!1}cancelBlur(){this._cancelBlur=!0}menuKeyboardInterface(){const t=this;return{getTotalMenuItems:()=>t.getMenuItems().length,focusOnIndex(e){t.focusOnMenuItem(e)},setNextFocusIndex(e){t._focusOnIndexDuringRenderedCallback=e},returnFocus(){t.focusOnButton()},isMenuVisible:()=>t._dropdownVisible,toggleMenuVisibility(){t.toggleMenuVisibility()},focusMenuItemWithText(e){const n=[...t.getMenuItems()].filter(t=>{const n=t.label;return n&&0===n.toLowerCase().indexOf(e)});n.length>0&&t.focusOnMenuItem(n[0])}}}close(){this._dropdownVisible&&this.toggleMenuVisibility()}pollBoundingRect(){this.isAutoAlignment()&&this._dropdownVisible&&setTimeout(()=>{this._connected&&(a.observePosition(this,300,this._boundingRect,()=>{this.close()}),this.pollBoundingRect())},250)}}L.validationOptOut=["class"],L.delegatesFocus=!0,e.registerDecorators(L,{publicProps:{internalDatatableActionsMenu:{config:0},iconSize:{config:0},iconName:{config:3},value:{config:0},alternativeText:{config:0},loadingStateAlternativeText:{config:0},label:{config:3},draftAlternativeText:{config:0},groupOrder:{config:0},tabIndex:{config:0},variant:{config:3},menuAlignment:{config:3},disabled:{config:3},nubbin:{config:3},title:{config:3},isDraft:{config:3},isLoading:{config:3},accessKey:{config:3},tooltip:{config:3}},publicMethods:["focus","click"],track:{_accesskey:1,_disabled:1,_dropdownVisible:1,_dropdownOpened:1,_nubbin:1,_title:1,_isDraft:1,_isLoading:1,_focusOnIndexDuringRenderedCallback:1,_tabindex:1,_order:1,_variant:1,_iconName:1,_label:1,buttonParts:1},fields:["_positioning","_menuAlignment","_boundingRect","_tooltip","_needsFocusAfterRender"]});const F=e.registerComponent(L,{tmpl:C,sel:"interop-button-menu",apiVersion:62});t.default=F,Object.defineProperty(t,"__esModule",{value:!0})}); })();LWR.define('lightning/buttonMenu', ['interop/buttonMenu'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("lightning/primitiveButton",["exports","lwc","lightning/shadowBaseClassPrivate","lightning/utilsPrivate","lightning/utils","lightning/ariaObserver"],function(i,a,e,t,r,s){function l(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var n=l(e),o=l(s);const d=[];function u(i,a,e,t){return d}var g=a.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-50rp014c9i6",u.legacyStylesheetToken="lightning-primitiveButton_primitiveButton",a.freezeTemplate(u);const c="button",h="role";class A extends n.default{set disabled(i){this.originalDisabledValue=i,this.state.disabled=t.normalizeBoolean(i)}get disabled(){return this.state.disabled}set ariaLabelledBy(i){this.originalAriaLabelledBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-labelledby",relatedNodeIds:i})}get ariaLabelledBy(){return this.originalAriaLabelledBy}set ariaDescribedBy(i){this.originalAriaDescribedBy=i,this.ariaObserver.connect({targetSelector:"button",attribute:"aria-describedby",relatedNodeIds:i})}get ariaDescribedBy(){return this.originalAriaDescribedBy}set ariaControls(i){this.originalAriaControls=i,this.setAttribute("aria-controls",i),this.setHostRoleAttribute(c)}get ariaControls(){return this.originalAriaControls}set ariaOwns(i){this.originalAriaOwns=i,this.setAttribute("aria-owns",i),this.setHostRoleAttribute(c)}get ariaOwns(){return this.originalAriaOwns}set ariaDetails(i){this.originalAriaDetails=i,this.setAttribute("aria-details",i),this.setHostRoleAttribute(c)}get ariaDetails(){return this.originalAriaDetails}set ariaFlowTo(i){this.originalAriaFlowTo=i,this.setAttribute("aria-flowto",i),this.setHostRoleAttribute(c)}get ariaFlowTo(){return this.originalAriaFlowTo}get ariaExpanded(){return this.originalAriaExpanded}set ariaExpanded(i){this.originalAriaExpanded=i,this.state.ariaExpanded=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get computedAriaExpanded(){return this.state.ariaExpanded}set ariaPressed(i){this.originalAriaPressed=i,this.state.ariaPressed=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaPressed(){return this.originalAriaPressed}get computedAriaPressed(){return this.state.ariaPressed}set ariaHidden(i){this.originalAriaHidden=i,this.state.ariaHidden=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaHidden(){return this.originalAriaHidden}get computedAriaHidden(){return this.state.ariaHidden}set ariaHasPopup(i){this.originalAriaHasPopup=i,this.state.ariaHasPopup=t.normalizeString(i,{fallbackValue:null,validValues:["true","dialog","menu","listbox","tree","grid"]})}get ariaHasPopup(){return this.originalAriaHasPopup}get computedAriaHasPopup(){return this.state.ariaHasPopup}set ariaRelevant(i){this.originalAriaRelevant=i,this.state.ariaRelevant=t.normalizeString(i,{fallbackValue:null,validValues:["additions","removals","text","all"]})}get ariaRelevant(){return this.originalAriaRelevant}get computedAriaRelevant(){return this.state.ariaRelevant}set ariaLive(i){this.originalAriaLive=i,this.state.ariaLive=t.normalizeString(i,{fallbackValue:null,validValues:["polite","assertive","off"]})}get ariaLive(){return this.originalAriaLive}get computedAriaLive(){return this.state.ariaLive}set ariaAtomic(i){this.originalAriaAtomic=i,this.state.ariaAtomic=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaAtomic(){return this.originalAriaAtomic}get computedAriaAtomic(){return this.state.ariaAtomic}set ariaBusy(i){this.originalAriaBusy=i,this.state.ariaBusy=t.normalizeString(i,{fallbackValue:null,validValues:["true","false"]})}get ariaBusy(){return this.originalAriaBusy}get computedAriaBusy(){return this.state.ariaBusy}get computedButtonClass(){const i=r.classSet("slds-button");return i.add(t.buttonGroupOrderClass(this.groupOrder)),i.toString()}focus(){}constructor(){super(),this._initialized=!1,this.state={ariaAtomic:null,ariaBusy:null,ariaControls:null,ariaDetails:null,ariaDescribedBy:null,ariaExpanded:null,ariaFlowTo:null,ariaHasPopup:null,ariaHidden:null,ariaLabelledBy:null,ariaLive:null,ariaOwns:null,ariaPressed:null,ariaRelevant:null,disabled:!1},this.originalAriaAtomic=void 0,this.originalAriaBusy=void 0,this.originalAriaControls=void 0,this.originalAriaDetails=void 0,this.originalAriaDescribedBy=void 0,this.originalAriaExpanded=void 0,this.originalAriaFlowTo=void 0,this.originalAriaHasPopup=void 0,this.originalAriaHidden=void 0,this.originalAriaLabelledBy=void 0,this.originalAriaLive=void 0,this.originalAriaOwns=void 0,this.originalAriaPressed=void 0,this.originalAriaRelevant=void 0,this.originalDisabledValue=void 0,this.accessKey=void 0,this.title=void 0,this.ariaLabel=void 0,this.ariaCurrent=void 0,this.ariaKeyShortcuts=void 0,this.groupOrder="",this.ariaObserver=new o.default(this),t.isIE11&&t.isCSR&&this.template.addEventListener("click",i=>{this.disabled&&i.stopImmediatePropagation()})}connectedCallback(){super.connectedCallback(),this.ariaObserver||(this.ariaObserver=new o.default(this))}renderedCallback(){this.isConnected&&this.ariaObserver.sync()}disconnectedCallback(){this.ariaObserver&&(this.ariaObserver.disconnect(),this.ariaObserver=void 0)}setHostRoleAttribute(i){let a=this.getAttribute(h)||i;this.setAttribute(h,a)}}a.registerDecorators(A,{publicProps:{disabled:{config:3},accessKey:{config:0},title:{config:0},ariaLabel:{config:0},ariaLabelledBy:{config:3},ariaDescribedBy:{config:3},ariaControls:{config:3},ariaOwns:{config:3},ariaDetails:{config:3},ariaFlowTo:{config:3},ariaExpanded:{config:3},ariaPressed:{config:3},ariaHidden:{config:3},ariaCurrent:{config:0},ariaKeyShortcuts:{config:0},ariaHasPopup:{config:3},ariaRelevant:{config:3},ariaLive:{config:3},ariaAtomic:{config:3},ariaBusy:{config:3},groupOrder:{config:0}},publicMethods:["focus"],track:{state:1},fields:["_initialized","originalAriaAtomic","originalAriaBusy","originalAriaControls","originalAriaDetails","originalAriaDescribedBy","originalAriaExpanded","originalAriaFlowTo","originalAriaHasPopup","originalAriaHidden","originalAriaLabelledBy","originalAriaLive","originalAriaOwns","originalAriaPressed","originalAriaRelevant","originalDisabledValue"]});const b=a.registerComponent(A,{tmpl:g,sel:"lightning-primitive-button",apiVersion:62});i.default=b,Object.defineProperty(i,"__esModule",{value:!0})}); })();(function() { LWR.define("interop/button",["exports","lwc","lightning/primitiveIcon","lightning/utils","lightning/utilsPrivate","lightning/primitiveButton"],function(t,e,n,i,s,o){function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=r(n),l=r(o);var c=[function(){return""}];function u(t,e,n,i){const{ncls:s,ti:o,b:r,c:l,d:c,t:u,h:d}=t,{_m0:h,_m1:m,_m2:p}=i;return[d("button",{className:s(e.computedButtonClass),attrs:{disabled:e.disabled?"":null,"aria-disabled":e.disabled,name:e.name,accesskey:e.accessKey,title:e.title,type:e.normalizedType,value:e.value,"aria-atomic":e.computedAriaAtomic,"aria-busy":e.computedAriaBusy,"aria-label":e.ariaLabel,"aria-expanded":e.computedAriaExpanded,"aria-haspopup":e.computedAriaHasPopup,"aria-live":e.computedAriaLive,"aria-pressed":e.computedAriaPressed,"aria-relevant":e.computedAriaRelevant,part:"button",tabindex:o(e.tabIndex)},key:0,on:{focus:h||(i._m0=r(e.handleButtonFocus)),blur:m||(i._m1=r(e.handleButtonBlur)),click:p||(i._m2=r(e.handleButtonClick))}},[e.showIconLeft?l("lightning-primitive-icon",a.default,{props:{part:"start",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:1}):null,u(c(e.label)),e.showIconRight?l("lightning-primitive-icon",a.default,{props:{part:"end",iconName:e.iconName,svgClass:e.computedIconClass,variant:"bare"},key:2}):null])]}var d=e.registerTemplate(u);u.stylesheets=[],u.stylesheetToken="lwc-40a585din3p",u.legacyStylesheetToken="interop-button_button",c&&u.stylesheets.push.apply(u.stylesheets,c),e.freezeTemplate(u);const h="slds-kx-is-animating-from-click",m={Underline:"underline",Ripple:"ripple"},p={base:{"kx-scope":"button","kx-type":m.Underline},neutral:{"kx-scope":"button-neutral","kx-type":m.Ripple},brand:{"kx-scope":"button-brand","kx-type":m.Ripple},"brand-outline":{"kx-scope":"button-outline","kx-type":m.Ripple},destructive:{"kx-scope":"button-filled","kx-type":m.Ripple},"destructive-text":{"kx-scope":"button-outline","kx-type":m.Ripple},inverse:{"kx-scope":"button-outline","kx-type":m.Ripple},success:{"kx-scope":"button-filled","kx-type":m.Ripple}};function b(t){if(!t)return console.warn("getKineticsAttributes: variant is required"),[];const e=[],n=p[t];return Object.keys(n).forEach(t=>{e.push({name:t,value:n[t]})}),e}const f={},v={},g={},_={};function k(t){const e=t.getAttribute("kx-scope"),n=e?e.match(/^(\w+)/):null;return n?n[1]:""}function y(t){if(!t)return;const{offsetX:e,offsetY:n}=t;_.current={offsetX:e,offsetY:n}}function x(t){const{target:e}=t;z(e)}function z(t,e){const n=t.getAttribute("kx-type");function i(){!function(t){const e=function(t){if(A)return A;return A=function(){t.classList.remove(h),t.removeEventListener("animationend",A)},A}(t);t.removeEventListener("animationend",e),t.classList.remove(h),t.offsetWidth,t.addEventListener("animationend",e),t.classList.add(h)}(t)}e||(n!==m.Underline&&t.addEventListener("click",i),t.addEventListener("mouseleave",function e(){window.cancelAnimationFrame(v.current),t.removeEventListener("mousemove",y),t.removeEventListener("click",i),t.removeEventListener("mouseleave",e),setTimeout(()=>{!function(t){if(!t)return;const e=k(t);t.style.removeProperty(`--slds-kx-${e}-pointer-position-x`),t.style.removeProperty(`--slds-kx-${e}-pointer-position-y`)}(t)},250)}),t.addEventListener("mousemove",y)),void 0!==f.current&&(!function(t){if(!_||!_.current||_.current===g.current)return;const{offsetX:e,offsetY:n}=_.current,i=k(t);t.style.setProperty(`--slds-kx-${i}-pointer-position-x`,`${e}px`),t.getAttribute("kx-type")!==m.Underline&&t.style.setProperty(`--slds-kx-${i}-pointer-position-y`,`${n}px`)}(t),g.current=_.current),f.current=e,v.current=window.requestAnimationFrame(e=>{z(t,e)})}let A;class V extends l.default{constructor(...t){super(...t),this._normalizedVariant="neutral",this._stretch=!1,this.name=void 0,this.value=void 0,this.label=void 0,this.tabIndex=void 0,this.iconName=void 0,this.iconPosition="left",this._originalStretch=!1,this._normalizedStretch=!1,this.type="button",this._disableAnimation=!1}get variant(){return this.originalVariant}set variant(t){this.originalVariant=t,this._normalizedVariant=s.normalizeString(t,{fallbackValue:"neutral",validValues:["base","neutral","brand","brand-outline","destructive","destructive-text","inverse","success"]}),s.reflectAttribute(this,"variant",this._normalizedVariant)}get stretch(){return this._originalStretch}set stretch(t){this._originalStretch=t,this._normalizedStretch=s.normalizeBoolean(t),s.reflectAttribute(this,"stretch",this._normalizedStretch)}get disableAnimation(){return this._disableAnimation}set disableAnimation(t){this._disableAnimation=s.normalizeBoolean(t)}render(){return d}get computedButtonClass(){return i.classSet(super.computedButtonClass).add({"slds-button_neutral":"neutral"===this._normalizedVariant,"slds-button_brand":"brand"===this._normalizedVariant,"slds-button_outline-brand":"brand-outline"===this._normalizedVariant,"slds-button_destructive":"destructive"===this._normalizedVariant,"slds-button_text-destructive":"destructive-text"===this._normalizedVariant,"slds-button_inverse":"inverse"===this._normalizedVariant,"slds-button_success":"success"===this._normalizedVariant,"slds-button_stretch":this.stretch}).toString()}get normalizedType(){return s.normalizeString(this.type,{fallbackValue:"button",validValues:["button","reset","submit"]})}get normalizedIconPosition(){return s.normalizeString(this.iconPosition,{fallbackValue:"left",validValues:["left","right"]})}get showIconLeft(){return this.iconName&&"left"===this.normalizedIconPosition}get showIconRight(){return this.iconName&&"right"===this.normalizedIconPosition}get computedIconClass(){return i.classSet("slds-button__icon").add({"slds-button__icon_left":"left"===this.normalizedIconPosition,"slds-button__icon_right":"right"===this.normalizedIconPosition}).toString()}handleButtonFocus(){this.dispatchEvent(new CustomEvent("focus"))}handleButtonBlur(){this.dispatchEvent(new CustomEvent("blur"))}handleButtonClick(){if(!this.template.synthetic&&"submit"===this.normalizedType){const t=this.template.host.closest("form");t&&t.requestSubmit()}}focus(){this._connected&&this.button.focus()}click(){this._connected&&this.button.click()}get button(){return s.isCSR?this.template.querySelector("button"):null}connectedCallback(){super.connectedCallback(),this.template.synthetic||this.setAttribute("data-render-mode","shadow"),this._connected||(s.reflectAttribute(this,"variant",this._normalizedVariant),this._connected=!0)}renderedCallback(){if(super.renderedCallback(),this.template.host.style.pointerEvents=this.disabled?"none":"",this.disabled||!s.hasAnimation()||this._disableAnimation){b(this._normalizedVariant).forEach(({name:t})=>{this.button.removeAttribute(t)})}else{b(this._normalizedVariant).forEach(({name:t,value:e})=>{this.button.setAttribute(t,e)}),(t=this.button)&&t.addEventListener("mouseenter",x)}var t}disconnectedCallback(){super.disconnectedCallback(),this._connected=!1}}V.delegatesFocus=!0,e.registerDecorators(V,{publicProps:{name:{config:0},value:{config:0},label:{config:0},tabIndex:{config:0},variant:{config:3},iconName:{config:0},iconPosition:{config:0},stretch:{config:3},type:{config:0},disableAnimation:{config:3}},publicMethods:["focus","click"],fields:["_normalizedVariant","_stretch","_originalStretch","_normalizedStretch","_disableAnimation"]});const C=e.registerComponent(V,{tmpl:d,sel:"interop-button",apiVersion:62});V.interopMap={exposeNativeEvent:{click:!0,focus:!0,blur:!0}},t.default=C,Object.defineProperty(t,"__esModule",{value:!0})}); })();LWR.define('lightning/button', ['interop/button'], function(m) { return m && typeof m === 'object' && 'default' in m ? m.default : m; });(function() { LWR.define("c/pgNavigationMenuCustomItem",["exports","lwc","c/pgBaseComponent"],function(e,t,n){function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(n);var s=[function(e,t,n){var i=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return[t?":host(.desktop) > ul":o+".desktop > ul",i,", .desktop",i," {display: none;}li",i," {position: relative;}.link-element",i," {display: flex;justify-content: space-between;}button",i,", a.menu-link.menu-link-item",i," {position: relative;display: block;padding: 0;padding-right: 30px;text-align: left;color: #2E2E2E;font-weight: 700;line-height: 1.1;text-transform: uppercase;border: none;background-color: transparent;}a.menu-link.menu-link-item",i,' {padding-right: 0px;}a.menu-link.menu-link-item[data-last="true"]',i," {color: #7F7D7D;text-transform: capitalize;}a.menu-link.menu-link-item:focus-visible",i,", button:focus-visible",i," {outline: 1px solid #0057B7;outline-offset: 2px;border-radius: 20px;}button",i,"::after, button",i,"::before {content: '';position: absolute;top: 50%;-webkit-transform: translateY(-50%) rotate(0deg);-ms-transform: translateY(-50%) rotate(0deg);transform: translateY(-50%) rotate(0deg);display: inline-block;color: inherit;background-color: #4a4a4a;-webkit-transition: -webkit-transform .3s ease-in;transition: -webkit-transform .3s ease-in;-o-transition: transform .3s ease-in;transition: transform .3s ease-in;transition: transform .3s ease-in, -webkit-transform .3s ease-in;}button",i,"::after {width: 16px;height: 2px;right: 0;margin: 0 0 0 10px;}button",i,"::before {width: 2px;height: 16px;right: 7px;}",t?'button[aria-expanded="true"]'+i+'::before, :host(.mobile) button[aria-expanded="true"]':'button[aria-expanded="true"]'+i+"::before,"+o+'.mobile button[aria-expanded="true"]',i,'::after {background-color: #0057B7;}button[aria-expanded="true"]',i,"::before {-webkit-transform: translateY(-50%) rotate(-90deg);-ms-transform: translateY(-50%) rotate(-90deg);transform: translateY(-50%) rotate(-90deg);}",t?":host(.mobile) {":o+".mobile {","display: block;min-height: 100%;background-color: #FFFFFF;}",t?":host(.mobile) > ul":o+".mobile > ul",i," {padding: 30px 20px 20px 20px;}",t?":host(.mobile) li":o+".mobile li",i," {padding-bottom: 20px;}",t?":host(.submenu) > ul":o+".submenu > ul",i," > li:last-of-type",i," {padding-bottom: 0;}@media screen and (max-width: 1023px) {",t?":host(.submenu) {":o+".submenu {","display: none;}",t?":host(.submenu.open) {":o+".open.submenu {","display: block;}",t?":host(.submenu) > ul":o+".submenu > ul",i," {padding-top: 20px;}ul",i," {padding-left: 20px;}}@media screen and (min-width: 768px) {",t?":host(.mobile) {":o+".mobile {","max-width: 500px;}",t?":host(.mobile) > ul":o+".mobile > ul",i," {padding-right: 30px;}}@media screen and (min-width: 1024px) {.mobile",i," {display: none;}.desktop",i," {display: block;}",t?"li:hover"+i+" > .submenu"+i+",\r li:focus-within"+i+" > .submenu"+i+",\r :host(.desktop) > ul":"li:hover"+i+" > .submenu"+i+",\r li:focus-within"+i+" > .submenu"+i+","+o+".desktop > ul",i," ul",i," > li:hover",i," .submenu",i,' {display: block;}a.menu-link.menu-link-item[data-last="true"]',i," {color: #2E2E2E;}button",i,"::after {right: 0;top: 4px;width: 10px;height: 10px;-webkit-transform: rotate(45deg);-ms-transform: rotate(45deg);transform: rotate(45deg);border-bottom: 2px solid #2E2E2E;border-right: 2px solid #2E2E2E;background-color: transparent;}button",i,"::before {display: none;}",t?":host(.desktop) > ul":o+".desktop > ul",i," {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;gap: 15px;}",t?":host(.desktop) > ul":o+".desktop > ul",i," > li",i," {position: relative;font-size: 20px;padding: 5px;}",t?":host(.desktop) > ul":o+".desktop > ul",i," > li",i," > a.menu-link.menu-link-item",i," {padding-right: 0;}",t?".submenu"+i+", :host(.desktop) > ul":".submenu"+i+","+o+".desktop > ul",i," ul",i," .submenu",i," {display: none;position: absolute;top: 100%;left: 0;font-size: 18px;min-width: 40ch;z-index: 2000;background-color: #FFFFFF;-webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);}",t?":host(.desktop) > ul":o+".desktop > ul",i," ul",i," .submenu",i," {top: 0%;left: 100%;border-top-right-radius: 20px;border-bottom-right-radius: 20px;}",t?":host(.submenu) > ul":o+".submenu > ul",i," {padding: 10px 0 0 16px;background-color: #FFFFFF;}",t?":host(.submenu) > ul"+i+" a.menu-link.menu-link-item"+i+", :host(.submenu) > ul":o+".submenu > ul"+i+" a.menu-link.menu-link-item"+i+","+o+".submenu > ul",i," button",i," {padding-bottom: 10px;}",t?":host(.submenu) > ul":o+".submenu > ul",i," button",i,"::after {top: 5px;right: 16px;-webkit-transform: rotate(315deg);-ms-transform: rotate(315deg);transform: rotate(315deg);}}"].join("")}];const a=t.parseFragment`<div class="link-element${0}"${2}><a class="menu-link menu-link-item${0}"${"a1:data-link"}${"a1:data-last"}${"a1:href"}${2}>${"t2"}</a><button${"a3:aria-label"} aria-expanded="false" class="submenu-toggle${0}"${2}></button></div>`,l=t.parseFragment`<a class="menu-link menu-link-item${0}"${"a0:data-last"}${"a0:data-link"}${"a0:href"}${2}>${"t1"}</a>`,u={submenu:!0};function r(e,t,n,i){const{gid:o,k:s,b:r,d:m,sp:d,st:b,fr:c,c:h,h:g,i:k}=e,{_m0:f,_m1:x,_m2:y,_m3:v,_m4:w}=i;return[t.items?c(0,[g("ul",{attrs:{id:o("items-list")},key:1},k(t.items,function(e){return g("li",{key:s(2,e.menuLabel)},[e.childlevelItem?c(3,[b(a,5,[d(1,{on:{click:f||(i._m0=r(t.handleAnchorClick))},attrs:{"data-link":e.menuLink,"data-last":e.isLast,href:e.menuLink}},null),d(2,null,m(e.menuLabel)),d(3,{on:{click:x||(i._m1=r(t.handleOpenSubmenu))},attrs:{"aria-label":e.menuLabel}},null)])],0):c(3,[b(l,7,[d(0,{on:{click:v||(i._m3=r(t.handleAnchorClick))},attrs:{"data-last":e.isLast,"data-link":e.menuLink,href:e.menuLink}},null),d(1,null,m(e.menuLabel))])],0),e.childlevelItem?c(8,[h("c-pg-navigation-menu-custom-item",p,{classMap:u,props:{items:e.childlevelItem,closeSubmenus:t.closeSubmenus},key:9,on:{mobilelinkclick:w||(i._m4=r(t.handleMobileClick))}})],0):null])}))],0):null]}var m=t.registerTemplate(r);r.stylesheets=[],r.stylesheetToken="lwc-2ot82p0nnc",r.legacyStylesheetToken="c-pgNavigationMenuCustomItem_pgNavigationMenuCustomItem",s&&r.stylesheets.push.apply(r.stylesheets,s),t.freezeTemplate(r);class d extends o.default{constructor(...e){super(...e),this._items=void 0,this._closeSubmenus=void 0}get items(){return this._items}set items(e){this._items=e}get closeSubmenus(){return this._closeSubmenus}set closeSubmenus(e){this._closeSubmenus=e,this.handleMobileClick()}handleMobileClick(){const e=this.template.querySelectorAll(".submenu");e&&e.forEach(e=>{e.classList.remove("open"),e.closest("li").querySelector(".submenu-toggle").setAttribute("aria-expanded",!1)})}handleOpenSubmenu(e){const t=e.target,n=e.target.closest(".link-element"),i="false"===t.getAttribute("aria-expanded")?"true":"false";t.setAttribute("aria-expanded",i),n&&n.nextElementSibling&&n.nextElementSibling.classList.toggle("open")}handleAnchorClick(e){let t=e.currentTarget.dataset.link;t&&(document.body.style.overflowY="auto",this.navigateToWebPage(t,{})),this.dispatchEvent(new CustomEvent("mobilelinkclick",{bubbles:!0,composed:!0}))}}t.registerDecorators(d,{publicProps:{items:{config:3},closeSubmenus:{config:3}},fields:["_items","_closeSubmenus"]});const p=t.registerComponent(d,{tmpl:m,sel:"c-pg-navigation-menu-custom-item",apiVersion:59});e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("@salesforce/apex/applauncher.IdentityHeaderController.getLogoutUrl",["exports","lwc","force/ldsAdaptersApex"],function(e,r,o){const n=o.getApexInvoker("applauncher","IdentityHeaderController","getLogoutUrl","false"),s=r.registerComponent(n,{tmpl:void 0,sel:"@salesforce-2u0dznfoor72me1avpij6n24yej5asgz2nibxt0xd94e43iyhmfkmycj6dvdnp7sue1rbbv3khqs279v1r3g",apiVersion:62});e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pg_NavigationMenuItem",["exports","lwc","lightning/button","lightning/navigation","@salesforce/community/basePath","@salesforce/user/Id","@salesforce/apex/applauncher.IdentityHeaderController.getLogoutUrl","lightning/buttonMenu"],function(e,t,i,n,a,s,o,l){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=r(i),c=r(a),u=r(s),d=r(o),m=r(l);var h=[function(e,t,i){var n=e?"["+e+"]":"";return(t?":host {":(e?"["+e+"-host]":"")+" {")+"--dxp-g-brand-1: #989898;--dxp-c-anchor-text-decoration-hover: none;}h6"+n+" {font-weight: bold;color: black;}.button"+n+" {padding: 0.5rem 0.75rem;display: block;width: max-content;}.button:hover"+n+" .button:focus"+n+"{cursor: pointer;text-decoration: underline;}.display-none"+n+" {display: none;}.mobile-menu-item"+n+" {padding-left: 0.75rem;border-bottom: 1px solid rgba(119,119,119,.2);}.mobile-menu-container"+n+" {display: none;}.pg-hide-icon"+n+" {margin: 0.5rem 0.75rem;}@media screen and (max-width: 1024px) {.mobile-menu-container"+n+" {display: block !important;}.desktop-menu-container"+n+" {display: none !important;}}"}];const g={classMap:{"mobile-menu-container":!0},key:0},b={button:!0,"pg-button-black":!0},y={"data-toggle":"dropdown"},f={classMap:{"slds-listbox_vertical":!0,"display-none":!0,"mobile-menu":!0},key:2},v={classMap:{"mobile-menu-list":!0},attrs:{role:"menu","aria-label":"Show More"},key:3},M={"mobile-menu-item":!0},k={role:"presentation"},L={classMap:{"desktop-menu-container":!0,"pg-button-black":!0},key:6},_={"pg-hide-icon":!0};function w(e,t,i,n){const{b:a,c:s,k:o,h:l,i:r}=e,{_m0:c,_m1:u}=n;return[l("div",g,[t.isMenuLabelType?s("lightning-button",p.default,{classMap:b,attrs:y,props:{variant:"base",label:t.item.Label,title:t.item.Label},key:1,on:{click:c||(n._m0=a(t.handleMobileDropdownClick))}}):null,t.isMenuLabelType?l("div",f,[l("ul",v,r(t.item.childMenuItems,function(e){return l("li",{classMap:M,attrs:k,key:o(4,e.Id)},[s("c-pg_-navigation-menu-item",I,{props:{item:e},key:5})])}))]):null]),l("div",L,[t.isMenuLabelType?s("lightning-button-menu",m.default,{classMap:_,props:{label:t.item.Label,alternativeText:t.item.Label,variant:"bare"},key:7},r(t.item.childMenuItems,function(e){return s("c-pg_-navigation-menu-item",I,{props:{item:e},key:o(8,e.Id)})})):null]),t.isMenuLabelType?null:s("lightning-button",p.default,{classMap:b,props:{variant:"base",label:t.item.Label,title:t.item.Label},key:9,on:{click:u||(n._m1=a(t.handleClick))}})]}var x=t.registerTemplate(w);w.stylesheets=[],w.stylesheetToken="c-pg_NavigationMenuItem_pg_NavigationMenuItem",h&&w.stylesheets.push.apply(w.stylesheets,h),t.freezeTemplate(w);class T extends(n.NavigationMixin(t.LightningElement)){constructor(...e){super(...e),this.item={},this.isMobile=!1,this.href="#",this.pageReference=void 0,this.isMenuLabelType=void 0,this.childMenuItems=void 0}connectedCallback(){this.isMenuLabelType=!1,this.childMenuItems=this.item.childMenuItems;const{Type:e,Target:t,DefaultListViewId:i}=this.item;"SalesforceObject"===e?this.pageReference={type:"standard__objectPage",attributes:{objectApiName:t},state:{filterName:i}}:"InternalLink"===e?this.pageReference={type:"standard__webPage",attributes:{url:c.default+("/profile/home"===t?t.replace("home",u.default):t)}}:"ExternalLink"===e?this.pageReference={type:"standard__webPage",attributes:{url:t}}:"MenuLabel"===e?this.isMenuLabelType=!0:"Event"===e&&"Logout"===t&&d.default().then(e=>{this.pageReference={type:"standard__webPage",attributes:{url:e}}}),this.pageReference&&this[n.NavigationMixin.GenerateUrl](this.pageReference).then(e=>{this.href=e})}handleNavigation(){this.dispatchEvent(new CustomEvent("navigation"))}handleClick(e){e.stopPropagation(),e.preventDefault(),this.handleNavigation(),this.pageReference?"Event"===this.item.Type&&"Logout"===this.item.Target?window.open(this.pageReference.attributes.url,"_self"):this[n.NavigationMixin.Navigate](this.pageReference):console.log(`Navigation menu type "${this.item.Type}" not implemented for item ${JSON.stringify(this.item)}`)}handleDropdownClick(){this.template.querySelector(".desktop-menu-dropdown").classList.contains("slds-is-open")?this.template.querySelector(".desktop-menu-dropdown").classList.remove("slds-is-open"):this.template.querySelector(".desktop-menu-dropdown").classList.add("slds-is-open")}handleMobileDropdownClick(){this.template.querySelector(".mobile-menu").classList.contains("display-none")?this.template.querySelector(".mobile-menu").classList.remove("display-none"):this.template.querySelector(".mobile-menu").classList.add("display-none")}}t.registerDecorators(T,{publicProps:{item:{config:0},isMobile:{config:0}},track:{href:1},fields:["pageReference","isMenuLabelType","childMenuItems"]});const I=t.registerComponent(T,{tmpl:x,sel:"c-pg_navigation-menu-item",apiVersion:58});e.default=I,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("c/pg_NavigationMenu",["exports","lwc","c/pgNavigationMenuCustomItem","lightning/button","c/pg_NavigationMenuItem","lightning/buttonMenu","lightning/uiRecordApi","lightning/navigation","@salesforce/apex/PG_NavigationMenuItemsController.getNavigationMenuItems","@salesforce/user/isGuest","@salesforce/user/Id","@salesforce/schema/User.Name","@salesforce/schema/User.Contact.Salutation","@salesforce/community/basePath","@salesforce/label/c.PG_Menu_Toggle","@salesforce/label/c.PG_My_Profile","@salesforce/label/c.PG_FooterLogoAltText","@salesforce/label/c.PG_LoginButtonLabel","@salesforce/label/c.PG_Health_Logo_Alt_Text_Redirect","experience/cmsDeliveryApi","@salesforce/resourceUrl/LOGO_PG_Health_Esp","@salesforce/site/Id","@salesforce/apex/PG_CMSController.getCollectionItemByCollectionKey","c/pgBaseComponent"],function(e,t,n,a,i,o,s,l,r,u,d,c,m,p,g,f,h,b,v,x,y,M,k,w){function I(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=I(n),N=I(a),C=I(i),P=I(o),L=I(r),T=I(u),G=I(d),$=I(c),S=I(m),A=I(p),O=I(g),F=I(f),K=I(h),U=I(b),D=I(v),Y=I(y),E=I(M),B=I(k),j=I(w);var R=[function(e,t,n){var a=e?"["+e+"]":"";return".navigation-menu"+a+",.navbar"+a+" {background-color: #FFFFFF;}.navigation-menu"+a+" {position: relative;padding-top: 14px;padding-bottom: 14px;}.navbar"+a+" {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;max-width: 1400px;margin: 0 auto;}nav"+a+" {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-flex: 1;-ms-flex-positive: 1;flex-grow: 1;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;}.navbar"+a+">.logo-link"+a+" {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}.logo"+a+" {padding: 0 5px;max-width: 95px;}.overlay.mobile"+a+" {position: fixed;top: 65px;bottom: 0;left: 0;right: 0;z-index: 2000;background-color: rgba(8, 7, 7, 0.6);transform: translateX(-100%);transition: transform .3s ease-in;}.navbar.open"+a+" .overlay.mobile"+a+" {transform: translateX(0);}a:focus-within"+a+",button:focus-within"+a+" {outline: 1px solid #4A4A4A;outline-offset: 2px;border-radius: 20px;}.menu-btn"+a+" {max-width: -webkit-fit-content;max-width: -moz-fit-content;max-width: fit-content;padding: 10px;background-color: transparent;border: none;}.menu-btn"+a+" span"+a+" {display: block;width: 22px;height: 2px;background-color: #7F7D7D;-webkit-transition: -webkit-transform .2s ease-in-out;transition: -webkit-transform .2s ease-in-out;-o-transition: transform .2s ease-in-out;transition: transform .2s ease-in-out;transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;}.menu-btn"+a+" span:not(:last-of-type)"+a+' {margin-bottom: 5px;}.menu-btn[aria-expanded="true"]'+a+" .line1"+a+' {-webkit-transform: translateY(7px) rotate(45deg);-ms-transform: translateY(7px) rotate(45deg);transform: translateY(7px) rotate(45deg);-webkit-transform-origin: center;-ms-transform-origin: center;transform-origin: center;}.menu-btn[aria-expanded="true"]'+a+" .line2"+a+' {-webkit-transform: translateY(0) rotate(-45deg);-ms-transform: translateY(0) rotate(-45deg);transform: translateY(0) rotate(-45deg);}.menu-btn[aria-expanded="true"]'+a+" .line3"+a+" {opacity: 0;}@media screen and (max-width: 1023px) {.navbar"+a+" {padding: 0 10px 0 5px;}.navbar"+a+">*"+a+" {-webkit-box-flex: 1;-ms-flex-positive: 1;flex-grow: 1;}}@media screen and (min-width: 1024px) {.mobile"+a+" {display: none;}.navigation-menu"+a+" {padding-top: 0;padding-bottom: 0;}.navbar"+a+" {padding: 15px 24px;}.logo"+a+" {margin-right: 10px;max-width: 110px;}}"}];const H=t.parseFragment`<button${"a0:id"} data-id="Cross_Button"${"a0:aria-controls"} class="menu-btn mobile${0}" aria-label="Open close" aria-expanded="false"${2}><span class="line1${0}"${2}></span><span class="line2${0}"${2}></span><span class="line3${0}"${2}></span></button>`,V=t.parseFragment`<a href="/"${"a0:aria-label"} class="logo-link${0}"${2}><img${"a1:id"} class="logo${0}"${"a1:src"}${"a1:alt"}${2}></a>`,z={classMap:{"navigation-menu":!0,"pg-button-no-padding":!0},key:0},X={classMap:{navbar:!0,"slds-p-horizontal_large":!0},key:1},q={classMap:{nav:!0},attrs:{role:"navigation"},key:6},J={desktop:!0},Q={classMap:{overlay:!0,mobile:!0},key:8},W={mobile:!0},Z={classMap:{"my-profile-menu":!0},key:10},ee={button:!0},te={key:12},ne={"user-name":!0};function ae(e,t,n,a){const{gid:i,b:o,sp:s,st:l,c:r,h:u,k:d,i:c}=e,{_m0:m,_m1:p,_m2:g,_m3:f}=a;return[u("div",z,[u("div",X,[l(H,3,[s(0,{on:{click:p||(a._m1=o(t.handleMenuVisibility))},attrs:{id:i("menu-btn"),"aria-controls":i("mobile-menu")}},null)]),l(V,5,[s(0,{attrs:{"aria-label":t.label.PGHealthLogoAltText}},null),s(1,{attrs:{id:i("logo"),src:t.logoUrl,alt:t.label.PGHealthLogoAltText}},null)]),u("nav",q,[r("c-pg-navigation-menu-custom-item",_.default,{classMap:J,props:{items:t.navMenuItems},key:7}),u("div",Q,[r("c-pg-navigation-menu-custom-item",_.default,{classMap:W,props:{items:t.navMenuItems,closeSubmenus:t.closeSubmenus},key:9,on:{mobilelinkclick:g||(a._m2=o(t.handleMobileClick))}})]),u("div",Z,[t.isGuestUser?r("lightning-button",N.default,{classMap:ee,props:{variant:"base",label:t.label.Login,title:t.label.Login},key:11,on:{click:f||(a._m3=o(t.handleLoginClick))}}):null,t.isGuestUser?null:u("div",te,[r("lightning-button-menu",P.default,{classMap:ne,props:{label:t.salutationAndName,alternativeText:t.label.MyProfile,variant:"container"},key:13},c(t.myProfileMenuItems,function(e){return r("c-pg_-navigation-menu-item",C.default,{props:{item:e},key:d(14,e.Id)})}))])])])])])]}var ie=t.registerTemplate(ae);ae.stylesheets=[],ae.stylesheetToken="c-pg_NavigationMenu_pg_NavigationMenu",R&&ae.stylesheets.push.apply(ae.stylesheets,R),t.freezeTemplate(ae);class oe extends j.default{constructor(...e){super(...e),this.myProfileMenuName=void 0,this.menuName=void 0,this.contentId=void 0,this.logoContentId=void 0,this.error=void 0,this.href=A.default,this.isLoaded=void 0,this.menuItems=[],this.myProfileMenuItems=[],this.tilesContentKeys=[],this.allNavigationMenus=void 0,this.parentMenuItems=[],this.navMenuItems=[],this.CONTENTTYPE="pg_navigationMenu",this.closeSubmenus=!1,this.publishedState=void 0,this.showMenu=void 0,this.isGuestUser=T.default,this.showSideMenu=!1,this.logoUrl=Y.default,this.userId=G.default,this.name=void 0,this.salutation=void 0,this.salutationAndName=void 0,this.label={MenuToggle:O.default,MyProfile:F.default,LogoAltText:K.default,Login:U.default,PGHealthLogoAltText:D.default}}wiredData({error:e,data:t}){e?this.error=e:t&&(this.name=s.getFieldValue(t,$.default),this.salutation=s.getFieldDisplayValue(t,S.default),this.salutationAndName=null!=this.salutation?this.salutation+" "+this.name:this.name)}setCurrentPageReference(e){const t=e&&e.state&&e.state.app;this.publishedState="commeditor"===t?"Draft":"Live"}onGetNavLogo({data:e,error:t}){e&&(this.logoUrl=`${A.default}/sfsites/c${e.contentBody["sfdc_cms:media"].url}`)}onGetContent({data:e,error:t}){e?(e.contentBody["sfdc_cms:collection"].forEach(e=>{this.tilesContentKeys.push(e.contentKey)}),this.getCollectionItemDetails()):t&&console.log(t)}getCollectionItemDetails(){B.default({contentKeyList:this.tilesContentKeys,contentType:this.CONTENTTYPE,siteId:""}).then(e=>{this.allNavigationMenus=[];let t=new Map;for(var n in e){let a={level1Menu:e[n].level1Menu,level2Menu:e[n].level2Menu};if(t.has(e[n].menuName)&&(e[n].level1Menu||e[n].leve2Menu))t.get(e[n].menuName).push(a);else{let i=[];(e[n].level1Menu||e[n].leve2Menu)&&i.push(a),t.set(e[n].menuName,i)}}this.setupNavigationMenu(t)}).catch(e=>{console.log("error"+JSON.stringify(e))})}setupNavigationMenu(e){let t=e.keys();for(let n of t){let t=e.get(n),a=n.split("="),i={menuLabel:a[0],menuLink:a[1]};if(t.length>0){let e=[];for(let n in t){let a=t[n].level1Menu.split("=");if(e.push({menuLabel:a[0],menuLink:a[1]}),t[n].level2Menu){let a=t[n].level2Menu.split(","),i=[];a.forEach(e=>{let t=e.split("="),n={menuLabel:t[0],menuLink:t[1],isLast:!0};i.push(n)}),e[n]&&(e[n].childlevelItem=i)}}i.childlevelItem=e}this.navMenuItems.push(i)}}handleMenuVisibility(e){const t=e.currentTarget,n="false"===t.getAttribute("aria-expanded")?"true":"false";t.setAttribute("aria-expanded",n),t.closest(".navbar").classList.toggle("open"),document.body.style.overflowY="true"===n?"hidden":""}connectedCallback(){L.default({menuName:this.myProfileMenuName,publishedState:this.publishedState}).then(e=>{this.myProfileMenuItems=e}).catch(e=>{this.error=e,this.myProfileMenuItems=[]})}handleLoginClick(){this.navigateToNamedPage("Login",{})}handleMobileClick(){this.closeSubmenus=!this.closeSubmenus,this.template.querySelector('[data-id="Cross_Button"]').click()}}t.registerDecorators(oe,{publicProps:{myProfileMenuName:{config:0},menuName:{config:0},contentId:{config:0},logoContentId:{config:0},CONTENTTYPE:{config:0}},track:{tilesContentKeys:1,parentMenuItems:1,navMenuItems:1},wire:{wiredData:{adapter:s.getRecord,dynamic:[],method:1,config:function(e){return{recordId:G.default,fields:[$.default,S.default]}}},setCurrentPageReference:{adapter:l.CurrentPageReference,method:1,config:function(e){return{}}},onGetNavLogo:{adapter:x.getContent,dynamic:["contentKeyOrId"],method:1,config:function(e){return{channelOrSiteId:E.default,contentKeyOrId:e.logoContentId}}},onGetContent:{adapter:x.getContent,dynamic:["contentKeyOrId"],method:1,config:function(e){return{channelOrSiteId:E.default,contentKeyOrId:e.contentId}}}},fields:["error","href","isLoaded","menuItems","myProfileMenuItems","allNavigationMenus","closeSubmenus","publishedState","showMenu","isGuestUser","showSideMenu","logoUrl","userId","name","salutation","salutationAndName","label"]});const se=t.registerComponent(oe,{tmpl:ie,sel:"c-pg_navigation-menu",apiVersion:58});e.default=se,Object.defineProperty(e,"__esModule",{value:!0})}); })();LWR.define('@salesforce/community/Id', [], function() { return "0DBDn000000wuTgOAI"; });(function() { LWR.define("dxp_util/common",["exports"],function(M){function N(M,N){return function(){try{return M.apply(this,arguments)}catch(M){return N?.apply(this,[M].concat(arguments))}}}function D(M){return M&&"object"==typeof M&&!Array.isArray(M)}const I=(...M)=>N=>M.filter(M=>"function"==typeof M).reduce((M,N)=>N(M),N),j=(...M)=>N=>M.filter(M=>"function"==typeof M).reduceRight((M,N)=>N(M),N),g=M=>N=>N.filter(M),e=M=>N=>N.every(M),u=M=>N=>Object.keys(N).forEach(M);const t=M=>function N(...D){return D.length>=M.length?M.apply(this,D):(...M)=>N.apply(this,D.concat(M))};function i(M){return"function"==typeof M}const y=M=>i(M)?M():M,z=t((M,N,D)=>y(M)?y(N):y(D)),n=t((M,N)=>z(M,N,null)),r=M=>N=>N(M);function A(M){return M!==Object(M)}const T=t((M,N)=>{if(L(N))return M;const D=N.split(".");let I=M??{},j=0;for(j=0;j<D.length-1;j++){if(L(I[D[j]]))return null;I=I[D[j]]}return I[D[j]]}),c=t((M,N,D)=>{if(L(N))return;const I=N.split(".");let j=M,g=0;for(g=0;g<I.length-1;g++)j[I[g]]=j[I[g]]||{},j=j[I[g]];j[I[g]]=D}),E=t((M,N,D,I)=>{const j=T(M,D);c(N,I,j)});const O=M=>!L(M);function L(M){if(Array.isArray(M))return 0===M.length;switch(typeof M){case"string":return""===M;case"boolean":case"number":case"function":return!1;case"object":return 0===Object.keys(M??{}).length;default:return null==M}}function o(M,N=""){return Object.prototype.hasOwnProperty.call(M??{},N)}const x="__sfdc_default__";function Q(M){return O(M?.value?.fields)}function a(M){return M?.displayValue||M?.value||M}function s(M,N){return C(M)?N??"":N}function C(M){return"object"==typeof M&&!Array.isArray(M)&&o(M,"value")&&o(M,"displayValue")}function l(M){return""!==M&&!isNaN(Number(M))&&/^-?[0-9a-fA-Fx.]*$/.exec(M)}const f=["%","cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh"];function k(M,N=f){const D=/^([^a-z%]*)(.*)/.exec(M);let I=D[1],j=D[2];return l(I)&&N.includes(j)||(I="",j=""),{value:I,unit:j}}const Y={toString(){return Object.keys(this).map(M=>{const[N,D]=M.split(":"),I=k(this[M]);let j;return j=O(I.unit)?this[M]:O(this[M])?`${this[M]}${D??""}`:"initial",`${N}: ${j};`}).join(" ")}};const S="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwNiIgaGVpZ2h0PSI0NDEiIHZpZXdCb3g9IjAgMCAxNDA2IDQ0MSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgb3BhY2l0eT0iMC4yODMxNTgiIHk9IjAuMzMwMDc4IiB3aWR0aD0iMTQwNiIgaGVpZ2h0PSI0NDAiIGZpbGw9IiNGM0YzRjMiLz4KPHBhdGggZD0iTTY3OCAyNTJDNjcxLjkyIDI1MiA2NjcgMjQ3LjA4IDY2NyAyNDFWMTk5QzY2NyAxOTIuOTIgNjcxLjkyIDE4OCA2NzggMTg4SDcyOEM3MzQuMDggMTg4IDczOSAxOTIuOTIgNzM5IDE5OVYyNDFDNzM5IDI0Ny4wOCA3MzQuMDggMjUyIDcyOCAyNTJINjc4VjI1MlpNNjczIDIzMS43Nkw2ODEuODggMjI0LjhDNjgyLjU2IDIyNC4yOCA2ODMuMjggMjI0IDY4NC4wNCAyMjRDNjg0LjggMjI0IDY4NS41NiAyMjQuMjggNjg2LjIgMjI0LjhMNjk2LjY0IDIzMy4yNEw3MTQuMDggMjE4LjhDNzE0Ljc2IDIxOC4yNCA3MTUuNDggMjE4IDcxNi4yNCAyMThDNzE3IDIxOCA3MTcuNzYgMjE4LjI4IDcxOC40IDIxOC44TDczMyAyMzAuNDhWMTk5QzczMyAxOTYuMjQgNzMwLjc2IDE5NCA3MjggMTk0SDY3OEM2NzUuMjQgMTk0IDY3MyAxOTYuMjQgNjczIDE5OVYyMzEuNzZWMjMxLjc2Wk02OTUgMjIwQzY4OS40OCAyMjAgNjg1IDIxNS41MiA2ODUgMjEwQzY4NSAyMDQuNDggNjg5LjQ4IDIwMCA2OTUgMjAwQzcwMC41MiAyMDAgNzA1IDIwNC40OCA3MDUgMjEwQzcwNSAyMTUuNTIgNzAwLjUyIDIyMCA2OTUgMjIwWk02OTUgMjE0QzY5Ny4yIDIxNCA2OTkgMjEyLjIgNjk5IDIxMEM2OTkgMjA3LjggNjk3LjIgMjA2IDY5NSAyMDZDNjkyLjggMjA2IDY5MSAyMDcuOCA2OTEgMjEwQzY5MSAyMTIuMiA2OTIuOCAyMTQgNjk1IDIxNFpNNjc4IDI0Nkg3MjhDNzMwLjc2IDI0NiA3MzMgMjQzLjc2IDczMyAyNDFWMjM5LjY0QzczMyAyMzguNjggNzMyLjYgMjM3Ljg0IDczMS44NCAyMzcuMjRMNzE2LjI0IDIyNC43Nkw2OTguOCAyMzkuMjRDNjk4LjE2IDIzOS43NiA2OTcuNCAyNDAgNjk2LjY0IDI0MEM2OTUuODggMjQwIDY5NS4xNiAyMzkuOCA2OTQuNDggMjM5LjI0TDY4NC4wNCAyMzAuNzZMNjc0LjE2IDIzOC41MkM2NzMuNCAyMzkuMTIgNjczIDIzOS45NiA2NzMgMjQwLjkyVjI0MUM2NzMgMjQzLjc2IDY3NS4yNCAyNDYgNjc4IDI0NlYyNDZaIiBmaWxsPSIjQUJBQ0FEIi8+Cjwvc3ZnPg==";function U(M){return M&&""!==M}function p(M){return U(M)?`url("${M}")`:""}function w(M){return U(M)?M:S}const m=M=>{if(!M)return null;if(M.matches&&M.matches("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]"))return M;const N=M.shadowRoot;if(N)return m(N);if(M.assignedElements)for(const N of M.assignedElements()){const M=m(N);if(M)return M}else for(const N of M.children){const M=m(N);if(M)return M}return null},d=t((M,N)=>N?.toString().split(M)??[]);function h(M){return"string"==typeof M}function b(M){return h(M)&&O(M)}const v=["l","m","s"],Z={top:"flex-start",left:"flex-start",bottom:"flex-end",right:"flex-end",center:"center"};M.AlignmentMap=Z,M.DEBOUNCE_TIMEOUT=150,M.EMPTY_RECT={top:0,right:0,bottom:0,left:0},M.KeyCodes={tab:9,backspace:8,enter:13,escape:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46,shift:16},M.LOGO_PLACEHOLDER_DATA_URI="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjUwIiB2aWV3Qm94PSIwIDAgMTUwIDUwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSIyNSIgY3k9IjI1IiByPSIyNSIgZmlsbD0iIzc3NzU3QSIvPgo8cGF0aCBkPSJNNjUuNTI4NyAzOS41VjEyLjAzMkg3MC40MDA3VjM1LjM4NEg4MS44MjQ3VjM5LjVINjUuNTI4N1pNOTQuMDk5NSA0MC4wMDRDOTIuMzkxNSA0MC4wMDQgOTAuNzk1NSAzOS41ODQgODkuMzExNSAzOC43NDRDODcuODI3NSAzNy44NzYgODYuNjIzNSAzNi42NDQgODUuNjk5NSAzNS4wNDhDODQuNzc1NSAzMy40MjQgODQuMzEzNSAzMS40NzggODQuMzEzNSAyOS4yMUM4NC4zMTM1IDI2LjkxNCA4NC43NzU1IDI0Ljk2OCA4NS42OTk1IDIzLjM3MkM4Ni42MjM1IDIxLjc0OCA4Ny44Mjc1IDIwLjUxNiA4OS4zMTE1IDE5LjY3NkM5MC43OTU1IDE4LjgwOCA5Mi4zOTE1IDE4LjM3NCA5NC4wOTk1IDE4LjM3NEM5NS44MzU1IDE4LjM3NCA5Ny40NDU1IDE4LjgwOCA5OC45Mjk1IDE5LjY3NkMxMDAuNDE0IDIwLjUxNiAxMDEuNjE4IDIxLjc0OCAxMDIuNTQyIDIzLjM3MkMxMDMuNDY2IDI0Ljk2OCAxMDMuOTI4IDI2LjkxNCAxMDMuOTI4IDI5LjIxQzEwMy45MjggMzEuNDc4IDEwMy40NjYgMzMuNDI0IDEwMi41NDIgMzUuMDQ4QzEwMS42MTggMzYuNjQ0IDEwMC40MTQgMzcuODc2IDk4LjkyOTUgMzguNzQ0Qzk3LjQ0NTUgMzkuNTg0IDk1LjgzNTUgNDAuMDA0IDk0LjA5OTUgNDAuMDA0Wk05NC4wOTk1IDM2LjA1NkM5NS42MTE1IDM2LjA1NiA5Ni44MDE1IDM1LjQyNiA5Ny42Njk1IDM0LjE2NkM5OC41Mzc1IDMyLjkwNiA5OC45NzE1IDMxLjI1NCA5OC45NzE1IDI5LjIxQzk4Ljk3MTUgMjcuMTM4IDk4LjUzNzUgMjUuNDcyIDk3LjY2OTUgMjQuMjEyQzk2LjgwMTUgMjIuOTUyIDk1LjYxMTUgMjIuMzIyIDk0LjA5OTUgMjIuMzIyQzkyLjU4NzUgMjIuMzIyIDkxLjM5NzUgMjIuOTUyIDkwLjUyOTUgMjQuMjEyQzg5LjY4OTUgMjUuNDcyIDg5LjI2OTUgMjcuMTM4IDg5LjI2OTUgMjkuMjFDODkuMjY5NSAzMS4yNTQgODkuNjg5NSAzMi45MDYgOTAuNTI5NSAzNC4xNjZDOTEuMzk3NSAzNS40MjYgOTIuNTg3NSAzNi4wNTYgOTQuMDk5NSAzNi4wNTZaTTExNS44OSA0OC42MTRDMTE0LjI2NiA0OC42MTQgMTEyLjc5NiA0OC40MTggMTExLjQ4IDQ4LjAyNkMxMTAuMTkyIDQ3LjYzNCAxMDkuMTcgNDcuMDMyIDEwOC40MTQgNDYuMjJDMTA3LjY4NiA0NS40MzYgMTA3LjMyMiA0NC40NDIgMTA3LjMyMiA0My4yMzhDMTA3LjMyMiA0MS41MyAxMDguMzAyIDQwLjA2IDExMC4yNjIgMzguODI4VjM4LjY2QzEwOS43MyAzOC4zMjQgMTA5LjI4MiAzNy44NzYgMTA4LjkxOCAzNy4zMTZDMTA4LjU4MiAzNi43NTYgMTA4LjQxNCAzNi4wNTYgMTA4LjQxNCAzNS4yMTZDMTA4LjQxNCAzNC40MDQgMTA4LjYzOCAzMy42NzYgMTA5LjA4NiAzMy4wMzJDMTA5LjU2MiAzMi4zNiAxMTAuMDk0IDMxLjgxNCAxMTAuNjgyIDMxLjM5NFYzMS4yMjZDMTA5Ljk4MiAzMC42OTQgMTA5LjM1MiAyOS45NTIgMTA4Ljc5MiAyOUMxMDguMjYgMjguMDQ4IDEwNy45OTQgMjYuOTcgMTA3Ljk5NCAyNS43NjZDMTA3Ljk5NCAyNC4xNyAxMDguMzcyIDIyLjgyNiAxMDkuMTI4IDIxLjczNEMxMDkuODg0IDIwLjY0MiAxMTAuODc4IDE5LjgxNiAxMTIuMTEgMTkuMjU2QzExMy4zNyAxOC42NjggMTE0LjcxNCAxOC4zNzQgMTE2LjE0MiAxOC4zNzRDMTE2LjcwMiAxOC4zNzQgMTE3LjIzNCAxOC40MyAxMTcuNzM4IDE4LjU0MkMxMTguMjcgMTguNjI2IDExOC43NDYgMTguNzM4IDExOS4xNjYgMTguODc4SDEyNi41NThWMjIuNDQ4SDEyMi43NzhDMTIzLjExNCAyMi44NCAxMjMuMzk0IDIzLjM0NCAxMjMuNjE4IDIzLjk2QzEyMy44NDIgMjQuNTQ4IDEyMy45NTQgMjUuMjA2IDEyMy45NTQgMjUuOTM0QzEyMy45NTQgMjcuNDQ2IDEyMy42MDQgMjguNzM0IDEyMi45MDQgMjkuNzk4QzEyMi4yMDQgMzAuODM0IDEyMS4yNjYgMzEuNjE4IDEyMC4wOSAzMi4xNUMxMTguOTE0IDMyLjY4MiAxMTcuNTk4IDMyLjk0OCAxMTYuMTQyIDMyLjk0OEMxMTUuNjk0IDMyLjk0OCAxMTUuMjMyIDMyLjkwNiAxMTQuNzU2IDMyLjgyMkMxMTQuMjggMzIuNzM4IDExMy44MDQgMzIuNTk4IDExMy4zMjggMzIuNDAyQzExMy4wMiAzMi42ODIgMTEyLjc2OCAzMi45NjIgMTEyLjU3MiAzMy4yNDJDMTEyLjQwNCAzMy41MjIgMTEyLjMyIDMzLjkgMTEyLjMyIDM0LjM3NkMxMTIuMzIgMzQuOTY0IDExMi41NTggMzUuNDI2IDExMy4wMzQgMzUuNzYyQzExMy41MzggMzYuMDk4IDExNC40MiAzNi4yNjYgMTE1LjY4IDM2LjI2NkgxMTkuMzM0QzEyMS44MjYgMzYuMjY2IDEyMy43MDIgMzYuNjcyIDEyNC45NjIgMzcuNDg0QzEyNi4yNSAzOC4yNjggMTI2Ljg5NCAzOS41NTYgMTI2Ljg5NCA0MS4zNDhDMTI2Ljg5NCA0Mi42OTIgMTI2LjQ0NiA0My45MSAxMjUuNTUgNDUuMDAyQzEyNC42NTQgNDYuMTIyIDEyMy4zOCA0Ny4wMDQgMTIxLjcyOCA0Ny42NDhDMTIwLjA3NiA0OC4yOTIgMTE4LjEzIDQ4LjYxNCAxMTUuODkgNDguNjE0Wk0xMTYuMTQyIDI5LjkyNEMxMTcuMTIyIDI5LjkyNCAxMTcuOTYyIDI5LjU2IDExOC42NjIgMjguODMyQzExOS4zNjIgMjguMTA0IDExOS43MTIgMjcuMDgyIDExOS43MTIgMjUuNzY2QzExOS43MTIgMjQuNDc4IDExOS4zNjIgMjMuNDg0IDExOC42NjIgMjIuNzg0QzExNy45OSAyMi4wNTYgMTE3LjE1IDIxLjY5MiAxMTYuMTQyIDIxLjY5MkMxMTUuMTM0IDIxLjY5MiAxMTQuMjggMjIuMDQyIDExMy41OCAyMi43NDJDMTEyLjg4IDIzLjQ0MiAxMTIuNTMgMjQuNDUgMTEyLjUzIDI1Ljc2NkMxMTIuNTMgMjcuMDgyIDExMi44OCAyOC4xMDQgMTEzLjU4IDI4LjgzMkMxMTQuMjggMjkuNTYgMTE1LjEzNCAyOS45MjQgMTE2LjE0MiAyOS45MjRaTTExNi42NDYgNDUuNDY0QzExOC4yOTggNDUuNDY0IDExOS42NDIgNDUuMTI4IDEyMC42NzggNDQuNDU2QzEyMS43MTQgNDMuNzg0IDEyMi4yMzIgNDMuMDE0IDEyMi4yMzIgNDIuMTQ2QzEyMi4yMzIgNDEuMzM0IDEyMS45MSA0MC43ODggMTIxLjI2NiA0MC41MDhDMTIwLjY1IDQwLjIyOCAxMTkuNzU0IDQwLjA4OCAxMTguNTc4IDQwLjA4OEgxMTUuNzY0QzExNC42NDQgNDAuMDg4IDExMy43MDYgMzkuOTkgMTEyLjk1IDM5Ljc5NEMxMTEuODg2IDQwLjYwNiAxMTEuMzU0IDQxLjUxNiAxMTEuMzU0IDQyLjUyNEMxMTEuMzU0IDQzLjQ0OCAxMTEuODMgNDQuMTYyIDExMi43ODIgNDQuNjY2QzExMy43MzQgNDUuMTk4IDExNS4wMjIgNDUuNDY0IDExNi42NDYgNDUuNDY0Wk0xMzguMzE0IDQwLjAwNEMxMzYuNjA2IDQwLjAwNCAxMzUuMDEgMzkuNTg0IDEzMy41MjYgMzguNzQ0QzEzMi4wNDIgMzcuODc2IDEzMC44MzggMzYuNjQ0IDEyOS45MTQgMzUuMDQ4QzEyOC45OSAzMy40MjQgMTI4LjUyOCAzMS40NzggMTI4LjUyOCAyOS4yMUMxMjguNTI4IDI2LjkxNCAxMjguOTkgMjQuOTY4IDEyOS45MTQgMjMuMzcyQzEzMC44MzggMjEuNzQ4IDEzMi4wNDIgMjAuNTE2IDEzMy41MjYgMTkuNjc2QzEzNS4wMSAxOC44MDggMTM2LjYwNiAxOC4zNzQgMTM4LjMxNCAxOC4zNzRDMTQwLjA1IDE4LjM3NCAxNDEuNjYgMTguODA4IDE0My4xNDQgMTkuNjc2QzE0NC42MjggMjAuNTE2IDE0NS44MzIgMjEuNzQ4IDE0Ni43NTYgMjMuMzcyQzE0Ny42OCAyNC45NjggMTQ4LjE0MiAyNi45MTQgMTQ4LjE0MiAyOS4yMUMxNDguMTQyIDMxLjQ3OCAxNDcuNjggMzMuNDI0IDE0Ni43NTYgMzUuMDQ4QzE0NS44MzIgMzYuNjQ0IDE0NC42MjggMzcuODc2IDE0My4xNDQgMzguNzQ0QzE0MS42NiAzOS41ODQgMTQwLjA1IDQwLjAwNCAxMzguMzE0IDQwLjAwNFpNMTM4LjMxNCAzNi4wNTZDMTM5LjgyNiAzNi4wNTYgMTQxLjAxNiAzNS40MjYgMTQxLjg4NCAzNC4xNjZDMTQyLjc1MiAzMi45MDYgMTQzLjE4NiAzMS4yNTQgMTQzLjE4NiAyOS4yMUMxNDMuMTg2IDI3LjEzOCAxNDIuNzUyIDI1LjQ3MiAxNDEuODg0IDI0LjIxMkMxNDEuMDE2IDIyLjk1MiAxMzkuODI2IDIyLjMyMiAxMzguMzE0IDIyLjMyMkMxMzYuODAyIDIyLjMyMiAxMzUuNjEyIDIyLjk1MiAxMzQuNzQ0IDI0LjIxMkMxMzMuOTA0IDI1LjQ3MiAxMzMuNDg0IDI3LjEzOCAxMzMuNDg0IDI5LjIxQzEzMy40ODQgMzEuMjU0IDEzMy45MDQgMzIuOTA2IDEzNC43NDQgMzQuMTY2QzEzNS42MTIgMzUuNDI2IDEzNi44MDIgMzYuMDU2IDEzOC4zMTQgMzYuMDU2WiIgZmlsbD0iIzcwNkU2QiIvPgo8L3N2Zz4K",M.PLACEHOLDER_DATA_URI=S,M.SFDC_DEFAULT=x,M.VIDEO_PLACEHOLDER_DATA_URI="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMxMiIgaGVpZ2h0PSI0NDAiIHZpZXdCb3g9IjAgMCAxMzEyIDQ0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgb3BhY2l0eT0iMC4yODMxNTgiIHdpZHRoPSIxMzEyIiBoZWlnaHQ9IjQ0MCIgZmlsbD0iI0YzRjNGMyIvPgo8cGF0aCBkPSJNNjM5LjA4IDE5MkM2NDAuNzYgMTkyIDY0Mi42OCAxOTIuNTYgNjQ0LjY4IDE5My42OEw2NzguNzYgMjEyLjg0QzY4Mi4yOCAyMTQuOCA2ODQgMjE3LjQgNjg0IDIyMEM2ODQgMjIyLjYgNjgyLjMyIDIyNS4xNiA2NzguNzYgMjI3LjE2TDY0NC42OCAyNDYuMzJDNjQyLjY4IDI0Ny40NCA2NDAuNzYgMjQ4IDYzOS4wOCAyNDhDNjM0Ljg4IDI0OCA2MzIgMjQ0LjY0IDYzMiAyMzguOTJWMjAxLjA4QzYzMiAxOTUuMzYgNjM0Ljg4IDE5MiA2MzkuMDggMTkyVjE5MloiIGZpbGw9IiNBQkFDQUQiLz4KPC9zdmc+",M.and=(...M)=>N=>M?.filter(i).every(r(N)),M.apply=function(...M){const[N,D,...I]=M;return N?.[D]?.apply(N,I)},M.compose=j,M.convertClassAttributeToSelector=function(M){return z(!M||"string"!=typeof M,null,()=>`.${M.split(" ").join(".")}`)},M.curry=t,M.debounce=function(M,N,D){const I=D||{};let j,g=I.leading;return function(){const D=Array.prototype.slice.apply(arguments);g&&(M.apply(this,D),g=!1),clearTimeout(j),j=setTimeout(function(){M.apply(this,D),g=I.leading},N)}},M.deepCopy=function M(N){if(Object(N)!==N)return N;if(N instanceof Set)return new Set(N);if(N instanceof Date)return new Date(N);if("function"==typeof N)return N.bind({});if(Array.isArray(N)){const D=[],I=N.length;for(let j=0;j<I;j++)D.push(M(N[j]));return D}const D=Object.create({});let I=Object.keys(N);N instanceof Error&&(I=Object.getOwnPropertyNames(N));const j=I.length;for(let g=0;g<j;g++){const j=I[g];D[j]=M(N[j])}return D},M.deepMerge=function M(N,...I){if(!I.length)return N;const j=I.shift();if(D(N)&&D(j))for(const I in j)D(j[I])?(N[I]||Object.assign(N,{[I]:{}}),M(N[I],j[I])):Array.isArray(j[I])&&Array.isArray(N[I])?N[I]=[...N[I],...j[I]]:Object.assign(N,{[I]:j[I]});return M(N,...I)},M.empty=L,M.every=e,M.everyKey=M=>N=>j(e(M),Object.keys)(N),M.fieldToValue=a,M.filter=g,M.find=M=>N=>N.find(M),M.findFirstFocusable=m,M.forEach=M=>N=>N.forEach(M),M.forEachKey=u,M.formatString=function(M,...N){return N.reduce((M,N,D)=>M?.replaceAll(`{${D}}`,N),M)},M.get=T,M.getify=function M(N,D,I={}){return L(N)||A(N)||i(N)?N:(D=function(M){return{patchRecord:!0,getter:(M,N)=>()=>T(M,N),...M}}(D),Array.isArray(N)?N.map(N=>M(N,D)):Object.entries(N).reduce((I,j)=>{const[g,e]=j,u=typeof e;if(A(e))Object.defineProperty(I,g,{get:()=>D.getter(N,g)(),enumerable:!0});else if(Array.isArray(e))I[g]=e.map(N=>M(N,D));else if(i(e))I[g]=e;else if("object"===u){const j={};if(D.patchRecord&&Object.defineProperties(j,{[x]:{get:()=>s(e,D.getter(N,g)()),enumerable:!0},_rawValue:{get:()=>D.getter(j,"value")(),enumerable:!0},_displayValue:{get:()=>D.getter(j,"displayValue")(),enumerable:!0}}),M(e,D,j),Q(j)){const M=j.value.fields;Object.entries(M).forEach(M=>{const[N,D]=M;o(j,N)||Object.defineProperty(j,N,{get:()=>Q(D)?D:a(D),enumerable:!0})})}I[g]=j}return I},I))},M.hasOwnProperty=o,M.hasUri=U,M.ifElse=z,M.ifVal=n,M.isField=C,M.isFunction=i,M.isNonEmptyString=b,M.isNumber=l,M.isPrimitive=A,M.isString=h,M.map=M=>N=>N.map(M),M.mapObject=function(M,N,D,I){return u(j=>{I?E(M,N,D[j],j):E(M,N,j,D[j])})(D??{}),N},M.mapping=E,M.mergeUniqueRecords=function(M,N,D){const I=Array.isArray(M)?M:[],j=(Array.isArray(N)?N:[]).filter(M=>{const N=I.findIndex(N=>N[D]===M[D]);return N>=0&&(I[N]=M),N<0});return I.concat(j)},M.nextFrame=function(){return new Promise(M=>{requestAnimationFrame(M)})},M.notEmpty=O,M.or=(...M)=>N=>M?.filter(i).some(r(N)),M.parseUnit=k,M.pipe=I,M.prependFormFactor=function(M,N,D){const I={};return v.forEach(j=>{M.forEach(M=>{const g=`${N}-${j}-${M.customTitle||M.name}`,e=`${N}-${j}-${M.name}`;I[`${g}:${M.unit}`]=M.name.match(/alignment/gi)&&Object.keys(D).includes(e)?Z[D[e]]:D[e]})}),I},M.propertySet=function(M){return Object.assign(Object.create(Y),"object"==typeof(N=M)?N:{});var N},M.querySelectorAll=M=>N=>Array.from(N?.querySelectorAll(M)),M.range=function(M,N,D){const I=Number.parseInt(M,10);return I<N?N:I>D?D:I},M.safeCssUrl=function(M){return I(w,p)(M)},M.safeFieldValue=s,M.safeImageSrc=w,M.safeParseJson=function(M,D){return"string"!=typeof M?M??{}:N(JSON.parse,D)(M)??{}},M.set=c,M.split=d,M.splitStringToObj=function(M,N,D){const I={};return D&&M&&N?(D.split(M).filter(M=>{const D=M.match(new RegExp(N,"g"))||[];return M&&1===D.length&&D[0]===N}).forEach(M=>{const[D,j]=M.split(N);I[D.trim()]=j.trim()}),I):{}},M.splitUrl=function(M){return j(g(M=>M?.length>0),d("/"))(M)},M.stringify=function(M){return JSON.stringify(M,(M,N)=>N||void 0)},M.timeout=function(M=0){return new Promise(N=>{setTimeout(N,M)})},M.toCapitalized=function(M=""){return M=M?.toString(),b(M)?`${M.charAt(0).toUpperCase()}${M.slice(1)}`:""},M.toCssUrl=p,M.toIndexes=M=>[...Array(M).keys()],M.tryCatch=N,M.typeOf=function(M){return Array.isArray(M)?"array":typeof M},Object.defineProperty(M,"__esModule",{value:!0})}); })();(function() { LWR.define("dxp_util/siteInfo",["exports","@salesforce/community/basePath","dxp_util/common","@salesforce/i18n/lang","@salesforce/community/Id","@salesforce/site/Id"],function(t,e,n,u,i,r){function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var f=a(e),o=a(u),l=a(i),s=a(r);const c="/sfsites/c",d=`${f.default}${c}`,m=n.curry((t,e,n)=>e?n:`${f.default}${t??""}${_(n)}`),h=m(c),P=m(""),g={CurrentLanguage:o.default.replace("-","_"),CommunityId:l.default,CurrentLocale:o.default,SiteId:s.default};function I(t,e=!1){return P(e,t)}function p(t){return t?.startsWith(f.default)}function S(t){return/^(https?|data:image\/[a-z]+)/i.test(t)}function _(t){return t&&!/^\/.*/.test(t)?`/${t}`:t}t.CMS_PATH_PREFIX=c,t.SiteInfo=g,t.buildSiteCmsPath=function(t,e=!1){return h(e,t)},t.buildSitePath=I,t.constructUrlPath=m,t.getImageUrl=function(t){return p(t)?t:I(t,S(t))},t.getPathPrefix=function(){return d},t.isSitePath=p,t.isValidImageUrl=S,t.prefixWithLeadingSlash=_,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("dxp_util/normalizer",["exports"],function(e){function l(e,l={}){const{fallbackValue:t="",validValues:n,caseSensitive:i=!1}=l;let a="string"==typeof e&&e.trim()||"";return i||(a=a.toLowerCase()),n&&-1===n.indexOf(a)&&(a=t),a}const t={SHOW_INLINE_MESSAGE:"inline",REDIRECT_TO_EXISTING_PAGE:"redirect"};const n=Object.freeze({"50%":{left:1,right:1},"16.67%":{left:1,right:5},"33.33%":{left:1,right:2},"66.67%":{left:2,right:1}}),i=Object.keys(n),a=i[0];e.ACTION_TYPE=t,e.COLUMN_PORTION_MAP=n,e.COLUMN_PORTION_OPTIONS=i,e.DEFAULT_COLUMN_PORTION=a,e.normalizeAction=function(e){return l(e,{caseSensitive:!0,fallbackValue:t.SHOW_INLINE_MESSAGE,validValues:[t.SHOW_INLINE_MESSAGE,t.REDIRECT_TO_EXISTING_PAGE]})},e.normalizeAlignment=function(e){return l(e,{fallbackValue:"left",validValues:["left","center","right"]})},e.normalizeBoolean=function(e){return"string"==typeof e||!!e},e.normalizeDirection=function(e){return l(e,{fallbackValue:"left",validValues:["left","right"]})},e.normalizePortion=function(e){return l(e,{fallbackValue:a,validValues:i})},e.normalizeSize=function(e){return l(e,{fallbackValue:"small",validValues:["small","medium","large"]})},e.normalizeString=l,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("dxp_util/contentInfo",["exports","dxp_util/siteInfo","dxp_util/normalizer"],function(t,e,n){const r=/^\/cms\//,i=/^\/img\//,l=/^\/assets\//;function s(t){return r.test(t)}function o(t){return i.test(t)}function c(t){return l.test(t)}function u(t){return s(t)||o(t)}const a="/cms/delivery/media";function f(t){const{url:n,isExternal:r}=t;return e.buildSiteCmsPath(n,r)}function d(t){return{url:t.contentNodes?.source?.url??"",isExternal:!!t.contentNodes?.source?.isExternal,altText:t.contentNodes?.altText?.value??""}}function S(t=[]){return t.filter(t=>t.contentKey&&t.contentNodes).reduce((t,e)=>(t.set(e.contentKey,d(e)),t),new Map)}t.convertItemsToContentKeyMap=S,t.extractImageInfo=function(t,e){const n=S(t?.items??[]),[r]=e,i=n.get(r);return i?{url:f(i),altText:i.altText}:{}},t.extractImageInfoV2=function(t){const n=t?.contentBody??{},r=n["sfdc_cms:media"]??{};return{url:e.buildSiteCmsPath(r.url??"","url"===r.source?.type),altText:n.altText??""}},t.getCMSContentUrl=f,t.getContentKey=function(t){if(!t||!t.includes(a))return null;const e=t.indexOf(a)+19+1;return t.substring(e)||null},t.getImageSrcSetUrls=function(t){return{mobileUrl:n.normalizeString(t?.SrcSet?.[0]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0}),tabletUrl:n.normalizeString(t?.SrcSet?.[1]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0}),desktopUrl:n.normalizeString(t?.SrcSet?.[2]?.srcSet?.[0]||t?.Url,{fallbackValue:"initial",caseSensitive:!0})}},t.isCmsAsset=c,t.isCmsResource=s,t.isResource=u,t.isStaticImageResource=o,t.resolveUrl=function(t){return c(t)?e.buildSitePath(t):u(t)?e.buildSiteCmsPath(t):t},t.toUrlInfo=d,Object.defineProperty(t,"__esModule",{value:!0})}); })();(function() { LWR.define("lwr/environment",["exports"],function(e){const a=globalThis?.LWR?.env||{},s=a&&("true"===a.SSR||!0===a.SSR),t=a&&a.basePath,l=a&&a.locale,n=a&&a.assetBasePath,o=a&&a.uiBasePath;e.assetBasePath=n,e.basePath=t,e.isServer=s,e.locale=l,e.uiBasePath=o,Object.defineProperty(e,"__esModule",{value:!0})}); })();(function() { LWR.define("community_layout/section",["exports","lwc","lwr/environment","dxp_util/common","dxp_util/contentInfo"],function(n,t,e,i,o){function c(n,t,e){var i=n?"."+n:"",o=n?"."+n+"-host":"";return(t?":host.comm-section-container {":o+".comm-section-container {")+"display: block;position: relative;}.columns-content"+i+" {display: flex;margin-left: auto;margin-right: auto;position: relative;}.background-image"+i+",.background-image-overlay"+i+" {position: absolute;width: 100%;height: 100%;top: 0;left: 0;right: 0;bottom: 0;z-index: 0;}.background-image-overlay"+i+" {background-color: var(--dxp-c-section-image-overlay-color);}@media only screen and (min-width: 64.0625em) {"+(t?":host.comm-section-container {":o+".comm-section-container {")+"padding: var(\n --dxp-c-section-content-spacing-block-start,\n var(--dxp-style-c-padding-top, var(--dxp-s-section-content-spacing-block-start))\n )\n var(\n --dxp-c-section-content-spacing-inline-end,\n var(--dxp-style-c-padding-right, var(--dxp-s-section-content-spacing-inline-end))\n )\n var(\n --dxp-c-section-content-spacing-block-end,\n var(--dxp-style-c-padding-bottom, var(--dxp-s-section-content-spacing-block-end))\n )\n var(\n --dxp-c-section-content-spacing-inline-start,\n var(--dxp-style-c-padding-left, var(--dxp-s-section-content-spacing-inline-start))\n );min-height: var(--dxp-c-section-min-height-desktop, var(--dxp-c-l-section-min-height));}.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(\n --dxp-c-l-section-vertical-align,\n var(--dxp-c-section-vertical-align)\n );flex-direction: row;max-width: var(\n --dxp-c-section-columns-max-width,\n var(\n --dxp-c-l-max-content-width,\n var(--dxp-c-max-content-width, var(--dxp-s-section-columns-max-width))\n )\n );min-height: var(\n --dxp-c-section-columns-min-height-desktop,\n var(--dxp-c-l-section-min-height)\n );}"+(t?":host[data-layout-direction~='desktop-direction-row'] .columns-content":o+"[data-layout-direction~='desktop-direction-row'] .columns-content")+i+" {flex-direction: row;}"+(t?":host[data-layout-direction~='desktop-direction-column'] .columns-content":o+"[data-layout-direction~='desktop-direction-column'] .columns-content")+i+" {flex-direction: column;}.background-image"+i+", .background-image-overlay"+i+" {min-height: var(--dxp-c-section-min-height-desktop, var(--dxp-c-l-section-min-height));}.background-image"+i+" {background: var(--dxp-c-l-section-image-url) var(--dxp-c-section-image-position)\n var(--dxp-c-section-image-size-and-repeat);}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(t?":host.comm-section-container {":o+".comm-section-container {")+"padding: var(\n --dxp-c-section-content-spacing-block-start-tablet,\n var(\n --dxp-style-c-padding-top-m,\n var(--dxp-s-section-content-spacing-block-start-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-inline-end-tablet,\n var(\n --dxp-style-c-padding-right-m,\n var(--dxp-s-section-content-spacing-inline-end-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-block-end-tablet,\n var(\n --dxp-style-c-padding-bottom-m,\n var(--dxp-s-section-content-spacing-block-end-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-inline-start-tablet,\n var(\n --dxp-style-c-padding-left-m,\n var(--dxp-s-section-content-spacing-inline-start-mobile)\n )\n );min-height: var(--dxp-c-section-min-height-tablet, var(--dxp-c-m-section-min-height));}.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(\n --dxp-c-m-section-vertical-align,\n var(--dxp-c-section-vertical-align)\n );flex-direction: column;max-width: var(\n --dxp-c-section-columns-max-width-tablet,\n var(\n --dxp-c-m-max-content-width,\n var(--dxp-c-max-content-width, var(--dxp-s-section-columns-max-width-mobile))\n )\n );min-height: var(\n --dxp-c-section-columns-min-height-tablet,\n var(--dxp-c-m-section-min-height)\n );}"+(t?":host[data-layout-direction~='tablet-direction-row'] .columns-content":o+"[data-layout-direction~='tablet-direction-row'] .columns-content")+i+" {flex-direction: row;}"+(t?":host[data-layout-direction~='tablet-direction-column'] .columns-content":o+"[data-layout-direction~='tablet-direction-column'] .columns-content")+i+" {flex-direction: column;}.background-image"+i+", .background-image-overlay"+i+" {min-height: var(--dxp-c-section-min-height-tablet, var(--dxp-c-m-section-min-height));}.background-image"+i+" {background: var(--dxp-c-m-section-image-url) var(--dxp-c-section-image-position)\n var(--dxp-c-section-image-size-and-repeat);}}@media only screen and (max-width: 47.9375em) {"+(t?":host.comm-section-container {":o+".comm-section-container {")+"padding: var(\n --dxp-c-section-content-spacing-block-start-mobile,\n var(\n --dxp-style-c-padding-top-s,\n var(--dxp-s-section-content-spacing-block-start-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-inline-end-mobile,\n var(\n --dxp-style-c-padding-right-s,\n var(--dxp-s-section-content-spacing-inline-end-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-block-end-mobile,\n var(\n --dxp-style-c-padding-bottom-s,\n var(--dxp-s-section-content-spacing-block-end-mobile)\n )\n )\n var(\n --dxp-c-section-content-spacing-inline-start-mobile,\n var(\n --dxp-style-c-padding-left-s,\n var(--dxp-s-section-content-spacing-inline-start-mobile)\n )\n );min-height: var(--dxp-c-section-min-height-mobile, var(--dxp-c-s-section-min-height));}.columns-content"+i+" {--dxp-c-region-wrapper-vertical-align: var(\n --dxp-c-s-section-vertical-align,\n var(--dxp-c-section-vertical-align)\n );flex-direction: column;max-width: var(\n --dxp-c-section-columns-max-width-mobile,\n var(\n --dxp-c-s-max-content-width,\n var(--dxp-c-max-content-width, var(--dxp-s-section-columns-max-width-mobile))\n )\n );min-height: var(\n --dxp-c-section-columns-min-height-mobile,\n var(--dxp-c-s-section-min-height)\n );}"+(t?":host[data-layout-direction~='mobile-direction-row'] .columns-content":o+"[data-layout-direction~='mobile-direction-row'] .columns-content")+i+" {flex-direction: row;}"+(t?":host[data-layout-direction~='mobile-direction-column'] .columns-content":o+"[data-layout-direction~='mobile-direction-column'] .columns-content")+i+" {flex-direction: column;}.background-image"+i+", .background-image-overlay"+i+" {min-height: var(--dxp-c-section-min-height-mobile, var(--dxp-c-s-section-min-height));}.background-image"+i+" {background: var(--dxp-c-s-section-image-url) var(--dxp-c-section-image-position)\n var(--dxp-c-section-image-size-and-repeat);}}"}c.$scoped$=!0;var a=[c];const s=t.parseFragment`<div class="background-image${0}"${"a0:aria-label"}${2}></div>`,r=t.parseFragment`<div class="background-image-overlay${0}"${2}></div>`,d={classMap:{"columns-content":!0},key:4},l={attrs:{name:"columns"},key:5},m=[];function g(n,t,e,i){const{sp:o,st:c,s:a,h:g}=n;return[c(s,1,[o(0,{attrs:{"aria-label":t.imageAlt}},null)]),c(r,3),g("div",d,[a("columns",l,m,e)])]}var p=t.registerTemplate(g);g.slots=["columns"],g.renderMode="light",g.stylesheets=[],g.stylesheetToken="lwc-6j9an5vbrcd",g.legacyStylesheetToken="community_layout-section_section",a&&g.stylesheets.push.apply(g.stylesheets,a),t.freezeTemplate(g);class h extends t.LightningElement{constructor(...n){super(...n),this._imageAltText="",this._desktopBackgroundImageUrl=void 0,this._tabletBackgroundImageUrl=void 0,this._mobileBackgroundImageUrl=void 0,this.sectionConfig='{"columns":[{"columnKey":"col1","columnName":"Column 1","columnWidth":"12","seedComponents":[]}]}',this.maxContentWidth=void 0,this.sectionColumnGutterWidth=void 0,this.componentSpacerSize=void 0,this.sectionMinHeight=void 0,this.layoutDirectionDesktop=void 0,this.layoutDirectionTablet=void 0,this.layoutDirectionMobile=void 0,this.sectionVerticalAlign=void 0,this.backgroundImageOverlay=void 0}get backgroundImageConfig(){return this._backgroundImage}set backgroundImageConfig(n){if("object"==typeof n&&null!==n){this._backgroundImage=n,this._imageAltText=n?.AltText||"";const t=o.getImageSrcSetUrls(n);({mobileUrl:this._mobileBackgroundImageUrl,tabletUrl:this._tabletBackgroundImageUrl,desktopUrl:this._desktopBackgroundImageUrl}=t)}else this._backgroundImage={}}get imageAlt(){return this._imageAltText}connectedCallback(){this.classList?.add("comm-section-container"),"undefined"==typeof window&&this.setComputedCssVariables(),this.setResponsivePropertiesFallbackCssVariables()}renderedCallback(){this.setComputedCssVariables()}setResponsivePropertiesFallbackCssVariables(){const n=[];this.sectionVerticalAlign&&n.push(`--dxp-c-section-vertical-align: ${this.sectionVerticalAlign};`),this.maxContentWidth&&n.push(`--dxp-c-max-content-width: ${this.maxContentWidth};`),n.length>0&&this.setStyleAttribute(n.join(" "))}setComputedCssVariables(){if(this.backgroundImageConfig&&this._desktopBackgroundImageUrl&&this._tabletBackgroundImageUrl&&this._mobileBackgroundImageUrl){const{bgPosition:n,bgSizeOrRepeat:t}=this.backgroundImageConfig,e=i.propertySet({"--dxp-c-l-section-image-url":i.toCssUrl(encodeURI(this._desktopBackgroundImageUrl)),"--dxp-c-m-section-image-url":i.toCssUrl(encodeURI(this._tabletBackgroundImageUrl)),"--dxp-c-s-section-image-url":i.toCssUrl(encodeURI(this._mobileBackgroundImageUrl)),"--dxp-c-section-image-position":n,"--dxp-c-section-image-size-and-repeat":t,"--dxp-c-section-image-overlay-color":this.backgroundImageOverlay}).toString();this.setStyleAttribute(e)}}setStyleAttribute(n){const t=this.getAttribute("style")||"";this.setAttribute("style",`${t}${!t||t.endsWith(";")?"":";"}${n}`)}}h.renderMode="light",t.registerDecorators(h,{publicProps:{sectionConfig:{config:0},maxContentWidth:{config:0},sectionColumnGutterWidth:{config:0},componentSpacerSize:{config:0},sectionMinHeight:{config:0},layoutDirectionDesktop:{config:0},layoutDirectionTablet:{config:0},layoutDirectionMobile:{config:0},sectionVerticalAlign:{config:0},backgroundImageConfig:{config:3},backgroundImageOverlay:{config:0}},fields:["_imageAltText","_desktopBackgroundImageUrl","_tabletBackgroundImageUrl","_mobileBackgroundImageUrl"]});const u=t.registerComponent(h,{tmpl:p,sel:"community_layout-section",apiVersion:62});n.default=u,Object.defineProperty(n,"__esModule",{value:!0})}); })();(function() { LWR.define("community_layout/column",["exports","lwc"],function(o,t){function e(o,t,e){var i=o?"."+o:"",a=o?"."+o+"-host":"";return(t?":host {":a+" {")+"display: flex;}.column-content"+i+" {display: flex;flex-direction: column;flex: 1;min-width: 0;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_1-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_1-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_1-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_1-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_1-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_1-of-12 {")+"flex-grow: 1;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_2-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_2-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_2-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_2-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_2-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_2-of-12 {")+"flex-grow: 2;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_3-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_3-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_3-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_3-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_3-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_3-of-12 {")+"flex-grow: 3;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_4-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_4-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_4-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_4-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_4-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_4-of-12 {")+"flex-grow: 4;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_5-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_5-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_5-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_5-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_5-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_5-of-12 {")+"flex-grow: 5;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_6-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_6-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_6-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_6-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_6-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_6-of-12 {")+"flex-grow: 6;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_7-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_7-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_7-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_7-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_7-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_7-of-12 {")+"flex-grow: 7;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_8-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_8-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_8-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_8-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_8-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_8-of-12 {")+"flex-grow: 8;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_9-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_9-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_9-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_9-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_9-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_9-of-12 {")+"flex-grow: 9;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_10-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_10-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_10-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_10-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_10-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_10-of-12 {")+"flex-grow: 10;}"+(t?":host[data-layout-direction~='desktop-direction-row'].col-large-size_11-of-12,:host[data-layout-direction~='tablet-direction-row'].col-large-size_11-of-12,:host[data-layout-direction~='mobile-direction-row'].col-large-size_11-of-12 {":a+"[data-layout-direction~='desktop-direction-row'].col-large-size_11-of-12,"+a+"[data-layout-direction~='tablet-direction-row'].col-large-size_11-of-12,"+a+"[data-layout-direction~='mobile-direction-row'].col-large-size_11-of-12 {")+"flex-grow: 11;}@media only screen and (min-width: 64.0625em) {"+(t?":host {":a+" {")+"padding: var(--dxp-c-column-container-spacing-block-start)\n var(--dxp-c-column-container-spacing-inline-end)\n var(--dxp-c-column-container-spacing-block-end)\n var(--dxp-c-column-container-spacing-inline-start);}.column-content"+i+" {padding: var(--dxp-c-column-content-spacing-block-start)\n var(--dxp-c-column-content-spacing-inline-end)\n var(--dxp-c-column-content-spacing-block-end)\n var(--dxp-c-column-content-spacing-inline-start);justify-content: var(--dxp-c-l-section-vertical-align, var(--dxp-c-section-vertical-align));}"+(t?":host[data-layout-direction~='desktop-direction-row'] {":a+"[data-layout-direction~='desktop-direction-row'] {")+"--sectionSpacerWidth: var(\n --dxp-c-column-spacer-size,\n var(--dxp-c-l-section-column-gutter-width, var(--dxp-s-column-spacer-size))\n );flex: 1;min-width: 0;}"+(t?":host[data-layout-direction~='desktop-direction-column'] {":a+"[data-layout-direction~='desktop-direction-column'] {")+"--sectionSpacerHeight: var(\n --dxp-c-column-spacer-size,\n var(--dxp-c-l-section-column-gutter-width, var(--dxp-s-column-spacer-size))\n );flex: 0;min-height: 0;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(t?":host {":a+" {")+"padding: var(--dxp-c-column-container-spacing-block-start-mobile)\n var(--dxp-c-column-container-spacing-inline-end-mobile)\n var(--dxp-c-column-container-spacing-block-end-mobile)\n var(--dxp-c-column-container-spacing-inline-start-mobile);}.column-content"+i+" {padding: var(--dxp-c-column-content-spacing-block-start-mobile)\n var(--dxp-c-column-content-spacing-inline-end-mobile)\n var(--dxp-c-column-content-spacing-block-end-mobile)\n var(--dxp-c-column-content-spacing-inline-start-mobile);justify-content: var(--dxp-c-m-section-vertical-align, var(--dxp-c-section-vertical-align));}"+(t?":host[data-layout-direction~='tablet-direction-row'] {":a+"[data-layout-direction~='tablet-direction-row'] {")+"--sectionSpacerWidth: var(\n --dxp-c-column-spacer-size-tablet,\n var(--dxp-c-m-section-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 1;min-width: 0;}"+(t?":host[data-layout-direction~='tablet-direction-column'] {":a+"[data-layout-direction~='tablet-direction-column'] {")+"--sectionSpacerHeight: var(\n --dxp-c-column-spacer-size-tablet,\n var(--dxp-c-m-section-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 0;min-height: 0;}}@media only screen and (max-width: 47.9375em) {"+(t?":host {":a+" {")+"padding: var(--dxp-c-column-container-spacing-block-start-mobile)\n var(--dxp-c-column-container-spacing-inline-end-mobile)\n var(--dxp-c-column-container-spacing-block-end-mobile)\n var(--dxp-c-column-container-spacing-inline-start-mobile);}.column-content"+i+" {padding: var(--dxp-c-column-content-spacing-block-start-mobile)\n var(--dxp-c-column-content-spacing-inline-end-mobile)\n var(--dxp-c-column-content-spacing-block-end-mobile)\n var(--dxp-c-column-content-spacing-inline-start-mobile);justify-content: var(--dxp-c-s-section-vertical-align, var(--dxp-c-section-vertical-align));}"+(t?":host[data-layout-direction~='mobile-direction-row'] {":a+"[data-layout-direction~='mobile-direction-row'] {")+"--sectionSpacerWidth: var(\n --dxp-c-column-spacer-size-mobile,\n var(--dxp-c-s-section-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 1;min-width: 0;}"+(t?":host[data-layout-direction~='mobile-direction-column'] {":a+"[data-layout-direction~='mobile-direction-column'] {")+"--sectionSpacerHeight: var(\n --dxp-c-column-spacer-size-mobile,\n var(--dxp-c-s-section-column-gutter-width, var(--dxp-s-column-spacer-size-mobile))\n );flex: 0;min-height: 0;}}"}e.$scoped$=!0;var i=[e];const a={classMap:{"column-content":!0},key:0},c={attrs:{name:"column"},key:1},n=[];function l(o,t,e,i){const{s:l,h:r}=o;return[r("div",a,[l("column",c,n,e)])]}var r=t.registerTemplate(l);l.slots=["column"],l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-48aostf02bd",l.legacyStylesheetToken="community_layout-column_column",i&&l.stylesheets.push.apply(l.stylesheets,i),t.freezeTemplate(l);class d extends t.LightningElement{constructor(...o){super(...o),this._columnWidth=12,this._columnCount=1}get columnWidth(){return this._columnWidth}set columnWidth(o){this._columnWidth=o,this.updateHostCssClasses()}get columnCount(){return this._columnCount}set columnCount(o){this._columnCount=o}connectedCallback(){this.updateHostCssClasses()}updateHostCssClasses(){const o=["col-size_12-of-12",this.colWidthClass];this.classList?.remove(...Array.from(this.classList).filter(o=>o?.startsWith("col-large-size_"))),this.classList?.add(...o)}get colWidthClass(){return this.columnWidth?`col-large-size_${this.columnWidth}-of-12`:"col"}}d.renderMode="light",d.validationOptOut=["class"],t.registerDecorators(d,{publicProps:{columnWidth:{config:3},columnCount:{config:3}},fields:["_columnWidth","_columnCount"]});const s=t.registerComponent(d,{tmpl:r,sel:"community_layout-column",apiVersion:62});o.default=s,Object.defineProperty(o,"__esModule",{value:!0})}); })();(function() { LWR.define("@view/scopedHeaderAndFooter",["exports","dxp_data_provider/dataProxy","dxp_data_provider/userDataProvider","lwc","webruntime/routerContainer","c/pg_SiteFooter","c/pg_OneTrustCookie","community_layout/column","community_layout/section","c/pg_NavigationMenu","community_byo/scopedHeaderAndFooter","@branding/scoped/6602a42b-de39-4194-9c14-372f1e6f8ed8"],function(e,t,o,a,n,r,i,d,c,s,u,l){function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=m(t),p=m(o),g=m(n),y=m(r),f=m(i),b=m(d),v=m(c),k=m(s),C=m(u);function I(e,t,o,a){const{c:n,fr:r,ssf:i}=e;return[n("dxp_data_provider-user-data-provider",p.default,{props:{sfdcExpressionKey:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcExpressionKey,generatedTemplate:t.attributes.dxp_data_provideruserdataprovider_1_0.generatedTemplate,sfdcIsPreviewMode:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcIsPreviewMode,childData:t.attributes.dxp_data_provideruserdataprovider_1_0.childData,sfdcFields:t.attributes.dxp_data_provideruserdataprovider_1_0.sfdcFields},key:0},[i("",function(e,o){return r(o,[n("dxp_data_provider-data-proxy",_.default,{props:{routerContainerView:t.routerContainerView,sfdcData:e,generatedTemplate:t.attributes.dxp_data_provideruserdataprovider_1_0.generatedTemplate,routeParams:t.routeParams},key:1})],0)})])]}var h=a.registerTemplate(I);I.renderMode="light",I.stylesheets=[],I.stylesheetToken="lwc-5r3gscspi98",I.legacyStylesheetToken="___at___view-scopedHeaderAndFooter_scopedHeaderAndFooter",a.freezeTemplate(I);const x={attrs:{"data-component-id":"scopedHeaderAndFooter-502e"},key:0},M=[],A={"dxpBrand_6602a42b-de39-4194-9c14-372f1e6f8ed8":!0},w={"data-component-id":"section-34c1","data-layout-direction":"desktop-direction-row tablet-direction-column mobile-direction-column"},T={"data-layout-direction":"desktop-direction-row tablet-direction-column mobile-direction-column"},D={"component-wrapper-spacer":!0},P={"data-component-id":"pg_SiteFooter-2fc0"},F={styleDecls:[],slotAssignment:"column",attrs:{"data-component-id":"pg_OneTrustCookie-7cc8"},key:5},N={"data-component-id":"section-7b40","data-layout-direction":"desktop-direction-row tablet-direction-column mobile-direction-column"},O={"data-component-id":"pg_NavigationMenu-be56"};function U(e,t,o,a){const{c:n}=e;return[n("community_byo-scoped-header-and-footer",C.default,x,[n("webruntime-router-container",g.default,{props:{view:t.routerContainerView,routeParams:t.routeParams},key:1}),n("community_layout-section",v.default,{styleDecls:M,classMap:A,slotAssignment:"footer",attrs:w,props:{sectionConfig:t.attributes.community_layoutsection_2_5.sectionConfig,backgroundImageConfig:t.attributes.community_layoutsection_2_5.backgroundImageConfig,backgroundImageOverlay:t.attributes.community_layoutsection_2_5.backgroundImageOverlay},key:2},[n("community_layout-column",b.default,{slotAssignment:"columns",attrs:T,props:{columnCount:t.attributes.community_layoutcolumn_2_3.columnCount,columnWidth:"12"},key:3},[n("c-pg_-site-footer",y.default,{styleDecls:M,classMap:D,slotAssignment:"column",attrs:P,props:{country:t.attributes.cpg_sitefooter_2_4.country,alternativeLegalAdvice:t.attributes.cpg_sitefooter_2_4.alternativeLegalAdvice,contentId:t.attributes.cpg_sitefooter_2_4.contentId},key:4}),n("c-pg_-one-trust-cookie",f.default,F)])]),n("community_layout-section",v.default,{styleDecls:M,classMap:A,slotAssignment:"header",attrs:N,props:{sectionConfig:t.attributes.community_layoutsection_2_2.sectionConfig,backgroundImageConfig:t.attributes.community_layoutsection_2_2.backgroundImageConfig,backgroundImageOverlay:t.attributes.community_layoutsection_2_2.backgroundImageOverlay},key:6},[n("community_layout-column",b.default,{slotAssignment:"columns",attrs:T,props:{columnCount:t.attributes.community_layoutcolumn_2_0.columnCount,columnWidth:"12"},key:7},[n("c-pg_-navigation-menu",k.default,{styleDecls:M,slotAssignment:"column",attrs:O,props:{menuName:t.attributes.cpg_navigationmenu_2_1.menuName,contentId:t.attributes.cpg_navigationmenu_2_1.contentId,myProfileMenuName:t.attributes.cpg_navigationmenu_2_1.myProfileMenuName},key:8})])])])]}var S=a.registerTemplate(U);U.renderMode="light",U.stylesheets=[],U.stylesheetToken="lwc-52l23bn45b3",U.legacyStylesheetToken="___at___view-scopedHeaderAndFooter_dxp_data_provideruserdataprovider_1_0_html",a.freezeTemplate(U);const W=a.registerComponent(class{static get html(){return h}static get attributes(){return function(e){return{dxp_data_provideruserdataprovider_1_0:{sfdcIsPreviewMode:!1,sfdcFields:[],childData:{},sfdcExpressionKey:"User",generatedTemplate:{attributes:e=>({community_layoutsection_2_5:{backgroundImageConfig:"",backgroundImageOverlay:"rgba(0,0,0,0)",sectionConfig:'{"UUID":"5d0724dd-a07c-462e-a706-af86b83134c1","columns":[{"UUID":"3fd6066c-efc5-41fd-8fe5-4c2f4449d18e","columnName":"Column 1","columnKey":"footerSection","columnWidth":"12","seedComponents":null}]}'},cpg_navigationmenu_2_1:{myProfileMenuName:"My Profile",contentId:"MCSTUWDX242NFXBLAZQYILLJTWXQ",menuName:"Default Navigation"},community_layoutcolumn_2_3:{columnWidth:"12",columnCount:"1"},community_layoutcolumn_2_0:{columnWidth:"12",columnCount:"1"},cpg_sitefooter_2_4:{country:"Mexico",alternativeLegalAdvice:"Este sitio es exclusivo para profesionales de la salud en México.<br>Aviso de Publicidad No. 2315122002C00138 | MAT-MX-DEXA-23-000040",contentId:"MCSWETFB3565AG7OJHGMJ2SRY3RY"},community_layoutsection_2_2:{backgroundImageConfig:"",backgroundImageOverlay:"rgba(0,0,0,0)",sectionConfig:'{"UUID":"383f43d2-d354-450f-9bdb-6e31a6d47b40","columns":[{"UUID":"067928b5-b455-4762-b733-5bb6db7fdf76","columnName":"Column 1","columnKey":"headerSection","columnWidth":"12","seedComponents":null}]}'}}),html:S}}}}}},{tmpl:h,sel:"@view-scoped-header-and-footer",apiVersion:62});e.default=W,Object.defineProperty(e,"__esModule",{value:!0})}); })();