LWR.define("logger/v/1",["exports"],function(r){"use strict";function e(...P){console.log(...P)}function t(...P){console.error(...P)}r.log=e,r.logError=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@salesforce/loader/v/1",["exports","lwr/loaderLegacy/v/0_12_4"],function(r,e){"use strict";Object.defineProperty(r,"load",{enumerable:!0,get:function(){return e.load}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_647-250_0",["exports"],function(r){"use strict";class e{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const P=document.documentElement.scrollTop||document.body.scrollTop,R=document.documentElement.scrollHeight||document.body.scrollHeight;P/(R-document.documentElement.clientHeight)*100>=90&&(document.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-scroll-to-bottom"}})),this.hasTriggered=!0)}}addListener(){this.hasAddedListener||document.addEventListener("scroll",this.trigger),this.hasAddedListener=!0,this.hasTriggered=!1}removeListener(){document.removeEventListener("scroll",this.trigger),this.hasAddedListener=!1}}r.ScrollToBottomEvent=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/domRouterUtils/v/0_12_4",["exports","lwr/routerUtils/v/0_12_4"],function(r,e){"use strict";function t(D=""){if(D=D||"",D.indexOf("://")<0){const u=window.location.port?`:${window.location.port}`:"",p=`${window.location.protocol}//${window.location.hostname}${u}`,y=D.charAt(0)==="/"?"":"/";D=p+y+D}const E={},h=document.createElement("a");h.href=D;const m=h.search.substring(1);return m&&m.split("&").forEach(u=>{const[p,y=""]=u.split("=");E[e.decode(p)]=e.decode(y)}),{href:h.href,origin:`${h.protocol}//${h.hostname}${h.port?`:${h.port}`:""}`,pathname:h.pathname.replace(/(\/)?/,"/"),searchParams:E}}function P(D){const E=t(D),h=E.href.replace(/:\d+/,""),m=E.origin.replace(/:\d+/,"");return h.replace(m,"")}function R(D,E){const h=E||{};window.history.pushState(h,"",D)}function H(D,E){const h=E||{};window.history.replaceState(h,"",D)}r.getRelativeUrl=P,r.replace=H,r.set=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/metrics/v/0_12_4",["exports"],function(r){"use strict";const e="lwr.bootstrap.",t=`${e}end`,P=`${e}error`,R=`${P}.count`,H=`${e}duration`,D="lwr.bootstrap.init",E=`${D}.duration`,h="lwr.bootstrap.init.module",m=`${h}.duration`,u=`${h}.count`,p="lwr.loader.",y=`${p}module.define`,j=`${y}.count`,_=`${p}moduleRegistry.dynamicLoad`,N=`${_}.count`,U=`${p}module.fetch`,V=`${U}.count`,I=`${U}.duration`,L=`${p}module.error`,q=`${L}.count`,A=`${p}mappings.fetch`,F=`${A}.count`,X=`${A}.duration`,de=`${p}mappings.error`,S=`${de}.count`,Ee="lwr.router.",le=`${Ee}navigate`,Te=`${le}.count`,Me=`${le}.duration`,we=`${Ee}view`,a=`${we}.duration`,c=`${Ee}error`,f=`${c}.count`;r.BOOTSTRAP_DURATION=H,r.BOOTSTRAP_END=t,r.BOOTSTRAP_ERROR=P,r.BOOTSTRAP_ERROR_COUNT=R,r.BOOTSTRAP_PREFIX=e,r.INIT=D,r.INIT_DURATION=E,r.INIT_MODULE=h,r.INIT_MODULE_COUNT=u,r.INIT_MODULE_DURATION=m,r.LOADER_PREFIX=p,r.MAPPINGS_ERROR=de,r.MAPPINGS_ERROR_COUNT=S,r.MAPPINGS_FETCH=A,r.MAPPINGS_FETCH_COUNT=F,r.MAPPINGS_FETCH_DURATION=X,r.MODULE_DEFINE=y,r.MODULE_DEFINE_COUNT=j,r.MODULE_DYNAMIC_LOAD=_,r.MODULE_DYNAMIC_LOAD_COUNT=N,r.MODULE_ERROR=L,r.MODULE_ERROR_COUNT=q,r.MODULE_FETCH=U,r.MODULE_FETCH_COUNT=V,r.MODULE_FETCH_DURATION=I,r.ROUTER_ERROR=c,r.ROUTER_ERROR_COUNT=f,r.ROUTER_NAV=le,r.ROUTER_NAV_COUNT=Te,r.ROUTER_NAV_DURATION=Me,r.ROUTER_PREFIX=Ee,r.ROUTER_VIEW=we,r.ROUTER_VIEW_DURATION=a,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/observable/v/0_12_4",["exports"],function(r){"use strict";function e(){let t,P,R=[];const H=p=>{R.push(p)},D=p=>{R=[...R.slice(0,p),...R.slice(p+1)]},E=p=>{R.filter(y=>y!==null).forEach(y=>y.next&&y.next(p)),t=p,P=void 0},h=p=>{R.filter(y=>y!==null).forEach(y=>y.error&&y.error(p)),t=void 0,P=p};return{next:E,error:h,complete:()=>{R.filter(p=>p!==null).forEach(p=>p.complete&&p.complete()),R=[],t=void 0,P=void 0},subscribe:(p,y=!0)=>{H(p),t&&y&&p.next(t),P&&h(P);const j=R.length-1;return{unsubscribe:()=>D(j)}}}}r.createObservable=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/contextProvider/v/0_12_4",["exports","lwc/v/6_4_5","lwr/routerUtils/v/0_12_4","lwr/navigation/v/0_12_4"],function(r,e,t,P){"use strict";const R=e.createContextProvider(P.CurrentPageReference),H=t.hasDocument?e.createContextProvider(P.CurrentView):void 0,D=e.createContextProvider(P.NavigationContext);function E(h,m,u,p){u&&p&&(p.setContext(m,h),u(m,{consumerConnectedCallback:p.subscribeContext.bind(p,m),consumerDisconnectedCallback:p.unsubscribeContext.bind(p,m)}))}r.currentPageReferenceContextualizer=R,r.currentViewContextualizer=H,r.navigationContextContextualizer=D,r.provideContext=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerUtils/v/0_12_4",["exports","lwr/routerErrors/v/0_12_4"],function(r,e){"use strict";function t(){const d=[],C=()=>d.length===0,O=W=>{typeof W=="function"&&d.push(W)};return{add:(W=[])=>{Array.isArray(W)?W.forEach($=>O($)):O(W)},compile:W=>d.length===0?Promise.resolve(!0):d.reduce(($,re)=>$.then(ee=>ee===!1?Promise.reject():Promise.resolve(re(W))),Promise.resolve(!0)).then($=>$!==!1).catch($=>{if($ instanceof Error)throw $;return!1}),empty:C}}function P(d=""){return d=d||"",encodeURIComponent(d)}function R(d=""){return d=d||"",decodeURIComponent(d)}function H(d){d=d||"/",d.charAt(0)!=="/"&&(d="/"+d);const C=d.match(/^[^#?]+/);if(C!==null){const O=C[0];return O==="/"?"/":O.replace(/\/$/,"")}return"/"}function D(d){d=d||"";const C=d.indexOf("#");C>=0&&(d=d.substring(0,C));const O=d.indexOf("?"),x=O>=0?d.substr(O+1):null,J={};return x&&x.split("&").forEach(W=>{if(W.indexOf("=")>=0){const[$,re=""]=W.split("=");J[R($)]=R(re)}else J[R(W)]=null}),J}function E(d={}){const C=Object.keys(d);return C.length?`?${C.map(O=>{const x=d[O];return x===null?O:`${O}=${P(x)}`}).join("&")}`:""}function h(d){return d&&d.length>1?d.startsWith(":"):!1}function m(d){return d&&h(d)?d.substr(1):!1}function u(d){return Object.values(d).reduce((C,{routeParamName:O})=>{const x=m(O);return x&&C.push(x),C},[])}function p(d,C){if(!d)return null;const{type:O,attributes:x={},state:J={}}=d;if(O){const[W]=C.filter($=>{const{original:{page:{type:re=null,attributes:ee={},state:K={}}={}}}=$,oe=re===O,he=Object.keys(ee).every(Ne=>Object.keys(x).indexOf(Ne)>=0),_e=Object.keys(ee).length===Object.keys(x).length,Ce=Object.keys(K).every(Ne=>Object.keys(J).indexOf(Ne)>=0),be=Object.keys(ee).filter(Ne=>{const v=ee[Ne];return!v||!h(v)}).every(Ne=>ee[Ne]===x[Ne]),Se=Object.keys(K).filter(Ne=>{const v=K[Ne];return v===null||!h(v)}).every(Ne=>K[Ne]===J[Ne]);return oe&&he&&_e&&be&&Ce&&Se});return W||null}return null}function y(d,C){const{regex:O,params:x}=C,J=O.exec(d);if(J){const[,...W]=J,$={};return x.forEach((re,ee)=>{const{name:K}=re,oe=W[ee];$[K]=oe&&R(oe)}),$}return null}function j(d,C){if(d&&C){const{queryMatcher:O}=C,x=O(d);if(x){const J={};return Object.keys(x).forEach(W=>{const $=x[W],{value:re,routeParamName:ee}=$,K=ee?ee.substr(1):W;J[K]=re&&R(re)}),J}}return null}function _(d,C){const{compiledQuery:O}=C,x=Object.keys(O).filter(W=>{const{literalValue:$}=O[W];return!$}),J={};return Object.keys(d).forEach(W=>{const $=d[W];x.indexOf(W)<0&&(J[W]=$)}),J}function N(d,C){if(C){const{original:{page:{type:O="",attributes:x={},state:J={}}={}}={}}=C,W=H(d),$=D(d),re=y(W,C),ee=j($,C);if(re&&ee){const K={...re,...ee},oe={};Object.keys(x).forEach(Ce=>{const be=x[Ce];let Se;if(be&&h(be)){const Ne=be.substr(1);Se=K[Ne]}else Se=be;oe[Ce]=Se});const he={};Object.keys(J).forEach(Ce=>{const be=J[Ce];let Se;if(be&&h(be)){const Ne=be.substr(1);Se=K[Ne]}else Se=be;he[Ce]=Se});const _e=_($,C);return{type:O,attributes:{...oe},state:{..._e,...he}}}}return null}const U={locale:"en-US",defaultLocale:"en-US"};function V(d,C,O){const{original:{patterns:x=null}={}}=O||{};if(x){const J=y(d,O),W=j(C,O),$={...J,...W};return Object.keys(x).every(re=>{const ee=x[re],K=new RegExp(ee),oe=$[re]||"";return K.test(oe)})}return!0}function I(d,C){const O=H(d),x=D(d),J=C?C.filter($=>$.regex.test(O)):[],[W]=J.filter($=>{const{queryMatcher:re}=$;return re(x)&&V(O,x,$)});return W||null}function L(d,C,O="",x=U,J){if(O&&d?.indexOf(O)===0&&(d=d.replace(O,"")),J?.locale||x?.locale){const re=`/${J?.locale||x.locale}`;d?.indexOf(re)===0&&(d=d.replace(re,""))}const W=I(d,C);let $;if(W){const re=N(d,W);if(re)return $={route:{id:W.original.id,attributes:{...re.attributes},state:{...re.state},pageReference:{type:re.type,attributes:{...re.attributes},state:{...re.state}}},routeDefinition:W},$}else return null;return null}function q(d,C,O="",x=U,J){const W=p(d,C);return W?F(d,W,O,x,J):null}function A(d,C,O){const{attributeBindings:x,stateBindings:J}=O,{attributes:W,state:$}=C,re={};return d.forEach(ee=>{const[K]=Object.keys(x).filter(oe=>m(x[oe])===ee);if(K)re[ee]=W[K];else{const[oe]=Object.keys(J).filter(he=>m(J[he])===ee);oe&&(re[ee]=$[oe])}}),re}function F(d,C,O="",x=U,J){const{params:W,original:{page:$={}}={},toPath:re,compiledQuery:ee}=C,{attributes:K={},state:oe={}}=$,he=W.filter(({name:fe})=>typeof fe=="string").map(({name:fe})=>fe),_e=A(he,d,{attributeBindings:K,stateBindings:oe}),Ce=re(_e),be=u(ee),Se=A(be,d,{attributeBindings:K,stateBindings:oe}),Ne=X(d,Se,C),v=E(Ne),Z=J?.locale||x&&x.locale,ue=Z!==x.defaultLocale?`/${Z}`:"";return`${O}${ue}${Ce}${v}`}function X(d,C,O){const{compiledQuery:x,original:{page:{state:J={}}}}=O,{state:W={}}=d||{},$={};Object.keys(W).filter(ee=>{const K=J[ee];return!h(K)}).forEach(ee=>$[ee]=W[ee]);const re={};return Object.keys(C).forEach(ee=>{const K=C[ee],[oe]=Object.keys(x).filter(he=>{const _e=x[he],{routeParamName:Ce}=_e;return m(Ce)===ee});if(oe){const he=oe;re[he]=K}}),{...$,...re}}function de(d,C,O="",x=U){const J=L(d,C,O,x);return J&&J.route&&J.route.pageReference?J.route.pageReference:null}function S(d){return typeof d=="object"&&d!==null&&!Array.isArray(d)}function Ee(d){return typeof d=="string"}function le(d,C){return C in d}function Te(d,C=2){if(S(d))try{Object.freeze(d),C>0&&Object.keys(d).forEach(O=>{if(le(d,O)){const x=d[O];x&&typeof x=="object"&&Te(x,C-1)}})}catch(O){}return d}function Me(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function we(d){const C=["id","attributes","state","pageReference"],{pageReference:O=null}=d||{};return S(d)&&f(d,C)&&a(O)}function a(d){const C=["type","state","attributes"],{type:O,state:x,attributes:J}=d||{},W=S(d)&&Ee(O)&&S(x)&&c(x)&&S(J)&&c(J);return f(d,C)&&W}function c(d){return Object.keys(d).every(C=>{const O=d[C];return typeof C=="string"&&(typeof O=="string"||O===null)})}function f(d,C){if(S(d)){const O=C.every(W=>le(d,W)),J=Object.keys(C).length===C.length;return O&&J}return!1}function k(d){const C=[];let O=0;for(;O=48&&$<=57||$>=65&&$<=90||$>=97&&$<=122||$===95){J+=d[W++];continue}break}if(!J)throw new TypeError(`Missing parameter name at ${O}`);C.push({type:"NAME",index:O,value:J}),O=W;continue}if(x==="("){let J=1,W="",$=O+1;if(d[$]==="?")throw new TypeError(`Pattern cannot start with "?" at ${$}`);for(;${if(re{const Ce=K(_e);if(Ce!==void 0)return Ce;const{type:be,index:Se}=O[re];throw new TypeError(`Unexpected ${be} at ${Se}, expected ${_e}`)},he=()=>{let _e="",Ce;for(;Ce=K("CHAR")||K("ESCAPED_CHAR");)_e+=Ce;return _e};for(;re$,validate:J=!0}=C,W=d.map($=>{if(typeof $=="object")return new RegExp(`^(?:${$.pattern})$`,O)});return $=>{let re="";for(let ee=0;eeoe}=O,re=`[${G(O.endsWith||"")}]|$`,ee=`[${G(O.delimiter||"/#?")}]`;let K=J?"^":"";for(const oe of d)if(typeof oe=="string")K+=G($(oe));else{const he=G($(oe.prefix)),_e=G($(oe.suffix));if(oe.pattern)if(C&&C.push(oe),he||_e)if(oe.modifier==="+"||oe.modifier==="*"){const Ce=oe.modifier==="*"?"?":"";K+=`(?:${he}((?:${oe.pattern})(?:${_e}${he}(?:${oe.pattern}))*)${_e})${Ce}`}else K+=`(?:${he}(${oe.pattern})${_e})${oe.modifier}`;else K+=`(${oe.pattern})${oe.modifier}`;else K+=`(?:${he}${_e})${oe.modifier}`}if(W)x||(K+=`${ee}?`),K+=O.endsWith?`(?=${re})`:"$";else{const oe=d[d.length-1],he=typeof oe=="string"?ee.indexOf(oe[oe.length-1])>-1:oe===void 0;x||(K+=`(?:${ee}(?=${re}))?`),he||(K+=`(?=${ee}|${re})`)}return new RegExp(K,ce(O))}function pe(d,C,O){return Q(Re(d,O),C,O)}function te(d,C,O){return d instanceof RegExp?Ae(d,C):Array.isArray(d)?Pe(d,C,O):pe(d,C,O)}function Pe(d,C,O){const x=d.map(J=>te(J,C,O).source);return new RegExp(`(?:${x.join("|")})`,ce(O))}const{INVALID_ROUTE_QUERY:ke,MISSING_ROUTE_TEMPLATE:Fe,MISSING_PAGE_BINDING:Ve,INVALID_PAGE_BINDING:De,INVALID_URI_SYNTAX:xe}=e.messages;function et(d){const{routes:C,caseSensitive:O}=d;return C.map(x=>ze(x,O))}function ze(d,C=!1){const O=[],{uri:x,page:J}=d;e.invariant(!!x,Fe),e.invariant(nt(x),xe),e.invariant(!!J,Ve);const W=H(x),$=D(x),re=te(W,O,{sensitive:C,end:d.exact!==!1}),ee=Oe(W,{encode:encodeURIComponent}),K=Qe($),oe=ct(K,C),he={original:d,regex:re,params:O,toPath:ee,compiledQuery:K,queryMatcher:oe};return e.invariant(ut(he),De),he}function nt(d=""){return!["*","(",")",";"].some(x=>d.indexOf(x)>=0)}function ut(d){const{original:{page:C}={},params:O,compiledQuery:x}=d,J=C&&C.type,W=C&&C.attributes||{},$=C&&C.state||{};if(typeof J!="string"||typeof W!="object"||typeof $!="object")return!1;const re=Object.values(O).map(({name:be})=>be),ee=u(x),K=[...re,...ee],oe=Object.values(W).filter(h).map(m),he=Object.values($).filter(h).map(m),_e=K.every(be=>typeof be!="string"?!1:oe.indexOf(be)>=0||he.indexOf(be)>=0),Ce=K.length===oe.length+he.length;return!!(C&&J&&W&&$&&_e&&Ce)}function Qe(d){const C={};return Object.keys(d).forEach(O=>{const x=d[O];e.invariant(h(O)?x===null:!0,ke),h(O)?C[O.substr(1)]={routeParamName:O}:x&&h(x)?C[O]={routeParamName:x}:C[O]={literalValue:x===null?null:x}}),C}function ct(d,C=!1){return x=>{const J=Object.keys(x),W=Object.keys(d);return W.every(re=>J.indexOf(re)>=0)?W.reduce((re,ee)=>{if(re===null)return null;const{literalValue:K,routeParamName:oe}=d[ee],he=x[ee];let _e=!0;return typeof K=="string"?_e=C?K===he:K.toUpperCase()===(he==null?he:he.toUpperCase()):K===null&&(_e=he===K),_e?re={...re,[ee]:{value:he,routeParamName:oe}}:re=null,re},{}):null}}const ie=typeof document!="undefined",ae={pathToRegexp:te,compile:Oe};r.DEFAULT_I18N_ROUTER_CONFIG=U,r.createFilterChain=t,r.decode=R,r.encode=P,r.freeze=Te,r.getPageReferenceFromUriAndRouteDef=N,r.getPageReferenceFromUrl=de,r.getPathFromUrl=H,r.getQueryFromUrl=D,r.getQueryString=E,r.getUrlFromPageReference=q,r.getUrlFromPageReferenceAndRouteDef=F,r.guid=Me,r.hasDocument=ie,r.isObject=S,r.isValidRoute=we,r.matchRouteByUrl=L,r.parseRoutes=et,r.pathToRegexp=ae,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_12_4",["exports","lwr/routerUtils/v/0_12_4"],function(r,e){"use strict";const t=`universalcontainergetnavigationcontext${e.guid()}`;r.CONTEXT_ID_BACKDOOR=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/currentView/v/0_12_4",["exports","lwr/contextUtils/v/0_12_4","lwr/routerErrors/v/0_12_4"],function(r,e,t){"use strict";const P=new e.ContextInfo(void 0),R=class extends e.generateContextualWireAdapter(P){async update(D,E){if(E){const h=D&&D.viewName?D.viewName:"default",m=E.viewset[h],u=m,p=u&&u.module||m;let y;if(p)try{const j=await p(),_=j&&j.default;if(_&&_.constructor!==void 0)this._callback(_);else throw new Error("error occurred with view import")}catch(j){const _=j;u.specifier?y=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[u.specifier,h,_.message,_.stack||""]):y=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED,[h,_.message,_.stack||""])}else y=t.generateMessageObject(t.messages.VIEW_MISSING,[h]);E.onComplete&&E.onComplete(y)}}};r.CurrentView=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/currentPageReference/v/0_12_4",["exports","lwr/contextUtils/v/0_12_4"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),P=e.generateContextualWireAdapter(t);r.CurrentPageReference=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerErrors/v/0_12_4",["exports"],function(r){"use strict";const e="LWR",t={Fatal:0,Error:1,Warning:2,Log:3};function P(h,m){return Array.isArray(m)?h.replace(/\{([0-9]+)\}/g,(u,p)=>m[p]):h}function R(h,m){return`${h.code}: ${P(h.message,m)}`}function H(h,m){const u={...h,message:P(h.message,m)};return h.address&&(u.address=P(h.address,m)),h.stack&&(u.stack=P(h.stack,m)),u}function D(h,m,u){if(!h)throw new Error(R(m,u))}const E={INVALID_MIXIN_CMP:{code:`${e}4001`,message:"{0} must be an Element type",level:t.Error},MISSING_CONTEXT:{code:`${e}4002`,message:"Could not find context to perform navigation action.",level:t.Error},INVALID_CONTEXT:{code:`${e}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:t.Error},MULTIPLE_ROOTS:{code:`${e}4004`,message:"Router connection failed. There can only be one root router.",level:t.Error},MULTIPLE_CHILDREN:{code:`${e}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:t.Error},MISSING_ROUTE:{code:`${e}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:t.Error,address:"{0}"},MISSING_URL:{code:`${e}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:t.Error,address:"{0}"},PRENAV_FAILED:{code:`${e}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:t.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${e}4009`,message:'A route definition must contain a "uri" property.',level:t.Error},MISSING_ROUTE_CMP:{code:`${e}4016`,message:"Expected a route view component with a default export.",level:t.Error},MISSING_DATA_CONTEXT:{code:`${e}4018`,message:"Could not find context to retrieve navigation data.",level:t.Error},INVALID_ROUTE_QUERY:{code:`${e}4019`,message:"Invalid query param in route definition.",level:t.Error},MISSING_PAGE_BINDING:{code:`${e}4020`,message:"Route definition must provide page binding",level:t.Error},INVALID_PAGE_BINDING:{code:`${e}4021`,message:"Invalid page binding in route definition",level:t.Error},INVALID_URI_SYNTAX:{code:`${e}4022`,message:"Invalid uri syntax. URI cannot contain *, +, (, ), ",level:t.Error},VIEW_IMPORT_FAILED:{code:`${e}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:t.Error,stack:"{2}"},VIEW_MISSING:{code:`${e}4024`,message:'Expected a view with name "{0}" in the viewset',level:t.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${e}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:t.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${e}4026`,message:"A routing match cannot be found for: {0}",level:t.Error},INVALID_ROUTE_HANDLER:{code:`${e}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:t.Error},DESTINATION_NOT_FOUND:{code:`${e}4028`,message:"Route handler returned 404: Not Found",level:t.Error},DESTINATION_ERROR:{code:`${e}4029`,message:"Route handler returned error status {0}: {1}",level:t.Error,stack:"{2}"},NO_INIT_URL:{code:`${e}4030`,message:'Cannot initialize a server router without a "url"',level:t.Error}};r.generateMessage=R,r.generateMessageObject=H,r.invariant=D,r.messages=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/contextUtils/v/0_12_4",["exports","lwr/routerErrors/v/0_12_4"],function(r,e){"use strict";function t(h){if(h==null)throw new TypeError("Provider must be defined.")}class P{constructor(m){this.infoMap=new WeakMap,this.defaultValue=m}getInfo(m){let u=this.infoMap.get(m);return u===void 0&&(u={consumers:new Set},this.infoMap.set(m,u)),u}setContext(m,u){t(m);const p=u,y=this.getInfo(m);y.contextValue=u,y.consumers.forEach(j=>j.provide(p)),y.consumers.size===0&&p?.onComplete&&p.onComplete()}getContext(m){t(m);const{contextValue:u}=this.getInfo(m);return u!==void 0?u:this.defaultValue}clearContext(m){t(m),this.infoMap.delete(m)}subscribeContext(m,u){t(m);const{consumers:p,contextValue:y}=this.getInfo(m);p.has(u)||(p.add(u),u.provide(y))}unsubscribeContext(m,u){t(m),this.getInfo(m).consumers.delete(u)}}const R=new WeakMap;function H(h){const m=R.get(h);if(!m||!m.value)throw new Error(e.generateMessage(e.messages.MISSING_CONTEXT));return m.value}function D(h,m){const u={id:h,value:m,update:p=>{u.value=p}};return R.set(u.id,u),u}function E(h){var m;return m=class{constructor(y){this._callback=y}connect(){}disconnect(){}update(y,j){j&&this._callback(j)}static setContext(y,j){h.setContext(y,j)}static getContext(y){return h.getContext(y)}static clearContext(y){h.clearContext(y)}static subscribeContext(y,j){h.subscribeContext(y,j)}static unsubscribeContext(y,j){h.unsubscribeContext(y,j)}},m.contextSchema={value:"required"},m}r.ContextInfo=P,r.generateContextualWireAdapter=E,r.getNavigationHelm=H,r.registerNavigationHelm=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigationContext/v/0_12_4",["exports","lwr/contextUtils/v/0_12_4"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),P=e.generateContextualWireAdapter(t);r.NavigationContext=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigation/v/0_12_4",["exports","lwr/navigationContext/v/0_12_4","lwr/currentPageReference/v/0_12_4","lwr/currentView/v/0_12_4","lwr/contextUtils/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/navigationMixinHacks/v/0_12_4"],function(r,e,t,P,R,H,D){"use strict";function E(N,U,V,I){R.getNavigationHelm(N).navigate(U,V,I)}function h(N,U,V){return R.getNavigationHelm(N).generateUrl(U,V)}const m=typeof window=="undefined",u=Symbol("Navigate"),p=Symbol("GenerateUrl"),y=Symbol("NavContext"),j=Symbol("NavContext");function _(N){H.invariant(typeof N.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[N.toString()]);class U extends N{[j](){if(!this[y]&&(this.dispatchEvent(new CustomEvent(D.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:I=>{this[y]=I}}})),!this[y]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[u](I,L,q){m||(this[j](),E(this[y],I,L,q))}async[p](I,L){return m?null:(this[j](),h(this[y],I,L))}}return U}_.Navigate=u,_.GenerateUrl=p,_.NavContext=y,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return t.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return P.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}),r.NavigationMixin=_,r.generateUrl=h,r.navigate=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/domRouter/v/0_12_4",["exports","lwr/navigation/v/0_12_4","lwr/contextProvider/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/routerUtils/v/0_12_4","lwr/observable/v/0_12_4","lwr/metrics/v/0_12_4","lwr/profiler/v/0_12_4","lwr/navigationMixinHacks/v/0_12_4"],function(r,e,t,P,R,H,D,E,h){"use strict";const m=`universalcontainernavigationevent${R.guid()}`,u=`universalcontainerparentevent${R.guid()}`;class p{constructor(_,N,U){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=R.createFilterChain(),this.errorNavFilters=R.createFilterChain(),this._handleNavigationEvent=V=>{const I=V;if(I.detail&&typeof I.detail=="object"){const{url:L,replace:q,address:A}=I.detail;this.config.handleNavigation(A,q)?this.root&&!L?this.root.processError(P.generateMessageObject(P.messages.MISSING_URL,[JSON.stringify(A)])):this.parent||this.process(L,q):I.stopPropagation()}},this._handleParentEvent=V=>{V.stopImmediatePropagation();const I=V;I&&I.detail&&typeof I.detail=="function"&&I.detail(this)},this.config={handleNavigation:_.handleNavigation||(()=>!0)},this.target=U||window,this.router=N,this.router.contextId=this.contextId,this.routeObservable=H.createObservable()}get root(){if(!this.parent)return this;let _=this.parent;for(;_;){if(!_.parent)return _;_=_.parent}throw new Error("No root router could be found")}updateWires(_,N,U){if(U)this.processError(U);else{if(this.committedRoute&&_.route===this.committedRoute.route)return;E.logOperationEnd({id:D.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{..._,url:N},this.committedRoute={...this.pendingRoute,..._},e.CurrentPageReference.setContext(this.target,_.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:_.viewset}),E.logOperationEnd({id:D.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(u,N=>{this.parent=N,N.addChild(this)});const _={navigate:(N,U)=>this.navigate(N,U),generateUrl:(N,U)=>this.generateUrl(N,U),subscribe:(N,U)=>this.subscribe(N,U)};e.registerNavigationHelm(this.contextId,_),t.provideContext(this.contextId,this.target,t.navigationContextContextualizer,e.NavigationContext),t.provideContext(void 0,this.target,t.currentPageReferenceContextualizer,e.CurrentPageReference),t.provideContext(void 0,this.target,t.currentViewContextualizer,e.CurrentView),this.router.subscribe(N=>{if(N.status===404){this.processError(P.generateMessageObject(P.messages.DESTINATION_NOT_FOUND));return}if(N.status&&N.status>=400){const I=N.error||new Error;this.processError(P.generateMessageObject(P.messages.DESTINATION_ERROR,[N.status.toString(),I.message,I.stack||""]));return}const U=N.route.pageReference||{},V=this.router.generateUrl(U)||"";if(E.logOperationStart({id:D.ROUTER_VIEW,specifier:this.eventId}),N.viewset){const I={viewset:N.viewset,onComplete:this.updateWires.bind(this,N,V)};e.CurrentView.setContext(this.target,I)}else N.route.pageReference&&this.updateWires(N,V)},!0),R.hasDocument&&(this.target.addEventListener(m,this._handleNavigationEvent),this.target.addEventListener(u,this._handleParentEvent),this.target.addEventListener(h.CONTEXT_ID_BACKDOOR,N=>{const U=N;U.detail.callback&&U.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(m,this._handleNavigationEvent),this.target.removeEventListener(u,this._handleParentEvent),this.parent&&(this.parent.child=void 0),this.parent=void 0,this.child&&(this.child.parent=void 0),this.child=void 0,this.connected=!1}addPreNavigate(_){this.preNavFilters.add(_)}addErrorNavigate(_){this.errorNavFilters.add(_)}async addChild(_){if(await new Promise(N=>{setTimeout(()=>{P.invariant(!this.child,P.messages.MULTIPLE_CHILDREN),this.child=_,N()},0)}),this.child&&this.committedRoute){const N=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(N)&&this.child.process(N)}}async process(_,N,U,V){this.eventId=new Date().getTime().toString(),E.logOperationStart({id:D.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(_,U)}catch(L){if(L.code)return this.processError(L),!1;throw L}const I=this.router.parseUrl(_);return I&&this.router.navigate(I,U),!0}preProcess(_,N){const U=this.router.parseUrl(_),V=U&&this.router.matchRoute(U,N);return V?(this.pendingRoute={url:_,...V},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then(L=>L&&this.child?this.child.preProcess(this._stripUrlForChild(_)):L).then(L=>L||Promise.reject(P.generateMessageObject(P.messages.PRENAV_FAILED,[_])))):Promise.reject(P.generateMessageObject(P.messages.MISSING_ROUTE,[_]))}processError(_){E.logOperationStart({id:D.ROUTER_ERROR}),this.errorNavFilters.compile(_),this.child&&this.child.processError(_)}navigate(_,N,U){const V=this.filterNavigateOptions(U);let I=this.router.generateUrl(_,V);I&&(I=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(I)),this._sendEvent(m,{url:I,replace:N,address:_})}generateUrl(_,N){const U=this.filterNavigateOptions(N),V=this.router.generateUrl(_,U);return V?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${V}`:null}subscribe(_,N){return this.routeObservable.subscribe({next:_,error:()=>{},complete:()=>{}},Boolean(N))}_sendEvent(_,N){R.hasDocument&&this.target.dispatchEvent(new CustomEvent(_,{bubbles:!0,composed:!0,detail:N}))}_stripUrlForChild(_){return this.pendingRoute&&_.indexOf(this.pendingRoute.pathMatch)===0?_.replace(this.pendingRoute.pathMatch,""):_}filterNavigateOptions(_){const N=!this.parent;return{..._,locale:N?_?.locale:void 0}}}function y(j,_,N){return new p(j,_,N)}r.DomRouterImpl=p,r.NAV_EVENT=m,r.PARENT_EVENT=u,r.createDomRouter=y,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/historyRouter/v/0_12_4",["exports","lwc/v/6_4_5","lwr/domRouter/v/0_12_4","lwr/domRouterUtils/v/0_12_4","lwr/routerUtils/v/0_12_4"],function(r,e,t,P,R){"use strict";class H extends t.DomRouterImpl{constructor(...h){super(...h);this.historyDisabled=!1}connect(){super.connect(),this.historyDisabled||(R.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){!this.parent&&R.hasDocument&&this.catchBrowserUpdate(P.getRelativeUrl(window.location.href))}disconnect(){super.disconnect(),R.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(h,m,u,p=!0){const y=await super.process(h,m,u,p);return y&&!this.historyDisabled&&p&&this.connected&&!this.parent&&(m?P.replace(h):P.set(h)),y}catchBrowserUpdate(h){this.process(h,!1,{},!1)}}e.registerDecorators(H,{fields:["historyDisabled"]});function D(E,h,m){return new H(E,h,m)}r.HistoryRouter=H,r.createHistoryRouter=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerContainer/v/0_12_4",["exports","lwc/v/6_4_5","lwr/historyRouter/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/domRouter/v/0_12_4","lwr/routerUtils/v/0_12_4"],function(r,e,t,P,R,H){"use strict";function D(V,I,L){var q=V?"["+V+"]":"";return"span.router-title"+q+" {position: absolute;margin: -1px;border: 0;padding: 0;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);text-transform: none;white-space: nowrap;}"}var E=[D];const h=e.parseFragment``,m={key:0},u=[];function p(V,I,L,q){const{s:A,st:F}=V;return[A("",m,u,L),F(h,2)]}var y=e.registerTemplate(p);p.slots=[""],p.stylesheets=[],p.renderMode="light",E&&p.stylesheets.push.apply(p.stylesheets,E),p.stylesheetToken="lwc-7bis3qj4jjc",p.legacyStylesheetToken="lwr-routerContainer_routerContainer",e.freezeTemplate(p);let j=!1;function _(V,I={},L){const q=I.historyDisabled?new R.DomRouterImpl(I,L,V):new t.HistoryRouter(I,L,V),A={addPreNavigate:F=>(q.addPreNavigate(F),A),addPostNavigate:F=>(q.subscribe(F),A),addErrorNavigate:F=>(q.addErrorNavigate(F),A),connect:()=>{q.connect(),P.invariant(!j||!!q.parent,P.messages.MULTIPLE_ROOTS),j=j||!q.parent,A.id=q.contextId},disconnect:()=>{j=j&&!!q.parent,q.disconnect()}};return A}class N extends e.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=H.hasDocument?document.title:""}connectedCallback(){const I={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};H.hasDocument&&this.router&&(this.routerApi=_(this,I,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(I){const L=this._createEvent("prenavigate",I,!0);return this.dispatchEvent(L),!L.defaultPrevented}postNavigate(I){this.dispatchEvent(this._createEvent("postnavigate",I));const L=I.routeDefinition.metadata&&I.routeDefinition.metadata.title;L&&(this.currentTitle=L,document.title=L);const q=this.querySelector("span.router-title");q&&(q.innerHTML=this.currentTitle)}errorNavigate(I){return this.dispatchEvent(this._createEvent("errornavigate",I)),!0}handleNavigation(I,L){const q=this._createEvent("handlenavigation",{address:I,replace:L},!0);return this.dispatchEvent(q),!q.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(I,L,q){return new CustomEvent(I,{detail:L,bubbles:!1,composed:!1,cancelable:q})}}N.renderMode="light",e.registerDecorators(N,{publicProps:{router:{config:0},historyDisabled:{config:0}}});var U=e.registerComponent(N,{tmpl:y,sel:"lwr-router-container",apiVersion:61});r.default=U,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/defaultView/v/1_66_647-250_0",["exports","lwc/v/6_4_5"],function(r,e){"use strict";const t=[];function P(D,E,h,m){return t}var R=e.registerTemplate(P);P.stylesheets=[],P.renderMode="light",P.stylesheetToken="lwc-15jgd3dq0rl",P.legacyStylesheetToken="webruntime-defaultView_defaultView",e.freezeTemplate(P);var H={html:R,attributes(){}};r.default=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_647-250_0",["exports","lwr/loaderLegacy/v/0_12_4","@app/isDesignMode/v/1"],function(r,e,t){"use strict";function P(D){return D&&typeof D=="object"&&"default"in D?D:{default:D}}var R=P(t);async function H(){if(!R.default)return;const{start:D}=await e.load("webruntimedesign/designmode/v/1");/interactive|complete/.test(document.readyState)?D():document.addEventListener("DOMContentLoaded",D,!1)}r.designmodeInit=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/utils/v/1_66_647-250_0",["exports"],function(r){"use strict";function e(u,p){if(!u)throw new Error(p)}function t(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)}function P(u){return typeof document!="undefined"&&document?.cookie.split(";").map(p=>p.trim().split("=")).filter(([p])=>p===u).map(([,p])=>p)[0]}function R(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,u=>(u^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>u/4).toString(16))}function H(u){return typeof u=="string"&&/^(?:[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(u)}const D=new RegExp("^([a-z]+://|//)","i");function E(u){return u?D.test(u):!1}const h=new RegExp("/sfsites/c/.+","i");function m(u){return u?h.test(u):!1}r.assert=e,r.getCookie=P,r.isAbsoluteURL=E,r.isObject=t,r.isSfdcCoreURL=m,r.uuidValidate=H,r.uuidv4=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/logger/v/1_66_647-250_0",["exports"],function(r){"use strict";function e(...P){console.log(...P)}function t(...P){console.error(...P)}r.log=e,r.logError=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/errors/v/1_66_647-250_0",["exports","webruntime/logger/v/1_66_647-250_0","@communities-webruntime/common/v/1_66_647-250_0","webruntime/transport/v/1"],function(r,e,t,P){"use strict";function R(E){P.sendBeacon({path:t.ERRORS_PATH_PREFIX,payload:JSON.stringify(E),contentType:"text/plain;charset=UTF-8"})}function H(E,h){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:E,type:h}}))}function D({subject:E,error:h,wcstack:m,type:u=t.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){m=m||h.wcstack;const{message:p,stack:y}=h,{hostname:j,pathname:_}=globalThis.location||{},U={subject:E,message:p,stack:y,wcstack:m,location:{hostname:j,pathname:_}};e.logError(y||U),typeof document!="undefined"&&(H(U,u),R(U))}r.reportError=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/innerApp/v/1_66_647-250_0",["exports","lwc/v/6_4_5","@communities-webruntime/common/v/1_66_647-250_0","webruntime/overrides/v/1","webruntime/errors/v/1_66_647-250_0","webruntime/utils/v/1_66_647-250_0","webruntime/views/v/1","webruntime/routingService/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_647-250_0","webruntime/defaultView/v/1_66_647-250_0"],function(r,e,t,P,R,H,D,E,h,m,u){"use strict";function p(I){return I&&typeof I=="object"&&"default"in I?I:{default:I}}var y=p(D),j=p(h),_=p(u),N=void 0;class U extends e.LightningElement{constructor(...L){super(...L);this.view=void 0,this.routerContainerView=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.attributes={},this.previousRouteId=null,this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(L){this._routeParams=L}async connectedCallback(){const L=this.view||_.default;this.generatedTemplateHtml=L.html,this.attributes=L.attributes(this,this.routeParams)||{},await m.designmodeInit(),this.subscription=E.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(L){this.generatedTemplateHtml=L.html}updateRoute(L,q){E.handleExtraRouteParams(q);const{state:A,attributes:F}=q;this.previousRouteId=this.route?.id||null,this._routeParams={...A,...F},this.attributes=L.attributes(this,this.routeParams)||{},this.route=q}restoreDefaultTemplate(){this.generatedTemplateHtml=_.default.html}async loadThemeLayout(L){let q=!1;const A=L.routeDefinition.view,F=j.default[A];setTimeout(async()=>{!q&&this.themeLayout!==F&&this.restoreDefaultTemplate()},10);let X;try{X=await y.default(F)}catch(de){await this.handleFetchViewFailed(de,L.routeDefinition.metadata?.isPublic)}if(!!X)try{q=!0,window?.scrollTo(0,0),this.themeLayout!==F&&(this.themeLayout=F,this.updateTemplate(X.default)),this.updateRoute(X.default,L.route)}catch(de){R.reportError({subject:"InnerApp.loadThemeLayout error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:de})}}async handleFetchViewFailed(L,q){await P.PageNavigationFailureOverrides.run({error:L,isPublic:q})&&R.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:L})}}U.renderMode="light",e.registerDecorators(U,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});var V=e.registerComponent(U,{tmpl:N,sel:"webruntime-inner-app",apiVersion:61});r.default=V,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/purifyLib/v/1_21_9-alpha",["exports","lwc/v/6_4_5"],function(r,e){"use strict";var t=void 0;function P(ie){if(Array.isArray(ie)){for(var ae=0,d=Array(ie.length);ae1?d-1:0),O=1;O/gm),te=u(/^data-[\-\w.\u00B7-\uFFFF]/),Pe=u(/^aria-[\-\w]+$/),ke=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fe=u(/^(?:\w+script|data):/i),Ve=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),De=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie};function xe(ie){if(Array.isArray(ie)){for(var ae=0,d=Array(ie.length);ae0&&arguments[0]!==void 0?arguments[0]:et(),ae=function(T){return nt(T)};if(ae.version="2.2.6",ae.removed=[],!ie||!ie.document||ie.document.nodeType!==9)return ae.isSupported=!1,ae;var d=ie.document,C=ie.document,O=ie.DocumentFragment,x=ie.HTMLTemplateElement,J=ie.Node,W=ie.Element,$=ie.NodeFilter,re=ie.NamedNodeMap,ee=re===void 0?ie.NamedNodeMap||ie.MozNamedAttrMap:re,K=ie.Text,oe=ie.Comment,he=ie.DOMParser,_e=ie.trustedTypes,Ce=W.prototype,be=Me(Ce,"cloneNode"),Se=Me(Ce,"nextSibling"),Ne=Me(Ce,"childNodes"),v=Me(Ce,"parentNode");if(typeof x=="function"){var Z=C.createElement("template");Z.content&&Z.content.ownerDocument&&(C=Z.content.ownerDocument)}var ue=ze(_e,d),fe=ue&&We?ue.createHTML(""):"",Ue=C,Ke=Ue.implementation,it=Ue.createNodeIterator,ot=Ue.getElementsByTagName,tt=Ue.createDocumentFragment,at=d.importNode,ft={};try{ft=Te(C).documentMode?C.documentMode:{}}catch(ge){}var Ge={};ae.isSupported=Ke&&typeof Ke.createHTMLDocument!="undefined"&&ft!==9;var Je=Q,Ye=pe,st=te,mt=Pe,Ze=Fe,ye=Ve,n=ke,i=null,o=le({},[].concat(xe(we),xe(a),xe(c),xe(k),xe(ce))),l=null,g=le({},[].concat(xe(Re),xe(Ie),xe(Oe),xe(Ae))),w=null,z=null,s=!0,b=!0,M=!1,B=!1,Y=!1,se=!1,ve=!1,Le=!1,rt=!1,Be=!0,We=!1,pt=!0,ht=!0,$e=!1,yt={},Ft=le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),It=null,At=le({},["audio","video","img","source","image","track"]),Rt=null,Nt=le({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),bt=null,Ht=C.createElement("form"),Ct=function(T){bt&&bt===T||((!T||(typeof T=="undefined"?"undefined":De(T))!=="object")&&(T={}),T=Te(T),i="ALLOWED_TAGS"in T?le({},T.ALLOWED_TAGS):o,l="ALLOWED_ATTR"in T?le({},T.ALLOWED_ATTR):g,Rt="ADD_URI_SAFE_ATTR"in T?le(Te(Nt),T.ADD_URI_SAFE_ATTR):Nt,It="ADD_DATA_URI_TAGS"in T?le(Te(At),T.ADD_DATA_URI_TAGS):At,w="FORBID_TAGS"in T?le({},T.FORBID_TAGS):{},z="FORBID_ATTR"in T?le({},T.FORBID_ATTR):{},yt="USE_PROFILES"in T?T.USE_PROFILES:!1,s=T.ALLOW_ARIA_ATTR!==!1,b=T.ALLOW_DATA_ATTR!==!1,M=T.ALLOW_UNKNOWN_PROTOCOLS||!1,B=T.SAFE_FOR_TEMPLATES||!1,Y=T.WHOLE_DOCUMENT||!1,Le=T.RETURN_DOM||!1,rt=T.RETURN_DOM_FRAGMENT||!1,Be=T.RETURN_DOM_IMPORT!==!1,We=T.RETURN_TRUSTED_TYPE||!1,ve=T.FORCE_BODY||!1,pt=T.SANITIZE_DOM!==!1,ht=T.KEEP_CONTENT!==!1,$e=T.IN_PLACE||!1,n=T.ALLOWED_URI_REGEXP||n,B&&(b=!1),rt&&(Le=!0),yt&&(i=le({},[].concat(xe(ce))),l=[],yt.html===!0&&(le(i,we),le(l,Re)),yt.svg===!0&&(le(i,a),le(l,Ie),le(l,Ae)),yt.svgFilters===!0&&(le(i,c),le(l,Ie),le(l,Ae)),yt.mathMl===!0&&(le(i,k),le(l,Oe),le(l,Ae))),T.ADD_TAGS&&(i===o&&(i=Te(i)),le(i,T.ADD_TAGS)),T.ADD_ATTR&&(l===g&&(l=Te(l)),le(l,T.ADD_ATTR)),T.ADD_URI_SAFE_ATTR&&le(Rt,T.ADD_URI_SAFE_ATTR),ht&&(i["#text"]=!0),Y&&le(i,["html","head","body"]),i.table&&(le(i,["tbody"]),delete w.tbody),m&&m(T),bt=T)},St=le({},["mi","mo","mn","ms","mtext"]),Lt=le({},["foreignobject","desc","title","annotation-xml"]),Pt=le({},a);le(Pt,c),le(Pt,f);var wt=le({},k);le(wt,G);var Ot="http://www.w3.org/1998/Math/MathML",Tt="http://www.w3.org/2000/svg",Et="http://www.w3.org/1999/xhtml",Vt=function(T){var ne=v(T);(!ne||!ne.tagName)&&(ne={namespaceURI:Et,tagName:"template"});var me=I(T.tagName),je=I(ne.tagName);if(T.namespaceURI===Tt)return ne.namespaceURI===Et?me==="svg":ne.namespaceURI===Ot?me==="svg"&&(je==="annotation-xml"||St[je]):Boolean(Pt[me]);if(T.namespaceURI===Ot)return ne.namespaceURI===Et?me==="math":ne.namespaceURI===Tt?me==="math"&&Lt[je]:Boolean(wt[me]);if(T.namespaceURI===Et){if(ne.namespaceURI===Tt&&!Lt[je]||ne.namespaceURI===Ot&&!St[je])return!1;var qe=le({},["title","style","font","a","script"]);return!wt[me]&&(qe[me]||!Pt[me])}return!1},gt=function(T){V(ae.removed,{element:T});try{T.parentNode.removeChild(T)}catch(ne){try{T.outerHTML=fe}catch(me){T.remove()}}},Mt=function(T,ne){try{V(ae.removed,{attribute:ne.getAttributeNode(T),from:ne})}catch(me){V(ae.removed,{attribute:null,from:ne})}ne.removeAttribute(T)},Dt=function(T){var ne=void 0,me=void 0;if(ve)T=""+T;else{var je=L(T,/^[\r\n\t ]+/);me=je&&je[0]}var qe=ue?ue.createHTML(T):T;try{ne=new he().parseFromString(qe,"text/html")}catch(lt){}if(!ne||!ne.documentElement){ne=Ke.createHTMLDocument("");var Xe=ne,He=Xe.body;He.parentNode.removeChild(He.parentNode.firstElementChild),He.outerHTML=qe}return T&&me&&ne.body.insertBefore(C.createTextNode(me),ne.body.childNodes[0]||null),ot.call(ne,Y?"html":"body")[0]},jt=function(T){return it.call(T.ownerDocument||T,T,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT,function(){return $.FILTER_ACCEPT},!1)},Gt=function(T){return T instanceof K||T instanceof oe?!1:typeof T.nodeName!="string"||typeof T.textContent!="string"||typeof T.removeChild!="function"||!(T.attributes instanceof ee)||typeof T.removeAttribute!="function"||typeof T.setAttribute!="function"||typeof T.namespaceURI!="string"||typeof T.insertBefore!="function"},vt=function(T){return(typeof J=="undefined"?"undefined":De(J))==="object"?T instanceof J:T&&(typeof T=="undefined"?"undefined":De(T))==="object"&&typeof T.nodeType=="number"&&typeof T.nodeName=="string"},dt=function(T,ne,me){!Ge[T]||N(Ge[T],function(je){je.call(ae,ne,me,bt)})},kt=function(T){var ne=void 0;if(dt("beforeSanitizeElements",T,null),Gt(T)||L(T.nodeName,/[\u0080-\uFFFF]/))return gt(T),!0;var me=I(T.nodeName);if(dt("uponSanitizeElement",T,{tagName:me,allowedTags:i}),!vt(T.firstElementChild)&&(!vt(T.content)||!vt(T.content.firstElementChild))&&X(/<[/\w]/g,T.innerHTML)&&X(/<[/\w]/g,T.textContent))return gt(T),!0;if(!i[me]||w[me]){if(ht&&!Ft[me])for(var je=v(T),qe=Ne(T),Xe=qe.length,He=Xe-1;He>=0;--He)je.insertBefore(be(qe[He],!0),Se(T));return gt(T),!0}return T instanceof W&&!Vt(T)||(me==="noscript"||me==="noembed")&&X(/<\/no(script|embed)/i,T.innerHTML)?(gt(T),!0):(B&&T.nodeType===3&&(ne=T.textContent,ne=q(ne,Je," "),ne=q(ne,Ye," "),T.textContent!==ne&&(V(ae.removed,{element:T.cloneNode()}),T.textContent=ne)),dt("afterSanitizeElements",T,null),!1)},Ut=function(T,ne,me){if(pt&&(ne==="id"||ne==="name")&&(me in C||me in Ht))return!1;if(!(b&&X(st,ne))){if(!(s&&X(mt,ne))){if(!l[ne]||z[ne])return!1;if(!Rt[ne]){if(!X(n,q(me,ye,""))){if(!((ne==="src"||ne==="xlink:href"||ne==="href")&&T!=="script"&&A(me,"data:")===0&&It[T])){if(!(M&&!X(Ze,q(me,ye,"")))){if(me)return!1}}}}}}return!0},xt=function(T){var ne=void 0,me=void 0,je=void 0,qe=void 0;dt("beforeSanitizeAttributes",T,null);var Xe=T.attributes;if(!!Xe){var He={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:l};for(qe=Xe.length;qe--;){ne=Xe[qe];var lt=ne,_t=lt.name,$t=lt.namespaceURI;if(me=F(ne.value),je=I(_t),He.attrName=je,He.attrValue=me,He.keepAttr=!0,He.forceKeepAttr=void 0,dt("uponSanitizeAttribute",T,He),me=He.attrValue,!He.forceKeepAttr&&(Mt(_t,T),!!He.keepAttr)){if(X(/\/>/i,me)){Mt(_t,T);continue}B&&(me=q(me,Je," "),me=q(me,Ye," "));var Wt=T.nodeName.toLowerCase();if(!!Ut(Wt,je,me))try{$t?T.setAttributeNS($t,_t,me):T.setAttribute(_t,me),U(ae.removed)}catch(qt){}}}dt("afterSanitizeAttributes",T,null)}},Bt=function ge(T){var ne=void 0,me=jt(T);for(dt("beforeSanitizeShadowDOM",T,null);ne=me.nextNode();)dt("uponSanitizeShadowNode",ne,null),!kt(ne)&&(ne.content instanceof O&&ge(ne.content),xt(ne));dt("afterSanitizeShadowDOM",T,null)};return ae.sanitize=function(ge,T){var ne=void 0,me=void 0,je=void 0,qe=void 0,Xe=void 0;if(ge||(ge=""),typeof ge!="string"&&!vt(ge)){if(typeof ge.toString!="function")throw de("toString is not a function");if(ge=ge.toString(),typeof ge!="string")throw de("dirty is not a string, aborting")}if(!ae.isSupported){if(De(ie.toStaticHTML)==="object"||typeof ie.toStaticHTML=="function"){if(typeof ge=="string")return ie.toStaticHTML(ge);if(vt(ge))return ie.toStaticHTML(ge.outerHTML)}return ge}if(se||Ct(T),ae.removed=[],typeof ge=="string"&&($e=!1),!$e)if(ge instanceof J)ne=Dt(""),me=ne.ownerDocument.importNode(ge,!0),me.nodeType===1&&me.nodeName==="BODY"||me.nodeName==="HTML"?ne=me:ne.appendChild(me);else{if(!Le&&!B&&!Y&&ge.indexOf("<")===-1)return ue&&We?ue.createHTML(ge):ge;if(ne=Dt(ge),!ne)return Le?null:fe}ne&&ve&>(ne.firstChild);for(var He=jt($e?ge:ne);je=He.nextNode();)je.nodeType===3&&je===qe||kt(je)||(je.content instanceof O&&Bt(je.content),xt(je),qe=je);if(qe=null,$e)return ge;if(Le){if(rt)for(Xe=tt.call(ne.ownerDocument);ne.firstChild;)Xe.appendChild(ne.firstChild);else Xe=ne;return Be&&(Xe=at.call(d,Xe,!0)),Xe}var lt=Y?ne.outerHTML:ne.innerHTML;return B&&(lt=q(lt,Je," "),lt=q(lt,Ye," ")),ue&&We?ue.createHTML(lt):lt},ae.setConfig=function(ge){Ct(ge),se=!0},ae.clearConfig=function(){bt=null,se=!1},ae.isValidAttribute=function(ge,T,ne){bt||Ct({});var me=I(ge),je=I(T);return Ut(me,je,ne)},ae.addHook=function(ge,T){typeof T=="function"&&(Ge[ge]=Ge[ge]||[],V(Ge[ge],T))},ae.removeHook=function(ge){Ge[ge]&&U(Ge[ge])},ae.removeHooks=function(ge){Ge[ge]&&(Ge[ge]=[])},ae.removeAllHooks=function(){Ge={}},ae}var ut=nt(),Qe=e.registerComponent(ut,{tmpl:t,sel:"lightning-purify-lib",apiVersion:61});function ct(ie,ae){return Qe.sanitize(ie,ae)}r.default=ct,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_21_9-alpha"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("experience/dataLayerObject/v/250_25_0",["exports","lwc/v/6_4_5","lightning/purifyLib/v/1_21_9-alpha"],function(r,e,t){"use strict";function P(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var R=P(t);const H={hidden:""},D={lwc:{dom:"manual"}};function E(N,U,V,I){const{shc:L,h:q}=N;return[q("div",{attrs:H,props:{innerHTML:I._rawHtml$0!==(I._rawHtml$0=U.scriptElement)?I._sanitizedHtml$0=L(U.scriptElement):I._sanitizedHtml$0},context:D,key:0})]}var h=e.registerTemplate(E);E.stylesheets=[],E.renderMode="light",E.stylesheetToken="lwc-64pqse1e4gn",E.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",e.freezeTemplate(E);const p=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function y(N){return typeof window=="undefined"?N:R.default(N,p)}class j extends e.LightningElement{constructor(...U){super(...U);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(U){this._scriptDataAttributes=U}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(U){this._catalogObjectId=U}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(U){this._catalogObjectType=U}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(U){this._catalogObjectAttributes=U}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(U){this._relatedCatalogObjects=U}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(U){this._customObject=U}get customObject(){return this._customObject}get scriptElement(){return this.scriptDataAttributes?.providerType&&(this.isCustomObject()||this.isCatalogObject())?``:""}scriptElementContent(){const U=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(U)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}j.renderMode="light",e.registerDecorators(j,{publicProps:{scriptDataAttributes:{config:3},catalogObjectId:{config:3},catalogObjectType:{config:3},catalogObjectAttributes:{config:3},relatedCatalogObjects:{config:3},customObject:{config:3},scriptElement:{config:1}},fields:["_scriptDataAttributes","_catalogObjectId","_catalogObjectType","_catalogObjectAttributes","_relatedCatalogObjects","_customObject"]});var _=e.registerComponent(j,{tmpl:h,sel:"experience-data-layer-object",apiVersion:61});r.default=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/250_25_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/app/v/1",["exports","lwc/v/6_4_5","experience/dataLayerObject/v/250_25_0","webruntime/innerApp/v/1_66_647-250_0","lwr/routerContainer/v/0_12_4","@salesforce/site/Id/v/1","webruntime/routingService/v/1","webruntime/errors/v/1_66_647-250_0","webruntime/analyticsEvents/v/1_66_647-250_0"],function(r,e,t,P,R,H,D,E,h){"use strict";function m(I){return I&&typeof I=="object"&&"default"in I?I:{default:I}}var u=m(t),p=m(P),y=m(R),j=m(H);function _(I,L,q,A){const{c:F,b:X}=I,{_m0:de}=A;return[F("lwr-router-container",y.default,{props:{router:L.router},key:0},[F("experience-data-layer-object",u.default,{props:{scriptDataAttributes:L.siteDataForDataLayer.scriptDataAttributes,customObject:L.siteDataForDataLayer.customObject},key:1}),F("experience-data-layer-object",u.default,{props:{scriptDataAttributes:L.pageDataForDataLayer.scriptDataAttributes,customObject:L.pageDataForDataLayer.customObject},key:2}),F("webruntime-inner-app",p.default,{props:{view:L.view,routerContainerView:L.routerContainerView,routeParams:L.routeParams},key:3,on:{viewchange:de||(A._m0=X(L.handleViewChanged))}})])]}var N=e.registerTemplate(_);_.stylesheets=[],_.renderMode="light",_.stylesheetToken="lwc-ag6063mqi2",_.legacyStylesheetToken="webruntime-app_app",e.freezeTemplate(_);class U extends e.LightningElement{constructor(L,q){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=D.router,this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new h.ScrollToBottomEvent,this.view=L,this.routerContainerView=q,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:j.default}}}renderedCallback(){if(this.pageDataForDataLayer?.customObject&&this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}})),this.isInitialized)return;const L=this.querySelector("lwr-router-container");D.initializeRouterContainer(L),this.isInitialized=!0}errorCallback(L,q){if(E.reportError({subject:"app level error",error:L,wcstack:q}),process.env.SSR)throw L}disconnectedCallback(){this.scrollToBottomEvent.removeListener(),this.isInitialized=!1}render(){return N}handleViewChanged(L){const q=L.detail?.route?.attributes?.recordId,A=L.detail?.route?.attributes?.contentTypeName,F={type:L.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...q?{recordId:q}:{},...A?{contentTypeName:A}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:F},this.scrollToBottomEvent.addListener()}}U.renderMode="light",e.registerDecorators(U,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router","pageDataForDataLayer","scrollToBottomEvent"]});var V=e.registerComponent(U,{tmpl:N,sel:"webruntime-app",apiVersion:61});r.default=V,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/assert/v/1_66_647-250_0",["exports","webruntime/utils/v/1_66_647-250_0"],function(r,e){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura-instrumentation/v/1",["exports","webruntime/logger/v/1_66_647-250_0","@communities-webruntime/common/v/1_66_647-250_0","webruntime/assert/v/1_66_647-250_0"],function(r,e,t,P){"use strict";function R(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var H=R(P);function D(a,c){return`${t.WEBRUNTIME_PREFIX}-${[a,c].filter(Boolean).join(":")}`}const{performance:E}=globalThis;function h(a){const c=JSON.stringify(a);return c&&JSON.parse(c)}function m(a,c,f){const k=D(a,c);E.mark(k,{detail:{ctx:h(f)}})}function u(a,c,f){m(a,c,f)}function p(a,c,f){m(a,c,f)}function y(a,c,f){const k=D(a,c);try{E.measure(k,{detail:{ctx:h(f)},start:k})}catch(G){e.logError(`[instrumentation] no startMark named ${k} found`,G.stack)}}function j(){return Date.now()}function _(a,c,f){}function N(a,c,f){}function U(a,c,f,k,G){}function V(a){}function I(a,c){}function L(a){return{logHits(c){},logMisses(c){},unRegister(){}}}function q(a,c,f){}function A(a){}function F(a){}function X(a){}function de(a,c,f){}function S(a){return{increment(c){},decrement(c){},getValue(){return 0},reset(){}}}function Ee(a){return{setValue(c){},getValue(){return 0},reset(){}}}function le(a){return{update(c){},getValue(){return[]},reset(){}}}function Te(a){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class Me{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(c){if(!this._registry[c])throw new Error(`eventName ${c} isn't valid`)}register(c,f,k){return H.default(c&&typeof c=="string","eventName must be a valid string"),this._checkEventName(c),H.default(f&&typeof f=="string","listenerName must be a valid string"),H.default(typeof k=="function","callback must be provided"),this._registry[c].push({name:f,func:k})}unregister(c,f){this._checkEventName(c);const k=f-1;H.default(this._registry[c][k],`No listener found for ${c} with registration ID ${f}`),delete this._registry[c][k]}notify(c,f){this._checkEventName(c),this._registry[c].forEach(k=>k.func(f))}}const we=new Me;r.counter=S,r.disablePlugin=X,r.enablePlugin=F,r.error=q,r.gauge=Ee,r.interaction=U,r.mark=u,r.markEnd=y,r.markStart=p,r.notifications=we,r.percentileHistogram=le,r.perfEnd=N,r.perfStart=_,r.registerCacheStats=L,r.registerPeriodicLogger=I,r.registerPlugin=V,r.removePeriodicLogger=A,r.time=j,r.timer=Te,r.trackScenario=de,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura-storage/v/1",["exports"],function(r){"use strict";var e={};r.default=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_647-250_0",["exports"],function(r){"use strict";const e="/services/data/v61.0",t={"CommerceCatalogController.getProductCategoryPath":{urlPath:e+"/commerce/webstores/${webstoreId}/product-category-path/product-categories/${productCategoryId}",urlPathParamNames:["productCategoryId","webstoreId"],method:"GET"},"CommerceCatalogController.getProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogController.getProduct":{urlPath:e+"/commerce/webstores/${webstoreId}/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommerceCatalogManagementController.compositeCommerceProductCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"POST"},"CommerceCatalogManagementController.compositeCommerceProductUpdate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products/${productId}",urlPathParamNames:["productId","webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"PUT"},"HSRCommerceCatalogController.getProductCategoryPathHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/product-categories/${productCategoryId}/product-category-path",urlPathParamNames:["productCategoryId","versionId","webstoreId"],method:"GET"},"HSRCommerceCatalogController.getProductHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/products/${productId}",urlPathParamNames:["productId","versionId","webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrices":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrice":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommunitiesController.getPagePreviewUrl":{urlPath:e+"/connect/communities/${communityId}/preview-url/pages/${pageApiName}",urlPathParamNames:["communityId","pageApiName"],method:"GET"},"CommunitiesController.getCommunity":{urlPath:e+"/connect/communities/${communityId}",urlPathParamNames:["communityId"],method:"GET"},"CommunitiesController.ingestRecord":{urlPath:e+"/connect/communities/${communityId}/microbatching",urlPathParamNames:["communityId"],inputRepresentation:"requestIngestionInput",method:"POST"},"MissionsController.purgeUserMissionsActivities":{urlPath:e+"/connect/communities/${communityId}/missions/activities/purge-job",urlPathParamNames:["communityId"],method:"POST"},"CommerceCartController.upsertInventoryReservation":{urlPath:e+"/commerce/webstores/${webstoreId}/carts/${activeCartOrId}/inventory-reservations",urlPathParamNames:["activeCartOrId","webstoreId"],inputRepresentation:"cartInventoryReservationInput",method:"PUT"},"CommerceSearchController.searchProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/search/product-search",urlPathParamNames:["webstoreId"],inputRepresentation:"productSearchInput",method:"POST"},"CommerceShippingController.getShippingProfilesForWebStore":{urlPath:e+"/commerce/webstores/${webstoreId}/shippingProfiles",urlPathParamNames:["webstoreId"],method:"GET"},"NavigationMenuController.getCommunityNavigationMenu":{urlPath:e+"/connect/communities/${communityId}/navigation-menu/navigation-menu-items",urlPathParamNames:["communityId"],method:"GET"},"MarketingIntegrationController.getForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}",urlPathParamNames:["formId","siteId"],method:"GET"},"MarketingIntegrationController.saveForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms",urlPathParamNames:["siteId"],inputRepresentation:"formInput",method:"POST"},"MarketingIntegrationController.submitForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}/data",urlPathParamNames:["formId","siteId"],inputRepresentation:"formSubmissionInput",method:"POST"},"SeoPropertiesController.getRecordSeoProperties":{urlPath:e+"/connect/communities/${communityId}/seo/properties/${recordId}",urlPathParamNames:["communityId","recordId"],method:"GET"},"FlowBuilderController.getRules":{urlPath:e+"/connect/interaction/builder/rules",urlPathParamNames:[],method:"GET"},"OrchestrationController.getOrchestrationInstanceCollection":{urlPath:e+"/connect/interaction/orchestration/instances",urlPathParamNames:[],method:"GET"},"FlowRuntimeConnectController.navigateFlow":{urlPath:e+"/connect/interaction/runtime/navigateFlow",urlPathParamNames:[],inputRepresentation:"request",method:"POST"},"FlowRuntimeConnectController.resumeFlow":{urlPath:e+"/connect/interaction/runtime/resumeFlow",urlPathParamNames:[],method:"POST"},"FlowRuntimeConnectController.startFlow":{urlPath:e+"/connect/interaction/runtime/startFlow",urlPathParamNames:[],method:"POST"},"DataCategoryController.getCategoryGroups":{urlPath:e+"/connect/data-category/category-group",urlPathParamNames:[],method:"GET"},"KnowledgeController.updateViewStat":{urlPath:e+"/connect/knowledge/article/view-stat",urlPathParamNames:[],method:"PATCH"},"NetworkDataCategoryController.getChildCategories":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/child-category",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getArticlesForCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/knowledge-article",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}",urlPathParamNames:["communityId","networkDataCategoryId"],method:"PATCH"},"NetworkDataCategoryController.getNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],inputRepresentation:"networkDataCategoryTree",method:"PUT"},"NetworkDataCategoryController.getParentNetworkDataCategoryPath":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/parent-path",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItems":{urlPath:e+"/connect/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItemsForCommunity":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"ExperienceModelTypeSystemController.getBlockTypes":{urlPath:e+"/connect/experience-model/block-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getBlockType":{urlPath:e+"/connect/experience-model/block-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getContentTypes":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentTypesByContextRecordId":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentType":{urlPath:e+"/connect/experience-model/content-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getPropertyTypes":{urlPath:e+"/connect/experience-model/property-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getPropertyType":{urlPath:e+"/connect/experience-model/property-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ManagedContentController.getMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.patchMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],inputRepresentation:"mCSFolderShareCollectionUpdateInput",method:"PATCH"},"ManagedContentController.getMCSFolderShareTargets":{urlPath:e+"/connect/cms/folders/${folderId}/share-targets",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.cancelOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances/${mContentOrchInstanceId}",urlPathParamNames:["mContentOrchInstanceId"],method:"DELETE"},"ManagedContentController.getAllManagedContentChannels":{urlPath:e+"/connect/cms/management/channels",urlPathParamNames:[],method:"GET"},"ManagedContentController.postManagedContentChannel":{urlPath:e+"/connect/cms/management/channels",urlPathParamNames:[],inputRepresentation:"ManagedContentChannelInput",method:"POST"},"ManagedContentController.getManagedContentChannelRecordByChannelId":{urlPath:e+"/connect/cms/management/channels/${channelId}",urlPathParamNames:["channelId"],method:"GET"},"ManagedContentController.patchManagedContentChannelRecord":{urlPath:e+"/connect/cms/management/channels/${channelId}",urlPathParamNames:["channelId"],inputRepresentation:"ManagedContentChannelInput",method:"PATCH"},"ManagedContentController.cloneManagedContents":{urlPath:e+"/connect/cms/contents/clone",urlPathParamNames:[],inputRepresentation:"ManagedContentCloneInputParam",method:"POST"},"ManagedContentController.getCollectionItems":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentByTopicsAndContentKeys":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getPublishedManagedContentListByContentKey":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery/contents",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getDeployments":{urlPath:e+"/cms/deployments",urlPathParamNames:[],method:"GET"},"ManagedContentController.createDeployment":{urlPath:e+"/cms/deployments",urlPathParamNames:[],inputRepresentation:"DeploymentInput",method:"POST"},"ManagedContentController.createManagedContent":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.createManagedContentWithMedia":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.getManagedContent":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentForSite":{urlPath:e+"/connect/sites/${siteId}/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId","siteId"],method:"GET"},"ManagedContentController.createManagedContentExportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/export",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.getManagedContentFileUploadConfig":{urlPath:e+"/connect/cms/contents/file/upload",urlPathParamNames:[],method:"GET"},"ManagedContentController.createManagedContentImportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/import",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.getCMSJobForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs/${jobId}",urlPathParamNames:["contentSpaceId","jobId"],method:"GET"},"ManagedContentController.getAllCMSJobsForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.getManagedContentOrchestrationDefinitions":{urlPath:e+"/connect/cms/contents/orchestration-definitions",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentOrchestrationInstances":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],method:"GET"},"ManagedContentController.createManagedContentOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],inputRepresentation:"mContentOrchInstanceInput",method:"POST"},"ManagedContentController.getManagedContentPreviews":{urlPath:e+"/cms/spaces/${contentSpaceId}/preview-endpoints",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.publishDiagnostic":{urlPath:e+"/connect/cms/contents/publish/diagnostic",urlPathParamNames:[],inputRepresentation:"publishDiagnosticInput",method:"POST"},"ManagedContentController.publish":{urlPath:e+"/connect/cms/contents/publish",urlPathParamNames:[],inputRepresentation:"publishInput",method:"POST"},"ManagedContentController.getManagedContentReferencedBy":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/referenced-by",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentVariantRendition":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/renditions/${renditionType}",urlPathParamNames:["contentKeyOrId","renditionType"],method:"GET"},"ManagedContentController.getManagedContentRunningOrchestrationHistoryEvents":{urlPath:e+"/connect/cms/contents/orchestration-history-events",urlPathParamNames:[],method:"GET"},"ManagedContentController.updateDeployment":{urlPath:e+"/connect/cms/schedules/${deploymentId}",urlPathParamNames:["deploymentId"],method:"PATCH"},"ManagedContentController.createSchedule":{urlPath:e+"/connect/cms/schedules",urlPathParamNames:[],inputRepresentation:"ScheduleInput",method:"POST"},"ManagedContentController.searchManagedContentForItems":{urlPath:e+"/connect/cms/items/search",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentSpaces":{urlPath:e+"/connect/cms/spaces",urlPathParamNames:[],method:"GET"},"ManagedContentController.postManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders",urlPathParamNames:[],inputRepresentation:"managedContentSpaceFolderInput",method:"POST"},"ManagedContentController.getManagedContentSpaceFolderItems":{urlPath:e+"/connect/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolderItemsV1":{urlPath:e+"/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders/${folderId}",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.putManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],inputRepresentation:"mContentOrchConfigInput",method:"PUT"},"ManagedContentController.deleteManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"DELETE"},"ManagedContentController.getManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.patchManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],inputRepresentation:"ManagedContentSpaceInput",method:"PATCH"},"ManagedContentController.getTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"taxonomyTerms",method:"PATCH"},"ManagedContentController.createTranslationJob":{urlPath:e+"/connect/managed-content/translation",urlPathParamNames:[],inputRepresentation:"translationRequest",method:"POST"},"ManagedContentController.createTranslationV2Job":{urlPath:e+"/connect/cms/content/spaces/${contentSpaceId}/translation",urlPathParamNames:["contentSpaceId"],inputRepresentation:"translationV2Request",method:"POST"},"ManagedContentController.getManagedContentTypesForMixin":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/content-types",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.unpublish":{urlPath:e+"/connect/cms/contents/unpublish",urlPathParamNames:[],inputRepresentation:"unpublishInput",method:"POST"},"ManagedContentController.createManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants",urlPathParamNames:[],inputRepresentation:"ManagedContentVariantInputParam",method:"POST"},"ManagedContentController.getVariantReferences":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/variants/references",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.deleteManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"DELETE"},"ManagedContentController.getManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.replaceManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.replaceManagedContentVariantWithMedia":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.getManagedContentVariantVersions":{urlPath:e+"/connect/cms/contents/variants/${variantId}/versions",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.getWebUrls":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/web-urls",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateManagedContentWebUrl":{urlPath:e+"/connect/cms/contents/web-urls/${managedContentWebUrlId}",urlPathParamNames:["managedContentWebUrlId"],inputRepresentation:"managedContentWebUrlInput",method:"PATCH"},"ManagedContentDeliveryController.getCollectionItemsForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionItemsForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadata":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentTypeController.getContentTypeSchema":{urlPath:e+"/connect/cms/content-types/${contentTypeFQN}",urlPathParamNames:["contentTypeFQN"],method:"GET"},"SitesController.searchSite":{urlPath:e+"/connect/sites/${siteId}/search",urlPathParamNames:["siteId"],method:"GET"},"ActionsController.getFlexipageFormulaOverrides":{urlPath:e+"/ui-api/actions/formula-activation/${actionFeature}",urlPathParamNames:["actionFeature"],method:"GET"},"ActionsController.getGlobalActions":{urlPath:e+"/ui-api/actions/global",urlPathParamNames:[],method:"GET"},"ActionsController.getActionLayout":{urlPath:e+"/ui-api/actions/layout/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getListViewActions":{urlPath:e+"/ui-api/actions/list-view/${listViewIds}",urlPathParamNames:["listViewIds"],method:"GET"},"ActionsController.getLookupActions":{urlPath:e+"/ui-api/actions/lookup/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getMRUListActions":{urlPath:e+"/ui-api/actions/mru-list/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getObjectCreateActions":{urlPath:e+"/ui-api/actions/object/${objectApiName}/record-create",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.getActionOverrides":{urlPath:e+"/ui-api/actions/overrides/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.performUpdateRecordQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"PATCH"},"ActionsController.performQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"POST"},"ActionsController.getQuickActionDefaults":{urlPath:e+"/ui-api/actions/record-defaults/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getRecordEditActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/record-edit",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch/${relatedListIds}",urlPathParamNames:["recordIds","relatedListIds"],method:"GET"},"ActionsController.postRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch",urlPathParamNames:["recordIds"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"ActionsController.getRelatedListRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list-record/${relatedListRecordIds}",urlPathParamNames:["recordIds","relatedListRecordIds"],method:"GET"},"ActionsController.getRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],method:"GET"},"ActionsController.postRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"AppsController.getAppByID":{urlPath:e+"/ui-api/apps/${appId}",urlPathParamNames:["appId"],method:"GET"},"AppsController.getAccessibleApps":{urlPath:e+"/ui-api/apps",urlPathParamNames:[],method:"GET"},"AppsController.getNavItems":{urlPath:e+"/ui-api/nav-items",urlPathParamNames:[],method:"GET"},"ListUiController.getListsByObjectName":{urlPath:e+"/ui-api/list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListInfosById":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByName":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByObjectName":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.createListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],inputRepresentation:"listInfoInput",method:"POST"},"ListUiController.deleteListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"DELETE"},"ListUiController.getListInfoById":{urlPath:e+"/ui-api/list-info/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListInfoByName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListInfoByApiName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listInfoInput",method:"PATCH"},"ListUiController.getListObjectInfo":{urlPath:e+"/ui-api/list-object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listPreferencesInput",method:"PATCH"},"ListUiController.getListRecordsById":{urlPath:e+"/ui-api/list-records/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.postListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listRecordsQuery",method:"POST"},"ListUiController.getListUiById":{urlPath:e+"/ui-api/list-ui/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListUiByName":{urlPath:e+"/ui-api/list-ui/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"MruListUiController.getMruListInfo":{urlPath:e+"/ui-api/mru-list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListRecords":{urlPath:e+"/ui-api/mru-list-records/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListUi":{urlPath:e+"/ui-api/mru-list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],method:"GET"},"RecordUiController.executeAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordsWithFields":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordsWithLayouts":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.executeBatchRecordOperations":{urlPath:e+"/ui-api/records/batch",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.getDedupeConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getDuplicateConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getFormByName":{urlPath:e+"/ui-api/forms/${apiName}",urlPathParamNames:["apiName"],method:"GET"},"RecordUiController.executeBatchGraphQL":{urlPath:e+"/graphql/batch",urlPathParamNames:[],inputRepresentation:"batchQueryInput",method:"POST"},"RecordUiController.executeGraphQL":{urlPath:e+"/graphql",urlPathParamNames:[],inputRepresentation:"queryInput",method:"POST"},"RecordUiController.getLayout":{urlPath:e+"/ui-api/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.updateLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],inputRepresentation:"userState",method:"PATCH"},"RecordUiController.getObjectInfos":{urlPath:e+"/ui-api/object-info/batch/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"RecordUiController.getObjectInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPathLayout":{urlPath:e+"/ui-api/path/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPicklistValuesByRecordType":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}",urlPathParamNames:["objectApiName","recordTypeId"],method:"GET"},"RecordUiController.getPicklistValues":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName","recordTypeId"],method:"GET"},"RecordUiController.findDuplicates":{urlPath:e+"/ui-api/predupe",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.postRecordAvatarAssociation":{urlPath:e+"/ui-api/record-avatars/${recordId}/association",urlPathParamNames:["recordId"],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordAvatars":{urlPath:e+"/ui-api/record-avatars/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordCloneDefaults":{urlPath:e+"/ui-api/record-defaults/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordCreateDefaults":{urlPath:e+"/ui-api/record-defaults/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.createRecord":{urlPath:e+"/ui-api/records",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.deleteRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"DELETE"},"RecordUiController.getRecordWithFields":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordWithLayouts":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.updateRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"recordInput",method:"PATCH"},"RecordUiController.getRecordDefaultsTemplateClone":{urlPath:e+"/ui-api/record-defaults/template/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordDefaultsTemplateForCreate":{urlPath:e+"/ui-api/record-defaults/template/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getRecordUis":{urlPath:e+"/ui-api/record-ui/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getValidationRulesInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}/validation-rules-info",urlPathParamNames:["objectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfoBatch":{urlPath:e+"/ui-api/related-list-info/batch/${parentObjectApiName}/${relatedListNames}",urlPathParamNames:["parentObjectApiName","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListInfoCollection":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}",urlPathParamNames:["parentObjectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfo":{urlPath:e+"/ui-api/related-list-info/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],method:"GET"},"RelatedListUiController.updateRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],inputRepresentation:"relatedListInfoInput",method:"PATCH"},"RelatedListUiController.getRelatedListPreferencesBatch":{urlPath:e+"/ui-api/related-list-preferences/batch/${preferencesIds}",urlPathParamNames:["preferencesIds"],method:"GET"},"RelatedListUiController.getRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],method:"GET"},"RelatedListUiController.updateRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],inputRepresentation:"relatedListUserPreferencesInput",method:"PATCH"},"RelatedListUiController.getRelatedListsRecordCount":{urlPath:e+"/ui-api/related-list-count/batch/${parentRecordId}/${relatedListNames}",urlPathParamNames:["parentRecordId","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListRecordCount":{urlPath:e+"/ui-api/related-list-count/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}/${relatedListIds}",urlPathParamNames:["parentRecordId","relatedListIds"],method:"GET"},"RelatedListUiController.postRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}",urlPathParamNames:["parentRecordId"],inputRepresentation:"listRecordsQuery",method:"POST"},"RelatedListUiController.getRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.postRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],inputRepresentation:"listRecordsQuery",method:"POST"},"SearchUiController.searchResultsKeyword":{urlPath:e+"/ui-api/search/results/keyword",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"SearchUiController.getSearchFilterMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters",urlPathParamNames:["objectApiName"],method:"GET"},"SearchUiController.getFilterOptions":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters/${filterApiName}/options",urlPathParamNames:["filterApiName","objectApiName"],method:"GET"},"SearchUiController.searchResults":{urlPath:e+"/ui-api/search/results",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"LookupController.getLookupMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/lookup/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.getLookupRecords":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.lookup":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],inputRepresentation:"body",method:"POST"},"TableauEmbeddingController.postJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"POST",inputRepresentation:"tableauJwtArgs"},"TableauEmbeddingController.getJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"GET"},"TableauEmbeddingController.getEAS":{urlPath:e+"/tableau/eas",urlPathParamNames:[],method:"GET"}};function P(R){return t[R]}r.getResourceReferenceFromAuraMethod=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/apiCall/v/1_66_647-250_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_647-250_0","webruntime/transport/v/1","webruntime/errors/v/1_66_647-250_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1","@communities-webruntime/common/v/1_66_647-250_0"],function(r,e,t,P,R,H,D){"use strict";function E(V){return V&&typeof V=="object"&&"default"in V?V:{default:V}}var h=E(R);async function m(V,I){const[L,q]=V.split(".");if(L==="ApexActionController")return p(q,I);const A=e.getResourceReferenceFromAuraMethod(V);if(A)return u(A,I);throw new Error(`Unsupported controller action: ${L}.${q}`)}async function u({urlPath:V,urlPathParamNames:I,method:L,inputRepresentation:q},A){const F=A&&{...A}||{};let X=I.reduce((le,Te)=>{const Me=F[Te];return delete F[Te],le.replace(`\${${Te}}`,encodeURIComponent(Me))},V),de;(L==="POST"||L==="PATCH"||L==="PUT")&&F[q]&&(de=JSON.stringify(F[q]),delete F[q]),Object.keys(F).length&&(X+=`?${Object.entries(F).filter(([,le])=>le!=null&&(!Array.isArray(le)||le.length)).map(([le,Te])=>`${encodeURIComponent(le)}=${encodeURIComponent(Te)}`).join("&")}`);const S=await t.fetch(X,{method:L,body:de});let Ee;if(S.status===401&&_(),S.status!==204&&(Ee=await S.json()),Ee instanceof Array&&(Ee=Ee[0]),!S.ok){const le={status:S.status,data:{...Ee,statusCode:S.status}};throw U([le])}return N(Ee)}async function p(V,I){if(V==="execute"){const{url:L,httpRequestOptions:q}=y(V,I);return t.fetch(L,q).then(A=>(A.status===401&&_(),A.status!==204?A.json():void 0)).then(A=>{if(A&&A.error&&A.error.length>0)throw U(A.error);return N(A)})}throw new Error(`Unsupported Apex action: ${V}`)}function y(V,I){if((!I||typeof I!="object"||Object.keys(I).length===0)&&P.reportError({subject:"Apex API action error - invalid params",type:D.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${V} action called with invalid params: '${JSON.stringify(I)}'.`)}),I&&I.cacheable===!0){const L=`/apex/${V}?${j(I)}`;if(L.length<=D.MAX_URL_LENGTH)return{url:L,httpRequestOptions:{method:"GET",basePath:h.default}}}return{url:`/apex/${V}`,httpRequestOptions:{method:"POST",body:JSON.stringify(I),basePath:h.default}}}function j(V){const I={...V},L=I.params;if(L&&typeof L=="object"){const q=Object.keys(L).sort().reduce((A,F)=>(A[F]=L[F],A),{});I.params=JSON.stringify(q)}return Object.keys(I).filter(q=>I[q]!==void 0&&I[q]!=null).sort().map(q=>`${q}=${encodeURIComponent(I[q])}`).join("&")}function _(){H.SessionTimeoutOverrides.runSync()}function N(V){return{getReturnValue:()=>V}}function U(V){return{getError:()=>V}}r.apiCallRawResponse=m,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura/v/1",["exports","webruntime/apiCall/v/1_66_647-250_0","webruntime/logger/v/1_66_647-250_0"],function(r,e,t){"use strict";function P(h){if(h&&h.__esModule)return h;var m=Object.create(null);return h&&Object.keys(h).forEach(function(u){if(u!=="default"){var p=Object.getOwnPropertyDescriptor(h,u);Object.defineProperty(m,u,p.get?p:{enumerable:!0,get:function(){return h[u]}})}}),m.default=h,Object.freeze(m)}var R=P(t);const H=null,D=null,E=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return e.apiCallRawResponse}}),r.logger=R,r.createComponent=H,r.getDefinition=E,r.renderComponent=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("instrumentation/service/v/1",["exports","aura-instrumentation/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("instrumentation/utility/v/1",["exports","aura-instrumentation/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/configProvider/v/1",["exports","@app/basePath/v/1","lwc/v/6_4_5"],function(r,e,t){"use strict";function P(v){return v&&typeof v=="object"&&"default"in v?v:{default:v}}var R=P(e);const H=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,D=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,E="HH:mm:ss.SSS",h="YYYY-MM-DD",m="T",u=/(Z|([+-])(\d{2}):(\d{2}))$/;function p(v){return _(v)&&U(v)}function y(v){if(!N(v))return!1;const Z=j(v);return U(`2018-09-09T${Z}Z`)}function j(v){return typeof v=="string"?v.split(u)[0]:v}function _(v){return typeof v!="string"?!1:H.test(v)}function N(v){return typeof v!="string"?!1:D.test(v)}function U(v){const Z=Date.parse(v);return isFinite(Z)}var V=void 0;const I="in a few seconds",L="a few seconds ago",q="in {0} {1}",A="{0} {1} ago",F="s",X={SECONDS:{name:"second",threshold:45},MINUTES:{name:"minute",threshold:45},HOURS:{name:"hour",threshold:22},DAYS:{name:"day",threshold:26},MONTHS:{name:"month",threshold:11},YEARS:{name:"year"}},de=1e3,S=6e4,Ee=36e5,le=864e5;class Te{constructor(Z){if(this.milliseconds=0,typeof Z!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, but we are getting the ${typeof Z} value "${Z}" instead. `);return}this.isValid=!0,this.milliseconds=Z}humanize(Z){if(!this.isValid)return"";const ue=a(this);return ue===X.SECONDS?this.milliseconds>0?I:L:c(Z,this.asIn(ue),ue.name)}asIn(Z){switch(Z){case X.SECONDS:return Math.round(this.milliseconds/de);case X.MINUTES:return Math.round(this.milliseconds/S);case X.HOURS:return Math.round(this.milliseconds/Ee);case X.DAYS:return Math.round(this.milliseconds/le);case X.MONTHS:return Math.round(we(this.milliseconds/le));case X.YEARS:default:return Math.round(we(this.milliseconds/le)/12)}}}var Me=t.registerComponent(Te,{tmpl:V,sel:"lightning-config-provider",apiVersion:61});function we(v){const Z=4800/146097;return v*Z}function a(v){const Z=Object.keys(X).find(ue=>{const fe=X[ue];return fe===X.YEARS||Math.abs(v.asIn(fe))0?q:A;return k(Ue,ue,fe)}function k(v,...Z){return v.replace(/{(\d+)}/g,(ue,fe)=>Z[fe])}const G=["January","February","March","April","May","June","July","August","September","October","November","December"],ce={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},Re={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},Ie={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function Oe(v,Z){let ue=!1,fe=v;return typeof v=="string"&&(fe=v.split(m)[0],ue=!0),C(fe,Z,ue)}function Ae(v,Z){return C(v,Z,!0)}function Q(v,Z){if(!x(v))return new Date("");const ue=(v.getHours()+11)%12+1,fe=v.getHours()>=12?"PM":"AM";switch(Z){case E:return`${ee(v.getHours())}:${ee(v.getMinutes())}:${ee(v.getSeconds())}.${K(v.getMilliseconds())}`;case Re.short:return`${ue}:${ee(v.getMinutes())} ${fe}`;case Re.medium:case Re.long:default:return`${ue}:${ee(v.getMinutes())}:${ee(v.getSeconds())} ${fe}`}}function pe(v){if(!x(v))return new Date("");const Z=new Date(v.getTime());return`${Ae(Z)}, ${Q(W(Z))}`}function te(v){let Z=null,ue=!0;if(y(v)?Z=`2014-03-20T${J(v)}`:p(v)&&(v.indexOf(m)>0?(Z=J(v),ue=!1):Z=`${v}T00:00:00.000Z`),Z){const fe=new Date(Z);return ue&&W(fe),fe}return null}function Pe(v,Z){return Z===h&&p(v)?te(v):Object.values(ce).includes(Z)?d(v,Z):Object.values(Ie).includes(Z)?ae(v):null}function ke(v){return te(J(v))}function Fe(v,Z,ue){const fe=re(v),Ue=re(Z);return!fe||!Ue?!1:O(fe,ue).getTime()O(Ue,ue).getTime()}function De(v,Z,ue){const fe=new Date(v.getTime());ue($(fe))}function xe(v,Z,ue){const fe=new Date(v.getTime());ue(W(fe))}function et(v){return v}function ze(v){return v}function nt(v){return v}function ut(v){return v}function Qe(){return{format:v=>(console.warn(`The current environment does not support large numbers and the original value of ${v} will be returned.`),v)}}function ct(v){return new Me(v*60*1e3)}function ie(v){return v.humanize("en")}function ae(v){const Z=v.trim().split(/[:.\s*]/),ue=Z.length;if(!Z||ue<2||ue>5)return null;const fe=Z[ue-1],Ue=fe.toLowerCase()==="am",Ke=fe.toLowerCase()==="pm";Z.splice(-1,1);const it=Z.every(Ye=>!isNaN(Ye));if(!Ke&&!Ue||!it)return null;const ot=Z[0],tt=ee(Ke?ot%12+12:ot%12),at=ue>=3&&Z[1]||"0",ft=ue>=4&&Z[2]||"0",Ge=ue===5&&Z[3]||"0",Je=new Date("2014-03-20");return Je.setHours(tt,at,ft,Ge),x(Je)?Je:null}function d(v,Z){let ue=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(Z){case ce.short:ue=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case ce.long:ue=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const fe=ue.exec(v.trim());if(!fe)return null;let Ue=fe[1];const Ke=fe[2],it=fe[3];Z!==ce.short&&(Ue=G.findIndex(at=>at.toLowerCase().includes(Ue.toLowerCase())),Ue+=1);const ot=`${it}-${ee(Ue)}-${ee(Ke)}`,tt=new Date(`${ot}T00:00:00.000Z`);return x(tt)?W(tt):null}function C(v,Z,ue){const fe=re(v);if(!fe)return new Date("");switch(ue&&x(v)&&W(fe),Z){case h:return`${fe.getFullYear()}-${ee(fe.getMonth()+1)}-${ee(fe.getDate())}`;case ce.short:return`${fe.getMonth()+1}/${fe.getDate()}/${fe.getFullYear()}`;case ce.long:return`${G[fe.getMonth()]} ${fe.getDate()}, ${fe.getFullYear()}`;case ce.medium:default:return`${G[fe.getMonth()].substring(0,3)} ${fe.getDate()}, ${fe.getFullYear()}`}}function O(v,Z){switch(Z){case"day":v.setHours(0),v.setMinutes(0);case"minute":v.setSeconds(0),v.setMilliseconds(0);break}return v}function x(v){return Object.prototype.toString.call(v)==="[object Date]"&&!isNaN(v.getTime())}function J(v){return`${j(v)}Z`}function W(v){return v.setMinutes(v.getMinutes()+v.getTimezoneOffset()),v}function $(v){return v.setMinutes(v.getMinutes()-v.getTimezoneOffset()),v}function re(v){return v?x(v)?new Date(v.getTime()):isFinite(v)&&(typeof v=="number"||typeof v=="string")?new Date(parseInt(v,10)):typeof v=="string"?te(v):null:null}function ee(v){return Number(v)<10?`0${v}`:v}function K(v){return Number(v)<10?`00${v}`:Number(v)<100?`0${v}`:v}var oe={formatDate:Oe,formatDateUTC:Ae,formatTime:Q,formatDateTimeUTC:pe,parseDateTimeISO8601:te,parseDateTime:Pe,parseDateTimeUTC:ke,isBefore:Fe,isAfter:Ve,UTCToWallTime:De,WallTimeToUTC:xe,translateToOtherCalendar:et,translateFromOtherCalendar:ze,translateToLocalizedDigits:nt,translateFromLocalizedDigits:ut,getNumberFormat:Qe,duration:ct,displayDuration:ie};function he(){return oe}function _e(){return R.default}function Ce(){return null}function be(){return null}function Se(){return{densitySetting:""}}var Ne={getOneConfig:Se,getIconSvgTemplates:be,getToken:Ce,getPathPrefix:_e,getLocalizationService:he};r.default=Ne,r.getIconSvgTemplates=be,r.getLocalizationService=he,r.getOneConfig=Se,r.getPathPrefix=_e,r.getToken=Ce,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/navigation/v/1",["exports","lwr/navigationContext/v/0_12_4","lwr/currentPageReference/v/0_12_4","lwr/currentView/v/0_12_4","lwr/contextUtils/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/navigationMixinHacks/v/0_12_4"],function(r,e,t,P,R,H,D){"use strict";function E(N,U,V,I){R.getNavigationHelm(N).navigate(U,V,I)}function h(N,U,V){return R.getNavigationHelm(N).generateUrl(U,V)}const m=typeof window=="undefined",u=Symbol("Navigate"),p=Symbol("GenerateUrl"),y=Symbol("NavContext"),j=Symbol("NavContext");function _(N){H.invariant(typeof N.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[N.toString()]);class U extends N{[j](){if(!this[y]&&(this.dispatchEvent(new CustomEvent(D.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:I=>{this[y]=I}}})),!this[y]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[u](I,L,q){m||(this[j](),E(this[y],I,L,q))}async[p](I,L){return m?null:(this[j](),h(this[y],I,L))}}return U}_.Navigate=u,_.GenerateUrl=p,_.NavContext=y,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return t.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return P.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}),r.NavigationMixin=_,r.generateUrl=h,r.navigate=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/f6Controller/v/1_66_647-250_0",["exports"],function(r){"use strict";const e=300,{document:t}=globalThis,P={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},R=m=>m&&(m.shadowRoot?m.shadowRoot.activeElement?R(m.shadowRoot.activeElement):m:m.activeElement?R(m.activeElement):m);class H{constructor(u={}){this.regions=[],this.config=P,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=p=>{this.clearRegionHighlights();const{key:y,ctrlKey:j,metaKey:_}=p;y===this.config.navKey&&(j||_)&&(this.populateRegions(),this.handleNavigation(p))},this.elementFilter=p=>p.parentElement&&p.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:p.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(p)&&!this.isEmpty(p)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),e),this.initialize(u)}debounce(u,p,y){const j=y||{};let _=j.leading,N;return function(){const V=Array.prototype.slice.apply(arguments);_&&(u.apply(this,V),_=!1),clearTimeout(N),N=setTimeout(function(){u.apply(this,V),_=j.leading},p)}}appendStyleElement(){this._styleElement=t.createElement("style");const u=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${u} { position: relative; } ${u}::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; }`,this._styleElement.setAttribute("type","text/css"),t.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(u=>{u.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(u){u.classList.add(this.config.f6RegionHighlightClass)}focusIn(u){const p=u.querySelector('a[href],button:not([disabled]),input:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');p?p.focus():(u.tabIndex="-1",u.focus())}handleNavigation(u){if(u.preventDefault(),!this.regions.length)return;const p=u.shiftKey,y=this.getElementRegionIndex(R(u.target)),j=this.getNextRegionIndex(y,p);if(j===-1)return;const _=this.regions[j];this.focusIn(_),this.addRegionHighlight(_)}shadowContains(u,p){return u===p||u.contains(p)||u.shadowRoot&&this.isElementInContainerElements(u.shadowRoot.children,p)||u.tagName==="SLOT"&&this.isElementInContainerElements(u.assignedElements(),p)?!0:this.isElementInContainerElements(u.children,p)}isElementInContainerElements(u,p){if(!u||!u.length)return!1;const y=u.length;for(let j=0;jthis.shadowContains(p,u))}getNextRegionIndex(u,p){const y=this.regions.length-1;return y<0?-1:p?u<=0?y:u-1:u===y?0:u+1}isVisible(u){if(u===t.body||!(u instanceof Element))return!0;try{const p=window.getComputedStyle(u)||u.style;if(!p)return!1;const{display:y,visibility:j}=p;return y&&y.toLowerCase()==="none"||j&&j.toLowerCase()==="hidden"?!1:this.isVisible(u.parentNode)}catch(p){return!1}}isEmpty(u){if(u.tagName==="SLOT"&&!this.isEmptyChildren(u.assignedElements()))return!1;let p=u.children;return(!p||!p.length)&&u.shadowRoot&&(p=u.shadowRoot.children),this.isEmptyChildren(p)}isEmptyChildren(u){if(!u||!u.length)return!0;const p=u.length;for(let y=0;y(D||(D=new H(m)),D),h=()=>{if(D){const m=D.getConfig();if(m)return m.f6RegionAttribute}};r.DEFAULT_CONFIG=P,r.F6Controller=H,r.createF6Controller=E,r.getActiveElem=R,r.getCurrentRegionAttributeName=h,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/f6Controller/v/1",["exports","webruntime/f6Controller/v/1_66_647-250_0"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/environment/v/1",["exports"],function(r){"use strict";const e=globalThis?.LWR?.env||{},t=e&&(e.SSR==="true"||e.SSR===!0),P=e&&e.basePath,R=e&&e.locale,H=e&&e.assetBasePath,D=e&&e.uiBasePath;r.assetBasePath=H,r.basePath=P,r.isServer=t,r.locale=R,r.uiBasePath=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("transport/v/1",["exports","webruntime/transport/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/transport/v/1",["exports","lwr/loaderLegacy/v/0_12_4","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/utils/v/1_66_647-250_0","@communities-webruntime/common/v/1_66_647-250_0","lwc/v/6_4_5"],function(r,e,t,P,R,H,D,E){"use strict";function h(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var m=h(t),u=h(P),p=h(R),y=void 0;class j{constructor(c){const[f,k]=c.split("?");this.path=f,this.searchParams=new URLSearchParams(k)}setParamDefaultValue(c,f){return this.searchParams.has(c)||this.searchParams.append(c,f),this}build(){const c=this.searchParams.toString();return this.path+(c?`?${c}`:"")}}var _=E.registerComponent(j,{tmpl:y,sel:"webruntime-transport",apiVersion:61});const N=["POST","PATCH","PUT","DELETE"],U="X-SFDC-Request-Id",V="X-Salesforce-Too-Many-Requests",I="asGuest",L="language",q="htmlEncode",{location:A,navigator:F}=globalThis;async function X(a,c={}){H.assert(typeof a=="string","Valid path not provided for fetch request");const f={...c,headers:{...c.headers},credentials:c.credentials||"same-origin"};c.credentials===null&&delete f.credentials;const k=f.isNonApiRequest===!0,G=f.asGuest===!0||(await we()).isGuest,ce=f.basePath!==void 0?f.basePath:u.default,Re=new _(A?new URL(ce+a,A).toString():ce+a);k||Re.setParamDefaultValue(L,p.default).setParamDefaultValue(I,G).setParamDefaultValue(q,!1);const Ie=f.headers["Content-Type"];Ie===null?delete f.headers["Content-Type"]:Ie?f.headers["Content-Type"]=Ie:c.body&&(f.headers["Content-Type"]="application/json; charset=utf-8"),f.headers[U]=Te(),await Ee(f);const Oe=await globalThis.fetch(Re.build(),f);return S(Oe)&&de(),Oe}function de(){document.dispatchEvent(new CustomEvent("client-error",{detail:{type:D.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function S(a){return!!((a.status===503||a.status===429)&&a.headers.get(V))}async function Ee(a){if(!N.includes(a.method))return;const{csrfToken:c}=await we();c&&(a.headers["CSRF-Token"]=c)}async function le({path:a,payload:c,contentType:f}){const k=m.default+a;F&&F.sendBeacon&&F.sendBeacon(k,c)||await globalThis.fetch(a,{headers:{"Content-Type":f},basePath:m.default,body:c,method:"POST",isNonApiRequest:!0})}function Te(){return(Date.now()+Me()+Math.round(Math.random()*1e8)).substring(0,18)}function Me(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()}async function we(){if(typeof window=="undefined")return{isGuest:!0,id:null,csrfToken:null};const{default:a}=await e.load("@app/user/v/1");return a}r.fetch=X,r.sendBeacon=le,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("assert/v/1",["exports","webruntime/utils/v/1_66_647-250_0"],function(r,e){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("o11y/shared/v/1",["exports"],function(r){"use strict";class e{constructor(){this.notImplemented="Method not implemented.";const a=typeof performance!="undefined";a?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const c=this._timeOrigin;a&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const f=this.perfNow();return{tsNow:c+f,perfNow:f,timeOrigin:c}}):(this.perfNow=()=>Date.now()-c,this.time=()=>{const f=this.perfNow();return{tsNow:Date.now(),perfNow:f,timeOrigin:c}})}get isProduction(){return e._isProduction}markProduction(a){e._isProduction=a??!0}_checkArgument(a,c){if(typeof c=="string")return typeof a===c;if(typeof c=="function")return a instanceof c;if(Array.isArray(c))return c.some(f=>this._checkArgument(a,f));throw new Error(`Invalid argKind ${c}`)}requireArgument(a,c,f){let k=a==null||a==="";const G=f!==void 0;if(!k&&G&&(k=!this._checkArgument(a,f)),k)throw new Error(`${c} argument is required${G?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(a,c,f){if(a===void 0)return!1;if(a===null||a===""||!this._checkArgument(a,f))throw new Error(`${c} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(a,c,f){if(f.some(k=>a===k))throw new Error(`The value ${a} isn't allowed for ${c} argument.`)}checkForReservedCharacters(a,c,f){if(a&&f.some(k=>a.indexOf(k)>=0))throw new Error(`The argument ${c} isn't allowed to contain characters from ['${f.join(", ")}']. Received: ${a}.`)}generateUniqueId(a=16){const c=[],f="0123456789abcdef";if(!(a===void 0||a>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let k=0;k1||c(G)?`${G.localName.toLowerCase()}[${f(G)}]`:G.localName.toLowerCase();return[...k(G.parentNode),ce]}return k(a).join("/")}getAge(a){return a-this._timeOrigin}getConnectionType(){var a;let c;if(typeof navigator!="undefined"){const f=navigator;c=(a=f==null?void 0:f.connection)===null||a===void 0?void 0:a.effectiveType}return c}clone(a){return JSON.parse(JSON.stringify(a))}definedValueOrDefault(a,c){return a!==void 0?a:c}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var a;const c=this.getGlobal();return typeof((a=c.navigator)===null||a===void 0?void 0:a.sendBeacon)=="function"&&typeof c.Blob=="function"}estimateObjectSize(a){const c=new Set,f=[a];let k=0;for(;f.length;){const G=f.pop();if(typeof G=="boolean")k+=4;else if(typeof G=="string")k+=G.length*2;else if(typeof G=="number")k+=8;else if(G instanceof Uint8Array||G instanceof Uint8ClampedArray||G instanceof Uint16Array||G instanceof Uint32Array||G instanceof Int8Array||G instanceof Int16Array||G instanceof Int32Array||G instanceof Float32Array||G instanceof Float64Array)k+=G.byteLength;else if(typeof G=="object"){const ce=G;if(!c.has(ce)){c.add(ce);for(const Re in ce)f.push(ce[Re])}}}return k}noProdThrow(a){if(!R.isProduction)throw a}isAllowedOrigin(a,c){return Array.isArray(c)&&c.some(f=>f==="*"||a===f||f instanceof RegExp&&f.test(a))}roundNumber(a,c){const f=Math.pow(10,c);return Math.round(a*f)/f}roundNumbersInObject(a,c){a&&Object.entries(a).forEach(([f,k])=>{typeof k=="number"&&(a[f]=this.roundNumber(k,c))})}tryGetAbsoluteUrl(a){return(a==null?void 0:a.startsWith("/"))&&typeof window=="object"?window.location.origin+a:a}}e._isProduction=!0;const t=new e,P=t.getGlobal();t.markProduction(P==null?void 0:P.__O11Y_IS_PROD__);const R=Object.freeze(t);class H{constructor(a,c,f,k,G,ce,Re){this._name=a,this._ownerName=c,this._ownerAppName=f,this._tags=k,this._value=0,this._createdOn=G===void 0?R.time().tsNow:G,ce!==void 0&&(this._lastUpdatedOn=ce),Re!==void 0&&(this._value=Re)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(a=1){if(typeof a=="number"&&a>0){this._value+=Math.round(a),this._lastUpdatedOn=R.time().tsNow;return}throw new Error("UpCounter can only increment positive numbers.")}reset(){this._lastUpdatedOn=void 0,this._value=0}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}const D="co11y";class E{constructor(){this._upCounters=new Map,this._ownerAppName=D}_addOrUpdateCounter(a,c,f){if(!a)return;const k={status:f},G=`${this._ownerAppName}:${c}:${a}${JSON.stringify(k)}`;let ce=this._upCounters.get(G);ce||(ce=new H(a,c,this._ownerAppName,k),this._upCounters.set(G,ce)),ce.increment()}success(a,c){this._addOrUpdateCounter(a,c,"success")}exception(a,c){this._addOrUpdateCounter(a,c,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(a=>a.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(a){this._ownerAppName=a}}const h=new E;class m{constructor(a){if(this._lazyMap=new Map,a!==void 0){if(typeof a=="number"&&a>0){this._maxSize=Math.ceil(a);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(a,c){let f=this._lazyMap.get(a);if(!f){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;f=new Array,this._lazyMap.set(a,f)}return f.push(c),!0}getMessages(a,c){const f=this._lazyMap.get(a);return c&&this._lazyMap.has(a)&&this._lazyMap.set(a,[]),f||[]}getAllMessages(a){const c=new Map;for(const[f,k]of this._lazyMap.entries())k.length&&c.set(f,this.getMessages(f,a));return c}extractMessages(a){return this.getMessages(a,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let a=0;for(const c of this._lazyMap.values())a+=c.length;return a}}class u{getSchemaId(a){return`${a.namespace}.${a.name}`}isInternal(a){return(a==null?void 0:a.namespace)==="sf.instrumentation"}makePayload(a,c,f=!0){if(!f||a!==void 0&&c!==void 0)return{schema:a,payload:c}}checkSchema(a){return R.requireArgument(a,"schema","object"),R.requireArgument(a.namespace,"schema.namespace","string"),R.requireArgument(a.name,"schema.name","string"),R.requireArgument(a.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(a)}_getTokens(a){const c=a.namespace.split(".");if(c.length!==2)throw new Error(`Schema "${this.getSchemaId(a)}" must have a namespace of the form "domain.feature".`);return{domain:c[0],feature:c[1],message:a.name}}_getAnyNestedObject(a,c){return c.reduce((f,k)=>{const G=f.nested;if(G){const ce=G[k];if(ce)return ce}throw new Error(`Cannot locate ${c.join(".")} in schema with ID ${this.getSchemaId(a)}`)},a.pbjsSchema)}getTypes(a){const c=this.checkSchema(a),k=this._getAnyNestedObject(a,[c.domain,c.feature]).nested;if(!k)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(a)}`);return k}getType(a,c){R.requireArgument(c,"messageName","string");const k=this.getTypes(a)[c];if(!k)throw new Error(`Cannot locate message ${c} in schema with ID ${this.getSchemaId(a)}`);return k}getOptions(a,c,f){f&&R.requireArgument(c,"messageName","string");const k=this.checkSchema(a);if(!c)return this._getAnyNestedObject(a,[k.domain,k.feature]).options;const G=this.getType(a,c);if(!f)return G.options;const ce=G.fields[f];if(!ce){const Re=this.getSchemaId(a);throw new Error(`Cannot locate field ${f} in message ${c} in schema with ID ${Re}`)}return ce.options}getExtraFields(a,c){const{message:f}=this._getTokens(a),G=this.getTypes(a)[f].fields,ce=new Set(Object.keys(G));return c!=null?Object.keys(c).filter(Ie=>!ce.has(Ie)):[]}}const p=new u,y=1e4,j=1e4,_=0,N=2147483647,U=-2147483648,V=4294967295,I=9223372036854776e3,L=-9223372036854776e3,q=18446744073709552e3;class A{constructor(a,c,f,k){this.errorCode=a,this.fields=c,this.expected=f,this.received=k}asMessage(a){const c=this.fields[0]+this.fields.slice(1).reduce((k,G)=>Number(G)>=0?`${k}[${G}]`:`${k}.${G}`,"");let f;switch(this.errorCode){case 1:f="Repeated field must be an array";break;case 2:f=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:f="Value must be finite";break;case 4:f="Value is out of range for its type";break;case 5:f="Bytes array is malformed";break;case 6:f="Exceeded app limit for maximum string length";break;case 7:f="Exceeded app limit for item count";break;case 12:f="Value must be an integer";break;case 13:f="Values like null or undefined are not allowed for items in repeated fields";break;default:f=`Unknown error code: ${this.errorCode}`;break}return`Schema ${a} on field "${c}": ${f}`}}class F{validate(a,c,f=!1){const k=p.checkSchema(a);R.requireArgument(c,"data","object");const G=p.getSchemaId(a),ce=new Array,Re=p.getTypes(a);if(this._validateFields(ce,[],c,Re[k.message],Re,G),ce.length&&!f)throw new Error(ce[0].asMessage(G));return ce}_validateFields(a,c,f,k,G,ce){const Re=k.oneofs||{},Ie=k.fields||{};for(const Oe in f){const Ae=f[Oe];if(Ae!=null){const Q=(pe,te,Pe)=>this._matchFieldTypes(a,[...c,Oe],Ae,pe,G,ce,Oe,te,Pe);Re[Oe]?Q(Ie[Re[Oe].oneof[0]].type):Ie[Oe]&&Q(Ie[Oe].type,Ie[Oe].rule==="repeated")}}}_matchFieldTypes(a,c,f,k,G,ce,Re,Ie,Oe){let Ae;if(Ie)Array.isArray(f)?(f.length>j&&(Ae=7),f.forEach((Q,pe)=>{this._matchFieldTypes(a,[...c,pe.toString()],Q,k,G,ce,Re,void 0,!0)})):Ae=1;else if(f==null||f===void 0)Oe&&(Ae=13);else{let Q,pe;switch(k){case"string":pe="string",f.length>y&&(Ae=6);break;case"bytes":pe="object",f instanceof Uint8Array||(Ae=5);break;case"bool":pe="boolean";break;case"uint32":pe="number",Q={min:_,max:V,isInt:!0,isItem:Oe};break;case"int32":case"sint32":case"fixed32":case"sfixed32":pe="number",Q={min:U,max:N,isInt:!0,isItem:Oe};break;case"uint64":pe="number",Q={min:_,max:q,isInt:!0,isItem:Oe};break;case"fixed64":case"sfixed64":case"int64":case"sint64":pe="number",Q={min:L,max:I,isInt:!0,isItem:Oe};break;case"double":case"float":pe="number",Q={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:Oe};break;default:new Set(Object.keys(G)).has(k)&&(this._validateFields(a,c,f,G[k],G,ce),pe="object");break}typeof f!==pe?a.push(new A(2,c,k,typeof f)):Q&&(Q.isInt&&!Number.isFinite(f)?Ae=3:Q.isInt&&!Number.isInteger(f)?Ae=12:!(!Q.isInt&&Number.isNaN(f))&&!(f>=Q.min&&f<=Q.max)&&(Ae=4))}Ae&&a.push(new A(Ae,c))}}const X=new F;class de{_getMetricTags(a){const c=a.getTags();if(c)return Object.entries(c).map(f=>({name:f[0],value:f[1].toString()}))}getUpCounters(a,c=!0){return a.map(f=>{const k={name:f.getName(),createdTimestamp:f.getCreatedOn(),lastUpdatedTimestamp:f.getLastUpdatedOn(),value:f.getData(),ownerName:f.getOwnerName(),ownerAppName:f.getOwnerAppName(),tags:this._getMetricTags(f)};return c&&f.reset(),k})}getValueRecorders(a,c=!0){return a.map(f=>{const k={name:f.getName(),createdTimestamp:f.getCreatedOn(),lastUpdatedTimestamp:f.getLastUpdatedOn(),values:f.getData(),ownerName:f.getOwnerName(),ownerAppName:f.getOwnerAppName(),tags:this._getMetricTags(f)};return c&&f.reset(),k})}getBucketHistograms(a,c=!0){return a.map(f=>{const k={name:f.getName(),createdTimestamp:f.getCreatedOn(),lastUpdatedTimestamp:f.getLastUpdatedOn(),values:f.getData(),buckets:f.getBuckets(),ownerName:f.getOwnerName(),ownerAppName:f.getOwnerAppName(),tags:this._getMetricTags(f)};return c&&f.reset(),k})}getMetricsTags(a){const c={};return a.forEach(f=>{c[f.name]=f.value}),c}}const S=Object.freeze(new de);class Ee{checkInputs(a,c){p.checkSchema(a),R.requireArgument(c,"data","object");let f,k;c.userPayload!==void 0&&p.isInternal(a)&&(k=c.userPayload,f=X.validate(k.schema,k.payload,!0),this._processValidationResults(p.getSchemaId(k.schema),k.payload,f),c.userPayload=void 0),f=X.validate(a,c,!0),this._processValidationResults(p.getSchemaId(a),c,f),k!==void 0&&(c.userPayload=k)}getExtraFields(a,c){R.requireArgument(c,"data","object");const f=[],k=c.userPayload;return k!==void 0&&p.isInternal(a)&&f.push(...p.getExtraFields(k.schema,k.payload)),f.push(...p.getExtraFields(a,c)),f}getPayloadFromProvider(a,c){const f=(a==null?void 0:a.getPayload(c))||void 0;return f&&this.checkInputs(f.schema,f.payload),f}_processValidationResults(a,c,f){for(let k=0;k0:void 0}constructor(n,i,o,l){this.name=n,this._doneCallback=o,this._overDoneCallback=l,this._busyCount=0,this._isOk=!0,this._busyCount=i}add(){this._isOk&&(this._busyCount+=1)}done(){this._isOk&&(this._busyCount>0?(this._busyCount-=1,this._busyCount||this._doneCallback()):(this._isOk=!1,this._overDoneCallback()))}}const R=300;class H{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=R,this._endedTasks=new Array,this._pollableReport=new Array,t.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),t.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),t.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){t.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=t.utility.time().perfNow),this._listeners.add(n),this._checkIfLoaded()}_reportTaskEnded(n){if(this._listeners.size){const i=Object.assign({},this._taskers.get(n));this._endedTasks.push(i)}}declareNotifierTaskSingle(n){t.utility.requireArgument(n,"name","string");const i=this._addTasker(n,1);return{get isBusy(){return i.isBusy},done:()=>{i.done(),this._taskers.delete(i)}}}declareNotifierTaskMulti(n,i=0){if(t.utility.requireArgument(n,"name","string"),i!==void 0&&(t.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const o=this._addTasker(n,i);return{get isBusy(){return o.isBusy},add:()=>{if(!o.isBusy){const g=this._taskers.get(o);g.start=t.utility.time().perfNow,g.end=void 0}o.add()},done:o.done.bind(o)}}declarePollableTaskMulti(n,i){t.utility.requireArgument(n,"name","string"),t.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const o=new P(n,i,()=>{this._taskers.get(o).end=t.utility.time().perfNow,this._reportTaskEnded(o),this._checkIfLoaded()},()=>{var l;(l=this._errorListener)===null||l===void 0||l.call(this,`Overdone: ${o.name}`),t.utility.noProdThrow(`Tasker '${o.name}' is done too many times.`)});return this._taskers.set(o,{name:n,start:i>0?t.utility.time().perfNow:void 0,end:void 0}),o}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var o;const l=i[0],g=i[1];try{return l()}catch(w){return(o=this._errorListener)===null||o===void 0||o.call(this,w,`BusyChecker ${g}`),t.utility.noProdThrow(w),!1}});return n?n[1]:void 0}_checkIfLoaded(){!this._listeners.size||(this._timerCheckQueued&&clearTimeout(this._timerCheckQueued),this._areAllNotifiersIdle()&&(this._timerCheckQueued=setTimeout(()=>{this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},40)},0)))}_doubleCheck(){if(this._timerCheckQueued=void 0,this._areAllNotifiersIdle()){const n=this._getFirstBusyPollable();if(n!==void 0)this._addToPollableReport(n),this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},15);else{const i=t.utility.time().perfNow-this._firstCallbackTime,o=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const l=this._endedTasks.splice(0),g=this._pollableReport.splice(0);this._notify(o,i,l,g)}}}_addToPollableReport(n){const i=this._pollableReport.length?this._pollableReport[this._pollableReport.length-1]:void 0;(i==null?void 0:i.name)===n?i.count+=1:this._pollableReport.push({name:n,count:1})}_notify(n,i,o,l){var g;if(i>=this._logThreshold&&this._reportListener){const z=this._getReport(i,n.length,o,l);this._reportListener(z)}n.reverse();const w=t.utility.time().tsNow;for(const[z,s]of n.entries())try{s(w)}catch(b){(g=this._errorListener)===null||g===void 0||g.call(this,b,`Listener #${n.length-1-z}`),t.utility.noProdThrow(b)}}getReport(){const n=t.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,o=Array.from(this._taskers.entries()).filter(l=>l[0].isBusy).map(l=>({name:l[1].name,start:l[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(o),this._pollableReport)}_getReport(n,i,o,l){const g=o.map(w=>({name:w.name,duration:w.end-w.start})).sort((w,z)=>z.duration-w.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:g.map(w=>w.name),busyDurations:g.map(w=>w.duration),pollables:l.map(w=>w.name),pollCounts:l.map(w=>w.count)}}}const D={namespace:"sfcore.performance",name:"NavigationTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{NavigationTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{redirectCount:{id:37,type:"uint32"},encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},unloadEventEnd:{id:40,type:"double"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},unloadEventStart:{id:39,type:"double"},domContentLoadedEventStart:{id:32,type:"double"},type:{id:38,type:"string"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},domContentLoadedEventEnd:{id:33,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domInteractive:{id:34,type:"double"},domComplete:{id:31,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},loadEventStart:{id:35,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"},loadEventEnd:{id:36,type:"double"}}}}}}}}}},E={namespace:"sfcore.performance",name:"ResourceTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{ResourceTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"}}}}}}}}}};class h{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,t.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,o){const l=this._map.get(n);l?l.push({fuzzyKey:i,value:o}):this._map.set(n,[{fuzzyKey:i,value:o}])}pop(n,i){const o=this._map.get(n);if((o==null?void 0:o.length)>=1){let l=Number.POSITIVE_INFINITY,g=-1;for(let w=0;w=0){const{value:w}=o.splice(g,1)[0];return o.length===0&&this._map.delete(n),w}}}clear(){this._map.clear()}}const m=["fetch","xmlhttprequest"];class u{constructor(n,i,o,l,g){if(this._instr=n,this._skipUrls=o,this._logPerformanceActivityName=l,this._isStarted=!1,t.utility.requireArgument(n,"_instr","object"),t.utility.requireArgument(i,"fuzzyMapRange","number"),t.utility.requireArgumentIfDefined(o,"_skipUrls",Array),t.utility.requireArgumentIfDefined(l,"_logPerformanceActivityName","string"),t.utility.requireArgumentIfDefined(g,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._boundObserverCallback=this._logPerformanceEntries.bind(this),!g||g.toLowerCase()==="full")this._logLevel=1;else if((g==null?void 0:g.toLowerCase())==="basic")this._logLevel=0;else throw new Error(`Invalid log level: ${g}`);this._fuzzyMapper=new h(i)}get isStarted(){return this._isStarted}get logLevel(){return this._logLevel}start(){!this._hasPerf||this._isStarted||(this._isStarted=!0,this._navigationObserver=new PerformanceObserver(this._boundObserverCallback),this._navigationObserver.observe({type:"navigation",buffered:!0}),this._resourceObserver=new PerformanceObserver(this._boundObserverCallback),this._resourceObserver.observe({type:"resource",buffered:!0}))}stop(){this._resourceObserver&&(this._resourceObserver.disconnect(),this._resourceObserver=void 0),this._navigationObserver&&(this._navigationObserver.disconnect(),this._navigationObserver=void 0),this._fuzzyMapper.clear(),this._isStarted=!1}addEntry(n,i,o){this._fuzzyMapper.add(n,i,o)}_resourceEntryToResourceTiming(n){var i,o;const l={name:n.name,startTime:n.startTime,duration:n.duration,initiatorType:n.initiatorType,nextHopProtocol:n.nextHopProtocol,renderBlockingStatus:n.renderBlockingStatus,workerStart:n.workerStart,redirectStart:n.redirectStart,redirectEnd:n.redirectEnd,fetchStart:n.fetchStart,domainLookupStart:n.domainLookupStart,domainLookupEnd:n.domainLookupEnd,connectStart:n.connectStart,secureConnectionStart:n.secureConnectionStart,connectEnd:n.connectEnd,requestStart:n.requestStart,responseStart:n.responseStart,firstInterimResponseStart:n.firstInterimResponseStart,responseEnd:n.responseEnd,transferSize:n.transferSize,encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,responseStatus:n.responseStatus},g=n.serverTiming;return Array.isArray(g)&&(l.dbDuration=(i=g.find(w=>w.name==="db"))===null||i===void 0?void 0:i.duration,l.srvDuration=(o=g.find(w=>w.name==="Total"))===null||o===void 0?void 0:o.duration),l}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(l=>l instanceof RegExp?l.test(n.name):n.name===l))?!1:this._logLevel===1?!0:m.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_logActivity(n,i,o,l){const g={id:o},w={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:l};this._instr.startActivity(this._logPerformanceActivityName,g).stop(n,i,w)}_logPerformanceEntries(n){for(const i of n.getEntriesByType("navigation")){const o=i;if(this._shouldInclude(o)){if(o!==this._navTiming){this._navTiming=o;const l=this._resourceEntryToResourceTiming(o),g={domComplete:o.domComplete,domContentLoadedEventStart:o.domContentLoadedEventStart,domContentLoadedEventEnd:o.domContentLoadedEventEnd,domInteractive:o.domInteractive,loadEventStart:o.loadEventStart,loadEventEnd:o.loadEventEnd,redirectCount:o.redirectCount,type:o.type,unloadEventStart:o.unloadEventStart,unloadEventEnd:o.unloadEventEnd};this._logActivity(D,Object.assign(l,g))}break}}for(const i of n.getEntriesByType("resource")){const o=i,l=this._fuzzyMapper.pop(o.name,o.startTime);if(this._shouldInclude(o)){const g=this._resourceEntryToResourceTiming(o);Object.assign(g,{srvReqId:l==null?void 0:l.requestId,xhrDelay:l?l.activityDuration-o.duration:void 0}),this._logActivity(E,g,l==null?void 0:l.activityId,l==null?void 0:l.errorCount)}}}}const p=32,y=16,j=16,_="traceparent",N="b3",U="X-B3-TraceId",V="X-B3-SpanId",I="X-B3-Sampled",L="X-B3-ParentSpanId",q="X-SFDC-Request-Id",A="fetch",F="xhr_send",X="perf-timing",de=50;class S{constructor(n,i){this._instr=n,this._idleDetector=i,t.utility.requireArgument(n,"_instr","object"),t.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,o,l){let g=`${n}-${i}`;return(o!==void 0||l!==void 0)&&(g+=o?"-1":"-0",l!==void 0&&(g+=`-${l}`)),g}static _getW3CompactFormat(n,i,o){return`00-${n}-${i}-${o?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const o=n.length;for(let l=0;l="a"&&g<="f")&&!(g>="0"&&g<="9"))throw new Error(`The text '${n}' has an invalid character at index #${l}`)}return o>i?n.substr(o-i):og[0]===n);return l==null?void 0:l[1]}if(typeof(o==null?void 0:o.headers)=="object")return o.headers[n];if(i instanceof Request)return i.headers.get(n)}_overrideFetch(n,i,o,l,g,w){S._originalFetch=S._global.fetch;const z=async(s,b,...M)=>{var B;let Y,se,ve,Le,rt;try{w==null||w.add(),Le=b==null?void 0:b.method;const Be=b==null?void 0:b.o11y;if(!(Be==null?void 0:Be.skipInstr))Y=n.startActivity(o||A);else{S._reqIndex+=1;try{if(s instanceof URL)s.searchParams.append("o11y",S._reqIndex.toString());else if(typeof s=="string"){const We=new URL(s),pt=`o11y=${S._reqIndex}`;We.search+=We.search.startsWith("?")?`&${pt}`:pt,s=We.toString()}}catch(We){}}if(b==null||delete b.o11y,se=s==null?void 0:s.toString(),ve=t.utility.tryGetAbsoluteUrl(se),l){s instanceof Request&&(Le||(Le=s.method),se=s.url,ve=t.utility.tryGetAbsoluteUrl(se));const We=S._getTraceHeaders(Y,g,Le,ve);!this._applyTraceHeaders(s,b,We)&&b===void 0&&(b={headers:We})}return rt=t.utility.perfNow(),await S._originalFetch.call(S._global,s,b,...M)}catch(Be){throw i&&(Y?Y.error(Be):n.error(Be)),Be}finally{try{const Be=S._endActivity(Y,se,Le);if((B=S._performanceObservability)===null||B===void 0?void 0:B.isStarted){const We=S._extractHeader(q,s,b);S._performanceObservability.addEntry(ve,rt,{requestId:We,activityDuration:Be,activityId:Y==null?void 0:Y.getId(),errorCount:Y==null?void 0:Y.getErrorCount()})}}finally{w==null||w.done()}}};S._global.fetch=z}static _endActivity(n,i,o){var l;if(n)return((l=S._performanceObservability)===null||l===void 0?void 0:l.isStarted)?n.discard():n.stop(e.networkSchema,{mtd:o,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,o,l,g,w){S._originalXhr=S._global.XMLHttpRequest,S._originalXhrOpen=S._originalXhr.prototype.open,S._originalXhrSetRequestHeader=S._originalXhr.prototype.setRequestHeader,S._originalXhrSend=S._originalXhr.prototype.send;function z(b,M){var B;if(b._o11y){const Y=b._o11y.activity,se=S._endActivity(Y,b._o11y.url,b._o11y.method);!M&&((B=S._performanceObservability)===null||B===void 0?void 0:B.isStarted)&&S._performanceObservability.addEntry(b._o11y.absoluteUrl,b._o11y.sendTime,{requestId:b._o11y.requestId,activityDuration:se,activityId:Y==null?void 0:Y.getId(),errorCount:Y==null?void 0:Y.getErrorCount()})}}S._originalXhr.prototype.open=function(b,M,B,Y,se){this._o11y={method:b,url:M==null?void 0:M.toString()},this._o11y.absoluteUrl=t.utility.tryGetAbsoluteUrl(this._o11y.url),S._originalXhrOpen.apply(this,arguments)},S._originalXhr.prototype.setRequestHeader=function(b,M){var B;((B=b==null?void 0:b.toLowerCase)===null||B===void 0?void 0:B.call(b))===q.toLowerCase()&&(this._o11y.requestId=M),S._originalXhrSetRequestHeader.apply(this,arguments)},S._originalXhr.prototype.send=function(...b){let M;const B=this;try{if(w==null||w.add(),B._o11y=B._o11y||{},B._o11y.activity=M=n.startActivity(o||F),l){const Y=S._getTraceHeaders(M,g,B._o11y.method,B._o11y.absoluteUrl);Object.entries(Y).forEach(se=>{B.setRequestHeader(se[0],se[1])})}B._o11y.sendTime=t.utility.perfNow(),S._originalXhrSend.call(this,...b)}catch(Y){throw i&&(M?M.error(Y):n.error(Y)),z(B,!0),w==null||w.done(),Y}};const s=new Proxy(S._originalXhr,{construct(b){const M=new b;return M.addEventListener("load",()=>{z(M),w==null||w.done()}),M.addEventListener("error",B=>{var Y;try{const se=new Error("XHR Network-Level Error");if(i){const ve=(Y=M._o11y)===null||Y===void 0?void 0:Y.activity;ve?ve.error(se):n.error(se)}z(M)}finally{w==null||w.done()}}),M.addEventListener("abort",()=>{var B,Y;(Y=(B=M._o11y)===null||B===void 0?void 0:B.activity)===null||Y===void 0||Y.discard(),w==null||w.done()}),M}});S._global.XMLHttpRequest=s}networkInstrumentation(n){var i;if(t.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const o=typeof n=="object"?n:{};let l;t.utility.definedValueOrDefault(o.useTasker,!0)&&(l=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(t.utility.definedValueOrDefault(o.instrumentation,this._instr),t.utility.definedValueOrDefault(o.logErrors,!0),o.activityName,t.utility.definedValueOrDefault(o.useTracing,!0),o.tracingHeadersOptions,l,t.utility.definedValueOrDefault(o.logPerformance,!0),t.utility.definedValueOrDefault(o.logPerformanceActivityName,X),t.utility.definedValueOrDefault(o.skipUrls,[]),t.utility.definedValueOrDefault(o.fuzzyMapRange,de))}}resetRequestCounter(){S._reqIndex=0}_applyTraceHeaders(n,i,o){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(o).forEach(([l,g])=>{i.headers.set(l,g)}),!0;if(Array.isArray(i.headers))return Object.entries(o).forEach(l=>{i.headers.push(l)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,o),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(o).forEach(([l,g])=>{n.headers.set(l,g)}),!0;if(i)return i.headers=Object.assign({},o),!0}return!1}}S._global=t.utility.getGlobal(),S._isNetworkInstrumentationEnabled=!1,S._reqIndex=0;var Ee;(function(ye){ye[ye.none=0]="none",ye[ye.start=1]="start",ye[ye.stop=2]="stop",ye[ye.both=3]="both"})(Ee||(Ee={}));const le="timedout",Te="terminated",Me="discarded",we={timedout:le,terminated:Te,discarded:Me};class a{constructor(n,i,o,l,g,w,z,s,b){this._name=n,this._rootId=i,this._onStopped=o,this._onError=l,this._isSampled=z,this._noRerooting=b,this._errorCount=0,this._timerOverridden=Ee.none;const{tsNow:M,perfNow:B}=t.utility.time();if(a._count+=1,this._id=w||t.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${a._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(Y){this._usePerf=!1}}this._startTimestamp=M,this._startPerfTime=B,this._overrideTimer(s),g>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||we.timedout,this.stop()},g)),this._safety=new t.PublicSafety}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}error(n,i,o){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,o))},{op:"activity.error"})}stop(n,i,o){this._safety.tryCatch(()=>{if(t.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(i,"userData","object"),o){const l=o.perfStartOverride,g=t.utility.requireArgumentIfDefined(l,"options.perfStartOverride","number"),w=o.perfStopOverride,z=t.utility.requireArgumentIfDefined(w,"options.perfStopOverride","number"),s=o.errorCount;if(t.utility.requireArgumentIfDefined(s,"options.errorCount","number")&&(this._errorCount=s),g&&l<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(z&&(w<0||w<(g?l:this._startPerfTime)||w>t.utility.time().perfNow+100))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime and <= now")}this._stopInternal(n,i,o)},{op:"activity.stop"})}_overrideTimer(n,i){n!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-n)),this._startPerfTime=n,this._setTimerOverride(Ee.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(Ee.stop))}_setTimerOverride(n){this._timerOverridden===Ee.both||this._timerOverridden===n||n===Ee.none||(this._timerOverridden=this._timerOverridden===Ee.none?n:Ee.both)}_stopInternal(n,i,o){const l=t.utility.perfNow();if(this._usePerf)try{this._stopReason!==we.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(w){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;o&&this._overrideTimer(o.perfStartOverride,o.perfStopOverride),this._stopPerfTime=this._timerOverridden===Ee.none||this._timerOverridden===Ee.start?l:this._stopPerfTime;const g=this._getDetail(n,i);this._onStopped(g)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||we.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,o){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||we.terminated,this.stop(n,i,o)},{op:"activity.terminate"})}getIsSampled(){return this._isSampled||!1}_getDetail(n,i){return{id:this._id,rootId:this._rootId,name:this._name,userSchemaOrText:n,userData:i,stopReason:this._stopReason,startTimestamp:this._startTimestamp,startPerfTime:this._startPerfTime,stopPerfTime:this._stopPerfTime,errorCount:this._errorCount,isSampled:this.getIsSampled(),timerOverridden:this._timerOverridden,noRerooting:this._noRerooting}}getTraceHeaders(n){const i=this.id,o=this._rootId||i;return S.getHeaders(o,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}getErrorCount(){return this._errorCount}}a._count=0;const c=new Array(16).fill(0).join("");class f{getId(){return c}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}}const k=Object.freeze(new f);class G{getInstrumentedEventData(n,i,o,l){var g;const w={ownerComponent:o.tagName,parentComponent:((g=o.parentElement)===null||g===void 0?void 0:g.tagName)||void 0,simplePath:t.utility.getXpath(o)};switch(n){case 0:w.baseEvent=i;break;case 1:w.mouseEvent=i;break}return l&&(w.userPayload=t.schemaUtil.makePayload(l.schema,l.payload,!0)),w}getEventData(n){return{type:n.type}}getMouseEventData(n){return{altKey:n.altKey,bubbles:n.bubbles,button:n.button,buttons:n.buttons,cancelable:n.cancelable,clientX:n.clientX,clientY:n.clientY,composed:n.composed,defaultPrevented:n.defaultPrevented,detail:n.detail,eventPhase:n.eventPhase,isTrusted:n.isTrusted,timeStamp:n.timeStamp,type:n.type,ctrlKey:n.ctrlKey,metaKey:n.metaKey,movementX:n.movementX,movementY:n.movementY,offsetX:n.offsetX,offsetY:n.offsetY,pageX:n.pageX,pageY:n.pageY,screenX:n.screenX,screenY:n.screenY,shiftKey:n.shiftKey}}}const Re=new G;class Ie{constructor(n,i,o,l,g,w,z,s){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=l,this._buckets=g,this._values=new Array,this._createdOn=w===void 0?t.utility.time().tsNow:w,z!==void 0&&(this._lastUpdatedOn=z),s!==void 0&&(this._values=s)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}getBuckets(){return this.buckets}get buckets(){return this._buckets.slice(0,this._buckets.length)}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=t.utility.time().tsNow;return}throw new Error("BucketHistogram can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Oe{constructor(n,i,o,l,g,w,z){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=l,this._values=new Array,this._createdOn=g===void 0?t.utility.time().tsNow:g,w!==void 0&&(this._lastUpdatedOn=w),z!==void 0&&(this._values=z)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=t.utility.time().tsNow;return}throw new Error("ValueRecorder can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Ae{constructor(n){if(this._map=new Map,typeof n=="number"&&n>0){this._maxSize=Math.ceil(n);return}throw new Error("maxSize must be a positive number")}get maxSize(){return this._maxSize}get(n){return this._map.get(n)}has(n){return this._map.has(n)}set(n,i){return this.has(n)||this._map.size(w[z]=i[z],w),{});return{key:`${Pe[o]}:${n}${JSON.stringify(l)}`,sortedTags:l}}}class Fe{constructor(){this.isMock=!0}}const Ve=void 0,De=["`"],xe={internalError:"o11y-error"},et=Object.freeze(Array.from(Object.values(xe)));class ze{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const l of De)if(this._name.indexOf(l)>=0)throw new Error(`Name cannot include the reserved character "${l}"`);this._safety=new t.PublicSafety({increment:l=>this._incrementError(l)}),this._metrics=this._initMetrics();const o=t.schemaUtil.getOptions(e.simpleSchema,"Simple","text");this._simpleTextMaxLength=o?o["(meta.max_length)"]:t.maxStringLengthAppLimit}_initMetrics(){return new ke(this.name,()=>this._nextGen.appName||ze.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(xe.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,o=!1){let l;return typeof n=="string"?(l=e.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):l=n,t.schemaUtil.makePayload(l,i,o)}_getEffectiveRootId(n){var i,o;return(o=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&o!==void 0?o:this._nextGen.getDefaultInstrumentationContext().rootId}log(n,i,o){this._safety.tryCatch(()=>{const l=t.utility.time().tsNow;t.utility.requireArgument(n,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(i,"userData","object"),t.utility.requireArgumentIfDefined(o,"options","object");const g=this._wrapUserPayload(n,i);(g==null?void 0:g.payload)&&this._logInternal(this.name,g.schema,g.payload,l,this._getEffectiveRootId(o))},{op:"log"})}_logInternal(n,i,o,l,g){const w=this._nextGen.addLog(n,i,o,l,g);if(!t.utility.isProduction){const z=t.payloadUtility.getExtraFields(i,o);!t.utility.isProduction&&z.length>0&&this.error("Extra fields",e.payloadDiagsSchema,{extras:z})}return w}error(n,i,o,l){return this._safety.tryCatch(()=>{t.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(o,"userData","object"),t.utility.requireArgumentIfDefined(l,"options","object");const g=this._getEffectiveRootId(l);this._errorInternal(n,i,o,void 0,g)},{op:"error"})}_errorInternal(n,i,o,l,g){const w=t.utility.time().tsNow;let z;if(n instanceof Error)z=n;else{let M;n==null||typeof n.toString!="function"?M="UNKNOWN":M=n.toString(),z=new Error(M)}const s=this._wrapUserPayload(i,o,!0),b={name:z.name,message:z.message,stack:z.stack,userPayload:s,activityId:l};return this._logInternal(this.name,e.errorSchema,b,w,g)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var o;t.utility.requireArgument(n,"name"),t.utility.requireArgumentIfDefined(i,"options","object");let l,g=(i==null?void 0:i.perfStartOverride)!==void 0;const w=(o=i==null?void 0:i.instrumentationContext)===null||o===void 0?void 0:o.rootId;return w?(g=!0,l={rootId:w,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled}):l=this._nextGen.getDefaultInstrumentationContext(),new a(n,l.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Ve,i==null?void 0:i.id,l.isRootActivitySampled,i==null?void 0:i.perfStartOverride,g)},k,{op:"startActivity"})}_getActivityData(n){const i=this._wrapUserPayload(n.userSchemaOrText,n.userData,!0);return{id:n.id,name:n.name,duration:n.stopPerfTime-n.startPerfTime,stopReason:n.stopReason,userPayload:i,errorCount:n.errorCount,isSampled:n.isSampled,timerOverridden:n.timerOverridden,isRerooted:n.isRerooted}}_handleActivityStop(n){if(n.stopReason===Me)return;if(!n.isRoot&&!n.noRerooting){const o=this._nextGen.getRootActivityHistoryEntryByTime(n.startPerfTime);(!o&&n.rootId!==void 0||o&&n.rootId!==o.id)&&(n.rootId=o==null?void 0:o.id,n.isSampled=(o==null?void 0:o.isSampled)||!1,n.isRerooted=!0)}const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,o){this._logInternal(this.name,e.activitySchema,n,i,o)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}domEvent(n,i,o,l,g){this._safety.tryCatch(()=>{var w;const z=t.utility.time().tsNow;t.utility.requireArgument(n,"event",[Event,Fe]),t.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let s;i instanceof HTMLElement?s=i:(i=i,((w=i.template)===null||w===void 0?void 0:w.host)instanceof HTMLElement?s=i.template.host:t.utility.requireArgument(void 0,"handledBy"));const b=this._wrapUserPayload(o,l,!0),M=this._getEffectiveRootId(g);switch(n.type){case"click":{const B=n,Y=this._nextGen.getClickTracker();Y&&Y.markEventHandled(B);const se=g==null?void 0:g.captureMouseData,ve=Re.getInstrumentedEventData(se?1:0,se?Re.getMouseEventData(B):Re.getEventData(B),s,b);ve.auto=g==null?void 0:g._auto,this._logInternal(this.name,e.instrumentedEventSchema,ve,z,M);break}default:throw new Error(t.utility.notImplemented)}},{op:"domEvent"})}incrementCounter(n,i=1,o=!1,l={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",et),t.utility.checkForReservedCharacters(n,"operation",De),t.utility.requireArgument(i,"increment","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(l,"tags","object"),Object.entries(l).forEach(g=>{t.utility.requireArgument(g[1],`Tag value for '${g[0]}'`,["string","number","boolean"])}),this._metrics.incrementCounter(n,i,o,l)},{op:"incrementCounter"})}trackValue(n,i,o=!1,l={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",et),t.utility.checkForReservedCharacters(n,"operation",De),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(l,"tags","object"),Object.entries(l).forEach(g=>{t.utility.requireArgument(g[1],`Tag value for '${g[0]}'`,["string","number","boolean"])}),this._metrics.trackValue(n,i,o,l)},{op:"trackValue"})}bucketValue(n,i,o=[],l=!1,g={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",et),t.utility.checkForReservedCharacters(n,"operation",De),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"buckets",Array),Object.entries(o).forEach(w=>{t.utility.requireArgument(w[1],`Bucket value for '${w[0]}'`,"number")}),t.utility.requireArgument(l,"hasError","boolean"),t.utility.requireArgument(g,"tags","object"),Object.entries(g).forEach(w=>{t.utility.requireArgument(w[1],`Tag value for '${w[0]}'`,["string","number","boolean"])}),this._metrics.bucketValue(n,i,o,l,g)},{op:"bucketValue"})}getUpCounters(){return this._metrics.getUpCounters().filter(n=>n.getLastUpdatedOn())}getValueRecorders(){return this._metrics.getValueRecorders().filter(n=>n.getLastUpdatedOn())}getBucketHistograms(){return this._metrics.getBucketHistograms().filter(n=>n.getLastUpdatedOn())}registerForLogPrompt(n){t.utility.requireArgument(n,"listener","function"),this._nextGen.registerForLogPrompt(n)}_getAsaOptions(n){return n?Object.assign({instrumentationContext:n==null?void 0:n.instrumentationContext},n.startOptions):void 0}activity(n,i,o){var l,g,w,z;const s=this._getAsaOptions(o),b=this.startActivity(n,s);try{return i(b)}catch(M){throw b.error(M,(l=o==null?void 0:o.errorPayload)===null||l===void 0?void 0:l.schema,(g=o==null?void 0:o.errorPayload)===null||g===void 0?void 0:g.payload),M}finally{b.stop((w=o==null?void 0:o.stopPayload)===null||w===void 0?void 0:w.schema,(z=o==null?void 0:o.stopPayload)===null||z===void 0?void 0:z.payload,o==null?void 0:o.stopOptions)}}async activityAsync(n,i,o){var l,g,w,z;const s=this._getAsaOptions(o),b=this.startActivity(n,s);try{return await i(b)}catch(M){throw b.error(M,(l=o==null?void 0:o.errorPayload)===null||l===void 0?void 0:l.schema,(g=o==null?void 0:o.errorPayload)===null||g===void 0?void 0:g.payload),M}finally{b.stop((w=o==null?void 0:o.stopPayload)===null||w===void 0?void 0:w.schema,(z=o==null?void 0:o.stopPayload)===null||z===void 0?void 0:z.payload,o==null?void 0:o.stopOptions)}}}ze.defaultAppName="APP_NOT_REGISTERED";const nt=.1,ut=20;class Qe{constructor(n){if(this._historyMap=new Map,this._historyList=new Array,t.utility.requireArgumentIfDefined(n,"limit","number")){if(n=Math.ceil(n),n<=0)throw new Error("Limit must be a positive number")}else n=ut;this._graceCount=Math.max(1,Math.floor(n*nt)),this._realLimit=1+n+this._graceCount}add(n){if(this._historyMap.has(n.id))throw new Error(`RootActivityHistoryImpl.add: entry already exists for rootId: ${n.id}`);this._historyMap.set(n.id,n),this._historyList.push(n),this._historyList.length===this._realLimit&&this._historyList.splice(1,this._graceCount).forEach(o=>this._historyMap.delete(o.id))}get count(){return this._historyList.length}findById(n){return this._historyMap.get(n)}findByTime(n){let i,o=Number.MAX_VALUE;for(const l of this._historyList){const g=n-l.startPerfTime;g>=0&&(l.stopPerfTime===void 0||n{if(t.utility.requireArgument(n,"name"),(l==null?void 0:l.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const g=new ct(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,o,l==null?void 0:l.perfStartOverride,this._nextGen.preferredRootIdLength);if(!this._allowMulti){const w={id:g.getId(),name:n,startPerfTime:g.getStartPerfTime(),isSampled:g.getIsSampled()};if(this._rootActivityHistory.add(w),this._singleRootActivity&&!this._singleRootActivity.isStopped){const z=this._singleRootActivity.getId();this._singleRootActivity.terminate(),g.preRootId=z}this._singleRootActivity=g}return g},d,{op:"startRootActivity"})}_handleRootActivityStop(n){const i=this._rootActivityHistory.findById(n.id);if(i&&(i.stopPerfTime=n.stopPerfTime,i.startPerfTime=n.startPerfTime),n.stopReason===Me)return;const o=this._getActivityData(n);this._logActivity(o,n.startTimestamp),this._singleRootActivity=void 0}_getActivityData(n){const i=super._getActivityData(n);return i.isRoot=n.isRoot,i.preRootId=n.preRootId,i}getSingleRootActivityId(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getId()}isSingleRootActivitySampled(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getIsSampled()}_initMetrics(){return new ke(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const O=5;class x{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),t.utility.requireArgument(n,"_instr"),t.utility.requireArgument(i,"_doc")}activate(){this._isActive||(this._doc.addEventListener("click",this._boundClickListener,!0),this._isActive=!0)}deactivate(){this._isActive&&(this._doc.removeEventListener("click",this._boundClickListener,!0),this._isActive=!1)}markEventHandled(n){this._ignoredEvent=n}_clickListener(n){var i;let o=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!o||!o.length)&&(o=n.path);const l=this._getClickableElement(o);l&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,l,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,o;const l=n?Math.min(n.length,O):0;for(let g=0;gthis.sendLog(n)),this._metricsBuffer.forEach(n=>this.sendMetrics(n)),this._logBuffer=void 0,this._metricsBuffer=void 0}}class he{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,o,l;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(g=>new t.UpCounterImpl(g.name,g.ownerName,g.ownerAppName,t.metricsUtility.getMetricsTags(g.tags),g.createdTimestamp,g.lastUpdatedTimestamp,g.value))),((o=n.valueRecorders)===null||o===void 0?void 0:o.length)&&this._valueRecorders.push(...n.valueRecorders.map(g=>new Oe(g.name,g.ownerName,g.ownerAppName,t.metricsUtility.getMetricsTags(g.tags),g.createdTimestamp,g.lastUpdatedTimestamp,g.values))),((l=n.bucketHistograms)===null||l===void 0?void 0:l.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(g=>new Ie(g.name,g.ownerName,g.ownerAppName,t.metricsUtility.getMetricsTags(g.tags),g.buckets,g.createdTimestamp,g.lastUpdatedTimestamp,g.values)))}getUpCounters(){return this._upCounters=this._upCounters.filter(n=>n.getLastUpdatedOn()!==void 0),this._upCounters}getValueRecorders(){return this._valueRecorders=this._valueRecorders.filter(n=>n.getLastUpdatedOn()!==void 0),this._valueRecorders}getBucketHistograms(){return this._bucketHistograms=this._bucketHistograms.filter(n=>n.getLastUpdatedOn()!==void 0),this._bucketHistograms}}const _e=1e3;class Ce{constructor(n,i){this._connector=n,this._pollInterval=_e,t.utility.requireArgument(n,"_connector","object"),t.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,o){const l={schema:n,data:i,logMeta:o};this._connector.sendLog(l)}receiveMetricsExtractors(n){this._metricsExtractors=n,this._collectAndSendMetrics(),setInterval(this._collectAndSendMetrics.bind(this),this._pollInterval)}_collectAndSendMetrics(){const n={upCounters:t.metricsUtility.getUpCounters(this._metricsExtractors.getAllUpCounters()),valueRecorders:t.metricsUtility.getValueRecorders(this._metricsExtractors.getAllValueRecorders()),bucketHistograms:t.metricsUtility.getBucketHistograms(this._metricsExtractors.getAllBucketHistograms())};(n.upCounters.length||n.valueRecorders.length||n.bucketHistograms.length)&&this._connector.sendMetrics(n)}}const be=80,Se=32,Ne="_CUT",v=be-Ne.length;function Z(){}class ue{get preferredRootIdLength(){return this._preferredRootIdLength}get pagePayloadProvider(){return this._pagePayloadProvider}set pagePayloadProvider(n){this._pagePayloadProvider=n}get appPayloadProvider(){return this._appPayloadProvider}set appPayloadProvider(n){this._appPayloadProvider=n}constructor(n){this._idleDetector=n,this._logCollectors=new Set,this._instruments=new Map,this._seqBySchema=new Map,this._sequence=0,this._forceDisabledLogCollectors=new Set,this._logCollectorFailures=new Map,this._isBufferingEnabled=!1,this._buffer=[],this._logCollectionListeners=new Set,this._opMode="default",this._isSender=!1,this._isReceiver=!1,this._decimalPoints=2}registerApp(n,i){var o,l;if(t.utility.requireArgument(n,"name","string"),this._appInstr)throw new Error("An app has already been registered with instrumentation.");if(this._instruments.get(n))throw new Error(`The instrumentation name ${n} is already taken`);if(t.co11y.setOwnerAppName(n),this._initOpMode(i==null?void 0:i.operationMode),this._isSender=this._opMode==="sender",this._isReceiver=this._opMode==="receiver",(i==null?void 0:i.decimalPoints)!==void 0&&(this._decimalPoints=i.decimalPoints),this._preferredRootIdLength=(o=i==null?void 0:i.preferredRootIdLength)!==null&&o!==void 0?o:Se,this._clientSessionId=((l=i==null?void 0:i.clientSessionId)===null||l===void 0?void 0:l.toString())||t.utility.generateUniqueId(),this._appInstr=new C(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const z=new Ce(new oe(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(z),this.registerMetricsCollector(z)}else this._isReceiver&&(this._metricsStore=new he,this._receiverConnector=new $(z=>{z.logMeta.receiverClientSessionId=this._clientSessionId,z.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(z.schema,z.data,z.logMeta)},z=>{this._metricsStore.add(z)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const w=new S(this.getInstrumentation("Network"),this._idleDetector);return{log:this._appInstr.log.bind(this._appInstr),error:this._appInstr.error.bind(this._appInstr),startActivity:this._appInstr.startActivity.bind(this._appInstr),domEvent:this._appInstr.domEvent.bind(this._appInstr),incrementCounter:this._appInstr.incrementCounter.bind(this._appInstr),trackValue:this._appInstr.trackValue.bind(this._appInstr),bucketValue:this._appInstr.bucketValue.bind(this._appInstr),networkInstrumentation:w.networkInstrumentation.bind(w),registerForLogPrompt:this._appInstr.registerForLogPrompt.bind(this._appInstr),activity:this._appInstr.activity.bind(this._appInstr),activityAsync:this._appInstr.activityAsync.bind(this._appInstr),startRootActivity:this._appInstr.startRootActivity.bind(this._appInstr),registerLogCollector:this._isSender?Z:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?Z:this.registerMetricsCollector.bind(this),activateClickTracker:this.activateClickTracker.bind(this),deactivateClickTracker:this.deactivateClickTracker.bind(this),disableBuffering:this.disableBuffering.bind(this),promptLogCollection:this.promptLogCollection.bind(this),getClientSessionId:this.getClientSessionId.bind(this),getOperationMode:this.getOperationMode.bind(this),startReceiving:this._isReceiver?this._receiverConnector.openComms.bind(this._receiverConnector):Z,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):Z}}getInstrumentation(n){t.utility.requireArgument(n,"name","string"),n.length>be&&(n=n.substring(0,v)+Ne);let i=this._instruments.get(n);if(!i)i=new ze(this,n),this._instruments.set(n,i);else if(i===this._appInstr)throw new Error(`The instrumentation name ${n} is being used by the app.`);return i}get appName(){var n;return(n=this._appInstr)===null||n===void 0?void 0:n.name}getRootActivityHistoryEntryByTime(n){var i;return(i=this._appInstr)===null||i===void 0?void 0:i.getRootActivityHistoryEntry(n)}addLog(n,i,o,l,g){var w,z,s;t.payloadUtility.checkInputs(i,o),this._sequence+=1;const b=t.schemaUtil.isInternal(i),M=b&&(o==null?void 0:o.userPayload)?o.userPayload.schema:i,B=t.schemaUtil.getSchemaId(M);let Y=this._seqBySchema.get(B)||0;Y+=1,this._seqBySchema.set(B,Y);const se={timestamp:l,rootId:g,sequence:this._sequence,schemaSequence:Y,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:t.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:t.utility.getAge(l)},ve={schema:i,data:o,logMeta:se};if(se.pagePayload=t.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,ve),se.appPayload=t.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,ve),this._isSender||(o=t.utility.clone(o)),typeof this._decimalPoints=="number"&&(t.utility.roundNumbersInObject(o,this._decimalPoints),b&&t.utility.roundNumbersInObject((w=o.userPayload)===null||w===void 0?void 0:w.payload,this._decimalPoints),t.utility.roundNumbersInObject((z=se.pagePayload)===null||z===void 0?void 0:z.payload,this._decimalPoints),t.utility.roundNumbersInObject((s=se.appPayload)===null||s===void 0?void 0:s.payload,this._decimalPoints)),this._isBufferingEnabled){const Le={schema:i,data:o,logMeta:se};this._buffer.push(Le)}return this._multiplex(i,o,se),this._sequence}_multiplex(n,i,o){const l=Array.from(this._logCollectors).filter(g=>{var w;return!this._forceDisabledLogCollectors.has(g)&&!((w=g.getIsCollectDisabled)===null||w===void 0?void 0:w.call(g))});if(l.length>0)for(const g of l){let w=this._logCollectorFailures.get(g)||0;try{g.collect(n,i,o),w>0&&this._logCollectorFailures.set(g,w-1)}catch(z){w+=1,w>=ue._collectorFailureLimit?(this._forceDisabledLogCollectors.add(g),this._appInstr&&(typeof z=="string"||z instanceof Error)&&this._appInstr.error(z)):this._logCollectorFailures.set(g,w)}}}getBuffer(){return this._buffer}disableBuffering(){this._isBufferingEnabled=!1,this._buffer=[]}getClickTracker(){return this._autoClickTracker}getDefaultInstrumentationContext(){var n,i;return{rootId:(n=this._appInstr)===null||n===void 0?void 0:n.getSingleRootActivityId(),isRootActivitySampled:(i=this._appInstr)===null||i===void 0?void 0:i.isSingleRootActivitySampled()}}activateClickTracker(){typeof document!="undefined"&&(this._autoClickTracker||(this._autoClickTracker=new x(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(t.utility.requireArgument(n,"collector"),!this._logCollectors.has(n)&&(this._logCollectors.add(n),this._logCollectorFailures.set(n,0),(!n.getIsCollectDisabled||!n.getIsCollectDisabled())&&(i==null?void 0:i.retroactive)))for(const o of this._buffer)n.collect(o.schema,o.data,o.logMeta)}registerMetricsCollector(n){if(t.utility.requireArgument(n,"collector"),this._metricsCollector)throw new Error("A metrics Collector is already registered.");this._metricsCollector=n,this._metricsCollector.receiveMetricsExtractors({getAllUpCounters:this._getAllUpCounters.bind(this),getAllValueRecorders:this._getAllValueRecorders.bind(this),getAllBucketHistograms:this._getAllBucketHistograms.bind(this)})}_getAllUpCounters(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getUpCounters())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getUpCounters()).flat()).concat(t.co11y.getUpCounters())}_getAllValueRecorders(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getValueRecorders())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getValueRecorders()).flat()).concat(t.co11y.getValueRecorders())}_getAllBucketHistograms(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getBucketHistograms())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getBucketHistograms()).flat()).concat(t.co11y.getBucketHistograms())}registerForLogPrompt(n){this._logCollectionListeners.add(n)}promptLogCollection(n){for(const i of this._logCollectionListeners.keys())try{i(n)}catch(o){if(!t.utility.isProduction)throw o}}getClientSessionId(){return this._clientSessionId}_initOpMode(n){if(typeof n=="function"&&(n=n()),(n===void 0||typeof window!="object")&&(n="default"),["default","receiver","sender"].indexOf(n)>=0)this._opMode=n;else throw new Error(`Invalid operation mode: ${n}`)}getOperationMode(){return this._opMode}}ue._collectorFailureLimit=5;class fe{get _lazyNextGen(){return this._nextgen||(this._nextgen=new ue(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,t.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){const o=this._lazyNextGen.registerApp(n,i);return i&&(t.utility.markProduction(i.isProduction),this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),o}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const Ue=t.utility.time.bind(t.utility),Ke="sfcore.customCmp.CustomComponentLog",it={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},ot={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},tt="black",at="Gainsboro";class ft{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,o){const l=t.schemaUtil.getSchemaId(n);if(!this._shouldLog(l))return;if(l===Ke){this._logCustom(i);return}let g,w,z;t.schemaUtil.isInternal(n)?(g=n.name,w=ot[n.name]||tt,z=it[n.name]||at):g=l,this._log(g,i,o,w,z)}_shouldLog(n){return this._simpleFilters.size==0&&this._regexFilters.length==0?!0:this._simpleFilters.has(n)||this._regexFilters.some(i=>i.test(n))}addFilter(n){n instanceof RegExp?this._regexFilters.push(n):this._simpleFilters.add(n)}removeFilter(n){if(n instanceof RegExp){const i=this._regexFilters.findIndex(o=>o.source===n.source);i>=0&&this._regexFilters.splice(i,1)}else this._simpleFilters.delete(n)}clearFilters(){this._simpleFilters.clear(),this._regexFilters.splice(0,this._regexFilters.length)}getFilters(){return Array.from(this._simpleFilters).concat(this._regexFilters).sort()}_log(n,i,o,l=tt,g=at){const w=`color:${l};background-color:${g}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",w,i||"",o||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const Ge="250.14.0",Je=new H({logThreshold:300,reportListener:ye=>{Ze==null||Ze.log(e.idleDetectorReportSchema,ye)},errorListener:(ye,n)=>{Ze==null||Ze.error(ye,n)}}),Ye=new fe(Je),st=Ye.registerInstrumentedApp.bind(Ye),mt=Ye.getInstrumentation.bind(Ye),Ze=mt("IdleDetector");r.ConsoleCollector=ft,r._version=Ge,r.getInstrumentation=mt,r.idleDetector=Je,r.registerInstrumentedApp=st,r.time=Ue,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/o11y/v/1",["exports"],function(r){"use strict";const e={};r._o11y=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/expressions/v/1",["exports"],function(r){"use strict";let e;const t="1970-01-01T",P="T00:00:00",R="provider",H="providers";function D(A){return A!==null&&typeof A=="object"}function E(A){try{const F=A?.indexOf(":")>-1,X=A?.indexOf("-")>-1;return A===""||!F&&!X?null:(typeof A=="string"&&(X||(A=t+A),F||(A=A+P),A=A.trim().replace(" ","T"),A.endsWith("Z")||(A+="Z")),new Date(A))}catch(F){return null}}function h(A){try{const F=A(),X=Reflect.get(this,H);for(const de of X)if(!de?.hasData?.())throw new Error;return F??null}catch(F){return}}function m(A){return D(this)&&(Reflect.set(this,R,A),Reflect.get(this,H).push(A)),A?.getData?.()}function u(A={},F){if(!!A&&Object.prototype.hasOwnProperty.call(A,F))return A[F]}function p(A,F){Array.isArray(A)||(A=[A]);const X=A.filter(F);if(!!X.length)return X.length===1?X[0]:X}function y(A,F){if(D(this)&&Reflect.has(this,R)){const X=Reflect.get(this,R);if(Reflect.deleteProperty(this,R),!X?.hasData?.(F))throw new Error;const de=Reflect.get(this,H);de.indexOf(X)>=0&&de.splice(de.indexOf(X),1)}return typeof F=="string"&&Array.isArray(A)?(A=A.map(X=>X[F]).filter(X=>X!==void 0),A.length===0?void 0:A.length===1?A[0]:A):A?.[F]}function j(){}const _={toDate(A){if(A!=null){const F=E(A)?.setUTCHours(0,0,0,0);if(F!==void 0&&!isNaN(F))return new Date(F)}return null},toTime(A){if(A!=null){const F=E(A)?.setUTCFullYear(1970,0,1);if(F!==void 0&&!isNaN(F))return new Date(F)}return null},toDatetime(A){return A!=null?E(A):null},isBlank(A){return!A&&typeof A!="number"},contains(A,F){return A!=null?A.includes(F):!1},begins(A,F){return F==null?!0:A!=null?A.toString().startsWith(F.toString()):!1}},N=(...A)=>(e={[H]:[],[R]:null},h.apply(e,A)),U=(...A)=>m.apply(e,A),V=(...A)=>y.apply(e,A),I=(...A)=>u.apply(e,A),L=(...A)=>p.apply(e,A),q=(...A)=>j.apply(e,A);r.EXPR_CLOSURE=N,r.EXPR_FILTER=L,r.EXPR_FUNCTION=q,r.EXPR_GLOBAL=I,r.EXPR_MEMBER=V,r.EXPR_PROVIDER=U,r.EXPR_RUNTIME=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/routerContainer/v/1",["exports","lwc/v/6_4_5","webruntime/errors/v/1_66_647-250_0","lwr/navigation/v/0_12_4","webruntime/routingService/v/1","webruntime/defaultView/v/1_66_647-250_0"],function(r,e,t,P,R,H){"use strict";function D(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var E=D(H),h=void 0;class m extends e.LightningElement{constructor(...y){super(...y);this.view=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.previousTemplateHtml=void 0,this.attributes={},this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(y){this._routeParams=y}render(){return this.generatedTemplateHtml}connectedCallback(){const y=this.view||E.default;this.generatedTemplateHtml=y.html,this.attributes=y.attributes(this,this.routeParams),this.subscription=R.subscribe(this.routeChange.bind(this))}viewChange(y){R.handleExtraRouteParams(this.route),this.generatedTemplateHtml=y.html;const{state:j,attributes:_}=this.route;this._routeParams={...j,..._},this.attributes=y.attributes(this,this.routeParams)}routeChange(y){this.route=y.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(y,j){t.reportError({subject:"router level error",error:y,wcstack:j})}renderedCallback(){this.previousTemplateHtml!==this.generatedTemplateHtml&&this.generatedTemplateHtml!==E.default.html&&(this.previousTemplateHtml=this.generatedTemplateHtml,this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})))}}m.renderMode="light",e.registerDecorators(m,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:P.CurrentView,method:1,config:function(p){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousTemplateHtml","attributes","route"]});var u=e.registerComponent(m,{tmpl:h,sel:"webruntime-router-container",apiVersion:61});r.default=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/componentContainer/v/1",["exports","lwc/v/6_4_5"],function(r,e){"use strict";function t(u,p,y){var j=u?"."+u+"-host":"";return(p?":host {":j+" {")+"display: flow-root;}"}t.$scoped$=!0;var P=[t];const R={key:0},H=[];function D(u,p,y,j){const{s:_}=u;return[_("",R,H,y)]}var E=e.registerTemplate(D);D.slots=[""],D.stylesheets=[],D.renderMode="light",P&&D.stylesheets.push.apply(D.stylesheets,P),D.stylesheetToken="lwc-4k1qbp7cls1",D.legacyStylesheetToken="webruntime-componentContainer_componentContainer",e.freezeTemplate(D);class h extends e.LightningElement{}h.renderMode="light";var m=e.registerComponent(h,{tmpl:E,sel:"webruntime-component-container",apiVersion:61});r.default=m,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/slotContainer/v/1",["exports","lwc/v/6_4_5"],function(r,e){"use strict";const t=[];function P(E,h,m,u){const{s:p}=E;return[h.isVisible?p("",{key:0,slotData:h.variations},t,m):null]}var R=e.registerTemplate(P);P.slots=[""],P.stylesheets=[],P.renderMode="light",P.stylesheetToken="lwc-769n4j124ma",P.legacyStylesheetToken="webruntime-slotContainer_slotContainer",e.freezeTemplate(P);class H extends e.LightningElement{constructor(...h){super(...h);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const h={},m=!!this.variationExpressions?.find(y=>y===!0),u=this.variationExpressions?.findIndex(y=>y===!0),p=this.variationExpressions?.findIndex(y=>typeof y=="undefined")!==-1;return this.variationExpressions?.forEach(function(y,j){const _=`variation${j+1}`;p||m&&u!==j?h[_]=!1:y===!0?h[_]=!0:(typeof y=="undefined",h[_]=!1)}),h.variation0=!m&&!p,h}}H.renderMode="light",e.registerDecorators(H,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});var D=e.registerComponent(H,{tmpl:R,sel:"webruntime-slot-container",apiVersion:61});r.default=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/visibilityContainer/v/1",["exports","lwr/loaderLegacy/v/0_12_4","lwc/v/6_4_5","@app/isDesignMode/v/1"],function(r,e,t,P){"use strict";function R(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var H=R(P);function D(_,N,U){var V=_?"."+_+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(N?":host.webruntime-visibility-container.dxp-sm-hide {":V+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(N?":host.webruntime-visibility-container.dxp-md-hide {":V+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(N?":host.webruntime-visibility-container.dxp-lg-hide {":V+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}D.$scoped$=!0;var E=[D];const h={key:0},m=[];function u(_,N,U,V){const{s:I}=_;return[N.hidden?null:I("",h,m,U)]}var p=t.registerTemplate(u);u.slots=[""],u.stylesheets=[],u.renderMode="light",E&&u.stylesheets.push.apply(u.stylesheets,E),u.stylesheetToken="lwc-7ethp7o0ig8",u.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",t.freezeTemplate(u);class y extends t.LightningElement{constructor(...N){super(...N);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const N={Small:{isHidden:this.hiddenInMobile,mediaQuery:"only screen and (max-width: 47.9375em)",class:"dxp-sm-hide"},Medium:{isHidden:this.hiddenInTablet,mediaQuery:"only screen and (min-width: 48em) and (max-width: 64em)",class:"dxp-md-hide"},Large:{isHidden:this.hiddenInDesktop,mediaQuery:"only screen and (min-width: 64.0625em)",class:"dxp-lg-hide"}};let U="";Object.values(N).forEach(V=>{V.isHidden?this.classList.add(V.class):U+=U?`, ${V.mediaQuery}`:V.mediaQuery}),H.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),e.load("webruntime/formFactor/v/1").then(({getFormFactor:V})=>{if(typeof window!="undefined"&&!H.default&&N[V()].isHidden){if(U){const I=window.matchMedia(U),L=q=>{q.matches&&(this.hidden=!1,I.removeEventListener("change",L))};I.addEventListener("change",L)}}else this.hidden=!1})}}y.renderMode="light",y.validationOptOut=["class"],t.registerDecorators(y,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});var j=t.registerComponent(y,{tmpl:p,sel:"webruntime-visibility-container",apiVersion:61});r.default=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/serverRouter/v/0_12_4",["exports","lwr/contextProvider/v/0_12_4","lwr/metrics/v/0_12_4","lwr/navigation/v/0_12_4","lwr/navigationMixinHacks/v/0_12_4","lwr/profiler/v/0_12_4","lwr/router/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/routerUtils/v/0_12_4"],function(r,e,t,P,R,H,D,E,h){"use strict";class m{constructor(y,j,_){this.contextId=Object.freeze(()=>{}),this.router=j,this.target=_,this.handleNavHook=y.handleNavigation,this.preNavHook=y.preNavigate,this.errorNavHook=y.errorNavigate,this.initWires(y.url)}async navigate(y,j,_){if(h.hasDocument){if(this.handleNavHook&&!this.handleNavHook(y))return;const N=await this.getValidatedUrl(y,_);N&&(document.location.href=N)}}generateUrl(y,j){return this.router.generateUrl(y,j)}initWires(y){if(!y&&h.hasDocument&&(y=document.location.href),!y){this.processError(E.generateMessageObject(E.messages.NO_INIT_URL));return}y=this.getRelativeUrl(y);const j=this.router.matchRoute(y,{});if(!j){this.processError(E.generateMessageObject(E.messages.MISSING_ROUTE,[y]));return}this.currentRoute=j,P.registerNavigationHelm(this.contextId,{navigate:(_,N,U)=>this.navigate(_,N,U),generateUrl:(_,N)=>this.generateUrl(_,N),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,P.NavigationContext),e.provideContext(this.currentRoute?.route.pageReference,this.target,e.currentPageReferenceContextualizer,P.CurrentPageReference),h.hasDocument&&this.target.addEventListener(R.CONTEXT_ID_BACKDOOR,_=>{const N=_;N.detail.callback&&N.detail.callback(this.contextId)})}getRelativeUrl(y){if(y.startsWith("http")){const j=new URL(y);return`${j.pathname}${j.search}`}return y}async getValidatedUrl(y,j){const _=this.router.matchRoute(y,{});if(!_){this.processError(E.generateMessageObject(E.messages.NO_ROUTE_MATCH,[JSON.stringify(y)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:_}))){this.processError(E.generateMessageObject(E.messages.PRENAV_FAILED,[JSON.stringify(y)]));return}return this.router.generateUrl(y,j)}processError(y){H.logOperationStart({id:t.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(y)}}function u(p,y){new m(p,D.createRouter(p),y)}r.ServerRouter=m,r.createServerRouter=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/router/v/0_12_4",["exports","lwr/routerUtils/v/0_12_4","lwr/routerErrors/v/0_12_4","lwr/observable/v/0_12_4"],function(r,e,t,P){"use strict";class R{constructor(E){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=P.createObservable(),this.config={basePath:E.basePath||"",i18n:E.i18n||e.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(E.caseSensitive),routes:E.routes||[],generateUrl:(u,p)=>e.getUrlFromPageReference(u,this.compiledRoutes,this.config.basePath,this.config.i18n,p),parseUrl:u=>e.getPageReferenceFromUrl(u,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{DEPRECATED_getRouteFromUrl:h,DEPRECATED_getUrlFromRoute:m}=E;h&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=h),m&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=m),this.compiledRoutes=e.parseRoutes(this.config)}generateUrl(E,h){const{DEPRECATED_getUrlFromRoute:m}=this.deprecatedConfig;return m?m(E,this.config.generateUrl,h):this.config.generateUrl(E,h)}parseUrl(E){const{DEPRECATED_getRouteFromUrl:h}=this.deprecatedConfig;return h?h(E,this.config.parseUrl):this.config.parseUrl(E)}matchRoute(E,h){const m=typeof E=="string"?E:this.generateUrl(E,h);if(m===null)return null;const u=e.matchRouteByUrl(m,this.compiledRoutes,this.config.basePath,this.config.i18n,h),p=u&&e.getUrlFromPageReferenceAndRouteDef(u.route.pageReference,u.routeDefinition,this.config.basePath,this.config.i18n,h);return!u||!p?null:{pathMatch:p,route:u.route,routeDefinition:u.routeDefinition.original}}async resolveView(E,h){return new Promise((m,u)=>{const p=this.matchRoute(E,h);return p?p.routeDefinition.handler?.().then(y=>{const j=y.default;if(!j)return u(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[p.routeDefinition.id]));const _=new j(m);_&&_.update(p.route)}):u(t.generateMessage(t.messages.NO_ROUTE_MATCH,[JSON.stringify(E)]))})}navigate(E,h){const m=this.matchRoute(E,h);if(!m)throw new Error(t.generateMessage(t.messages.MISSING_ROUTE,[JSON.stringify(E)]));this.pendingRoute={...m},this._mapView(this.pendingRoute)}subscribe(E,h){return this.routeObservable.subscribe({next:E,error:()=>{},complete:()=>{}},Boolean(h))}async _mapView(E){const h=Math.random();this.routeHandlerId=h;const u=(await E.routeDefinition.handler?.())?.default;if(!u)throw new Error(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[E.routeDefinition.id]));return this.routeHandler=new u(p=>{this._updateView(h,p)}),this.routeHandler&&this.routeHandler.update(E.route),!0}_updateView(E,h){if(!h||E!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const m=e.freeze(h.viewset);this.routeObservable.next({...this.pendingRoute,...h,viewset:m})}}function H(D={}){return new R(D)}r.createRouter=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_12_4"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/a11yService/v/1_66_647-250_0",["exports"],function(r){"use strict";const e="sf-aria-live",t="tabindex",{document:P}=globalThis;let R;function H(h){if(P&&h?.routeDefinition){let m=P.body.querySelector(`#${e}`);m||(m=P.createElement("span"),m.id=e,m.setAttribute("aria-live","polite"),m.setAttribute("aria-atomic","true"),m.setAttribute("style","position: absolute; margin: -1px; border: 0; padding: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); text-transform: none; white-space: nowrap;"),P.body.appendChild(m)),m.innerText=h.routeDefinition.label}}function D(h){if(!P)return;const m=h?.routeDefinition?.label,u=!R||P.title===R;m!=null&&u&&(P.title=h.routeDefinition.label),R=m}function E(h){if(!P)return;const m=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT,{acceptNode:p=>p.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),u=h?P.body:m.nextNode();u&&(u.setAttribute(t,"-1"),u.focus({preventScroll:!0}),u.removeAttribute(t))}r.ARIA_LIVE_ID=e,r.TAB_INDEX_ATTR_NAME=t,r.ariaLiveNavigate=H,r.updateFocus=E,r.updateTitle=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/routingService/v/1",["exports","lwr/loaderLegacy/v/0_12_4","@communities-webruntime/common/v/1_66_647-250_0","webruntime/views/v/1","webruntime/a11yService/v/1_66_647-250_0","lwr/router/v/0_12_4","webruntime/overrides/v/1","lwr/navigation/v/0_12_4","@app/deployTarget/v/1","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/logger/v/1_66_647-250_0","webruntime/utils/v/1_66_647-250_0","lwr/routerErrors/v/0_12_4","webruntime/o11y/v/1","lwr/serverRouter/v/0_12_4","webruntime/transport/v/1","@app/extraRouteParams/v/1"],function(r,e,t,P,R,H,D,E,h,m,u,p,y,j,_,N,U,V,I){"use strict";function L(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var q=L(P),A=L(h),F=L(m),X=L(u),de=L(p),S=L(I);function Ee(s){const b=[],M=[];s.forEach(Y=>{Y.uri.includes("?")?M.push(Y):b.push(Y)});const B=[];return M.forEach(Y=>{const se=[],ve=Y.uri.split("/");let Le,rt,Be="";ve.forEach($e=>{$e.endsWith("?")?(Le=$e.substring(0,$e.length-1),se.push({value:Le,isOptional:!0}),rt=Le.substring(1),Be=Y.page.attributes?.[rt]?"attributes":"state"):se.push({value:$e,isOptional:!1})});const We={...Y,uri:se.map($e=>$e.value).join("/")};B.push(We);const pt={};Object.keys(Y.page[Be]).forEach($e=>{$e!==rt&&(pt[$e]=Y.page[Be][$e])});const ht={...Y,uri:se.filter($e=>!$e.isOptional).map($e=>$e.value).join("/"),page:{...Y.page,[Be]:pt}};ht.patterns&&(ht.patterns=Object.fromEntries(Object.entries(ht.patterns).filter(([$e])=>$e!==rt))),B.push(ht)}),[...b,...B]}function le(s){const b=[],M=[];return s.forEach(B=>{const{type:Y,attributes:se={},state:ve={}}=B.page||{};if(Y==="standard__objectPage")if(Te(se.actionName))b.push(B);else{let Le;se.actionName==="list"?(Le={...B,page:{...B.page,attributes:{...se},state:{...ve}}},Le.page.attributes.actionName="home"):se.actionName==="home"?(Le={...B,page:{...B.page,attributes:{...se},state:{...ve}}},Le.page.attributes.actionName="list"):se.actionName||(B.page.attributes.actionName="home",Le={...B,page:{...B.page,attributes:{...se},state:{...ve}}},Le.page.attributes.actionName="list"),b.push(B,Le)}else M.push(B)}),[...b,...M]}function Te(s){return s&&s.length>1?s.startsWith(":"):!1}const Me={};let we=null;function a(s){const{pathname:b,search:M,hash:B}=new URL(s,window.location.origin);return{pathname:b,search:M,hash:B}}async function c(s){const{pathname:b,search:M,hash:B}=a(s);if(Me[b])return Me[b]+M+B;if(Object.values(Me).includes(b))return s;try{const{redirected:Y,url:se}=await V.fetch(s,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(Y){const ve=a(se).pathname;return Me[b]=ve,ve+M+B}}catch(Y){y.logError(`Unable to fetch canonical URL for ${s}`,`error: `,Y)}return null}async function f(s,b){const{route:M,routeDefinition:B}=b;if(we=M,B?.metadata?.hasVanityURL){const Y=s.generateUrl(M.pageReference),se=await c(Y);if(se&&se!==Y&&we===M){const Le={type:"standard__webPage",attributes:{url:se}};return E.navigate(s.contextId,Le,!0),!0}}return!1}let k=!0;const G={};function ce(s){const b=s?.attributes?.urlName||s?.attributes?.urlPath;if(b){const M=s?.attributes?.objectApiName||"";return`${b}:${M}`}return null}function Re(s){s.extraRouteParams&&(Ie(s,s.extraRouteParams),delete s.extraRouteParams)}function Ie(s,b){const M=ce(s);!b||!M||(G[M]=b)}function Oe(s){const b=ce(s);if(b&&b in G){const M=G[b];return!(M&&Object.keys(M).length>0)}return!!b}function Ae(s={}){const{current:b,next:{url:M,route:{pageReference:B}={}}}=s;return b&&Oe(B)?(window.location.assign(M),!0):!1}function Q(s){if(k)pe(s,S.default),Ie(s.pageReference,S.default),k=!1;else{const b=ce(s?.pageReference),M=G[b];pe(s,M)}}function pe(s,b){te(b)&&(te(s?.attributes)&&(s.attributes={...s.attributes,...b}),te(s?.pageReference?.attributes)&&(s.pageReference.attributes={...s.pageReference.attributes,...b}))}function te(s){return s&&typeof s=="object"}const Pe="redirectPageContext";function ke(s){return s?.state?.[Pe]||null}function Fe(s){return s?.includes(`?${Pe}=`)}function Ve(s,b,M={}){const{current:B,next:{route:Y,url:se}={}}=M,ve=Fe(se)?se:ke(Y)?De(Y):null;return ve?(B?window.location.assign(ve):E.navigate(s,b.page,!0),!0):!1}function De(s){if(!s)return null;const b=ke(s)||window.btoa(window.encodeURIComponent(JSON.stringify(s)));return`${F.default}/?${Pe}=${b}`}const xe="KnowledgeArticleVersion",et=[{type:"standard__objectPage",params:[{name:"filterName",type:"state",value:"Default"}]},{type:"standard__search",params:[{name:"term",type:"state",value:" "}]},{type:"standard__recordPage",params:[{name:"recordName",type:"state",value:"detail"},{name:"categoryPath",type:"state",value:"detail"}],match:(s,{name:b})=>{const{attributes:M={}}=s;return M.urlName||M.urlPath?!1:M.objectApiName==="ProductCategory"?b==="categoryPath":M.objectApiName==="OrderSummary"?!1:b==="recordName"}}],ze="standard__managedContentPage";function nt(s){return et.find(b=>s.type===b.type)}function ut(s,b=[]){if(s?.type===ze){let M=s.attributes?.contentTypeName;!b.find(Y=>Y.page.type===ze&&Y.page?.attributes?.contentTypeName===M)&&["news","cms_image","cms_document"].indexOf(M)!==-1&&(M=M.startsWith("cms_")?M.substring(4):M,s.attributes.contentTypeName=`sfdc_cms__${M}`),s.attributes&&s.attributes.contentKey&&(s.attributes.urlAlias=s.attributes.contentKey,delete s.attributes.contentKey)}return s}let Qe;function ct(s,b){s.attributes?.objectApiName===xe&&(Qe===void 0&&(Qe=b.find(B=>B.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),Qe&&(s.attributes.objectApiName=Qe))}function ie(s){return!s.attributes?.urlName&&!s.attributes?.urlPath||(s.type==="standard__recordPage"&&(ae(s),delete s.attributes.recordId,delete s.state?.recordName,delete s.state?.categoryPath),s.type==="standard__recordRelationshipPage"&&(ae(s),delete s.attributes.recordId)),s}function ae(s){s.attributes.recordId&&(s.extraRouteParams={recordId:s.attributes.recordId})}function d(s,b){return s.type==="standard__knowledgeArticlePage"&&(s.type="standard__recordPage",s.attributes.actionName="view",s.attributes.objectApiName=xe,delete s.attributes.articleType),ct(s,b),s}function C(s,b){const{params:M,match:B}=b;M.forEach(Y=>{const{type:se,name:ve,value:Le}=Y;B&&!B(s,Y)||s?.[se]?.[ve]||(s[se]||(s[se]={}),s[se][ve]=Le)})}function O(s={}){const b=nt(s);b&&C(s,b)}function x(s,b){if(s.state?.categoryPath?.includes("/")||s.attributes?.urlPath?.includes("/")){let[M,B]=b.split("?");return M=M.replace(/%2F/g,"/"),B=B?`?${B}`:"",M+B}return b}function J(s){return Object.entries(s?.attributes||{}).filter(([,b])=>b===null).forEach(([b])=>delete s.attributes[b]),s}class W{constructor(b){this.callback=b}dispose(){}update(b){const M=X.default.find(B=>B.id===b.id)?.view;this.callback({viewset:{default:()=>q.default(M)}})}}const{window:$,performance:re}=globalThis,ee=`${t.WEBRUNTIME_PREFIX}-framework-router`;re?.mark(ee);const K=le(Ee(t.parseRoutes(X.default)));K.forEach(s=>{s.handler=()=>new Promise(b=>{b({default:W})})});const oe=A.default==="MRT",he=K.find(s=>s.metadata.isDefault),_e=!oe&&X.default.every(s=>s.metadata.isPublic!==!1),Ce={basePath:F.default,caseSensitive:!0,routes:K,DEPRECATED_getRouteFromUrl:ue,DEPRECATED_getUrlFromRoute:fe},be=H.createRouter(Ce);re?.measure(ee,ee);const Se=w();Se&&R.updateTitle(Se);let Ne,v;function Z(){return v?.contextId||be.contextId}function ue(s,b){const M=b(s);return M?(O(M),M):he?.page?he.page:null}function fe(s={type:"",attributes:{},state:{}},b){const{type:M,attributes:B={},state:Y={}}=s;let se;const ve=JSON.parse(JSON.stringify(s));if(M==="standard__webPage")return se=B.url,se==null?"":st(se);if(M==="comm__loginPage"){if(B.actionName==="login"){const Le=Y.startUrl!=null?`?startURL=${encodeURIComponent(Y.startUrl)}`:"";return st(`${t.WEBRUNTIME_LOGIN_PATH}${Le}`)}if(B.actionName==="logout")return st(t.WEBRUNTIME_LOGOUT_PATH)}return M==="standard__managedContentPage"&&ut(ve,X.default),d(ve,K),ie(ve),O(ve),J(ve),se=b(ve),M==="standard__recordPage"&&(se=x(ve,se)),!se&&_e&&(se=De(ve)),Re(ve),se}async function Ue(s){const{route:b,routeDefinition:M}=s.next;return Ke(M,b.pageReference)}async function Ke(s,b){if(s?.metadata?.isPublic!==!1)return!1;const{default:M}=await e.load("@app/user/v/1");if(M.isGuest){const B=typeof b=="string"?b:Ze(b);if(B&&$)if(oe){const{default:Y}=await e.load("@app/loginPath/v/1");it(Y,B)}else $.location.href=B;return!0}return!1}function it(s,b){const M=new URL(s,$.location.href);b&&M.searchParams.set("startURL",b),$.location.assign(M.href)}function ot(s){const b=new URL(s,$.location.href);$.location.assign(b.href)}function tt(s){return Ve(Z(),he,s)}function at(s){const{current:b,next:M}=s;if(b&&M&&b.routeDefinition.ssr!==M.routeDefinition.ssr){const B=Ze(M.route.pageReference);if(B)return $.location.assign(B),!0}return!1}async function ft(s){Ge(s.detail)}async function Ge(s){try{if(!$?.location)return;const{address:b,message:M,code:B}=s;if(y.logError(`Routing error: ${M}`),B===_.messages.PRENAV_FAILED.code)return;if(B===_.messages.MISSING_ROUTE.code&&!he&&Fe(b)){$.location.assign(b);return}if(he?.metadata?.isPublic===!1){const{default:se}=await e.load("@app/user/v/1");if(se.isGuest)return}const Y=F.default?$.location.pathname.replace(F.default,""):$.location.pathname;he&&Y!==he.uri&&mt(he.page)}finally{Ne?.errorNavigate(s)}}function Je(s){Ye(s.detail.address)||s.preventDefault()}function Ye(s){if(!D.NavigationOverrides.runSync(s))return!1;const{type:b,attributes:{url:M,actionName:B}={url:null,actionName:null},state:Y={}}=s;if(b==="standard__webPage"&&M!=null){if(j.isAbsoluteURL(M)||j.isSfdcCoreURL(M))return $?.open(M),!1;const se=be.parseUrl(M),ve=!se||se===he?.page;if(_e&&ve)return $?.location.assign(st(M)),!1}if(b==="comm__loginPage"){if(B==="login")return it(st(t.WEBRUNTIME_LOGIN_PATH),Y.startUrl||""),!1;if(B==="logout")return ot(st(t.WEBRUNTIME_LOGOUT_PATH)),!1}return!0}function st(s){return j.isAbsoluteURL(s)?s:F.default&&s!==F.default&&s.indexOf(`${F.default}/`)!==0?`${F.default}${s}`:s}function mt(s){E.navigate(Z(),s)}function Ze(s){return v?v.generateUrl(s):be.generateUrl(s)}function ye(s,b=!0){return typeof $!="undefined"?be.subscribe(s,b):null}async function n(s,b){return Ne?.preNavigate(s),D.PreNavigateOverrides.run(s),v&&await Ue(s)?!1:(v||Ue(s),tt(s)||Ae(s)||at(s)?(b?.preventDefault(),!1):!0)}let i;async function o(s){const b=s.detail,M=b.current?.routeDefinition.view;M?i=de.default[M]:i=null,await n(b,s)}async function l(s){const b=s.detail,M=b.routeDefinition?.view,B=i!==de.default[M];try{R.ariaLiveNavigate(b),R.updateTitle(b),R.updateFocus(B),await f(be,b)}finally{Ne?.postNavigate(b)}}function g(s){Ne=N._o11y.routingSupport,s.addEventListener("prenavigate",o),s.addEventListener("handlenavigation",Je),s.addEventListener("postnavigate",l),s.addEventListener("errornavigate",ft)}function w(){if(!$?.location)return{};const s=$.location.href.substring($.location.origin.length);return{routeDefinition:be.matchRoute(s)?.routeDefinition||he,url:s}}function z(s,b){if(!oe||v)return;const{routeDefinition:M,url:B}=Se;if(M&&!M.ssr)return;M&&B&&Ke(M,B);const Y={...Ce,url:b,handleNavigation:Ye,preNavigate:n,errorNavigate:Ge};v=new U.ServerRouter(Y,be,s)}r.generateUrl=Ze,r.handleExtraRouteParams=Q,r.initializeRouterContainer=g,r.initializeServerRouter=z,r.navigate=mt,r.router=be,r.subscribe=ye,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/overrides/v/1",["exports"],function(r){"use strict";class e{constructor(){this.overrides=[]}add(E){this.overrides.push(E)}run(...E){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((h,m)=>h.then(u=>u===!1?Promise.resolve(!1):Promise.resolve(m(...E))),Promise.resolve(!0)).then(h=>Promise.resolve(h))}runSync(...E){return this.overrides.length===0?!0:this.overrides.reduce((h,m)=>h===!0?m(...E):!1,!0)}}const t=new e,P=new e,R=new e,H=new e;r.NavigationOverrides=P,r.Overrides=e,r.PageNavigationFailureOverrides=H,r.PreNavigateOverrides=t,r.SessionTimeoutOverrides=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/views/v/1",["exports","lwr/loaderLegacy/v/0_12_4","@communities-webruntime/common/v/1_66_647-250_0"],function(r,e,t){"use strict";function P(R){return e.load(t.getViewModuleSpecifier(R),"webruntime/views/v/1")}r.default=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/formFactor/v/1",["exports"],function(r){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function P(){return e()?"Medium":t()?"Small":"Large"}const R=P();r.default=R,r.getFormFactor=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("wire-service/v/1",["exports"],function(r){"use strict";function e(F){return F===void 0}const t="ValueChangedEvent";class P{constructor(X){this.type=t,this.value=X}}const{freeze:R,defineProperty:H,isExtensible:D}=Object,E="$$DeprecatedWiredElementHostKey$$",h="$$DeprecatedWiredParamsMetaKey$$";function m(F,X){if(F==null||!D(F))throw new TypeError("adapter id must be extensible");if(typeof X!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in F)throw new TypeError("adapter id is already associated to an adapter factory");const de=class extends A{constructor(S){super(S);X(this.eventTarget)}};R(de),R(de.prototype),H(F,"adapter",{writable:!1,configurable:!1,value:de})}function u(){}const{forEach:p,splice:y,indexOf:j}=Array.prototype,_="connect",N="disconnect",U="config";function V(F,X){const de=j.call(F,X);de>-1&&y.call(F,de,1)}function I(F){return Object.keys(F).length===0}function L(F,X){return X.length===0||X.some(de=>!e(F[de]))}function q(F,X,de){return de.some(S=>F[S]!==X[S])}class A{constructor(X){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=X,this.wiredElementHost=X[E],this.dynamicParamsNames=X[h],this.eventTarget={addEventListener:(de,S)=>{switch(de){case _:{this.connecting.push(S);break}case N:{this.disconnecting.push(S);break}case U:{this.configuring.push(S),this.currentConfig!==void 0&&S.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${de}.`)}},removeEventListener:(de,S)=>{switch(de){case _:{V(this.connecting,S);break}case N:{V(this.disconnecting,S);break}case U:{V(this.configuring,S);break}default:throw new Error(`Invalid event type ${de}.`)}},dispatchEvent:de=>{if(de instanceof P){const S=de.value;this.callback(S)}else{if(de.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(de);throw new Error(`Invalid event type ${de.type}.`)}return!1}}}update(X){this.isFirstUpdate&&(this.isFirstUpdate=!1,!I(X)&&!L(X,this.dynamicParamsNames))||(e(this.currentConfig)||q(X,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=X,p.call(this.configuring,de=>{de.call(void 0,X)}))}connect(){p.call(this.connecting,X=>X.call(void 0))}disconnect(){p.call(this.disconnecting,X=>X.call(void 0))}}r.ValueChangedEvent=P,r.register=m,r.registerWireService=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@salesforce/client/formFactor/v/1",["exports"],function(r){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function P(){return e()?"Medium":t()?"Small":"Large"}const R=P();r.default=R,r.getFormFactor=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@communities-webruntime/common/v/1_66_647-250_0",["exports"],function(r){"use strict";var e=!0,t="src/labels",P=["lwr","assert","logger","webruntime","webruntime/*","mobileruntime/hybridAppManager","@view","@view/*","@app","@app/*","@design","@design/*","@lwrjs","webruntimedesign","webruntimedesign/*","@luvio","@luvio/*","aura-instrumentation","aura","instrumentation/service","instrumentation/utility","aura-storage","transport","wire-service","force/ldsAdaptersAnalyticsDataService","force/ldsAdaptersAnalyticsSmartDataDiscovery","force/ldsAdaptersAnalyticsWave","force/ldsAdaptersAnalyticsWavePrivate","force/ldsAdaptersApex","force/ldsAdaptersCmsAuthoring","force/ldsAdaptersCmsDelivery","force/ldsAdaptersCmsType","force/ldsAdaptersCommerceCatalog","force/ldsAdaptersCommerceSearch","force/ldsAdaptersCommerceStorePricing","force/ldsAdaptersCommunityMicrobatching","force/ldsAdaptersCommunityNavigationMenu","force/ldsAdaptersCommunitySeo","force/ldsAdaptersCommunitySitesSearch","force/ldsAdaptersExperienceMarketingIntegration","force/ldsAdaptersGraphql","force/ldsAdaptersIndustriesCib","force/ldsAdaptersIndustriesClm","force/ldsAdaptersIndustriesDecisionMatrixDesigner","force/ldsAdaptersIndustriesEinsteinAiaccelerator","force/ldsAdaptersIndustriesExplainability","force/ldsAdaptersIndustriesHealthcloudHpi","force/ldsAdaptersIndustriesIdentityverification","force/ldsAdaptersIndustriesInteresttagging","force/ldsAdaptersIndustriesLoyaltyEngine","force/ldsAdaptersIndustriesPublicSector","force/ldsAdaptersIndustriesRcgTenantmanagement","force/ldsAdaptersIndustriesRuleBuilder","force/ldsAdaptersIndustriesSustainabilityBei","force/ldsAdaptersIndustriesSustainabilityDgf","force/ldsAdaptersIndustriesSustainabilityRecalculate","force/ldsAdaptersIndustriesSustainabilityRecordLockunlock","force/ldsAdaptersIndustriesSustainabilityReferenceData","force/ldsAdaptersIndustriesTimeline","force/ldsAdaptersIndustriesVideovisits","force/ldsAdaptersMarketingAssetcreation","force/ldsAdaptersPlatformAdminSuccessGuidance","force/ldsAdaptersPlatformFlow","force/ldsAdaptersPlatformFlowBuilder","force/ldsAdaptersPlatformInteractionOrchestrator","force/ldsAdaptersPlatformLearningContent","force/ldsAdaptersPlatformScaleCenter","force/ldsAdaptersRevenueBillingBatch","force/ldsAdaptersUiapi","force/ldsBindings","force/ldsEngine","force/luvioEngine","force/ldsEngineCreator","force/ldsEngineWebruntime","force/ldsEnvironmentSettings","force/ldsInstrumentation","force/ldsNetwork","force/ldsRecordData","force/ldsStorage","force/mobileCapabilities","force/ldsAdaptersAnalyticsTableauEmbedding","runtime_hybrid_capabilities/nativeCapabilities","o11y","o11y/*","@o11y","@o11y/*","@salesforce","@udd","@perm","@branding","@salesforce/*","@udd/*","@perm/*","@branding/*","trustedDesign/shadowDomUtils","community_builder/seoAssistant","community_case/supportQuickActionLayout","community_runtime/utils","community_user/userSettings","embeddedMessaging/container","experience_messaging/embeddedMessaging","community_login/checkEmail","community_login/forgotPassword","community_login/loginForm","community_login/loginUtils","community_login/selfRegister","community_login/socialLogin","b2c_lite_commerce/cartApi","b2c_lite_commerce/checkout","b2c_lite_commerce/checkoutApi","b2c_lite_commerce/checkoutApiDataSource","b2c_lite_commerce/checkoutRequestRetry","b2c_lite_commerce/context","b2c_lite_commerce/data","b2c_lite_commerce/einsteinActivitiesApi","b2c_lite_commerce/einsteinApi","b2c_lite_commerce/einsteinProductAndPriceApi","b2c_lite_commerce/heroBannerUi","b2c_lite_commerce/myAccountMenu","b2c_lite_commerce/orderSummary","b2c_lite_commerce/store","lightning","lightning/*","interop/button","interop/buttonIcon","dxp_page_layout/placeHolderDesign","community_builder/richTextEditor","dxp_form/baseForm","dxp_form/contactForm","dxp_form/dynamicForm","dxp_form/layoutUtils","dxp_form/leadForm","dxp_base/languageSelector","dxp_search/siteResults","dxp_flowruntime","dxp_flowruntime/*","flowruntime","flowruntime/*","experience/store","experience/data","experience/util","experience/cmsDeliveryApi","experience/luvioRuntime","experience/personalizationApi","experience/personalizationApiInternal","experience/seoPropertiesApi","experience/seoPropertiesApiInternal","experience/userApi","experience/userApiInternal","wave","wave/*","tableau/tableauViz","tableau/tableauPulse"],R="webruntime";function H(Q){return`/${R}${Q}`}var D=H("/api"),E=H("/log/metrics"),h=H("/log/errors"),m={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},u={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},p=8e3,y="/webruntime/login",j="/webruntime/logout",_="@design";function N(Q){return`${_}/${Q}`}function U(Q){return Q.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var V=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),I=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function L(Q,pe){if(!Q)throw new Error(pe)}function q(Q){if(I.test(Q))return Q;L(V.test(Q),`${Q} is an invalid module specifier.`);const pe=Q.split(/[/:]/),[te,Pe]=pe;return L(!te.includes("-"),`${Q}'s namespace cannot contain hyphens.`),[te.toLowerCase(),U(Pe)].join("-")}var A="webruntime",F="js",X="latest",de={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function S(Q,pe){if(!Q)throw new Error(pe)}function Ee(Q){const[pe,te=""]=Q.split("://"),[Pe,ke]=te.indexOf("@")>0?te.split("@"):[te];return{type:pe,name:Pe,locale:ke}}function le(Q={type:"",name:""},pe,te,Pe=!0){const{name:ke}=typeof Q=="string"?Ee(Q):Q;S(ke,"Name not specified");const Fe=Te(Q,pe,te),Ve=Pe?`.${F}`:"";return`${Fe}${ke}${Ve}`}function Te(Q={type:"",name:""},pe,te){const{type:Pe,locale:ke}=typeof Q=="string"?Ee(Q):Q,Fe=Pe===de.COMPONENT;return S(Pe,"Type not specified"),S(pe,"Mode not specified"),S(ke||!Fe,"Component locale not specified"),`/${A}/${Pe}/${te||X}/${pe}${ke?`/${ke}`:""}/`}var Me="@view";function we(Q){return`${Me}/${Q}`}var a=["hasVanityURL","isDefault","isPublic","isRoot"],c=[{type:"standard__search",params:[{name:"term",type:"state"}]},{type:"standard__objectPage",params:[{name:"filterName",type:"state"}]},{type:"standard__recordPage",params:[{name:"recordName",type:"state"},{name:"categoryPath",type:"state"}],match:({attributes:Q},{name:pe})=>Q?.objectApiName==="ProductCategory"?pe==="categoryPath":pe!=="categoryPath"}];function f(Q,pe){const{match:te,params:Pe}=pe;Pe.forEach(ke=>{if(te&&!te(Q.page,ke))return;const{type:Fe,name:Ve}=ke,De=Fe,xe=De==="state"?"attributes":"state";!Q.page?.[xe]?.[Ve]||(Q.page[De]||(Q.page[De]={}),Q.page[De][Ve]=Q.page[xe][Ve],delete Q.page[xe][Ve])})}function k(Q){let pe=Q;return["categoryPath","urlPath"].forEach(te=>{pe=pe.replace(new RegExp(`:${te}\\+?`),`:${te}+`)}),pe}function G(Q){return Q.startsWith(":")?Q.substring(1).replace(/[?+]/g,""):null}var ce=/\(.*\)/;function Re(Q){return Q.split("/").map(pe=>pe.replace(ce,"")).join("/")}function Ie(Q,pe){return Q.split("/").map(te=>{const Pe=G(te);return Pe&&pe[Pe]?te.replace(Pe,`${Pe}(${pe[Pe]})`):te}).join("/")}function Oe(Q){!Q.uri.includes(":")||!Q.page?.type||(Q.page.attributes=Q.page.attributes||{},Q.uri.split("/").forEach(pe=>{const te=G(pe);if(te){const Pe=`:${te}`;Q.page.attributes[te]||(Q.page.attributes[te]=Pe)}}))}function Ae(Q,pe=!1){return Q.map(te=>{te.uri||(te.uri=te.path),te.metadata||(te.metadata={}),a.forEach(De=>{De in te&&(te.metadata[De]=te[De],delete te[De])}),te.uri&&(te.uri=Re(te.uri),Oe(te)),te.patternMap&&(te.patterns=te.patternMap,delete te.patternMap);const Pe=te.page?.attributes?.objectApiName;Pe&&!Pe.startsWith(":")&&(te.uri=te.uri.replace(":objectApiName",Pe),te.patterns?.objectApiName&&delete te.patterns.objectApiName);const ke=c.find(De=>te.page?.type===De.type);ke&&f(te,ke);const Fe=te.page?.type;return!pe&&Fe==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(te.page.attributes?.objectApiName)&&(te.uri=k(te.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(Fe)&&!te.page?.attributes?.actionName&&(te.page.attributes.actionName="view"),pe&&te.patterns&&(te.uri=Ie(te.uri,te.patterns)),te})}r.API_PATH_PREFIX=D,r.CLIENT_ERROR_TYPES=m,r.ERRORS_PATH_PREFIX=h,r.LABELS_DEFAULT_DIR=t,r.LOCKER_DEFAULT_ENABLED=e,r.MAX_URL_LENGTH=p,r.METRICS_PATH_PREFIX=E,r.MOBILE_APP_USER_AGENTS=u,r.RESOURCE_TYPES=de,r.TRUSTED_COMPONENTS=P,r.WEBRUNTIME_LOGIN_PATH=y,r.WEBRUNTIME_LOGOUT_PATH=j,r.WEBRUNTIME_PREFIX=R,r.convertToKebabCase=U,r.getDesignComponentModuleSpecifier=N,r.getResourceUrl=le,r.getViewModuleSpecifier=we,r.moduleSpecifierToElementName=q,r.parseResourceDescriptor=Ee,r.parseRoutes=Ae,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_647-250_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})});