(function(sttc){'use strict';var q,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b>>0,ja[d]=ea?da.Symbol(d):"$jscp$"+a+"$"+d),aa(f,ja[d],{configurable:!0,writable:!0,value:b})))}}
ma("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#>>0),Ca=0;function Da(a,b,c){return a.call.apply(a.bind,arguments)}function Ea(a,b,c){if(!a)throw Error();if(2=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function kb(a,b,c){c=c||lb;let d=0,e=a.length,f;for(;d>>1);let h;h=c(b,a[g]);0b?1:a")&&(a=a.replace(Xb,">"));-1!=a.indexOf('"')&&(a=a.replace(Yb,"""));-1!=a.indexOf("'")&&(a=a.replace(Zb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace($b,""));return a}var Vb=/&/g,Wb=//g,Yb=/"/g,Zb=/'/g,$b=/\x00/g,Ub=/[\x00&<>"']/;
function ac(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};function bc(){var a=t.navigator;return a&&(a=a.userAgent)?a:""}var cc;const dc=t.navigator;cc=dc?dc.userAgentData||null:null;function ec(a){return Pb?cc?cc.brands.some(({brand:b})=>b&&-1!=b.indexOf(a)):!1:!1}function u(a){return-1!=bc().indexOf(a)};function fc(){return Pb?!!cc&&0a.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(g)))}}return b};/*
SPDX-License-Identifier: Apache-2.0
*/
var Sc=class{constructor(a){this.g=a}toString(){return this.g}},Tc=new Sc("about:invalid#zClosurez");function Uc(a){if(a instanceof Sc)return a.g;throw Error("");};class Vc{constructor(a){this.Mi=a}}function Wc(a){return new Vc(b=>b.substr(0,a.length+1).toLowerCase()===a+":")}const Xc=[Wc("data"),Wc("http"),Wc("https"),Wc("mailto"),Wc("ftp"),new Vc(a=>/^[^:]*([/?#]|$)/.test(a))];function Yc(a,b=Xc){if(a instanceof Sc)return a;for(let c=0;c{let f="";d=d.replace(/^(['"])(.*)\1$/,(g,h,k)=>{f=h;return k});b=Zc(d).toString();return c+f+b+f+e})};class nd{constructor(a){this.g=a}toString(){return this.g.toString()}};const pd={};function qd(a){return a instanceof rd&&a.constructor===rd?a.g:"type_error:SafeHtml"}function sd(a){const b=Gc();a=b?b.createHTML(a):a;return new rd(a,pd)}function td(a){var b=ud;b=b instanceof rd?b:sd(Tb(String(b)));const c=[],d=e=>{Array.isArray(e)?e.forEach(d):(e=e instanceof rd?e:sd(Tb(String(e))),c.push(qd(e).toString()))};a.forEach(d);return sd(c.join(qd(b).toString()))}function vd(a){return td(Array.prototype.slice.call(arguments))}
class rd{constructor(a){this.g=a}toString(){return this.g.toString()}}const wd=/^[a-zA-Z0-9-]+$/,xd={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},yd={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};var ud=new rd(t.trustedTypes&&t.trustedTypes.emptyHTML||"",pd);var zd=class{constructor(a){this.g=a}toString(){return this.g}};function Ad(a){return new zd(a[0].toLowerCase())};function Bd(a){a=document.createRange().createContextualFragment(qd(a));return 1===a.childNodes.length?a.childNodes[0]:a};function Cd(a){var b={};if(a instanceof rd)return a;a=Dd(String(a));b.ao&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 "));b.Zn&&(a=a.replace(/(\r\n|\n|\r)/g,"
"));b.bo&&(a=a.replace(/(\t+)/g,'$1'));return sd(a)}function Dd(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Ed(a){const b=Cd("");return sd(a.map(c=>qd(Cd(c))).join(qd(b).toString()))}const Fd=/^[a-z][a-z\d-]*$/i,Gd="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");
var Hd="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");const Id=["action","formaction","href"];function Jd(a,b){if(!Fd.test("body"))throw Error("");if(-1!==Gd.indexOf("BODY"))throw Error("");let c="
":(a=Ed(b.map(d=>d instanceof rd?d:Cd(String(d)))),c+=">"+a.toString()+"