LWR.define("lwr/scheduler/v/0_22_21",["exports"],function(o){"use strict";let r=0;function a(){r=0}async function w(){const d=S(r);d.shouldYield&&(r=d.timeOfLastYield,await T())}function S(d){if(!globalThis.performance||!b())return{shouldYield:!1,timeOfLastYield:d};const g=50,u=globalThis.performance.now();return u-d>g?{shouldYield:!0,timeOfLastYield:u}:{shouldYield:!1,timeOfLastYield:d}}async function T(){const d=globalThis.scheduler;return d?.yield?d.yield():new Promise(g=>setTimeout(g,0))}function b(){const d=globalThis,{SSREnabled:g}=d.LWR&&d.LWR.env||{};return!!g}o.resetYieldTracking=a,o.yieldIfNecessary=w,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("lwr/scheduler",["exports","lwr/scheduler/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("lwr/metrics/v/0_22_21",["exports"],function(o){"use strict";const r="lwr.bootstrap.",a=`${r}end`,w=`${r}error`,S=`${w}.count`,T=`${r}duration`,b="lwr.bootstrap.init",d=`${b}.duration`,g="lwr.bootstrap.init.module",u=`${g}.duration`,c=`${g}.count`,f="lwr.loader.",O=`${f}module.define`,C=`${O}.count`,L=`${f}module.dynamicLoad`,D=`${L}.count`,H=`${f}module.fetch`,P=`${H}.count`,j=`${H}.duration`,U=`${f}module.error`,A=`${U}.count`,V=`${f}mappings.fetch`,G=`${V}.count`,k=`${V}.duration`,W=`${f}mappings.error`,ne=`${W}.count`,_="lwr.router.",v=`${_}navigate`,re=`${v}.count`,ae=`${v}.duration`,ue=`${_}view`,J=`${ue}.duration`,ye=`${_}error`,be=`${ye}.count`;o.BOOTSTRAP_DURATION=T,o.BOOTSTRAP_END=a,o.BOOTSTRAP_ERROR=w,o.BOOTSTRAP_ERROR_COUNT=S,o.BOOTSTRAP_PREFIX=r,o.INIT=b,o.INIT_DURATION=d,o.INIT_MODULE=g,o.INIT_MODULE_COUNT=c,o.INIT_MODULE_DURATION=u,o.LOADER_PREFIX=f,o.MAPPINGS_ERROR=W,o.MAPPINGS_ERROR_COUNT=ne,o.MAPPINGS_FETCH=V,o.MAPPINGS_FETCH_COUNT=G,o.MAPPINGS_FETCH_DURATION=k,o.MODULE_DEFINE=O,o.MODULE_DEFINE_COUNT=C,o.MODULE_DYNAMIC_LOAD=L,o.MODULE_DYNAMIC_LOAD_COUNT=D,o.MODULE_ERROR=U,o.MODULE_ERROR_COUNT=A,o.MODULE_FETCH=H,o.MODULE_FETCH_COUNT=P,o.MODULE_FETCH_DURATION=j,o.ROUTER_ERROR=ye,o.ROUTER_ERROR_COUNT=be,o.ROUTER_NAV=v,o.ROUTER_NAV_COUNT=re,o.ROUTER_NAV_DURATION=ae,o.ROUTER_PREFIX=_,o.ROUTER_VIEW=ue,o.ROUTER_VIEW_DURATION=J,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("lwr/init/v/0_22_21",["exports","lwr/metrics/v/0_22_21","lwr/profiler/v/0_22_21","lwr/scheduler/v/0_22_21","lwc/v/9_1_2"],function(o,r,a,w,S){"use strict";const T="lwr:hydrate",b="visible";function d(j,U,A){S.hydrateComponent(j,U,A)}function g(j,U,A){const V=O();u.set(j,{ctor:U,props:A}),V.observe(j)}const u=new Map;let c;function f(j){return"IntersectionObserver"in globalThis&&j.getAttribute(T)===b}function O(){return c||(c=new IntersectionObserver((j,U)=>{j.forEach(A=>{if(A.isIntersecting){const V=A.target;U.unobserve(V);const G=u.get(V);if(G){u.delete(V);const{ctor:k,props:W}=G;d(V,k,W)}}})},{root:null,rootMargin:"100px"}),c)}function C(j,U){return S.createElement(j,{is:U})}function L(j){return j.replace(/\/v\/[a-zA-Z0-9-_.]+$/,"").replace("/","-").replace(/([A-Z])/g,U=>`-${U.toLowerCase()}`)}const D=/-([a-z])/g;function H(j){return j.replace(D,U=>U[1].toUpperCase())}function P(j,U={}){if(typeof globalThis.customElements=="undefined"||typeof globalThis.document=="undefined"){a.logOperationStart({id:r.BOOTSTRAP_END});return}a.logOperationStart({id:r.INIT}),(async()=>{let A=0;const V=globalThis.document;for(const[G,k]of j){await w.yieldIfNecessary();const W=++A,ne=L(G);if(!V.body.querySelector(ne)){a.logOperationStart({id:r.INIT_MODULE,specifier:G,specifierIndex:W});const v=C(ne,k),re=V.querySelector("[lwr-root]");re?re.appendChild(v):V.body.appendChild(v),a.logOperationEnd({id:r.INIT_MODULE,specifier:G,specifierIndex:W,metadata:{renderMode:"spa"}});continue}const _=V.querySelectorAll(ne);for(const v of _){a.logOperationStart({id:r.INIT_MODULE,specifier:G,specifierIndex:W});const re=v.dataset.lwrPropsId;if(re){f(v)?g(v,k,U[re]||{}):d(v,k,U[re]||{}),a.logOperationEnd({id:r.INIT_MODULE,specifier:G,specifierIndex:W,metadata:{renderMode:"ssr"}});continue}const ae=C(ne,k);for(const{name:J,value:ye}of v.attributes){ae.setAttribute(J,ye);const be=H(J);be in ae&&(ae[be]=ye)}for(;v.childNodes.length>0;)ae.appendChild(v.childNodes[0]);const ue=v.parentElement;ue&&ue.replaceChild(ae,v),a.logOperationEnd({id:r.INIT_MODULE,specifier:G,specifierIndex:W,metadata:{renderMode:"csr"}})}}})(),a.logOperationEnd({id:r.INIT}),a.logOperationStart({id:r.BOOTSTRAP_END})}o.HYDRATE_DIRECTIVE=T,o.HYDRATE_VISIBLE_VALUE=b,o.getPropFromAttrName=H,o.init=P,o.toKebabCase=L,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("lwr/init",["exports","lwr/init/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/mrtAppLoginPathHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a){"use strict";function w(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var S=w(r);const T="@app/loginPath";function b(d){d.addLoaderPlugin({resolveModule:async g=>g===T?{url:`${S.default}/${a.WEBRUNTIME_PREFIX}/module/${g}`}:null})}o.default=b,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/mrtAppLoginPathHook",["exports","hooks/mrtAppLoginPathHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/mrtFeatureFlagHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@app/deployTarget/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a,w){"use strict";function S(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var T=S(r),b=S(a);const d="@salesforce/featureFlag/";function g(u){u.addLoaderPlugin({resolveModule:async c=>b.default==="MRT"&&c.startsWith(d)?{url:`${T.default}/${w.WEBRUNTIME_PREFIX}/module/${c}`}:null})}o.default=g,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/mrtFeatureFlagHook",["exports","hooks/mrtFeatureFlagHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/mrtPermissionsHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@app/deployTarget/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a,w){"use strict";function S(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var T=S(r),b=S(a);const d={"@salesforce/userPermission/":"","@salesforce/customPermission/":"custom/","@perm/":""};function g(u){u.addLoaderPlugin({resolveModule:async c=>{if(b.default!=="MRT")return null;const f=Object.keys(d).find(D=>c.startsWith(D));if(!f)return null;const O=c.split("/"),C=O[O.length-1],L=d[f];return{url:`${T.default}/${w.WEBRUNTIME_PREFIX}/perm/${L}${C}`}}})}o.default=g,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/mrtPermissionsHook",["exports","hooks/mrtPermissionsHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/appCsrfTokenLoaderHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a){"use strict";function w(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var S=w(r);const T="@app/csrfToken";function b(d){d.addLoaderPlugin({resolveModule:async g=>g===T?{url:`${S.default}/${a.WEBRUNTIME_PREFIX}/module/${g}`}:null})}o.default=b,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/appCsrfTokenLoaderHook",["exports","hooks/appCsrfTokenLoaderHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/appUserLoaderHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a){"use strict";function w(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var S=w(r);const T="@app/user";function b(d){d.addLoaderPlugin({resolveModule:async g=>g===T?{url:`${S.default}/${a.WEBRUNTIME_PREFIX}/module/${g}`}:null})}o.default=b,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/appUserLoaderHook",["exports","hooks/appUserLoaderHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/cookieStore/v/1_66_1200-262_0",["exports","@app/authenticationCookieName/v/1","@app/guestUuidCookieName/v/1","@salesforce/site/Id/v/1"],function(o,r,a,w){"use strict";function S(P){return P&&typeof P=="object"&&"default"in P?P:{default:P}}var T=S(r),b=S(a),d=S(w);let g;function u(P){P&&typeof P=="object"&&(g=P)}function c(P){g=H(P)}function f(){const P=D(T.default);return P?P==="1"||P.includes(d.default):!1}function O(){return D(b.default)}function C(){return g}function L(){return Object.entries(g||{}).map(([P,j])=>`${P}=${j}`).join(";")}function D(P){return P?(typeof document!="undefined"&&c(document?.cookie),g&&g[P]):null}function H(P){return P&&typeof P=="string"?P.split(";").reduce((U,A)=>{const[V,G]=A.trim().split("=").map(decodeURIComponent);return U[V]=G,U},{}):null}o.getAllCookies=C,o.getAllCookiesString=L,o.getCookie=D,o.getGuestUuidCookie=O,o.hasSidCookie=f,o.setCookiesFromObject=u,o.setCookiesFromString=c,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/cookieStore",["exports","webruntime/cookieStore/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("hooks/clientGuestDetectionHook/v/1_66_1200-262_0",["exports","@app/authenticationCookieName/v/1","webruntime/cookieStore/v/1_66_1200-262_0"],function(o,r,a){"use strict";function w(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var S=w(r);const T="@app/user",b=`${T}/v/1`,{LWR:d}=globalThis;S.default&&!a.getCookie(S.default)&&(d.define(b,[T],function(u){return u&&typeof u=="object"&&"default"in u?u.default:u}),d.define(T,["exports"],u=>{u.default={isGuest:!0,id:null,contactId:null,csrfToken:null}}));function g(){}o.default=g,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("hooks/clientGuestDetectionHook",["exports","hooks/clientGuestDetectionHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/dynamicImportResourceHook/v/1_66_1200-262_0",["exports","@app/basePath/v/1","@app/versionKey/v/1"],function(o,r,a){"use strict";function w(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var S=w(r),T=w(a);function b(d){const g="@salesforce/resourceUrl/",u="resourceUrl://";d.addLoaderPlugin({resolveModule:async c=>c.startsWith(g)?{url:`${u}${c}`}:null,loadModule:async c=>{if(c.startsWith(u)){const f=c.split("/"),O=f[f.length-1];return{data:`LWR.define('${g}${O}', ['exports'], function(exports) {
exports.default = '${S.default}/webruntime/org-asset/${T.default}/resource-name/${O}';
});`,status:200}}return null}})}o.default=b,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/dynamicImportResourceHook",["exports","webruntime/dynamicImportResourceHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/clientPluginService/v/1_66_1200-262_0",["exports","o11y/client/v/262_6_0"],function(o,r){"use strict";const a="EXPERIENCE-TAG-MANAGER";async function w(){if(window){const b=r.getInstrumentation(a);window.WEBSDK=window.WEBSDK||{},window.WEBSDK.sendEngagementEvent=(d,g)=>b.log(d,g)}}const{error:S}=console;async function T(){await Promise.all([w()]).catch(S)}o.loadPlugins=T,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/clientPluginService",["exports","webruntime/clientPluginService/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/utils/v/1_66_1200-262_0",["exports"],function(o){"use strict";function r(C,L){if(!C)throw new Error(L)}function a(C){return typeof C=="object"&&C!==null&&!Array.isArray(C)}function w(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(C){const L=Math.random()*16|0;return(C==="x"?L:L&3|8).toString(16)})}function S(C){return typeof C=="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(C)}const T=new RegExp("^([a-z]+://|//)","i");function b(C){return C?T.test(C):!1}const d=new RegExp("/sfsites/c/.+","i");function g(C){return C?d.test(C):!1}function u(C,L){const D=JSON.stringify(L);if(!(window&&window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(C,D))){const P=new XMLHttpRequest;P.open("POST",C,!0),P.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),P.send(D)}}function c(C){return document?.querySelector(`meta[name="${C}"]`)?.getAttribute("content")||""}function f(){return c("basePath")}function O(){return c("deployTarget")||"CORE"}o.assert=r,o.getBasePathFromMetaTag=f,o.getDeployTargetFromMetaTag=O,o.isAbsoluteURL=b,o.isObject=a,o.isSfdcCoreURL=g,o.sendPayloadToServer=u,o.uuidValidate=S,o.uuidv4=w,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/logger/v/1_66_1200-262_0",["exports"],function(o){"use strict";function r(...w){console.log(...w)}function a(...w){console.error(...w)}o.log=r,o.logError=a,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/mobileUtils/v/1_66_1200-262_0",["exports","@app/isMobileAppMode/v/1","@communities-webruntime/common/v/1_66_1200-262_0"],function(o,r,a){"use strict";function w(b){return b&&typeof b=="object"&&"default"in b?b:{default:b}}var S=w(r);function T(){const b=globalThis.navigator?.userAgent;return b&&(S.default&&b.includes(a.MOBILE_APP_USER_AGENTS.PUBLISHER)||b.includes(a.MOBILE_APP_USER_AGENTS.PLAYGROUND))}o.isMobileApp=T,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/mobileUtils",["exports","webruntime/mobileUtils/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/mobileModuleInit/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","webruntime/mobileUtils/v/1_66_1200-262_0","webruntime/routingService/v/1_66_1200-262_0","webruntime/logger/v/1_66_1200-262_0"],function(o,r,a,w,S){"use strict";function T(){b(),w.subscribe(d)}function b(){document.addEventListener("notify-client-module",g)}function d(f){u("navigationcompleted",{routeResult:f})}function g({detail:f}){const{action:O,data:C}=f;switch(O){case"navigate":w.navigate(C.routeObj,C.replaceState);break;default:S.log(`No such action "${O}" exists.`);break}}function u(f,O){document.dispatchEvent(new CustomEvent("notify-mobile-module",{bubbles:!0,composed:!0,detail:{action:f,data:O}}))}async function c(){if(!a.isMobileApp())return;const{hybridAppManager:f}=await r.load("mobileruntime/hybridAppManager/v/1");f(),T()}o.mobileModuleInit=c,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/mobileModuleInit",["exports","webruntime/mobileModuleInit/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/f6Controller/v/1_66_1200-262_0",["exports"],function(o){"use strict";const r=300,{document:a}=globalThis,w={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},S=u=>u&&(u.shadowRoot?u.shadowRoot.activeElement?S(u.shadowRoot.activeElement):u:u.activeElement?S(u.activeElement):u);class T{constructor(c={}){this.regions=[],this.config=w,this._debounceKeyDownHandler=void 0,this._styleElement=void 0,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=f=>{this.clearRegionHighlights();const{key:O,ctrlKey:C,metaKey:L}=f;O===this.config.navKey&&(C||L)&&(this.populateRegions(),this.handleNavigation(f))},this.elementFilter=f=>f.parentElement&&f.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:f.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(f)&&!this.isEmpty(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),r),this.initialize(c)}debounce(c,f,O){const C=O||{};let L=C.leading,D;return function(){const P=Array.prototype.slice.apply(arguments);L&&(c.apply(this,P),L=!1),clearTimeout(D),D=setTimeout(function(){c.apply(this,P),L=C.leading},f)}}appendStyleElement(){this._styleElement=a.createElement("style");const c=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${c} { position: relative; } ${c}::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"),a.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(c=>{c.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(c){c.classList.add(this.config.f6RegionHighlightClass)}focusIn(c){const f=c.querySelector('a[href],button:not([disabled]),input:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');f?f.focus():(c.tabIndex="-1",c.focus())}handleNavigation(c){if(c.preventDefault(),!this.regions.length)return;const f=c.shiftKey,O=this.getElementRegionIndex(S(c.target)),C=this.getNextRegionIndex(O,f);if(C===-1)return;const L=this.regions[C];this.focusIn(L),this.addRegionHighlight(L)}shadowContains(c,f){return c===f||c.contains(f)||c.shadowRoot&&this.isElementInContainerElements(c.shadowRoot.children,f)||c.tagName==="SLOT"&&this.isElementInContainerElements(c.assignedElements(),f)?!0:this.isElementInContainerElements(c.children,f)}isElementInContainerElements(c,f){if(!c||!c.length)return!1;const O=c.length;for(let C=0;C<O;C++)if(this.shadowContains(c[C],f))return!0;return!1}getElementRegionIndex(c){return!this.regions||!this.regions.length?-1:this.regions.findIndex(f=>this.shadowContains(f,c))}getNextRegionIndex(c,f){const O=this.regions.length-1;return O<0?-1:f?c<=0?O:c-1:c===O?0:c+1}isVisible(c){if(c===a.body||!(c instanceof Element))return!0;try{const f=window.getComputedStyle(c)||c.style;if(!f)return!1;const{display:O,visibility:C}=f;return O&&O.toLowerCase()==="none"||C&&C.toLowerCase()==="hidden"?!1:this.isVisible(c.parentNode)}catch(f){return!1}}isEmpty(c){if(c.tagName==="SLOT"&&!this.isEmptyChildren(c.assignedElements()))return!1;let f=c.children;return(!f||!f.length)&&c.shadowRoot&&(f=c.shadowRoot.children),this.isEmptyChildren(f)}isEmptyChildren(c){if(!c||!c.length)return!0;const f=c.length;for(let O=0;O<f;O++){const C=c[O];if(C.tagName!=="SLOT"||!this.isEmpty(C))return!1}return!0}populateRegions(){if(!a)return;this.regions=[];const c=a.createTreeWalker(a.body,NodeFilter.SHOW_ELEMENT,this.elementFilter,!1);for(;c.nextNode();)this.regions.push(c.currentNode)}initialize(c={}){!a||(a.addEventListener("keydown",this._debounceKeyDownHandler),this.regions=[],this.config={...this.config,...c},this.appendStyleElement())}cleanUp(){!a||(a.removeEventListener("keydown",this._debounceKeyDownHandler),this._regions=[],this._config=w,this._debounceKeyDownHandler=null,this._styleElement&&(a.head.removeChild(this._styleElement),this._styleElement=null))}getConfig(){return Object.freeze(this.config)}}let b;const d=u=>(b||(b=new T(u)),b),g=()=>{if(b){const u=b.getConfig();if(u)return u.f6RegionAttribute}};o.DEFAULT_CONFIG=w,o.F6Controller=T,o.createF6Controller=d,o.getActiveElem=S,o.getCurrentRegionAttributeName=g,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/clientHook/v/1_66_1200-262_0",["exports","@communities-webruntime/common/v/1_66_1200-262_0","webruntime/f6Controller/v/1_66_1200-262_0","webruntime/mobileModuleInit/v/1_66_1200-262_0","webruntime/routingService/v/1_66_1200-262_0","webruntime/mobileUtils/v/1_66_1200-262_0","webruntime/utils/v/1_66_1200-262_0","@app/uiBasePath/v/1","@app/deployTarget/v/1","webruntime/clientPluginService/v/1_66_1200-262_0"],function(o,r,a,w,S,T,b,d,g,u){"use strict";function c(D){return D&&typeof D=="object"&&"default"in D?D:{default:D}}var f=c(d),O=c(g);function C(D){const H=D.composedPath().find(ne=>ne.tagName==="A");if(!H||D.defaultPrevented||T.isMobileApp())return;let P=H.getAttribute("href");if(!P||P.includes("#"))return;const j=new URL(P,window.location.href),U=j?.protocol==="http:"||j?.protocol==="https:",A=b.isAbsoluteURL(P);A||P.startsWith("/")?f.default.endsWith("/s")&&P.startsWith(f.default)&&(P=P.replace("/s/","/")):P=window.location.pathname+P;const V=A||Boolean(S.router.matchRoute(P)),G=H.getAttribute("target"),k=!G&&!A||G==="_self"||window.name&&G===window.name||G==="_top"&&window.top===window||G==="_parent"&&window.parent===window;U&&V&&k^A&&(D.preventDefault(),S.navigate({type:"standard__webPage",attributes:{url:P}}))}async function L(){O.default==="MRT"&&S.initializeServerRouter(globalThis.window),S.initializeLinkInfoProvider(S.router),window?.addEventListener("click",C),window?.performance.measure(`${r.WEBRUNTIME_PREFIX}-app-bootstrap`),a.createF6Controller(),await w.mobileModuleInit(),await u.loadPlugins()}o.default=L,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/clientHook",["exports","webruntime/clientHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("o11y_schema/sf_pdp/v/260_63_0",["exports"],function(o){"use strict";var r={namespace:"sf.pdp",name:"PdpEvent",pbjsSchema:{nested:{sf:{nested:{pdp:{nested:{PdpEvent:{oneofs:{_eventVolume:{oneof:["eventVolume"]}},fields:{contextName:{id:5,type:"string"},componentId:{id:2,type:"string"},productFeatureId:{id:3,type:"string"},channel:{id:7,type:"string"},eventName:{id:1,type:"string"},contextValue:{id:6,type:"string"},subType:{id:8,type:"string"},eventVolume:{options:{proto3_optional:!0},id:4,type:"int32"}}}}}}}}}};o.pdpEventSchema=r,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_pdp",["exports","o11y_schema/sf_pdp/v/260_63_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("o11y_schema/sf_clwr/v/260_63_0",["exports"],function(o){"use strict";var r={namespace:"sf.clwr",name:"ModulePayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{ModulePayload:{fields:{bootstrapStats:{id:1,type:"string"}}}}}}}}}},a={namespace:"sf.clwr",name:"LandingPagePayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{LandingPagePayload:{oneofs:{_lastPublishedDate:{oneof:["lastPublishedDate"]},_nodeVersion:{oneof:["nodeVersion"]}},fields:{imageCount:{id:4,type:"uint32"},contentKey:{id:1,type:"string"},lastPublishedDate:{options:{proto3_optional:!0},id:7,type:"string"},managedContentId:{id:2,type:"string"},formFieldCount:{id:3,type:"uint32"},timeToInteraction:{id:6,type:"double"},nodeVersion:{options:{proto3_optional:!0},id:8,type:"string"},xomfCount:{id:5,type:"uint32"}}}}}}}}}},w={namespace:"sf.clwr",name:"Root",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{Root:{oneofs:{_bootstrap:{oneof:["bootstrap"]},_lwrBootstrap:{oneof:["lwrBootstrap"]},_lwrBootstrapError:{oneof:["lwrBootstrapError"]}},fields:{sequence:{id:1,type:"uint32"},navCount:{id:2,type:"uint32"},clickCount:{id:3,type:"uint32"},lwrBootstrapError:{options:{proto3_optional:!0},id:7,type:"string"},isManual:{id:4,type:"bool"},lwrBootstrap:{options:{proto3_optional:!0},id:6,type:"double"},bootstrap:{options:{proto3_optional:!0},id:5,type:"double"}}}}}}}}}},S={namespace:"sf.clwr",name:"NavTransition",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{NavTransition:{fields:{code:{id:4,type:"string"},isSsr:{id:3,type:"bool"},level:{id:5,type:"string"},nextUrl:{id:1,type:"string"},type:{id:2,type:"string"}}}}}}}}}},T={namespace:"sf.clwr",name:"PagePayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{PagePayload:{fields:{pageViewName:{id:4,type:"string"},isSsr:{id:3,type:"bool"},type:{id:2,type:"string"},url:{id:1,type:"string"}}}}}}}}}},b={namespace:"sf.clwr",name:"Nav",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{Nav:{fields:{isIdleHit:{id:1,type:"bool"},isManual:{id:2,type:"bool"}}}}}}}}}},d={namespace:"sf.clwr",name:"AppPayload",pbjsSchema:{nested:{sf:{nested:{clwr:{nested:{AppPayload:{oneofs:{_isSsrCodeTypeEnabled:{oneof:["isSsrCodeTypeEnabled"]},_webruntimeFrameworkVersion:{oneof:["webruntimeFrameworkVersion"]}},reserved:[[9,9]],fields:{templateType:{id:13,type:"string"},isPreview:{id:4,type:"bool"},jtbdName:{id:10,type:"string"},jtbdCount:{id:12,type:"uint32"},deployTarget:{id:8,type:"string"},jtbdPhase:{id:11,type:"string"},visd:{id:1,type:"double"},isSsrCodeTypeEnabled:{options:{proto3_optional:!0},id:14,type:"bool"},siteId:{id:6,type:"string"},isMobile:{id:3,type:"bool"},lang:{id:5,type:"string"},isDesign:{id:2,type:"bool"},vKey:{id:7,type:"string"},webruntimeFrameworkVersion:{options:{proto3_optional:!0},id:15,type:"string"}}}}}}}}}};o.appPayloadSchema=d,o.landingPagePayloadSchema=a,o.modulePayloadSchema=r,o.navSchema=b,o.navTransitionSchema=S,o.pagePayloadSchema=T,o.rootSchema=w,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_clwr",["exports","o11y_schema/sf_clwr/v/260_63_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("o11y_schema/sf_instrumentation/v/260_63_0",["exports"],function(o){"use strict";var r={namespace:"sf.instrumentation",name:"Event",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Event:{fields:{type:{id:1,type:"string"}}}}}}}}}},a={namespace:"sf.instrumentation",name:"CoreEnvelope",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MessageBundle:{fields:{messages:{rule:"repeated",id:2,type:"LogMessage"},schemaName:{id:1,type:"string"}}},Metrics:{fields:{globalMetricTags:{rule:"repeated",id:4,type:"MetricTag"},bucketHistograms:{rule:"repeated",id:3,type:"BucketHistogram"},valueRecorders:{rule:"repeated",id:2,type:"ValueRecorder"},upCounters:{rule:"repeated",id:1,type:"UpCounter"}}},CoreEnvelopeDiagnostics:{fields:{schemaVersion:{id:6,type:"string"},generatedTimestamp:{id:2,type:"double"},bundleCount:{id:3,type:"uint32"},upCounterCount:{id:4,type:"uint32"},valueRecorderCount:{id:5,type:"uint32"},key:{id:1,type:"string"},bucketHistogramCount:{id:7,type:"uint32"}}},LogMessage:{fields:{data:{id:2,type:"bytes"},rootId:{id:4,type:"string"},csId:{id:12,type:"string"},recCsId:{id:13,type:"string"},pagePayload:{id:7,type:"Payload"},connectionType:{id:9,type:"string"},appPayload:{id:10,type:"Payload"},loggerAppName:{id:8,type:"string"},sseq:{id:11,type:"uint32"},recRootId:{id:14,type:"string"},loggerName:{id:6,type:"string"},age:{id:3,type:"double"},seq:{id:5,type:"uint32"},timestamp:{id:1,type:"double"}}},CoreEnvelope:{fields:{diagnostics:{id:1,type:"CoreEnvelopeDiagnostics"},bundles:{rule:"repeated",id:2,type:"MessageBundle"},metrics:{id:3,type:"Metrics"},staticAttributes:{id:4,type:"StaticAttributes"}}},MetricTag:{fields:{name:{id:1,type:"string"},value:{id:2,type:"string"}}},BucketHistogram:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:7,type:"string"},ownerAppName:{id:8,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},buckets:{rule:"repeated",id:5,type:"uint32"},name:{id:1,type:"string"},tags:{rule:"repeated",id:6,type:"MetricTag"}}},ValueRecorder:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},name:{id:1,type:"string"},tags:{rule:"repeated",id:5,type:"MetricTag"}}},StaticAttributes:{fields:{appVersion:{id:2,type:"string"},appName:{id:1,type:"string"},deviceModel:{id:5,type:"string"},sdkVersion:{id:6,type:"string"},deviceId:{id:4,type:"string"},appExperience:{id:3,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}},UpCounter:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},name:{id:1,type:"string"},value:{id:4,type:"uint32"},tags:{rule:"repeated",id:5,type:"MetricTag"}}}}}}}}}},w={namespace:"sf.instrumentation",name:"BasicPage",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{BasicPage:{fields:{entityType:{id:3,type:"string"},entityId:{id:2,type:"string"},url:{id:1,type:"string"}}}}}}}}}},S={namespace:"sf.instrumentation",name:"PayloadDiags",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{PayloadDiags:{fields:{extras:{rule:"repeated",id:1,type:"string"}}}}}}}}}},T={namespace:"sf.instrumentation",name:"InstrumentedEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"},screenY:{id:35,type:"double"}}},Event:{fields:{type:{id:1,type:"string"}}},InstrumentedEvent:{oneofs:{event:{oneof:["mouseEvent","baseEvent"]}},reserved:[[4,4],"xpath",[6,6],[8,8]],fields:{mouseEvent:{id:7,type:"MouseEvent"},auto:{id:3,type:"bool"},parentComponent:{id:2,type:"string"},baseEvent:{id:10,type:"Event"},ownerComponent:{id:1,type:"string"},userPayload:{id:5,type:"Payload"},simplePath:{id:9,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},b={namespace:"sf.instrumentation",name:"Payload",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},d={namespace:"sf.instrumentation",name:"Network",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Network:{fields:{mtd:{id:1,type:"string"},url:{id:2,type:"string"}}}}}}}}}},g={namespace:"sf.instrumentation",name:"Error",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Error:{reserved:[[5,5],[7,7]],fields:{activityId:{id:6,type:"string"},stack:{id:3,type:"string"},name:{id:1,type:"string"},message:{options:{"(meta.max_length)":200},id:2,type:"string"},userPayload:{id:4,type:"Payload"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},u={namespace:"sf.instrumentation",name:"MouseEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"},screenY:{id:35,type:"double"}}}}}}}}}},c={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}},f={namespace:"sf.instrumentation",name:"WebVitals",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{WebVitals:{fields:{navType:{id:5,type:"string"},name:{id:1,type:"string"},delta:{id:3,type:"double"},id:{id:4,type:"string"},value:{id:2,type:"double"},wvVersion:{id:6,type:"string"}}}}}}}}}},O={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{stopReason:{id:6,type:"string"},externalParentId:{id:17,type:"string"},isRoot:{id:8,type:"bool"},isExternal:{id:16,type:"bool"},isSampled:{id:11,type:"bool"},preRootId:{id:9,type:"string"},parentId:{id:13,type:"string"},duration:{id:3,type:"double"},timerOverridden:{id:12,type:"uint32"},isRerooted:{id:15,type:"bool"},name:{options:{"(meta.max_length)":25},id:2,type:"string"},traceIdSource:{id:14,type:"string"},id:{id:1,type:"string"},userPayload:{id:4,type:"Payload"},errorCount:{id:10,type:"uint32"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},C={namespace:"sf.instrumentation",name:"IdleDetectorReport",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{IdleDetectorReport:{fields:{listenerCount:{id:3,type:"uint32"},busyTasks:{rule:"repeated",id:5,type:"string"},busyDurations:{rule:"repeated",id:6,type:"double"},pollableCount:{id:4,type:"uint32"},pollCounts:{rule:"repeated",id:8,type:"double"},logThreshold:{id:2,type:"double"},maxDuration:{id:1,type:"double"},pollables:{rule:"repeated",id:7,type:"string"}}}}}}}}}};o.activitySchema=O,o.basicPageSchema=w,o.coreEnvelopeSchema=a,o.errorSchema=g,o.eventSchema=r,o.idleDetectorReportSchema=C,o.instrumentedEventSchema=T,o.mouseEventSchema=u,o.networkSchema=d,o.payloadDiagsSchema=S,o.payloadSchema=b,o.simpleSchema=c,o.webVitalsSchema=f,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_instrumentation",["exports","o11y_schema/sf_instrumentation/v/260_63_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("o11y/web_vitals/v/262_6_0",["exports","o11y/client/v/262_6_0","o11y/shared/v/262_6_0","o11y_schema/sf_instrumentation/v/260_63_0"],function(o,r,a,w){"use strict";let S=-1;const T=m=>{addEventListener("pageshow",p=>{p.persisted&&(S=p.timeStamp,m(p))},!0)},b=(m,p,F,R)=>{let N,z;return de=>{p.value>=0&&(de||R)&&(z=p.value-(N??0),(z||N===void 0)&&(N=p.value,p.delta=z,p.rating=((Z,pe)=>Z>pe[1]?"poor":Z>pe[0]?"needs-improvement":"good")(p.value,F),m(p)))}},d=m=>{requestAnimationFrame(()=>requestAnimationFrame(()=>m()))},g=()=>{const m=performance.getEntriesByType("navigation")[0];if(m&&m.responseStart>0&&m.responseStart<performance.now())return m},u=()=>g()?.activationStart??0,c=(m,p=-1)=>{const F=g();let R="navigate";return S>=0?R="back-forward-cache":F&&(document.prerendering||u()>0?R="prerender":document.wasDiscarded?R="restore":F.type&&(R=F.type.replace(/_/g,"-"))),{name:m,value:p,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:R}},f=new WeakMap;function O(m,p){return f.get(m)||f.set(m,new p),f.get(m)}class C{constructor(){this.t=void 0,this.i=0,this.o=[]}h(p){if(p.hadRecentInput)return;const F=this.o[0],R=this.o.at(-1);this.i&&F&&R&&p.startTime-R.startTime<1e3&&p.startTime-F.startTime<5e3?(this.i+=p.value,this.o.push(p)):(this.i=p.value,this.o=[p]),this.t?.(p)}}const L=(m,p,F={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(m)){const R=new PerformanceObserver(N=>{Promise.resolve().then(()=>{p(N.getEntries())})});return R.observe({type:m,buffered:!0,...F}),R}}catch{}},D=m=>{let p=!1;return()=>{p||(m(),p=!0)}};let H=-1;const P=new Set,j=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,U=m=>{if(document.visibilityState==="hidden"){if(m.type==="visibilitychange")for(const p of P)p();isFinite(H)||(H=m.type==="visibilitychange"?m.timeStamp:0,removeEventListener("prerenderingchange",U,!0))}},A=()=>{if(H<0){const m=u();H=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(F=>F.name==="hidden"&&F.startTime>m)[0]?.startTime)??j(),addEventListener("visibilitychange",U,!0),addEventListener("prerenderingchange",U,!0),T(()=>{setTimeout(()=>{H=j()})})}return{get firstHiddenTime(){return H},onHidden(m){P.add(m)}}},V=m=>{document.prerendering?addEventListener("prerenderingchange",()=>m(),!0):m()},G=[1800,3e3],k=(m,p={})=>{V(()=>{const F=A();let R,N=c("FCP");const z=L("paint",de=>{for(const Z of de)Z.name==="first-contentful-paint"&&(z.disconnect(),Z.startTime<F.firstHiddenTime&&(N.value=Math.max(Z.startTime-u(),0),N.entries.push(Z),R(!0)))});z&&(R=b(m,N,G,p.reportAllChanges),T(de=>{N=c("FCP"),R=b(m,N,G,p.reportAllChanges),d(()=>{N.value=performance.now()-de.timeStamp,R(!0)})}))})},W=[.1,.25],ne=(m,p={})=>{const F=A();k(D(()=>{let R,N=c("CLS",0);const z=O(p,C),de=pe=>{for(const ce of pe)z.h(ce);z.i>N.value&&(N.value=z.i,N.entries=z.o,R())},Z=L("layout-shift",de);Z&&(R=b(m,N,W,p.reportAllChanges),F.onHidden(()=>{de(Z.takeRecords()),R(!0)}),T(()=>{z.i=0,N=c("CLS",0),R=b(m,N,W,p.reportAllChanges),d(()=>R())}),setTimeout(R))}))};let _=0,v=1/0,re=0;const ae=m=>{for(const p of m)p.interactionId&&(v=Math.min(v,p.interactionId),re=Math.max(re,p.interactionId),_=re?(re-v)/7+1:0)};let ue;const J=()=>ue?_:performance.interactionCount??0,ye=()=>{"interactionCount"in performance||ue||(ue=L("event",ae,{type:"event",buffered:!0,durationThreshold:0}))};let be=0;class Me{constructor(){this.u=[],this.l=new Map,this.m=void 0,this.p=void 0}v(){be=J(),this.u.length=0,this.l.clear()}L(){const p=Math.min(this.u.length-1,Math.floor((J()-be)/50));return this.u[p]}h(p){if(this.m?.(p),!p.interactionId&&p.entryType!=="first-input")return;const F=this.u.at(-1);let R=this.l.get(p.interactionId);if(R||this.u.length<10||p.duration>F.P){if(R?p.duration>R.P?(R.entries=[p],R.P=p.duration):p.duration===R.P&&p.startTime===R.entries[0].startTime&&R.entries.push(p):(R={id:p.interactionId,entries:[p],P:p.duration},this.l.set(R.id,R),this.u.push(R)),this.u.sort((N,z)=>z.P-N.P),this.u.length>10){const N=this.u.splice(10);for(const z of N)this.l.delete(z.id)}this.p?.(R)}}}const Ve=m=>{const p=globalThis.requestIdleCallback||setTimeout;document.visibilityState==="hidden"?m():(m=D(m),addEventListener("visibilitychange",m,{once:!0,capture:!0}),p(()=>{m(),removeEventListener("visibilitychange",m,{capture:!0})}))},Ze=[200,500],et=(m,p={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const F=A();V(()=>{ye();let R,N=c("INP");const z=O(p,Me),de=pe=>{Ve(()=>{for(const oe of pe)z.h(oe);const ce=z.L();ce&&ce.P!==N.value&&(N.value=ce.P,N.entries=ce.entries,R())})},Z=L("event",de,{durationThreshold:p.durationThreshold??40});R=b(m,N,Ze,p.reportAllChanges),Z&&(Z.observe({type:"first-input",buffered:!0}),F.onHidden(()=>{de(Z.takeRecords()),R(!0)}),T(()=>{z.v(),N=c("INP"),R=b(m,N,Ze,p.reportAllChanges)}))})};class xe{constructor(){this.m=void 0}h(p){this.m?.(p)}}const He=[2500,4e3],Ge=(m,p={})=>{V(()=>{const F=A();let R,N=c("LCP");const z=O(p,xe),de=pe=>{p.reportAllChanges||(pe=pe.slice(-1));for(const ce of pe)z.h(ce),ce.startTime<F.firstHiddenTime&&(N.value=Math.max(ce.startTime-u(),0),N.entries=[ce],R())},Z=L("largest-contentful-paint",de);if(Z){R=b(m,N,He,p.reportAllChanges);const pe=D(()=>{de(Z.takeRecords()),Z.disconnect(),R(!0)}),ce=oe=>{oe.isTrusted&&(Ve(pe),removeEventListener(oe.type,ce,{capture:!0}))};for(const oe of["keydown","click","visibilitychange"])addEventListener(oe,ce,{capture:!0});T(oe=>{N=c("LCP"),R=b(m,N,He,p.reportAllChanges),d(()=>{N.value=performance.now()-oe.timeStamp,R(!0)})})}})},Ue=[800,1800],Ke=m=>{document.prerendering?V(()=>Ke(m)):document.readyState!=="complete"?addEventListener("load",()=>Ke(m),!0):setTimeout(m)},tt=(m,p={})=>{let F=c("TTFB"),R=b(m,F,Ue,p.reportAllChanges);Ke(()=>{const N=g();N&&(F.value=Math.max(N.responseStart-u(),0),F.entries=[N],R(!0),T(()=>{F=c("TTFB",0),R=b(m,F,Ue,p.reportAllChanges),R(!0)}))})},nt="^5.1.0";o.WebVitalsMetrics=void 0,function(m){m[m.CLS=0]="CLS",m[m.FCP=1]="FCP",m[m.FID=2]="FID",m[m.LCP=3]="LCP",m[m.TBT=4]="TBT",m[m.TTFB=5]="TTFB",m[m.INP=6]="INP"}(o.WebVitalsMetrics||(o.WebVitalsMetrics={}));const Q=[o.WebVitalsMetrics.CLS,o.WebVitalsMetrics.FCP,o.WebVitalsMetrics.FID,o.WebVitalsMetrics.LCP,o.WebVitalsMetrics.TTFB,o.WebVitalsMetrics.INP];class he{constructor(){this._isInitialized=!1,this._safety=new a.PublicSafety,this._instr=r.getInstrumentation("WebVitals")}activate(p,F){this._safety.tryCatch(()=>{if(this._isInitialized)throw new Error("WebVitals is already activated.");a.utility.requireArgumentIfDefined(F,"metrics",Array),this._isInitialized=!0;const R=new Set(F||Q);if(R.delete(o.WebVitalsMetrics.CLS)&&ne(N=>this._clsHandler(N)),R.delete(o.WebVitalsMetrics.FCP)&&k(this._activityHandler.bind(this)),R.delete(o.WebVitalsMetrics.LCP)&&Ge(this._activityHandler.bind(this)),R.delete(o.WebVitalsMetrics.TTFB)&&tt(this._activityHandler.bind(this)),R.delete(o.WebVitalsMetrics.INP)&&et(this._activityHandler.bind(this)),R.size>0){const N=JSON.stringify(Array.from(R.keys()));this._instr.error(`Unsupported WebVital metrics: ${N}`)}})}_getPayload(p){return{name:p.name,value:p.value,delta:p.delta,id:p.id,navType:p.navigationType,wvVersion:nt}}_clsHandler(p){this._instr.log(w.webVitalsSchema,this._getPayload(p))}_activityHandler(p){let F=0,R=p.value;if(p.name==="INP"&&p.entries.length){const N=p.entries[0];F+=N.startTime,R+=N.startTime}this._instr.startActivity(p.name).stop(w.webVitalsSchema,this._getPayload(p),{perfStartOverride:F,perfStopOverride:R})}}const Pe=new he;o.webVitals=Pe,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("o11y/web_vitals",["exports","o11y/web_vitals/v/262_6_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("o11y_schema/version/v/260_63_0",["exports"],function(o){"use strict";var r="260.63.0";o.version=r,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("o11y_schema/version",["exports","o11y_schema/version/v/260_63_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/o11yHook/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","@app/basePath/v/1","@app/isDesignMode/v/1","webruntime/o11y/v/1_66_1200-262_0","o11y/client/v/262_6_0","o11y_schema/version/v/260_63_0","o11y/web_vitals/v/262_6_0","webruntime/transport/v/1_66_1200-262_0","webruntime/dispatcher/v/1","@communities-webruntime/common/v/1_66_1200-262_0","o11y_schema/sf_clwr/v/260_63_0","webruntime/routingService/v/1_66_1200-262_0","o11y_schema/sf_pdp/v/260_63_0","o11y/shared/v/262_6_0","@app/isMobileAppMode/v/1","@app/isPreviewMode/v/1","@app/versionKey/v/1","@app/deployTarget/v/1","@salesforce/i18n/lang/v/1","@salesforce/site/Id/v/1","@app/templateDevName/v/1","@app/isSsrCodeTypeEnabled/v/1","@app/webruntimeFrameworkVersion/v/1"],function(o,r,a,w,S,T,b,d,g,u,c,f,O,C,L,D,H,P,j,U,A,V,G,k){"use strict";function W(E){return E&&typeof E=="object"&&"default"in E?E:{default:E}}function ne(E){if(E&&E.__esModule)return E;var s=Object.create(null);return E&&Object.keys(E).forEach(function(h){if(h!=="default"){var M=Object.getOwnPropertyDescriptor(E,h);Object.defineProperty(s,h,M.get?M:{enumerable:!0,get:function(){return E[h]}})}}),s.default=E,Object.freeze(s)}var _=W(a),v=W(w),re=ne(S),ae=ne(g),ue=W(u),J=W(D),ye=W(H),be=W(P),Me=W(j),Ve=W(U),Ze=W(A),et=W(V),xe=W(G),He=W(k);const Ge=5e4,Ue=3e3,Ke=300,tt="lwr_experience",nt=32,Q="246",he=`/${c.WEBRUNTIME_PREFIX}/o11y/${Q}/config`,Pe=`/${c.WEBRUNTIME_PREFIX}/o11y/${Q}/token`,m="O11Y_ENDPOINT_NOT_CONFIGURED",p=[/\.force\.com(:\d+)?$/,/\.salesforce\.com(:\d+)?$/],F={coreEnabled:!1,coreSamplingRate:0,coreRelativeEndpoint:"",falconEnabled:!1,falconSamplingRate:0,falconAbsoluteEndpoint:"",traceSamplingRate:0,isGuestApiEnabled:!1,logPerfResTiming:"",isPdpTelemetryEnabled:!1},R=Math.random(),N=Object.assign({},F,{token:""}),z=!0;z&&L.utility.markProduction();let de=!0;async function Z(E){const M=(await r.load("@app/user/v/1")).default.isGuest,I={headers:{Accept:"text/plain","Content-Type":null},basePath:_.default,isNonApiRequest:!0,o11y:{skipInstr:!0}};function B(q){return M?`${q}?asGuest=true`:q}const Y=await E(B(he),I).then(q=>q.text());new L.PublicSafety().tryCatch(()=>{const q=JSON.parse(Y);Object.keys(N).forEach(me=>{const Ae=q[me],Ee=typeof N[me];(Ee==="string"&&Ae===""||L.utility.requireArgumentIfDefined(Ae,`srvConfig.${me}`,Ee))&&(N[me]=q[me])})}),de=ct()&&!N.isGuestApiEnabled&&M,ut()&&(N.token=await E(B(Pe),I).then(q=>q.text()))}function pe(){return N}function ce(E,s){return E&&s!==""&&s!==m}function oe(E){return!z||E>0&&E>=R}function Rt(){return!de&&ce(N.coreEnabled,N.coreRelativeEndpoint)&&oe(N.coreSamplingRate)}function ut(){return ce(N.falconEnabled,N.falconAbsoluteEndpoint)&&oe(N.falconSamplingRate)}function ct(){const E=N.coreRelativeEndpoint?.indexOf("services/data/");return E===0||E===1}function qt(){const E=N.coreRelativeEndpoint||"";return ct()&&E.length>1&&E[0]!=="/"}function Xt(){const E=Math.random(),s=N.traceSamplingRate||0;return s>0&&s>=E}function Nt(){return N.isPdpTelemetryEnabled}function St(){return p.slice()}var Ct;const Ot={perfStartOverride:0};class K{constructor(s){this._o11yApp=void 0,this._pdpInstrumentation=void 0,this._rootPayload={sequence:0,navCount:0,clickCount:0,isManual:!1,bootstrap:void 0,lwrBootstrap:void 0,lwrBootstrapError:void 0},this._navPayload={isIdleHit:!1,isManual:!1},this._modulePayload={},this._rootActivity=void 0,this._hadRootActivity=!1,this._navActivity=void 0,this._hadNavActivity=!1,this._navTransitionActivity=void 0,this._navData=void 0,this._navTransitionData=void 0,this._isFirstNavActivity=!0,K._debugMsg("Started"),this._o11yApp=s,this._pdpInstrumentation=T.getInstrumentation("webruntime-routing"),document.body.addEventListener("click",this._handleClick.bind(this),{capture:!0,passive:!0}),window.addEventListener("visibilitychange",this._handleVisibilityChange.bind(this))}_handleClick(){!this._rootActivity&&this._hadFirstRootActivity?this._startRoot(!1,!1):this._rootPayload.clickCount+=1}_handleVisibilityChange(){const s=document.visibilityState==="hidden";K._debugMsg(s?"Hide":"Show"),s?(this._stopNavTransition(),this._stopNav(),this._stopRoot(!1)):(this._hadRootActivity&&this._startRoot(!0,!1),this._hadNavActivity&&!this._navActivity&&this._startNav(this._navData,!0))}get _isFirstRootActivity(){return this._rootPayload.sequence===1}get _hadFirstRootActivity(){return this._rootPayload.sequence>0}_startRoot(s,h){this._rootActivity&&this._stopRoot(!1),this._hadFirstRootActivity&&(this._rootPayload.clickCount=0,this._rootPayload.navCount=0),this._rootPayload.sequence+=1,this._rootPayload.isManual=s,this._rootActivity=this._o11yApp.startRootActivity("root",h?this._getTraceParent()?.traceId:void 0,Xt()),this._hadRootActivity=!0,K._debugMsg(`Root Started ${this._rootActivity.getId()}`),T.idleDetector.requestIdleDetectedCallback(()=>{this._stopRoot(!0)})}_getTraceParent(){const s=globalThis.document.querySelector('meta[name="traceparent"]')?.getAttribute("content");if(!s)return;const h=s.split("-");if(h.length!==4)return;const[M,I,B,Y]=h;return{version:M,traceId:I,spanId:B,traceFlags:Y}}_stopRoot(s){if(!!this._rootActivity){K._debugMsg(`Root Stop ${s?"idle":"busy"} ${this._rootActivity.getId()}`);try{if(!this._isFirstRootActivity&&this._rootPayload.navCount===0&&T.time().perfNow-this._rootActivity.getStartPerfTime()<Ke){this._rootActivity.discard(),this._rootPayload.sequence-=1;return}this._isFirstRootActivity&&(this._rootPayload.bootstrap=this._getMetricValueByName(`${c.WEBRUNTIME_PREFIX}-app-bootstrap`,"duration"),this._rootPayload.lwrBootstrap=this._getMetricValueByName("lwr.bootstrap.end","startTime"));const h=this._isFirstRootActivity?Ot:void 0;s?this._rootActivity.stop(f.rootSchema,this._rootPayload,h):this._rootActivity.terminate(f.rootSchema,this._rootPayload,h)}finally{this._rootActivity=void 0,this._hadRootActivity=!1}}}_startNav(s,h){this._stopNav(),this._navPayload.isIdleHit=!1,this._navPayload.isManual=h,this._rootPayload.navCount+=1,this._navData=s?{url:s.url,pageRef:s.pageRef,isSsr:s.isSsr}:void 0,this._navActivity=this._o11yApp.startActivity("navigation"),this._hadNavActivity=!0,K._debugMsg(`Nav Started ${this._navActivity.getId()}`),T.idleDetector.requestIdleDetectedCallback(()=>{K._debugMsg(`Nav Idle ${this._navActivity?.getId()}`),this._navPayload.isIdleHit=!0})}_stopNav(){if(this._navActivity){K._debugMsg(`Nav Stop ${this._navActivity.getId()}`);try{const s=this._isFirstNavActivity?Ot:void 0;this._isFirstNavActivity=!1,this._navActivity.stop(f.navSchema,this._navPayload,s)}finally{this._navActivity=void 0}}}_startNavTransition(s){this._navTransitionActivity&&this._stopNavTransition(void 0,!0),this._navTransitionData=s,this._navTransitionActivity=this._o11yApp.startActivity("navigation transition"),K._debugMsg(`Trans Started ${this._navTransitionActivity.getId()}`)}_stopNavTransition(s,h=!1){if(this._navTransitionActivity){K._debugMsg(`Trans ${h?"Terminate":"Stop"} ${this._navTransitionActivity.getId()}`);try{if(s){const{code:I,message:B,level:Y}=s,q=["Fatal","Error","Warning","Log"][Y];this._navTransitionActivity.error(B,f.navTransitionSchema,{code:I?.toString(),level:q})}const M=this._navTransitionData?{nextUrl:this._navTransitionData.url,type:this._navTransitionData.pageRef?.type,isSsr:this._navTransitionData.isSsr}:void 0;h?this._navTransitionActivity.terminate(f.navTransitionSchema,M):this._navTransitionActivity.stop(f.navTransitionSchema,M)}finally{this._navTransitionActivity=void 0,this._navTransitionData=void 0}}}_getMetricValueByName(s,h){return typeof window.performance?.getEntriesByName!="function"?0:window.performance.getEntriesByName(s)[0]?.[h]||0}_getMeasureName(s,h){return h?`${s}-${h}`:s}_getMarkName(s,h,M){const I=this._getMeasureName(s,h);return h&&M?`${I}_${M}`:I}_sendRoutingTelemetry(s){if(!!Nt())try{const h=s.route?.pageReference?.type,M=s.url,I=s.routeDefinition?.ssr,B=s.routeDefinition?.devName;this._pdpInstrumentation.log(C.pdpEventSchema,{eventName:"clwr.routeNavigated",productFeatureId:"aJCEE0000000mQ74AI",contextName:"attributes",contextValue:JSON.stringify({pageType:h,pageUrl:M,isSsr:I,devName:B})}),K._debugMsg("PDP telemetry sent for navigation")}catch(h){K._debugMsg(`Failed to send PDP telemetry: ${h}`)}}preNavigate(s){this._startNavTransition({url:s.next.url,pageRef:s.next.route.pageReference,isSsr:s.next.routeDefinition?.ssr})}postNavigate(s){try{this._stopNavTransition(),this._startNav({url:s.url,pageRef:s.route.pageReference,isSsr:s.routeDefinition?.ssr},!1)}finally{this._sendRoutingTelemetry(s)}}errorNavigate(s){K._debugMsg(`Err level ${s?.level}: ${s?.code}`),this._stopNavTransition(s)}getCurrentPageData(){if(this._navData){const{pageRef:s,url:h,isSsr:M}=this._navData,I=O.getCurrentRoute();return{url:h,type:s?.type,isSsr:M,pageViewName:I?.routeDefinition?.devName}}}startFirstRootActivity(){this._hadFirstRootActivity||(this._startRoot(!1,!0),window.dispatchEvent(new CustomEvent("bootstrapLoaded",{detail:{name:`${c.WEBRUNTIME_PREFIX}-app-bootstrap`,duration:this._getMetricValueByName(`${c.WEBRUNTIME_PREFIX}-app-bootstrap`,"duration")}})))}trackInitialRoute(){if(!!Nt())try{const s=O.getCurrentRoute();if(!s){K._debugMsg("No initial route available for PDP telemetry navigation");return}const h=s.route?.pageReference?.type,M=s.url,I=s.routeDefinition?.ssr,B=s.routeDefinition?.devName;this._pdpInstrumentation.log(C.pdpEventSchema,{eventName:"clwr.routeNavigated",productFeatureId:"aJCEE0000000mQ74AI",contextName:"attributes",contextValue:JSON.stringify({pageType:h,pageUrl:M,isSsr:I,devName:B})}),K._debugMsg("PDP telemetry sent for initial route - Hard Nav")}catch(s){K._debugMsg(`Failed to send PDP telemetry for initial route - Hard Nav: ${s}`)}}updateModulePayload(s){const{id:h,specifier:M,specifierIndex:I,metadata:B,phase:Y}=s,q=this._getMarkName(h,M,I);Y===0?this._modulePayload[q]=this._o11yApp.startActivity(q):Y===1&&this._modulePayload[q]&&this._modulePayload[q].stop(f.modulePayloadSchema,{bootstrapStats:JSON.stringify({specifier:M,specifierIndex:I,renderMode:B?.renderMode||"csr"})})}}Ct=K,K.IS_DEBUG=!1,K._debugMsg=Ct.IS_DEBUG?E=>console.log(`O11YR ${E}`):()=>{};class Lt{constructor(){this._lastVisibleTime=void 0,this._totalVisibleDuration=0,this._isVisible=void 0,this._isVisible=document?.visibilityState==="visible",this._isVisible&&(this._lastVisibleTime=0),window?.addEventListener("visibilitychange",this._handleVisibilityChange.bind(this))}_handleVisibilityChange(){if(document.visibilityState==="hidden"){if(this._isVisible=!1,this._lastVisibleTime!==void 0){const s=T.time().perfNow;this._totalVisibleDuration+=s-this._lastVisibleTime,this._lastVisibleTime=s}}else this._isVisible=!0,this._lastVisibleTime=T.time().perfNow}getPayload(){const s=this._isVisible&&this._lastVisibleTime!==void 0?T.time().perfNow-this._lastVisibleTime:0,h={isDesign:v.default,isMobile:J.default,isPreview:ye.default,isSsrCodeTypeEnabled:xe.default,lang:Ve.default,siteId:Ze.default,vKey:be.default,visd:this._totalVisibleDuration+s,deployTarget:Me.default,templateType:et.default,webruntimeFrameworkVersion:He.default};return{schema:f.appPayloadSchema,payload:h}}}class Se{constructor(){this._routingSupport=void 0}linkWithRouterSupport(s){this._routingSupport=s}getPayload(){if(this._routingSupport){const s=this._routingSupport.getCurrentPageData();if(s)return s.type==="standard__search"&&(s.url=this._redactSearchTerm(s.url)),{schema:f.pagePayloadSchema,payload:s}}}_redactSearchTerm(s){if(s){const h=s.lastIndexOf("/");if(h!==-1)return`${s.substring(0,h+1)}MASKED_SEARCH_INFO`}return s}}const Mt=()=>new Promise(E=>{const s=performance.getEntriesByType("paint").find(h=>h.name==="first-contentful-paint");if(s){E(s);return}if("PerformanceObserver"in window){const h=new PerformanceObserver(M=>{const I=M.getEntries().find(B=>B.name==="first-contentful-paint");I&&(h.disconnect(),E(I))});try{h.observe({entryTypes:["paint"]}),window.setTimeout(()=>{h.disconnect(),E(void 0)},3e3)}catch(M){E(void 0)}}else E(void 0)}),Re=(E,s,h)=>{let M=!1,I=!1,B,Y;const q=()=>{window.clearTimeout(B),s.forEach(Ee=>{document.removeEventListener(Ee,Y,{capture:!0})})},me=()=>{!M&&!I&&(I=!0,q())};return{promise:new Promise(Ee=>{Y=()=>{if(M||I)return;M=!0;const tn=performance.now()-E;Ee(tn),q()},B=window.setTimeout(()=>{!M&&!I&&(Ee(void 0),q())},h),s.forEach(pt=>{document.addEventListener(pt,Y,{capture:!0})})}),cancel:me}};class zt{constructor(s){this._config=void 0,this._isActive=!1,this._cancelCurrentMeasurement=void 0,this._config=s}async startMeasurement(){if(this.stopMeasurement(),!(typeof performance=="undefined"||typeof document=="undefined")){this._isActive=!0;try{const s=await Mt();if(!s)return;const h=Re(s.startTime,this._config.interactionEvents,this._config.timeoutMs);this._cancelCurrentMeasurement=h.cancel;const M=await h.promise;return M?Math.round(M):void 0}finally{this._isActive=!1,this._cancelCurrentMeasurement=void 0}}}stopMeasurement(){this._cancelCurrentMeasurement&&(this._cancelCurrentMeasurement(),this._cancelCurrentMeasurement=void 0),this._isActive=!1}isActive(){return this._isActive}}class It{constructor(s){this._landingPageData=void 0,this._o11yApp=void 0,this._ttiMeasurer=void 0;const h={timeoutMs:3e3,interactionEvents:["click","mousedown","mouseup","touchstart","keydown","focus"],...s};this._ttiMeasurer=new zt(h),this._handleViewChanged=this._handleViewChanged.bind(this),typeof document!="undefined"&&document.addEventListener("viewchange",this._handleViewChanged)}setO11yApp(s){this._o11yApp=s}_handleViewChanged(s){const M=s.detail?.route?.attributes;if(this._flushPreviousLandingPageEvent(),!M){this._landingPageData=void 0;return}const{contentKey:I,formFieldCount:B,imagesCount:Y,xomfCount:q,lastPublished:me,nodeVersion:Ae}=M;I?(this._landingPageData={contentKey:I,formFieldCount:typeof B=="number"?B:0,imageCount:typeof Y=="number"?Y:0,xomfCount:typeof q=="number"?q:0,...me&&{lastPublishedDate:me},...Ae&&{nodeVersion:Ae}},this._startTimeToInteractionMeasurement()):this._landingPageData=void 0}_flushPreviousLandingPageEvent(){this._ttiMeasurer.isActive()&&this._landingPageData?(this._ttiMeasurer.stopMeasurement(),this._logLandingPageEvent(),this._landingPageData=void 0):this._ttiMeasurer.isActive()&&this._ttiMeasurer.stopMeasurement()}async _startTimeToInteractionMeasurement(){try{const s=await this._ttiMeasurer.startMeasurement();s!==void 0&&this._landingPageData&&(this._landingPageData.timeToInteraction=s),this._logLandingPageEvent()}catch(s){this._logLandingPageEvent()}}_logLandingPageEvent(){this._o11yApp&&this._landingPageData&&this._o11yApp.log(f.landingPagePayloadSchema,this._landingPageData)}dispose(){typeof document!="undefined"&&document.removeEventListener("viewchange",this._handleViewChanged),this._flushPreviousLandingPageEvent()}}let Ie,At;const ie=Object.assign(re._o11y,{clientVersion:T._version,schemaVersion:b.version,upload:ft}),Dt=`${T._version}:${b.version}`,je=ae.fetch;async function Jt(E){const s=!0,h={timeoutMs:3e3};try{if(typeof window=="undefined"){ie.isUnavailable=!0;return}const M=rt(s),I=new Se,B=new It(h);ie.app=T.registerInstrumentedApp(tt,{isProduction:s,enableBuffering:!0,appPayloadProvider:new Lt,pagePayloadProvider:I,operationMode:M.operationMode,allowedReceiverOrigins:M.allowedReceiverOrigins}),s||ie.app.log(`o11y ${Dt}`),Ft(),ie.routingSupport=new K(ie.app),I.linkWithRouterSupport(ie.routingSupport),s||ie.routingSupport.startFirstRootActivity(),Ce(ie.app,!0),d.webVitals.activate(void 0,[d.WebVitalsMetrics.CLS,d.WebVitalsMetrics.FCP,d.WebVitalsMetrics.LCP,d.WebVitalsMetrics.TTFB,d.WebVitalsMetrics.INP]),ie.consoleCollector=Ht(s,ie.app),Array.isArray(window.o11yLogCollectors)&&window.o11yLogCollectors.forEach(Y=>{ie.app?.registerLogCollector(Y.collector,Y.options)}),globalThis?.CLWR?.o11y?.globalCollectors?.forEach(({collector:Y,options:q})=>{ie.app?.registerLogCollector(Y,q)}),B.setO11yApp(ie.app),await Z(je),s&&ie.routingSupport.startFirstRootActivity(),Ce(ie.app),await dt(),ie.routingSupport.trackInitialRoute(),await ot(ie.app,E.appMetadata.bootstrapModule,`o11y ${Dt}`)}catch(M){if(!s)throw M;try{console?.error("Failed to start o11y",M)}catch{}}finally{try{ie.app?.disableBuffering()}catch{}}}function Ce(E,s){let h=pe().logPerfResTiming;h!=="basic"&&h!=="full"&&(h=!1),(s||At!==h)&&(At=h,E.networkInstrumentation({logPerformanceActivityName:"network",tracingHeadersOptions:{useB3Headers:!0,traceIdEffectiveLength:nt},logPerformance:h,skipUrls:[/\?.*o11y=\d+/]}))}function kt(){window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ft(!0)})}async function dt(){const E=s=>{let h=!1;setTimeout(()=>{h||(h=!0,s())},Ue),T.idleDetector.requestIdleDetectedCallback(()=>{h||(h=!0,s())})};return new Promise(s=>{document.readyState==="complete"?E(s):window.addEventListener("load",()=>E(s))})}async function Qt(E,s){const[h,M]=await Promise.all([r.load("o11y/simple_collector/v/262_6_0"),r.load("o11y/collectors/v/262_6_0")]);Ie=(M.default||M).encodeCoreEnvelopeContentsRaw;const I=new(h.default||h).SimpleCollector({environment:s});return E.registerLogCollector(I,{retroactive:!0}),E.registerMetricsCollector(I),I}function ft(E=!1){const s=[],h=Rt(),M=ut(),I=ie.simpleCollector;if(I?.hasData&&(h||M)&&(E||I.estimatedByteSize>=Ge)){const B=I.getRawContentsOfCoreEnvelope(),Y=Ie(B);h&&s.push(Zt(Y)),M&&s.push(en(Y))}return Promise.allSettled(s)}function Zt(E){const s=String.fromCharCode,h=[];for(let Y=0,q=E.length;Y<q;Y++)h.push(s(E[Y]));const M=window.btoa(h.join("")),I={method:"POST",body:JSON.stringify({base64Env:M}),keepalive:!0,isNonApiRequest:!ct(),o11y:{skipInstr:!0}};let B=pe().coreRelativeEndpoint;return qt()?B[0]!=="/"&&(B=`/${B}`):I.basePath=_.default,je(B,I)}function en(E){const s=pe(),h={method:"POST",body:E,headers:{"x-sfdc-o11y-token":s.token||"","Content-Type":"application/octet-stream"},keepalive:!0,o11y:{skipInstr:!0}};return fetch(s.falconAbsoluteEndpoint,h)}function rt(E){let s,h;return window.parent!==window&&v.default&&(s="sender",h=St(),E||h.unshift("*")),{operationMode:s,allowedReceiverOrigins:h}}function Ft(){const E=T.idleDetector.declareNotifierTaskMulti("o11y LWR module fetch");ue.default?.(s=>{s.id==="lwr.loader.module.fetch"?s.phase===0?E.add():E.done():s.id==="lwr.loader.module.error"?E.done():s.id==="lwr.bootstrap.end"||s.id==="lwr.bootstrap.error"?globalThis.performance.mark(s.id):s.id==="lwr.bootstrap.init.module"&&ie.routingSupport?.updateModulePayload(s)})}function Ht(E,s){const h=new T.ConsoleCollector;return E&&h.addFilter("sfcore.customCmp.CustomComponentLog"),s.registerLogCollector(h,{retroactive:!0}),h}async function ot(E,s,h){(Rt()||ut())&&(ie.simpleCollector=await Qt(E,{appName:s,sdkVersion:h}),kt(),await ft(!0))}o.default=Jt,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/o11yHook",["exports","webruntime/o11yHook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("webruntime/hook/v/1_66_1200-262_0",["exports"],function(o){"use strict";var r=["@app/apexApiBasePath","@app/apiBasePath","@app/authenticationCookieName","@app/basePath","@app/guestUuidCookieName","@app/imageOpt","@app/isDesignMode","@app/isPreviewMode","@app/isMobileAppMode","@app/isSsrCodeTypeEnabled","@app/loginPath","@app/deployTarget","@app/routes","@app/extraRouteParams","@app/templateDevName","@app/uiBasePath","@app/versionKey","@app/viewToThemeLayoutMap","@app/views","@app/webruntimeFrameworkVersion","@salesforce/community/basePath","@salesforce/community/Id","@salesforce/i18n/lang","@salesforce/site/Id","@salesforce/webstore/Id","webruntime/dispatcher"];const a=["webruntimedesign/componentWrapper","webruntimedesign/regionWrapper","webruntimedesign/dropRegion","webruntimedesign/componentService","webruntimedesign/designComponent"],w=["o11y/simple_collector","o11y/collectors","mobileruntime/hybridAppManager"];function S(T){T.addLoaderPlugin({resolveModule:async b=>{const[d]=b.split("/v/");return b.endsWith("/v/version-not-provided")||w.includes(d)||d&&(a.includes(d)||r.includes(d))?d:d==="@salesforce/loader"?"lwr/loaderLegacy/v/0_22_21":null}})}o.default=S,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("webruntime/hook",["exports","webruntime/hook/v/1_66_1200-262_0"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("lwr/serverDataCallback/v/0_22_21",["exports"],function(o){"use strict";const r=[];function a(S){r.push(S)}function w(S={}){for(const T of r)T({serverData:S})}o.evaluateServerDataCallbacks=w,o.registerServerDataCallbacks=a,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("lwr/serverDataCallback",["exports","lwr/serverDataCallback/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("@lwc/synthetic-shadow/v/9_1_2",function(){"use strict";if(globalThis.lwcRuntimeFlags||Object.defineProperty(globalThis,"lwcRuntimeFlags",{value:Object.create(null)}),!lwcRuntimeFlags.ENABLE_FORCE_SHADOW_MIGRATE_MODE&&!lwcRuntimeFlags.DISABLE_SYNTHETIC_SHADOW){let r=function(e,t){if(!e)throw new Error(`Invariant Violation: ${t}`)},a=function(e,t){if(!e)throw new Error(`Assert Violation: ${t}`)},w=function(e,t){if(e)throw new Error(`Assert Violation: ${t}`)},S=function(e){throw new Error(e)},_=function(e){return e===void 0},v=function(e){return e===null},re=function(e){return e===!0},ae=function(e){return e===!1},ue=function(e){return typeof e=="function"},J=function(e){return typeof e=="object"},be=function(e){return e?.toString?C(e)?j.call(U.call(e,be),","):e.toString():typeof e=="object"?ye.call(e):String(e)},Dn=function(e,t,n){const i=e;{const{value:l}=n;i[t]=l}},Qr=function(e,t){Dn(e,In,{value:t,configurable:!0})},Zr=function(e,t){Dn(e,An,{value:t})},ee=function(e){return e[In]},we=function(e){let t=e,n;for(;!v(t);){if(n=ee(t),!_(n))return n;if(t=K.call(t),!v(t)&&it(t))return}},Ye=function(e){return e[An]},ge=function(e){return!_(ee(e))},eo=function(e){let t=Se.call(e);for(;!v(t)&&ke(t);)e=t,t=Se.call(e);return e},kn=function(e,t){const n=Ye(e);let i=t instanceof Element?t:Se.call(t);for(;!v(i)&&i!==e;){const l=we(i),y=Se.call(i);if(l===n)return ke(i);if(y===e)return!1;if(!v(y)&&we(y)!==l)if(ke(y)){if(i=ve(eo(y)),!v(i)){if(i===e)return!0;if(we(i)===n)return!0}}else return!1;else i=y}return!1},ve=function(e){if(!(e instanceof Q))return null;const t=we(e);if(_(t))return null;let n=e;for(;!v(n)&&Ye(n)!==t;)n=K.call(n);return v(n)?null:n},it=function(e){return ke(e)&&ge(e)},ke=function(e){return e instanceof HTMLSlotElement},We=function(e,t){const n=we(t);if(_(n)){const i=K.call(t);return!(!v(i)&&it(i))}return Ye(e)===n},Fn=function(e){const t=se(e);return qe(t,le(Re.call(t)))},Hn=function(e,t){const n=[];for(let i=0,l=t.length;i<l;i+=1){const y=t[i];!We(e,y)&&kn(e,y)&&A.call(n,y)}return n},to=function(e,t){for(let n=0,i=t.length;n<i;n+=1){const l=t[n];if(!We(e,l)&&kn(e,l))return l}return null},qe=function(e,t){const n=[];for(let i=0,l=t.length;i<l;i+=1){const y=t[i];We(e,y)&&A.call(n,y)}return n},Un=function(e,t){for(let n=0,i=t.length;n<i;n+=1)if(We(e,t[n]))return t[n];return null},no=function(e,t){const n=se(e),i=le(Ce.call(n,t));return Un(n,i)},ro=function(e,t){const n=se(e),i=Ce.call(n,t);return qe(n,le(i))},yt=function(e){if(!te(e)&&!ke(e)){const t=Re.call(e);return le(t)}if(te(e)){const t=le(Ce.call(e,"slot")),n=Qe(Fe(e));return V.call(t,(i,l)=>(n===Qe(l)&&A.apply(i,an(l)),i),[])}else{const t=le(Re.call(e)),n=Qe(e);return L.call(t,i=>n===Qe(i))}},an=function(e){const t=ve(e);if(v(t))return[];const n=le(Re.call(e));return L.call(n,i=>!ge(i)||!We(t,i))},oo=function(e){let t="";const n=yt(e);for(let i=0,l=n.length;i<l;i+=1)t+=jt(n[i]);return t},Bn=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"\xA0":return" ";default:return""}},so=function(e){return jn.call(e,io,Bn)},lo=function(e){return jn.call(e,ao,Bn)},jt=function(e){switch(e.nodeType){case R:{const{attributes:t}=e,n=me.call(e);let i="<"+Wn.call(n);for(let l=0,y;y=t[l];l++)i+=" "+y.name+'="'+so(y.value)+'"';return i+=">",uo.has(n)?i:i+oo(e)+"</"+Wn.call(n)+">"}case N:{const{data:t,parentNode:n}=e;return n instanceof Element&&co.has(me.call(n))?t:lo(t)}case z:return`<!CDATA[[${e.data}]]>`;case de:return`<?${e.target} ${e.data}?>`;case Z:return`<!--${e.data}-->`;default:return""}},sn=function(e){switch(e.nodeType){case R:{const t=yt(e);let n="";for(let i=0,l=t.length;i<l;i+=1){const y=t[i];y.nodeType!==Z&&(n+=sn(y))}return n}default:return e.nodeValue}},Wt=function(){throw new TypeError("Illegal constructor")},ze=function(e){const t=b(Wt.prototype);return Xe.set(t,e),ne.call(e,(n,i)=>{g(t,i,{value:n,enumerable:!0,configurable:!0})}),t},fo=function(e){const t=[];let n=e.getRootNode();for(;!_(n);)t.push(n),n=n.host?.getRootNode();return t},$n=function(e,t,n,i){const l=Gr.call(t,n,i),y=[],$=fo(e);if(!v(l))for(let X=0;X<l.length;X++){const x=l[X];if(it(x))continue;const Te=x.getRootNode();if(P.call($,Te)!==-1){A.call(y,x);continue}const fe=po(Te,$[0]);!_(fe)&&P.call(l,fe)===-1&&P.call(y,fe)===-1&&A.call(y,fe)}return y},Bt=function(){throw new TypeError("Illegal constructor")},Be=function(e){const t=b(Bt.prototype);return ln.set(t,e),ne.call(e,(n,i)=>{g(t,i,{value:n,enumerable:!0,configurable:!0})}),t},$e=function(e){return it(e)||te(e)},xn=function(e,t){const n=ve(e);if(t===n)return Fe(n);if(t instanceof Element){if(we(e)===we(t))return t;if(!v(n)&&ke(t)){const i=ve(t);if(!v(i)&&We(n,i))return i}}return null},ho=function(){return Le(this).length>0},go=function(){return Le(this)[0]||null},mo=function(){const e=Le(this);return e[e.length-1]||null},yo=function(){return sn(this)},bo=function(e){Mt.call(this,e)},vo=function(){const e=K.call(this);return v(e)?e:xn(this,e)},_o=function(){const e=K.call(this);if(v(e))return null;const t=xn(this,e);return t instanceof Element?t:null},Eo=function(e){return e==null||ee(this)!==ee(e)?!1:(oe.call(this,e)&Pe)!=0},wo=function(e){const t=ce.call(this,!1);if(!e)return t;const n=Le(this);for(let i=0,l=n.length;i<l;i+=1)t.appendChild(n[i].cloneNode(!0));return t},To=function(){if(te(this)){const e=ve(this),t=yt(this),n=v(e)?t:qe(e,t);return ze(n)}return Re.call(this)},Po=function(e){const t=ve(e);return v(t)?Vn.call(e):Fe(t)},Gn=function(e){return e?.composed?Vn.call(this,e):Po(this)},Ro=function(e){return this===e?0:Gn.call(this)===e?10:ee(this)!==ee(e)?35:oe.call(this,e)},No=function(e){return ue(e)||J(e)&&!v(e)&&ue(e.handleEvent)},un=function(e,t,n){if(t===n)return!0;let i=Yn.get(e);return _(i)&&(i=e.composedPath(),Yn.set(e,i)),i.includes(n)},cn=function(e){if(!No(e))return e;let t=Kn.get(e);return _(t)&&(t=function(n){const i=Oe.call(n),l=fn(n);if(!!un(n,l,i))return ue(e)?e.call(this,n):e.handleEvent&&e.handleEvent(n)},Kn.set(e,t)),t},qn=function(e){return ue(e)?e:e.handleEvent},at=function(e){return ue(e)||ue(e?.handleEvent)},dn=function(e){let t=Xn.get(e);return _(t)&&(t=b(null),Xn.set(e,t)),t},fn=function(e){return $t.get(e)??ht.call(e)},Jn=function(e){if(!at(e))throw new TypeError;let t=zn.get(e);return _(t)&&(t={identity:e,placement:1,handleEvent(n){let i=Oe.call(n);gt(i)||(i=Fe(i));const l=fn(n);un(n,l,i)&&qn(e).call(i,n)}},zn.set(e,t)),t},Zn=function(e){if(!at(e))throw new TypeError;let t=Qn.get(e);return _(t)&&(t={identity:e,placement:0,handleEvent(n){const i=Oe.call(n),l=fn(n);un(n,l,i)&&qn(e).call(i,n)}},Qn.set(e,t)),t},pn=function(e,t){return H.call(e,n=>n.identity===t.identity)},er=function(e){let t=!1,n=!1;const{type:i,stopImmediatePropagation:l,stopPropagation:y}=e,$=Oe.call(e),x=dn($)[i];g(e,"stopImmediatePropagation",{value(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),g(e,"stopPropagation",{value(){n=!0,y.call(e)},writable:!0,enumerable:!0,configurable:!0});const Te=k.call(x);function fe(Oi){ne.call(Te,Pn=>{ae(t)&&Pn.placement===Oi&&pn(x,Pn)!==-1&&Pn.handleEvent.call(void 0,e)})}bt.set(e,1),fe(1),ae(t)&&ae(n)&&(bt.set(e,0),fe(0)),bt.set(e,2)},tr=function(e,t,n){const i=dn(e);let l=i[t];_(l)&&(l=i[t]=[]),pn(l,n)===-1&&(l.length===0&&De.call(e,t,er),A.call(l,n))},nr=function(e,t,n){const i=dn(e);let l,y;!_(y=i[t])&&(l=pn(y,n))!==-1&&(W.call(y,l,1),y.length===0&&mt.call(e,t,er))},So=function(e,t,n){if(at(t)){const i=Zn(t);tr(this,e,i)}},Co=function(e,t,n){if(at(t)){const i=Zn(t);nr(this,e,i)}},Oo=function(e,t,n,i){if(at(n)){const l=se(e),y=Jn(n);tr(l,t,y)}},Lo=function(e,t,n,i){if(at(n)){const l=se(e),y=Jn(n);nr(l,t,y)}},Io=function(e){return Je.has(e)},vt=function(e){const t=Je.get(e);if(_(t))throw new TypeError;return t},Qe=function(e){return e[Me]},or=function(e,t){e[Me]=t},_t=function(e){return vt(e).delegatesFocus},se=function(e){return vt(e).host},Fe=function(e){return vt(e).shadowRoot},te=function(e){const t=Je.get(e);return!_(t)&&e===t.host},ir=function(e){const t=Je.get(e);return!_(t)&&e===t.shadowRoot},Do=function(e,t){if(Je.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:i}=t,l=_e(e),y=Mo.call(l),$={mode:n,delegatesFocus:!!i,host:e,shadowRoot:y};Je.set(y,$),Je.set(e,$);const X=()=>y,x=X.nodeKey=Ao++;return Zr(e,x),or(y,X),O(y,st.prototype),y},ar=function(e){if(this===e)return!0;const t=se(this);return(oe.call(t,e)&Pe)!=0&&We(t,e)},st=function(){throw new TypeError("Illegal constructor")},lr=function(e){return ir(e)||gt(e)},_e=function(e){const t=Lt.call(e);return t===null?e:t},ur=function(e){const t=_e(e),n=Kr.call(t);if(n===null)throw new TypeError;return n},Ne=function(e){if(_(hn)){const t=_e(e);hn=t.body&&Ie.call(t.body,"data-global-patching-bypass")==="temporary-bypass"}return re(hn)},le=function(e){const t=e.length,n=[];if(t>0)for(let i=0;i<t;i++)n[i]=e[i];return n},lt=function(e,t){const n=[];let i;if(e instanceof Window)i=e;else if(e instanceof Q)i=e.getRootNode();else return n;let l=e;for(;!v(l);)if(n.push(l),l instanceof Element||l instanceof Text){const $=l.assignedSlot;v($)?l=l.parentNode:l=$}else lr(l)&&(t||l!==i)?l=l.host:l instanceof Q?l=l.parentNode:l=null;let y;return e instanceof Window?y=e.document:y=_e(e),n[n.length-1]===y&&n.push(window),n},Et=function(e,t){if(v(e))return null;const n=lt(e,!0),i=t;for(let l=0,y,$,X,x;l<i.length;l++)if(y=i[l],X=y instanceof Window?y:y.getRootNode(),!lr(X)||(X!==$&&(x=n.indexOf(X),$=X),!_(x)&&x>-1))return y;return null},cr=function(e,t,n,i){const l=xr.call(t,n,i);return v(l)?l:Et(e,lt(l,!0))},Fo=function(e,t){return cr(this,this,e,t)},Ho=function(e,t){return $n(this,this,e,t)},fr=function(e,t){const n=new dr(e,t),i=!!(t&&t.composed);return Object.defineProperties(n,{composed:{get(){return i},configurable:!0,enumerable:!0}}),n},xt=function(e){return e[mn]},Bo=function(e,t){e[mn]=t},hr=function(e){const{addedNodes:t,removedNodes:n,target:i,type:l}=e,y=b(MutationRecord.prototype);return d(y,{addedNodes:{get(){return t},enumerable:!0,configurable:!0},removedNodes:{get(){return n},enumerable:!0,configurable:!0},type:{get(){return l},enumerable:!0,configurable:!0},target:{get(){return i.shadowRoot},enumerable:!0,configurable:!0}}),y},yn=function(e,t){let n=t;for(;!v(n);){const i=xt(n);if(!_(i)&&(i[0]===e||P.call(i,e)!==-1))return!0;n=n.parentNode}return!1},gr=function(e,t){const n=[];for(const i of e){const{target:l,type:y}=i;if(y==="childList"&&!_(Ye(l))){const{addedNodes:$}=i;if($.length>0){const X=$[0];if(yn(t,X)){const x=xt(l);x&&(x[0]===t||P.call(x,t)!==-1)?A.call(n,i):A.call(n,hr(i))}}else{const{removedNodes:X}=i,x=l.shadowRoot,Te=X[0];if(we(l)===we(Te)&&yn(t,l))A.call(n,i);else if(x){const fe=xt(x);fe&&(fe[0]===t||P.call(fe,t)!==-1)&&A.call(n,hr(i))}}}else yn(t,l)&&A.call(n,i)}return n},$o=function(e){let t=e[pr];return _(t)&&(t=e[pr]=(n,i)=>{const l=gr(n,i);l.length!==0&&e.call(i,l,i)}),t},wt=function(e){const t=$o(e);return new gn(t)},Vo=function(){Uo.call(this);const e=Vt.get(this);_(e)||(ne.call(e,t=>{const n=t[mn];if(!_(n)){const i=P.call(n,this);i!==-1&&W.call(n,i,1)}}),e.length=0)},xo=function(e,t){let n=xt(e);if(_(n)&&(n=[],Bo(e,n)),P.call(n,this)===-1&&A.call(n,this),ir(e)&&(e=e.host),Vt.has(this)){const i=Vt.get(this);P.call(i,e)===-1&&A.call(i,e)}else Vt.set(this,[e]);return jo.call(this,e,t)},Go=function(){return gr(Wo.call(this),this)},Ko=function(e,t,n){if(te(this))return So.apply(this,arguments);if(this instanceof Q&>(mr.call(this)))return De.apply(this,arguments);if(arguments.length<2){const l=k.call(arguments);return l.length>1&&(l[1]=cn(l[1])),De.apply(this,l)}const i=cn(t);return De.call(this,e,i,n)},Yo=function(e,t,n){if(te(this))return Co.apply(this,arguments);const i=k.call(arguments);arguments.length>1&&(i[1]=cn(i[1])),mt.apply(this,i),mt.apply(this,arguments)},qo=function(){const e=Oe.call(this);return v(e)?null:bt.get(this)===1?Fe(e):e},yr=function(){const e=ht.call(this);if(!(e instanceof Q))return e;const t=_e(e),n=lt(e,this.composed),i=Oe.call(this);if(i instanceof Q){if(i===t||i===t.body)return _(ee(e))?e:Et(t,n)}else return v(i)&&_(ee(e))?e:Et(t,n);let l=i,y=n;return te(i)&&bt.get(this)===1&&(l=Fe(i)),te(e)&&$t.has(this)&&(y=lt(Fe(e),this.composed)),Et(l,y)},br=function(){const e=ht.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=Io(e);if(t&&!n)return Vr.call(this);const i=Oe.call(this);if(v(i))return[];let l=e;return te(e)&&$t.has(this)&&(l=Fe(e)),lt(l,this.composed)},vr=function(e){const t=u(e.prototype,"relatedTarget").get;g(e.prototype,"relatedTarget",{get(){const n=t.call(this);if(v(n))return null;if(!(n instanceof Q)||!ge(n))return n;let i=Oe.call(this);return v(i)&&(i=_e(n)),Et(i,lt(n,!0))},enumerable:!0,configurable:!0})},Jo=function(){return new rn(e=>{const t=[];ne.call(e,n=>{const{target:i}=n;P.call(t,i)===-1&&(A.call(t,i),Mn.call(i,new CustomEvent("slotchange")))})})},vn=function(e){const t=le(Re.call(e));return V.call(t,(n,i)=>(i instanceof Element&&ke(i)?A.apply(n,vn(i)):A.call(n,i),n),[])},Er=function(){const e=K.call(this);if(e instanceof Element){const t=Rn.call(e);if(gt(t))return this instanceof Text?Xo.call(this):Wr.call(this)}return!v(e)&&ke(e)&&ee(e)!==ee(this)?e:null},_n=function(e,t){let n;const i=ee(e);if(_(i))e instanceof HTMLBodyElement?n=L.call(t,l=>_(ee(l))||Ne(e)):n=k.call(t);else if(te(e)){const l=ve(e);v(l)?n=[]:Ye(e)?n=Hn(e,t):n=qe(l,t)}else n=L.call(t,l=>we(l)===i);return n},Qo=function(){const e=Le(this);let t="";for(let n=0,i=e.length;n<i;n+=1)t+=jt(e[n]);return t},Zo=function(){return jt(this)},ei=function(e){return e[Ke]?Do(this,e):Qt.call(this,e)},ti=function(){if(te(this)){const e=Fe(this);if(e.mode==="open")return e}return Rn.call(this)},ni=function(){const e=ve(this),t=yt(this),n=v(e)?t:qe(e,t);return Be(L.call(n,i=>i instanceof Element))},ri=function(){return this.children.length},oi=function(){return this.children[0]||null},ii=function(){const{children:e}=this;return e.item(e.length-1)||null},ai=function(){const e=le(Ce.apply(this,k.call(arguments)));if(te(this)){const t=ve(this);return _(Ye(this))?v(t)?null:Un(t,e):to(this,e)}else if(ge(this)){const t=ee(this);if(_(t))return e.length===0?null:e[0];{const n=D.call(e,i=>we(i)===t);return _(n)?null:n}}else{if(!(this instanceof HTMLBodyElement)){const n=e[0];return _(n)?null:n}const t=D.call(e,n=>_(ee(n))||Ne(this));return _(t)?null:t}},si=function(e,t){let n;if(te(e)){const i=ve(e);_(Ye(e))?v(i)?n=[]:n=qe(i,t):n=Hn(e,t)}else if(ge(e)){const i=ee(e);_(i)?n=k.call(t):n=L.call(t,l=>we(l)===i)}else e instanceof HTMLBodyElement?n=L.call(t,i=>_(ee(i))||Ne(e)):n=k.call(t);return n},Tr=function(e){return e.filter(t=>je.call(t,"tabindex")?Ie.call(t,"tabindex")==="0":li.has(me.call(t))?!je.call(t,"disabled"):!0)},ui=function(e){const{width:t,height:n}=At.call(e),i=t>0||n>0,l=e.tagName==="AREA";return(i||l)&&getComputedStyle(e).visibility!=="hidden"},ci=function(e){return te(e)&&_t(e)?!1:tn.call(e,Tt)&&ui(e)},di=function(){const e=wr.call(this);if(e===this){const l=Jt.call(this,Tt);v(l)||l.focus.apply(l,arguments);return}if(e.activeElement===this)return;const n=le(Ce.call(this,Tt));let i=!1;for(;!i&&n.length!==0;){const l=n.shift();l.focus.apply(l,arguments),i=l.getRootNode().activeElement===l}},Rr=function(e){const t=_e(e),n=Tr(le(Ut.call(t,Tt))),i=Tr(le(Ce.call(e,Tt))),l=i[0],y=i[i.length-1],$=P.call(n,e),X=$>-1?$:P.call(n,l),x=i.length===0?X+1:P.call(n,y)+1,Te=k.call(n,0,X),fe=k.call(n,x);return{prev:Te,inner:i,next:fe}},fi=function(e){const t=_e(e),n=nn.call(t);return v(n)||(oe.call(e,n)&Pe)!=0?n:null},Nr=function(e,t){const n=oe.call(e,t);return n&Pe?0:n&p?1:n&F?2:-1},Gt=function(e){e.preventDefault(),e.stopPropagation()},En=function(e,t){Cn.call(e,"focusin",Gt,!0),Cn.call(e,"focusout",Gt,!0),t(),On.call(e,"focusin",Gt,!0),On.call(e,"focusout",Gt,!0)},Kt=function(e,t,n){const i=ur(n),l=hi(e,n);v(l)?En(i,()=>{t.blur()}):En(i,()=>{l.focus()})},Sr=function(){Pt=!0},wn=function(){Pt=!1},pi=function(){return!Pt},Cr=function(e){if(Pt)return;const t=Oe.call(e),n=ht.call(e);if(t!==n)return;const i=Nn.call(e);if(v(i))return;const l=Rr(t);if(Nr(t,i)===1){const $=Lr.bind(null,t.getRootNode()),X=D.call(l.inner,$);if(_(X))Kt(l.next,n,i);else{const x=ur(X);En(x,()=>{X.focus()})}}else t===n&&Kt(G.call(l.prev),n,i)},Or=function(e){if(Pt)return;const t=Nn.call(e);if(v(t))return;const n=Oe.call(e),i=Rr(n);if(P.call(i.inner,t)!==-1)return;const l=ht.call(e),y=Nr(n,t);y===1&&Kt(i.next,l,t),y===2&&Kt(G.call(i.prev),l,t)},Lr=function(e,t){if(!ci(t))return!1;const n=_e(t);let i=t.getRootNode();for(;i!==n&&i!==e;){const y=i.host;if(Ie.call(y,"tabindex")==="-1")return!1;i=y&&y.getRootNode()}return!0},hi=function(e,t){const n=e.length;if(n>0)for(let i=0;i<n;i+=1){const l=e[i];if(Lr(t.getRootNode(),l))return l}return null},gi=function(e){Ir(e),Ar(e),De.call(e,"focusin",Cr,!0)},Mr=function(e){mt.call(e,"focusin",Cr,!0)},Ir=function(e){const t=_e(e);Pr.get(t)||(Pr.set(t,!0),De.call(t,"mousedown",Sr,!0),De.call(t,"mouseup",()=>{setTimeout(wn)},!0),De.call(t,"dragstart",wn,!0))},mi=function(e){Ir(e),Mr(e),De.call(e,"focusin",Or,!0)},Ar=function(e){mt.call(e,"focusin",Or,!0)},bi=function(){return _t(this)&&ae(je.call(this,"tabindex"))?0:Ee.call(this)},vi=function(e){const t=_t(this),n=Ee.call(this),i=je.call(this,"tabindex");pt.call(this,e);const l=Ee.call(this),y=je.call(this,"tabindex"),$=n!==l;i&&($||ae(y))&&(n===-1&&Ar(this),n===0&&t&&Mr(this)),!ae(y)&&(i&&y&&ae($)||(l===-1&&mi(this),l===0&&t&&gi(this)))},_i=function(){if(_t(this)){const e=fi(this);if(!v(e)){e.blur();return}}return Dr.call(this)},Ei=function(){const e=pi();if(e&&Sr(),te(this)&&_t(this)){di.call(this);return}yi.apply(this,arguments),e&&wn()},wi=function(e){return e[xe]},Ti=function(e,t){e[xe]=t},kr=function(e,t){e[Me]=t;let n=St.call(e);for(;!v(n);)kr(n,t),n=zt.call(n)},Pi=function(e){return e[Ge]},Ri=function(e,t){e[Ge]=t},Tn=function(e,t,n,i){const l=Qe(e);if(l!==t&&(or(e,t),e instanceof Element)){if(Ti(e,n),lwcRuntimeFlags.ENABLE_LEGACY_SCOPE_TOKENS&&Ri(e,i),te(e))return;_(l)&&on.call(Yt,e,Hr);const y=Re.call(e);for(let $=0,X=y.length;$<X;$+=1)Tn(y[$],t,n,i)}},Si=function(){return new rn(e=>{ne.call(e,t=>{const{target:n,addedNodes:i,removedNodes:l}=t,y=Qe(n),$=wi(n),X=lwcRuntimeFlags.ENABLE_LEGACY_SCOPE_TOKENS?Pi(n):void 0;for(let x=0,Te=l.length;x<Te;x+=1){const fe=l[x];oe.call(n,fe)&Q.DOCUMENT_POSITION_CONTAINED_BY||Tn(fe,Ni,void 0,void 0)}for(let x=0,Te=i.length;x<Te;x+=1){const fe=i[x];oe.call(n,fe)&Q.DOCUMENT_POSITION_CONTAINED_BY&&Tn(fe,y,$,X)}})})},Ci=function(e){if(_(Yt)&&(Yt=Si()),_(Qe(e)))throw new Error("Invalid Element");on.call(Yt,e,Hr)};var o=Object.freeze({__proto__:null,fail:S,invariant:r,isFalse:w,isTrue:a});const{assign:T,create:b,defineProperties:d,defineProperty:g,getOwnPropertyDescriptor:u,getPrototypeOf:c,hasOwnProperty:f,setPrototypeOf:O}=Object,{isArray:C}=Array,{filter:L,find:D,findIndex:H,indexOf:P,join:j,map:U,push:A,reduce:V,reverse:G,slice:k,splice:W,forEach:ne}=Array.prototype,ye={}.toString,Me="$shadowResolver$",Ve="$$ShadowResolverKey$$",Ze="$shadowStaticNode$",et="$shadowStaticNodeKey$",xe="$shadowToken$",He="$$ShadowTokenKey$$",Ge="$legacyShadowToken$",Ue="$$LegacyShadowTokenKey$$",Ke="$$lwc-synthetic-mode",tt="$nativeGetElementById$",nt="$nativeQuerySelectorAll$";globalThis.lwcRuntimeFlags||Object.defineProperty(globalThis,"lwcRuntimeFlags",{value:b(null)});const Q=Node,he=Q.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Pe,DOCUMENT_POSITION_CONTAINS:m,DOCUMENT_POSITION_PRECEDING:p,DOCUMENT_POSITION_FOLLOWING:F,ELEMENT_NODE:R,TEXT_NODE:N,CDATA_SECTION_NODE:z,PROCESSING_INSTRUCTION_NODE:de,COMMENT_NODE:Z}=Q,{appendChild:pe,cloneNode:ce,compareDocumentPosition:oe,contains:Rt,getRootNode:ut,insertBefore:ct,removeChild:qt,replaceChild:Xt,hasChildNodes:Nt}=he,St=u(he,"firstChild").get,Ct=u(he,"lastChild").get,Ot=u(he,"textContent").get,K=u(he,"parentNode").get,Lt=u(he,"ownerDocument").get,Se=u(he,"parentElement").get,Mt=u(he,"textContent").set,Re=u(he,"childNodes").get,zt=u(he,"nextSibling").get,It=f.call(he,"isConnected")?u(he,"isConnected").get:function(){const e=Lt.call(this);return e===null||(oe.call(e,this)&Pe)!=0},{getAttribute:Ie,getBoundingClientRect:At,getElementsByTagName:ie,getElementsByTagNameNS:Dt,hasAttribute:je,querySelector:Jt,querySelectorAll:Ce,removeAttribute:kt,setAttribute:dt}=Element.prototype,Qt=f.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},ft=u(Element.prototype,"childElementCount").get,Zt=u(Element.prototype,"firstElementChild").get,en=u(Element.prototype,"lastElementChild").get,rt=u(HTMLElement.prototype,"innerText"),Ft=rt?rt.get:null,Ht=rt?rt.set:null,ot=u(HTMLElement.prototype,"outerText"),E=ot?ot.get:null,s=ot?ot.set:null,h=u(Element.prototype,"innerHTML"),M=h.get,I=h.set,B=u(Element.prototype,"outerHTML"),Y=B.get,q=B.set,me=u(Element.prototype,"tagName").get,Ae=u(HTMLElement.prototype,"tabIndex"),Ee=Ae.get,pt=Ae.set,tn=Element.prototype.matches,Ur=u(Element.prototype,"children").get,{getElementsByClassName:jr}=HTMLElement.prototype,Rn=f.call(Element.prototype,"shadowRoot")?u(Element.prototype,"shadowRoot").get:()=>null,Wr=f.call(Element.prototype,"assignedSlot")?u(Element.prototype,"assignedSlot").get:()=>null,Br=HTMLSlotElement.prototype.assignedNodes,$r=HTMLSlotElement.prototype.assignedElements,ht=u(Event.prototype,"target").get,Oe=u(Event.prototype,"currentTarget").get,Nn=u(FocusEvent.prototype,"relatedTarget").get,Vr=f.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],nn=u(Document.prototype,"activeElement").get,xr=Document.prototype.elementFromPoint,Gr=Document.prototype.elementsFromPoint,Kr=u(Document.prototype,"defaultView").get,{querySelectorAll:Ut,getElementById:Sn,getElementsByClassName:Yr,getElementsByTagName:qr,getElementsByTagNameNS:Xr}=Document.prototype,{getElementsByName:zr}=HTMLDocument.prototype,{addEventListener:Cn,removeEventListener:On}=window,rn=MutationObserver,on=rn.prototype.observe,Jr=ShadowRoot,gt=e=>e instanceof Jr,Ln=EventTarget.prototype,{addEventListener:De,dispatchEvent:Mn,removeEventListener:mt}=Ln,In="$$HostElementKey$$",An="$$ShadowedNodeKey$$";/**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*//**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/const io=/[&\u00A0"]/g,ao=/[&\u00A0<>]/g,{replace:jn,toLowerCase:Wn}=String.prototype,uo=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),co=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);/**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/const Xe=new WeakMap;Wt.prototype=b(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Wt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Xe.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){ne.call(Xe.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return U.call(Xe.get(this),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return U.call(Xe.get(this),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return Xe.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=Xe.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get(){return"NodeList"}},toString:{writable:!0,configurable:!0,value(){return"[object NodeList]"}}}),O(Wt,NodeList);const po=(e,t)=>{let n;for(;!_(n=e.host);){const i=n.getRootNode();if(i===t)return n;e=i}},ln=new WeakMap;Bt.prototype=b(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Bt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(e==="")return null;const t=ln.get(this);for(let n=0,i=t.length;n<i;n++){const l=t[i];if(e===Ie.call(l,"id")||e===Ie.call(l,"name"))return l}return null}},[Symbol.toStringTag]:{configurable:!0,get(){return"HTMLCollection"}},toString:{writable:!0,configurable:!0,value(){return"[object HTMLCollection]"}}}),O(Bt,HTMLCollection);const Vn=ut??function(){let e=this,t=K.call(e);for(;!v(t);)e=t,t=Se.call(e);return e};d(Q.prototype,{firstChild:{get(){return $e(this)?go.call(this):St.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return $e(this)?mo.call(this):Ct.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return ge(this)||te(this)?yo.call(this):Ot.call(this)},set:bo,enumerable:!0,configurable:!0},parentNode:{get(){if(ge(this))return vo.call(this);const e=K.call(this);return!v(e)&&it(e)?ve(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(ge(this))return _o.call(this);const e=Se.call(this);return!v(e)&&it(e)?ve(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return $e(this)?To.call(this):Re.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return $e(this)?ho.call(this):Nt.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ne(this)?oe.call(this,e):Ro.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e?!0:e==null?!1:ge(this)||te(this)?Eo.call(this,e):Rt.call(this,e)},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return ge(this)||te(this)?wo.call(this,e):ce.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:Gn,enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return It.call(this)}}});const Le=function(e){return e.childNodes};f.call(HTMLElement.prototype,"contains")&&g(HTMLElement.prototype,"contains",u(Q.prototype,"contains")),f.call(HTMLElement.prototype,"parentElement")&&g(HTMLElement.prototype,"parentElement",u(Q.prototype,"parentElement"));const Kn=new WeakMap,Yn=new WeakMap,bt=new WeakMap,Xn=new WeakMap,zn=new WeakMap,Qn=new WeakMap,rr=Q.prototype.getRootNode;o.isFalse(String(rr).includes("[native code]"),"Node prototype must be patched before patching shadow root.");const Je=new WeakMap,{createDocumentFragment:Mo}=document;g(Q.prototype,Me,{set(e){_(e)||(this[Ve]=e,Qr(this,e.nodeKey))},get(){return this[Ve]},configurable:!0,enumerable:!0}),_(globalThis[tt])&&g(globalThis,tt,{value:Sn,configurable:!0}),_(globalThis[nt])&&g(globalThis,nt,{value:Ut,configurable:!0});let Ao=0;const sr={constructor:{writable:!0,configurable:!0,value:st},toString:{writable:!0,configurable:!0,value(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},ko={activeElement:{enumerable:!0,configurable:!0,get(){const e=se(this),t=_e(e),n=nn.call(t);if(v(n))return n;if((oe.call(e,n)&Pe)==0)return null;let i=n;for(;!We(e,i);)i=Se.call(i);return ke(i)?null:i}},delegatesFocus:{configurable:!0,get(){return vt(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const n=se(this),i=_e(n);return cr(this,i,e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const n=se(this),i=_e(n);return $n(this,i,e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return se(this)}},mode:{configurable:!0,get(){return vt(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},$t=new WeakMap;T(sr,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ct.call(se(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return qt.call(se(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return pe.call(se(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Xt.call(se(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){Oo(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return $t.set(e,this),Mn.apply(se(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){Lo(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return se(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return ze(Fn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=se(this);return this===e?0:ar.call(this,e)?20:oe.call(t,e)&Pe?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:ar},firstChild:{enumerable:!0,configurable:!0,get(){return Le(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Le(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Le(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return It.call(se(this))}},nextSibling:{enumerable:!0,configurable:!0,get(){return null}},previousSibling:{enumerable:!0,configurable:!0,get(){return null}},nodeName:{enumerable:!0,configurable:!0,get(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get(){return se(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get(){return null}},parentNode:{enumerable:!0,configurable:!0,get(){return null}},textContent:{enumerable:!0,configurable:!0,get(){const e=Le(this);let t="";for(let n=0,i=e.length;n<i;n+=1){const l=e[n];l.nodeType!==Z&&(t+=sn(l))}return t},set(e){const t=se(this);Mt.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return re(e?.composed)?rr.call(se(this),{composed:!0}):this}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Be(L.call(Fn(this),e=>e instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return no(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return ze(ro(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Le(this);let t="";for(let n=0,i=e.length;n<i;n+=1)t+=jt(e[n]);return t},set(e){const t=se(this);I.call(t,e)}}},ko),st.prototype=b(DocumentFragment.prototype,sr),g(st,Symbol.hasInstance,{value:function(e){return J(e)&&!v(e)&&(gt(e)||c(e)===st.prototype)}});let hn;/**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*//**
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/Document.prototype.elementFromPoint=Fo,Document.prototype.elementsFromPoint=Ho,g(Document.prototype,"activeElement",{get(){let e=nn.call(this);if(v(e))return e;for(;!_(ee(e));)if(e=Se.call(e),v(e))return null;return e.tagName==="HTML"&&(e=this.body),e},enumerable:!0,configurable:!0}),g(Document.prototype,"getElementById",{value(){const e=Sn.apply(this,k.call(arguments));return v(e)?null:_(ee(e))||Ne(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),g(Document.prototype,"querySelector",{value(){const e=le(Ut.apply(this,k.call(arguments))),t=D.call(e,n=>_(ee(n))||Ne(n));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),g(Document.prototype,"querySelectorAll",{value(){const e=le(Ut.apply(this,k.call(arguments))),t=L.call(e,n=>_(ee(n))||Ne(n));return ze(t)},writable:!0,enumerable:!0,configurable:!0}),g(Document.prototype,"getElementsByClassName",{value(){const e=le(Yr.apply(this,k.call(arguments))),t=L.call(e,n=>_(ee(n))||Ne(n));return Be(t)},writable:!0,enumerable:!0,configurable:!0}),g(Document.prototype,"getElementsByTagName",{value(){const e=le(qr.apply(this,k.call(arguments))),t=L.call(e,n=>_(ee(n))||Ne(n));return Be(t)},writable:!0,enumerable:!0,configurable:!0}),g(Document.prototype,"getElementsByTagNameNS",{value(){const e=le(Xr.apply(this,k.call(arguments))),t=L.call(e,n=>_(ee(n))||Ne(n));return Be(t)},writable:!0,enumerable:!0,configurable:!0}),g(u(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=le(zr.apply(this,k.call(arguments))),t=L.call(e,n=>_(ee(n))||Ne(n));return ze(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:st,configurable:!0,writable:!0});const dr=CustomEvent;if(fr.prototype=dr.prototype,window.CustomEvent=fr,typeof ClipboardEvent!="undefined"){const e=T(b(null),{copy:1,cut:1,paste:1});d(ClipboardEvent.prototype,{composed:{get(){const{type:t}=this;return e[t]===1},configurable:!0,enumerable:!0}})}const gn=MutationObserver,{disconnect:Uo,observe:jo,takeRecords:Wo}=gn.prototype,pr="$$lwcObserverCallbackWrapper$$",mn="$$lwcNodeObservers$$",Vt=new WeakMap;wt.prototype=gn.prototype,wt.prototype.disconnect=Vo,wt.prototype.observe=xo,wt.prototype.takeRecords=Go,g(window,"MutationObserver",{value:wt,configurable:!0,writable:!0});const mr=Q.prototype.getRootNode;o.isFalse(String(mr).includes("[native code]"),"Node prototype must be patched before event target."),d(Ln,{addEventListener:{value:Ko,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Yo,enumerable:!0,writable:!0,configurable:!0}}),d(Event.prototype,{target:{get:yr,enumerable:!0,configurable:!0},currentTarget:{get:qo,enumerable:!0,configurable:!0},composedPath:{value:br,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:yr,enumerable:!0,configurable:!0},path:{get:br,enumerable:!0,configurable:!0}}),vr(FocusEvent),vr(MouseEvent);const Xo=f.call(Text.prototype,"assignedSlot")?u(Text.prototype,"assignedSlot").get:()=>null;let bn;const zo={childList:!0},_r=new WeakMap;d(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),e==="slotchange"&&!_r.get(this)&&(_r.set(this,!0),bn||(bn=Jo()),on.call(bn,this,zo))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(ge(this)){const n=!_(e)&&re(e.flatten)?vn(this):an(this);return L.call(n,i=>i instanceof Element)}else return $r.apply(this,k.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){return ge(this)?!_(e)&&re(e.flatten)?vn(this):an(this):Br.apply(this,k.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ie.call(this,"name");return v(e)?"":e},set(e){dt.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(ge(this)){const e=ve(this),t=v(e)?[]:qe(e,yt(this));return ze(t)}return Re.call(this)},enumerable:!0,configurable:!0}}),d(Text.prototype,{assignedSlot:{get:Er,enumerable:!0,configurable:!0}}),d(Element.prototype,{innerHTML:{get(){return ge(this)||te(this)?Qo.call(this):M.call(this)},set(e){I.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return ge(this)||te(this)?Zo.call(this):Y.call(this)},set(e){q.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:ei,enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:ti,enumerable:!0,configurable:!0},children:{get(){return $e(this)?ni.call(this):Ur.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return $e(this)?ri.call(this):ft.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return $e(this)?oi.call(this):Zt.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return $e(this)?ii.call(this):en.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Er,enumerable:!0,configurable:!0}}),f.call(HTMLElement.prototype,"innerHTML")&&g(HTMLElement.prototype,"innerHTML",u(Element.prototype,"innerHTML")),f.call(HTMLElement.prototype,"outerHTML")&&g(HTMLElement.prototype,"outerHTML",u(Element.prototype,"outerHTML")),f.call(HTMLElement.prototype,"children")&&g(HTMLElement.prototype,"children",u(Element.prototype,"children")),d(Element.prototype,{querySelector:{value:ai,writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=le(Ce.apply(this,k.call(arguments))),t=si(this,e);return ze(t)},writable:!0,enumerable:!0,configurable:!0}}),d(Element.prototype,{getElementsByClassName:{value(){const e=le(jr.apply(this,k.call(arguments)));return Be(_n(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=le(ie.apply(this,k.call(arguments)));return Be(_n(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=le(Dt.apply(this,k.call(arguments)));return Be(_n(this,e))},writable:!0,enumerable:!0,configurable:!0}}),f.call(HTMLElement.prototype,"getElementsByClassName")&&g(HTMLElement.prototype,"getElementsByClassName",u(Element.prototype,"getElementsByClassName"));const wr=Q.prototype.getRootNode;o.isFalse(String(wr).includes("[native code]"),"Node prototype must be patched before patching focus.");const Tt=`
[contenteditable],
[tabindex],
a[href],
area[href],
audio[controls],
button,
iframe,
input,
select,
textarea,
video[controls]
`,li=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]),Pr=new WeakMap;let Pt=!1;const{blur:Dr,focus:yi}=HTMLElement.prototype;d(HTMLElement.prototype,{tabIndex:{get(){return te(this)?bi.call(this):Ee.call(this)},set(e){return te(this)?vi.call(this,e):pt.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(te(this))return _i.call(this);Dr.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ei.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),Ft!==null&&Ht!==null&&g(HTMLElement.prototype,"innerText",{get(){return Ft.call(this)},set(e){Ht.call(this,e)},enumerable:!0,configurable:!0}),E!==null&&s!==null&&g(HTMLElement.prototype,"outerText",{get(){return E.call(this)},set(e){s.call(this,e)},enumerable:!0,configurable:!0}),g(Element.prototype,xe,{set(e){const t=this[He];!_(t)&&t!==e&&kt.call(this,t),_(e)||dt.call(this,e,""),this[He]=e},get(){return this[He]},configurable:!0}),g(Element.prototype,Ze,{set(e){if(e){const t=this[Me];kr(this,t)}this[et]=e},get(){return this[et]},configurable:!0}),g(Element.prototype,Ge,{set(e){const t=this[Ue];!_(t)&&t!==e&&kt.call(this,t),_(e)||dt.call(this,e,""),this[Ue]=e},get(){return this[Ue]},configurable:!0});const Fr="$$DomManualKey$$",Ni=function(){};let Yt;const Hr={childList:!0};g(Element.prototype,"$domManual$",{set(e){this[Fr]=e,re(e)&&Ci(this)},get(){return this[Fr]},configurable:!0})}}),LWR.define("@lwc/synthetic-shadow",["exports","@lwc/synthetic-shadow/v/9_1_2"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("lwr/preInit/v/0_22_21",["exports"],function(o){"use strict";const r=globalThis,a=r.LWR;a.define||a.env||a.importMap?r.LWR=Object.freeze({define:a.define,env:a.env,importMap:a.importMap}):delete r.LWR;function w(){return a}o.getClientBootstrapConfig=w,Object.defineProperty(o,"__esModule",{value:!0})}),LWR.define("lwr/preInit",["exports","lwr/preInit/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})}),LWR.define("@lwrjs/app-service/communities_app/module/amd/v/0_22_21",["lwr/loaderLegacy/v/0_22_21","lwr/preInit/v/0_22_21","@lwc/synthetic-shadow/v/9_1_2","lwr/serverDataCallback/v/0_22_21","webruntime/bootstrapHook/v/1_66_1200-262_0","webruntime/hook/v/1_66_1200-262_0","webruntime/o11yHook/v/1_66_1200-262_0","webruntime/clientHook/v/1_66_1200-262_0","webruntime/dynamicImportResourceHook/v/1_66_1200-262_0","hooks/clientGuestDetectionHook/v/1_66_1200-262_0","hooks/appUserLoaderHook/v/1_66_1200-262_0","hooks/appCsrfTokenLoaderHook/v/1_66_1200-262_0","hooks/mrtPermissionsHook/v/1_66_1200-262_0","hooks/mrtFeatureFlagHook/v/1_66_1200-262_0","hooks/mrtAppLoginPathHook/v/1_66_1200-262_0","lwr/init/v/0_22_21"],function(o,r,a,w,S,T,b,d,g,u,c,f,O,C,L,D){"use strict";function H(J){return J&&typeof J=="object"&&"default"in J?J:{default:J}}var P=H(S),j=H(T),U=H(b),A=H(d),V=H(g),G=H(u),k=H(c),W=H(f),ne=H(O),_=H(C),v=H(L);P.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),j.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),U.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),A.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),V.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),G.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),k.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),W.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),ne.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),_.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks}),v.default({...o.services,addServerDataCallback:w.registerServerDataCallbacks});const re=r.getClientBootstrapConfig(),{serverData:ae,rootComponents:ue}=re;w.evaluateServerDataCallbacks(ae),Promise.all(ue.map(async J=>{const ye=D.toKebabCase(J),{default:be}=await o.load(J,"@lwrjs/app-service/communities_app/module/amd/v/0_22_21");return[ye,be]})).then(J=>D.init(J,ae)).then(()=>{const J=()=>{globalThis?.lwcRuntimeFlags?.ENABLE_WIRE_SYNC_EMIT&&(globalThis.lwcRuntimeFlags={...globalThis.lwcRuntimeFlags,ENABLE_WIRE_SYNC_EMIT:!1})};typeof requestAnimationFrame!="undefined"?requestAnimationFrame(J):setTimeout(J,0)})}),LWR.define("@lwrjs/app-service/communities_app/module/amd",["exports","@lwrjs/app-service/communities_app/module/amd/v/0_22_21"],function(o,r){o.default=r&&typeof r=="object"&&"default"in r?r.default:r,Object.keys(r).forEach(function(a){a==="default"||o.hasOwnProperty(a)||Object.defineProperty(o,a,{enumerable:!0,get:function(){return r[a]}})})});