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