1LWR.define("lwr/domRouterUtils/v/0_22_17",["exports","lwr/routerUtils/v/0_22_17"],function(r,t){"use strict";function e(_=""){if(_=_||"",_.indexOf("://")<0){const f=window.location.port?`:${window.location.port}`:"",d=`${window.location.protocol}//${window.location.hostname}${f}`,E=_.charAt(0)==="/"?"":"/";_=d+E+_}const u={},g=document.createElement("a");g.href=_;const l=g.search.substring(1);return l&&l.split("&").forEach(f=>{const[d,E=""]=f.split("=");u[t.decode(d)]=t.decode(E)}),{href:g.href,origin:`${g.protocol}//${g.hostname}${g.port?`:${g.port}`:""}`,pathname:g.pathname.replace(/(\/)?/,"/"),searchParams:u}}function I(_){const u=e(_),g=u.href.replace(/:\d+/,""),l=u.origin.replace(/:\d+/,"");return g.replace(l,"")}function R(_){const u=_.indexOf("#");return u!==-1?_.substring(0,u):_}function W(_,u){const g=u||{};window.history.pushState(g,"",_)}function H(_,u){const g=u||{};window.history.replaceState(g,"",_)}r.getRelativeUrl=I,r.removeFragment=R,r.replace=H,r.set=W,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/metrics/v/0_22_17",["exports"],function(r){"use strict";const t="lwr.bootstrap.",e=`${t}end`,I=`${t}error`,R=`${I}.count`,W=`${t}duration`,H="lwr.bootstrap.init",_=`${H}.duration`,u="lwr.bootstrap.init.module",g=`${u}.duration`,l=`${u}.count`,f="lwr.loader.",d=`${f}module.define`,E=`${d}.count`,v=`${f}module.dynamicLoad`,T=`${v}.count`,S=`${f}module.fetch`,O=`${S}.count`,B=`${S}.duration`,F=`${f}module.error`,X=`${F}.count`,Q=`${f}mappings.fetch`,N=`${Q}.count`,x=`${Q}.duration`,re=`${f}mappings.error`,ue=`${re}.count`,we="lwr.router.",Pe=`${we}navigate`,L=`${Pe}.count`,Fe=`${Pe}.duration`,Me=`${we}view`,o=`${Me}.duration`,p=`${we}error`,c=`${p}.count`;r.BOOTSTRAP_DURATION=W,r.BOOTSTRAP_END=e,r.BOOTSTRAP_ERROR=I,r.BOOTSTRAP_ERROR_COUNT=R,r.BOOTSTRAP_PREFIX=t,r.INIT=H,r.INIT_DURATION=_,r.INIT_MODULE=u,r.INIT_MODULE_COUNT=l,r.INIT_MODULE_DURATION=g,r.LOADER_PREFIX=f,r.MAPPINGS_ERROR=re,r.MAPPINGS_ERROR_COUNT=ue,r.MAPPINGS_FETCH=Q,r.MAPPINGS_FETCH_COUNT=N,r.MAPPINGS_FETCH_DURATION=x,r.MODULE_DEFINE=d,r.MODULE_DEFINE_COUNT=E,r.MODULE_DYNAMIC_LOAD=v,r.MODULE_DYNAMIC_LOAD_COUNT=T,r.MODULE_ERROR=F,r.MODULE_ERROR_COUNT=X,r.MODULE_FETCH=S,r.MODULE_FETCH_COUNT=O,r.MODULE_FETCH_DURATION=B,r.ROUTER_ERROR=p,r.ROUTER_ERROR_COUNT=c,r.ROUTER_NAV=Pe,r.ROUTER_NAV_COUNT=L,r.ROUTER_NAV_DURATION=Fe,r.ROUTER_PREFIX=we,r.ROUTER_VIEW=Me,r.ROUTER_VIEW_DURATION=o,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/observable/v/0_22_17",["exports"],function(r){"use strict";function t(){let e,I,R=[];const W=f=>{R.push(f)},H=f=>{R=[...R.slice(0,f),...R.slice(f+1)]},_=f=>{R.filter(d=>d!==null).forEach(d=>d.next&&d.next(f)),e=f,I=void 0},u=f=>{R.filter(d=>d!==null).forEach(d=>d.error&&d.error(f)),e=void 0,I=f};return{next:_,error:u,complete:()=>{R.filter(f=>f!==null).forEach(f=>f.complete&&f.complete()),R=[],e=void 0,I=void 0},subscribe:(f,d=!0)=>{W(f),e&&d&&f.next(e),I&&u(I);const E=R.length-1;return{unsubscribe:()=>H(E)}}}}r.createObservable=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextProvider/v/0_22_17",["exports","lwc/v/9_1_2","lwr/routerUtils/v/0_22_17","lwr/navigation/v/0_22_17"],function(r,t,e,I){"use strict";const R=t.createContextProvider(I.CurrentPageReference),W=e.hasDocument?t.createContextProvider(I.CurrentView):void 0,H=t.createContextProvider(I.NavigationContext);function _(u,g,l,f){l&&f&&(f.setContext(g,u),l(g,{consumerConnectedCallback:f.subscribeContext.bind(f,g),consumerDisconnectedCallback:f.unsubscribeContext.bind(f,g)}))}r.currentPageReferenceContextualizer=R,r.currentViewContextualizer=W,r.navigationContextContextualizer=H,r.provideContext=_,Object.defineProperty(r,"__esMo
1dule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerUtils/v/0_22_17",["exports","lwr/routerErrors/v/0_22_17"],function(r,t){"use strict";function e(){const P=[],j=()=>P.length===0,k=$=>{typeof $=="function"&&P.push($)};return{add:($=[])=>{Array.isArray($)?$.forEach(U=>k(U)):k($)},compile:$=>P.length===0?Promise.resolve(!0):P.reduce((U,K)=>U.then(Z=>Z===!1?Promise.reject():Promise.resolve(K($))),Promise.resolve(!0)).then(U=>U!==!1).catch(U=>{if(U instanceof Error)throw U;return!1}),empty:j}}function I(P=""){return P=P||"",encodeURIComponent(P)}function R(P=""){return P=P||"",decodeURIComponent(P)}function W(P){P=P||"/",P.charAt(0)!=="/"&&(P="/"+P);const j=P.match(/^[^#?]+/);if(j!==null){const k=j[0];return k==="/"?"/":k.replace(/\/$/,"")}return"/"}function H(P){P=P||"";const j=P.indexOf("#");j>=0&&(P=P.substring(0,j));const k=P.indexOf("?"),A=k>=0?P.substr(k+1):null,M={};return A&&A.split("&").forEach($=>{if($.indexOf("=")>=0){const[U,K=""]=$.split("=");M[R(U)]=R(K)}else M[R($)]=null}),M}function _(P={}){const j=Object.keys(P);return j.length?`?${j.map(k=>{const A=P[k];return A===null?k:`${k}=${I(A)}`}).join("&")}`:""}function u(P){return P&&P.length>1?P.startsWith(":"):!1}function g(P){return P&&u(P)?P.substr(1):!1}function l(P){return Object.values(P).reduce((j,{routeParamName:k})=>{const A=g(k);return A&&j.push(A),j},[])}function f(P,j){if(!P)return null;const{type:k,attributes:A={},state:M={}}=P;if(k){const[$]=j.filter(U=>{const{original:{page:{type:K=null,attributes:Z={},state:ee={}}={}}}=U,ie=K===k,Re=Object.keys(Z).every(Ve=>Object.keys(A).indexOf(Ve)>=0),Ce=Object.keys(Z).length===Object.keys(A).length,ke=Object.keys(ee).every(Ve=>Object.keys(M).indexOf(Ve)>=0),Ae=Object.keys(Z).filter(Ve=>{const w=Z[Ve];return!w||!u(w)}).every(Ve=>Z[Ve]===A[Ve]),qe=Object.keys(ee).filter(Ve=>{const w=ee[Ve];return w===null||!u(w)}).every(Ve=>ee[Ve]===M[Ve]);return ie&&Re&&Ce&&Ae&&ke&&qe});return $||null}return null}function d(P,j){const{regex:k,params:A}=j,M=k.exec(P);if(M){const[,...$]=M,U={};return A.forEach((K,Z)=>{const{name:ee}=K,ie=$[Z];U[ee]=ie&&R(ie)}),U}return null}function E(P,j){if(P&&j){const{queryMatcher:k}=j,A=k(P);if(A){const M={};return Object.keys(A).forEach($=>{const U=A[$],{value:K,routeParamName:Z}=U,ee=Z?Z.substr(1):$;M[ee]=K&&R(K)}),M}}return null}function v(P,j){const{compiledQuery:k}=j,A=Object.keys(k).filter($=>{const{literalValue:U}=k[$];return!U}),M={};return Object.keys(P).forEach($=>{const U=P[$];A.indexOf($)<0&&(M[$]=U)}),M}function T(P,j){if(j){const{original:{page:{type:k="",attributes:A={},state:M={}}={}}={}}=j,$=W(P),U=H(P),K=d($,j),Z=E(U,j);if(K&&Z){const ee={...K,...Z},ie={};Object.keys(A).forEach(ke=>{const Ae=A[ke];let qe;if(Ae&&u(Ae)){const Ve=Ae.substr(1);qe=ee[Ve]}else qe=Ae;ie[ke]=qe});const Re={};Object.keys(M).forEach(ke=>{const Ae=M[ke];let qe;if(Ae&&u(Ae)){const Ve=Ae.substr(1);qe=ee[Ve]}else qe=Ae;Re[ke]=qe});const Ce=v(U,j);return{type:k,attributes:{...ie},state:{...Ce,...Re}}}}return null}const S={locale:"en-US",defaultLocale:"en-US"};function O(P,j,k){const{original:{patterns:A=null}={}}=k||{};if(A){const M=d(P,k),$=E(j,k),U={...M,...$};return Object.keys(A).every(K=>{const Z=A[K],ee=new RegExp(Z),ie=U[K]||"";return ee.test(ie)})}return!0}function B(P,j){const k=W(P),A=H(P),M=j?j.filter(U=>U.regex.test(k)):[],[$]=M.filter(U=>{const{queryMatcher:K}=U;return K(A)&&O(k,A,U)});return $||null}function F(P,j,k="",A=S,M){if(k&&(P===k||P?.search(new RegExp(`^${k}[/?#]`))===0)&&(P=P.replace(k,"")),M?.locale||A?.locale){const K=`/${M?.locale||A.locale}`;(P===K||P?.search(new RegExp(`^${K}[/?#]`))===0)&&(P=P.replace(K,""))}const $=B(P,j);let U;if($){const K=T(P,$);if(K)return U={route:{id:$.original.id,attributes:{...K.attributes},state:{...K.state},pageReference:{type:K.type,attributes:{...K.attributes},state:{...K.state}}},routeDefinition:$},U}else return null;return null}function X(P,j,k="",A=S,M){const $=f(P,j);return $?N(P,$,k,A,M):null}function Q(P,j,k){const{attributeBindings:A,stateBindings:M}=k,{attributes:$,state:U}=j,K={};return P.forEach(Z=>{const[ee]=Object.keys(A).filter(ie=>g(A[ie])===Z);if(ee)K[Z]=$[ee];else{const[ie]=Object.keys(M).filter(Re=>g(M[Re])===Z);ie&&(K[Z]=U[ie])}}),K}
1function N(P,j,k="",A=S,M){const{params:$,original:{page:U={}}={},toPath:K,compiledQuery:Z}=j,{attributes:ee={},state:ie={}}=U,Re=$.filter(({name:ce})=>typeof ce=="string").map(({name:ce})=>ce),Ce=Q(Re,P,{attributeBindings:ee,stateBindings:ie}),ke=K(Ce),Ae=l(Z),qe=Q(Ae,P,{attributeBindings:ee,stateBindings:ie}),Ve=x(P,qe,j),w=_(Ve),ne=M?.locale||A&&A.locale,pe=ne!==A.defaultLocale?`/${ne}`:"";return`${k}${pe}${ke}${w}`}function x(P,j,k){const{compiledQuery:A,original:{page:{state:M={}}}}=k,{state:$={}}=P||{},U={};Object.keys($).filter(Z=>{const ee=M[Z];return!u(ee)}).forEach(Z=>U[Z]=$[Z]);const K={};return Object.keys(j).forEach(Z=>{const ee=j[Z],[ie]=Object.keys(A).filter(Re=>{const Ce=A[Re],{routeParamName:ke}=Ce;return g(ke)===Z});if(ie){const Re=ie;K[Re]=ee}}),{...U,...K}}function re(P,j,k="",A=S){const M=F(P,j,k,A);return M&&M.route&&M.route.pageReference?M.route.pageReference:null}function ue(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function we(P){return typeof P=="string"}function Pe(P,j){return j in P}function L(P,j=2){if(ue(P))try{Object.freeze(P),j>0&&Object.keys(P).forEach(k=>{if(Pe(P,k)){const A=P[k];A&&typeof A=="object"&&L(A,j-1)}})}catch(k){}return P}function Fe(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function Me(P){const j=["id","attributes","state","pageReference"],{pageReference:k=null}=P||{};return ue(P)&&c(P,j)&&o(k)}function o(P){const j=["type","state","attributes"],{type:k,state:A,attributes:M}=P||{},$=ue(P)&&we(k)&&ue(A)&&p(A)&&ue(M)&&p(M);return c(P,j)&&$}function p(P){return Object.keys(P).every(j=>{const k=P[j];return typeof j=="string"&&(typeof k=="string"||k===null)})}function c(P,j){if(ue(P)){const k=j.every($=>Pe(P,$)),M=Object.keys(j).length===j.length;return k&&M}return!1}function G(P){const j=[];let k=0;for(;k<P.length;){const A=P[k];if(A==="*"||A==="+"||A==="?"){j.push({type:"MODIFIER",index:k,value:P[k++]});continue}if(A==="\\"){j.push({type:"ESCAPED_CHAR",index:k++,value:P[k++]});continue}if(A==="{"){j.push({type:"OPEN",index:k,value:P[k++]});continue}if(A==="}"){j.push({type:"CLOSE",index:k,value:P[k++]});continue}if(A===":"){let M="",$=k+1;for(;$<P.length;){const U=P.charCodeAt($);if(U>=48&&U<=57||U>=65&&U<=90||U>=97&&U<=122||U===95){M+=P[$++];continue}break}if(!M)throw new TypeError(`Missing parameter name at ${k}`);j.push({type:"NAME",index:k,value:M}),k=$;continue}if(A==="("){let M=1,$="",U=k+1;if(P[U]==="?")throw new TypeError(`Pattern cannot start with "?" at ${U}`);for(;U<P.length;){if(P[U]==="\\"){$+=P[U++]+P[U++];continue}if(P[U]===")"){if(M--,M===0){U++;break}}else if(P[U]==="("&&(M++,P[U+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${U}`);$+=P[U++]}if(M)throw new TypeError(`Unbalanced pattern at ${k}`);if(!$)throw new TypeError(`Missing pattern at ${k}`);j.push({type:"PATTERN",index:k,value:$}),k=U;continue}j.push({type:"CHAR",index:k,value:P[k++]})}return j.push({type:"END",index:k,value:""}),j}function q(P){return P.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function le(P){return P&&P.sensitive?"":"i"}function Oe(P,j={}){const k=G(P),{prefixes:A="./"}=j,M=`[^${q(j.delimiter||"/#?")}]+?`,$=[];let U=0,K=0,Z="";const ee=Ce=>{if(K<k.length&&k[K].type===Ce)return k[K++].value},ie=Ce=>{const ke=ee(Ce);if(ke!==void 0)return ke;const{type:Ae,index:qe}=k[K];throw new TypeError(`Unexpected ${Ae} at ${qe}, expected ${Ce}`)},Re=()=>{let Ce="",ke;for(;ke=ee("CHAR")||ee("ESCAPED_CHAR");)Ce+=ke;return Ce};for(;K<k.length;){const Ce=ee("CHAR"),ke=ee("NAME"),Ae=ee("PATTERN");if(ke||Ae){let w=Ce||"";A.indexOf(w)===-1&&(Z+=w,w=""),Z&&($.push(Z),Z=""),$.push({name:ke||U++,prefix:w,suffix:"",pattern:Ae||M,modifier:ee("MODIFIER")||""});continue}const qe=Ce||ee("ESCAPED_CHAR");if(qe){Z+=qe;continue}if(Z&&($.push(Z),Z=""),ee("OPEN")){const w=Re(),ne=ee("NAME")||"",pe=ee("PATTERN")||"",ce=Re();ie("CLOSE"),$.push({name:ne||(pe?U++:""),pattern:ne&&!pe?M:pe,prefix:w,suffix:ce,modifier:ee("MODIFIER")||""});continue}ie("END")}return $}function We(P,j={}){const k=le(j),{encode:A=U=>U,validate:M=!0}=j,$=P.map(U=>{if(typeof U=="object")return new RegExp(`^(?:${U.pattern})$`,k)});return U=>{let K="";for(let Z=0;Z<P.length;Z++){const ee=P[Z];if(typeof ee=="string"){K+=ee;continue}const ie=U?U[ee.name]:void 0,Re=ee.modifier==="?"||ee.modifier==="*",Ce=ee.modifier==="*"||ee.modifier==="+";if(Array.isArray(ie)){if(!Ce)throw new TypeError(`Expected "${ee.name}" to not repeat, but got an array`);if(ie.length===0){if(Re)continue;throw new TypeError(`Expected "${ee.name}" to not be empty`)}for(let Ae=0;Ae<ie.length;Ae++){const qe=A(ie[Ae],ee);
1if(M&&!$[Z].test(qe))throw new TypeError(`Expected all "${ee.name}" to match "${ee.pattern}", but got "${qe}"`);K+=ee.prefix+qe+ee.suffix}continue}if(typeof ie=="string"||typeof ie=="number"){const Ae=A(String(ie),ee);if(M&&!$[Z].test(Ae))throw new TypeError(`Expected "${ee.name}" to match "${ee.pattern}", but got "${Ae}"`);K+=ee.prefix+Ae+ee.suffix;continue}if(Re)continue;const ke=Ce?"an array":"a string";throw new TypeError(`Expected "${ee.name}" to be ${ke}`)}return K}}function $e(P,j){return We(Oe(P,j),j)}function je(P,j){if(!j)return P;const k=P.source.match(/\((?!\?)/g);if(k)for(let A=0;A<k.length;A++)j.push({name:A,prefix:"",suffix:"",modifier:"",pattern:""});return P}function Ge(P,j,k={}){const{strict:A=!1,start:M=!0,end:$=!0,encode:U=ie=>ie}=k,K=`[${q(k.endsWith||"")}]|$`,Z=`[${q(k.delimiter||"/#?")}]`;let ee=M?"^":"";for(const ie of P)if(typeof ie=="string")ee+=q(U(ie));else{const Re=q(U(ie.prefix)),Ce=q(U(ie.suffix));if(ie.pattern)if(j&&j.push(ie),Re||Ce)if(ie.modifier==="+"||ie.modifier==="*"){const ke=ie.modifier==="*"?"?":"";ee+=`(?:${Re}((?:${ie.pattern})(?:${Ce}${Re}(?:${ie.pattern}))*)${Ce})${ke}`}else ee+=`(?:${Re}(${ie.pattern})${Ce})${ie.modifier}`;else ee+=`(${ie.pattern})${ie.modifier}`;else ee+=`(?:${Re}${Ce})${ie.modifier}`}if($)A||(ee+=`${Z}?`),ee+=k.endsWith?`(?=${K})`:"$";else{const ie=P[P.length-1],Re=typeof ie=="string"?Z.indexOf(ie[ie.length-1])>-1:ie===void 0;A||(ee+=`(?:${Z}(?=${K}))?`),Re||(ee+=`(?=${Z}|${K})`)}return new RegExp(ee,le(k))}function He(P,j,k){return Ge(Oe(P,k),j,k)}function Ze(P,j,k){return P instanceof RegExp?je(P,j):Array.isArray(P)?_e(P,j,k):He(P,j,k)}function _e(P,j,k){const A=P.map(M=>Ze(M,j,k).source);return new RegExp(`(?:${A.join("|")})`,le(k))}const{INVALID_ROUTE_QUERY:Y,MISSING_ROUTE_TEMPLATE:oe,MISSING_PAGE_BINDING:J,INVALID_PAGE_BINDING:Te,INVALID_URI_SYNTAX:Se}=t.messages;function ze(P){const{routes:j,caseSensitive:k}=P;return j.map(A=>Le(A,k))}function Le(P,j=!1){const k=[],{id:A,uri:M,page:$}=P;t.invariant(!!M,t.generateMessageObject(oe,[A])),t.invariant(Ie(M),t.generateMessageObject(Se,[A])),t.invariant(!!$,t.generateMessageObject(J,[A]));const U=W(M),K=H(M),Z=Ze(U,k,{sensitive:j,end:P.exact!==!1}),ee=$e(U,{encode:encodeURIComponent}),ie=Qe(K),Re=pt(ie,j),Ce={original:P,regex:Z,params:k,toPath:ee,compiledQuery:ie,queryMatcher:Re};return t.invariant(Xe(Ce),t.generateMessageObject(Te,[A])),Ce}function Ie(P=""){return!["*","(",")",";"].some(A=>P.indexOf(A)>=0)}function Xe(P){const{original:{page:j}={},params:k,compiledQuery:A}=P,M=j&&j.type,$=j&&j.attributes||{},U=j&&j.state||{};if(typeof M!="string"||typeof $!="object"||typeof U!="object")return!1;const K=Object.values(k).map(({name:Ae})=>Ae),Z=l(A),ee=[...K,...Z],ie=Object.values($).filter(u).map(g),Re=Object.values(U).filter(u).map(g),Ce=ee.every(Ae=>typeof Ae!="string"?!1:ie.indexOf(Ae)>=0||Re.indexOf(Ae)>=0),ke=ee.length===ie.length+Re.length;return!!(j&&M&&$&&U&&Ce&&ke)}function Qe(P){const j={};return Object.keys(P).forEach(k=>{const A=P[k];t.invariant(u(k)?A===null:!0,Y),u(k)?j[k.substr(1)]={routeParamName:k}:A&&u(A)?j[k]={routeParamName:A}:j[k]={literalValue:A===null?null:A}}),j}function pt(P,j=!1){return A=>{const M=Object.keys(A),$=Object.keys(P);return $.every(K=>M.indexOf(K)>=0)?$.reduce((K,Z)=>{if(K===null)return null;const{literalValue:ee,routeParamName:ie}=P[Z],Re=A[Z];let Ce=!0;return typeof ee=="string"?Ce=j?ee===Re:ee.toUpperCase()===(Re==null?Re:Re.toUpperCase()):ee===null&&(Ce=Re===ee),Ce?K={...K,[Z]:{value:Re,routeParamName:ie}}:K=null,K},{}):null}}const ut=typeof document!="undefined",De={pathToRegexp:Ze,compile:$e};r.DEFAULT_I18N_ROUTER_CONFIG=S,r.createFilterChain=e,r.decode=R,r.encode=I,r.freeze=L,r.getPageReferenceFromUriAndRouteDef=T,r.getPageReferenceFromUrl=re,r.getPathFromUrl=W,r.getQueryFromUrl=H,r.getQueryString=_,r.getUrlFromPageReference=X,r.getUrlFromPageReferenceAndRouteDef=N,r.guid=Fe,r.hasDocument=ut,r.isObject=ue,r.isValidRoute=Me,r.matchRouteByUrl=F,r.parseRoutes=ze,r.pathToRegexp=De,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_22_17",["exports","lwr/routerUtils/v/0_22_17"],function(r,t){"use strict";const e=`universalcontainergetnavigationcontext${t.guid()}`;
1r.CONTEXT_ID_BACKDOOR=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentView/v/0_22_17",["exports","lwr/contextUtils/v/0_22_17","lwr/routerErrors/v/0_22_17"],function(r,t,e){"use strict";const I=new t.ContextInfo(void 0),R=class extends t.generateContextualWireAdapter(I){async update(H,_){if(_){const u=H&&H.viewName?H.viewName:"default",g=_.viewset[u],l=g,f=l&&l.module||g;let d;if(f)try{const E=await f(),v=E&&E.default;if(v&&v.constructor!==void 0)this._callback(v);else throw new Error("error occurred with view import")}catch(E){const v=E;l.specifier?d=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[l.specifier,u,v.message,v.stack||""]):d=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED,[u,v.message,v.stack||""])}else d=e.generateMessageObject(e.messages.VIEW_MISSING,[u]);_.onComplete&&_.onComplete(d)}}};r.CurrentView=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentPageReference/v/0_22_17",["exports","lwr/contextUtils/v/0_22_17"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),I=t.generateContextualWireAdapter(e);r.CurrentPageReference=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerErrors/v/0_22_17",["exports"],function(r){"use strict";const t="LWR",e={Fatal:0,Error:1,Warning:2,Log:3};function I(u,g){return Array.isArray(g)?u.replace(/\{([0-9]+)\}/g,(l,f)=>g[f]):u}function R(u,g){return`${u.code}: ${I(u.message,g)}`}function W(u,g){const l={...u,message:I(u.message,g)};return u.address&&(l.address=I(u.address,g)),u.stack&&(l.stack=I(u.stack,g)),l}function H(u,g,l){if(!u)throw new Error(R(g,l))}const _={INVALID_MIXIN_CMP:{code:`${t}4001`,message:"{0} must be an Element type",level:e.Error},MISSING_CONTEXT:{code:`${t}4002`,message:"Could not find context to perform navigation action.",level:e.Error},INVALID_CONTEXT:{code:`${t}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:e.Error},MULTIPLE_ROOTS:{code:`${t}4004`,message:"Router connection failed. There can only be one root router.",level:e.Error},MULTIPLE_CHILDREN:{code:`${t}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:e.Error},MISSING_ROUTE:{code:`${t}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:e.Error,address:"{0}"},MISSING_URL:{code:`${t}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:e.Error,address:"{0}"},PRENAV_FAILED:{code:`${t}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:e.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${t}4009`,message:'Route definition with id "{0}" is missing a "uri" property.',level:e.Error,address:"{0}"},MISSING_ROUTE_CMP:{code:`${t}4016`,message:"Expected a route view component with a default export.",level:e.Error},MISSING_DATA_CONTEXT:{code:`${t}4018`,message:"Could not find context to retrieve navigation data.",level:e.Error},INVALID_ROUTE_QUERY:{code:`${t}4019`,message:"Invalid query param in route definition.",level:e.Error},MISSING_PAGE_BINDING:{code:`${t}4020`,message:'Route definition with id "{0}" is missing a "page" binding.',level:e.Error,address:"{0}"},INVALID_PAGE_BINDING:{code:`${t}4021`,message:'Route definition with id "{0}
1" has an invalid "page" binding.',level:e.Error,address:"{0}"},INVALID_URI_SYNTAX:{code:`${t}4022`,message:'Route definition with id "{0}" has invalid "uri" syntax. URI cannot contain *, +, (, ), ',level:e.Error,address:"{0}"},VIEW_IMPORT_FAILED:{code:`${t}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:e.Error,stack:"{2}"},VIEW_MISSING:{code:`${t}4024`,message:'Expected a view with name "{0}" in the viewset',level:e.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${t}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:e.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${t}4026`,message:"A routing match cannot be found for: {0}",level:e.Error},INVALID_ROUTE_HANDLER:{code:`${t}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:e.Error},DESTINATION_NOT_FOUND:{code:`${t}4028`,message:"Route handler returned 404: Not Found",level:e.Error},DESTINATION_ERROR:{code:`${t}4029`,message:"Route handler returned error status {0}: {1}",level:e.Error,stack:"{2}"},NO_INIT_URL:{code:`${t}4030`,message:'Cannot initialize a server router without a "url"',level:e.Error}};r.generateMessage=R,r.generateMessageObject=W,r.invariant=H,r.messages=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextUtils/v/0_22_17",["exports","lwr/routerErrors/v/0_22_17"],function(r,t){"use strict";function e(u){if(u==null)throw new TypeError("Provider must be defined.")}class I{constructor(g){this.infoMap=new WeakMap,this.defaultValue=g}getInfo(g){let l=this.infoMap.get(g);return l===void 0&&(l={consumers:new Set},this.infoMap.set(g,l)),l}setContext(g,l){e(g);const f=l,d=this.getInfo(g);d.contextValue=l,d.consumers.forEach(E=>E.provide(f)),d.consumers.size===0&&f?.onComplete&&f.onComplete()}getContext(g){e(g);const{contextValue:l}=this.getInfo(g);return l!==void 0?l:this.defaultValue}clearContext(g){e(g),this.infoMap.delete(g)}subscribeContext(g,l){e(g);const{consumers:f,contextValue:d}=this.getInfo(g);f.has(l)||(f.add(l),l.provide(d))}unsubscribeContext(g,l){e(g),this.getInfo(g).consumers.delete(l)}}const R=new WeakMap;function W(u){const g=R.get(u);if(!g||!g.value)throw new Error(t.generateMessage(t.messages.MISSING_CONTEXT));return g.value}function H(u,g){const l={id:u,value:g,update:f=>{l.value=f}};return R.set(l.id,l),l}function _(u){var g;return g=class{constructor(d){this._callback=d}connect(){}disconnect(){}update(d,E){E&&this._callback(E)}static setContext(d,E){u.setContext(d,E)}static getContext(d){return u.getContext(d)}static clearContext(d){u.clearContext(d)}static subscribeContext(d,E){u.subscribeContext(d,E)}static unsubscribeContext(d,E){u.unsubscribeContext(d,E)}},g.contextSchema={value:"required"},g}r.ContextInfo=I,r.generateContextualWireAdapter=_,r.getNavigationHelm=W,r.registerNavigationHelm=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationContext/v/0_22_17",["exports","lwr/contextUtils/v/0_22_17"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),I=t.generateContextualWireAdapter(e);r.NavigationContext=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigation/v/0_22_17",["exports","lwr/navigationContext/v/0_22_17","lwr/currentPageReference/v/0_22_17","lwr/currentView/v/0_22_17","lwr/contextUtils/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/navigationMixinHacks/v/0_22_17"],function(r,t,e,I,R,W,H){"use strict";function _(S,O,B,F){R.getNavigationHelm(S).navigate(O,B,F)}function u(S,O,B){return R.getNavigationHelm(S).generateUrl(O,B)}function g(S,O,B){return R.getNavigationHelm(S).generateUrlAsync(O,B)}const l=Symbol("Navigate"),f=Symbol("GenerateUrl"),d=Symbol("NavContext"),E=Symbol("NavContext"),v=typeof window=="undefined";function T(S){W.invariant(typeof S.prototype.dispatchEvent=="function",W.messages.INVALID_MIXIN_CMP,[S.toString()]);class O extends S{[E](){if(!this[d]&&(this.dispatchEvent(new CustomEvent(H.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:F=>{this[d]=F}}})),!this[d]))throw new Error(W.generateMessage(W.messages.MISSING_CONTEXT))}[l](F,X,Q){v||(this[E](),_(this[d],F,X,Q))}async[f](F,X){return v?null:(this[E](),g(this[d],F,X))}}return O}T.Navigate=l,T.GenerateUrl=f,T.NavContext=d,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return I.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}
1),r.NavigationMixin=T,r.generateUrl=u,r.navigate=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/domRouter/v/0_22_17",["exports","lwr/navigation/v/0_22_17","lwr/contextProvider/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/routerUtils/v/0_22_17","lwr/observable/v/0_22_17","lwr/metrics/v/0_22_17","lwr/profiler/v/0_22_17","lwr/navigationMixinHacks/v/0_22_17"],function(r,t,e,I,R,W,H,_,u){"use strict";const g=`universalcontainernavigationevent${R.guid()}`,l=`universalcontainerparentevent${R.guid()}`;class f{constructor(v,T,S){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=R.createFilterChain(),this.errorNavFilters=R.createFilterChain(),this._handleNavigationEvent=O=>{const B=O;if(B.detail&&typeof B.detail=="object"){const{url:F,replace:X,address:Q}=B.detail;this.config.handleNavigation(Q,X)?this.root&&!F?this.root.processError(I.generateMessageObject(I.messages.MISSING_URL,[JSON.stringify(Q)])):this.parent||this.process(F,X):B.stopPropagation()}},this._handleParentEvent=O=>{O.stopImmediatePropagation();const B=O;B&&B.detail&&typeof B.detail=="function"&&B.detail(this)},this.config={handleNavigation:v.handleNavigation||(()=>!0)},this.target=S||window,this.router=T,this.router.contextId=this.contextId,this.routeObservable=W.createObservable()}get root(){if(!this.parent)return this;let v=this.parent;for(;v;){if(!v.parent)return v;v=v.parent}throw new Error("No root router could be found")}updateWires(v,T,S){if(S)this.processError(S);else{if(this.committedRoute&&v.route===this.committedRoute.route)return;_.logOperationEnd({id:H.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{...v,url:T},this.committedRoute={...this.pendingRoute,...v},t.CurrentPageReference.setContext(this.target,v.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:v.viewset}),_.logOperationEnd({id:H.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(l,T=>{this.parent=T,T.addChild(this)});const v={navigate:(T,S)=>this.navigate(T,S),generateUrl:(T,S)=>this.generateUrl(T,S),generateUrlAsync:(T,S)=>this.generateUrlAsync(T,S),subscribe:(T,S)=>this.subscribe(T,S)};t.registerNavigationHelm(this.contextId,v),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,t.NavigationContext),e.provideContext(void 0,this.target,e.currentPageReferenceContextualizer,t.CurrentPageReference),e.provideContext(void 0,this.target,e.currentViewContextualizer,t.CurrentView),this.router.subscribe(T=>{if(T.status===404){this.processError(I.generateMessageObject(I.messages.DESTINATION_NOT_FOUND));return}if(T.status&&T.status>=400){const B=T.error||new Error;this.processError(I.generateMessageObject(I.messages.DESTINATION_ERROR,[T.status.toString(),B.message,B.stack||""]));return}const S=T.route.pageReference||{},O=this.router.generateUrl(S)||"";if(_.logOperationStart({id:H.ROUTER_VIEW,specifier:this.eventId}),T.viewset){const B={viewset:T.viewset,onComplete:this.updateWires.bind(this,T,O)};t.CurrentView.setContext(this.target,B)}else T.route.pageReference&&this.updateWires(T,O)},!0),R.hasDocument&&(this.target.addEventListener(g,this._handleNavigationEvent),this.target.addEventListener(l,this._handleParentEvent),this.target.addEventListener(u.CONTEXT_ID_BACKDOOR,T=>{const S=T;S.detail.callback&&S.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(g,this._handleNavigationEvent),this.target.removeEventListener(l,this._handleParentEvent),this.parent&&(this.parent.child=void 0),this.parent=void 0,this.child&&(this.child.parent=void 0),this.child=void 0,this.connected=!1}addPreNavigate(v){this.preNavFilters.add(v)}addErrorNavigate(v){this.errorNavFilters.add(v)}async addChild(v){if(await new Promise(T=>{setTimeout(()=>{I.invariant(!this.child,I.messages.MULTIPLE_CHILDREN),this.child=v,T()},0)}),this.child&&this.committedRoute){const T=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(T)&&this.child.process(T)}}async process(v,T,S,O){this.eventId=new Date().getTime().toString(),_.logOperationStart({id:H.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(v,S)}catch(F){if(F.code)return this.processError(F),!1;throw F}const B=this.router.parseUrl(v);return B&&this.router.navigate(B,S),!0}preProcess(v,T){const S=this.router.parseUrl(v),O=S&&this.router.matchRoute(S,T);return O?(this.pendingRoute={url:v,...O},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then(F=>F&&this.child?this.child.preProcess(this._stripUrlForChild(v)):F).then(F=>F||Promise.reject(I.generateMessageObject(I.messages.PRENAV_FAILED,[v])))):Promise.reject(I.generateMessageObject(I.messages.MISSING_ROUTE,[v]))}processError(v){_.logOperationStart({id:H.ROUTER_ERROR}),this.errorNavFilters.compile(v),this.child&&this.child.processError(v)}navigate(v,T,S){const O=this.filterNavigateOptions(S);let B=this.router.generateUrl(v,O);B&&(B=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(B)),this._sendEvent(g,{url:B,replace:T,address:v})}generateUrl(v,T){const S=this.filterNavigateOptions(T),O=this.router.generateUrl(v,S);return O?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${O}`:null}async generateUrlAsync(v,T){const S=this.filterNavigateOptions(T),O=await this.router.generateUrlAsync(v,S);return O?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${O}`:null}subscribe(v,T){return this.routeObservable.subscribe({next:v,error:()=>{},complete:()=>{}},Boolean(T))}_sendEvent(v,T){R.hasDocument&&this.target.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0,detail:T}))}_stripUrlForChild(v){return this.pendingRoute&&v.indexOf(this.pendingRoute.pathMatch)===0?v.replace(this.pendingRoute.pathMatch,""):v}filterNavigateOptions(v){const T=!this.parent;return{...v,locale:T?v?.locale:void 0}}}function d(E,v,T){return new f(E,v,T)}r.DomRouterImpl=f,r.NAV_EVENT=g,r.PARENT_EVENT=l,r.createDomRouter=d,Object.defineProperty(r,"__esMo
1dule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/historyRouter/v/0_22_17",["exports","lwc/v/9_1_2","lwr/domRouter/v/0_22_17","lwr/domRouterUtils/v/0_22_17","lwr/routerUtils/v/0_22_17"],function(r,t,e,I,R){"use strict";class W extends e.DomRouterImpl{constructor(...u){super(...u);this.historyDisabled=!1,this.currentUrl=""}connect(){super.connect(),this.historyDisabled||(R.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){if(!this.parent&&R.hasDocument){const u=I.getRelativeUrl(window.location.href),g=this.router.basePath.includes("#")?u:I.removeFragment(u);g!==this.currentUrl&&this.catchBrowserUpdate(g)}}disconnect(){super.disconnect(),R.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(u,g,l,f=!0){const d=await super.process(u,g,l,f);return d&&this.connected&&!this.parent&&(this.currentUrl=u,!this.historyDisabled&&f&&(g?I.replace(u):I.set(u))),d}catchBrowserUpdate(u){this.process(u,!1,{},!1)}}t.registerDecorators(W,{fields:["historyDisabled","currentUrl"]});function H(_,u,g){return new W(_,u,g)}r.HistoryRouter=W,r.createHistoryRouter=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerContainer/v/0_22_17",["exports","lwc/v/9_1_2","lwr/historyRouter/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/domRouter/v/0_22_17","lwr/routerUtils/v/0_22_17"],function(r,t,e,I,R,W){"use strict";function H(B,F,X){var Q=B?"."+B:"";return"span.router-title"+Q+" {position: absolute;margin: -1px;border: 0;padding: 0;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);text-transform: none;white-space: nowrap;}"}H.$scoped$=!0;var _=[H];const u=t.parseFragment`<span class="router-title${0}" aria-live="polite" aria-atomic="true"${2}></span>`,g={key:0},l=[],f={ref:"title"};function d(B,F,X,Q){const{s:N,sp:x,st:re}=B;return[N("",g,l,X),re(u,2,[x(0,f,null)])]}var E=t.registerTemplate(d);d.slots=[""],d.renderMode="light",d.hasRefs=!0,d.stylesheets=[],d.stylesheetToken="lwc-7bis3qj4jjc",d.legacyStylesheetToken="lwr-routerContainer_routerContainer",_&&d.stylesheets.push.apply(d.stylesheets,_),t.freezeTemplate(d);let v=!1;function T(B,F={},X){const Q=F.historyDisabled?new R.DomRouterImpl(F,X,B):new e.HistoryRouter(F,X,B),N={addPreNavigate:x=>(Q.addPreNavigate(x),N),addPostNavigate:x=>(Q.subscribe(x),N),addErrorNavigate:x=>(Q.addErrorNavigate(x),N),connect:()=>{Q.connect(),I.invariant(!v||!!Q.parent,I.messages.MULTIPLE_ROOTS),v=v||!Q.parent,N.id=Q.contextId},disconnect:()=>{v=v&&!!Q.parent,Q.disconnect()}};return N}class S extends t.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=W.hasDocument?document.title:""}connectedCallback(){const F={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};W.hasDocument&&this.router&&(this.routerApi=T(this,F,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(F){const X=this._createEvent("prenavigate",F,!0);return this.dispatchEvent(X),!X.defaultPrevented}postNavigate(F){this.dispatchEvent(this._createEvent("postnavigate",F));const X=F.routeDefinition.metadata&&F.routeDefinition.metadata.title;X&&(this.currentTitle=X.replace(/[<>&"']/g,N=>{switch(N){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";case"'":return"'";default:return N}}),document.title=this.currentTitle);const Q=this.refs?.title;Q&&(Q.innerHTML=this.currentTitle,setTimeout(()=>{Q.innerHTML=""},500))}errorNavigate(F){return this.dispatchEvent(this._createEvent("errornavigate",F)),!0}
1handleNavigation(F,X){const Q=this._createEvent("handlenavigation",{address:F,replace:X},!0);return this.dispatchEvent(Q),!Q.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(F,X,Q){return new CustomEvent(F,{detail:X,bubbles:!1,composed:!1,cancelable:Q})}}S.renderMode="light",t.registerDecorators(S,{publicProps:{router:{config:0},historyDisabled:{config:0}}});const O=t.registerComponent(S,{tmpl:E,sel:"lwr-router-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/defaultView/v/1_66_1195-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";const e=[];function I(H,_,u,g){return e}var R=t.registerTemplate(I);I.renderMode="light",I.stylesheets=[],I.stylesheetToken="lwc-15jgd3dq0rl",I.legacyStylesheetToken="webruntime-defaultView_defaultView",t.freezeTemplate(I);var W={html:R,attributes(){}};r.default=W,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","@app/isDesignMode/v/1","@app/isPreviewMode/v/1"],function(r,t,e,I){"use strict";function R(g){return g&&typeof g=="object"&&"default"in g?g:{default:g}}var W=R(e),H=R(I);const{info:_}=console;async function u(){if(W.default||H.default){const{start:g,startPreview:l}=await t.load("webruntimedesign/designmode/v/1");W.default&&(/interactive|complete/.test(document.readyState)?g():document.addEventListener("DOMContentLoaded",g,!1)),H.default&&(l?l():_("startPreview() does not exist in this environment!"))}}r.designmodeInit=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/utils/v/1_66_1195-262_0",["exports"],function(r){"use strict";function t(E,v){if(!E)throw new Error(v)}function e(E){return typeof E=="object"&&E!==null&&!Array.isArray(E)}function I(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(E){const v=Math.random()*16|0;return(E==="x"?v:v&3|8).toString(16)})}function R(E){return typeof E=="string"&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(E)}const W=new RegExp("^([a-z]+://|//)","i");function H(E){return E?W.test(E):!1}const _=new RegExp("/sfsites/c/.+","i");function u(E){return E?_.test(E):!1}function g(E,v){const T=JSON.stringify(v);if(!(window&&window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(E,T))){const O=new XMLHttpRequest;O.open("POST",E,!0),O.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),O.send(T)}}function l(E){return document?.querySelector(`meta[name="${E}"]`)?.getAttribute("content")||""}function f(){return l("basePath")}function d(){return l("deployTarget")||"CORE"}r.assert=t,r.getBasePathFromMetaTag=f,r.getDeployTargetFromMetaTag=d,r.isAbsoluteURL=H,r.isObject=e,r.isSfdcCoreURL=u,r.sendPayloadToServer=g,r.uuidValidate=R,r.uuidv4=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/logger/v/1_66_1195-262_0",["exports"],function(r){"use strict";function t(...I){console.log(...I)}function e(...I){console.error(...I)}
1r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/errors/v/1_66_1195-262_0",["exports","webruntime/logger/v/1_66_1195-262_0","@communities-webruntime/common/v/1_66_1195-262_0","webruntime/transport/v/1_66_1195-262_0"],function(r,t,e,I){"use strict";function R(_){I.sendBeacon({path:e.ERRORS_PATH_PREFIX,payload:JSON.stringify(_),contentType:"text/plain;charset=UTF-8"})}function W(_,u){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:_,type:u}}))}function H({subject:_,error:u,wcstack:g,type:l=e.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){g=g||u.wcstack;const{message:f,stack:d}=u,{hostname:E,pathname:v}=globalThis.location||{},S={subject:_,message:f,stack:d,wcstack:g,location:{hostname:E,pathname:v}};t.logError(d||S),typeof document!="undefined"&&(W(S,l),R(S))}r.reportError=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/innerApp/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","lwc/v/9_1_2","@communities-webruntime/common/v/1_66_1195-262_0","webruntime/overrides/v/1_66_1195-262_0","webruntime/errors/v/1_66_1195-262_0","webruntime/utils/v/1_66_1195-262_0","webruntime/views/v/1_66_1195-262_0","webruntime/routingService/v/1_66_1195-262_0","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_1195-262_0","webruntime/defaultView/v/1_66_1195-262_0"],function(r,t,e,I,R,W,H,_,u,g,l,f){"use strict";function d(F){return F&&typeof F=="object"&&"default"in F?F:{default:F}}var E=d(_),v=d(g),T=d(f),S=void 0;class O extends e.LightningElement{constructor(...X){super(...X);this.view=void 0,this.routerContainerView=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.attributes={},this.previousRouteId=null,this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(X){this._routeParams=X}async connectedCallback(){const X=this.view||T.default;this.generatedTemplateHtml=X.html,this.attributes=X.attributes(this,this.routeParams)||{},await l.designmodeInit(),this.subscription=u.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(X){this.generatedTemplateHtml=X.html}updateRoute(X,Q){u.handleExtraRouteParams(Q);const{state:N,attributes:x}=Q;this.previousRouteId=this.route?.id||null,this._routeParams={...N,...x},this.attributes=X.attributes(this,this.routeParams)||{},this.route=Q}restoreDefaultTemplate(){this.generatedTemplateHtml=T.default.html}async loadThemeLayout(X){let Q=!1;const N=X.routeDefinition.view,x=v.default[N];setTimeout(async()=>{!Q&&this.themeLayout!==x&&this.restoreDefaultTemplate()},10);let re;try{re=await E.default(x)}catch(ue){await this.handleFetchViewFailed(ue,X.routeDefinition.metadata?.isPublic)}if(!!re)try{Q=!0,this.themeLayout!==x&&(this.themeLayout=x,this.updateTemplate(re.default)),this.updateRoute(re.default,X.route)}catch(ue){W.reportError({subject:"InnerApp.loadThemeLayout error",type:I.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:ue})}}async handleFetchViewFailed(X,Q){await R.PageNavigationFailureOverrides.run({error:X,isPublic:Q})&&W.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:I.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:X})}async mockHandlebarsEngineImport(){await t.load("webruntime/handlebarsEngine/v/1_66_1195-262_0")}}O.renderMode="light",e.registerDecorators(O,{publicProps:{view:{config:0},routerContainerView:{config:0}
vendor: 6,189 bytes, line 1
1,routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});const B=e.registerComponent(O,{tmpl:S,sel:"webruntime-inner-app",apiVersion:66,enableSyntheticElementInternals:!0});r.default=B,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/purifyLib/v/1_28_17-alpha",["exports","lightning/features"],function(r,t){"use strict";/*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */const{entries:e,setPrototypeOf:I,isFrozen:R,getPrototypeOf:W,getOwnPropertyDescriptor:H}=Object;let{freeze:_,seal:u,create:g}=Object,{apply:l,construct:f}=typeof Reflect!="undefined"&&Reflect;_||(_=function(M){return M}),u||(u=function(M){return M}),l||(l=function(M,$){for(var U=arguments.length,K=new Array(U>2?U-2:0),Z=2;Z<U;Z++)K[Z-2]=arguments[Z];return M.apply($,K)}),f||(f=function(M){for(var $=arguments.length,U=new Array($>1?$-1:0),K=1;K<$;K++)U[K-1]=arguments[K];return new M(...U)});const d=we(Array.prototype.forEach),E=we(Array.prototype.lastIndexOf),v=we(Array.prototype.pop),T=we(Array.prototype.push),S=we(Array.prototype.splice),O=we(String.prototype.toLowerCase),B=we(String.prototype.toString),F=we(String.prototype.match),X=we(String.prototype.replace),Q=we(String.prototype.indexOf),N=we(String.prototype.trim),x=we(Object.prototype.hasOwnProperty),re=we(RegExp.prototype.test),ue=Pe(TypeError);function we(A){return function(M){M instanceof RegExp&&(M.lastIndex=0);for(var $=arguments.length,U=new Array($>1?$-1:0),K=1;K<$;K++)U[K-1]=arguments[K];return l(A,M,U)}}function Pe(A){return function(){for(var M=arguments.length,$=new Array(M),U=0;U<M;U++)$[U]=arguments[U];return f(A,$)}}function L(A,M){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O;I&&I(A,null);let U=M.length;for(;U--;){let K=M[U];if(typeof K=="string"){const Z=$(K);Z!==K&&(R(M)||(M[U]=Z),K=Z)}A[K]=!0}return A}function Fe(A){for(let M=0;M<A.length;M++)x(A,M)||(A[M]=null);return A}function Me(A){const M=g(null);for(const[$,U]of e(A))x(A,$)&&(Array.isArray(U)?M[$]=Fe(U):U&&typeof U=="object"&&U.constructor===Object?M[$]=Me(U):M[$]=U);return M}function o(A,M){for(;A!==null;){const U=H(A,M);if(U){if(U.get)return we(U.get);if(typeof U.value=="function")return we(U.value)}A=W(A)}function $(){return null}return $}const p=_(["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","search","section","select","shadow","slot","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"]),c=_(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),G=_(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),q=_(["animate","color-profile","cursor","discard","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"]),le=_(["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","mprescripts"]),Oe=_(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),We=_(["#text"]),$e=_(["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","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),je=_(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","exponent","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","intercept","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","mask-type","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","slope","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","tablevalues","targetx","targety","transform","transform-origin","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"]),Ge=_(["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"]),He=_(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ze=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),_e=u(/<%[\w\W]*|[\w\W]*%>/gm),Y=u(/\$\{[\w\W]*/gm),oe=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),J=u(/^aria-[\-\w]+$/),Te=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Se=u(/^(?:\w+script|data):/i),ze=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Le=u(/^html$/i),Ie=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xe=Object.freeze({__proto__:null,ARIA_ATTR:J,ATTR_WHITESPACE:ze,CUSTOM_ELEMENT:Ie,DATA_ATTR:oe,DOCTYPE_NAME:Le,ERB_EXPR:_e,IS_ALLOWED_URI:Te,IS_SCRIPT_OR_DATA:Se,MUSTACHE_EXPR:Ze,TMPLIT_EXPR:Y});const Qe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},pt=function(){return typeof window=="undefined"?null:window},ut=function(M,$){if(typeof M!="object"||typeof M.createPolicy!="function")return null;let U=null;const K="data-tt-policy-suffix";$&&$.hasAttribute(K)&&(U=$.getAttribute(K));const Z="dompurify"+(U?"#"+U:"");try{return M.createPolicy(Z,{createHTML(ee){return ee},createScriptURL(ee){return ee}})}catch(ee){return console.warn("TrustedTypes policy "+Z+" could not be created."),null}},De=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function P(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pt();const M=be=>P(be);if(M.version="3.3.2",M.removed=[],!A||!A.document||A.document.nodeType!==Qe.document||!A.Element)return M.isSupported=!1,M;let{document:$}=A;const U=$,K=U.currentScript,{DocumentFragment:Z,HTMLTemplateElement:ee,Node:ie,Element:Re,NodeFilter:Ce,NamedNodeMap:ke=A.NamedNodeMap||A.MozNamedAttrMap,HTMLFormElement:Ae,DOMParser:qe,trustedTypes:Ve}=A,w=Re.prototype,ne=o(w,"cloneNode"),pe=o(w,"remove"),ce=o(w,"nextSibling"),Ke=o(w,"childNodes"),at=o(w,"parentNode");if(typeof ee=="function"){const be=$.createElement("template");be.content&&be.content.ownerDocument&&($=be.content.ownerDocument)}let Je,mt="";const{implementation:dt,createNodeIterator:Tt,createDocumentFragment:Ut,getElementsByTagName:It}=$,{importNode:Pt}=U;let tt=De();M.isSupported=typeof e=="function"&&typeof at=="function"&&dt&&dt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:At,ERB_EXPR:St,TMPLIT_EXPR:vt,DATA_ATTR:Xt,ARIA_ATTR:Gt,IS_SCRIPT_OR_DATA:_t,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:n}=Xe;let{IS_ALLOWED_URI:i}=Xe,a=null;const m=L({},[...p,...c,...G,...le,...We]);let h=null;const b=L({},[...$e,...je,...Ge,...He]);
vendor: 11,388 bytes, line 1
1let V=Object.seal(g(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ge=null,ye=null;const he=Object.seal(g(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ne=!0,Ee=!0,se=!1,Ue=!0,Be=!1,ot=!0,nt=!1,Et=!1,gt=!1,it=!1,Ct=!1,st=!1,jt=!0,Kt=!1;const rr="user-content-";let Yt=!0,xt=!1,Lt={},yt=null;const Ht=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Zt=null;const Qt=L({},["audio","video","img","source","image","track"]);let Rt=null;const Vt=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",Bt="http://www.w3.org/2000/svg",ht="http://www.w3.org/1999/xhtml";let wt=ht,Jt=!1,Wt=null;const nr=L({},[Mt,Bt,ht],B);let qt=L({},["mi","mo","mn","ms","mtext"]),$t=L({},["annotation-xml"]);const ir=L({},["title","style","font","a","script"]);let Ft=null;const ar=["application/xhtml+xml","text/html"],er="text/html";let et=null,Dt=null;const or=$.createElement("form"),s=function(y){return y instanceof RegExp||y instanceof Function},C=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Dt&&Dt===y)){if((!y||typeof y!="object")&&(y={}),y=Me(y),Ft=ar.indexOf(y.PARSER_MEDIA_TYPE)===-1?er:y.PARSER_MEDIA_TYPE,et=Ft==="application/xhtml+xml"?B:O,a=x(y,"ALLOWED_TAGS")?L({},y.ALLOWED_TAGS,et):m,h=x(y,"ALLOWED_ATTR")?L({},y.ALLOWED_ATTR,et):b,Wt=x(y,"ALLOWED_NAMESPACES")?L({},y.ALLOWED_NAMESPACES,B):nr,Rt=x(y,"ADD_URI_SAFE_ATTR")?L(Me(Vt),y.ADD_URI_SAFE_ATTR,et):Vt,Zt=x(y,"ADD_DATA_URI_TAGS")?L(Me(Qt),y.ADD_DATA_URI_TAGS,et):Qt,yt=x(y,"FORBID_CONTENTS")?L({},y.FORBID_CONTENTS,et):Ht,ge=x(y,"FORBID_TAGS")?L({},y.FORBID_TAGS,et):Me({}),ye=x(y,"FORBID_ATTR")?L({},y.FORBID_ATTR,et):Me({}),Lt=x(y,"USE_PROFILES")?y.USE_PROFILES:!1,Ne=y.ALLOW_ARIA_ATTR!==!1,Ee=y.ALLOW_DATA_ATTR!==!1,se=y.ALLOW_UNKNOWN_PROTOCOLS||!1,Ue=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=y.SAFE_FOR_TEMPLATES||!1,ot=y.SAFE_FOR_XML!==!1,nt=y.WHOLE_DOCUMENT||!1,it=y.RETURN_DOM||!1,Ct=y.RETURN_DOM_FRAGMENT||!1,st=y.RETURN_TRUSTED_TYPE||!1,gt=y.FORCE_BODY||!1,jt=y.SANITIZE_DOM!==!1,Kt=y.SANITIZE_NAMED_PROPS||!1,Yt=y.KEEP_CONTENT!==!1,xt=y.IN_PLACE||!1,i=y.ALLOWED_URI_REGEXP||Te,wt=y.NAMESPACE||ht,qt=y.MATHML_TEXT_INTEGRATION_POINTS||qt,$t=y.HTML_INTEGRATION_POINTS||$t,V=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&s(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&s(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(V.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Ee=!1),Ct&&(it=!0),Lt&&(a=L({},We),h=g(null),Lt.html===!0&&(L(a,p),L(h,$e)),Lt.svg===!0&&(L(a,c),L(h,je),L(h,He)),Lt.svgFilters===!0&&(L(a,G),L(h,je),L(h,He)),Lt.mathMl===!0&&(L(a,le),L(h,Ge),L(h,He))),x(y,"ADD_TAGS")||(he.tagCheck=null),x(y,"ADD_ATTR")||(he.attributeCheck=null),y.ADD_TAGS&&(typeof y.ADD_TAGS=="function"?he.tagCheck=y.ADD_TAGS:(a===m&&(a=Me(a)),L(a,y.ADD_TAGS,et))),y.ADD_ATTR&&(typeof y.ADD_ATTR=="function"?he.attributeCheck=y.ADD_ATTR:(h===b&&(h=Me(h)),L(h,y.ADD_ATTR,et))),y.ADD_URI_SAFE_ATTR&&L(Rt,y.ADD_URI_SAFE_ATTR,et),y.FORBID_CONTENTS&&(yt===Ht&&(yt=Me(yt)),L(yt,y.FORBID_CONTENTS,et)),y.ADD_FORBID_CONTENTS&&(yt===Ht&&(yt=Me(yt)),L(yt,y.ADD_FORBID_CONTENTS,et)),Yt&&(a["#text"]=!0),nt&&L(a,["html","head","body"]),a.table&&(L(a,["tbody"]),delete ge.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw ue('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ue('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Je=y.TRUSTED_TYPES_POLICY,mt=Je.createHTML("")}else Je===void 0&&(Je=ut(Ve,K)),Je!==null&&typeof mt=="string"&&(mt=Je.createHTML(""));_&&_(y),Dt=y}},D=L({},[...c,...G,...q]),z=L({},[...le,...Oe]),me=function(y){let te=at(y);(!te||!te.tagName)&&(te={namespaceURI:wt,tagName:"template"});const de=O(y.tagName),Ye=O(te.tagName);return Wt[y.namespaceURI]?y.namespaceURI===Bt?te.namespaceURI===ht?de==="svg":te.namespaceURI===Mt?de==="svg"&&(Ye==="annotation-xml"||qt[Ye]):Boolean(D[de]):y.namespaceURI===Mt?te.namespaceURI===ht?de==="math":te.namespaceURI===Bt?de==="math"&&$t[Ye]:Boolean(z[de]):y.namespaceURI===ht?te.namespaceURI===Bt&&!$t[Ye]||te.namespaceURI===Mt&&!qt[Ye]?!1:!z[de]&&(ir[de]||!D[de]):!!(Ft==="application/xhtml+xml"&&Wt[y.namespaceURI]):!1},ae=function(y){T(M.removed,{element:y});try{at(y).removeChild(y)}catch(te){pe(y)}},fe=function(y,te){try{T(M.removed,{attribute:te.getAttributeNode(y),from:te})}catch(de){T(M.removed,{attribute:null,from:te})}if(te.removeAttribute(y),y==="is")if(it||Ct)try{ae(te)}catch(de){}else try{te.setAttribute(y,"")}catch(de){}},xe=function(y){let te=null,de=null;if(gt)y="<remove></remove>"+y;else{const rt=F(y,/^[\r\n\t ]+/);de=rt&&rt[0]}Ft==="application/xhtml+xml"&&wt===ht&&(y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+y+"</body></html>");const Ye=Je?Je.createHTML(y):y;if(wt===ht)try{te=new qe().parseFromString(Ye,Ft)}catch(rt){}if(!te||!te.documentElement){te=dt.createDocument(wt,"template",null);try{te.documentElement.innerHTML=Jt?mt:Ye}catch(rt){}}const ct=te.body||te.documentElement;return y&&de&&ct.insertBefore($.createTextNode(de),ct.childNodes[0]||null),wt===ht?It.call(te,nt?"html":"body")[0]:nt?te.documentElement:ct},bt=function(y){return Tt.call(y.ownerDocument||y,y,Ce.SHOW_ELEMENT|Ce.SHOW_COMMENT|Ce.SHOW_TEXT|Ce.SHOW_PROCESSING_INSTRUCTION|Ce.SHOW_CDATA_SECTION,null)},kt=function(y){return y instanceof Ae&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof ke)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},tr=function(y){return typeof ie=="function"&&y instanceof ie};function Ot(be,y,te){d(be,de=>{de.call(M,y,te,Dt)})}const lr=function(y){let te=null;if(Ot(tt.beforeSanitizeElements,y,null),kt(y))return ae(y),!0;const de=et(y.nodeName);if(Ot(tt.uponSanitizeElement,y,{tagName:de,allowedTags:a}),ot&&y.hasChildNodes()&&!tr(y.firstElementChild)&&re(/<[/\w!]/g,y.innerHTML)&&re(/<[/\w!]/g,y.textContent)||y.nodeType===Qe.progressingInstruction||ot&&y.nodeType===Qe.comment&&re(/<[/\w]/g,y.data))return ae(y),!0;if(!(he.tagCheck instanceof Function&&he.tagCheck(de))&&(!a[de]||ge[de])){if(!ge[de]&&cr(de)&&(V.tagNameCheck instanceof RegExp&&re(V.tagNameCheck,de)||V.tagNameCheck instanceof Function&&V.tagNameCheck(de)))return!1;if(Yt&&!yt[de]){const Ye=at(y)||y.parentNode,ct=Ke(y)||y.childNodes;if(ct&&Ye){const rt=ct.length;for(let ft=rt-1;ft>=0;--ft){const Nt=ne(ct[ft],!0);Nt.__removalCount=(y.__removalCount||0)+1,Ye.insertBefore(Nt,ce(y))}}}return ae(y),!0}return y instanceof Re&&!me(y)||(de==="noscript"||de==="noembed"||de==="noframes")&&re(/<\/no(script|embed|frames)/i,y.innerHTML)?(ae(y),!0):(Be&&y.nodeType===Qe.text&&(te=y.textContent,d([At,St,vt],Ye=>{te=X(te,Ye," ")}),y.textContent!==te&&(T(M.removed,{element:y.cloneNode()}),y.textContent=te)),Ot(tt.afterSanitizeElements,y,null),!1)},ur=function(y,te,de){if(ye[te]||jt&&(te==="id"||te==="name")&&(de in $||de in or))return!1;if(!(Ee&&!ye[te]&&re(Xt,te))){if(!(Ne&&re(Gt,te))){if(!(he.attributeCheck instanceof Function&&he.attributeCheck(te,y))){if(!h[te]||ye[te]){if(!(cr(y)&&(V.tagNameCheck instanceof RegExp&&re(V.tagNameCheck,y)||V.tagNameCheck instanceof Function&&V.tagNameCheck(y))&&(V.attributeNameCheck instanceof RegExp&&re(V.attributeNameCheck,te)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(te,y))||te==="is"&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&re(V.tagNameCheck,de)||V.tagNameCheck instanceof Function&&V.tagNameCheck(de))))return!1}else if(!Rt[te]){if(!re(i,X(de,ve,""))){if(!((te==="src"||te==="xlink:href"||te==="href")&&y!=="script"&&Q(de,"data:")===0&&Zt[y])){if(!(se&&!re(_t,X(de,ve,"")))){if(de)return!1}}}}}}}return!0},cr=function(y){return y!=="annotation-xml"&&F(y,n)},dr=function(y){Ot(tt.beforeSanitizeAttributes,y,null);const{attributes:te}=y;if(!te||kt(y))return;const de={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:h,forceKeepAttr:void 0};let Ye=te.length;for(;Ye--;){const ct=te[Ye],{name:rt,namespaceURI:ft,value:Nt}=ct,zt=et(rt),sr=Nt;let lt=rt==="value"?sr:N(sr);if(de.attrName=zt,de.attrValue=lt,de.keepAttr=!0,de.forceKeepAttr=void 0,Ot(tt.uponSanitizeAttribute,y,de),lt=de.attrValue,Kt&&(zt==="id"||zt==="name")&&(fe(rt,y),lt=rr+lt),ot&&re(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,lt)){fe(rt,y);continue}if(zt==="attributename"&&F(lt,"href")){fe(rt,y);continue}if(de.forceKeepAttr)continue;if(!de.keepAttr){fe(rt,y);continue}if(!Ue&&re(/\/>/i,lt)){fe(rt,y);continue}Be&&d([At,St,vt],fr=>{lt=X(lt,fr," ")});const mr=et(y.nodeName);if(!ur(mr,zt,lt)){fe(rt,y);continue}if(Je&&typeof Ve=="object"&&typeof Ve.getAttributeType=="function"&&!ft)switch(Ve.getAttributeType(mr,zt)){case"TrustedHTML":{lt=Je.createHTML(lt);break}case"TrustedScriptURL":{lt=Je.createScriptURL(lt);break}}if(lt!==sr)try{ft?y.setAttributeNS(ft,rt,lt):y.setAttribute(rt,lt),kt(y)?ae(y):v(M.removed)}catch(fr){fe(rt,y)}}Ot(tt.afterSanitizeAttributes,y,null)},hr=function be(y){let te=null;const de=bt(y);for(Ot(tt.beforeSanitizeShadowDOM,y,null);te=de.nextNode();)Ot(tt.uponSanitizeShadowNode,te,null),lr(te),dr(te),te.content instanceof Z&&be(te.content);Ot(tt.afterSanitizeShadowDOM,y,null)};return M.sanitize=function(be){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=null,de=null,Ye=null,ct=null;if(Jt=!be,Jt&&(be="<!-->"),typeof be!="string"&&!tr(be))if(typeof be.toString=="function"){if(be=be.toString(),typeof be!="string")throw ue("dirty is not a string, aborting")}else throw ue("toString is not a function");if(!M.isSupported)return be;if(Et||C(y),M.removed=[],typeof be=="string"&&(xt=!1),xt){if(be.nodeName){const Nt=et(be.nodeName);if(!a[Nt]||ge[Nt])throw ue("root node is forbidden and cannot be sanitized in-place")}}else if(be instanceof ie)te=xe("<!---->"),de=te.ownerDocument.importNode(be,!0),de.nodeType===Qe.element&&de.nodeName==="BODY"||de.nodeName==="HTML"?te=de:te.appendChild(de);else{if(!it&&!Be&&!nt&&be.indexOf("<")===-1)return Je&&st?Je.createHTML(be):be;if(te=xe(be),!te)return it?null:st?mt:""}te&>&&ae(te.firstChild);const rt=bt(xt?be:te);for(;Ye=rt.nextNode();)lr(Ye),dr(Ye),Ye.content instanceof Z&&hr(Ye.content);if(xt)return be;if(it){if(Ct)for(ct=Ut.call(te.ownerDocument);te.firstChild;)ct.appendChild(te.firstChild);else ct=te;return(h.shadowroot||h.shadowrootmode)&&(ct=Pt.call(U,ct,!0)),ct}
1let ft=nt?te.outerHTML:te.innerHTML;return nt&&a["!doctype"]&&te.ownerDocument&&te.ownerDocument.doctype&&te.ownerDocument.doctype.name&&re(Le,te.ownerDocument.doctype.name)&&(ft="<!DOCTYPE "+te.ownerDocument.doctype.name+`> 2`+ft),Be&&d([At,St,vt],Nt=>{ft=X(ft,Nt," ")}),Je&&st?Je.createHTML(ft):ft},M.setConfig=function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};C(be),Et=!0},M.clearConfig=function(){Dt=null,Et=!1},M.isValidAttribute=function(be,y,te){Dt||C({});const de=et(be),Ye=et(y);return ur(de,Ye,te)},M.addHook=function(be,y){typeof y=="function"&&T(tt[be],y)},M.removeHook=function(be,y){if(y!==void 0){const te=E(tt[be],y);return te===-1?void 0:S(tt[be],te,1)[0]}return v(tt[be])},M.removeHooks=function(be){tt[be]=[]},M.removeAllHooks=function(){tt=De()},M}var j=P();function k(A,M){if(t.features.enableaftersanitizationhook){const $=M?.hook?.afterSanitizeAttributes;$&&j.addHook("afterSanitizeAttributes",$);try{return j.sanitize(A,M)}finally{$&&j.removeHook("afterSanitizeAttributes",$)}}return j.sanitize(A,M)}r.default=k,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_28_17-alpha"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("experience/dataLayerObject/v/256_8_0",["exports","lwc/v/9_1_2","lightning/purifyLib/v/1_28_17-alpha"],function(r,t,e){"use strict";function I(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var R=I(e);const W={hidden:""},H={lwc:{dom:"manual"}};function _(T,S,O,B){const{shc:F,h:X}=T;return[X("div",{attrs:W,props:{innerHTML:B._rawHtml$0!==(B._rawHtml$0=S.scriptElement)?B._sanitizedHtml$0=F(S.scriptElement):B._sanitizedHtml$0},context:H,key:0})]}var u=t.registerTemplate(_);_.renderMode="light",_.stylesheets=[],_.stylesheetToken="lwc-64pqse1e4gn",_.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",t.freezeTemplate(_);const f=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function d(T){return typeof window=="undefined"?T:R.default(T,f)}class E extends t.LightningElement{constructor(...S){super(...S);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(S){this._scriptDataAttributes=S}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(S){this._catalogObjectId=S}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(S){this._catalogObjectType=S}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(S){this._catalogObjectAttributes=S}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(S){this._relatedCatalogObjects=S}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(S){this._customObject=S}get customObject(){return this._customObject}get scriptElement(){return this.scriptDataAttributes?.providerType&&(this.isCustomObject()||this.isCatalogObject())?`<script type="application/json" data-provider-type="${this.scriptDataAttributes?.providerType}">${d(this.scriptElementContent())}</script>`:""}scriptElementContent(){const S=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(S)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}E.renderMode="light",t.registerDecorators(E,{publicProps:{scriptDataAttributes:{config:3},catalogObjectId:{config:3},catalogObjectType:{config:3},catalogObjectAttributes:{config:3},relatedCatalogObjects:{config:3},customObject:{config:3},scriptElement:{config:1}},fields:["_scriptDataAttributes","_catalogObjectId","_catalogObjectType","_catalogObjectAttributes","_relatedCatalogObjects","_customObject"]});const v=t.registerComponent(E,{tmpl:u,sel:"experience-data-layer-object",apiVersion:66,enableSyntheticElementInternals:!0});
2r.default=v,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/256_8_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/app/v/1_66_1195-262_0",["exports","lwc/v/9_1_2","experience/dataLayerObject/v/256_8_0","webruntime/innerApp/v/1_66_1195-262_0","lwr/routerContainer/v/0_22_17","@salesforce/site/Id/v/1","@salesforce/webstore/Id/v/1","@app/templateDevName/v/1","webruntime/routingService/v/1_66_1195-262_0","webruntime/errors/v/1_66_1195-262_0"],function(r,t,e,I,R,W,H,_,u,g){"use strict";function l(Q){return Q&&typeof Q=="object"&&"default"in Q?Q:{default:Q}}var f=l(e),d=l(I),E=l(R),v=l(W),T=l(H),S=l(_);function O(Q,N,x,re){const{c:ue}=Q;return[ue("lwr-router-container",E.default,{props:{router:N.router},key:0},[ue("experience-data-layer-object",f.default,{props:{scriptDataAttributes:N.siteDataForDataLayer.scriptDataAttributes,customObject:N.siteDataForDataLayer.customObject},key:1}),ue("webruntime-inner-app",d.default,{props:{view:N.view,routerContainerView:N.routerContainerView,routeParams:N.routeParams},key:2})])]}var B=t.registerTemplate(O);O.renderMode="light",O.stylesheets=[],O.stylesheetToken="lwc-ag6063mqi2",O.legacyStylesheetToken="webruntime-app_app",t.freezeTemplate(O);class F extends t.LightningElement{constructor(N,x){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=u.router,this.view=N,this.routerContainerView=x,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:v.default,templateDevName:S.default,...T.default?{webstore:{id:T.default}}:{}}}}renderedCallback(){if(this.isInitialized)return;const N=this.querySelector("lwr-router-container");u.initializeRouterContainer(N),this.isInitialized=!0}errorCallback(N,x){if(g.reportError({subject:"app level error",error:N,wcstack:x}),process.env.SSR)throw N}disconnectedCallback(){this.isInitialized=!1}render(){return B}}F.renderMode="light",t.registerDecorators(F,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router"]});const X=t.registerComponent(F,{tmpl:B,sel:"webruntime-app",apiVersion:66,enableSyntheticElementInternals:!0});r.default=X,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/loader/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17"],function(r,t){"use strict";Object.defineProperty(r,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/assert/v/1_66_1195-262_0",["exports","webruntime/utils/v/1_66_1195-262_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-instrumentation/v/1_66_1195-262_0",["exports","webruntime/logger/v/1_66_1195-262_0","@communities-webruntime/common/v/1_66_1195-262_0","webruntime/assert/v/1_66_1195-262_0"],function(r,t,e,I){"use strict";function R(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var W=R(I);function H(o,p){return`${e.WEBRUNTIME_PREFIX}
2-${[o,p].filter(Boolean).join(":")}`}const{performance:_}=globalThis;function u(o){const p=JSON.stringify(o);return p&&JSON.parse(p)}function g(o,p,c){const G=H(o,p);_.mark(G,{detail:{ctx:u(c)}})}function l(o,p,c){g(o,p,c)}function f(o,p,c){g(o,p,c)}function d(o,p,c){const G=H(o,p);try{_.measure(G,{detail:{ctx:u(c)},start:G})}catch(q){t.logError(`[instrumentation] no startMark named ${G} found`,q.stack)}}function E(){return Date.now()}function v(o,p,c){}function T(o,p,c){}function S(o,p,c,G,q){}function O(o){}function B(o,p){}function F(o){return{logHits(p){},logMisses(p){},unRegister(){}}}function X(o,p,c){}function Q(o){}function N(o){}function x(o){}function re(o,p,c){}function ue(o){return{increment(p){},decrement(p){},getValue(){return 0},reset(){}}}function we(o){return{setValue(p){},getValue(){return 0},reset(){}}}function Pe(o){return{update(p){},getValue(){return[]},reset(){}}}function L(o){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class Fe{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(p){if(!this._registry[p])throw new Error(`eventName ${p} isn't valid`)}register(p,c,G){return W.default(p&&typeof p=="string","eventName must be a valid string"),this._checkEventName(p),W.default(c&&typeof c=="string","listenerName must be a valid string"),W.default(typeof G=="function","callback must be provided"),this._registry[p].push({name:c,func:G})}unregister(p,c){this._checkEventName(p);const G=c-1;W.default(this._registry[p][G],`No listener found for ${p} with registration ID ${c}`),delete this._registry[p][G]}notify(p,c){this._checkEventName(p),this._registry[p].forEach(G=>G.func(c))}}const Me=new Fe;r.counter=ue,r.disablePlugin=x,r.enablePlugin=N,r.error=X,r.gauge=we,r.interaction=S,r.mark=l,r.markEnd=d,r.markStart=f,r.notifications=Me,r.percentileHistogram=Pe,r.perfEnd=T,r.perfStart=v,r.registerCacheStats=F,r.registerPeriodicLogger=B,r.registerPlugin=O,r.removePeriodicLogger=Q,r.time=E,r.timer=L,r.trackScenario=re,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-storage/v/1_66_1195-262_0",["exports"],function(r){"use strict";var t={};r.default=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_1195-262_0",["exports","webruntime/logger/v/1_66_1195-262_0"],function(r,t){"use strict";const e="/services/data/v67.0",I={"CommerceCatalogController.getProductCategoryPath":{urlPath:e+"/commerce/webstores/${webstoreId}/product-category-path/product-categories/${productCategoryId}",urlPathParamNames:["productCategoryId","webstoreId"],method:"GET"},"CommerceCatalogController.getProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogController.getProduct":{urlPath:e+"/commerce/webstores/${webstoreId}/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommerceCatalogManagementController.compositeCommerceProductCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"POST"},"CommerceCatalogManagementController.compositeCommerceProductUpdate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products/${productId}",urlPathParamNames:["productId","webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"PUT"},"CommerceCatalogManagementController.compositeCommerceVariationCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-variations",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceVariationInputRepresentation",method:"POST"},"CommerceCatalogManagementController.ProductAttributeSearch":{urlPath:e+"/commerce/management/search/product-variation-attributes",urlPathParamNames:[],method:"GET"},"CommerceCatalogSettingsController.getDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogSettingsController.replaceDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"displayableAttributeSettings",method:"PUT"},"HSRCommerceCatalogController.getProductCategoryPathHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/product-categories/${productCategoryId}/product-category-path",urlPathParamNames:["productCategoryId","versionId","webstoreId"],method:"GET"},"HSRCommerceCatalogController.getProductHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/products/${productId}",urlPathParamNames:["productId","versionId","webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrices":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrice":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommunitiesController.getPagePreviewUrl":{urlPath:e+"/connect/communities/${communityId}/preview-url/pages/${pageApiName}",urlPathParamNames:["communityId","pageApiName"],method:"GET"},"CommunitiesController.getCommunity":{urlPath:e+"/connect/communities/${communityId}",urlPathParamNames:["communityId"],method:"GET"},"CommunitiesController.ingestRecord":{urlPath:e+"/connect/communities/${communityId}/microbatching",urlPathParamNames:["communityId"],inputRepresentation:"requestIngestionInput",method:"POST"},"FilesController.getFileUploadConfig":{urlPath:e+"/connect/file/upload/config",urlPathParamNames:[],method:"GET"},"FilesController.createContentDocFromContentBody":{urlPath:e+"/connect/files/users/${userId}",urlPathParamNames:["userId"],inputRepresentation:"file",method:"POST"},"MissionsController.purgeUserMissionsActivities":{urlPath:e+"/connect/communities/${communityId}/missions/activities/purge-job",urlPathParamNames:["communityId"],method:"POST"},"CommerceCartController.upsertInventoryReservation":{urlPath:e+"/commerce/webstores/${webstoreId}/carts/${activeCartOrId}/inventory-reservations",urlPathParamNames:["activeCartOrId","webstoreId"],inputRepresentation:"cartInventoryReservationInput",method:"PUT"},"CommerceSearchController.getSearchBoostBuryRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.createSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"boostBuryRuleInput",method:"POST"},"CommerceSearchController.deleteSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"DELETE"},"CommerceSearchController.getSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"GET"},"CommerceSearchController.getSearchIndexErrors":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index/${indexId}/errors",urlPathParamNames:["indexId","webstoreId"],method:"GET"},"CommerceSearchController.getManagementSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.putSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"sortRules",method:"PUT"},"CommerceSearchController.searchProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/search/product-search",urlPathParamNames:["webstoreId"],inputRepresentation:"productSearchInput",method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.createCommerceSearchIndex":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexLogs":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index-logs",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.getFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.replaceFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"facetableAttributeSettings",method:"PUT"},"CommerceSearchSettingsController.getSearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.modifySearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"searchableAttributeSettings",method:"PATCH"},"CommerceShippingController.getShippingProfilesForWebStore":{urlPath:e+"/commerce/webstores/${webstoreId}/shippingProfiles",urlPathParamNames:["webstoreId"],method:"GET"},"NavigationMenuController.getCommunityNavigationMenu":{urlPath:e+"/connect/communities/${communityId}/navigation-menu/navigation-menu-items",urlPathParamNames:["communityId"],method:"GET"},"MarketingIntegrationController.getForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}",urlPathParamNames:["formId","siteId"],method:"GET"},"MarketingIntegrationController.saveForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms",urlPathParamNames:["siteId"],inputRepresentation:"formInput",method:"POST"},"MarketingIntegrationController.submitForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}/data",urlPathParamNames:["formId","siteId"],inputRepresentation:"formSubmissionInput",method:"POST"},"SeoPropertiesController.getRecordSeoProperties":{urlPath:e+"/connect/communities/${communityId}/seo/properties/${recordId}",urlPathParamNames:["communityId","recordId"],method:"GET"},"FlowBuilderController.getRules":{urlPath:e+"/connect/interaction/builder/rules",urlPathParamNames:[],method:"GET"},"OrchestrationController.getOrchestrationInstanceCollection":{urlPath:e+"/connect/interaction/orchestration/instances",urlPathParamNames:[],method:"GET"},"FlowRuntimeConnectController.navigateFlow":{urlPath:e+"/connect/interaction/runtime/navigateFlow",urlPathParamNames:[],inputRepresentation:"request",method:"POST"},"FlowRuntimeConnectController.resumeFlow":{urlPath:e+"/connect/interaction/runtime/resumeFlow",urlPathParamNames:[],method:"POST"},"FlowRuntimeConnectController.startFlow":{urlPath:e+"/connect/interaction/runtime/startFlow",urlPathParamNames:[],method:"POST"},"DataCategoryController.getCategoryGroups":{urlPath:e+"/connect/data-category/category-group",urlPathParamNames:[],method:"GET"},"KnowledgeController.updateViewStat":{urlPath:e+"/connect/knowledge/article/view-stat",urlPathParamNames:[],method:"PATCH"},"NetworkDataCategoryController.getChildCategories":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/child-category",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getArticlesForCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/knowledge-article",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}",urlPathParamNames:["communityId","networkDataCategoryId"],method:"PATCH"},"NetworkDataCategoryController.getNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],inputRepresentation:"networkDataCategoryTree",method:"PUT"},"NetworkDataCategoryController.getParentNetworkDataCategoryPath":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/parent-path",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItems":{urlPath:e+"/connect/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItemsForCommunity":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"ExperienceModelTypeSystemController.getBlockTypes":{urlPath:e+"/connect/experience-model/block-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getBlockType":{urlPath:e+"/connect/experience-model/block-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getContentTypes":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentTypesByContextRecordId":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentType":{urlPath:e+"/connect/experience-model/content-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getPropertyTypes":{urlPath:e+"/connect/experience-model/property-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getPropertyType":{urlPath:e+"/connect/experience-model/property-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"LightningTypesFamilyController.getTypes":{urlPath:e+"/connect/lightning-model/types",urlPathParamNames:[],inputRepresentation:"lightningModelTypes",method:"POST"},"ManagedContentController.getMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.patchMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],inputRepresentation:"mCSFolderShareCollectionUpdateInput",method:"PATCH"},"ManagedContentController.getMCSFolderShareTargets":{urlPath:e+"/connect/cms/folders/${folderId}/share-targets",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.cancelOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances/${mContentOrchInstanceId}",urlPathParamNames:["mContentOrchInstanceId"],method:"DELETE"},"ManagedContentController.cloneManagedContents":{urlPath:e+"/connect/cms/contents/clone",urlPathParamNames:[],inputRepresentation:"ManagedContentCloneInputParam",method:"POST"},"ManagedContentController.getCollectionItems":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId"],method:"GET"}
2,"ManagedContentController.getManagedContentByTopicsAndContentKeys":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getPublishedManagedContentListByContentKey":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery/contents",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getDeployments":{urlPath:e+"/cms/deployments",urlPathParamNames:[],method:"GET"},"ManagedContentController.createDeployment":{urlPath:e+"/cms/deployments",urlPathParamNames:[],inputRepresentation:"DeploymentInput",method:"POST"},"ManagedContentController.cloneManagedContentDocument":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/clone",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"ManagedContentCloneInputParam",method:"POST"},"ManagedContentController.createManagedContent":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.createManagedContentWithMedia":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.getManagedContent":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentForSite":{urlPath:e+"/connect/sites/${siteId}/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId","siteId"],method:"GET"},"ManagedContentController.createManagedContentExportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/export",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.createManagedContentImportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/import",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.getCMSJobForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs/${jobId}",urlPathParamNames:["contentSpaceId","jobId"],method:"GET"},"ManagedContentController.getAllCMSJobsForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.createManagedContentTranslationVariants":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/translate",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"languages",method:"POST"},"ManagedContentController.getManagedContentOrchestrationDefinitions":{urlPath:e+"/connect/cms/contents/orchestration-definitions",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentOrchestrationInstances":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],method:"GET"},"ManagedContentController.createManagedContentOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],inputRepresentation:"mContentOrchInstanceInput",method:"POST"},"ManagedContentController.getManagedContentPreviews":{urlPath:e+"/cms/spaces/${contentSpaceId}/preview-endpoints",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.getManagedContentProviders":{urlPath:e+"/connect/cms/content/providers",urlPathParamNames:[],method:"GET"},"ManagedContentController.publishDiagnostic":{urlPath:e+"/connect/cms/contents/publish/diagnostic",urlPathParamNames:[],inputRepresentation:"publishDiagnosticInput",method:"POST"},"ManagedContentController.publish":{urlPath:e+"/connect/cms/contents/publish",urlPathParamNames:[],inputRepresentation:"publishInput",method:"POST"},"ManagedContentController.getManagedContentReferencedBy":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/referenced-by",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentVariantRendition":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/renditions/${renditionType}",urlPathParamNames:["contentKeyOrId","renditionType"],method:"GET"},"ManagedContentController.getManagedContentRunningOrchestrationHistoryEvents":{urlPath:e+"/connect/cms/contents/orchestration-history-events",urlPathParamNames:[],method:"GET"},"ManagedContentController.updateDeployment":{urlPath:e+"/connect/cms/schedules/${deploymentId}",urlPathParamNames:["deploymentId"],method:"PATCH"},"ManagedContentController.createSchedule":{urlPath:e+"/connect/cms/schedules",urlPathParamNames:[],inputRepresentation:"ScheduleInput",method:"POST"},"ManagedContentController.searchManagedContentForItems":{urlPath:e+"/connect/cms/items/search",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentSingleItem":{urlPath:e+"/connect/cms/spaces
2/${contentSpaceId}/single-item-content/${contentTypeFQN}",urlPathParamNames:["contentSpaceId","contentTypeFQN"],method:"GET"},"ManagedContentController.getManagedContentSpaces":{urlPath:e+"/connect/cms/spaces",urlPathParamNames:[],method:"GET"},"ManagedContentController.postManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders",urlPathParamNames:[],inputRepresentation:"managedContentSpaceFolderInput",method:"POST"},"ManagedContentController.getManagedContentSpaceFolderItems":{urlPath:e+"/connect/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolderItemsV1":{urlPath:e+"/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders/${folderId}",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.putManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],inputRepresentation:"mContentOrchConfigInput",method:"PUT"},"ManagedContentController.deleteManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"DELETE"},"ManagedContentController.getManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.patchManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],inputRepresentation:"ManagedContentSpaceInput",method:"PATCH"},"ManagedContentController.getTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"taxonomyTerms",method:"PATCH"},"ManagedContentController.createTranslationJob":{urlPath:e+"/connect/managed-content/translation",urlPathParamNames:[],inputRepresentation:"translationRequest",method:"POST"},"ManagedContentController.createTranslationV2Job":{urlPath:e+"/connect/cms/content/spaces/${contentSpaceId}/translation",urlPathParamNames:["contentSpaceId"],inputRepresentation:"translationV2Request",method:"POST"},"ManagedContentController.getManagedContentTypesForMixin":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/content-types",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.unpublish":{urlPath:e+"/connect/cms/contents/unpublish",urlPathParamNames:[],inputRepresentation:"unpublishInput",method:"POST"},"ManagedContentController.createManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants",urlPathParamNames:[],inputRepresentation:"ManagedContentVariantInputParam",method:"POST"},"ManagedContentController.getVariantReferences":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/variants/references",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.deleteManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"DELETE"},"ManagedContentController.getManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.replaceManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.replaceManagedContentVariantWithMedia":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.getManagedContentVariantVersions":{urlPath:e+"/connect/cms/contents/variants/${variantId}/versions",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.getWebUrls":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/web-urls",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateManagedContentWebUrl":{urlPath:e+"/connect/cms/contents/web-urls/${managedContentWebUrlId}",urlPathParamNames:["managedContentWebUrlId"],inputRepresentation:"managedContentWebUrlInput",method:"PATCH"},"ManagedContentChannelController.getManagedContentChannels":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],method:"GET"},"ManagedContentChannelController.postManagedContentChannel":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],inputRepresentation:"ManagedContentChannelInput",method:"POST"},"ManagedContentChannelController.deleteManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"DELETE"},"ManagedContentChannelController.getManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"GET"},"ManagedContentChannelController.patchManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],inputRepresentation:"ManagedContentChannelInput",method:"PATCH"},"ManagedContentDeliveryController.getCollectionItemsForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionItemsForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadata":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentSpaceController.getManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces
2/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentSpaceController.patchManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],inputRepresentation:"spaceChannels",method:"PATCH"},"ManagedContentSpaceController.deleteDummySpace":{urlPath:e+"/connect/cms/spaces/dummy/",urlPathParamNames:[],method:"DELETE"},"ManagedContentTypeController.getContentTypeSchema":{urlPath:e+"/connect/cms/content-types/${contentTypeFQN}",urlPathParamNames:["contentTypeFQN"],method:"GET"},"SitesController.searchSite":{urlPath:e+"/connect/sites/${siteId}/search",urlPathParamNames:["siteId"],method:"GET"},"ActionsController.getFlexipageFormulaOverrides":{urlPath:e+"/ui-api/actions/formula-activation/${actionFeature}",urlPathParamNames:["actionFeature"],method:"GET"},"ActionsController.getGlobalActions":{urlPath:e+"/ui-api/actions/global",urlPathParamNames:[],method:"GET"},"ActionsController.getActionLayout":{urlPath:e+"/ui-api/actions/layout/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getListViewActions":{urlPath:e+"/ui-api/actions/list-view/${listViewIds}",urlPathParamNames:["listViewIds"],method:"GET"},"ActionsController.getLookupActions":{urlPath:e+"/ui-api/actions/lookup/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getMRUListActions":{urlPath:e+"/ui-api/actions/mru-list/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getObjectCreateActions":{urlPath:e+"/ui-api/actions/object/${objectApiName}/record-create",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.getActionOverrides":{urlPath:e+"/ui-api/actions/overrides/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.performUpdateRecordQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"PATCH"},"ActionsController.performQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"POST"},"ActionsController.getQuickActionDefaults":{urlPath:e+"/ui-api/actions/record-defaults/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getQuickActionInfo":{urlPath:e+"/ui-api/actions/quick-action-info/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getRecordEditActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/record-edit",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch/${relatedListIds}",urlPathParamNames:["recordIds","relatedListIds"],method:"GET"},"ActionsController.postRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch",urlPathParamNames:["recordIds"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"ActionsController.getRelatedListRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list-record/${relatedListRecordIds}",urlPathParamNames:["recordIds","relatedListRecordIds"],method:"GET"},"ActionsController.getRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],method:"GET"},"ActionsController.postRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"AppsController.getAppByID":{urlPath:e+"/ui-api/apps/${appId}",urlPathParamNames:["appId"],method:"GET"},"AppsController.getAccessibleApps":{urlPath:e+"/ui-api/apps",urlPathParamNames:[],method:"GET"},"AppsController.getNavItems":{urlPath:e+"/ui-api/nav-items",urlPathParamNames:[],method:"GET"},"ListUiController.getListsByObjectName":{urlPath:e+"/ui-api/list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListInfosById":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByName":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByObjectName":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.createListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],inputRepresentation:"listInfoInput",method:"POST"},"ListUiController.deleteListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"DELETE"},"ListUiController.getListInfoById":{urlPath:e+"/ui-api/list-info/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListInfoByName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListInfoByApiName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listInfoInput",method:"PATCH"},"ListUiController.getListObjectInfo":{urlPath:e+"/ui-api/list-object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listPreferencesInput",method:"PATCH"},"ListUiController.getListRecordsById":{urlPath:e+"/ui-api/list-records/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.postListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listRecordsQuery",method:"POST"},"ListUiController.getListUiById":{urlPath:e+"/ui-api/list-ui/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListUiByName":{urlPath:e+"/ui-api/list-ui/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"MruListUiController.getMruListInfo":{urlPath:e+"/ui-api/mru-list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListRecords":{urlPath:e+"/ui-api/mru-list-records/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListUi":{urlPath:e+"/ui-api/mru-list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],method:"GET"},"RecordUiController.executeAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordsWithFields":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordsWithLayouts":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.executeBatchRecordOperations":{urlPath:e+"/ui-api/records/batch",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.getDedupeConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getDuplicateConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getFormByName":{urlPath:e+"/ui-api/forms/${apiName}",urlPathParamNames:["apiName"],method:"GET"},"RecordUiController.executeBatchGraphQL":{urlPath:e+"/graphql/batch",urlPathParamNames:[],inputRepresentation:"batchQueryInput",method:"POST"},"RecordUiController.executeGraphQL":{urlPath:e+"/graphql",urlPathParamNames:[],inputRepresentation:"queryInput",method:"POST"},"RecordUiController.getLayout":{urlPath:e+"/ui-api/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.updateLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],inputRepresentation:"userState",method:"PATCH"},"RecordUiController.getObjectInfos":{urlPath:e+"/ui-api/object-info/batch/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"RecordUiController.getObjectInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPathLayout":{urlPath:e+"/ui-api/path/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPicklistValuesByRecordType":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}",urlPathParamNames:["objectApiName","recordTypeId"],method:"GET"},"RecordUiController.getPicklistValues":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName","recordTypeId"],method:"GET"},"RecordUiController.findDuplicates":{urlPath:e+"/ui-api/predupe",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.postRecordAvatarAssociation":{urlPath:e+"/ui-api/record-avatars/${recordId}/association",urlPathParamNames:["recordId"],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordAvatars":{urlPath:e+"/ui-api/record-avatars/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordCloneDefaults":{urlPath:e+"/ui-api/record-defaults/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordCreateDefaults":{urlPath:e+"/ui-api/record-defaults/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.createRecord":{urlPath:e+"/ui-api/records",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.deleteRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"DELETE"},"RecordUiController.getRecordWithFields":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordWithLayouts":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.updateRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"recordInput",method:"PATCH"},"RecordUiController.getRecordDefaultsTemplateClone":{urlPath:e+"/ui-api/record-defaults/template/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordDefaultsTemplateForCreate":{urlPath:e+"/ui-api/record-defaults/template/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getRecordUis":{urlPath:e+"/ui-api/record-ui/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getValidationRulesInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}/validation-rules-info",urlPathParamNames:["objectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfoBatch":{urlPath:e+"/ui-api/related-list-info/batch/${parentObjectApiName}/${relatedListNames}",urlPathParamNames:["parentObjectApiName","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListInfoCollection":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}",urlPathParamNames:["parentObjectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfo":{urlPath:e+"/ui-api/related-list-info/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],method:"GET"},"RelatedListUiController.updateRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],inputRepresentation:"relatedListInfoInput",method:"PATCH"},"RelatedListUiController.getRelatedListPreferencesBatch":{urlPath:e+"/ui-api/related-list-preferences/batch/${preferencesIds}",urlPathParamNames:["preferencesIds"],method:"GET"},"RelatedListUiController.getRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],method:"GET"},"RelatedListUiController.updateRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],inputRepresentation:"relatedListUserPreferencesInput",method:"PATCH"},"RelatedListUiController.getRelatedListsRecordCount":{urlPath:e+"/ui-api/related-list-count/batch/${parentRecordId}/${relatedListNames}",urlPathParamNames:["parentRecordId","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListRecordCount":{urlPath:e+"/ui-api/related-list-count/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}/${relatedListIds}",urlPathParamNames:["parentRecordId","relatedListIds"],method:"GET"},"RelatedListUiController.postRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}",urlPathParamNames:["parentRecordId"],inputRepresentation:"listRecordsQuery",method:"POST"},"RelatedListUiController.getRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.postRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],inputRepresentation:"listRecordsQuery",method:"POST"},"SearchUiController.searchResultsKeyword":{urlPath:e+"/ui-api/search/results/keyword",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"SearchUiController.getSearchFilterMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters",urlPathParamNames:["objectApiName"],method:"GET"},"SearchUiController.getFilterOptions":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters/${filterApiName}/options",urlPathParamNames:["filterApiName","objectApiName"],method:"GET"},"SearchUiController.searchResults":{urlPath:e+"/ui-api/search/results",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"LookupController.getLookupMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/lookup/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.getLookupRecords":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.lookup":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],inputRepresentation:"body",method:"POST"},"ServicePlanController.executeServicePlan":{urlPath:e+"/service-plan/execute/${generatedPlanId}",urlPathParamNames:["generatedPlanId"],inputRepresentation:"servicePlanInputRepresentation",method:"PUT"},"ServicePlanController.generateSync":{urlPath:e+"/service-plan/generateSync/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"ServicePlanPostInput",method:"POST"},"TableauEmbeddingController.postJWT":{urlP
2ath:e+"/tableau/jwt",urlPathParamNames:[],method:"POST",inputRepresentation:"tableauJwtArgs"},"TableauEmbeddingController.getJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"GET"},"TableauEmbeddingController.getEAS":{urlPath:e+"/tableau/eas",urlPathParamNames:[],method:"GET"},"AnalyticsController.getVisualizationBundle":{urlPath:e+"/tableau/visualizations/${visualizationIdOrApiName}/bundle",urlPathParamNames:["visualizationIdOrApiName"],method:"GET"},"SemanticEngineController.executeSemanticQuery":{urlPath:e+"/semantic-engine/gateway",urlPathParamNames:[],method:"POST",inputRepresentation:"semanticQueryRequest"},"MilestonesController.getBusinessHours":{urlPath:e+"/connect/milestones/business-hours",urlPathParamNames:[],method:"GET"},"MilestonesController.markMilestoneCompleted":{urlPath:e+"/connect/milestones/business-hours/milestone-completed",urlPathParamNames:[],method:"PUT"},"MilestonesController.getMilestonesDataManager":{urlPath:e+"/connect/milestones/milestones-data-manager/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"ICpqConnectFeatureController.productDetails":{urlPath:e+"/connect/cpq/products/${productId}",urlPathParamNames:["productId"],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.configure":{urlPath:e+"/connect/cpq/configurator/actions/configure",urlPathParamNames:[],method:"POST",inputRepresentation:"configuratorInput"},"ICpqConnectFeatureController.searchProductList":{urlPath:e+"/connect/cpq/products/search",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"IArcResourceFamilyController.amend":{urlPath:e+"/connect/revenue-management/assets/actions/amend",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.renew":{urlPath:e+"/connect/revenue-management/assets/actions/renew",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.cancel":{urlPath:e+"/connect/revenue-management/assets/actions/cancel",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"InstantPricingConnectFeatureController.getInstantPricing":{urlPath:e+"/industries/cpq/quotes/actions/get-instant-price",urlPathParamNames:[],method:"POST",inputRepresentation:"getInstantPricingRequestPayload"},"SalesTransactionContextController.placeSalesTransaction":{urlPath:e+"/connect/rev/sales-transaction/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceSalesTransactionInput"},"PlaceQuoteController.placeQuote":{urlPath:e+"/commerce/quotes/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceQuoteInput"},"CommerceOrderController.placeOrder":{urlPath:e+"/commerce/sales-orders/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"inputRequest"},"SalesAgreementProductController.updateSalesAgreement":{urlPath:e+"/connect/sales-agreements/${salesAgreementId}/product",urlPathParamNames:["salesAgreementId"],method:"PUT",inputRepresentation:"salesAgreementDetailInput"},"ConfiguratorResourceFamilyController.getProductFlowByProductId":{urlPath:e+"/connect/pcm/products/${productId}/flow",urlPathParamNames:["productId"],method:"GET"},"ICpqConnectFeatureController.bulkProductDetails":{urlPath:e+"/connect/cpq/products/bulk",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.productList":{urlPath:e+"/connect/cpq/products",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.guidedSelectionProductList":{urlPath:e+"/connect/cpq/products/guided-selection",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.categoryList":{urlPath:e+"/connect/cpq/categories",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"OmniAnalyticsController.fetchOmniAnalyticsMetadata":{urlPath:e+"/connect/omni-analytics/analytics-metadata",urlPathParamNames:["externalTrackingDefName","fetchSettings","groupName","isActive"],method:"GET"},"OmniAnalyticsController.storeOmniAnalyticsLogs":{urlPath:e+"/connect/omni-analytics/analytics-logs",urlPathParamNames:[],method:"POST",inputRepresentation:"omniAnalyticsLogDefinition"},"IFlexRuntimeConnectController.executeDataSource":{urlPath:e+"/connect/flex-runtime/executeDataSource",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceContinuation":{urlPath:e+"/connect/flex-runtime/datasource-continuation",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceAsync":{urlPath:e+"/connect/flex-runtime/datasource-async",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.isCommunity":{urlPath:e+"/connect/flex-runtime/isCommunity",urlPathParamNames:[],method:"GET"},"OmniStudioLoggerConnectController.logUsageEvents":{urlPath:e+"/connect/omnistudio/logger",urlPathParamNames:[],method:"POST",inputRepresentation:"omniStudioLogInputRepresentation"},"KnowledgeSummaryController.getKnowledgeSummary":{urlPath:e+"/connect/article/${recordId}/summary",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.getKnowledgeAnswer":{urlPath:e+"/connect/article/${recordId}/answer",urlPathParamNames:["recordId"],method:"POST",inputRepresentation:"knowledgeGetAnswerInput"},"KnowledgeQuestionsGenController.getKnowledgeQuestions":{urlPath:e+"/connect/article/${recordId}/questions",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.updateKnowledgeQuestion":{urlPath:e+"/connect/article/${recordId}/questions/${questionId}/selectioncount",urlPathParamNames:["recordId","questionId"],method:"PUT"},"ServiceAutomationFamilyController.getCatalogItem":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"ServiceAutomationFamilyController.getCatalogItemForRuntime":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"MobilePublisherContainerOneTimeLoginUrlFamilyController.getMobilePublisherContainerOneTimeLoginUrl":{urlPath:e+"/connect/mobilepublisher/container/oneTimeLoginUrl",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getAvailableResources":{urlPath:e+"/connect/appointmentbooking/available-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getServiceTerritories":{urlPath:e+"/connect/appointmentbooking/service-territories",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getEctDetails":{urlPath:e+"/connect/appointmentbooking/get-ect-details",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getSuggestedResources":{urlPath:e+"/connect/appointmentbooking/suggested-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getRelatedServiceResource":{urlPath:e+"/connect/appointmentbooking/related-service-resource",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getOrgPreferences":{urlPath:e+"/connect/appointmentbooking/org-preferences",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getAppointmentSlots":{urlPath:e+"/connect/appointmentbooking/get-appointment-slots",urlPathParamNames:[],method:"POST"}
2,"AppointmentBookingConnectController.getWorkTypeGroups":{urlPath:e+"/connect/appointmentbooking/work-type-groups",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getResourcesNextAvailability":{urlPath:e+"/connect/appointmentbooking/resources-next-availability",urlPathParamNames:[],method:"POST"},"SearchController.suggest":{urlPath:e+"/connect/search/suggestions",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentPaymentDetails":{urlPath:e+"/connect/scheduling/appointment-payment-details",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentFromToken":{urlPath:e+"/connect/scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getSchedulingPolicyDetails":{urlPath:e+"/connect/appointmentbooking/scheduling-policy-details",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getFieldsFromPageLayout":{urlPath:e+"/connect/unified-scheduling/actions/get-fields-from-page-layout",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getOrgSettings":{urlPath:e+"/connect/common-scheduling/org-settings",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSchedulingPolicyDetails":{urlPath:e+"/connect/unified-scheduling/actions/get-scheduling-policy-details",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSuggestedResources":{urlPath:e+"/connect/scheduling/suggested-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getRelatedServiceResource":{urlPath:e+"/connect/unified-scheduling/related-service-resource",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getWorkTypes":{urlPath:e+"/connect/unified-scheduling/actions/get-work-types",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getEctDetails":{urlPath:e+"/connect/unified-scheduling/get-ect-details",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getServiceTerritoriesByLocation":{urlPath:e+"/connect/unified-scheduling/actions/get-service-territories-by-location",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getAvailableResources":{urlPath:e+"/connect/unified-scheduling/actions/get-available-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAvailableSlots":{urlPath:e+"/connect/unified-scheduling/actions/get-available-slots",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAppointmentFromToken":{urlPath:e+"/connect/unified-scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"EnablementMeasureConnectController.createEnablementMeasure":{urlPath:e+"/connect/enablement/measures",urlPathParamNames:[],inputRepresentation:"measure",method:"POST"},"EnablementMeasureConnectController.updateEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measure",method:"PUT"},"EnablementMeasureConnectController.updateEnablementMeasureStatus":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measureStatus",method:"PATCH"},"EnablementMeasureConnectController.getEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"GET"},"EnablementMeasureConnectController.deleteEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"DELETE"},"EnablementProgramController.describeEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}/describe",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.createEnablementProgram":{urlPath:e+"/connect/enablement/programs",urlPathParamNames:[],inputRepresentation:"enablementProgram",method:"POST"},"EnablementProgramController.updateEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgram",method:"PATCH"},"EnablementProgramController.retrieveEnablementProgram":{urlPath:e+"/connect/enablement/program/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.enroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}
2/actions/enroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.unenroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}/actions/unenroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.updateEnablementProgramStatus":{urlPath:e+"/connect/enablement/programs/status/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgramStatus",method:"POST"},"EnablementProgramController.assignedEnablementProgramSummaryForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/assigned",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.assignedEnablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/assigned",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getProgramSummaryCollectionForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/collection",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.getProgramSummaryCollection":{urlPath:e+"/connect/enablement/program/summary/collection",urlPathParamNames:[],method:"GET"},"EnablementProgramController.enablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementMeasureConnectController.getContributingRecordsInfoForMilestone":{urlPath:e+"/connect/enablement/contributing-records/taskMeasureProgress/${taskMeasureProgressId}",urlPathParamNames:["taskMeasureProgressId"],method:"GET"},"EnablementMeasureConnectController.triggerOnDemandComputation":{urlPath:e+"/connect/enablement/on-demand-computation/programs/${programId}",urlPathParamNames:["programId"],method:"PATCH"},"EnablementProgramController.getEnablementProgramTemplateList":{urlPath:e+"/connect/enablement/programTemplate",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getEnablementProgramTemplate":{urlPath:e+"/connect/enablement/programTemplate/${programTemplateName}",urlPathParamNames:["programTemplateName"],method:"GET"},"LearningContentPlatformController.submitForCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/ai-feedback",urlPathParamNames:[],inputRepresentation:"coachingAICallSubmissionInputRepresentation",method:"POST"},"LearningContentPlatformController.getCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/${learningItemSubmissionId}/ai-feedback",urlPathParamNames:["learningItemSubmissionId"],method:"GET"},"LearningContentPlatformController.submitForCoachingMomentsProductPitchFeedback":{urlPath:e+"/learning-content-platform/coaching/moments/ai-product-pitch-feedback",urlPathParamNames:[],inputRepresentation:"coachingAIProductPitchFeedbackInputRepresentation",method:"POST"},"LearningContentPlatformController.evaluateLearningItem":{urlPath:e+"/connect/learning-platform/learning-item/${learningItemId}/actions/evaluate",urlPathParamNames:["learningItemId"],inputRepresentation:"evaluateLearningItemInputRepresentation",method:"POST"},"LearningContentPlatformController.getFeaturedItemsRecommendedList":{urlPath:e+"/learning-content-platform/featured-item/list/recommended",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getFeaturedItemsRelatedList":{urlPath:e+"/learning-content-platform/featured-item/list/related",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningConfig":{urlPath:e+"/learning-content-platform/learning/config",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemsList":{urlPath:e+"/learning-content-platform/learning/item/list",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemProgress":{urlPath:e+"/learning-content-platform/learning/item/progress",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningModel":{urlPath:e+"/learning-content-platform/learning/model/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getModule":{urlPath:e+"/learning-content-platform/learning/module/${moduleId}",urlPathParamNames:["moduleId"],method:"GET"},"LearningContentPlatformController.getLearningPractice":{urlPath:e+"/learning-content-platform/learning/practice/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getTextLesson":{urlPath:e+"/learning-content-platform/learning/textlesson/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"ServiceAutomationFamilyController.getServiceRequest":{urlPath:e+"/connect/service-automation/service-request/service-catalog-request/${serviceRequestId}",urlPathParamNames:["serviceRequestId"],method:"GET"},"ServiceEmployeeController.getUserProfileDetails":{urlPath:e+"/connect/employee-hub/profile/user/${userId}",urlPathParamNames:["userId"],inputRepresentation:"userProfile",method:"POST"}};function R(W){const H=I[W];return H||t.log(`[getResourceReferenceFromAuraMethod] aura controller mapping returned empty for '${W}'`),H}r.getResourceReferenceFromAuraMethod=R,Object.defineProperty(r,"__esMo
2dule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/apiCall/v/1_66_1195-262_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1195-262_0","webruntime/transport/v/1_66_1195-262_0","webruntime/errors/v/1_66_1195-262_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1_66_1195-262_0","@communities-webruntime/common/v/1_66_1195-262_0"],function(r,t,e,I,R,W,H){"use strict";function _(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}var u=_(R);async function g(O,B){const[F,X]=O.split(".");if(F==="ApexActionController")return f(X,B);const Q=t.getResourceReferenceFromAuraMethod(O);if(Q)return l(Q,B);throw new Error(`Unsupported controller action: ${F}.${X}`)}async function l({urlPath:O,urlPathParamNames:B,method:F,inputRepresentation:X},Q){const N=Q&&{...Q}||{};let x=B.reduce((Pe,L)=>{const Fe=N[L];return delete N[L],Pe.replace(`\${${L}}`,encodeURIComponent(Fe))},O),re;(F==="POST"||F==="PATCH"||F==="PUT")&&N[X]&&(re=JSON.stringify(N[X]),delete N[X]),Object.keys(N).length&&(x+=`?${Object.entries(N).filter(([,Pe])=>Pe!=null&&(!Array.isArray(Pe)||Pe.length)).map(([Pe,L])=>`${encodeURIComponent(Pe)}=${encodeURIComponent(L)}`).join("&")}`);const ue=await e.fetch(x,{method:F,body:re});let we;if(ue.status===401&&v(),ue.status!==204&&(we=await ue.json()),we instanceof Array&&(we=we[0]),!ue.ok){const Pe={status:ue.status,data:{...we,statusCode:ue.status}};throw S([Pe])}return T(we)}async function f(O,B){if(O==="execute"){const{url:F,httpRequestOptions:X}=d(O,B);return e.fetch(F,X).then(Q=>(Q.status===401&&v(),Q.status!==204?Q.json():void 0)).then(Q=>{if(Q&&Q.error&&Q.error.length>0)throw S(Q.error);return T(Q)})}throw new Error(`Unsupported Apex action: ${O}`)}function d(O,B){if((!B||typeof B!="object"||Object.keys(B).length===0)&&I.reportError({subject:"Apex API action error - invalid params",type:H.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${O} action called with invalid params: '${JSON.stringify(B)}'.`)}),B&&B.cacheable===!0){const F=`/apex/${O}?${E(B)}`;if(F.length<=H.MAX_URL_LENGTH)return{url:F,httpRequestOptions:{method:"GET",basePath:u.default}}}return{url:`/apex/${O}`,httpRequestOptions:{method:"POST",body:JSON.stringify(B),basePath:u.default}}}function E(O){const B={...O},F=B.params;if(F&&typeof F=="object"){const X=Object.keys(F).sort().reduce((Q,N)=>(Q[N]=F[N],Q),{});B.params=JSON.stringify(X)}return Object.keys(B).filter(X=>B[X]!==void 0&&B[X]!=null).sort().map(X=>`${X}=${encodeURIComponent(B[X])}`).join("&")}function v(){W.SessionTimeoutOverrides.runSync()}function T(O){return{getReturnValue:()=>O}}function S(O){return{getError:()=>O}}r.apiCallRawResponse=g,r.formatApexRequest=d,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura/v/1_66_1195-262_0",["exports","webruntime/apiCall/v/1_66_1195-262_0","webruntime/logger/v/1_66_1195-262_0"],function(r,t,e){"use strict";function I(u){if(u&&u.__esModule)return u;var g=Object.create(null);return u&&Object.keys(u).forEach(function(l){if(l!=="default"){var f=Object.getOwnPropertyDescriptor(u,l);Object.defineProperty(g,l,f.get?f:{enumerable:!0,get:function(){return u[l]}})}}),g.default=u,Object.freeze(g)}var R=I(e);const W=null,H=null,_=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return t.apiCallRawResponse}}),r.logger=R,r.createComponent=W,r.getDefinition=_,r.renderComponent=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/service/v/1_66_1195-262_0",["exports","aura-instrumentation/v/1_66_1195-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}
2),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/utility/v/1_66_1195-262_0",["exports","aura-instrumentation/v/1_66_1195-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/configProvider/v/1_66_1195-262_0",["exports","@app/basePath/v/1","lwc/v/9_1_2"],function(r,t,e){"use strict";function I(w){return w&&typeof w=="object"&&"default"in w?w:{default:w}}var R=I(t);const W=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,H=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,_="HH:mm:ss.SSS",u="YYYY-MM-DD",g="T",l=/(Z|([+-])(\d{2}):(\d{2}))$/;function f(w){return v(w)&&S(w)}function d(w){if(!T(w))return!1;const ne=E(w);return S(`2018-09-09T${ne}Z`)}function E(w){return typeof w=="string"?w.split(l)[0]:w}function v(w){return typeof w!="string"?!1:W.test(w)}function T(w){return typeof w!="string"?!1:H.test(w)}function S(w){const ne=Date.parse(w);return isFinite(ne)}var O=void 0;const B="in a few seconds",F="a few seconds ago",X="in {0} {1}",Q="{0} {1} ago",N="s",x={SECONDS:{name:"second",threshold:45},MINUTES:{name:"minute",threshold:45},HOURS:{name:"hour",threshold:22},DAYS:{name:"day",threshold:26},MONTHS:{name:"month",threshold:11},YEARS:{name:"year"}},re=1e3,ue=6e4,we=36e5,Pe=864e5;class L{constructor(ne){if(this.milliseconds=0,typeof ne!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, 3 but we are getting the ${typeof ne} value "${ne}" instead. 4 `);return}this.isValid=!0,this.milliseconds=ne}humanize(ne){if(!this.isValid)return"";const pe=o(this);return pe===x.SECONDS?this.milliseconds>0?B:F:p(ne,this.asIn(pe),pe.name)}asIn(ne){switch(ne){case x.SECONDS:return Math.round(this.milliseconds/re);case x.MINUTES:return Math.round(this.milliseconds/ue);case x.HOURS:return Math.round(this.milliseconds/we);case x.DAYS:return Math.round(this.milliseconds/Pe);case x.MONTHS:return Math.round(Me(this.milliseconds/Pe));case x.YEARS:default:return Math.round(Me(this.milliseconds/Pe)/12)}}}const Fe=e.registerComponent(L,{tmpl:O,sel:"lightning-config-provider",apiVersion:66,enableSyntheticElementInternals:!0});function Me(w){const ne=4800/146097;return w*ne}function o(w){const ne=Object.keys(x).find(pe=>{const ce=x[pe];return ce===x.YEARS||Math.abs(w.asIn(ce))<ce.threshold});return x[ne]}function p(w,ne,pe){return"Intl"in window&&Intl.RelativeTimeFormat?new Intl.RelativeTimeFormat(w,{style:"long",numeric:"always"}).format(ne,pe):c(ne,pe)}function c(w,ne){console.warn("The current environment does not support formatters for relative time.");const pe=Math.abs(w),ce=pe!==1?ne+N:ne,Ke=w>0?X:Q;return G(Ke,pe,ce)}function G(w,...ne){return w.replace(/{(\d+)}/g,(pe,ce)=>ne[ce])}const q=["January","February","March","April","May","June","July","August","September","October","November","December"],le={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},Oe={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},We={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function $e(w,ne){let pe=!1,ce=w;return typeof w=="string"&&(ce=w.split(g)[0],pe=!0),j(ce,ne,pe)}function je(w,ne){return j(w,ne,!0)}function Ge(w,ne){if(!A(w))return new Date("");const pe=(w.getHours()+11)%12+1,ce=w.getHours()>=12?"PM":"AM";switch(ne){case _:return`${Z(w.getHours())}:${Z(w.getMinutes())}:${Z(w.getSeconds())}.${ee(w.getMilliseconds())}`;case Oe.short:return`${pe}:${Z(w.getMinutes())} ${ce}`;case Oe.medium:case Oe.long:default:return`${pe}:${Z(w.getMinutes())}:${Z(w.getSeconds())} ${ce}`}}function He(w){if(!A(w))return new Date("");const ne=new Date(w.getTime());return`${je(ne)}, ${Ge($(ne))}`}function Ze(w){let ne=null,pe=!0;if(d(w)?ne=`2014-03-20T${M(w)}`:f(w)&&(w.indexOf(g)>0?(ne=M(w),pe=!1):ne=`${w}T00:00:00.000Z`),ne){const ce=new Date(ne);return pe&&$(ce),ce}return null}function _e(w,ne){return ne===u&&f(w)?Ze(w):Object.values(le).includes(ne)?P(w,ne):Object.values(We).includes(ne)?De(w):null}function Y(w){return Ze(M(w))}function oe(w,ne,pe){const ce=K(w),Ke=K(ne);return!ce||!Ke?!1:k(ce,pe).getTime()<k(Ke,pe).getTime()}function J(w,ne,pe){const ce=K(w),Ke=K(ne);return!ce||!Ke?!1:k(ce,pe).getTime()>k(Ke,pe).getTime()}function Te(w,ne,pe){const ce=new Date(w.getTime());pe(U(ce))}function Se(w,ne,pe){const ce=new Date(w.getTime());pe($(ce))}function ze(w){return w}function Le(w){return w}function Ie(w){return w}function Xe(w){return w}function Qe(){return{format:w=>(console.warn(`The current environment does not support large numbers and the original value of ${w} will be returned.`),w)}}function pt(w){return new Fe(w*60*1e3)}function ut(w){return w.humanize("en")}function De(w){const ne=w.trim().split(/[:.\s*]/),pe=ne.length;if(!ne||pe<2||pe>5)return null;const ce=ne[pe-1],Ke=ce.toLowerCase()==="am",at=ce.toLowerCase()==="pm";ne.splice(-1,1);const Je=ne.every(tt=>!isNaN(tt));if(!at&&!Ke||!Je)return null;const mt=ne[0],dt=Z(at?mt%12+12:mt%12),Tt=pe>=3&&ne[1]||"0",Ut=pe>=4&&ne[2]||"0",It=pe===5&&ne[3]||"0",Pt=new Date("2014-03-20");return Pt.setHours(dt,Tt,Ut,It),A(Pt)?Pt:null}function P(w,ne){let pe=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(ne){case le.short:pe=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case le.long:pe=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const ce=pe.exec(w.trim());if(!ce)return null;let Ke=ce[1];const at=ce[2],Je=ce[3];ne!==le.short&&(Ke=q.findIndex(Tt=>Tt.toLowerCase().includes(Ke.toLowerCase())),Ke+=1);const mt=`${Je}-${Z(Ke)}-${Z(at)}`,dt=new Date(`${mt}T00:00:00.000Z`);return A(dt)?$(dt):null}function j(w,ne,pe){const ce=K(w);if(!ce)return new Date("");switch(pe&&A(w)&&$(ce),ne){case u:return`${ce.getFullYear()}-${Z(ce.getMonth()+1)}-${Z(ce.getDate())}`;case le.short:return`${ce.getMonth()+1}/${ce.getDate()}/${ce.getFullYear()}`;case le.long:return`${q[ce.getMonth()]} ${ce.getDate()}, ${ce.getFullYear()}`;case le.medium:default:return`${q[ce.getMonth()].substring(0,3)} ${ce.getDate()}, ${ce.getFullYear()}`}}function k(w,ne){switch(ne){case"day":w.setHours(0),w.setMinutes(0);case"minute":w.setSeconds(0),w.setMilliseconds(0);break}return w}function A(w){return Object.prototype.toString.call(w)==="[object Date]"&&!isNaN(w.getTime())}function M(w){return`${E(w)}Z`}function $(w){return w.setMinutes(w.getMinutes()+w.getTimezoneOffset()),w}function U(w){return w.setMinutes(w.getMinutes()-w.getTimezoneOffset()),w}function K(w){return w?A(w)?new Date(w.getTime()):isFinite(w)&&(typeof w=="number"||typeof w=="string")?new Date(parseInt(w,10)):typeof w=="string"?Ze(w):null:null}function Z(w){return Number(w)<10?`0${w}`:w}function ee(w){return Number(w)<10?`00${w}`:Number(w)<100?`0${w}`:w}var ie={formatDate:$e,formatDateUTC:je,formatTime:Ge,formatDateTimeUTC:He,parseDateTimeISO8601:Ze,parseDateTime:_e,parseDateTimeUTC:Y,isBefore:oe,isAfter:J,UTCToWallTime:Te,WallTimeToUTC:Se,translateToOtherCalendar:ze,translateFromOtherCalendar:Le,translateToLocalizedDigits:Ie,translateFromLocalizedDigits:Xe,getNumberFormat:Qe,duration:pt,displayDuration:ut};function Re(){return ie}function Ce(){return R.default}function ke(){return null}function Ae(){return null}
4function qe(){return{densitySetting:""}}var Ve={getOneConfig:qe,getIconSvgTemplates:Ae,getToken:ke,getPathPrefix:Ce,getLocalizationService:Re};r.default=Ve,r.getIconSvgTemplates=Ae,r.getLocalizationService=Re,r.getOneConfig=qe,r.getPathPrefix=Ce,r.getToken=ke,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/navigation/v/0_22_17",["exports","lwr/navigationContext/v/0_22_17","lwr/currentPageReference/v/0_22_17","lwr/currentView/v/0_22_17","lwr/contextUtils/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/navigationMixinHacks/v/0_22_17"],function(r,t,e,I,R,W,H){"use strict";function _(S,O,B,F){R.getNavigationHelm(S).navigate(O,B,F)}function u(S,O,B){return R.getNavigationHelm(S).generateUrl(O,B)}function g(S,O,B){return R.getNavigationHelm(S).generateUrlAsync(O,B)}const l=Symbol("Navigate"),f=Symbol("GenerateUrl"),d=Symbol("NavContext"),E=Symbol("NavContext"),v=typeof window=="undefined";function T(S){W.invariant(typeof S.prototype.dispatchEvent=="function",W.messages.INVALID_MIXIN_CMP,[S.toString()]);class O extends S{[E](){if(!this[d]&&(this.dispatchEvent(new CustomEvent(H.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:F=>{this[d]=F}}})),!this[d]))throw new Error(W.generateMessage(W.messages.MISSING_CONTEXT))}[l](F,X,Q){v||(this[E](),_(this[d],F,X,Q))}async[f](F,X){return v?null:(this[E](),g(this[d],F,X))}}return O}T.Navigate=l,T.GenerateUrl=f,T.NavContext=d,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return I.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}),r.NavigationMixin=T,r.generateUrl=u,r.navigate=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/f6Controller/v/1_66_1195-262_0",["exports"],function(r){"use strict";const t=300,{document:e}=globalThis,I={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},R=g=>g&&(g.shadowRoot?g.shadowRoot.activeElement?R(g.shadowRoot.activeElement):g:g.activeElement?R(g.activeElement):g);class W{constructor(l={}){this.regions=[],this.config=I,this._debounceKeyDownHandler=void 0,this._styleElement=void 0,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=f=>{this.clearRegionHighlights();const{key:d,ctrlKey:E,metaKey:v}=f;d===this.config.navKey&&(E||v)&&(this.populateRegions(),this.handleNavigation(f))},this.elementFilter=f=>f.parentElement&&f.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:f.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(f)&&!this.isEmpty(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),t),this.initialize(l)}debounce(l,f,d){const E=d||{};let v=E.leading,T;return function(){const O=Array.prototype.slice.apply(arguments);v&&(l.apply(this,O),v=!1),clearTimeout(T),T=setTimeout(function(){l.apply(this,O),v=E.leading},f)}}appendStyleElement(){this._styleElement=e.createElement("style");const l=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${l} { position: relative; } ${l}::after { width: 100%; height: 100%; content: ''; outline: rgb(94, 158, 214) 3px solid; outline-offset: -3px; position: absolute; top: 0; left: 0; z-index: 9999; }`,this._styleElement.setAttribute("type","text/css"),e.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(l=>{l.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(l){l.classList.add(this.config.f6RegionHighlightClass)}focusIn(l){const f=l.querySelector('a[href],button:not([disabled]),input
4:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');f?f.focus():(l.tabIndex="-1",l.focus())}handleNavigation(l){if(l.preventDefault(),!this.regions.length)return;const f=l.shiftKey,d=this.getElementRegionIndex(R(l.target)),E=this.getNextRegionIndex(d,f);if(E===-1)return;const v=this.regions[E];this.focusIn(v),this.addRegionHighlight(v)}shadowContains(l,f){return l===f||l.contains(f)||l.shadowRoot&&this.isElementInContainerElements(l.shadowRoot.children,f)||l.tagName==="SLOT"&&this.isElementInContainerElements(l.assignedElements(),f)?!0:this.isElementInContainerElements(l.children,f)}isElementInContainerElements(l,f){if(!l||!l.length)return!1;const d=l.length;for(let E=0;E<d;E++)if(this.shadowContains(l[E],f))return!0;return!1}getElementRegionIndex(l){return!this.regions||!this.regions.length?-1:this.regions.findIndex(f=>this.shadowContains(f,l))}getNextRegionIndex(l,f){const d=this.regions.length-1;return d<0?-1:f?l<=0?d:l-1:l===d?0:l+1}isVisible(l){if(l===e.body||!(l instanceof Element))return!0;try{const f=window.getComputedStyle(l)||l.style;if(!f)return!1;const{display:d,visibility:E}=f;return d&&d.toLowerCase()==="none"||E&&E.toLowerCase()==="hidden"?!1:this.isVisible(l.parentNode)}catch(f){return!1}}isEmpty(l){if(l.tagName==="SLOT"&&!this.isEmptyChildren(l.assignedElements()))return!1;let f=l.children;return(!f||!f.length)&&l.shadowRoot&&(f=l.shadowRoot.children),this.isEmptyChildren(f)}isEmptyChildren(l){if(!l||!l.length)return!0;const f=l.length;for(let d=0;d<f;d++){const E=l[d];if(E.tagName!=="SLOT"||!this.isEmpty(E))return!1}return!0}populateRegions(){if(!e)return;this.regions=[];const l=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT,this.elementFilter,!1);for(;l.nextNode();)this.regions.push(l.currentNode)}initialize(l={}){!e||(e.addEventListener("keydown",this._debounceKeyDownHandler),this.regions=[],this.config={...this.config,...l},this.appendStyleElement())}cleanUp(){!e||(e.removeEventListener("keydown",this._debounceKeyDownHandler),this._regions=[],this._config=I,this._debounceKeyDownHandler=null,this._styleElement&&(e.head.removeChild(this._styleElement),this._styleElement=null))}getConfig(){return Object.freeze(this.config)}}let H;const _=g=>(H||(H=new W(g)),H),u=()=>{if(H){const g=H.getConfig();if(g)return g.f6RegionAttribute}};r.DEFAULT_CONFIG=I,r.F6Controller=W,r.createF6Controller=_,r.getActiveElem=R,r.getCurrentRegionAttributeName=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/f6Controller/v/1_66_1195-262_0",["exports","webruntime/f6Controller/v/1_66_1195-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/environment/v/0_22_17",["exports"],function(r){"use strict";const t=globalThis?.LWR?.env||{},e=t&&(t.SSR==="true"||t.SSR===!0),I=t&&t.basePath,R=t&&t.locale,W=t&&t.assetBasePath,H=t&&t.uiBasePath;r.assetBasePath=W,r.basePath=I,r.isServer=e,r.locale=R,r.uiBasePath=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("transport/v/1_66_1195-262_0",["exports","webruntime/transport/v/1_66_1195-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}
4),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/cookieStore/v/1_66_1195-262_0",["exports","@app/authenticationCookieName/v/1","@app/guestUuidCookieName/v/1","@salesforce/site/Id/v/1"],function(r,t,e,I){"use strict";function R(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}var W=R(t),H=R(e),_=R(I);let u;function g(O){O&&typeof O=="object"&&(u=O)}function l(O){u=S(O)}function f(){const O=T(W.default);return O?O==="1"||O.includes(_.default):!1}function d(){return T(H.default)}function E(){return u}function v(){return Object.entries(u||{}).map(([O,B])=>`${O}=${B}`).join(";")}function T(O){return O?(typeof document!="undefined"&&l(document?.cookie),u&&u[O]):null}function S(O){return O&&typeof O=="string"?O.split(";").reduce((F,X)=>{const[Q,N]=X.trim().split("=").map(decodeURIComponent);return F[Q]=N,F},{}):null}r.getAllCookies=E,r.getAllCookiesString=v,r.getCookie=T,r.getGuestUuidCookie=d,r.hasSidCookie=f,r.setCookiesFromObject=g,r.setCookiesFromString=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/cookieStore",["exports","webruntime/cookieStore/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/persistentQueryParams/v/1_66_1195-262_0",["exports"],function(r){"use strict";const t={};r.persistentQueryParams=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/persistentQueryParams",["exports","webruntime/persistentQueryParams/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/transport/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/persistentQueryParams/v/1_66_1195-262_0","webruntime/utils/v/1_66_1195-262_0","@communities-webruntime/common/v/1_66_1195-262_0","webruntime/cookieStore/v/1_66_1195-262_0","@app/isDesignMode/v/1","@app/isPreviewMode/v/1","lwc/v/9_1_2"],function(r,t,e,I,R,W,H,_,u,g,l,f){"use strict";function d(_e){return _e&&typeof _e=="object"&&"default"in _e?_e:{default:_e}}var E=d(e),v=d(I),T=d(R),S=d(g),O=d(l),B=void 0;class F{constructor(Y){const[oe,J]=Y.split("?");this.path=oe,this.searchParams=new URLSearchParams(J)}setParamDefaultValue(Y,oe){return this.searchParams.has(Y)||this.searchParams.append(Y,oe),this}build(){const Y=this.searchParams.toString();return this.path+(Y?`?${Y}`:"")}}const X=f.registerComponent(F,{tmpl:B,sel:"webruntime-transport",apiVersion:66,enableSyntheticElementInternals:!0}),Q=["POST","PATCH","PUT","DELETE"],N="X-SFDC-Request-Id",x="X-Salesforce-Too-Many-Requests",re="X-CSP",ue="asGuest",we="language",Pe="htmlEncode",{location:L,navigator:Fe}=globalThis,Me=new Set;function o(_e){typeof _e=="function"&&Me.add(_e)}function p(_e){Me.delete(_e)}async function c(_e,Y={}){H.assert(typeof _e=="string","Valid path not provided for fetch request");const oe={...Y,headers:{...Y.headers},credentials:Y.credentials||"same-origin"};Y.credentials===null&&delete oe.credentials,typeof window=="undefined"&&u.getGuestUuidCookie()&&(oe.headers.cookie=u.getAllCookiesString());const J=oe.isNonApiRequest===!0,Te=oe.asGuest===!0||Ze(),Se=oe.basePath!==void 0?oe.basePath:v.default,ze=new X(L?new URL(Se+_e,L).toString():Se+_e);J||(ze.setParamDefaultValue(we,T.default).setParamDefaultValue(ue,Te).setParamDefaultValue(Pe,!1),Object.entries(W.persistentQueryParams).forEach(([Xe,Qe])=>{ze.setParamDefaultValue(Xe,Qe)}));const Le=oe.headers["Content-Type"];Le===null?delete oe.headers["Content-Type"]:Le?oe.headers["Content-Type"]=Le:Y.body&&(oe.headers["Content-Type"]="application/json; charset=utf-8"),oe.headers[N]=je(),await We(oe);const Ie=await globalThis.fetch(ze.build(),oe);return Me.forEach(Xe=>Xe(Ie)),le(Ie)&&G(),Ie}function G(){typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("client-error",{detail:{type:_.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function q(_e){return!!(_e.headers.get(x)||(_e.headers.get(re)||"").toLowerCase()==="rejected")}function le(_e){return!!((_e.status===503||_e.status===429)&&q(_e))}function Oe(_e){return _e.status===503&&!q(_e)}async function We(_e){if(!Q.includes(_e.method))return;const{csrfToken:Y}=await He();Y&&(_e.headers["CSRF-Token"]=Y)}async function $e({path:_e,payload:Y,contentType:oe}){const J=E.default+_e;Fe&&Fe.sendBeacon&&Fe.sendBeacon(J,Y)||await globalThis.fetch(_e,{headers:{"Content-Type":oe},basePath:E.default,body:Y,method:"POST",isNonApiRequest:!0})}function je(){return(Date.now()+Ge()+Math.round(Math.random()*1e8)).substring(0,18)}function Ge(){function _e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return _e()+_e()}async function He(){if(typeof window=="undefined")return{isGuest:!0,id:null,contactId:null,csrfToken:null};const{default:_e}=await t.load("@app/user/v/1");return _e}function Ze(){return S.default||O.default?!1:!u.hasSidCookie()}r.addFetchObserver=o,r.fetch=c,r.isDownForMaintenanceResponse=Oe,r.isTooManyRequestsResponse=le,r.removeFetchObserver=p,r.sendBeacon=$e,Object.defineProperty(r,"__esMo
4dule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("logger/v/1_66_1195-262_0",["exports"],function(r){"use strict";function t(...I){console.log(...I)}function e(...I){console.error(...I)}r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("assert/v/1_66_1195-262_0",["exports","webruntime/utils/v/1_66_1195-262_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y/shared/v/262_6_0",["exports"],function(r){"use strict";class t{constructor(){this.notImplemented="Method not implemented.";const o=typeof performance!="undefined";o?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const p=this._timeOrigin;o&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const c=this.perfNow();return{tsNow:p+c,perfNow:c,timeOrigin:p}}):(this.perfNow=()=>Date.now()-p,this.time=()=>{const c=this.perfNow();return{tsNow:Date.now(),perfNow:c,timeOrigin:p}})}get isProduction(){return t._isProduction}markProduction(o){t._isProduction=o??!0}_checkArgument(o,p){if(typeof p=="string")return typeof o===p;if(typeof p=="function")return o instanceof p;if(Array.isArray(p))return p.some(c=>this._checkArgument(o,c));throw new Error(`Invalid argKind ${p}`)}requireArgument(o,p,c){let G=o==null||o==="";const q=c!==void 0;if(!G&&q&&(G=!this._checkArgument(o,c)),G)throw new Error(`${p} argument is required${q?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(o,p,c){if(o===void 0)return!1;if(o===null||o===""||!this._checkArgument(o,c))throw new Error(`${p} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(o,p,c){if(c.some(G=>o===G))throw new Error(`The value ${o} isn't allowed for ${p} argument.`)}checkForReservedCharacters(o,p,c){if(o&&c.some(G=>o.indexOf(G)>=0))throw new Error(`The argument ${p} isn't allowed to contain characters from ['${c.join(", ")}']. Received: ${o}.`)}generateUniqueId(o=16){const p=[],c="0123456789abcdef";if(!(o===void 0||o>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let G=0;G<o;G++){const q=Math.floor(Math.random()*16);p.push(c[q])}return p.join("")}getXpath(o){function p(q){const le=q.localName;for(;q.nextElementSibling;)if(q=q.nextElementSibling,q.localName===le)return!0;return!1}function c(q,le){return q?c(q.previousElementSibling,le||q.localName)+(q.localName===le?1:0):1}function G(q){if(!q||q.nodeType!==1)return[""];const le=c(q)>1||p(q)?`${q.localName.toLowerCase()}[${c(q)}]`:q.localName.toLowerCase();return[...G(q.parentNode),le]}return G(o).join("/")}getAge(o){return o-this._timeOrigin}getConnectionType(){var o;let p;if(typeof navigator!="undefined"){const c=navigator;p=(o=c==null?void 0:c.connection)===null||o===void 0?void 0:o.effectiveType}return p}clone(o){return JSON.parse(JSON.stringify(o))}definedValueOrDefault(o,p){return o!==void 0?o:p}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var o;const p=this.getGlobal();return typeof((o=p.navigator)===null||o===void 0?void 0:o.sendBeacon)=="function"&&typeof p.Blob=="function"}estimateObjectSize(o){const p=new Set,c=[o];let G=0;for(;c.length;){const q=c.pop();if(typeof q=="boolean")G+=4;else if(typeof q=="string")G+=q.length*2;else if(typeof q=="number")G+=8;else if(q instanceof Uint8Array||q instanceof Uint8ClampedArray||q instanceof Uint16Array||q instanceof Uint32Array||q instanceof Int8Array||q instanceof Int16Array||q instanceof Int32Array||q instanceof Float32Array||q instanceof Float64Array)G+=q.byteLength;else if(typeof q=="object"){const le=q;if(!p.has(le)){p.add(le);for(const Oe in le)c.push(le[Oe])}}}return G}noProdThrow(o){if(!R.isProduction)throw o}isAllowedOrigin(o,p){return Array.isArray(p)&&p.some(c=>c==="*"||o===c||c instanceof RegExp&&c.test(o))}roundNumber(o,p){const c=Math.pow(10,p);return Math.round(o*c)/c}
4roundNumbersInObject(o,p){o&&Object.entries(o).forEach(([c,G])=>{typeof G=="number"&&(o[c]=this.roundNumber(G,p))})}tryGetAbsoluteUrl(o){var p,c;return(o==null?void 0:o.startsWith("//"))&&typeof window=="object"?((p=window.location.protocol)!==null&&p!==void 0?p:"")+o:(o==null?void 0:o.startsWith("/"))&&typeof window=="object"?((c=window.location.origin)!==null&&c!==void 0?c:"")+o:o}validateParentActivityType(o,p){const c=o??!1;if(!p)return;const G=p.isExternal();if(c===G)return p;{const q=c?"external":"internal",le=G?"external":"internal";throw new Error(`Parent activity type mismatch: ${q} activity cannot have ${le} parent.`)}}}t._isProduction=!0;const e=new t,I=e.getGlobal();e.markProduction(I==null?void 0:I.__O11Y_IS_PROD__);const R=Object.freeze(e);class W{constructor(o,p,c,G,q,le,Oe){this._name=o,this._ownerName=p,this._ownerAppName=c,this._tags=G,this._value=0,this._createdOn=q===void 0?R.time().tsNow:q,le!==void 0&&(this._lastUpdatedOn=le),Oe!==void 0&&(this._value=Oe)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(o=1){if(typeof o=="number"&&o>0){this._value+=Math.round(o),this._lastUpdatedOn=R.time().tsNow;return}throw new Error("UpCounter can only increment positive numbers.")}reset(){this._lastUpdatedOn=void 0,this._value=0}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}const H="co11y";class _{constructor(){this._upCounters=new Map,this._ownerAppName=H}_addOrUpdateCounter(o,p,c){if(!o)return;const G={status:c},q=`${this._ownerAppName}:${p}:${o}${JSON.stringify(G)}`;let le=this._upCounters.get(q);le||(le=new W(o,p,this._ownerAppName,G),this._upCounters.set(q,le)),le.increment()}success(o,p){this._addOrUpdateCounter(o,p,"success")}exception(o,p){this._addOrUpdateCounter(o,p,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(o=>o.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(o){this._ownerAppName=o}}const u=new _;class g{constructor(o){if(this._lazyMap=new Map,o!==void 0){if(typeof o=="number"&&o>0){this._maxSize=Math.ceil(o);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(o,p){let c=this._lazyMap.get(o);if(!c){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;c=new Array,this._lazyMap.set(o,c)}return c.push(p),!0}getMessages(o,p){const c=this._lazyMap.get(o);return p&&this._lazyMap.has(o)&&this._lazyMap.set(o,[]),c||[]}getAllMessages(o){const p=new Map;for(const[c,G]of this._lazyMap.entries())G.length&&p.set(c,this.getMessages(c,o));return p}extractMessages(o){return this.getMessages(o,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let o=0;for(const p of this._lazyMap.values())o+=p.length;return o}}class l{getSchemaId(o){return`${o.namespace}.${o.name}`}isInternal(o){return(o==null?void 0:o.namespace)==="sf.instrumentation"}makePayload(o,p,c=!0){if(!c||o!==void 0&&p!==void 0)return{schema:o,payload:p}}checkSchema(o){return R.requireArgument(o,"schema","object"),R.requireArgument(o.namespace,"schema.namespace","string"),R.requireArgument(o.name,"schema.name","string"),R.requireArgument(o.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(o)}_getTokens(o){const p=o.namespace.split(".");if(p.length!==2)throw new Error(`Schema "${this.getSchemaId(o)}" must have a namespace of the form "domain.feature".`);return{domain:p[0],feature:p[1],message:o.name}}_getAnyNestedObject(o,p){return p.reduce((c,G)=>{const q=c.nested;if(q){const le=q[G];if(le)return le}throw new Error(`Cannot locate ${p.join(".")}
4 in schema with ID ${this.getSchemaId(o)}`)},o.pbjsSchema)}getTypes(o){const p=this.checkSchema(o),G=this._getAnyNestedObject(o,[p.domain,p.feature]).nested;if(!G)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(o)}`);return G}getType(o,p){R.requireArgument(p,"messageName","string");const G=this.getTypes(o)[p];if(!G)throw new Error(`Cannot locate message ${p} in schema with ID ${this.getSchemaId(o)}`);return G}getOptions(o,p,c){c&&R.requireArgument(p,"messageName","string");const G=this.checkSchema(o);if(!p)return this._getAnyNestedObject(o,[G.domain,G.feature]).options;const q=this.getType(o,p);if(!c)return q.options;const le=q.fields[c];if(!le){const Oe=this.getSchemaId(o);throw new Error(`Cannot locate field ${c} in message ${p} in schema with ID ${Oe}`)}return le.options}getExtraFields(o,p){const{message:c}=this._getTokens(o),q=this.getTypes(o)[c].fields,le=new Set(Object.keys(q));return p!=null?Object.keys(p).filter(We=>!le.has(We)):[]}}const f=new l,d=1e4,E=1e4,v=0,T=2147483647,S=-2147483648,O=4294967295,B=9223372036854776e3,F=-9223372036854776e3,X=18446744073709552e3;class Q{constructor(o,p,c,G){this.errorCode=o,this.fields=p,this.expected=c,this.received=G}asMessage(o){const p=this.fields[0]+this.fields.slice(1).reduce((G,q)=>Number(q)>=0?`${G}[${q}]`:`${G}.${q}`,"");let c;switch(this.errorCode){case 1:c="Repeated field must be an array";break;case 2:c=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:c="Value must be finite";break;case 4:c="Value is out of range for its type";break;case 5:c="Bytes array is malformed";break;case 6:c="Exceeded app limit for maximum string length";break;case 7:c="Exceeded app limit for item count";break;case 12:c="Value must be an integer";break;case 13:c="Values like null or undefined are not allowed for items in repeated fields";break;default:c=`Unknown error code: ${this.errorCode}`;break}return`Schema ${o} on field "${p}": ${c}`}}class N{validate(o,p,c=!1){const G=f.checkSchema(o);R.requireArgument(p,"data","object");const q=f.getSchemaId(o),le=new Array,Oe=f.getTypes(o);if(this._validateFields(le,[],p,Oe[G.message],Oe,q),le.length&&!c)throw new Error(le[0].asMessage(q));return le}_validateFields(o,p,c,G,q,le){const Oe=G.oneofs||{},We=G.fields||{};for(const $e in c){const je=c[$e];if(je!=null){const Ge=(He,Ze,_e)=>this._matchFieldTypes(o,[...p,$e],je,He,q,le,$e,Ze,_e);Oe[$e]?Ge(We[Oe[$e].oneof[0]].type):We[$e]&&Ge(We[$e].type,We[$e].rule==="repeated")}}}_matchFieldTypes(o,p,c,G,q,le,Oe,We,$e){let je;if(We)Array.isArray(c)?(c.length>E&&(je=7),c.forEach((Ge,He)=>{this._matchFieldTypes(o,[...p,He.toString()],Ge,G,q,le,Oe,void 0,!0)})):je=1;else if(c==null||c===void 0)$e&&(je=13);else{let Ge,He;switch(G){case"string":He="string",c.length>d&&(je=6);break;case"bytes":He="object",c instanceof Uint8Array||(je=5);break;case"bool":He="boolean";break;case"uint32":He="number",Ge={min:v,max:O,isInt:!0,isItem:$e};break;case"int32":case"sint32":case"fixed32":case"sfixed32":He="number",Ge={min:S,max:T,isInt:!0,isItem:$e};break;case"uint64":He="number",Ge={min:v,max:X,isInt:!0,isItem:$e};break;case"fixed64":case"sfixed64":case"int64":case"sint64":He="number",Ge={min:F,max:B,isInt:!0,isItem:$e};break;case"double":case"float":He="number",Ge={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:$e};break;default:new Set(Object.keys(q)).has(G)&&(this._validateFields(o,p,c,q[G],q,le),He="object");break}typeof c!==He?o.push(new Q(2,p,G,typeof c)):Ge&&(Ge.isInt&&!Number.isFinite(c)?je=3:Ge.isInt&&!Number.isInteger(c)?je=12:!(!Ge.isInt&&Number.isNaN(c))&&!(c>=Ge.min&&c<=Ge.max)&&(je=4))}je&&o.push(new Q(je,p))}}const x=new N;class re{_getMetricTags(o){const p=o.getTags();if(p)return Object.entries(p).map(c=>({name:c[0],value:c[1].toString()}))}getUpCounters(o,p=!0){return o.map(c=>{const G={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),value:c.getData(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};
4return p&&c.reset(),G})}getValueRecorders(o,p=!0){return o.map(c=>{const G={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),values:c.getData(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};return p&&c.reset(),G})}getBucketHistograms(o,p=!0){return o.map(c=>{const G={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),values:c.getData(),buckets:c.getBuckets(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};return p&&c.reset(),G})}getMetricsTags(o){const p={};return o.forEach(c=>{p[c.name]=c.value}),p}}const ue=Object.freeze(new re);class we{checkInputs(o,p){f.checkSchema(o),R.requireArgument(p,"data","object");let c,G;p.userPayload!==void 0&&f.isInternal(o)&&(G=p.userPayload,c=x.validate(G.schema,G.payload,!0),this._processValidationResults(f.getSchemaId(G.schema),G.payload,c),p.userPayload=void 0),c=x.validate(o,p,!0),this._processValidationResults(f.getSchemaId(o),p,c),G!==void 0&&(p.userPayload=G)}getExtraFields(o,p){R.requireArgument(p,"data","object");const c=[],G=p.userPayload;return G!==void 0&&f.isInternal(o)&&c.push(...f.getExtraFields(G.schema,G.payload)),c.push(...f.getExtraFields(o,p)),c}getPayloadFromProvider(o,p){const c=(o==null?void 0:o.getPayload(p))||void 0;return c&&this.checkInputs(c.schema,c.payload),c}_processValidationResults(o,p,c){for(let G=0;G<c.length;G+=1){const q=c[G];if(q.errorCode==6||q.errorCode==7){const le=q.fields.length-1,Oe=this._traverseFields(p,q.fields.slice(0,le)),We=q.fields[le];q.errorCode==6?Oe[We]=Oe[We].substring(0,d):Oe[We].splice(E)}else throw new Error(q.asMessage(o))}}_traverseFields(o,p){return p.length?this._traverseFields(o[p[0]],p.slice(1)):o}}const Pe=Object.freeze(new we),L="o11y";class Fe{constructor(o){this._errorCounter=o,this._safeCatchMode=!1}_callCo11y(o,p){p?u.exception(o==null?void 0:o.op,L):u.success(o==null?void 0:o.op,L)}tryCatch(o,p){let c;try{o()}catch(G){c=!0,this._prodSafeCatch(G)}finally{this._callCo11y(p,c)}}tryCatchReturn(o,p,c){let G;try{return R.requireArgument(p,"noopValue"),o()}catch(q){return G=!0,this._prodSafeCatch(q),p}finally{this._callCo11y(c,G)}}_prodSafeCatch(o){let p;try{if(p=!R.isProduction,p)throw o;if(this._safeCatchMode)throw this._safeCatchMode=!1,new Error("Internal error in prodSafeCatch.");if(this._safeCatchMode=!0,this._errorCounter&&this._errorCounter.increment(),!(o instanceof Error)){const c=o&&o.message||(typeof o.toString=="function"?o.toString():"");o=new Error(c)}this._safeCatchMode=!1}catch(c){if(p)throw c;if(c&&console&&typeof console.error=="function")try{console.error(c)}catch(G){}this._safeCatchMode=!1}}}r.Co11yImpl=_,r.LazyMapToList=g,r.MetricsUtility=re,r.PublicSafety=Fe,r.UpCounterImpl=W,r.ValidationEntry=Q,r.co11y=u,r.logValidator=x,r.maxItemCountAppLimit=E,r.maxStringLengthAppLimit=d,r.metricsUtility=ue,r.payloadUtility=Pe,r.schemaUtil=f,r.utility=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/shared",["exports","o11y/shared/v/262_6_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y_schema/sf_instrumentation/v/260_63_0",["exports"],function(r){"use strict";var t={namespace:"sf.instrumentation",name:"Event",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Event:{fields:{type:{id:1,type:"string"}}}}}}}}}},e={namespace:"sf.instrumentation",name:"CoreEnvelope",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MessageBundle:{fields:{messages:{rule:"repeated",id:2,type:"LogMessage"},schemaName:{id:1,type:"string"}}},Metrics:{fields:{globalMetricTags:{rule:"repeated",id:4,type:"MetricTag"},bucketHistograms:{rule:"repeated",id:3,type:"BucketHistogram"},valueRecorders:{rule:"repeated",id:2,type:"ValueRecorder"},upCounters:{rule:"repeated",id:1,type:"UpCounter"}}},CoreEnvelopeDiagnostics:{fields:{schemaVersion:{id:6,type:"string"},generatedTimestamp:{id:2,type:"double"},bundleCount:{id:3,type:"uint32"},upCounterCount:{id:4,type:"uint32"},valueRecorderCount:{id:5,type:"uint32"},key:{id:1,type:"string"},bucketHistogramCount:{id:7,type:"uint32"}}},LogMessage:{fields:{data:{id:2,type:"bytes"},rootId:{id:4,type:"string"},csId:{id:12,type:"string"},recCsId:{id:13,type:"string"},pagePayload:{id:7,type:"Payload"},connectionType:{id:9,type:"string"},appPayload:{id:10,type:"Payload"},loggerAppName:{id:8,type:"string"},sseq:{id:11,type:"uint32"},recRootId:{id:14,type:"string"},loggerName:{id:6,type:"string"},age:{id:3,type:"double"}
4,seq:{id:5,type:"uint32"},timestamp:{id:1,type:"double"}}},CoreEnvelope:{fields:{diagnostics:{id:1,type:"CoreEnvelopeDiagnostics"},bundles:{rule:"repeated",id:2,type:"MessageBundle"},metrics:{id:3,type:"Metrics"},staticAttributes:{id:4,type:"StaticAttributes"}}},MetricTag:{fields:{name:{id:1,type:"string"},value:{id:2,type:"string"}}},BucketHistogram:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:7,type:"string"},ownerAppName:{id:8,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},buckets:{rule:"repeated",id:5,type:"uint32"},name:{id:1,type:"string"},tags:{rule:"repeated",id:6,type:"MetricTag"}}},ValueRecorder:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},name:{id:1,type:"string"},tags:{rule:"repeated",id:5,type:"MetricTag"}}},StaticAttributes:{fields:{appVersion:{id:2,type:"string"},appName:{id:1,type:"string"},deviceModel:{id:5,type:"string"},sdkVersion:{id:6,type:"string"},deviceId:{id:4,type:"string"},appExperience:{id:3,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}},UpCounter:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},name:{id:1,type:"string"},value:{id:4,type:"uint32"},tags:{rule:"repeated",id:5,type:"MetricTag"}}}}}}}}}},I={namespace:"sf.instrumentation",name:"BasicPage",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{BasicPage:{fields:{entityType:{id:3,type:"string"},entityId:{id:2,type:"string"},url:{id:1,type:"string"}}}}}}}}}},R={namespace:"sf.instrumentation",name:"PayloadDiags",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{PayloadDiags:{fields:{extras:{rule:"repeated",id:1,type:"string"}}}}}}}}}},W={namespace:"sf.instrumentation",name:"InstrumentedEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"},screenY:{id:35,type:"double"}}},Event:{fields:{type:{id:1,type:"string"}}},InstrumentedEvent:{oneofs:{event:{oneof:["mouseEvent","baseEvent"]}},reserved:[[4,4],"xpath",[6,6],[8,8]],fields:{mouseEvent:{id:7,type:"MouseEvent"},auto:{id:3,type:"bool"},parentComponent:{id:2,type:"string"},baseEvent:{id:10,type:"Event"},ownerComponent:{id:1,type:"string"},userPayload:{id:5,type:"Payload"},simplePath:{id:9,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},H={namespace:"sf.instrumentation",name:"Payload",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},_={namespace:"sf.instrumentation",name:"Network",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Network:{fields:{mtd:{id:1,type:"string"},url:{id:2,type:"string"}}}}}}}}}},u={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"}}}}}}}}}},g={namespace:"sf.instrumentation",name:"MouseEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"}
4,screenY:{id:35,type:"double"}}}}}}}}}},l={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}},f={namespace:"sf.instrumentation",name:"WebVitals",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{WebVitals:{fields:{navType:{id:5,type:"string"},name:{id:1,type:"string"},delta:{id:3,type:"double"},id:{id:4,type:"string"},value:{id:2,type:"double"},wvVersion:{id:6,type:"string"}}}}}}}}}},d={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{stopReason:{id:6,type:"string"},externalParentId:{id:17,type:"string"},isRoot:{id:8,type:"bool"},isExternal:{id:16,type:"bool"},isSampled:{id:11,type:"bool"},preRootId:{id:9,type:"string"},parentId:{id:13,type:"string"},duration:{id:3,type:"double"},timerOverridden:{id:12,type:"uint32"},isRerooted:{id:15,type:"bool"},name:{options:{"(meta.max_length)":25},id:2,type:"string"},traceIdSource:{id:14,type:"string"},id:{id:1,type:"string"},userPayload:{id:4,type:"Payload"},errorCount:{id:10,type:"uint32"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},E={namespace:"sf.instrumentation",name:"IdleDetectorReport",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{IdleDetectorReport:{fields:{listenerCount:{id:3,type:"uint32"},busyTasks:{rule:"repeated",id:5,type:"string"},busyDurations:{rule:"repeated",id:6,type:"double"},pollableCount:{id:4,type:"uint32"},pollCounts:{rule:"repeated",id:8,type:"double"},logThreshold:{id:2,type:"double"},maxDuration:{id:1,type:"double"},pollables:{rule:"repeated",id:7,type:"string"}}}}}}}}}};r.activitySchema=d,r.basicPageSchema=I,r.coreEnvelopeSchema=e,r.errorSchema=u,r.eventSchema=t,r.idleDetectorReportSchema=E,r.instrumentedEventSchema=W,r.mouseEventSchema=g,r.networkSchema=_,r.payloadDiagsSchema=R,r.payloadSchema=H,r.simpleSchema=l,r.webVitalsSchema=f,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_instrumentation",["exports","o11y_schema/sf_instrumentation/v/260_63_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y/client/v/262_6_0",["exports","o11y_schema/sf_instrumentation/v/260_63_0","o11y/shared/v/262_6_0"],function(r,t,e){"use strict";class I{get isBusy(){return this._isOk?this._busyCount>0:void 0}constructor(n,i,a,m){this.name=n,this._doneCallback=a,this._overDoneCallback=m,this._busyCount=0,this._isOk=!0,this._busyCount=i}add(){this._isOk&&(this._busyCount+=1)}done(){this._isOk&&(this._busyCount>0?(this._busyCount-=1,this._busyCount||this._doneCallback()):(this._isOk=!1,this._overDoneCallback()))}}const R=300;class W{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=R,this._endedTasks=new Array,this._pollableReport=new Array,e.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),e.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),e.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){e.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=e.utility.time().perfNow),this._listeners.add(n),this._checkIfLoaded()}_reportTaskEnded(n){if(this._listeners.size){const i=Object.assign({},this._taskers.get(n));this._endedTasks.push(i)}}declareNotifierTaskSingle(n){e.utility.requireArgument(n,"name","string");const i=this._addTasker(n,1);return{get isBusy(){return i.isBusy},done:()=>{i.done(),this._taskers.delete(i)}}}declareNotifierTaskMulti(n,i=0){if(e.utility.requireArgument(n,"name","string"),i!==void 0&&(e.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const a=this._addTasker(n,i);return{get isBusy(){return a.isBusy},add:()=>
4{if(!a.isBusy){const h=this._taskers.get(a);h.start=e.utility.time().perfNow,h.end=void 0}a.add()},done:a.done.bind(a)}}declarePollableTaskMulti(n,i){e.utility.requireArgument(n,"name","string"),e.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const a=new I(n,i,()=>{this._taskers.get(a).end=e.utility.time().perfNow,this._reportTaskEnded(a),this._checkIfLoaded()},()=>{var m;(m=this._errorListener)===null||m===void 0||m.call(this,`Overdone: ${a.name}`),e.utility.noProdThrow(`Tasker '${a.name}' is done too many times.`)});return this._taskers.set(a,{name:n,start:i>0?e.utility.time().perfNow:void 0,end:void 0}),a}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var a;const m=i[0],h=i[1];try{return m()}catch(b){return(a=this._errorListener)===null||a===void 0||a.call(this,b,`BusyChecker ${h}`),e.utility.noProdThrow(b),!1}});return n?n[1]:void 0}_checkIfLoaded(){!this._listeners.size||(this._timerCheckQueued&&clearTimeout(this._timerCheckQueued),this._areAllNotifiersIdle()&&(this._timerCheckQueued=setTimeout(()=>{this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},40)},0)))}_doubleCheck(){if(this._timerCheckQueued=void 0,this._areAllNotifiersIdle()){const n=this._getFirstBusyPollable();if(n!==void 0)this._addToPollableReport(n),this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},15);else{const i=e.utility.time().perfNow-this._firstCallbackTime,a=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const m=this._endedTasks.splice(0),h=this._pollableReport.splice(0);this._notify(a,i,m,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,a,m){var h;if(i>=this._logThreshold&&this._reportListener){const V=this._getReport(i,n.length,a,m);this._reportListener(V)}n.reverse();const b=e.utility.time().tsNow;for(const[V,ge]of n.entries())try{ge(b)}catch(ye){(h=this._errorListener)===null||h===void 0||h.call(this,ye,`Listener #${n.length-1-V}`),e.utility.noProdThrow(ye)}}getReport(){const n=e.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,a=Array.from(this._taskers.entries()).filter(m=>m[0].isBusy).map(m=>({name:m[1].name,start:m[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(a),this._pollableReport)}_getReport(n,i,a,m){const h=a.map(b=>({name:b.name,duration:b.end-b.start})).sort((b,V)=>V.duration-b.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:h.map(b=>b.name),busyDurations:h.map(b=>b.duration),pollables:m.map(b=>b.name),pollCounts:m.map(b=>b.count)}}}const H={namespace:"sfcore.performance",name:"NavigationTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{NavigationTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_responseStatus:{oneof:["responseStatus"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{redirectCount:{id:37,type:"uint32"},encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},unloadEventEnd:{id:40,type:"double"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},unloadEventStart:{id:39,type:"double"},domContentLoadedEventStart:{id:32,type:"double"},type:{id:38,type:"string"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},domContentLoadedEventEnd:{id:33,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domInteractive:{id:34,type:"double"},domComplete:{id:31,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{options:{proto3_optional:!0},id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},logEvent:{id:41,type:"string"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},loadEventStart:{id:35,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"},loadEventEnd:{id:36,type:"double"}}}}}}}}}},_={namespace:"sfcore.performance",name:"ResourceTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{ResourceTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_responseStatus:{oneof:["responseStatus"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{options:{proto3_optional:!0},id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"}}}}}}}}}};class u{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,e.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,a){const m=this._map.get(n);m?m.push({fuzzyKey:i,value:a}):this._map.set(n,[{fuzzyKey:i,value:a}])}pop(n,i){const a=this._map.get(n);if((a==null?void 0:a.length)>=1){let m=Number.POSITIVE_INFINITY,h=-1;for(let b=0;b<a.length;b++){const{fuzzyKey:V}
4=a[b],ge=Math.abs(V-i);ge<=this._fuzzyKeyRange&&ge<m&&(m=ge,h=b)}if(h>=0){const{value:b}=a.splice(h,1)[0];return a.length===0&&this._map.delete(n),b}}}clear(){this._map.clear()}}const g=["fetch","xmlhttprequest"];class l{constructor(n,i,a,m,h){if(this._instr=n,this._skipUrls=a,this._logPerformanceActivityName=m,this._boundObserverCallback=this._logPerformanceEntries.bind(this),this._boundNavigationTimingEventCallback=b=>{this._logNavigationEntries(b)},this._setTimeoutNavigationCallback=b=>{setTimeout(()=>{this._boundNavigationTimingEventCallback(b)},0)},this._visibilityChangeNavigationCallback=b=>{document.visibilityState==="hidden"&&this._boundNavigationTimingEventCallback(b)},this._isStarted=!1,this._processedNavigationTiming=!1,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"fuzzyMapRange","number"),e.utility.requireArgumentIfDefined(a,"_skipUrls",Array),e.utility.requireArgumentIfDefined(m,"_logPerformanceActivityName","string"),e.utility.requireArgumentIfDefined(h,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._hasWindow=typeof window!="undefined",!h||h.toLowerCase()==="full")this._logLevel=1;else if((h==null?void 0:h.toLowerCase())==="basic")this._logLevel=0;else throw new Error(`Invalid log level: ${h}`);this._fuzzyMapper=new u(i)}get isStarted(){return this._isStarted}get logLevel(){return this._logLevel}start(){!this._hasPerf||this._isStarted||(this._isStarted=!0,this._resourceObserver=new PerformanceObserver(this._boundObserverCallback),this._resourceObserver.observe({type:"resource",buffered:!0}),this._addNavigationListeners())}stop(){this._resourceObserver&&(this._resourceObserver.disconnect(),this._resourceObserver=void 0),this._removeNavigationListeners(),this._fuzzyMapper.clear(),this._isStarted=!1}_addNavigationListeners(){!this._hasWindow||(window.addEventListener("load",this._setTimeoutNavigationCallback),window.addEventListener("pagehide",this._boundNavigationTimingEventCallback),document.addEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}_removeNavigationListeners(){!this._hasWindow||(window.removeEventListener("load",this._setTimeoutNavigationCallback),window.removeEventListener("pagehide",this._boundNavigationTimingEventCallback),document.removeEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}addEntry(n,i,a){this._fuzzyMapper.add(n,i,a)}_resourceEntryToResourceTiming(n){var i,a;const m={name:n.name,startTime:n.startTime,duration:n.duration,initiatorType:n.initiatorType,nextHopProtocol:n.nextHopProtocol,renderBlockingStatus:n.renderBlockingStatus,workerStart:n.workerStart,redirectStart:n.redirectStart,redirectEnd:n.redirectEnd,fetchStart:n.fetchStart,domainLookupStart:n.domainLookupStart,domainLookupEnd:n.domainLookupEnd,connectStart:n.connectStart,secureConnectionStart:n.secureConnectionStart,connectEnd:n.connectEnd,requestStart:n.requestStart,responseStart:n.responseStart,firstInterimResponseStart:n.firstInterimResponseStart,responseEnd:n.responseEnd,transferSize:n.transferSize,encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,responseStatus:n.responseStatus},h=n.serverTiming;return Array.isArray(h)&&(m.dbDuration=(i=h.find(b=>b.name==="db"))===null||i===void 0?void 0:i.duration,m.srvDuration=(a=h.find(b=>b.name==="Total"))===null||a===void 0?void 0:a.duration),m}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(m=>m instanceof RegExp?m.test(n.name):n.name===m))?!1:this._logLevel===1?!0:g.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_calculateXhrDelay(n,i){if(!!i){if(n.initiatorType==="fetch"){if(n.responseStart===0)return-1;if(i.activityDuration!==void 0){const a=n.responseStart-n.startTime;return i.activityDuration-a}return}if(i.activityDuration!==void 0)return i.activityDuration-n.duration}}_logActivity(n,i,a,m){const h={id:a},b={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:m};this._instr.startActivity(this._logPerformanceActivityName,h).stop(n,i,b)}_logNavigationEntries(n){if(!this._processedNavigationTiming)for(const i of performance.getEntriesByType("navigation")){const a=i;if(this._shouldInclude(a)){this._processedNavigationTiming=!0;const m=this._resourceEntryToResourceTiming(a),h={domComplete:a.domComplete,domContentLoadedEventStart:a.domContentLoadedEventStart,domContentLoadedEventEnd:a.domContentLoadedEventEnd,domInteractive:a.domInteractive,loadEventStart:a.loadEventStart,loadEventEnd:a.loadEventEnd,redirectCount:a.redirectCount,type:a.type,unloadEventStart:a.unloadEventStart,unloadEventEnd:a.unloadEventEnd,logEvent:n.type};this._logActivity(H,Object.assign(m,h))}break}}_logPerformanceEntries(n){for(const i of n.getEntriesByType("resource")){const a=i,m=this._fuzzyMapper.pop(a.name,a.startTime);if(this._shouldInclude(a)){const h=this._resourceEntryToResourceTiming(a);Object.assign(h,{srvReqId:m==null?void 0:m.requestId,xhrDelay:this._calculateXhrDelay(a,m)}),h.responseStatus===void 0&&(h.responseStatus=m==null?void 0:m.responseStatus),this._logActivity(_,h,m==null?void 0:m.activityId,m==null?void 0:m.errorCount)}
4}}}const f=32,d=16,E=16,v="traceparent",T="b3",S="X-B3-TraceId",O="X-B3-SpanId",B="X-B3-Sampled",F="X-B3-ParentSpanId",X="X-SFDC-Request-Id",Q="baggage",N="fetch",x="xhr_send",re="perf-timing",ue=50,we=[Q,S,O,F,B],Pe=new WeakMap;class L{constructor(n,i){this._instr=n,this._idleDetector=i,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,a,m){let h=`${n}-${i}`;return(a!==void 0||m!==void 0)&&(h+=a?"-1":"-0",m!==void 0&&(h+=`-${m}`)),h}static _getW3CompactFormat(n,i,a){return`00-${n}-${i}-${a?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const a=n.length;for(let m=0;m<a;m+=1){const h=n[m];if(!(h>="a"&&h<="f")&&!(h>="0"&&h<="9"))throw new Error(`The text '${n}' has an invalid character at index #${m}`)}return a>i?n.substr(a-i):a<i?n.padStart(i,"0"):n}static setHeaders(n){if(n===void 0){L._userHeaders={};return}Object.entries(n).forEach(([i])=>{we.includes(i)||delete n[i]}),L._userHeaders=n}static getHeaders(n,i,a,m){e.utility.requireArgument(i,"spanId","string");const h=m==null?void 0:m.useB3Headers,b={};if(n===void 0)return b;n=this._conformTextAsId(n,(m==null?void 0:m.traceIdEffectiveLength)!==void 0?m.traceIdEffectiveLength:h?d:f),i=this._conformTextAsId(i,E);const V=m&&m.parentSpanId!==void 0&&this._conformTextAsId(m.parentSpanId,E)||void 0;return h?(m==null?void 0:m.useCompactHeader)?b[T]=this._getB3CompactFormat(n,i,a,V):(b[S]=n,b[O]=i,V!==void 0&&(b[F]=V),a!==void 0&&(b[B]=a?"1":"0")):b[v]=this._getW3CompactFormat(n,i,a),b}_disableNetworkInstrumentation(){L._isNetworkInstrumentationEnabled&&(L._originalFetch&&(L._global.fetch=L._originalFetch,L._originalFetch=void 0),L._originalXhr&&(L._global.XMLHttpRequest=L._originalXhr,L._originalXhr=void 0),L._originalXhrOpen&&(L._global.XMLHttpRequest.prototype.open=L._originalXhrOpen,L._originalXhrOpen=void 0),L._originalXhrSetRequestHeader&&(L._global.XMLHttpRequest.prototype.setRequestHeader=L._originalXhrSetRequestHeader,L._originalXhrSetRequestHeader=void 0),L._originalXhrSend&&(L._global.XMLHttpRequest.prototype.send=L._originalXhrSend,L._originalXhrSend=void 0),L._performanceObservability&&(L._performanceObservability.stop(),L._performanceObservability=void 0),L._isNetworkInstrumentationEnabled=!1)}_enableNetworkInstrumentation(n,i,a,m,h,b,V,ge,ye,he){typeof L._global.fetch=="function"&&(this._overrideFetch(n,i,a,m,h,b,ye),L._isNetworkInstrumentationEnabled=!0),typeof L._global.XMLHttpRequest=="function"&&(this._overrideXhr(n,i,a,m,h,b,ye),L._isNetworkInstrumentationEnabled=!0),V&&(L._performanceObservability=new l(n,he,ye,ge,V===!0?"full":V),L._performanceObservability.start(),L._isNetworkInstrumentationEnabled=!0)}static _getTraceHeaders(n,i,a,m,h){let b;if(n)b=n.getTraceHeaders(a)||{};else{const V=i.internalInstrumentationContext;(V==null?void 0:V.rootId)?b=L.getHeaders(V.rootId,e.utility.generateUniqueId(),V.isRootActivitySampled,a):b={}}if(typeof(a==null?void 0:a.headerProcessor)=="function")b=a.headerProcessor({method:m,url:h,defaultHeaders:b});else if(typeof window=="object"){let V;try{V=new URL(h)}catch(ge){}V&&V.host!==window.location.host&&(b=void 0)}return L._userHeaders&&Object.keys(L._userHeaders).length>0&&(b={...b},Object.entries(L._userHeaders).forEach(([V,ge])=>{b[V]=ge}),L._userHeaders=void 0),b||{}}static _extractHeader(n,i,a){if((a==null?void 0:a.headers)instanceof Headers)return a.headers.get(n);if(Array.isArray(a==null?void 0:a.headers)){const m=a.headers.find(h=>h[0]===n);return m==null?void 0:m[1]}if(typeof(a==null?void 0:a.headers)=="object")return a.headers[n];if(i instanceof Request)return i.headers.get(n)}_overrideFetch(n,i,a,m,h,b,V){L._originalFetch=L._global.fetch;const ge=async(ye,he,...Ne)=>{var Ee;let se,Ue,Be,ot,nt,Et=!1,gt;try{b==null||b.add(),ot=he==null?void 0:he.method;const it=he==null?void 0:he.o11y,Ct=it==null?void 0:it.skipInstr;if(Et=Ct||L._shouldSkipUrl(V,ye),!Et)se=n.startActivity(a||N);else if(Ct){L._reqIndex+=1;try{if(ye instanceof URL)ye.searchParams.append("o11y",L._reqIndex.toString());else if(typeof ye=="string"){const st=new URL(ye),jt=`o11y=${L._reqIndex}`;
4st.search+=st.search.startsWith("?")?`&${jt}`:jt,ye=st.toString()}}catch(st){}}if(he==null||delete he.o11y,Ue=ye==null?void 0:ye.toString(),Be=e.utility.tryGetAbsoluteUrl(Ue),m){ye instanceof Request&&(ot||(ot=ye.method),Ue=ye.url,Be=e.utility.tryGetAbsoluteUrl(Ue));const st=L._getTraceHeaders(se,n,h,ot,Be);!this._applyTraceHeaders(ye,he,st)&&he===void 0&&(he={headers:st})}return nt=e.utility.perfNow(),gt=await L._originalFetch.call(L._global,ye,he,...Ne),gt}catch(it){throw i&&!Et&&(se?se.error(it):n.error(it)),it}finally{try{const it=L._endActivity(se,Ue,ot);if((Ee=L._performanceObservability)===null||Ee===void 0?void 0:Ee.isStarted){const st={requestId:L._extractHeader(X,ye,he),activityDuration:it,activityId:se==null?void 0:se.getId(),errorCount:se==null?void 0:se.getErrorCount(),responseStatus:gt==null?void 0:gt.status};L._performanceObservability.addEntry(Be,nt,st)}}finally{b==null||b.done()}}};L._global.fetch=ge}static _endActivity(n,i,a){var m;if(n)return((m=L._performanceObservability)===null||m===void 0?void 0:m.isStarted)?n.discard():n.stop(t.networkSchema,{mtd:a,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,a,m,h,b,V){L._originalXhr=L._global.XMLHttpRequest,L._originalXhrOpen=L._originalXhr.prototype.open,L._originalXhrSetRequestHeader=L._originalXhr.prototype.setRequestHeader,L._originalXhrSend=L._originalXhr.prototype.send;function ge(he,Ne){var Ee;const se=Pe.get(he);if(se){const Ue=se.activity,Be=L._endActivity(Ue,se.url,se.method);!Ne&&((Ee=L._performanceObservability)===null||Ee===void 0?void 0:Ee.isStarted)&&L._performanceObservability.addEntry(se.absoluteUrl,se.sendTime,{requestId:se.requestId,activityDuration:Be,activityId:Ue==null?void 0:Ue.getId(),errorCount:Ue==null?void 0:Ue.getErrorCount(),responseStatus:he.status})}}L._originalXhr.prototype.open=function(he,Ne,Ee,se,Ue){const Be={method:he,url:Ne==null?void 0:Ne.toString()};Pe.set(this,Be),Be.absoluteUrl=e.utility.tryGetAbsoluteUrl(Be.url),Be.suspendInstrumentation=L._shouldSkipUrl(V,Be.absoluteUrl),L._originalXhrOpen.apply(this,arguments)},L._originalXhr.prototype.setRequestHeader=function(he,Ne){var Ee;if(((Ee=he==null?void 0:he.toLowerCase)===null||Ee===void 0?void 0:Ee.call(he))===X.toLowerCase()){const se=Pe.get(this);se&&(se.requestId=Ne)}L._originalXhrSetRequestHeader.apply(this,arguments)},L._originalXhr.prototype.send=function(...he){let Ne;const Ee=this;let se=Pe.get(Ee);se||(se={},Pe.set(Ee,se));try{if(b==null||b.add(),se.suspendInstrumentation||(se.activity=Ne=n.startActivity(a||x)),m){const Ue=L._getTraceHeaders(Ne,n,h,se.method,se.absoluteUrl);Object.entries(Ue).forEach(Be=>{Ee.setRequestHeader(Be[0],Be[1])})}se.sendTime=e.utility.perfNow(),L._originalXhrSend.call(this,...he)}catch(Ue){throw i&&!(se==null?void 0:se.suspendInstrumentation)&&(Ne?Ne.error(Ue):n.error(Ue)),ge(Ee,!0),b==null||b.done(),Ue}};const ye=new Proxy(L._originalXhr,{construct(he){const Ne=new he;return Ne.addEventListener("load",()=>{ge(Ne),b==null||b.done()}),Ne.addEventListener("error",Ee=>{const se=Pe.get(Ne)||{};try{if(i&&!(se==null?void 0:se.suspendInstrumentation)){const Ue=new Error("XHR Network-Level Error"),Be=se==null?void 0:se.activity;Be?Be.error(Ue):n.error(Ue)}ge(Ne)}finally{b==null||b.done()}}),Ne.addEventListener("abort",()=>{var Ee;const se=Pe.get(Ne)||{};(Ee=se==null?void 0:se.activity)===null||Ee===void 0||Ee.discard(),b==null||b.done()}),Ne}});L._global.XMLHttpRequest=ye}networkInstrumentation(n){var i;if(e.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const a=typeof n=="object"?n:{};let m;e.utility.definedValueOrDefault(a.useTasker,!0)&&(m=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(e.utility.definedValueOrDefault(a.instrumentation,this._instr),e.utility.definedValueOrDefault(a.logErrors,!0),a.activityName,e.utility.definedValueOrDefault(a.useTracing,!0),a.tracingHeadersOptions,m,e.utility.definedValueOrDefault(a.logPerformance,!0),e.utility.definedValueOrDefault(a.logPerformanceActivityName,re),e.utility.definedValueOrDefault(a.skipUrls,[]),e.utility.definedValueOrDefault(a.fuzzyMapRange,ue))}}resetRequestCounter(){L._reqIndex=0}_applyTraceHeaders(n,i,a){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(a).forEac
4h(([m,h])=>{i.headers.set(m,h)}),!0;if(Array.isArray(i.headers))return Object.entries(a).forEach(m=>{i.headers.push(m)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,a),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(a).forEach(([m,h])=>{n.headers.set(m,h)}),!0;if(i)return i.headers=Object.assign({},a),!0}return!1}static _shouldSkipUrl(n,i){var a;let m=i;return i instanceof URL?m=(a=i.toString)===null||a===void 0?void 0:a.call(i):i instanceof Request&&(m=i.url),n==null?void 0:n.some(h=>h instanceof RegExp?h.test(m):m===h)}}L._global=e.utility.getGlobal(),L._isNetworkInstrumentationEnabled=!1,L._reqIndex=0;var Fe;(function(ve){ve[ve.none=0]="none",ve[ve.start=1]="start",ve[ve.stop=2]="stop",ve[ve.both=3]="both"})(Fe||(Fe={}));const Me="timedout",o="terminated",p="discarded",c={timedout:Me,terminated:o,discarded:p};class G{constructor(n,i,a,m,h,b,V,ge,ye,he,Ne){var Ee,se;this._name=n,this._rootId=i,this._onStopped=a,this._onError=m,this._isSampled=V,this._noRerooting=ye,this._isExternal=he,this._parentActivity=Ne,this._isRoot=!1,this._errorCount=0,this._timerOverridden=Fe.none;const{tsNow:Ue,perfNow:Be}=e.utility.time();if(G._count+=1,this._id=b||e.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${G._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(ot){this._usePerf=!1}}this._startTimestamp=Ue,this._startPerfTime=Be,this._overrideTimer(ge),h>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||c.timedout,this.stop()},h)),this._safety=new e.PublicSafety,this._externalParentActivity=((Ee=this._parentActivity)===null||Ee===void 0?void 0:Ee.isExternal())?this._parentActivity:(se=this._parentActivity)===null||se===void 0?void 0:se.getExternalParentActivity()}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}getParentActivity(){return this._parentActivity}isExternal(){var n;return(n=this._isExternal)!==null&&n!==void 0?n:!1}getExternalParentActivity(){return this._externalParentActivity}error(n,i,a){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,a))},{op:"activity.error"})}stop(n,i,a){this._safety.tryCatch(()=>{if(e.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),a){const m=a.perfStartOverride,h=e.utility.requireArgumentIfDefined(m,"options.perfStartOverride","number"),b=a.perfStopOverride,V=e.utility.requireArgumentIfDefined(b,"options.perfStopOverride","number"),ge=a.errorCount;if(e.utility.requireArgumentIfDefined(ge,"options.errorCount","number")&&(this._errorCount=ge),h&&m<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(V&&(b<0||b<(h?m:this._startPerfTime)||b>e.utility.time().perfNow+100))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime and <= now")}this._stopInternal(n,i,a)},{op:"activity.stop"})}_overrideTimer(n,i){n!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-n)),this._startPerfTime=n,this._setTimerOverride(Fe.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(Fe.stop))}_setTimerOverride(n){this._timerOverridden===Fe.both||this._timerOverridden===n||n===Fe.none||(this._timerOverridden=this._timerOverridden===Fe.none?n:Fe.both)}_stopInternal(n,i,a){const m=e.utility.perfNow();if(this._usePerf)try{this._stopReason!==c.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(b){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;a&&this._overrideTimer(a.perfStartOverride,a.perfStopOverride),this._stopPerfTime=this._timerOverridden===Fe.none||this._timerOverridden===Fe.start?m: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||c.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,a){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||c.terminated,this.stop(n,i,a)},{op:"activity.terminate"})}getIsSampled(){return this._isSampled||!1}_getDetail(n,i){return{id:this._id,rootId:this._rootId,name:this._name,userSchemaOrText:n,userData:i,stopReason:this._stopReason,startTimestamp:this._startTimestamp,startPerfTime:this._startPerfTime,stopPerfTime:this._stopPerfTime,errorCount:this._errorCount,isSampled:this.getIsSampled(),timerOverridden:this._timerOverridden,noRerooting:this._noRerooting,isExternal:this._isExternal,parentActivity:this._parentActivity,externalParentActivity:this._externalParentActivity}}
4getTraceHeaders(n){const i=this.id,a=this._isRoot?this.id:this._rootId;return L.getHeaders(a,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}getErrorCount(){return this._errorCount}}G._count=0;const q=new Array(16).fill(0).join("");class le{getId(){return q}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}getParentActivity(){}isExternal(){return!1}getExternalParentActivity(){}}const Oe=Object.freeze(new le);class We{getInstrumentedEventData(n,i,a,m){var h;const b={ownerComponent:a.tagName,parentComponent:((h=a.parentElement)===null||h===void 0?void 0:h.tagName)||void 0,simplePath:e.utility.getXpath(a)};switch(n){case 0:b.baseEvent=i;break;case 1:b.mouseEvent=i;break}return m&&(b.userPayload=e.schemaUtil.makePayload(m.schema,m.payload,!0)),b}getEventData(n){return{type:n.type}}getMouseEventData(n){return{altKey:n.altKey,bubbles:n.bubbles,button:n.button,buttons:n.buttons,cancelable:n.cancelable,clientX:n.clientX,clientY:n.clientY,composed:n.composed,defaultPrevented:n.defaultPrevented,detail:n.detail,eventPhase:n.eventPhase,isTrusted:n.isTrusted,timeStamp:n.timeStamp,type:n.type,ctrlKey:n.ctrlKey,metaKey:n.metaKey,movementX:n.movementX,movementY:n.movementY,offsetX:n.offsetX,offsetY:n.offsetY,pageX:n.pageX,pageY:n.pageY,screenX:n.screenX,screenY:n.screenY,shiftKey:n.shiftKey}}}const je=new We;class Ge{constructor(n,i,a,m,h,b,V,ge){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=m,this._buckets=h,this._values=new Array,this._createdOn=b===void 0?e.utility.time().tsNow:b,V!==void 0&&(this._lastUpdatedOn=V),ge!==void 0&&(this._values=ge)}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 He{constructor(n,i,a,m,h,b,V){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=m,this._values=new Array,this._createdOn=h===void 0?e.utility.time().tsNow:h,b!==void 0&&(this._lastUpdatedOn=b),V!==void 0&&(this._values=V)}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 Ze{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 _e=1e3,Y=500,oe=500;var J;(function(ve){ve[ve.Counter=0]="Counter",ve[ve.Percentile=1]="Percentile",ve[ve.BucketHistogram=2]="BucketHistogram"})(J||(J={}));class Te{constructor(n,i){this._ownerName=n,this._getOwnerAppName=i,this._upCounters=new Ze(_e),this._valueRecorders=new Ze(Y),this._bucketHistograms=new Ze(oe)}incrementCounter(n,i,a=!1,m={}){this._tagError(m,a),this._upCounter(n,m).increment(i)}trackValue(n,i,a=!1,m={}){this._tagError(m,a),this._valueRecorder(n,m).record(i)}bucketValue(n,i,a,m=!1,h={}){this._tagError(h,m),this._bucketHistogram(n,h,a).record(i)}_bucketHistogram(n,i,a){const{key:m,sortedTags:h}=this._getKeyAndSortedTags(n,i,J.BucketHistogram);let b=this._bucketHistograms.get(m);
4if(!b&&(b=new Ge(n,this._ownerName,this._getOwnerAppName(),h,a),!this._bucketHistograms.set(m,b)))throw new Error(`Max size of ${oe} exceeded for BucketHistograms`);return b}_upCounter(n,i){const{key:a,sortedTags:m}=this._getKeyAndSortedTags(n,i,J.Counter);let h=this._upCounters.get(a);if(!h&&(h=new e.UpCounterImpl(n,this._ownerName,this._getOwnerAppName(),m),!this._upCounters.set(a,h)))throw new Error(`Max size of ${_e} exceeded for UpCounters`);return h}_valueRecorder(n,i){const{key:a,sortedTags:m}=this._getKeyAndSortedTags(n,i,J.Percentile);let h=this._valueRecorders.get(a);if(!h&&(h=new He(n,this._ownerName,this._getOwnerAppName(),m),!this._valueRecorders.set(a,h)))throw new Error(`Max size of ${Y} 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,a){const m=Object.keys(i).sort().reduce((b,V)=>(b[V]=i[V],b),{});return{key:`${J[a]}:${n}${JSON.stringify(m)}`,sortedTags:m}}}class Se{constructor(){this.isMock=!0}}const ze=void 0,Le=["`"],Ie={internalError:"o11y-error"},Xe=Object.freeze(Array.from(Object.values(Ie)));class Qe{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const m of Le)if(this._name.indexOf(m)>=0)throw new Error(`Name cannot include the reserved character "${m}"`);this._safety=new e.PublicSafety({increment:m=>this._incrementError(m)}),this._metrics=this._initMetrics();const a=e.schemaUtil.getOptions(t.simpleSchema,"Simple","text");this._simpleTextMaxLength=a?a["(meta.max_length)"]:e.maxStringLengthAppLimit}_initMetrics(){return new Te(this.name,()=>this._nextGen.appName||Qe.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(Ie.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,a=!1){let m;return typeof n=="string"?(m=t.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):m=n,e.schemaUtil.makePayload(m,i,a)}_getEffectiveRootId(n){var i,a;return(a=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&a!==void 0?a:this._nextGen.getDefaultInstrumentationContext().rootId}get internalInstrumentationContext(){return this._nextGen.getDefaultInstrumentationContext()}log(n,i,a){this._safety.tryCatch(()=>{const m=e.utility.time().tsNow;e.utility.requireArgument(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),e.utility.requireArgumentIfDefined(a,"options","object");const h=this._wrapUserPayload(n,i);(h==null?void 0:h.payload)&&this._logInternal(this.name,h.schema,h.payload,m,this._getEffectiveRootId(a))},{op:"log"})}_logInternal(n,i,a,m,h){const b=this._nextGen.addLog(n,i,a,m,h);if(!e.utility.isProduction){const V=e.payloadUtility.getExtraFields(i,a);!e.utility.isProduction&&V.length>0&&this.error("Extra fields",t.payloadDiagsSchema,{extras:V})}return b}error(n,i,a,m){return this._safety.tryCatch(()=>{e.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(a,"userData","object"),e.utility.requireArgumentIfDefined(m,"options","object");const h=this._getEffectiveRootId(m);this._errorInternal(n,i,a,void 0,h)},{op:"error"})}_errorInternal(n,i,a,m,h){const b=e.utility.time().tsNow;let V;if(n instanceof Error)V=n;else{let he;n==null||typeof n.toString!="function"?he="UNKNOWN":he=n.toString(),V=new Error(he)}const ge=this._wrapUserPayload(i,a,!0),ye={name:V.name,message:V.message,stack:V.stack,userPayload:ge,activityId:m};return this._logInternal(this.name,t.errorSchema,ye,b,h)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var a;e.utility.requireArgument(n,"name"),e.utility.requireArgumentIfDefined(i,"options","object");const m=e.utility.validateParentActivityType(i==null?void 0:i.isExternal,i==null?void 0:i.parentActivity);let h,b=(i==null?void 0:i.perfStartOverride)!==void 0;const V=(a=i==null?void 0:i.instrumentationContext)===null||a===void 0?void 0:a.rootId;V?(b=!0,h={rootId:V,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled,isRootActivityExternalSampled:i.instrumentationContext.isRootActivityExternalSampled}):h=this._nextGen.getDefaultInstrumentationContext();const ge=(i==null?void 0:i.isExternal)?h.isRootActivityExternalSampled:h.isRootActivitySampled;return new G(n,h.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,ze,i==null?void 0:i.id,ge,i==null?void 0:i.perfStartOverride,b,i==null?void 0:i.isExternal,m)},Oe,{op:"startActivity"})}_getActivityData(n){var i,a;const m=this._wrapUserPayload(n.userSchemaOrText,n.userData,!0);return{id:n.id,name:n.name,duration:n.stopPerfTime-n.startPerfTime,stopReason:n.stopReason,userPayload:m,errorCount:n.errorCount,isSampled:n.isSampled,timerOverridden:n.timerOverridden,isRerooted:n.isRerooted,isExternal:n.isExternal,parentId:(i=n.parentActivity)===null||i===void 0?void 0:i.getId(),externalParentId:(a=n.externalParentActivity)===null||a===void 0?void 0:a.getId()}}_handleActivityStop(n){if(n.stopReason===p)return;if(!n.isRoot&&!n.noRerooting){const a=this._nextGen.getRootActivityHistoryEntryByTime(n.startPerfTime);(!a&&n.rootId!==void 0||a&&n.rootId!==a.id)&&(n.rootId=a==null?void 0:a.id,n.isSampled=(a==null?void 0:a.isSampled)||!1,n.isRerooted=!0)}const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,a){this._logInternal(this.name,t.activitySchema,n,i,a)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}domEvent(n,i,a,m,h){this._safety.tryCatch(()=>{var b;const V=e.utility.time().tsNow;e.utility.requireArgument(n,"event",[Event,Se]),e.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let ge;i instanceof HTMLElement?ge=i:(i=i,((b=i.template)===null||b===void 0?void 0:b.host)instanceof HTMLElement?ge=i.template.host:e.utility.requireArgument(void 0,"handledBy"));const ye=this._wrapUserPayload(a,m,!0),he=this._getEffectiveRootId(h);switch(n.type){case"click":{const Ne=n,Ee=this._nextGen.getClickTracker();Ee&&Ee.markEventHandled(Ne);const se=h==null?void 0:h.captureMouseData,Ue=je.getInstrumentedEventData(se?1:0,se?je.getMouseEventData(Ne):je.getEventData(Ne),ge,ye);Ue.auto=h==null?void 0:h._auto,this._logInternal(this.name,t.instrumentedEventSchema,Ue,V,he);break}default:throw new Error(e.utility.notImplemented)}},{op:"domEvent"})}_siftTags(n){const i=Object.assign({},n);
4return Object.entries(i).forEach(([a,m])=>{if(m===null)i[a]="null";else if(m==="")i[a]="empty";else if(Number.isNaN(m))i[a]="NaN";else{const h=typeof m;["number","string","boolean"].indexOf(h)===-1&&(i[a]=h)}}),i}incrementCounter(n,i=1,a=!1,m={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Xe),e.utility.checkForReservedCharacters(n,"operation",Le),e.utility.requireArgument(i,"increment","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(m,"tags","object"),this._metrics.incrementCounter(n,i,a,this._siftTags(m))},{op:"incrementCounter"})}trackValue(n,i,a=!1,m={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Xe),e.utility.checkForReservedCharacters(n,"operation",Le),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(m,"tags","object"),this._metrics.trackValue(n,i,a,this._siftTags(m))},{op:"trackValue"})}bucketValue(n,i,a=[],m=!1,h={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Xe),e.utility.checkForReservedCharacters(n,"operation",Le),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"buckets",Array),Object.entries(a).forEach(([b,V])=>{e.utility.requireArgument(V,`Bucket value for '${b}'`,"number")}),e.utility.requireArgument(m,"hasError","boolean"),e.utility.requireArgument(h,"tags","object"),this._metrics.bucketValue(n,i,a,m,this._siftTags(h))},{op:"bucketValue"})}getUpCounters(){return this._metrics.getUpCounters().filter(n=>n.getLastUpdatedOn())}getValueRecorders(){return this._metrics.getValueRecorders().filter(n=>n.getLastUpdatedOn())}getBucketHistograms(){return this._metrics.getBucketHistograms().filter(n=>n.getLastUpdatedOn())}registerForLogPrompt(n){e.utility.requireArgument(n,"listener","function"),this._nextGen.registerForLogPrompt(n)}_getAsaOptions(n){return n?Object.assign({instrumentationContext:n==null?void 0:n.instrumentationContext},n.startOptions):void 0}activity(n,i,a){var m,h,b,V;const ge=this._getAsaOptions(a),ye=this.startActivity(n,ge);try{return i(ye)}catch(he){throw ye.error(he,(m=a==null?void 0:a.errorPayload)===null||m===void 0?void 0:m.schema,(h=a==null?void 0:a.errorPayload)===null||h===void 0?void 0:h.payload),he}finally{ye.stop((b=a==null?void 0:a.stopPayload)===null||b===void 0?void 0:b.schema,(V=a==null?void 0:a.stopPayload)===null||V===void 0?void 0:V.payload,a==null?void 0:a.stopOptions)}}async activityAsync(n,i,a){var m,h,b,V;const ge=this._getAsaOptions(a),ye=this.startActivity(n,ge);try{return await i(ye)}catch(he){throw ye.error(he,(m=a==null?void 0:a.errorPayload)===null||m===void 0?void 0:m.schema,(h=a==null?void 0:a.errorPayload)===null||h===void 0?void 0:h.payload),he}finally{ye.stop((b=a==null?void 0:a.stopPayload)===null||b===void 0?void 0:b.schema,(V=a==null?void 0:a.stopPayload)===null||V===void 0?void 0:V.payload,a==null?void 0:a.stopOptions)}}invokeNetworkCallWithHeaders(n,i,a){return L.setHeaders(a),n(...i)}}Qe.defaultAppName="APP_NOT_REGISTERED";const pt=.1,ut=20;class De{constructor(n){if(this._historyMap=new Map,this._historyList=new Array,e.utility.requireArgumentIfDefined(n,"limit","number")){if(n=Math.ceil(n),n<=0)throw new Error("Limit must be a positive number")}else n=ut;this._graceCount=Math.max(1,Math.floor(n*pt)),this._realLimit=1+n+this._graceCount}add(n){if(this._historyMap.has(n.id))throw new Error(`RootActivityHistoryImpl.add: entry already exists for rootId: ${n.id}`);this._historyMap.set(n.id,n),this._historyList.push(n),this._historyList.length===this._realLimit&&this._historyList.splice(1,this._graceCount).forEach(a=>this._historyMap.delete(a.id))}get count(){return this._historyList.length}findById(n){return this._historyMap.get(n)}findByTime(n){let i,a=Number.MAX_VALUE;for(const m of this._historyList){const h=n-m.startPerfTime;h>=0&&(m.stopPerfTime===void 0||n<m.stopPerfTime)&&h<a&&(i=m,a=h)}return i}}class P extends G{constructor(n,i,a,m,h,b,V,ge){super(n,void 0,i,a,void 0,m||e.utility.generateUniqueId(V??32),h,b);
4this._isRoot=!0,this._isExternalSampled=ge}get isExternalSampled(){var n;return(n=this._isExternalSampled)!==null&&n!==void 0?n:!1}set isExternalSampled(n){this._isExternalSampled=n}get preRootId(){return this._preRootId}set preRootId(n){this._preRootId=n}_getDetail(n,i){const a=super._getDetail(n,i);return a.isRoot=!0,a.preRootId=this.preRootId,a}}const j=new Array(32).fill(0).join("");class k{getId(){return j}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}getParentActivity(){}isExternal(){return!1}getExternalParentActivity(){}}const A=Object.freeze(new k);class M extends Qe{constructor(n,i,a){super(n,i);this._allowMulti=a,this._rootActivityHistory=new De,this._onRootActivityStoppedCallback=this._handleRootActivityStop.bind(this)}startRootActivity(n,i,a,m,h){return this._safety.tryCatchReturn(()=>{if(e.utility.requireArgument(n,"name"),(m==null?void 0:m.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const b=new P(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,a,m==null?void 0:m.perfStartOverride,this._nextGen.preferredRootIdLength,h);if(!this._allowMulti){const V={id:b.getId(),name:n,startPerfTime:b.getStartPerfTime(),isSampled:b.getIsSampled()};if(this._rootActivityHistory.add(V),this._singleRootActivity&&!this._singleRootActivity.isStopped){const ge=this._singleRootActivity.getId();this._singleRootActivity.terminate(),b.preRootId=ge}this._singleRootActivity=b}return b},A,{op:"startRootActivity"})}_handleRootActivityStop(n){const i=this._rootActivityHistory.findById(n.id);if(i&&(i.stopPerfTime=n.stopPerfTime,i.startPerfTime=n.startPerfTime),n.stopReason===p)return;const a=this._getActivityData(n);this._logActivity(a,n.startTimestamp),this._singleRootActivity=void 0}_getActivityData(n){const i=super._getActivityData(n);return i.isRoot=n.isRoot,i.preRootId=n.preRootId,i}getSingleRootActivityId(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getId()}isSingleRootActivitySampled(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getIsSampled()}isSingleRootActivityExternalSampled(){var n,i;return(i=(n=this._singleRootActivity)===null||n===void 0?void 0:n.isExternalSampled)!==null&&i!==void 0?i:!1}_initMetrics(){return new Te(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const $=5;class U{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),e.utility.requireArgument(n,"_instr"),e.utility.requireArgument(i,"_doc")}activate(){this._isActive||(this._doc.addEventListener("click",this._boundClickListener,!0),this._isActive=!0)}deactivate(){this._isActive&&(this._doc.removeEventListener("click",this._boundClickListener,!0),this._isActive=!1)}markEventHandled(n){this._ignoredEvent=n}_clickListener(n){var i;let a=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!a||!a.length)&&(a=n.path);const m=this._getClickableElement(a);m&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,m,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,a;const m=n?Math.min(n.length,$):0;for(let h=0;h<m;h+=1){const b=n[h],V=(i=b.tagName)===null||i===void 0?void 0:i.toLowerCase();if(V==="a"||V==="button")return b;if(V==="input"){const ge=b;if(((a=ge.type)===null||a===void 0?void 0:a.toLowerCase())==="button")return ge}}}}const K="o11y:receiver";var Z;(function(ve){ve[ve.Unknown=0]="Unknown",ve[ve.Opening=1]="Opening"})(Z||(Z={}));class ee{constructor(n,i,a){this._logCallback=n,this._metricsCallback=i,this._commErrorCallback=a,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,a={state:Z.Opening,port:i.port1};this._senders.set(n,a),a.port.onmessage=this._messagePortEventHandler.bind(this),a.port.onmessageerror=this._messagePortErrorHandler.bind(this),n.postMessage({from:K,type:ie},"*",[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===Re?this._logCallback(n.data.data):n.data.type===Ce&&this._metricsCallback(n.data.data)}_messagePortErrorHandler(){this._commErrorCallback()}}const ie="handshake",Re="log",Ce="metrics";class ke{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===K&&n.data.type===ie&&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:Re,data:n}):this._logBuffer.push(n)}sendMetrics(n){this._handshakeComplete?this._otherPort.postMessage({type:Ce,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 Ae{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,a,m;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(h=>new e.UpCounterImpl(h.name,h.ownerName,h.ownerAppName,e.metricsUtility.getMetricsTags(h.tags),h.createdTimestamp,h.lastUpdatedTimestamp,h.value))),((a=n.valueRecorders)===null||a===void 0?void 0:a.length)&&this._valueRecorders.push(...n.valueRecorders.map(h=>new He(h.name,h.ownerName,h.ownerAppName,e.metricsUtility.getMetricsTags(h.tags),h.createdTimestamp,h.lastUpdatedTimestamp,h.values))),((m=n.bucketHistograms)===null||m===void 0?void 0:m.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(h=>new Ge(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 qe=1e3;class Ve{constructor(n,i){this._connector=n,this._pollInterval=qe,e.utility.requireArgument(n,"_
4connector","object"),e.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,a){const m={schema:n,data:i,logMeta:a};this._connector.sendLog(m)}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 w=80,ne=32,pe="_CUT",ce=w-pe.length;function Ke(){}class at{get preferredRootIdLength(){return this._preferredRootIdLength}get pagePayloadProvider(){return this._pagePayloadProvider}set pagePayloadProvider(n){this._pagePayloadProvider=n}get appPayloadProvider(){return this._appPayloadProvider}set appPayloadProvider(n){this._appPayloadProvider=n}constructor(n){this._idleDetector=n,this._logCollectors=new Set,this._instruments=new Map,this._seqBySchema=new Map,this._sequence=0,this._forceDisabledLogCollectors=new Set,this._logCollectorFailures=new Map,this._isBufferingEnabled=!1,this._buffer=[],this._logCollectionListeners=new Set,this._opMode="default",this._isSender=!1,this._isReceiver=!1,this._decimalPoints=2}registerApp(n,i){var a,m;if(e.utility.requireArgument(n,"name","string"),this._appInstr)throw new Error("An app has already been registered with instrumentation.");if(this._instruments.get(n))throw new Error(`The instrumentation name ${n} is already taken`);if(e.co11y.setOwnerAppName(n),this._initOpMode(i==null?void 0:i.operationMode),this._isSender=this._opMode==="sender",this._isReceiver=this._opMode==="receiver",(i==null?void 0:i.decimalPoints)!==void 0&&(this._decimalPoints=i.decimalPoints),this._preferredRootIdLength=(a=i==null?void 0:i.preferredRootIdLength)!==null&&a!==void 0?a:ne,this._clientSessionId=((m=i==null?void 0:i.clientSessionId)===null||m===void 0?void 0:m.toString())||e.utility.generateUniqueId(),this._appInstr=new M(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const V=new Ve(new ke(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(V),this.registerMetricsCollector(V)}else this._isReceiver&&(this._metricsStore=new Ae,this._receiverConnector=new ee(V=>{V.logMeta.receiverClientSessionId=this._clientSessionId,V.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(V.schema,V.data,V.logMeta)},V=>{this._metricsStore.add(V)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const b=new L(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:b.networkInstrumentation.bind(b),registerForLogPrompt:this._appInstr.registerForLogPrompt.bind(this._appInstr),activity:this._appInstr.activity.bind(this._appInstr),activityAsync:this._appInstr.activityAsync.bind(this._appInstr),invokeNetworkCallWithHeaders:this._appInstr.invokeNetworkCallWithHeaders.bind(this._appInstr),startRootActivity:this._appInstr.startRootActivity.bind(this._appInstr),registerLogCollector:this._isSender?Ke:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?Ke: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):Ke,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):Ke}}
4getInstrumentation(n){e.utility.requireArgument(n,"name","string"),n.length>w&&(n=n.substring(0,ce)+pe);let i=this._instruments.get(n);if(!i)i=new Qe(this,n),this._instruments.set(n,i);else if(i===this._appInstr)throw new Error(`The instrumentation name ${n} is being used by the app.`);return i}get appName(){var n;return(n=this._appInstr)===null||n===void 0?void 0:n.name}getRootActivityHistoryEntryByTime(n){var i;return(i=this._appInstr)===null||i===void 0?void 0:i.getRootActivityHistoryEntry(n)}addLog(n,i,a,m,h){var b,V,ge;e.payloadUtility.checkInputs(i,a),this._sequence+=1;const ye=e.schemaUtil.isInternal(i),he=ye&&(a==null?void 0:a.userPayload)?a.userPayload.schema:i,Ne=e.schemaUtil.getSchemaId(he);let Ee=this._seqBySchema.get(Ne)||0;Ee+=1,this._seqBySchema.set(Ne,Ee);const se={timestamp:m,rootId:h,sequence:this._sequence,schemaSequence:Ee,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:e.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:e.utility.getAge(m)},Ue={schema:i,data:a,logMeta:se};if(se.pagePayload=e.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,Ue),se.appPayload=e.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,Ue),this._isSender||(a=e.utility.clone(a)),typeof this._decimalPoints=="number"&&(e.utility.roundNumbersInObject(a,this._decimalPoints),ye&&e.utility.roundNumbersInObject((b=a.userPayload)===null||b===void 0?void 0:b.payload,this._decimalPoints),e.utility.roundNumbersInObject((V=se.pagePayload)===null||V===void 0?void 0:V.payload,this._decimalPoints),e.utility.roundNumbersInObject((ge=se.appPayload)===null||ge===void 0?void 0:ge.payload,this._decimalPoints)),this._isBufferingEnabled){const Be={schema:i,data:a,logMeta:se};this._buffer.push(Be)}return this._multiplex(i,a,se),this._sequence}_multiplex(n,i,a){const m=Array.from(this._logCollectors).filter(h=>{var b;return!this._forceDisabledLogCollectors.has(h)&&!((b=h.getIsCollectDisabled)===null||b===void 0?void 0:b.call(h))});if(m.length>0)for(const h of m){let b=this._logCollectorFailures.get(h)||0;try{h.collect(n,i,a),b>0&&this._logCollectorFailures.set(h,b-1)}catch(V){b+=1,b>=at._collectorFailureLimit?(this._forceDisabledLogCollectors.add(h),this._appInstr&&(typeof V=="string"||V instanceof Error)&&this._appInstr.error(V)):this._logCollectorFailures.set(h,b)}}}getBuffer(){return this._buffer}disableBuffering(){this._isBufferingEnabled=!1,this._buffer=[]}getClickTracker(){return this._autoClickTracker}getDefaultInstrumentationContext(){var n,i,a;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(),isRootActivityExternalSampled:(a=this._appInstr)===null||a===void 0?void 0:a.isSingleRootActivityExternalSampled()}}activateClickTracker(){typeof document!="undefined"&&(this._autoClickTracker||(this._autoClickTracker=new U(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(e.utility.requireArgument(n,"collector"),!this._logCollectors.has(n)&&(this._logCollectors.add(n),this._logCollectorFailures.set(n,0),(!n.getIsCollectDisabled||!n.getIsCollectDisabled())&&(i==null?void 0:i.retroactive)))for(const a of this._buffer)n.collect(a.schema,a.data,a.logMeta)}registerMetricsCollector(n){if(e.utility.requireArgument(n,"collector"),this._metricsCollector)throw new Error("A metrics Collector is already registered.");this._metricsCollector=n,this._metricsCollector.receiveMetricsExtractors({getAllUpCounters:this._getAllUpCounters.bind(this),getAllValueRecorders:this._getAllValueRecorders.bind(this),getAllBucketHistograms:this._getAllBucketHistograms.bind(this)})}_getAllUpCounters(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getUpCounters())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getUpCounters()).flat()).concat(e.co11y.getUpCounters())}_getAllValueRecorders(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getValueRecorders())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getValueRecorders()).flat()).concat(e.co11y.getValueRecorders())}_getAllBucketHistograms(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getBucketHistograms())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getBucketHistograms()).flat()).concat(e.co11y.getBucketHistograms())}registerForLogPrompt(n){this._logCollectionListeners.add(n)}promptLogCollection(n){for(const i of this._logCollectionListeners.keys())try{i(n)}catch(a){if(!e.utility.isProduction)throw a}}getClientSessionId(){return this._clientSessionId}_initOpMode(n){if(typeof n=="function"&&(n=n()),(n===void 0||typeof window!="object")&&(n="default"),["default","receiver","sender"].indexOf(n)>=0)this._opMode=n;else throw new Error(`Invalid operation mode: ${n}`)}getOperationMode(){return this._opMode}}at._collectorFailureLimit=5;class Je{get _lazyNextGen(){return this._nextgen||(this._nextgen=new at(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,e.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){const a=this._lazyNextGen.registerApp(n,i);return i&&(e.utility.markProduction(i.isProduction),this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),a}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const mt=e.utility.time.bind(e.utility),dt="sfcore.customCmp.CustomComponentLog",Tt={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},Ut={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},It="black",Pt="Gainsboro";class tt{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,a){const m=e.schemaUtil.getSchemaId(n);if(!this._shouldLog(m))return;if(m===dt){this._logCustom(i);return}let h,b,V;e.schemaUtil.isInternal(n)?(h=n.name,b=Ut[n.name]||It,V=Tt[n.name]||Pt):h=m,this._log(h,i,a,b,V)}_shouldLog(n){return this._simpleFilters.size==0&&this._regexFilters.length==0?!0:this._simpleFilters.has(n)||this._regexFilters.some(i=>i.test(n))}addFilter(n){n instanceof RegExp?this._regexFilters.push(n):this._simpleFilters.add(n)}removeFilter(n){if(n instanceof RegExp){const i=this._regexFilters.findIndex(a=>a.source===n.source);i>=0&&this._regexFilters.splice(i,1)}else this._simpleFilters.delete(n)}clearFilters(){this._simpleFilters.clear(),this._regexFilters.splice(0,this._regexFilters.length)}getFilters(){return Array.from(this._simpleFilters).concat(this._regexFilters).sort()}_log(n,i,a,m=It,h=Pt){const b=`color:${m};background-color:${h}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",b,i||"",a||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const At="260.0.0",St=new W({logThreshold:300,reportListener:ve=>{_t==null||_t.log(t.idleDetectorReportSchema,ve)},errorListener:(ve,n)=>{_t==null||_t.error(ve,n)}}),vt=new Je(St),Xt=vt.registerInstrumentedApp.bind(vt),Gt=vt.getInstrumentation.bind(vt),_t=Gt("IdleDetector");r.ConsoleCollector=tt,r._version=At,r.getInstrumentation=Gt,r.idleDetector=St,r.registerInstrumentedApp=Xt,r.time=mt,Object.defineProperty(r,"__esMo
4dule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/262_6_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/o11y/v/1_66_1195-262_0",["exports"],function(r){"use strict";const t={};r._o11y=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/expressions/v/1_66_1195-262_0",["exports"],function(r){"use strict";let t;const e="1970-01-01T",I="T00:00:00",R="provider",W="providers";function H(N){return N!==null&&typeof N=="object"}function _(N){return N==="LWR"||N==="CLWR"}function u(N){try{const x=N?.indexOf(":")>-1,re=N?.indexOf("-")>-1;return N===""||!x&&!re?null:(typeof N=="string"&&(re||(N=e+N),x||(N=N+I),N=N.trim().replace(" ","T"),N.endsWith("Z")||(N+="Z")),new Date(N))}catch(x){return null}}function g(N){try{const x=N(),re=Reflect.get(this,W);for(const ue of re)if(!ue?.hasData?.())throw new Error;return x??null}catch(x){return}}function l(N){return H(this)&&(Reflect.set(this,R,N),Reflect.get(this,W).push(N)),N?.getData?.()}function f(N={},x){if(!!N&&Object.prototype.hasOwnProperty.call(N,x))return _(x)?void 0:N[x]}function d(N,x){Array.isArray(N)||(N=[N]);const re=N.filter(x);if(!!re.length)return re.length===1?re[0]:re}function E(N,x){if(H(this)&&Reflect.has(this,R)){const re=Reflect.get(this,R);if(Reflect.deleteProperty(this,R),!re?.hasData?.(x))throw new Error;const ue=Reflect.get(this,W);ue.indexOf(re)>=0&&ue.splice(ue.indexOf(re),1)}return typeof x=="string"&&Array.isArray(N)?(N=N.map(re=>re[x]).filter(re=>re!==void 0),N.length===0?void 0:N.length===1?N[0]:N):N?.[x]}function v(){}const T={toDate(N){if(N!=null){const x=u(N)?.setUTCHours(0,0,0,0);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toTime(N){if(N!=null){const x=u(N)?.setUTCFullYear(1970,0,1);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toDatetime(N){return N!=null?u(N):null},isBlank(N){return!N&&typeof N!="number"},contains(N,x){return N!=null?N.includes(x):!1},begins(N,x){return x==null?!0:N!=null?N.toString().startsWith(x.toString()):!1}},S=(...N)=>(t={[W]:[],[R]:null},g.apply(t,N)),O=(...N)=>l.apply(t,N),B=(...N)=>E.apply(t,N),F=(...N)=>f.apply(t,N),X=(...N)=>d.apply(t,N),Q=(...N)=>v.apply(t,N);r.EXPR_CLOSURE=S,r.EXPR_FILTER=X,r.EXPR_FUNCTION=Q,r.EXPR_GLOBAL=F,r.EXPR_MEMBER=B,r.EXPR_PROVIDER=O,r.EXPR_RUNTIME=T,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routerContainer/v/1_66_1195-262_0",["exports","lwc/v/9_1_2","webruntime/errors/v/1_66_1195-262_0","lwr/navigation/v/0_22_17","webruntime/routingService/v/1_66_1195-262_0","webruntime/defaultView/v/1_66_1195-262_0"],function(r,t,e,I,R,W){"use strict";function H(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var _=H(W),u=void 0;class g extends t.LightningElement{constructor(...d){super(...d);this.view=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.previousRouteParam
4s={},this.requiredParameters=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"],this.attributes={},this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(d){this._routeParams=d}render(){return this.generatedTemplateHtml}connectedCallback(){const d=this.view||_.default;this.generatedTemplateHtml=d.html,this.attributes=d.attributes(this,this.routeParams),this.subscription=R.subscribe(this.routeChange.bind(this))}viewChange(d){R.handleExtraRouteParams(this.route),this.generatedTemplateHtml=d.html;const{state:E,attributes:v}=this.route;this._routeParams={...E,...v},this.attributes=d.attributes(this,this.routeParams)}routeChange(d){this.route=d.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(d,E){e.reportError({subject:"router level error",error:d,wcstack:E})}}g.renderMode="light",t.registerDecorators(g,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:I.CurrentView,method:1,config:function(f){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousRouteParam
4s","requiredParameters","attributes","route"]});const l=t.registerComponent(g,{tmpl:u,sel:"webruntime-router-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=l,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/componentContainer/v/1_66_1195-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";function e(l,f,d){var E=l?"."+l+"-host":"";return(f?":host {":E+" {")+"display: flow-root;}"}e.$scoped$=!0;var I=[e];const R={key:0},W=[];function H(l,f,d,E){const{s:v}=l;return[v("",R,W,d)]}var _=t.registerTemplate(H);H.slots=[""],H.renderMode="light",H.stylesheets=[],H.stylesheetToken="lwc-4k1qbp7cls1",H.legacyStylesheetToken="webruntime-componentContainer_componentContainer",I&&H.stylesheets.push.apply(H.stylesheets,I),t.freezeTemplate(H);class u extends t.LightningElement{}u.renderMode="light";const g=t.registerComponent(u,{tmpl:_,sel:"webruntime-component-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=g,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/slotContainer/v/1_66_1195-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";const e=[];function I(_,u,g,l){const{s:f,fr:d}=_;return[u.isVisible?d(0,[f("",{key:1,slotData:u.variations},e,g)],0):null]}var R=t.registerTemplate(I);I.slots=[""],I.renderMode="light",I.stylesheets=[],I.stylesheetToken="lwc-769n4j124ma",I.legacyStylesheetToken="webruntime-slotContainer_slotContainer",t.freezeTemplate(I);class W extends t.LightningElement{constructor(...u){super(...u);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const u={},g=!!this.variationExpressions?.find(d=>d===!0),l=this.variationExpressions?.findIndex(d=>d===!0),f=this.variationExpressions?.findIndex(d=>typeof d=="undefined")!==-1;return this.variationExpressions?.forEach(function(d,E){const v=`variation${E+1}`;f||g&&l!==E?u[v]=!1:d===!0?u[v]=!0:(typeof d=="undefined",u[v]=!1)}),u.variation0=!g&&!f,u}}W.renderMode="light",t.registerDecorators(W,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});const H=t.registerComponent(W,{tmpl:R,sel:"webruntime-slot-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/visibilityContainer/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","lwc/v/9_1_2","@app/isDesignMode/v/1"],function(r,t,e,I){"use strict";function R(v){return v&&typeof v=="object"&&"default"in v?v:{default:v}}var W=R(I);function H(v,T,S){var O=v?"."+v+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(T?":host.webruntime-visibility-container.dxp-sm-hide {":O+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(T?":host.webruntime-visibility-container.dxp-md-hide {":O+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(T?":host.webruntime-visibility-container.dxp-lg-hide {":O+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}H.$scoped$=!0;var _=[H];const u=[],g={key:1};function l(v,T,S,O){const{fr:B,s:F}=v;return[T.hidden?B(0,u,0):B(0,[F("",g,u,S)],0)]}var f=e.registerTemplate(l);l.slots=[""],l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-7ethp7o0ig8",l.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",_&&l.stylesheets.push.apply(l.stylesheets,_),e.freezeTemplate(l);class d extends e.LightningElement{constructor(...T){super(...T);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const T={Small:{isHidden:this.hiddenInMobile,mediaQuery:"only screen and (max-width: 47.9375em)",class:"dxp-sm-hide"},Medium:{isHidden:this.hiddenInTablet,mediaQuery:"only screen and (min-width: 48em) and (max-width: 64em)",class:"dxp-md-hide"},Large:{isHidden:this.hiddenInDesktop,mediaQuery:"only screen and (min-width: 64.0625em)",class:"dxp-lg-hide"}};let S="";Object.values(T).forEach(O=>{O.isHidden?this.classList.add(O.class):S+=S?`, ${O.mediaQuery}`:O.mediaQuery}),W.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),t.load("webruntime/formFactor/v/1_66_1195-262_0").then(({getFormFactor:O})=>{if(typeof window!="undefined"&&!W.default&&T[O()].isHidden){if(S){const B=window.matchMedia(S),F=X=>{X.matches&&(this.hidden=!1,B.removeEventListener("change",F))};B.addEventListener("change",F)}}else this.hidden=!1})}}d.renderMode="light",d.validationOptOut=["class"],e.registerDecorators(d,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});const E=e.registerComponent(d,{tmpl:f,sel:"webruntime-visibility-container",apiVersion:66,enableSyntheticElementInternals:!0});
4r.default=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/viewchangeNotifier/v/1_66_1195-262_0",["exports","lwc/v/9_1_2","lwr/navigation/v/0_22_17","@app/deployTarget/v/1","webruntime/routingService/v/1_66_1195-262_0"],function(r,t,e,I,R){"use strict";function W(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var H=W(I);const _=t.parseFragment`<div hidden${"a0:data-route"}${3}></div>`;function u(T,S,O,B){const{sp:F,st:X}=T;return[X(_,1,[F(0,{attrs:{"data-route":S.routeParamString}},null)])]}var g=t.registerTemplate(u);u.renderMode="light",u.stylesheets=[],u.stylesheetToken="lwc-1j18phjg883",u.legacyStylesheetToken="webruntime-viewchangeNotifier_viewchangeNotifier",t.freezeTemplate(u);const l=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"];function f(T){return Object.keys(T).reduce((S,O)=>(l.includes(O)&&(S[O]=T[O]),S),{})}function d(T,S){return T===S?!0:!T||!S?!1:Object.keys(T).length===Object.keys(S).length&&Object.entries(S).every(([O,B])=>T[O]===B)}class E extends t.LightningElement{constructor(...S){super(...S);this.routeChangeSubscription=void 0,this.route=void 0,this.routeParams=void 0,this.previousRouteParam
4s=void 0}connectedCallback(){H.default==="MRT"&&requestAnimationFrame(()=>{this.route=R.getCurrentRoute().route,this.updateRouteParams()}),this.routeChangeSubscription=R.subscribe(this.routeChange.bind(this))}routeChange(S){this.route=S.route}viewChange(){this.updateRouteParams()}updateRouteParams(){const{state:S,attributes:O}=this.route||{};this.routeParams=f({...S,...O})}renderedCallback(){!this.routeParams||(d(this.previousRouteParams,this.routeParams)||(R.isCurrentRouteCanonicallyRedirected()||this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})),window?.scrollTo(0,0)),this.previousRouteParams=this.routeParams)}disconnectedCallback(){this.routeChangeSubscription?.unsubscribe()}get routeParamString(){return window.btoa(encodeURIComponent(JSON.stringify(this.routeParams)))}}E.renderMode="light",t.registerDecorators(E,{wire:{viewChange:{adapter:e.CurrentView,method:1,config:function(T){return{}}}},fields:["routeChangeSubscription","route","routeParams","previousRouteParam
4s"]});const v=t.registerComponent(E,{tmpl:g,sel:"webruntime-viewchange-notifier",apiVersion:66,enableSyntheticElementInternals:!0});r.default=v,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/viewchangeNotifier",["exports","webruntime/viewchangeNotifier/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_1195-262_0",["exports"],function(r){"use strict";class t{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const I=document.documentElement.scrollTop||document.body.scrollTop,R=document.documentElement.scrollHeight||document.body.scrollHeight;I/(R-document.documentElement.clientHeight)*100>=90&&(document.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-scroll-to-bottom"}})),this.hasTriggered=!0)}}addListener(){this.hasAddedListener||document.addEventListener("scroll",this.trigger),this.hasAddedListener=!0,this.hasTriggered=!1}removeListener(){document.removeEventListener("scroll",this.trigger),this.hasAddedListener=!1}}r.ScrollToBottomEvent=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/pageDataLayerObject/v/1_66_1195-262_0",["exports","lwc/v/9_1_2","experience/dataLayerObject/v/256_8_0","webruntime/analyticsEvents/v/1_66_1195-262_0"],function(r,t,e,I){"use strict";function R(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var W=R(e);function H(l,f,d,E){const{c:v}=l;return[v("experience-data-layer-object",W.default,{props:{scriptDataAttributes:f.pageDataForDataLayer.scriptDataAttributes,customObject:f.pageDataForDataLayer.customObject},key:0})]}var _=t.registerTemplate(H);H.renderMode="light",H.stylesheets=[],H.stylesheetToken="lwc-1k5dp68c4pi",H.legacyStylesheetToken="webruntime-pageDataLayerObject_pageDataLayerObject",t.freezeTemplate(H);class u extends t.LightningElement{constructor(...f){super(...f);this.handleViewChanged=d=>this._handleViewChanged(d),this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new I.ScrollToBottomEvent}connectedCallback(){document.addEventListener("viewchange",this.handleViewChanged)}disconnectedCallback(){document.removeEventListener("viewchange",this.handleViewChanged),this.scrollToBottomEvent.removeListener()}renderedCallback(){this.pageDataForDataLayer?.customObject&&this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}}))}_handleViewChanged(f){const d=f.detail?.route?.attributes?.recordId,E=f.detail?.route?.attributes?.contentTypeName,v=f.detail?.route?.attributes?.webUrlId,T=f.detail?.route?.attributes?.contentKey,S=f.detail?.route?.attributes?.dataSpaceId,O=f.detail?.route?.attributes?.businessUnitId,B={type:f.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...d?{recordId:d}:{},...E?{contentTypeName:E}:{},...v?{urlAlias:v}:{},...T?{contentKey:T}:{},...S?{dataSpaceId:S}:{},...O?{businessUnitId:O}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:B},this.scrollToBottomEvent.addListener()}}u.renderMode="light",t.registerDecorators(u,{fields:["handleViewChanged","pageDataForDataLayer","scrollToBottomEvent"]});const g=t.registerComponent(u,{tmpl:_,sel:"webruntime-page-data-layer-object",apiVersion:66,enableSyntheticElementInternals:!0});r.default=g,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/pageDataLayerObject",["exports","webruntime/pageDataLayerObject/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/serverRouter/v/0_22_17",["exports","lwr/contextProvider/v/0_22_17","lwr/metrics/v/0_22_17","lwr/navigation/v/0_22_17","lwr/navigationMixinHacks/v/0_22_17","lwr/profiler/v/0_22_17","lwr/router/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/routerUtils/v/0_22_17"],function(r,t,e,I,R,W,H,_,u){"use strict";class g{constructor(d,E,v){this.contextId=Object.freeze(()=>{}),this.router=E,this.target=v,this.handleNavHook=d.handleNavigation,this.preNavHook=d.preNavigate,this.errorNavHook=d.errorNavigate,this.initWires(d.url)}async navigate(d,E,v){if(u.hasDocument){if(this.handleNavHook&&!this.handleNavHook(d))return;const T=await this.getValidatedUrl(d,v);T&&(document.location.href=T)}}generateUrl(d,E){return this.router.generateUrl(d,E)}generateUrlAsync(d,E){return this.router.generateUrlAsync(d,E)}initWires(d){if(!d&&u.hasDocument&&(d=document.location.href),!d){this.processError(_.generateMessageObject(_.messages.NO_INIT_URL));return}d=this.getRelativeUrl(d),this.currentRoute=this.router.matchRoute(d,{})||void 0,I.registerNavigationHelm(this.contextId,{navigate:(E,v,T)=>this.navigate(E,v,T),generateUrl:(E,v)=>this.generateUrl(E,v),generateUrlAsync:(E,v)=>this.generateUrlAsync(E,v),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),t.provideContext(this.contextId,this.target,t.navigationContextContextualizer,I.NavigationContext),t.provideContext(this.currentRoute?.route.pageReference,this.target,t.currentPageReferenceContextualizer,I.CurrentPageReference),u.hasDocument&&this.target.addEventListener(R.CONTEXT_ID_BACKDOOR,E=>{const v=E;v.detail.callback&&v.detail.callback(this.contextId)})}getRelativeUrl(d){if(d.startsWith("http")){const E=new URL(d);return`${E.pathname}${E.search}`}return d}async getValidatedUrl(d,E){const v=this.router.matchRoute(d,{});if(!v){this.processError(_.generateMessageObject(_.messages.NO_ROUTE_MATCH,[JSON.stringify(d)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:v}))){this.processError(_.generateMessageObject(_.messages.PRENAV_FAILED,[JSON.stringify(d)]));return}return this.router.generateUrl(d,E)}processError(d){W.logOperationStart({id:e.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(d)}}function l(f,d){new g(f,H.createRouter(f),d)}r.ServerRouter=g,r.createServerRouter=l,Object.defineProperty(r,"__esMo
4dule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/router/v/0_22_17",["exports","lwr/routerUtils/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/observable/v/0_22_17"],function(r,t,e,I){"use strict";class R{constructor(_){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=I.createObservable(),this.basePath=_.basePath||"",this.config={basePath:this.basePath,i18n:_.i18n||t.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(_.caseSensitive),routes:_.routes||[],generateUrl:(f,d)=>t.getUrlFromPageReference(f,this.compiledRoutes,this.config.basePath,this.config.i18n,d),parseUrl:f=>t.getPageReferenceFromUrl(f,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{generateUrlFilter:u,DEPRECATED_getRouteFromUrl:g,DEPRECATED_getUrlFromRoute:l}=_;u&&(this.config.generateUrlFilter=u),g&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=g),l&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=l),this.compiledRoutes=t.parseRoutes(this.config)}generateUrl(_,u){const{DEPRECATED_getUrlFromRoute:g}=this.deprecatedConfig;return g?g(_,this.config.generateUrl,u):this.config.generateUrl(_,u)}generateUrlAsync(_,u){const{generateUrlFilter:g}=this.config;return g?g(_,this.config.generateUrl,u):Promise.resolve(this.generateUrl(_,u))}parseUrl(_){const{DEPRECATED_getRouteFromUrl:u}=this.deprecatedConfig;return u?u(_,this.config.parseUrl):this.config.parseUrl(_)}matchRoute(_,u){const g=typeof _=="string"?_:this.generateUrl(_,u);if(g===null)return null;const l=t.matchRouteByUrl(g,this.compiledRoutes,this.config.basePath,this.config.i18n,u),f=l&&t.getUrlFromPageReferenceAndRouteDef(l.route.pageReference,l.routeDefinition,this.config.basePath,this.config.i18n,u);return!l||!f?null:{pathMatch:f,route:l.route,routeDefinition:l.routeDefinition.original}}async resolveView(_,u){return new Promise((g,l)=>{const f=this.matchRoute(_,u);return f?f.routeDefinition.handler?.().then(d=>{const E=d.default;if(!E)return l(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[f.routeDefinition.id]));const v=new E(g);v&&v.update(f.route)}):l(e.generateMessage(e.messages.NO_ROUTE_MATCH,[JSON.stringify(_)]))})}navigate(_,u){const g=this.matchRoute(_,u);if(!g)throw new Error(e.generateMessage(e.messages.MISSING_ROUTE,[JSON.stringify(_)]));this.pendingRoute={...g},this._mapView(this.pendingRoute)}subscribe(_,u){return this.routeObservable.subscribe({next:_,error:()=>{},complete:()=>{}},Boolean(u))}async _mapView(_){const u=Math.random();this.routeHandlerId=u;const l=(await _.routeDefinition.handler?.())?.default;if(!l)throw new Error(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[_.routeDefinition.id]));return this.routeHandler=new l(f=>{this._updateView(u,f)}),this.routeHandler&&this.routeHandler.update(_.route),!0}_updateView(_,u){if(!u||_!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const g=t.freeze(u.viewset);this.routeObservable.next({...this.pendingRoute,...u,viewset:g})}}function W(H={}){return new R(H)}r.createRouter=W,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_22_17"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/a11yService/v/1_66_1195-262_0",["exports"],function(r){"use strict";const t="tabindex",{document:e}=globalThis;let I,R=null;function W(l){if(!e||!e.head)return;const f=e.head.querySelector("title");if(!f)return;R&&(R.disconnect(),R=null),R=new MutationObserver(E=>{E.forEach(v=>{(v.type==="childList"||v.type==="characterData")&&l(e.title)})});const d={childList:!0};R.observe(f,d)}function H(l){if(!e||!l?.routeDefinition)return;const{routeDefinition:f}=l,d=f?.label;d!=null&&_(I,l)&&(f.metadata.title=d),I=l,W(E=>{u(E),f.metadata.title=E})}function _(l,f){if(!l||l.routeDefinition.id!==f.routeDefinition.id)return!0;const d=l.route,E=f.route;for(const v in d.attributes)if(d.attributes[v]!==E.attributes[v])return!0;return!1}function u(l){const f=e.body.querySelector(".router-title");!f||f.textContent!==l&&(f.textContent=l)}function g(l){if(!e)return;const f=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT,{acceptNode:E=>E.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),d=l?e.body:f.nextNode();d&&(d.setAttribute(t,"-1"),d.focus({preventScroll:!0}),d.removeAttribute(t))}r.TAB_INDEX_ATTR_NAME=t,r.handleTitleUpdate=H,r.updateFocus=g,Object.defineProperty(r,"__esMo
4dule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routingService/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","@communities-webruntime/common/v/1_66_1195-262_0","@salesforce/i18n/lang/v/1","@app/deployTarget/v/1","@app/basePath/v/1","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/views/v/1_66_1195-262_0","webruntime/a11yService/v/1_66_1195-262_0","webruntime/overrides/v/1_66_1195-262_0","webruntime/logger/v/1_66_1195-262_0","webruntime/persistentQueryParams/v/1_66_1195-262_0","webruntime/utils/v/1_66_1195-262_0","webruntime/o11y/v/1_66_1195-262_0","lwr/router/v/0_22_17","lwr/serverRouter/v/0_22_17","lwr/routerErrors/v/0_22_17","lwr/navigation/v/0_22_17","webruntime/transport/v/1_66_1195-262_0","@app/isDesignMode/v/1","@app/extraRouteParams/v/1"],function(r,t,e,I,R,W,H,_,u,g,l,f,d,E,v,T,S,O,B,F,X,Q,N){"use strict";function x(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var re=x(I),ue=x(R),we=x(W),Pe=x(H),L=x(_),Fe=x(u),Me=x(g),o=x(Q),p=x(N);const c={WEB_PAGE:"standard__webPage",RECORD_PAGE:"standard__recordPage",RECORD_RELATIONSHIP_PAGE:"standard__recordRelationshipPage",OBJECT_PAGE:"standard__objectPage",SEARCH_PAGE:"standard__search",KNOWLEDGE_ARTICLE_PAGE:"standard__knowledgeArticlePage",MANAGED_CONTENT_PAGE:"standard__managedContentPage",LOGIN_PAGE:"comm__loginPage"},G={LANDING_PAGE:"sfdc_cms__landingPage"};function q(s){const C=[],D=[];return s.forEach(z=>{const{type:me,attributes:ae={},state:fe={}}=z.page||{};if(me===c.OBJECT_PAGE)if(le(ae.actionName))C.push(z);else{let xe;ae.actionName==="list"?(xe={...z,page:{...z.page,attributes:{...ae},state:{...fe}}},xe.page.attributes.actionName="home"):ae.actionName==="home"?(xe={...z,page:{...z.page,attributes:{...ae},state:{...fe}}},xe.page.attributes.actionName="list"):ae.actionName||(z.page.attributes.actionName="home",xe={...z,page:{...z.page,attributes:{...ae},state:{...fe}}},xe.page.attributes.actionName="list"),C.push(z,xe)}else D.push(z)}),[...C,...D]}function le(s){return s&&s.length>1?s.startsWith(":"):!1}const Oe=new Map;let We=!1,$e=null;function je(s){s?$e||($e=C=>{C.preventDefault(),C.returnValue=""},window.addEventListener("beforeunload",$e)):$e&&(window.removeEventListener("beforeunload",$e),$e=null)}function Ge(s){const{isDirty:C,instanceId:D,label:z}=s.detail||{};if(typeof C!="boolean"){d.logError(`handleTrackDirtyState() - invalid or missing isDirty. isDirty: ${C}`);return}if(typeof D!="string"||!D){d.logError(`handleTrackDirtyState() - invalid or missing instanceId. instanceId: ${D}`);return}if(z!==void 0&&typeof z!="string"){d.logError(`handleTrackDirtyState() - invalid label type, expected string. label: ${z}`);return}C?Oe.set(D,z):Oe.delete(D),je(Oe.size>0)}function He(){Oe.clear(),je(!1)}async function Ze(s){const C=Array.from(Oe.values()),D=s?.currentTarget instanceof EventTarget?s.currentTarget:s?.target instanceof EventTarget?s.target:void 0;if(D instanceof EventTarget){const z={labels:C};if(D.dispatchEvent(new CustomEvent("fireDirtyStateModal",{detail:z,bubbles:!0,composed:!0})),z.resultPromise)return await z.resultPromise===!0}return!1}function _e(s,C,D,z){if(We)return C(),!0;let me=!1;try{if(s.current?.routeDefinition&&Oe.size>0){const ae=s.next?.route?.pageReference;return ae?(C(),me=!0,We=!0,Ze(z).then(fe=>{We=!1,fe&&(Oe.clear(),je(!1),D(ae))}).catch(()=>{We=!1}),!0):!1}}catch(ae){if(d.logError(`Dirty state check error: ${ae}`),Oe.clear(),je(!1),me){try{const fe=s.next?.route?.pageReference;fe&&D(fe)}catch(fe){d.logError(`Failed to recover navigation after dirty state error: ${fe}`)}return!0}}return!1}const Y={};let oe=null;function J(s){const{pathname:C,search:D,hash:z}=new URL(s,window.location.origin);return{pathname:C,search:D,hash:z}}async function Te(s){const{pathname:C,search:D,hash:z}=J(s);if(Y[C])return Y[C]+D+z;if(Object.values(Y).includes(C))return s;try{const{redirected:me,url:ae}=await X.fetch(s,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(me){const fe=J(ae).pathname;return Y[C]=fe,fe+D+z}}catch(me){d.logError(`Unable to fetch canonical URL for ${s}`,`error: 5`,me)}return null}let Se;async function ze(s,C){const{route:D,routeDefinition:z}=C;if(oe=D,z?.metadata?.hasVanityURL){const me=s.generateUrl(D.pageReference),ae=await Te(me);if(ae&&ae!==me&&oe===D){const xe={type:c.WEB_PAGE,attributes:{url:ae}}
5;return F.navigate(s.contextId,xe,!0),Se=!0,!0}}return Se=!1,!1}function Le(){return Se}const Ie={};let Xe=null;function Qe(s){const{pathname:C,search:D,hash:z}=new URL(s,window.location.origin);return{pathname:C,search:D,hash:z}}async function pt(s){const{pathname:C,search:D,hash:z}=Qe(s);if(Ie[C])return{canonicalUrl:Ie[C]+D+z};if(Object.values(Ie).includes(C))return{canonicalUrl:s};try{const{redirected:me,url:ae,status:fe}=await X.fetch(s,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(fe===403||fe===404)return{isError:!0};if(me){const xe=Qe(ae).pathname;return Ie[C]=xe,{canonicalUrl:xe+D+z}}}catch(me){d.logError(`Unable to validate and/or fetch canonical URL for ${s}`,`error: 6`,me)}return{}}let ut;async function De(s,C,D){if(o.default)return!1;const{route:z,routeDefinition:me}=C;Xe=z;const ae=me?.page?.type===c.RECORD_PAGE;if(me?.metadata?.hasVanityURL||ae){const fe=s.generateUrl(z.pageReference),{canonicalUrl:xe,isError:bt}=await pt(fe);if(Xe===z){if(bt&&ae)return F.navigate(s.contextId,D),!0;if(xe&&xe!==fe){const tr={type:c.WEB_PAGE,attributes:{url:xe}};return F.navigate(s.contextId,tr,!0),ut=!0,!0}}}return ut=!1,!1}function P(){return ut}const j=["webUrlId","dataSpaceId","businessUnitId"];let k=!0;const A={};function M(s){const C=s?.attributes||{};let D=C.urlName||C.urlPath;if(!D&&s?.type===c.MANAGED_CONTENT_PAGE&&C.contentTypeName===G.LANDING_PAGE&&(D=C.urlAlias),D){const z=C.objectApiName||"";return`${D}:${z}`}return null}function $(s){s.extraRouteParams&&(U(s,s.extraRouteParams),delete s.extraRouteParams)}function U(s,C){const D=M(s);!C||!D||(A[D]=C)}function K(s){const C=M(s);if(C&&C in A){const D=A[C];return!(D&&Object.keys(D).length>0)}return!!C}function Z(s={}){const{current:C,next:{pathMatch:D,route:{pageReference:z}={}}}=s;return C&&K(z)?(window.location.assign(D),!0):!1}function ee(s){if(k){const C=Re();ie(s,C),U(s.pageReference,C),k=!1}else{const C=M(s?.pageReference),D=A[C];ie(s,D)}}function ie(s,C){ke(C)&&(ke(s?.attributes)&&(s.attributes={...s.attributes,...C}),ke(s?.pageReference?.attributes)&&(s.pageReference.attributes={...s.pageReference.attributes,...Ce(C,j)}))}function Re(){if(typeof p.default=="string")try{return JSON.parse(p.default)}catch(s){return{}}return p.default}function Ce(s,C){return Object.keys(s||{}).filter(D=>!C.includes(D)).reduce((D,z)=>({...D,[z]:s[z]}),{})}function ke(s){return s&&typeof s=="object"}const Ae="redirectPageContext";function qe(s){return s?.state?.[Ae]||null}function Ve(s){return s?.includes(`?${Ae}=`)}function w(s,C,D={}){const{current:z,next:{route:me,url:ae}={}}=D,fe=Ve(ae)?ae:qe(me)?ne(me):null;return fe?(z?window.location.assign(fe):F.navigate(s,C.page,!0),!0):!1}function ne(s){if(!s)return null;const C=qe(s)||window.btoa(window.encodeURIComponent(JSON.stringify(s)));return`${Pe.default}/?${Ae}=${C}`}const pe="KnowledgeArticleVersion",ce=["OrderSummary","User"],Ke=[{type:c.OBJECT_PAGE,params:[{name:"filterName",type:"state",value:"Default"}]},{type:c.SEARCH_PAGE,params:[{name:"term",type:"state",value:" "}]},{type:c.RECORD_PAGE,params:[{name:"recordName",type:"state",value:"detail"},{name:"categoryPath",type:"state",value:"detail"}],match:(s,{name:C})=>{const{attributes:D={}}=s;return D.urlName||D.urlPath?!1:D.objectApiName==="ProductCategory"?C==="categoryPath":ce.includes(D.objectApiName)?!1:C==="recordName"}}],at=c.MANAGED_CONTENT_PAGE;function Je(s){return Ke.find(C=>s.type===C.type)}function mt(s,C=[]){if(s?.type===at){let D=s.attributes?.contentTypeName;!C.find(me=>me.page.type===at&&me.page?.attributes?.contentTypeName===D)&&["news","cms_image","cms_document"].indexOf(D)!==-1&&(D=D.startsWith("cms_")?D.substring(4):D,s.attributes.contentTypeName=`sfdc_cms__${D}`),s.attributes&&s.attributes.contentKey&&(s.attributes.urlAlias=s.attributes.contentKey,delete s.attributes.contentKey)}return s}let dt;function Tt(s,C){s.attributes?.objectApiName===pe&&(dt===void 0&&(dt=C.find(z=>z.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),dt&&(s.attributes.objectApiName=dt))}function Ut(s){return!s.attributes?.urlName&&!s.attributes?.urlPath||(s.type===c.RECORD_PAGE&&(It(s),delete s.attributes.recordId,delete s.state?.recordName,delete s.state?.categoryPath),s.type===c.RECORD_RELATIONSHIP_PAGE&&(It(s),delete s.attributes.recordId)),s}
6function It(s){s.attributes.recordId&&(s.extraRouteParams={recordId:s.attributes.recordId})}function Pt(s,C){return s.type===c.KNOWLEDGE_ARTICLE_PAGE&&(s.type=c.RECORD_PAGE,s.attributes.actionName="view",s.attributes.objectApiName=pe,delete s.attributes.articleType),Tt(s,C),s}function tt(s,C){const{params:D,match:z}=C;D.forEach(me=>{const{type:ae,name:fe,value:xe}=me;z&&!z(s,me)||s?.[ae]?.[fe]||(s[ae]||(s[ae]={}),s[ae][fe]=xe)})}function At(s={}){const C=Je(s);C&&tt(s,C)}function St(s,C){if(s.state?.categoryPath?.includes("/")||s.attributes?.urlPath?.includes("/")){let[D,z]=C.split("?");return D=D.replace(/%2F/g,"/"),z=z?`?${z}`:"",D+z}return C}function vt(s){return Object.entries(s?.attributes||{}).filter(([,C])=>C===null).forEach(([C])=>delete s.attributes[C]),s}const Xt="lightningroutingservicegetlinkinfo";function Gt(s,C){for(const[D,z]of Object.entries(C))if(z.test(s))return D;return null}const _t=typeof window!="undefined"?window.location?.origin+(typeof Pe.default!="undefined"?Pe.default:""):"";function ve(s){let C;try{C=new URL(s,window.location.href)}catch{return!1}return C?.protocol==="http:"||C?.protocol==="https:"}function n(s,C){if(C?.type===c.WEB_PAGE){const D=C.attributes?.url||"";if(!ve(D))return D}return s.generateUrl(C)}function i(s,C){if(s=s||{},!(!(s.button>0)&&!(s.altKey||s.ctrlKey||s.shiftKey||s.metaKey)))return!1;if(C?.type!==c.WEB_PAGE)return!0;const z=C.attributes?.url||"";if(z.includes("#")||!ve(z))return!1;const me=v.isAbsoluteURL(z)&&!z.startsWith(_t),ae=s.currentTarget?.getAttribute("target");return!!((!ae&&!me||ae==="_self"||window.name&&ae===window.name||ae==="_top"&&window.top===window||ae==="_parent"&&window.parent===window)^me)}function a(s,C,D){const{detail:{callback:z,stateRef:me}}=D;try{const ae=me.stateType==="standard_webPage"?c.WEB_PAGE:me.stateType,fe={...me.attributes};if((ae===c.RECORD_PAGE||ae===c.RECORD_RELATIONSHIP_PAGE)&&(fe.objectApiName||(fe.objectApiName=Gt(fe.recordId,C)),!fe.objectApiName)){z(new Error("Cannot infer objectApiName from record ID based on available object pages"));return}const xe={type:ae,attributes:fe,state:{}};z(null,{url:n(s,xe),dispatcher:bt=>{if(i(bt,xe)){if(bt.preventDefault(),bt.stopPropagation(),xe.type===c.WEB_PAGE){const{url:kt}=xe.attributes;v.isAbsoluteURL(kt)&&kt.startsWith(window?.location.origin+Pe.default)&&bt.currentTarget?.getAttribute("target")==="_self"&&(xe.attributes.url=kt.substring(window.location.origin.length))}F.navigate(s.contextId,xe)}}})}catch(ae){z(ae)}}function m(s,C){document.body.addEventListener(Xt,D=>a(s,C,D))}class h{constructor(C){this.callback=C}dispose(){}update(C){const D=Ne.find(z=>z.id===C.id)?.view;this.callback({viewset:{default:()=>Me.default(D)}})}}const{window:b,performance:V}=globalThis,ge=`${e.WEBRUNTIME_PREFIX}-framework-router`;let ye=ue.default==="MRT";globalThis.CLWR=globalThis.CLWR||{},globalThis.CLWR.registeredPersistentParamNames=globalThis.CLWR.registeredPersistentParamNames||new Set;let he;r.router=void 0;let Ne=[],Ee,se;const Ue={};function Be(s,C){V?.mark?.(ge),Ne=q(e.splitOptionalParameters(e.parseRoutes(s))),Ne.forEach(D=>{D.handler=()=>new Promise(z=>{z({default:h})}),D.page.type===c.RECORD_PAGE&&D.patterns?.recordId&&(Ue[D.page.attributes.objectApiName]=new RegExp(D.patterns.recordId))}),Ee=Ne.find(D=>D.metadata.isDefault),C?.isMRT!=null&&(ye=C.isMRT),se=!ye&&Ne.every(D=>D.metadata.isPublic!==!1),he={basePath:Pe.default,caseSensitive:!0,routes:Ne,i18n:{locale:re.default,defaultLocale:re.default},DEPRECATED_getRouteFromUrl:it,DEPRECATED_getUrlFromRoute:Ct},r.router=S.createRouter(he),V?.measure?.(ge,ge)}Be(L.default);let ot,nt;function Et(){return nt?.contextId||r.router.contextId}function gt(s){if(!s)return"";if(Object.keys(E.persistentQueryParams).length===0)return s;const C=new URL(s,b.location.origin);return Object.entries(E.persistentQueryParams).forEach(([D,z])=>{C.searchParams.has(D)||C.searchParams.set(D,z)}),C.pathname+C.search}function it(s,C){const D=C(s);return D?(At(D),Object.entries(D.state).forEach(([z,me])=>{globalThis.CLWR?.registeredPersistentParamNames?.has(z)&&(E.persistentQueryParams[z]=me)}),D):Ee?.page?Ee.page:null}function Ct(s={type:"",attributes:{},state:{}},C){const{type:D,attributes:z={},state:me={}}=s;let ae;const fe=JSON.parse(JSON.stringify(s));if(D===c.WEB_PAGE)return ae=z.url,ae==null?"":v.isAbsoluteURL(ae)?ae:(ae=Rt(ae,Pe.default),gt(ae));if(D===c.LOGIN_PAGE){const xe=me.startUrl!=null?`?startURL=${encodeURIComponent(me.startUrl)}`:"";if(z.actionName==="login")return Rt(`${e.WEBRUNTIME_LOGIN_PATH}${xe}`,we.default);if(z.actionName==="logout")return Rt(`${e.WEBRUNTIME_LOGOUT_PATH}${xe}`,we.default)}return D===c.MANAGED_CONTENT_PAGE&&mt(fe,Ne),fe.state||(fe.state={}
6),Object.entries(E.persistentQueryParams).forEach(([xe,bt])=>{fe.state[xe]?E.persistentQueryParams[xe]=fe.state[xe]:fe.state[xe]=bt}),Pt(fe,Ne),Ut(fe),At(fe),vt(fe),ae=C(fe),D===c.RECORD_PAGE&&(ae=St(fe,ae)),!ae&&se&&(ae=ne(fe)),$(fe),ae}async function st(s){const{route:C,routeDefinition:D}=s.next;return jt(D,C?.pageReference)}async function jt(s,C){if(s?.metadata?.isPublic!==!1)return!1;const{default:D}=await t.load("@app/user/v/1");if(D.isGuest){const z=typeof C=="string"?C:Mt(C);if(z&&b)if(ye){const{default:me}=await t.load("@app/loginPath/v/1");Kt(me,z)}else b.location.href=z;return!0}return!1}function Kt(s,C){const D=new URL(s,b.location.href);C&&D.searchParams.set("startURL",C),b.location.assign(D.href)}function rr(s,C){const D=new URL(s,b.location.href);C&&D.searchParams.set("startURL",C),b.location.assign(D.href)}function Yt(s){return w(Et(),Ee,s)}function xt(s){const{current:C,next:D}=s;if(C&&D&&(C.routeDefinition.ssr!==D.routeDefinition.ssr||ye)){const z=Mt(D.route.pageReference);if(z)return b.location.assign(z),!0}return!1}function Lt(s){const{current:C,next:{pathMatch:D,route:z={}}}=s;if(!C)return!1;const{pageReference:{type:me,attributes:ae={}}}=z;if(me===c.MANAGED_CONTENT_PAGE){const{contentTypeName:fe}=ae;if(fe===G.LANDING_PAGE)return b.location.assign(D),!0}return!1}async function yt(s){Ht(s.detail)}async function Ht(s){try{if(!b?.location)return;const{address:C,message:D,code:z}=s;if(z===B.messages.PRENAV_FAILED.code)return;if(z===B.messages.MISSING_ROUTE.code&&!Ee&&Ve(C)){b.location.assign(C);return}if(d.logError(`Routing error: ${D}`),Ee?.metadata?.isPublic===!1){const{default:ae}=await t.load("@app/user/v/1");if(ae.isGuest)return}const me=Pe.default?b.location.pathname.replace(Pe.default,""):b.location.pathname;Ee&&me!==Ee.uri&&Vt(Ee.page)}finally{ot?.errorNavigate(s)}}function Zt(s){Qt(s.detail.address)||s.preventDefault()}function Qt(s){if(!f.NavigationOverrides.runSync(s))return!1;const{type:C,attributes:D={},state:z={}}=s;if(C===c.WEB_PAGE){const{url:me}=D;if(me==null)return!0;if(v.isAbsoluteURL(me)||v.isSfdcCoreURL(me))return b?.open(me),!1;const ae=r.router.parseUrl(me),fe=!ae||ae===Ee?.page;if(se&&fe)return b?.location.assign(gt(Rt(me,Pe.default))),!1}else if(C===c.LOGIN_PAGE){const{actionName:me}=D;if(me==="login")return Kt(Rt(e.WEBRUNTIME_LOGIN_PATH,we.default),z.startUrl||""),!1;if(me==="logout")return rr(Rt(e.WEBRUNTIME_LOGOUT_PATH,we.default),z.startUrl||""),!1}return!0}function Rt(s,C){return v.isAbsoluteURL(s)?s:C&&s!==C&&s.indexOf(`${C}/`)!==0?`${C}${s}`:s}function Vt(s){F.navigate(Et(),s)}function Mt(s){return nt?nt.generateUrl(s):r.router.generateUrl(s)}function Bt(s,C=!0){return typeof b!="undefined"?r.router.subscribe(s,C):null}async function ht(s,C){if(ot?.preNavigate(s),f.PreNavigateOverrides.run(s),nt){if(await st(s))return!1}else st(s);return Lt(s)||!ye&&Yt(s)||!ye&&Z(s)||xt(s)?(C?.preventDefault(),!1):!0}let wt;async function Jt(s){const C=s.detail;if(er()&&_e(C,()=>s.preventDefault(),Vt,s))return;const D=C.current?.routeDefinition.view;D?wt=Fe.default[D]:wt=null,await ht(C,s)}async function Wt(s){f.PostNavigateOverrides.run(s);const C=s.routeDefinition?.view,D=wt!==Fe.default[C];try{ye||(l.updateFocus(D),l.handleTitleUpdate(s),et()?De(r.router,s,Ee?.page):ze(r.router,s))}finally{ot?.postNavigate(s)}}async function nr(s){const C=s.detail;Wt(C)}function qt(s){ot=T._o11y.routingSupport,er()&&(He(),s.addEventListener("trackdirtystate",Ge)),s.addEventListener("prenavigate",Jt),s.addEventListener("handlenavigation",Zt),s.addEventListener("postnavigate",nr),s.addEventListener("errornavigate",yt)}function $t(){let s,C;if(b?.location&&(C=b.location.href.substring(b.location.origin.length),s=r.router.matchRoute(C)),!s&&Ee&&(s=r.router.matchRoute(Ee.uri)),s){const{route:D,routeDefinition:z}=s;return nt&&ee(D),{route:D,routeDefinition:z,url:C}}return{}}function ir(s,C){if(!ye||nt&&typeof b!="undefined")return;const D=$t(),{routeDefinition:z}=D;if(z&&!z.ssr)return;const me={...he,url:C,handleNavigation:Qt,preNavigate:ht,errorNavigate:Ht};nt=new O.ServerRouter(me,r.router,s),ot=T._o11y.routingSupport,ht({next:D}),Wt(D)}function Ft(s,C){const D=C?`?startURL=${encodeURIComponent(C)}`:"";return`${s}${e.WEBRUNTIME_LOGIN_PATH}${D}`}function ar(){Dt()&&m(r.router,Ue)}function er(){return Boolean(globalThis?.CLWR?.gates?.enableDirtyStateCheck)}function et(){return Boolean(globalThis?.CLWR?.gates?.enableLwrRouteValidation)}function Dt(){return Boolean(globalThis?.CLWR?.gates?.enableLwrLinkInfoProvider)}function or(){return et()?P():Le()}r.generateUrl=Mt,r.getCurrentRoute=$t,r.getLoginUrl=Ft,r.handleExtraRouteParam
6s=ee,r.initializeLinkInfoProvider=ar,r.initializeRouter=Be,r.initializeRouterContainer=qt,r.initializeServerRouter=ir,r.isCurrentRouteCanonicallyRedirected=or,r.navigate=Vt,r.subscribe=Bt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/overrides/v/1_66_1195-262_0",["exports"],function(r){"use strict";class t{constructor(){this.overrides=[]}add(u){this.overrides.push(u)}run(...u){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((g,l)=>g.then(f=>f===!1?Promise.resolve(!1):Promise.resolve(l(...u))),Promise.resolve(!0)).then(g=>Promise.resolve(g))}runSync(...u){return this.overrides.length===0?!0:this.overrides.reduce((g,l)=>g===!0?l(...u):!1,!0)}}const e=new t,I=new t,R=new t,W=new t,H=new t;r.NavigationOverrides=R,r.Overrides=t,r.PageNavigationFailureOverrides=H,r.PostNavigateOverrides=I,r.PreNavigateOverrides=e,r.SessionTimeoutOverrides=W,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/views/v/1_66_1195-262_0",["exports","lwr/loaderLegacy/v/0_22_17","@communities-webruntime/common/v/1_66_1195-262_0"],function(r,t,e){"use strict";function I(R){return t.load(e.getViewModuleSpecifier(R),"webruntime/views/v/1_66_1195-262_0")}r.default=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/formFactor/v/1_66_1195-262_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function I(){return t()?"Medium":e()?"Small":"Large"}const R=I();r.default=R,r.getFormFactor=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("wire-service/v/9_1_2",["exports"],function(r){"use strict";function t(N){return N===void 0}const e="ValueChangedEvent";class I{constructor(x){this.type=e,this.value=x}}const{freeze:R,defineProperty:W,isExtensible:H}=Object,_="$$DeprecatedWiredElementHostKey$$",u="$$DeprecatedWiredParamsMetaKey$$";function g(N,x){if(N==null||!H(N))throw new TypeError("adapter id must be extensible");if(typeof x!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in N)throw new TypeError("adapter id is already associated to an adapter factory");const re=class extends Q{constructor(ue){super(ue);x(this.eventTarget)}};R(re),R(re.prototype),W(N,"adapter",{writable:!1,configurable:!1,value:re})}function l(){}const{forEach:f,splice:d,indexOf:E}=Array.prototype,v="connect",T="disconnect",S="config";function O(N,x){const re=E.call(N,x);re>-1&&d.call(N,re,1)}function B(N){return Object.keys(N).length===0}function F(N,x){return x.length===0||x.some(re=>!t(N[re]))}function X(N,x,re){return re.some(ue=>N[ue]!==x[ue])}class Q{constructor(x){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=x,this.wiredElementHost=x[_],this.dynamicParamsNames=x[u],this.eventTarget={addEventListener:(re,ue)=>{switch(re){case v:{this.connecting.push(ue);break}case T:{this.disconnecting.push(ue);break}case S:{this.configuring.push(ue),this.currentConfig!==void 0&&ue.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${re}.`)}},removeEventListener:(re,ue)=>{switch(re){case v:{O(this.connecting,ue);break}case T:{O(this.disconnecting,ue);break}case S:{O(this.configuring,ue);break}default:throw new Error(`Invalid event type ${re}.`)}},dispatchEvent:re=>{if(re instanceof I){const ue=re.value;this.callback(ue)}else{if(re.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(re);throw new Error(`Invalid event type ${re.type}.`)}return!1}}}update(x){this.isFirstUpdate&&(this.isFirstUpdate=!1,!B(x)&&!F(x,this.dynamicParamsNames))||(t(this.currentConfig)||X(x,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=x,f.call(this.configuring,re=>{re.call(void 0,x)}))}connect(){f.call(this.connecting,x=>x.call(void 0))}disconnect(){f.call(this.disconnecting,x=>x.call(void 0))}}r.ValueChangedEvent=I,r.register=g,r.registerWireService=l,Object.defineProperty(r,"__esMo
6dule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/9_1_2"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/client/formFactor/v/1_66_1195-262_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function I(){return t()?"Medium":e()?"Small":"Large"}const R=I();r.default=R,r.getFormFactor=I,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@communities-webruntime/common/v/1_66_1195-262_0",["exports"],function(r){"use strict";var t=!0,e="src/labels",I=["@app","@branding","@design","@luvio","@lwrjs","@o11y","@perm","@salesforce","@udd","@view","assert","aura-instrumentation","aura-storage","aura","b2c_lite_commerce","community_builder","community_case","community_layout","community_login","community_runtime","community_user","dxp_action","dxp_base","dxp_content_layout","dxp_crm_search","dxp_data_provider","dxp_flow","dxp_flowruntime","dxp_form","dxp_icon","dxp_layout","dxp_page_layout","dxp_records","dxp_search","dxp_service","dxp_styling","dxp_util","dxp","embeddedMessaging","es_actions","es_base_components","es_block_builder","es_brand","es_data_field","es_design","es_property_editors","es_shared","experience_marketing_landing","experience_messaging","experience","flowruntime","force","forceContent","fragment","industries_common","instrumentation","interop","lightning","logger","lwc","lwr","mobileruntime","o11y","regrello","runtime_hybrid_capabilities","runtime_omnistudio","runtime_omnistudio_common","runtime_omnistudio_flexcards","runtime_omnistudio_omniscript","runtime_service_concierge","tableau","transport","trustedDesign","wave","webruntime","webruntimedesign","wire-service","analytics_agent","analytics_business_user","analytics_common","analytics_dashboard","analytics_dependencies","analytics_embedding","analytics_filter","analytics_metadata","analytics_metadata_copy","analytics_platform","analytics_sentry","analytics_test_utils","analytics_utils","analytics_visualization","analytics_visualization_builder","analytics_visualization_internal","analytics_workspace"],R="webruntime";function W(Y){return`/${R}${Y}`}var H=W("/api"),_=W("/log/metrics"),u=W("/log/errors"),g={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},l={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},f=8e3,d="/webruntime/login",E="/webruntime/logout",v="no-cache,must-revalidate,max-age=0,no-store,private",T=["lightning/features"],S="@design";function O(Y){return`${S}/${Y}`}function B(Y){return Y.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var F=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),X=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function Q(Y,oe){if(!Y)throw new Error(oe)}function N(Y){if(X.test(Y))return Y;Q(F.test(Y),`${Y} is an invalid module specifier.`);const oe=Y.split(/[/:]/),[J,Te]=oe;return Q(!J.includes("-"),`${Y}'s namespace cannot contain hyphens.`),[J.toLowerCase(),B(Te)].join("-")}var x="webruntime",re="js",ue="latest",we={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function Pe(Y,oe){if(!Y)throw new Error(oe)}function L(Y){const[oe,J=""]=Y.split("://"),[Te,Se]=J.indexOf("@")>0?J.split("@"):[J];return{type:oe,name:Te,locale:Se}}function Fe(Y={type:"",name:""},oe,J,Te=!0){const{name:Se}=typeof Y=="string"?L(Y):Y;Pe(Se,"Name not specified");const ze=Me(Y,oe,J),Le=Te?`.${re}`:"";return`${ze}${Se}${Le}`}function Me(Y={type:"",name:""},oe,J){const{type:Te,locale:Se}=typeof Y=="string"?L(Y):Y,ze=Te===we.COMPONENT;return Pe(Te,"Type not specified"),Pe(oe,"Mode not specified"),Pe(Se||!ze,"Component locale not specified"),`/${x}/${Te}/${J||ue}/${oe}${Se?`/${Se}`:""}/`}var o="@view";function p(Y){return`${o}/${Y}`}var c=["hasVanityURL","isDefault","isPublic","isRoot"],G=[{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:Y},{name:oe})=>Y?.objectApiName==="ProductCategory"?oe==="categoryPath":oe!=="categoryPath"}];function q(Y,oe){const{match:J,params:Te}=oe;Te.forEach(Se=>{if(J&&!J(Y.page,Se))return;const{type:ze,name:Le}=Se,Ie=ze,Xe=Ie==="state"?"attributes":"state";!Y.page?.[Xe]?.[Le]||(Y.page[Ie]||(Y.page[Ie]={}),Y.page[Ie][Le]=Y.page[Xe][Le],delete Y.page[Xe][Le])})}function le(Y){let oe=Y;return["categoryPath","urlPath"].forEach(J=>{oe=oe.replace(new RegExp(`:${J}\\+?`),`:${J}+`)}),oe}function Oe(Y){return Y.startsWith(":")?Y.substring(1).replace(/[?+]/g,""):null}var We=/\(.*\)/;function $e(Y){return Y.split("/").map(oe=>oe.replace(We,"")).join("/")}function je(Y,oe){return Y.split("/").map(J=>{const Te=Oe(J);return Te&&oe[Te]?J.replace(Te,`${Te}(${oe[Te]})`):J}).join("/")}function Ge(Y){!Y.uri.includes(":")||!Y.page?.type||(Y.page.attributes=Y.page.attributes||{},Y.uri.split("/").forEach(oe=>{const J=Oe(oe);
6if(J){const Te=`:${J}`;Y.page.attributes[J]||(Y.page.attributes[J]=Te)}}))}function He(Y,oe=!1){return Y.map(J=>{J.uri||(J.uri=J.path),J.metadata||(J.metadata={}),c.forEach(Ie=>{Ie in J&&(J.metadata[Ie]=J[Ie],delete J[Ie])}),J.uri&&(J.uri=$e(J.uri),Ge(J)),J.patternMap&&(J.patterns=J.patternMap,delete J.patternMap);const Te=J.page?.attributes?.objectApiName;Te&&!Te.startsWith(":")&&(J.uri=J.uri.replace(":objectApiName",Te),J.patterns?.objectApiName&&delete J.patterns.objectApiName);const Se=G.find(Ie=>J.page?.type===Ie.type);Se&&q(J,Se);const ze=J.page?.type;return!oe&&ze==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(J.page.attributes?.objectApiName)&&(J.uri=le(J.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(ze)&&!J.page?.attributes?.actionName&&(J.page.attributes.actionName="view"),oe&&J.patterns&&(J.uri=je(J.uri,J.patterns)),J})}function Ze(Y){const oe=[];let J="",Te=0,Se=!1;for(let Le=0;Le<Y.length;Le++){const Ie=Y[Le];if(Se){J+=Ie,Se=!1;continue}if(Ie==="\\"){J+=Ie,Se=!0;continue}Ie==="("?Te++:Ie===")"&&(Te=Math.max(Te-1,0)),Ie==="/"&&Te===0?(J.length>0&&oe.push({raw:J,isParam:!1,isOptional:!1}),J=""):J+=Ie}J.length>0&&oe.push({raw:J,isParam:!1,isOptional:!1});const ze=/^:([A-Za-z0-9_]+)(\(.+\))?(\?)?$/;return oe.map(Le=>{if(Le.raw.startsWith(":")){const Ie=Le.raw.match(ze);return Ie?{raw:Le.raw,isParam:!0,paramName:Ie[1],regexPart:Ie[2]||void 0,isOptional:!!Ie[3]}:{raw:Le.raw,isParam:!0,paramName:Le.raw.slice(1),isOptional:!1}}return{raw:Le.raw,isParam:!1,isOptional:!1}})}function _e(Y,oe){const J=Array.isArray(Y)?Y:[Y],Te=[];return J.forEach(Se=>{const ze=Ze(Se.uri);if(!ze.some(De=>De.isParam&&De.isOptional)){Te.push(Se);return}const Le=[];let Ie,Xe="";ze.forEach(De=>{if(De.isOptional){const P=De.raw.substring(0,De.raw.length-1);Le.push({value:P,isOptional:!0}),Ie=De.paramName,Xe=Se.page.attributes?.[Ie]?"attributes":"state"}else Le.push({value:De.raw,isOptional:!1})});const Qe={...Se,uri:(De=>De.startsWith("/")?De:`/${De}`)(Le.map(De=>De.value).join("/"))};oe&&typeof oe=="function"&&(Qe.id=oe());const pt={};Object.keys(Se.page[Xe]).forEach(De=>{De!==Ie&&(pt[De]=Se.page[Xe][De])});const ut={...Se,uri:(De=>De.startsWith("/")?De:`/${De}`)(Le.filter(De=>!De.isOptional).map(De=>De.value).join("/")),page:{...Se.page,[Xe]:pt}};ut.patterns&&(ut.patterns=Object.fromEntries(Object.entries(ut.patterns).filter(([De])=>De!==Ie))),Te.push(Qe),Te.push(ut)}),Te}r.API_PATH_PREFIX=H,r.CACHE_CONTROL_HEADER_NO_CACHE=v,r.CLIENT_ERROR_TYPES=g,r.ERRORS_PATH_PREFIX=u,r.LABELS_DEFAULT_DIR=e,r.LOCKER_DEFAULT_ENABLED=t,r.MAX_URL_LENGTH=f,r.METRICS_PATH_PREFIX=_,r.MOBILE_APP_USER_AGENTS=l,r.RESOURCE_TYPES=we,r.TRUSTED_COMPONENTS=I,r.WEBRUNTIME_EXTERNAL_MODULES=T,r.WEBRUNTIME_LOGIN_PATH=d,r.WEBRUNTIME_LOGOUT_PATH=E,r.WEBRUNTIME_PREFIX=R,r.convertToKebabCase=B,r.getDesignComponentModuleSpecifier=O,r.getResourceUrl=Fe,r.getViewModuleSpecifier=p,r.moduleSpecifierToElementName=N,r.parseResourceDescriptor=L,r.parseRoutes=He,r.splitOptionalParameters=_e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_1195-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.