LiJinHuan
2024-01-05 462188a2c982b0a8750dfe01692dfd898216bb0c
1
2
3
4
LWR.define("logger/v/1",["exports"],function(t){"use strict";function e(...y){console.log(...y)}function r(...y){console.error(...y)}t.log=e,t.logError=r,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("@salesforce/loader/v/1",["exports","lwr/loaderLegacy/v/0_10_11"],function(t,e){"use strict";Object.defineProperty(t,"load",{enumerable:!0,get:function(){return e.load}}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_441-246_0",["exports","lwc/v/3_0_4"],function(t,e){"use strict";class r{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const v=document.documentElement.scrollTop||document.body.scrollTop,I=document.documentElement.scrollHeight||document.body.scrollHeight;v/(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}}e.registerDecorators(r,{fields:["hasTriggered","hasAddedListener","trigger"]}),t.ScrollToBottomEvent=r,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/domRouterUtils/v/0_10_11",["exports","lwr/routerUtils/v/0_10_11"],function(t,e){"use strict";function r(w=""){if(w=w||"",w.indexOf("://")<0){const a=window.location.port?`:${window.location.port}`:"",s=`${window.location.protocol}//${window.location.hostname}${a}`,u=w.charAt(0)==="/"?"":"/";w=s+u+w}const N={},d=document.createElement("a");d.href=w;const l=d.search.substring(1);return l&&l.split("&").forEach(a=>{const[s,u=""]=a.split("=");N[e.decode(s)]=e.decode(u)}),{href:d.href,origin:`${d.protocol}//${d.hostname}${d.port?`:${d.port}`:""}`,pathname:d.pathname.replace(/(\/)?/,"/"),searchParams:N}}function y(w){const N=r(w),d=N.href.replace(/:\d+/,""),l=N.origin.replace(/:\d+/,"");return d.replace(l,"")}function v(w,N){const d=N||{};window.history.pushState(d,"",w)}function I(w,N){const d=N||{};window.history.replaceState(d,"",w)}t.getRelativeUrl=y,t.replace=I,t.set=v,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/metrics/v/0_10_11",["exports"],function(t){"use strict";const e="lwr.bootstrap.",r=`${e}end`,y=`${e}error`,v=`${y}.count`,I=`${e}duration`,w="lwr.bootstrap.init",N=`${w}.duration`,d="lwr.bootstrap.init.module",l=`${d}.duration`,a=`${d}.count`,s="lwr.loader.",u=`${s}module.define`,_=`${u}.count`,E=`${s}module.fetch`,R=`${E}.count`,T=`${E}.duration`,M=`${s}module.error`,L=`${M}.count`,$=`${s}mappings.fetch`,V=`${$}.count`,m=`${$}.duration`,D=`${s}mappings.error`,S=`${D}.count`,H="lwr.router.",G=`${H}navigate`,ge=`${G}.count`,k=`${G}.duration`,pe=`${H}view`,Ee=`${pe}.duration`,Ie=`${H}error`,ue=`${Ie}.count`;t.BOOTSTRAP_DURATION=I,t.BOOTSTRAP_END=r,t.BOOTSTRAP_ERROR=y,t.BOOTSTRAP_ERROR_COUNT=v,t.BOOTSTRAP_PREFIX=e,t.INIT=w,t.INIT_DURATION=N,t.INIT_MODULE=d,t.INIT_MODULE_COUNT=a,t.INIT_MODULE_DURATION=l,t.LOADER_PREFIX=s,t.MAPPINGS_ERROR=D,t.MAPPINGS_ERROR_COUNT=S,t.MAPPINGS_FETCH=$,t.MAPPINGS_FETCH_COUNT=V,t.MAPPINGS_FETCH_DURATION=m,t.MODULE_DEFINE=u,t.MODULE_DEFINE_COUNT=_,t.MODULE_ERROR=M,t.MODULE_ERROR_COUNT=L,t.MODULE_FETCH=E,t.MODULE_FETCH_COUNT=R,t.MODULE_FETCH_DURATION=T,t.ROUTER_ERROR=Ie,t.ROUTER_ERROR_COUNT=ue,t.ROUTER_NAV=G,t.ROUTER_NAV_COUNT=ge,t.ROUTER_NAV_DURATION=k,t.ROUTER_PREFIX=H,t.ROUTER_VIEW=pe,t.ROUTER_VIEW_DURATION=Ee,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/observable/v/0_10_11",["exports"],function(t){"use strict";function e(){let r,y,v=[];const I=s=>{v.push(s)},w=s=>{v=[...v.slice(0,s),...v.slice(s+1)]},N=s=>{v.filter(u=>u!==null).forEach(u=>u.next&&u.next(s)),r=s,y=void 0},d=s=>{v.filter(u=>u!==null).forEach(u=>u.error&&u.error(s)),r=void 0,y=s};return{next:N,error:d,complete:()=>{v.filter(s=>s!==null).forEach(s=>s.complete&&s.complete()),v=[],r=void 0,y=void 0},subscribe:(s,u=!0)=>{I(s),r&&u&&s.next(r),y&&d(y);const _=v.length-1;return{unsubscribe:()=>w(_)}}}}t.createObservable=e,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/contextProvider/v/0_10_11",["exports","lwc/v/3_0_4","lwr/routerUtils/v/0_10_11","lwr/navigation/v/0_10_11"],function(t,e,r,y){"use strict";const v=r.hasDocument?e.createContextProvider(y.CurrentPageReference):void 0,I=r.hasDocument?e.createContextProvider(y.CurrentView):void 0,w=r.hasDocument?e.createContextProvider(y.NavigationContext):void 0;function N(d,l,a,s){a&&s&&(s.setContext(l,d),a(l,{consumerConnectedCallback:s.subscribeContext.bind(s,l),consumerDisconnectedCallback:s.unsubscribeContext.bind(s,l)}))}t.currentPageReferenceContextualizer=v,t.currentViewContextualizer=I,t.navigationContextContextualizer=w,t.provideContext=N,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/routerUtils/v/0_10_11",["exports","lwr/routerErrors/v/0_10_11"],function(t,e){"use strict";function r(){const c=[],b=()=>c.length===0,g=F=>{typeof F=="function"&&c.push(F)};return{add:(F=[])=>{Array.isArray(F)?F.forEach(U=>g(U)):g(F)},compile:F=>c.length===0?Promise.resolve(!0):c.reduce((U,ne)=>U.then(Y=>Y===!1?Promise.reject():Promise.resolve(ne(F))),Promise.resolve(!0)).then(U=>U!==!1).catch(U=>{if(U instanceof Error)throw U;return!1}),empty:b}}function y(c=""){return c=c||"",encodeURIComponent(c)}function v(c=""){return c=c||"",decodeURIComponent(c)}function I(c){c=c||"/",c.charAt(0)!=="/"&&(c="/"+c);const b=c.match(/^[^#?]+/);if(b!==null){const g=b[0];return g==="/"?"/":g.replace(/\/$/,"")}return"/"}function w(c){c=c||"";const b=c.indexOf("#");b>=0&&(c=c.substring(0,b));const g=c.indexOf("?"),A=g>=0?c.substr(g+1):null,W={};return A&&A.split("&").forEach(F=>{if(F.indexOf("=")>=0){const[U,ne=""]=F.split("=");W[v(U)]=v(ne)}else W[v(F)]=null}),W}function N(c={}){const b=Object.keys(c);return b.length?`?${b.map(g=>{const A=c[g];return A===null?g:`${g}=${y(A)}`}).join("&")}`:""}function d(c){return c&&c.length>1?c.startsWith(":"):!1}function l(c){return c&&d(c)?c.substr(1):!1}function a(c){return Object.values(c).reduce((b,{routeParamName:g})=>{const A=l(g);return A&&b.push(A),b},[])}function s(c,b){if(!c)return null;const{type:g,attributes:A={},state:W={}}=c;if(g){const[F]=b.filter(U=>{const{original:{page:{type:ne=null,attributes:Y={},state:x={}}={}}}=U,J=ne===g,me=Object.keys(Y).every(Te=>Object.keys(A).indexOf(Te)>=0),ve=Object.keys(Y).length===Object.keys(A).length,Re=Object.keys(x).every(Te=>Object.keys(W).indexOf(Te)>=0),ye=Object.keys(Y).filter(Te=>{const xe=Y[Te];return!xe||!d(xe)}).every(Te=>Y[Te]===A[Te]),Ae=Object.keys(x).filter(Te=>{const xe=x[Te];return xe===null||!d(xe)}).every(Te=>x[Te]===W[Te]);return J&&me&&ve&&ye&&Re&&Ae});return F||null}return null}function u(c,b){const{regex:g,params:A}=b,W=g.exec(c);if(W){const[,...F]=W,U={};return A.forEach((ne,Y)=>{const{name:x}=ne,J=F[Y];U[x]=J&&v(J)}),U}return null}function _(c,b){if(c&&b){const{queryMatcher:g}=b,A=g(c);if(A){const W={};return Object.keys(A).forEach(F=>{const U=A[F],{value:ne,routeParamName:Y}=U,x=Y?Y.substr(1):F;W[x]=ne&&v(ne)}),W}}return null}function E(c,b){const{compiledQuery:g}=b,A=Object.keys(g).filter(F=>{const{literalValue:U}=g[F];return!U}),W={};return Object.keys(c).forEach(F=>{const U=c[F];A.indexOf(F)<0&&(W[F]=U)}),W}function R(c,b){if(b){const{original:{page:{type:g="",attributes:A={},state:W={}}={}}={}}=b,F=I(c),U=w(c),ne=u(F,b),Y=_(U,b);if(ne&&Y){const x={...ne,...Y},J={};Object.keys(A).forEach(Re=>{const ye=A[Re];let Ae;if(ye&&d(ye)){const Te=ye.substr(1);Ae=x[Te]}else Ae=ye;J[Re]=Ae});const me={};Object.keys(W).forEach(Re=>{const ye=W[Re];let Ae;if(ye&&d(ye)){const Te=ye.substr(1);Ae=x[Te]}else Ae=ye;me[Re]=Ae});const ve=E(U,b);return{type:g,attributes:{...J},state:{...ve,...me}}}}return null}function T(c,b,g){const{original:{patterns:A=null}={}}=g||{};if(A){const W=u(c,g),F=_(b,g),U={...W,...F};return Object.keys(A).every(ne=>{const Y=A[ne],x=new RegExp(Y),J=U[ne]||"";return x.test(J)})}return!0}function M(c,b){const g=I(c),A=w(c),W=b?b.filter(U=>U.regex.test(g)):[],[F]=W.filter(U=>{const{queryMatcher:ne}=U;return ne(A)&&T(g,A,U)});return F||null}function L(c,b,g=""){g&&c.indexOf(g)===0&&(c=c.replace(g,""));const A=M(c,b);let W;if(A){const F=R(c,A);if(F)return W={route:{id:A.original.id,attributes:{...F.attributes},state:{...F.state},pageReference:{type:F.type,attributes:{...F.attributes},state:{...F.state}}},routeDefinition:A},W}else return null;return null}function $(c,b,g=""){const A=s(c,b);return A?m(c,A,g):null}function V(c,b,g){const{attributeBindings:A,stateBindings:W}=g,{attributes:F,state:U}=b,ne={};return c.forEach(Y=>{const[x]=Object.keys(A).filter(J=>l(A[J])===Y);if(x)ne[Y]=F[x];else{const[J]=Object.keys(W).filter(me=>l(W[me])===Y);J&&(ne[Y]=U[J])}}),ne}function m(c,b,g=""){const{params:A,original:{page:W={}}={},toPath:F,compiledQuery:U}=b,{attributes:ne={},state:Y={}}=W,x=A.filter(({name:Te})=>typeof Te=="string").map(({name:Te})=>Te),J=V(x,c,{attributeBindings:ne,stateBindings:Y}),me=F(J),ve=a(U),Re=V(ve,c,{attributeBindings:ne,stateBindings:Y}),ye=D(c,Re,b),Ae=N(ye);return`${g}${me}${Ae}`}function D(c,b,g){const{compiledQuery:A,original:{page:{state:W={}}}}=g,{state:F={}}=c||{},U={};Object.keys(F).filter(Y=>{const x=W[Y];return!d(x)}).forEach(Y=>U[Y]=F[Y]);const ne={};return Object.keys(b).forEach(Y=>{const x=b[Y],[J]=Object.keys(A).filter(me=>{const ve=A[me],{routeParamName:Re}=ve;return l(Re)===Y});if(J){const me=J;ne[me]=x}}),{...U,...ne}}function S(c,b,g=""){const A=L(c,b,g);return A&&A.route&&A.route.pageReference?A.route.pageReference:null}function H(c){return typeof c=="object"&&c!==null&&!Array.isArray(c)}function G(c){return typeof c=="string"}function ge(c,b){return b in c}function k(c,b=2){if(H(c))try{Object.freeze(c),b>0&&Object.keys(c).forEach(g=>{if(ge(c,g)){const A=c[g];A&&typeof A=="object"&&k(A,b-1)}})}catch(g){}return c}function pe(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function Ee(c){const b=["id","attributes","state","pageReference"],{pageReference:g=null}=c||{};return H(c)&&oe(c,b)&&Ie(g)}function Ie(c){const b=["type","state","attributes"],{type:g,state:A,attributes:W}=c||{},F=H(c)&&G(g)&&H(A)&&ue(A)&&H(W)&&ue(W);return oe(c,b)&&F}function ue(c){return Object.keys(c).every(b=>{const g=c[b];return typeof b=="string"&&(typeof g=="string"||g===null)})}function oe(c,b){if(H(c)){const g=b.every(F=>ge(c,F)),W=Object.keys(b).length===b.length;return g&&W}return!1}function Pe(c){const b=[];let g=0;for(;g<c.length;){const A=c[g];if(A==="*"||A==="+"||A==="?"){b.push({type:"MODIFIER",index:g,value:c[g++]});continue}if(A==="\\"){b.push({type:"ESCAPED_CHAR",index:g++,value:c[g++]});continue}if(A==="{"){b.push({type:"OPEN",index:g,value:c[g++]});continue}if(A==="}"){b.push({type:"CLOSE",index:g,value:c[g++]});continue}if(A===":"){let W="",F=g+1;for(;F<c.length;){const U=c.charCodeAt(F);if(U>=48&&U<=57||U>=65&&U<=90||U>=97&&U<=122||U===95){W+=c[F++];continue}break}if(!W)throw new TypeError(`Missing parameter name at ${g}`);b.push({type:"NAME",index:g,value:W}),g=F;continue}if(A==="("){let W=1,F="",U=g+1;if(c[U]==="?")throw new TypeError(`Pattern cannot start with "?" at ${U}`);for(;U<c.length;){if(c[U]==="\\"){F+=c[U++]+c[U++];continue}if(c[U]===")"){if(W--,W===0){U++;break}}else if(c[U]==="("&&(W++,c[U+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${U}`);F+=c[U++]}if(W)throw new TypeError(`Unbalanced pattern at ${g}`);if(!F)throw new TypeError(`Missing pattern at ${g}`);b.push({type:"PATTERN",index:g,value:F}),g=U;continue}b.push({type:"CHAR",index:g,value:c[g++]})}return b.push({type:"END",index:g,value:""}),b}function _e(c){return c.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function ke(c){return c&&c.sensitive?"":"i"}function te(c,b={}){const g=Pe(c),{prefixes:A="./"}=b,W=`[^${_e(b.delimiter||"/#?")}]+?`,F=[];let U=0,ne=0,Y="";const x=ve=>{if(ne<g.length&&g[ne].type===ve)return g[ne++].value},J=ve=>{const Re=x(ve);if(Re!==void 0)return Re;const{type:ye,index:Ae}=g[ne];throw new TypeError(`Unexpected ${ye} at ${Ae}, expected ${ve}`)},me=()=>{let ve="",Re;for(;Re=x("CHAR")||x("ESCAPED_CHAR");)ve+=Re;return ve};for(;ne<g.length;){const ve=x("CHAR"),Re=x("NAME"),ye=x("PATTERN");if(Re||ye){let xe=ve||"";A.indexOf(xe)===-1&&(Y+=xe,xe=""),Y&&(F.push(Y),Y=""),F.push({name:Re||U++,prefix:xe,suffix:"",pattern:ye||W,modifier:x("MODIFIER")||""});continue}const Ae=ve||x("ESCAPED_CHAR");if(Ae){Y+=Ae;continue}if(Y&&(F.push(Y),Y=""),x("OPEN")){const xe=me(),P=x("NAME")||"",q=x("PATTERN")||"",ae=me();J("CLOSE"),F.push({name:P||(q?U++:""),pattern:P&&!q?W:q,prefix:xe,suffix:ae,modifier:x("MODIFIER")||""});continue}J("END")}return F}function re(c,b={}){const g=ke(b),{encode:A=U=>U,validate:W=!0}=b,F=c.map(U=>{if(typeof U=="object")return new RegExp(`^(?:${U.pattern})$`,g)});return U=>{let ne="";for(let Y=0;Y<c.length;Y++){const x=c[Y];if(typeof x=="string"){ne+=x;continue}const J=U?U[x.name]:void 0,me=x.modifier==="?"||x.modifier==="*",ve=x.modifier==="*"||x.modifier==="+";if(Array.isArray(J)){if(!ve)throw new TypeError(`Expected "${x.name}" to not repeat, but got an array`);if(J.length===0){if(me)continue;throw new TypeError(`Expected "${x.name}" to not be empty`)}for(let ye=0;ye<J.length;ye++){const Ae=A(J[ye],x);if(W&&!F[Y].test(Ae))throw new TypeError(`Expected all "${x.name}" to match "${x.pattern}", but got "${Ae}"`);ne+=x.prefix+Ae+x.suffix}continue}if(typeof J=="string"||typeof J=="number"){const ye=A(String(J),x);if(W&&!F[Y].test(ye))throw new TypeError(`Expected "${x.name}" to match "${x.pattern}", but got "${ye}"`);ne+=x.prefix+ye+x.suffix;continue}if(me)continue;const Re=ve?"an array":"a string";throw new TypeError(`Expected "${x.name}" to be ${Re}`)}return ne}}function Ce(c,b){return re(te(c,b),b)}function Se(c,b){if(!b)return c;const g=c.source.match(/\((?!\?)/g);if(g)for(let A=0;A<g.length;A++)b.push({name:A,prefix:"",suffix:"",modifier:"",pattern:""});return c}function Ne(c,b,g={}){const{strict:A=!1,start:W=!0,end:F=!0,encode:U=J=>J}=g,ne=`[${_e(g.endsWith||"")}]|$`,Y=`[${_e(g.delimiter||"/#?")}]`;let x=W?"^":"";for(const J of c)if(typeof J=="string")x+=_e(U(J));else{const me=_e(U(J.prefix)),ve=_e(U(J.suffix));if(J.pattern)if(b&&b.push(J),me||ve)if(J.modifier==="+"||J.modifier==="*"){const Re=J.modifier==="*"?"?":"";x+=`(?:${me}((?:${J.pattern})(?:${ve}${me}(?:${J.pattern}))*)${ve})${Re}`}else x+=`(?:${me}(${J.pattern})${ve})${J.modifier}`;else x+=`(${J.pattern})${J.modifier}`;else x+=`(?:${me}${ve})${J.modifier}`}if(F)A||(x+=`${Y}?`),x+=g.endsWith?`(?=${ne})`:"$";else{const J=c[c.length-1],me=typeof J=="string"?Y.indexOf(J[J.length-1])>-1:J===void 0;A||(x+=`(?:${Y}(?=${ne}))?`),me||(x+=`(?=${Y}|${ne})`)}return new RegExp(x,ke(g))}function Fe(c,b,g){return Ne(te(c,g),b,g)}function Oe(c,b,g){return c instanceof RegExp?Se(c,b):Array.isArray(c)?De(c,b,g):Fe(c,b,g)}function De(c,b,g){const A=c.map(W=>Oe(W,b,g).source);return new RegExp(`(?:${A.join("|")})`,ke(g))}const{INVALID_ROUTE_QUERY:Ve,MISSING_ROUTE_TEMPLATE:Je,MISSING_PAGE_BINDING:nt,INVALID_PAGE_BINDING:it,INVALID_URI_SYNTAX:ze}=e.messages;function je(c){const{routes:b,caseSensitive:g}=c;return b.map(A=>at(A,g))}function at(c,b=!1){const g=[],{uri:A,page:W}=c;e.invariant(!!A,Je),e.invariant(ot(A),ze),e.invariant(!!W,nt);const F=I(A),U=w(A),ne=Oe(F,g,{sensitive:b,end:c.exact!==!1}),Y=Ce(F,{encode:encodeURIComponent}),x=Xe(U),J=st(x,b),me={original:c,regex:ne,params:g,toPath:Y,compiledQuery:x,queryMatcher:J};return e.invariant(Ze(me),it),me}function ot(c=""){return!["*","(",")",";"].some(A=>c.indexOf(A)>=0)}function Ze(c){const{original:{page:b}={},params:g,compiledQuery:A}=c,W=b&&b.type,F=b&&b.attributes||{},U=b&&b.state||{};if(typeof W!="string"||typeof F!="object"||typeof U!="object")return!1;const ne=Object.values(g).map(({name:ye})=>ye),Y=a(A),x=[...ne,...Y],J=Object.values(F).filter(d).map(l),me=Object.values(U).filter(d).map(l),ve=x.every(ye=>typeof ye!="string"?!1:J.indexOf(ye)>=0||me.indexOf(ye)>=0),Re=x.length===J.length+me.length;return!!(b&&W&&F&&U&&ve&&Re)}function Xe(c){const b={};return Object.keys(c).forEach(g=>{const A=c[g];e.invariant(d(g)?A===null:!0,Ve),d(g)?b[g.substr(1)]={routeParamName:g}:A&&d(A)?b[g]={routeParamName:A}:b[g]={literalValue:A===null?null:A}}),b}function st(c,b=!1){return A=>{const W=Object.keys(A),F=Object.keys(c);return F.every(ne=>W.indexOf(ne)>=0)?F.reduce((ne,Y)=>{if(ne===null)return null;const{literalValue:x,routeParamName:J}=c[Y],me=A[Y];let ve=!0;return typeof x=="string"?ve=b?x===me:x.toUpperCase()===(me==null?me:me.toUpperCase()):x===null&&(ve=me===x),ve?ne={...ne,[Y]:{value:me,routeParamName:J}}:ne=null,ne},{}):null}}const ut=typeof document!="undefined",Q={pathToRegexp:Oe,compile:Ce};t.createFilterChain=r,t.decode=v,t.encode=y,t.freeze=k,t.getPageReferenceFromUriAndRouteDef=R,t.getPageReferenceFromUrl=S,t.getPathFromUrl=I,t.getQueryFromUrl=w,t.getQueryString=N,t.getUrlFromPageReference=$,t.getUrlFromPageReferenceAndRouteDef=m,t.guid=pe,t.hasDocument=ut,t.isObject=H,t.isValidRoute=Ee,t.matchRouteByUrl=L,t.parseRoutes=je,t.pathToRegexp=Q,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_10_11",["exports","lwr/routerUtils/v/0_10_11"],function(t,e){"use strict";const r=`universalcontainergetnavigationcontext${e.guid()}`;t.CONTEXT_ID_BACKDOOR=r,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/currentView/v/0_10_11",["exports","lwr/contextUtils/v/0_10_11","lwr/routerErrors/v/0_10_11"],function(t,e,r){"use strict";const y=new e.ContextInfo(void 0),v=class extends e.generateContextualWireAdapter(y){async update(w,N){if(N){const d=w&&w.viewName?w.viewName:"default",l=N.viewset[d],a=l,s=a&&a.module||l;let u;if(s)try{const _=await s(),E=_&&_.default;if(E&&E.constructor!==void 0)this._callback(E);else throw new Error("error occurred with view import")}catch(_){const E=_;a.specifier?u=r.generateMessageObject(r.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[a.specifier,d,E.message,E.stack||""]):u=r.generateMessageObject(r.messages.VIEW_IMPORT_FAILED,[d,E.message,E.stack||""])}else u=r.generateMessageObject(r.messages.VIEW_MISSING,[d]);N.onComplete&&N.onComplete(u)}}};t.CurrentView=v,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/currentPageReference/v/0_10_11",["exports","lwr/contextUtils/v/0_10_11"],function(t,e){"use strict";const r=new e.ContextInfo(void 0),y=e.generateContextualWireAdapter(r);t.CurrentPageReference=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/routerErrors/v/0_10_11",["exports"],function(t){"use strict";const e="LWR",r={Fatal:0,Error:1,Warning:2,Log:3};function y(d,l){return Array.isArray(l)?d.replace(/\{([0-9]+)\}/g,(a,s)=>l[s]):d}function v(d,l){return`${d.code}: ${y(d.message,l)}`}function I(d,l){const a={...d,message:y(d.message,l)};return d.address&&(a.address=y(d.address,l)),d.stack&&(a.stack=y(d.stack,l)),a}function w(d,l,a){if(!d)throw new Error(v(l,a))}const N={INVALID_MIXIN_CMP:{code:`${e}4001`,message:"{0} must be an Element type",level:r.Error},MISSING_CONTEXT:{code:`${e}4002`,message:"Could not find context to perform navigation action.",level:r.Error},INVALID_CONTEXT:{code:`${e}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:r.Error},MULTIPLE_ROOTS:{code:`${e}4004`,message:"Router connection failed. There can only be one root router.",level:r.Error},MULTIPLE_CHILDREN:{code:`${e}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:r.Error},MISSING_ROUTE:{code:`${e}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:r.Error,address:"{0}"},MISSING_URL:{code:`${e}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:r.Error,address:"{0}"},PRENAV_FAILED:{code:`${e}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:r.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${e}4009`,message:'A route definition must contain a "uri" property.',level:r.Error},MISSING_ROUTE_CMP:{code:`${e}4016`,message:"Expected a route view component with a default export.",level:r.Error},MISSING_DATA_CONTEXT:{code:`${e}4018`,message:"Could not find context to retrieve navigation data.",level:r.Error},INVALID_ROUTE_QUERY:{code:`${e}4019`,message:"Invalid query param in route definition.",level:r.Error},MISSING_PAGE_BINDING:{code:`${e}4020`,message:"Route definition must provide page binding",level:r.Error},INVALID_PAGE_BINDING:{code:`${e}4021`,message:"Invalid page binding in route definition",level:r.Error},INVALID_URI_SYNTAX:{code:`${e}4022`,message:"Invalid uri syntax. URI cannot contain *, +, (, ), ",level:r.Error},VIEW_IMPORT_FAILED:{code:`${e}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:r.Error,stack:"{2}"},VIEW_MISSING:{code:`${e}4024`,message:'Expected a view with name "{0}" in the viewset',level:r.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${e}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:r.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${e}4026`,message:"A routing match cannot be found for: {0}",level:r.Error},INVALID_ROUTE_HANDLER:{code:`${e}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:r.Error},DESTINATION_NOT_FOUND:{code:`${e}4028`,message:"Route handler returned 404: Not Found",level:r.Error},DESTINATION_ERROR:{code:`${e}4029`,message:"Route handler returned error status {0}: {1}",level:r.Error,stack:"{2}"}};t.generateMessage=v,t.generateMessageObject=I,t.invariant=w,t.messages=N,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/contextUtils/v/0_10_11",["exports","lwc/v/3_0_4","lwr/routerErrors/v/0_10_11"],function(t,e,r){"use strict";function y(l){if(l==null)throw new TypeError("Provider must be defined.")}class v{constructor(a){this.infoMap=new WeakMap,this.defaultValue=a}getInfo(a){let s=this.infoMap.get(a);return s===void 0&&(s={consumers:new Set},this.infoMap.set(a,s)),s}setContext(a,s){y(a);const u=s,_=this.getInfo(a);_.contextValue=s,_.consumers.forEach(E=>E.provide(u)),_.consumers.size===0&&u?.onComplete&&u.onComplete()}getContext(a){y(a);const{contextValue:s}=this.getInfo(a);return s!==void 0?s:this.defaultValue}clearContext(a){y(a),this.infoMap.delete(a)}subscribeContext(a,s){y(a);const{consumers:u,contextValue:_}=this.getInfo(a);u.has(s)||(u.add(s),s.provide(_))}unsubscribeContext(a,s){y(a),this.getInfo(a).consumers.delete(s)}}e.registerDecorators(v,{fields:["infoMap"]});const I=new WeakMap;function w(l){const a=I.get(l);if(!a||!a.value)throw new Error(r.generateMessage(r.messages.MISSING_CONTEXT));return a.value}function N(l,a){const s={id:l,value:a,update:u=>{s.value=u}};return I.set(s.id,s),s}function d(l){var a;return a=class{constructor(_){this._callback=_}connect(){}disconnect(){}update(_,E){E&&this._callback(E)}static setContext(_,E){l.setContext(_,E)}static getContext(_){return l.getContext(_)}static clearContext(_){l.clearContext(_)}static subscribeContext(_,E){l.subscribeContext(_,E)}static unsubscribeContext(_,E){l.unsubscribeContext(_,E)}},a.contextSchema={value:"required"},a}t.ContextInfo=v,t.generateContextualWireAdapter=d,t.getNavigationHelm=w,t.registerNavigationHelm=N,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/navigationContext/v/0_10_11",["exports","lwr/contextUtils/v/0_10_11"],function(t,e){"use strict";const r=new e.ContextInfo(void 0),y=e.generateContextualWireAdapter(r);t.NavigationContext=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/navigation/v/0_10_11",["exports","lwr/navigationContext/v/0_10_11","lwr/currentPageReference/v/0_10_11","lwr/currentView/v/0_10_11","lwr/contextUtils/v/0_10_11","lwr/routerErrors/v/0_10_11","lwr/navigationMixinHacks/v/0_10_11"],function(t,e,r,y,v,I,w){"use strict";function N(R,T,M){v.getNavigationHelm(R).navigate(T,M)}function d(R,T){return v.getNavigationHelm(R).generateUrl(T)}const l=typeof window=="undefined",a=Symbol("Navigate"),s=Symbol("GenerateUrl"),u=Symbol("NavContext"),_=Symbol("NavContext");function E(R){I.invariant(typeof R.prototype.dispatchEvent=="function",I.messages.INVALID_MIXIN_CMP,[R.toString()]);class T extends R{[_](){if(!this[u]&&(this.dispatchEvent(new CustomEvent(w.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:L=>{this[u]=L}}})),!this[u]))throw new Error(I.generateMessage(I.messages.MISSING_CONTEXT))}[a](L,$){l||(this[_](),N(this[u],L,$))}async[s](L){return l?null:(this[_](),d(this[u],L))}}return T}E.Navigate=a,E.GenerateUrl=s,E.NavContext=u,Object.defineProperty(t,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(t,"CurrentPageReference",{enumerable:!0,get:function(){return r.CurrentPageReference}}),Object.defineProperty(t,"CurrentView",{enumerable:!0,get:function(){return y.CurrentView}}),Object.defineProperty(t,"ContextInfo",{enumerable:!0,get:function(){return v.ContextInfo}}),Object.defineProperty(t,"generateContextualWireAdapter",{enumerable:!0,get:function(){return v.generateContextualWireAdapter}}),Object.defineProperty(t,"getNavigationHelm",{enumerable:!0,get:function(){return v.getNavigationHelm}}),Object.defineProperty(t,"registerNavigationHelm",{enumerable:!0,get:function(){return v.registerNavigationHelm}}),t.NavigationMixin=E,t.generateUrl=d,t.navigate=N,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/domRouter/v/0_10_11",["exports","lwc/v/3_0_4","lwr/navigation/v/0_10_11","lwr/contextProvider/v/0_10_11","lwr/routerErrors/v/0_10_11","lwr/routerUtils/v/0_10_11","lwr/observable/v/0_10_11","lwr/metrics/v/0_10_11","lwr/profiler/v/0_10_11","lwr/navigationMixinHacks/v/0_10_11"],function(t,e,r,y,v,I,w,N,d,l){"use strict";const a=`universalcontainernavigationevent${I.guid()}`,s=`universalcontainerparentevent${I.guid()}`;class u{constructor(R,T,M){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=I.createFilterChain(),this.errorNavFilters=I.createFilterChain(),this._handleNavigationEvent=L=>{const $=L;if($.detail&&typeof $.detail=="object"){const{url:V,replace:m,address:D}=$.detail;this.config.handleNavigation(D,m)?this.root&&!V?this.root.processError(v.generateMessageObject(v.messages.MISSING_URL,[JSON.stringify(D)])):this.parent||this.process(V,m):$.stopPropagation()}},this._handleParentEvent=L=>{L.stopImmediatePropagation();const $=L;$&&$.detail&&typeof $.detail=="function"&&$.detail(this)},this.config={handleNavigation:R.handleNavigation||(()=>!0)},this.target=M||window,this.router=T,this.router.contextId=this.contextId,this.routeObservable=w.createObservable()}get root(){if(!this.parent)return this;let R=this.parent;for(;R;){if(!R.parent)return R;R=R.parent}throw new Error("No root router could be found")}updateWires(R,T,M){if(M)this.processError(M);else{if(this.committedRoute&&R.route===this.committedRoute.route)return;d.logOperationEnd({id:N.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{...R,url:T},this.committedRoute={...this.pendingRoute,...R},r.CurrentPageReference.setContext(this.target,R.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:R.viewset}),d.logOperationEnd({id:N.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(s,T=>{this.parent=T,T.addChild(this)});const R={navigate:(T,M)=>this.navigate(T,M),generateUrl:T=>this.generateUrl(T),subscribe:(T,M)=>this.subscribe(T,M)};r.registerNavigationHelm(this.contextId,R),y.provideContext(this.contextId,this.target,y.navigationContextContextualizer,r.NavigationContext),y.provideContext(void 0,this.target,y.currentPageReferenceContextualizer,r.CurrentPageReference),y.provideContext(void 0,this.target,y.currentViewContextualizer,r.CurrentView),this.router.subscribe(T=>{if(T.status===404){this.processError(v.generateMessageObject(v.messages.DESTINATION_NOT_FOUND));return}if(T.status&&T.status>=400){const $=T.error||new Error;this.processError(v.generateMessageObject(v.messages.DESTINATION_ERROR,[T.status.toString(),$.message,$.stack||""]));return}const M=T.route.pageReference||{},L=this.router.generateUrl(M)||"";if(d.logOperationStart({id:N.ROUTER_VIEW,specifier:this.eventId}),T.viewset){const $={viewset:T.viewset,onComplete:this.updateWires.bind(this,T,L)};r.CurrentView.setContext(this.target,$)}else T.route.pageReference&&this.updateWires(T,L)},!0),I.hasDocument&&(this.target.addEventListener(a,this._handleNavigationEvent),this.target.addEventListener(s,this._handleParentEvent),this.target.addEventListener(l.CONTEXT_ID_BACKDOOR,T=>{const M=T;M.detail.callback&&M.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(a,this._handleNavigationEvent),this.target.removeEventListener(s,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(R){this.preNavFilters.add(R)}addErrorNavigate(R){this.errorNavFilters.add(R)}async addChild(R){if(await new Promise(T=>{setTimeout(()=>{v.invariant(!this.child,v.messages.MULTIPLE_CHILDREN),this.child=R,T()},0)}),this.child&&this.committedRoute){const T=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(T)&&this.child.process(T)}}async process(R,T){this.eventId=new Date().getTime().toString(),d.logOperationStart({id:N.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(R)}catch(L){if(L.code)return this.processError(L),!1;throw L}const M=this.router.parseUrl(R);return M&&this.router.navigate(M),!0}preProcess(R){const T=this.router.parseUrl(R),M=T&&this.router.matchRoute(T);return M?(this.pendingRoute={url:R,...M},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then($=>$&&this.child?this.child.preProcess(this._stripUrlForChild(R)):$).then($=>$||Promise.reject(v.generateMessageObject(v.messages.PRENAV_FAILED,[R])))):Promise.reject(v.generateMessageObject(v.messages.MISSING_ROUTE,[R]))}processError(R){d.logOperationStart({id:N.ROUTER_ERROR}),this.errorNavFilters.compile(R),this.child&&this.child.processError(R)}navigate(R,T){let M=this.router.generateUrl(R);M&&(M=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(M)),this._sendEvent(a,{url:M,replace:T,address:R})}generateUrl(R){const T=this.router.generateUrl(R);return T?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${T}`:null}subscribe(R,T){return this.routeObservable.subscribe({next:R,error:()=>{},complete:()=>{}},Boolean(T))}_sendEvent(R,T){I.hasDocument&&this.target.dispatchEvent(new CustomEvent(R,{bubbles:!0,composed:!0,detail:T}))}_stripUrlForChild(R){return this.pendingRoute&&R.indexOf(this.pendingRoute.pathMatch)===0?R.replace(this.pendingRoute.pathMatch,""):R}}e.registerDecorators(u,{fields:["pendingRoute","committedRoute","contextId","connected","preNavFilters","errorNavFilters","_handleNavigationEvent","_handleParentEvent"]});function _(E,R,T){return new u(E,R,T)}t.DomRouterImpl=u,t.NAV_EVENT=a,t.PARENT_EVENT=s,t.createDomRouter=_,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/historyRouter/v/0_10_11",["exports","lwc/v/3_0_4","lwr/domRouter/v/0_10_11","lwr/domRouterUtils/v/0_10_11","lwr/routerUtils/v/0_10_11"],function(t,e,r,y,v){"use strict";class I extends r.DomRouterImpl{constructor(...d){super(...d);this.historyDisabled=!1}connect(){super.connect(),this.historyDisabled||(v.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){!this.parent&&v.hasDocument&&this.catchBrowserUpdate(y.getRelativeUrl(document.location.href))}disconnect(){super.disconnect(),v.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(d,l,a=!0){const s=await super.process(d);return s&&!this.historyDisabled&&a&&this.connected&&!this.parent&&(l?y.replace(d):y.set(d)),s}catchBrowserUpdate(d){this.process(d,!1,!1)}}e.registerDecorators(I,{fields:["historyDisabled"]});function w(N,d,l){return new I(N,d,l)}t.HistoryRouter=I,t.createHistoryRouter=w,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/routerContainer/v/0_10_11",["exports","lwc/v/3_0_4","lwr/historyRouter/v/0_10_11","lwr/routerErrors/v/0_10_11","lwr/domRouter/v/0_10_11","lwr/routerUtils/v/0_10_11"],function(t,e,r,y,v,I){"use strict";function w(M,L,$){var V=M?"["+M+"]":"";return"span.router-title"+V+" {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 N=[w];const d=e.parseFragment`<span class="router-title${0}" aria-live="polite" aria-atomic="true"${2}></span>`,l={key:0},a=[];function s(M,L,$,V){const{s:m,st:D,f:S}=M;return S([m("",l,a,$),D(d(),2)])}var u=e.registerTemplate(s);s.slots=[""],s.stylesheets=[],s.renderMode="light",N&&s.stylesheets.push.apply(s.stylesheets,N),s.stylesheetToken="lwc-7bis3qj4jjc",s.legacyStylesheetToken="lwr-routerContainer_routerContainer",e.freezeTemplate(s);let _=!1;function E(M,L={},$){const V=L.historyDisabled?new v.DomRouterImpl(L,$,M):new r.HistoryRouter(L,$,M),m={addPreNavigate:D=>(V.addPreNavigate(D),m),addPostNavigate:D=>(V.subscribe(D),m),addErrorNavigate:D=>(V.addErrorNavigate(D),m),connect:()=>{V.connect(),y.invariant(!_||!!V.parent,y.messages.MULTIPLE_ROOTS),_=_||!V.parent,m.id=V.contextId},disconnect:()=>{_=_&&!!V.parent,V.disconnect()}};return m}class R extends e.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=I.hasDocument?document.title:""}connectedCallback(){const L={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};this.router&&(this.routerApi=E(this,L,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(L){const $=this._createEvent("prenavigate",L,!0);return this.dispatchEvent($),!$.defaultPrevented}postNavigate(L){this.dispatchEvent(this._createEvent("postnavigate",L));const $=L.routeDefinition.metadata&&L.routeDefinition.metadata.title;$&&(this.currentTitle=$,document.title=$);const V=this.querySelector("span.router-title");V&&(V.innerHTML=this.currentTitle)}errorNavigate(L){return this.dispatchEvent(this._createEvent("errornavigate",L)),!0}handleNavigation(L,$){const V=this._createEvent("handlenavigation",{address:L,replace:$},!0);return this.dispatchEvent(V),!V.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(L,$,V){return new CustomEvent(L,{detail:$,bubbles:!1,composed:!1,cancelable:V})}}R.renderMode="light",e.registerDecorators(R,{publicProps:{router:{config:0},historyDisabled:{config:0}}});var T=e.registerComponent(R,{tmpl:u,sel:"lwr-router-container",apiVersion:59});t.default=T,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/guestUuidCookieGenerator/v/1_66_441-246_0",["webruntime/utils/v/1_66_441-246_0","@app/guestUuidCookieName/v/1"],function(t,e){"use strict";function r(w){return w&&typeof w=="object"&&"default"in w?w:{default:w}}var y=r(e);const v={guestUuidCookieMaxAge:365*24*60*60},{document:I}=globalThis;if(I&&y.default){let w=t.getCookie(y.default);t.uuidValidate(w)||(w=t.uuidv4()),I.cookie=`${y.default}=${w};Max-Age=${v.guestUuidCookieMaxAge};SameSite=LAX;Path=/`;const N={name:"set-guest-uuid",guestUuid:w};I.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:N}))}}),LWR.define("webruntime/guestUuidCookieGenerator",["exports","webruntime/guestUuidCookieGenerator/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/f6Controller/v/1_66_441-246_0",["exports"],function(t){"use strict";const e=300,{document:r}=globalThis,y={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},v=d=>d&&(d.shadowRoot?d.shadowRoot.activeElement?v(d.shadowRoot.activeElement):d:d.activeElement?v(d.activeElement):d);class I{constructor(l={}){this.regions=[],this.config=y,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=a=>{this.clearRegionHighlights();const{key:s,ctrlKey:u,metaKey:_}=a;s===this.config.navKey&&(u||_)&&(this.populateRegions(),this.handleNavigation(a))},this.elementFilter=a=>a.parentElement&&a.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:a.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(a)&&!this.isEmpty(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),e),this.initialize(l)}debounce(l,a,s){const u=s||{};let _=u.leading,E;return function(){const T=Array.prototype.slice.apply(arguments);_&&(l.apply(this,T),_=!1),clearTimeout(E),E=setTimeout(function(){l.apply(this,T),_=u.leading},a)}}appendStyleElement(){this._styleElement=r.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"),r.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 a=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])');a?a.focus():(l.tabIndex="-1",l.focus())}handleNavigation(l){if(l.preventDefault(),!this.regions.length)return;const a=l.shiftKey,s=this.getElementRegionIndex(v(l.target)),u=this.getNextRegionIndex(s,a);if(u===-1)return;const _=this.regions[u];this.focusIn(_),this.addRegionHighlight(_)}shadowContains(l,a){return l===a||l.contains(a)||l.shadowRoot&&this.isElementInContainerElements(l.shadowRoot.children,a)||l.tagName==="SLOT"&&this.isElementInContainerElements(l.assignedElements(),a)?!0:this.isElementInContainerElements(l.children,a)}isElementInContainerElements(l,a){if(!l||!l.length)return!1;const s=l.length;for(let u=0;u<s;u++)if(this.shadowContains(l[u],a))return!0;return!1}getElementRegionIndex(l){return!this.regions||!this.regions.length?-1:this.regions.findIndex(a=>this.shadowContains(a,l))}getNextRegionIndex(l,a){const s=this.regions.length-1;return s<0?-1:a?l<=0?s:l-1:l===s?0:l+1}isVisible(l){if(l===r.body||!(l instanceof Element))return!0;try{const a=window.getComputedStyle(l)||l.style;if(!a)return!1;const{display:s,visibility:u}=a;return s&&s.toLowerCase()==="none"||u&&u.toLowerCase()==="hidden"?!1:this.isVisible(l.parentNode)}catch(a){return!1}}isEmpty(l){if(l.tagName==="SLOT"&&!this.isEmptyChildren(l.assignedElements()))return!1;let a=l.children;return(!a||!a.length)&&l.shadowRoot&&(a=l.shadowRoot.children),this.isEmptyChildren(a)}isEmptyChildren(l){if(!l||!l.length)return!0;const a=l.length;for(let s=0;s<a;s++){const u=l[s];if(u.tagName!=="SLOT"||!this.isEmpty(u))return!1}return!0}populateRegions(){if(!r)return;this.regions=[];const l=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT,this.elementFilter,!1);for(;l.nextNode();)this.regions.push(l.currentNode)}initialize(l={}){!r||(r.addEventListener("keydown",this._debounceKeyDownHandler),this.regions=[],this.config={...this.config,...l},this.appendStyleElement())}cleanUp(){!r||(r.removeEventListener("keydown",this._debounceKeyDownHandler),this._regions=[],this._config=y,this._debounceKeyDownHandler=null,this._styleElement&&(r.head.removeChild(this._styleElement),this._styleElement=null))}getConfig(){return Object.freeze(this.config)}}let w;const N=d=>(w||(w=new I(d)),w);t.DEFAULT_CONFIG=y,t.F6Controller=I,t.createF6Controller=N,t.getActiveElem=v,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/defaultView/v/1_66_441-246_0",["exports","lwc/v/3_0_4"],function(t,e){"use strict";const r=[];function y(w,N,d,l){return r}var v=e.registerTemplate(y);y.stylesheets=[],y.renderMode="light",y.stylesheetToken="lwc-15jgd3dq0rl",y.legacyStylesheetToken="webruntime-defaultView_defaultView",e.freezeTemplate(y);var I={html:v,attributes(){}};t.default=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_441-246_0",["exports","lwr/loaderLegacy/v/0_10_11","@app/isDesignMode/v/1"],function(t,e,r){"use strict";function y(w){return w&&typeof w=="object"&&"default"in w?w:{default:w}}var v=y(r);async function I(){if(!v.default)return;const{start:w}=await e.load("webruntimedesign/designmode/v/1");/interactive|complete/.test(document.readyState)?w():document.addEventListener("DOMContentLoaded",w,!1)}t.designmodeInit=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/mobileUtils/v/1_66_441-246_0",["exports","@app/isMobileAppMode/v/1","@communities-webruntime/common/v/1_66_441-246_0"],function(t,e,r){"use strict";function y(w){return w&&typeof w=="object"&&"default"in w?w:{default:w}}var v=y(e);function I(){const w=globalThis.navigator?.userAgent;return w&&(v.default&&w.includes(r.MOBILE_APP_USER_AGENTS.PUBLISHER)||w.includes(r.MOBILE_APP_USER_AGENTS.PLAYGROUND))}t.isMobileApp=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/mobileUtils",["exports","webruntime/mobileUtils/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/mobileModuleInit/v/1_66_441-246_0",["exports","lwr/loaderLegacy/v/0_10_11","webruntime/mobileUtils/v/1_66_441-246_0","webruntime/routingService/v/1","webruntime/logger/v/1_66_441-246_0"],function(t,e,r,y,v){"use strict";function I(){w(),y.subscribe(N)}function w(){document.addEventListener("notify-client-module",d)}function N(s){l("navigationcompleted",{routeResult:s})}function d({detail:s}){const{action:u,data:_}=s;switch(u){case"navigate":y.navigate(_.routeObj,_.replaceState);break;default:v.log(`No such action "${u}" exists.`);break}}function l(s,u){document.dispatchEvent(new CustomEvent("notify-mobile-module",{bubbles:!0,composed:!0,detail:{action:s,data:u}}))}async function a(){if(!r.isMobileApp())return;const{hybridAppManager:s}=await e.load("mobileruntime/hybridAppManager/v/1");s(),I()}t.mobileModuleInit=a,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/mobileModuleInit",["exports","webruntime/mobileModuleInit/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/utils/v/1_66_441-246_0",["exports"],function(t){"use strict";function e(d,l){if(!d)throw new Error(l)}function r(d){return typeof d=="object"&&d!==null&&!Array.isArray(d)}function y(d){return typeof document!="undefined"&&document?.cookie.split(";").map(l=>l.trim().split("=")).filter(([l])=>l===d).map(([,l])=>l)[0]}function v(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,d=>(d^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>d/4).toString(16))}function I(d){return typeof d=="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(d)}const w=new RegExp("^([a-z]+://|//)","i");function N(d){return d?w.test(d):!1}t.assert=e,t.getCookie=y,t.isAbsoluteURL=N,t.isObject=r,t.uuidValidate=I,t.uuidv4=v,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/logger/v/1_66_441-246_0",["exports"],function(t){"use strict";function e(...y){console.log(...y)}function r(...y){console.error(...y)}t.log=e,t.logError=r,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/errors/v/1_66_441-246_0",["exports","webruntime/logger/v/1_66_441-246_0","@communities-webruntime/common/v/1_66_441-246_0","webruntime/transport/v/1"],function(t,e,r,y){"use strict";function v(N){y.sendBeacon({path:r.ERRORS_PATH_PREFIX,payload:JSON.stringify(N),contentType:"text/plain;charset=UTF-8"})}function I(N,d){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:N,type:d}}))}function w({subject:N,error:d,wcstack:l,type:a=r.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){l=l||d.wcstack;const{message:s,stack:u}=d,{hostname:_,pathname:E}=globalThis.location||{},T={subject:N,message:s,stack:u,wcstack:l,location:{hostname:_,pathname:E}};e.logError(u||T),typeof document!="undefined"&&(I(T,a),v(T))}t.reportError=w,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/globalErrorHandler/v/1_66_441-246_0",["@communities-webruntime/common/v/1_66_441-246_0","@app/basePath/v/1"],function(t,e){"use strict";function r(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var y=r(e);const{window:v}=globalThis;function I(d){const l=y.default+t.ERRORS_PATH_PREFIX,a=JSON.stringify(d);if(!(v&&v.navigator&&v.navigator.sendBeacon&&v.navigator.sendBeacon(l,a))){const u=new XMLHttpRequest;u.open("POST",l,!0),u.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),u.send(a)}}function w(d,l){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:d,type:l}}))}function N({subject:d,error:l={},extra:a,type:s=t.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){let u,_,E;l?(u=l.message,_=l.stack,E=l.wcstack):a&&(u=a.message);const{pathname:R,hostname:T}=v.location,L={subject:d,message:u,stack:_,wcstack:E,extra:a,location:{pathname:R,hostname:T}};w(L,s),I(L)}v?.addEventListener("error",(d={})=>{const{message:l,filename:a,lineno:s,colno:u,error:_}=d;N({subject:"window error",error:_,extra:{message:l,filename:a,lineno:s,colno:u}})}),v?.addEventListener("unhandledrejection",(d={})=>{const{reason:l={}}=d;N({subject:"unhandledrejection",error:l})})}),LWR.define("webruntime/globalErrorHandler",["exports","webruntime/globalErrorHandler/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/innerApp/v/1_66_441-246_0",["exports","lwc/v/3_0_4","webruntime/globalErrorHandler/v/1_66_441-246_0","@communities-webruntime/common/v/1_66_441-246_0","webruntime/overrides/v/1","webruntime/errors/v/1_66_441-246_0","webruntime/utils/v/1_66_441-246_0","webruntime/views/v/1","webruntime/routingService/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/mobileModuleInit/v/1_66_441-246_0","webruntime/designmodeInit/v/1_66_441-246_0","webruntime/defaultView/v/1_66_441-246_0","webruntime/f6Controller/v/1_66_441-246_0","webruntime/guestUuidCookieGenerator/v/1_66_441-246_0"],function(t,e,r,y,v,I,w,N,d,l,a,s,u,_,E){"use strict";function R(D){return D&&typeof D=="object"&&"default"in D?D:{default:D}}var T=R(N),M=R(l),L=R(u),$=void 0;class V extends e.LightningElement{constructor(...S){super(...S);this.view=void 0,this.routerContainerView=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.attributes={},this.previousRouteId=null,this.route={},this.isInitialized=void 0}get routeParams(){return this._routeParams||{}}set routeParams(S){this._routeParams=S}async connectedCallback(){const S=this.view||L.default;this.generatedTemplateHtml=S.html,this.attributes=S.attributes(this,this.routeParams)||{},await s.designmodeInit(),await a.mobileModuleInit(),this.subscription=d.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}renderedCallback(){this.isInitialized||(this.isInitialized=!0,window.performance.measure(`${y.WEBRUNTIME_PREFIX}-app-bootstrap`),_.createF6Controller())}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(S){this.generatedTemplateHtml=S.html}updateRoute(S,H){d.handleExtraRouteParams(H);const{state:G,attributes:ge}=H;this.previousRouteId=this.route?.id||null,this._routeParams={...G,...ge},this.attributes=S.attributes(this,this.routeParams)||{},this.route=H}restoreDefaultTemplate(){this.generatedTemplateHtml=L.default.html}async loadThemeLayout(S){let H=!1;const G=S.routeDefinition.view,ge=M.default[G];setTimeout(async()=>{!H&&this.themeLayout!==ge&&this.restoreDefaultTemplate()},10);let k;try{k=await T.default(ge)}catch(pe){await this.handleFetchViewFailed(pe,S.routeDefinition.metadata?.isPublic)}if(!!k)try{H=!0,window?.scrollTo(0,0),this.themeLayout!==ge&&(this.themeLayout=ge,this.updateTemplate(k.default)),this.updateRoute(k.default,S.route)}catch(pe){I.reportError({subject:"InnerApp.loadThemeLayout error",type:y.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:pe})}}async handleFetchViewFailed(S,H){await v.PageNavigationFailureOverrides.run({error:S,isPublic:H})&&I.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:y.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:S})}}V.renderMode="light",e.registerDecorators(V,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route","isInitialized"]});var m=e.registerComponent(V,{tmpl:$,sel:"webruntime-inner-app",apiVersion:59});t.default=m,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lightning/purifyLib/v/1_17_7-alpha",["exports","lwc/v/3_0_4"],function(t,e){"use strict";var r=void 0;function y(Q){if(Array.isArray(Q)){for(var c=0,b=Array(Q.length);c<Q.length;c++)b[c]=Q[c];return b}else return Array.from(Q)}var v=Object.hasOwnProperty,I=Object.setPrototypeOf,w=Object.isFrozen,N=Object.getPrototypeOf,d=Object.getOwnPropertyDescriptor,l=Object.freeze,a=Object.seal,s=Object.create,u=typeof Reflect!="undefined"&&Reflect,_=u.apply,E=u.construct;_||(_=function(c,b,g){return c.apply(b,g)}),l||(l=function(c){return c}),a||(a=function(c){return c}),E||(E=function(c,b){return new(Function.prototype.bind.apply(c,[null].concat(y(b))))});var R=G(Array.prototype.forEach),T=G(Array.prototype.pop),M=G(Array.prototype.push),L=G(String.prototype.toLowerCase),$=G(String.prototype.match),V=G(String.prototype.replace),m=G(String.prototype.indexOf),D=G(String.prototype.trim),S=G(RegExp.prototype.test),H=ge(TypeError);function G(Q){return function(c){for(var b=arguments.length,g=Array(b>1?b-1:0),A=1;A<b;A++)g[A-1]=arguments[A];return _(Q,c,g)}}function ge(Q){return function(){for(var c=arguments.length,b=Array(c),g=0;g<c;g++)b[g]=arguments[g];return E(Q,b)}}function k(Q,c){I&&I(Q,null);for(var b=c.length;b--;){var g=c[b];if(typeof g=="string"){var A=L(g);A!==g&&(w(c)||(c[b]=A),g=A)}Q[g]=!0}return Q}function pe(Q){var c=s(null),b=void 0;for(b in Q)_(v,Q,[b])&&(c[b]=Q[b]);return c}function Ee(Q,c){for(;Q!==null;){var b=d(Q,c);if(b){if(b.get)return G(b.get);if(typeof b.value=="function")return G(b.value)}Q=N(Q)}return null}var Ie=l(["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"]),ue=l(["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"]),oe=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Pe=l(["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"]),_e=l(["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"]),ke=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),te=l(["#text"]),re=l(["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"]),Ce=l(["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"]),Se=l(["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"]),Ne=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Fe=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Oe=a(/<%[\s\S]*|[\s\S]*%>/gm),De=a(/^data-[\-\w.\u00B7-\uFFFF]/),Ve=a(/^aria-[\-\w]+$/),Je=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nt=a(/^(?:\w+script|data):/i),it=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Q){return typeof Q}:function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q};function je(Q){if(Array.isArray(Q)){for(var c=0,b=Array(Q.length);c<Q.length;c++)b[c]=Q[c];return b}else return Array.from(Q)}var at=function(){return typeof window=="undefined"?null:window},ot=function(c,b){if((typeof c=="undefined"?"undefined":ze(c))!=="object"||typeof c.createPolicy!="function")return null;var g=null,A="data-tt-policy-suffix";b.currentScript&&b.currentScript.hasAttribute(A)&&(g=b.currentScript.getAttribute(A));var W="dompurify"+(g?"#"+g:"");try{return c.createPolicy(W,{createHTML:function(U){return U}})}catch(F){return console.warn("TrustedTypes policy "+W+" could not be created."),null}};function Ze(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:at(),c=function(O){return Ze(O)};if(c.version="2.2.6",c.removed=[],!Q||!Q.document||Q.document.nodeType!==9)return c.isSupported=!1,c;var b=Q.document,g=Q.document,A=Q.DocumentFragment,W=Q.HTMLTemplateElement,F=Q.Node,U=Q.Element,ne=Q.NodeFilter,Y=Q.NamedNodeMap,x=Y===void 0?Q.NamedNodeMap||Q.MozNamedAttrMap:Y,J=Q.Text,me=Q.Comment,ve=Q.DOMParser,Re=Q.trustedTypes,ye=U.prototype,Ae=Ee(ye,"cloneNode"),Te=Ee(ye,"nextSibling"),xe=Ee(ye,"childNodes"),P=Ee(ye,"parentNode");if(typeof W=="function"){var q=g.createElement("template");q.content&&q.content.ownerDocument&&(g=q.content.ownerDocument)}var ae=ot(Re,b),se=ae&&Be?ae.createHTML(""):"",Le=g,et=Le.implementation,tt=Le.createNodeIterator,Qe=Le.getElementsByTagName,p=Le.createDocumentFragment,j=b.importNode,X={};try{X=pe(g).documentMode?g.documentMode:{}}catch(he){}var Z={};c.isSupported=et&&typeof et.createHTMLDocument!="undefined"&&X!==9;var le=Fe,be=Oe,Ge=De,We=Ve,ct=nt,rt=it,ft=Je,Ue=null,Ke=k({},[].concat(je(Ie),je(ue),je(oe),je(_e),je(te))),z=null,n=k({},[].concat(je(re),je(Ce),je(Se),je(Ne))),i=null,o=null,f=!0,h=!0,C=!1,B=!1,ie=!1,ee=!1,de=!1,fe=!1,we=!1,$e=!0,Be=!1,gt=!0,Et=!0,yt=!1,pt={},Ft=k({},["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"]),At=null,It=k({},["audio","video","img","source","image","track"]),wt=null,Nt=k({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),mt=null,Vt=g.createElement("form"),Rt=function(O){mt&&mt===O||((!O||(typeof O=="undefined"?"undefined":ze(O))!=="object")&&(O={}),O=pe(O),Ue="ALLOWED_TAGS"in O?k({},O.ALLOWED_TAGS):Ke,z="ALLOWED_ATTR"in O?k({},O.ALLOWED_ATTR):n,wt="ADD_URI_SAFE_ATTR"in O?k(pe(Nt),O.ADD_URI_SAFE_ATTR):Nt,At="ADD_DATA_URI_TAGS"in O?k(pe(It),O.ADD_DATA_URI_TAGS):It,i="FORBID_TAGS"in O?k({},O.FORBID_TAGS):{},o="FORBID_ATTR"in O?k({},O.FORBID_ATTR):{},pt="USE_PROFILES"in O?O.USE_PROFILES:!1,f=O.ALLOW_ARIA_ATTR!==!1,h=O.ALLOW_DATA_ATTR!==!1,C=O.ALLOW_UNKNOWN_PROTOCOLS||!1,B=O.SAFE_FOR_TEMPLATES||!1,ie=O.WHOLE_DOCUMENT||!1,fe=O.RETURN_DOM||!1,we=O.RETURN_DOM_FRAGMENT||!1,$e=O.RETURN_DOM_IMPORT!==!1,Be=O.RETURN_TRUSTED_TYPE||!1,de=O.FORCE_BODY||!1,gt=O.SANITIZE_DOM!==!1,Et=O.KEEP_CONTENT!==!1,yt=O.IN_PLACE||!1,ft=O.ALLOWED_URI_REGEXP||ft,B&&(h=!1),we&&(fe=!0),pt&&(Ue=k({},[].concat(je(te))),z=[],pt.html===!0&&(k(Ue,Ie),k(z,re)),pt.svg===!0&&(k(Ue,ue),k(z,Ce),k(z,Ne)),pt.svgFilters===!0&&(k(Ue,oe),k(z,Ce),k(z,Ne)),pt.mathMl===!0&&(k(Ue,_e),k(z,Se),k(z,Ne))),O.ADD_TAGS&&(Ue===Ke&&(Ue=pe(Ue)),k(Ue,O.ADD_TAGS)),O.ADD_ATTR&&(z===n&&(z=pe(z)),k(z,O.ADD_ATTR)),O.ADD_URI_SAFE_ATTR&&k(wt,O.ADD_URI_SAFE_ATTR),Et&&(Ue["#text"]=!0),ie&&k(Ue,["html","head","body"]),Ue.table&&(k(Ue,["tbody"]),delete i.tbody),l&&l(O),mt=O)},St=k({},["mi","mo","mn","ms","mtext"]),Lt=k({},["foreignobject","desc","title","annotation-xml"]),_t=k({},ue);k(_t,oe),k(_t,Pe);var Ct=k({},_e);k(Ct,ke);var Ot="http://www.w3.org/1998/Math/MathML",Tt="http://www.w3.org/2000/svg",Pt="http://www.w3.org/1999/xhtml",Ht=function(O){var K=P(O);(!K||!K.tagName)&&(K={namespaceURI:Pt,tagName:"template"});var ce=L(O.tagName),Me=L(K.tagName);if(O.namespaceURI===Tt)return K.namespaceURI===Pt?ce==="svg":K.namespaceURI===Ot?ce==="svg"&&(Me==="annotation-xml"||St[Me]):Boolean(_t[ce]);if(O.namespaceURI===Ot)return K.namespaceURI===Pt?ce==="math":K.namespaceURI===Tt?ce==="math"&&Lt[Me]:Boolean(Ct[ce]);if(O.namespaceURI===Pt){if(K.namespaceURI===Tt&&!Lt[Me]||K.namespaceURI===Ot&&!St[Me])return!1;var qe=k({},["title","style","font","a","script"]);return!Ct[ce]&&(qe[ce]||!_t[ce])}return!1},ht=function(O){M(c.removed,{element:O});try{O.parentNode.removeChild(O)}catch(K){try{O.outerHTML=se}catch(ce){O.remove()}}},Mt=function(O,K){try{M(c.removed,{attribute:K.getAttributeNode(O),from:K})}catch(ce){M(c.removed,{attribute:null,from:K})}K.removeAttribute(O)},Dt=function(O){var K=void 0,ce=void 0;if(de)O="<remove></remove>"+O;else{var Me=$(O,/^[\r\n\t ]+/);ce=Me&&Me[0]}var qe=ae?ae.createHTML(O):O;try{K=new ve().parseFromString(qe,"text/html")}catch(lt){}if(!K||!K.documentElement){K=et.createHTMLDocument("");var Ye=K,He=Ye.body;He.parentNode.removeChild(He.parentNode.firstElementChild),He.outerHTML=qe}return O&&ce&&K.body.insertBefore(g.createTextNode(ce),K.body.childNodes[0]||null),Qe.call(K,ie?"html":"body")[0]},jt=function(O){return tt.call(O.ownerDocument||O,O,ne.SHOW_ELEMENT|ne.SHOW_COMMENT|ne.SHOW_TEXT,function(){return ne.FILTER_ACCEPT},!1)},Gt=function(O){return O instanceof J||O instanceof me?!1:typeof O.nodeName!="string"||typeof O.textContent!="string"||typeof O.removeChild!="function"||!(O.attributes instanceof x)||typeof O.removeAttribute!="function"||typeof O.setAttribute!="function"||typeof O.namespaceURI!="string"||typeof O.insertBefore!="function"},bt=function(O){return(typeof F=="undefined"?"undefined":ze(F))==="object"?O instanceof F:O&&(typeof O=="undefined"?"undefined":ze(O))==="object"&&typeof O.nodeType=="number"&&typeof O.nodeName=="string"},dt=function(O,K,ce){!Z[O]||R(Z[O],function(Me){Me.call(c,K,ce,mt)})},kt=function(O){var K=void 0;if(dt("beforeSanitizeElements",O,null),Gt(O)||$(O.nodeName,/[\u0080-\uFFFF]/))return ht(O),!0;var ce=L(O.nodeName);if(dt("uponSanitizeElement",O,{tagName:ce,allowedTags:Ue}),!bt(O.firstElementChild)&&(!bt(O.content)||!bt(O.content.firstElementChild))&&S(/<[/\w]/g,O.innerHTML)&&S(/<[/\w]/g,O.textContent))return ht(O),!0;if(!Ue[ce]||i[ce]){if(Et&&!Ft[ce])for(var Me=P(O),qe=xe(O),Ye=qe.length,He=Ye-1;He>=0;--He)Me.insertBefore(Ae(qe[He],!0),Te(O));return ht(O),!0}return O instanceof U&&!Ht(O)||(ce==="noscript"||ce==="noembed")&&S(/<\/no(script|embed)/i,O.innerHTML)?(ht(O),!0):(B&&O.nodeType===3&&(K=O.textContent,K=V(K,le," "),K=V(K,be," "),O.textContent!==K&&(M(c.removed,{element:O.cloneNode()}),O.textContent=K)),dt("afterSanitizeElements",O,null),!1)},Ut=function(O,K,ce){if(gt&&(K==="id"||K==="name")&&(ce in g||ce in Vt))return!1;if(!(h&&S(Ge,K))){if(!(f&&S(We,K))){if(!z[K]||o[K])return!1;if(!wt[K]){if(!S(ft,V(ce,rt,""))){if(!((K==="src"||K==="xlink:href"||K==="href")&&O!=="script"&&m(ce,"data:")===0&&At[O])){if(!(C&&!S(ct,V(ce,rt,"")))){if(ce)return!1}}}}}}return!0},xt=function(O){var K=void 0,ce=void 0,Me=void 0,qe=void 0;dt("beforeSanitizeAttributes",O,null);var Ye=O.attributes;if(!!Ye){var He={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z};for(qe=Ye.length;qe--;){K=Ye[qe];var lt=K,vt=lt.name,$t=lt.namespaceURI;if(ce=D(K.value),Me=L(vt),He.attrName=Me,He.attrValue=ce,He.keepAttr=!0,He.forceKeepAttr=void 0,dt("uponSanitizeAttribute",O,He),ce=He.attrValue,!He.forceKeepAttr&&(Mt(vt,O),!!He.keepAttr)){if(S(/\/>/i,ce)){Mt(vt,O);continue}B&&(ce=V(ce,le," "),ce=V(ce,be," "));var Bt=O.nodeName.toLowerCase();if(!!Ut(Bt,Me,ce))try{$t?O.setAttributeNS($t,vt,ce):O.setAttribute(vt,ce),T(c.removed)}catch(qt){}}}dt("afterSanitizeAttributes",O,null)}},Wt=function he(O){var K=void 0,ce=jt(O);for(dt("beforeSanitizeShadowDOM",O,null);K=ce.nextNode();)dt("uponSanitizeShadowNode",K,null),!kt(K)&&(K.content instanceof A&&he(K.content),xt(K));dt("afterSanitizeShadowDOM",O,null)};return c.sanitize=function(he,O){var K=void 0,ce=void 0,Me=void 0,qe=void 0,Ye=void 0;if(he||(he="<!-->"),typeof he!="string"&&!bt(he)){if(typeof he.toString!="function")throw H("toString is not a function");if(he=he.toString(),typeof he!="string")throw H("dirty is not a string, aborting")}if(!c.isSupported){if(ze(Q.toStaticHTML)==="object"||typeof Q.toStaticHTML=="function"){if(typeof he=="string")return Q.toStaticHTML(he);if(bt(he))return Q.toStaticHTML(he.outerHTML)}return he}if(ee||Rt(O),c.removed=[],typeof he=="string"&&(yt=!1),!yt)if(he instanceof F)K=Dt("<!---->"),ce=K.ownerDocument.importNode(he,!0),ce.nodeType===1&&ce.nodeName==="BODY"||ce.nodeName==="HTML"?K=ce:K.appendChild(ce);else{if(!fe&&!B&&!ie&&he.indexOf("<")===-1)return ae&&Be?ae.createHTML(he):he;if(K=Dt(he),!K)return fe?null:se}K&&de&&ht(K.firstChild);for(var He=jt(yt?he:K);Me=He.nextNode();)Me.nodeType===3&&Me===qe||kt(Me)||(Me.content instanceof A&&Wt(Me.content),xt(Me),qe=Me);if(qe=null,yt)return he;if(fe){if(we)for(Ye=p.call(K.ownerDocument);K.firstChild;)Ye.appendChild(K.firstChild);else Ye=K;return $e&&(Ye=j.call(b,Ye,!0)),Ye}var lt=ie?K.outerHTML:K.innerHTML;return B&&(lt=V(lt,le," "),lt=V(lt,be," ")),ae&&Be?ae.createHTML(lt):lt},c.setConfig=function(he){Rt(he),ee=!0},c.clearConfig=function(){mt=null,ee=!1},c.isValidAttribute=function(he,O,K){mt||Rt({});var ce=L(he),Me=L(O);return Ut(ce,Me,K)},c.addHook=function(he,O){typeof O=="function"&&(Z[he]=Z[he]||[],M(Z[he],O))},c.removeHook=function(he){Z[he]&&T(Z[he])},c.removeHooks=function(he){Z[he]&&(Z[he]=[])},c.removeAllHooks=function(){Z={}},c}var Xe=Ze(),st=e.registerComponent(Xe,{tmpl:r,sel:"lightning-purify-lib",apiVersion:59});function ut(Q,c){return st.sanitize(Q,c)}t.default=ut,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_17_7-alpha"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("experience/dataLayerObject/v/246_50_0",["exports","lwc/v/3_0_4","lightning/purifyLib/v/1_17_7-alpha"],function(t,e,r){"use strict";function y(R){return R&&typeof R=="object"&&"default"in R?R:{default:R}}var v=y(r);const I={hidden:""},w={lwc:{dom:"manual"}};function N(R,T,M,L){const{shc:$,h:V}=R;return[V("div",{attrs:I,props:{innerHTML:L._rawHtml$0!==(L._rawHtml$0=T.scriptElement)?L._sanitizedHtml$0=$(T.scriptElement):L._sanitizedHtml$0},context:w,key:0})]}var d=e.registerTemplate(N);N.stylesheets=[],N.renderMode="light",N.stylesheetToken="lwc-64pqse1e4gn",N.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",e.freezeTemplate(N);const s=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function u(R){return typeof window=="undefined"?"{}":v.default(R,s)}class _ extends e.LightningElement{constructor(...T){super(...T);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(T){this._scriptDataAttributes=T}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(T){this._catalogObjectId=T}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(T){this._catalogObjectType=T}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(T){this._catalogObjectAttributes=T}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(T){this._relatedCatalogObjects=T}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(T){this._customObject=T}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}>${u(this.scriptElementContent())}</script>`:""}scriptElementContent(){const T=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(T)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}_.renderMode="light",e.registerDecorators(_,{publicProps:{scriptDataAttributes:{config:3},catalogObjectId:{config:3},catalogObjectType:{config:3},catalogObjectAttributes:{config:3},relatedCatalogObjects:{config:3},customObject:{config:3},scriptElement:{config:1}},fields:["_scriptDataAttributes","_catalogObjectId","_catalogObjectType","_catalogObjectAttributes","_relatedCatalogObjects","_customObject"]});var E=e.registerComponent(_,{tmpl:d,sel:"experience-data-layer-object",apiVersion:59});t.default=E,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/246_50_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/app/v/1",["exports","lwc/v/3_0_4","experience/dataLayerObject/v/246_50_0","webruntime/innerApp/v/1_66_441-246_0","lwr/routerContainer/v/0_10_11","@salesforce/site/Id/v/1","webruntime/routingService/v/1","@app/uiBasePath/v/1","webruntime/errors/v/1_66_441-246_0","webruntime/mobileUtils/v/1_66_441-246_0","webruntime/utils/v/1_66_441-246_0","webruntime/analyticsEvents/v/1_66_441-246_0"],function(t,e,r,y,v,I,w,N,d,l,a,s){"use strict";function u(D){return D&&typeof D=="object"&&"default"in D?D:{default:D}}var _=u(r),E=u(y),R=u(v),T=u(I),M=u(N);function L(D,S,H,G){const{c:ge,b:k}=D,{_m0:pe}=G;return[ge("lwr-router-container",R.default,{props:{router:S.router},key:0},[ge("experience-data-layer-object",_.default,{props:{scriptDataAttributes:S.siteDataForDataLayer.scriptDataAttributes,customObject:S.siteDataForDataLayer.customObject},key:1}),ge("experience-data-layer-object",_.default,{props:{scriptDataAttributes:S.pageDataForDataLayer.scriptDataAttributes,customObject:S.pageDataForDataLayer.customObject},key:2}),ge("webruntime-inner-app",E.default,{props:{view:S.view,routerContainerView:S.routerContainerView,routeParams:S.routeParams},key:3,on:{viewchange:pe||(G._m0=k(S.handleViewChanged))}})])]}var $=e.registerTemplate(L);L.stylesheets=[],L.renderMode="light",L.stylesheetToken="lwc-ag6063mqi2",L.legacyStylesheetToken="webruntime-app_app",e.freezeTemplate(L),e.setHooks({sanitizeHtmlContent(D){return D}});class V extends e.LightningElement{constructor(S,H){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=w.router,this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new s.ScrollToBottomEvent,this.view=S,this.routerContainerView=H,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:T.default}}}renderedCallback(){if(this.isInitialized)return;const S=this.querySelector("lwr-router-container");w.initializeRouterContainer(S),window?.addEventListener("click",this.handleClick),this.isInitialized=!0}errorCallback(S,H){d.reportError({subject:"app level error",error:S,wcstack:H})}disconnectedCallback(){window?.removeEventListener("click",this.handleClick),this.scrollToBottomEvent.removeListener(),this.isInitialized=!1}render(){return $}handleClick(S){const H=S.composedPath().find(Pe=>Pe.tagName==="A");if(!H||S.defaultPrevented||l.isMobileApp())return;let G=H.getAttribute("href");if(!G||G.includes("#"))return;const ge=new URL(G,window.location.href),k=ge?.protocol==="http:"||ge?.protocol==="https:",pe=a.isAbsoluteURL(G);pe||G.startsWith("/")?M.default.endsWith("/s")&&G.startsWith(M.default)&&(G=G.replace("/s/","/")):G=window.location.pathname+G;const Ee=pe||Boolean(w.router.matchRoute(G)),Ie=H.getAttribute("target"),ue=!Ie&&!pe||Ie==="_self"||Ie===window.name||Ie==="_top"&&window.top===window||Ie==="_parent"&&window.parent===window;k&&Ee&&ue^pe&&(S.preventDefault(),w.navigate({type:"standard__webPage",attributes:{url:G}}))}handleViewChanged(S){const H=S.detail?.route?.attributes?.recordId;let G={type:S.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:document.referrer};H&&(G={...G,recordId:H}),this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:G},this.scrollToBottomEvent.addListener()}}V.renderMode="light",e.registerDecorators(V,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router","pageDataForDataLayer","scrollToBottomEvent"]});var m=e.registerComponent(V,{tmpl:$,sel:"webruntime-app",apiVersion:59});t.default=m,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/assert/v/1_66_441-246_0",["exports","webruntime/utils/v/1_66_441-246_0"],function(t,e){"use strict";Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("aura-instrumentation/v/1",["exports","webruntime/logger/v/1_66_441-246_0","@communities-webruntime/common/v/1_66_441-246_0","webruntime/assert/v/1_66_441-246_0"],function(t,e,r,y){"use strict";function v(ue){return ue&&typeof ue=="object"&&"default"in ue?ue:{default:ue}}var I=v(y);function w(ue,oe){return`${r.WEBRUNTIME_PREFIX}-${[ue,oe].filter(Boolean).join(":")}`}const{performance:N}=globalThis;function d(ue){const oe=JSON.stringify(ue);return oe&&JSON.parse(oe)}function l(ue,oe,Pe){const _e=w(ue,oe);N.mark(_e,{detail:{ctx:d(Pe)}})}function a(ue,oe,Pe){l(ue,oe,Pe)}function s(ue,oe,Pe){l(ue,oe,Pe)}function u(ue,oe,Pe){const _e=w(ue,oe);try{N.measure(_e,{detail:{ctx:d(Pe)},start:_e})}catch(ke){e.logError(`[instrumentation] no startMark named ${_e} found`,ke.stack)}}function _(){return Date.now()}function E(ue,oe,Pe){}function R(ue,oe,Pe){}function T(ue,oe,Pe,_e,ke){}function M(ue){}function L(ue,oe){}function $(ue){return{logHits(oe){},logMisses(oe){},unRegister(){}}}function V(ue,oe,Pe){}function m(ue){}function D(ue){}function S(ue){}function H(ue,oe,Pe){}function G(ue){return{increment(oe){},decrement(oe){},getValue(){return 0},reset(){}}}function ge(ue){return{setValue(oe){},getValue(){return 0},reset(){}}}function k(ue){return{update(oe){},getValue(){return[]},reset(){}}}function pe(ue){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class Ee{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(oe){if(!this._registry[oe])throw new Error(`eventName ${oe} isn't valid`)}register(oe,Pe,_e){return I.default(oe&&typeof oe=="string","eventName must be a valid string"),this._checkEventName(oe),I.default(Pe&&typeof Pe=="string","listenerName must be a valid string"),I.default(typeof _e=="function","callback must be provided"),this._registry[oe].push({name:Pe,func:_e})}unregister(oe,Pe){this._checkEventName(oe);const _e=Pe-1;I.default(this._registry[oe][_e],`No listener found for ${oe} with registration ID ${Pe}`),delete this._registry[oe][_e]}notify(oe,Pe){this._checkEventName(oe),this._registry[oe].forEach(_e=>_e.func(Pe))}}const Ie=new Ee;t.counter=G,t.disablePlugin=S,t.enablePlugin=D,t.error=V,t.gauge=ge,t.interaction=T,t.mark=a,t.markEnd=u,t.markStart=s,t.notifications=Ie,t.percentileHistogram=k,t.perfEnd=R,t.perfStart=E,t.registerCacheStats=$,t.registerPeriodicLogger=L,t.registerPlugin=M,t.removePeriodicLogger=m,t.time=_,t.timer=pe,t.trackScenario=H,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("aura-storage/v/1",["exports"],function(t){"use strict";var e={};t.default=e,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_441-246_0",["exports"],function(t){"use strict";const e="/services/data/v59.0",r={"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"},"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.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"},"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"},"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.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.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.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.createManagedContentExportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/export",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.createManagedContentImportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/import",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.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.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.searchManagedContentForItems":{urlPath:e+"/connect/cms/items/search",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentSpaces":{urlPath:e+"/connect/cms/spaces",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentSpaceFolderItems":{urlPath:e+"/connect/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"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.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.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"},"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.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.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.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.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.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:"QUERY_INPUT_PARAMETER",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.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"},"NetworkDataCategoryController.getArticlesForCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/knowledge-article",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItemsForCommunity":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItems":{urlPath:e+"/connect/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["networkDataCategoryId"],method:"GET"},"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"},"DataCategoryController.getCategoryGroups":{urlPath:e+"/connect/data-category/category-group",urlPathParamNames:[],method:"GET"},"TableauEmbeddingController.postJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],inputRepresentation:"tableauJwtArgs",method:"POST"},"TableauEmbeddingController.getJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"GET"},"TableauEmbeddingController.getEAS":{urlPath:e+"/tableau/eas",urlPathParamNames:[],method:"GET"}};function y(v){return r[v]}t.getResourceReferenceFromAuraMethod=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/apiCall/v/1_66_441-246_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_441-246_0","webruntime/transport/v/1","webruntime/errors/v/1_66_441-246_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1","@communities-webruntime/common/v/1_66_441-246_0"],function(t,e,r,y,v,I,w){"use strict";function N(M){return M&&typeof M=="object"&&"default"in M?M:{default:M}}var d=N(v);async function l(M,L){const[$,V]=M.split(".");if($==="ApexActionController")return s(V,L);const m=e.getResourceReferenceFromAuraMethod(M);if(m)return a(m,L);throw new Error(`Unsupported controller action: ${$}.${V}`)}async function a({urlPath:M,urlPathParamNames:L,method:$,inputRepresentation:V},m){const D=m&&{...m}||{};let S=L.reduce((k,pe)=>{const Ee=D[pe];return delete D[pe],k.replace(`\${${pe}}`,encodeURIComponent(Ee))},M),H;($==="POST"||$==="PATCH"||$==="PUT")&&D[V]&&(H=JSON.stringify(D[V]),delete D[V]),Object.keys(D).length&&(S+=`?${Object.entries(D).filter(([,k])=>k!=null&&(!Array.isArray(k)||k.length)).map(([k,pe])=>`${encodeURIComponent(k)}=${encodeURIComponent(pe)}`).join("&")}`);const G=await r.fetch(S,{method:$,body:H});let ge;if(G.status===401&&E(),G.status!==204&&(ge=await G.json()),ge instanceof Array&&(ge=ge[0]),!G.ok){const k={status:G.status,data:{...ge,statusCode:G.status}};throw T([k])}return R(ge)}async function s(M,L){if(M==="execute"){const{url:$,httpRequestOptions:V}=u(M,L);return r.fetch($,V).then(m=>(m.status===401&&E(),m.status!==204?m.json():void 0)).then(m=>{if(m&&m.error&&m.error.length>0)throw T(m.error);return R(m)})}throw new Error(`Unsupported Apex action: ${M}`)}function u(M,L){if((!L||typeof L!="object"||Object.keys(L).length===0)&&y.reportError({subject:"Apex API action error - invalid params",type:w.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${M} action called with invalid params: '${JSON.stringify(L)}'.`)}),L&&L.cacheable===!0){const $=`/apex/${M}?${_(L)}`;if($.length<=w.MAX_URL_LENGTH)return{url:$,httpRequestOptions:{method:"GET",basePath:d.default}}}return{url:`/apex/${M}`,httpRequestOptions:{method:"POST",body:JSON.stringify(L),basePath:d.default}}}function _(M){const L={...M},$=L.params;if($&&typeof $=="object"){const V=Object.keys($).sort().reduce((m,D)=>(m[D]=$[D],m),{});L.params=JSON.stringify(V)}return Object.keys(L).filter(V=>L[V]!==void 0&&L[V]!=null).sort().map(V=>`${V}=${encodeURIComponent(L[V])}`).join("&")}function E(){I.SessionTimeoutOverrides.runSync()}function R(M){return{getReturnValue:()=>M}}function T(M){return{getError:()=>M}}t.apiCallRawResponse=l,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("aura/v/1",["exports","webruntime/apiCall/v/1_66_441-246_0","webruntime/logger/v/1_66_441-246_0"],function(t,e,r){"use strict";function y(d){if(d&&d.__esModule)return d;var l=Object.create(null);return d&&Object.keys(d).forEach(function(a){if(a!=="default"){var s=Object.getOwnPropertyDescriptor(d,a);Object.defineProperty(l,a,s.get?s:{enumerable:!0,get:function(){return d[a]}})}}),l.default=d,Object.freeze(l)}var v=y(r);const I=null,w=null,N=null;Object.defineProperty(t,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return e.apiCallRawResponse}}),t.logger=v,t.createComponent=I,t.getDefinition=N,t.renderComponent=w,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("instrumentation/service/v/1",["exports","aura-instrumentation/v/1"],function(t,e){"use strict";Object.keys(e).forEach(function(r){r!=="default"&&!t.hasOwnProperty(r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("instrumentation/utility/v/1",["exports","aura-instrumentation/v/1"],function(t,e){"use strict";Object.keys(e).forEach(function(r){r!=="default"&&!t.hasOwnProperty(r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lightning/configProvider/v/1",["exports","@app/basePath/v/1","lwc/v/3_0_4"],function(t,e,r){"use strict";function y(P){return P&&typeof P=="object"&&"default"in P?P:{default:P}}var v=y(e);const I=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,w=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,N="HH:mm:ss.SSS",d="YYYY-MM-DD",l="T",a=/(Z|([+-])(\d{2}):(\d{2}))$/;function s(P){return E(P)&&T(P)}function u(P){if(!R(P))return!1;const q=_(P);return T(`2018-09-09T${q}Z`)}function _(P){return typeof P=="string"?P.split(a)[0]:P}function E(P){return typeof P!="string"?!1:I.test(P)}function R(P){return typeof P!="string"?!1:w.test(P)}function T(P){const q=Date.parse(P);return isFinite(q)}var M=void 0;const L="in a few seconds",$="a few seconds ago",V="in {0} {1}",m="{0} {1} ago",D="s",S={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"}},H=1e3,G=6e4,ge=36e5,k=864e5;class pe{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 ae=ue(this);return ae===S.SECONDS?this.milliseconds>0?L:$:oe(q,this.asIn(ae),ae.name)}asIn(q){switch(q){case S.SECONDS:return Math.round(this.milliseconds/H);case S.MINUTES:return Math.round(this.milliseconds/G);case S.HOURS:return Math.round(this.milliseconds/ge);case S.DAYS:return Math.round(this.milliseconds/k);case S.MONTHS:return Math.round(Ie(this.milliseconds/k));case S.YEARS:default:return Math.round(Ie(this.milliseconds/k)/12)}}}var Ee=r.registerComponent(pe,{tmpl:M,sel:"lightning-config-provider",apiVersion:59});function Ie(P){const q=4800/146097;return P*q}function ue(P){const q=Object.keys(S).find(ae=>{const se=S[ae];return se===S.YEARS||Math.abs(P.asIn(se))<se.threshold});return S[q]}function oe(P,q,ae){return"Intl"in window&&Intl.RelativeTimeFormat?new Intl.RelativeTimeFormat(P,{style:"long",numeric:"always"}).format(q,ae):Pe(q,ae)}function Pe(P,q){console.warn("The current environment does not support formatters for relative time.");const ae=Math.abs(P),se=ae!==1?q+D:q,Le=P>0?V:m;return _e(Le,ae,se)}function _e(P,...q){return P.replace(/{(\d+)}/g,(ae,se)=>q[se])}const ke=["January","February","March","April","May","June","July","August","September","October","November","December"],te={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},re={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},Ce={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function Se(P,q){let ae=!1,se=P;return typeof P=="string"&&(se=P.split(l)[0],ae=!0),g(se,q,ae)}function Ne(P,q){return g(P,q,!0)}function Fe(P,q){if(!W(P))return new Date("");const ae=(P.getHours()+11)%12+1,se=P.getHours()>=12?"PM":"AM";switch(q){case N:return`${x(P.getHours())}:${x(P.getMinutes())}:${x(P.getSeconds())}.${J(P.getMilliseconds())}`;case re.short:return`${ae}:${x(P.getMinutes())} ${se}`;case re.medium:case re.long:default:return`${ae}:${x(P.getMinutes())}:${x(P.getSeconds())} ${se}`}}function Oe(P){if(!W(P))return new Date("");const q=new Date(P.getTime());return`${Ne(q)}, ${Fe(U(q))}`}function De(P){let q=null,ae=!0;if(u(P)?q=`2014-03-20T${F(P)}`:s(P)&&(P.indexOf(l)>0?(q=F(P),ae=!1):q=`${P}T00:00:00.000Z`),q){const se=new Date(q);return ae&&U(se),se}return null}function Ve(P,q){return q===d&&s(P)?De(P):Object.values(te).includes(q)?b(P,q):Object.values(Ce).includes(q)?c(P):null}function Je(P){return De(F(P))}function nt(P,q,ae){const se=Y(P),Le=Y(q);return!se||!Le?!1:A(se,ae).getTime()<A(Le,ae).getTime()}function it(P,q,ae){const se=Y(P),Le=Y(q);return!se||!Le?!1:A(se,ae).getTime()>A(Le,ae).getTime()}function ze(P,q,ae){const se=new Date(P.getTime());ae(ne(se))}function je(P,q,ae){const se=new Date(P.getTime());ae(U(se))}function at(P){return P}function ot(P){return P}function Ze(P){return P}function Xe(P){return P}function st(){return{format:P=>(console.warn(`The current environment does not support large numbers and the original value of ${P} will be returned.`),P)}}function ut(P){return new Ee(P*60*1e3)}function Q(P){return P.humanize("en")}function c(P){const q=P.trim().split(/[:.\s*]/),ae=q.length;if(!q||ae<2||ae>5)return null;const se=q[ae-1],Le=se.toLowerCase()==="am",et=se.toLowerCase()==="pm";q.splice(-1,1);const tt=q.every(be=>!isNaN(be));if(!et&&!Le||!tt)return null;const Qe=q[0],p=x(et?Qe%12+12:Qe%12),j=ae>=3&&q[1]||"0",X=ae>=4&&q[2]||"0",Z=ae===5&&q[3]||"0",le=new Date("2014-03-20");return le.setHours(p,j,X,Z),W(le)?le:null}function b(P,q){let ae=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(q){case te.short:ae=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case te.long:ae=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const se=ae.exec(P.trim());if(!se)return null;let Le=se[1];const et=se[2],tt=se[3];q!==te.short&&(Le=ke.findIndex(j=>j.toLowerCase().includes(Le.toLowerCase())),Le+=1);const Qe=`${tt}-${x(Le)}-${x(et)}`,p=new Date(`${Qe}T00:00:00.000Z`);return W(p)?U(p):null}function g(P,q,ae){const se=Y(P);if(!se)return new Date("");switch(ae&&W(P)&&U(se),q){case d:return`${se.getFullYear()}-${x(se.getMonth()+1)}-${x(se.getDate())}`;case te.short:return`${se.getMonth()+1}/${se.getDate()}/${se.getFullYear()}`;case te.long:return`${ke[se.getMonth()]} ${se.getDate()}, ${se.getFullYear()}`;case te.medium:default:return`${ke[se.getMonth()].substring(0,3)} ${se.getDate()}, ${se.getFullYear()}`}}function A(P,q){switch(q){case"day":P.setHours(0),P.setMinutes(0);case"minute":P.setSeconds(0),P.setMilliseconds(0);break}return P}function W(P){return Object.prototype.toString.call(P)==="[object Date]"&&!isNaN(P.getTime())}function F(P){return`${_(P)}Z`}function U(P){return P.setMinutes(P.getMinutes()+P.getTimezoneOffset()),P}function ne(P){return P.setMinutes(P.getMinutes()-P.getTimezoneOffset()),P}function Y(P){return P?W(P)?new Date(P.getTime()):isFinite(P)&&(typeof P=="number"||typeof P=="string")?new Date(parseInt(P,10)):typeof P=="string"?De(P):null:null}function x(P){return Number(P)<10?`0${P}`:P}function J(P){return Number(P)<10?`00${P}`:Number(P)<100?`0${P}`:P}var me={formatDate:Se,formatDateUTC:Ne,formatTime:Fe,formatDateTimeUTC:Oe,parseDateTimeISO8601:De,parseDateTime:Ve,parseDateTimeUTC:Je,isBefore:nt,isAfter:it,UTCToWallTime:ze,WallTimeToUTC:je,translateToOtherCalendar:at,translateFromOtherCalendar:ot,translateToLocalizedDigits:Ze,translateFromLocalizedDigits:Xe,getNumberFormat:st,duration:ut,displayDuration:Q};function ve(){return me}function Re(){return v.default}function ye(){return null}function Ae(){return null}function Te(){return{densitySetting:""}}var xe={getOneConfig:Te,getIconSvgTemplates:Ae,getToken:ye,getPathPrefix:Re,getLocalizationService:ve};t.default=xe,t.getIconSvgTemplates=Ae,t.getLocalizationService=ve,t.getOneConfig=Te,t.getPathPrefix=Re,t.getToken=ye,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lightning/navigation/v/1",["exports","lwr/navigationContext/v/0_10_11","lwr/currentPageReference/v/0_10_11","lwr/currentView/v/0_10_11","lwr/contextUtils/v/0_10_11","lwr/routerErrors/v/0_10_11","lwr/navigationMixinHacks/v/0_10_11"],function(t,e,r,y,v,I,w){"use strict";function N(R,T,M){v.getNavigationHelm(R).navigate(T,M)}function d(R,T){return v.getNavigationHelm(R).generateUrl(T)}const l=typeof window=="undefined",a=Symbol("Navigate"),s=Symbol("GenerateUrl"),u=Symbol("NavContext"),_=Symbol("NavContext");function E(R){I.invariant(typeof R.prototype.dispatchEvent=="function",I.messages.INVALID_MIXIN_CMP,[R.toString()]);class T extends R{[_](){if(!this[u]&&(this.dispatchEvent(new CustomEvent(w.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:L=>{this[u]=L}}})),!this[u]))throw new Error(I.generateMessage(I.messages.MISSING_CONTEXT))}[a](L,$){l||(this[_](),N(this[u],L,$))}async[s](L){return l?null:(this[_](),d(this[u],L))}}return T}E.Navigate=a,E.GenerateUrl=s,E.NavContext=u,Object.defineProperty(t,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(t,"CurrentPageReference",{enumerable:!0,get:function(){return r.CurrentPageReference}}),Object.defineProperty(t,"CurrentView",{enumerable:!0,get:function(){return y.CurrentView}}),Object.defineProperty(t,"ContextInfo",{enumerable:!0,get:function(){return v.ContextInfo}}),Object.defineProperty(t,"generateContextualWireAdapter",{enumerable:!0,get:function(){return v.generateContextualWireAdapter}}),Object.defineProperty(t,"getNavigationHelm",{enumerable:!0,get:function(){return v.getNavigationHelm}}),Object.defineProperty(t,"registerNavigationHelm",{enumerable:!0,get:function(){return v.registerNavigationHelm}}),t.NavigationMixin=E,t.generateUrl=d,t.navigate=N,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lightning/f6Controller/v/1",["exports","webruntime/f6Controller/v/1_66_441-246_0"],function(t,e){"use strict";Object.keys(e).forEach(function(r){r!=="default"&&!t.hasOwnProperty(r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/environment/v/1",["exports"],function(t){"use strict";const e=process&&process.env&&(process.env.SSR==="true"||process.env.SSR===!0);t.isServer=e,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("transport/v/1",["exports","webruntime/transport/v/1"],function(t,e){"use strict";Object.keys(e).forEach(function(r){r!=="default"&&!t.hasOwnProperty(r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/transport/v/1",["exports","lwr/loaderLegacy/v/0_10_11","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/utils/v/1_66_441-246_0","@communities-webruntime/common/v/1_66_441-246_0"],function(t,e,r,y,v,I,w){"use strict";function N(k){return k&&typeof k=="object"&&"default"in k?k:{default:k}}var d=N(r),l=N(y),a=N(v);const s=["POST","PATCH","PUT","DELETE"],u="X-SFDC-Request-Id",_="X-Salesforce-Too-Many-Requests",E="asGuest",R="language",T="htmlEncode",{location:M,navigator:L}=globalThis;async function $(k,pe={}){I.assert(typeof k=="string","Valid path not provided for fetch request");const Ee={...pe,headers:{...pe.headers},credentials:pe.credentials||"same-origin"};pe.credentials===null&&delete Ee.credentials;const Ie=Ee.isNonApiRequest===!0,ue=Ee.asGuest===!0||await ge(),oe=Ee.basePath!==void 0?Ee.basePath:l.default,Pe=new URL(oe+k,M);if(!Ie){const te=Pe.searchParams;te.has(R)||te.append(R,a.default),te.has(E)||te.append(E,ue),te.has(T)||te.append(T,!1)}const _e=Ee.headers["Content-Type"];_e===null?delete Ee.headers["Content-Type"]:_e?Ee.headers["Content-Type"]=_e:pe.body&&(Ee.headers["Content-Type"]="application/json; charset=utf-8"),Ee.headers[u]=H(),await D(Ee);const ke=await globalThis.fetch(Pe.toString(),Ee);return m(ke)&&V(),ke}function V(){document.dispatchEvent(new CustomEvent("client-error",{detail:{type:w.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function m(k){return!!((k.status===503||k.status===429)&&k.headers.get(_))}async function D(k){if(k.method&&s.includes(k.method)){const{default:pe}=await e.load("@app/user/v/1");k.headers["CSRF-Token"]=pe.csrfToken}}async function S({path:k,payload:pe,contentType:Ee}){const Ie=d.default+k;L&&L.sendBeacon&&L.sendBeacon(Ie,pe)||await globalThis.fetch(k,{headers:{"Content-Type":Ee},basePath:d.default,body:pe,method:"POST",isNonApiRequest:!0})}function H(){return(Date.now()+G()+Math.round(Math.random()*1e8)).substring(0,18)}function G(){function k(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return k()+k()}async function ge(){const{default:k}=await e.load("@app/user/v/1");return k.isGuest}t.fetch=$,t.sendBeacon=S,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("assert/v/1",["exports","webruntime/utils/v/1_66_441-246_0"],function(t,e){"use strict";Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("o11y/shared/v/1",["exports"],function(t){"use strict";class e{constructor(a){if(this._lazyMap=new Map,a!==void 0){if(typeof a=="number"&&a>0){this._maxSize=Math.ceil(a);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(a,s){let u=this._lazyMap.get(a);if(!u){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;u=new Array,this._lazyMap.set(a,u)}return u.push(s),!0}getMessages(a,s){const u=this._lazyMap.get(a);return s&&this._lazyMap.has(a)&&this._lazyMap.set(a,[]),u||[]}getAllMessages(a){const s=new Map;for(const[u,_]of this._lazyMap.entries())_.length&&s.set(u,this.getMessages(u,a));return s}extractMessages(a){return this.getMessages(a,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let a=0;for(const s of this._lazyMap.values())a+=s.length;return a}}class r{_getMetricTags(a){const s=a.getTags();if(s)return Object.entries(s).map(u=>({name:u[0],value:u[1].toString()}))}getUpCounters(a,s=!0){return a.map(u=>{const _={name:u.getName(),createdTimestamp:u.getCreatedOn(),lastUpdatedTimestamp:u.getLastUpdatedOn(),value:u.getData(),ownerName:u.getOwnerName(),ownerAppName:u.getOwnerAppName(),tags:this._getMetricTags(u)};return s&&u.reset(),_})}getValueRecorders(a,s=!0){return a.map(u=>{const _={name:u.getName(),createdTimestamp:u.getCreatedOn(),lastUpdatedTimestamp:u.getLastUpdatedOn(),values:u.getData(),ownerName:u.getOwnerName(),ownerAppName:u.getOwnerAppName(),tags:this._getMetricTags(u)};return s&&u.reset(),_})}getBucketHistograms(a,s=!0){return a.map(u=>{const _={name:u.getName(),createdTimestamp:u.getCreatedOn(),lastUpdatedTimestamp:u.getLastUpdatedOn(),values:u.getData(),buckets:u.getBuckets(),ownerName:u.getOwnerName(),ownerAppName:u.getOwnerAppName(),tags:this._getMetricTags(u)};return s&&u.reset(),_})}getMetricsTags(a){const s={};return a.forEach(u=>{s[u.name]=u.value}),s}}const y=Object.freeze(new r);class v{constructor(){this.notImplemented="Method not implemented.";const a=typeof performance!="undefined";a?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const s=this._timeOrigin;a&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const u=this.perfNow();return{tsNow:s+u,perfNow:u,timeOrigin:s}}):(this.perfNow=()=>Date.now()-s,this.time=()=>{const u=this.perfNow();return{tsNow:Date.now(),perfNow:u,timeOrigin:s}})}get isProduction(){return v._isProduction}markProduction(){v._isProduction=!0}_checkArgument(a,s){if(typeof s=="string")return typeof a===s;if(typeof s=="function")return a instanceof s;if(Array.isArray(s))return s.some(u=>this._checkArgument(a,u));throw new Error(`Invalid argKind ${s}`)}requireArgument(a,s,u){let _=a==null||a==="";const E=u!==void 0;if(!_&&E&&(_=!this._checkArgument(a,u)),_)throw new Error(`${s} argument is required${E?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(a,s,u){if(a===void 0)return!1;if(a===null||a===""||!this._checkArgument(a,u))throw new Error(`${s} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(a,s,u){if(u.some(_=>a===_))throw new Error(`The value ${a} isn't allowed for ${s} argument.`)}checkForReservedCharacters(a,s,u){if(a&&u.some(_=>a.indexOf(_)>=0))throw new Error(`The argument ${s} isn't allowed to contain characters from ['${u.join(", ")}']. Received: ${a}.`)}generateUniqueId(a=16){const s=[],u="0123456789abcdef";if(!(a===void 0||a>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let _=0;_<a;_++){const E=Math.floor(Math.random()*16);s.push(u[E])}return s.join("")}getXpath(a){function s(E){const R=E.localName;for(;E.nextElementSibling;)if(E=E.nextElementSibling,E.localName===R)return!0;return!1}function u(E,R){return E?u(E.previousElementSibling,R||E.localName)+(E.localName===R?1:0):1}function _(E){if(!E||E.nodeType!==1)return[""];const R=u(E)>1||s(E)?`${E.localName.toLowerCase()}[${u(E)}]`:E.localName.toLowerCase();return[..._(E.parentNode),R]}return _(a).join("/")}getAge(a){return a-this._timeOrigin}getConnectionType(){var a;let s;if(typeof navigator!="undefined"){const u=navigator;s=(a=u==null?void 0:u.connection)===null||a===void 0?void 0:a.effectiveType}return s}clone(a){return JSON.parse(JSON.stringify(a))}definedValueOrDefault(a,s){return a!==void 0?a:s}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var a;const s=this.getGlobal();return typeof((a=s.navigator)===null||a===void 0?void 0:a.sendBeacon)=="function"&&typeof s.Blob=="function"}estimateObjectSize(a){const s=new Set,u=[a];let _=0;for(;u.length;){const E=u.pop();if(typeof E=="boolean")_+=4;else if(typeof E=="string")_+=E.length*2;else if(typeof E=="number")_+=8;else if(E instanceof Uint8Array||E instanceof Uint8ClampedArray||E instanceof Uint16Array||E instanceof Uint32Array||E instanceof Int8Array||E instanceof Int16Array||E instanceof Int32Array||E instanceof Float32Array||E instanceof Float64Array)_+=E.byteLength;else if(typeof E=="object"){const R=E;if(!s.has(R)){s.add(R);for(const T in R)u.push(R[T])}}}return _}noProdThrow(a){if(!I.isProduction)throw a}isAllowedOrigin(a,s){return Array.isArray(s)&&s.some(u=>u==="*"||a===u||u instanceof RegExp&&u.test(a))}}v._isProduction=!1;const I=Object.freeze(new v);class w{constructor(a){this._errorCounter=a,this._safeCatchMode=!1}tryCatch(a){try{a()}catch(s){this._prodSafeCatch(s)}}tryCatchReturn(a,s){try{return I.requireArgument(s,"noopValue"),a()}catch(u){return this._prodSafeCatch(u),s}}_prodSafeCatch(a){let s;try{if(s=!I.isProduction,s)throw a;if(this._safeCatchMode)throw this._safeCatchMode=!1,new Error("Internal error in prodSafeCatch.");if(this._safeCatchMode=!0,this._errorCounter&&this._errorCounter.increment(),!(a instanceof Error)){const u=a&&a.message||(typeof a.toString=="function"?a.toString():"");a=new Error(u)}this._safeCatchMode=!1}catch(u){if(s)throw u;if(u&&console&&typeof console.error=="function")try{console.error(u)}catch(_){}this._safeCatchMode=!1}}}class N{getSchemaId(a){return`${a.namespace}.${a.name}`}isInternal(a){return(a==null?void 0:a.namespace)==="sf.instrumentation"}makePayload(a,s,u=!0){if(!u||a!==void 0&&s!==void 0)return{schema:a,payload:s}}checkSchema(a){I.requireArgument(a,"schema","object"),I.requireArgument(a.namespace,"schema.namespace","string"),I.requireArgument(a.name,"schema.name","string"),I.requireArgument(a.pbjsSchema,"schema.pbjsSchema","object");const s=a.namespace.split(".");if(s.length!==2)throw new Error(`Schema "${this.getSchemaId(a)}" must have a namespace of the form "domain.feature".`);return{domain:s[0],feature:s[1],message:a.name}}_getAnyNestedObject(a,s){return s.reduce((u,_)=>{const E=u.nested;if(E){const R=E[_];if(R)return R}throw new Error(`Cannot locate ${s.join(".")} in schema with ID ${this.getSchemaId(a)}`)},a.pbjsSchema)}getTypes(a){const s=this.checkSchema(a),_=this._getAnyNestedObject(a,[s.domain,s.feature]).nested;if(!_)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(a)}`);return _}getType(a,s){I.requireArgument(s,"messageName","string");const _=this.getTypes(a)[s];if(!_)throw new Error(`Cannot locate message ${s} in schema with ID ${this.getSchemaId(a)}`);return _}getOptions(a,s,u){u&&I.requireArgument(s,"messageName","string");const _=this.checkSchema(a);if(!s)return this._getAnyNestedObject(a,[_.domain,_.feature]).options;const E=this.getType(a,s);if(!u)return E.options;const R=E.fields[u];if(!R){const T=this.getSchemaId(a);throw new Error(`Cannot locate field ${u} in message ${s} in schema with ID ${T}`)}return R.options}}const d=new N;t.LazyMapToList=e,t.MetricsUtility=r,t.PublicSafety=w,t.metricsUtility=y,t.schemaUtil=d,t.utility=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("o11y/shared",["exports","o11y/shared/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("o11y/client/v/1",["exports","o11y/shared/v/1"],function(t,e){"use strict";const r={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{duration:{id:3,type:"double"},stopReason:{id:6,type:"string"},isRoot:{id:8,type:"bool"},timerOverridden:{id:12,type:"uint32"},name:{options:{"(meta.max_length)":25},id:2,type:"string"},isSampled:{id:11,type:"bool"},preRootId:{id:9,type:"string"},id:{id:1,type:"string"},userPayload:{id:4,type:"Payload"},errorCount:{id:10,type:"uint32"},parentId:{id:13,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},y={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"}}}}}}}}}},v={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"}}}}}}}}}},I={namespace:"sf.instrumentation",name:"InstrumentedEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:17,type:"uint32"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:18,type:"uint32"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:16,type:"uint32"},clientY:{id:7,type:"uint32"},clientX:{id:6,type:"uint32"},movementX:{id:15,type:"uint32"},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:20,type:"uint32"},pageX:{id:19,type:"uint32"},screenX:{id:21,type:"uint32"},screenY:{id:22,type:"uint32"}}},InstrumentedEvent:{oneofs:{event:{oneof:["mouseEvent"]}},reserved:[[4,4],"xpath",[6,6],[8,8]],fields:{mouseEvent:{id:7,type:"MouseEvent"},auto:{id:3,type:"bool"},parentComponent:{id:2,type:"string"},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"}}}}}}}}}},w={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}};class N{get isBusy(){return this._isOk?this._busyCount>0:void 0}constructor(n,i,o,f){this.name=n,this._doneCallback=o,this._overDoneCallback=f,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 d=300;class l{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=d,this._endedTasks=new Array,this._pollableReport=new Array,e.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),e.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),e.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){e.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=e.utility.time().perfNow),this._listeners.add(n),this._checkIfLoaded()}_reportTaskEnded(n){if(this._listeners.size){const i=Object.assign({},this._taskers.get(n));this._endedTasks.push(i)}}declareNotifierTaskSingle(n){e.utility.requireArgument(n,"name","string");const i=this._addTasker(n,1);return{get isBusy(){return i.isBusy},done:()=>{i.done(),this._taskers.delete(i)}}}declareNotifierTaskMulti(n,i=0){if(e.utility.requireArgument(n,"name","string"),i!==void 0&&(e.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const o=this._addTasker(n,i);return{get isBusy(){return o.isBusy},add:()=>{if(!o.isBusy){const h=this._taskers.get(o);h.start=e.utility.time().perfNow,h.end=void 0}o.add()},done:o.done.bind(o)}}declarePollableTaskMulti(n,i){e.utility.requireArgument(n,"name","string"),e.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const o=new N(n,i,()=>{this._taskers.get(o).end=e.utility.time().perfNow,this._reportTaskEnded(o),this._checkIfLoaded()},()=>{var f;(f=this._errorListener)===null||f===void 0||f.call(this,`Overdone: ${o.name}`),e.utility.noProdThrow(`Tasker '${o.name}' is done too many times.`)});return this._taskers.set(o,{name:n,start:i>0?e.utility.time().perfNow:void 0,end:void 0}),o}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var o;const f=i[0],h=i[1];try{return f()}catch(C){return(o=this._errorListener)===null||o===void 0||o.call(this,C,`BusyChecker ${h}`),e.utility.noProdThrow(C),!1}});return n?n[1]:void 0}_checkIfLoaded(){!this._listeners.size||(this._timerCheckQueued&&clearTimeout(this._timerCheckQueued),this._areAllNotifiersIdle()&&(this._timerCheckQueued=setTimeout(()=>{this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},40)},0)))}_doubleCheck(){if(this._timerCheckQueued=void 0,this._areAllNotifiersIdle()){const n=this._getFirstBusyPollable();if(n!==void 0)this._addToPollableReport(n),this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},15);else{const i=e.utility.time().perfNow-this._firstCallbackTime,o=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const f=this._endedTasks.splice(0),h=this._pollableReport.splice(0);this._notify(o,i,f,h)}}}_addToPollableReport(n){const i=this._pollableReport.length?this._pollableReport[this._pollableReport.length-1]:void 0;(i==null?void 0:i.name)===n?i.count+=1:this._pollableReport.push({name:n,count:1})}_notify(n,i,o,f){var h;if(i>=this._logThreshold&&this._reportListener){const B=this._getReport(i,n.length,o,f);this._reportListener(B)}n.reverse();const C=e.utility.time().tsNow;for(const[B,ie]of n.entries())try{ie(C)}catch(ee){(h=this._errorListener)===null||h===void 0||h.call(this,ee,`Listener #${n.length-1-B}`),e.utility.noProdThrow(ee)}}getReport(){const n=e.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,o=Array.from(this._taskers.entries()).filter(f=>f[0].isBusy).map(f=>({name:f[1].name,start:f[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(o),this._pollableReport)}_getReport(n,i,o,f){const h=o.map(C=>({name:C.name,duration:C.end-C.start})).sort((C,B)=>B.duration-C.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:h.map(C=>C.name),busyDurations:h.map(C=>C.duration),pollables:f.map(C=>C.name),pollCounts:f.map(C=>C.count)}}}const a=32,s=16,u=16,_="traceparent",E="b3",R="X-B3-TraceId",T="X-B3-SpanId",M="X-B3-Sampled",L="X-B3-ParentSpanId",$="fetch",V="xhr_send";class m{constructor(n,i){this._instr=n,this._idleDetector=i,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,o,f){let h=`${n}-${i}`;return(o!==void 0||f!==void 0)&&(h+=o?"-1":"-0",f!==void 0&&(h+=`-${f}`)),h}static _getW3CompactFormat(n,i,o){return`00-${n}-${i}-${o?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const o=n.length;for(let f=0;f<o;f+=1){const h=n[f];if(!(h>="a"&&h<="f")&&!(h>="0"&&h<="9"))throw new Error(`The text '${n}' has an invalid character at index #${f}`)}return o>i?n.substr(o-i):o<i?n.padStart(i,"0"):n}static getHeaders(n,i,o,f){e.utility.requireArgument(n,"traceId","string"),e.utility.requireArgument(i,"spanId","string");const h=f==null?void 0:f.useB3Headers;n=this._conformTextAsId(n,(f==null?void 0:f.traceIdEffectiveLength)!==void 0?f.traceIdEffectiveLength:h?s:a),i=this._conformTextAsId(i,u);const C=f&&f.parentSpanId!==void 0&&this._conformTextAsId(f.parentSpanId,u)||void 0,B={};return h?(f==null?void 0:f.useCompactHeader)?B[E]=this._getB3CompactFormat(n,i,o,C):(B[R]=n,B[T]=i,C!==void 0&&(B[L]=C),o!==void 0&&(B[M]=o?"1":"0")):B[_]=this._getW3CompactFormat(n,i,o),B}_disableNetworkInstrumentation(){m._isNetworkInstrumentationEnabled&&(m._originalFetch&&(m._global.fetch=m._originalFetch,m._originalFetch=void 0),m._originalXhr&&(m._global.XMLHttpRequest=m._originalXhr,m._originalXhr=void 0),m._originalXhrOpen&&(m._global.XMLHttpRequest.prototype.open=m._originalXhrOpen,m._originalXhrOpen=void 0),m._originalXhrSend&&(m._global.XMLHttpRequest.prototype.send=m._originalXhrSend,m._originalXhrSend=void 0),m._isNetworkInstrumentationEnabled=!1)}_enableNetworkInstrumentation(n,i,o,f,h,C){typeof m._global.fetch=="function"&&(this._overrideFetch(n,i,o,f,h,C),m._isNetworkInstrumentationEnabled=!0),typeof m._global.XMLHttpRequest=="function"&&(this._overrideXhr(n,i,o,f,h,C),m._isNetworkInstrumentationEnabled=!0)}static _getTraceHeaders(n,i,o,f){let h=(n==null?void 0:n.getTraceHeaders(i))||{};if(typeof(i==null?void 0:i.headerProcessor)=="function")h=i.headerProcessor({method:o,url:f,defaultHeaders:h});else if(typeof window=="object"){let C;try{C=new URL(f)}catch(B){}C&&C.host!==window.location.host&&(h=void 0)}return h||{}}_overrideFetch(n,i,o,f,h,C){m._originalFetch=m._global.fetch;const B=async(ie,ee,...de)=>{let fe;try{C==null||C.add();const we=ee==null?void 0:ee.o11y;if(!(we==null?void 0:we.skipInstr))fe=n.startActivity(o||$);else{m._reqIndex+=1;try{if(ie instanceof URL)ie.searchParams.append("o11y",m._reqIndex.toString());else if(typeof ie=="string"){const $e=new URL(ie),Be=`o11y=${m._reqIndex}`;$e.search+=$e.search.startsWith("?")?`&${Be}`:Be,ie=$e.toString()}}catch($e){}}if(ee==null||delete ee.o11y,f){let $e=ee==null?void 0:ee.method,Be=ie==null?void 0:ie.toString();ie instanceof Request&&($e||($e=ie.method),Be=ie.url);const gt=m._getTraceHeaders(fe,h,$e,Be);!this._applyTraceHeaders(ie,ee,gt)&&ee===void 0&&(ee={headers:gt})}return await m._originalFetch.call(m._global,ie,ee,...de)}catch(we){throw i&&(fe?fe.error(we):n.error(we)),we}finally{fe==null||fe.stop(),C==null||C.done()}};m._global.fetch=B}_overrideXhr(n,i,o,f,h,C){m._originalXhr=m._global.XMLHttpRequest,m._originalXhrOpen=m._originalXhr.prototype.open,m._originalXhrSend=m._originalXhr.prototype.send,m._originalXhr.prototype.open=function(ie,ee,de,fe,we){this._o11y={method:ie,url:ee==null?void 0:ee.toString()},m._originalXhrOpen.call(this,ie,ee,de,fe,we)},m._originalXhr.prototype.send=function(...ie){let ee;try{C==null||C.add();const de=this;if(de._o11y=de._o11y||{},de._o11y.activity=ee=n.startActivity(o||V),f){const fe=m._getTraceHeaders(ee,h,de._o11y.method,de._o11y.url);Object.entries(fe).forEach(we=>{de.setRequestHeader(we[0],we[1])})}m._originalXhrSend.call(this,...ie)}catch(de){throw i&&(ee?ee.error(de):n.error(de)),ee==null||ee.stop(),C==null||C.done(),de}};const B=new Proxy(m._originalXhr,{construct(ie){const ee=new ie;return ee.addEventListener("load",()=>{var de,fe;(fe=(de=ee._o11y)===null||de===void 0?void 0:de.activity)===null||fe===void 0||fe.stop(),C==null||C.done()}),ee.addEventListener("error",de=>{var fe;const we=new Error("XHR Network-Level Error"),$e=(fe=ee._o11y)===null||fe===void 0?void 0:fe.activity;$e?(i&&$e.error(we),$e.stop()):i&&n.error(we),C==null||C.done()}),ee.addEventListener("abort",()=>{var de,fe;(fe=(de=ee._o11y)===null||de===void 0?void 0:de.activity)===null||fe===void 0||fe.discard(),C==null||C.done()}),ee}});m._global.XMLHttpRequest=B}networkInstrumentation(n){var i;if(e.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const o=typeof n=="object"?n:{};let f;e.utility.definedValueOrDefault(o.useTasker,!0)&&(f=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(e.utility.definedValueOrDefault(o.instrumentation,this._instr),e.utility.definedValueOrDefault(o.logErrors,!0),o.activityName,e.utility.definedValueOrDefault(o.useTracing,!0),o.tracingHeadersOptions,f)}}resetRequestCounter(){m._reqIndex=0}_applyTraceHeaders(n,i,o){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(o).forEach(([f,h])=>{i.headers.set(f,h)}),!0;if(Array.isArray(i.headers))return Object.entries(o).forEach(f=>{i.headers.push(f)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,o),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(o).forEach(([f,h])=>{n.headers.set(f,h)}),!0;if(i)return i.headers=Object.assign({},o),!0}return!1}}m._global=e.utility.getGlobal(),m._isNetworkInstrumentationEnabled=!1,m._reqIndex=0;var D;(function(z){z[z.none=0]="none",z[z.start=1]="start",z[z.stop=2]="stop",z[z.both=3]="both"})(D||(D={}));const S="timedout",H="terminated",G="discarded",ge={timedout:S,terminated:H,discarded:G};class k{constructor(n,i,o,f,h,C,B){this._name=n,this._rootId=i,this._onStopped=o,this._onError=f,this._isSampled=B,this._errorCount=0,this._timerOverridden=D.none;const{tsNow:ie,perfNow:ee}=e.utility.time();if(k._count+=1,this._id=C||e.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${k._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(de){this._usePerf=!1}}this._startTimestamp=ie,this._startPerfTime=ee,h>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||ge.timedout,this.stop()},h)),this._safety=new e.PublicSafety}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}error(n,i,o){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,o))})}stop(n,i,o){this._safety.tryCatch(()=>{if(e.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),o){const f=o.perfStartOverride,h=e.utility.requireArgumentIfDefined(f,"options.perfStartOverride","number"),C=o.perfStopOverride,B=e.utility.requireArgumentIfDefined(C,"options.perfStopOverride","number");if(h&&f<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(B&&(C<0||C<(h?f:this._startPerfTime)))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime")}this._stopInternal(n,i,o)})}_overrideTimer(n,i){n!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-n)),this._startPerfTime=n,this._setTimerOverride(D.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(D.stop))}_setTimerOverride(n){this._timerOverridden===D.both||this._timerOverridden===n||n===D.none||(this._timerOverridden=this._timerOverridden===D.none?n:D.both)}_stopInternal(n,i,o){const f=e.utility.perfNow();if(this._usePerf)try{this._stopReason!==ge.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(C){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;o&&this._overrideTimer(o.perfStartOverride,o.perfStopOverride),this._stopPerfTime=this._timerOverridden===D.none||this._timerOverridden===D.start?f:this._stopPerfTime;const h=this._getDetail(n,i);this._onStopped(h)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ge.discarded,this.stop()})}terminate(n,i,o){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ge.terminated,this.stop(n,i,o)})}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}}getTraceHeaders(n){const i=this.id,o=this._rootId||i;return m.getHeaders(o,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}}k._count=0;const pe=new Array(16).fill(0).join("");class Ee{getId(){return pe}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}}const Ie=Object.freeze(new Ee);class ue{getInstrumentedEventData(n,i,o){var f;const h={ownerComponent:i.tagName,parentComponent:((f=i.parentElement)===null||f===void 0?void 0:f.tagName)||void 0,event:n,simplePath:e.utility.getXpath(i)};return o&&(h.userPayload=e.schemaUtil.makePayload(o.schema,o.payload,!0)),h}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 Pe=new ue,_e=1e4,ke=1e4,te=0,re=2147483647,Ce=-2147483648,Se=4294967295,Ne=9223372036854776e3,Fe=-9223372036854776e3,Oe=18446744073709552e3;class De{constructor(n,i,o,f){this.errorCode=n,this.fields=i,this.expected=o,this.received=f}asMessage(n){const i=this.fields[0]+this.fields.slice(1).reduce((f,h)=>Number(h)>=0?`${f}[${h}]`:`${f}.${h}`,"");let o;switch(this.errorCode){case 1:o="Repeated field must be an array";break;case 2:o=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:o="Value must be finite";break;case 4:o="Value is out of range for its type";break;case 5:o="Bytes array is malformed";break;case 6:o="Exceeded app limit for maximum string length";break;case 7:o="Exceeded app limit for item count";break;case 12:o="Value must be an integer";break;case 13:o="Values like null or undefined are not allowed for items in repeated fields";break;default:o=`Unknown error code: ${this.errorCode}`;break}return`Schema ${n} on field "${i}": ${o}`}}class Ve{validate(n,i,o=!1){const f=e.schemaUtil.checkSchema(n);e.utility.requireArgument(i,"data","object");const h=e.schemaUtil.getSchemaId(n),C=new Array,B=e.schemaUtil.getTypes(n);if(this._validateFields(C,[],i,B[f.message],B,h),C.length&&!o)throw new Error(C[0].asMessage(h));return C}_validateFields(n,i,o,f,h,C){const B=f.oneofs||{},ie=f.fields||{};for(const ee in o){const de=o[ee];if(de!=null){const fe=(we,$e,Be)=>this._matchFieldTypes(n,[...i,ee],de,we,h,C,ee,$e,Be);B[ee]?fe(ie[B[ee].oneof[0]].type):ie[ee]&&fe(ie[ee].type,ie[ee].rule==="repeated")}}}_matchFieldTypes(n,i,o,f,h,C,B,ie,ee){let de;if(ie)Array.isArray(o)?(o.length>ke&&(de=7),o.forEach((fe,we)=>{this._matchFieldTypes(n,[...i,we.toString()],fe,f,h,C,B,void 0,!0)})):de=1;else if(o==null||o===void 0)ee&&(de=13);else{let fe,we;switch(f){case"string":we="string",o.length>_e&&(de=6);break;case"bytes":we="object",o instanceof Uint8Array||(de=5);break;case"bool":we="boolean";break;case"uint32":we="number",fe={min:te,max:Se,isInt:!0,isItem:ee};break;case"int32":case"sint32":case"fixed32":case"sfixed32":we="number",fe={min:Ce,max:re,isInt:!0,isItem:ee};break;case"uint64":we="number",fe={min:te,max:Oe,isInt:!0,isItem:ee};break;case"fixed64":case"sfixed64":case"int64":case"sint64":we="number",fe={min:Fe,max:Ne,isInt:!0,isItem:ee};break;case"double":case"float":we="number",fe={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:ee};break;default:new Set(Object.keys(h)).has(f)&&(this._validateFields(n,i,o,h[f],h,C),we="object");break}typeof o!==we?n.push(new De(2,i,f,typeof o)):fe&&(fe.isInt&&!Number.isFinite(o)?de=3:fe.isInt&&!Number.isInteger(o)?de=12:!(!fe.isInt&&Number.isNaN(o))&&!(o>=fe.min&&o<=fe.max)&&(de=4))}de&&n.push(new De(de,i))}}const Je=new Ve;class nt{constructor(n,i,o,f,h,C,B,ie){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=f,this._buckets=h,this._values=new Array,this._createdOn=C===void 0?e.utility.time().tsNow:C,B!==void 0&&(this._lastUpdatedOn=B),ie!==void 0&&(this._values=ie)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}getBuckets(){return this.buckets}get buckets(){return this._buckets.slice(0,this._buckets.length)}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=e.utility.time().tsNow;return}throw new Error("BucketHistogram can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class it{constructor(n,i,o,f,h,C,B){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=f,this._value=0,this._createdOn=h===void 0?e.utility.time().tsNow:h,C!==void 0&&(this._lastUpdatedOn=C),B!==void 0&&(this._value=B)}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=e.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 ze{constructor(n,i,o,f,h,C,B){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=f,this._values=new Array,this._createdOn=h===void 0?e.utility.time().tsNow:h,C!==void 0&&(this._lastUpdatedOn=C),B!==void 0&&(this._values=B)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=e.utility.time().tsNow;return}throw new Error("ValueRecorder can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class je{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 at=1e3,ot=500,Ze=500;var Xe;(function(z){z[z.Counter=0]="Counter",z[z.Percentile=1]="Percentile",z[z.BucketHistogram=2]="BucketHistogram"})(Xe||(Xe={}));class st{constructor(n,i){this._ownerName=n,this._getOwnerAppName=i,this._upCounters=new je(at),this._valueRecorders=new je(ot),this._bucketHistograms=new je(Ze)}incrementCounter(n,i,o=!1,f={}){this._tagError(f,o),this._upCounter(n,f).increment(i)}trackValue(n,i,o=!1,f={}){this._tagError(f,o),this._valueRecorder(n,f).record(i)}bucketValue(n,i,o,f=!1,h={}){this._tagError(h,f),this._bucketHistogram(n,h,o).record(i)}_bucketHistogram(n,i,o){const{key:f,sortedTags:h}=this._getKeyAndSortedTags(n,i,Xe.BucketHistogram);let C=this._bucketHistograms.get(f);if(!C&&(C=new nt(n,this._ownerName,this._getOwnerAppName(),h,o),!this._bucketHistograms.set(f,C)))throw new Error(`Max size of ${Ze} exceeded for BucketHistograms`);return C}_upCounter(n,i){const{key:o,sortedTags:f}=this._getKeyAndSortedTags(n,i,Xe.Counter);let h=this._upCounters.get(o);if(!h&&(h=new it(n,this._ownerName,this._getOwnerAppName(),f),!this._upCounters.set(o,h)))throw new Error(`Max size of ${at} exceeded for UpCounters`);return h}_valueRecorder(n,i){const{key:o,sortedTags:f}=this._getKeyAndSortedTags(n,i,Xe.Percentile);let h=this._valueRecorders.get(o);if(!h&&(h=new ze(n,this._ownerName,this._getOwnerAppName(),f),!this._valueRecorders.set(o,h)))throw new Error(`Max size of ${ot} exceeded for ValueRecorders`);return h}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,o){const f=Object.keys(i).sort().reduce((C,B)=>(C[B]=i[B],C),{});return{key:`${Xe[o]}:${n}${JSON.stringify(f)}`,sortedTags:f}}}class ut{constructor(){this.isMock=!0}}const Q=void 0,c=["`"],b={internalError:"o11y-error"},g=Object.freeze(Array.from(Object.values(b)));class A{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const f of c)if(this._name.indexOf(f)>=0)throw new Error(`Name cannot include the reserved character "${f}"`);this._safety=new e.PublicSafety({increment:f=>this._incrementError(f)}),this._metrics=this._initMetrics();const o=e.schemaUtil.getOptions(w,"Simple","text");this._simpleTextMaxLength=o?o["(meta.max_length)"]:_e}_initMetrics(){return new st(this.name,()=>this._nextGen.appName||A.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(b.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,o=!1){let f;return typeof n=="string"?(f=w,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):f=n,e.schemaUtil.makePayload(f,i,o)}_getEffectiveRootId(n){var i,o;return(o=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&o!==void 0?o:this._nextGen.getDefaultInstrumentationContext().rootId}log(n,i,o){this._safety.tryCatch(()=>{const f=e.utility.time().tsNow;e.utility.requireArgument(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),e.utility.requireArgumentIfDefined(o,"options","object");const h=this._wrapUserPayload(n,i);(h==null?void 0:h.payload)&&this._logInternal(this.name,h.schema,h.payload,f,this._getEffectiveRootId(o))})}_logInternal(n,i,o,f,h){this._checkInputs(i,o);const C=this._getPayloadFromProvider(this._nextGen.appPayloadProvider),B=this._getPayloadFromProvider(this._nextGen.pagePayloadProvider);return this._nextGen.addLog(n,i,o,f,h,B,C)}error(n,i,o,f){return this._safety.tryCatch(()=>{e.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(o,"userData","object"),e.utility.requireArgumentIfDefined(f,"options","object");const h=this._getEffectiveRootId(f);this._errorInternal(n,i,o,void 0,h)})}_errorInternal(n,i,o,f,h){const C=e.utility.time().tsNow;let B;if(n instanceof Error)B=n;else{let de;n==null||typeof n.toString!="function"?de="UNKNOWN":de=n.toString(),B=new Error(de)}const ie=this._wrapUserPayload(i,o,!0),ee={name:B.name,message:B.message,stack:B.stack,userPayload:ie,activityId:f};return this._logInternal(this.name,y,ee,C,h)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var o;e.utility.requireArgument(n,"name"),e.utility.requireArgumentIfDefined(i,"options","object");let f;const h=(o=i==null?void 0:i.instrumentationContext)===null||o===void 0?void 0:o.rootId;return h?f={rootId:h,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled}:f=this._nextGen.getDefaultInstrumentationContext(),new k(n,f.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Q,void 0,f.isRootActivitySampled)},Ie)}_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}}_handleActivityStop(n){if(n.stopReason===G)return;const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,o){this._logInternal(this.name,r,n,i,o)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}_getPayloadFromProvider(n){const i=(n==null?void 0:n.getPayload())||void 0;return i&&this._checkInputs(i.schema,i.payload),i}domEvent(n,i,o,f,h){this._safety.tryCatch(()=>{var C;const B=e.utility.time().tsNow;e.utility.requireArgument(n,"event",[Event,ut]),e.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let ie;i instanceof HTMLElement?ie=i:(i=i,((C=i.template)===null||C===void 0?void 0:C.host)instanceof HTMLElement?ie=i.template.host:e.utility.requireArgument(void 0,"handledBy"));const ee=this._wrapUserPayload(o,f,!0),de=this._getEffectiveRootId(h);switch(n.type){case"click":{const fe=n,we=this._nextGen.getClickTracker();we&&we.markEventHandled(fe);const $e=Pe.getMouseEventData(fe),Be=Pe.getInstrumentedEventData($e,ie,ee);Be.auto=h==null?void 0:h._auto,this._logInternal(this.name,I,Be,B,de);break}default:throw new Error(e.utility.notImplemented)}})}incrementCounter(n,i=1,o=!1,f={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",g),e.utility.checkForReservedCharacters(n,"operation",c),e.utility.requireArgument(i,"increment","number"),e.utility.requireArgument(o,"hasError","boolean"),e.utility.requireArgument(f,"tags","object"),Object.entries(f).forEach(h=>{e.utility.requireArgument(h[1],`Tag value for '${h[0]}'`,["string","number","boolean"])}),this._metrics.incrementCounter(n,i,o,f)})}trackValue(n,i,o=!1,f={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",g),e.utility.checkForReservedCharacters(n,"operation",c),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(o,"hasError","boolean"),e.utility.requireArgument(f,"tags","object"),Object.entries(f).forEach(h=>{e.utility.requireArgument(h[1],`Tag value for '${h[0]}'`,["string","number","boolean"])}),this._metrics.trackValue(n,i,o,f)})}bucketValue(n,i,o=[],f=!1,h={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",g),e.utility.checkForReservedCharacters(n,"operation",c),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(o,"buckets",Array),Object.entries(o).forEach(C=>{e.utility.requireArgument(C[1],`Bucket value for '${C[0]}'`,"number")}),e.utility.requireArgument(f,"hasError","boolean"),e.utility.requireArgument(h,"tags","object"),Object.entries(h).forEach(C=>{e.utility.requireArgument(C[1],`Tag value for '${C[0]}'`,["string","number","boolean"])}),this._metrics.bucketValue(n,i,o,f,h)})}_checkInputs(n,i){e.schemaUtil.checkSchema(n),e.utility.requireArgument(i,"data","object");let o,f;i.userPayload!==void 0&&e.schemaUtil.isInternal(n)&&(f=i.userPayload,o=Je.validate(f.schema,f.payload,!0),this._processValidationResults(e.schemaUtil.getSchemaId(f.schema),f.payload,o),i.userPayload=void 0),o=Je.validate(n,i,!0),this._processValidationResults(e.schemaUtil.getSchemaId(n),i,o),f!==void 0&&(i.userPayload=f)}_processValidationResults(n,i,o){for(let f=0;f<o.length;f+=1){const h=o[f];if(h.errorCode==6||h.errorCode==7){const C=h.fields.length-1,B=this._traverseFields(i,h.fields.slice(0,C)),ie=h.fields[C];h.errorCode==6?B[ie]=B[ie].substring(0,_e):B[ie].splice(ke)}else throw new Error(h.asMessage(n))}}_traverseFields(n,i){return i.length?this._traverseFields(n[i[0]],i.slice(1)):n}getUpCounters(){return this._metrics.getUpCounters().filter(n=>n.getLastUpdatedOn())}getValueRecorders(){return this._metrics.getValueRecorders().filter(n=>n.getLastUpdatedOn())}getBucketHistograms(){return this._metrics.getBucketHistograms().filter(n=>n.getLastUpdatedOn())}registerForLogPrompt(n){e.utility.requireArgument(n,"listener","function"),this._nextGen.registerForLogPrompt(n)}activity(n,i,o){var f,h,C,B;const ie=this.startActivity(n,o);try{return i(ie)}catch(ee){throw ie.error(ee,(f=o==null?void 0:o.errorPayload)===null||f===void 0?void 0:f.schema,(h=o==null?void 0:o.errorPayload)===null||h===void 0?void 0:h.payload),ee}finally{ie.stop((C=o==null?void 0:o.stopPayload)===null||C===void 0?void 0:C.schema,(B=o==null?void 0:o.stopPayload)===null||B===void 0?void 0:B.payload)}}async activityAsync(n,i,o){var f,h,C,B;const ie=this.startActivity(n,o);try{return await i(ie)}catch(ee){throw ie.error(ee,(f=o==null?void 0:o.errorPayload)===null||f===void 0?void 0:f.schema,(h=o==null?void 0:o.errorPayload)===null||h===void 0?void 0:h.payload),ee}finally{ie.stop((C=o==null?void 0:o.stopPayload)===null||C===void 0?void 0:C.schema,(B=o==null?void 0:o.stopPayload)===null||B===void 0?void 0:B.payload)}}}A.defaultAppName="APP_NOT_REGISTERED";class W extends k{constructor(n,i,o,f,h){super(n,void 0,i,o,void 0,f||e.utility.generateUniqueId(32),h)}get preRootId(){return this._preRootId}set preRootId(n){this._preRootId=n}_getDetail(n,i){const o=super._getDetail(n,i);return o.isRoot=!0,o.preRootId=this.preRootId,o}}const F=new Array(32).fill(0).join("");class U{getId(){return F}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}}const ne=Object.freeze(new U);class Y extends A{constructor(n,i,o){super(n,i);this._allowMulti=o,this._onRootActivityStoppedCallback=this._handleRootActivityStop.bind(this)}startRootActivity(n,i,o){return this._safety.tryCatchReturn(()=>{e.utility.requireArgument(n,"name");const f=new W(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,o);if(!this._allowMulti){if(this._singleRootActivity&&!this._singleRootActivity.isStopped){const h=this._singleRootActivity.getId();this._singleRootActivity.terminate(),f.preRootId=h}this._singleRootActivity=f}return f},ne)}_handleRootActivityStop(n){if(n.stopReason===G)return;const i=this._getActivityData(n);this._logActivity(i,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 st(this.name,()=>this.name)}}const x=5;class J{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),e.utility.requireArgument(n,"_instr"),e.utility.requireArgument(i,"_doc")}activate(){this._isActive||(this._doc.addEventListener("click",this._boundClickListener,!0),this._isActive=!0)}deactivate(){this._isActive&&(this._doc.removeEventListener("click",this._boundClickListener,!0),this._isActive=!1)}markEventHandled(n){this._ignoredEvent=n}_clickListener(n){var i;let o=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!o||!o.length)&&(o=n.path);const f=this._getClickableElement(o);f&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,f,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,o;const f=n?Math.min(n.length,x):0;for(let h=0;h<f;h+=1){const C=n[h],B=(i=C.tagName)===null||i===void 0?void 0:i.toLowerCase();if(B==="a"||B==="button")return C;if(B==="input"){const ie=C;if(((o=ie.type)===null||o===void 0?void 0:o.toLowerCase())==="button")return ie}}}}const me="o11y:receiver";var ve;(function(z){z[z.Unknown=0]="Unknown",z[z.Opening=1]="Opening"})(ve||(ve={}));class Re{constructor(n,i,o){this._logCallback=n,this._metricsCallback=i,this._commErrorCallback=o,this._senders=new Map,e.utility.requireArgument(this._logCallback,"_logCallback","function"),e.utility.requireArgument(this._metricsCallback,"_metricsCallback","function"),e.utility.requireArgument(this._commErrorCallback,"_commErrorCallback","function")}openComms(n){if(e.utility.requireArgument(n,"sender","object"),!this._senders.has(n)){const i=new MessageChannel,o={state:ve.Opening,port:i.port1};this._senders.set(n,o),o.port.onmessage=this._messagePortEventHandler.bind(this),o.port.onmessageerror=this._messagePortErrorHandler.bind(this),n.postMessage({from:me,type:ye},"*",[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===Ae?this._logCallback(n.data.data):n.data.type===Te&&this._metricsCallback(n.data.data)}_messagePortErrorHandler(){this._commErrorCallback()}}const ye="handshake",Ae="log",Te="metrics";class xe{constructor(n,i){this._self=n,this._allowedOrigins=i,this._messageEventHandlerFunc=this._messageEventHandler.bind(this),this._handshakeComplete=!1,this._logBuffer=[],this._metricsBuffer=[],e.utility.requireArgument(this._self,"_self","object"),e.utility.requireArgumentIfDefined(i,"allowedOrigins",Array),this._self.addEventListener("message",this._messageEventHandlerFunc)}_messageEventHandler(n){n.data.from===me&&n.data.type===ye&&n.ports[0]instanceof MessagePort&&e.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:Ae,data:n}):this._logBuffer.push(n)}sendMetrics(n){this._handshakeComplete?this._otherPort.postMessage({type:Te,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 P{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,o,f;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(h=>new it(h.name,h.ownerName,h.ownerAppName,e.metricsUtility.getMetricsTags(h.tags),h.createdTimestamp,h.lastUpdatedTimestamp,h.value))),((o=n.valueRecorders)===null||o===void 0?void 0:o.length)&&this._valueRecorders.push(...n.valueRecorders.map(h=>new ze(h.name,h.ownerName,h.ownerAppName,e.metricsUtility.getMetricsTags(h.tags),h.createdTimestamp,h.lastUpdatedTimestamp,h.values))),((f=n.bucketHistograms)===null||f===void 0?void 0:f.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(h=>new nt(h.name,h.ownerName,h.ownerAppName,e.metricsUtility.getMetricsTags(h.tags),h.buckets,h.createdTimestamp,h.lastUpdatedTimestamp,h.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 q=1e3;class ae{constructor(n,i){this._connector=n,this._pollInterval=q,e.utility.requireArgument(n,"_connector","object"),e.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,o){const f={schema:n,data:i,logMeta:o};this._connector.sendLog(f)}receiveMetricsExtractors(n){this._metricsExtractors=n,this._collectAndSendMetrics(),setInterval(this._collectAndSendMetrics.bind(this),this._pollInterval)}_collectAndSendMetrics(){const n={upCounters:e.metricsUtility.getUpCounters(this._metricsExtractors.getAllUpCounters()),valueRecorders:e.metricsUtility.getValueRecorders(this._metricsExtractors.getAllValueRecorders()),bucketHistograms:e.metricsUtility.getBucketHistograms(this._metricsExtractors.getAllBucketHistograms())};(n.upCounters.length||n.valueRecorders.length||n.bucketHistograms.length)&&this._connector.sendMetrics(n)}}const se=80,Le="_CUT",et=se-Le.length;function tt(){}class Qe{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}registerApp(n,i){var o;if(e.utility.requireArgument(n,"name","string"),this._appInstr)throw new Error("An app has already been registered with instrumentation.");if(this._instruments.get(n))throw new Error(`The instrumentation name ${n} is already taken`);if(this._initOpMode(i==null?void 0:i.operationMode),this._isSender=this._opMode==="sender",this._isReceiver=this._opMode==="receiver",this._clientSessionId=((o=i==null?void 0:i.clientSessionId)===null||o===void 0?void 0:o.toString())||e.utility.generateUniqueId(),this._appInstr=new Y(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const C=new ae(new xe(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(C),this.registerMetricsCollector(C)}else this._isReceiver&&(this._metricsStore=new P,this._receiverConnector=new Re(C=>{C.logMeta.receiverClientSessionId=this._clientSessionId,C.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(C.schema,C.data,C.logMeta)},C=>{this._metricsStore.add(C)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const h=new m(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:h.networkInstrumentation.bind(h),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?tt:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?tt: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):tt,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):tt}}getInstrumentation(n){e.utility.requireArgument(n,"name","string"),n.length>se&&(n=n.substring(0,et)+Le);let i=this._instruments.get(n);if(!i)i=new A(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}addLog(n,i,o,f,h,C,B){this._sequence+=1;const ie=e.schemaUtil.isInternal(i)&&(o==null?void 0:o.userPayload)?o.userPayload.schema:i,ee=e.schemaUtil.getSchemaId(ie);let de=this._seqBySchema.get(ee)||0;de+=1,this._seqBySchema.set(ee,de),this._isSender||(o=e.utility.clone(o));const fe={timestamp:f,rootId:h,sequence:this._sequence,schemaSequence:de,loggerName:n,pagePayload:C||void 0,appPayload:B||void 0,loggerAppName:this.appName,connectionType:e.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:e.utility.getAge(f)};return this._isBufferingEnabled&&this._buffer.push({schema:i,data:o,logMeta:fe}),this._multiplex(i,o,fe),this._sequence}_multiplex(n,i,o){const f=Array.from(this._logCollectors).filter(h=>{var C;return!this._forceDisabledLogCollectors.has(h)&&!((C=h.getIsCollectDisabled)===null||C===void 0?void 0:C.call(h))});if(f.length>0)for(const h of f){let C=this._logCollectorFailures.get(h)||0;try{h.collect(n,i,o),C>0&&this._logCollectorFailures.set(h,C-1)}catch(B){C+=1,C>=Qe._collectorFailureLimit?(this._forceDisabledLogCollectors.add(h),this._appInstr&&(typeof B=="string"||B instanceof Error)&&this._appInstr.error(B)):this._logCollectorFailures.set(h,C)}}}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 J(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(e.utility.requireArgument(n,"collector"),!this._logCollectors.has(n)&&(this._logCollectors.add(n),this._logCollectorFailures.set(n,0),(!n.getIsCollectDisabled||!n.getIsCollectDisabled())&&(i==null?void 0:i.retroactive)))for(const o of this._buffer)n.collect(o.schema,o.data,o.logMeta)}registerMetricsCollector(n){if(e.utility.requireArgument(n,"collector"),this._metricsCollector)throw new Error("A metrics Collector is already registered.");this._metricsCollector=n,this._metricsCollector.receiveMetricsExtractors({getAllUpCounters:this._getAllUpCounters.bind(this),getAllValueRecorders:this._getAllValueRecorders.bind(this),getAllBucketHistograms:this._getAllBucketHistograms.bind(this)})}_getAllUpCounters(){var n;return Array.from(this._instruments.values()).map(o=>o.getUpCounters()).reduce((o,f)=>o.concat(f),((n=this._metricsStore)===null||n===void 0?void 0:n.getUpCounters())||[])}_getAllValueRecorders(){var n;return Array.from(this._instruments.values()).map(o=>o.getValueRecorders()).reduce((o,f)=>o.concat(f),((n=this._metricsStore)===null||n===void 0?void 0:n.getValueRecorders())||[])}_getAllBucketHistograms(){var n;return Array.from(this._instruments.values()).map(o=>o.getBucketHistograms()).reduce((o,f)=>o.concat(f),((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(o){if(!e.utility.isProduction)throw o}}getClientSessionId(){return this._clientSessionId}_initOpMode(n){if(typeof n=="function"&&(n=n()),(n===void 0||typeof window!="object")&&(n="default"),["default","receiver","sender"].indexOf(n)>=0)this._opMode=n;else throw new Error(`Invalid operation mode: ${n}`)}getOperationMode(){return this._opMode}}Qe._collectorFailureLimit=5;class p{get _lazyNextGen(){return this._nextgen||(this._nextgen=new Qe(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,e.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){(!i||i.isProduction!==!1)&&e.utility.markProduction();const o=this._lazyNextGen.registerApp(n,i);return i&&(this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),o}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const j=e.utility.time.bind(e.utility),X={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},Z={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},le="black",be="Gainsboro";class Ge{constructor(n){n&&this._log("ConsoleCollector",n)}collect(n,i,o){let f,h,C;n.namespace==="sf.instrumentation"?(f=n.name,h=Z[n.name]||le,C=X[n.name]||be):f=e.schemaUtil.getSchemaId(n),this._log(f,i,o,h,C)}_log(n,i,o,f=le,h=be){const C=`color:${f};background-color:${h}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",C,i||"",o||"")}}const We="246.5.0",ct=new l({logThreshold:300,reportListener:z=>{Ke==null||Ke.log(v,z)},errorListener:(z,n)=>{Ke==null||Ke.error(z,n)}}),rt=new p(ct),ft=rt.registerInstrumentedApp.bind(rt),Ue=rt.getInstrumentation.bind(rt),Ke=Ue("IdleDetector");t.ConsoleCollector=Ge,t._version=We,t.getInstrumentation=Ue,t.idleDetector=ct,t.registerInstrumentedApp=ft,t.time=j,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/o11y/v/1",["exports"],function(t){"use strict";const e={};t._o11y=e,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/expressions/v/1",["exports"],function(t){"use strict";let e;const r="1970-01-01T",y="T00:00:00",v="provider",I="providers";function w(m){return m!==null&&typeof m=="object"}function N(m){try{const D=m?.indexOf(":")>-1,S=m?.indexOf("-")>-1;return m===""||!D&&!S?null:(typeof m=="string"&&(S||(m=r+m),D||(m=m+y),m=m.trim().replace(" ","T"),m.endsWith("Z")||(m+="Z")),new Date(m))}catch(D){return null}}function d(m){try{const D=m(),S=Reflect.get(this,I);for(const H of S)if(!H?.hasData?.())throw new Error;return D??null}catch(D){return}}function l(m){return w(this)&&(Reflect.set(this,v,m),Reflect.get(this,I).push(m)),m?.getData?.()}function a(m={},D){if(!!m&&Object.prototype.hasOwnProperty.call(m,D))return m[D]}function s(m,D){Array.isArray(m)||(m=[m]);const S=m.filter(D);if(!!S.length)return S.length===1?S[0]:S}function u(m,D){if(w(this)&&Reflect.has(this,v)){const S=Reflect.get(this,v);if(Reflect.deleteProperty(this,v),!S?.hasData?.(D))throw new Error;const H=Reflect.get(this,I);H.indexOf(S)>=0&&H.splice(H.indexOf(S),1)}return typeof D=="string"&&Array.isArray(m)?(m=m.map(S=>S[D]).filter(S=>S!==void 0),m.length===0?void 0:m.length===1?m[0]:m):m?.[D]}function _(){}const E={toDate(m){if(m!=null){const D=N(m)?.setUTCHours(0,0,0,0);if(D!==void 0&&!isNaN(D))return new Date(D)}return null},toTime(m){if(m!=null){const D=N(m)?.setUTCFullYear(1970,0,1);if(D!==void 0&&!isNaN(D))return new Date(D)}return null},toDatetime(m){return m!=null?N(m):null},isBlank(m){return!m&&typeof m!="number"},contains(m,D){return m!=null?m.includes(D):!1},begins(m,D){return D==null?!0:m!=null?m.toString().startsWith(D.toString()):!1}},R=(...m)=>(e={[I]:[],[v]:null},d.apply(e,m)),T=(...m)=>l.apply(e,m),M=(...m)=>u.apply(e,m),L=(...m)=>a.apply(e,m),$=(...m)=>s.apply(e,m),V=(...m)=>_.apply(e,m);t.EXPR_CLOSURE=R,t.EXPR_FILTER=$,t.EXPR_FUNCTION=V,t.EXPR_GLOBAL=L,t.EXPR_MEMBER=M,t.EXPR_PROVIDER=T,t.EXPR_RUNTIME=E,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/routerContainer/v/1",["exports","lwc/v/3_0_4","webruntime/errors/v/1_66_441-246_0","lwr/navigation/v/0_10_11","webruntime/routingService/v/1","webruntime/defaultView/v/1_66_441-246_0"],function(t,e,r,y,v,I){"use strict";function w(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var N=w(I),d=void 0;class l extends e.LightningElement{constructor(...u){super(...u);this.view=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.attributes={},this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(u){this._routeParams=u}render(){return this.generatedTemplateHtml}connectedCallback(){const u=this.view||N.default;this.generatedTemplateHtml=u.html,this.attributes=u.attributes(this,this.routeParams),this.subscription=v.subscribe(this.routeChange.bind(this))}viewChange(u){v.handleExtraRouteParams(this.route),this.generatedTemplateHtml=u.html;const{state:_,attributes:E}=this.route;this._routeParams={..._,...E},this.attributes=u.attributes(this,this.routeParams)}routeChange(u){this.route=u.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(u,_){r.reportError({subject:"router level error",error:u,wcstack:_})}renderedCallback(){this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})),this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}}))}}l.renderMode="light",e.registerDecorators(l,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:y.CurrentView,method:1,config:function(s){return{}}}},fields:["_routeParams","generatedTemplateHtml","attributes","route"]});var a=e.registerComponent(l,{tmpl:d,sel:"webruntime-router-container",apiVersion:59});t.default=a,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/componentContainer/v/1",["exports","lwc/v/3_0_4"],function(t,e){"use strict";function r(a,s,u){var _=a?"."+a+"-host":"";return(s?":host {":_+" {")+"display: flow-root;}"}r.$scoped$=!0;var y=[r];const v={key:0},I=[];function w(a,s,u,_){const{s:E}=a;return E("",v,I,u)}var N=e.registerTemplate(w);w.slots=[""],w.stylesheets=[],w.renderMode="light",y&&w.stylesheets.push.apply(w.stylesheets,y),w.stylesheetToken="lwc-4k1qbp7cls1",w.legacyStylesheetToken="webruntime-componentContainer_componentContainer",e.freezeTemplate(w);class d extends e.LightningElement{}d.renderMode="light";var l=e.registerComponent(d,{tmpl:N,sel:"webruntime-component-container",apiVersion:59});t.default=l,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/slotContainer/v/1",["exports","lwc/v/3_0_4"],function(t,e){"use strict";const r=[];function y(N,d,l,a){const{s}=N;return d.isVisible?s("",{key:0,slotData:d.variations},r,l):r}var v=e.registerTemplate(y);y.slots=[""],y.stylesheets=[],y.renderMode="light",y.stylesheetToken="lwc-769n4j124ma",y.legacyStylesheetToken="webruntime-slotContainer_slotContainer",e.freezeTemplate(y);class I extends e.LightningElement{constructor(...d){super(...d);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const d={},l=!!this.variationExpressions?.find(u=>u===!0),a=this.variationExpressions?.findIndex(u=>u===!0),s=this.variationExpressions?.findIndex(u=>typeof u=="undefined")!==-1;return this.variationExpressions?.forEach(function(u,_){const E=`variation${_+1}`;s||l&&a!==_?d[E]=!1:u===!0?d[E]=!0:(typeof u=="undefined",d[E]=!1)}),d.variation0=!l&&!s,d}}I.renderMode="light",e.registerDecorators(I,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});var w=e.registerComponent(I,{tmpl:v,sel:"webruntime-slot-container",apiVersion:59});t.default=w,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/visibilityContainer/v/1",["exports","lwr/loaderLegacy/v/0_10_11","lwc/v/3_0_4","@app/isDesignMode/v/1"],function(t,e,r,y){"use strict";function v(E){return E&&typeof E=="object"&&"default"in E?E:{default:E}}var I=v(y);function w(E,R,T){var M=E?"."+E+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(R?":host.webruntime-visibility-container.dxp-sm-hide {":M+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(R?":host.webruntime-visibility-container.dxp-md-hide {":M+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(R?":host.webruntime-visibility-container.dxp-lg-hide {":M+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}w.$scoped$=!0;var N=[w];const d={key:0},l=[];function a(E,R,T,M){const{s:L}=E;return R.hidden?l:L("",d,l,T)}var s=r.registerTemplate(a);a.slots=[""],a.stylesheets=[],a.renderMode="light",N&&a.stylesheets.push.apply(a.stylesheets,N),a.stylesheetToken="lwc-7ethp7o0ig8",a.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",r.freezeTemplate(a);class u extends r.LightningElement{constructor(...R){super(...R);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const R={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 T="";Object.values(R).forEach(M=>{M.isHidden?this.classList.add(M.class):T+=T?`, ${M.mediaQuery}`:M.mediaQuery}),I.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),e.load("webruntime/formFactor/v/1").then(({getFormFactor:M})=>{if(typeof window!="undefined"&&!I.default&&R[M()].isHidden){if(T){const L=window.matchMedia(T),$=V=>{V.matches&&(this.hidden=!1,L.removeEventListener("change",$))};L.addEventListener("change",$)}}else this.hidden=!1})}}u.renderMode="light",u.validationOptOut=["class"],r.registerDecorators(u,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});var _=r.registerComponent(u,{tmpl:s,sel:"webruntime-visibility-container",apiVersion:59});t.default=_,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("lwr/router/v/0_10_11",["exports","lwc/v/3_0_4","lwr/routerUtils/v/0_10_11","lwr/routerErrors/v/0_10_11","lwr/observable/v/0_10_11"],function(t,e,r,y,v){"use strict";class I{constructor(d){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=v.createObservable(),this.config={basePath:d.basePath||"",caseSensitive:Boolean(d.caseSensitive),routes:d.routes||[],generateUrl:s=>r.getUrlFromPageReference(s,this.compiledRoutes,this.config.basePath),parseUrl:s=>r.getPageReferenceFromUrl(s,this.compiledRoutes,this.config.basePath)};const{DEPRECATED_getRouteFromUrl:l,DEPRECATED_getUrlFromRoute:a}=d;l&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=l),a&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=a),this.compiledRoutes=r.parseRoutes(this.config)}generateUrl(d){const{DEPRECATED_getUrlFromRoute:l}=this.deprecatedConfig;return l?l(d,this.config.generateUrl):this.config.generateUrl(d)}parseUrl(d){const{DEPRECATED_getRouteFromUrl:l}=this.deprecatedConfig;return l?l(d,this.config.parseUrl):this.config.parseUrl(d)}matchRoute(d){const l=typeof d=="string"?d:this.generateUrl(d);if(l===null)return null;const a=r.matchRouteByUrl(l,this.compiledRoutes,this.config.basePath),s=a&&r.getUrlFromPageReferenceAndRouteDef(a.route.pageReference,a.routeDefinition,this.config.basePath);return!a||!s?null:{pathMatch:s,route:a.route,routeDefinition:a.routeDefinition.original}}async resolveView(d){return new Promise((l,a)=>{const s=this.matchRoute(d);return s?s.routeDefinition.handler().then(u=>{const _=u.default;if(!_)return a(y.generateMessage(y.messages.INVALID_ROUTE_HANDLER,[s.routeDefinition.id]));const E=new _(l);E&&E.update(s.route)}):a(y.generateMessage(y.messages.NO_ROUTE_MATCH,[JSON.stringify(d)]))})}navigate(d){const l=this.matchRoute(d);if(!l)throw new Error(y.generateMessage(y.messages.MISSING_ROUTE,[JSON.stringify(d)]));this.pendingRoute={...l},this._mapView(this.pendingRoute)}subscribe(d,l){return this.routeObservable.subscribe({next:d,error:()=>{},complete:()=>{}},Boolean(l))}async _mapView(d){const l=Math.random();this.routeHandlerId=l;const s=(await d.routeDefinition.handler()).default;if(!s)throw new Error(y.generateMessage(y.messages.INVALID_ROUTE_HANDLER,[d.routeDefinition.id]));return this.routeHandler=new s(u=>{this._updateView(l,u)}),this.routeHandler&&this.routeHandler.update(d.route),!0}_updateView(d,l){if(!l||d!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const a=r.freeze(l.viewset);this.routeObservable.next({...this.pendingRoute,...l,viewset:a})}}e.registerDecorators(I,{fields:["deprecatedConfig","routeHandlerId"]});function w(N={}){return new I(N)}t.createRouter=w,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_10_11"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/a11yService/v/1_66_441-246_0",["exports"],function(t){"use strict";const e="sf-aria-live",r="tabindex",{document:y}=globalThis;function v(N){if(y&&N?.routeDefinition){let d=y.body.querySelector(`#${e}`);d||(d=y.createElement("span"),d.id=e,d.setAttribute("aria-live","polite"),d.setAttribute("aria-atomic","true"),d.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;"),y.body.appendChild(d)),d.innerText=N.routeDefinition.label}}function I(N){y&&N?.routeDefinition?.label!=null&&(y.title=N.routeDefinition.label)}function w(N){if(!y)return;const d=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>a.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),l=N?y.body:d.nextNode();l&&(l.setAttribute(r,"-1"),l.focus({preventScroll:!0}),l.removeAttribute(r))}t.ARIA_LIVE_ID=e,t.TAB_INDEX_ATTR_NAME=r,t.ariaLiveNavigate=v,t.updateFocus=w,t.updateTitle=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/routingService/v/1",["exports","lwr/loaderLegacy/v/0_10_11","@communities-webruntime/common/v/1_66_441-246_0","webruntime/views/v/1","webruntime/a11yService/v/1_66_441-246_0","lwr/router/v/0_10_11","webruntime/overrides/v/1","lwr/navigation/v/0_10_11","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/logger/v/1_66_441-246_0","webruntime/utils/v/1_66_441-246_0","lwr/routerErrors/v/0_10_11","webruntime/o11y/v/1","webruntime/transport/v/1","@app/extraRouteParams/v/1"],function(t,e,r,y,v,I,w,N,d,l,a,s,u,_,E,R,T){"use strict";function M(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var L=M(y),$=M(d),V=M(l),m=M(a),D=M(T);function S(p){const j=[],X=[];p.forEach(le=>{le.uri.includes("?")?X.push(le):j.push(le)});const Z=[];return X.forEach(le=>{const be=[],Ge=le.uri.split("/");let We,ct,rt="";Ge.forEach(z=>{z.endsWith("?")?(We=z.substring(0,z.length-1),be.push({value:We,isOptional:!0}),ct=We.substring(1),rt=le.page.attributes?.[ct]?"attributes":"state"):be.push({value:z,isOptional:!1})});const ft={...le,uri:be.map(z=>z.value).join("/")};Z.push(ft);const Ue={};Object.keys(le.page[rt]).forEach(z=>{z!==ct&&(Ue[z]=le.page[rt][z])});const Ke={...le,uri:be.filter(z=>!z.isOptional).map(z=>z.value).join("/"),page:{...le.page,[rt]:Ue}};Ke.patterns&&(Ke.patterns=Object.fromEntries(Object.entries(Ke.patterns).filter(([z])=>z!==ct))),Z.push(Ke)}),[...j,...Z]}function H(p){const j=[],X=[];return p.forEach(Z=>{const{type:le,attributes:be={},state:Ge={}}=Z.page||{};if(le==="standard__objectPage")if(G(be.actionName))j.push(Z);else{let We;be.actionName==="list"?(We={...Z,page:{...Z.page,attributes:{...be},state:{...Ge}}},We.page.attributes.actionName="home"):be.actionName==="home"?(We={...Z,page:{...Z.page,attributes:{...be},state:{...Ge}}},We.page.attributes.actionName="list"):be.actionName||(Z.page.attributes.actionName="home",We={...Z,page:{...Z.page,attributes:{...be},state:{...Ge}}},We.page.attributes.actionName="list"),j.push(Z,We)}else X.push(Z)}),[...j,...X]}function G(p){return p&&p.length>1?p.startsWith(":"):!1}const ge={};function k(p){const{pathname:j,search:X,hash:Z}=new URL(p,window.location.origin);return{pathname:j,search:X,hash:Z}}async function pe(p){const{pathname:j,search:X,hash:Z}=k(p);if(ge[j])return ge[j]+X+Z;if(Object.values(ge).includes(j))return p;try{const{redirected:le,url:be}=await R.fetch(p,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(le){const Ge=k(be).pathname;return ge[j]=Ge,Ge+X+Z}}catch(le){s.logError(`Unable to fetch canonical URL for ${p}`,`error:
`,le)}return null}async function Ee(p,j){const{route:X,routeDefinition:Z}=j;if(Z?.metadata?.hasVanityURL){const le=p.generateUrl(X.pageReference),be=await pe(le);if(be&&be!==le){const Ge={type:"standard__webPage",attributes:{url:be}};return N.navigate(p.contextId,Ge,!0),!0}}return!1}let Ie=!0;const ue={};function oe(p){const j=p?.attributes?.urlName||p?.attributes?.urlPath;if(j){const X=p?.attributes?.objectApiName||"";return`${j}:${X}`}return null}function Pe(p){p.extraRouteParams&&(_e(p,p.extraRouteParams),delete p.extraRouteParams)}function _e(p,j){const X=oe(p);!j||!X||(ue[X]=j)}function ke(p){const j=oe(p);if(j&&j in ue){const X=ue[j];return!(X&&Object.keys(X).length>0)}return!!j}function te(p={}){const{current:j,next:{url:X,route:{pageReference:Z}={}}}=p;return j&&ke(Z)?(window.location.assign(X),!0):!1}function re(p){if(Ie)Ce(p,D.default),_e(p.pageReference,D.default),Ie=!1;else{const j=oe(p?.pageReference),X=ue[j];Ce(p,X)}}function Ce(p,j){Se(j)&&(Se(p?.attributes)&&(p.attributes={...p.attributes,...j}),Se(p?.pageReference?.attributes)&&(p.pageReference.attributes={...p.pageReference.attributes,...j}))}function Se(p){return p&&typeof p=="object"}const Ne="redirectPageContext";function Fe(p){return p?.state?.[Ne]||null}function Oe(p,j,X={}){const{current:Z,next:{route:le}={}}=X;return Fe(le)?(Z?window.location.assign(De(le)):N.navigate(p,j.page,!0),!0):!1}function De(p){if(!p)return null;const j=Fe(p)||window.btoa(window.encodeURIComponent(JSON.stringify(p)));return`${$.default}/?${Ne}=${j}`}const Ve="KnowledgeArticleVersion",Je=[{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:(p,{name:j})=>{const{attributes:X={}}=p;return X.urlName||X.urlPath?!1:X.objectApiName==="ProductCategory"?j==="categoryPath":X.objectApiName==="OrderSummary"?!1:j==="recordName"}}],nt="standard__managedContentPage";function it(p){return Je.find(j=>p.type===j.type)}function ze(p,j=[]){if(p?.type===nt){let X=p.attributes?.contentTypeName;!j.find(le=>le.page.type===nt&&le.page?.attributes?.contentTypeName===X)&&["news","cms_image","cms_document"].indexOf(X)!==-1&&(X=X.startsWith("cms_")?X.substring(4):X,p.attributes.contentTypeName=`sfdc_cms__${X}`),p.attributes&&p.attributes.contentKey&&(p.attributes.urlAlias=p.attributes.contentKey,delete p.attributes.contentKey)}return p}let je;function at(p,j){p.attributes?.objectApiName===Ve&&(je===void 0&&(je=j.find(Z=>Z.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),je&&(p.attributes.objectApiName=je))}function ot(p){return!p.attributes?.urlName&&!p.attributes?.urlPath||(p.type==="standard__recordPage"&&(Ze(p),delete p.attributes.recordId,delete p.state?.recordName,delete p.state?.categoryPath),p.type==="standard__recordRelationshipPage"&&(Ze(p),delete p.attributes.recordId)),p}function Ze(p){p.attributes.recordId&&(p.extraRouteParams={recordId:p.attributes.recordId})}function Xe(p,j){return p.type==="standard__knowledgeArticlePage"&&(p.type="standard__recordPage",p.attributes.actionName="view",p.attributes.objectApiName=Ve,delete p.attributes.articleType),at(p,j),p}function st(p,j){const{params:X,match:Z}=j;X.forEach(le=>{const{type:be,name:Ge,value:We}=le;Z&&!Z(p,le)||p?.[be]?.[Ge]||(p[be]||(p[be]={}),p[be][Ge]=We)})}function ut(p={}){const j=it(p);j&&st(p,j)}function Q(p,j){if(p.state?.categoryPath?.includes("/")||p.attributes?.urlPath?.includes("/")){let[X,Z]=j.split("?");return X=X.replace(/%2F/g,"/"),Z=Z?`?${Z}`:"",X+Z}return j}function c(p){return Object.entries(p?.attributes||{}).filter(([,j])=>j===null).forEach(([j])=>delete p.attributes[j]),p}class b{constructor(j){this.callback=j}dispose(){}update(j){const X=V.default.find(Z=>Z.id===j.id)?.view;this.callback({viewset:{default:()=>L.default(X)}})}}const{window:g,performance:A}=globalThis,W=`${r.WEBRUNTIME_PREFIX}-framework-router`;A?.mark(W);const F=H(S(r.parseRoutes(V.default)));F.forEach(p=>{p.handler=()=>new Promise(j=>{j({default:b})})});const U=F.find(p=>p.metadata.isDefault),ne=V.default.every(p=>p.metadata.isPublic!==!1),Y={basePath:$.default,caseSensitive:!0,routes:F,DEPRECATED_getRouteFromUrl:me,DEPRECATED_getUrlFromRoute:ve},x=I.createRouter(Y);A?.measure(W,W);let J;function me(p,j){const X=j(p);return X?(ut(X),X):U?.page?U.page:null}function ve(p={type:"",attributes:{},state:{}},j){const{type:X,attributes:Z}=p;let le;const be=JSON.parse(JSON.stringify(p));return X==="standard__webPage"?(le=Z.url,le==null?"":P(le)):(X==="standard__managedContentPage"&&ze(be,V.default),Xe(be,F),ot(be),ut(be),c(be),le=j(be),X==="standard__recordPage"&&(le=Q(be,le)),!le&&ne&&(le=De(be)),Pe(be),le)}async function Re(p,j){const{route:X,routeDefinition:Z}=p.next;if(Z?.metadata?.isPublic!==!1)return!0;const{default:le}=await e.load("@app/user/v/1");if(le.isGuest){const be=ae(X.pageReference);return be&&g&&(j.preventDefault(),g.location.href=be),!1}return!0}function ye(p){return Oe(x.contextId,U,p)}function Ae(p){const{current:j,next:X}=p;if(j&&X&&j.routeDefinition.ssr!==X.routeDefinition.ssr){const Z=ae(X.route.pageReference);if(Z)return g.location.assign(Z),!0}return!1}async function Te(p){try{const{detail:{address:j,message:X,code:Z}}=p;if(s.logError(`Routing error: ${X}`),Z===_.messages.PRENAV_FAILED.code)return;if(Z===_.messages.MISSING_ROUTE.code&&!U&&j?.includes("redirectPageContext=")){g?.location.assign(j);return}if(U?.metadata?.isPublic===!1){const{default:le}=await e.load("@app/user/v/1");if(le.isGuest)return}q(U.page)}finally{J?.errorNavigate(p.detail)}}function xe(p){const j=p.detail.address;if(!w.NavigationOverrides.runSync(j)){p.preventDefault();return}const{type:X,attributes:{url:Z}={url:null}}=j;if(X==="standard__webPage"&&Z!=null){if(u.isAbsoluteURL(Z)){g?.open(Z),p.preventDefault();return}const le=x.parseUrl(Z);ne&&(!le||le===U?.page)&&(g?.location.assign(P(Z)),p.preventDefault())}}function P(p){return u.isAbsoluteURL(p)?p:$.default&&p!==$.default&&p.indexOf(`${$.default}/`)!==0?`${$.default}${p}`:p}function q(p){N.navigate(x.contextId,p)}function ae(p){return x.generateUrl(p)}function se(p,j=!0){return typeof g!="undefined"?x.subscribe(p,j):null}let Le;async function et(p){const j=p.detail,X=j.current?.routeDefinition.view;if(X?Le=m.default[X]:Le=null,J?.preNavigate(j),w.PreNavigateOverrides.run(j),Re(j,p),ye(j)){p.preventDefault();return}if(te(j)){p.preventDefault();return}Ae(j)&&p.preventDefault()}async function tt(p){const j=p.detail,X=j.routeDefinition?.view,Z=Le!==m.default[X];try{v.ariaLiveNavigate(j),v.updateTitle(j),v.updateFocus(Z),await Ee(x,j)}finally{J?.postNavigate(j)}}function Qe(p){J=E._o11y.routingSupport,p.addEventListener("prenavigate",et),p.addEventListener("handlenavigation",xe),p.addEventListener("postnavigate",tt),p.addEventListener("errornavigate",Te)}t.generateUrl=ae,t.handleExtraRouteParams=re,t.initializeRouterContainer=Qe,t.navigate=q,t.router=x,t.subscribe=se,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/overrides/v/1",["exports","lwc/v/3_0_4"],function(t,e){"use strict";class r{constructor(){this.overrides=[]}add(d){this.overrides.push(d)}run(...d){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((l,a)=>l.then(s=>s===!1?Promise.resolve(!1):Promise.resolve(a(...d))),Promise.resolve(!0)).then(l=>Promise.resolve(l))}runSync(...d){return this.overrides.length===0?!0:this.overrides.reduce((l,a)=>l===!0?a(...d):!1,!0)}}e.registerDecorators(r,{fields:["overrides"]});const y=new r,v=new r,I=new r,w=new r;t.NavigationOverrides=v,t.Overrides=r,t.PageNavigationFailureOverrides=w,t.PreNavigateOverrides=y,t.SessionTimeoutOverrides=I,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/views/v/1",["exports","lwr/loaderLegacy/v/0_10_11","@communities-webruntime/common/v/1_66_441-246_0"],function(t,e,r){"use strict";function y(v){return e.load(r.getViewModuleSpecifier(v),"webruntime/views/v/1")}t.default=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("webruntime/formFactor/v/1",["exports"],function(t){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function r(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function y(){return e()?"Medium":r()?"Small":"Large"}const v=y();t.default=v,t.getFormFactor=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("wire-service/v/1",["exports"],function(t){"use strict";function e(D){return D===void 0}const r="ValueChangedEvent";class y{constructor(S){this.type=r,this.value=S}}const{freeze:v,defineProperty:I,isExtensible:w}=Object,N="$$DeprecatedWiredElementHostKey$$",d="$$DeprecatedWiredParamsMetaKey$$";function l(D,S){if(D==null||!w(D))throw new TypeError("adapter id must be extensible");if(typeof S!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in D)throw new TypeError("adapter id is already associated to an adapter factory");const H=class extends m{constructor(G){super(G);S(this.eventTarget)}};v(H),v(H.prototype),I(D,"adapter",{writable:!1,configurable:!1,value:H})}function a(){}const{forEach:s,splice:u,indexOf:_}=Array.prototype,E="connect",R="disconnect",T="config";function M(D,S){const H=_.call(D,S);H>-1&&u.call(D,H,1)}function L(D){return Object.keys(D).length===0}function $(D,S){return S.length===0||S.some(H=>!e(D[H]))}function V(D,S,H){return H.some(G=>D[G]!==S[G])}class m{constructor(S){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=S,this.wiredElementHost=S[N],this.dynamicParamsNames=S[d],this.eventTarget={addEventListener:(H,G)=>{switch(H){case E:{this.connecting.push(G);break}case R:{this.disconnecting.push(G);break}case T:{this.configuring.push(G),this.currentConfig!==void 0&&G.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${H}.`)}},removeEventListener:(H,G)=>{switch(H){case E:{M(this.connecting,G);break}case R:{M(this.disconnecting,G);break}case T:{M(this.configuring,G);break}default:throw new Error(`Invalid event type ${H}.`)}},dispatchEvent:H=>{if(H instanceof y){const G=H.value;this.callback(G)}else{if(H.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(H);throw new Error(`Invalid event type ${H.type}.`)}return!1}}}update(S){this.isFirstUpdate&&(this.isFirstUpdate=!1,!L(S)&&!$(S,this.dynamicParamsNames))||(e(this.currentConfig)||V(S,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=S,s.call(this.configuring,H=>{H.call(void 0,S)}))}connect(){s.call(this.connecting,S=>S.call(void 0))}disconnect(){s.call(this.disconnecting,S=>S.call(void 0))}}t.ValueChangedEvent=y,t.register=l,t.registerWireService=a,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("@salesforce/client/formFactor/v/1",["exports"],function(t){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function r(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function y(){return e()?"Medium":r()?"Small":"Large"}const v=y();t.default=v,t.getFormFactor=y,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}),LWR.define("@communities-webruntime/common/v/1_66_441-246_0",["exports"],function(t){"use strict";var e=!0,r="src/labels",y=["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/ldsEngineCreator","force/ldsEngineWebruntime","force/ldsEnvironmentSettings","force/ldsInstrumentation","force/ldsNetwork","force/ldsRecordData","force/ldsStorage","force/luvioEngine","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/seoPropertiesApi","experience/seoPropertiesApiInternal","experience/userApi","experience/userApiInternal","wave","wave/*","tableau/tableauViz"],v="webruntime";function I(te){return`/${v}${te}`}var w=I("/api"),N=I("/log/metrics"),d=I("/log/errors"),l={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},a={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},s=["/sfc/servlet.shepherd","/servlet/servlet.FileDownload","/servlet/fileField","version/renditionDownload"],u=8e3,_="@design";function E(te){return`${_}/${te}`}function R(te){return te.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var T=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),M=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function L(te,re){if(!te)throw new Error(re)}function $(te){if(M.test(te))return te;L(T.test(te),`${te} is an invalid module specifier.`);const re=te.split(/[/:]/),[Ce,Se]=re;return L(!Ce.includes("-"),`${te}'s namespace cannot contain hyphens.`),[Ce.toLowerCase(),R(Se)].join("-")}var V="webruntime",m="js",D="latest",S={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function H(te,re){if(!te)throw new Error(re)}function G(te){const[re,Ce=""]=te.split("://"),[Se,Ne]=Ce.indexOf("@")>0?Ce.split("@"):[Ce];return{type:re,name:Se,locale:Ne}}function ge(te={type:"",name:""},re,Ce,Se=!0){const{name:Ne}=typeof te=="string"?G(te):te;H(Ne,"Name not specified");const Fe=k(te,re,Ce),Oe=Se?`.${m}`:"";return`${Fe}${Ne}${Oe}`}function k(te={type:"",name:""},re,Ce){const{type:Se,locale:Ne}=typeof te=="string"?G(te):te,Fe=Se===S.COMPONENT;return H(Se,"Type not specified"),H(re,"Mode not specified"),H(Ne||!Fe,"Component locale not specified"),`/${V}/${Se}/${Ce||D}/${re}${Ne?`/${Ne}`:""}/`}var pe="@view";function Ee(te){return`${pe}/${te}`}var Ie=["hasVanityURL","isDefault","isPublic","isRoot"],ue=[{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:te},{name:re})=>te?.objectApiName==="ProductCategory"?re==="categoryPath":re!=="categoryPath"}];function oe(te,re){const{match:Ce,params:Se}=re;Se.forEach(Ne=>{if(Ce&&!Ce(te.page,Ne))return;const{type:Fe,name:Oe}=Ne,De=Fe,Ve=De==="state"?"attributes":"state";!te.page?.[Ve]?.[Oe]||(te.page[De]||(te.page[De]={}),te.page[De][Oe]=te.page[Ve][Oe],delete te.page[Ve][Oe])})}function Pe(te){let re=te;return["categoryPath","urlPath"].forEach(Ce=>{re=re.replace(new RegExp(`:${Ce}\\+?`),`:${Ce}+`)}),re}var _e=/\(.*\)/;function ke(te){return te.map(re=>{if(re.uri||(re.uri=re.path),re.metadata||(re.metadata={}),Ie.forEach(Oe=>{Oe in re&&(re.metadata[Oe]=re[Oe],delete re[Oe])}),re.uri){const Oe=re.uri.split("/");for(let De=0;De<Oe.length;De++)if(Oe[De]=Oe[De].replace(_e,""),Oe[De].startsWith(":")){const Ve=Oe[De].substring(1).replace(/[?+]/g,""),Je=`:${Ve}`;re.page.attributes[Ve]||(re.page.attributes[Ve]=Je)}re.uri=Oe.join("/")}re.patternMap&&(re.patterns=re.patternMap,delete re.patternMap);const Ce=re.page?.attributes?.objectApiName;Ce&&!Ce.startsWith(":")&&(re.uri=re.uri.replace(":objectApiName",Ce),re.patterns?.objectApiName&&delete re.patterns.objectApiName);const Se=ue.find(Oe=>re.page?.type===Oe.type);Se&&oe(re,Se);const Ne=re.page?.type;return Ne==="standard__recordPage"&&re.page.attributes?.objectApiName==="ProductCategory"&&(re.uri=Pe(re.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(Ne)&&!re.page?.attributes?.actionName&&(re.page.attributes=re.page.attributes||{},re.page.attributes.actionName="view"),re})}t.API_PATH_PREFIX=w,t.CLIENT_ERROR_TYPES=l,t.ERRORS_PATH_PREFIX=d,t.LABELS_DEFAULT_DIR=r,t.LOCKER_DEFAULT_ENABLED=e,t.MAX_URL_LENGTH=u,t.METRICS_PATH_PREFIX=N,t.MOBILE_APP_USER_AGENTS=a,t.RESOURCE_TYPES=S,t.TRUSTED_COMPONENTS=y,t.VALID_DOWNLOAD_PATHS=s,t.WEBRUNTIME_PREFIX=v,t.convertToKebabCase=R,t.getDesignComponentModuleSpecifier=E,t.getResourceUrl=ge,t.getViewModuleSpecifier=Ee,t.moduleSpecifierToElementName=$,t.parseResourceDescriptor=G,t.parseRoutes=ke,Object.defineProperty(t,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_441-246_0"],function(t,e){t.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(r){r==="default"||t.hasOwnProperty(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})});