@lwrjs/client-modules 0.5.11 → 0.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const{apply:t,construct:e,deleteProperty:n,has:r,get:o,getPrototypeOf:i,set:a,setPrototypeOf:s,defineProperty:c,isExtensible:l,getOwnPropertyDescriptor:u,ownKeys:f,preventExtensions:p}=Reflect,{filter:d,includes:y,indexOf:m,join:h,pop:g,slice:b,some:v}=Array.prototype,w=[],T=Array,{from:E,isArray:k}=Array,{push:P}=Array.prototype;function x(e,...n){const r=t(b,e,[0]),{length:o}=n;for(let e=0;e<o;e+=1){const o=n[e];t(P,r,k(o)?o:[o])}return r}function S(e,n){return t(y,e,[n])}function A(e,...n){return t(h,e,n)}function O(e,...n){return t(P,e,n)}function L(e,...n){return t(b,e,n)}const{now:M}=Date,{bind:D}=Function.prototype,R=(e,n)=>t(D,e,[n]),{create:_}=Object,{ownKeys:N,setPrototypeOf:I}=Reflect;function C(t){return"function"==typeof t||"object"==typeof t&&null!==t}function F(t){const e=N(t),n=_(null);for(let r=0,o=e.length;r<o;r+=1){const o=e[r];n[o]=t[o]}return n}function H(t){const e=N(t);for(let n=0,r=e.length;n<r;n+=1)I(t[e[n]],null);return t}const $="undefined"==typeof performance?M:R(performance.now,performance),{__lookupGetter__:j,__lookupSetter__:U,hasOwnProperty:z}=Object.prototype,{assign:G,create:W,defineProperty:K,defineProperties:V,getOwnPropertyDescriptors:q,freeze:B,getOwnPropertyNames:X,getOwnPropertySymbols:Y,keys:Z,seal:J,isSealed:Q,isFrozen:tt,preventExtensions:et}=Object;function nt(e,n){return null!=e&&t(z,e,[n])}function rt(e,n){if(null!=e&&t(z,e,[n]))return t(j,e,[n])}function ot(e,n){if(null!=e&&t(z,e,[n]))return t(U,e,[n])}function it(e,n){if(null!=e&&t(z,e,[n]))return e[n]}const at=Proxy,st=Proxy.revocable;function ct(t){const e=st(t,W(null));return e.revoke(),e.proxy}const lt=Error,ut=RangeError,ft=TypeError;class pt extends Error{}class dt extends pt{}const{parse:yt,stringify:mt}=JSON,{for:ht,iterator:gt}=Symbol,bt=ht("@@lockerLiveValue");function vt(t){return c(t,bt,{value:void 0,configurable:!1,enumerable:!1,writable:!1}),t}const wt=ht("@@lockerMagicValue");const{clear:Tt,entries:Et,forEach:kt,get:Pt,set:xt}=Map.prototype,St=Map;const At=Math.min,{then:Ot}=Promise.prototype;const Lt=String,{charCodeAt:Mt,includes:Dt,match:Rt,replace:_t,slice:Nt,split:It,substring:Ct,startsWith:Ft,toLowerCase:Ht,toUpperCase:$t}=String.prototype;function jt(e,n){return t(Mt,e,[n])}function Ut(e,n){return t(Rt,e,[n])}function zt(e,n,r){return t(_t,e,[n,r])}function Gt(e,...n){return t(It,e,n)}function Wt(e,...n){return t(Ct,e,n)}function Kt(e,...n){return t(Ft,e,n)}function Vt(e){return t(Ht,e,w)}function qt(e){return t($t,e,w)}function Bt(e){return e.length?`${qt(e[0])}${function(e,...n){return t(Nt,e,n)}(e,1)}`:""}function Xt(t){try{return Lt(t)}catch(t){return""}}function Yt(t){return null==t?t:Xt(t)}const{test:Zt}=RegExp.prototype;function Jt(e,n){return t(Zt,e,[Xt(n)])}function Qt(t){return t}function te(t,e){const n=t.length,r=e.length,o=At(n,r),i=E(t);for(let n=0;n<o;n+=1)i[n]=e[n](t[n]);return i}const{add:ee,delete:ne,has:re}=Set.prototype,oe=Set;function ie(e,n){return t(re,e,[n])}const{get:ae,set:se}=WeakMap.prototype,ce=WeakMap;function le(e,n){return t(ae,e,[n])}function ue(e,n,r){return t(se,e,[n,r])}const fe=rt(Attr.prototype,"name"),pe=rt(Attr.prototype,"namespaceURI"),de=rt(Attr.prototype,"ownerElement"),{get:ye,set:me}=u(Attr.prototype,"value");function he(e){return t(fe,e,w)}function ge(e){return t(pe,e,w)}function be(e){return t(de,e,w)}function ve(e){return t(ye,e,w)}function we(e,n){t(me,e,[n])}const{get:Te,set:Ee}=u(Document.prototype,"cookie"),{createComment:ke,createElement:Pe,createElementNS:xe,getElementById:Se}=Document.prototype,Ae=rt(Document.prototype,"body"),Oe=rt(Document.prototype,"head"),{execCommand:Le}=Document.prototype;function Me(e){return t(Ae,e,w)}function De(e,...n){return t(Pe,e,n)}function Re(t,e){return`${_e(e)}${t}`}function _e(t){return`LSKey-${t}$`}const{attachShadow:Ne,insertAdjacentHTML:Ie,setAttribute:Ce,setAttributeNS:Fe,setAttributeNode:He}=Element.prototype,{closest:$e,getAttributeNode:je,getAttributeNodeNS:Ue,querySelector:ze,remove:Ge,removeAttributeNode:We,setAttributeNodeNS:Ke}=Element.prototype,{get:Ve,set:qe}=u(Element.prototype,"innerHTML"),{get:Be,set:Xe}=u(Element.prototype,"outerHTML"),Ye=rt(Element.prototype,"attributes");function Ze(e){return t(Ve,e,w)}function Je(e,n){t(qe,e,[n])}function Qe(e,n){return t(ze,e,[n])}function tn(e,n){return t(je,e,[n])}function en(e,n,r){return t(Ue,e,[n,r])}function nn(e,n){return t(We,e,[n])}function rn(e,n,r){return t(Ce,e,[n,r])}function on(e,n){return t(He,e,[n])}function an(e,n){return t(Ke,e,[n])}const sn=rt(HTMLTemplateElement.prototype,"content");function cn(e){return t(sn,e,w)}const{appendChild:ln,cloneNode:un,isEqualNode:fn}=Node.prototype,pn=rt(Node.prototype,"childNodes"),dn=rt(Node.prototype,"firstChild"),yn=rt(Node.prototype,"lastChild"),mn=rt(Node.prototype,"nodeName"),hn=rt(Node.prototype,"ownerDocument"),gn=ot(Node.prototype,"textContent");function bn(e,n){return t(ln,e,[n])}function vn(e){return t(pn,e,w)}const{document:wn}=window,Tn=De(wn,"template"),En=De(wn,"template");function kn(e,n){const r=e instanceof HTMLTemplateElement?cn(e):e,o=n instanceof HTMLTemplateElement?cn(n):n;if(t(fn,r,[o])){const t=vn(r),e=t.length;if(e>0){const n=vn(o);for(let r=0;r<e;r+=1)if(!1===kn(t[r],n[r]))return!1}return!0}return!1}function Pn(e,n=wn){return e===function(e){return t(Oe,e,w)}(n)||e===Me(n)}const xn=rt(Blob.prototype,"size"),{slice:Sn}=Blob.prototype,An=rt(Blob.prototype,"type"),On=Blob;const Ln="undefined"==typeof CookieStore?void 0:CookieStore.prototype,Mn=it(Ln,"delete"),Dn=it(Ln,"get"),Rn=it(Ln,"getAll"),_n=it(Ln,"set"),{define:Nn,get:In}=CustomElementRegistry.prototype,{getElementById:Cn}=DocumentFragment.prototype;const Fn=rt(DOMTokenList.prototype,"value");const{composedPath:Hn}=Event.prototype,$n=rt(Event.prototype,"currentTarget");const{addEventListener:jn}=EventTarget.prototype;function Un(e,...n){return t(jn,e,n)}const zn=rt(HTMLAnchorElement.prototype,"hostname"),{get:Gn,set:Wn}=u(HTMLAnchorElement.prototype,"href"),Kn=rt(HTMLAnchorElement.prototype,"pathname"),Vn=rt(HTMLAnchorElement.prototype,"protocol");function qn(e){return t(zn,e,w)}function Bn(e){return t(Gn,e,w)}function Xn(e,n){t(Wn,e,[n])}function Yn(e){return t(Vn,e,w)}const Zn=ot(HTMLElement.prototype,"innerText"),Jn=ot(HTMLElement.prototype,"outerText"),Qn=rt(HTMLElement.prototype,"dataset"),tr=rt(HTMLElement.prototype,"style");function er(e){return t(Qn,e,w)}const nr=Zn?function(e,n){t(Zn,e,[n])}:function(t,e){},rr=Jn?function(e,n){t(Jn,e,[n])}:function(t,e){};function or(e){return t(tr,e,w)}const ir=rt(HTMLFrameElement.prototype,"contentDocument"),ar=rt(HTMLFrameElement.prototype,"contentWindow");const sr=rt(HTMLIFrameElement.prototype,"contentDocument"),cr=rt(HTMLIFrameElement.prototype,"contentWindow"),lr=ot(HTMLIFrameElement.prototype,"src");function ur(e){return t(cr,e,w)}const fr=ot(HTMLLinkElement.prototype,"rel"),pr=ot(HTMLLinkElement.prototype,"relList");const dr=rt(HTMLObjectElement.prototype,"contentDocument"),yr=rt(HTMLObjectElement.prototype,"contentWindow");const mr=yr?function(e){return t(yr,e,w)}:function(t){return null},{get:hr,set:gr}=u(HTMLScriptElement.prototype,"src"),br=rt(MessageEvent.prototype,"source");const{setNamedItem:vr}=NamedNodeMap.prototype,{createContextualFragment:wr}=Range.prototype,Tr=rt(Request.prototype,"url");const{key:Er,getItem:kr,removeItem:Pr,setItem:xr}=Storage.prototype,Sr=(()=>{const t=document.createElement("div");return c(t.style,"color",{value:"red"}),""===t.getAttribute("style")})(),Ar=rt(SVGElement.prototype,"dataset");function Or(e){return t(Ar,e,w)}const{createObjectURL:Lr,revokeObjectURL:Mr}=URL,Dr=["opener","parent","postMessage"],Rr=["close","closed","focus"],_r={},{clearInterval:Nr}=window,Ir=rt(window,"length"),Cr=rt(window,"opener"),Fr=rt(window,"parent"),Hr=it(window,"postMessage"),$r=rt(window,"self"),jr=new ce;function Ur(...e){const n=e.length?e[0]:void 0;if("object"==typeof(r=n)&&null!==r)try{e[0]=function(t){return yt(mt(t))}(n)}catch(t){throw new DOMException("The object could not be cloned.")}var r;return t(Hr,this,e)}const{decodeURIComponent:zr,encodeURIComponent:Gr,fetch:Wr,open:Kr,setInterval:Vr,setTimeout:qr}=window;function Br(e){let n=null;return null!==e&&(n=le(jr,e),n||(n=function(e){const n={};for(let r=0,o=Rr.length;r<o;r+=1){const o=Rr[r],i=u(e,o);if(i){s(i,null);const{value:r}=i;if("function"==typeof r){const t=R(r,e);c(t,"name",u(r,"name")),i.value=t}else{const{get:n,set:r}=i;let o=_r;"function"==typeof n&&(i.get=function(){return o===_r?t(n,e,w):o}),"function"==typeof r&&(i.set=function(t){o=t})}c(n,o,i)}}for(let r=0,o=Dr.length;r<o;r+=1){const o=Dr[r],i=u(e,o);if(i){s(i,null);const{get:r,set:a,value:l}=i;let u=_r;"function"==typeof r&&(i.get=function(){return u===_r?Br(t(r,e,w)):u}),"function"==typeof a&&(i.set=function(t){u=t}),"postMessage"===o&&"function"==typeof l&&(i.value=function(...n){return t(Ur,e,n)}),c(n,o,i)}}return n}(e),ue(jr,e,n))),n}function Xr(t){return nt(t,"top")}function Yr(e){try{return t($r,e,w),!0}catch(t){}return!1}function Zr(e){return t(Ir,e,w)}const Jr=XMLHttpRequest,Qr=Jr.prototype,{send:to}=Qr,eo=rt(Qr,"responseText"),no=rt(Qr,"status"),ro=ot(Qr,"withCredentials"),{open:oo}=Qr;function io(e,n,r,o=!0){return t(oo,e,[n,r,o])}function ao(e){return t(eo,e,w)}function so(e){return t(to,e,w)}function co(e){return t(no,e,w)}const lo=["http:","https:"],uo=["/aura","/webruntime"],fo=/[\u2029\u2028\n\r\t]/g,po=De(document,"a"),yo=/\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/;function mo(e){const n=Vt(e.pathname);return r=e=>function(e,...n){return t(Dt,e,n)}(n,e),t(v,uo,[r]);var r}function ho(e){return Xn(po,go(e)),{normalizedURL:Bn(po),hostname:qn(po),pathname:zr((n=po,t(Kn,n,w)))};var n}function go(t){return""===t?t:zt(t,fo,"")}var bo=Object.hasOwnProperty,vo=Object.setPrototypeOf,wo=Object.isFrozen,To=Object.getPrototypeOf,Eo=Object.getOwnPropertyDescriptor,ko=Object.freeze,Po=Object.seal,xo=Object.create,So="undefined"!=typeof Reflect&&Reflect,Ao=So.apply,Oo=So.construct;Ao||(Ao=function(t,e,n){return t.apply(e,n)}),ko||(ko=function(t){return t}),Po||(Po=function(t){return t}),Oo||(Oo=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))});var Lo,Mo=jo(Array.prototype.forEach),Do=jo(Array.prototype.pop),Ro=jo(Array.prototype.push),_o=jo(String.prototype.toLowerCase),No=jo(String.prototype.match),Io=jo(String.prototype.replace),Co=jo(String.prototype.indexOf),Fo=jo(String.prototype.trim),Ho=jo(RegExp.prototype.test),$o=(Lo=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Oo(Lo,e)});function jo(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Ao(t,e,r)}}function Uo(t,e){vo&&vo(t,null);for(var n=e.length;n--;){var r=e[n];if("string"==typeof r){var o=_o(r);o!==r&&(wo(e)||(e[n]=o),r=o)}t[r]=!0}return t}function zo(t){var e=xo(null),n=void 0;for(n in t)Ao(bo,t,[n])&&(e[n]=t[n]);return e}function Go(t,e){for(;null!==t;){var n=Eo(t,e);if(n){if(n.get)return jo(n.get);if("function"==typeof n.value)return jo(n.value)}t=To(t)}return function(t){return console.warn("fallback value for",t),null}}var Wo=ko(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ko=ko(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Vo=ko(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),qo=ko(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Bo=ko(["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"]),Xo=ko(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Yo=ko(["#text"]),Zo=ko(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Jo=ko(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Qo=ko(["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"]),ti=ko(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ei=Po(/\{\{[\s\S]*|[\s\S]*\}\}/gm),ni=Po(/<%[\s\S]*|[\s\S]*%>/gm),ri=Po(/^data-[\-\w.\u00B7-\uFFFF]/),oi=Po(/^aria-[\-\w]+$/),ii=Po(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ai=Po(/^(?:\w+script|data):/i),si=Po(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function li(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var ui=function(){return"undefined"==typeof window?null:window},fi=function(t,e){if("object"!==(void 0===t?"undefined":ci(t))||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(r)&&(n=e.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};var pi=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ui(),n=function(e){return t(e)};if(n.version="2.2.9",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,o=e.document,i=e.DocumentFragment,a=e.HTMLTemplateElement,s=e.Node,c=e.Element,l=e.NodeFilter,u=e.NamedNodeMap,f=void 0===u?e.NamedNodeMap||e.MozNamedAttrMap:u,p=e.Text,d=e.Comment,y=e.DOMParser,m=e.trustedTypes,h=c.prototype,g=Go(h,"cloneNode"),b=Go(h,"nextSibling"),v=Go(h,"childNodes"),w=Go(h,"parentNode");if("function"==typeof a){var T=o.createElement("template");T.content&&T.content.ownerDocument&&(o=T.content.ownerDocument)}var E=fi(m,r),k=E&&tt?E.createHTML(""):"",P=o,x=P.implementation,S=P.createNodeIterator,A=P.createDocumentFragment,O=r.importNode,L={};try{L=zo(o).documentMode?o.documentMode:{}}catch(t){}var M={};n.isSupported="function"==typeof w&&x&&void 0!==x.createHTMLDocument&&9!==L;var D=ei,R=ni,_=ri,N=oi,I=ai,C=si,F=ii,H=null,$=Uo({},[].concat(li(Wo),li(Ko),li(Vo),li(Bo),li(Yo))),j=null,U=Uo({},[].concat(li(Zo),li(Jo),li(Qo),li(ti))),z=null,G=null,W=!0,K=!0,V=!1,q=!1,B=!1,X=!1,Y=!1,Z=!1,J=!1,Q=!0,tt=!1,et=!0,nt=!0,rt=!1,ot={},it=Uo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),at=null,st=Uo({},["audio","video","img","source","image","track"]),ct=null,lt=Uo({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),ut="http://www.w3.org/1998/Math/MathML",ft="http://www.w3.org/2000/svg",pt="http://www.w3.org/1999/xhtml",dt=pt,yt=!1,mt=null,ht=o.createElement("form"),gt=function(t){mt&&mt===t||(t&&"object"===(void 0===t?"undefined":ci(t))||(t={}),t=zo(t),H="ALLOWED_TAGS"in t?Uo({},t.ALLOWED_TAGS):$,j="ALLOWED_ATTR"in t?Uo({},t.ALLOWED_ATTR):U,ct="ADD_URI_SAFE_ATTR"in t?Uo(zo(lt),t.ADD_URI_SAFE_ATTR):lt,at="ADD_DATA_URI_TAGS"in t?Uo(zo(st),t.ADD_DATA_URI_TAGS):st,z="FORBID_TAGS"in t?Uo({},t.FORBID_TAGS):{},G="FORBID_ATTR"in t?Uo({},t.FORBID_ATTR):{},ot="USE_PROFILES"in t&&t.USE_PROFILES,W=!1!==t.ALLOW_ARIA_ATTR,K=!1!==t.ALLOW_DATA_ATTR,V=t.ALLOW_UNKNOWN_PROTOCOLS||!1,q=t.SAFE_FOR_TEMPLATES||!1,B=t.WHOLE_DOCUMENT||!1,Z=t.RETURN_DOM||!1,J=t.RETURN_DOM_FRAGMENT||!1,Q=!1!==t.RETURN_DOM_IMPORT,tt=t.RETURN_TRUSTED_TYPE||!1,Y=t.FORCE_BODY||!1,et=!1!==t.SANITIZE_DOM,nt=!1!==t.KEEP_CONTENT,rt=t.IN_PLACE||!1,F=t.ALLOWED_URI_REGEXP||F,dt=t.NAMESPACE||pt,q&&(K=!1),J&&(Z=!0),ot&&(H=Uo({},[].concat(li(Yo))),j=[],!0===ot.html&&(Uo(H,Wo),Uo(j,Zo)),!0===ot.svg&&(Uo(H,Ko),Uo(j,Jo),Uo(j,ti)),!0===ot.svgFilters&&(Uo(H,Vo),Uo(j,Jo),Uo(j,ti)),!0===ot.mathMl&&(Uo(H,Bo),Uo(j,Qo),Uo(j,ti))),t.ADD_TAGS&&(H===$&&(H=zo(H)),Uo(H,t.ADD_TAGS)),t.ADD_ATTR&&(j===U&&(j=zo(j)),Uo(j,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&Uo(ct,t.ADD_URI_SAFE_ATTR),nt&&(H["#text"]=!0),B&&Uo(H,["html","head","body"]),H.table&&(Uo(H,["tbody"]),delete z.tbody),ko&&ko(t),mt=t)},bt=Uo({},["mi","mo","mn","ms","mtext"]),vt=Uo({},["foreignobject","desc","title","annotation-xml"]),wt=Uo({},Ko);Uo(wt,Vo),Uo(wt,qo);var Tt=Uo({},Bo);Uo(Tt,Xo);var Et=function(t){var e=w(t);e&&e.tagName||(e={namespaceURI:pt,tagName:"template"});var n=_o(t.tagName),r=_o(e.tagName);if(t.namespaceURI===ft)return e.namespaceURI===pt?"svg"===n:e.namespaceURI===ut?"svg"===n&&("annotation-xml"===r||bt[r]):Boolean(wt[n]);if(t.namespaceURI===ut)return e.namespaceURI===pt?"math"===n:e.namespaceURI===ft?"math"===n&&vt[r]:Boolean(Tt[n]);if(t.namespaceURI===pt){if(e.namespaceURI===ft&&!vt[r])return!1;if(e.namespaceURI===ut&&!bt[r])return!1;var o=Uo({},["title","style","font","a","script"]);return!Tt[n]&&(o[n]||!wt[n])}return!1},kt=function(t){Ro(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=k}catch(e){t.remove()}}},Pt=function(t,e){try{Ro(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){Ro(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!j[t])if(Z||J)try{kt(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},xt=function(t){var e=void 0,n=void 0;if(Y)t="<remove></remove>"+t;else{var r=No(t,/^[\r\n\t ]+/);n=r&&r[0]}var i=E?E.createHTML(t):t;if(dt===pt)try{e=(new y).parseFromString(i,"text/html")}catch(t){}if(!e||!e.documentElement){e=x.createDocument(dt,"template",null);try{e.documentElement.innerHTML=yt?"":i}catch(t){}}var a=e.body||e.documentElement;return t&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),B?e.documentElement:a},St=function(t){return S.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},At=function(t){return!(t instanceof p||t instanceof d)&&!("string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof f&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},Ot=function(t){return"object"===(void 0===s?"undefined":ci(s))?t instanceof s:t&&"object"===(void 0===t?"undefined":ci(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Lt=function(t,e,r){M[t]&&Mo(M[t],(function(t){t.call(n,e,r,mt)}))},Mt=function(t){var e=void 0;if(Lt("beforeSanitizeElements",t,null),At(t))return kt(t),!0;if(No(t.nodeName,/[\u0080-\uFFFF]/))return kt(t),!0;var r=_o(t.nodeName);if(Lt("uponSanitizeElement",t,{tagName:r,allowedTags:H}),!Ot(t.firstElementChild)&&(!Ot(t.content)||!Ot(t.content.firstElementChild))&&Ho(/<[/\w]/g,t.innerHTML)&&Ho(/<[/\w]/g,t.textContent))return kt(t),!0;if(!H[r]||z[r]){if(nt&&!it[r]){var o=w(t)||t.parentNode,i=v(t)||t.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(g(i[a],!0),b(t))}return kt(t),!0}return t instanceof c&&!Et(t)?(kt(t),!0):"noscript"!==r&&"noembed"!==r||!Ho(/<\/no(script|embed)/i,t.innerHTML)?(q&&3===t.nodeType&&(e=t.textContent,e=Io(e,D," "),e=Io(e,R," "),t.textContent!==e&&(Ro(n.removed,{element:t.cloneNode()}),t.textContent=e)),Lt("afterSanitizeElements",t,null),!1):(kt(t),!0)},Dt=function(t,e,n){if(et&&("id"===e||"name"===e)&&(n in o||n in ht))return!1;if(K&&Ho(_,e));else if(W&&Ho(N,e));else{if(!j[e]||G[e])return!1;if(ct[e]);else if(Ho(F,Io(n,C,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==Co(n,"data:")||!at[t]){if(V&&!Ho(I,Io(n,C,"")));else if(n)return!1}else;}return!0},Rt=function(t){var e=void 0,r=void 0,o=void 0,i=void 0;Lt("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j};for(i=a.length;i--;){var c=e=a[i],l=c.name,u=c.namespaceURI;if(r=Fo(e.value),o=_o(l),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,Lt("uponSanitizeAttribute",t,s),r=s.attrValue,!s.forceKeepAttr&&(Pt(l,t),s.keepAttr))if(Ho(/\/>/i,r))Pt(l,t);else{q&&(r=Io(r,D," "),r=Io(r,R," "));var f=t.nodeName.toLowerCase();if(Dt(f,o,r))try{u?t.setAttributeNS(u,l,r):t.setAttribute(l,r),Do(n.removed)}catch(t){}}}Lt("afterSanitizeAttributes",t,null)}},_t=function t(e){var n=void 0,r=St(e);for(Lt("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Lt("uponSanitizeShadowNode",n,null),Mt(n)||(n.content instanceof i&&t(n.content),Rt(n));Lt("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t,o){var a=void 0,c=void 0,l=void 0,u=void 0,f=void 0;if((yt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ot(t)){if("function"!=typeof t.toString)throw $o("toString is not a function");if("string"!=typeof(t=t.toString()))throw $o("dirty is not a string, aborting")}if(!n.isSupported){if("object"===ci(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof t)return e.toStaticHTML(t);if(Ot(t))return e.toStaticHTML(t.outerHTML)}return t}if(X||gt(o),n.removed=[],"string"==typeof t&&(rt=!1),rt);else if(t instanceof s)1===(c=(a=xt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Z&&!q&&!B&&-1===t.indexOf("<"))return E&&tt?E.createHTML(t):t;if(!(a=xt(t)))return Z?null:k}a&&Y&&kt(a.firstChild);for(var p=St(rt?t:a);l=p.nextNode();)3===l.nodeType&&l===u||Mt(l)||(l.content instanceof i&&_t(l.content),Rt(l),u=l);if(u=null,rt)return t;if(Z){if(J)for(f=A.call(a.ownerDocument);a.firstChild;)f.appendChild(a.firstChild);else f=a;return Q&&(f=O.call(r,f,!0)),f}var d=B?a.outerHTML:a.innerHTML;return q&&(d=Io(d,D," "),d=Io(d,R," ")),E&&tt?E.createHTML(d):d},n.setConfig=function(t){gt(t),X=!0},n.clearConfig=function(){mt=null,X=!1},n.isValidAttribute=function(t,e,n){mt||gt({});var r=_o(t),o=_o(e);return Dt(r,o,n)},n.addHook=function(t,e){"function"==typeof e&&(M[t]=M[t]||[],Ro(M[t],e))},n.removeHook=function(t){M[t]&&Do(M[t])},n.removeHooks=function(t){M[t]&&(M[t]=[])},n.removeAllHooks=function(){M={}},n}();const di=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-controls","aria-describedby","aria-disabled","aria-readonly","aria-dropeffect","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-disabled","aria-invalid","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role","target"],yi=["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern","use"],mi=x(yi,["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","body","br","button","caption","canvas","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","dir","div","dl","dt","em","fieldset","figure","figcaption","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","i","iframe","img","input","ins","keygen","kbd","label","legend","li","map","mark","menu","meter","nav","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),hi={ADD_ATTR:di,ALLOWED_TAGS:mi,IN_PLACE:!0},gi={ADD_ATTR:di,ALLOWED_TAGS:yi,RETURN_DOM_FRAGMENT:!0,SANITIZE_DOM:!1},bi={ADD_ATTR:di,ALLOWED_TAGS:(vi=mi,wi=t=>!S(["iframe"],t),t(d,vi,[wi])),SANITIZE_DOM:!1};var vi,wi;const Ti=new ce;function Ei(e,n){let r=le(Ti,e);return r||(r=pi(),r.setConfig(e),n&&function(e,n){t(kt,e,[n])}(n,((t,e)=>{r.addHook(e,t)})),ue(Ti,e,r),r)}const ki=["href","xlink:href"],Pi=new St([["uponSanitizeAttribute",function(e,n){const r=function(e){return qt(t(mn,e,w))}(e);n.attrValue&&"USE"===r&&S(ki,n.attrName)&&(n.attrValue=Fi(n.attrValue));return n}]]),xi=["http:","https:"],{document:Si}=window,Ai=De(Si,"template"),Oi=De(Si,"a"),Li=new oe,Mi=/[^a-z0-9]+/gi;function Di(e,n){if(ie(Li,n.normalizedUrl)){const r=function(e,...n){return t(Vr,e,n)}(window,(()=>{var o;ie(Li,n.normalizedUrl)||(_i(e,n),o=window,t(Nr,o,[r]))}),50)}else _i(e,n)}function Ri(e){const n=function(t){const e=De(Si,"div");return rn(e,"style","display:none"),rn(e,"id",t),bn(Me(Si),e),e}(e.normalizedUrl);var r,o;r=Li,o=e.normalizedUrl,t(ee,r,[o]);const i=new Jr;Un(i,"load",(()=>{if(200===co(i)){const r=$i(ao(i));if(e.requestedFragment){const n=function(e,n){return t(Cn,e,[n])}(r,e.requestedFragment);n&&rn(n,"id",e.normalizedFragment)}bn(n,r),function(e,n){t(ne,e,[n])}(Li,e.normalizedUrl)}})),io(i,"GET",e.requestedUrl),so(i)}function _i(t,e){const{normalizedFragment:n,requestedFragment:r}=e;let o=Qe(t,`#${n}`);if(!o)try{o=Qe(t,`#${r}`),rn(o,"id",n)}catch(t){}}function Ni(){return Ei(bi,Pi)}function Ii(){return Ei(gi,Pi)}function Ci(t){Je(Ai,t);const e=cn(Ai);return Ei(hi,Pi).sanitize(e),Ze(Ai)}function Fi(e){if(Kt(e,"#"))return e;const n=function(t){Xn(Oi,t);const e=Bn(Oi),n=Yn(Oi),[r,o]=Gt(e,"#"),i=zt(Vt(r),Mi,"");return{normalizedFragment:o?`${i}_${zt(o,Mi,"")}`:"",normalizedUrl:i,protocol:n,requestedFragment:o,requestedUrl:r}}(e);if(S(xi,n.protocol)){const e=(r=Si,o=n.normalizedUrl,t(Se,r,[o]));return e&&n.normalizedFragment?Di(e,n):e||Ri(n),n.requestedFragment?`#${n.normalizedFragment}`:`#${n.normalizedUrl}`}var r,o;return e}function Hi(e,n){const r=t(hn,e,w);const o=function(e,n=""){return t(ke,e,[n])}(r,""),i=function(e,n){return t($e,e,[n])}(e,"svg"),a=i?function(e,n=!1){return t(un,e,[n])}(i,!1):function(e,...n){return t(xe,e,n)}(r,"http://www.w3.org/2000/svg","svg");bn(a,o);const s=function(e){return t(Be,e,w)}(a),c=function(e){return t(dn,e,w)}($i(zt(s,"\x3c!----\x3e",n)));return Ze(c)}function $i(t){return Ii().sanitize(t)}function ji(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ui(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ji(Object(n),!0).forEach((function(e){zi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ji(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Gi=W(null),Wi=[],Ki=Symbol("@@HasLockerElementAttributeDistortion");function Vi(e,n,r,o,i){let a=e[r];a||(a=W(null));let s=a[o];s||(s=new St),t(xt,s,[n,i]),a[o]=s,e[r]=a}function qi(e,n,r,o){if(!(Ki in e))return;const i=Gi[n][r=Vt(r)];if(!i)return;const a=i[o];if(!a)return;const s=t(Et,a,w);for(const t of s){const n=t[0],r=t[1];if(e instanceof n)return r}}function Bi(t){return null==t||""===t?"default":t}function Xi(t,e){const{prototype:n}=t;O(Wi,(r=>{const{attributeNamespace:o,distortion:i}=e,a=Vt(e.attributeName);return Vi(r,t,a,o,i),Ki in n||c(n,Ki,W(null)),null}))}function Yi(t,e){return function(n){return[it(t,e),function(){throw new lt("not allowed")}]}}function Zi(t,e){return function(n){return[rt(t,e),function(){throw new lt("not allowed")}]}}function Ji(t,e){return function(n){return[ot(t,e),function(){throw new lt("not allowed")}]}}function Qi(e,n,r){const{evaluator:o,key:i}=n,a=De(document,"a");return function(n){const s=n;if(""===n)return void rn(this,e,n);Xn(a,n),n=Bn(a);r(this)[`distorted${Bt(e)}`]=s;const l=qn(a),u=new Jr;Ut(l,yo)&&function(e,n){t(ro,e,[n])}(u,!0),Un(u,"load",(()=>{const t=co(u);if(200===t){const t=ao(u),n=W(null);n.configurable=!0,n.value=o,c(this,"$evaluator$",n),rn(this,e,function(t,e){const n=`\n {\n const { $evaluator$ } = document.currentScript;\n const text = decodeURIComponent(\`${Gr(t)}\`);\n delete document.currentScript.$evaluator$;\n $evaluator$('${Xt(e)}', text);\n }`;return Lr(new On([n],{type:"text/javascript"}))}(t,i))}else 404===t&&rn(this,e,"blob:http://localhost/not-found")})),io(u,"GET",n),so(u)}}function ta(t,e){const n=[];for(let r=0,o=e.length;r<o;r+=1){const o=e[r],i=u(t,o);if(i){const{get:e,set:r,value:a}=i;"function"==typeof a?O(n,Yi(t,o)):"function"==typeof e&&(O(n,Zi(t,o)),"function"==typeof r&&O(n,Ji(t,o)))}}return n}function ea(n,r){return"function"==typeof n&&"function"==typeof r?function(n,r){const o=new at(r,B({apply:(e,r,i)=>(r===o&&(r=n),t(n,r,i)),construct:(t,r,i)=>(i===o&&(i=n),e(n,r,i))}));return o}(n,r):n}function na(e,n,r,o){return function(...i){const a=n.startActivity(r,{sandboxKey:o});let s;try{s=t(e,this,i)}finally{a.stop()}return s}}function ra(t,e){if(C(t)){const n=F(t);n.name=Re(n.name,e),t=n}else t=Re(t,e);return t}const oa=new ce;function ia(t){return t=Xt(t),Vt(Xt(t))}function aa(t){try{return ve(t),t}catch(t){return}}function sa(e){const n=function(e){return t($n,e,w)}(e),r=t(Hn,e,w),o=function(e,...n){return t(m,e,n)}(r,n);let i=r;for(let t=o;t>-1;t-=1){if(r[t]instanceof ShadowRoot){i=L(r,t+1);break}}return i}const ca=/import/i,la='HTMLLinkElement does not allow setting "rel" property to "import" value.';function ua(t){return!Jt(ca,t)}function fa(t,e){return`${t}${e}`}function pa(t,e){const n=Z(t),r=[];for(let t=0,o=n.length;t<o;t+=1){const o=n[t];Kt(o,e)&&O(r,o)}return r}const da=new WeakMap;function ya(t){const e=le(da,t);if(void 0===e)throw new ft("Illegal invocation");return e}function ma(e){return new Proxy(e,{get(t,e,n){const{storage:r,storageRootKey:a}=ya(t);if("symbol"==typeof e)return o(t,e,n);const s=fa(a,Xt(e));if(nt(r,s))return o(r,s);const c=i(t);return null===c?void 0:o(c,e,n)},set(e,n,r){const{storage:o,storageRootKey:i}=ya(e);if("symbol"==typeof n)return a(e,n,r);const s=fa(i,Xt(n));return t(xr,o,[s,r]),!0},defineProperty(t,e,n){const{storage:r,storageRootKey:o}=ya(t);if("symbol"==typeof e)return K(t,e,n);const i=fa(o,Xt(e));return c(r,i,n)},deleteProperty(t,e){const{storage:r,storageRootKey:o}=ya(t);if("symbol"==typeof e)return n(t,e);const i=fa(o,Xt(e));return n(r,i)},getOwnPropertyDescriptor(t,e){const{storage:n,storageRootKey:r}=ya(t);if("symbol"==typeof e)return u(t,e);const o=fa(r,Xt(e));return u(n,o)},ownKeys(t){const{storage:e,storageRootKey:n}=ya(t),r=function(t,e){const{length:n}=t,r=new T(n);for(let o=0;o<n;o+=1){const n=t[o];r[o]=zt(n,e,"")}return r}(pa(e,n),n);return x(r,Y(t))},has(t,e){const{storage:n,storageRootKey:o}=ya(t);if("symbol"==typeof e)return r(t,e);if(nt(n,fa(o,Xt(e))))return!0;const a=i(t);return null!==a&&r(a,e)},preventExtensions:t=>!1})}class ha{constructor(){throw new lt("Illegal constructor")}get length(){const{storage:t,storageRootKey:e}=ya(this);return pa(t,e).length}key(e){const{storage:n,storageRootKey:r}=ya(this),o=arguments;if(o.length){const t=pa(n,r),e=t[o[0]],i=t[0],a=e||i;return void 0===a?null:zt(a,r,"")}return t(Er,n,o)}getItem(e){const{storage:n,storageRootKey:r}=ya(this);let o=arguments;return o.length&&(o=te(o,[Xt]),o[0]=fa(r,o[0])),t(kr,n,o)}setItem(e,n){const{storage:r,storageRootKey:o}=ya(this);let i=arguments;i.length>1&&(i=te(i,[Xt,Xt]),i[0]=fa(o,i[0])),t(xr,r,i)}removeItem(e){const{storage:n,storageRootKey:r}=ya(this);let o=arguments;o.length&&(o=te(o,[Xt]),o[0]=fa(r,o[0])),t(Pr,n,o)}clear(){const{storage:e,storageRootKey:n}=ya(this),r=pa(e,n);for(let n=0,o=r.length;n<o;n+=1){const o=r[n];t(Pr,e,[o])}}}const{clear:ga,getItem:ba,key:va,removeItem:wa,setItem:Ta}=ha.prototype,Ea=rt(ha.prototype,"length");function ka(t){return function(e,n){const r=e[t];if(null==r)return null;const{key:o}=n;const i=function(t,e){const n=W(ha.prototype);vt(n);const r=ma(n),o={proxy:r,storage:t,storageRootKey:e};return ue(da,r,o),ue(da,n,o),r}(r,`LSKey[${o}]`);return[r,i]}}const Pa=ka("localStorage"),xa=ka("sessionStorage");function Sa(e){return function(n){const{SVGUseElement:r}=n;return Xi(r,{attributeName:e,attributeNamespace:"http://www.w3.org/1999/xlink",distortion:function(n){const r=null==n||""===n?n:Fi(n);!function(e,n,r,o){t(Fe,e,[n,r,o])}(this,"http://www.w3.org/1999/xlink",e,r)}}),null}}const Aa=Sa("href"),Oa=Sa("xlink:href"),La=["application/octet-stream","application/json","application/pdf","video/","audio/","image/","font/","text/plain","text/markdown","application/zip","application/x-bzip","application/x-rar-compressed","application/x-tar"],Ma=/^[a-z]+\/[a-z+-]+$/,Da=["text/html","image/svg+xml","text/xml"];const Ra=/(^|,)(\s*noopener\s*=\s*(?:yes|1)\s*)(,|$)/g;const _a=[function(t){const{Document:e}=t;return[ot(e.prototype,"domain"),function(){throw new pt("The operation is insecure.")}]},function(e){const{Document:n}=e,{execCommand:r}=n.prototype;return[r,function(...e){if(e.length>2){const t=e[2];if(null!=t){"inserthtml"===Vt((e=te(e,[Xt]))[0])&&(e[2]=Ci(e[2]))}}return t(Le,this,e)}]},function(e){const{Element:n}=e,{attachShadow:r}=n.prototype;return[r,function(...e){if(e.length){const t=e[0];if(null!=t){const{mode:n}=t;if("closed"!==n)throw new dt("Shadow root mode cannot be 'open'");const r=Ui(Ui({},t),{},{mode:n}),o=i(t);s(r,o),e[0]=r}}return t(Ne,this,e)}]},function(e){const{Element:n}=e;return[rt(n.prototype,"attributes"),function(){const e=t(Ye,this,w);return ue(oa,e,this),e}]},function(t){const{Element:e,SVGElement:n}=t;return[ot(e.prototype,"innerHTML"),function(t){if(Pn(this))throw new pt(`Element.innerHTML cannot be set with ${this} elements!`);Je(this,t=this instanceof n?Hi(this,t):Ci(t))}]},function(e){const{Element:n}=e;return[ot(n.prototype,"outerHTML"),function(e){if(Pn(this))throw new pt(`Element.outerHTML cannot be set with ${this} elements!`);!function(e,n){t(Xe,e,[n])}(this,e=Ci(e))}]},function(e){const{Element:n}=e,{insertAdjacentHTML:r}=n.prototype;return[r,function(e,n){const r=Vt(Xt(e)),o=Ci(n);t(Ie,this,[r,o])}]},function(t){const{Element:e}=t;return[rt(e.prototype,"shadowRoot"),function(){return null}]},function(t){const{Event:e}=t,{composedPath:n}=e.prototype;return[n,function(){return sa(this)}]},function(t){const{Event:e}=t,n=rt(e.prototype,"path");return n?[n,function(){return sa(this)}]:null},function(t){const{HTMLElement:e}=t,n=ot(e.prototype,"innerText");return n?[n,function(t){if(Pn(this))throw new pt(`HTMLElement.innerText cannot be set with ${this} elements!`);nr(this,t)}]:null},function(t){const{HTMLElement:e}=t,n=ot(e.prototype,"outerText");return n?[n,function(t){if(Pn(this))throw new pt(`HTMLElement.outerText cannot be set with ${this} elements!`);rr(this,t)}]:null},function(t){const{HTMLElement:e}=t;return[rt(e.prototype,"style"),function(){const t=or(this);return nt(t,bt)?t:(Sr&&!function(t){return nt(t,wt)}(t)&&function(t){c(t,wt,{value:void 0,configurable:!1,enumerable:!1,writable:!1})}(t),vt(t))}]},function(e){const{HTMLFrameElement:n}=e;return[rt(n.prototype,"contentDocument"),function(){return t(ir,this,w),null}]},function(e){const{HTMLFrameElement:n}=e;return[rt(n.prototype,"contentWindow"),function(){return Br(t(ar,this,w))}]},function(e){const{HTMLIFrameElement:n}=e,r=ot(n.prototype,"src");function o(e){const n=(Xn(po,e),go(Bn(po)));if(!function(t,e=lo){return Xn(po,t),S(e,Yn(po))}(n))throw new pt("HTMLIFrameElement.src supports http://, https:// schemes and relative urls.");!function(e,n){t(lr,e,[n])}(this,n)}return Xi(n,{attributeName:"src",attributeNamespace:"default",distortion:o}),[r,o]},function(e){const{HTMLIFrameElement:n}=e;return[rt(n.prototype,"contentDocument"),function(){return t(sr,this,w),null}]},function(t){const{HTMLIFrameElement:e}=t;return[rt(e.prototype,"contentWindow"),function(){return Br(ur(this))}]},function(e){const{HTMLLinkElement:n}=e,r=ot(n.prototype,"rel");function o(e){ua(e=Xt(e))?function(e,n){t(fr,e,[n])}(this,e):console.warn(la)}return Xi(n,{attributeName:"rel",attributeNamespace:"default",distortion:o}),[r,o]},function(e){const{DOMTokenList:n,HTMLLinkElement:r}=e;return[ot(r.prototype,"relList"),function e(r){const o=e instanceof n?t(Fn,r,w):Xt(r);ua(o)?function(e,n){t(pr,e,[n])}(this,o):console.warn(la)}]},function(e){const{HTMLObjectElement:n}=e;return[rt(n.prototype,"contentDocument"),function(){return t(dr,this,w),null}]},function(t){const{HTMLObjectElement:e}=t,n=rt(e.prototype,"contentWindow");return n?[n,function(){return Br(mr(this))}]:null},function(e){const{HTMLScriptElement:n}=e;return[rt(n.prototype,"src"),function(){return function(t){const e=it(er(t),"distortedSrc");return void 0===e?"":e}(this)||t(hr,this,w)}]},function(e){const{MessageEvent:n}=e;return[rt(n.prototype,"source"),function(){const e=t(br,this,w);return"[object Window]"===Xt(e)?Br(e):e}]},function(t){const{Navigator:e}=t,n=rt(e.prototype,"serviceWorker");return n?[n,function(){}]:null},function(e){const{Node:n}=e;return[ot(n.prototype,"textContent"),function(e){if(Pn(this))throw new pt(`Node.textContent cannot be set with ${this} elements!`);!function(e,n){t(gn,e,[n])}(this,e=Xt(e))}]},function(e){const{Range:n}=e,{createContextualFragment:r}=n.prototype;return[r,function(...e){if(e.length){const t=e[0];null!=t&&(e=te(e,[Ci]))}return t(wr,this,e)}]},function(t){const{ServiceWorkerContainer:e}=t;let n;return"function"!=typeof e?null:(n=e.prototype,[n,ct(n)])},function(t){const{ShadowRoot:e}=t;return[rt(e.prototype,"mode"),function(){return"closed"}]},function(t){const{SharedWorker:e}=t;let n;return"function"!=typeof e?null:(n=e,[n,function(t){throw new dt(`Locker does not allow SharedWorker script at: ${t}`)}])},function(t){const{SharedWorker:e}=t;let n;return"function"!=typeof e?null:(n=e.prototype,[n,ct(n)])},function(t){const{Storage:e}=t;return[rt(e.prototype,"length"),Ea]},function(t){const{Storage:e}=t,{getItem:n}=e.prototype;return[n,ba]},function(t){const{Storage:e}=t,{setItem:n}=e.prototype;return[n,Ta]},function(t){const{Storage:e}=t,{key:n}=e.prototype;return[n,va]},function(t){const{Storage:e}=t,{removeItem:n}=e.prototype;return[n,wa]},function(t){const{Storage:e}=t,{clear:n}=e.prototype;return[n,ga]},function(t){const{Storage:e}=t;return[e,ha]},Aa,Oa,function(e){const{URL:n}=e,{createObjectURL:r}=n;return[r,function(e){let n=Lr(e);const r=Vt(t(An,e,w));var o;if(S(Da,r)){const i=function(e,...n){return t(Sn,e,n)}(e,0,function(e){return t(xn,e,w)}(e),`${r};charset=utf-8`);Mr(n),n=Lr(i);const a=new Jr;io(a,"GET",n,!1),so(a);const s=Ni(),c=ao(a),l=s.sanitize(c);if(o=l,Je(Tn,c),Je(En,o),!kn(Tn,En))throw Mr(n),new pt(`Locker: Cannot "createObjectURL" using a unsecure ${e}!`);return n}if(""===r||function(t){if(Jt(Ma,t))for(let e=0,n=La.length;e<n;e+=1)if(Kt(t,La[e]))return!0;return!1}(r))return n;throw Mr(n),new pt("Locker: Unsupported MIME type.")}]},function(e,n){const{fetch:r}=e;let o=function(...e){let n=e[0];if(null!=n){let r;if(n instanceof Request)r=ho(t(Tr,n,w));else{r=ho(Xt(n)),n=r.normalizedURL,e[0]=n}if(mo(r)){return Promise.reject(new dt(`Request URL cannot be made to a disallowed endpoint: ${n}`))}}return t(Wr,this,e)};return n.instrumentation&&(o=na(o,n.instrumentation,"Window.fetch-distortion",n.key)),[r,o]},function(t){const e=rt(t,"frames");if(void 0===e)return null;let n;return[e,function(){if(!n){const e=/^0$|^[1-9][0-9]*$/,a=i(t),c=i(a),l=e=>{if(d(e)){const n=it(t,e);if(p(n))return Br(n)}},u=e=>{if("string"==typeof e&&!nt(t,e)&&!nt(a,e)){const t=it(c,e);if(p(t))return Br(t)}},f=e=>"length"===e?Zr(t):d(e)?l(e):void 0,p=e=>void 0!==e&&e!==t&&Xr(e)&&Yr(e),d=n=>Jt(e,n)&&n<Zr(t);class y{defineProperty(t,e,n){return!1}deleteProperty(t,e){return!1}getOwnPropertyDescriptor(t,e){}isExtensible(t){return!0}ownKeys(t){return[]}preventExtensions(t){return!0}set(t,e,n,r){return!1}setPrototypeOf(t){return!1}}s(y.prototype,null),B(y.prototype);class m extends y{get(t,e,n){const r=f(e);return void 0!==r?r:o(t,e,n)}getOwnPropertyDescriptor(t,e){if("length"===e)return{get:()=>f("length"),set(t){},configurable:!0,enumerable:!0};const n=d(e)?l(e):void 0;return n?{value:n,configurable:!0,enumerable:!0,writable:!1}:void 0}has(t,e){return void 0!==f(e)||r(t,e)}ownKeys(){const{length:e}=t,n=T(e+1);for(let t=0;t<e;t+=1)n[t]=`${t}`;return n[e]="length",n}}class h extends y{}class g extends h{get(t,e,n){const r=u(e);return void 0===r?o(t,e,n):r}getOwnPropertyDescriptor(t,e){const n=u(e);if(n)return{value:n,configurable:!0,enumerable:!0,writable:!1}}has(t,e){return void 0!==u(e)||r(t,e)}ownKeys(){const t=[],e=H(q(c));s(e,null);for(const n in e)"string"==typeof n&&p(e[n].value)&&t.push(n);return t}}const b={},v={},w={},E=B(new m),k=B(new h),P=B(new g),x=new at(v,k),S=new at(w,P);s(b,x),s(v,S),n=new at(b,E)}return n}]},function(t){const e=rt(t,"length");return void 0===e?null:[e,function(){return 0}]},function(e){const{open:n}=e;return[n,function(...e){const n=te(e,[Qt,Qt,Xt]);if(n.length>2){let t=Vt(n[2]);Jt(Ra,t)&&(Ra.lastIndex=0,t=zt(t,Ra,((t,e,n,r)=>`${e}noopener${r}`))),n[2]=t}return Br(t(Kr,this,n))}]},function(e){const n=rt(e,"opener");return void 0===n?null:[n,function(){return Br(t(Cr,e,w))}]},function(e){const n=rt(e,"parent");return void 0===n?null:[n,function(){return Br(t(Fr,e,w))}]},function(e){return[it(e,"postMessage"),function(...e){return t(Ur,this,e)}]},function(t){const{Worker:e}=t;return[e,function(t){throw new dt(`Locker does not allow Worker script at: ${t}`)}]},function(t){const{Worker:{prototype:e}}=t;return[e,ct(e)]},function(e,n){const{XMLHttpRequest:r}=e,{open:o}=r.prototype;let i=function(e,n,r,o,i){if(arguments.length<2||null==n)return void t(oo,this,arguments);const a=te(arguments,[Qt,Xt]),s=a[1],c=ho(s);if(mo(c))throw new dt(`Request URL cannot be made to a disallowed endpoint: ${c.normalizedURL}`);a[1]=c.normalizedURL,t(oo,this,a)};return n.instrumentation&&(i=na(i,n.instrumentation,"XMLHttpRequest.open-value-distortion",n.key)),[o,i]}],Na=[function(e,n){var r,o;const i=null===(r=e.aura)||void 0===r||null===(o=r.util)||void 0===o?void 0:o.globalEval;if(!i)return null;const{evaluator:a,key:s}=n;return[i,function(e,n,r){let o=`(function s(){return(${e})})()`;if("string"==typeof n){const e=function(e){return t(g,e,w)}(Gt(n,"://"));o+=this.sourceComment+("lib"===r?`/libraries/${zt(e,".","/")}`:`/components/${zt(e,":","/")}.js`)}return a(s,o)}]},function(e,n){const{Attr:r}=e,{key:o}=n,i=ot(r.prototype,"value");let a=function(e){const n=be(this);if(n){const r=he(this),i=Bi(ge(this)),a=qi(n,o,r,i);if(a)return void t(a,n,[e])}we(this,e)};return n.instrumentation&&(a=na(a,n.instrumentation,"Attr.value-setter-distortion",n.key)),[i,a]},function(e,n){const{CookieStore:r}=e;if(null==r)return null;const o=it(r.prototype,"delete");if(!o)return null;const{key:i}=n;return[o,function(...e){const n=e.length?e[0]:null;return null!=n&&(e[0]=ra(n,i)),t(Mn,this,e)}]},function(e,n){const{CookieStore:r}=e;if(null==r)return null;const o=it(r.prototype,"get");if(!o)return null;const{key:i}=n;return[o,function(...e){const n=e.length?e[0]:null;return null!=n&&(e[0]=ra(n,i)),t(Dn,this,e)}]},function(e,n){const{CookieStore:r}=e;if(null==r)return null;const o=it(r.prototype,"getAll");if(!o)return null;const{key:i}=n;return[o,function(...e){const n=e.length?e[0]:null;return null!=n?(e[0]=ra(e[0],i),t(Rn,this,e)):function(e,...n){return t(Ot,e,[n])}(t(Rn,this,e),(t=>{const e=t,n=[];for(let t=0,r=e.length;t<r;t+=1){const r=e[t],o=_e(i);Kt(r.name,o)&&O(n,r)}return n}))}]},function(e,n){const{CookieStore:r}=e;if(null==r)return null;const o=it(r.prototype,"set");if(!o)return null;const{key:i}=n;return[o,function(...e){if(e.length>1){const t=e[0];e[0]=Re(t,i)}else if(e.length){const t=e[0];if(C(t)){const n=F(t);n.name=Re(n.name,i),e[0]=n}}return t(_n,this,e)}]},function(e,n){const{Document:r}=e,{key:o}=n;return[rt(r.prototype,"cookie"),function(){const e=Gt(t(Te,this,w),"; "),n=_e(o),r=n.length,i=[];for(let t=0,o=e.length;t<o;t+=1){const o=e[t];Kt(o,n)&&(61!==jt(o,r)?O(i,Wt(o,r)):61===jt(o,r)&&O(i,Wt(o,r+1)))}return A(i,"; ")}]},function(e,n){const{Document:r}=e,{key:o}=n;return[ot(r.prototype,"cookie"),function(e){const n=Gt(e,"; ");let r=n[0];var i,a;Kt(r,"=")&&(r=Wt(r,1)),n[0]=Re(r,o),i=this,a=A(n,"; "),t(Ee,i,[a])}]},function(e,n){const{key:r}=n,o=Vt(r),{CustomElementRegistry:i}=e,{define:a}=i.prototype;return[a,function(e,n,r){const i=te(arguments,[Xt]),a=i[0],s=Vt(a);if(!Kt(s,`${o}-`))throw new ut(`Disallowed name when calling customElements.define() with name "${a}". Only names prefixed with "${o}-" are allowed.`);t(Nn,this,i)}]},function(e,n){const{key:r}=n,o=Vt(r),{CustomElementRegistry:i}=e,{get:a}=i.prototype;return[a,function(e){const n=te(arguments,[Xt]),r=n[0],i=Vt(r);if(!Kt(i,`${o}-`))throw new ut(`Disallowed name when calling customElements.get() with name "${r}". Only names prefixed with "${o}-" are allowed.`);return t(In,this,n)}]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttribute:i}=o.prototype;let a=function(e,n){const o=te(arguments,[ia,Xt]);o.length<2&&t(Ce,this,o);const[i,a]=o,s=qi(this,r,i,"default");s?t(s,this,[a]):t(Ce,this,o)};return n.instrumentation&&(a=na(a,n.instrumentation,"Element.setAttribute-value-distortion",n.key)),[i,a]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttributeNS:i}=o.prototype;return[i,function(...e){if(e.length<3)return void t(Fe,this,e);const n=te(e,[Yt,ia,Xt]),o=n[0],i=n[1],a=Bi(o),s=qi(this,r,i,a);if(s){const e=n[2];t(s,this,[e])}else t(Fe,this,n)}]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttributeNode:i}=o.prototype;return[i,function(e){const n=te(arguments,[aa]),[o]=n;if(null==o)return t(He,this,n);if(be(o))return t(He,this,n);const i=he(o),a=Bi(ge(o)),s=qi(this,r,i,a);if(!s)return t(He,this,n);{const e=tn(this,i);e&&nn(this,e);const n=ve(o);t(s,this,[n]);const r=tn(this,i);if(r&&nn(this,r),e&&on(this,e),r){return we(o,ve(r)),on(this,o)}}}]},function(e,n){const{key:r}=n,{Element:o}=e,{setAttributeNodeNS:i}=o.prototype;return[i,function(e){if(null==e)return an(this,e);if(be(e))return an(this,e);const n=ge(e),o=he(e),i=Bi(n),a=qi(this,r,o,i);if(a){const r=en(this,n,o);r&&nn(this,r);const i=Xt(ve(e));t(a,this,[i]);const s=en(this,n,o);if(s&&nn(this,s),r&&an(this,r),s){return we(e,ve(s)),an(this,e)}return null}return an(this,e)}]},function(t,e){const{HTMLScriptElement:n}=t,r=ot(n.prototype,"src"),o=Qi("src",e,er);return Xi(n,{attributeName:"src",attributeNamespace:"default",distortion:o}),[r,o]},function(e,n){const{key:r}=n,{NamedNodeMap:o}=e,{setNamedItem:i}=o.prototype;return[i,function(e){const n=le(oa,this);if(n){const o=he(e),i=Bi(ge(e)),a=qi(n,r,o,i);if(a){const r=ve(e);return t(a,n,[r])}}return t(vr,this,[e])}]},function(t,e){const{SVGScriptElement:n}=t;return Xi(n,{attributeName:"href",attributeNamespace:"default",distortion:Qi("href",e,Or)}),null},function(e,n){const{evaluator:r,key:o}=n,{setInterval:i}=e;return[i,function(...e){if(e.length){const t=e[0];if(null!=t&&"function"!=typeof t){const n=Xt(t);e[0]=()=>{r(o,n)}}}return t(Vr,this,e)}]},function(e,n){const{evaluator:r,key:o}=n,{setTimeout:i}=e;let a=function(...e){if(e.length){const t=e[0];if(null!=t&&"function"!=typeof t){const n=Xt(t);e[0]=()=>{r(o,n)}}}return t(qr,this,e)};return n.instrumentation&&(a=na(a,n.instrumentation,"Window.setTimeout-distortion",n.key)),[i,a]},Pa,xa],Ia=x(_a,[]),Ca=x(Na,[]);x(_a,[]),x(Na,[]);var Fa=["exitFullscreen","fullscreen","fullscreenElement","fullscreenEnabled","mozCancelFullScreen","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","onfullscreenchange","onfullscreenerror","onmozfullscreenchange","onmozfullscreenerror","onrejectionhandled","onsecuritypolicyviolation","onunhandledrejection","releaseCapture","releaseEvents","webkitFullScreenKeyboardInputAllowed","write","writeln"],Ha=["mozRequestFullScreen","onfullscreenchange","onfullscreenerror","requestFullscreen","webkitRequestFullScreen","webkitRequestFullscreen"],$a=["nonce","onrejectionhandled","onunhandledrejection"],ja=["getSVGDocument"],Ua=["allowpaymentrequest","referrerpolicy","sandbox","srcdoc"],za=["allowPaymentRequest","csp","featurePolicy","getSVGDocument","referrerPolicy","sandbox","srcdoc"],Ga=["getSVGDocument"];const Wa=new ce;function Ka(e){const{Document:n,Element:r,HTMLElement:o,HTMLIFrameElement:i}=e,a=[];return t(P,a,ta(n.prototype,Fa)),t(P,a,ta(r.prototype,Ha)),t(P,a,ta(o.prototype,$a)),t(P,a,ta(i.prototype,za)),t(P,a,ta(HTMLEmbedElement.prototype,ja)),t(P,a,ta(HTMLObjectElement.prototype,Ga)),function(t,e,n="default"){for(let r=0,o=e.length;r<o;r+=1){const o=e[r];Xi(t,{attributeName:o,attributeNamespace:n,distortion(){throw new lt(`Attribute "${o}" not allowed on ${t.name}`)}})}}(i,Ua),a}const Va=(e,n,r)=>function(...o){try{return t(n,this,o)}catch(t){throw r({sandboxKey:e,error:t}),t}};function qa(e,n,r,o){const i=[],{instrumentation:a,verboseInstrumentation:s}=o,c={evaluator:r,key:n,instrumentation:s?a:void 0},{error:l}=a,u=le(Wa,e);if(u)t(P,i,u);else{const t=Ka(e);for(let r=0,o=t.length;r<o;r+=1){const o=(0,t[r])(e,c);if(null!==o){const[t,e]=o;O(i,[t,ea("function"==typeof e?Va(n,e,l):e,t)])}}for(let t=0,r=Ia.length;t<r;t+=1){const r=(0,Ia[t])(e,c);if(null!==r){const[t,e]=r;O(i,[t,ea("function"==typeof e?Va(n,e,l):e,t)])}}ue(Wa,e,function(t){return L(t,0)}(i))}for(let t=0,r=Ca.length;t<r;t+=1){const r=(0,Ca[t])(e,c);if(null!==r){const[t,e]=r;O(i,[t,ea("function"==typeof e?Va(n,e,l):e,t)])}}return t(P,i,function(t){const e=W(null),n=[],{length:r}=Wi;for(let t=0;t<r;t+=1){const r=(0,Wi[t])(e);null!==r&&O(n,r)}return Gi[t]=e,n}(n)),i}function Ba(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function Xa(t,e,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(t,n):o?o.value=n:e.set(t,n),n}var Ya,Za,Ja,Qa,ts,es;let ns=0;class rs{constructor(t,e,n,r=!1){Ya.set(this,void 0),Za.set(this,void 0),Ja.set(this,void 0),Qa.set(this,void 0),ts.set(this,void 0),es.set(this,void 0),Xa(this,Ya,e),Xa(this,Za,n),Xa(this,Qa,0),Xa(this,ts,0),Xa(this,es,r),Xa(this,Ja,!1),this.activityName=t,this.activityId=`${t}-${ns+=1,M()+ns}`}start(t){Ba(this,es)&&Xa(this,Qa,$()),"function"==typeof Ba(this,Ya)&&Ba(this,Ya).call(this,this,t)}stop(t){Ba(this,es)&&Xa(this,ts,$()),Ba(this,Ja)||"function"!=typeof Ba(this,Za)||Ba(this,Za).call(this,this,t)}error(t){this.stop(t)}get duration(){return Ba(this,ts)>Ba(this,Qa)?Ba(this,ts)-Ba(this,Qa):0}}Ya=new WeakMap,Za=new WeakMap,Ja=new WeakMap,Qa=new WeakMap,ts=new WeakMap,es=new WeakMap;const os=new class{startActivity(t,e){return new rs(t,void 0,void 0)}log(t){}error(t){}},{setPrototypeOf:is}=Reflect;var as;function ss(){const t=Array,{isArray:e}=Array,{defineProperties:n,freeze:r,isFrozen:o,isSealed:i,seal:a}=Object,{hasOwnProperty:s,toString:c}=Object.prototype,{revocable:l}=Proxy,{apply:u,construct:f,defineProperty:p,deleteProperty:d,get:y,getOwnPropertyDescriptor:m,getPrototypeOf:h,has:g,isExtensible:b,ownKeys:v,preventExtensions:w,set:T,setPrototypeOf:E}=Reflect,{slice:k}=String.prototype,P=TypeError,{get:x,set:S}=WeakMap.prototype,A="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||(p(Object.prototype,"globalThis",{__proto__:null,configurable:!0,get(){return d(Object.prototype,"globalThis"),this||self}}),globalThis),{eval:O}=A,L=Symbol.for("@@lockerLiveValue"),M=Symbol.for("@@lockerMagicValue"),{toStringTag:D}=Symbol,R=Symbol.for("@@membraneUndefinedValue");let _,N,I;return function(t){t[t.None=0]="None",t[t.MagicMarker=1]="MagicMarker"}(_||(_={})),E(_,null),function(t){t[t.None=0]="None",t[t.IsNotExtensible=1]="IsNotExtensible",t[t.IsSealed=2]="IsSealed",t[t.IsFrozen=4]="IsFrozen",t[t.Revoked=16]="Revoked"}(N||(N={})),E(N,null),function(t){t[t.None=0]="None",t[t.IsArray=1]="IsArray",t[t.IsFunction=2]="IsFunction",t[t.IsObject=4]="IsObject",t[t.IsArrowFunction=8]="IsArrowFunction",t[t.Revoked=16]="Revoked"}(I||(I={})),E(I,null),function(C,F,H=as.None,$,j){const{distortionCallback:U=(t=>t),instrumentation:z}=j||{__proto__:null},G=new WeakMap,W=`to:${C}`,K=`from:${C}`,V=!!(H&_.MagicMarker);let q,B,X,Y,Z,J,Q,tt,et,nt,rt,ot,it,at,st,ct;function lt(t,e){let r=[];et(e,((...t)=>{r=t}));const o={};let i;const a=(t,e,n,r,o,a)=>{i=ut(t,e,n,r,o,a)};for(let t=0,n=r.length;t<n;t+=1){const n=r[t];J(e,n,a),i&&(o[n]=i)}n(t,o)}function ut(t,e,n,r,o,i){const a={__proto__:null};return t!==R&&(a.configurable=!!t),e!==R&&(a.enumerable=!!e),n!==R&&(a.writable=!!n),o!==R&&(a.get=mt(o)),i!==R&&(a.set=mt(i)),r!==R&&(a.value=mt(r)),a}function ft(t){const e=()=>{ct=t};return e["[[OriginalTarget]]"]=t,e["[[Color]]"]=C,e}function pt(t){return function(...e){try{return u(t,this,e)}catch(t){const e=ht();if(e)throw e;throw new P(null==t?void 0:t.message)}}}function dt(t){const e=xt(t),{configurable:n,enumerable:r,writable:o,value:i,get:a,set:s}=e;return["configurable"in e?!!n:R,"enumerable"in e?!!r:R,"writable"in e?!!o:R,"value"in e?bt(i):R,"get"in e?bt(a):R,"set"in e?bt(s):R]}function yt(t,e){let n=Tt(t);for(;n;){const t=m(n,e);if(t)return xt(t);n=h(n)}}function mt(t){return"function"==typeof t?(t(),ht()):t}function ht(){const t=ct;return ct=void 0,t}function gt(t){let n=u(x,G,[t]);if(n)return n;const r=function(t){let e;try{return e=U(t),e}finally{if(e!==t&&typeof e!=typeof t)throw new P(`Invalid distortion ${t}.`)}}(t),o=ft(r),i=function(t){let n=I.None;if("function"==typeof t){n|=I.IsFunction;try{n|=+!("prototype"in t)&&I.IsArrowFunction}catch(t){}}else{let r=!1;try{r=e(t)}catch(t){n|=I.Revoked}n|=+r&&I.IsArray,n|=+!r&&I.IsObject}return n}(r);let a;if("function"==typeof t)try{const e=m(t,"name");if(e){a=xt(e).value}}catch(t){}return n=q(o,i,a),u(S,G,[t,n]),n}function bt(t){if(void 0!==t)return null===t||"function"!=typeof t&&"object"!=typeof t?t:gt(t)}function vt(t,e,n){return z?function(...r){const o=z.startActivity(e,{crossingDirection:n});try{return u(t,this,r)}catch(t){throw o.error(t),t}finally{o.stop()}}:t}function wt(t,e,n){let r;return J(t,n,((t,o,i,a,s,c)=>{r=ut(t,o,i,a,s,c),!1===r.configurable&&p(e,n,r)})),r}function Tt(t){return mt(Q(t))}function Et(t,e,n,r,o,i){const a=wt(t,e,n),c=a||yt(t,n);if(c){if("get"in c||"set"in c){const{set:t}=c;return!!t&&(u(t,o,[r]),!0)}if(!1===c.writable)return!1}let l;if(i)l=a;else{if(null===o||"function"!=typeof o&&"object"!=typeof o)return!1;const t=m(o,n);t&&(l=xt(t))}return l?!("get"in l)&&!("set"in l)&&!1!==l.writable&&(f=o,V&&u(s,f,[M])?rt(t,n,bt(r),gt(o)):p(o,n,{__proto__:null,value:r}),!0):p(o,n,{__proto__:null,configurable:!0,enumerable:!0,value:r,writable:!0});var f}function kt(t,e){lt(t,e);const n=Tt(e);E(t,n),w(t)}function Pt(t){const e=bt(t);return"function"==typeof e&&e(),t}function xt(t){return E(t,null),t}class St{constructor(t,e,n){this.color=C,this.apply=function(t,e,n){const{foreignTargetPointer:r}=this,o=[r,bt(e)],{length:i}=n,{length:a}=o;o.length+=i;for(let t=0,e=i;t<e;t+=1){const e=n[t],r=t+a;o[r]=void 0===e?void 0:null===e||"function"!=typeof e&&"object"!=typeof e?e:gt(e)}return mt(u(B,void 0,o))},this.construct=function(t,e,n){if(void 0===n)throw new P;const{foreignTargetPointer:r}=this,o=[r,bt(n)],{length:i}=e,{length:a}=o;o.length+=i;for(let t=0,n=i;t<n;t+=1){const n=e[t],r=t+a;o[r]=void 0===n?void 0:null===n||"function"!=typeof n&&"object"!=typeof n?n:gt(n)}return mt(u(X,void 0,o))};const o=function(t,e){let n;return t&I.IsFunction?(n=t&I.IsArrowFunction?()=>{}:function(){},p(n,"name",{__proto__:null,configurable:!0,enumerable:!1,value:e,writable:!1})):n=t&I.IsArray?[]:{},n}(e,n),{proxy:i,revoke:a}=l(o,this);this.foreignTargetPointer=t,this.proxy=i,this.revoke=a,this.defineProperty=St.defaultDefinePropertyTrap,this.deleteProperty=St.defaultDeletePropertyTrap,this.isExtensible=St.defaultIsExtensibleTrap,this.getOwnPropertyDescriptor=St.defaultGetOwnPropertyDescriptorTrap,this.getPrototypeOf=St.defaultGetPrototypeOfTrap,this.get=St.defaultGetTrap,this.has=St.defaultHasTrap,this.ownKeys=St.defaultOwnKeysTrap,this.preventExtensions=St.defaultPreventExtensionsTrap,this.setPrototypeOf=St.defaultSetPrototypeOfTrap,this.set=St.defaultSetTrap,e&I.Revoked&&a(),F||r(this)}makeProxyLive(){this.defineProperty=St.liveDefinePropertyTrap,this.deleteProperty=St.liveDeletePropertyTrap,this.preventExtensions=St.livePreventExtensionsTrap,this.set=St.liveSetTrap,this.setPrototypeOf=St.liveSetPrototypeOfTrap,r(this)}makeProxyStatic(t){const{foreignTargetPointer:e}=this,n=it(e);if(n&N.Revoked)this.revoke();else{try{const n=Tt(e);E(t,n)}catch(t){return void this.revoke()}lt(t,e),n&N.IsFrozen?r(t):n&N.IsSealed?a(t):n&N.IsNotExtensible&&w(t),this.defineProperty=St.staticDefinePropertyTrap,this.deleteProperty=St.staticDeletePropertyTrap,this.get=St.staticGetTrap,this.getOwnPropertyDescriptor=St.staticGetOwnPropertyDescriptorTrap,this.getPrototypeOf=St.staticGetPrototypeOfTrap,this.has=St.staticHasTrap,this.isExtensible=St.staticIsExtensibleTrap,this.ownKeys=St.staticOwnKeysTrap,this.preventExtensions=St.staticPreventExtensionsTrap,this.set=St.staticSetTrap,this.setPrototypeOf=St.staticSetPrototypeOfTrap,r(this)}}makeProxyUnambiguous(t){var e;e=this.foreignTargetPointer,st(e,L)?this.makeProxyLive():this.makeProxyStatic(t)}static liveDefinePropertyTrap(t,e,n){return function(t,e,n,r){const o=dt(r),i=Y(t,n,o[0],o[1],o[2],o[3],o[4],o[5]);return i&&!1===o[0]&&J(t,n,((t,r,o,i,a,s)=>{p(e,n,ut(t,r,o,i,a,s))})),i}(this.foreignTargetPointer,t,e,n)}static liveDeletePropertyTrap(t,e){return function(t,e,n){return Z(t,n)}(this.foreignTargetPointer,0,e)}static liveGetOwnPropertyDescriptorTrap(t,e){return wt(this.foreignTargetPointer,t,e)}static liveGetPrototypeOfTrap(t){return Tt(this.foreignTargetPointer)}static liveGetTrap(t,e,n){return function(t,e,n,r){const o=wt(t,e,n)||yt(t,n);if(o){const{get:t,value:e}=o;return t?u(t,r,[]):e}if(n===D)return at(t)}(this.foreignTargetPointer,t,e,n)}static liveHasTrap(t,e){return function(t,e){if(st(t,e))return!0;let n=Tt(t);for(;n;){if(u(s,n,[e]))return!0;n=h(n)}return!1}(this.foreignTargetPointer,e)}static liveIsExtensibleTrap(t){return function(t,e){if(b(e)){if(tt(t))return!0;kt(e,t)}return!1}(this.foreignTargetPointer,t)}static liveOwnKeysTrap(t){return function(t){let e;return et(t,((...t)=>{e=t})),e||[]}(this.foreignTargetPointer)}static livePreventExtensionsTrap(t){return function(t,e){if(b(e)){if(!nt(t))return tt(t)||kt(e,t),!1;kt(e,t)}return!0}(this.foreignTargetPointer,t)}static liveSetPrototypeOfTrap(t,e){return function(t,e){const n=bt(e);return ot(t,n)}(this.foreignTargetPointer,e)}static liveSetTrap(t,e,n,r){const o=this.proxy===r;return Et(this.foreignTargetPointer,t,e,n,r,o)}static pendingDefinePropertyTrap(t,e,n){return this.makeProxyUnambiguous(t),this.defineProperty(t,e,n)}static pendingDeletePropertyTrap(t,e){return this.makeProxyUnambiguous(t),this.deleteProperty(t,e)}static pendingPreventExtensionsTrap(t){return this.makeProxyUnambiguous(t),this.preventExtensions(t)}static pendingSetPrototypeOfTrap(t,e){return this.makeProxyUnambiguous(t),this.setPrototypeOf(t,e)}static pendingSetTrap(t,e,n,r){return this.makeProxyUnambiguous(t),this.set(t,e,n,r)}static staticGetTrap(t,e,n){return e===D?at(this.foreignTargetPointer):y(t,e,n)}}return St.staticDefinePropertyTrap=p,St.staticDeletePropertyTrap=d,St.staticGetOwnPropertyDescriptorTrap=m,St.staticGetPrototypeOfTrap=h,St.staticHasTrap=g,St.staticIsExtensibleTrap=b,St.staticOwnKeysTrap=v,St.staticPreventExtensionsTrap=w,St.staticSetTrap=T,St.staticSetPrototypeOfTrap=E,St.defaultGetTrap=St.liveGetTrap,St.defaultGetOwnPropertyDescriptorTrap=St.liveGetOwnPropertyDescriptorTrap,St.defaultGetPrototypeOfTrap=St.liveGetPrototypeOfTrap,St.defaultHasTrap=St.liveHasTrap,St.defaultIsExtensibleTrap=St.liveIsExtensibleTrap,St.defaultOwnKeysTrap=St.liveOwnKeysTrap,St.defaultDefinePropertyTrap=F?St.pendingDefinePropertyTrap:St.liveDefinePropertyTrap,St.defaultDeletePropertyTrap=F?St.pendingDeletePropertyTrap:St.liveDeletePropertyTrap,St.defaultPreventExtensionsTrap=F?St.pendingPreventExtensionsTrap:St.livePreventExtensionsTrap,St.defaultSetTrap=F?St.pendingSetTrap:St.liveSetTrap,St.defaultSetPrototypeOfTrap=F?St.pendingSetPrototypeOfTrap:St.liveSetPrototypeOfTrap,E(St.prototype,null),r(St.prototype),$(ft(A),ht,bt,((t,e)=>{t();return ft(ht()[e])}),(t=>{try{return bt(O(t))}catch(t){throw Pt(t)}}),((t,e)=>{t();const n=ht();u(S,G,[n,e])}),((t,e,n)=>{const{proxy:r}=new St(t,e,n);return u(S,G,[r,t]),ft(r)}),vt(((e,n,...r)=>{e();const o=ht(),i=mt(n),{length:a}=r,s=new t(a);for(let t=0,e=a;t<e;t+=1)s[t]=mt(r[t]);let c;try{c=u(o,i,s)}catch(t){throw Pt(t)}return bt(c)}),"callableApply",W),vt(((e,n,...r)=>{e();const o=ht(),i=mt(n),{length:a}=r,s=new t(a);for(let t=0,e=a;t<e;t+=1)s[t]=mt(r[t]);let c;try{c=f(o,s,i)}catch(t){throw Pt(t)}return bt(c)}),"callableConstruct",W),vt(((t,e,n,r,o,i,a,s)=>{t();const c=ht();try{return p(c,e,ut(n,r,o,i,a,s))}catch(t){throw Pt(t)}}),"callableDefineProperty",W),vt(((t,e)=>{t();const n=ht();try{return d(n,e)}catch(t){throw Pt(t)}}),"callableDeleteProperty",W),vt(((t,e,n)=>{t();const r=ht();let o;try{o=m(r,e)}catch(t){throw Pt(t)}if(o){const t=dt(o);n(t[0],t[1],t[2],t[3],t[4],t[5])}}),"callableGetOwnPropertyDescriptor",W),vt((t=>{t();const e=ht();let n;try{n=h(e)}catch(t){throw Pt(t)}return bt(n)}),"callableGetPrototypeOf",W),vt((t=>{t();const e=ht();try{return b(e)}catch(t){throw Pt(t)}}),"callableIsExtensible",W),vt(((t,e)=>{t();const n=ht();let r;try{r=v(n)}catch(t){throw Pt(t)}u(e,void 0,r)}),"callableOwnKeys",W),vt((t=>{t();const e=ht();try{return w(e)}catch(t){throw Pt(t)}}),"callablePreventExtensions",W),vt(((t,e,n,r)=>{t();const o=ht();try{return T(o,e,mt(n),mt(r))}catch(t){throw Pt(t)}}),"callableSet",W),vt(((t,e)=>{t();const n=ht(),r=mt(e);try{return E(n,r)}catch(t){throw Pt(t)}}),"callableSetPrototypeOf",W),vt((t=>{t();return function(t){let n=N.None;try{o(t)?n|=N.IsSealed&N.IsFrozen&N.IsNotExtensible:i(t)?n|=N.IsSealed:b(t)||(n|=N.IsNotExtensible),e(t)}catch(t){n|=N.Revoked}return n}(ht())}),"callableGetTargetIntegrityTraits",W),vt((t=>{t();const n=ht();try{if("object"==typeof n&&null!==n&&!e(n)){const t=u(c,n,[]);return u(k,t,[8,-1])}}catch(t){}}),"callableGetUnbrandedTag",W),vt(((t,e)=>{t();const n=ht();try{return u(s,n,[e])}catch(t){throw Pt(t)}}),"callableHasOwnProperty",W)),(...t)=>{const{6:e,7:n,8:r,9:o,10:i,11:a,12:s,13:c,14:l,15:u,16:f,17:p,18:d,19:y,20:m}=t;q=e,B=pt(vt(n,"callableApply",K)),X=pt(vt(r,"callableConstruct",K)),Y=pt(vt(o,"callableDefineProperty",K)),Z=pt(vt(i,"callableDeleteProperty",K)),J=pt(vt(a,"callableGetOwnPropertyDescriptor",K)),Q=pt(vt(s,"callableGetPrototypeOf",K)),tt=pt(vt(c,"callableIsExtensible",K)),et=pt(vt(l,"callableOwnKeys",K)),nt=pt(vt(u,"callablePreventExtensions",K)),rt=pt(vt(f,"callableSet",K)),ot=pt(vt(p,"callableSetPrototypeOf",K)),it=pt(vt(d,"callableGetTargetIntegrityTraits",K)),at=pt(vt(y,"callableGetUnbrandedTag",K)),st=pt(vt(m,"callableHasOwnProperty",K))}}}!function(t){t[t.None=0]="None",t[t.MagicMarker=1]="MagicMarker"}(as||(as={})),is(as,null);const cs=TypeError,ls=`\n(function(){\n 'use strict';\n (${function(){"number"==typeof Error.stackTraceLimit&&(Error.stackTraceLimit*=2)}.toString()})();\n return (${ss.toString()})\n})()`;const us=Symbol.for("@@membraneUndefinedValue"),fs=Error,{assign:ps,keys:ds}=Object,{apply:ys,ownKeys:ms}=Reflect,{slice:hs,toUpperCase:gs}=String.prototype;function bs(t){const{length:e}=t;if(!e)return t;const n=ys(gs,t[0],[]);return 1===e?n:n+ys(hs,t,[1])}class vs{constructor(t){if(void 0===t)throw new fs("Missing VirtualEnvironmentOptions options bag.");const{blueConnector:e,redConnector:n,distortionCallback:r,support:o,instrumentation:i}=t;this.blueConnector=e,this.redConnector=n;let a=as.None;const s=o?ds(o):[];for(let t=0,e=s.length;t<e;t+=1){const e=bs(s[t]);a|=as[e]}let c,l;const u=e("blue",false,a,((...t)=>{c=t}),{distortionCallback:r,instrumentation:i}),f=n("red",true,a,((...t)=>{l=t}));ys(u,void 0,l),ys(f,void 0,c);const{0:p,1:d,2:y,3:m,5:h}=c;this.blueGlobalThisPointer=p,this.blueGetSelectedTarget=d,this.blueGetTransferableValue=y,this.blueCallableGetPropertyValuePointer=m,this.blueCallableLinkPointers=h;const{0:g,3:b,4:v,5:w,9:T,17:E}=l;this.redGlobalThisPointer=g,this.redCallableEvaluate=v,this.redCallableSetPrototypeOf=E,this.redCallableDefineProperty=T,this.redCallableGetPropertyValuePointer=b,this.redCallableLinkPointers=w}evaluate(t){try{const e=this.redCallableEvaluate(t);return"function"==typeof e?(e(),this.blueGetSelectedTarget()):e}catch(t){const e=this.blueGetSelectedTarget();if(e)throw e;throw t}}link(...t){let e=this.blueGlobalThisPointer,n=this.redGlobalThisPointer;for(let r=0,o=t.length;r<o;r+=1){const o=t[r];e=this.blueCallableGetPropertyValuePointer(e,o),n=this.redCallableGetPropertyValuePointer(n,o)}this.redCallableLinkPointers(n,e),this.blueCallableLinkPointers(e,n)}remap(t,e){const n=ms(e),r=this.blueGetTransferableValue(t);for(let t=0,o=n.length;t<o;t+=1){const o=n[t],i=e[o],a=ps({__proto__:null},i);this.redCallableDefineProperty(r,o,"configurable"in a?!!a.configurable:us,"enumerable"in a?!!a.enumerable:us,"writable"in a?!!a.writable:us,"value"in a?this.blueGetTransferableValue(a.value):us,"get"in a?this.blueGetTransferableValue(a.get):us,"set"in a?this.blueGetTransferableValue(a.set):us)}}remapProto(t,e){const n=this.blueGetTransferableValue(t),r=this.blueGetTransferableValue(e);this.redCallableSetPrototypeOf(n,r)}}const{includes:ws}=Array.prototype,{has:Ts}=Set.prototype,{apply:Es,getOwnPropertyDescriptor:ks,ownKeys:Ps}=Reflect,xs=new Set(["globalThis","Infinity","NaN","undefined","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","AggregateError","Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Error","EvalError","FinalizationRegistry","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Number","Object","Proxy","RangeError","ReferenceError","RegExp","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakRef","Atomics","JSON","Math","Reflect","escape","unescape"]),Ss=["AggregateError","Array","Error","EvalError","Function","Object","Proxy","RangeError","ReferenceError","SyntaxError","TypeError","URIError","eval"];function As(t,e){const n=Ps(e);for(let r=0,o=n.length;r<o;r+=1){const o=n[r];if(!Es(Ts,xs,[o])&&!Es(ws,Ss,[o])){const n=ks(e,o);n&&(t[o]=n)}}return t}const Os=TypeError;const{assign:Ls,getOwnPropertyDescriptors:Ms}=Object,{getPrototypeOf:Ds,apply:Rs}=Reflect,{get:_s,set:Ns}=WeakMap.prototype,Is=new WeakMap;function Cs(t){let e=Rs(_s,Is,[t]);return e||(e=function(t){const e={__proto__:null};return e.window=t.window,e.document=t.document,e.WindowProto=Ds(e.window),e.WindowPropertiesProto=Ds(e.WindowProto),e.EventTargetProto=Ds(e.WindowPropertiesProto),e.DocumentProto=Ds(e.document),e}(t),Rs(Ns,Is,[t,e]),e.EventTargetProtoDescriptors=Ms(e.EventTargetProto),e)}function Fs(t,e,n){t.remapProto(e.document,e.DocumentProto);const r=function(t){const e={};return Ls(e,t),delete e.document,delete e.location,delete e.top,delete e.window,delete e.crypto,delete e.chrome,e}(n);t.remap(e.window,r),t.remap(e.EventTargetProto,e.EventTargetProtoDescriptors)}Cs(window);const Hs=[],{close:$s,createElement:js,open:Us}=document,{remove:zs,setAttribute:Gs}=Element.prototype,{appendChild:Ws}=Node.prototype,{assign:Ks}=Object,{__lookupGetter__:Vs,hasOwnProperty:qs}=Object.prototype,{apply:Bs}=Reflect;function Xs(t,e){if(null!=t&&Bs(qs,t,[e]))return Bs(Vs,t,[e])}const Ys=Xs(Document.prototype,"body"),Zs=Xs(HTMLElement.prototype,"style"),Js=Xs(HTMLIFrameElement.prototype,"contentWindow"),Qs=Xs(Node.prototype,"isConnected"),tc=Xs(Node.prototype,"lastChild");function ec(){const t=(e=document,Bs(js,e,["iframe"]));var e;const n=function(t){return Bs(Ys,t,Hs)}(document)||(r=document,Bs(tc,r,Hs));var r;return Bs(Zs,t,Hs).display="none",function(t,e,n){Bs(Gs,t,[e,n])}(t,"sandbox","allow-same-origin allow-scripts"),function(t,e){Bs(Ws,t,[e])}(n,t),t}function nc(t){Bs(Qs,t,Hs)&&Bs(zs,t,Hs)}const rc=ss();function oc(t,e,n){!function(t,e){if(!t)throw new Os("Missing global object shape.");if(!e)throw new Os("Missing global object virtualization target.")}(t,e);const r=Ks({__proto__:null,keepAlive:!1},n),{distortionCallback:o,endowments:i={},keepAlive:a,support:s,instrumentation:c}=r,l=ec(),u=function(t){return Bs(Js,t,Hs)}(l).window,{document:f}=u,p=rc,d=function(t){if("function"!=typeof t)throw new cs("Missing evaluator function.");return t(ls)()}(u.eval),y=Cs(e),m=new vs({blueConnector:p,distortionCallback:o,redConnector:d,support:s,instrumentation:c});return m.link("window"),function(t,e){for(let n=0,r=Ss.length;n<r;n+=1){const r=Ss[n],o=e[r];o&&(t.link(r),o.prototype&&t.link(r,"prototype"))}}(m,e),function(t,e){e.EventTarget&&e instanceof EventTarget&&(t.link("document"),t.link("__proto__"),t.link("__proto__","__proto__"),t.link("__proto__","__proto__","__proto__"))}(m,e),Fs(m,y,function(...t){const e={};for(let n=0,r=t.length;n<r;n+=1){const r=t[n];r&&As(e,r)}return e}(t,i)),!0!==a?nc(l):(Bs(Us,f,Hs),function(t){Bs($s,t,Hs)}(f)),m}let ic,ac,sc;function cc(){const t=ac;return ac=void 0,t}function lc(){const t=sc;return sc=void 0,t}function uc(t){ac=t}const fc=H({$lockerEvalContext$:{get:()=>cc()},$lockerEvalHelpers$:{get:()=>lc()}}),pc=W(null);const dc=new ce;function yc(t){return e=>{const{distortions:n}=t,r=le(n,e);return r||(Xr(e)&&Yr(e)&&(!function(t,e){const{distortionFactory:n,distortions:r}=t,o=n(e);for(let t=0,e=o.length;t<e;t+=1){const[e,n]=o[t];ue(r,e,n)}}(t,e),ue(n,e,e)),e)}}function mc(){const e=De(document,"iframe"),n=Me(document)||(r=document,t(yn,r,w));var r;return or(e).display="none",rn(e,"sandbox","allow-same-origin allow-scripts"),bn(n,e),e}function hc(e,n,r,o){const i=W(null,fc);r&&V(i,H(q(r)));const a=W(null),s=yc(a);if(!ic){ic={};const e=mc(),n=ur(e).window,r=f(n);t(Ge,e,w);const o={};for(let t=0,e=r.length;t<e;t+=1){const e=r[t],n=u(window,e);n&&(o[e]=n)}V(ic,o)}a.distortionFactory=n,a.distortions=new ce(n(window));const c=oc(ic,window,{distortionCallback:s,endowments:i,keepAlive:!1,support:{magicMarker:Sr},instrumentation:o});return a.env=c,a.helpers=W(null),uc((t=>{G(a.helpers,t({loadingPromises:dc}))})),a.env.evaluate(`'use strict';\n $lockerEvalContext$(${function(t){const{loadingPromises:e}=t,{iterator:n}=Symbol,{[n]:r}=Array.prototype,{freeze:o}=Object,i=Promise,a=i.resolve.bind(i),{apply:s,getPrototypeOf:c,setPrototypeOf:l}=Reflect,{createElement:u}=Document.prototype,{querySelector:f,setAttribute:p}=Element.prototype,{stopPropagation:d}=Event.prototype,{addEventListener:y}=EventTarget.prototype,{appendChild:m}=Node.prototype,{get:h,set:g}=WeakMap.prototype,b=document,v=[],w=b.head;function T(t,...e){return s(u,t,e)}function E(t,e){return s(f,t,[e])}function k(t,...e){return s(y,t,e)}function P(t,e){return s(h,t,[e])}const x=function*(){}.constructor.prototype.prototype,{next:S,throw:A}=x,O=(t,e)=>s(S,t,[e]),L=(t,e)=>s(A,t,[e]);function M(t,e,n,r,o,i,s){let c,l;try{c=i(t,s),l=c.value}catch(t){return void n(t)}c.done?e(l):a(l).then(r,o)}const D="data-locker-id",R=`${crypto.getRandomValues(new Uint32Array(1))[0]}`;function _(t,n){const r=new i(((e,r)=>{k(t,"load",(()=>{e(void 0)})),k(t,"error",(t=>{s(d,t,v),r((t=>`[Locker] resource loader error loading "${t}"`)(n))}))}));return function(t,e,n){s(g,t,[e,n])}(e,t,r),s(m,w,[t]),r}return{asyncToGen:function(t,e,n){return new i(((r,o)=>{const i=s(t,e,n);function a(t){M(i,r,o,a,c,O,t)}function c(t){M(i,r,o,a,c,L,t)}a(void 0)}))},loadScript:function(t,n){let r=E(w,`script[data-distorted-src='${n}'][data-locker-id='${R}']`);return r?P(e,r)||a():(r=T(b,"script"),function(t,e,n){s(p,t,[e,n])}(r,D,R),r.type="text/javascript",r.src=n,_(r,n))},loadStyle:function(t,n){let r=E(w,`link[href='${n}']`);return r?P(e,r)||a():(r=T(b,"link"),r.type="text/css",r.rel="stylesheet",r.href=n,_(r,n))},namespace:function(t){return o(t)},spreadable:function(t){return l(t,null),t[n]=r,t},super:function(t,e,n,r){const o=c(t.prototype)[e];return s(o,n,r)}}}})`),pc[e]=a,a}function gc(t,e,n,r,o,i){const a=o||os,{startActivity:s}=a,c={sandboxKey:t},l=s("EvaluateInSandboxDuration",c);"string"!=typeof e&&(e=function(t){let e=Xt(t);return"function"==typeof t&&(e=Ut(e,/^[\s\S]+?\{(?:[\t ]*\r?\n)?([\s\S]*?)(?:\r?\n[\t ]*)?\}$/)[1]),e=zt(e,/\/\/# sandbox(MappingURL=.*?\s*)$/,((t,e)=>`//# source${e}`)),e=zt(e,/\breturn\s*\[\s*(["'])\u200D\1\s*,\s*([^,\s]+)\s*,\s*([^\]\s]+)\s*\]/g,((t,e,n,r)=>`${n}=${r}`)),`'use strict';${e}`}(e));let u=function(t){return pc[t]}(t);if(!u){C(r)||(r=void 0);const e=W(null,{instrumentation:{value:a},verboseInstrumentation:{value:i}}),n=n=>{const r=s("createExternalDistortionEntries",c),o=qa(n,t,gc,e);return r.stop(),o},o=s("createSandbox",c);u=hc(t,n,r,i?a:void 0),o.stop()}var f;let p;uc(n),f=u.helpers,sc=f;const d=s("externalEvaluatorDuration",c);try{p=u.env.evaluate(e)}catch(e){throw d.error({sandboxKey:t,error:e}),e}finally{cc(),lc(),d.stop()}return l.stop(),p}const bc=globalThis.LWR.define;function vc(t,e,n,r){const[o,i]=t.split("/");if(r.includes(o)||r.includes(`${o}/*`)||r.includes(`${o}/${i}`))return n;const a=function(t,e,n){let r;return gc(t,`"use strict";$lockerEvalContext$(${n.toString()});\n//# sourceURL=modules/${e}.js\n`,(t=>{r=t})),r}(o,t,n),s=e.indexOf("exports");return s>=0?function(...t){const e=t.map(((t,e)=>{return e===s&&(n=t,Reflect.defineProperty(n,Symbol.for("@@lockerLiveValue"),{}),n)||t;var n}));return a.apply(this,e)}:a}function wc(t){globalThis.LWR=Object.freeze(Object.assign(Object.assign({},globalThis.LWR),{define:function(e,n,r,o){"function"==typeof n&&(o=r,r=n,n=[]),bc(e,n,vc(e,n,r,t),o)}}))}export{wc as registerLockerDefine};
1
+ const{apply:t,construct:e,deleteProperty:n,has:o,get:r,getPrototypeOf:i,set:s,setPrototypeOf:c,defineProperty:a,isExtensible:u,getOwnPropertyDescriptor:l,ownKeys:f,preventExtensions:p}=Reflect,{filter:d,includes:m,indexOf:h,join:y,pop:g,slice:v,some:b}=Array.prototype,w=[],T=Array,{from:E,isArray:S}=Array,{push:k}=Array.prototype;function P(e,...n){const o=t(v,e,[0]),{length:r}=n;for(let e=0;e<r;e+=1){const r=n[e];t(k,o,S(r)?r:[r])}return o}function _(e,n){return t(m,e,[n])}function x(e,...n){return t(y,e,n)}function O(e,...n){return t(k,e,n)}function L(e,...n){return t(v,e,n)}const{now:M}=Date,{bind:A}=Function.prototype,D=(e,n)=>t(A,e,[n]),{ownKeys:N,setPrototypeOf:R}=Reflect,C="undefined"==typeof performance?M:D(performance.now,performance);function I(t){return"function"==typeof t||"object"==typeof t&&null!==t}function $(t){const e=N(t),n={__proto__:null};for(let o=0,r=e.length;o<r;o+=1){const r=e[o];n[r]=t[r]}return n}function F(t){return R(t,null),t}function H(t){const e=N(t);for(let n=0,o=e.length;n<o;n+=1)F(t[e[n]]);return t}const{__lookupGetter__:j,__lookupSetter__:z,hasOwnProperty:U}=Object.prototype,{assign:G,create:W,defineProperty:K,defineProperties:q,getOwnPropertyDescriptors:V,freeze:B,getOwnPropertyNames:X,getOwnPropertySymbols:Y,keys:Z,seal:J,isSealed:Q,isFrozen:tt,preventExtensions:et}=Object;function nt(e,n){return null!=e&&t(U,e,[n])}function ot(e,n){if(null!=e&&t(U,e,[n]))return t(j,e,[n])}function rt(e,n){if(null!=e&&t(U,e,[n]))return t(z,e,[n])}function it(e,n){if(null!=e&&t(U,e,[n]))return e[n]}const st=Proxy,ct=Proxy.revocable;function at(t){const e=ct(t,{__proto__:null});return e.revoke(),e.proxy}class ut extends Error{constructor(t){super(`Lightning Web Security: ${t}`)}}const{parse:lt,stringify:ft}=JSON,{for:pt,iterator:dt}=Symbol,mt=pt("@@lockerLiveValue");function ht(t){return a(t,mt,{__proto__:null,value:void 0}),t}function yt(t){return nt(t,mt)}function gt(e,n){const o=t(e,n,[]);return yt(o)?o:ht(o)}const vt=pt("@@lockerMagicValue");const{clear:bt,entries:wt,forEach:Tt,get:Et,set:St}=Map.prototype,kt=Map;const Pt=Math.min,{then:_t}=Promise.prototype,xt=Promise.reject.bind(Promise);function Ot(e,...n){return t(_t,e,n)}const Lt=String,{charCodeAt:Mt,includes:At,match:Dt,replace:Nt,slice:Rt,split:Ct,startsWith:It,toLowerCase:$t,toUpperCase:Ft}=String.prototype;function Ht(e,n){return t(Mt,e,[n])}function jt(e,...n){return t(At,e,n)}function zt(e,n){return t(Dt,e,[n])}function Ut(e,n,o){return t(Nt,e,[n,o])}function Gt(e,...n){return t(Rt,e,n)}function Wt(e,...n){return t(Ct,e,n)}function Kt(e,...n){return t(It,e,n)}function qt(e){return t($t,e,[])}function Vt(e){return t(Ft,e,[])}function Bt(t){try{return Lt(t)}catch(t){return""}}function Xt(t){return null==t?t:Bt(t)}const{test:Yt}=RegExp.prototype;function Zt(e,n){return t(Yt,e,[Bt(n)])}function Jt(t){return t}function Qt(t,e){const n=t.length,o=e.length,r=Pt(n,o),i=E(t);for(let n=0;n<r;n+=1)i[n]=e[n](t[n]);return i}const{add:te,delete:ee,has:ne}=Set.prototype,oe=Set;function re(e,n){return t(te,e,[n])}function ie(e,n){return t(ne,e,[n])}const{get:se,set:ce}=WeakMap.prototype,ae=WeakMap;function ue(e,n){return t(se,e,[n])}function le(e,n,o){return t(ce,e,[n,o])}const fe=ot(Attr.prototype,"name"),pe=ot(Attr.prototype,"namespaceURI"),de=ot(Attr.prototype,"ownerElement"),{get:me,set:he}=l(Attr.prototype,"value");function ye(e){return t(fe,e,w)}function ge(e){return t(pe,e,w)}function ve(e){return t(de,e,w)}function be(e){return t(me,e,w)}function we(e,n){t(he,e,[n])}function Te(t,e,n,o){if("a"===n&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?o:"a"===n?o.call(t):o?o.value:e.get(t)}function Ee(t,e,n,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,n):r?r.value=n:e.set(t,n),n}const{get:Se,set:ke}=l(Document.prototype,"cookie"),{createComment:Pe,createElement:_e,createElementNS:xe,getElementById:Oe}=Document.prototype,Le=ot(Document.prototype,"body"),Me=ot(Document.prototype,"documentElement"),Ae=ot(Document.prototype,"head"),De=ot(Document.prototype,"implementation"),{execCommand:Ne}=Document.prototype;function Re(e){return t(Le,e,w)}function Ce(e,...n){return t(_e,e,n)}function Ie(e){return t(Me,e,w)}function $e(t,e){return`${Fe(e)}${t}`}function Fe(t){return`LSKey-${t}$`}const{attachShadow:He,setAttribute:je,setAttributeNS:ze,setAttributeNode:Ue}=Element.prototype,{closest:Ge,getAttributeNode:We,getAttributeNodeNS:Ke,querySelector:qe,remove:Ve,removeAttributeNode:Be,setAttributeNodeNS:Xe}=Element.prototype,{get:Ye,set:Ze}=l(Element.prototype,"innerHTML"),{get:Je,set:Qe}=l(Element.prototype,"outerHTML"),tn=ot(Element.prototype,"attributes"),en=ot(Element.prototype,"namespaceURI");function nn(e){return t(Ye,e,w)}function on(e,n){t(Ze,e,[n])}function rn(e){return t(Je,e,w)}function sn(e,n){return t(qe,e,[n])}function cn(e,n){return t(We,e,[n])}function an(e,n,o){return t(Ke,e,[n,o])}function un(e,n){return t(Be,e,[n])}function ln(e,n,o){return t(je,e,[n,o])}function fn(e,n){return t(Ue,e,[n])}function pn(e,n){return t(Xe,e,[n])}function dn(e,n,o,r){return t(ze,e,[n,o,r])}const mn=ot(HTMLTemplateElement.prototype,"content");function hn(e){return t(mn,e,w)}const{appendChild:yn,cloneNode:gn,isEqualNode:vn}=Node.prototype,bn=ot(Node.prototype,"childNodes"),wn=ot(Node.prototype,"firstChild"),Tn=ot(Node.prototype,"lastChild"),En=ot(Node.prototype,"nodeName"),Sn=ot(Node.prototype,"ownerDocument"),kn=rt(Node.prototype,"textContent");function Pn(e,n){return t(yn,e,[n])}function _n(e){return t(bn,e,w)}var xn,On,Ln;function Mn(e,n){const o=e instanceof HTMLTemplateElement?hn(e):e,r=n instanceof HTMLTemplateElement?hn(n):n;if(t(vn,o,[r])){const t=_n(o),e=t.length;if(e>0){const n=_n(r);for(let o=0;o<e;o+=1)if(!1===Mn(t[o],n[o]))return!1}return!0}return!1}const An=new ae;class Dn{constructor(e){xn.set(this,void 0),On.set(this,void 0),Ln.set(this,void 0),this.isEqualDomString=(t,e)=>(on(Te(this,Ln,"f").left,t),on(Te(this,Ln,"f").right,e),Mn(Te(this,Ln,"f").left,Te(this,Ln,"f").right)),this.isSharedElement=e=>{return e===(n=Te(this,xn,"f"),t(Ae,n,w))||e===Re(Te(this,xn,"f"))||e===Ie(Te(this,xn,"f"));var n},this.isSharedElementChild=t=>t instanceof Te(this,On,"f").HTMLLinkElement||t instanceof Te(this,On,"f").HTMLScriptElement,this.isMediaSourceObject=t=>Te(this,On,"f").MediaSource&&t instanceof Te(this,On,"f").MediaSource;const{document:n,HTMLLinkElement:o,HTMLScriptElement:r,MediaSource:i}=e;Ee(this,On,{HTMLLinkElement:o,HTMLScriptElement:r,MediaSource:i},"f"),Ee(this,xn,n,"f"),Ee(this,Ln,{left:Ce(Te(this,xn,"f"),"template"),right:Ce(Te(this,xn,"f"),"template")},"f")}}function Nn(t){let e=ue(An,t);return e||(e=new Dn(t),le(An,t,e)),e}xn=new WeakMap,On=new WeakMap,Ln=new WeakMap;const Rn=ot(Blob.prototype,"size"),{slice:Cn}=Blob.prototype,In=ot(Blob.prototype,"type"),$n=Blob;function Fn(e,...n){return t(Cn,e,n)}const Hn="undefined"==typeof CookieStore?void 0:CookieStore.prototype,jn=it(Hn,"delete");it(Hn,"get"),it(Hn,"getAll");const zn=it(Hn,"set"),{define:Un,get:Gn}=CustomElementRegistry.prototype,{getElementById:Wn}=DocumentFragment.prototype;const{createDocument:Kn}=DOMImplementation.prototype;const{parseFromString:qn}=DOMParser.prototype,Vn=ot(DOMTokenList.prototype,"value");const{composedPath:Bn}=Event.prototype,Xn=ot(Event.prototype,"currentTarget");const{addEventListener:Yn}=EventTarget.prototype;function Zn(e,...n){return t(Yn,e,n)}const Jn=ot(HTMLAnchorElement.prototype,"hostname"),{get:Qn,set:to}=l(HTMLAnchorElement.prototype,"href"),eo=ot(HTMLAnchorElement.prototype,"pathname"),no=ot(HTMLAnchorElement.prototype,"protocol");function oo(e){return t(Jn,e,w)}function ro(e){return t(Qn,e,w)}function io(e,n){t(to,e,[n])}function so(e){return t(no,e,w)}const co=rt(HTMLElement.prototype,"innerText"),ao=rt(HTMLElement.prototype,"outerText"),uo=ot(HTMLElement.prototype,"dataset"),lo=ot(HTMLElement.prototype,"style");function fo(e){return t(uo,e,w)}const po=co?function(e,n){t(co,e,[n])}:function(t,e){},mo=ao?function(e,n){t(ao,e,[n])}:function(t,e){};function ho(e){return t(lo,e,w)}const yo=ot(HTMLFrameElement.prototype,"contentDocument"),go=ot(HTMLFrameElement.prototype,"contentWindow");const vo=ot(HTMLIFrameElement.prototype,"contentDocument"),bo=ot(HTMLIFrameElement.prototype,"contentWindow"),wo=rt(HTMLIFrameElement.prototype,"src");function To(e){return t(bo,e,w)}const Eo=rt(HTMLLinkElement.prototype,"rel"),So=rt(HTMLLinkElement.prototype,"relList");const ko=ot(HTMLObjectElement.prototype,"contentDocument"),Po=ot(HTMLObjectElement.prototype,"contentWindow");const _o=Po?function(e){return t(Po,e,w)}:function(t){return null},{get:xo,set:Oo}=l(HTMLScriptElement.prototype,"src"),Lo=ot(MessageEvent.prototype,"source");const Mo="http://www.w3.org/1999/xlink",{createContextualFragment:Ao}=Range.prototype,Do=ot(Request.prototype,"url");const{set:No}=l(ShadowRoot.prototype,"innerHTML");const{key:Ro,getItem:Co,removeItem:Io,setItem:$o}=Storage.prototype,Fo=(()=>{const t=document.createElement("div");return a(t.style,"color",{__proto__:null,value:"red"}),""===t.getAttribute("style")})(),Ho=ot(SVGElement.prototype,"dataset");function jo(e){return t(Ho,e,w)}const{createObjectURL:zo,revokeObjectURL:Uo}=URL,Go=["opener","parent"],Wo=["close","closed","focus"],Ko={},qo=ot(window,"length"),Vo=ot(window,"opener"),Bo=ot(window,"parent"),Xo=ot(window,"self"),Yo=new ae;function Zo(e,n){return function(...o){const r=o.length?o[0]:void 0;if("object"==typeof(i=r)&&null!==i)try{o[0]=function(t){return lt(ft(t))}(r)}catch(t){throw new DOMException("The object could not be cloned.")}var i;return t(e,n,o)}}const{clearInterval:Jo,decodeURIComponent:Qo,encodeURIComponent:tr,fetch:er,open:nr,setInterval:or,setTimeout:rr}=window;function ir(e){let n=null;return null!==e&&(n=ue(Yo,e),n||(n=function(e){const n={};for(let o=0,r=Wo.length;o<r;o+=1){const r=Wo[o],i=l(e,r);if(i){const o=F(i),{value:s}=o;if("function"==typeof s){const t=D(s,e),n=l(s,"name");n&&a(t,"name",F(n)),i.value=t}else{const{get:n,set:r}=o;let i=Ko;"function"==typeof n&&(o.get=function(){return i===Ko?t(n,e,w):i}),"function"==typeof r&&(o.set=function(t){i=t})}a(n,r,o)}}for(let o=0,r=Go.length;o<r;o+=1){const r=Go[o],i=l(e,r);if(i){const o=F(i),{get:s,set:c}=o;let u=Ko;"function"==typeof s&&(o.get=function(){return u===Ko?ir(t(s,e,w)):u}),"function"==typeof c&&(o.set=function(t){u=t}),a(n,r,o)}}const o=l(e,"postMessage");if(o){const t=F(o),{value:r}=t;"function"==typeof r&&(t.value=Zo(r,e)),a(n,"postMessage",t)}return n}(e),le(Yo,e,n))),n}function sr(t){return nt(t,"top")}function cr(e){try{return t(Xo,e,w),!0}catch(t){}return!1}function ar(e){return t(qo,e,w)}const ur=XMLHttpRequest,lr=ur.prototype,{send:fr}=lr,pr=ot(lr,"responseText"),dr=ot(lr,"status"),mr=rt(lr,"withCredentials"),{open:hr}=lr;function yr(e,n,o,r=!0){return t(hr,e,[n,o,r])}function gr(e){return t(pr,e,w)}function vr(e){return t(fr,e,w)}function br(e){return t(dr,e,w)}const wr=["http:","https:"],Tr=["/aura","/webruntime"],Er=/[\u2029\u2028\n\r\t]/g,Sr=Ce(document,"a"),kr=/\.(force|salesforce|visualforce|documentforce|my\.site|salesforce-sites)\.com$/;function Pr(e){const n=qt(e.pathname);return t(b,Tr,[t=>jt(n,t)])}function _r(e){return io(Sr,xr(e)),{normalizedURL:ro(Sr),hostname:oo(Sr),pathname:Qo((n=Sr,t(eo,n,w)))};var n}function xr(t){return""===t?t:Ut(t,Er,"")}var Or=Object.hasOwnProperty,Lr=Object.setPrototypeOf,Mr=Object.isFrozen,Ar=Object.getPrototypeOf,Dr=Object.getOwnPropertyDescriptor,Nr=Object.freeze,Rr=Object.seal,Cr=Object.create,Ir="undefined"!=typeof Reflect&&Reflect,$r=Ir.apply,Fr=Ir.construct;$r||($r=function(t,e,n){return t.apply(e,n)}),Nr||(Nr=function(t){return t}),Rr||(Rr=function(t){return t}),Fr||(Fr=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))});var Hr,jr=Yr(Array.prototype.forEach),zr=Yr(Array.prototype.pop),Ur=Yr(Array.prototype.push),Gr=Yr(String.prototype.toLowerCase),Wr=Yr(String.prototype.match),Kr=Yr(String.prototype.replace),qr=Yr(String.prototype.indexOf),Vr=Yr(String.prototype.trim),Br=Yr(RegExp.prototype.test),Xr=(Hr=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fr(Hr,e)});function Yr(t){return function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return $r(t,e,o)}}function Zr(t,e){Lr&&Lr(t,null);for(var n=e.length;n--;){var o=e[n];if("string"==typeof o){var r=Gr(o);r!==o&&(Mr(e)||(e[n]=r),o=r)}t[o]=!0}return t}function Jr(t){var e=Cr(null),n=void 0;for(n in t)$r(Or,t,[n])&&(e[n]=t[n]);return e}function Qr(t,e){for(;null!==t;){var n=Dr(t,e);if(n){if(n.get)return Yr(n.get);if("function"==typeof n.value)return Yr(n.value)}t=Ar(t)}return function(t){return console.warn("fallback value for",t),null}}var ti=Nr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ei=Nr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ni=Nr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),oi=Nr(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ri=Nr(["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"]),ii=Nr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),si=Nr(["#text"]),ci=Nr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ai=Nr(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ui=Nr(["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"]),li=Nr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fi=Rr(/\{\{[\s\S]*|[\s\S]*\}\}/gm),pi=Rr(/<%[\s\S]*|[\s\S]*%>/gm),di=Rr(/^data-[\-\w.\u00B7-\uFFFF]/),mi=Rr(/^aria-[\-\w]+$/),hi=Rr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yi=Rr(/^(?:\w+script|data):/i),gi=Rr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function bi(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var wi=function(){return"undefined"==typeof window?null:window},Ti=function(t,e){if("object"!==(void 0===t?"undefined":vi(t))||"function"!=typeof t.createPolicy)return null;var n=null,o="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(o)&&(n=e.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};var Ei=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wi(),n=function(e){return t(e)};if(n.version="2.2.9",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var o=e.document,r=e.document,i=e.DocumentFragment,s=e.HTMLTemplateElement,c=e.Node,a=e.Element,u=e.NodeFilter,l=e.NamedNodeMap,f=void 0===l?e.NamedNodeMap||e.MozNamedAttrMap:l,p=e.Text,d=e.Comment,m=e.DOMParser,h=e.trustedTypes,y=a.prototype,g=Qr(y,"cloneNode"),v=Qr(y,"nextSibling"),b=Qr(y,"childNodes"),w=Qr(y,"parentNode");if("function"==typeof s){var T=r.createElement("template");T.content&&T.content.ownerDocument&&(r=T.content.ownerDocument)}var E=Ti(h,o),S=E&&tt?E.createHTML(""):"",k=r,P=k.implementation,_=k.createNodeIterator,x=k.createDocumentFragment,O=o.importNode,L={};try{L=Jr(r).documentMode?r.documentMode:{}}catch(t){}var M={};n.isSupported="function"==typeof w&&P&&void 0!==P.createHTMLDocument&&9!==L;var A=fi,D=pi,N=di,R=mi,C=yi,I=gi,$=hi,F=null,H=Zr({},[].concat(bi(ti),bi(ei),bi(ni),bi(ri),bi(si))),j=null,z=Zr({},[].concat(bi(ci),bi(ai),bi(ui),bi(li))),U=null,G=null,W=!0,K=!0,q=!1,V=!1,B=!1,X=!1,Y=!1,Z=!1,J=!1,Q=!0,tt=!1,et=!0,nt=!0,ot=!1,rt={},it=Zr({},["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"]),st=null,ct=Zr({},["audio","video","img","source","image","track"]),at=null,ut=Zr({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),lt="http://www.w3.org/1998/Math/MathML",ft="http://www.w3.org/2000/svg",pt="http://www.w3.org/1999/xhtml",dt=pt,mt=!1,ht=null,yt=r.createElement("form"),gt=function(t){ht&&ht===t||(t&&"object"===(void 0===t?"undefined":vi(t))||(t={}),t=Jr(t),F="ALLOWED_TAGS"in t?Zr({},t.ALLOWED_TAGS):H,j="ALLOWED_ATTR"in t?Zr({},t.ALLOWED_ATTR):z,at="ADD_URI_SAFE_ATTR"in t?Zr(Jr(ut),t.ADD_URI_SAFE_ATTR):ut,st="ADD_DATA_URI_TAGS"in t?Zr(Jr(ct),t.ADD_DATA_URI_TAGS):ct,U="FORBID_TAGS"in t?Zr({},t.FORBID_TAGS):{},G="FORBID_ATTR"in t?Zr({},t.FORBID_ATTR):{},rt="USE_PROFILES"in t&&t.USE_PROFILES,W=!1!==t.ALLOW_ARIA_ATTR,K=!1!==t.ALLOW_DATA_ATTR,q=t.ALLOW_UNKNOWN_PROTOCOLS||!1,V=t.SAFE_FOR_TEMPLATES||!1,B=t.WHOLE_DOCUMENT||!1,Z=t.RETURN_DOM||!1,J=t.RETURN_DOM_FRAGMENT||!1,Q=!1!==t.RETURN_DOM_IMPORT,tt=t.RETURN_TRUSTED_TYPE||!1,Y=t.FORCE_BODY||!1,et=!1!==t.SANITIZE_DOM,nt=!1!==t.KEEP_CONTENT,ot=t.IN_PLACE||!1,$=t.ALLOWED_URI_REGEXP||$,dt=t.NAMESPACE||pt,V&&(K=!1),J&&(Z=!0),rt&&(F=Zr({},[].concat(bi(si))),j=[],!0===rt.html&&(Zr(F,ti),Zr(j,ci)),!0===rt.svg&&(Zr(F,ei),Zr(j,ai),Zr(j,li)),!0===rt.svgFilters&&(Zr(F,ni),Zr(j,ai),Zr(j,li)),!0===rt.mathMl&&(Zr(F,ri),Zr(j,ui),Zr(j,li))),t.ADD_TAGS&&(F===H&&(F=Jr(F)),Zr(F,t.ADD_TAGS)),t.ADD_ATTR&&(j===z&&(j=Jr(j)),Zr(j,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&Zr(at,t.ADD_URI_SAFE_ATTR),nt&&(F["#text"]=!0),B&&Zr(F,["html","head","body"]),F.table&&(Zr(F,["tbody"]),delete U.tbody),Nr&&Nr(t),ht=t)},vt=Zr({},["mi","mo","mn","ms","mtext"]),bt=Zr({},["foreignobject","desc","title","annotation-xml"]),wt=Zr({},ei);Zr(wt,ni),Zr(wt,oi);var Tt=Zr({},ri);Zr(Tt,ii);var Et=function(t){var e=w(t);e&&e.tagName||(e={namespaceURI:pt,tagName:"template"});var n=Gr(t.tagName),o=Gr(e.tagName);if(t.namespaceURI===ft)return e.namespaceURI===pt?"svg"===n:e.namespaceURI===lt?"svg"===n&&("annotation-xml"===o||vt[o]):Boolean(wt[n]);if(t.namespaceURI===lt)return e.namespaceURI===pt?"math"===n:e.namespaceURI===ft?"math"===n&&bt[o]:Boolean(Tt[n]);if(t.namespaceURI===pt){if(e.namespaceURI===ft&&!bt[o])return!1;if(e.namespaceURI===lt&&!vt[o])return!1;var r=Zr({},["title","style","font","a","script"]);return!Tt[n]&&(r[n]||!wt[n])}return!1},St=function(t){Ur(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=S}catch(e){t.remove()}}},kt=function(t,e){try{Ur(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){Ur(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!j[t])if(Z||J)try{St(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Pt=function(t){var e=void 0,n=void 0;if(Y)t="<remove></remove>"+t;else{var o=Wr(t,/^[\r\n\t ]+/);n=o&&o[0]}var i=E?E.createHTML(t):t;if(dt===pt)try{e=(new m).parseFromString(i,"text/html")}catch(t){}if(!e||!e.documentElement){e=P.createDocument(dt,"template",null);try{e.documentElement.innerHTML=mt?"":i}catch(t){}}var s=e.body||e.documentElement;return t&&n&&s.insertBefore(r.createTextNode(n),s.childNodes[0]||null),B?e.documentElement:s},_t=function(t){return _.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},xt=function(t){return!(t instanceof p||t instanceof d)&&!("string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof f&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},Ot=function(t){return"object"===(void 0===c?"undefined":vi(c))?t instanceof c:t&&"object"===(void 0===t?"undefined":vi(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Lt=function(t,e,o){M[t]&&jr(M[t],(function(t){t.call(n,e,o,ht)}))},Mt=function(t){var e=void 0;if(Lt("beforeSanitizeElements",t,null),xt(t))return St(t),!0;if(Wr(t.nodeName,/[\u0080-\uFFFF]/))return St(t),!0;var o=Gr(t.nodeName);if(Lt("uponSanitizeElement",t,{tagName:o,allowedTags:F}),!Ot(t.firstElementChild)&&(!Ot(t.content)||!Ot(t.content.firstElementChild))&&Br(/<[/\w]/g,t.innerHTML)&&Br(/<[/\w]/g,t.textContent))return St(t),!0;if(!F[o]||U[o]){if(nt&&!it[o]){var r=w(t)||t.parentNode,i=b(t)||t.childNodes;if(i&&r)for(var s=i.length-1;s>=0;--s)r.insertBefore(g(i[s],!0),v(t))}return St(t),!0}return t instanceof a&&!Et(t)?(St(t),!0):"noscript"!==o&&"noembed"!==o||!Br(/<\/no(script|embed)/i,t.innerHTML)?(V&&3===t.nodeType&&(e=t.textContent,e=Kr(e,A," "),e=Kr(e,D," "),t.textContent!==e&&(Ur(n.removed,{element:t.cloneNode()}),t.textContent=e)),Lt("afterSanitizeElements",t,null),!1):(St(t),!0)},At=function(t,e,n){if(et&&("id"===e||"name"===e)&&(n in r||n in yt))return!1;if(K&&Br(N,e));else if(W&&Br(R,e));else{if(!j[e]||G[e])return!1;if(at[e]);else if(Br($,Kr(n,I,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==qr(n,"data:")||!st[t]){if(q&&!Br(C,Kr(n,I,"")));else if(n)return!1}else;}return!0},Dt=function(t){var e=void 0,o=void 0,r=void 0,i=void 0;Lt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j};for(i=s.length;i--;){var a=e=s[i],u=a.name,l=a.namespaceURI;if(o=Vr(e.value),r=Gr(u),c.attrName=r,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Lt("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(kt(u,t),c.keepAttr))if(Br(/\/>/i,o))kt(u,t);else{V&&(o=Kr(o,A," "),o=Kr(o,D," "));var f=t.nodeName.toLowerCase();if(At(f,r,o))try{l?t.setAttributeNS(l,u,o):t.setAttribute(u,o),zr(n.removed)}catch(t){}}}Lt("afterSanitizeAttributes",t,null)}},Nt=function t(e){var n=void 0,o=_t(e);for(Lt("beforeSanitizeShadowDOM",e,null);n=o.nextNode();)Lt("uponSanitizeShadowNode",n,null),Mt(n)||(n.content instanceof i&&t(n.content),Dt(n));Lt("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t,r){var s=void 0,a=void 0,u=void 0,l=void 0,f=void 0;if((mt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ot(t)){if("function"!=typeof t.toString)throw Xr("toString is not a function");if("string"!=typeof(t=t.toString()))throw Xr("dirty is not a string, aborting")}if(!n.isSupported){if("object"===vi(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof t)return e.toStaticHTML(t);if(Ot(t))return e.toStaticHTML(t.outerHTML)}return t}if(X||gt(r),n.removed=[],"string"==typeof t&&(ot=!1),ot);else if(t instanceof c)1===(a=(s=Pt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?s=a:s.appendChild(a);else{if(!Z&&!V&&!B&&-1===t.indexOf("<"))return E&&tt?E.createHTML(t):t;if(!(s=Pt(t)))return Z?null:S}s&&Y&&St(s.firstChild);for(var p=_t(ot?t:s);u=p.nextNode();)3===u.nodeType&&u===l||Mt(u)||(u.content instanceof i&&Nt(u.content),Dt(u),l=u);if(l=null,ot)return t;if(Z){if(J)for(f=x.call(s.ownerDocument);s.firstChild;)f.appendChild(s.firstChild);else f=s;return Q&&(f=O.call(o,f,!0)),f}var d=B?s.outerHTML:s.innerHTML;return V&&(d=Kr(d,A," "),d=Kr(d,D," ")),E&&tt?E.createHTML(d):d},n.setConfig=function(t){gt(t),X=!0},n.clearConfig=function(){ht=null,X=!1},n.isValidAttribute=function(t,e,n){ht||gt({});var o=Gr(t),r=Gr(e);return At(o,r,n)},n.addHook=function(t,e){"function"==typeof e&&(M[t]=M[t]||[],Ur(M[t],e))},n.removeHook=function(t){M[t]&&zr(M[t])},n.removeHooks=function(t){M[t]&&(M[t]=[])},n.removeAllHooks=function(){M={}},n}();const Si=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-controls","aria-describedby","aria-disabled","aria-readonly","aria-dropeffect","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-disabled","aria-invalid","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role","target"],ki=["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern","use"],Pi=P(ki,["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","body","br","button","caption","canvas","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","dir","div","dl","dt","em","fieldset","figure","figcaption","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","i","iframe","img","input","ins","keygen","kbd","label","legend","li","map","mark","menu","meter","nav","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_i={ADD_ATTR:Si,ALLOWED_TAGS:Pi,IN_PLACE:!0},xi={ADD_ATTR:Si,ALLOWED_TAGS:ki,RETURN_DOM_FRAGMENT:!0,SANITIZE_DOM:!1},Oi={ADD_ATTR:Si,ALLOWED_TAGS:(Li=Pi,Mi=t=>!_(["iframe"],t),t(d,Li,[Mi])),SANITIZE_DOM:!1};var Li,Mi;const Ai=new ae;function Di(e,n){let o=ue(Ai,e);return o||(o=Ei(),o.setConfig(e),n&&function(e,n){t(Tt,e,[n])}(n,((t,e)=>{o.addHook(e,t)})),le(Ai,e,o),o)}const Ni=["href","xlink:href"],Ri=new kt([["uponSanitizeAttribute",function(e,n,o){const{attrValue:r,attrName:i}=n,s=function(e){return Vt(t(En,e,w))}(e);r&&"USE"===s&&_(Ni,i)&&(n.attrValue=Xi(r));return n}],["uponSanitizeElement",function(t,e,n){const{allowedTags:o,tagName:r}=e;!o[r]&&zi.test(r)&&(o[r]=!0)}]]),Ci=["http:","https:"],{document:Ii}=window,$i=Ce(Ii,"template"),Fi=Ce(Ii,"a"),Hi=new oe,ji=/[^a-z0-9]+/gi,zi=/^[a-z]([-_.\w])*-([-.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u37D0\u37F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u10000-\uEFFFF])*/;function Ui(e,n){if(ie(Hi,n.normalizedUrl)){const o=function(e,...n){return t(or,e,n)}(window,(()=>{var r;ie(Hi,n.normalizedUrl)||(Wi(e,n),r=window,t(Jo,r,[o]))}),50)}else Wi(e,n)}function Gi(e){const n=function(t){const e=Ce(Ii,"div");return ln(e,"style","display:none"),ln(e,"id",t),Pn(Re(Ii),e),e}(e.normalizedUrl);re(Hi,e.normalizedUrl);const o=new ur;Zn(o,"load",(()=>{if(200===br(o)){const s=Ji(gr(o));if(e.requestedFragment){const n=function(e,n){return t(Wn,e,[n])}(s,e.requestedFragment);n&&ln(n,"id",e.normalizedFragment)}Pn(n,s),r=Hi,i=e.normalizedUrl,t(ee,r,[i])}var r,i})),yr(o,"GET",e.requestedUrl),vr(o)}function Wi(t,e){const{normalizedFragment:n,requestedFragment:o}=e;let r=sn(t,`#${n}`);if(!r)try{r=sn(t,`#${o}`),ln(r,"id",n)}catch(t){}}function Ki(){return Di(Oi,Ri)}function qi(){return Di(xi,Ri)}function Vi(t){on($i,t);const e=hn($i);return Di(_i,Ri).sanitize(e),nn($i)}function Bi(e){const n=Vi(rn(Ie(e))),o=function(e,...n){return t(Kn,e,n)}(function(e){return t(De,e,w)}(e),"http://www.w3.org/1999/xhtml","html");return on(Ie(o),n),o}function Xi(e){if(Kt(e,"#"))return e;const n=function(t){io(Fi,t);const e=ro(Fi),n=so(Fi),[o,r]=Wt(e,"#"),i=Ut(qt(o),ji,"");return{normalizedFragment:r?`${i}_${Ut(r,ji,"")}`:"",normalizedUrl:i,protocol:n,requestedFragment:r,requestedUrl:o}}(e);if(_(Ci,n.protocol)){const e=(o=Ii,r=n.normalizedUrl,t(Oe,o,[r]));return e&&n.normalizedFragment?Ui(e,n):e||Gi(n),n.requestedFragment?`#${n.normalizedFragment}`:`#${n.normalizedUrl}`}var o,r;return e}function Yi(e){return function(e,...n){return t(xe,e,n)}(e,"http://www.w3.org/2000/svg","svg")}function Zi(e,n=""){let o;const r="string"==typeof e?Ii:t(Sn,e,w);const i=function(e,n=""){return t(Pe,e,[n])}(r,"");if("string"==typeof e)n=e,o=Yi(r);else{const n=t(Ge,e,["svg"]);o=n?function(e,n=!1){return t(gn,e,[n])}(n,!1):Yi(r)}Pn(o,i);const s=function(e){return t(wn,e,w)}(Ji(Ut(rn(o),"\x3c!----\x3e",n)));return nn(s)}function Ji(t){return qi().sanitize(t)}function Qi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function ts(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qi(Object(n),!0).forEach((function(e){es(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function es(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const ns=["define"],os={__proto__:null},rs=[],is=Symbol("@@HasLockerElementAttributeDistortion");function ss(e,n,o,r,i){const s=e[o]||{__proto__:null},c=s[r]||new kt;t(St,c,[n,i]),s[r]=c,e[o]=s}function cs(e,n,o,r){if(!(is in e))return;const i=os[n][o=qt(o)];if(!i)return;const s=i[r];if(!s)return;const c=t(wt,s,w);for(const t of c){const n=t[0],o=t[1];if(e instanceof n)return o}}function as(t){return null==t||""===t?"default":t}function us(t,e){const{prototype:n}=t;O(rs,(o=>{const{attributeNamespace:r,distortion:i}=e,s=qt(e.attributeName);return ss(o,t,s,r,i),is in n||a(n,is,{__proto__:null,value:void 0}),null}))}function ls(t,e){return function(n){return[it(t,e),function(){throw new ut(`Cannot access ${e}.`)}]}}function fs(t,e){return function(n){return[ot(t,e),function(){throw new ut(`Cannot access ${e}.`)}]}}function ps(t,e){return function(n){return[rt(t,e),function(){throw new ut(`Cannot access ${e}.`)}]}}function ds(t,e){const n=function(t){if(jt(t,"$lockerEvalContext$"))return t;let e=!1;return t=Ut(t,/\b(?:document|self|window)\.location(\s*[?*/%&^|+-]*=(?=[^=]))?/g,((t,n)=>(e=!0,n?`uncompiledLocation$LWS‍.href${n}`:"uncompiledLocation$LWS‍"))),e&&(t=`const { uncompiledLocation$LWS‍ } = $lockerEvalContext$;${t}`),t}(t),o=`\n {\n const { $evaluator$ } = document.currentScript;\n const text = decodeURIComponent(\`${tr(n)}\`);\n delete document.currentScript.$evaluator$;\n $evaluator$('${Bt(e)}', text, { uncompiledLocation$LWS‍: location });\n }`;return zo(new $n([o],{type:"text/javascript"}))}function ms(e,n,o){const{evaluator:r,key:i}=n,s=Ce(document,"a");return function(n){const c=n;const u="http://www.w3.org/1999/xhtml"===t(en,this,w)?"":Mo;if(""===n)return void dn(this,u,e,n);io(s,n),n=ro(s);o(this)[`distorted${function(t){const{length:e}=t;if(!e)return t;const n=Vt(t[0]);return 1===e?n:n+Gt(t,1)}(e)}`]=c;const l=oo(s),f=new ur;zt(l,kr)&&function(e,n){t(mr,e,[n])}(f,!0),Zn(f,"load",(()=>{const t=br(f);if(200===t){const t=gr(f);a(this,"$evaluator$",{__proto__:null,configurable:!0,value:r}),dn(this,u,e,ds(t,i))}else 404===t&&dn(this,u,e,"blob:http://localhost/not-found")})),yr(f,"GET",n),vr(f)}}function hs(t,e){const n=[];for(let o=0,r=e.length;o<r;o+=1){const r=e[o],i=l(t,r);if(i){const{get:e,set:o,value:s}=i;"function"==typeof s?O(n,ls(t,r)):"function"==typeof e&&(O(n,fs(t,r)),"function"==typeof o&&O(n,ps(t,r)))}}return n}function ys(t,e,n="default"){for(let o=0,r=e.length;o<r;o+=1){const r=e[o];us(t,{attributeName:r,attributeNamespace:n,distortion(){throw new ut(`Attribute "${r}" not allowed on ${t.name}`)}})}}function gs(n,o){return"function"==typeof n&&"function"==typeof o?function(n,o){const r=new st(o,B({apply:(e,o,i)=>(o===r&&(o=n),t(n,o,i)),construct:(t,o,i)=>(i===r&&(i=n),e(n,o,i))}));return r}(n,o):n}function vs(e,n,o,r){return function(...i){const s=n.startActivity(o,{sandboxKey:r});let c;try{c=t(e,this,i)}finally{s.stop()}return c}}function bs(t,e){if(I(t)){const n=$(t);n.name=$e(n.name,e),t=n}else t=$e(t,e);return t}var ws;function Ts(t,e){const n=Fe(e);if(!Kt(t,n))return null;const{length:o}=n;return Gt(t,61===Ht(t,o)?o+1:o)}function Es(t,e){if(t){const n=Ts(t.name,e);if(null===n)return null;t.name=n}return t}!function(t){t[t.strict=0]="strict",t[t.lax=1]="lax",t[t.none=2]="none"}(ws||(ws={}));const Ss={__proto__:null};function ks(t,e,n){const{key:o}=n,r=Ss[o];if(!r||!r[e])return!1;const{constructor:i}=t;return ie(r[e],i)}function Ps(t,e,n){const{prototype:o}=t;if(!ks(o,e,n)){var r;const{key:o}=n,i=null!==(r=Ss[o])&&void 0!==r?r:{__proto__:null},s=i[e]||new oe;re(s,t),i[e]=s,Ss[o]=i}}const _s=/(^|,)(\s*noopener\s*=\s*(?:yes|1)\s*)(,|$)/g;function xs(t){const e=Qt(t,[Jt,Jt,Bt]);if(e.length>2){let t=qt(e[2]);Zt(_s,t)&&(_s.lastIndex=0,t=Ut(t,_s,((t,e,n,o)=>`${e}noopener${o}`))),e[2]=t}return e}const Os=new ae;function Ls(e,n,o,r){const i=ue(Os,n);if(i){const{key:e}=r,n=cs(i,e,ye(o),as(ge(o)));if(n){const e=be(o);return t(n,i,[e])}}return t(e,n,[o])}function Ms(t){return t=Bt(t),qt(Bt(t))}function As(t){try{return be(t),t}catch(t){return}}function Ds(e){const n=function(e){return t(Xn,e,w)}(e),o=t(Bn,e,w),r=function(e,...n){return t(h,e,n)}(o,n);let i=o;for(let t=r;t>-1;t-=1){if(o[t]instanceof ShadowRoot){i=L(o,t+1);break}}return i}const Ns=/import/i,Rs='HTMLLinkElement does not allow setting "rel" property to "import" value.';function Cs(t){return!Zt(Ns,t)}function Is(t,e){return`${t}${e}`}function $s(t,e){const n=Z(t),o=[];for(let t=0,r=n.length;t<r;t+=1){const r=n[t];Kt(r,e)&&O(o,r)}return o}const Fs=new WeakMap;function Hs(t){const e=ue(Fs,t);if(void 0===e)throw new ut("Illegal invocation");return e}function js(e){return new Proxy(e,{get(t,e,n){const{storage:o,storageRootKey:s}=Hs(t);if("symbol"==typeof e)return r(t,e,n);const c=Is(s,Bt(e));if(nt(o,c))return r(o,c);const a=i(t);return null===a?void 0:r(a,e,n)},set(e,n,o){const{storage:r,storageRootKey:i}=Hs(e);if("symbol"==typeof n)return s(e,n,o);const c=Is(i,Bt(n));return t($o,r,[c,o]),!0},defineProperty(t,e,n){const{storage:o,storageRootKey:r}=Hs(t),i=F(n);if("symbol"==typeof e)return a(t,e,i);const s=Is(r,Bt(e));return a(o,s,i)},deleteProperty(t,e){const{storage:o,storageRootKey:r}=Hs(t);if("symbol"==typeof e)return n(t,e);const i=Is(r,Bt(e));return n(o,i)},getOwnPropertyDescriptor(t,e){const{storage:n,storageRootKey:o}=Hs(t);if("symbol"==typeof e)return l(t,e);const r=Is(o,Bt(e));return l(n,r)},ownKeys(t){const{storage:e,storageRootKey:n}=Hs(t),o=function(t,e){const{length:n}=t,o=new T(n);for(let r=0;r<n;r+=1){const n=t[r];o[r]=Ut(n,e,"")}return o}($s(e,n),n);return P(o,Y(t))},has(t,e){const{storage:n,storageRootKey:r}=Hs(t);if("symbol"==typeof e)return o(t,e);if(nt(n,Is(r,Bt(e))))return!0;const s=i(t);return null!==s&&o(s,e)},preventExtensions:t=>!1})}class zs{constructor(){throw new ut("Illegal constructor")}get length(){const{storage:t,storageRootKey:e}=Hs(this);return $s(t,e).length}key(e){const{storage:n,storageRootKey:o}=Hs(this),r=arguments;if(r.length){const t=$s(n,o),e=t[r[0]],i=t[0],s=e||i;return void 0===s?null:Ut(s,o,"")}return t(Ro,n,r)}getItem(e){const{storage:n,storageRootKey:o}=Hs(this);let r=arguments;return r.length&&(r=Qt(r,[Bt]),r[0]=Is(o,r[0])),t(Co,n,r)}setItem(e,n){const{storage:o,storageRootKey:r}=Hs(this);let i=arguments;i.length>1&&(i=Qt(i,[Bt,Bt]),i[0]=Is(r,i[0])),t($o,o,i)}removeItem(e){const{storage:n,storageRootKey:o}=Hs(this);let r=arguments;r.length&&(r=Qt(r,[Bt]),r[0]=Is(o,r[0])),t(Io,n,r)}clear(){const{storage:e,storageRootKey:n}=Hs(this),o=$s(e,n);for(let n=0,r=o.length;n<r;n+=1){const r=o[n];t(Io,e,[r])}}}const{clear:Us,getItem:Gs,key:Ws,removeItem:Ks,setItem:qs}=zs.prototype,Vs=ot(zs.prototype,"length");function Bs(t){return function(e,n){const o=e[t];if(null==o)return null;const{key:r}=n;return[o,function(t,e){const n={__proto__:zs.prototype};ht(n);const o=js(n),r={proxy:o,storage:t,storageRootKey:e};return le(Fs,o,r),le(Fs,n,r),o}(o,`LSKey[${r}]`)]}}const Xs=Bs("localStorage"),Ys=Bs("sessionStorage");function Zs(t){return function(e){const{SVGUseElement:n}=e;return us(n,{attributeName:t,attributeNamespace:Mo,distortion:function(e){const n=null==e||""===e?e:Xi(e);dn(this,Mo,t,n)}}),null}}const Js=Zs("href"),Qs=Zs("xlink:href"),tc=["application/octet-stream","application/json","application/pdf","video/","audio/","image/","font/","text/plain","text/markdown","application/zip","application/x-bzip","application/x-rar-compressed","application/x-tar"],ec=/^[a-z]+\/[a-z+-]+$/,nc=["text/html","image/svg+xml","text/xml"];const oc=[function(t){const{Document:e}=t;return[rt(e.prototype,"domain"),function(){throw new ut("Cannot set document.domain.")}]},function(e){const{Document:n}=e,{execCommand:o}=n.prototype;return[o,function(...e){if(e.length>2){const t=e[2];if(null!=t){"inserthtml"===qt((e=Qt(e,[Bt]))[0])&&(e[2]=Vi(e[2]))}}return t(Ne,this,e)}]},function(e){const{Document:n}=e,o=it(n.prototype,"open");return[o,function(...e){if(e.length>=3){const n=xs(e);return ir(t(o,this,n))}return t(o,this,e)}]},function(e){const{DOMParser:n}=e,{parseFromString:o}=n.prototype;return[o,function(...e){return(e=Qt(e,[Bt])).length>=2&&(e[0]="image/svg+xml"===e[1]?Zi(e[0]):Vi(e[0])),t(qn,this,e)}]},function(e){const{Element:n}=e,{attachShadow:o}=n.prototype;return[o,function(...e){if(e.length){const t=e[0];if(null!=t){const{mode:n}=t;if("closed"!==n)throw new ut("Shadow root mode cannot be 'open'");const o=ts(ts({},t),{},{mode:n}),r=i(t);c(o,r),e[0]=o}}return t(He,this,e)}]},function(e){const{Element:n}=e;return[ot(n.prototype,"attributes"),function(){const e=t(tn,this,w);return le(Os,e,this),e}]},function(t){const{Element:e,SVGElement:n}=t,o=rt(e.prototype,"innerHTML"),{isSharedElement:r}=Nn(t);return[o,function(t){if(r(this))throw new ut(`Cannot set innerHTML of ${this.nodeName}.`);on(this,t=this instanceof n?Zi(this,t):Vi(t))}]},function(e){const{Element:n}=e,o=rt(n.prototype,"outerHTML"),{isSharedElement:r}=Nn(e);return[o,function(e){if(r(this))throw new ut(`Cannot set outerHTML of ${this.nodeName}.`);!function(e,n){t(Qe,e,[n])}(this,e=Vi(e))}]},function(e){const{Element:n}=e,{insertAdjacentHTML:o}=n.prototype,{isSharedElement:r}=Nn(e);return[o,function(...e){if(r(this))throw new ut(`Cannot insert adjacent HTML to ${this.nodeName}.`);e.length>1&&(e[1]=Vi(e[1])),t(o,this,e)}]},function(e){const{Element:n}=e,{remove:o}=n.prototype,{isSharedElement:r}=Nn(e);return[o,function(){if(r(this))throw new ut(`Cannot remove ${this.nodeName}.`);t(o,this,w)}]},function(e){const{Element:n}=e,{replaceChildren:o}=n.prototype,{isSharedElement:r}=Nn(e);return[o,function(...e){if(r(this))throw new ut(`Cannot replace children of ${this.nodeName}.`);return t(o,this,e)}]},function(e){const{Element:n}=e,{replaceWith:o}=n.prototype,{isSharedElement:r}=Nn(e);return[o,function(...e){if(r(this))throw new ut(`Cannot replace ${this.nodeName}.`);return t(o,this,e)}]},function(t){const{Element:e}=t;return[ot(e.prototype,"shadowRoot"),function(){return null}]},function(t){const{Event:e}=t,{composedPath:n}=e.prototype;return[n,function(){return Ds(this)}]},function(t){const{Event:e}=t,n=ot(e.prototype,"path");return n?[n,function(){return Ds(this)}]:null},function(e,n){const{EventTarget:o}=e,{addEventListener:r}=o.prototype;return[r,function(...e){const{length:o}=e;if(o>1){const{0:t}=e;if(ks(this,t,n)){var i,s;const e=l(this.constructor,"name");let n;e&&(n=F(e));const o=Bt(null!==(i=null===(s=n)||void 0===s?void 0:s.value)&&void 0!==i?i:"");let r=`Cannot add '${t}' event listener`;throw o&&(r+=` to ${o} object`),new ut(`${r}.`)}}return t(r,this,e)}]},function(t){const{HTMLElement:e}=t,n=ot(e.prototype,"dataset");return[n,function(){return gt(n,this)}]},function(t){const{HTMLElement:e}=t,n=rt(e.prototype,"innerText"),{isSharedElement:o}=Nn(t);return n?[n,function(t){if(o(this))throw new ut(`Cannot set innerText of ${this.nodeName}.`);po(this,t)}]:null},function(t){const{HTMLElement:e}=t,n=rt(e.prototype,"outerText"),{isSharedElement:o}=Nn(t);return n?[n,function(t){if(o(this))throw new ut(`Cannot set outerText of ${this.nodeName}.`);mo(this,t)}]:null},function(t){const{HTMLElement:e}=t;return[ot(e.prototype,"style"),function(){const t=ho(this);return yt(t)?t:(Fo&&!nt(t,vt)&&function(t){a(t,vt,{__proto__:null,value:void 0})}(t),ht(t))}]},function(e){const{HTMLFrameElement:n}=e;return[ot(n.prototype,"contentDocument"),function(){return t(yo,this,w),null}]},function(e){const{HTMLFrameElement:n}=e;return[ot(n.prototype,"contentWindow"),function(){return ir(t(go,this,w))}]},function(e){const{HTMLIFrameElement:n}=e,o=rt(n.prototype,"src");function r(e){const n=(io(Sr,e),xr(ro(Sr)));if(!function(t,e=wr){return io(Sr,t),_(e,so(Sr))}(n))throw new ut("HTMLIFrameElement.src supports http://, https:// schemes and relative urls.");!function(e,n){t(wo,e,[n])}(this,n)}return us(n,{attributeName:"src",attributeNamespace:"default",distortion:r}),[o,r]},function(e){const{HTMLIFrameElement:n}=e;return[ot(n.prototype,"contentDocument"),function(){return t(vo,this,w),null}]},function(t){const{HTMLIFrameElement:e}=t;return[ot(e.prototype,"contentWindow"),function(){return ir(To(this))}]},function(e){const{HTMLLinkElement:n}=e,o=rt(n.prototype,"rel");function r(e){Cs(e=Bt(e))?function(e,n){t(Eo,e,[n])}(this,e):console.warn(Rs)}return us(n,{attributeName:"rel",attributeNamespace:"default",distortion:r}),[o,r]},function(e){const{DOMTokenList:n,HTMLLinkElement:o}=e;return[rt(o.prototype,"relList"),function e(o){const r=e instanceof n?t(Vn,o,w):Bt(o);Cs(r)?function(e,n){t(So,e,[n])}(this,r):console.warn(Rs)}]},function(e){const{HTMLObjectElement:n}=e;return[ot(n.prototype,"contentDocument"),function(){return t(ko,this,w),null}]},function(t){const{HTMLObjectElement:e}=t,n=ot(e.prototype,"contentWindow");return n?[n,function(){return ir(_o(this))}]:null},function(e){const{HTMLScriptElement:n}=e;return[ot(n.prototype,"src"),function(){return function(t){const e=it(fo(t),"distortedSrc");return void 0===e?"":e}(this)||t(xo,this,w)}]},function(e){const{MessageEvent:n}=e;return[ot(n.prototype,"source"),function(){const e=t(Lo,this,w);return"[object Window]"===Bt(e)?ir(e):e}]},function(t){const{Navigator:e}=t,n=ot(e.prototype,"serviceWorker");return n?[n,function(){}]:null},function(e){const{Node:n}=e,o=rt(n.prototype,"textContent"),{isSharedElement:r}=Nn(e);return[o,function(e){if(r(this))throw new ut(`Cannot set textContent of ${this.nodeName} elements.`);!function(e,n){t(kn,e,[n])}(this,e=Bt(e))}]},function(e){const{Range:n}=e,{createContextualFragment:o}=n.prototype;return[o,function(...e){if(e.length){const t=e[0];null!=t&&(e=Qt(e,[Vi]))}return t(Ao,this,e)}]},function(t){const{ServiceWorkerContainer:e}=t;let n;return"function"!=typeof e?null:(n=e.prototype,[n,at(n)])},function(e){const{ShadowRoot:n}=e;return[rt(n.prototype,"innerHTML"),function(e){!function(e,n){t(No,e,[n])}(this,Vi(e))}]},function(t){const{ShadowRoot:e}=t;return[ot(e.prototype,"mode"),function(){return"closed"}]},function(t){const{SharedWorker:e}=t;let n;return"function"!=typeof e?null:(n=e,[n,function(t){throw new ut(`Cannot create SharedWorker with ${t}.`)}])},function(t){const{SharedWorker:e}=t;let n;return"function"!=typeof e?null:(n=e.prototype,[n,at(n)])},function(t){const{Storage:e}=t;return[ot(e.prototype,"length"),Vs]},function(t){const{Storage:e}=t,{getItem:n}=e.prototype;return[n,Gs]},function(t){const{Storage:e}=t,{setItem:n}=e.prototype;return[n,qs]},function(t){const{Storage:e}=t,{key:n}=e.prototype;return[n,Ws]},function(t){const{Storage:e}=t,{removeItem:n}=e.prototype;return[n,Ks]},function(t){const{Storage:e}=t,{clear:n}=e.prototype;return[n,Us]},function(t){const{Storage:e}=t;return[e,zs]},function(t){const{SVGElement:e}=t,n=ot(e.prototype,"dataset");return[n,function(){return gt(n,this)}]},Js,Qs,function(e){const{URL:n}=e,{createObjectURL:o}=n,{isEqualDomString:r,isMediaSourceObject:i}=Nn(e);return[o,function(e){let n=zo(e);if(i(e))return n;const o=qt(t(In,e,w));if(""===o)return zo(Fn(e,0,void 0,"text/plain"));if(_(nc,o)){const i=Fn(e,0,function(e){return t(Rn,e,w)}(e),`${o};charset=utf-8`);Uo(n),n=zo(i);const s=new ur;yr(s,"GET",n,!1),vr(s);const c=Ki(),a=gr(s),u=c.sanitize(a);if(!r(a,u))throw Uo(n),new ut(`Cannot "createObjectURL" using a unsecure ${e}!`);return n}if(function(t){if(Zt(ec,t))for(let e=0,n=tc.length;e<n;e+=1)if(Kt(t,tc[e]))return!0;return!1}(o))return n;throw Uo(n),new ut("Unsupported MIME type.")}]},function(e,n){const{fetch:o}=e;let r=function(...e){let n=e[0];if(null!=n){let o;if(n instanceof Request)o=_r(t(Do,n,w));else{o=_r(Bt(n)),n=o.normalizedURL,e[0]=n}if(Pr(o)){return xt(new ut(`Cannot request disallowed endpoint: ${n}`))}}return t(er,this,e)};return n.instrumentation&&(r=vs(r,n.instrumentation,"Window.fetch-distortion",n.key)),[o,r]},function(t){const e=ot(t,"frames");if(void 0===e)return null;let n;return[e,function(){if(!n){const e=/^0$|^[1-9][0-9]*$/,s=i(t),a=i(s),u=e=>{if(d(e)){const n=it(t,e);if(p(n))return ir(n)}},l=e=>{if("string"==typeof e&&!nt(t,e)&&!nt(s,e)){const t=it(a,e);if(p(t))return ir(t)}},f=e=>"length"===e?ar(t):d(e)?u(e):void 0,p=e=>void 0!==e&&e!==t&&sr(e)&&cr(e),d=n=>Zt(e,n)&&n<ar(t);class m{defineProperty(t,e,n){return!1}deleteProperty(t,e){return!1}getOwnPropertyDescriptor(t,e){}isExtensible(t){return!0}ownKeys(t){return[]}preventExtensions(t){return!0}set(t,e,n,o){return!1}setPrototypeOf(t){return!1}}c(m.prototype,null),B(m.prototype);class h extends m{get(t,e,n){const o=f(e);return void 0!==o?o:r(t,e,n)}getOwnPropertyDescriptor(t,e){if("length"===e)return{get:()=>f("length"),set(t){},configurable:!0,enumerable:!0};const n=d(e)?u(e):void 0;return n?{value:n,configurable:!0,enumerable:!0,writable:!1}:void 0}has(t,e){return void 0!==f(e)||o(t,e)}ownKeys(){const{length:e}=t,n=T(e+1);for(let t=0;t<e;t+=1)n[t]=`${t}`;return n[e]="length",n}}class y extends m{}class g extends y{get(t,e,n){const o=l(e);return void 0===o?r(t,e,n):o}getOwnPropertyDescriptor(t,e){const n=l(e);if(n)return{value:n,configurable:!0,enumerable:!0,writable:!1}}has(t,e){return void 0!==l(e)||o(t,e)}ownKeys(){const t=[],e=H(V(a));c(e,null);for(const n in e)"string"==typeof n&&p(e[n].value)&&O(t,n);return t}}const v={},b={},w={},E=B(new h),S=B(new y),k=B(new g),P=new st(b,S),_=new st(w,k);c(v,P),c(b,_),n=new st(v,E)}return n}]},function(t){const e=ot(t,"length");return void 0===e?null:[e,function(){return 0}]},function(t,e){const{Window:n}=t,o=rt(t,"onstorage");return"function"!=typeof o?null:(Ps(n,"storage",e),[o,function(){throw new ut("Cannot set window.onstorage.")}])},function(e){const{open:n}=e;return[n,function(...e){const n=xs(e);return ir(t(nr,this,n))}]},function(e){const n=ot(e,"opener");return void 0===n?null:[n,function(){return ir(t(Vo,e,w))}]},function(e){const n=ot(e,"parent");return void 0===n?null:[n,function(){return ir(t(Bo,e,w))}]},function(t){const{postMessage:e}=t;return[e,Zo(e,t)]},function(t){const{Worker:e}=t;return[e,function(t){throw new ut(`Cannot create Worker with ${t}`)}]},function(t){const{Worker:{prototype:e}}=t;return[e,at(e)]},function(e,n){const{XMLHttpRequest:o}=e,{open:r}=o.prototype;let i=function(e,n,o,r,i){if(arguments.length<2||null==n)return void t(hr,this,arguments);const s=Qt(arguments,[Jt,Bt]),c=s[1],a=_r(c);if(Pr(a))throw new ut(`Cannot request disallowed endpoint: ${a.normalizedURL}`);s[1]=a.normalizedURL,t(hr,this,s)};return n.instrumentation&&(i=vs(i,n.instrumentation,"XMLHttpRequest.open-value-distortion",n.key)),[r,i]},function(e){const{Document:n,XMLHttpRequest:o}=e,r=ot(o.prototype,"response");return[r,function e(){const o=t(r,this,w);return e instanceof n?Bi(o):o}]},function(e){const{XMLHttpRequest:n}=e,o=ot(n.prototype,"responseXML");return[o,function(){return Bi(t(o,this,w))}]}],rc=[function(e,n){var o,r;const i=null===(o=e.aura)||void 0===o||null===(r=o.util)||void 0===r?void 0:r.globalEval;if(!i)return null;const{evaluator:s,key:c}=n;return[i,function(e,n,o){let r=`(function s(){return(${e})})()`;if("string"==typeof n){const e=function(e){return t(g,e,w)}(Wt(n,"://"));r+=this.sourceComment+("lib"===o?`/libraries/${Ut(e,".","/")}`:`/components/${Ut(e,":","/")}.js`)}return s(c,r)}]},function(e,n){const{Attr:o}=e,{key:r}=n,i=rt(o.prototype,"value");let s=function(e){const n=ve(this);if(n){const o=ye(this),i=as(ge(this)),s=cs(n,r,o,i);if(s)return void t(s,n,[e])}we(this,e)};return n.instrumentation&&(s=vs(s,n.instrumentation,"Attr.value-setter-distortion",n.key)),[i,s]},function(e,n){const{CookieStore:o}=e;if(null==o)return null;const r=it(o.prototype,"delete");if(!r)return null;const{key:i}=n;return[r,function(...e){const n=e.length?e[0]:null;return null!=n&&(e[0]=bs(n,i)),t(jn,this,e)}]},function(e,n){const{CookieStore:o}=e;if(null==o)return null;const r=it(o.prototype,"get");if(!r)return null;const{key:i}=n;return[r,function(...e){const n=e.length?e[0]:null;return null!=n&&(e[0]=bs(n,i)),Ot(t(r,this,e),(t=>Es(t,i)))}]},function(e,n){const{CookieStore:o}=e;if(null==o)return null;const r=it(o.prototype,"getAll");if(!r)return null;const{key:i}=n;return[r,function(...e){const n=e.length?e[0]:null;return null!=n&&(e[0]=bs(e[0],i)),Ot(t(r,this,e),(t=>{const e=[];for(let n=0,{length:o}=t;n<o;n+=1){const o=Es(t[n],i);o&&O(e,o)}return e}))}]},function(t,e){const{CookieStore:n}=t;if(void 0===n)return null;const o=rt(n.prototype,"onchange");return void 0===o?null:(Ps(n,"change",e),[o,function(){throw new ut("Cannot set cookieStore.onchange.")}])},function(e,n){const{CookieStore:o}=e;if(null==o)return null;const r=it(o.prototype,"set");if(!r)return null;const{key:i}=n;return[r,function(...e){if(e.length>1){const t=e[0];e[0]=$e(t,i)}else if(e.length){const t=e[0];if(I(t)){const n=$(t);n.name=$e(n.name,i),e[0]=n}}return t(zn,this,e)}]},function(e,n){const{Document:o}=e,{key:r}=n;return[ot(o.prototype,"cookie"),function(){const e=Wt(t(Se,this,w),"; "),n=[];for(let t=0,{length:o}=e;t<o;t+=1){const o=Ts(e[t],r);o&&O(n,o)}return x(n,"; ")}]},function(e,n){const{Document:o}=e,{key:r}=n;return[rt(o.prototype,"cookie"),function(e){const n=Wt(e,"; ");let{0:o}=n;var i,s;61===Ht(o,0)&&(o=Gt(o,1)),n[0]=$e(o,r),i=this,s=x(n,"; "),t(ke,i,[s])}]},function(e,n){const{key:o}=n,r=qt(o),{CustomElementRegistry:i}=e,{get:s}=i.prototype;return[s,function(e){const n=Qt(arguments,[Bt]),o=n[0],i=qt(o);if(!Kt(i,`${r}-`))throw new ut(`Disallowed name when calling customElements.get() with name "${o}". Only names prefixed with "${r}-" are allowed.`);return t(Gn,this,n)}]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttribute:i}=r.prototype;let s=function(e,n){const r=Qt(arguments,[Ms,Bt]);r.length<2&&t(je,this,r);const[i,s]=r,c=cs(this,o,i,"default");c?t(c,this,[s]):t(je,this,r)};return n.instrumentation&&(s=vs(s,n.instrumentation,"Element.setAttribute-value-distortion",n.key)),[i,s]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttributeNS:i}=r.prototype;return[i,function(...e){if(e.length<3)return void t(ze,this,e);const n=Qt(e,[Xt,Ms,Bt]),r=n[0],i=n[1],s=as(r),c=cs(this,o,i,s);if(c){const e=n[2];t(c,this,[e])}else t(ze,this,n)}]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttributeNode:i}=r.prototype;return[i,function(e){const n=Qt(arguments,[As]),[r]=n;if(null==r)return t(Ue,this,n);if(ve(r))return t(Ue,this,n);const i=ye(r),s=as(ge(r)),c=cs(this,o,i,s);if(!c)return t(Ue,this,n);{const e=cn(this,i);e&&un(this,e);const n=be(r);t(c,this,[n]);const o=cn(this,i);if(o&&un(this,o),e&&fn(this,e),o){return we(r,be(o)),fn(this,r)}}}]},function(e,n){const{key:o}=n,{Element:r}=e,{setAttributeNodeNS:i}=r.prototype;return[i,function(e){if(null==e)return pn(this,e);if(ve(e))return pn(this,e);const n=ge(e),r=ye(e),i=as(n),s=cs(this,o,r,i);if(s){const o=an(this,n,r);o&&un(this,o);const i=Bt(be(e));t(s,this,[i]);const c=an(this,n,r);if(c&&un(this,c),o&&pn(this,o),c){return we(e,be(c)),pn(this,e)}return null}return pn(this,e)}]},function(t,e){const{HTMLScriptElement:n}=t,o=rt(n.prototype,"src"),r=ms("src",e,fo);return us(n,{attributeName:"src",attributeNamespace:"default",distortion:r}),[o,r]},function(t,e){const{NamedNodeMap:n}=t,{setNamedItem:o}=n.prototype;return[o,function(t){return Ls(o,this,t,e)}]},function(t,e){const{NamedNodeMap:n}=t,{setNamedItemNS:o}=n.prototype;return[o,function(t){return Ls(o,this,t,e)}]},function(t,e){const{SVGScriptElement:n}=t;return us(n,{attributeName:"href",attributeNamespace:Mo,distortion:ms("href",e,jo)}),us(n,{attributeName:"xlink:href",attributeNamespace:Mo,distortion:ms("xlink:href",e,jo)}),null},function(e,n){const{evaluator:o,key:r}=n,{setInterval:i}=e;return[i,function(...e){if(e.length){const t=e[0];if(null!=t&&"function"!=typeof t){const n=Bt(t);e[0]=()=>{o(r,n)}}}return t(or,this,e)}]},function(e,n){const{evaluator:o,key:r}=n,{setTimeout:i}=e;let s=function(...e){if(e.length){const t=e[0];if(null!=t&&"function"!=typeof t){const n=Bt(t);e[0]=()=>{o(r,n)}}}return t(rr,this,e)};return n.instrumentation&&(s=vs(s,n.instrumentation,"Window.setTimeout-distortion",n.key)),[i,s]},Xs,Ys],ic=P(oc,[function(e){const{Element:n}=e,{after:o}=n.prototype,{isSharedElement:r,isSharedElementChild:i}=Nn(e);return[o,function(...e){if(r(this))for(let t=0,{length:o}=e;t<o;t+=1){const o=e[t];if(!i(o)){var n;const t=null!==(n=null==o?void 0:o.nodeName)&&void 0!==n?n:toString(o);throw new ut(`Cannot insert ${t} after ${this.nodeName}.`)}}return t(o,this,e)}]},function(e){const{Element:n}=e,{append:o}=n.prototype,{isSharedElement:r,isSharedElementChild:i}=Nn(e);return[o,function(...e){if(r(this))for(let t=0,{length:o}=e;t<o;t+=1){const o=e[t];if(!i(o)){var n;const t=null!==(n=null==o?void 0:o.nodeName)&&void 0!==n?n:Bt(o);throw new ut(`Cannot append ${t} to ${this.nodeName}.`)}}return t(o,this,e)}]},function(e){const{Element:n}=e,{before:o}=n.prototype,{isSharedElement:r,isSharedElementChild:i}=Nn(e);return[o,function(...e){if(r(this))for(let t=0,{length:o}=e;t<o;t+=1){const o=e[t];if(!i(o)){var n;const t=null!==(n=null==o?void 0:o.nodeName)&&void 0!==n?n:toString(o);throw new ut(`Cannot insert ${t} before ${this.nodeName}.`)}}return t(o,this,e)}]},function(e){const{Element:n}=e,{insertAdjacentElement:o}=n.prototype,{isSharedElement:r,isSharedElementChild:i}=Nn(e);return[o,function(...e){if(e.length>1){const t=e[1];if(r(this)&&!i(t))throw new ut(`Cannot insert ${t.nodeName} adjacent to ${this.nodeName}.`)}return t(o,this,e)}]},function(e){const{Element:n}=e,{prepend:o}=n.prototype,{isSharedElement:r,isSharedElementChild:i}=Nn(e);return[o,function(...e){if(r(this))for(let t=0,{length:o}=e;t<o;t+=1){const o=e[t];if(!i(o)){var n;const t=null!==(n=null==o?void 0:o.nodeName)&&void 0!==n?n:toString(o);throw new ut(`Cannot prepend ${t} to ${this.nodeName}.`)}}return t(o,this,e)}]}]),sc=P(rc,[]);P(oc,[]),P(rc,[]);const cc=["createProcessingInstruction","exitFullscreen","fullscreen","fullscreenElement","fullscreenEnabled","mozCancelFullScreen","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","onfullscreenchange","onfullscreenerror","onmozfullscreenchange","onmozfullscreenerror","onrejectionhandled","onsecuritypolicyviolation","onunhandledrejection","releaseCapture","releaseEvents","webkitFullScreenKeyboardInputAllowed","write","writeln"],ac=["mozRequestFullScreen","onfullscreenchange","onfullscreenerror","requestFullscreen","webkitRequestFullScreen","webkitRequestFullscreen"],uc=["nonce","onrejectionhandled","onunhandledrejection"],lc=["getSVGDocument"],fc=["allowpaymentrequest","referrerpolicy","sandbox","srcdoc"],pc=["allowPaymentRequest","csp","featurePolicy","getSVGDocument","referrerPolicy","sandbox","srcdoc"],dc=["getSVGDocument"],mc=["nonce"],hc=new ae;function yc(e,n,o,r,i,s){const{instrumentation:c,verboseInstrumentation:a}=r,u=s(e,{evaluator:o,key:n,instrumentation:a?c:void 0});if(u){const[e,o]=u;if(e){let r=o;if("function"==typeof o){const{error:e}=c;r=function(e,n,o){return function(...r){try{return t(n,this,r)}catch(t){throw o({sandboxKey:e,error:t}),t}}}(n,o,e)}O(i,[e,gs(r,e)])}}}function gc(e,n,o,r){const i=[],s=ue(hc,e);if(s)t(k,i,s);else{const s=function(e){const{Document:n,Element:o,HTMLElement:r,HTMLIFrameElement:i}=e,s=[];return t(k,s,hs(CustomElementRegistry.prototype,ns)),t(k,s,hs(n.prototype,cc)),t(k,s,hs(o.prototype,ac)),t(k,s,hs(r.prototype,uc)),t(k,s,hs(i.prototype,pc)),t(k,s,hs(HTMLEmbedElement.prototype,lc)),t(k,s,hs(HTMLObjectElement.prototype,dc)),t(k,s,hs(HTMLScriptElement.prototype,mc)),ys(i,fc),ys(HTMLScriptElement,mc),s}(e);for(let t=0,c=s.length;t<c;t+=1){yc(e,n,o,r,i,s[t])}for(let t=0,s=ic.length;t<s;t+=1){yc(e,n,o,r,i,ic[t])}le(hc,e,function(t){return L(t,0)}(i))}for(let t=0,s=sc.length;t<s;t+=1){yc(e,n,o,r,i,sc[t])}return t(k,i,function(t){const e={__proto__:null},n=[],{length:o}=rs;for(let t=0;t<o;t+=1){const o=(0,rs[t])(e);null!==o&&O(n,o)}return os[t]=e,n}(n)),i}function vc(t,e,n,o){if("a"===n&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?o:"a"===n?o.call(t):o?o.value:e.get(t)}function bc(t,e,n,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,n):r?r.value=n:e.set(t,n),n}var wc,Tc,Ec,Sc,kc,Pc;let _c=0;class xc{constructor(t,e,n,o=!1){wc.set(this,void 0),Tc.set(this,void 0),Ec.set(this,void 0),Sc.set(this,void 0),kc.set(this,void 0),Pc.set(this,void 0),bc(this,wc,e,"f"),bc(this,Tc,n,"f"),bc(this,Sc,0,"f"),bc(this,kc,0,"f"),bc(this,Pc,o,"f"),bc(this,Ec,!1,"f"),this.activityName=t,this.activityId=`${t}-${_c+=1,M()+_c}`}start(t){vc(this,Pc,"f")&&bc(this,Sc,C(),"f"),"function"==typeof vc(this,wc,"f")&&vc(this,wc,"f").call(this,this,t)}stop(t){vc(this,Pc,"f")&&bc(this,kc,C(),"f"),vc(this,Ec,"f")||"function"!=typeof vc(this,Tc,"f")||vc(this,Tc,"f").call(this,this,t)}error(t){this.stop(t)}get duration(){return vc(this,kc,"f")>vc(this,Sc,"f")?vc(this,kc,"f")-vc(this,Sc,"f"):0}}wc=new WeakMap,Tc=new WeakMap,Ec=new WeakMap,Sc=new WeakMap,kc=new WeakMap,Pc=new WeakMap;const Oc=new class{startActivity(t,e){return new xc(t,void 0,void 0)}log(t){}error(t){}},{setPrototypeOf:Lc}=Reflect;var Mc;function Ac(){const t=`${()=>1}`.includes("*"),e=Symbol.for("@@lockerLiveValue"),n=Symbol.for("@@lockerMagicValue"),{toStringTag:o}=Symbol,r=Symbol.for("@@membraneUndefinedValue"),i=Array,{isArray:s}=i,{isView:c}=ArrayBuffer,a=Object,{defineProperties:u,freeze:l,getOwnPropertyDescriptors:f,isFrozen:p,isSealed:d,prototype:m,seal:h}=a,{hasOwnProperty:y,toString:g}=m,{revocable:v}=Proxy,{apply:b,construct:w,defineProperty:T,deleteProperty:E,get:S,getOwnPropertyDescriptor:k,getPrototypeOf:P,has:_,isExtensible:x,ownKeys:O,preventExtensions:L,set:M,setPrototypeOf:A}=Reflect,{slice:D}=String.prototype,N=TypeError,{get:R,set:C}=WeakMap.prototype,I=console,{warn:$}=I,F=eval,H="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||(T(Object.prototype,"globalThis",{__proto__:null,configurable:!0,get(){return E(Object.prototype,"globalThis"),this||self}}),globalThis);let j,z,U;return function(t){t[t.None=0]="None",t[t.MagicMarker=1]="MagicMarker"}(j||(j={})),A(j,null),function(t){t[t.None=0]="None",t[t.IsNotExtensible=1]="IsNotExtensible",t[t.IsSealed=2]="IsSealed",t[t.IsFrozen=4]="IsFrozen",t[t.Revoked=8]="Revoked"}(z||(z={})),A(z,null),function(t){t[t.None=0]="None",t[t.IsArray=1]="IsArray",t[t.IsFunction=2]="IsFunction",t[t.IsArrowFunction=4]="IsArrowFunction",t[t.IsObject=8]="IsObject",t[t.Revoked=16]="Revoked"}(U||(U={})),A(U,null),function(G,W,K=Mc.None,q,V){const{distortionCallback:B=(t=>t),instrumentation:X}=V||{__proto__:null},Y=new WeakMap,Z=`to:${G}`,J=`from:${G}`,Q=!!(K&j.MagicMarker);let tt,et,nt,ot,rt,it,st,ct,at,ut,lt,ft,pt,dt,mt,ht,yt,gt,vt;function bt(t,e){pt(e,((...e)=>{const n={};for(let t=0,o=e.length;t<o;t+=7){n[e[t]]=wt(e[t+1],e[t+2],e[t+3],e[t+4],e[t+5],e[t+6])}u(t,n)}))}function wt(t,e,n,o,i,s){const c={__proto__:null};return t!==r&&(c.configurable=!!t),e!==r&&(c.enumerable=!!e),n!==r&&(c.writable=!!n),i!==r&&(c.get=Pt(i)),s!==r&&(c.set=Pt(s)),o!==r&&(c.value=Pt(o)),c}function Tt(e){const n=()=>{vt=e};return t&&(n["[[OriginalTarget]]"]=e,n["[[Color]]"]=G),n}function Et(t){return function(...e){try{return b(t,this,e)}catch(t){const e=_t();if(void 0===e)throw new N(null==t?void 0:t.message);throw e}}}function St(t){const e=Ct(t),{configurable:n,enumerable:o,writable:i,value:s,get:c,set:a}=e;return["configurable"in e?!!n:r,"enumerable"in e?!!o:r,"writable"in e?!!i:r,"value"in e?Ot(s):r,"get"in e?Ot(c):r,"set"in e?Ot(a):r]}function kt(t,e){let n=At(t);for(;n;){const t=k(n,e);if(t)return Ct(t);n=P(n)}}function Pt(t){return"function"==typeof t?(t(),_t()):t}function _t(){const t=vt;return vt=void 0,t}function xt(t){let e=b(R,Y,[t]);if(e)return e;const n=function(t){let e;try{return e=B(t),e}finally{if(e!==t&&typeof e!=typeof t)throw new N(`Invalid distortion ${t}.`)}}(t),o=Tt(n),r=function(t){let e=U.None;if("function"==typeof t){e|=U.IsFunction;try{e|=+!("prototype"in t)&&U.IsArrowFunction}catch(t){}}else{let n=!1;try{n=s(t)}catch(t){e|=U.Revoked}e|=+n&&U.IsArray,e|=+!n&&U.IsObject}return e}(n);let i;if("function"==typeof t)try{const e=k(t,"name");if(e){i=Ct(e).value}}catch(t){}return e=tt(o,r,i),b(C,Y,[t,e]),e}function Ot(t){if(void 0!==t)return null===t||"function"!=typeof t&&"object"!=typeof t?t:xt(t)}function Lt(t,e,n){return X?function(...o){const r=X.startActivity(e,{crossingDirection:n});try{return b(t,this,o)}catch(t){throw r.error(t),t}finally{r.stop()}}:t}function Mt(t,e,n){let o;return it(t,n,((t,r,i,s,c,a)=>{o=wt(t,r,i,s,c,a),!1===o.configurable&&T(e,n,o)})),o}function At(t){return Pt(st(t))}function Dt(t,e,o,r,i,s){const c=Mt(t,e,o),a=c||kt(t,o);if(a){if("get"in a||"set"in a){const{set:t}=a;return!!t&&(b(t,i,[r]),!0)}if(!1===a.writable)return!1}let u;if(s)u=c;else{if(null===i||"function"!=typeof i&&"object"!=typeof i)return!1;const t=k(i,o);t&&(u=Ct(t))}return u?!("get"in u)&&!("set"in u)&&!1!==u.writable&&(l=i,Q&&b(y,l,[n])?lt(t,o,Ot(r),xt(i)):T(i,o,{__proto__:null,value:r}),!0):T(i,o,{__proto__:null,configurable:!0,enumerable:!0,value:r,writable:!0});var l}function Nt(t,e){bt(t,e);const n=At(e);A(t,n),L(t)}function Rt(t){const e=Ot(t);return"function"==typeof e&&e(),t}function Ct(t){return A(t,null),t}class It{constructor(e,n,o){this.color=G,this.apply=function(t,e,n){const{foreignTargetPointer:o}=this,r=[o,Ot(e)],{length:i}=n,{length:s}=r;r.length+=i;for(let t=0,e=i;t<e;t+=1){const e=n[t],o=t+s;r[o]=void 0===e?void 0:null===e||"function"!=typeof e&&"object"!=typeof e?e:xt(e)}return Pt(b(et,void 0,r))},this.construct=function(t,e,n){if(void 0===n)throw new N;const{foreignTargetPointer:o}=this,r=[o,Ot(n)],{length:i}=e,{length:s}=r;r.length+=i;for(let t=0,n=i;t<n;t+=1){const n=e[t],o=t+s;r[o]=void 0===n?void 0:null===n||"function"!=typeof n&&"object"!=typeof n?n:xt(n)}return Pt(b(nt,void 0,r))};const r=function(e,n){let o;return e&U.IsFunction?(o=e&U.IsArrowFunction?()=>{}:function(){},t&&T(o,"name",{__proto__:null,configurable:!0,enumerable:!1,value:n,writable:!1})):o=e&U.IsArray?[]:{},o}(n,o),{proxy:i,revoke:s}=v(r,this);this.foreignTargetPointer=e,this.proxy=i,this.revoke=s,this.defineProperty=It.defaultDefinePropertyTrap,this.deleteProperty=It.defaultDeletePropertyTrap,this.isExtensible=It.defaultIsExtensibleTrap,this.getOwnPropertyDescriptor=It.defaultGetOwnPropertyDescriptorTrap,this.getPrototypeOf=It.defaultGetPrototypeOfTrap,this.get=It.defaultGetTrap,this.has=It.defaultHasTrap,this.ownKeys=It.defaultOwnKeysTrap,this.preventExtensions=It.defaultPreventExtensionsTrap,this.setPrototypeOf=It.defaultSetPrototypeOfTrap,this.set=It.defaultSetTrap,n&U.Revoked&&s(),W?n&U.IsArray&&this.makeProxyLive():l(this)}makeProxyLive(){this.defineProperty=It.liveDefinePropertyTrap,this.deleteProperty=It.liveDeletePropertyTrap,this.preventExtensions=It.livePreventExtensionsTrap,this.set=It.liveSetTrap,this.setPrototypeOf=It.liveSetPrototypeOfTrap,l(this)}makeProxyStatic(e){const{foreignTargetPointer:n}=this;if(t)try{gt("Mutations on the membrane of an object originating outside of the sandbox will not be reflected on the object itself:",n)}catch(t){}const o=dt(n);if(o&z.Revoked)this.revoke();else{try{const t=At(n);A(e,t)}catch(t){return void this.revoke()}bt(e,n),o&z.IsFrozen?l(e):o&z.IsSealed?h(e):o&z.IsNotExtensible&&L(e),this.defineProperty=It.staticDefinePropertyTrap,this.deleteProperty=It.staticDeletePropertyTrap,this.get=It.staticGetTrap,this.getOwnPropertyDescriptor=It.staticGetOwnPropertyDescriptorTrap,this.getPrototypeOf=It.staticGetPrototypeOfTrap,this.has=It.staticHasTrap,this.isExtensible=It.staticIsExtensibleTrap,this.ownKeys=It.staticOwnKeysTrap,this.preventExtensions=It.staticPreventExtensionsTrap,this.set=It.staticSetTrap,this.setPrototypeOf=It.staticSetPrototypeOfTrap,l(this)}}makeProxyUnambiguous(t){yt(this.foreignTargetPointer)?this.makeProxyLive():this.makeProxyStatic(t)}static liveDefinePropertyTrap(t,e,n){return function(t,e,n,o){const r=St(o),i=ot(t,n,r[0],r[1],r[2],r[3],r[4],r[5]);return i&&!1===r[0]&&it(t,n,((t,o,r,i,s,c)=>{T(e,n,wt(t,o,r,i,s,c))})),i}(this.foreignTargetPointer,t,e,n)}static liveDeletePropertyTrap(t,e){return function(t,e,n){return rt(t,n)}(this.foreignTargetPointer,0,e)}static liveGetOwnPropertyDescriptorTrap(t,e){return Mt(this.foreignTargetPointer,t,e)}static liveGetPrototypeOfTrap(t){return At(this.foreignTargetPointer)}static liveGetTrap(t,e,n){return function(t,e,n,r){const i=Mt(t,e,n)||kt(t,n);if(i){const{get:t,value:e}=i;return t?b(t,r,[]):e}if(n===o)return mt(t)}(this.foreignTargetPointer,t,e,n)}static liveHasTrap(t,e){return function(t,e){if(ht(t,e))return!0;let n=At(t);for(;n;){if(b(y,n,[e]))return!0;n=P(n)}return!1}(this.foreignTargetPointer,e)}static liveIsExtensibleTrap(t){return function(t,e){if(x(e)){if(ct(t))return!0;Nt(e,t)}return!1}(this.foreignTargetPointer,t)}static liveOwnKeysTrap(t){return function(t){let e;return at(t,((...t)=>{e=t})),e||[]}(this.foreignTargetPointer)}static livePreventExtensionsTrap(t){return function(t,e){if(x(e)){if(!ut(t))return ct(t)||Nt(e,t),!1;Nt(e,t)}return!0}(this.foreignTargetPointer,t)}static liveSetPrototypeOfTrap(t,e){return function(t,e){const n=e?xt(e):e;return ft(t,n)}(this.foreignTargetPointer,e)}static liveSetTrap(t,e,n,o){const r=this.proxy===o;return Dt(this.foreignTargetPointer,t,e,n,o,r)}static pendingDefinePropertyTrap(t,e,n){return this.makeProxyUnambiguous(t),this.defineProperty(t,e,n)}static pendingDeletePropertyTrap(t,e){return this.makeProxyUnambiguous(t),this.deleteProperty(t,e)}static pendingPreventExtensionsTrap(t){return this.makeProxyUnambiguous(t),this.preventExtensions(t)}static pendingSetPrototypeOfTrap(t,e){return this.makeProxyUnambiguous(t),this.setPrototypeOf(t,e)}static pendingSetTrap(t,e,n,o){return this.makeProxyUnambiguous(t),this.set(t,e,n,o)}static staticGetTrap(t,e,n){return e===o?mt(this.foreignTargetPointer):S(t,e,n)}}return It.staticDefinePropertyTrap=T,It.staticDeletePropertyTrap=E,It.staticGetOwnPropertyDescriptorTrap=k,It.staticGetPrototypeOfTrap=P,It.staticHasTrap=_,It.staticIsExtensibleTrap=x,It.staticOwnKeysTrap=O,It.staticPreventExtensionsTrap=L,It.staticSetTrap=M,It.staticSetPrototypeOfTrap=A,It.defaultGetTrap=It.liveGetTrap,It.defaultGetOwnPropertyDescriptorTrap=It.liveGetOwnPropertyDescriptorTrap,It.defaultGetPrototypeOfTrap=It.liveGetPrototypeOfTrap,It.defaultHasTrap=It.liveHasTrap,It.defaultIsExtensibleTrap=It.liveIsExtensibleTrap,It.defaultOwnKeysTrap=It.liveOwnKeysTrap,It.defaultDefinePropertyTrap=W?It.pendingDefinePropertyTrap:It.liveDefinePropertyTrap,It.defaultDeletePropertyTrap=W?It.pendingDeletePropertyTrap:It.liveDeletePropertyTrap,It.defaultPreventExtensionsTrap=W?It.pendingPreventExtensionsTrap:It.livePreventExtensionsTrap,It.defaultSetTrap=W?It.pendingSetTrap:It.liveSetTrap,It.defaultSetPrototypeOfTrap=W?It.pendingSetPrototypeOfTrap:It.liveSetPrototypeOfTrap,A(It.prototype,null),l(It.prototype),q(Tt(H),_t,Ot,((t,e)=>{t();return Tt(_t()[e])}),(t=>{try{return Ot(F(t))}catch(t){throw Rt(t)}}),((t,e)=>{t();const n=_t();b(C,Y,[n,e])}),((t,e,n)=>{const{proxy:o}=new It(t,e,n);return b(C,Y,[o,t]),Tt(o)}),Lt(((t,e,...n)=>{t();const o=vt;vt=void 0;let r=e;"function"==typeof e&&(e(),r=vt,vt=void 0);const{length:s}=n,c=new i(s);for(let t=0,e=s;t<e;t+=1){const e=n[t];let o=e;"function"==typeof e&&(e(),o=vt,vt=void 0),c[t]=o}let a;try{a=b(o,r,c)}catch(t){throw Rt(t)}if(void 0!==a)return null===a||"function"!=typeof a&&"object"!=typeof a?a:xt(a)}),"callableApply",Z),Lt(((t,e,...n)=>{t();const o=vt;let r=e;"function"==typeof e&&(e(),r=vt,vt=void 0);const{length:s}=n,c=new i(s);for(let t=0,e=s;t<e;t+=1){const e=n[t];let o=e;"function"==typeof e&&(e(),o=vt,vt=void 0),c[t]=o}let a;try{a=w(o,c,r)}catch(t){throw Rt(t)}if(void 0!==a)return null===a||"function"!=typeof a&&"object"!=typeof a?a:xt(a)}),"callableConstruct",Z),Lt(((t,e,n,o,r,i,s,c)=>{t();const a=_t();try{return T(a,e,wt(n,o,r,i,s,c))}catch(t){throw Rt(t)}}),"callableDefineProperty",Z),Lt(((t,e)=>{t();const n=_t();try{return E(n,e)}catch(t){throw Rt(t)}}),"callableDeleteProperty",Z),Lt(((t,e,n)=>{t();const o=_t();let r;try{r=k(o,e)}catch(t){throw Rt(t)}if(r){const t=St(r);n(t[0],t[1],t[2],t[3],t[4],t[5])}}),"callableGetOwnPropertyDescriptor",Z),Lt((t=>{t();const e=_t();let n;try{n=P(e)}catch(t){throw Rt(t)}return n?xt(n):n}),"callableGetPrototypeOf",Z),Lt((t=>{t();const e=_t();try{return x(e)}catch(t){throw Rt(t)}}),"callableIsExtensible",Z),Lt(((t,e)=>{t();const n=_t();let o;try{o=O(n)}catch(t){throw Rt(t)}b(e,void 0,o)}),"callableOwnKeys",Z),Lt((t=>{t();const e=_t();try{return L(e)}catch(t){throw Rt(t)}}),"callablePreventExtensions",Z),Lt(((t,e,n,o)=>{t();const r=_t();try{return M(r,e,Pt(n),Pt(o))}catch(t){throw Rt(t)}}),"callableSet",Z),Lt(((t,e)=>{t();const n=_t(),o=Pt(e);try{return A(n,o)}catch(t){throw Rt(t)}}),"callableSetPrototypeOf",Z),Lt(((t,e)=>{t();const n=_t();let o;try{o=f(n)}catch(t){throw Rt(t)}const s=O(o),{length:c}=s,a=new i(7*c);for(let t=0,e=0,n=c;t<n;t+=1,e+=7){const n=s[t],i=Ct(o[n]),{configurable:c,enumerable:u,writable:l,value:f,get:p,set:d}=i;a[e]=n,a[e+1]="configurable"in i?c:r,a[e+2]="enumerable"in i?u:r,a[e+3]="writable"in i?l:r,a[e+4]="value"in i?Ot(f):r,a[e+5]="get"in i?Ot(p):r,a[e+6]="set"in i?Ot(d):r}b(e,void 0,a)}),"callableGetOwnPropertyDescriptors",Z),Lt((t=>{t();return function(t){let e=z.None;try{p(t)?e|=z.IsSealed&z.IsFrozen&z.IsNotExtensible:d(t)?e|=z.IsSealed:x(t)||(e|=z.IsNotExtensible),s(t)}catch(t){e|=z.Revoked}return e}(_t())}),"callableGetTargetIntegrityTraits",Z),Lt((t=>{t();const e=_t();try{if("object"==typeof e&&null!==e&&!s(e)){const t=b(g,e,[]);return b(D,t,[8,-1])}}catch(t){}}),"callableGetUnbrandedTag",Z),Lt(((t,e)=>{t();const n=_t();try{return b(y,n,[e])}catch(t){throw Rt(t)}}),"callableHasOwnProperty",Z),Lt((t=>{t();const n=_t();try{return function(t){if(t===m)return!1;if("object"==typeof t){if(c(t))return!0;const{constructor:e}=t;if(e===a)return!0;if(null===P(t))return"function"!=typeof e||e.prototype!==t}return b(y,t,[e])}(n)}catch(t){throw Rt(t)}}),"callableIsLiveTarget",Z),Lt(((...t)=>{for(let e=0,n=t.length;e<n;e+=1)t[e]=Pt(t[e]);try{b($,I,t)}catch(t){throw Rt(t)}}),"callableWarn",Z)),(...t)=>{const{6:e,7:n,8:o,9:r,10:i,11:s,12:c,13:a,14:u,15:l,16:f,17:p,18:d,19:m,20:h,21:y,22:g,23:v}=t;tt=e,et=Et(Lt(n,"callableApply",J)),nt=Et(Lt(o,"callableConstruct",J)),ot=Et(Lt(r,"callableDefineProperty",J)),rt=Et(Lt(i,"callableDeleteProperty",J)),it=Et(Lt(s,"callableGetOwnPropertyDescriptor",J)),st=Et(Lt(c,"callableGetPrototypeOf",J)),ct=Et(Lt(a,"callableIsExtensible",J)),at=Et(Lt(u,"callableOwnKeys",J)),ut=Et(Lt(l,"callablePreventExtensions",J)),lt=Et(Lt(f,"callableSet",J)),ft=Et(Lt(p,"callableSetPrototypeOf",J)),pt=Et(Lt(d,"callableGetOwnPropertyDescriptors",J)),dt=Et(Lt(m,"callableGetTargetIntegrityTraits",J)),mt=Et(Lt(h,"callableGetUnbrandedTag",J)),ht=Et(Lt(y,"callableHasOwnProperty",J)),yt=Et(Lt(g,"callableIsLiveTarget",J)),gt=Et(Lt(v,"callableWarn",J))}}}!function(t){t[t.None=0]="None",t[t.MagicMarker=1]="MagicMarker"}(Mc||(Mc={})),Lc(Mc,null);const Dc=TypeError,Nc=`\n(function(){\n 'use strict';\n (${function(){if("function"!=typeof Error.prepareStackTrace){const t=(()=>{var t;Error.prepareStackTrace=(t,e)=>e;const e=(new Error).stack;return delete Error.prepareStackTrace,Array.isArray(e)&&e.length>0?null==(t=e[0])?void 0:t.constructor:void 0})();if("function"==typeof t){const e=`${()=>1}`.includes("*"),n=`$LWS${"‍"}`,{toString:o}=Error.prototype,{apply:r,defineProperty:i}=Reflect,{endsWith:s,includes:c}=String.prototype,{getEvalOrigin:a,getFunctionName:u,toString:l}=t.prototype,f=function(t,e){let i="";try{i=r(o,t,[])}catch(t){i="<error>"}let f=!1;for(let t=0,{length:o}=e;t<o;t+=1){const o=e[t],p=r(u,o,[]);let d=!1;if("string"==typeof p&&"eval"!==p&&r(s,p,[n])&&(d=!0),!d){const t=r(a,o,[]);"string"==typeof t&&r(c,t,[n])&&(d=!0)}if(d)f||(f=!0,i+="\n at LWS");else{f=!1;try{i+=`\n at ${r(l,o,[])}`}catch(t){}}}return i};i(Error,"prepareStackTrace",{__proto__:null,enumerable:!0,value:function(t,e){return f(t,e)}}),i(Error,"stackTraceLimit",{__proto__:null,configurable:e,enumerable:!0,value:20,writable:e})}}}.toString()})();\n return (${Ac.toString()})\n})()`;const Rc=Symbol.for("@@membraneUndefinedValue"),Cc=Error,{assign:Ic,keys:$c}=Object,{apply:Fc,ownKeys:Hc}=Reflect,{slice:jc,toUpperCase:zc}=String.prototype;function Uc(t){const{length:e}=t;if(!e)return t;const n=Fc(zc,t[0],[]);return 1===e?n:n+Fc(jc,t,[1])}class Gc{constructor(t){if(void 0===t)throw new Cc("Missing VirtualEnvironmentOptions options bag.");const{blueConnector:e,redConnector:n,distortionCallback:o,support:r,instrumentation:i}=t;this.blueConnector=e,this.redConnector=n;let s=Mc.None;const c=r?$c(r):[];for(let t=0,{length:e}=c;t<e;t+=1){const e=Uc(c[t]);s|=Mc[e]}let a,u;const l=e("blue",false,s,((...t)=>{a=t}),{distortionCallback:o,instrumentation:i}),f=n("red",true,s,((...t)=>{u=t}));Fc(l,void 0,u),Fc(f,void 0,a);const{0:p,1:d,2:m,3:h,5:y}=a;this.blueGlobalThisPointer=p,this.blueGetSelectedTarget=d,this.blueGetTransferableValue=m,this.blueCallableGetPropertyValuePointer=h,this.blueCallableLinkPointers=y;const{0:g,3:v,4:b,5:w,9:T,17:E}=u;this.redGlobalThisPointer=g,this.redCallableEvaluate=b,this.redCallableSetPrototypeOf=E,this.redCallableDefineProperty=T,this.redCallableGetPropertyValuePointer=v,this.redCallableLinkPointers=w}evaluate(t){try{const e=this.redCallableEvaluate(t);return"function"==typeof e?(e(),this.blueGetSelectedTarget()):e}catch(t){const e=this.blueGetSelectedTarget();if(e)throw e;throw t}}link(...t){let e=this.blueGlobalThisPointer,n=this.redGlobalThisPointer;for(let o=0,{length:r}=t;o<r;o+=1){const r=t[o];e=this.blueCallableGetPropertyValuePointer(e,r),n=this.redCallableGetPropertyValuePointer(n,r)}this.redCallableLinkPointers(n,e),this.blueCallableLinkPointers(e,n)}remap(t,e){const n=Hc(e),o=this.blueGetTransferableValue(t);for(let t=0,{length:r}=n;t<r;t+=1){const r=n[t],i=e[r],s=Ic({__proto__:null},i);this.redCallableDefineProperty(o,r,"configurable"in s?!!s.configurable:Rc,"enumerable"in s?!!s.enumerable:Rc,"writable"in s?!!s.writable:Rc,"value"in s?this.blueGetTransferableValue(s.value):Rc,"get"in s?this.blueGetTransferableValue(s.get):Rc,"set"in s?this.blueGetTransferableValue(s.set):Rc)}}remapProto(t,e){const n=this.blueGetTransferableValue(t),o=e?this.blueGetTransferableValue(e):e;this.redCallableSetPrototypeOf(n,o)}}const{includes:Wc}=Array.prototype,{apply:Kc,getOwnPropertyDescriptor:qc,ownKeys:Vc}=Reflect,Bc=["AggregateError","Array","Error","EvalError","Function","Object","Proxy","RangeError","ReferenceError","SyntaxError","TypeError","URIError","eval"],Xc=["globalThis","Infinity","NaN","undefined","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","BigInt","Boolean","FinalizationRegistry","Number","RegExp","String","Symbol","WeakRef","JSON","Math","Reflect","escape","unescape",...Bc];function Yc(t,e){const n=Vc(e);for(let o=0,{length:r}=n;o<r;o+=1){const r=n[o];if(!Kc(Wc,Xc,[r])){const n=qc(e,r);n&&(t[r]=n)}}return t}const Zc=TypeError;const{assign:Jc,getOwnPropertyDescriptors:Qc}=Object,{getPrototypeOf:ta,apply:ea}=Reflect,{get:na,set:oa}=WeakMap.prototype,ra=new WeakMap;function ia(t){let e=ea(na,ra,[t]);return e||(e=function(t){const e={__proto__:null};return e.window=t.window,e.document=t.document,e.WindowProto=ta(e.window),e.WindowPropertiesProto=ta(e.WindowProto),e.EventTargetProto=ta(e.WindowPropertiesProto),e.DocumentProto=ta(e.document),e}(t),ea(oa,ra,[t,e]),e.EventTargetProtoDescriptors=Qc(e.EventTargetProto),e)}function sa(t,e,n){t.remapProto(e.document,e.DocumentProto);const o=function(t){const e={};return Jc(e,t),delete e.document,delete e.location,delete e.top,delete e.window,delete e.chrome,e}(n);t.remap(e.window,o),t.remap(e.EventTargetProto,e.EventTargetProtoDescriptors)}ia(window);const{close:ca,createElement:aa,open:ua}=document,{remove:la,setAttribute:fa}=Element.prototype,{appendChild:pa}=Node.prototype,{assign:da}=Object,{__lookupGetter__:ma}=Object.prototype,{apply:ha}=Reflect,ya=ha(ma,Document.prototype,["body"]),ga=ha(ma,HTMLElement.prototype,["style"]),va=ha(ma,HTMLIFrameElement.prototype,["contentWindow"]),ba=ha(ma,Node.prototype,["isConnected"]),wa=ha(ma,Node.prototype,["lastChild"]);function Ta(){const t=(e=document,ha(aa,e,["iframe"]));var e;const n=function(t){return ha(ya,t,[])}(document)||(o=document,ha(wa,o,[]));var o;return ha(ga,t,[]).display="none",function(t,e,n){ha(fa,t,[e,n])}(t,"sandbox","allow-same-origin allow-scripts"),function(t,e){ha(pa,t,[e])}(n,t),t}function Ea(t){ha(ba,t,[])&&ha(la,t,[])}const Sa=Ac();function ka(t,e,n){!function(t,e){if(!t)throw new Zc("Missing global object shape.");if(!e)throw new Zc("Missing global object virtualization target.")}(t,e);const o=da({__proto__:null,keepAlive:!1},n),{distortionCallback:r,endowments:i={},keepAlive:s,support:c,instrumentation:a}=o,u=Ta(),l=function(t){return ha(va,t,[])}(u).window,{document:f}=l,p=Sa,d=function(t){if("function"!=typeof t)throw new Dc("Missing evaluator function.");return t(Nc)()}(l.eval),m=ia(e),h=new Gc({blueConnector:p,distortionCallback:r,redConnector:d,support:c,instrumentation:a});return h.link("window"),function(t,e){for(let n=0,{length:o}=Bc;n<o;n+=1){const o=Bc[n],r=e[o];r&&(t.link(o),r.prototype&&t.link(o,"prototype"))}}(h,e),function(t,e){e.EventTarget&&e instanceof EventTarget&&(t.link("document"),t.link("__proto__"),t.link("__proto__","__proto__"),t.link("__proto__","__proto__","__proto__"))}(h,e),sa(h,m,function(...t){const e={};for(let n=0,{length:o}=t;n<o;n+=1){const o=t[n];o&&Yc(e,o)}return e}(t,i)),!0!==s?Ea(u):(ha(ua,f,[]),function(t){ha(ca,t,[])}(f)),h}let Pa,_a,xa;function Oa(){const t=_a;return _a=void 0,t}function La(){const t=xa;return xa=void 0,t}function Ma(t){_a=t}const Aa={$lockerEvalContext$:{__proto__:null,get:()=>Oa()},$lockerEvalHelpers$:{__proto__:null,get:()=>La()}},Da={__proto__:null};const Na=new ae;function Ra(t){return e=>{const{distortions:n}=t,o=ue(n,e);return o||(sr(e)&&cr(e)&&(!function(t,e){const{distortionFactory:n,distortions:o}=t,r=n(e);for(let t=0,e=r.length;t<e;t+=1){const[e,n]=r[t];le(o,e,n)}}(t,e),le(n,e,e)),e)}}function Ca(){const e=Ce(document,"iframe"),n=Re(document)||(o=document,t(Tn,o,w));var o;return ho(e).display="none",ln(e,"sandbox","allow-same-origin allow-scripts"),Pn(n,e),e}function Ia(e,n,o,r){const i=W(null,Aa);o&&q(i,H(V(o)));const s={__proto__:null},c=Ra(s);if(!Pa){Pa={};const e=Ca(),n=To(e).window,o=f(n);t(Ve,e,w);const r={};for(let t=0,e=o.length;t<e;t+=1){const e=o[t],n=l(window,e);n&&(r[e]=F(n))}q(Pa,r)}s.distortionFactory=n,s.distortions=new ae(n(window));const a=ka(Pa,window,{distortionCallback:c,endowments:i,keepAlive:!1,support:{magicMarker:Fo},instrumentation:r});return s.env=a,s.helpers={__proto__:null},Ma((t=>{G(s.helpers,t({loadingPromises:Na}))})),s.env.evaluate(`'use strict';\n $lockerEvalContext$(${function(t){const{loadingPromises:e}=t,{iterator:n}=Symbol,{[n]:o}=Array.prototype,{freeze:r}=Object,i=Promise,s=i.resolve.bind(i),{apply:c,getPrototypeOf:a,setPrototypeOf:u}=Reflect,{createElement:l}=Document.prototype,{querySelector:f,setAttribute:p}=Element.prototype,{stopPropagation:d}=Event.prototype,{addEventListener:m}=EventTarget.prototype,h=function*(){}.constructor.prototype.prototype,{next:y,throw:g}=h,{appendChild:v}=Node.prototype,{get:b,set:w}=WeakMap.prototype,T="data-locker-id",E=`${crypto.getRandomValues(new Uint32Array(1))[0]}`,S=document,k=[],P=S.head;function _(t,...e){return c(l,t,e)}function x(t,e){return c(f,t,[e])}function O(t,...e){return c(m,t,e)}function L(t,e){return c(y,t,[e])}function M(t,e){return c(g,t,[e])}function A(t,e){return c(b,t,[e])}function D(t,e,n,o,r,i,c){let a,u;try{a=i(t,c),u=a.value}catch(t){return void n(t)}a.done?e(u):s(u).then(o,r)}function N(t,n){const o=new i(((e,o)=>{O(t,"load",(()=>{e(void 0)})),O(t,"error",(t=>{c(d,t,k),o(`[Locker] resource loader error loading "${n}"`)}))}));return function(t,e,n){c(w,t,[e,n])}(e,t,o),c(v,P,[t]),o}return{asyncToGen:function(t,e,n){return new i(((o,r)=>{const i=c(t,e,n);function s(t){D(i,o,r,s,a,L,t)}function a(t){D(i,o,r,s,a,M,t)}s(void 0)}))},loadScript:function(t,n){let o=x(P,`script[data-distorted-src='${n}'][data-locker-id='${E}']`);return o?A(e,o)||s():(o=_(S,"script"),function(t,e,n){c(p,t,[e,n])}(o,T,E),o.type="text/javascript",o.src=n,N(o,n))},loadStyle:function(t,n){let o=x(P,`link[href='${n}']`);return o?A(e,o)||s():(o=_(S,"link"),o.type="text/css",o.rel="stylesheet",o.href=n,N(o,n))},namespace:function(t){return r(t)},spreadable:function(t){return u(t,null),t[n]=o,t},super:function(t,e,n,o){const r=a(t.prototype)[e];return c(r,n,o)}}}})`),Da[e]=s,s}function $a(t,e,n,o,r,i){const s=r||Oc,{startActivity:c}=s,a={sandboxKey:t},u=c("EvaluateInSandboxDuration",a);let l=function(t){return Da[t]}(t);if(void 0===l){I(o)||(o=void 0);const e=W(null,{instrumentation:{__proto__:null,value:s},verboseInstrumentation:{__proto__:null,value:i}}),n=n=>{const o=c("createExternalDistortionEntries",a),r=gc(n,t,$a,e);return o.stop(),r},r=c("createSandbox",a);l=Ia(t,n,o,i?s:void 0),r.stop()}var f;let p;Ma(n),f=l.helpers,xa=f;const d=function(t){let e=Bt(t);return"function"==typeof t&&(e=zt(e,/^[\s\S]+?\{(?:[\t ]*\r?\n)?([\s\S]*?)(?:\r?\n[\t ]*)?\}$/)[1]),e=Ut(e,/\/\/# sandbox(MappingURL=.*?\s*)$/,((t,e)=>`//# source${e}`)),e=Ut(e,/\breturn\s*\[\s*(["'])\u200D\1\s*,\s*([^,\s]+)\s*,\s*([^\]\s]+)\s*\]/g,((t,e,n,o)=>`${n}=${o}`)),`'use strict';${e}`}(e),m=c("externalEvaluatorDuration",a);try{p=l.env.evaluate(d)}catch(e){throw m.error({sandboxKey:t,error:e}),e}finally{Oa(),La(),m.stop()}return u.stop(),p}const Fa=globalThis.LWR.define;function Ha(t,e,n,o){const[r,i]=t.split("/");if(o.includes(r)||o.includes(`${r}/*`)||o.includes(`${r}/${i}`))return n;const s=function(t,e,n){let o;return $a(t,`"use strict";$lockerEvalContext$(${n.toString()});\n//# sourceURL=modules/${e}.js\n`,(t=>{o=t})),o}(r,t,n),c=e.indexOf("exports");return c>=0?function(...t){const e=t.map(((t,e)=>{return e===c&&(n=t,Reflect.defineProperty(n,Symbol.for("@@lockerLiveValue"),{}),n)||t;var n}));return s.apply(this,e)}:s}function ja(t){globalThis.LWR=Object.freeze(Object.assign(Object.assign({},globalThis.LWR),{define:function(e,n,o,r){"function"==typeof n&&(r=o,o=n,n=[]),Fa(e,n,Ha(e,n,o,t),r)}}))}export{ja as registerLockerDefine};