LWR.define("lwr/domRouterUtils/v/0_20_6",["exports","lwr/routerUtils/v/0_20_6"],function(r,t){"use strict";function e(_=""){if(_=_||"",_.indexOf("://")<0){const c=window.location.port?`:${window.location.port}`:"",u=`${window.location.protocol}//${window.location.hostname}${c}`,E=_.charAt(0)==="/"?"":"/";_=u+E+_}const f={},p=document.createElement("a");p.href=_;const l=p.search.substring(1);return l&&l.split("&").forEach(c=>{const[u,E=""]=c.split("=");f[t.decode(u)]=t.decode(E)}),{href:p.href,origin:`${p.protocol}//${p.hostname}${p.port?`:${p.port}`:""}`,pathname:p.pathname.replace(/(\/)?/,"/"),searchParams:f}}function I(_){const f=e(_),p=f.href.replace(/:\d+/,""),l=f.origin.replace(/:\d+/,"");return p.replace(l,"")}function w(_){const f=_.indexOf("#");return f!==-1?_.substring(0,f):_}function $(_,f){const p=f||{};window.history.pushState(p,"",_)}function M(_,f){const p=f||{};window.history.replaceState(p,"",_)}r.getRelativeUrl=I,r.removeFragment=w,r.replace=M,r.set=$,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/metrics/v/0_20_6",["exports"],function(r){"use strict";const t="lwr.bootstrap.",e=`${t}end`,I=`${t}error`,w=`${I}.count`,$=`${t}duration`,M="lwr.bootstrap.init",_=`${M}.duration`,f="lwr.bootstrap.init.module",p=`${f}.duration`,l=`${f}.count`,c="lwr.loader.",u=`${c}module.define`,E=`${u}.count`,b=`${c}module.dynamicLoad`,N=`${b}.count`,S=`${c}module.fetch`,A=`${S}.count`,F=`${S}.duration`,U=`${c}module.error`,Y=`${U}.count`,T=`${c}mappings.fetch`,x=`${T}.count`,G=`${T}.duration`,se=`${c}mappings.error`,ie=`${se}.count`,q="lwr.router.",ee=`${q}navigate`,ze=`${ee}.count`,xe=`${ee}.duration`,Me=`${q}view`,o=`${Me}.duration`,h=`${q}error`,d=`${h}.count`;r.BOOTSTRAP_DURATION=$,r.BOOTSTRAP_END=e,r.BOOTSTRAP_ERROR=I,r.BOOTSTRAP_ERROR_COUNT=w,r.BOOTSTRAP_PREFIX=t,r.INIT=M,r.INIT_DURATION=_,r.INIT_MODULE=f,r.INIT_MODULE_COUNT=l,r.INIT_MODULE_DURATION=p,r.LOADER_PREFIX=c,r.MAPPINGS_ERROR=se,r.MAPPINGS_ERROR_COUNT=ie,r.MAPPINGS_FETCH=T,r.MAPPINGS_FETCH_COUNT=x,r.MAPPINGS_FETCH_DURATION=G,r.MODULE_DEFINE=u,r.MODULE_DEFINE_COUNT=E,r.MODULE_DYNAMIC_LOAD=b,r.MODULE_DYNAMIC_LOAD_COUNT=N,r.MODULE_ERROR=U,r.MODULE_ERROR_COUNT=Y,r.MODULE_FETCH=S,r.MODULE_FETCH_COUNT=A,r.MODULE_FETCH_DURATION=F,r.ROUTER_ERROR=h,r.ROUTER_ERROR_COUNT=d,r.ROUTER_NAV=ee,r.ROUTER_NAV_COUNT=ze,r.ROUTER_NAV_DURATION=xe,r.ROUTER_PREFIX=q,r.ROUTER_VIEW=Me,r.ROUTER_VIEW_DURATION=o,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/observable/v/0_20_6",["exports"],function(r){"use strict";function t(){let e,I,w=[];const $=c=>{w.push(c)},M=c=>{w=[...w.slice(0,c),...w.slice(c+1)]},_=c=>{w.filter(u=>u!==null).forEach(u=>u.next&&u.next(c)),e=c,I=void 0},f=c=>{w.filter(u=>u!==null).forEach(u=>u.error&&u.error(c)),e=void 0,I=c};return{next:_,error:f,complete:()=>{w.filter(c=>c!==null).forEach(c=>c.complete&&c.complete()),w=[],e=void 0,I=void 0},subscribe:(c,u=!0)=>{$(c),e&&u&&c.next(e),I&&f(I);const E=w.length-1;return{unsubscribe:()=>M(E)}}}}r.createObservable=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextProvider/v/0_20_6",["exports","lwc/v/8_25_1","lwr/routerUtils/v/0_20_6","lwr/navigation/v/0_20_6"],function(r,t,e,I){"use strict";const w=t.createContextProvider(I.CurrentPageReference),$=e.hasDocument?t.createContextProvider(I.CurrentView):void 0,M=t.createContextProvider(I.NavigationContext);function _(f,p,l,c){l&&c&&(c.setContext(p,f),l(p,{consumerConnectedCallback:c.subscribeContext.bind(c,p),consumerDisconnectedCallback:c.unsubscribeContext.bind(c,p)}))}r.currentPageReferenceContextualizer=w,r.currentViewContextualizer=$,r.navigationContextContextualizer=M,r.provideContext=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerUtils/v/0_20_6",["exports","lwr/routerErrors/v/0_20_6"],function(r,t){"use strict";function e(){const P=[],k=()=>P.length===0,C=j=>{typeof j=="function"&&P.push(j)};return{add:(j=[])=>{Array.isArray(j)?j.forEach(W=>C(W)):C(j)},compile:j=>P.length===0?Promise.resolve(!0):P.reduce((W,te)=>W.then(re=>re===!1?Promise.reject():Promise.resolve(te(j))),Promise.resolve(!0)).then(W=>W!==!1).catch(W=>{if(W instanceof Error)throw W;return!1}),empty:k}}function I(P=""){return P=P||"",encodeURIComponent(P)}function w(P=""){return P=P||"",decodeURIComponent(P)}function $(P){P=P||"/",P.charAt(0)!=="/"&&(P="/"+P);const k=P.match(/^[^#?]+/);if(k!==null){const C=k[0];return C==="/"?"/":C.replace(/\/$/,"")}return"/"}function M(P){P=P||"";const k=P.indexOf("#");k>=0&&(P=P.substring(0,k));const C=P.indexOf("?"),R=C>=0?P.substr(C+1):null,B={};return R&&R.split("&").forEach(j=>{if(j.indexOf("=")>=0){const[W,te=""]=j.split("=");B[w(W)]=w(te)}else B[w(j)]=null}),B}function _(P={}){const k=Object.keys(P);return k.length?`?${k.map(C=>{const R=P[C];return R===null?C:`${C}=${I(R)}`}).join("&")}`:""}function f(P){return P&&P.length>1?P.startsWith(":"):!1}function p(P){return P&&f(P)?P.substr(1):!1}function l(P){return Object.values(P).reduce((k,{routeParamName:C})=>{const R=p(C);return R&&k.push(R),k},[])}function c(P,k){if(!P)return null;const{type:C,attributes:R={},state:B={}}=P;if(C){const[j]=k.filter(W=>{const{original:{page:{type:te=null,attributes:re={},state:J={}}={}}}=W,oe=te===C,ye=Object.keys(re).every($e=>Object.keys(R).indexOf($e)>=0),Re=Object.keys(re).length===Object.keys(R).length,De=Object.keys(J).every($e=>Object.keys(B).indexOf($e)>=0),Te=Object.keys(re).filter($e=>{const O=re[$e];return!O||!f(O)}).every($e=>re[$e]===R[$e]),Ue=Object.keys(J).filter($e=>{const O=J[$e];return O===null||!f(O)}).every($e=>J[$e]===B[$e]);return oe&&ye&&Re&&Te&&De&&Ue});return j||null}return null}function u(P,k){const{regex:C,params:R}=k,B=C.exec(P);if(B){const[,...j]=B,W={};return R.forEach((te,re)=>{const{name:J}=te,oe=j[re];W[J]=oe&&w(oe)}),W}return null}function E(P,k){if(P&&k){const{queryMatcher:C}=k,R=C(P);if(R){const B={};return Object.keys(R).forEach(j=>{const W=R[j],{value:te,routeParamName:re}=W,J=re?re.substr(1):j;B[J]=te&&w(te)}),B}}return null}function b(P,k){const{compiledQuery:C}=k,R=Object.keys(C).filter(j=>{const{literalValue:W}=C[j];return!W}),B={};return Object.keys(P).forEach(j=>{const W=P[j];R.indexOf(j)<0&&(B[j]=W)}),B}function N(P,k){if(k){const{original:{page:{type:C="",attributes:R={},state:B={}}={}}={}}=k,j=$(P),W=M(P),te=u(j,k),re=E(W,k);if(te&&re){const J={...te,...re},oe={};Object.keys(R).forEach(De=>{const Te=R[De];let Ue;if(Te&&f(Te)){const $e=Te.substr(1);Ue=J[$e]}else Ue=Te;oe[De]=Ue});const ye={};Object.keys(B).forEach(De=>{const Te=B[De];let Ue;if(Te&&f(Te)){const $e=Te.substr(1);Ue=J[$e]}else Ue=Te;ye[De]=Ue});const Re=b(W,k);return{type:C,attributes:{...oe},state:{...Re,...ye}}}}return null}const S={locale:"en-US",defaultLocale:"en-US"};function A(P,k,C){const{original:{patterns:R=null}={}}=C||{};if(R){const B=u(P,C),j=E(k,C),W={...B,...j};return Object.keys(R).every(te=>{const re=R[te],J=new RegExp(re),oe=W[te]||"";return J.test(oe)})}return!0}function F(P,k){const C=$(P),R=M(P),B=k?k.filter(W=>W.regex.test(C)):[],[j]=B.filter(W=>{const{queryMatcher:te}=W;return te(R)&&A(C,R,W)});return j||null}function U(P,k,C="",R=S,B){if(C&&(P===C||P?.search(new RegExp(`^${C}[/?#]`))===0)&&(P=P.replace(C,"")),B?.locale||R?.locale){const te=`/${B?.locale||R.locale}`;(P===te||P?.search(new RegExp(`^${te}[/?#]`))===0)&&(P=P.replace(te,""))}const j=F(P,k);let W;if(j){const te=N(P,j);if(te)return W={route:{id:j.original.id,attributes:{...te.attributes},state:{...te.state},pageReference:{type:te.type,attributes:{...te.attributes},state:{...te.state}}},routeDefinition:j},W}else return null;return null}function Y(P,k,C="",R=S,B){const j=c(P,k);return j?x(P,j,C,R,B):null}function T(P,k,C){const{attributeBindings:R,stateBindings:B}=C,{attributes:j,state:W}=k,te={};return P.forEach(re=>{const[J]=Object.keys(R).filter(oe=>p(R[oe])===re);if(J)te[re]=j[J];else{const[oe]=Object.keys(B).filter(ye=>p(B[ye])===re);oe&&(te[re]=W[oe])}}),te}function x(P,k,C="",R=S,B){const{params:j,original:{page:W={}}={},toPath:te,compiledQuery:re}=k,{attributes:J={},state:oe={}}=W,ye=j.filter(({name:le})=>typeof le=="string").map(({name:le})=>le),Re=T(ye,P,{attributeBindings:J,stateBindings:oe}),De=te(Re),Te=l(re),Ue=T(Te,P,{attributeBindings:J,stateBindings:oe}),$e=G(P,Ue,k),O=_($e),ne=B?.locale||R&&R.locale,fe=ne!==R.defaultLocale?`/${ne}`:"";return`${C}${fe}${De}${O}`}function G(P,k,C){const{compiledQuery:R,original:{page:{state:B={}}}}=C,{state:j={}}=P||{},W={};Object.keys(j).filter(re=>{const J=B[re];return!f(J)}).forEach(re=>W[re]=j[re]);const te={};return Object.keys(k).forEach(re=>{const J=k[re],[oe]=Object.keys(R).filter(ye=>{const Re=R[ye],{routeParamName:De}=Re;return p(De)===re});if(oe){const ye=oe;te[ye]=J}}),{...W,...te}}function se(P,k,C="",R=S){const B=U(P,k,C,R);return B&&B.route&&B.route.pageReference?B.route.pageReference:null}function ie(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function q(P){return typeof P=="string"}function ee(P,k){return k in P}function ze(P,k=2){if(ie(P))try{Object.freeze(P),k>0&&Object.keys(P).forEach(C=>{if(ee(P,C)){const R=P[C];R&&typeof R=="object"&&ze(R,k-1)}})}catch(C){}return P}function xe(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function Me(P){const k=["id","attributes","state","pageReference"],{pageReference:C=null}=P||{};return ie(P)&&d(P,k)&&o(C)}function o(P){const k=["type","state","attributes"],{type:C,state:R,attributes:B}=P||{},j=ie(P)&&q(C)&&ie(R)&&h(R)&&ie(B)&&h(B);return d(P,k)&&j}function h(P){return Object.keys(P).every(k=>{const C=P[k];return typeof k=="string"&&(typeof C=="string"||C===null)})}function d(P,k){if(ie(P)){const C=k.every(j=>ee(P,j)),B=Object.keys(k).length===k.length;return C&&B}return!1}function V(P){const k=[];let C=0;for(;C=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||W===95){B+=P[j++];continue}break}if(!B)throw new TypeError(`Missing parameter name at ${C}`);k.push({type:"NAME",index:C,value:B}),C=j;continue}if(R==="("){let B=1,j="",W=C+1;if(P[W]==="?")throw new TypeError(`Pattern cannot start with "?" at ${W}`);for(;W{if(te{const De=J(Re);if(De!==void 0)return De;const{type:Te,index:Ue}=C[te];throw new TypeError(`Unexpected ${Te} at ${Ue}, expected ${Re}`)},ye=()=>{let Re="",De;for(;De=J("CHAR")||J("ESCAPED_CHAR");)Re+=De;return Re};for(;teW,validate:B=!0}=k,j=P.map(W=>{if(typeof W=="object")return new RegExp(`^(?:${W.pattern})$`,C)});return W=>{let te="";for(let re=0;reoe}=C,te=`[${X(C.endsWith||"")}]|$`,re=`[${X(C.delimiter||"/#?")}]`;let J=B?"^":"";for(const oe of P)if(typeof oe=="string")J+=X(W(oe));else{const ye=X(W(oe.prefix)),Re=X(W(oe.suffix));if(oe.pattern)if(k&&k.push(oe),ye||Re)if(oe.modifier==="+"||oe.modifier==="*"){const De=oe.modifier==="*"?"?":"";J+=`(?:${ye}((?:${oe.pattern})(?:${Re}${ye}(?:${oe.pattern}))*)${Re})${De}`}else J+=`(?:${ye}(${oe.pattern})${Re})${oe.modifier}`;else J+=`(${oe.pattern})${oe.modifier}`;else J+=`(?:${ye}${Re})${oe.modifier}`}if(j)R||(J+=`${re}?`),J+=C.endsWith?`(?=${te})`:"$";else{const oe=P[P.length-1],ye=typeof oe=="string"?re.indexOf(oe[oe.length-1])>-1:oe===void 0;R||(J+=`(?:${re}(?=${te}))?`),ye||(J+=`(?=${re}|${te})`)}return new RegExp(J,ue(C))}function Ve(P,k,C){return Ae(Oe(P,C),k,C)}function tt(P,k,C){return P instanceof RegExp?Fe(P,k):Array.isArray(P)?H(P,k,C):Ve(P,k,C)}function H(P,k,C){const R=P.map(B=>tt(B,k,C).source);return new RegExp(`(?:${R.join("|")})`,ue(C))}const{INVALID_ROUTE_QUERY:ae,MISSING_ROUTE_TEMPLATE:K,MISSING_PAGE_BINDING:ve,INVALID_PAGE_BINDING:we,INVALID_URI_SYNTAX:Be}=t.messages;function Ne(P){const{routes:k,caseSensitive:C}=P;return k.map(R=>Ce(R,C))}function Ce(P,k=!1){const C=[],{id:R,uri:B,page:j}=P;t.invariant(!!B,t.generateMessageObject(K,[R])),t.invariant(Xe(B),t.generateMessageObject(Be,[R])),t.invariant(!!j,t.generateMessageObject(ve,[R]));const W=$(B),te=M(B),re=tt(W,C,{sensitive:k,end:P.exact!==!1}),J=je(W,{encode:encodeURIComponent}),oe=at(te),ye=ct(oe,k),Re={original:P,regex:re,params:C,toPath:J,compiledQuery:oe,queryMatcher:ye};return t.invariant(Je(Re),t.generateMessageObject(we,[R])),Re}function Xe(P=""){return!["*","(",")",";"].some(R=>P.indexOf(R)>=0)}function Je(P){const{original:{page:k}={},params:C,compiledQuery:R}=P,B=k&&k.type,j=k&&k.attributes||{},W=k&&k.state||{};if(typeof B!="string"||typeof j!="object"||typeof W!="object")return!1;const te=Object.values(C).map(({name:Te})=>Te),re=l(R),J=[...te,...re],oe=Object.values(j).filter(f).map(p),ye=Object.values(W).filter(f).map(p),Re=J.every(Te=>typeof Te!="string"?!1:oe.indexOf(Te)>=0||ye.indexOf(Te)>=0),De=J.length===oe.length+ye.length;return!!(k&&B&&j&&W&&Re&&De)}function at(P){const k={};return Object.keys(P).forEach(C=>{const R=P[C];t.invariant(f(C)?R===null:!0,ae),f(C)?k[C.substr(1)]={routeParamName:C}:R&&f(R)?k[C]={routeParamName:R}:k[C]={literalValue:R===null?null:R}}),k}function ct(P,k=!1){return R=>{const B=Object.keys(R),j=Object.keys(P);return j.every(te=>B.indexOf(te)>=0)?j.reduce((te,re)=>{if(te===null)return null;const{literalValue:J,routeParamName:oe}=P[re],ye=R[re];let Re=!0;return typeof J=="string"?Re=k?J===ye:J.toUpperCase()===(ye==null?ye:ye.toUpperCase()):J===null&&(Re=ye===J),Re?te={...te,[re]:{value:ye,routeParamName:oe}}:te=null,te},{}):null}}const Ie=typeof document!="undefined",mt={pathToRegexp:tt,compile:je};r.DEFAULT_I18N_ROUTER_CONFIG=S,r.createFilterChain=e,r.decode=w,r.encode=I,r.freeze=ze,r.getPageReferenceFromUriAndRouteDef=N,r.getPageReferenceFromUrl=se,r.getPathFromUrl=$,r.getQueryFromUrl=M,r.getQueryString=_,r.getUrlFromPageReference=Y,r.getUrlFromPageReferenceAndRouteDef=x,r.guid=xe,r.hasDocument=Ie,r.isObject=ie,r.isValidRoute=Me,r.matchRouteByUrl=U,r.parseRoutes=Ne,r.pathToRegexp=mt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_20_6",["exports","lwr/routerUtils/v/0_20_6"],function(r,t){"use strict";const e=`universalcontainergetnavigationcontext${t.guid()}`;r.CONTEXT_ID_BACKDOOR=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentView/v/0_20_6",["exports","lwr/contextUtils/v/0_20_6","lwr/routerErrors/v/0_20_6"],function(r,t,e){"use strict";const I=new t.ContextInfo(void 0),w=class extends t.generateContextualWireAdapter(I){async update(M,_){if(_){const f=M&&M.viewName?M.viewName:"default",p=_.viewset[f],l=p,c=l&&l.module||p;let u;if(c)try{const E=await c(),b=E&&E.default;if(b&&b.constructor!==void 0)this._callback(b);else throw new Error("error occurred with view import")}catch(E){const b=E;l.specifier?u=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[l.specifier,f,b.message,b.stack||""]):u=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED,[f,b.message,b.stack||""])}else u=e.generateMessageObject(e.messages.VIEW_MISSING,[f]);_.onComplete&&_.onComplete(u)}}};r.CurrentView=w,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentPageReference/v/0_20_6",["exports","lwr/contextUtils/v/0_20_6"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),I=t.generateContextualWireAdapter(e);r.CurrentPageReference=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerErrors/v/0_20_6",["exports"],function(r){"use strict";const t="LWR",e={Fatal:0,Error:1,Warning:2,Log:3};function I(f,p){return Array.isArray(p)?f.replace(/\{([0-9]+)\}/g,(l,c)=>p[c]):f}function w(f,p){return`${f.code}: ${I(f.message,p)}`}function $(f,p){const l={...f,message:I(f.message,p)};return f.address&&(l.address=I(f.address,p)),f.stack&&(l.stack=I(f.stack,p)),l}function M(f,p,l){if(!f)throw new Error(w(p,l))}const _={INVALID_MIXIN_CMP:{code:`${t}4001`,message:"{0} must be an Element type",level:e.Error},MISSING_CONTEXT:{code:`${t}4002`,message:"Could not find context to perform navigation action.",level:e.Error},INVALID_CONTEXT:{code:`${t}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:e.Error},MULTIPLE_ROOTS:{code:`${t}4004`,message:"Router connection failed. There can only be one root router.",level:e.Error},MULTIPLE_CHILDREN:{code:`${t}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:e.Error},MISSING_ROUTE:{code:`${t}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:e.Error,address:"{0}"},MISSING_URL:{code:`${t}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:e.Error,address:"{0}"},PRENAV_FAILED:{code:`${t}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:e.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${t}4009`,message:'Route definition with id "{0}" is missing a "uri" property.',level:e.Error,address:"{0}"},MISSING_ROUTE_CMP:{code:`${t}4016`,message:"Expected a route view component with a default export.",level:e.Error},MISSING_DATA_CONTEXT:{code:`${t}4018`,message:"Could not find context to retrieve navigation data.",level:e.Error},INVALID_ROUTE_QUERY:{code:`${t}4019`,message:"Invalid query param in route definition.",level:e.Error},MISSING_PAGE_BINDING:{code:`${t}4020`,message:'Route definition with id "{0}" is missing a "page" binding.',level:e.Error,address:"{0}"},INVALID_PAGE_BINDING:{code:`${t}4021`,message:'Route definition with id "{0}" has an invalid "page" binding.',level:e.Error,address:"{0}"},INVALID_URI_SYNTAX:{code:`${t}4022`,message:'Route definition with id "{0}" has invalid "uri" syntax. URI cannot contain *, +, (, ), ',level:e.Error,address:"{0}"},VIEW_IMPORT_FAILED:{code:`${t}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:e.Error,stack:"{2}"},VIEW_MISSING:{code:`${t}4024`,message:'Expected a view with name "{0}" in the viewset',level:e.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${t}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:e.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${t}4026`,message:"A routing match cannot be found for: {0}",level:e.Error},INVALID_ROUTE_HANDLER:{code:`${t}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:e.Error},DESTINATION_NOT_FOUND:{code:`${t}4028`,message:"Route handler returned 404: Not Found",level:e.Error},DESTINATION_ERROR:{code:`${t}4029`,message:"Route handler returned error status {0}: {1}",level:e.Error,stack:"{2}"},NO_INIT_URL:{code:`${t}4030`,message:'Cannot initialize a server router without a "url"',level:e.Error}};r.generateMessage=w,r.generateMessageObject=$,r.invariant=M,r.messages=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextUtils/v/0_20_6",["exports","lwr/routerErrors/v/0_20_6"],function(r,t){"use strict";function e(f){if(f==null)throw new TypeError("Provider must be defined.")}class I{constructor(p){this.infoMap=new WeakMap,this.defaultValue=p}getInfo(p){let l=this.infoMap.get(p);return l===void 0&&(l={consumers:new Set},this.infoMap.set(p,l)),l}setContext(p,l){e(p);const c=l,u=this.getInfo(p);u.contextValue=l,u.consumers.forEach(E=>E.provide(c)),u.consumers.size===0&&c?.onComplete&&c.onComplete()}getContext(p){e(p);const{contextValue:l}=this.getInfo(p);return l!==void 0?l:this.defaultValue}clearContext(p){e(p),this.infoMap.delete(p)}subscribeContext(p,l){e(p);const{consumers:c,contextValue:u}=this.getInfo(p);c.has(l)||(c.add(l),l.provide(u))}unsubscribeContext(p,l){e(p),this.getInfo(p).consumers.delete(l)}}const w=new WeakMap;function $(f){const p=w.get(f);if(!p||!p.value)throw new Error(t.generateMessage(t.messages.MISSING_CONTEXT));return p.value}function M(f,p){const l={id:f,value:p,update:c=>{l.value=c}};return w.set(l.id,l),l}function _(f){var p;return p=class{constructor(u){this._callback=u}connect(){}disconnect(){}update(u,E){E&&this._callback(E)}static setContext(u,E){f.setContext(u,E)}static getContext(u){return f.getContext(u)}static clearContext(u){f.clearContext(u)}static subscribeContext(u,E){f.subscribeContext(u,E)}static unsubscribeContext(u,E){f.unsubscribeContext(u,E)}},p.contextSchema={value:"required"},p}r.ContextInfo=I,r.generateContextualWireAdapter=_,r.getNavigationHelm=$,r.registerNavigationHelm=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationContext/v/0_20_6",["exports","lwr/contextUtils/v/0_20_6"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),I=t.generateContextualWireAdapter(e);r.NavigationContext=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigation/v/0_20_6",["exports","lwr/navigationContext/v/0_20_6","lwr/currentPageReference/v/0_20_6","lwr/currentView/v/0_20_6","lwr/contextUtils/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/navigationMixinHacks/v/0_20_6"],function(r,t,e,I,w,$,M){"use strict";function _(S,A,F,U){w.getNavigationHelm(S).navigate(A,F,U)}function f(S,A,F){return w.getNavigationHelm(S).generateUrl(A,F)}function p(S,A,F){return w.getNavigationHelm(S).generateUrlAsync(A,F)}const l=Symbol("Navigate"),c=Symbol("GenerateUrl"),u=Symbol("NavContext"),E=Symbol("NavContext"),b=typeof window=="undefined";function N(S){$.invariant(typeof S.prototype.dispatchEvent=="function",$.messages.INVALID_MIXIN_CMP,[S.toString()]);class A extends S{[E](){if(!this[u]&&(this.dispatchEvent(new CustomEvent(M.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:U=>{this[u]=U}}})),!this[u]))throw new Error($.generateMessage($.messages.MISSING_CONTEXT))}[l](U,Y,T){b||(this[E](),_(this[u],U,Y,T))}async[c](U,Y){return b?null:(this[E](),p(this[u],U,Y))}}return A}N.Navigate=l,N.GenerateUrl=c,N.NavContext=u,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return I.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return w.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return w.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return w.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return w.registerNavigationHelm}}),r.NavigationMixin=N,r.generateUrl=f,r.navigate=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/domRouter/v/0_20_6",["exports","lwr/navigation/v/0_20_6","lwr/contextProvider/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/routerUtils/v/0_20_6","lwr/observable/v/0_20_6","lwr/metrics/v/0_20_6","lwr/profiler/v/0_20_6","lwr/navigationMixinHacks/v/0_20_6"],function(r,t,e,I,w,$,M,_,f){"use strict";const p=`universalcontainernavigationevent${w.guid()}`,l=`universalcontainerparentevent${w.guid()}`;class c{constructor(b,N,S){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=w.createFilterChain(),this.errorNavFilters=w.createFilterChain(),this._handleNavigationEvent=A=>{const F=A;if(F.detail&&typeof F.detail=="object"){const{url:U,replace:Y,address:T}=F.detail;this.config.handleNavigation(T,Y)?this.root&&!U?this.root.processError(I.generateMessageObject(I.messages.MISSING_URL,[JSON.stringify(T)])):this.parent||this.process(U,Y):F.stopPropagation()}},this._handleParentEvent=A=>{A.stopImmediatePropagation();const F=A;F&&F.detail&&typeof F.detail=="function"&&F.detail(this)},this.config={handleNavigation:b.handleNavigation||(()=>!0)},this.target=S||window,this.router=N,this.router.contextId=this.contextId,this.routeObservable=$.createObservable()}get root(){if(!this.parent)return this;let b=this.parent;for(;b;){if(!b.parent)return b;b=b.parent}throw new Error("No root router could be found")}updateWires(b,N,S){if(S)this.processError(S);else{if(this.committedRoute&&b.route===this.committedRoute.route)return;_.logOperationEnd({id:M.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{...b,url:N},this.committedRoute={...this.pendingRoute,...b},t.CurrentPageReference.setContext(this.target,b.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:b.viewset}),_.logOperationEnd({id:M.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(l,N=>{this.parent=N,N.addChild(this)});const b={navigate:(N,S)=>this.navigate(N,S),generateUrl:(N,S)=>this.generateUrl(N,S),generateUrlAsync:(N,S)=>this.generateUrlAsync(N,S),subscribe:(N,S)=>this.subscribe(N,S)};t.registerNavigationHelm(this.contextId,b),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,t.NavigationContext),e.provideContext(void 0,this.target,e.currentPageReferenceContextualizer,t.CurrentPageReference),e.provideContext(void 0,this.target,e.currentViewContextualizer,t.CurrentView),this.router.subscribe(N=>{if(N.status===404){this.processError(I.generateMessageObject(I.messages.DESTINATION_NOT_FOUND));return}if(N.status&&N.status>=400){const F=N.error||new Error;this.processError(I.generateMessageObject(I.messages.DESTINATION_ERROR,[N.status.toString(),F.message,F.stack||""]));return}const S=N.route.pageReference||{},A=this.router.generateUrl(S)||"";if(_.logOperationStart({id:M.ROUTER_VIEW,specifier:this.eventId}),N.viewset){const F={viewset:N.viewset,onComplete:this.updateWires.bind(this,N,A)};t.CurrentView.setContext(this.target,F)}else N.route.pageReference&&this.updateWires(N,A)},!0),w.hasDocument&&(this.target.addEventListener(p,this._handleNavigationEvent),this.target.addEventListener(l,this._handleParentEvent),this.target.addEventListener(f.CONTEXT_ID_BACKDOOR,N=>{const S=N;S.detail.callback&&S.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(p,this._handleNavigationEvent),this.target.removeEventListener(l,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(b){this.preNavFilters.add(b)}addErrorNavigate(b){this.errorNavFilters.add(b)}async addChild(b){if(await new Promise(N=>{setTimeout(()=>{I.invariant(!this.child,I.messages.MULTIPLE_CHILDREN),this.child=b,N()},0)}),this.child&&this.committedRoute){const N=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(N)&&this.child.process(N)}}async process(b,N,S,A){this.eventId=new Date().getTime().toString(),_.logOperationStart({id:M.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(b,S)}catch(U){if(U.code)return this.processError(U),!1;throw U}const F=this.router.parseUrl(b);return F&&this.router.navigate(F,S),!0}preProcess(b,N){const S=this.router.parseUrl(b),A=S&&this.router.matchRoute(S,N);return A?(this.pendingRoute={url:b,...A},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then(U=>U&&this.child?this.child.preProcess(this._stripUrlForChild(b)):U).then(U=>U||Promise.reject(I.generateMessageObject(I.messages.PRENAV_FAILED,[b])))):Promise.reject(I.generateMessageObject(I.messages.MISSING_ROUTE,[b]))}processError(b){_.logOperationStart({id:M.ROUTER_ERROR}),this.errorNavFilters.compile(b),this.child&&this.child.processError(b)}navigate(b,N,S){const A=this.filterNavigateOptions(S);let F=this.router.generateUrl(b,A);F&&(F=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(F)),this._sendEvent(p,{url:F,replace:N,address:b})}generateUrl(b,N){const S=this.filterNavigateOptions(N),A=this.router.generateUrl(b,S);return A?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${A}`:null}async generateUrlAsync(b,N){const S=this.filterNavigateOptions(N),A=await this.router.generateUrlAsync(b,S);return A?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${A}`:null}subscribe(b,N){return this.routeObservable.subscribe({next:b,error:()=>{},complete:()=>{}},Boolean(N))}_sendEvent(b,N){w.hasDocument&&this.target.dispatchEvent(new CustomEvent(b,{bubbles:!0,composed:!0,detail:N}))}_stripUrlForChild(b){return this.pendingRoute&&b.indexOf(this.pendingRoute.pathMatch)===0?b.replace(this.pendingRoute.pathMatch,""):b}filterNavigateOptions(b){const N=!this.parent;return{...b,locale:N?b?.locale:void 0}}}function u(E,b,N){return new c(E,b,N)}r.DomRouterImpl=c,r.NAV_EVENT=p,r.PARENT_EVENT=l,r.createDomRouter=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/historyRouter/v/0_20_6",["exports","lwc/v/8_25_1","lwr/domRouter/v/0_20_6","lwr/domRouterUtils/v/0_20_6","lwr/routerUtils/v/0_20_6"],function(r,t,e,I,w){"use strict";class $ extends e.DomRouterImpl{constructor(...f){super(...f);this.historyDisabled=!1,this.currentUrl=""}connect(){super.connect(),this.historyDisabled||(w.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){if(!this.parent&&w.hasDocument){const f=I.getRelativeUrl(window.location.href),p=this.router.basePath.includes("#")?f:I.removeFragment(f);p!==this.currentUrl&&this.catchBrowserUpdate(p)}}disconnect(){super.disconnect(),w.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(f,p,l,c=!0){const u=await super.process(f,p,l,c);return u&&!this.historyDisabled&&c&&this.connected&&!this.parent&&(p?I.replace(f):I.set(f),this.currentUrl=f),u}catchBrowserUpdate(f){this.process(f,!1,{},!1)}}t.registerDecorators($,{fields:["historyDisabled","currentUrl"]});function M(_,f,p){return new $(_,f,p)}r.HistoryRouter=$,r.createHistoryRouter=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerContainer/v/0_20_6",["exports","lwc/v/8_25_1","lwr/historyRouter/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/domRouter/v/0_20_6","lwr/routerUtils/v/0_20_6"],function(r,t,e,I,w,$){"use strict";function M(F,U,Y){var T=F?"."+F:"";return"span.router-title"+T+" {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;}"}M.$scoped$=!0;var _=[M];const f=t.parseFragment``,p={key:0},l=[],c={ref:"title"};function u(F,U,Y,T){const{s:x,sp:G,st:se}=F;return[x("",p,l,Y),se(f,2,[G(0,c,null)])]}var E=t.registerTemplate(u);u.slots=[""],u.renderMode="light",u.hasRefs=!0,u.stylesheets=[],u.stylesheetToken="lwc-7bis3qj4jjc",u.legacyStylesheetToken="lwr-routerContainer_routerContainer",_&&u.stylesheets.push.apply(u.stylesheets,_),t.freezeTemplate(u);let b=!1;function N(F,U={},Y){const T=U.historyDisabled?new w.DomRouterImpl(U,Y,F):new e.HistoryRouter(U,Y,F),x={addPreNavigate:G=>(T.addPreNavigate(G),x),addPostNavigate:G=>(T.subscribe(G),x),addErrorNavigate:G=>(T.addErrorNavigate(G),x),connect:()=>{T.connect(),I.invariant(!b||!!T.parent,I.messages.MULTIPLE_ROOTS),b=b||!T.parent,x.id=T.contextId},disconnect:()=>{b=b&&!!T.parent,T.disconnect()}};return x}class S extends t.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=$.hasDocument?document.title:""}connectedCallback(){const U={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};$.hasDocument&&this.router&&(this.routerApi=N(this,U,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(U){const Y=this._createEvent("prenavigate",U,!0);return this.dispatchEvent(Y),!Y.defaultPrevented}postNavigate(U){this.dispatchEvent(this._createEvent("postnavigate",U));const Y=U.routeDefinition.metadata&&U.routeDefinition.metadata.title;Y&&(this.currentTitle=Y.replace(/[<>&"']/g,x=>{switch(x){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case"'":return"'";default:return x}}),document.title=this.currentTitle);const T=this.refs?.title;T&&(T.innerHTML=this.currentTitle,setTimeout(()=>{T.innerHTML=""},500))}errorNavigate(U){return this.dispatchEvent(this._createEvent("errornavigate",U)),!0}handleNavigation(U,Y){const T=this._createEvent("handlenavigation",{address:U,replace:Y},!0);return this.dispatchEvent(T),!T.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(U,Y,T){return new CustomEvent(U,{detail:Y,bubbles:!1,composed:!1,cancelable:T})}}S.renderMode="light",t.registerDecorators(S,{publicProps:{router:{config:0},historyDisabled:{config:0}}});const A=t.registerComponent(S,{tmpl:E,sel:"lwr-router-container",apiVersion:66});r.default=A,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/defaultView/v/1_66_1143-260_0",["exports","lwc/v/8_25_1"],function(r,t){"use strict";const e=[];function I(M,_,f,p){return e}var w=t.registerTemplate(I);I.renderMode="light",I.stylesheets=[],I.stylesheetToken="lwc-15jgd3dq0rl",I.legacyStylesheetToken="webruntime-defaultView_defaultView",t.freezeTemplate(I);var $={html:w,attributes(){}};r.default=$,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","@app/isDesignMode/v/1","@app/isPreviewMode/v/1"],function(r,t,e,I){"use strict";function w(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var $=w(e),M=w(I);const{info:_}=console;async function f(){if($.default||M.default){const{start:p,startPreview:l}=await t.load("webruntimedesign/designmode/v/1");$.default&&(/interactive|complete/.test(document.readyState)?p():document.addEventListener("DOMContentLoaded",p,!1)),M.default&&(l?l():_("startPreview() does not exist in this environment!"))}}r.designmodeInit=f,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/utils/v/1_66_1143-260_0",["exports"],function(r){"use strict";function t(E,b){if(!E)throw new Error(b)}function e(E){return typeof E=="object"&&E!==null&&!Array.isArray(E)}function I(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(E){const b=Math.random()*16|0;return(E==="x"?b:b&3|8).toString(16)})}function w(E){return typeof E=="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(E)}const $=new RegExp("^([a-z]+://|//)","i");function M(E){return E?$.test(E):!1}const _=new RegExp("/sfsites/c/.+","i");function f(E){return E?_.test(E):!1}function p(E,b){const N=JSON.stringify(b);if(!(window&&window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(E,N))){const A=new XMLHttpRequest;A.open("POST",E,!0),A.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),A.send(N)}}function l(E){return document?.querySelector(`meta[name="${E}"]`)?.getAttribute("content")||""}function c(){return l("basePath")}function u(){return l("deployTarget")||"CORE"}r.assert=t,r.getBasePathFromMetaTag=c,r.getDeployTargetFromMetaTag=u,r.isAbsoluteURL=M,r.isObject=e,r.isSfdcCoreURL=f,r.sendPayloadToServer=p,r.uuidValidate=w,r.uuidv4=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/logger/v/1_66_1143-260_0",["exports"],function(r){"use strict";function t(...I){console.log(...I)}function e(...I){console.error(...I)}r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/errors/v/1_66_1143-260_0",["exports","webruntime/logger/v/1_66_1143-260_0","@communities-webruntime/common/v/1_66_1143-260_0","webruntime/transport/v/1_66_1143-260_0"],function(r,t,e,I){"use strict";function w(_){I.sendBeacon({path:e.ERRORS_PATH_PREFIX,payload:JSON.stringify(_),contentType:"text/plain;charset=UTF-8"})}function $(_,f){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:_,type:f}}))}function M({subject:_,error:f,wcstack:p,type:l=e.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){p=p||f.wcstack;const{message:c,stack:u}=f,{hostname:E,pathname:b}=globalThis.location||{},S={subject:_,message:c,stack:u,wcstack:p,location:{hostname:E,pathname:b}};t.logError(u||S),typeof document!="undefined"&&($(S,l),w(S))}r.reportError=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/innerApp/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","lwc/v/8_25_1","@communities-webruntime/common/v/1_66_1143-260_0","webruntime/overrides/v/1_66_1143-260_0","webruntime/errors/v/1_66_1143-260_0","webruntime/utils/v/1_66_1143-260_0","webruntime/views/v/1_66_1143-260_0","webruntime/routingService/v/1_66_1143-260_0","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_1143-260_0","webruntime/defaultView/v/1_66_1143-260_0"],function(r,t,e,I,w,$,M,_,f,p,l,c){"use strict";function u(U){return U&&typeof U=="object"&&"default"in U?U:{default:U}}var E=u(_),b=u(p),N=u(c),S=void 0;class A extends e.LightningElement{constructor(...Y){super(...Y);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(Y){this._routeParams=Y}async connectedCallback(){const Y=this.view||N.default;this.generatedTemplateHtml=Y.html,this.attributes=Y.attributes(this,this.routeParams)||{},await l.designmodeInit(),this.subscription=f.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(Y){this.generatedTemplateHtml=Y.html}updateRoute(Y,T){f.handleExtraRouteParams(T);const{state:x,attributes:G}=T;this.previousRouteId=this.route?.id||null,this._routeParams={...x,...G},this.attributes=Y.attributes(this,this.routeParams)||{},this.route=T}restoreDefaultTemplate(){this.generatedTemplateHtml=N.default.html}async loadThemeLayout(Y){let T=!1;const x=Y.routeDefinition.view,G=b.default[x];setTimeout(async()=>{!T&&this.themeLayout!==G&&this.restoreDefaultTemplate()},10);let se;try{se=await E.default(G)}catch(ie){await this.handleFetchViewFailed(ie,Y.routeDefinition.metadata?.isPublic)}if(!!se)try{T=!0,this.themeLayout!==G&&(this.themeLayout=G,this.updateTemplate(se.default)),this.updateRoute(se.default,Y.route)}catch(ie){$.reportError({subject:"InnerApp.loadThemeLayout error",type:I.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:ie})}}async handleFetchViewFailed(Y,T){await w.PageNavigationFailureOverrides.run({error:Y,isPublic:T})&&$.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:I.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:Y})}async mockHandlebarsEngineImport(){await t.load("webruntime/handlebarsEngine/v/1_66_1143-260_0")}}A.renderMode="light",e.registerDecorators(A,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});const F=e.registerComponent(A,{tmpl:S,sel:"webruntime-inner-app",apiVersion:66});r.default=F,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/purifyLib/v/1_28_8-alpha",["exports"],function(r){"use strict";/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:t,setPrototypeOf:e,isFrozen:I,getPrototypeOf:w,getOwnPropertyDescriptor:$}=Object;let{freeze:M,seal:_,create:f}=Object,{apply:p,construct:l}=typeof Reflect!="undefined"&&Reflect;M||(M=function(R){return R}),_||(_=function(R){return R}),p||(p=function(R,B,j){return R.apply(B,j)}),l||(l=function(R,B){return new R(...B)});const c=ie(Array.prototype.forEach),u=ie(Array.prototype.lastIndexOf),E=ie(Array.prototype.pop),b=ie(Array.prototype.push),N=ie(Array.prototype.splice),S=ie(String.prototype.toLowerCase),A=ie(String.prototype.toString),F=ie(String.prototype.match),U=ie(String.prototype.replace),Y=ie(String.prototype.indexOf),T=ie(String.prototype.trim),x=ie(Object.prototype.hasOwnProperty),G=ie(RegExp.prototype.test),se=q(TypeError);function ie(C){return function(R){R instanceof RegExp&&(R.lastIndex=0);for(var B=arguments.length,j=new Array(B>1?B-1:0),W=1;W2&&arguments[2]!==void 0?arguments[2]:S;e&&e(C,null);let j=R.length;for(;j--;){let W=R[j];if(typeof W=="string"){const te=B(W);te!==W&&(I(R)||(R[j]=te),W=te)}C[W]=!0}return C}function ze(C){for(let R=0;R/gm),H=_(/\$\{[\w\W]*/gm),ae=_(/^data-[\-\w.\u00B7-\uFFFF]+$/),K=_(/^aria-[\-\w]+$/),ve=_(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),we=_(/^(?:\w+script|data):/i),Be=_(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ne=_(/^html$/i),Ce=_(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xe=Object.freeze({__proto__:null,ARIA_ATTR:K,ATTR_WHITESPACE:Be,CUSTOM_ELEMENT:Ce,DATA_ATTR:ae,DOCTYPE_NAME:Ne,ERB_EXPR:tt,IS_ALLOWED_URI:ve,IS_SCRIPT_OR_DATA:we,MUSTACHE_EXPR:Ve,TMPLIT_EXPR:H});const Je={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},at=function(){return typeof window=="undefined"?null:window},ct=function(R,B){if(typeof R!="object"||typeof R.createPolicy!="function")return null;let j=null;const W="data-tt-policy-suffix";B&&B.hasAttribute(W)&&(j=B.getAttribute(W));const te="dompurify"+(j?"#"+j:"");try{return R.createPolicy(te,{createHTML(re){return re},createScriptURL(re){return re}})}catch(re){return console.warn("TrustedTypes policy "+te+" could not be created."),null}},Ie=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function mt(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:at();const R=pe=>mt(pe);if(R.version="3.2.6",R.removed=[],!C||!C.document||C.document.nodeType!==Je.document||!C.Element)return R.isSupported=!1,R;let{document:B}=C;const j=B,W=j.currentScript,{DocumentFragment:te,HTMLTemplateElement:re,Node:J,Element:oe,NodeFilter:ye,NamedNodeMap:Re=C.NamedNodeMap||C.MozNamedAttrMap,HTMLFormElement:De,DOMParser:Te,trustedTypes:Ue}=C,$e=oe.prototype,O=Me($e,"cloneNode"),ne=Me($e,"remove"),fe=Me($e,"nextSibling"),le=Me($e,"childNodes"),Ke=Me($e,"parentNode");if(typeof re=="function"){const pe=B.createElement("template");pe.content&&pe.content.ownerDocument&&(B=pe.content.ownerDocument)}let Ye,ut="";const{implementation:ft,createNodeIterator:vt,createDocumentFragment:_t,getElementsByTagName:Nt}=B,{importNode:Dt}=j;let Ze=Ie();R.isSupported=typeof t=="function"&&typeof Ke=="function"&&ft&&ft.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Et,ERB_EXPR:We,TMPLIT_EXPR:At,DATA_ATTR:St,ARIA_ATTR:it,IS_SCRIPT_OR_DATA:be,ATTR_WHITESPACE:n,CUSTOM_ELEMENT:i}=Xe;let{IS_ALLOWED_URI:a}=Xe,s=null;const g=ee({},[...o,...h,...d,...X,...Oe]);let v=null;const z=ee({},[...He,...je,...Fe,...Ae]);let ce=Object.seal(f(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,Pe=null,Se=!0,Le=!0,de=!1,ke=!0,qe=!1,ht=!0,pt=!1,wt=!1,bt=!1,rt=!1,Pt=!1,lt=!1,gt=!0,Ft=!1;const Gt="user-content-";let Ht=!0,Tt=!1,Ct={},Lt=null;const Vt=ee({},["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"]);let qt=null;const zt=ee({},["audio","video","img","source","image","track"]);let jt=null;const Xt=ee({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ut="http://www.w3.org/1998/Math/MathML",xt="http://www.w3.org/2000/svg",yt="http://www.w3.org/1999/xhtml";let Mt=yt,Bt=!1,m=null;const L=ee({},[Ut,xt,yt],A);let D=ee({},["mi","mo","mn","ms","mtext"]),Q=ee({},["annotation-xml"]);const ge=ee({},["title","style","font","a","script"]);let he=null;const Ee=["application/xhtml+xml","text/html"],Ge="text/html";let et=null,kt=null;const Kt=B.createElement("form"),Zt=function(y){return y instanceof RegExp||y instanceof Function},Yt=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(kt&&kt===y)){if((!y||typeof y!="object")&&(y={}),y=xe(y),he=Ee.indexOf(y.PARSER_MEDIA_TYPE)===-1?Ge:y.PARSER_MEDIA_TYPE,et=he==="application/xhtml+xml"?A:S,s=x(y,"ALLOWED_TAGS")?ee({},y.ALLOWED_TAGS,et):g,v=x(y,"ALLOWED_ATTR")?ee({},y.ALLOWED_ATTR,et):z,m=x(y,"ALLOWED_NAMESPACES")?ee({},y.ALLOWED_NAMESPACES,A):L,jt=x(y,"ADD_URI_SAFE_ATTR")?ee(xe(Xt),y.ADD_URI_SAFE_ATTR,et):Xt,qt=x(y,"ADD_DATA_URI_TAGS")?ee(xe(zt),y.ADD_DATA_URI_TAGS,et):zt,Lt=x(y,"FORBID_CONTENTS")?ee({},y.FORBID_CONTENTS,et):Vt,_e=x(y,"FORBID_TAGS")?ee({},y.FORBID_TAGS,et):xe({}),Pe=x(y,"FORBID_ATTR")?ee({},y.FORBID_ATTR,et):xe({}),Ct=x(y,"USE_PROFILES")?y.USE_PROFILES:!1,Se=y.ALLOW_ARIA_ATTR!==!1,Le=y.ALLOW_DATA_ATTR!==!1,de=y.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,qe=y.SAFE_FOR_TEMPLATES||!1,ht=y.SAFE_FOR_XML!==!1,pt=y.WHOLE_DOCUMENT||!1,rt=y.RETURN_DOM||!1,Pt=y.RETURN_DOM_FRAGMENT||!1,lt=y.RETURN_TRUSTED_TYPE||!1,bt=y.FORCE_BODY||!1,gt=y.SANITIZE_DOM!==!1,Ft=y.SANITIZE_NAMED_PROPS||!1,Ht=y.KEEP_CONTENT!==!1,Tt=y.IN_PLACE||!1,a=y.ALLOWED_URI_REGEXP||ve,Mt=y.NAMESPACE||yt,D=y.MATHML_TEXT_INTEGRATION_POINTS||D,Q=y.HTML_INTEGRATION_POINTS||Q,ce=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&Zt(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&Zt(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ce.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),qe&&(Le=!1),Pt&&(rt=!0),Ct&&(s=ee({},Oe),v=[],Ct.html===!0&&(ee(s,o),ee(v,He)),Ct.svg===!0&&(ee(s,h),ee(v,je),ee(v,Ae)),Ct.svgFilters===!0&&(ee(s,d),ee(v,je),ee(v,Ae)),Ct.mathMl===!0&&(ee(s,X),ee(v,Fe),ee(v,Ae))),y.ADD_TAGS&&(s===g&&(s=xe(s)),ee(s,y.ADD_TAGS,et)),y.ADD_ATTR&&(v===z&&(v=xe(v)),ee(v,y.ADD_ATTR,et)),y.ADD_URI_SAFE_ATTR&&ee(jt,y.ADD_URI_SAFE_ATTR,et),y.FORBID_CONTENTS&&(Lt===Vt&&(Lt=xe(Lt)),ee(Lt,y.FORBID_CONTENTS,et)),Ht&&(s["#text"]=!0),pt&&ee(s,["html","head","body"]),s.table&&(ee(s,["tbody"]),delete _e.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw se('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw se('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Ye=y.TRUSTED_TYPES_POLICY,ut=Ye.createHTML("")}else Ye===void 0&&(Ye=ct(Ue,W)),Ye!==null&&typeof ut=="string"&&(ut=Ye.createHTML(""));M&&M(y),kt=y}},er=ee({},[...h,...d,...V]),tr=ee({},[...X,...ue]),dr=function(y){let Z=Ke(y);(!Z||!Z.tagName)&&(Z={namespaceURI:Mt,tagName:"template"});const me=S(y.tagName),Qe=S(Z.tagName);return m[y.namespaceURI]?y.namespaceURI===xt?Z.namespaceURI===yt?me==="svg":Z.namespaceURI===Ut?me==="svg"&&(Qe==="annotation-xml"||D[Qe]):Boolean(er[me]):y.namespaceURI===Ut?Z.namespaceURI===yt?me==="math":Z.namespaceURI===xt?me==="math"&&Q[Qe]:Boolean(tr[me]):y.namespaceURI===yt?Z.namespaceURI===xt&&!Q[Qe]||Z.namespaceURI===Ut&&!D[Qe]?!1:!tr[me]&&(ge[me]||!er[me]):!!(he==="application/xhtml+xml"&&m[y.namespaceURI]):!1},Rt=function(y){b(R.removed,{element:y});try{Ke(y).removeChild(y)}catch(Z){ne(y)}},$t=function(y,Z){try{b(R.removed,{attribute:Z.getAttributeNode(y),from:Z})}catch(me){b(R.removed,{attribute:null,from:Z})}if(Z.removeAttribute(y),y==="is")if(rt||Pt)try{Rt(Z)}catch(me){}else try{Z.setAttribute(y,"")}catch(me){}},rr=function(y){let Z=null,me=null;if(bt)y=""+y;else{const nt=F(y,/^[\r\n\t ]+/);me=nt&&nt[0]}he==="application/xhtml+xml"&&Mt===yt&&(y=''+y+"");const Qe=Ye?Ye.createHTML(y):y;if(Mt===yt)try{Z=new Te().parseFromString(Qe,he)}catch(nt){}if(!Z||!Z.documentElement){Z=ft.createDocument(Mt,"template",null);try{Z.documentElement.innerHTML=Bt?ut:Qe}catch(nt){}}const ot=Z.body||Z.documentElement;return y&&me&&ot.insertBefore(B.createTextNode(me),ot.childNodes[0]||null),Mt===yt?Nt.call(Z,pt?"html":"body")[0]:pt?Z.documentElement:ot},nr=function(y){return vt.call(y.ownerDocument||y,y,ye.SHOW_ELEMENT|ye.SHOW_COMMENT|ye.SHOW_TEXT|ye.SHOW_PROCESSING_INSTRUCTION|ye.SHOW_CDATA_SECTION,null)},Qt=function(y){return y instanceof De&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof Re)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},ir=function(y){return typeof J=="function"&&y instanceof J};function Ot(pe,y,Z){c(pe,me=>{me.call(R,y,Z,kt)})}const ar=function(y){let Z=null;if(Ot(Ze.beforeSanitizeElements,y,null),Qt(y))return Rt(y),!0;const me=et(y.nodeName);if(Ot(Ze.uponSanitizeElement,y,{tagName:me,allowedTags:s}),ht&&y.hasChildNodes()&&!ir(y.firstElementChild)&&G(/<[/\w!]/g,y.innerHTML)&&G(/<[/\w!]/g,y.textContent)||y.nodeType===Je.progressingInstruction||ht&&y.nodeType===Je.comment&&G(/<[/\w]/g,y.data))return Rt(y),!0;if(!s[me]||_e[me]){if(!_e[me]&&sr(me)&&(ce.tagNameCheck instanceof RegExp&&G(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me)))return!1;if(Ht&&!Lt[me]){const Qe=Ke(y)||y.parentNode,ot=le(y)||y.childNodes;if(ot&&Qe){const nt=ot.length;for(let dt=nt-1;dt>=0;--dt){const It=O(ot[dt],!0);It.__removalCount=(y.__removalCount||0)+1,Qe.insertBefore(It,fe(y))}}}return Rt(y),!0}return y instanceof oe&&!dr(y)||(me==="noscript"||me==="noembed"||me==="noframes")&&G(/<\/no(script|embed|frames)/i,y.innerHTML)?(Rt(y),!0):(qe&&y.nodeType===Je.text&&(Z=y.textContent,c([Et,We,At],Qe=>{Z=U(Z,Qe," ")}),y.textContent!==Z&&(b(R.removed,{element:y.cloneNode()}),y.textContent=Z)),Ot(Ze.afterSanitizeElements,y,null),!1)},or=function(y,Z,me){if(gt&&(Z==="id"||Z==="name")&&(me in B||me in Kt))return!1;if(!(Le&&!Pe[Z]&&G(St,Z))){if(!(Se&&G(it,Z))){if(!v[Z]||Pe[Z]){if(!(sr(y)&&(ce.tagNameCheck instanceof RegExp&&G(ce.tagNameCheck,y)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(y))&&(ce.attributeNameCheck instanceof RegExp&&G(ce.attributeNameCheck,Z)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(Z))||Z==="is"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&G(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me))))return!1}else if(!jt[Z]){if(!G(a,U(me,n,""))){if(!((Z==="src"||Z==="xlink:href"||Z==="href")&&y!=="script"&&Y(me,"data:")===0&&qt[y])){if(!(de&&!G(be,U(me,n,"")))){if(me)return!1}}}}}}return!0},sr=function(y){return y!=="annotation-xml"&&F(y,i)},lr=function(y){Ot(Ze.beforeSanitizeAttributes,y,null);const{attributes:Z}=y;if(!Z||Qt(y))return;const me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:v,forceKeepAttr:void 0};let Qe=Z.length;for(;Qe--;){const ot=Z[Qe],{name:nt,namespaceURI:dt,value:It}=ot,Wt=et(nt),Jt=It;let st=nt==="value"?Jt:T(Jt);if(me.attrName=Wt,me.attrValue=st,me.keepAttr=!0,me.forceKeepAttr=void 0,Ot(Ze.uponSanitizeAttribute,y,me),st=me.attrValue,Ft&&(Wt==="id"||Wt==="name")&&($t(nt,y),st=Gt+st),ht&&G(/((--!?|])>)|<\/(style|title)/i,st)){$t(nt,y);continue}if(me.forceKeepAttr)continue;if(!me.keepAttr){$t(nt,y);continue}if(!ke&&G(/\/>/i,st)){$t(nt,y);continue}qe&&c([Et,We,At],ur=>{st=U(st,ur," ")});const cr=et(y.nodeName);if(!or(cr,Wt,st)){$t(nt,y);continue}if(Ye&&typeof Ue=="object"&&typeof Ue.getAttributeType=="function"&&!dt)switch(Ue.getAttributeType(cr,Wt)){case"TrustedHTML":{st=Ye.createHTML(st);break}case"TrustedScriptURL":{st=Ye.createScriptURL(st);break}}if(st!==Jt)try{dt?y.setAttributeNS(dt,nt,st):y.setAttribute(nt,st),Qt(y)?Rt(y):E(R.removed)}catch(ur){$t(nt,y)}}Ot(Ze.afterSanitizeAttributes,y,null)},mr=function pe(y){let Z=null;const me=nr(y);for(Ot(Ze.beforeSanitizeShadowDOM,y,null);Z=me.nextNode();)Ot(Ze.uponSanitizeShadowNode,Z,null),ar(Z),lr(Z),Z.content instanceof te&&pe(Z.content);Ot(Ze.afterSanitizeShadowDOM,y,null)};return R.sanitize=function(pe){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=null,me=null,Qe=null,ot=null;if(Bt=!pe,Bt&&(pe=""),typeof pe!="string"&&!ir(pe))if(typeof pe.toString=="function"){if(pe=pe.toString(),typeof pe!="string")throw se("dirty is not a string, aborting")}else throw se("toString is not a function");if(!R.isSupported)return pe;if(wt||Yt(y),R.removed=[],typeof pe=="string"&&(Tt=!1),Tt){if(pe.nodeName){const It=et(pe.nodeName);if(!s[It]||_e[It])throw se("root node is forbidden and cannot be sanitized in-place")}}else if(pe instanceof J)Z=rr(""),me=Z.ownerDocument.importNode(pe,!0),me.nodeType===Je.element&&me.nodeName==="BODY"||me.nodeName==="HTML"?Z=me:Z.appendChild(me);else{if(!rt&&!qe&&!pt&&pe.indexOf("<")===-1)return Ye&<?Ye.createHTML(pe):pe;if(Z=rr(pe),!Z)return rt?null:lt?ut:""}Z&&bt&&Rt(Z.firstChild);const nt=nr(Tt?pe:Z);for(;Qe=nt.nextNode();)ar(Qe),lr(Qe),Qe.content instanceof te&&mr(Qe.content);if(Tt)return pe;if(rt){if(Pt)for(ot=_t.call(Z.ownerDocument);Z.firstChild;)ot.appendChild(Z.firstChild);else ot=Z;return(v.shadowroot||v.shadowrootmode)&&(ot=Dt.call(j,ot,!0)),ot}let dt=pt?Z.outerHTML:Z.innerHTML;return pt&&s["!doctype"]&&Z.ownerDocument&&Z.ownerDocument.doctype&&Z.ownerDocument.doctype.name&&G(Ne,Z.ownerDocument.doctype.name)&&(dt=" `+dt),qe&&c([Et,We,At],It=>{dt=U(dt,It," ")}),Ye&<?Ye.createHTML(dt):dt},R.setConfig=function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yt(pe),wt=!0},R.clearConfig=function(){kt=null,wt=!1},R.isValidAttribute=function(pe,y,Z){kt||Yt({});const me=et(pe),Qe=et(y);return or(me,Qe,Z)},R.addHook=function(pe,y){typeof y=="function"&&b(Ze[pe],y)},R.removeHook=function(pe,y){if(y!==void 0){const Z=u(Ze[pe],y);return Z===-1?void 0:N(Ze[pe],Z,1)[0]}return E(Ze[pe])},R.removeHooks=function(pe){Ze[pe]=[]},R.removeAllHooks=function(){Ze=Ie()},R}var P=mt();function k(C,R){return P.sanitize(C,R)}r.default=k,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_28_8-alpha"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("experience/dataLayerObject/v/256_8_0",["exports","lwc/v/8_25_1","lightning/purifyLib/v/1_28_8-alpha"],function(r,t,e){"use strict";function I(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var w=I(e);const $={hidden:""},M={lwc:{dom:"manual"}};function _(N,S,A,F){const{shc:U,h:Y}=N;return[Y("div",{attrs:$,props:{innerHTML:F._rawHtml$0!==(F._rawHtml$0=S.scriptElement)?F._sanitizedHtml$0=U(S.scriptElement):F._sanitizedHtml$0},context:M,key:0})]}var f=t.registerTemplate(_);_.renderMode="light",_.stylesheets=[],_.stylesheetToken="lwc-64pqse1e4gn",_.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",t.freezeTemplate(_);const c=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function u(N){return typeof window=="undefined"?N:w.default(N,c)}class E extends t.LightningElement{constructor(...S){super(...S);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(S){this._scriptDataAttributes=S}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(S){this._catalogObjectId=S}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(S){this._catalogObjectType=S}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(S){this._catalogObjectAttributes=S}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(S){this._relatedCatalogObjects=S}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(S){this._customObject=S}get customObject(){return this._customObject}get scriptElement(){return this.scriptDataAttributes?.providerType&&(this.isCustomObject()||this.isCatalogObject())?``:""}scriptElementContent(){const S=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(S)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}E.renderMode="light",t.registerDecorators(E,{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"]});const b=t.registerComponent(E,{tmpl:f,sel:"experience-data-layer-object",apiVersion:66});r.default=b,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/256_8_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/app/v/1_66_1143-260_0",["exports","lwc/v/8_25_1","experience/dataLayerObject/v/256_8_0","webruntime/innerApp/v/1_66_1143-260_0","lwr/routerContainer/v/0_20_6","@salesforce/site/Id/v/1","@salesforce/webstore/Id/v/1","@app/templateDevName/v/1","webruntime/routingService/v/1_66_1143-260_0","webruntime/errors/v/1_66_1143-260_0"],function(r,t,e,I,w,$,M,_,f,p){"use strict";function l(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var c=l(e),u=l(I),E=l(w),b=l($),N=l(M),S=l(_);function A(T,x,G,se){const{c:ie}=T;return[ie("lwr-router-container",E.default,{props:{router:x.router},key:0},[ie("experience-data-layer-object",c.default,{props:{scriptDataAttributes:x.siteDataForDataLayer.scriptDataAttributes,customObject:x.siteDataForDataLayer.customObject},key:1}),ie("webruntime-inner-app",u.default,{props:{view:x.view,routerContainerView:x.routerContainerView,routeParams:x.routeParams},key:2})])]}var F=t.registerTemplate(A);A.renderMode="light",A.stylesheets=[],A.stylesheetToken="lwc-ag6063mqi2",A.legacyStylesheetToken="webruntime-app_app",t.freezeTemplate(A);class U extends t.LightningElement{constructor(x,G){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=f.router,this.view=x,this.routerContainerView=G,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:b.default,templateDevName:S.default,...N.default?{webstore:{id:N.default}}:{}}}}renderedCallback(){if(this.isInitialized)return;const x=this.querySelector("lwr-router-container");f.initializeRouterContainer(x),this.isInitialized=!0}errorCallback(x,G){if(p.reportError({subject:"app level error",error:x,wcstack:G}),process.env.SSR)throw x}disconnectedCallback(){this.isInitialized=!1}render(){return F}}U.renderMode="light",t.registerDecorators(U,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router"]});const Y=t.registerComponent(U,{tmpl:F,sel:"webruntime-app",apiVersion:66});r.default=Y,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/loader/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6"],function(r,t){"use strict";Object.defineProperty(r,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/assert/v/1_66_1143-260_0",["exports","webruntime/utils/v/1_66_1143-260_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-instrumentation/v/1_66_1143-260_0",["exports","webruntime/logger/v/1_66_1143-260_0","@communities-webruntime/common/v/1_66_1143-260_0","webruntime/assert/v/1_66_1143-260_0"],function(r,t,e,I){"use strict";function w(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var $=w(I);function M(o,h){return`${e.WEBRUNTIME_PREFIX}-${[o,h].filter(Boolean).join(":")}`}const{performance:_}=globalThis;function f(o){const h=JSON.stringify(o);return h&&JSON.parse(h)}function p(o,h,d){const V=M(o,h);_.mark(V,{detail:{ctx:f(d)}})}function l(o,h,d){p(o,h,d)}function c(o,h,d){p(o,h,d)}function u(o,h,d){const V=M(o,h);try{_.measure(V,{detail:{ctx:f(d)},start:V})}catch(X){t.logError(`[instrumentation] no startMark named ${V} found`,X.stack)}}function E(){return Date.now()}function b(o,h,d){}function N(o,h,d){}function S(o,h,d,V,X){}function A(o){}function F(o,h){}function U(o){return{logHits(h){},logMisses(h){},unRegister(){}}}function Y(o,h,d){}function T(o){}function x(o){}function G(o){}function se(o,h,d){}function ie(o){return{increment(h){},decrement(h){},getValue(){return 0},reset(){}}}function q(o){return{setValue(h){},getValue(){return 0},reset(){}}}function ee(o){return{update(h){},getValue(){return[]},reset(){}}}function ze(o){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class xe{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(h){if(!this._registry[h])throw new Error(`eventName ${h} isn't valid`)}register(h,d,V){return $.default(h&&typeof h=="string","eventName must be a valid string"),this._checkEventName(h),$.default(d&&typeof d=="string","listenerName must be a valid string"),$.default(typeof V=="function","callback must be provided"),this._registry[h].push({name:d,func:V})}unregister(h,d){this._checkEventName(h);const V=d-1;$.default(this._registry[h][V],`No listener found for ${h} with registration ID ${d}`),delete this._registry[h][V]}notify(h,d){this._checkEventName(h),this._registry[h].forEach(V=>V.func(d))}}const Me=new xe;r.counter=ie,r.disablePlugin=G,r.enablePlugin=x,r.error=Y,r.gauge=q,r.interaction=S,r.mark=l,r.markEnd=u,r.markStart=c,r.notifications=Me,r.percentileHistogram=ee,r.perfEnd=N,r.perfStart=b,r.registerCacheStats=U,r.registerPeriodicLogger=F,r.registerPlugin=A,r.removePeriodicLogger=T,r.time=E,r.timer=ze,r.trackScenario=se,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-storage/v/1_66_1143-260_0",["exports"],function(r){"use strict";var t={};r.default=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_1143-260_0",["exports","webruntime/logger/v/1_66_1143-260_0"],function(r,t){"use strict";const e="/services/data/v66.0",I={"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"},"CommerceCatalogManagementController.compositeCommerceVariationCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-variations",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceVariationInputRepresentation",method:"POST"},"CommerceCatalogManagementController.ProductAttributeSearch":{urlPath:e+"/commerce/management/search/product-variation-attributes",urlPathParamNames:[],method:"GET"},"CommerceCatalogSettingsController.getDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogSettingsController.replaceDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"displayableAttributeSettings",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"},"FilesController.getFileUploadConfig":{urlPath:e+"/connect/file/upload/config",urlPathParamNames:[],method:"GET"},"FilesController.createContentDocFromContentBody":{urlPath:e+"/connect/files/users/${userId}",urlPathParamNames:["userId"],inputRepresentation:"file",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.getSearchBoostBuryRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.createSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"boostBuryRuleInput",method:"POST"},"CommerceSearchController.deleteSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"DELETE"},"CommerceSearchController.getSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"GET"},"CommerceSearchController.getSearchIndexErrors":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index/${indexId}/errors",urlPathParamNames:["indexId","webstoreId"],method:"GET"},"CommerceSearchController.getManagementSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.putSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"sortRules",method:"PUT"},"CommerceSearchController.searchProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/search/product-search",urlPathParamNames:["webstoreId"],inputRepresentation:"productSearchInput",method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.createCommerceSearchIndex":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexLogs":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index-logs",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.getFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.replaceFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"facetableAttributeSettings",method:"PUT"},"CommerceSearchSettingsController.getSearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.modifySearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"searchableAttributeSettings",method:"PATCH"},"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"},"LightningTypesFamilyController.getTypes":{urlPath:e+"/connect/lightning-model/types",urlPathParamNames:[],inputRepresentation:"lightningModelTypes",method:"POST"},"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.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.cloneManagedContentDocument":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/clone",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"ManagedContentCloneInputParam",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.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.createManagedContentTranslationVariants":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/translate",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"languages",method:"POST"},"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.getManagedContentProviders":{urlPath:e+"/connect/cms/content/providers",urlPathParamNames:[],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.getManagedContentSingleItem":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/single-item-content/${contentTypeFQN}",urlPathParamNames:["contentSpaceId","contentTypeFQN"],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"},"ManagedContentChannelController.getManagedContentChannels":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],method:"GET"},"ManagedContentChannelController.postManagedContentChannel":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],inputRepresentation:"ManagedContentChannelInput",method:"POST"},"ManagedContentChannelController.deleteManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"DELETE"},"ManagedContentChannelController.getManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"GET"},"ManagedContentChannelController.patchManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],inputRepresentation:"ManagedContentChannelInput",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"},"ManagedContentSpaceController.getManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentSpaceController.patchManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],inputRepresentation:"spaceChannels",method:"PATCH"},"ManagedContentSpaceController.deleteDummySpace":{urlPath:e+"/connect/cms/spaces/dummy/",urlPathParamNames:[],method:"DELETE"},"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.getQuickActionInfo":{urlPath:e+"/ui-api/actions/quick-action-info/${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"},"ServicePlanController.executeServicePlan":{urlPath:e+"/service-plan/execute/${generatedPlanId}",urlPathParamNames:["generatedPlanId"],inputRepresentation:"servicePlanInputRepresentation",method:"PUT"},"ServicePlanController.generateSync":{urlPath:e+"/service-plan/generateSync/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"ServicePlanPostInput",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"},"MilestonesController.getBusinessHours":{urlPath:e+"/connect/milestones/business-hours",urlPathParamNames:[],method:"GET"},"MilestonesController.markMilestoneCompleted":{urlPath:e+"/connect/milestones/business-hours/milestone-completed",urlPathParamNames:[],method:"PUT"},"MilestonesController.getMilestonesDataManager":{urlPath:e+"/connect/milestones/milestones-data-manager/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"ICpqConnectFeatureController.productDetails":{urlPath:e+"/connect/cpq/products/${productId}",urlPathParamNames:["productId"],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.configure":{urlPath:e+"/connect/cpq/configurator/actions/configure",urlPathParamNames:[],method:"POST",inputRepresentation:"configuratorInput"},"ICpqConnectFeatureController.searchProductList":{urlPath:e+"/connect/cpq/products/search",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"IArcResourceFamilyController.amend":{urlPath:e+"/connect/revenue-management/assets/actions/amend",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.renew":{urlPath:e+"/connect/revenue-management/assets/actions/renew",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.cancel":{urlPath:e+"/connect/revenue-management/assets/actions/cancel",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"InstantPricingConnectFeatureController.getInstantPricing":{urlPath:e+"/industries/cpq/quotes/actions/get-instant-price",urlPathParamNames:[],method:"POST",inputRepresentation:"getInstantPricingRequestPayload"},"SalesTransactionContextController.placeSalesTransaction":{urlPath:e+"/connect/rev/sales-transaction/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceSalesTransactionInput"},"PlaceQuoteController.placeQuote":{urlPath:e+"/commerce/quotes/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceQuoteInput"},"CommerceOrderController.placeOrder":{urlPath:e+"/commerce/sales-orders/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"inputRequest"},"SalesAgreementProductController.updateSalesAgreement":{urlPath:e+"/connect/sales-agreements/${salesAgreementId}/product",urlPathParamNames:["salesAgreementId"],method:"PUT",inputRepresentation:"salesAgreementDetailInput"},"ConfiguratorResourceFamilyController.getProductFlowByProductId":{urlPath:e+"/connect/pcm/products/${productId}/flow",urlPathParamNames:["productId"],method:"GET"},"ICpqConnectFeatureController.bulkProductDetails":{urlPath:e+"/connect/cpq/products/bulk",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.productList":{urlPath:e+"/connect/cpq/products",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.guidedSelectionProductList":{urlPath:e+"/connect/cpq/products/guided-selection",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.categoryList":{urlPath:e+"/connect/cpq/categories",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"OmniAnalyticsController.fetchOmniAnalyticsMetadata":{urlPath:e+"/connect/omni-analytics/analytics-metadata",urlPathParamNames:["externalTrackingDefName","fetchSettings","groupName","isActive"],method:"GET"},"OmniAnalyticsController.storeOmniAnalyticsLogs":{urlPath:e+"/connect/omni-analytics/analytics-logs",urlPathParamNames:[],method:"POST",inputRepresentation:"omniAnalyticsLogDefinition"},"IFlexRuntimeConnectController.executeDataSource":{urlPath:e+"/connect/flex-runtime/executeDataSource",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceContinuation":{urlPath:e+"/connect/flex-runtime/datasource-continuation",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceAsync":{urlPath:e+"/connect/flex-runtime/datasource-async",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.isCommunity":{urlPath:e+"/connect/flex-runtime/isCommunity",urlPathParamNames:[],method:"GET"},"OmniStudioLoggerConnectController.logUsageEvents":{urlPath:e+"/connect/omnistudio/logger",urlPathParamNames:[],method:"POST",inputRepresentation:"omniStudioLogInputRepresentation"},"KnowledgeSummaryController.getKnowledgeSummary":{urlPath:e+"/connect/article/${recordId}/summary",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.getKnowledgeAnswer":{urlPath:e+"/connect/article/${recordId}/answer",urlPathParamNames:["recordId"],method:"POST",inputRepresentation:"knowledgeGetAnswerInput"},"KnowledgeQuestionsGenController.getKnowledgeQuestions":{urlPath:e+"/connect/article/${recordId}/questions",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.updateKnowledgeQuestion":{urlPath:e+"/connect/article/${recordId}/questions/${questionId}/selectioncount",urlPathParamNames:["recordId","questionId"],method:"PUT"},"ServiceAutomationFamilyController.getCatalogItem":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"ServiceAutomationFamilyController.getCatalogItemForRuntime":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"MobilePublisherContainerOneTimeLoginUrlFamilyController.getMobilePublisherContainerOneTimeLoginUrl":{urlPath:e+"/connect/mobilepublisher/container/oneTimeLoginUrl",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getAvailableResources":{urlPath:e+"/connect/appointmentbooking/available-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getServiceTerritories":{urlPath:e+"/connect/appointmentbooking/service-territories",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getEctDetails":{urlPath:e+"/connect/appointmentbooking/get-ect-details",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getSuggestedResources":{urlPath:e+"/connect/appointmentbooking/suggested-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getRelatedServiceResource":{urlPath:e+"/connect/appointmentbooking/related-service-resource",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getOrgPreferences":{urlPath:e+"/connect/appointmentbooking/org-preferences",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getAppointmentSlots":{urlPath:e+"/connect/appointmentbooking/get-appointment-slots",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getWorkTypeGroups":{urlPath:e+"/connect/appointmentbooking/work-type-groups",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getResourcesNextAvailability":{urlPath:e+"/connect/appointmentbooking/resources-next-availability",urlPathParamNames:[],method:"POST"},"SearchController.suggest":{urlPath:e+"/connect/search/suggestions",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentPaymentDetails":{urlPath:e+"/connect/scheduling/appointment-payment-details",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentFromToken":{urlPath:e+"/connect/scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getSchedulingPolicyDetails":{urlPath:e+"/connect/appointmentbooking/scheduling-policy-details",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getFieldsFromPageLayout":{urlPath:e+"/connect/unified-scheduling/actions/get-fields-from-page-layout",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getOrgSettings":{urlPath:e+"/connect/common-scheduling/org-settings",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSchedulingPolicyDetails":{urlPath:e+"/connect/unified-scheduling/actions/get-scheduling-policy-details",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSuggestedResources":{urlPath:e+"/connect/scheduling/suggested-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getRelatedServiceResource":{urlPath:e+"/connect/unified-scheduling/related-service-resource",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getWorkTypes":{urlPath:e+"/connect/unified-scheduling/actions/get-work-types",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getEctDetails":{urlPath:e+"/connect/unified-scheduling/get-ect-details",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getServiceTerritoriesByLocation":{urlPath:e+"/connect/unified-scheduling/actions/get-service-territories-by-location",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getAvailableResources":{urlPath:e+"/connect/unified-scheduling/actions/get-available-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAvailableSlots":{urlPath:e+"/connect/unified-scheduling/actions/get-available-slots",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAppointmentFromToken":{urlPath:e+"/connect/unified-scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"EnablementMeasureConnectController.createEnablementMeasure":{urlPath:e+"/connect/enablement/measures",urlPathParamNames:[],inputRepresentation:"measure",method:"POST"},"EnablementMeasureConnectController.updateEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measure",method:"PUT"},"EnablementMeasureConnectController.updateEnablementMeasureStatus":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measureStatus",method:"PATCH"},"EnablementMeasureConnectController.getEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"GET"},"EnablementMeasureConnectController.deleteEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"DELETE"},"EnablementProgramController.describeEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}/describe",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.createEnablementProgram":{urlPath:e+"/connect/enablement/programs",urlPathParamNames:[],inputRepresentation:"enablementProgram",method:"POST"},"EnablementProgramController.updateEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgram",method:"PATCH"},"EnablementProgramController.retrieveEnablementProgram":{urlPath:e+"/connect/enablement/program/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.enroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}/actions/enroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.unenroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}/actions/unenroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.updateEnablementProgramStatus":{urlPath:e+"/connect/enablement/programs/status/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgramStatus",method:"POST"},"EnablementProgramController.assignedEnablementProgramSummaryForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/assigned",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.assignedEnablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/assigned",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getProgramSummaryCollectionForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/collection",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.getProgramSummaryCollection":{urlPath:e+"/connect/enablement/program/summary/collection",urlPathParamNames:[],method:"GET"},"EnablementProgramController.enablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementMeasureConnectController.getContributingRecordsInfoForMilestone":{urlPath:e+"/connect/enablement/contributing-records/taskMeasureProgress/${taskMeasureProgressId}",urlPathParamNames:["taskMeasureProgressId"],method:"GET"},"EnablementMeasureConnectController.triggerOnDemandComputation":{urlPath:e+"/connect/enablement/on-demand-computation/programs/${programId}",urlPathParamNames:["programId"],method:"PATCH"},"EnablementProgramController.getEnablementProgramTemplateList":{urlPath:e+"/connect/enablement/programTemplate",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getEnablementProgramTemplate":{urlPath:e+"/connect/enablement/programTemplate/${programTemplateName}",urlPathParamNames:["programTemplateName"],method:"GET"},"LearningContentPlatformController.submitForCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/ai-feedback",urlPathParamNames:[],inputRepresentation:"coachingAICallSubmissionInputRepresentation",method:"POST"},"LearningContentPlatformController.getCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/${learningItemSubmissionId}/ai-feedback",urlPathParamNames:["learningItemSubmissionId"],method:"GET"},"LearningContentPlatformController.submitForCoachingMomentsProductPitchFeedback":{urlPath:e+"/learning-content-platform/coaching/moments/ai-product-pitch-feedback",urlPathParamNames:[],inputRepresentation:"coachingAIProductPitchFeedbackInputRepresentation",method:"POST"},"LearningContentPlatformController.evaluateLearningItem":{urlPath:e+"/connect/learning-platform/learning-item/${learningItemId}/actions/evaluate",urlPathParamNames:["learningItemId"],inputRepresentation:"evaluateLearningItemInputRepresentation",method:"POST"},"LearningContentPlatformController.getFeaturedItemsRecommendedList":{urlPath:e+"/learning-content-platform/featured-item/list/recommended",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getFeaturedItemsRelatedList":{urlPath:e+"/learning-content-platform/featured-item/list/related",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningConfig":{urlPath:e+"/learning-content-platform/learning/config",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemsList":{urlPath:e+"/learning-content-platform/learning/item/list",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemProgress":{urlPath:e+"/learning-content-platform/learning/item/progress",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningModel":{urlPath:e+"/learning-content-platform/learning/model/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getModule":{urlPath:e+"/learning-content-platform/learning/module/${moduleId}",urlPathParamNames:["moduleId"],method:"GET"},"LearningContentPlatformController.getLearningPractice":{urlPath:e+"/learning-content-platform/learning/practice/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getTextLesson":{urlPath:e+"/learning-content-platform/learning/textlesson/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"ServiceAutomationFamilyController.getServiceRequest":{urlPath:e+"/connect/service-automation/service-request/service-catalog-request/${serviceRequestId}",urlPathParamNames:["serviceRequestId"],method:"GET"},"ServiceEmployeeController.getEmpEnablementPrograms":{urlPath:e+"/connect/employee/enablement/programs",urlPathParamNames:[],method:"GET"}};function w($){const M=I[$];return M||t.log(`[getResourceReferenceFromAuraMethod] aura controller mapping returned empty for '${$}'`),M}r.getResourceReferenceFromAuraMethod=w,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/apiCall/v/1_66_1143-260_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1143-260_0","webruntime/transport/v/1_66_1143-260_0","webruntime/errors/v/1_66_1143-260_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1_66_1143-260_0","@communities-webruntime/common/v/1_66_1143-260_0"],function(r,t,e,I,w,$,M){"use strict";function _(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var f=_(w);async function p(A,F){const[U,Y]=A.split(".");if(U==="ApexActionController")return c(Y,F);const T=t.getResourceReferenceFromAuraMethod(A);if(T)return l(T,F);throw new Error(`Unsupported controller action: ${U}.${Y}`)}async function l({urlPath:A,urlPathParamNames:F,method:U,inputRepresentation:Y},T){const x=T&&{...T}||{};let G=F.reduce((ee,ze)=>{const xe=x[ze];return delete x[ze],ee.replace(`\${${ze}}`,encodeURIComponent(xe))},A),se;(U==="POST"||U==="PATCH"||U==="PUT")&&x[Y]&&(se=JSON.stringify(x[Y]),delete x[Y]),Object.keys(x).length&&(G+=`?${Object.entries(x).filter(([,ee])=>ee!=null&&(!Array.isArray(ee)||ee.length)).map(([ee,ze])=>`${encodeURIComponent(ee)}=${encodeURIComponent(ze)}`).join("&")}`);const ie=await e.fetch(G,{method:U,body:se});let q;if(ie.status===401&&b(),ie.status!==204&&(q=await ie.json()),q instanceof Array&&(q=q[0]),!ie.ok){const ee={status:ie.status,data:{...q,statusCode:ie.status}};throw S([ee])}return N(q)}async function c(A,F){if(A==="execute"){const{url:U,httpRequestOptions:Y}=u(A,F);return e.fetch(U,Y).then(T=>(T.status===401&&b(),T.status!==204?T.json():void 0)).then(T=>{if(T&&T.error&&T.error.length>0)throw S(T.error);return N(T)})}throw new Error(`Unsupported Apex action: ${A}`)}function u(A,F){if((!F||typeof F!="object"||Object.keys(F).length===0)&&I.reportError({subject:"Apex API action error - invalid params",type:M.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${A} action called with invalid params: '${JSON.stringify(F)}'.`)}),F&&F.cacheable===!0){const U=`/apex/${A}?${E(F)}`;if(U.length<=M.MAX_URL_LENGTH)return{url:U,httpRequestOptions:{method:"GET",basePath:f.default}}}return{url:`/apex/${A}`,httpRequestOptions:{method:"POST",body:JSON.stringify(F),basePath:f.default}}}function E(A){const F={...A},U=F.params;if(U&&typeof U=="object"){const Y=Object.keys(U).sort().reduce((T,x)=>(T[x]=U[x],T),{});F.params=JSON.stringify(Y)}return Object.keys(F).filter(Y=>F[Y]!==void 0&&F[Y]!=null).sort().map(Y=>`${Y}=${encodeURIComponent(F[Y])}`).join("&")}function b(){$.SessionTimeoutOverrides.runSync()}function N(A){return{getReturnValue:()=>A}}function S(A){return{getError:()=>A}}r.apiCallRawResponse=p,r.formatApexRequest=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura/v/1_66_1143-260_0",["exports","webruntime/apiCall/v/1_66_1143-260_0","webruntime/logger/v/1_66_1143-260_0"],function(r,t,e){"use strict";function I(f){if(f&&f.__esModule)return f;var p=Object.create(null);return f&&Object.keys(f).forEach(function(l){if(l!=="default"){var c=Object.getOwnPropertyDescriptor(f,l);Object.defineProperty(p,l,c.get?c:{enumerable:!0,get:function(){return f[l]}})}}),p.default=f,Object.freeze(p)}var w=I(e);const $=null,M=null,_=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return t.apiCallRawResponse}}),r.logger=w,r.createComponent=$,r.getDefinition=_,r.renderComponent=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/service/v/1_66_1143-260_0",["exports","aura-instrumentation/v/1_66_1143-260_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/utility/v/1_66_1143-260_0",["exports","aura-instrumentation/v/1_66_1143-260_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/configProvider/v/1_66_1143-260_0",["exports","@app/basePath/v/1","lwc/v/8_25_1"],function(r,t,e){"use strict";function I(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}var w=I(t);const $=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,M=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,_="HH:mm:ss.SSS",f="YYYY-MM-DD",p="T",l=/(Z|([+-])(\d{2}):(\d{2}))$/;function c(O){return b(O)&&S(O)}function u(O){if(!N(O))return!1;const ne=E(O);return S(`2018-09-09T${ne}Z`)}function E(O){return typeof O=="string"?O.split(l)[0]:O}function b(O){return typeof O!="string"?!1:$.test(O)}function N(O){return typeof O!="string"?!1:M.test(O)}function S(O){const ne=Date.parse(O);return isFinite(ne)}var A=void 0;const F="in a few seconds",U="a few seconds ago",Y="in {0} {1}",T="{0} {1} ago",x="s",G={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"}},se=1e3,ie=6e4,q=36e5,ee=864e5;class ze{constructor(ne){if(this.milliseconds=0,typeof ne!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, but we are getting the ${typeof ne} value "${ne}" instead. `);return}this.isValid=!0,this.milliseconds=ne}humanize(ne){if(!this.isValid)return"";const fe=o(this);return fe===G.SECONDS?this.milliseconds>0?F:U:h(ne,this.asIn(fe),fe.name)}asIn(ne){switch(ne){case G.SECONDS:return Math.round(this.milliseconds/se);case G.MINUTES:return Math.round(this.milliseconds/ie);case G.HOURS:return Math.round(this.milliseconds/q);case G.DAYS:return Math.round(this.milliseconds/ee);case G.MONTHS:return Math.round(Me(this.milliseconds/ee));case G.YEARS:default:return Math.round(Me(this.milliseconds/ee)/12)}}}const xe=e.registerComponent(ze,{tmpl:A,sel:"lightning-config-provider",apiVersion:66});function Me(O){const ne=4800/146097;return O*ne}function o(O){const ne=Object.keys(G).find(fe=>{const le=G[fe];return le===G.YEARS||Math.abs(O.asIn(le))0?Y:T;return V(Ke,fe,le)}function V(O,...ne){return O.replace(/{(\d+)}/g,(fe,le)=>ne[le])}const X=["January","February","March","April","May","June","July","August","September","October","November","December"],ue={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},Oe={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},He={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function je(O,ne){let fe=!1,le=O;return typeof O=="string"&&(le=O.split(p)[0],fe=!0),k(le,ne,fe)}function Fe(O,ne){return k(O,ne,!0)}function Ae(O,ne){if(!R(O))return new Date("");const fe=(O.getHours()+11)%12+1,le=O.getHours()>=12?"PM":"AM";switch(ne){case _:return`${re(O.getHours())}:${re(O.getMinutes())}:${re(O.getSeconds())}.${J(O.getMilliseconds())}`;case Oe.short:return`${fe}:${re(O.getMinutes())} ${le}`;case Oe.medium:case Oe.long:default:return`${fe}:${re(O.getMinutes())}:${re(O.getSeconds())} ${le}`}}function Ve(O){if(!R(O))return new Date("");const ne=new Date(O.getTime());return`${Fe(ne)}, ${Ae(j(ne))}`}function tt(O){let ne=null,fe=!0;if(u(O)?ne=`2014-03-20T${B(O)}`:c(O)&&(O.indexOf(p)>0?(ne=B(O),fe=!1):ne=`${O}T00:00:00.000Z`),ne){const le=new Date(ne);return fe&&j(le),le}return null}function H(O,ne){return ne===f&&c(O)?tt(O):Object.values(ue).includes(ne)?P(O,ne):Object.values(He).includes(ne)?mt(O):null}function ae(O){return tt(B(O))}function K(O,ne,fe){const le=te(O),Ke=te(ne);return!le||!Ke?!1:C(le,fe).getTime()C(Ke,fe).getTime()}function we(O,ne,fe){const le=new Date(O.getTime());fe(W(le))}function Be(O,ne,fe){const le=new Date(O.getTime());fe(j(le))}function Ne(O){return O}function Ce(O){return O}function Xe(O){return O}function Je(O){return O}function at(){return{format:O=>(console.warn(`The current environment does not support large numbers and the original value of ${O} will be returned.`),O)}}function ct(O){return new xe(O*60*1e3)}function Ie(O){return O.humanize("en")}function mt(O){const ne=O.trim().split(/[:.\s*]/),fe=ne.length;if(!ne||fe<2||fe>5)return null;const le=ne[fe-1],Ke=le.toLowerCase()==="am",Ye=le.toLowerCase()==="pm";ne.splice(-1,1);const ut=ne.every(Et=>!isNaN(Et));if(!Ye&&!Ke||!ut)return null;const ft=ne[0],vt=re(Ye?ft%12+12:ft%12),_t=fe>=3&&ne[1]||"0",Nt=fe>=4&&ne[2]||"0",Dt=fe===5&&ne[3]||"0",Ze=new Date("2014-03-20");return Ze.setHours(vt,_t,Nt,Dt),R(Ze)?Ze:null}function P(O,ne){let fe=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(ne){case ue.short:fe=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case ue.long:fe=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const le=fe.exec(O.trim());if(!le)return null;let Ke=le[1];const Ye=le[2],ut=le[3];ne!==ue.short&&(Ke=X.findIndex(_t=>_t.toLowerCase().includes(Ke.toLowerCase())),Ke+=1);const ft=`${ut}-${re(Ke)}-${re(Ye)}`,vt=new Date(`${ft}T00:00:00.000Z`);return R(vt)?j(vt):null}function k(O,ne,fe){const le=te(O);if(!le)return new Date("");switch(fe&&R(O)&&j(le),ne){case f:return`${le.getFullYear()}-${re(le.getMonth()+1)}-${re(le.getDate())}`;case ue.short:return`${le.getMonth()+1}/${le.getDate()}/${le.getFullYear()}`;case ue.long:return`${X[le.getMonth()]} ${le.getDate()}, ${le.getFullYear()}`;case ue.medium:default:return`${X[le.getMonth()].substring(0,3)} ${le.getDate()}, ${le.getFullYear()}`}}function C(O,ne){switch(ne){case"day":O.setHours(0),O.setMinutes(0);case"minute":O.setSeconds(0),O.setMilliseconds(0);break}return O}function R(O){return Object.prototype.toString.call(O)==="[object Date]"&&!isNaN(O.getTime())}function B(O){return`${E(O)}Z`}function j(O){return O.setMinutes(O.getMinutes()+O.getTimezoneOffset()),O}function W(O){return O.setMinutes(O.getMinutes()-O.getTimezoneOffset()),O}function te(O){return O?R(O)?new Date(O.getTime()):isFinite(O)&&(typeof O=="number"||typeof O=="string")?new Date(parseInt(O,10)):typeof O=="string"?tt(O):null:null}function re(O){return Number(O)<10?`0${O}`:O}function J(O){return Number(O)<10?`00${O}`:Number(O)<100?`0${O}`:O}var oe={formatDate:je,formatDateUTC:Fe,formatTime:Ae,formatDateTimeUTC:Ve,parseDateTimeISO8601:tt,parseDateTime:H,parseDateTimeUTC:ae,isBefore:K,isAfter:ve,UTCToWallTime:we,WallTimeToUTC:Be,translateToOtherCalendar:Ne,translateFromOtherCalendar:Ce,translateToLocalizedDigits:Xe,translateFromLocalizedDigits:Je,getNumberFormat:at,duration:ct,displayDuration:Ie};function ye(){return oe}function Re(){return w.default}function De(){return null}function Te(){return null}function Ue(){return{densitySetting:""}}var $e={getOneConfig:Ue,getIconSvgTemplates:Te,getToken:De,getPathPrefix:Re,getLocalizationService:ye};r.default=$e,r.getIconSvgTemplates=Te,r.getLocalizationService=ye,r.getOneConfig=Ue,r.getPathPrefix=Re,r.getToken=De,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/navigation/v/0_20_6",["exports","lwr/navigationContext/v/0_20_6","lwr/currentPageReference/v/0_20_6","lwr/currentView/v/0_20_6","lwr/contextUtils/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/navigationMixinHacks/v/0_20_6"],function(r,t,e,I,w,$,M){"use strict";function _(S,A,F,U){w.getNavigationHelm(S).navigate(A,F,U)}function f(S,A,F){return w.getNavigationHelm(S).generateUrl(A,F)}function p(S,A,F){return w.getNavigationHelm(S).generateUrlAsync(A,F)}const l=Symbol("Navigate"),c=Symbol("GenerateUrl"),u=Symbol("NavContext"),E=Symbol("NavContext"),b=typeof window=="undefined";function N(S){$.invariant(typeof S.prototype.dispatchEvent=="function",$.messages.INVALID_MIXIN_CMP,[S.toString()]);class A extends S{[E](){if(!this[u]&&(this.dispatchEvent(new CustomEvent(M.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:U=>{this[u]=U}}})),!this[u]))throw new Error($.generateMessage($.messages.MISSING_CONTEXT))}[l](U,Y,T){b||(this[E](),_(this[u],U,Y,T))}async[c](U,Y){return b?null:(this[E](),p(this[u],U,Y))}}return A}N.Navigate=l,N.GenerateUrl=c,N.NavContext=u,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return I.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return w.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return w.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return w.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return w.registerNavigationHelm}}),r.NavigationMixin=N,r.generateUrl=f,r.navigate=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/f6Controller/v/1_66_1143-260_0",["exports"],function(r){"use strict";const t=300,{document:e}=globalThis,I={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},w=p=>p&&(p.shadowRoot?p.shadowRoot.activeElement?w(p.shadowRoot.activeElement):p:p.activeElement?w(p.activeElement):p);class ${constructor(l={}){this.regions=[],this.config=I,this._debounceKeyDownHandler=void 0,this._styleElement=void 0,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=c=>{this.clearRegionHighlights();const{key:u,ctrlKey:E,metaKey:b}=c;u===this.config.navKey&&(E||b)&&(this.populateRegions(),this.handleNavigation(c))},this.elementFilter=c=>c.parentElement&&c.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:c.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(c)&&!this.isEmpty(c)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),t),this.initialize(l)}debounce(l,c,u){const E=u||{};let b=E.leading,N;return function(){const A=Array.prototype.slice.apply(arguments);b&&(l.apply(this,A),b=!1),clearTimeout(N),N=setTimeout(function(){l.apply(this,A),b=E.leading},c)}}appendStyleElement(){this._styleElement=e.createElement("style");const l=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${l} { position: relative; } ${l}::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"),e.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(l=>{l.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(l){l.classList.add(this.config.f6RegionHighlightClass)}focusIn(l){const c=l.querySelector('a[href],button:not([disabled]),input:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');c?c.focus():(l.tabIndex="-1",l.focus())}handleNavigation(l){if(l.preventDefault(),!this.regions.length)return;const c=l.shiftKey,u=this.getElementRegionIndex(w(l.target)),E=this.getNextRegionIndex(u,c);if(E===-1)return;const b=this.regions[E];this.focusIn(b),this.addRegionHighlight(b)}shadowContains(l,c){return l===c||l.contains(c)||l.shadowRoot&&this.isElementInContainerElements(l.shadowRoot.children,c)||l.tagName==="SLOT"&&this.isElementInContainerElements(l.assignedElements(),c)?!0:this.isElementInContainerElements(l.children,c)}isElementInContainerElements(l,c){if(!l||!l.length)return!1;const u=l.length;for(let E=0;Ethis.shadowContains(c,l))}getNextRegionIndex(l,c){const u=this.regions.length-1;return u<0?-1:c?l<=0?u:l-1:l===u?0:l+1}isVisible(l){if(l===e.body||!(l instanceof Element))return!0;try{const c=window.getComputedStyle(l)||l.style;if(!c)return!1;const{display:u,visibility:E}=c;return u&&u.toLowerCase()==="none"||E&&E.toLowerCase()==="hidden"?!1:this.isVisible(l.parentNode)}catch(c){return!1}}isEmpty(l){if(l.tagName==="SLOT"&&!this.isEmptyChildren(l.assignedElements()))return!1;let c=l.children;return(!c||!c.length)&&l.shadowRoot&&(c=l.shadowRoot.children),this.isEmptyChildren(c)}isEmptyChildren(l){if(!l||!l.length)return!0;const c=l.length;for(let u=0;u(M||(M=new $(p)),M),f=()=>{if(M){const p=M.getConfig();if(p)return p.f6RegionAttribute}};r.DEFAULT_CONFIG=I,r.F6Controller=$,r.createF6Controller=_,r.getActiveElem=w,r.getCurrentRegionAttributeName=f,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/f6Controller/v/1_66_1143-260_0",["exports","webruntime/f6Controller/v/1_66_1143-260_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/environment/v/0_20_6",["exports"],function(r){"use strict";const t=globalThis?.LWR?.env||{},e=t&&(t.SSR==="true"||t.SSR===!0),I=t&&t.basePath,w=t&&t.locale,$=t&&t.assetBasePath,M=t&&t.uiBasePath;r.assetBasePath=$,r.basePath=I,r.isServer=e,r.locale=w,r.uiBasePath=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("transport/v/1_66_1143-260_0",["exports","webruntime/transport/v/1_66_1143-260_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/cookieStore/v/1_66_1143-260_0",["exports","@app/authenticationCookieName/v/1","@app/guestUuidCookieName/v/1","@salesforce/site/Id/v/1"],function(r,t,e,I){"use strict";function w(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var $=w(t),M=w(e),_=w(I);let f;function p(A){A&&typeof A=="object"&&(f=A)}function l(A){f=S(A)}function c(){const A=N($.default);return A?A==="1"||A.includes(_.default):!1}function u(){return N(M.default)}function E(){return f}function b(){return Object.entries(f||{}).map(([A,F])=>`${A}=${F}`).join(";")}function N(A){return A?(typeof document!="undefined"&&l(document?.cookie),f&&f[A]):null}function S(A){return A&&typeof A=="string"?A.split(";").reduce((U,Y)=>{const[T,x]=Y.trim().split("=").map(decodeURIComponent);return U[T]=x,U},{}):null}r.getAllCookies=E,r.getAllCookiesString=b,r.getCookie=N,r.getGuestUuidCookie=u,r.hasSidCookie=c,r.setCookiesFromObject=p,r.setCookiesFromString=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/cookieStore",["exports","webruntime/cookieStore/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/persistentQueryParams/v/1_66_1143-260_0",["exports"],function(r){"use strict";const t={};r.persistentQueryParams=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/persistentQueryParams",["exports","webruntime/persistentQueryParams/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/transport/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/persistentQueryParams/v/1_66_1143-260_0","webruntime/utils/v/1_66_1143-260_0","@communities-webruntime/common/v/1_66_1143-260_0","webruntime/cookieStore/v/1_66_1143-260_0","@app/isDesignMode/v/1","@app/isPreviewMode/v/1","lwc/v/8_25_1"],function(r,t,e,I,w,$,M,_,f,p,l,c){"use strict";function u(H){return H&&typeof H=="object"&&"default"in H?H:{default:H}}var E=u(e),b=u(I),N=u(w),S=u(p),A=u(l),F=void 0;class U{constructor(ae){const[K,ve]=ae.split("?");this.path=K,this.searchParams=new URLSearchParams(ve)}setParamDefaultValue(ae,K){return this.searchParams.has(ae)||this.searchParams.append(ae,K),this}build(){const ae=this.searchParams.toString();return this.path+(ae?`?${ae}`:"")}}const Y=c.registerComponent(U,{tmpl:F,sel:"webruntime-transport",apiVersion:66}),T=["POST","PATCH","PUT","DELETE"],x="X-SFDC-Request-Id",G="X-Salesforce-Too-Many-Requests",se="X-CSP",ie="asGuest",q="language",ee="htmlEncode",{location:ze,navigator:xe}=globalThis,Me=new Set;function o(H){typeof H=="function"&&Me.add(H)}function h(H){Me.delete(H)}async function d(H,ae={}){M.assert(typeof H=="string","Valid path not provided for fetch request");const K={...ae,headers:{...ae.headers},credentials:ae.credentials||"same-origin"};ae.credentials===null&&delete K.credentials,typeof window=="undefined"&&f.getGuestUuidCookie()&&(K.headers.cookie=f.getAllCookiesString());const ve=K.isNonApiRequest===!0,we=K.asGuest===!0||tt(),Be=K.basePath!==void 0?K.basePath:b.default,Ne=new Y(ze?new URL(Be+H,ze).toString():Be+H);ve||(Ne.setParamDefaultValue(q,N.default).setParamDefaultValue(ie,we).setParamDefaultValue(ee,!1),Object.entries($.persistentQueryParams).forEach(([Je,at])=>{Ne.setParamDefaultValue(Je,at)}));const Ce=K.headers["Content-Type"];Ce===null?delete K.headers["Content-Type"]:Ce?K.headers["Content-Type"]=Ce:ae.body&&(K.headers["Content-Type"]="application/json; charset=utf-8"),K.headers[x]=Fe(),await He(K);const Xe=await globalThis.fetch(Ne.build(),K);return Me.forEach(Je=>Je(Xe)),ue(Xe)&&V(),Xe}function V(){typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("client-error",{detail:{type:_.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function X(H){return!!(H.headers.get(G)||(H.headers.get(se)||"").toLowerCase()==="rejected")}function ue(H){return!!((H.status===503||H.status===429)&&X(H))}function Oe(H){return H.status===503&&!X(H)}async function He(H){if(!T.includes(H.method))return;const{csrfToken:ae}=await Ve();ae&&(H.headers["CSRF-Token"]=ae)}async function je({path:H,payload:ae,contentType:K}){const ve=E.default+H;xe&&xe.sendBeacon&&xe.sendBeacon(ve,ae)||await globalThis.fetch(H,{headers:{"Content-Type":K},basePath:E.default,body:ae,method:"POST",isNonApiRequest:!0})}function Fe(){return(Date.now()+Ae()+Math.round(Math.random()*1e8)).substring(0,18)}function Ae(){function H(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return H()+H()}async function Ve(){if(typeof window=="undefined")return{isGuest:!0,id:null,csrfToken:null};const{default:H}=await t.load("@app/user/v/1");return H}function tt(){return S.default||A.default?!1:!f.hasSidCookie()}r.addFetchObserver=o,r.fetch=d,r.isDownForMaintenanceResponse=Oe,r.isTooManyRequestsResponse=ue,r.removeFetchObserver=h,r.sendBeacon=je,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("logger/v/1_66_1143-260_0",["exports"],function(r){"use strict";function t(...I){console.log(...I)}function e(...I){console.error(...I)}r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("assert/v/1_66_1143-260_0",["exports","webruntime/utils/v/1_66_1143-260_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y/shared/v/258_16_0",["exports"],function(r){"use strict";class t{constructor(){this.notImplemented="Method not implemented.";const o=typeof performance!="undefined";o?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const h=this._timeOrigin;o&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const d=this.perfNow();return{tsNow:h+d,perfNow:d,timeOrigin:h}}):(this.perfNow=()=>Date.now()-h,this.time=()=>{const d=this.perfNow();return{tsNow:Date.now(),perfNow:d,timeOrigin:h}})}get isProduction(){return t._isProduction}markProduction(o){t._isProduction=o??!0}_checkArgument(o,h){if(typeof h=="string")return typeof o===h;if(typeof h=="function")return o instanceof h;if(Array.isArray(h))return h.some(d=>this._checkArgument(o,d));throw new Error(`Invalid argKind ${h}`)}requireArgument(o,h,d){let V=o==null||o==="";const X=d!==void 0;if(!V&&X&&(V=!this._checkArgument(o,d)),V)throw new Error(`${h} argument is required${X?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(o,h,d){if(o===void 0)return!1;if(o===null||o===""||!this._checkArgument(o,d))throw new Error(`${h} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(o,h,d){if(d.some(V=>o===V))throw new Error(`The value ${o} isn't allowed for ${h} argument.`)}checkForReservedCharacters(o,h,d){if(o&&d.some(V=>o.indexOf(V)>=0))throw new Error(`The argument ${h} isn't allowed to contain characters from ['${d.join(", ")}']. Received: ${o}.`)}generateUniqueId(o=16){const h=[],d="0123456789abcdef";if(!(o===void 0||o>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let V=0;V1||h(X)?`${X.localName.toLowerCase()}[${d(X)}]`:X.localName.toLowerCase();return[...V(X.parentNode),ue]}return V(o).join("/")}getAge(o){return o-this._timeOrigin}getConnectionType(){var o;let h;if(typeof navigator!="undefined"){const d=navigator;h=(o=d==null?void 0:d.connection)===null||o===void 0?void 0:o.effectiveType}return h}clone(o){return JSON.parse(JSON.stringify(o))}definedValueOrDefault(o,h){return o!==void 0?o:h}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var o;const h=this.getGlobal();return typeof((o=h.navigator)===null||o===void 0?void 0:o.sendBeacon)=="function"&&typeof h.Blob=="function"}estimateObjectSize(o){const h=new Set,d=[o];let V=0;for(;d.length;){const X=d.pop();if(typeof X=="boolean")V+=4;else if(typeof X=="string")V+=X.length*2;else if(typeof X=="number")V+=8;else if(X instanceof Uint8Array||X instanceof Uint8ClampedArray||X instanceof Uint16Array||X instanceof Uint32Array||X instanceof Int8Array||X instanceof Int16Array||X instanceof Int32Array||X instanceof Float32Array||X instanceof Float64Array)V+=X.byteLength;else if(typeof X=="object"){const ue=X;if(!h.has(ue)){h.add(ue);for(const Oe in ue)d.push(ue[Oe])}}}return V}noProdThrow(o){if(!w.isProduction)throw o}isAllowedOrigin(o,h){return Array.isArray(h)&&h.some(d=>d==="*"||o===d||d instanceof RegExp&&d.test(o))}roundNumber(o,h){const d=Math.pow(10,h);return Math.round(o*d)/d}roundNumbersInObject(o,h){o&&Object.entries(o).forEach(([d,V])=>{typeof V=="number"&&(o[d]=this.roundNumber(V,h))})}tryGetAbsoluteUrl(o){var h,d;return(o==null?void 0:o.startsWith("//"))&&typeof window=="object"?((h=window.location.protocol)!==null&&h!==void 0?h:"")+o:(o==null?void 0:o.startsWith("/"))&&typeof window=="object"?((d=window.location.origin)!==null&&d!==void 0?d:"")+o:o}}t._isProduction=!0;const e=new t,I=e.getGlobal();e.markProduction(I==null?void 0:I.__O11Y_IS_PROD__);const w=Object.freeze(e);class ${constructor(o,h,d,V,X,ue,Oe){this._name=o,this._ownerName=h,this._ownerAppName=d,this._tags=V,this._value=0,this._createdOn=X===void 0?w.time().tsNow:X,ue!==void 0&&(this._lastUpdatedOn=ue),Oe!==void 0&&(this._value=Oe)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(o=1){if(typeof o=="number"&&o>0){this._value+=Math.round(o),this._lastUpdatedOn=w.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 M="co11y";class _{constructor(){this._upCounters=new Map,this._ownerAppName=M}_addOrUpdateCounter(o,h,d){if(!o)return;const V={status:d},X=`${this._ownerAppName}:${h}:${o}${JSON.stringify(V)}`;let ue=this._upCounters.get(X);ue||(ue=new $(o,h,this._ownerAppName,V),this._upCounters.set(X,ue)),ue.increment()}success(o,h){this._addOrUpdateCounter(o,h,"success")}exception(o,h){this._addOrUpdateCounter(o,h,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(o=>o.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(o){this._ownerAppName=o}}const f=new _;class p{constructor(o){if(this._lazyMap=new Map,o!==void 0){if(typeof o=="number"&&o>0){this._maxSize=Math.ceil(o);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(o,h){let d=this._lazyMap.get(o);if(!d){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;d=new Array,this._lazyMap.set(o,d)}return d.push(h),!0}getMessages(o,h){const d=this._lazyMap.get(o);return h&&this._lazyMap.has(o)&&this._lazyMap.set(o,[]),d||[]}getAllMessages(o){const h=new Map;for(const[d,V]of this._lazyMap.entries())V.length&&h.set(d,this.getMessages(d,o));return h}extractMessages(o){return this.getMessages(o,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let o=0;for(const h of this._lazyMap.values())o+=h.length;return o}}class l{getSchemaId(o){return`${o.namespace}.${o.name}`}isInternal(o){return(o==null?void 0:o.namespace)==="sf.instrumentation"}makePayload(o,h,d=!0){if(!d||o!==void 0&&h!==void 0)return{schema:o,payload:h}}checkSchema(o){return w.requireArgument(o,"schema","object"),w.requireArgument(o.namespace,"schema.namespace","string"),w.requireArgument(o.name,"schema.name","string"),w.requireArgument(o.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(o)}_getTokens(o){const h=o.namespace.split(".");if(h.length!==2)throw new Error(`Schema "${this.getSchemaId(o)}" must have a namespace of the form "domain.feature".`);return{domain:h[0],feature:h[1],message:o.name}}_getAnyNestedObject(o,h){return h.reduce((d,V)=>{const X=d.nested;if(X){const ue=X[V];if(ue)return ue}throw new Error(`Cannot locate ${h.join(".")} in schema with ID ${this.getSchemaId(o)}`)},o.pbjsSchema)}getTypes(o){const h=this.checkSchema(o),V=this._getAnyNestedObject(o,[h.domain,h.feature]).nested;if(!V)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(o)}`);return V}getType(o,h){w.requireArgument(h,"messageName","string");const V=this.getTypes(o)[h];if(!V)throw new Error(`Cannot locate message ${h} in schema with ID ${this.getSchemaId(o)}`);return V}getOptions(o,h,d){d&&w.requireArgument(h,"messageName","string");const V=this.checkSchema(o);if(!h)return this._getAnyNestedObject(o,[V.domain,V.feature]).options;const X=this.getType(o,h);if(!d)return X.options;const ue=X.fields[d];if(!ue){const Oe=this.getSchemaId(o);throw new Error(`Cannot locate field ${d} in message ${h} in schema with ID ${Oe}`)}return ue.options}getExtraFields(o,h){const{message:d}=this._getTokens(o),X=this.getTypes(o)[d].fields,ue=new Set(Object.keys(X));return h!=null?Object.keys(h).filter(He=>!ue.has(He)):[]}}const c=new l,u=1e4,E=1e4,b=0,N=2147483647,S=-2147483648,A=4294967295,F=9223372036854776e3,U=-9223372036854776e3,Y=18446744073709552e3;class T{constructor(o,h,d,V){this.errorCode=o,this.fields=h,this.expected=d,this.received=V}asMessage(o){const h=this.fields[0]+this.fields.slice(1).reduce((V,X)=>Number(X)>=0?`${V}[${X}]`:`${V}.${X}`,"");let d;switch(this.errorCode){case 1:d="Repeated field must be an array";break;case 2:d=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:d="Value must be finite";break;case 4:d="Value is out of range for its type";break;case 5:d="Bytes array is malformed";break;case 6:d="Exceeded app limit for maximum string length";break;case 7:d="Exceeded app limit for item count";break;case 12:d="Value must be an integer";break;case 13:d="Values like null or undefined are not allowed for items in repeated fields";break;default:d=`Unknown error code: ${this.errorCode}`;break}return`Schema ${o} on field "${h}": ${d}`}}class x{validate(o,h,d=!1){const V=c.checkSchema(o);w.requireArgument(h,"data","object");const X=c.getSchemaId(o),ue=new Array,Oe=c.getTypes(o);if(this._validateFields(ue,[],h,Oe[V.message],Oe,X),ue.length&&!d)throw new Error(ue[0].asMessage(X));return ue}_validateFields(o,h,d,V,X,ue){const Oe=V.oneofs||{},He=V.fields||{};for(const je in d){const Fe=d[je];if(Fe!=null){const Ae=(Ve,tt,H)=>this._matchFieldTypes(o,[...h,je],Fe,Ve,X,ue,je,tt,H);Oe[je]?Ae(He[Oe[je].oneof[0]].type):He[je]&&Ae(He[je].type,He[je].rule==="repeated")}}}_matchFieldTypes(o,h,d,V,X,ue,Oe,He,je){let Fe;if(He)Array.isArray(d)?(d.length>E&&(Fe=7),d.forEach((Ae,Ve)=>{this._matchFieldTypes(o,[...h,Ve.toString()],Ae,V,X,ue,Oe,void 0,!0)})):Fe=1;else if(d==null||d===void 0)je&&(Fe=13);else{let Ae,Ve;switch(V){case"string":Ve="string",d.length>u&&(Fe=6);break;case"bytes":Ve="object",d instanceof Uint8Array||(Fe=5);break;case"bool":Ve="boolean";break;case"uint32":Ve="number",Ae={min:b,max:A,isInt:!0,isItem:je};break;case"int32":case"sint32":case"fixed32":case"sfixed32":Ve="number",Ae={min:S,max:N,isInt:!0,isItem:je};break;case"uint64":Ve="number",Ae={min:b,max:Y,isInt:!0,isItem:je};break;case"fixed64":case"sfixed64":case"int64":case"sint64":Ve="number",Ae={min:U,max:F,isInt:!0,isItem:je};break;case"double":case"float":Ve="number",Ae={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:je};break;default:new Set(Object.keys(X)).has(V)&&(this._validateFields(o,h,d,X[V],X,ue),Ve="object");break}typeof d!==Ve?o.push(new T(2,h,V,typeof d)):Ae&&(Ae.isInt&&!Number.isFinite(d)?Fe=3:Ae.isInt&&!Number.isInteger(d)?Fe=12:!(!Ae.isInt&&Number.isNaN(d))&&!(d>=Ae.min&&d<=Ae.max)&&(Fe=4))}Fe&&o.push(new T(Fe,h))}}const G=new x;class se{_getMetricTags(o){const h=o.getTags();if(h)return Object.entries(h).map(d=>({name:d[0],value:d[1].toString()}))}getUpCounters(o,h=!0){return o.map(d=>{const V={name:d.getName(),createdTimestamp:d.getCreatedOn(),lastUpdatedTimestamp:d.getLastUpdatedOn(),value:d.getData(),ownerName:d.getOwnerName(),ownerAppName:d.getOwnerAppName(),tags:this._getMetricTags(d)};return h&&d.reset(),V})}getValueRecorders(o,h=!0){return o.map(d=>{const V={name:d.getName(),createdTimestamp:d.getCreatedOn(),lastUpdatedTimestamp:d.getLastUpdatedOn(),values:d.getData(),ownerName:d.getOwnerName(),ownerAppName:d.getOwnerAppName(),tags:this._getMetricTags(d)};return h&&d.reset(),V})}getBucketHistograms(o,h=!0){return o.map(d=>{const V={name:d.getName(),createdTimestamp:d.getCreatedOn(),lastUpdatedTimestamp:d.getLastUpdatedOn(),values:d.getData(),buckets:d.getBuckets(),ownerName:d.getOwnerName(),ownerAppName:d.getOwnerAppName(),tags:this._getMetricTags(d)};return h&&d.reset(),V})}getMetricsTags(o){const h={};return o.forEach(d=>{h[d.name]=d.value}),h}}const ie=Object.freeze(new se);class q{checkInputs(o,h){c.checkSchema(o),w.requireArgument(h,"data","object");let d,V;h.userPayload!==void 0&&c.isInternal(o)&&(V=h.userPayload,d=G.validate(V.schema,V.payload,!0),this._processValidationResults(c.getSchemaId(V.schema),V.payload,d),h.userPayload=void 0),d=G.validate(o,h,!0),this._processValidationResults(c.getSchemaId(o),h,d),V!==void 0&&(h.userPayload=V)}getExtraFields(o,h){w.requireArgument(h,"data","object");const d=[],V=h.userPayload;return V!==void 0&&c.isInternal(o)&&d.push(...c.getExtraFields(V.schema,V.payload)),d.push(...c.getExtraFields(o,h)),d}getPayloadFromProvider(o,h){const d=(o==null?void 0:o.getPayload(h))||void 0;return d&&this.checkInputs(d.schema,d.payload),d}_processValidationResults(o,h,d){for(let V=0;V0:void 0}constructor(n,i,a,s){this.name=n,this._doneCallback=a,this._overDoneCallback=s,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 w=300;class ${constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=w,this._endedTasks=new Array,this._pollableReport=new Array,e.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),e.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),e.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){e.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=e.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){e.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(e.utility.requireArgument(n,"name","string"),i!==void 0&&(e.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const a=this._addTasker(n,i);return{get isBusy(){return a.isBusy},add:()=>{if(!a.isBusy){const g=this._taskers.get(a);g.start=e.utility.time().perfNow,g.end=void 0}a.add()},done:a.done.bind(a)}}declarePollableTaskMulti(n,i){e.utility.requireArgument(n,"name","string"),e.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const a=new I(n,i,()=>{this._taskers.get(a).end=e.utility.time().perfNow,this._reportTaskEnded(a),this._checkIfLoaded()},()=>{var s;(s=this._errorListener)===null||s===void 0||s.call(this,`Overdone: ${a.name}`),e.utility.noProdThrow(`Tasker '${a.name}' is done too many times.`)});return this._taskers.set(a,{name:n,start:i>0?e.utility.time().perfNow:void 0,end:void 0}),a}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var a;const s=i[0],g=i[1];try{return s()}catch(v){return(a=this._errorListener)===null||a===void 0||a.call(this,v,`BusyChecker ${g}`),e.utility.noProdThrow(v),!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=e.utility.time().perfNow-this._firstCallbackTime,a=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const s=this._endedTasks.splice(0),g=this._pollableReport.splice(0);this._notify(a,i,s,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,a,s){var g;if(i>=this._logThreshold&&this._reportListener){const z=this._getReport(i,n.length,a,s);this._reportListener(z)}n.reverse();const v=e.utility.time().tsNow;for(const[z,ce]of n.entries())try{ce(v)}catch(_e){(g=this._errorListener)===null||g===void 0||g.call(this,_e,`Listener #${n.length-1-z}`),e.utility.noProdThrow(_e)}}getReport(){const n=e.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,a=Array.from(this._taskers.entries()).filter(s=>s[0].isBusy).map(s=>({name:s[1].name,start:s[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(a),this._pollableReport)}_getReport(n,i,a,s){const g=a.map(v=>({name:v.name,duration:v.end-v.start})).sort((v,z)=>z.duration-v.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:g.map(v=>v.name),busyDurations:g.map(v=>v.duration),pollables:s.map(v=>v.name),pollCounts:s.map(v=>v.count)}}}const M={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"]},_responseStatus:{oneof:["responseStatus"]},_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:{options:{proto3_optional:!0},id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},logEvent:{id:41,type:"string"},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"}}}}}}}}}},_={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"]},_responseStatus:{oneof:["responseStatus"]},_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:{options:{proto3_optional:!0},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 f{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,e.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,a){const s=this._map.get(n);s?s.push({fuzzyKey:i,value:a}):this._map.set(n,[{fuzzyKey:i,value:a}])}pop(n,i){const a=this._map.get(n);if((a==null?void 0:a.length)>=1){let s=Number.POSITIVE_INFINITY,g=-1;for(let v=0;v=0){const{value:v}=a.splice(g,1)[0];return a.length===0&&this._map.delete(n),v}}}clear(){this._map.clear()}}const p=["fetch","xmlhttprequest"];class l{constructor(n,i,a,s,g){if(this._instr=n,this._skipUrls=a,this._logPerformanceActivityName=s,this._boundObserverCallback=this._logPerformanceEntries.bind(this),this._boundNavigationTimingEventCallback=v=>{this._logNavigationEntries(v)},this._setTimeoutNavigationCallback=v=>{setTimeout(()=>{this._boundNavigationTimingEventCallback(v)},0)},this._visibilityChangeNavigationCallback=v=>{document.visibilityState==="hidden"&&this._boundNavigationTimingEventCallback(v)},this._isStarted=!1,this._processedNavigationTiming=!1,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"fuzzyMapRange","number"),e.utility.requireArgumentIfDefined(a,"_skipUrls",Array),e.utility.requireArgumentIfDefined(s,"_logPerformanceActivityName","string"),e.utility.requireArgumentIfDefined(g,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._hasWindow=typeof window!="undefined",!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 f(i)}get isStarted(){return this._isStarted}get logLevel(){return this._logLevel}start(){!this._hasPerf||this._isStarted||(this._isStarted=!0,this._resourceObserver=new PerformanceObserver(this._boundObserverCallback),this._resourceObserver.observe({type:"resource",buffered:!0}),this._addNavigationListeners())}stop(){this._resourceObserver&&(this._resourceObserver.disconnect(),this._resourceObserver=void 0),this._removeNavigationListeners(),this._fuzzyMapper.clear(),this._isStarted=!1}_addNavigationListeners(){!this._hasWindow||(window.addEventListener("load",this._setTimeoutNavigationCallback),window.addEventListener("pagehide",this._boundNavigationTimingEventCallback),document.addEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}_removeNavigationListeners(){!this._hasWindow||(window.removeEventListener("load",this._setTimeoutNavigationCallback),window.removeEventListener("pagehide",this._boundNavigationTimingEventCallback),document.removeEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}addEntry(n,i,a){this._fuzzyMapper.add(n,i,a)}_resourceEntryToResourceTiming(n){var i,a;const s={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)&&(s.dbDuration=(i=g.find(v=>v.name==="db"))===null||i===void 0?void 0:i.duration,s.srvDuration=(a=g.find(v=>v.name==="Total"))===null||a===void 0?void 0:a.duration),s}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(s=>s instanceof RegExp?s.test(n.name):n.name===s))?!1:this._logLevel===1?!0:p.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_logActivity(n,i,a,s){const g={id:a},v={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:s};this._instr.startActivity(this._logPerformanceActivityName,g).stop(n,i,v)}_logNavigationEntries(n){if(!this._processedNavigationTiming)for(const i of performance.getEntriesByType("navigation")){const a=i;if(this._shouldInclude(a)){this._processedNavigationTiming=!0;const s=this._resourceEntryToResourceTiming(a),g={domComplete:a.domComplete,domContentLoadedEventStart:a.domContentLoadedEventStart,domContentLoadedEventEnd:a.domContentLoadedEventEnd,domInteractive:a.domInteractive,loadEventStart:a.loadEventStart,loadEventEnd:a.loadEventEnd,redirectCount:a.redirectCount,type:a.type,unloadEventStart:a.unloadEventStart,unloadEventEnd:a.unloadEventEnd,logEvent:n.type};this._logActivity(M,Object.assign(s,g))}break}}_logPerformanceEntries(n){for(const i of n.getEntriesByType("resource")){const a=i,s=this._fuzzyMapper.pop(a.name,a.startTime);if(this._shouldInclude(a)){const g=this._resourceEntryToResourceTiming(a);Object.assign(g,{srvReqId:s==null?void 0:s.requestId,xhrDelay:s?s.activityDuration-a.duration:void 0}),g.responseStatus===void 0&&(g.responseStatus=s==null?void 0:s.responseStatus),this._logActivity(_,g,s==null?void 0:s.activityId,s==null?void 0:s.errorCount)}}}}const c=32,u=16,E=16,b="traceparent",N="b3",S="X-B3-TraceId",A="X-B3-SpanId",F="X-B3-Sampled",U="X-B3-ParentSpanId",Y="X-SFDC-Request-Id",T="fetch",x="xhr_send",G="perf-timing",se=50,ie=new WeakMap;class q{constructor(n,i){this._instr=n,this._idleDetector=i,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,a,s){let g=`${n}-${i}`;return(a!==void 0||s!==void 0)&&(g+=a?"-1":"-0",s!==void 0&&(g+=`-${s}`)),g}static _getW3CompactFormat(n,i,a){return`00-${n}-${i}-${a?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const a=n.length;for(let s=0;s="a"&&g<="f")&&!(g>="0"&&g<="9"))throw new Error(`The text '${n}' has an invalid character at index #${s}`)}return a>i?n.substr(a-i):ag[0]===n);return s==null?void 0:s[1]}if(typeof(a==null?void 0:a.headers)=="object")return a.headers[n];if(i instanceof Request)return i.headers.get(n)}_overrideFetch(n,i,a,s,g,v,z){q._originalFetch=q._global.fetch;const ce=async(_e,Pe,...Se)=>{var Le;let de,ke,qe,ht,pt,wt=!1,bt;try{v==null||v.add(),ht=Pe==null?void 0:Pe.method;const rt=Pe==null?void 0:Pe.o11y,Pt=rt==null?void 0:rt.skipInstr;if(wt=Pt||q._shouldSkipUrl(z,_e),!wt)de=n.startActivity(a||T);else if(Pt){q._reqIndex+=1;try{if(_e instanceof URL)_e.searchParams.append("o11y",q._reqIndex.toString());else if(typeof _e=="string"){const lt=new URL(_e),gt=`o11y=${q._reqIndex}`;lt.search+=lt.search.startsWith("?")?`&${gt}`:gt,_e=lt.toString()}}catch(lt){}}if(Pe==null||delete Pe.o11y,ke=_e==null?void 0:_e.toString(),qe=e.utility.tryGetAbsoluteUrl(ke),s){_e instanceof Request&&(ht||(ht=_e.method),ke=_e.url,qe=e.utility.tryGetAbsoluteUrl(ke));const lt=q._getTraceHeaders(de,n,g,ht,qe);!this._applyTraceHeaders(_e,Pe,lt)&&Pe===void 0&&(Pe={headers:lt})}return pt=e.utility.perfNow(),bt=await q._originalFetch.call(q._global,_e,Pe,...Se),bt}catch(rt){throw i&&!wt&&(de?de.error(rt):n.error(rt)),rt}finally{try{const rt=q._endActivity(de,ke,ht);if((Le=q._performanceObservability)===null||Le===void 0?void 0:Le.isStarted){const Pt=q._extractHeader(Y,_e,Pe);q._performanceObservability.addEntry(qe,pt,{requestId:Pt,activityDuration:rt,activityId:de==null?void 0:de.getId(),errorCount:de==null?void 0:de.getErrorCount(),responseStatus:bt==null?void 0:bt.status})}}finally{v==null||v.done()}}};q._global.fetch=ce}static _endActivity(n,i,a){var s;if(n)return((s=q._performanceObservability)===null||s===void 0?void 0:s.isStarted)?n.discard():n.stop(t.networkSchema,{mtd:a,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,a,s,g,v,z){q._originalXhr=q._global.XMLHttpRequest,q._originalXhrOpen=q._originalXhr.prototype.open,q._originalXhrSetRequestHeader=q._originalXhr.prototype.setRequestHeader,q._originalXhrSend=q._originalXhr.prototype.send;function ce(Pe,Se){var Le;const de=ie.get(Pe);if(de){const ke=de.activity,qe=q._endActivity(ke,de.url,de.method);!Se&&((Le=q._performanceObservability)===null||Le===void 0?void 0:Le.isStarted)&&q._performanceObservability.addEntry(de.absoluteUrl,de.sendTime,{requestId:de.requestId,activityDuration:qe,activityId:ke==null?void 0:ke.getId(),errorCount:ke==null?void 0:ke.getErrorCount(),responseStatus:Pe.status})}}q._originalXhr.prototype.open=function(Pe,Se,Le,de,ke){const qe={method:Pe,url:Se==null?void 0:Se.toString()};ie.set(this,qe),qe.absoluteUrl=e.utility.tryGetAbsoluteUrl(qe.url),qe.suspendInstrumentation=q._shouldSkipUrl(z,qe.absoluteUrl),q._originalXhrOpen.apply(this,arguments)},q._originalXhr.prototype.setRequestHeader=function(Pe,Se){var Le;if(((Le=Pe==null?void 0:Pe.toLowerCase)===null||Le===void 0?void 0:Le.call(Pe))===Y.toLowerCase()){const de=ie.get(this);de&&(de.requestId=Se)}q._originalXhrSetRequestHeader.apply(this,arguments)},q._originalXhr.prototype.send=function(...Pe){let Se;const Le=this;let de=ie.get(Le);de||(de={},ie.set(Le,de));try{if(v==null||v.add(),de.suspendInstrumentation||(de.activity=Se=n.startActivity(a||x)),s){const ke=q._getTraceHeaders(Se,n,g,de.method,de.absoluteUrl);Object.entries(ke).forEach(qe=>{Le.setRequestHeader(qe[0],qe[1])})}de.sendTime=e.utility.perfNow(),q._originalXhrSend.call(this,...Pe)}catch(ke){throw i&&!(de==null?void 0:de.suspendInstrumentation)&&(Se?Se.error(ke):n.error(ke)),ce(Le,!0),v==null||v.done(),ke}};const _e=new Proxy(q._originalXhr,{construct(Pe){const Se=new Pe;return Se.addEventListener("load",()=>{ce(Se),v==null||v.done()}),Se.addEventListener("error",Le=>{const de=ie.get(Se)||{};try{if(i&&!(de==null?void 0:de.suspendInstrumentation)){const ke=new Error("XHR Network-Level Error"),qe=de==null?void 0:de.activity;qe?qe.error(ke):n.error(ke)}ce(Se)}finally{v==null||v.done()}}),Se.addEventListener("abort",()=>{var Le;const de=ie.get(Se)||{};(Le=de==null?void 0:de.activity)===null||Le===void 0||Le.discard(),v==null||v.done()}),Se}});q._global.XMLHttpRequest=_e}networkInstrumentation(n){var i;if(e.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const a=typeof n=="object"?n:{};let s;e.utility.definedValueOrDefault(a.useTasker,!0)&&(s=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(e.utility.definedValueOrDefault(a.instrumentation,this._instr),e.utility.definedValueOrDefault(a.logErrors,!0),a.activityName,e.utility.definedValueOrDefault(a.useTracing,!0),a.tracingHeadersOptions,s,e.utility.definedValueOrDefault(a.logPerformance,!0),e.utility.definedValueOrDefault(a.logPerformanceActivityName,G),e.utility.definedValueOrDefault(a.skipUrls,[]),e.utility.definedValueOrDefault(a.fuzzyMapRange,se))}}resetRequestCounter(){q._reqIndex=0}_applyTraceHeaders(n,i,a){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(a).forEach(([s,g])=>{i.headers.set(s,g)}),!0;if(Array.isArray(i.headers))return Object.entries(a).forEach(s=>{i.headers.push(s)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,a),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(a).forEach(([s,g])=>{n.headers.set(s,g)}),!0;if(i)return i.headers=Object.assign({},a),!0}return!1}static _shouldSkipUrl(n,i){var a;let s=i;return i instanceof URL?s=(a=i.toString)===null||a===void 0?void 0:a.call(i):i instanceof Request&&(s=i.url),n==null?void 0:n.some(g=>g instanceof RegExp?g.test(s):s===g)}}q._global=e.utility.getGlobal(),q._isNetworkInstrumentationEnabled=!1,q._reqIndex=0;var ee;(function(be){be[be.none=0]="none",be[be.start=1]="start",be[be.stop=2]="stop",be[be.both=3]="both"})(ee||(ee={}));const ze="timedout",xe="terminated",Me="discarded",o={timedout:ze,terminated:xe,discarded:Me};class h{constructor(n,i,a,s,g,v,z,ce,_e){this._name=n,this._rootId=i,this._onStopped=a,this._onError=s,this._isSampled=z,this._noRerooting=_e,this._isRoot=!1,this._errorCount=0,this._timerOverridden=ee.none;const{tsNow:Pe,perfNow:Se}=e.utility.time();if(h._count+=1,this._id=v||e.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${h._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(Le){this._usePerf=!1}}this._startTimestamp=Pe,this._startPerfTime=Se,this._overrideTimer(ce),g>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||o.timedout,this.stop()},g)),this._safety=new e.PublicSafety}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}error(n,i,a){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,a))},{op:"activity.error"})}stop(n,i,a){this._safety.tryCatch(()=>{if(e.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),a){const s=a.perfStartOverride,g=e.utility.requireArgumentIfDefined(s,"options.perfStartOverride","number"),v=a.perfStopOverride,z=e.utility.requireArgumentIfDefined(v,"options.perfStopOverride","number"),ce=a.errorCount;if(e.utility.requireArgumentIfDefined(ce,"options.errorCount","number")&&(this._errorCount=ce),g&&s<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(z&&(v<0||v<(g?s:this._startPerfTime)||v>e.utility.time().perfNow+100))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime and <= now")}this._stopInternal(n,i,a)},{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,a){const s=e.utility.perfNow();if(this._usePerf)try{this._stopReason!==o.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(v){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;a&&this._overrideTimer(a.perfStartOverride,a.perfStopOverride),this._stopPerfTime=this._timerOverridden===ee.none||this._timerOverridden===ee.start?s: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||o.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,a){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||o.terminated,this.stop(n,i,a)},{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,a=this._isRoot?this.id:this._rootId;return q.getHeaders(a,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}getErrorCount(){return this._errorCount}}h._count=0;const d=new Array(16).fill(0).join("");class V{getId(){return d}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}}const X=Object.freeze(new V);class ue{getInstrumentedEventData(n,i,a,s){var g;const v={ownerComponent:a.tagName,parentComponent:((g=a.parentElement)===null||g===void 0?void 0:g.tagName)||void 0,simplePath:e.utility.getXpath(a)};switch(n){case 0:v.baseEvent=i;break;case 1:v.mouseEvent=i;break}return s&&(v.userPayload=e.schemaUtil.makePayload(s.schema,s.payload,!0)),v}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 He=new ue;class je{constructor(n,i,a,s,g,v,z,ce){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=s,this._buckets=g,this._values=new Array,this._createdOn=v===void 0?e.utility.time().tsNow:v,z!==void 0&&(this._lastUpdatedOn=z),ce!==void 0&&(this._values=ce)}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=e.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 Fe{constructor(n,i,a,s,g,v,z){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=s,this._values=new Array,this._createdOn=g===void 0?e.utility.time().tsNow:g,v!==void 0&&(this._lastUpdatedOn=v),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=e.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(v[z]=i[z],v),{});return{key:`${ae[a]}:${n}${JSON.stringify(s)}`,sortedTags:s}}}class ve{constructor(){this.isMock=!0}}const we=void 0,Be=["`"],Ne={internalError:"o11y-error"},Ce=Object.freeze(Array.from(Object.values(Ne)));class Xe{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const s of Be)if(this._name.indexOf(s)>=0)throw new Error(`Name cannot include the reserved character "${s}"`);this._safety=new e.PublicSafety({increment:s=>this._incrementError(s)}),this._metrics=this._initMetrics();const a=e.schemaUtil.getOptions(t.simpleSchema,"Simple","text");this._simpleTextMaxLength=a?a["(meta.max_length)"]:e.maxStringLengthAppLimit}_initMetrics(){return new K(this.name,()=>this._nextGen.appName||Xe.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(Ne.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,a=!1){let s;return typeof n=="string"?(s=t.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):s=n,e.schemaUtil.makePayload(s,i,a)}_getEffectiveRootId(n){var i,a;return(a=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&a!==void 0?a:this._nextGen.getDefaultInstrumentationContext().rootId}get internalInstrumentationContext(){return this._nextGen.getDefaultInstrumentationContext()}log(n,i,a){this._safety.tryCatch(()=>{const s=e.utility.time().tsNow;e.utility.requireArgument(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),e.utility.requireArgumentIfDefined(a,"options","object");const g=this._wrapUserPayload(n,i);(g==null?void 0:g.payload)&&this._logInternal(this.name,g.schema,g.payload,s,this._getEffectiveRootId(a))},{op:"log"})}_logInternal(n,i,a,s,g){const v=this._nextGen.addLog(n,i,a,s,g);if(!e.utility.isProduction){const z=e.payloadUtility.getExtraFields(i,a);!e.utility.isProduction&&z.length>0&&this.error("Extra fields",t.payloadDiagsSchema,{extras:z})}return v}error(n,i,a,s){return this._safety.tryCatch(()=>{e.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(a,"userData","object"),e.utility.requireArgumentIfDefined(s,"options","object");const g=this._getEffectiveRootId(s);this._errorInternal(n,i,a,void 0,g)},{op:"error"})}_errorInternal(n,i,a,s,g){const v=e.utility.time().tsNow;let z;if(n instanceof Error)z=n;else{let Pe;n==null||typeof n.toString!="function"?Pe="UNKNOWN":Pe=n.toString(),z=new Error(Pe)}const ce=this._wrapUserPayload(i,a,!0),_e={name:z.name,message:z.message,stack:z.stack,userPayload:ce,activityId:s};return this._logInternal(this.name,t.errorSchema,_e,v,g)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var a;e.utility.requireArgument(n,"name"),e.utility.requireArgumentIfDefined(i,"options","object");let s,g=(i==null?void 0:i.perfStartOverride)!==void 0;const v=(a=i==null?void 0:i.instrumentationContext)===null||a===void 0?void 0:a.rootId;return v?(g=!0,s={rootId:v,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled}):s=this._nextGen.getDefaultInstrumentationContext(),new h(n,s.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,we,i==null?void 0:i.id,s.isRootActivitySampled,i==null?void 0:i.perfStartOverride,g)},X,{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 a=this._nextGen.getRootActivityHistoryEntryByTime(n.startPerfTime);(!a&&n.rootId!==void 0||a&&n.rootId!==a.id)&&(n.rootId=a==null?void 0:a.id,n.isSampled=(a==null?void 0:a.isSampled)||!1,n.isRerooted=!0)}const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,a){this._logInternal(this.name,t.activitySchema,n,i,a)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}domEvent(n,i,a,s,g){this._safety.tryCatch(()=>{var v;const z=e.utility.time().tsNow;e.utility.requireArgument(n,"event",[Event,ve]),e.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let ce;i instanceof HTMLElement?ce=i:(i=i,((v=i.template)===null||v===void 0?void 0:v.host)instanceof HTMLElement?ce=i.template.host:e.utility.requireArgument(void 0,"handledBy"));const _e=this._wrapUserPayload(a,s,!0),Pe=this._getEffectiveRootId(g);switch(n.type){case"click":{const Se=n,Le=this._nextGen.getClickTracker();Le&&Le.markEventHandled(Se);const de=g==null?void 0:g.captureMouseData,ke=He.getInstrumentedEventData(de?1:0,de?He.getMouseEventData(Se):He.getEventData(Se),ce,_e);ke.auto=g==null?void 0:g._auto,this._logInternal(this.name,t.instrumentedEventSchema,ke,z,Pe);break}default:throw new Error(e.utility.notImplemented)}},{op:"domEvent"})}_siftTags(n){const i=Object.assign({},n);return Object.entries(i).forEach(([a,s])=>{if(s===null)i[a]="null";else if(s==="")i[a]="empty";else if(Number.isNaN(s))i[a]="NaN";else{const g=typeof s;["number","string","boolean"].indexOf(g)===-1&&(i[a]=g)}}),i}incrementCounter(n,i=1,a=!1,s={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Ce),e.utility.checkForReservedCharacters(n,"operation",Be),e.utility.requireArgument(i,"increment","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(s,"tags","object"),this._metrics.incrementCounter(n,i,a,this._siftTags(s))},{op:"incrementCounter"})}trackValue(n,i,a=!1,s={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Ce),e.utility.checkForReservedCharacters(n,"operation",Be),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(s,"tags","object"),this._metrics.trackValue(n,i,a,this._siftTags(s))},{op:"trackValue"})}bucketValue(n,i,a=[],s=!1,g={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Ce),e.utility.checkForReservedCharacters(n,"operation",Be),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"buckets",Array),Object.entries(a).forEach(([v,z])=>{e.utility.requireArgument(z,`Bucket value for '${v}'`,"number")}),e.utility.requireArgument(s,"hasError","boolean"),e.utility.requireArgument(g,"tags","object"),this._metrics.bucketValue(n,i,a,s,this._siftTags(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){e.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,a){var s,g,v,z;const ce=this._getAsaOptions(a),_e=this.startActivity(n,ce);try{return i(_e)}catch(Pe){throw _e.error(Pe,(s=a==null?void 0:a.errorPayload)===null||s===void 0?void 0:s.schema,(g=a==null?void 0:a.errorPayload)===null||g===void 0?void 0:g.payload),Pe}finally{_e.stop((v=a==null?void 0:a.stopPayload)===null||v===void 0?void 0:v.schema,(z=a==null?void 0:a.stopPayload)===null||z===void 0?void 0:z.payload,a==null?void 0:a.stopOptions)}}async activityAsync(n,i,a){var s,g,v,z;const ce=this._getAsaOptions(a),_e=this.startActivity(n,ce);try{return await i(_e)}catch(Pe){throw _e.error(Pe,(s=a==null?void 0:a.errorPayload)===null||s===void 0?void 0:s.schema,(g=a==null?void 0:a.errorPayload)===null||g===void 0?void 0:g.payload),Pe}finally{_e.stop((v=a==null?void 0:a.stopPayload)===null||v===void 0?void 0:v.schema,(z=a==null?void 0:a.stopPayload)===null||z===void 0?void 0:z.payload,a==null?void 0:a.stopOptions)}}}Xe.defaultAppName="APP_NOT_REGISTERED";const Je=.1,at=20;class ct{constructor(n){if(this._historyMap=new Map,this._historyList=new Array,e.utility.requireArgumentIfDefined(n,"limit","number")){if(n=Math.ceil(n),n<=0)throw new Error("Limit must be a positive number")}else n=at;this._graceCount=Math.max(1,Math.floor(n*Je)),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(a=>this._historyMap.delete(a.id))}get count(){return this._historyList.length}findById(n){return this._historyMap.get(n)}findByTime(n){let i,a=Number.MAX_VALUE;for(const s of this._historyList){const g=n-s.startPerfTime;g>=0&&(s.stopPerfTime===void 0||n{if(e.utility.requireArgument(n,"name"),(s==null?void 0:s.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const g=new Ie(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,a,s==null?void 0:s.perfStartOverride,this._nextGen.preferredRootIdLength);if(!this._allowMulti){const v={id:g.getId(),name:n,startPerfTime:g.getStartPerfTime(),isSampled:g.getIsSampled()};if(this._rootActivityHistory.add(v),this._singleRootActivity&&!this._singleRootActivity.isStopped){const z=this._singleRootActivity.getId();this._singleRootActivity.terminate(),g.preRootId=z}this._singleRootActivity=g}return g},k,{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 a=this._getActivityData(n);this._logActivity(a,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 K(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const R=5;class B{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),e.utility.requireArgument(n,"_instr"),e.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 a=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!a||!a.length)&&(a=n.path);const s=this._getClickableElement(a);s&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,s,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,a;const s=n?Math.min(n.length,R):0;for(let g=0;gthis.sendLog(n)),this._metricsBuffer.forEach(n=>this.sendMetrics(n)),this._logBuffer=void 0,this._metricsBuffer=void 0}}class Re{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,a,s;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(g=>new e.UpCounterImpl(g.name,g.ownerName,g.ownerAppName,e.metricsUtility.getMetricsTags(g.tags),g.createdTimestamp,g.lastUpdatedTimestamp,g.value))),((a=n.valueRecorders)===null||a===void 0?void 0:a.length)&&this._valueRecorders.push(...n.valueRecorders.map(g=>new Fe(g.name,g.ownerName,g.ownerAppName,e.metricsUtility.getMetricsTags(g.tags),g.createdTimestamp,g.lastUpdatedTimestamp,g.values))),((s=n.bucketHistograms)===null||s===void 0?void 0:s.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(g=>new je(g.name,g.ownerName,g.ownerAppName,e.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 De=1e3;class Te{constructor(n,i){this._connector=n,this._pollInterval=De,e.utility.requireArgument(n,"_connector","object"),e.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,a){const s={schema:n,data:i,logMeta:a};this._connector.sendLog(s)}receiveMetricsExtractors(n){this._metricsExtractors=n,this._collectAndSendMetrics(),setInterval(this._collectAndSendMetrics.bind(this),this._pollInterval)}_collectAndSendMetrics(){const n={upCounters:e.metricsUtility.getUpCounters(this._metricsExtractors.getAllUpCounters()),valueRecorders:e.metricsUtility.getValueRecorders(this._metricsExtractors.getAllValueRecorders()),bucketHistograms:e.metricsUtility.getBucketHistograms(this._metricsExtractors.getAllBucketHistograms())};(n.upCounters.length||n.valueRecorders.length||n.bucketHistograms.length)&&this._connector.sendMetrics(n)}}const Ue=80,$e=32,O="_CUT",ne=Ue-O.length;function fe(){}class le{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 a,s;if(e.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(e.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=(a=i==null?void 0:i.preferredRootIdLength)!==null&&a!==void 0?a:$e,this._clientSessionId=((s=i==null?void 0:i.clientSessionId)===null||s===void 0?void 0:s.toString())||e.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 Te(new ye(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 Re,this._receiverConnector=new te(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 v=new q(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:v.networkInstrumentation.bind(v),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?fe:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?fe: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):fe,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):fe}}getInstrumentation(n){e.utility.requireArgument(n,"name","string"),n.length>Ue&&(n=n.substring(0,ne)+O);let i=this._instruments.get(n);if(!i)i=new Xe(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,a,s,g){var v,z,ce;e.payloadUtility.checkInputs(i,a),this._sequence+=1;const _e=e.schemaUtil.isInternal(i),Pe=_e&&(a==null?void 0:a.userPayload)?a.userPayload.schema:i,Se=e.schemaUtil.getSchemaId(Pe);let Le=this._seqBySchema.get(Se)||0;Le+=1,this._seqBySchema.set(Se,Le);const de={timestamp:s,rootId:g,sequence:this._sequence,schemaSequence:Le,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:e.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:e.utility.getAge(s)},ke={schema:i,data:a,logMeta:de};if(de.pagePayload=e.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,ke),de.appPayload=e.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,ke),this._isSender||(a=e.utility.clone(a)),typeof this._decimalPoints=="number"&&(e.utility.roundNumbersInObject(a,this._decimalPoints),_e&&e.utility.roundNumbersInObject((v=a.userPayload)===null||v===void 0?void 0:v.payload,this._decimalPoints),e.utility.roundNumbersInObject((z=de.pagePayload)===null||z===void 0?void 0:z.payload,this._decimalPoints),e.utility.roundNumbersInObject((ce=de.appPayload)===null||ce===void 0?void 0:ce.payload,this._decimalPoints)),this._isBufferingEnabled){const qe={schema:i,data:a,logMeta:de};this._buffer.push(qe)}return this._multiplex(i,a,de),this._sequence}_multiplex(n,i,a){const s=Array.from(this._logCollectors).filter(g=>{var v;return!this._forceDisabledLogCollectors.has(g)&&!((v=g.getIsCollectDisabled)===null||v===void 0?void 0:v.call(g))});if(s.length>0)for(const g of s){let v=this._logCollectorFailures.get(g)||0;try{g.collect(n,i,a),v>0&&this._logCollectorFailures.set(g,v-1)}catch(z){v+=1,v>=le._collectorFailureLimit?(this._forceDisabledLogCollectors.add(g),this._appInstr&&(typeof z=="string"||z instanceof Error)&&this._appInstr.error(z)):this._logCollectorFailures.set(g,v)}}}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 B(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(e.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 a of this._buffer)n.collect(a.schema,a.data,a.logMeta)}registerMetricsCollector(n){if(e.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(e.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(e.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(e.co11y.getBucketHistograms())}registerForLogPrompt(n){this._logCollectionListeners.add(n)}promptLogCollection(n){for(const i of this._logCollectionListeners.keys())try{i(n)}catch(a){if(!e.utility.isProduction)throw a}}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}}le._collectorFailureLimit=5;class Ke{get _lazyNextGen(){return this._nextgen||(this._nextgen=new le(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,e.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){const a=this._lazyNextGen.registerApp(n,i);return i&&(e.utility.markProduction(i.isProduction),this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),a}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const Ye=e.utility.time.bind(e.utility),ut="sfcore.customCmp.CustomComponentLog",ft={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},vt={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},_t="black",Nt="Gainsboro";class Dt{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,a){const s=e.schemaUtil.getSchemaId(n);if(!this._shouldLog(s))return;if(s===ut){this._logCustom(i);return}let g,v,z;e.schemaUtil.isInternal(n)?(g=n.name,v=vt[n.name]||_t,z=ft[n.name]||Nt):g=s,this._log(g,i,a,v,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(a=>a.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,a,s=_t,g=Nt){const v=`color:${s};background-color:${g}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",v,i||"",a||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const Ze="258.16.0",Et=new $({logThreshold:300,reportListener:be=>{it==null||it.log(t.idleDetectorReportSchema,be)},errorListener:(be,n)=>{it==null||it.error(be,n)}}),We=new Ke(Et),At=We.registerInstrumentedApp.bind(We),St=We.getInstrumentation.bind(We),it=St("IdleDetector");r.ConsoleCollector=Dt,r._version=Ze,r.getInstrumentation=St,r.idleDetector=Et,r.registerInstrumentedApp=At,r.time=Ye,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/258_16_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/o11y/v/1_66_1143-260_0",["exports"],function(r){"use strict";const t={};r._o11y=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/expressions/v/1_66_1143-260_0",["exports"],function(r){"use strict";let t;const e="1970-01-01T",I="T00:00:00",w="provider",$="providers";function M(T){return T!==null&&typeof T=="object"}function _(T){try{const x=T?.indexOf(":")>-1,G=T?.indexOf("-")>-1;return T===""||!x&&!G?null:(typeof T=="string"&&(G||(T=e+T),x||(T=T+I),T=T.trim().replace(" ","T"),T.endsWith("Z")||(T+="Z")),new Date(T))}catch(x){return null}}function f(T){try{const x=T(),G=Reflect.get(this,$);for(const se of G)if(!se?.hasData?.())throw new Error;return x??null}catch(x){return}}function p(T){return M(this)&&(Reflect.set(this,w,T),Reflect.get(this,$).push(T)),T?.getData?.()}function l(T={},x){if(!!T&&Object.prototype.hasOwnProperty.call(T,x))return T[x]}function c(T,x){Array.isArray(T)||(T=[T]);const G=T.filter(x);if(!!G.length)return G.length===1?G[0]:G}function u(T,x){if(M(this)&&Reflect.has(this,w)){const G=Reflect.get(this,w);if(Reflect.deleteProperty(this,w),!G?.hasData?.(x))throw new Error;const se=Reflect.get(this,$);se.indexOf(G)>=0&&se.splice(se.indexOf(G),1)}return typeof x=="string"&&Array.isArray(T)?(T=T.map(G=>G[x]).filter(G=>G!==void 0),T.length===0?void 0:T.length===1?T[0]:T):T?.[x]}function E(){}const b={toDate(T){if(T!=null){const x=_(T)?.setUTCHours(0,0,0,0);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toTime(T){if(T!=null){const x=_(T)?.setUTCFullYear(1970,0,1);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toDatetime(T){return T!=null?_(T):null},isBlank(T){return!T&&typeof T!="number"},contains(T,x){return T!=null?T.includes(x):!1},begins(T,x){return x==null?!0:T!=null?T.toString().startsWith(x.toString()):!1}},N=(...T)=>(t={[$]:[],[w]:null},f.apply(t,T)),S=(...T)=>p.apply(t,T),A=(...T)=>u.apply(t,T),F=(...T)=>l.apply(t,T),U=(...T)=>c.apply(t,T),Y=(...T)=>E.apply(t,T);r.EXPR_CLOSURE=N,r.EXPR_FILTER=U,r.EXPR_FUNCTION=Y,r.EXPR_GLOBAL=F,r.EXPR_MEMBER=A,r.EXPR_PROVIDER=S,r.EXPR_RUNTIME=b,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routerContainer/v/1_66_1143-260_0",["exports","lwc/v/8_25_1","webruntime/errors/v/1_66_1143-260_0","lwr/navigation/v/0_20_6","webruntime/routingService/v/1_66_1143-260_0","webruntime/defaultView/v/1_66_1143-260_0"],function(r,t,e,I,w,$){"use strict";function M(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var _=M($),f=void 0;class p extends t.LightningElement{constructor(...u){super(...u);this.view=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.previousRouteParams={},this.requiredParameters=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"],this.attributes={},this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(u){this._routeParams=u}render(){return this.generatedTemplateHtml}connectedCallback(){const u=this.view||_.default;this.generatedTemplateHtml=u.html,this.attributes=u.attributes(this,this.routeParams),this.subscription=w.subscribe(this.routeChange.bind(this))}viewChange(u){w.handleExtraRouteParams(this.route),this.generatedTemplateHtml=u.html;const{state:E,attributes:b}=this.route;this._routeParams={...E,...b},this.attributes=u.attributes(this,this.routeParams)}routeChange(u){this.route=u.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(u,E){e.reportError({subject:"router level error",error:u,wcstack:E})}}p.renderMode="light",t.registerDecorators(p,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:I.CurrentView,method:1,config:function(c){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousRouteParams","requiredParameters","attributes","route"]});const l=t.registerComponent(p,{tmpl:f,sel:"webruntime-router-container",apiVersion:66});r.default=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/componentContainer/v/1_66_1143-260_0",["exports","lwc/v/8_25_1"],function(r,t){"use strict";function e(l,c,u){var E=l?"."+l+"-host":"";return(c?":host {":E+" {")+"display: flow-root;}"}e.$scoped$=!0;var I=[e];const w={key:0},$=[];function M(l,c,u,E){const{s:b}=l;return[b("",w,$,u)]}var _=t.registerTemplate(M);M.slots=[""],M.renderMode="light",M.stylesheets=[],M.stylesheetToken="lwc-4k1qbp7cls1",M.legacyStylesheetToken="webruntime-componentContainer_componentContainer",I&&M.stylesheets.push.apply(M.stylesheets,I),t.freezeTemplate(M);class f extends t.LightningElement{}f.renderMode="light";const p=t.registerComponent(f,{tmpl:_,sel:"webruntime-component-container",apiVersion:66});r.default=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/slotContainer/v/1_66_1143-260_0",["exports","lwc/v/8_25_1"],function(r,t){"use strict";const e=[];function I(_,f,p,l){const{s:c,fr:u}=_;return[f.isVisible?u(0,[c("",{key:1,slotData:f.variations},e,p)],0):null]}var w=t.registerTemplate(I);I.slots=[""],I.renderMode="light",I.stylesheets=[],I.stylesheetToken="lwc-769n4j124ma",I.legacyStylesheetToken="webruntime-slotContainer_slotContainer",t.freezeTemplate(I);class $ extends t.LightningElement{constructor(...f){super(...f);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const f={},p=!!this.variationExpressions?.find(u=>u===!0),l=this.variationExpressions?.findIndex(u=>u===!0),c=this.variationExpressions?.findIndex(u=>typeof u=="undefined")!==-1;return this.variationExpressions?.forEach(function(u,E){const b=`variation${E+1}`;c||p&&l!==E?f[b]=!1:u===!0?f[b]=!0:(typeof u=="undefined",f[b]=!1)}),f.variation0=!p&&!c,f}}$.renderMode="light",t.registerDecorators($,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});const M=t.registerComponent($,{tmpl:w,sel:"webruntime-slot-container",apiVersion:66});r.default=M,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/visibilityContainer/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","lwc/v/8_25_1","@app/isDesignMode/v/1"],function(r,t,e,I){"use strict";function w(b){return b&&typeof b=="object"&&"default"in b?b:{default:b}}var $=w(I);function M(b,N,S){var A=b?"."+b+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(N?":host.webruntime-visibility-container.dxp-sm-hide {":A+".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 {":A+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(N?":host.webruntime-visibility-container.dxp-lg-hide {":A+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}M.$scoped$=!0;var _=[M];const f=[],p={key:1};function l(b,N,S,A){const{fr:F,s:U}=b;return[N.hidden?F(0,f,0):F(0,[U("",p,f,S)],0)]}var c=e.registerTemplate(l);l.slots=[""],l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-7ethp7o0ig8",l.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",_&&l.stylesheets.push.apply(l.stylesheets,_),e.freezeTemplate(l);class u extends e.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 S="";Object.values(N).forEach(A=>{A.isHidden?this.classList.add(A.class):S+=S?`, ${A.mediaQuery}`:A.mediaQuery}),$.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),t.load("webruntime/formFactor/v/1_66_1143-260_0").then(({getFormFactor:A})=>{if(typeof window!="undefined"&&!$.default&&N[A()].isHidden){if(S){const F=window.matchMedia(S),U=Y=>{Y.matches&&(this.hidden=!1,F.removeEventListener("change",U))};F.addEventListener("change",U)}}else this.hidden=!1})}}u.renderMode="light",u.validationOptOut=["class"],e.registerDecorators(u,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});const E=e.registerComponent(u,{tmpl:c,sel:"webruntime-visibility-container",apiVersion:66});r.default=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/viewchangeNotifier/v/1_66_1143-260_0",["exports","lwc/v/8_25_1","lwr/navigation/v/0_20_6","@app/deployTarget/v/1","webruntime/routingService/v/1_66_1143-260_0"],function(r,t,e,I,w){"use strict";function $(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var M=$(I);const _=t.parseFragment`
`;function f(N,S,A,F){const{sp:U,st:Y}=N;return[Y(_,1,[U(0,{attrs:{"data-route":S.routeParamString}},null)])]}var p=t.registerTemplate(f);f.renderMode="light",f.stylesheets=[],f.stylesheetToken="lwc-1j18phjg883",f.legacyStylesheetToken="webruntime-viewchangeNotifier_viewchangeNotifier",t.freezeTemplate(f);const l=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"];function c(N){return Object.keys(N).reduce((S,A)=>(l.includes(A)&&(S[A]=N[A]),S),{})}function u(N,S){return N===S?!0:!N||!S?!1:Object.keys(N).length===Object.keys(S).length&&Object.entries(S).every(([A,F])=>N[A]===F)}class E extends t.LightningElement{constructor(...S){super(...S);this.routeChangeSubscription=void 0,this.route=void 0,this.routeParams=void 0,this.previousRouteParams=void 0}connectedCallback(){M.default==="MRT"&&requestAnimationFrame(()=>{this.route=w.getCurrentRoute().route,this.updateRouteParams()}),this.routeChangeSubscription=w.subscribe(this.routeChange.bind(this))}routeChange(S){this.route=S.route}viewChange(){this.updateRouteParams()}updateRouteParams(){const{state:S,attributes:A}=this.route||{};this.routeParams=c({...S,...A})}renderedCallback(){!this.routeParams||(u(this.previousRouteParams,this.routeParams)||(w.isCurrentRouteCanonicallyRedirected()||this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})),window?.scrollTo(0,0)),this.previousRouteParams=this.routeParams)}disconnectedCallback(){this.routeChangeSubscription?.unsubscribe()}get routeParamString(){return window.btoa(encodeURIComponent(JSON.stringify(this.routeParams)))}}E.renderMode="light",t.registerDecorators(E,{wire:{viewChange:{adapter:e.CurrentView,method:1,config:function(N){return{}}}},fields:["routeChangeSubscription","route","routeParams","previousRouteParams"]});const b=t.registerComponent(E,{tmpl:p,sel:"webruntime-viewchange-notifier",apiVersion:66});r.default=b,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/viewchangeNotifier",["exports","webruntime/viewchangeNotifier/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_1143-260_0",["exports"],function(r){"use strict";class t{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const I=document.documentElement.scrollTop||document.body.scrollTop,w=document.documentElement.scrollHeight||document.body.scrollHeight;I/(w-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=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/pageDataLayerObject/v/1_66_1143-260_0",["exports","lwc/v/8_25_1","experience/dataLayerObject/v/256_8_0","webruntime/analyticsEvents/v/1_66_1143-260_0"],function(r,t,e,I){"use strict";function w(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var $=w(e);function M(l,c,u,E){const{c:b}=l;return[b("experience-data-layer-object",$.default,{props:{scriptDataAttributes:c.pageDataForDataLayer.scriptDataAttributes,customObject:c.pageDataForDataLayer.customObject},key:0})]}var _=t.registerTemplate(M);M.renderMode="light",M.stylesheets=[],M.stylesheetToken="lwc-1k5dp68c4pi",M.legacyStylesheetToken="webruntime-pageDataLayerObject_pageDataLayerObject",t.freezeTemplate(M);class f extends t.LightningElement{constructor(...c){super(...c);this.handleViewChanged=u=>this._handleViewChanged(u),this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new I.ScrollToBottomEvent}connectedCallback(){document.addEventListener("viewchange",this.handleViewChanged)}disconnectedCallback(){document.removeEventListener("viewchange",this.handleViewChanged),this.scrollToBottomEvent.removeListener()}renderedCallback(){this.pageDataForDataLayer?.customObject&&this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}}))}_handleViewChanged(c){const u=c.detail?.route?.attributes?.recordId,E=c.detail?.route?.attributes?.contentTypeName,b=c.detail?.route?.attributes?.webUrlId,N=c.detail?.route?.attributes?.contentKey,S=c.detail?.route?.attributes?.dataSpaceId,A=c.detail?.route?.attributes?.businessUnitId,F={type:c.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...u?{recordId:u}:{},...E?{contentTypeName:E}:{},...b?{urlAlias:b}:{},...N?{contentKey:N}:{},...S?{dataSpaceId:S}:{},...A?{businessUnitId:A}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:F},this.scrollToBottomEvent.addListener()}}f.renderMode="light",t.registerDecorators(f,{fields:["handleViewChanged","pageDataForDataLayer","scrollToBottomEvent"]});const p=t.registerComponent(f,{tmpl:_,sel:"webruntime-page-data-layer-object",apiVersion:66});r.default=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/pageDataLayerObject",["exports","webruntime/pageDataLayerObject/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/serverRouter/v/0_20_6",["exports","lwr/contextProvider/v/0_20_6","lwr/metrics/v/0_20_6","lwr/navigation/v/0_20_6","lwr/navigationMixinHacks/v/0_20_6","lwr/profiler/v/0_20_6","lwr/router/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/routerUtils/v/0_20_6"],function(r,t,e,I,w,$,M,_,f){"use strict";class p{constructor(u,E,b){this.contextId=Object.freeze(()=>{}),this.router=E,this.target=b,this.handleNavHook=u.handleNavigation,this.preNavHook=u.preNavigate,this.errorNavHook=u.errorNavigate,this.initWires(u.url)}async navigate(u,E,b){if(f.hasDocument){if(this.handleNavHook&&!this.handleNavHook(u))return;const N=await this.getValidatedUrl(u,b);N&&(document.location.href=N)}}generateUrl(u,E){return this.router.generateUrl(u,E)}generateUrlAsync(u,E){return this.router.generateUrlAsync(u,E)}initWires(u){if(!u&&f.hasDocument&&(u=document.location.href),!u){this.processError(_.generateMessageObject(_.messages.NO_INIT_URL));return}u=this.getRelativeUrl(u),this.currentRoute=this.router.matchRoute(u,{})||void 0,I.registerNavigationHelm(this.contextId,{navigate:(E,b,N)=>this.navigate(E,b,N),generateUrl:(E,b)=>this.generateUrl(E,b),generateUrlAsync:(E,b)=>this.generateUrlAsync(E,b),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),t.provideContext(this.contextId,this.target,t.navigationContextContextualizer,I.NavigationContext),t.provideContext(this.currentRoute?.route.pageReference,this.target,t.currentPageReferenceContextualizer,I.CurrentPageReference),f.hasDocument&&this.target.addEventListener(w.CONTEXT_ID_BACKDOOR,E=>{const b=E;b.detail.callback&&b.detail.callback(this.contextId)})}getRelativeUrl(u){if(u.startsWith("http")){const E=new URL(u);return`${E.pathname}${E.search}`}return u}async getValidatedUrl(u,E){const b=this.router.matchRoute(u,{});if(!b){this.processError(_.generateMessageObject(_.messages.NO_ROUTE_MATCH,[JSON.stringify(u)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:b}))){this.processError(_.generateMessageObject(_.messages.PRENAV_FAILED,[JSON.stringify(u)]));return}return this.router.generateUrl(u,E)}processError(u){$.logOperationStart({id:e.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(u)}}function l(c,u){new p(c,M.createRouter(c),u)}r.ServerRouter=p,r.createServerRouter=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/router/v/0_20_6",["exports","lwr/routerUtils/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/observable/v/0_20_6"],function(r,t,e,I){"use strict";class w{constructor(_){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=I.createObservable(),this.basePath=_.basePath||"",this.config={basePath:this.basePath,i18n:_.i18n||t.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(_.caseSensitive),routes:_.routes||[],generateUrl:(c,u)=>t.getUrlFromPageReference(c,this.compiledRoutes,this.config.basePath,this.config.i18n,u),parseUrl:c=>t.getPageReferenceFromUrl(c,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{generateUrlFilter:f,DEPRECATED_getRouteFromUrl:p,DEPRECATED_getUrlFromRoute:l}=_;f&&(this.config.generateUrlFilter=f),p&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=p),l&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=l),this.compiledRoutes=t.parseRoutes(this.config)}generateUrl(_,f){const{DEPRECATED_getUrlFromRoute:p}=this.deprecatedConfig;return p?p(_,this.config.generateUrl,f):this.config.generateUrl(_,f)}generateUrlAsync(_,f){const{generateUrlFilter:p}=this.config;return p?p(_,this.config.generateUrl,f):Promise.resolve(this.generateUrl(_,f))}parseUrl(_){const{DEPRECATED_getRouteFromUrl:f}=this.deprecatedConfig;return f?f(_,this.config.parseUrl):this.config.parseUrl(_)}matchRoute(_,f){const p=typeof _=="string"?_:this.generateUrl(_,f);if(p===null)return null;const l=t.matchRouteByUrl(p,this.compiledRoutes,this.config.basePath,this.config.i18n,f),c=l&&t.getUrlFromPageReferenceAndRouteDef(l.route.pageReference,l.routeDefinition,this.config.basePath,this.config.i18n,f);return!l||!c?null:{pathMatch:c,route:l.route,routeDefinition:l.routeDefinition.original}}async resolveView(_,f){return new Promise((p,l)=>{const c=this.matchRoute(_,f);return c?c.routeDefinition.handler?.().then(u=>{const E=u.default;if(!E)return l(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[c.routeDefinition.id]));const b=new E(p);b&&b.update(c.route)}):l(e.generateMessage(e.messages.NO_ROUTE_MATCH,[JSON.stringify(_)]))})}navigate(_,f){const p=this.matchRoute(_,f);if(!p)throw new Error(e.generateMessage(e.messages.MISSING_ROUTE,[JSON.stringify(_)]));this.pendingRoute={...p},this._mapView(this.pendingRoute)}subscribe(_,f){return this.routeObservable.subscribe({next:_,error:()=>{},complete:()=>{}},Boolean(f))}async _mapView(_){const f=Math.random();this.routeHandlerId=f;const l=(await _.routeDefinition.handler?.())?.default;if(!l)throw new Error(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[_.routeDefinition.id]));return this.routeHandler=new l(c=>{this._updateView(f,c)}),this.routeHandler&&this.routeHandler.update(_.route),!0}_updateView(_,f){if(!f||_!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const p=t.freeze(f.viewset);this.routeObservable.next({...this.pendingRoute,...f,viewset:p})}}function $(M={}){return new w(M)}r.createRouter=$,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_20_6"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/a11yService/v/1_66_1143-260_0",["exports"],function(r){"use strict";const t="tabindex",{document:e}=globalThis;let I,w=null;function $(l){if(!e||!e.head)return;const c=e.head.querySelector("title");if(!c)return;w&&(w.disconnect(),w=null),w=new MutationObserver(E=>{E.forEach(b=>{(b.type==="childList"||b.type==="characterData")&&l(e.title)})});const u={childList:!0};w.observe(c,u)}function M(l){if(!e||!l?.routeDefinition)return;const{routeDefinition:c}=l,u=c?.label;u!=null&&_(I,l)&&(c.metadata.title=u),I=l,$(E=>{f(E),c.metadata.title=E})}function _(l,c){if(!l||l.routeDefinition.id!==c.routeDefinition.id)return!0;const u=l.route,E=c.route;for(const b in u.attributes)if(u.attributes[b]!==E.attributes[b])return!0;return!1}function f(l){const c=e.body.querySelector(".router-title");!c||c.textContent!==l&&(c.textContent=l)}function p(l){if(!e)return;const c=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT,{acceptNode:E=>E.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),u=l?e.body:c.nextNode();u&&(u.setAttribute(t,"-1"),u.focus({preventScroll:!0}),u.removeAttribute(t))}r.TAB_INDEX_ATTR_NAME=t,r.handleTitleUpdate=M,r.updateFocus=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routingService/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","@communities-webruntime/common/v/1_66_1143-260_0","@salesforce/i18n/lang/v/1","@app/deployTarget/v/1","@app/basePath/v/1","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/views/v/1_66_1143-260_0","webruntime/a11yService/v/1_66_1143-260_0","webruntime/overrides/v/1_66_1143-260_0","webruntime/logger/v/1_66_1143-260_0","webruntime/persistentQueryParams/v/1_66_1143-260_0","webruntime/utils/v/1_66_1143-260_0","webruntime/o11y/v/1_66_1143-260_0","lwr/router/v/0_20_6","lwr/serverRouter/v/0_20_6","lwr/routerErrors/v/0_20_6","lwr/navigation/v/0_20_6","webruntime/transport/v/1_66_1143-260_0","@app/isDesignMode/v/1","@app/extraRouteParams/v/1"],function(r,t,e,I,w,$,M,_,f,p,l,c,u,E,b,N,S,A,F,U,Y,T,x){"use strict";function G(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var se=G(I),ie=G(w),q=G($),ee=G(M),ze=G(_),xe=G(f),Me=G(p),o=G(T),h=G(x);const d={WEB_PAGE:"standard__webPage",RECORD_PAGE:"standard__recordPage",RECORD_RELATIONSHIP_PAGE:"standard__recordRelationshipPage",OBJECT_PAGE:"standard__objectPage",SEARCH_PAGE:"standard__search",KNOWLEDGE_ARTICLE_PAGE:"standard__knowledgeArticlePage",MANAGED_CONTENT_PAGE:"standard__managedContentPage",LOGIN_PAGE:"comm__loginPage"},V={LANDING_PAGE:"sfdc_cms__landingPage"};function X(m){const L=[],D=[];return m.forEach(Q=>{const{type:ge,attributes:he={},state:Ee={}}=Q.page||{};if(ge===d.OBJECT_PAGE)if(ue(he.actionName))L.push(Q);else{let Ge;he.actionName==="list"?(Ge={...Q,page:{...Q.page,attributes:{...he},state:{...Ee}}},Ge.page.attributes.actionName="home"):he.actionName==="home"?(Ge={...Q,page:{...Q.page,attributes:{...he},state:{...Ee}}},Ge.page.attributes.actionName="list"):he.actionName||(Q.page.attributes.actionName="home",Ge={...Q,page:{...Q.page,attributes:{...he},state:{...Ee}}},Ge.page.attributes.actionName="list"),L.push(Q,Ge)}else D.push(Q)}),[...L,...D]}function ue(m){return m&&m.length>1?m.startsWith(":"):!1}const Oe={};let He=null;function je(m){const{pathname:L,search:D,hash:Q}=new URL(m,window.location.origin);return{pathname:L,search:D,hash:Q}}async function Fe(m){const{pathname:L,search:D,hash:Q}=je(m);if(Oe[L])return Oe[L]+D+Q;if(Object.values(Oe).includes(L))return m;try{const{redirected:ge,url:he}=await Y.fetch(m,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(ge){const Ee=je(he).pathname;return Oe[L]=Ee,Ee+D+Q}}catch(ge){u.logError(`Unable to fetch canonical URL for ${m}`,`error: `,ge)}return null}let Ae;async function Ve(m,L){const{route:D,routeDefinition:Q}=L;if(He=D,Q?.metadata?.hasVanityURL){const ge=m.generateUrl(D.pageReference),he=await Fe(ge);if(he&&he!==ge&&He===D){const Ge={type:d.WEB_PAGE,attributes:{url:he}};return U.navigate(m.contextId,Ge,!0),Ae=!0,!0}}return Ae=!1,!1}function tt(){return Ae}const H={};let ae=null;function K(m){const{pathname:L,search:D,hash:Q}=new URL(m,window.location.origin);return{pathname:L,search:D,hash:Q}}async function ve(m){const{pathname:L,search:D,hash:Q}=K(m);if(H[L])return{canonicalUrl:H[L]+D+Q};if(Object.values(H).includes(L))return{canonicalUrl:m};try{const{redirected:ge,url:he,status:Ee}=await Y.fetch(m,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(Ee===403||Ee===404)return{isError:!0};if(ge){const Ge=K(he).pathname;return H[L]=Ge,{canonicalUrl:Ge+D+Q}}}catch(ge){u.logError(`Unable to validate and/or fetch canonical URL for ${m}`,`error: `,ge)}return{}}let we;async function Be(m,L,D){if(o.default)return!1;const{route:Q,routeDefinition:ge}=L;ae=Q;const he=ge?.page?.type===d.RECORD_PAGE;if(ge?.metadata?.hasVanityURL||he){const Ee=m.generateUrl(Q.pageReference),{canonicalUrl:Ge,isError:et}=await ve(Ee);if(ae===Q){if(et&&he)return U.navigate(m.contextId,D),!0;if(Ge&&Ge!==Ee){const Kt={type:d.WEB_PAGE,attributes:{url:Ge}};return U.navigate(m.contextId,Kt,!0),we=!0,!0}}}return we=!1,!1}function Ne(){return we}const Ce=["webUrlId","dataSpaceId","businessUnitId"];let Xe=!0;const Je={};function at(m){const L=m?.attributes||{};let D=L.urlName||L.urlPath;if(!D&&m?.type===d.MANAGED_CONTENT_PAGE&&L.contentTypeName===V.LANDING_PAGE&&(D=L.urlAlias),D){const Q=L.objectApiName||"";return`${D}:${Q}`}return null}function ct(m){m.extraRouteParams&&(Ie(m,m.extraRouteParams),delete m.extraRouteParams)}function Ie(m,L){const D=at(m);!L||!D||(Je[D]=L)}function mt(m){const L=at(m);if(L&&L in Je){const D=Je[L];return!(D&&Object.keys(D).length>0)}return!!L}function P(m={}){const{current:L,next:{pathMatch:D,route:{pageReference:Q}={}}}=m;return L&&mt(Q)?(window.location.assign(D),!0):!1}function k(m){if(Xe){const L=R();C(m,L),Ie(m.pageReference,L),Xe=!1}else{const L=at(m?.pageReference),D=Je[L];C(m,D)}}function C(m,L){j(L)&&(j(m?.attributes)&&(m.attributes={...m.attributes,...L}),j(m?.pageReference?.attributes)&&(m.pageReference.attributes={...m.pageReference.attributes,...B(L,Ce)}))}function R(){if(typeof h.default=="string")try{return JSON.parse(h.default)}catch(m){return{}}return h.default}function B(m,L){return Object.keys(m||{}).filter(D=>!L.includes(D)).reduce((D,Q)=>({...D,[Q]:m[Q]}),{})}function j(m){return m&&typeof m=="object"}const W="redirectPageContext";function te(m){return m?.state?.[W]||null}function re(m){return m?.includes(`?${W}=`)}function J(m,L,D={}){const{current:Q,next:{route:ge,url:he}={}}=D,Ee=re(he)?he:te(ge)?oe(ge):null;return Ee?(Q?window.location.assign(Ee):U.navigate(m,L.page,!0),!0):!1}function oe(m){if(!m)return null;const L=te(m)||window.btoa(window.encodeURIComponent(JSON.stringify(m)));return`${ee.default}/?${W}=${L}`}const ye="KnowledgeArticleVersion",Re=["OrderSummary","User"],De=[{type:d.OBJECT_PAGE,params:[{name:"filterName",type:"state",value:"Default"}]},{type:d.SEARCH_PAGE,params:[{name:"term",type:"state",value:" "}]},{type:d.RECORD_PAGE,params:[{name:"recordName",type:"state",value:"detail"},{name:"categoryPath",type:"state",value:"detail"}],match:(m,{name:L})=>{const{attributes:D={}}=m;return D.urlName||D.urlPath?!1:D.objectApiName==="ProductCategory"?L==="categoryPath":Re.includes(D.objectApiName)?!1:L==="recordName"}}],Te=d.MANAGED_CONTENT_PAGE;function Ue(m){return De.find(L=>m.type===L.type)}function $e(m,L=[]){if(m?.type===Te){let D=m.attributes?.contentTypeName;!L.find(ge=>ge.page.type===Te&&ge.page?.attributes?.contentTypeName===D)&&["news","cms_image","cms_document"].indexOf(D)!==-1&&(D=D.startsWith("cms_")?D.substring(4):D,m.attributes.contentTypeName=`sfdc_cms__${D}`),m.attributes&&m.attributes.contentKey&&(m.attributes.urlAlias=m.attributes.contentKey,delete m.attributes.contentKey)}return m}let O;function ne(m,L){m.attributes?.objectApiName===ye&&(O===void 0&&(O=L.find(Q=>Q.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),O&&(m.attributes.objectApiName=O))}function fe(m){return!m.attributes?.urlName&&!m.attributes?.urlPath||(m.type===d.RECORD_PAGE&&(le(m),delete m.attributes.recordId,delete m.state?.recordName,delete m.state?.categoryPath),m.type===d.RECORD_RELATIONSHIP_PAGE&&(le(m),delete m.attributes.recordId)),m}function le(m){m.attributes.recordId&&(m.extraRouteParams={recordId:m.attributes.recordId})}function Ke(m,L){return m.type===d.KNOWLEDGE_ARTICLE_PAGE&&(m.type=d.RECORD_PAGE,m.attributes.actionName="view",m.attributes.objectApiName=ye,delete m.attributes.articleType),ne(m,L),m}function Ye(m,L){const{params:D,match:Q}=L;D.forEach(ge=>{const{type:he,name:Ee,value:Ge}=ge;Q&&!Q(m,ge)||m?.[he]?.[Ee]||(m[he]||(m[he]={}),m[he][Ee]=Ge)})}function ut(m={}){const L=Ue(m);L&&Ye(m,L)}function ft(m,L){if(m.state?.categoryPath?.includes("/")||m.attributes?.urlPath?.includes("/")){let[D,Q]=L.split("?");return D=D.replace(/%2F/g,"/"),Q=Q?`?${Q}`:"",D+Q}return L}function vt(m){return Object.entries(m?.attributes||{}).filter(([,L])=>L===null).forEach(([L])=>delete m.attributes[L]),m}const _t="lightningroutingservicegetlinkinfo";function Nt(m,L){for(const[D,Q]of Object.entries(L))if(Q.test(m))return D;return null}function Dt(m,L,D){const{detail:{callback:Q,stateRef:ge}}=D;try{const he=ge.stateType==="standard_webPage"?d.WEB_PAGE:ge.stateType,Ee={...ge.attributes};if((he===d.RECORD_PAGE||he===d.RECORD_RELATIONSHIP_PAGE)&&(Ee.objectApiName||(Ee.objectApiName=Nt(Ee.recordId,L)),!Ee.objectApiName)){Q(new Error("Cannot infer objectApiName from record ID based on available object pages"));return}const Ge={type:he,attributes:Ee,state:{}};Q(null,{url:m.generateUrl(Ge),dispatcher:()=>{U.navigate(m.contextId,Ge)}})}catch(he){Q(he)}}function Ze(m,L){document.body.addEventListener(_t,D=>Dt(m,L,D))}class Et{constructor(L){this.callback=L}dispose(){}update(L){const D=n.find(Q=>Q.id===L.id)?.view;this.callback({viewset:{default:()=>Me.default(D)}})}}const{window:We,performance:At}=globalThis,St=`${e.WEBRUNTIME_PREFIX}-framework-router`;let it=ie.default==="MRT";globalThis.CLWR=globalThis.CLWR||{},globalThis.CLWR.registeredPersistentParamNames=globalThis.CLWR.registeredPersistentParamNames||new Set;let be;r.router=void 0;let n=[],i,a;const s={};function g(m,L){At?.mark?.(St),n=X(e.splitOptionalParameters(e.parseRoutes(m))),n.forEach(D=>{D.handler=()=>new Promise(Q=>{Q({default:Et})}),D.page.type===d.RECORD_PAGE&&D.patterns?.recordId&&(s[D.page.attributes.objectApiName]=new RegExp(D.patterns.recordId))}),i=n.find(D=>D.metadata.isDefault),L?.isMRT!=null&&(it=L.isMRT),a=!it&&n.every(D=>D.metadata.isPublic!==!1),be={basePath:ee.default,caseSensitive:!0,routes:n,i18n:{locale:se.default,defaultLocale:se.default},DEPRECATED_getRouteFromUrl:Pe,DEPRECATED_getUrlFromRoute:Se},r.router=S.createRouter(be),At?.measure?.(St,St)}g(ze.default);let v,z;function ce(){return z?.contextId||r.router.contextId}function _e(m){if(!m)return"";if(Object.keys(E.persistentQueryParams).length===0)return m;const L=new URL(m,We.location.origin);return Object.entries(E.persistentQueryParams).forEach(([D,Q])=>{L.searchParams.has(D)||L.searchParams.set(D,Q)}),L.pathname+L.search}function Pe(m,L){const D=L(m);return D?(ut(D),Object.entries(D.state).forEach(([Q,ge])=>{globalThis.CLWR?.registeredPersistentParamNames?.has(Q)&&(E.persistentQueryParams[Q]=ge)}),D):i?.page?i.page:null}function Se(m={type:"",attributes:{},state:{}},L){const{type:D,attributes:Q={},state:ge={}}=m;let he;const Ee=JSON.parse(JSON.stringify(m));if(D===d.WEB_PAGE)return he=Q.url,he==null?"":b.isAbsoluteURL(he)?he:(he=gt(he,ee.default),_e(he));if(D===d.LOGIN_PAGE){const Ge=ge.startUrl!=null?`?startURL=${encodeURIComponent(ge.startUrl)}`:"";if(Q.actionName==="login")return gt(`${e.WEBRUNTIME_LOGIN_PATH}${Ge}`,q.default);if(Q.actionName==="logout")return gt(`${e.WEBRUNTIME_LOGOUT_PATH}${Ge}`,q.default)}return D===d.MANAGED_CONTENT_PAGE&&$e(Ee,n),Ee.state||(Ee.state={}),Object.entries(E.persistentQueryParams).forEach(([Ge,et])=>{Ee.state[Ge]?E.persistentQueryParams[Ge]=Ee.state[Ge]:Ee.state[Ge]=et}),Ke(Ee,n),fe(Ee),ut(Ee),vt(Ee),he=L(Ee),D===d.RECORD_PAGE&&(he=ft(Ee,he)),!he&&a&&(he=oe(Ee)),ct(Ee),he}async function Le(m){const{route:L,routeDefinition:D}=m.next;return de(D,L?.pageReference)}async function de(m,L){if(m?.metadata?.isPublic!==!1)return!1;const{default:D}=await t.load("@app/user/v/1");if(D.isGuest){const Q=typeof L=="string"?L:Gt(L);if(Q&&We)if(it){const{default:ge}=await t.load("@app/loginPath/v/1");ke(ge,Q)}else We.location.href=Q;return!0}return!1}function ke(m,L){const D=new URL(m,We.location.href);L&&D.searchParams.set("startURL",L),We.location.assign(D.href)}function qe(m,L){const D=new URL(m,We.location.href);L&&D.searchParams.set("startURL",L),We.location.assign(D.href)}function ht(m){return J(ce(),i,m)}function pt(m){const{current:L,next:D}=m;if(L&&D&&(L.routeDefinition.ssr!==D.routeDefinition.ssr||it)){const Q=Gt(D.route.pageReference);if(Q)return We.location.assign(Q),!0}return!1}function wt(m){const{current:L,next:{pathMatch:D,route:Q={}}}=m;if(!L)return!1;const{pageReference:{type:ge,attributes:he={}}}=Q;if(ge===d.MANAGED_CONTENT_PAGE){const{contentTypeName:Ee}=he;if(Ee===V.LANDING_PAGE)return We.location.assign(D),!0}return!1}async function bt(m){rt(m.detail)}async function rt(m){try{if(!We?.location)return;const{address:L,message:D,code:Q}=m;if(Q===F.messages.PRENAV_FAILED.code)return;if(Q===F.messages.MISSING_ROUTE.code&&!i&&re(L)){We.location.assign(L);return}if(u.logError(`Routing error: ${D}`),i?.metadata?.isPublic===!1){const{default:he}=await t.load("@app/user/v/1");if(he.isGuest)return}const ge=ee.default?We.location.pathname.replace(ee.default,""):We.location.pathname;i&&ge!==i.uri&&Ft(i.page)}finally{v?.errorNavigate(m)}}function Pt(m){lt(m.detail.address)||m.preventDefault()}function lt(m){if(!c.NavigationOverrides.runSync(m))return!1;const{type:L,attributes:D={},state:Q={}}=m;if(L===d.WEB_PAGE){const{url:ge}=D;if(ge==null)return!0;if(b.isAbsoluteURL(ge)||b.isSfdcCoreURL(ge))return We?.open(ge),!1;const he=r.router.parseUrl(ge),Ee=!he||he===i?.page;if(a&&Ee)return We?.location.assign(_e(gt(ge,ee.default))),!1}else if(L===d.LOGIN_PAGE){const{actionName:ge}=D;if(ge==="login")return ke(gt(e.WEBRUNTIME_LOGIN_PATH,q.default),Q.startUrl||""),!1;if(ge==="logout")return qe(gt(e.WEBRUNTIME_LOGOUT_PATH,q.default),Q.startUrl||""),!1}return!0}function gt(m,L){return b.isAbsoluteURL(m)?m:L&&m!==L&&m.indexOf(`${L}/`)!==0?`${L}${m}`:m}function Ft(m){U.navigate(ce(),m)}function Gt(m){return z?z.generateUrl(m):r.router.generateUrl(m)}function Ht(m,L=!0){return typeof We!="undefined"?r.router.subscribe(m,L):null}async function Tt(m,L){if(v?.preNavigate(m),c.PreNavigateOverrides.run(m),z){if(await Le(m))return!1}else Le(m);return wt(m)||!it&&ht(m)||!it&&P(m)||pt(m)?(L?.preventDefault(),!1):!0}let Ct;async function Lt(m){const L=m.detail,D=L.current?.routeDefinition.view;D?Ct=xe.default[D]:Ct=null,await Tt(L,m)}async function Vt(m){c.PostNavigateOverrides.run(m);const L=m.routeDefinition?.view,D=Ct!==xe.default[L];try{it||(l.updateFocus(D),l.handleTitleUpdate(m),yt()?Be(r.router,m,i?.page):Ve(r.router,m))}finally{v?.postNavigate(m)}}async function qt(m){const L=m.detail;Vt(L)}function zt(m){v=N._o11y.routingSupport,m.addEventListener("prenavigate",Lt),m.addEventListener("handlenavigation",Pt),m.addEventListener("postnavigate",qt),m.addEventListener("errornavigate",bt)}function jt(){let m,L;if(We?.location&&(L=We.location.href.substring(We.location.origin.length),m=r.router.matchRoute(L)),!m&&i&&(m=r.router.matchRoute(i.uri)),m){const{route:D,routeDefinition:Q}=m;return z&&k(D),{route:D,routeDefinition:Q,url:L}}return{}}function Xt(m,L){if(!it||z&&typeof We!="undefined")return;const D=jt(),{routeDefinition:Q}=D;if(Q&&!Q.ssr)return;const ge={...be,url:L,handleNavigation:lt,preNavigate:Tt,errorNavigate:rt};z=new A.ServerRouter(ge,r.router,m),v=N._o11y.routingSupport,Tt({next:D}),Vt(D)}function Ut(m,L){const D=L?`?startURL=${encodeURIComponent(L)}`:"";return`${m}${e.WEBRUNTIME_LOGIN_PATH}${D}`}function xt(){Mt()&&Ze(r.router,s)}function yt(){return Boolean(globalThis?.CLWR?.gates?.enableLwrRouteValidation)}function Mt(){return Boolean(globalThis?.CLWR?.gates?.enableLwrLinkInfoProvider)}function Bt(){return yt()?Ne():tt()}r.generateUrl=Gt,r.getCurrentRoute=jt,r.getLoginUrl=Ut,r.handleExtraRouteParams=k,r.initializeLinkInfoProvider=xt,r.initializeRouter=g,r.initializeRouterContainer=zt,r.initializeServerRouter=Xt,r.isCurrentRouteCanonicallyRedirected=Bt,r.navigate=Ft,r.subscribe=Ht,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/overrides/v/1_66_1143-260_0",["exports"],function(r){"use strict";class t{constructor(){this.overrides=[]}add(f){this.overrides.push(f)}run(...f){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((p,l)=>p.then(c=>c===!1?Promise.resolve(!1):Promise.resolve(l(...f))),Promise.resolve(!0)).then(p=>Promise.resolve(p))}runSync(...f){return this.overrides.length===0?!0:this.overrides.reduce((p,l)=>p===!0?l(...f):!1,!0)}}const e=new t,I=new t,w=new t,$=new t,M=new t;r.NavigationOverrides=w,r.Overrides=t,r.PageNavigationFailureOverrides=M,r.PostNavigateOverrides=I,r.PreNavigateOverrides=e,r.SessionTimeoutOverrides=$,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/views/v/1_66_1143-260_0",["exports","lwr/loaderLegacy/v/0_20_6","@communities-webruntime/common/v/1_66_1143-260_0"],function(r,t,e){"use strict";function I(w){return t.load(e.getViewModuleSpecifier(w),"webruntime/views/v/1_66_1143-260_0")}r.default=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/formFactor/v/1_66_1143-260_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function I(){return t()?"Medium":e()?"Small":"Large"}const w=I();r.default=w,r.getFormFactor=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("wire-service/v/8_25_1",["exports"],function(r){"use strict";function t(x){return x===void 0}const e="ValueChangedEvent";class I{constructor(G){this.type=e,this.value=G}}const{freeze:w,defineProperty:$,isExtensible:M}=Object,_="$$DeprecatedWiredElementHostKey$$",f="$$DeprecatedWiredParamsMetaKey$$";function p(x,G){if(x==null||!M(x))throw new TypeError("adapter id must be extensible");if(typeof G!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in x)throw new TypeError("adapter id is already associated to an adapter factory");const se=class extends T{constructor(ie){super(ie);G(this.eventTarget)}};w(se),w(se.prototype),$(x,"adapter",{writable:!1,configurable:!1,value:se})}function l(){}const{forEach:c,splice:u,indexOf:E}=Array.prototype,b="connect",N="disconnect",S="config";function A(x,G){const se=E.call(x,G);se>-1&&u.call(x,se,1)}function F(x){return Object.keys(x).length===0}function U(x,G){return G.length===0||G.some(se=>!t(x[se]))}function Y(x,G,se){return se.some(ie=>x[ie]!==G[ie])}class T{constructor(G){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=G,this.wiredElementHost=G[_],this.dynamicParamsNames=G[f],this.eventTarget={addEventListener:(se,ie)=>{switch(se){case b:{this.connecting.push(ie);break}case N:{this.disconnecting.push(ie);break}case S:{this.configuring.push(ie),this.currentConfig!==void 0&&ie.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${se}.`)}},removeEventListener:(se,ie)=>{switch(se){case b:{A(this.connecting,ie);break}case N:{A(this.disconnecting,ie);break}case S:{A(this.configuring,ie);break}default:throw new Error(`Invalid event type ${se}.`)}},dispatchEvent:se=>{if(se instanceof I){const ie=se.value;this.callback(ie)}else{if(se.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(se);throw new Error(`Invalid event type ${se.type}.`)}return!1}}}update(G){this.isFirstUpdate&&(this.isFirstUpdate=!1,!F(G)&&!U(G,this.dynamicParamsNames))||(t(this.currentConfig)||Y(G,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=G,c.call(this.configuring,se=>{se.call(void 0,G)}))}connect(){c.call(this.connecting,G=>G.call(void 0))}disconnect(){c.call(this.disconnecting,G=>G.call(void 0))}}r.ValueChangedEvent=I,r.register=p,r.registerWireService=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/8_25_1"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/client/formFactor/v/1_66_1143-260_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function I(){return t()?"Medium":e()?"Small":"Large"}const w=I();r.default=w,r.getFormFactor=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@communities-webruntime/common/v/1_66_1143-260_0",["exports"],function(r){"use strict";var t=!0,e="src/labels",I=["@app","@branding","@design","@luvio","@lwrjs","@o11y","@perm","@salesforce","@udd","@view","assert","aura-instrumentation","aura-storage","aura","b2c_lite_commerce","community_builder","community_case","community_layout","community_login","community_runtime","community_user","dxp_action","dxp_base","dxp_content_layout","dxp_crm_search","dxp_data_provider","dxp_flow","dxp_flowruntime","dxp_form","dxp_icon","dxp_layout","dxp_page_layout","dxp_records","dxp_search","dxp_service","dxp_styling","dxp_util","dxp","embeddedMessaging","es_actions","es_base_components","es_block_builder","es_brand","es_data_field","es_design","es_property_editors","es_shared","experience_marketing_landing","experience_messaging","experience","flowruntime","force","forceContent","fragment","industries_common","instrumentation","interop","lightning","logger","lwc","lwr","mobileruntime","o11y","regrello","runtime_hybrid_capabilities","runtime_omnistudio","runtime_omnistudio_common","runtime_omnistudio_flexcards","runtime_omnistudio_omniscript","tableau","transport","trustedDesign","wave","webruntime","webruntimedesign","wire-service"],w="webruntime";function $(H){return`/${w}${H}`}var M=$("/api"),_=$("/log/metrics"),f=$("/log/errors"),p={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},l={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},c=8e3,u="/webruntime/login",E="/webruntime/logout",b="no-cache,must-revalidate,max-age=0,no-store,private",N="@design";function S(H){return`${N}/${H}`}function A(H){return H.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var F=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),U=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function Y(H,ae){if(!H)throw new Error(ae)}function T(H){if(U.test(H))return H;Y(F.test(H),`${H} is an invalid module specifier.`);const ae=H.split(/[/:]/),[K,ve]=ae;return Y(!K.includes("-"),`${H}'s namespace cannot contain hyphens.`),[K.toLowerCase(),A(ve)].join("-")}var x="webruntime",G="js",se="latest",ie={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function q(H,ae){if(!H)throw new Error(ae)}function ee(H){const[ae,K=""]=H.split("://"),[ve,we]=K.indexOf("@")>0?K.split("@"):[K];return{type:ae,name:ve,locale:we}}function ze(H={type:"",name:""},ae,K,ve=!0){const{name:we}=typeof H=="string"?ee(H):H;q(we,"Name not specified");const Be=xe(H,ae,K),Ne=ve?`.${G}`:"";return`${Be}${we}${Ne}`}function xe(H={type:"",name:""},ae,K){const{type:ve,locale:we}=typeof H=="string"?ee(H):H,Be=ve===ie.COMPONENT;return q(ve,"Type not specified"),q(ae,"Mode not specified"),q(we||!Be,"Component locale not specified"),`/${x}/${ve}/${K||se}/${ae}${we?`/${we}`:""}/`}var Me="@view";function o(H){return`${Me}/${H}`}var h=["hasVanityURL","isDefault","isPublic","isRoot"],d=[{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:H},{name:ae})=>H?.objectApiName==="ProductCategory"?ae==="categoryPath":ae!=="categoryPath"}];function V(H,ae){const{match:K,params:ve}=ae;ve.forEach(we=>{if(K&&!K(H.page,we))return;const{type:Be,name:Ne}=we,Ce=Be,Xe=Ce==="state"?"attributes":"state";!H.page?.[Xe]?.[Ne]||(H.page[Ce]||(H.page[Ce]={}),H.page[Ce][Ne]=H.page[Xe][Ne],delete H.page[Xe][Ne])})}function X(H){let ae=H;return["categoryPath","urlPath"].forEach(K=>{ae=ae.replace(new RegExp(`:${K}\\+?`),`:${K}+`)}),ae}function ue(H){return H.startsWith(":")?H.substring(1).replace(/[?+]/g,""):null}var Oe=/\(.*\)/;function He(H){return H.split("/").map(ae=>ae.replace(Oe,"")).join("/")}function je(H,ae){return H.split("/").map(K=>{const ve=ue(K);return ve&&ae[ve]?K.replace(ve,`${ve}(${ae[ve]})`):K}).join("/")}function Fe(H){!H.uri.includes(":")||!H.page?.type||(H.page.attributes=H.page.attributes||{},H.uri.split("/").forEach(ae=>{const K=ue(ae);if(K){const ve=`:${K}`;H.page.attributes[K]||(H.page.attributes[K]=ve)}}))}function Ae(H,ae=!1){return H.map(K=>{K.uri||(K.uri=K.path),K.metadata||(K.metadata={}),h.forEach(Ce=>{Ce in K&&(K.metadata[Ce]=K[Ce],delete K[Ce])}),K.uri&&(K.uri=He(K.uri),Fe(K)),K.patternMap&&(K.patterns=K.patternMap,delete K.patternMap);const ve=K.page?.attributes?.objectApiName;ve&&!ve.startsWith(":")&&(K.uri=K.uri.replace(":objectApiName",ve),K.patterns?.objectApiName&&delete K.patterns.objectApiName);const we=d.find(Ce=>K.page?.type===Ce.type);we&&V(K,we);const Be=K.page?.type;return!ae&&Be==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(K.page.attributes?.objectApiName)&&(K.uri=X(K.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(Be)&&!K.page?.attributes?.actionName&&(K.page.attributes.actionName="view"),ae&&K.patterns&&(K.uri=je(K.uri,K.patterns)),K})}function Ve(H){const ae=[];let K="",ve=0,we=!1;for(let Ne=0;Ne0&&ae.push({raw:K,isParam:!1,isOptional:!1}),K=""):K+=Ce}K.length>0&&ae.push({raw:K,isParam:!1,isOptional:!1});const Be=/^:([A-Za-z0-9_]+)(\(.+\))?(\?)?$/;return ae.map(Ne=>{if(Ne.raw.startsWith(":")){const Ce=Ne.raw.match(Be);return Ce?{raw:Ne.raw,isParam:!0,paramName:Ce[1],regexPart:Ce[2]||void 0,isOptional:!!Ce[3]}:{raw:Ne.raw,isParam:!0,paramName:Ne.raw.slice(1),isOptional:!1}}return{raw:Ne.raw,isParam:!1,isOptional:!1}})}function tt(H,ae){const K=Array.isArray(H)?H:[H],ve=[];return K.forEach(we=>{const Be=Ve(we.uri);if(!Be.some(Ie=>Ie.isParam&&Ie.isOptional)){ve.push(we);return}const Ne=[];let Ce,Xe="";Be.forEach(Ie=>{if(Ie.isOptional){const mt=Ie.raw.substring(0,Ie.raw.length-1);Ne.push({value:mt,isOptional:!0}),Ce=Ie.paramName,Xe=we.page.attributes?.[Ce]?"attributes":"state"}else Ne.push({value:Ie.raw,isOptional:!1})});const Je={...we,uri:(Ie=>Ie.startsWith("/")?Ie:`/${Ie}`)(Ne.map(Ie=>Ie.value).join("/"))};ae&&typeof ae=="function"&&(Je.id=ae());const at={};Object.keys(we.page[Xe]).forEach(Ie=>{Ie!==Ce&&(at[Ie]=we.page[Xe][Ie])});const ct={...we,uri:(Ie=>Ie.startsWith("/")?Ie:`/${Ie}`)(Ne.filter(Ie=>!Ie.isOptional).map(Ie=>Ie.value).join("/")),page:{...we.page,[Xe]:at}};ct.patterns&&(ct.patterns=Object.fromEntries(Object.entries(ct.patterns).filter(([Ie])=>Ie!==Ce))),ve.push(Je),ve.push(ct)}),ve}r.API_PATH_PREFIX=M,r.CACHE_CONTROL_HEADER_NO_CACHE=b,r.CLIENT_ERROR_TYPES=p,r.ERRORS_PATH_PREFIX=f,r.LABELS_DEFAULT_DIR=e,r.LOCKER_DEFAULT_ENABLED=t,r.MAX_URL_LENGTH=c,r.METRICS_PATH_PREFIX=_,r.MOBILE_APP_USER_AGENTS=l,r.RESOURCE_TYPES=ie,r.TRUSTED_COMPONENTS=I,r.WEBRUNTIME_LOGIN_PATH=u,r.WEBRUNTIME_LOGOUT_PATH=E,r.WEBRUNTIME_PREFIX=w,r.convertToKebabCase=A,r.getDesignComponentModuleSpecifier=S,r.getResourceUrl=ze,r.getViewModuleSpecifier=o,r.moduleSpecifierToElementName=T,r.parseResourceDescriptor=ee,r.parseRoutes=Ae,r.splitOptionalParameters=tt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_1143-260_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})});