Static | ZeroBOX
No static analysis available.
Copyright 2024 Google LLC
This Software is made available under Section 3 of the General Service Terms of the Google Cloud Platform Service Specific Terms at https://cloud.google.com/terms/service-terms, except that Customer may additionally embed and/or distribute this Software to Customer End Users in connection with Customer Applications integrating with the Dialogflow Service.
*/'use strict';var DF_M;function DF_Maa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var DF_Mba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function DF_Mca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var DF_Ma=DF_Mca(this);
function DF_Mb(a,b){if(b)a:{var c=DF_Ma;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&DF_Mba(c,a,{configurable:!0,writable:!0,value:b})}}
DF_Mb("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.g=f;DF_Mba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
DF_Mb("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=DF_Ma[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&DF_Mba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return DF_Mda(DF_Maa(this))}})}return a});
function DF_Mda(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
var DF_Mea=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},DF_Mfa=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=DF_Mea(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),DF_Mga;if(typeof Object.setPrototypeOf=="function")DF_Mga=Object.setPrototypeOf;else{var DF_Mha;a:{var DF_Mia={a:!0},DF_Mja={};try{DF_Mja.__proto__=DF_Mia;DF_Mha=DF_Mja.a;break a}catch(a){}DF_Mha=!1}DF_Mga=DF_Mha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var DF_Mka=DF_Mga;
function DF_Mc(a,b){a.prototype=DF_Mea(b.prototype);a.prototype.constructor=a;if(DF_Mka)DF_Mka(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Vd=b.prototype}function DF_Md(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:DF_Maa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}
function DF_Me(a){if(!(a instanceof Array)){a=DF_Md(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function DF_Mf(a){return DF_Mla(a,a)}function DF_Mla(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function DF_Mma(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var DF_Mna=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)DF_Mma(d,e)&&(a[e]=d[e])}return a};
DF_Mb("Object.assign",function(a){return a||DF_Mna});function DF_Moa(){this.o=!1;this.j=null;this.h=void 0;this.g=1;this.M=this.i=0;this.G=null}function DF_Mpa(a){if(a.o)throw new TypeError("Generator is already running");a.o=!0}DF_Moa.prototype.H=function(a){this.h=a};function DF_Mqa(a,b){a.G={xc:b,Jd:!0};a.g=a.i||a.M}DF_Moa.prototype.return=function(a){this.G={return:a};this.g=this.M};function DF_Mg(a,b,c){a.g=c;return{value:b}}function DF_Mra(a){a.i=0;var b=a.G.xc;a.G=null;return b}
function DF_Msa(a){this.g=new DF_Moa;this.h=a}function DF_Mta(a,b){DF_Mpa(a.g);var c=a.g.j;if(c)return DF_Mua(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return DF_Mva(a)}function DF_Mua(a,b,c,d){try{var e=b.call(a.g.j,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.o=!1,e;var f=e.value}catch(g){return a.g.j=null,DF_Mqa(a.g,g),DF_Mva(a)}a.g.j=null;d.call(a.g,f);return DF_Mva(a)}
function DF_Mva(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.o=!1,{value:b.value,done:!1}}catch(c){a.g.h=void 0,DF_Mqa(a.g,c)}a.g.o=!1;if(a.g.G){b=a.g.G;a.g.G=null;if(b.Jd)throw b.xc;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function DF_Mwa(a){this.next=function(b){DF_Mpa(a.g);a.g.j?b=DF_Mua(a,a.g.j.next,b,a.g.H):(a.g.H(b),b=DF_Mva(a));return b};this.throw=function(b){DF_Mpa(a.g);a.g.j?b=DF_Mua(a,a.g.j["throw"],b,a.g.H):(DF_Mqa(a.g,b),b=DF_Mva(a));return b};this.return=function(b){return DF_Mta(a,b)};this[Symbol.iterator]=function(){return this}}
function DF_Mxa(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})}function DF_Mh(a){return DF_Mxa(new DF_Mwa(new DF_Msa(a)))}function DF_Mi(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}DF_Mb("globalThis",function(a){return a||DF_Ma});DF_Mb("Reflect",function(a){return a?a:{}});DF_Mb("Reflect.construct",function(){return DF_Mfa});
DF_Mb("Reflect.setPrototypeOf",function(a){return a?a:DF_Mka?function(b,c){try{return DF_Mka(b,c),!0}catch(d){return!1}}:null});
DF_Mb("Promise",function(a){function b(g){this.h=0;this.i=void 0;this.g=[];this.H=!1;var h=this.j();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.h=function(g){if(this.g==null){this.g=[];var h=this;this.i(function(){h.G()})}this.g.push(g)};var e=DF_Ma.setTimeout;c.prototype.i=function(g){e(g,0)};c.prototype.G=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<
g.length;++h){var k=g[h];g[h]=null;try{k()}catch(l){this.j(l)}}}this.g=null};c.prototype.j=function(g){this.i(function(){throw g;})};b.prototype.j=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.ma),reject:g(this.G)}};b.prototype.ma=function(g){if(g===this)this.G(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.Aa(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=
!1}h?this.Z(g):this.o(g)}};b.prototype.Z=function(g){var h=void 0;try{h=g.then}catch(k){this.G(k);return}typeof h=="function"?this.Ma(h,g):this.o(g)};b.prototype.G=function(g){this.M(2,g)};b.prototype.o=function(g){this.M(1,g)};b.prototype.M=function(g,h){if(this.h!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.h);this.h=g;this.i=h;this.h===2&&this.za();this.N()};b.prototype.za=function(){var g=this;e(function(){if(g.la()){var h=DF_Ma.console;typeof h!=="undefined"&&
h.error(g.i)}},1)};b.prototype.la=function(){if(this.H)return!1;var g=DF_Ma.CustomEvent,h=DF_Ma.Event,k=DF_Ma.dispatchEvent;if(typeof k==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=DF_Ma.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.i;return k(g)};b.prototype.N=function(){if(this.g!=null){for(var g=0;g<this.g.length;++g)f.h(this.g[g]);
this.g=null}};var f=new c;b.prototype.Aa=function(g){var h=this.j();g.jb(h.resolve,h.reject)};b.prototype.Ma=function(g,h){var k=this.j();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(p,q){return typeof p=="function"?function(r){try{l(p(r))}catch(u){m(u)}}:q}var l,m,n=new b(function(p,q){l=p;m=q});this.jb(k(g,l),k(h,m));return n};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.jb=function(g,h){function k(){switch(l.h){case 1:g(l.i);
break;case 2:h(l.i);break;default:throw Error("Unexpected state: "+l.h);}}var l=this;this.g==null?f.h(k):this.g.push(k);this.H=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=DF_Md(g),m=l.next();!m.done;m=l.next())d(m.value).jb(h,k)})};b.all=function(g){var h=DF_Md(g),k=h.next();return k.done?d([]):new b(function(l,m){function n(r){return function(u){p[r]=u;q--;q==0&&l(p)}}var p=[],q=0;do p.push(void 0),q++,d(k.value).jb(n(p.length-
1),m),k=h.next();while(!k.done)})};return b});DF_Mb("Object.setPrototypeOf",function(a){return a||DF_Mka});
DF_Mb("WeakMap",function(a){function b(k){this.g=(h+=Math.random()+1).toString();if(k){k=DF_Md(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return l==="object"&&k!==null||l==="function"}function e(k){if(!DF_Mma(k,g)){var l=new c;DF_Mba(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),
l=Object.seal({}),m=new a([[k,2],[l,3]]);if(m.get(k)!=2||m.get(l)!=3)return!1;m.delete(k);m.set(l,4);return!m.has(k)&&m.get(l)==4}catch(n){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!DF_Mma(k,g))throw Error("WeakMap key fail: "+k);k[g][this.g]=l;return this};b.prototype.get=function(k){return d(k)&&DF_Mma(k,g)?k[g][this.g]:void 0};b.prototype.has=
function(k){return d(k)&&DF_Mma(k,g)&&DF_Mma(k[g],this.g)};b.prototype.delete=function(k){return d(k)&&DF_Mma(k,g)&&DF_Mma(k[g],this.g)?delete k[g][this.g]:!1};return b});
DF_Mb("Map",function(a){function b(){var h={};return h.ka=h.next=h.head=h}function c(h,k){var l=h[1];return DF_Mda(function(){if(l){for(;l.head!=h[1];)l=l.ka;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&DF_Mma(h[0],l))for(h=0;h<m.length;h++){var n=m[h];if(k!==k&&n.key!==n.key||k===n.key)return{id:l,list:m,index:h,W:n}}return{id:l,
list:m,index:-1,W:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=DF_Md(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(DF_Md([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||m.value[1]!="s")return!1;m=l.next();return m.done||
m.value[0].x!=4||m.value[1]!="t"||!l.next().done?!1:!0}catch(n){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=h===0?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.W?l.W.value=k:(l.W={next:this[1],ka:this[1].ka,head:this[1],key:h,value:k},l.list.push(l.W),this[1].ka.next=l.W,this[1].ka=l.W,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.W&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.W.ka.next=h.W.next,h.W.next.ka=
h.W.ka,h.W.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].ka=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).W};e.prototype.get=function(h){return(h=d(this,h).W)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=function(){return c(this,function(h){return h.value})};e.prototype.forEach=function(h,k){for(var l=this.entries(),
m;!(m=l.next()).done;)m=m.value,h.call(k,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
DF_Mb("WeakSet",function(a){function b(c){this.g=new WeakMap;if(c){c=DF_Md(c);for(var d;!(d=c.next()).done;)this.add(d.value)}}if(function(){if(!a||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new a([c]);if(!e.has(c)||e.has(d))return!1;e.delete(c);e.add(d);return!e.has(c)&&e.has(d)}catch(f){return!1}}())return a;b.prototype.add=function(c){this.g.set(c,!0);return this};b.prototype.has=function(c){return this.g.has(c)};b.prototype.delete=function(c){return this.g.delete(c)};
return b});DF_Mb("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
DF_Mb("Set",function(a){function b(c){this.g=new Map;if(c){c=DF_Md(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(DF_Md([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=
4||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});DF_Mb("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)DF_Mma(b,d)&&c.push([d,b[d]]);return c}});
DF_Mb("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
function DF_Mya(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}DF_Mb("Array.prototype.keys",function(a){return a?a:function(){return DF_Mya(this,function(b){return b})}});
DF_Mb("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});DF_Mb("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
function DF_Mza(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}DF_Mb("String.prototype.includes",function(a){return a?a:function(b,c){return DF_Mza(this,b,"includes").indexOf(b,c||0)!==-1}});
DF_Mb("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=DF_Mza(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});DF_Mb("Array.prototype.entries",function(a){return a?a:function(){return DF_Mya(this,function(b,c){return[b,c]})}});DF_Mb("Array.prototype.values",function(a){return a?a:function(){return DF_Mya(this,function(b,c){return c})}});
DF_Mb("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=DF_Mza(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});DF_Mb("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;c<0&&(c=Math.max(0,e+c));if(d==null||d>e)d=e;d=Number(d);d<0&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
function DF_MAa(a){return a?a:Array.prototype.fill}DF_Mb("Int8Array.prototype.fill",DF_MAa);DF_Mb("Uint8Array.prototype.fill",DF_MAa);DF_Mb("Uint8ClampedArray.prototype.fill",DF_MAa);DF_Mb("Int16Array.prototype.fill",DF_MAa);DF_Mb("Uint16Array.prototype.fill",DF_MAa);DF_Mb("Int32Array.prototype.fill",DF_MAa);DF_Mb("Uint32Array.prototype.fill",DF_MAa);DF_Mb("Float32Array.prototype.fill",DF_MAa);DF_Mb("Float64Array.prototype.fill",DF_MAa);
DF_Mb("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});DF_Mb("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)DF_Mma(b,d)&&c.push(b[d]);return c}});
DF_Mb("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError(""+b+" is not iterable");b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("iterable for fromEntries should yield objects");c[d[0]]=d[1]}return c}});DF_Mb("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});
function DF_MBa(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]}DF_Mb("Array.prototype.at",function(a){return a?a:DF_MBa});function DF_MCa(a){return a?a:DF_MBa}DF_Mb("Int8Array.prototype.at",DF_MCa);DF_Mb("Uint8Array.prototype.at",DF_MCa);DF_Mb("Uint8ClampedArray.prototype.at",DF_MCa);DF_Mb("Int16Array.prototype.at",DF_MCa);DF_Mb("Uint16Array.prototype.at",DF_MCa);DF_Mb("Int32Array.prototype.at",DF_MCa);DF_Mb("Uint32Array.prototype.at",DF_MCa);
DF_Mb("Float32Array.prototype.at",DF_MCa);DF_Mb("Float64Array.prototype.at",DF_MCa);DF_Mb("String.prototype.at",function(a){return a?a:DF_MBa});/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
var DF_Mj=this||self;function DF_MDa(a){var b=typeof a;b=b!="object"?b:a?Array.isArray(a)?"array":b:"null";return b=="array"||b=="object"&&typeof a.length=="number"}function DF_MEa(a,b,c){return a.call.apply(a.bind,arguments)}
function DF_MFa(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function DF_MGa(a,b,c){DF_MGa=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?DF_MEa:DF_MFa;return DF_MGa.apply(null,arguments)}
function DF_MHa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function DF_MIa(a,b){function c(){}c.prototype=b.prototype;a.Vd=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.be=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};function DF_Mk(a,b,c,d){var e=arguments.length,f=e<3?b:d===null?d=Object.getOwnPropertyDescriptor(b,c):d,g;if(Reflect&&typeof Reflect==="object"&&typeof Reflect.decorate==="function")f=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)if(g=a[h])f=(e<3?g(f):e>3?g(b,c,f):g(b,c))||f;return e>3&&f&&Object.defineProperty(b,c,f),f}function DF_Ml(a,b){if(Reflect&&typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(a,b)};function DF_MJa(a){return new Promise(function(b,c){var d=new FileReader;d.onload=function(){b(d.result.split(",")[1])};d.onerror=function(){c()};d.re
function DF_MKa(a,b){var c,d;return DF_Mh(function(e){if(e.g==1)return DF_Mg(e,a.arrayBuffer(),2);if(e.g!=3)return c=e.h,DF_Mg(e,b.decodeAudioData(c),3);d=e.h;var f=e.return,g=d.numberOfChannels,h=d.length*g*2+44,k=new ArrayBuffer(h),l=new DataView(k);var m=DF_MLa(l,0,1179011410);m=DF_MLa(l,m,h-8);m=DF_MLa(l,m,1163280727);m=DF_MLa(l,m,544501094);m=DF_MLa(l,m,16);m=DF_MMa(l,m,1);m=DF_MMa(l,m,g);m=DF_MLa(l,m,d.sampleRate);m=DF_MLa(l,m,d.sampleRate*2*g);m=DF_MMa(l,m,g*2);m=DF_MMa(l,m,16);m=DF_MLa(l,
m,1635017060);m=DF_MLa(l,m,h-m-8);for(var n=[],p=0;p<d.numberOfChannels;++p)n.push(d.getChannelData(p));for(p=0;m<h;){for(var q=0;q<g;++q){var r=Math.max(-1,Math.min(1,n[q][p]));r=(.5+r<0?r*32768:r*32767)|0;l.setInt16(m,r,!0);m+=2}p++}return f.call(e,new Blob([k],{type:"audio/wav"}))})}function DF_MMa(a,b,c){a.setUint16(b,c,!0);return b+2}function DF_MLa(a,b,c){a.setUint32(b,c,!0);return b+4};function DF_MNa(a,b,c){var d,e,f,g,h,k,l,m,n;return DF_Mh(function(p){switch(p.g){case 1:return d="https://speech.googleapis.com/v1p1beta1/speech:recognize?key="+b,DF_Mg(p,DF_MJa(a),2);case 2:return e={audio:{content:p.h},config:{encoding:1,sampleRateHertz:48E3,languageCode:c&&c!=="en"?c:"en-US",model:"latest_short"}},DF_Mg(p,fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),3);case 3:return f=p.h,f.ok?DF_Mg(p,f.json(),4):(console.error("Speech-to-Text","Error",
f),p.return());case 4:return g=p.h,console.debug("Speech-to-Text","Result",g),(n=(h=g.results)==null?void 0:(k=h[0])==null?void 0:(l=k.alternatives)==null?void 0:(m=l[0])==null?void 0:m.transcript)||console.warn("Speech-to-Text","No transcript"),p.return(n)}})};var DF_MOa=!/^\s*class\s*\{\s*\}\s*$/.test(function(){}.toString());var DF_MPa=DF_Mj.Reflect;function DF_MQa(){return DF_MPa.construct(Event,DF_Mi.apply(0,arguments),this.constructor)}DF_MQa.prototype=Event.prototype;var DF_MRa=DF_MOa?DF_MQa:Event;/*
Copyright 2021 Google LLC
SPDX-License-Identifier: BSD-3-Clause
function DF_MSa(a,b,c){var d=DF_MRa.call(this,"context-request",{bubbles:!0,composed:!0})||this;d.context=a;d.callback=b;d.subscribe=c!=null?c:!1;return d}DF_Mc(DF_MSa,DF_MRa);function DF_MTa(){var a=this;this.g=new Map;this.h=function(b){var c=a.g.get(b.context);if(c!==void 0){a.g.delete(b.context);c=DF_Md(c.Jc);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d=e.xd.deref();e=e.sd.deref();d!==void 0&&e!==void 0&&d.dispatchEvent(new DF_MSa(b.context,e,!0))}}};this.Xb=function(b){if(b.subscribe===!0){var c=b.composedPath()[0],d=b.callback,e=a.g.get(b.context);e===void 0&&a.g.set(b.context,e={sc:new WeakMap,Jc:[]});b=e.sc.get(c);b===void 0&&e.sc.set(c,b=new WeakSet);
b.has(d)||(b.add(d),e.Jc.push({xd:new WeakRef(c),sd:new WeakRef(d)}))}}};function DF_MUa(a,b){var c=this;this.bc=this.subscribe=!1;this.value=void 0;this.jd=function(e,f){c.unsubscribe&&(c.unsubscribe!==f&&(c.bc=!1,c.unsubscribe()),c.subscribe||c.unsubscribe());c.value=e;DF_MVa(c.host);if(!c.bc||c.subscribe)c.bc=!0,c.callback&&c.callback(e,f);c.unsubscribe=f};this.host=a;if(b.context!==void 0){this.context=b.context;this.callback=b.callback;var d;this.subscribe=(d=b.subscribe)!=null?d:!1}else this.context=b,this.callback=void 0,this.subscribe=!1;this.host.pc(this)}
DF_MUa.prototype.Rb=function(){this.host.dispatchEvent(new DF_MSa(this.context,this.jd,this.subscribe))};DF_MUa.prototype.Id=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)};function DF_MWa(a){var b=this;this.La=new Map;this.h=function(){for(var c=DF_Md(b.La),d=c.next();!d.done;d=c.next()){var e=DF_Md(d.value);d=e.next().value;e=e.next().value.vc;d(b.g,e)}};a!==void 0&&(this.value=a)}function DF_MXa(a,b){var c=!Object.is(b,a.g);a.g=b;c&&a.h()}DF_MWa.prototype.addCallback=function(a,b,c){var d=this;c?(this.La.has(a)||this.La.set(a,{vc:function(){d.La.delete(a)},td:b}),b=this.La.get(a).vc,a(this.value,b)):a(this.value)};
DF_Ma.Object.defineProperties(DF_MWa.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.g},set:function(a){DF_MXa(this,a)}}});function DF_MYa(a){var b=DF_MRa.call(this,"context-provider",{bubbles:!0,composed:!0})||this;b.context=a;return b}DF_Mc(DF_MYa,DF_MRa);
function DF_MZa(a,b,c){DF_MWa.call(this,b.context!==void 0?b.initialValue:c);var d=this;this.Xb=function(g){var h=g.composedPath()[0];g.context===d.context&&h!==d.host&&(g.stopPropagation(),d.addCallback(g.callback,h,g.subscribe))};this.Nd=function(g){var h=g.composedPath()[0];if(g.context===d.context&&h!==d.host){h=new Set;for(var k=DF_Md(d.La),l=k.next();!l.done;l=k.next()){var m=DF_Md(l.value);l=m.next().value;m=m.next().value.td;h.has(l)||(h.add(l),m.dispatchEvent(new DF_MSa(d.context,l,!0)))}g.stopPropagation()}};
this.host=a;this.context=b.context!==void 0?b.context:b;this.host.addEventListener("context-request",this.Xb);this.host.addEventListener("context-provider",this.Nd);var e,f;(f=(e=this.host).pc)==null||f.call(e,this)}DF_Mc(DF_MZa,DF_MWa);DF_MZa.prototype.Rb=function(){this.host.dispatchEvent(new DF_MYa(this.context))};/*
Copyright 2022 Google LLC
SPDX-License-Identifier: BSD-3-Clause
function DF_M_a(a){var b=a.context;var c=a.subscribe;return function(d,e){typeof e==="object"?e.m(function(){var f=this;new DF_MUa(this,{context:b,callback:function(g){d.set.call(f,g)},subscribe:c})}):d.constructor.m(function(f){new DF_MUa(f,{context:b,callback:function(g){f[e]=g},subscribe:c})})}};/*
Copyright 2017 Google LLC
SPDX-License-Identifier: BSD-3-Clause
function DF_M0a(a){var b=a.context;return function(c,d){var e=new WeakMap;if(typeof d==="object")return d.m(function(){e.set(this,new DF_MZa(this,{context:b}))}),{get:function(){return c.get.call(this)},set:function(k){var l;(l=e.get(this))==null||DF_MXa(l,k);return c.set.call(this,k)},init:function(k){var l;(l=e.get(this))==null||DF_MXa(l,k);return k}};c.constructor.m(function(k){e.set(k,new DF_MZa(k,{context:b}))});var f=Object.getOwnPropertyDescriptor(c,d);if(f===void 0){var g=new WeakMap;f={get:function(){return g.get(this)},
set:function(k){DF_MXa(e.get(this),k);g.set(this,k)},configurable:!0,enumerable:!0}}else{var h=f.set;f=Object.assign({},f,{set:function(k){DF_MXa(e.get(this),k);h==null||h.call(this,k)}})}Object.defineProperty(c,d,f)}};function DF_Mm(a,b,c){console.debug("DF-MESSENGER","fireCustomEvent",b,c);b=new CustomEvent(b,{detail:c,bubbles:!0,composed:!0,cancelable:!0});return a.dispatchEvent(b)};var DF_Mn=new Map([["en",{askSomething:"Ask something...",chatTitle:"Chat",genericErrorMessage:"Something went wrong, please try again.",messageTooLong:"Oops! Your message is {$numOfChars} character(s) too long.",authErrorMessage:"Permission denied.",openAriaLabel:"Open {$chatTitle}",closeAriaLabel:"Close {$chatTitle}",sendAriaLabel:"Send",inputAriaLabel:"Talk to Agent",opensInANewTab:"Opens in a new tab",agentSays:"Agent Says:",iSay:"I Say:",citationsMessage:"Source:",feedbackWhyRatingText:"Why did you choose this rating?",
feedbackOptionalText:"optional",feedbackPlaceholder:"Additional Feedback",feedbackSubmit:"Submit",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Incorrect",feedbackChipUnsafe:"Unsafe",feedbackInputAriaLabel:"Provide additional feedback",feedbackCloseAriaLabel:"Close additional feedback",feedbackSubmitAriaLabel:"Submit additional feedback",feedbackThankYouText:"Thank you for your feedback",feedbackPrivacyNoticeText:"Please do not provide any personal or sensitive data",requestAccess:"Request Access",
useCodeWithCautionText:"Use code with caution.",copyCodeAriaLabel:"Copy code",jumpToBottom:"Jump to bottom",youtubeVideoLabel:"Youtube video",videoNoSupportFallbackText:"Your browser does not support the video tag.",cancelClientSideTask:"Cancel task",messageTooLongWarning:'You\'re writing a long input, which may result in a "no match" result. Shorten your query for a better response.',positiveFeedbackAriaLabel:"Good response",negativeFeedbackAriaLabel:"Bad response",uploadFileAriaLabel:"Upload file",
microphoneAriaLabel:"Use microphone"}]]);DF_Mn.set("da",{askSomething:"Stil et sp\u00f8rgsm\u00e5l\u2026",chatTitle:"Chat",genericErrorMessage:"Der opstod en fejl. Pr\u00f8v igen.",messageTooLong:"Ups! Din besked er {$numOfChars} tegn for lang.",authErrorMessage:"Tilladelsen blev n\u00e6gtet.",openAriaLabel:"\u00c5bn {$chatTitle}",closeAriaLabel:"Luk {$chatTitle}",sendAriaLabel:"Send",inputAriaLabel:"Tal med en repr\u00e6sentant",opensInANewTab:"\u00c5bnes p\u00e5 en ny fane",agentSays:"Repr\u00e6sentanten siger:",iSay:"Jeg siger:",citationsMessage:"Kilde:",
feedbackWhyRatingText:"Hvorfor valgte du denne bed\u00f8mmelse?",feedbackOptionalText:"valgfrit",feedbackPlaceholder:"Yderligere feedback",feedbackSubmit:"Send",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Forkert",feedbackChipUnsafe:"Usikkert",feedbackInputAriaLabel:"Giv yderligere feedback",feedbackCloseAriaLabel:"Luk sektion til yderligere feedback",feedbackSubmitAriaLabel:"Indsend yderligere feedback",feedbackThankYouText:"Tak for din feedback",feedbackPrivacyNoticeText:"S\u00f8rg for ikke at angive personlige eller f\u00f8lsomme oplysninger",
requestAccess:"Anmod om adgang",useCodeWithCautionText:"V\u00e6r forsigtig med at bruge denne kode.",copyCodeAriaLabel:"Kopi\u00e9r kode",jumpToBottom:"G\u00e5 til bunden",youtubeVideoLabel:"YouTube-video",videoNoSupportFallbackText:"Din browser underst\u00f8tter ikke videotagget.",cancelClientSideTask:"Annuller opgave",messageTooLongWarning:'Du er ved at skrive en lang tekst, som kan resultere i et "intet match"-resultat. Forkort din foresp\u00f8rgsel for at f\u00e5 et bedre svar.',positiveFeedbackAriaLabel:"Godt svar",
negativeFeedbackAriaLabel:"D\u00e5rligt svar",uploadFileAriaLabel:"Upload fil",microphoneAriaLabel:"Brug mikrofonen"});DF_Mn.set("de",{askSomething:"Stellen Sie eine Frage\u2026",chatTitle:"Chat",genericErrorMessage:"Ein Problem ist aufgetreten. Bitte versuchen Sie es noch einmal.",messageTooLong:"Hoppla! Ihre Nachricht ist {$numOfChars}\u00a0Zeichen zu lang.",authErrorMessage:"Die Berechtigung wurde verweigert.",openAriaLabel:"{$chatTitle} \u00f6ffnen",closeAriaLabel:"{$chatTitle} schlie\u00dfen",sendAriaLabel:"Senden",inputAriaLabel:"Mit Agent sprechen",opensInANewTab:"Wird in einem neuen Tab ge\u00f6ffnet",agentSays:"Agent sagt:",
iSay:"Ich sage:",citationsMessage:"Quelle:",feedbackWhyRatingText:"Warum haben Sie sich f\u00fcr diese Bewertung entschieden?",feedbackOptionalText:"optional",feedbackPlaceholder:"Zus\u00e4tzliches Feedback",feedbackSubmit:"Senden",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Falsch",feedbackChipUnsafe:"Unsicher",feedbackInputAriaLabel:"Zus\u00e4tzliches Feedback geben",feedbackCloseAriaLabel:"Zus\u00e4tzliches Feedback schlie\u00dfen",feedbackSubmitAriaLabel:"Zus\u00e4tzliches Feedback senden",
feedbackThankYouText:"Vielen Dank f\u00fcr Ihr Feedback",feedbackPrivacyNoticeText:"Geben Sie bitte keine personenbezogenen oder vertraulichen Daten an",requestAccess:"Zugriff anfordern",useCodeWithCautionText:"Seien Sie vorsichtig, wenn sie den Code verwenden.",copyCodeAriaLabel:"Code kopieren",jumpToBottom:"Nach unten springen",youtubeVideoLabel:"YouTube-Video",videoNoSupportFallbackText:"Ihr Browser unterst\u00fctzt das Video-Tag nicht.",cancelClientSideTask:"Task abbrechen",messageTooLongWarning:"Ihre Eingabe umfasst viel Text, was zu einem Ergebnis ohne \u00dcbereinstimmung f\u00fchren kann. K\u00fcrzen Sie die Abfrage, um eine bessere Antwort zu erhalten.",
positiveFeedbackAriaLabel:"Gute Antwort",negativeFeedbackAriaLabel:"Schlechte Antwort",uploadFileAriaLabel:"Datei hochladen",microphoneAriaLabel:"Mikrofon verwenden"});DF_Mn.set("de-at",{askSomething:"Stellen Sie eine Frage\u2026",chatTitle:"Chat",genericErrorMessage:"Ein Problem ist aufgetreten. Bitte versuchen Sie es noch einmal.",messageTooLong:"Hoppla! Ihre Nachricht ist {$numOfChars}\u00a0Zeichen zu lang.",authErrorMessage:"Die Berechtigung wurde verweigert.",openAriaLabel:"{$chatTitle} \u00f6ffnen",closeAriaLabel:"{$chatTitle} schlie\u00dfen",sendAriaLabel:"Senden",inputAriaLabel:"Mit Agent sprechen",opensInANewTab:"Wird in einem neuen Tab ge\u00f6ffnet",
agentSays:"Agent sagt:",iSay:"Ich sage:",citationsMessage:"Quelle:",feedbackWhyRatingText:"Warum haben Sie sich f\u00fcr diese Bewertung entschieden?",feedbackOptionalText:"optional",feedbackPlaceholder:"Zus\u00e4tzliches Feedback",feedbackSubmit:"Senden",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Falsch",feedbackChipUnsafe:"Unsicher",feedbackInputAriaLabel:"Zus\u00e4tzliches Feedback geben",feedbackCloseAriaLabel:"Zus\u00e4tzliches Feedback schlie\u00dfen",feedbackSubmitAriaLabel:"Zus\u00e4tzliches Feedback senden",
feedbackThankYouText:"Vielen Dank f\u00fcr Ihr Feedback",feedbackPrivacyNoticeText:"Geben Sie bitte keine personenbezogenen oder vertraulichen Daten an",requestAccess:"Zugriff anfordern",useCodeWithCautionText:"Seien Sie vorsichtig, wenn sie den Code verwenden.",copyCodeAriaLabel:"Code kopieren",jumpToBottom:"Nach unten springen",youtubeVideoLabel:"YouTube-Video",videoNoSupportFallbackText:"Ihr Browser unterst\u00fctzt das Video-Tag nicht.",cancelClientSideTask:"Task abbrechen",messageTooLongWarning:"Ihre Eingabe umfasst viel Text, was zu einem Ergebnis ohne \u00dcbereinstimmung f\u00fchren kann. K\u00fcrzen Sie die Abfrage, um eine bessere Antwort zu erhalten.",
positiveFeedbackAriaLabel:"Gute Antwort",negativeFeedbackAriaLabel:"Schlechte Antwort",uploadFileAriaLabel:"Datei hochladen",microphoneAriaLabel:"Mikrofon verwenden"});DF_Mn.set("de-ch",{askSomething:"Stellen Sie eine Frage\u2026",chatTitle:"Chat",genericErrorMessage:"Ein Problem ist aufgetreten. Bitte versuchen Sie es noch einmal.",messageTooLong:"Hoppla! Ihre Nachricht ist {$numOfChars}\u00a0Zeichen zu lang.",authErrorMessage:"Die Berechtigung wurde verweigert.",openAriaLabel:"{$chatTitle} \u00f6ffnen",closeAriaLabel:"{$chatTitle} schlie\u00dfen",sendAriaLabel:"Senden",inputAriaLabel:"Mit Agent sprechen",opensInANewTab:"Wird in einem neuen Tab ge\u00f6ffnet",
agentSays:"Agent sagt:",iSay:"Ich sage:",citationsMessage:"Quelle:",feedbackWhyRatingText:"Warum haben Sie sich f\u00fcr diese Bewertung entschieden?",feedbackOptionalText:"optional",feedbackPlaceholder:"Zus\u00e4tzliches Feedback",feedbackSubmit:"Senden",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Falsch",feedbackChipUnsafe:"Unsicher",feedbackInputAriaLabel:"Zus\u00e4tzliches Feedback geben",feedbackCloseAriaLabel:"Zus\u00e4tzliches Feedback schlie\u00dfen",feedbackSubmitAriaLabel:"Zus\u00e4tzliches Feedback senden",
feedbackThankYouText:"Vielen Dank f\u00fcr Ihr Feedback",feedbackPrivacyNoticeText:"Geben Sie bitte keine personenbezogenen oder vertraulichen Daten an",requestAccess:"Zugriff anfordern",useCodeWithCautionText:"Seien Sie vorsichtig, wenn sie den Code verwenden.",copyCodeAriaLabel:"Code kopieren",jumpToBottom:"Nach unten springen",youtubeVideoLabel:"YouTube-Video",videoNoSupportFallbackText:"Ihr Browser unterst\u00fctzt das Video-Tag nicht.",cancelClientSideTask:"Task abbrechen",messageTooLongWarning:"Ihre Eingabe umfasst viel Text, was zu einem Ergebnis ohne \u00dcbereinstimmung f\u00fchren kann. K\u00fcrzen Sie die Abfrage, um eine bessere Antwort zu erhalten.",
positiveFeedbackAriaLabel:"Gute Antwort",negativeFeedbackAriaLabel:"Schlechte Antwort",uploadFileAriaLabel:"Datei hochladen",microphoneAriaLabel:"Mikrofon verwenden"});DF_Mn.set("es",{askSomething:"Pregunta algo...",chatTitle:"Chat",genericErrorMessage:"Se ha producido un error. Vuelve a intentarlo.",messageTooLong:"\u00a1Vaya! Tu mensaje contiene caracteres de m\u00e1s: {$numOfChars}",authErrorMessage:"Permiso denegado.",openAriaLabel:"Abrir {$chatTitle}",closeAriaLabel:"Cerrar {$chatTitle}",sendAriaLabel:"Enviar",inputAriaLabel:"Hablar con agente",opensInANewTab:"Se abre en una nueva pesta\u00f1a",agentSays:"Mensaje del agente:",iSay:"Mi mensaje:",citationsMessage:"Fuente:",
feedbackWhyRatingText:"\u00bfPor qu\u00e9 has elegido esta valoraci\u00f3n?",feedbackOptionalText:"opcional",feedbackPlaceholder:"M\u00e1s comentarios",feedbackSubmit:"Enviar",feedbackChipIrrelevant:"Irrelevante",feedbackChipIncorrect:"Incorrecto",feedbackChipUnsafe:"No seguro",feedbackInputAriaLabel:"Proporciona m\u00e1s comentarios",feedbackCloseAriaLabel:"Cerrar comentarios adicionales",feedbackSubmitAriaLabel:"Enviar m\u00e1s comentarios",feedbackThankYouText:"Gracias por enviarnos tus comentarios",
feedbackPrivacyNoticeText:"No incluyas datos personales ni sensibles",requestAccess:"Solicitar acceso",useCodeWithCautionText:"Usa el c\u00f3digo con precauci\u00f3n.",copyCodeAriaLabel:"Copiar c\u00f3digo",jumpToBottom:"Ir al final",youtubeVideoLabel:"V\u00eddeo de YouTube",videoNoSupportFallbackText:"Tu navegador no es compatible con la etiqueta de v\u00eddeo.",cancelClientSideTask:"Cancelar tarea",messageTooLongWarning:"Est\u00e1s escribiendo una entrada larga, lo que puede generar un resultado sin coincidencias. Acorta tu consulta para recibir una respuesta m\u00e1s acertada.",
positiveFeedbackAriaLabel:"Buena respuesta",negativeFeedbackAriaLabel:"Mala respuesta",uploadFileAriaLabel:"Subir archivo",microphoneAriaLabel:"Usar micr\u00f3fono"});DF_Mn.set("fr",{askSomething:"Posez une question\u2026",chatTitle:"Chat",genericErrorMessage:"Une erreur s'est produite. Veuillez r\u00e9essayer.",messageTooLong:"Petit probl\u00e8me\u2026 Votre message contient {$numOfChars}\u00a0caract\u00e8re(s) en trop.",authErrorMessage:"Autorisation refus\u00e9e.",openAriaLabel:"Ouvrir\u00a0{$chatTitle}",closeAriaLabel:"Fermer {$chatTitle}",sendAriaLabel:"Envoyer",inputAriaLabel:"Parlez \u00e0 l'agent",opensInANewTab:"La page s'ouvre dans un nouvel onglet",
agentSays:"L'agent dit\u00a0:",iSay:"Je dis\u00a0:",citationsMessage:"Source\u00a0:",feedbackWhyRatingText:"Pourquoi \u00eates-vous de cet avis\u00a0?",feedbackOptionalText:"facultatif",feedbackPlaceholder:"Autres commentaires",feedbackSubmit:"Envoyer",feedbackChipIrrelevant:"Non pertinent",feedbackChipIncorrect:"Incorrect",feedbackChipUnsafe:"Non s\u00e9curis\u00e9",feedbackInputAriaLabel:"Fournir d'autres commentaires",feedbackCloseAriaLabel:"Fermer les commentaires suppl\u00e9mentaires",feedbackSubmitAriaLabel:"Envoyer les commentaires suppl\u00e9mentaires",
feedbackThankYouText:"Merci de vos commentaires",feedbackPrivacyNoticeText:"Veuillez ne pas fournir d'informations personnelles ni sensibles",requestAccess:"Demander l'acc\u00e8s",useCodeWithCautionText:"Utilisez ce code avec pr\u00e9caution.",copyCodeAriaLabel:"Copier le code",jumpToBottom:"Aller en bas",youtubeVideoLabel:"Vid\u00e9o YouTube",videoNoSupportFallbackText:"Votre navigateur n'est pas compatible avec le tag vid\u00e9o.",cancelClientSideTask:"Annuler la t\u00e2che",messageTooLongWarning:"Vous saisissez une requ\u00eate longue, ce qui peut aboutir \u00e0 un r\u00e9sultat sans correspondance. Raccourcissez votre requ\u00eate pour obtenir une r\u00e9ponse plus appropri\u00e9e.",
positiveFeedbackAriaLabel:"Bonne r\u00e9ponse",negativeFeedbackAriaLabel:"Mauvaise r\u00e9ponse",uploadFileAriaLabel:"Importer un fichier",microphoneAriaLabel:"Utiliser le micro"});DF_Mn.set("fr-ch",{askSomething:"Posez une question\u2026",chatTitle:"Chat",genericErrorMessage:"Une erreur s'est produite. Veuillez r\u00e9essayer.",messageTooLong:"Petit probl\u00e8me\u2026 Votre message contient {$numOfChars}\u00a0caract\u00e8re(s) en trop.",authErrorMessage:"Autorisation refus\u00e9e.",openAriaLabel:"Ouvrir\u00a0{$chatTitle}",closeAriaLabel:"Fermer {$chatTitle}",sendAriaLabel:"Envoyer",inputAriaLabel:"Parlez \u00e0 l'agent",opensInANewTab:"La page s'ouvre dans un nouvel onglet",
agentSays:"L'agent dit\u00a0:",iSay:"Je dis\u00a0:",citationsMessage:"Source\u00a0:",feedbackWhyRatingText:"Pourquoi \u00eates-vous de cet avis\u00a0?",feedbackOptionalText:"facultatif",feedbackPlaceholder:"Autres commentaires",feedbackSubmit:"Envoyer",feedbackChipIrrelevant:"Non pertinent",feedbackChipIncorrect:"Incorrect",feedbackChipUnsafe:"Non s\u00e9curis\u00e9",feedbackInputAriaLabel:"Fournir d'autres commentaires",feedbackCloseAriaLabel:"Fermer les commentaires suppl\u00e9mentaires",feedbackSubmitAriaLabel:"Envoyer les commentaires suppl\u00e9mentaires",
feedbackThankYouText:"Merci de vos commentaires",feedbackPrivacyNoticeText:"Veuillez ne pas fournir d'informations personnelles ni sensibles",requestAccess:"Demander l'acc\u00e8s",useCodeWithCautionText:"Utilisez ce code avec pr\u00e9caution.",copyCodeAriaLabel:"Copier le code",jumpToBottom:"Aller en bas",youtubeVideoLabel:"Vid\u00e9o YouTube",videoNoSupportFallbackText:"Votre navigateur n'est pas compatible avec le tag vid\u00e9o.",cancelClientSideTask:"Annuler la t\u00e2che",messageTooLongWarning:"Vous saisissez une requ\u00eate longue, ce qui peut aboutir \u00e0 un r\u00e9sultat sans correspondance. Raccourcissez votre requ\u00eate pour obtenir une r\u00e9ponse plus appropri\u00e9e.",
positiveFeedbackAriaLabel:"Bonne r\u00e9ponse",negativeFeedbackAriaLabel:"Mauvaise r\u00e9ponse",uploadFileAriaLabel:"Importer un fichier",microphoneAriaLabel:"Utiliser le micro"});DF_Mn.set("hi",{askSomething:"\u0915\u0941\u091b \u092a\u0942\u091b\u0947\u0902...",chatTitle:"\u091a\u0948\u091f \u0915\u0930\u0947\u0902",genericErrorMessage:"\u0915\u094b\u0908 \u0917\u0921\u093c\u092c\u0921\u093c\u0940 \u0939\u0941\u0908, \u0915\u0943\u092a\u092f\u093e \u092b\u093f\u0930 \u0938\u0947 \u0915\u094b\u0936\u093f\u0936 \u0915\u0930\u0947\u0902.",messageTooLong:"\u0913\u0939! \u0906\u092a\u0915\u0947 \u092e\u0948\u0938\u0947\u091c \u092e\u0947\u0902 {$numOfChars} \u0935\u0930\u094d\u0923 \u091c\u093c\u094d\u092f\u093e\u0926\u093e \u0939\u0948\u0902.",
authErrorMessage:"\u0905\u0928\u0941\u092e\u0924\u093f \u0928\u0939\u0940\u0902 \u0926\u0940 \u0917\u0908.",openAriaLabel:"{$chatTitle} \u0916\u094b\u0932\u0947\u0902",closeAriaLabel:"{$chatTitle} \u092c\u0902\u0926 \u0915\u0930\u0947\u0902",sendAriaLabel:"\u092d\u0947\u091c\u0947\u0902",inputAriaLabel:"\u090f\u091c\u0947\u0902\u091f \u0938\u0947 \u092c\u093e\u0924 \u0915\u0930\u0947\u0902",opensInANewTab:"\u0928\u090f \u091f\u0948\u092c \u092e\u0947\u0902 \u0916\u0941\u0932\u0924\u093e \u0939\u0948",
agentSays:"\u090f\u091c\u0947\u0902\u091f \u0928\u0947 \u0915\u0939\u093e:",iSay:"\u092e\u0948\u0902\u0928\u0947 \u0915\u0939\u093e:",citationsMessage:"\u0938\u094d\u0930\u094b\u0924:",feedbackWhyRatingText:"\u0906\u092a\u0915\u0947 \u092f\u0939 \u0930\u0947\u091f\u093f\u0902\u0917 \u0926\u0947\u0928\u0947 \u0915\u0940 \u0935\u091c\u0939 \u0915\u094d\u092f\u093e \u0939\u0948?",feedbackOptionalText:"\u091c\u093c\u0930\u0942\u0930\u0940 \u0928\u0939\u0940\u0902",feedbackPlaceholder:"\u0905\u0928\u094d\u092f \u0938\u0941\u091d\u093e\u0935",
feedbackSubmit:"\u0938\u092c\u092e\u093f\u091f \u0915\u0930\u0947\u0902",feedbackChipIrrelevant:"\u0915\u093e\u092e \u0915\u093e \u0928\u0939\u0940\u0902 \u0939\u0948",feedbackChipIncorrect:"\u0917\u0932\u0924 \u0939\u0948",feedbackChipUnsafe:"\u0905\u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0939\u0948",feedbackInputAriaLabel:"\u0915\u094b\u0908 \u0905\u0928\u094d\u092f \u0938\u0941\u091d\u093e\u0935 \u0926\u0947\u0902",feedbackCloseAriaLabel:"\u0905\u0928\u094d\u092f \u0936\u093f\u0915\u093e\u092f\u0924 \u0935\u093e\u0932\u093e \u0938\u0947\u0915\u094d\u0936\u0928 \u092c\u0902\u0926 \u0915\u0930\u0947\u0902",
feedbackSubmitAriaLabel:"\u0905\u0928\u094d\u092f \u0938\u0941\u091d\u093e\u0935 \u0938\u092c\u092e\u093f\u091f \u0915\u0930\u0947\u0902",feedbackThankYouText:"\u0906\u092a\u0915\u0947 \u0938\u0941\u091d\u093e\u0935 \u0915\u0947 \u0932\u093f\u090f \u0927\u0928\u094d\u092f\u0935\u093e\u0926",feedbackPrivacyNoticeText:"\u0915\u0943\u092a\u092f\u093e \u0915\u094b\u0908 \u0928\u093f\u091c\u0940 \u092f\u093e \u0938\u0902\u0935\u0947\u0926\u0928\u0936\u0940\u0932 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0928 \u0926\u0947\u0902",
requestAccess:"\u0910\u0915\u094d\u0938\u0947\u0938 \u092e\u093e\u0902\u0917\u0947\u0902",useCodeWithCautionText:"\u0915\u094b\u0921 \u0915\u093e \u0907\u0938\u094d\u0924\u0947\u092e\u093e\u0932 \u0938\u093e\u0935\u0927\u093e\u0928\u0940 \u0938\u0947 \u0915\u0930\u0947\u0902.",copyCodeAriaLabel:"\u0915\u094b\u0921 \u0915\u0949\u092a\u0940 \u0915\u0930\u0947\u0902",jumpToBottom:"\u0938\u092c\u0938\u0947 \u0928\u0940\u091a\u0947 \u091c\u093e\u090f\u0902",youtubeVideoLabel:"YouTube \u0935\u0940\u0921\u093f\u092f\u094b",
videoNoSupportFallbackText:"\u0906\u092a\u0915\u0947 \u092c\u094d\u0930\u093e\u0909\u091c\u093c\u0930 \u092e\u0947\u0902, \u0935\u0940\u0921\u093f\u092f\u094b \u092e\u0947\u0902 \u091f\u0948\u0917 \u091c\u094b\u0921\u093c\u0928\u0947 \u0915\u0940 \u0938\u0941\u0935\u093f\u0927\u093e \u0915\u093e\u092e \u0928\u0939\u0940\u0902 \u0915\u0930\u0924\u0940.",cancelClientSideTask:"\u091f\u093e\u0938\u094d\u0915 \u0930\u0926\u094d\u0926 \u0915\u0930\u0947\u0902",messageTooLongWarning:'\u0906\u092a\u0915\u093e \u0907\u0928\u092a\u0941\u091f \u092c\u0939\u0941\u0924 \u0932\u0902\u092c\u093e \u0939\u0948. \u0907\u0938 \u0915\u093e\u0930\u0923, \u0906\u092a\u0915\u094b "\u0915\u094b\u0908 \u092e\u0948\u091a \u0928\u0939\u0940\u0902 \u092e\u093f\u0932\u093e" \u0935\u093e\u0932\u093e \u0928\u0924\u0940\u091c\u093e \u092e\u093f\u0932 \u0938\u0915\u0924\u093e \u0939\u0948. \u092c\u0947\u0939\u0924\u0930 \u091c\u0935\u093e\u092c \u0915\u0947 \u0932\u093f\u090f \u0905\u092a\u0928\u0940 \u0915\u094d\u0935\u0947\u0930\u0940 \u09
positiveFeedbackAriaLabel:"\u0905\u091a\u094d\u091b\u093e \u091c\u0935\u093e\u092c",negativeFeedbackAriaLabel:"\u0916\u0930\u093e\u092c \u091c\u0935\u093e\u092c",uploadFileAriaLabel:"\u092b\u093c\u093e\u0907\u0932 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902",microphoneAriaLabel:"\u092e\u093e\u0907\u0915\u094d\u0930\u094b\u092b\u093c\u094b\u0928 \u0907\u0938\u094d\u0924\u0947\u092e\u093e\u0932 \u0915\u0930\u0947\u0902"});DF_Mn.set("it",{askSomething:"Poni una domanda\u2026",chatTitle:"Chat",genericErrorMessage:"Si \u00e8 verificato un errore. Riprova.",messageTooLong:"Spiacenti. Il tuo messaggio \u00e8 troppo lungo (caratteri oltre la lunghezza massima consentita: {$numOfChars}).",authErrorMessage:"Autorizzazione negata.",openAriaLabel:"Apri {$chatTitle}",closeAriaLabel:"Chiudi {$chatTitle}",sendAriaLabel:"Invia",inputAriaLabel:"Parla con l'agente",opensInANewTab:"Si apre in una nuova scheda",agentSays:"Messaggio dell'agente:",
iSay:"Messaggio dell'utente:",citationsMessage:"Fonte:",feedbackWhyRatingText:"Perch\u00e9 hai assegnato questa valutazione?",feedbackOptionalText:"facoltativo",feedbackPlaceholder:"Feedback aggiuntivo",feedbackSubmit:"Invia",feedbackChipIrrelevant:"Non pertinente",feedbackChipIncorrect:"Incorretto",feedbackChipUnsafe:"Non sicuro",feedbackInputAriaLabel:"Fornisci un feedback aggiuntivo",feedbackCloseAriaLabel:"Chiudi feedback aggiuntivo",feedbackSubmitAriaLabel:"Invia feedback aggiuntivo",feedbackThankYouText:"Grazie per il tuo feedback",
feedbackPrivacyNoticeText:"Non fornire dati personali o sensibili",requestAccess:"Richiedi accesso",useCodeWithCautionText:"Usa il codice con cautela.",copyCodeAriaLabel:"Copia codice",jumpToBottom:"Vai alla fine",youtubeVideoLabel:"Video di YouTube",videoNoSupportFallbackText:"Il tuo browser non supporta il tag video.",cancelClientSideTask:"Annulla attivit\u00e0",messageTooLongWarning:'Stai scrivendo un input lungo, il che potrebbe generare "nessuna corrispondenza" come risultato. Abbrevia la query per una risposta migliore.',
positiveFeedbackAriaLabel:"Risposta buona",negativeFeedbackAriaLabel:"Risposta scadente",uploadFileAriaLabel:"Carica file",microphoneAriaLabel:"Usa il microfono"});DF_Mn.set("nl",{askSomething:"Vraag iets...",chatTitle:"Chat",genericErrorMessage:"Er is iets misgegaan. Probeer het opnieuw.",messageTooLong:"Oeps! Uw bericht is {$numOfChars} teken(s) te lang.",authErrorMessage:"Toestemming geweigerd.",openAriaLabel:"{$chatTitle} openen",closeAriaLabel:"{$chatTitle} sluiten",sendAriaLabel:"Sturen",inputAriaLabel:"Praten met medewerker",opensInANewTab:"Wordt op een nieuw tabblad geopend",agentSays:"Medewerker zegt:",iSay:"Ik zeg:",citationsMessage:"Bron:",feedbackWhyRatingText:"Waarom heb je deze beoordeling gekozen?",
feedbackOptionalText:"optioneel",feedbackPlaceholder:"Aanvullende feedback",feedbackSubmit:"Sturen",feedbackChipIrrelevant:"Niet relevant",feedbackChipIncorrect:"Onjuist",feedbackChipUnsafe:"Onveilig",feedbackInputAriaLabel:"Aanvullende feedback geven",feedbackCloseAriaLabel:"Aanvullende feedback sluiten",feedbackSubmitAriaLabel:"Aanvullende feedback sturen",feedbackThankYouText:"Hartelijk dank voor uw feedback",feedbackPrivacyNoticeText:"Vermeld geen persoonlijke of gevoelige gegevens",requestAccess:"Toegang aanvragen",
useCodeWithCautionText:"Wees voorzichtig met het gebruik van code.",copyCodeAriaLabel:"Code kopi\u00ebren",jumpToBottom:"Naar beneden",youtubeVideoLabel:"YouTube-video",videoNoSupportFallbackText:"Uw browser ondersteunt de videotag niet.",cancelClientSideTask:"Taak annuleren",messageTooLongWarning:"Uw invoer is lang, waardoor er misschien geen overeenkomst wordt gevonden. Kort de query in voor een betere reactie.",positiveFeedbackAriaLabel:"Goede reactie",negativeFeedbackAriaLabel:"Slechte reactie",
uploadFileAriaLabel:"Bestand uploaden",microphoneAriaLabel:"Microfoon gebruiken"});DF_Mn.set("pt-pt",{askSomething:"Fa\u00e7a uma pergunta\u2026",chatTitle:"Chat",genericErrorMessage:"Algo correu mal. Tente mais tarde.",messageTooLong:"Ups! A sua mensagem tem {$numOfChars} car\u00e1ter/carateres a mais.",authErrorMessage:"Autoriza\u00e7\u00e3o recusada.",openAriaLabel:"Abrir {$chatTitle}",closeAriaLabel:"Fechar {$chatTitle}",sendAriaLabel:"Enviar",inputAriaLabel:"Fale com um agente",opensInANewTab:"Abre-se num novo separador",agentSays:"O agente disse:",iSay:"Eu disse:",citationsMessage:"Fonte:",
feedbackWhyRatingText:"Porque escolheu esta classifica\u00e7\u00e3o?",feedbackOptionalText:"opcional",feedbackPlaceholder:"Feedback adicional",feedbackSubmit:"Enviar",feedbackChipIrrelevant:"Irrelevante",feedbackChipIncorrect:"Incorreto",feedbackChipUnsafe:"Inseguro",feedbackInputAriaLabel:"Envie feedback adicional",feedbackCloseAriaLabel:"Fechar feedback adicional",feedbackSubmitAriaLabel:"Enviar feedback adicional",feedbackThankYouText:"Obrigado pelo seu feedback",feedbackPrivacyNoticeText:"N\u00e3o partilhe dados pessoais nem confidenciais",
requestAccess:"Pedir acesso",useCodeWithCautionText:"Use o c\u00f3digo com cuidado.",copyCodeAriaLabel:"Copiar c\u00f3digo",jumpToBottom:"Ir para o final",youtubeVideoLabel:"V\u00eddeo do YouTube",videoNoSupportFallbackText:"O seu navegador n\u00e3o suporta a etiqueta de v\u00eddeo.",cancelClientSideTask:"Cancelar tarefa",messageTooLongWarning:'A sua entrada \u00e9 demasiado comprida, o que pode originar o resultado "Sem correspond\u00eancias". Encurte a consulta para obter uma melhor resposta.',
positiveFeedbackAriaLabel:"Boa resposta",negativeFeedbackAriaLabel:"Resposta de baixa qualidade",uploadFileAriaLabel:"Carregar ficheiro",microphoneAriaLabel:"Usar microfone"});DF_Mn.set("sv",{askSomething:"St\u00e4ll en fr\u00e5ga\u00a0\u2026",chatTitle:"Chatt",genericErrorMessage:"Ett fel uppstod. F\u00f6rs\u00f6k igen.",messageTooLong:"Hoppsan! Ditt meddelande \u00e4r {$numOfChars} tecken f\u00f6r l\u00e5ngt.",authErrorMessage:"Beh\u00f6righet nekad.",openAriaLabel:"\u00d6ppna {$chatTitle}",closeAriaLabel:"St\u00e4ng {$chatTitle}",sendAriaLabel:"Skicka",inputAriaLabel:"Prata med representant",opensInANewTab:"\u00d6ppnas p\u00e5 en ny flik",agentSays:"Representanten s\u00e4ger:",
iSay:"Jag s\u00e4ger:",citationsMessage:"K\u00e4lla:",feedbackWhyRatingText:"Varf\u00f6r valde du det h\u00e4r betyget?",feedbackOptionalText:"valfritt",feedbackPlaceholder:"\u00d6vrig feedback",feedbackSubmit:"Skicka",feedbackChipIrrelevant:"Irrelevant",feedbackChipIncorrect:"Felaktig",feedbackChipUnsafe:"Os\u00e4ker",feedbackInputAriaLabel:"L\u00e4mna ytterligare feedback",feedbackCloseAriaLabel:"St\u00e4ng ytterligare feedback",feedbackSubmitAriaLabel:"L\u00e4mna ytterligare feedback",feedbackThankYouText:"Tack f\u00f6r din feedback!",
feedbackPrivacyNoticeText:"Ange inga personliga eller k\u00e4nsliga uppgifter",requestAccess:"Beg\u00e4r \u00e5tkomst",useCodeWithCautionText:"Anv\u00e4nd koden med f\u00f6rsiktighet.",copyCodeAriaLabel:"Kopiera kod",jumpToBottom:"Hoppa l\u00e4ngst ned",youtubeVideoLabel:"YouTube-video",videoNoSupportFallbackText:"Din webbl\u00e4sare har inte st\u00f6d f\u00f6r videotaggen.",cancelClientSideTask:"Avbryt uppgift",messageTooLongWarning:"Du skriver ett l\u00e5ngt meddelande, vilket kan leda till att ingen matchning hittas. F\u00f6rkorta s\u00f6kfr\u00e5gan f\u00f6r att f\u00e5 ett b\u00e4ttre svar.",
positiveFeedbackAriaLabel:"Bra svar",negativeFeedbackAriaLabel:"D\u00e5ligt svar",uploadFileAriaLabel:"Ladda upp fil",microphoneAriaLabel:"Anv\u00e4nd mikrofonen"});function DF_Mo(a,b,c){a=DF_M1a(a,b);if(!c)return a;c=DF_Md(Object.entries(c));for(b=c.next();!b.done;b=c.next()){var d=DF_Md(b.value);b=d.next().value;d=d.next().value;a=a.replace(new RegExp("\\{\\$"+b+"\\}","g"),d)}return a}function DF_M1a(a,b){var c,d;if(c=(d=globalThis.dfMessengerTexts)==null?void 0:d[b])return c;if(!a)return DF_Mn.get("en")[b]||"";a=a.toLowerCase();return DF_Mn.has(a)?(a=DF_Mn.get(a)[b])?a:DF_Mn.get("en")[b]||"":DF_Mn.get("en")[b]||""};function DF_M2a(a,b,c){var d=new Image;d.onload=function(){b()};d.onerror=function(){c()};d.src=a}function DF_M3a(a){return a!==void 0&&a!==null}function DF_M4a(a,b,c){return a!=null?a:DF_Mo(b,c)}function DF_M5a(a){DF_Mm(a,"df-messenger-scroll-into-view",{padding:10,element:a})}function DF_M6a(a){return typeof a==="string"||a instanceof String}function DF_M7a(a){return a!=null&&(typeof a==="obje
function DF_M9a(a){if((a=a.match(DF_M8a))&&!(a.length<6))return a[6]}function DF_M$a(a){return function(){var b=!1;return function(){b||(b=a())}}()}function DF_Mab(a,b){return b<0?!0:a<=b}var DF_Mbb=new Set(["image/gif","image/jpeg","image/png"]);function DF_Mp(a){return function(b,c){c!==void 0?c.m(function(){customElements.define(a,b)}):customElements.define(a,b)}};/*
Copyright 2016 Google LLC
SPDX-License-Identifier: BSD-3-Clause
var DF_Mcb=!DF_MOa||HTMLElement.es5Shimmed||DF_Mj.Reflect===void 0||DF_Mj.customElements===void 0||DF_Mj.customElements.polyfillWrapFlushCallback||!1,DF_Mdb;function DF_Meb(){function a(){return c.construct(b,[],this.constructor)}var b=HTMLElement;if(DF_Mcb)return b;if(DF_Mdb!==void 0)return DF_Mdb;var c=DF_Mj.Reflect;a.prototype=b.prototype;a.prototype.constructor=a;a.es5Shimmed=!0;Object.setPrototypeOf(a,b);return DF_Mdb=a}var DF_Mfb=!1;/*
Copyright 2019 Google LLC
SPDX-License-Identifier: BSD-3-Clause
var DF_Mgb=DF_Mj.ShadowRoot&&(DF_Mj.ShadyCSS===void 0||DF_Mj.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,DF_Mhb=Symbol(),DF_Mib=new WeakMap;function DF_Mjb(a,b,c){this._$cssResult$=!0;if(c!==DF_Mhb)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a;this.h=b}DF_Mjb.prototype.toString=function(){return this.cssText};
DF_Ma.Object.defineProperties(DF_Mjb.prototype,{g:{configurable:!0,enumerable:!0,get:function(){var a=this.i,b=this.h;if(DF_Mgb&&a===void 0){var c=b!==void 0&&b.length===1;c&&(a=DF_Mib.get(b));a===void 0&&((this.i=a=new CSSStyleSheet).replaceSync(this.cssText),c&&DF_Mib.set(b,a))}return a}}});
function DF_Mq(a){var b=DF_Mi.apply(1,arguments);return function(){var c=a.length===1?a[0]:b.reduce(function(d,e,f){if(e._$cssResult$===!0)e=e.cssText;else if(typeof e!=="number")throw Error("Value passed to 'css' function must be a 'css' function result: "+(e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security."));return d+e+a[f+1]},a[0]);return new DF_Mjb(c,a,DF_Mhb)}()}
function DF_Mkb(a,b){if(DF_Mgb)a.adoptedStyleSheets=b.map(function(f){return f instanceof CSSStyleSheet?f:f.g});else{b=DF_Md(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=document.createElement("style"),e=DF_Mj.litNonce;e!==void 0&&d.setAttribute("nonce",e);d.textContent=c.cssText;a.appendChild(d)}}}
var DF_Mlb=DF_Mgb?function(a){return a}:function(a){if(a instanceof CSSStyleSheet){var b="";a=DF_Md(a.cssRules);for(var c=a.next();!c.done;c=a.next())b+=c.value.cssText;b=new DF_Mjb(typeof b==="string"?b:String(b),void 0,DF_Mhb)}else b=a;return b};function DF_Mmb(a){if(window.ShadyCSS!==void 0&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){a=a.ReactiveElement.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&window.ShadyDOM.noPatch===!0&&window.ShadyDOM.patchElementProto(a);var b=a.ha;a.ha=function(){var e=this.localName;if(window.ShadyCSS.nativeShadow)return b.call(this);if(!this.constructor.hasOwnProperty("__scoped")){this.constructor.__scoped=!0;var f=this.constructor.s.map(function(l){return l instanceof CSSStyleSheet?Array.from(l.cssRules).reduce(function(m,
n){return m+n.cssText},""):l.cssText}),g,h;(g=window.ShadyCSS)==null||(h=g.ScopingShim)==null||h.prepareAdoptedCssText(f,e);this.constructor.Yc===void 0&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}var k;return(k=this.shadowRoot)!=null?k:this.attachShadow(this.constructor.F)};var c=a.connectedCallback;a.connectedCallback=function(){c.call(this);this.Ia&&window.ShadyCSS.styleElement(this)};var d=a.Ab;a.Ab=function(e){this.Ia||window.ShadyCSS.styleElement(this);d.call(this,
e)}}}var DF_Mnb;(DF_Mnb=window).reactiveElementPolyfillSupport!=null||(DF_Mnb.reactiveElementPolyfillSupport=DF_Mmb);DF_Mcb||DF_Mfb||(DF_Mfb=!0,DF_Mj.HTMLElement=DF_Meb());
var DF_Mob=DF_Meb(),DF_Mpb=Object,DF_Mqb=DF_Mpb.is,DF_Mrb=DF_Mpb.defineProperty,DF_Msb=DF_Mpb.getOwnPropertyDescriptor,DF_Mtb=DF_Mpb.getOwnPropertyNames,DF_Mub=DF_Mpb.getOwnPropertySymbols,DF_Mvb=DF_Mpb.getPrototypeOf,DF_Mwb=DF_Mj.trustedTypes,DF_Mxb=DF_Mwb?DF_Mwb.emptyScript:"",DF_Myb=DF_Mj.reactiveElementPolyfillSupport,DF_Mzb={Lc:function(a,b){switch(b){case Boolean:a=a?DF_Mxb:null;break;case Object:case Array:a=a==null?a:JSON.stringify(a)}return a},Qb:function(a,b){var c=a;switch(b){case Boolean:c=
a!==null;break;case Number:c=a===null?null:Number(a);break;case Object:case Array:try{c=JSON.parse(a)}catch(d){c=null}}return c}};function DF_MAb(a,b){return!DF_Mqb(a,b)}var DF_MBb={l:!0,type:String,ua:DF_Mzb,L:!1,Ac:DF_MAb},DF_MCb;Symbol.metadata==null&&(Symbol.metadata=Symbol("metadata"));DF_MCb=Symbol.metadata;var DF_MDb=new WeakMap;function DF_Mr(){var a=DF_Mob.call(this)||this;a.H=void 0;a.G=!1;a.Ia=!1;a.h=null;a.cd();return a}DF_Mc(DF_Mr,DF_Mob);
DF_Mr.m=function(a){this.g();var b;((b=this.Oa)!=null?b:this.Oa=[]).push(a)};DF_Mr.v=function(a,b){b=b===void 0?DF_MBb:b;b.state&&(b.l=!1);this.g();this.ba.set(a,b);b.ge||(b=this.i(a,Symbol(),b),b!==void 0&&DF_Mrb(this.prototype,a,b))};
DF_Mr.i=function(a,b,c){var d,e=(d=DF_Msb(this.prototype,a))!=null?d:{get:function(){return this[b]},set:function(h){this[b]=h}},f=e.get,g=e.set;return{get:function(){return f==null?void 0:f.call(this)},set:function(h){var k=f==null?void 0:f.call(this);g.call(this,h);DF_MVa(this,a,k,c)},configurable:!0,enumerable:!0}};DF_Mr.D=function(a){var b;return(b=this.ba.get(a))!=null?b:DF_MBb};
DF_Mr.g=function(){if(!this.hasOwnProperty("ba")){var a=DF_Mvb(this);a.C();a.Oa!==void 0&&(this.Oa=[].concat(DF_Me(a.Oa)));this.ba=new Map(a.ba)}};
DF_Mr.C=function(){DF_MEb();if(!this.hasOwnProperty("Pb")){this.Pb=!0;this.g();if(this.hasOwnProperty("Od")){var a=this.Od,b=[].concat(DF_Me(DF_Mtb(a)),DF_Me(DF_Mub(a)));b=DF_Md(b);for(var c=b.next();!c.done;c=b.next())c=c.value,this.v(c,a[c])}a=this[DF_MCb];if(a!==null&&(a=DF_MDb.get(a),a!==void 0))for(a=DF_Md(a),b=a.next();!b.done;b=a.next())c=DF_Md(b.value),b=c.next().value,c=c.next().value,this.ba.set(b,c);this.ib=new Map;a=DF_Md(this.ba);for(b=a.next();!b.done;b=a.next())c=DF_Md(b.value),b=c.next().value,
c=c.next().value,c=this.u(b,c),c!==void 0&&this.ib.set(c,b);this.s=this.h(this.j)}};DF_Mr.h=function(a){var b=[];if(Array.isArray(a)){a=new Set(a.flat(Infinity).reverse());a=DF_Md(a);for(var c=a.next();!c.done;c=a.next())b.unshift(DF_Mlb(c.value))}else a!==void 0&&b.push(DF_Mlb(a));return b};DF_Mr.u=function(a,b){b=b.l;return b===!1?void 0:typeof b==="string"?b:typeof a==="string"?a.toLowerCase():void 0};DF_M=DF_Mr.prototype;
DF_M.cd=function(){var a=this;this.za=new Promise(function(c){return a.wc=c});this.i=new Map;this.ed();DF_MVa(this);var b;(b=this.constructor.Oa)==null||b.forEach(function(c){return c(a)})};DF_M.pc=function(a){var b;((b=this.j)!=null?b:this.j=new Set).add(a);if(this.T!==void 0&&this.isConnected){var c;(c=a.Rb)==null||c.call(a)}};
DF_M.ed=function(){for(var a=new Map,b=DF_Md(this.constructor.ba.keys()),c=b.next();!c.done;c=b.next())c=c.value,this.hasOwnProperty(c)&&(a.set(c,this[c]),delete this[c]);a.size>0&&(this.H=a)};DF_M.ha=function(){var a,b=(a=this.shadowRoot)!=null?a:this.attachShadow(this.constructor.F);DF_Mkb(b,this.constructor.s);return b};DF_M.connectedCallback=function(){this.T!=null||(this.T=this.ha());this.wc(!0);var a;(a=this.j)==null||a.forEach(function(b){var c;return(c=b.Rb)==null?void 0:c.call(b)})};
DF_M.wc=function(){};DF_M.disconnectedCallback=function(){var a;(a=this.j)==null||a.forEach(function(b){var c;return(c=b.Id)==null?void 0:c.call(b)})};DF_M.attributeChangedCallback=function(a,b,c){this.Xc(a,c)};DF_M.dd=function(a,b){var c=this.constructor.ba.get(a),d=this.constructor.u(a,c);if(d!==void 0&&c.L===!0){var e,f=(((e=c.ua)==null?void 0:e.Lc)!==void 0?c.ua:DF_Mzb).Lc(b,c.type);this.h=a;f==null?this.removeAttribute(d):this.setAttribute(d,f);this.h=null}};
DF_M.Xc=function(a,b){var c=this.constructor;a=c.ib.get(a);if(a!==void 0&&this.h!==a){c=c.D(a);var d,e=typeof c.ua==="function"?{Qb:c.ua}:((d=c.ua)==null?void 0:d.Qb)!==void 0?c.ua:DF_Mzb;this.h=a;this[a]=e.Qb(b,c.type);this.h=null}};function DF_MVa(a,b,c,d){if(b!==void 0){d!=null||(d=a.constructor.D(b));var e;if(((e=d.Ac)!=null?e:DF_MAb)(a[b],c))a.zb(b,c,d);else return}a.G===!1&&(a.za=a.bd())}
DF_M.zb=function(a,b,c){this.i.has(a)||this.i.set(a,b);if(c.L===!0&&this.h!==a){var d;((d=this.M)!=null?d:this.M=new Set).add(a)}};DF_M.bd=function(){var a=this,b,c;return DF_Mh(function(d){switch(d.g){case 1:return a.G=!0,d.i=2,DF_Mg(d,a.za,4);case 4:d.g=3;d.i=0;break;case 2:b=DF_Mra(d),a.ae||Promise.reject(b);case 3:c=DF_MFb(a);if(c==null){d.g=5;break}return DF_Mg(d,c,5);case 5:return d.return(!a.G)}})};
function DF_MFb(a){if(a.G){if(!a.Ia){a.T!=null||(a.T=a.ha());if(a.H){for(var b=DF_Md(a.H),c=b.next();!c.done;c=b.next()){var d=DF_Md(c.value);c=d.next().value;d=d.next().value;a[c]=d}a.H=void 0}b=a.constructor.ba;if(b.size>0)for(b=DF_Md(b),c=b.next();!c.done;c=b.next())d=DF_Md(c.value),c=d.next().value,d=d.next().value,d.Zd!==!0||a.i.has(c)||a[c]===void 0||a.zb(c,a[c],d)}b=!1;c=a.i;try{b=!0;var e;(e=a.j)==null||e.forEach(function(f){var g;return(g=f.ee)==null?void 0:g.call(f)});a.update(c)}catch(f){throw b=
!1,a.mc(),f;}b&&a.Ab(c)}}DF_M.Ab=function(a){var b;(b=this.j)==null||b.forEach(function(c){var d;return(d=c.fe)==null?void 0:d.call(c)});this.Ia||(this.Ia=!0,this.ia(a));this.sa(a)};DF_M.mc=function(){this.i=new Map;this.G=!1};DF_M.update=function(){var a=this;this.M&&(this.M=this.M.forEach(function(b){return a.dd(b,a[b])}));this.mc()};DF_M.sa=function(){};DF_M.ia=function(){};
DF_Ma.Object.defineProperties(DF_Mr,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){this.C();return this.ib&&[].concat(DF_Me(this.ib.keys()))}}});DF_Mr.s=[];DF_Mr.F={mode:"open"};DF_Mr.ba=new Map;DF_Mr.Pb=new Map;DF_Myb==null||DF_Myb({ReactiveElement:DF_Mr});function DF_MEb(){var a;((a=DF_Mj.reactiveElementVersions)!=null?a:DF_Mj.reactiveElementVersions=[]).push("2.0.4");DF_MEb=function(){}};var DF_MGb={l:!0,type:String,ua:DF_Mzb,L:!1,Ac:DF_MAb};
function DF_MHb(a,b,c){a=a===void 0?DF_MGb:a;var d=c.kind,e=c.metadata,f=DF_MDb.get(e);f===void 0&&DF_MDb.set(e,f=new Map);f.set(c.name,a);if(d==="accessor"){var g=c.name;return{set:function(k){var l=b.get.call(this);b.set.call(this,k);DF_MVa(this,g,l,a)},init:function(k){k!==void 0&&this.zb(g,void 0,a);return k}}}if(d==="setter"){var h=c.name;return function(k){var l=this[h];b.call(this,k);DF_MVa(this,h,l,a)}}throw Error("Unsupported decorator location: "+d);}
function DF_Ms(a){return function(b,c){if(typeof c==="object")b=DF_MHb(a,b,c);else{var d=b.hasOwnProperty(c);b.constructor.v(c,d?Object.assign({},a,{Zd:!0}):a);b=d?Object.getOwnPropertyDescriptor(b,c):void 0}return b}};function DF_MIb(a,b,c){c.configurable=!0;c.enumerable=!0;Reflect.de&&typeof b!=="object"&&Object.defineProperty(a,b,c);return c};function DF_Mt(){return DF_Ms(Object.assign({},void 0,{state:!0,l:!1}))};var DF_MJb=new Set,DF_MKb=new Map;
function DF_MLb(a,b){if(window.ShadyCSS!==void 0&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var c,d,e=((c=window.ShadyDOM)==null?0:c.inUse)&&((d=window.ShadyDOM)==null?void 0:d.noPatch)===!0?window.ShadyDOM.wrap:function(n){return n},f=function(n){var p=DF_MKb.get(n);p===void 0&&DF_MKb.set(n,p=[]);return p},g=new Map,h=a.createElement;a.createElement=function(n,p){n=h.call(a,n,p);p=p==null?void 0:p.scope;p!==void 0&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(n,
p),p===void 0||DF_MJb.has(p)||(p=f(p),p.push.apply(p,DF_Me(Array.from(n.content.querySelectorAll("style")).map(function(q){var r;(r=q.parentNode)==null||r.removeChild(q);return q.textContent})))));return n};var k=document.createDocumentFragment(),l=document.createComment("");b=b.prototype;var m=b.fa;b.fa=function(n,p){p=p===void 0?this:p;var q=e(this.ga).parentNode,r,u=(r=this.options)==null?void 0:r.scope,v;if((q instanceof ShadowRoot||q===((v=this.options)==null?void 0:v.ie))&&u!==void 0&&!DF_MJb.has(u)){r=
this.ga;v=this.Da;k.appendChild(l);this.ga=l;this.Da=null;m.call(this,n,p);n=(n==null?0:n._$litType$)?this.K.Bb.Ha:document.createElement("template");p=f(u);var t=p.length!==0;if(t){var x=document.createElement("style");x.textContent=p.join("\n");n.content.appendChild(x)}DF_MJb.add(u);DF_MKb.delete(u);window.ShadyCSS.prepareTemplateStyles(n,u);t&&window.ShadyCSS.nativeShadow&&(u=n.content.querySelector("style"),u!==null&&n.content.appendChild(u));k.removeChild(l);var y;if((y=window.ShadyCSS)==null?
0:y.nativeShadow)y=n.content.querySelector("style"),y!==null&&k.appendChild(y.cloneNode(!0));q.insertBefore(k,v);this.ga=r;this.Da=v}else m.call(this,n,p)};b.lc=function(n){var p,q=(p=this.options)==null?void 0:p.scope;p=g.get(q);p===void 0&&g.set(q,p=new Map);q=p.get(n.strings);q===void 0&&p.set(n.strings,q=new a(n,this.options));return q}}}var DF_MMb;(DF_MMb=window).litHtmlPolyfillSupport!=null||(DF_MMb.litHtmlPolyfillSupport=DF_MLb);var DF_MNb="";
if(window.Symbol){var DF_MOb=Symbol();typeof DF_MOb!=="symbol"&&(DF_MNb=Object.keys(DF_MOb)[0])}var DF_MPb=DF_MNb!=="",DF_MQb=DF_MPb?function(a){return a!=null&&a[DF_MNb]!==void 0}:function(){return!1};if(DF_MPb&&!window.Symbol.for){var DF_MRb=new Map;window.Symbol.for=function(a){DF_MRb.has(a)||DF_MRb.set(a,Symbol(a));return DF_MRb.get(a)}};function DF_MSb(a){a=a.LitElement;if(window.ShadyCSS!==void 0&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){a.Yc=!0;a=a.prototype;var b=a.ha;a.ha=function(){this.qb.scope=this.localName;return b.call(this)}}}var DF_MTb;(DF_MTb=window).litElementPolyfillSupport!=null||(DF_MTb.litElementPolyfillSupport=DF_MSb);/*
Copyright Google LLC
SPDX-License-Identifier: Apache-2.0
var DF_MUb=globalThis.trustedTypes,DF_MVb=DF_MUb,DF_MWb;function DF_MXb(){var a=null;if(!DF_MVb)return a;try{var b=function(c){return c};a=DF_MVb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function DF_MYb(){DF_MWb===void 0&&(DF_MWb=DF_MXb());return DF_MWb};function DF_MZb(a){this.g=a}DF_MZb.prototype.toString=function(){return this.g+""};function DF_M_b(a){var b=DF_MYb();return new DF_MZb(b?b.createHTML(a):a)}var DF_M0b=new DF_MZb(DF_MUb?DF_MUb.emptyHTML:"");function DF_M1b(a){if(a instanceof DF_MZb)return a.g;throw Error("");};function DF_M2b(a){this.g=a}DF_M2b.prototype.toString=function(){return this.g};function DF_M3b(a){if(a instanceof DF_M2b)return a.g;throw Error("");};function DF_M4b(a){this.g=a}DF_M4b.prototype.toString=function(){return this.g+""};function DF_M5b(a){var b=DF_MYb();return new DF_M4b(b?b.createScriptURL(a):a)}function DF_M6b(a){if(a instanceof DF_M4b)return a.g;throw Error("");};function DF_M7b(a){this.g=a}DF_M7b.prototype.toString=fun
var DF_Mbc=new DF_M$b(function(a){return/^[^:]*([/?#]|$)/.test(a)}),DF_Mcc=new DF_M$b(function(a){return/^callto:\+?\d*$/i.test(a)}),DF_Mdc=new DF_M$b(function(a){return a.indexOf("sip:")===0||a.indexOf("sips:")===0}),DF_Mec=DF_Mac("tel"),DF_Mfc=DF_Mac("data"),DF_Mgc=DF_Mac("http"),DF_Mhc=DF_Mac("https"),DF_Mic=DF_Mac("ftp"),DF_Mjc=DF_Mac("mailto"),DF_Mkc=DF_Mac("fb-messenger"),DF_Mlc=DF_Mac("whatsapp"),DF_Mmc=DF_Mac("sms"),DF_Mnc=[DF_Mfc,DF_Mgc,DF_Mhc,DF_Mjc,DF_Mic,DF_Mbc];
function DF_Moc(a,b){b=b===void 0?DF_Mnc:b;a:if(b=b===void 0?DF_Mnc:b,!(a instanceof DF_M7b)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof DF_M$b&&d.Kd(a)){a=new DF_M7b(a);break a}}a=void 0}return a||DF_M8b}var DF_Mpc=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function DF_Mqc(a){a instanceof DF_M7b?a=DF_M9b(a):a=DF_Mpc.test(a)?a:void 0;return a};function DF_Mrc(a){var b=a.split(/[?#]/),c=/[?]/.test(a)?"?"+b[1]:"";return{fc:b[0],params:c,zc:/[#]/.test(a)?"#"+(c?b[2]:b[1]):""}}function DF_Msc(a){var b=DF_Mi.apply(1,arguments);if(b.length===0)return DF_M5b(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return DF_M5b(c)}function DF_Mtc(a,b){a=DF_Mrc(DF_M6b(a).toString());return DF_Muc(a.fc,a.params,a.zc,b)}
function DF_Muc(a,b,c,d){function e(g,h){g!=null&&(Array.isArray(g)?g.forEach(function(k){return e(k,h)}):(b+=f+encodeURIComponent(h)+"="+encodeURIComponent(g),f="&"))}var f=b.length?"&":"?";d.constructor===Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(function(g){return e(g[1],g[0])}):d.forEach(e);return DF_M5b(a+b+c)}function DF_Mvc(a,b){a=DF_Mrc(DF_M6b(a).toString());b=a.fc+(a.fc.slice(-1)==="/"?"":"/")+encodeURIComponent(b);return DF_M5b(b+a.params+a.zc)};var DF_Mwc=DF_Mf(["about:invalid#zClosurez"]),DF_Myc=DF_Mxc;function DF_Mxc(a,b,c){if(a.nodeType!==1)return DF_Mzc;b=b.toLowerCase();if(b==="innerhtml"||b==="innertext"||b==="textcontent"||b==="outerhtml")return function(){return DF_M1b(DF_M0b)};var d=DF_MAc.get(a.tagName+" "+b);return d!==void 0?d:/^on/.test(b)&&c==="attribute"&&(a=a.tagName.includes("-")?HTMLElement.prototype:a,b in a)?function(){throw Error("invalid binding");}:DF_Mzc}
var DF_MBc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,DF_MCc=DF_M6b(DF_Msc(DF_Mwc));function DF_Mzc(a){return a}function DF_MDc(a){return DF_MBc.test(String(a))?a:DF_MCc}function DF_MEc(){return DF_MCc}function DF_MFc(a){return a instanceof DF_M4b?DF_M6b(a):DF_MCc}
var DF_MAc=new Map([["A href",DF_MDc],["AREA href",DF_MDc],["BASE href",DF_MEc],["BUTTON formaction",DF_MDc],["EMBED src",DF_MEc],["FORM action",DF_MDc],["FRAME src",DF_MEc],["IFRAME src",DF_MFc],["IFRAME srcdoc",function(a){return a instanceof DF_MZb?DF_M1b(a):DF_M1b(DF_M0b)}],["INPUT formaction",DF_MDc],["LINK href",DF_MFc],["OBJECT codebase",DF_MEc],["OBJECT data",DF_MEc],["SCRIPT href",DF_MFc],["SCRIPT src",DF_MFc],["SCRIPT text",DF_MEc],["USE href",DF_MFc]]);var DF_MGc,DF_MHc,DF_MIc,DF_MJc=((DF_MGc=DF_Mj.ShadyDOM)==null?0:DF_MGc.inUse)&&(((DF_MHc=DF_Mj.ShadyDOM)==null?void 0:DF_MHc.noPatch)===!0||((DF_MIc=DF_Mj.ShadyDOM)==null?void 0:DF_MIc.noPatch)==="on-demand")?DF_Mj.ShadyDOM.wrap:function(a){return a},DF_MKc=DF_Mj.trustedTypes,DF_MLc=DF_MKc?DF_MKc.createPolicy("lit-html",{createHTML:function(a){return a}}):void 0;function DF_MMc(a){return a}function DF_MNc(){return DF_MMc}
var DF_MOc="lit$"+Math.random().toFixed(9).slice(2)+"$",DF_MPc="?"+DF_MOc,DF_MQc="<"+DF_MPc+">",DF_MRc=document;function DF_MSc(a){return a===null||typeof a!="object"&&typeof a!="function"||DF_MQb(a)}var DF_MTc=Array.isArray,DF_MUc=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,DF_MVc=/--\x3e/g,DF_MWc=/>/g,DF_MXc=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),DF_MYc=/'/g,DF_MZc=/"/g,DF_M_c=/^(?:script|style|textarea|title)$/i;
function DF_Mu(a){var b=DF_Mi.apply(1,arguments),c={};return c._$litType$=1,c.strings=a,c.values=b,c}var DF_M0c=Symbol.for?Symbol.for("lit-noChange"):Symbol("lit-noChange"),DF_Mv=Symbol.for?Symbol.for("lit-nothing"):Symbol("lit-nothing"),DF_M1c=new WeakMap,DF_M2c=DF_MRc.createTreeWalker(DF_MRc,129);function DF_M3c(a,b){if(!DF_MTc(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");return DF_MLc!==void 0?DF_MLc.createHTML(b):b}
function DF_M4c(a,b){var c=a.strings;var d=a._$litType$;this.parts=[];for(var e=a=0,f=c.length-1,g=this.parts,h=c.length-1,k=[],l=d===2?"<svg>":d===3?"<math>":"",m,n=DF_MUc,p=0;p<h;p++){for(var q=c[p],r=-1,u=void 0,v=0,t;v<q.length;){n.lastIndex=v;t=n.exec(q);if(t===null)break;v=n.lastIndex;n===DF_MUc?t[1]==="!--"?n=DF_MVc:t[1]!==void 0?n=DF_MWc:t[2]!==void 0?(DF_M_c.test(t[2])&&(m=new RegExp("</"+t[2],"g")),n=DF_MXc):t[3]!==void 0&&(n=DF_MXc):n===DF_MXc?t[0]===">"?(r=void 0,n=(r=m)!=null?r:DF_MUc,
r=-1):t[1]===void 0?r=-2:(r=n.lastIndex-t[2].length,u=t[1],n=t[3]===void 0?DF_MXc:t[3]==='"'?DF_MZc:DF_MYc):n===DF_MZc||n===DF_MYc?n=DF_MXc:n===DF_MVc||n===DF_MWc?n=DF_MUc:(n=DF_MXc,m=void 0)}v=n===DF_MXc&&c[p+1].startsWith("/>")?" ":"";l+=n===DF_MUc?q+DF_MQc:r>=0?(k.push(u),q.slice(0,r)+"$lit$"+q.slice(r))+DF_MOc+v:q+DF_MOc+(r===-2?p:v)}c=[DF_M3c(c,l+(c[h]||"<?>")+(d===2?"</svg>":d===3?"</math>":"")),k];c=DF_Md(c);m=c.next().value;c=c.next().value;this.Ha=DF_M4c.createElement(m,b);DF_M2c.currentNode=
this.Ha.content;if(d===2||d===3)b=this.Ha.content.firstChild,b.replaceWith.apply(b,DF_Me(b.childNodes));for(;(b=DF_M2c.nextNode())!==null&&g.length<f;){if(b.nodeType===1){if(b.hasAttributes())for(d=DF_Md(b.getAttributeNames()),m=d.next();!m.done;m=d.next())m=m.value,m.endsWith("$lit$")?(k=c[e++],h=b.getAttribute(m).split(DF_MOc),k=/([.?@])?(.*)/.exec(k),g.push({type:1,index:a,name:k[2],strings:h,vd:k[1]==="."?DF_M5c:k[1]==="?"?DF_M6c:k[1]==="@"?DF_M7c:DF_M8c}),b.removeAttribute(m)):m.startsWith(DF_MOc)&&
(g.push({type:6,index:a}),b.removeAttribute(m));if(DF_M_c.test(b.tagName)&&(d=b.textContent.split(DF_MOc),m=d.length-1,m>0)){b.textContent=DF_MKc?DF_MKc.emptyScript:"";for(h=0;h<m;h++)b.append(d[h],DF_MRc.createComment("")),DF_M2c.nextNode(),g.push({type:2,index:++a});b.append(d[m],DF_MRc.createComment(""))}}else if(b.nodeType===8)if(b.data===DF_MPc)g.push({type:2,index:a});else for(d=-1;(d=b.data.indexOf(DF_MOc,d+1))!==-1;)g.push({type:7,index:a}),d+=DF_MOc.length-1;a++}}
DF_M4c.createElement=function(a){var b=DF_MRc.createElement("template");b.innerHTML=a;return b};
function DF_M9c(a,b,c,d){c=c===void 0?a:c;if(b===DF_M0c)return b;var e,f=d!==void 0?(e=c.h)==null?void 0:e[d]:c.o;e=DF_MSc(b)?void 0:b._$litDirective$;var g;if(((g=f)==null?void 0:g.constructor)!==e){var h,k;(h=f)==null||(k=h._$notifyDirectiveConnectionChanged)==null||k.call(h,!1);e===void 0?f=void 0:(f=new e(a),f.Zc(a,c,d));if(d!==void 0){var l,m;((m=(l=c).h)!=null?m:l.h=[])[d]=f}else c.o=f}f!==void 0&&(b=DF_M9c(a,f.ad(a,b.values),f,d));return b}
function DF_M$c(a,b){this.h=[];this.i=void 0;this.Bb=a;this.g=b}
DF_M$c.prototype.G=function(a){var b=this.Bb,c=b.Ha.content;b=b.parts;var d,e=((d=a==null?void 0:a.ce)!=null?d:DF_MRc).importNode(c,!0);DF_M2c.currentNode=e;c=DF_M2c.nextNode();for(var f=d=0,g=b[0];g!==void 0;){if(d===g.index){var h=void 0;g.type===2?h=new DF_Mad(c,c.nextSibling,this,a):g.type===1?h=new g.vd(c,g.name,g.strings,this,a):g.type===6&&(h=new DF_Mbd(c,this,a));this.h.push(h);g=b[++f]}h=void 0;d!==((h=g)==null?void 0:h.index)&&(c=DF_M2c.nextNode(),d++)}DF_M2c.currentNode=DF_MRc;return e};
DF_M$c.prototype.j=function(a){for(var b=0,c=DF_Md(this.h),d=c.next();!d.done;d=c.next())d=d.value,d!==void 0&&(d.strings!==void 0?(d.fa(a,d,b),b+=d.strings.length-2):d.fa(a[b])),b++};DF_Ma.Object.defineProperties(DF_M$c.prototype,{parentNode:{configurable:!0,enumerable:!0,get:function(){return this.g.parentNode}},ea:{configurable:!0,enumerable:!0,get:function(){return this.g.ea}}});
function DF_Mad(a,b,c,d){this.type=2;this.K=DF_Mv;this.i=void 0;this.ga=a;this.Da=b;this.g=c;this.options=d;var e;this.j=(e=d==null?void 0:d.isConnected)!=null?e:!0;this.h=void 0}DF_M=DF_Mad.prototype;
DF_M.fa=function(a,b){a=DF_M9c(this,a,b===void 0?this:b);DF_MSc(a)?a===DF_Mv||a==null||a===""?(this.K!==DF_Mv&&this.hb(),this.K=DF_Mv):a!==this.K&&a!==DF_M0c&&this.nc(a):a._$litType$!==void 0?this.ld(a):a.nodeType!==void 0?this.Db(a):DF_MTc(a)||typeof(a==null?void 0:a[Symbol.iterator])==="function"?this.kd(a):this.nc(a)};DF_M.Fb=function(a){return DF_MJc(DF_MJc(this.ga).parentNode).insertBefore(a,this.Da)};
DF_M.Db=function(a){if(this.K!==a){this.hb();if(DF_Myc!==DF_MNc){var b,c=(b=this.ga.parentNode)==null?void 0:b.nodeName;if(c==="STYLE"||c==="SCRIPT")throw Error("Forbidden");}this.K=this.Fb(a)}};DF_M.nc=function(a){if(this.K!==DF_Mv&&DF_MSc(this.K)){var b=DF_MJc(this.ga).nextSibling;this.h===void 0&&(this.h=DF_Myc(b,"data","property"));a=this.h(a);b.data=a}else b=DF_MRc.createTextNode(""),this.Db(b),this.h===void 0&&(this.h=DF_Myc(b,"data","property")),a=this.h(a),b.data=a;this.K=a};
DF_M.ld=function(a){var b=a.values,c=a._$litType$;a=typeof c==="number"?this.lc(a):(c.Ha===void 0&&(c.Ha=DF_M4c.createElement(DF_M3c(c.Ad,c.Ad[0]),this.options)),c);var d;((d=this.K)==null?void 0:d.Bb)===a?this.K.j(b):(d=new DF_M$c(a,this),a=d.G(this.options),d.j(b),this.Db(a),this.K=d)};DF_M.lc=function(a){var b=DF_M1c.get(a.strings);b===void 0&&DF_M1c.set(a.strings,b=new DF_M4c(a));return b};
DF_M.kd=function(a){DF_MTc(this.K)||(this.K=[],this.hb());var b=this.K,c=0,d;a=DF_Md(a);for(var e=a.next();!e.done;e=a.next())e=e.value,c===b.length?b.push(d=new DF_Mad(this.Fb(DF_MRc.createComment("")),this.Fb(DF_MRc.createComment("")),this,this.options)):d=b[c],d.fa(e),c++;c<b.length&&(this.hb(d&&DF_MJc(d.Da).nextSibling,c),b.length=c)};
DF_M.hb=function(a,b){a=a===void 0?DF_MJc(this.ga).nextSibling:a;var c;for((c=this.G)==null||c.call(this,!1,!0,b);a&&a!==this.Da;)b=DF_MJc(a).nextSibling,DF_MJc(a).remove(),a=b};function DF_Mcd(a,b){if(a.g===void 0){a.j=b;var c;(c=a.G)==null||c.call(a,b)}}
DF_Ma.Object.defineProperties(DF_Mad.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.g)==null?void 0:a.ea)!=null?b:this.j}},parentNode:{configurable:!0,enumerable:!0,get:function(){var a=DF_MJc(this.ga).parentNode,b=this.g,c;b!==void 0&&((c=a)==null?void 0:c.nodeType)===11&&(a=b.parentNode);return a}}});
function DF_M8c(a,b,c,d,e){this.type=1;this.K=DF_Mv;this.i=void 0;this.element=a;this.name=b;this.g=d;this.options=e;c.length>2||c[0]!==""||c[1]!==""?(this.K=Array(c.length-1).fill(new String),this.strings=c):this.K=DF_Mv;this.Fa=void 0}
DF_M8c.prototype.fa=function(a,b,c,d){b=b===void 0?this:b;var e=this.strings,f=!1;if(e===void 0){if(a=DF_M9c(this,a,b,0),f=!DF_MSc(a)||a!==this.K&&a!==DF_M0c)this.K=a}else{var g=a;a=e[0];var h;for(h=0;h<e.length-1;h++){var k=DF_M9c(this,g[c+h],b,h);k===DF_M0c&&(k=this.K[h]);f||(f=!DF_MSc(k)||k!==this.K[h]);if(k===DF_Mv)a=DF_Mv;else if(a!==DF_Mv){var l=void 0;a+=((l=k)!=null?l:"")+e[h+1]}this.K[h]=k}}f&&!d&&this.Eb(a)};
DF_M8c.prototype.Eb=function(a){if(a===DF_Mv)DF_MJc(this.element).removeAttribute(this.name);else{this.Fa===void 0&&(this.Fa=DF_Myc(this.element,this.name,"attribute"));var b;a=this.Fa((b=a)!=null?b:"");var c;DF_MJc(this.element).setAttribute(this.name,(c=a)!=null?c:"")}};DF_Ma.Object.defineProperties(DF_M8c.prototype,{tagName:{configurable:!0,enumerable:!0,get:function(){return this.element.tagName}},ea:{configurable:!0,enumerable:!0,get:function(){return this.g.ea}}});
function DF_M5c(){DF_M8c.apply(this,arguments);this.type=3}DF_Mc(DF_M5c,DF_M8c);DF_M5c.prototype.Eb=function(a){this.Fa===void 0&&(this.Fa=DF_Myc(this.element,this.name,"property"));a=this.Fa(a);this.element[this.name]=a===DF_Mv?void 0:a};function DF_M6c(){DF_M8c.apply(this,arguments);this.type=4}DF_Mc(DF_M6c,DF_M8c);DF_M6c.prototype.Eb=function(a){DF_MJc(this.element).toggleAttribute(this.name,!!a&&a!==DF_Mv)};function DF_M7c(a,b,c,d,e){DF_M8c.call(this,a,b,c,d,e);this.type=5}DF_Mc(DF_M7c,DF_M8c);
DF_M7c.prototype.fa=function(a,b){var c;a=(c=DF_M9c(this,a,b===void 0?this:b,0))!=null?c:DF_Mv;if(a!==DF_M0c){b=this.K;c=a===DF_Mv&&b!==DF_Mv||a.capture!==b.capture||a.once!==b.once||a.passive!==b.passive;var d=a!==DF_Mv&&(b===DF_Mv||c);c&&this.element.removeEventListener(this.name,this,b);d&&this.element.addEventListener(this.name,this,a);this.K=a}};
DF_M7c.prototype.handleEvent=function(a){if(typeof this.K==="function"){var b,c;this.K.call((c=(b=this.options)==null?void 0:b.host)!=null?c:this.element,a)}else this.K.handleEvent(a)};function DF_Mbd(a,b,c){this.element=a;this.type=6;this.i=void 0;this.g=b;this.options=c}DF_Mbd.prototype.fa=function(a){DF_M9c(this,a)};DF_Ma.Object.defineProperties(DF_Mbd.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return this.g.ea}}});var DF_Mdd;
(DF_Mdd=window.litHtmlPolyfillSupport)==null||DF_Mdd(DF_M4c,DF_Mad);var DF_Med,DF_Mfd;((DF_Mfd=DF_Mj.litHtmlVersions)!=null?DF_Mfd:DF_Mj.litHtmlVersions=[]).push("3.2.1");DF_Med=function(a,b,c){var d,e=(d=c==null?void 0:c.pb)!=null?d:b;d=e._$litPart$;if(d===void 0){var f;d=(f=c==null?void 0:c.pb)!=null?f:null;e._$litPart$=d=new DF_Mad(b.insertBefore(DF_MRc.createComment(""),d),d,void 0,c!=null?c:{})}d.fa(a);return d};function DF_Mw(){var a=DF_Mr.apply(this,arguments)||this;a.qb={host:a};a.la=void 0;return a}DF_Mc(DF_Mw,DF_Mr);DF_Mw.F=DF_Mr.F;DF_Mw.s=DF_Mr.s;DF_Mw.u=DF_Mr.u;DF_Mw.h=DF_Mr.h;DF_Mw.g=DF_Mr.g;DF_Mw.D=DF_Mr.D;DF_Mw.i=DF_Mr.i;DF_Mw.v=DF_Mr.v;DF_Mw.m=DF_Mr.m;DF_M=DF_Mw.prototype;DF_M.ha=function(){var a=DF_Mr.prototype.ha.call(this),b;(b=this.qb).pb!=null||(b.pb=a.firstChild);return a};
DF_M.update=function(a){var b=this.render();this.Ia||(this.qb.isConnected=this.isConnected);DF_Mr.prototype.update.call(this,a);this.la=DF_Med(b,this.T,this.qb)};DF_M.connectedCallback=function(){DF_Mr.prototype.connectedCallback.call(this);var a;(a=this.la)==null||DF_Mcd(a,!0)};DF_M.disconnectedCallback=function(){DF_Mr.prototype.disconnectedCallback.call(this);var a;(a=this.la)==null||DF_Mcd(a,!1)};DF_M.render=function(){return DF_M0c};DF_Mw.C=function(){DF_Mgd();return DF_Mr.C.call(this)};
DF_Mw._$litElement$=!0;DF_Mw.Pb=!0;var DF_Mhd;(DF_Mhd=window.litElementPolyfillSupport)==null||DF_Mhd({LitElement:DF_Mw});function DF_Mgd(){var a,b;((b=(a=window).litElementVersions)!=null?b:a.litElementVersions=[]).push("4.1.1");DF_Mgd=function(){}};var DF_Mid=DF_M$a(function(){var a=new DF_MTa,b=document.documentElement;b.addEventListener("context-request",a.Xb);b.addEventListener("context-provider",a.h);return!0});
function DF_Mx(){var a=DF_Mw.call(this)||this;a.chatTitle=null;a.chatSubtitle=null;a.chatTitleIcon=null;a.botWritingText=null;a.botWritingImage=null;a.requestAuthText=null;a.placeholderText=null;a.languageCode=null;a.botActorImage=null;a.userActorImage=null;a.enableFileUpload=!1;a.fileUploadIcon=null;a.enableAudioInput=!1;a.audioStateImageActive=null;a.audioStateImagePassive=null;DF_Mid();return a}DF_Mc(DF_Mx,DF_Mw);DF_Mx.F=DF_Mw.F;DF_Mx.s=DF_Mw.s;DF_Mx.u=DF_Mw.u;DF_Mx.h=DF_Mw.h;DF_Mx.g=DF_Mw.g;
DF_Mx.D=DF_Mw.D;DF_Mx.i=DF_Mw.i;DF_Mx.v=DF_Mw.v;DF_Mx.m=DF_Mw.m;DF_Mx.C=DF_Mw.C;function DF_Mjd(a){var b,c;return DF_Mh(function(d){return(b=a.R)==null||!b.welcomeIntent||((c=a.R)==null?0:c.isAuthenticationPending)?d.return():DF_Mg(d,a.R.presenter.triggerWelcomeIntent(a.R.welcomeIntent),0)})}DF_Mk([DF_Ms({l:"chat-title",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"chatTitle",void 0);
DF_Mk([DF_Ms({l:"chat-subtitle",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"chatSubtitle",void 0);DF_Mk([DF_Ms({l:"chat-title-icon",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"chatTitleIcon",void 0);DF_Mk([DF_Ms({l:"bot-writing-text",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"botWritingText",void 0);DF_Mk([DF_Ms({l:"bot-writing-image",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"botWritingImage",void 0);
DF_Mk([DF_Ms({l:"request-auth-text",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"requestAuthText",void 0);DF_Mk([DF_Ms({l:"placeholder-text",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"placeholderText",void 0);DF_Mk([DF_M_a({context:"df-languagecode",subscribe:!0}),DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"languageCode",void 0);DF_Mk([DF_Ms({l:"bot-actor-image",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"botActorImage",void 0);
DF_Mk([DF_Ms({l:"user-actor-image",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"userActorImage",void 0);DF_Mk([DF_Ms({l:"enable-file-upload",type:Boolean}),DF_Ml("design:type",Object)],DF_Mx.prototype,"enableFileUpload",void 0);DF_Mk([DF_Ms({l:"file-upload-icon",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"fileUploadIcon",void 0);DF_Mk([DF_Ms({l:"enable-audio-input",type:Boolean}),DF_Ml("design:type",Object)],DF_Mx.prototype,"enableAudioInput",void 0);
DF_Mk([DF_Ms({l:"audio-state-image-active",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"audioStateImageActive",void 0);DF_Mk([DF_Ms({l:"audio-state-image-passive",type:String}),DF_Ml("design:type",Object)],DF_Mx.prototype,"audioStateImagePassive",void 0);DF_Mk([DF_M_a({context:"df-instance",subscribe:!0}),DF_Ml("design:type",Object)],DF_Mx.prototype,"R",void 0);var DF_Mkd=DF_Mq([".wrapper{font-family:var(--df-messenger-font-family,var(--df-messenger-default-font-family));font-size:var(--df-messenger-font-size,var(--df-messenger-default-font-size));font-weight:400;height:100%;margin:0;padding:0}.chat-bubble-default-wrapper{bottom:20px;position:fixed;right:20px;z-index:999}"]);function DF_Mld(a,b){return{event:{event:a},languageCode:b||""}};function DF_Mmd(a,b){var c=DF_Mi.apply(2,arguments);return DF_Mh(function(d){switch(b){case "query":return d.return(DF_Mnd.apply(null,[a].concat(DF_Me(c))));case "event":return d.return(DF_Mod.apply(null,[a].concat(DF_Me(c))));case "audio":return d.return(DF_M
[a].concat(DF_Me(c))));default:console.error("DF-MESSENGER","Unknown request type: "+b)}d.g=0})}function DF_Mnd(a){var b=DF_Mi.apply(1,arguments),c;return DF_Mh(function(d){if(b.length!==1||!DF_M6a(b[0]))return console.error("DF-MESSENGER","Bad argument type, 'query' expects string"),d.return();c=b[0];return DF_Mab(c.length,a.maxQueryLength)?d.return(a.presenter.sendQuery(c)):(console.error("DF-MESSENGER","Bad argument, payload exceeds "+a.maxQueryLength+" characters"),d.return())})}
function DF_Mod(a){var b=DF_Mi.apply(1,arguments),c;return DF_Mh(function(d){if(b.length!==1||!DF_M6a(b[0]))return console.error("DF-MESSENGER","Bad argument type, 'event' expects string"),d.return();c=b[0];return d.return(a.presenter.sendDialogflowRequest(DF_Mld(c,a.languageCode)))})}
function DF_Mpd(a){var b=DF_Mi.apply(1,arguments),c;return DF_Mh(function(d){if(b.length!==1||!DF_M6a(b[0]))return console.error("DF-MESSENGER","Bad argument type, 'audio' expects string"),d.return();c=b[0];return d.return(a.presenter.sendDialogflowRequest({audio:{audio:c,config:{audioEncoding:1,model:"latest_short"}},languageCode:a.languageCode||""}))})}
function DF_Mqd(a){var b=DF_Mi.apply(1,arguments),c,d;return DF_Mh(function(e){if(b.length!==1||!DF_M7a(b[0]))return console.error("DF-MESSENGER","Bad argument type, 'feedback' expects object"),e.return();c=b[0];return DF_M6a(c.responseId)&&DF_M7a(c.answerFeedback)?(((d=c.answerFeedback.customRating)==null?void 0:d.length)||0)>1024?(console.error("DF-MESSENGER","Bad argument, payload's customRating exceeds 1024 characters"),e.return()):e.return(a.presenter.sendFeedback(c)):(console.error("DF-MESSENGER",
"Bad argument type, 'responseId' and 'answerFeedback' are required"),e.return())})}function DF_Mrd(a){var b=DF_Mi.apply(1,arguments),c,d,e;return DF_Mh(function(f){if(b.length!==3||!DF_M6a(b[0])||!DF_M6a(b[1])||!DF_M7a(b[2]))return console.error("DF-MESSENGER","Bad argument type, 'tool-call-result' expects string, string, object"),f.return();c=b[0];d=b[1];e=b[2];return f.return(a.presenter.sendClientSideFunctionCallResult({tool:c,actionName:d,output:e}))})}
function DF_Msd(a){var b=DF_Mi.apply(1,arguments),c,d,e;return DF_Mh(function(f){if(b.length!==3||!DF_M6a(b[0])||!DF_M6a(b[1])||!DF_M6a(b[2]))return console.error("DF-MESSENGER","Bad argument type, 'tool-call-error' expects string, string, string"),f.return();c=b[0];d=b[1];e=b[2];return f.return(a.presenter.sendClientSideFunctionCallResult({tool:c,actionName:d,error:e}))})};var DF_Mtd=DF_Mq([".auth-screen-wrapper{align-items:center;background:var(--df-messenger-auth-background,var(--df-messenger-auth-background-color,hsla(0,0%,80%,.8))\n );display:flex;height:100%;justify-content:center;width:100%}.auth-screen-wrapper .auth-button{background:var(--df-messenger-auth-button-background,var(--df-messenger-auth-button-background-color,var(--df-messenger-primary-color,var(--df-messenger-default-primary-color)\n )\n )\n );border:var(--df-messenger-auth-button-border,none);border-radius:var(--df-messenger-auth-button-border-radius,8px);color:var(--df-messenger-auth-button-font-color,#fff);font-famil
"\n }\n\n .focus-outline-contrast:focus-visible::before {\n ","\n }\n\n .focus-outset:focus-visible::before {\n margin: -5px;\n }\n\n .focus-box:focus-visible::before {\n border-radius: var(--df-messenger-default-border-radius);\n }\n\n button.action-button {\n background-color: transparent;\n border: none;\n border-radius: 999px;\n transition: background-color 0.3s;\n }\n\n button.action-button:not(:disabled) {\n cursor: pointer;\n }\n\n button.action-button:hover:not(:disabled) {\n background-color: rgba(68, 71, 70, 0.08);\n transition: background-color 0.3s;\n }\n\n .word-wrap {\n overflow-wrap: break-word;\n word-break: break-word;\n word-wrap: break-word;\n }\n"]);
function DF_MAd(a,b){return DF_Mq(DF_Mwd,a,(b===void 0?0:b)?DF_Mq(DF_Mud):DF_Mq(DF_Mvd))}var DF_My=DF_Mq(DF_Mzd,DF_MAd(DF_Mq(DF_Mxd),!1),DF_MAd(DF_Mq(DF_Myd),!0));function DF_Mz(){var a=DF_Mw.apply(this,arguments)||this;a.languageCode="";return a}DF_Mc(DF_Mz,DF_Mw);DF_Mz.F=DF_Mw.F;DF_Mz.s=DF_Mw.s;DF_Mz.u=DF_Mw.u;DF_Mz.h=DF_Mw.h;DF_Mz.g=DF_Mw.g;DF_Mz.D=DF_Mw.D;DF_Mz.i=DF_Mw.i;DF_Mz.v=DF_Mw.v;DF_Mz.m=DF_Mw.m;DF_Mz.C=DF_Mw.C;DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mz.prototype,"languageCode",void 0);var DF_MBd=DF_Mf(['<div class="auth-screen-wrapper">\n <button class="auth-button" @click="','">\n ',"\n </button>\n </div>"]);function DF_MA(){var a=DF_Mz.apply(this,arguments)||this;a.requestAuthText=null;return a}DF_Mc(DF_MA,DF_Mz);DF_MA.F=DF_Mz.F;DF_MA.s=DF_Mz.s;DF_MA.u=DF_Mz.u;DF_MA.h=DF_Mz.h;DF_MA.g=DF_Mz.g;DF_MA.D=DF_Mz.D;DF_MA.i=DF_Mz.i;DF_MA.v=DF_Mz.v;DF_MA.m=DF_Mz.m;DF_MA.C=DF_Mz.C;
DF_MA.prototype.requestAuthentication=function(){var a=this;return DF_Mh(function(b){return DF_Mg(b,a.Mc.requestAuthentication(),0)})};DF_MA.prototype.render=function(){var a=DF_M4a(this.requestAuthText,this.languageCode,"requestAccess");return DF_Mu(DF_MBd,this.requestAuthentication,a)};var DF_MCd=DF_MA;DF_MCd.j=[DF_Mtd,DF_My];DF_Mk([DF_M_a({context:"df-instance",subscribe:!0}),DF_Ml("design:type",Object)],DF_MCd.prototype,"Mc",void 0);
DF_Mk([DF_Ms({l:!1,type:String}),DF_Ml("design:type",Object)],DF_MCd.prototype,"requestAuthText",void 0);DF_MCd=DF_Mk([DF_Mp("df-messenger-auth-screen")],DF_MCd);var DF_MDd=DF_Mq([".chat-wrapper{border:var(--df-messenger-chat-border,none);border-radius:var(--df-messenger-chat-border-radius,var(--df-messenger-default-chat-border-radius)\n );display:flex;flex-direction:column;height:100%;position:relative;width:100%;z-index:0}.chat-wrapper df-messenger-auth-screen{inset:0;position:absolute;z-index:100}.chat-wrapper .demo-banner{background:#fef7e0;color:#410e0b;display:var(--df-messenger-demo-banner,none);font-family:var(--df-messenger-font-family,var(--df-messenger-default-font-family)\n );font-size:var(--df-messenger-font-size,var(--df-messenger-default-font-size)\n );left:0;opacity:.8;padding:8px;position:absolute;right:0;text-align:center;z-index:1}.message-list-wrapper{display:flex;flex-direction:column;flex-grow:1;min-height:0;overflow:hidden;position:relative}:host([no-titlebar]) .message-list-wr
DF_MJd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path\n d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />\n <path d="M0 0h24v24H0z" fill="none" />\n</svg>']),DF_MKd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path\n d="M21 7h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 0S7.08 6.85 7 7H2v13h16c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73V9c0-1.1-.9-2-2-2zM7 18H4V9h3v9zm14-7l-3 7H9V8l4.34-4.34L12 9h9v2z" />\n</svg>']),
DF_MLd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path\n d="M21 7h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 0S7.08 6.85 7 7v13h11c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73V9c0-1.1-.9-2-2-2zM5 7H1v13h4V7z" />\n</svg>']),DF_MMd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path\n d="M3 17h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 24s7.09-6.85 7.17-7h5V4H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2zM17 6h3v9h-3V6zM3 13l3-7h9v10l-4.34 4.34L12 15H3v-2z" />\n</svg>']),
DF_MNd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path\n d="M3 17h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 24s7.09-6.85 7.17-7V4H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2zm16 0h4V4h-4v13z" />\n</svg>']),DF_MOd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path d="M0 0h24v24H0V0z" fill="none" />\n <path\n d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" />\n</svg>']),
DF_MPd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24"\n enable-background="new 0 0 24 24">\n <g>\n <rect fill="none" height="24" width="24" />\n <rect fill="none" height="24" width="24" />\n <rect fill="none" height="24" width="24" />\n </g>\n <g>\n <g />\n <path\n d="M20,4H4C2.9,4,2.01,4.9,2.01,6L2,18c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M4,9h10.5v3.5H4V9z M4,14.5 h10.5V18L4,18V14.5z M20,18l-3.5,0V9H20V18z" />\n </g>\n</svg>']),
DF_MQd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none" />\n <path\n d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" />\n</svg>']),DF_MRd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 -960 960 960">\n <path d="M320-200v-560l440 280-440 280Z" />\n</svg>']),DF_MSd=DF_Mf(['<svg\n viewBox="0 0 30 20"\n id="brandmark"\n fill="none"\n xmlns="http://www.w3.org/2000/svg">\n <path\n d="M27.9727 3.12324C27.6435 1.89323 26.6768 0.926623 25.4468 0.597366C23.2197 2.24288e-07 14.285 0 14.285 0C14.285 0 5.35042 2.24288e-07 3.12323 0.597366C1.89323 0.926623 0.926623 1.89323 0.597366 3.12324C2.24288e-07 5.35042 0 10 0 10C0 10 2.24288e-07 14.6496 0.597366 16.8768C0.926623 18.1068 1.89323 19.0734 3.12323 19.4026C5.35042 20 14.285 20 14.285 20C14.285 20 23.2197 20 25.4468 19.4026C26.6768 19.
DF_MTd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 -960 960 960">\n <path\n d="M440-200h80v-167l64 64 56-57-160-160-160 160 57 56 63-63v167ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z" />\n</svg>']),DF_MUd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n enable-background="new 0 0 24 24"\n width="24"\n height="24"\n viewBox="0 0 24 24">\n <g>\n <rect fill="none" height="24" width="24" />\n <rect fill="none" height="24" width="24" />\n <rect fill="none" height="24" width="24" />\n </g>\n <g>\n <g />\n <g>\n <path\n d="M12,14c1.66,0,3-1.34,3-3V5c0-1.66-1.34-3-3-3S9,3.34,9,5v6C9,12.66,10.34,14,12,14z" />\n <path\n d="M17,11c0,2.76-2.24,5-5,5s-5-2.24-5-5H5c0,3.53,2.61,6.43,6,6.92V21h2v-3.08c3.39-0.49,6-3.39,6-6.92H17z" />\n </g>\n </g>\n</svg>']),
DF_MVd=DF_Mf(['<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 -960 960 960">\n <path\n d="M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z" />\n</svg>']),DF_MWd=DF_Mu(DF_MId),DF_MXd=DF_Mu(DF_MJd),DF_MYd=DF_Mu(DF_MKd),DF_MZd=DF_Mu(DF_MLd),DF_M_d=DF_Mu(DF_MMd),DF_M0d=DF_Mu(DF_MNd),DF_M1d=DF_Mu(DF_MOd),DF_M2d=DF_Mu(DF_MPd),DF_M3d=DF_Mu(DF_MQd),DF_M4d=DF_Mu(DF_MRd),
DF_M5d=DF_Mu(DF_MSd),DF_M6d=DF_Mu(DF_MTd),DF_M7d=DF_Mu(DF_MUd),DF_M8d=DF_Mu(DF_MVd);var DF_M9d=DF_Mf(["var(--df-messenger-default-border-radius)"]),DF_M$d=DF_Mf(["\n .show-focus::after {\n ","\n }\n"]),DF_Mae=DF_Mf([' <div class="feedback">\n <div class="thumbs">\n ',"","\n </div>\n "," ","\n </div>"]),DF_Mbe=DF_Mf([' <button\n class="thumb focus-outline thumbs-up ','"\n aria-label="','"\n @click=',">\n ","\n </button>"]),DF_Mce=DF_Mf([' <button\n class="thumb focus-outline thumbs-down ','"\n aria-label="','"\n @click=',
">\n ","\n </button>"]),DF_Mde=DF_Mf([' <div class="feedback-box">\n <div class="separator"></div>\n ',"\n </div>"]),DF_Mee=DF_Mf([' <button\n class="feedback-reason-chip focus-outline\n ','"\n @click=',">\n ","\n </button>"]),DF_Mfe=DF_Mf(' <div class="feedback-box">\n <div class="separator"></div>\n <div class="feedback-title-row">\n <div>\n <span class="feedback-title">;</span>\n <span class="feedback-subtitle">(;)</span>\n </div>\n <button\n class="feedback-close focus-outline action-button"\n @click=;\n aria-label=";">\n ;\n </button>\n </div>\n <div class="feedback-reason-row">\n ;\n </div>\n <div class="textarea-row ;">\n <textarea\n rows="1"\n placeholder=";"\n @input=;\n @mousedown=;\n @focusin=;\n @focusout=;\n aria-label=";"
DF_Mge=DF_Mf(['<div class="thank-you">',"</div>"]),DF_Mhe=DF_Mq(DF_M$d,DF_MAd(DF_Mq(DF_M9d),!1));function DF_MB(){var a=DF_Mz.apply(this,arguments)||this;a.responseId=null;a.showNegativeFeedback=!1;a.o=!1;a.Y=0;a.vb=!1;a.tb=!1;a.qa=0;a.ub=!1;return a}DF_Mc(DF_MB,DF_Mz);DF_MB.F=DF_Mz.F;DF_MB.s=DF_Mz.s;DF_MB.u=DF_Mz.u;DF_MB.h=DF_Mz.h;DF_MB.g=DF_Mz.g;DF_MB.D=DF_Mz.D;DF_MB.i=DF_Mz.i;DF_MB.v=DF_Mz.v;DF_MB.m=DF_Mz.m;DF_MB.C=DF_Mz.C;DF_M=DF_MB.prototype;
DF_M.ia=function(a){DF_Mz.prototype.ia.call(this,a);var b,c;this.Y=(c=(b=this.Ba)==null?void 0:b.presenter.getUtteranceReaction(this.responseId))!=null?c:0};DF_M.update=function(a){DF_Mz.prototype.update.call(this,a);this.showNegativeFeedback&&this.showNegativeFeedback!==this.o&&(a=this.T.querySelector(".feedback-box"))&&DF_M5a(a);this.o=this.showNegativeFeedback};
DF_M.render=function(){var a=DF_Mo(this.languageCode,"positiveFeedbackAriaLabel");var b=this.Y>0;a=DF_Mu(DF_Mbe,b?"active":"",a,this.Yd.bind(this,b),b?DF_MZd:DF_MYd);b=DF_Mo(this.languageCode,"negativeFeedbackAriaLabel");var c=this.Y<0;b=DF_Mu(DF_Mce,c?"active":"",b,this.Xd.bind(this,c),c?DF_M0d:DF_M_d);c=DF_Mie(this);if(!this.ub||this.showNegativeFeedback)var d=null;else d=DF_Mo(this.languageCode,"feedbackThankYouText"),d=DF_Mu(DF_Mge,d);return DF_Mu(DF_Mae,a,b,c,d)};
DF_M.Yd=function(a){this.Y=a?0:1;this.showNegativeFeedback=!1;var b;(b=this.Ba)==null||b.presenter.storeUtteranceReaction(this.responseId,this.Y);var c;(c=this.Ba)==null||c.presenter.sendFeedback({responseId:this.responseId,answerFeedback:{rating:DF_MGd(this.Y)}})};DF_M.Xd=function(a){this.Y=a?0:-1;this.showNegativeFeedback=this.Y<0;var b;(b=this.Ba)==null||b.presenter.storeUtteranceReaction(this.responseId,this.Y);var c;(c=this.Ba)==null||c.presenter.sendFeedback({responseId:this.responseId,answerFeedback:{rating:DF_MGd(this.Y)}})};
function DF_Mje(a){var b=document.createElement("df-external-custom-feedback");b.addEventListener("df-custom-submit-feedback-clicked",function(c){c=c.detail;console.debug("DF-MESSENGER","Event df-custom-submit-feedback-clicked received",c);DF_Mke(a,{responseId:a.responseId,answerFeedback:{rating:DF_MGd(a.Y),customRating:c}})});console.debug("DF-MESSENGER","Registered listener for event df-custom-submit-feedback-clicked");return DF_Mu(DF_Mde,b)}
function DF_Mie(a){if(!a.showNegativeFeedback)return null;if(customElements.get("df-external-custom-feedback"))return DF_Mje(a);var b=DF_Mo(a.languageCode,"feedbackPlaceholder"),c=DF_Mo(a.languageCode,"feedbackInputAriaLabel"),d=DF_Mo(a.languageCode,"feedbackWhyRatingText"),e=DF_Mo(a.languageCode,"feedbackOptionalText"),f=DF_Mo(a.languageCode,"feedbackCloseAriaLabel"),g=DF_Mo(a.languageCode,"feedbackPrivacyNoticeText"),h=DF_Mo(a.languageCode,"feedbackSubmit"),k=DF_Mo(a.languageCode,"feedbackSubmitAriaLabel");
return DF_Mu(DF_Mfe,d,e,a.Kc,f,DF_MXd,DF_MHd.map(function(l){return DF_Mu(DF_Mee,a.qa===l?"active":"",a.Dd.bind(a,l),DF_Mle(a,l))}),a.tb?"show-focus":"",b,a.Pc,function(){return a.vb=!0},a.Nc,a.Oc,c,g,a.Ud,a.qa===0&&!a.N,k,h)}function DF_Mle(a,b){switch(b){case 1:return DF_Mo(a.languageCode,"feedbackChipIrrelevant");case 2:return DF_Mo(a.languageCode,"feedbackChipIncorrect");case 3:return DF_Mo(a.languageCode,"feedbackChipUnsafe");default:return null}}DF_M.Dd=function(a){this.qa=this.qa===a?0:a};
DF_M.Pc=function(){this.g.style.height="";this.g.style.height=this.g.scrollHeight+2+"px";DF_MVa(this)};DF_M.Nc=function(){this.tb=this.vb?!1:!0;this.vb=!1};DF_M.Oc=function(){this.tb=!1};DF_M.Ud=function(){var a;DF_Mke(this,{responseId:this.responseId,answerFeedback:{rating:DF_MGd(this.Y),ratingReason:Object.assign({},this.qa===0?{}:{reasonLabels:[DF_Mle(this,this.qa)]},{feedback:(a=this.N)!=null?a:""})}})};
function DF_Mke(a,b){var c;(c=a.Ba)==null||c.presenter.sendFeedback(b);a.Kc();a.ub=!0;setTimeout(function(){a.ub=!1},2400)}DF_M.Kc=function(){this.qa=0;this.showNegativeFeedback=!1};DF_Ma.Object.defineProperties(DF_MB.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return this.T.querySelector("textarea")}},N:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.g)==null?void 0:a.value}}});var DF_Mme=DF_MB;DF_Mme.j=[DF_MFd,DF_My,DF_Mhe];
DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mme.prototype,"responseId",void 0);DF_Mk([DF_Ms({type:Boolean}),DF_Ml("design:type",Object)],DF_Mme.prototype,"showNegativeFeedback",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_Mme.prototype,"Y",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_Mme.prototype,"vb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_Mme.prototype,"tb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Number)],DF_Mme.prototype,"qa",void 0);
DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_Mme.prototype,"ub",void 0);DF_Mk([DF_M_a({context:"df-instance",subscribe:!0}),DF_Ml("design:type",Object)],DF_Mme.prototype,"Ba",void 0);DF_Mme=DF_Mk([DF_Mp("df-messenger-feedback")],DF_Mme);var DF_Mne=DF_Mq([".message-stack{display:flex;flex-direction:column}.message-stack:not(:first-child){margin-top:var(--df-messenger-message-stack-spacing,var(--df-messenger-message-spacing,10px)\n )}.message-stack.none{margin-top:0}df-card,df-chips,df-citations,df-custom-template,df-html-message,df-markdown-message,df-text-message{max-width:100%}df-chips,df-citations{align-self:var(--df-messenger-message-bot-align,flex-start)}df-card{align-self:var(--df-messenger-message-card-align,var(--df-messenger-message-bot-align,flex-start)\n )}df-custom-template{align-self:stretch}:host(:not(.minimized)) df-html-message,:host(:not(.minimized)) df-markdown-message,:host(:not(.minimized)) df-text-message[isbot]{margin-left:var(--df-messenger-message-bot-margin-left,0);margin-right
DF_MD.D=DF_Mz.D;DF_MD.i=DF_Mz.i;DF_MD.v=DF_Mz.v;DF_MD.m=DF_Mz.m;DF_MD.C=DF_Mz.C;DF_MD.prototype.render=function(){var a=DF_Mse(this.utterance.elements),b,c,d;var e=((b=this.utterance)==null?0:b.isBot)&&((c=this.utterance)==null?0:c.allowFeedback)&&((d=this.Qc)==null?0:d.reactionsAllowed())?DF_Mu(DF_Mpe,this.utterance.responseId,this.languageCode):null;return DF_Mu(DF_Moe,a,e)};
function DF_Mse(a){function b(c){return c<a.length-1&&!DF_Mre(a[c+1])}return a.map(function(c,d){var e=DF_Mre(a[d])?"none":d>0&&!DF_Mre(a[d-1])||b(d)?d>0&&!DF_Mre(a[d-1])?b(d)?"mid":"last":b(d)?d>0&&!DF_Mre(a[d-1])?"mid":"first":"unknown":"single";c.classList.add(e);d===0&&c.classList.add("first-child");d===a.length-1&&c.classList.add("last-child");return DF_Mu(DF_Mqe,e,c)})}var DF_Mte=DF_MD;DF_Mte.j=[DF_Mne,DF_My];
DF_Mk([DF_Ms({type:Object,l:!1}),DF_Ml("design:type",Object)],DF_Mte.prototype,"utterance",void 0);DF_Mk([DF_M_a({context:"df-instance",subscribe:!0}),DF_Ml("design:type",Object)],DF_Mte.prototype,"Qc",void 0);DF_Mte=DF_Mk([DF_Mp("df-messenger-utterance")],DF_Mte);var DF_Mue={type:"info",title:"",subtitle:"",image:{src:{rawUrl:""}},actionLink:""},DF_Mve={type:"description",title:"",text:[]},DF_Mwe={type:"image",rawUrl:"",accessibilityText:""},DF_Mxe={type:"list",title:"",subtitle:"",image:{src:{rawUrl:""}},event:{event:""}},DF_Mye={type:"button",icon:{type:"",color:""},image:{src:{rawUrl:""}},text:"",link:""},DF_Mze={type:"accordion",title:"",subtitle:"",image:{src:{rawUrl:""}},text:""},DF_MAe={type:"chips",options:[{text:"Suggestion",link:""},{text:"Suggestion with icon",
image:{src:{rawUrl:"https://d30y9cdsu7xlg0.cloudfront.net/png/29715-200.png"}},link:""},{text:"Suggestion with link",link:"https://google.com"},{text:"Suggestion with link & icon",image:{src:{rawUrl:"https://d30y9cdsu7xlg0.cloudfront.net/png/29715-200.png"}},link:"https://google.com"}]},DF_MBe={type:"html",html:""},DF_MCe={type:"match_citations",citations:[{title:"Citation title",subtitle:"Citation subtitle",actionLink:""}]},DF_MDe={type:"custom_template",name:"",payload:{}},DF_MEe={type:"video",
source:{type:"link",anchor:{href:""}}},DF_MFe={type:"files",files:[{name:"",image:{rawUrl:""},anchor:{href:""}}]};var DF_MGe={BUILD_EMBED_LABEL:"dialogflow_infobot_20250325_1954_RC00",BUILD_BASELINE_CHANGELIST:"740547807",BUILD_CHANGELIST:"740547807"};function DF_MHe(){}
DF_MHe.prototype.payloadForTesting=function(a){switch(a){case "info":return Object.assign({},DF_Mue);case "description":return Object.assign({},DF_Mve);case "image":return Object.assign({},DF_Mwe);case "list":return Object.assign({},DF_Mxe);case "button":return Object.assign({},DF_Mye);case "accordion":return Object.assign({},DF_Mze);case "chips":return Object.assign({},DF_MAe);case "html":return Object.assign({},DF_MBe);case "match_citations":return Object.assign({},DF_MCe);case "custom_template":return Object.assign({},DF_MDe);
case "video":return Object.assign({},DF_MEe);case "files":return Object.assign({},DF_MFe);case "text":return[];default:console.error("DF-MESSENGER","Could not find a payload for "+a)}};DF_MHe.prototype.getBuildChangelist=function(){if("BUILD_CHANGELIST"in DF_MGe){var a=Number(DF_MGe.BUILD_CHANGELIST);a=isFinite(a)?a:void 0}else a=void 0;return a};DF_MHe.prototype.getAvailableLanguages=function(){return Array.from(DF_Mn.keys())};
DF_MHe.prototype.getAvailableTexts=function(){return Object.assign({},DF_Mn.get("en"))};var DF_MIe=DF_Mq(["#df-accordion-wrapper{color:var(--df-messenger-font-color,var(--df-messenger-default-font-color)\n );cursor:pointer;display:flex;flex-direction:column;font-family:var(--df-messenger-font-family,var(--df-messenger-default-font-family)\n );font-size:var(--df-messenger-default-font-size);padding:var(--df-messenger-card-padding,16px);text-decoration:none}#df-accordion-wrapper .top-row{align-items:stretch;background-color:transparent;border:none;display:flex;justify-content:space-between}#df-accordion-wrapper .top-row:hover{cursor:pointer}#df-accordion-wrapper .top-row .content{display:flex}#df-accordion-wrapper #image{margin-right:16px;max-height:24px;max-width:24px}#df-accordion-wrapper #title{color:var(--df-messenger-font-color,var(--df-messenger-default-font-color)\n );font-size:inherit;font-weight:700;line-height:22px;margin:0}#df-accordion-wrapper #subtitle{color:var(--df-messenger-secondary-fo
'"\n aria-labelledby="title"\n role="region">\n <div id="text" class="message word-wrap">',"</div>\n </div>"]),DF_MSe=DF_Mf(' ;\n <div id="df-accordion-wrapper">\n <button\n @click=";"\n id="accordion-button"\n class="top-row focus-outline focus-outset focus-box"\n aria-controls="accordion-content"\n aria-expanded=";">\n <div class="content">\n ;\n <div class="text-content">\n <h3 id="title" class="word-wrap">;</h3>\n <div id="subtitle" class="word-wrap"> ; </div>\n </div>\n </div>\n ;\n </button>\n ;\n </div>'.split(";"));
function DF_ME(a,b){a=DF_MC.call(this,a,b,"accordion")||this;a.expanded=!1;a.title="";a.subtitle="";a.text=null;a.image=null;a.cb=!1;return a}DF_Mc(DF_ME,DF_MC);DF_ME.F=DF_MC.F;DF_ME.s=DF_MC.s;DF_ME.u=DF_MC.u;DF_ME.h=DF_MC.h;DF_ME.g=DF_MC.g;DF_ME.D=DF_MC.D;DF_ME.i=DF_MC.i;DF_ME.v=DF_MC.v;DF_ME.m=DF_MC.m;DF_ME.C=DF_MC.C;
DF_ME.prototype.connectedCallback=function(){var a=this;DF_MC.prototype.connectedCallback.call(this);var b;((b=this.image)==null?0:b.rawUrl)&&DF_M2a(this.image.rawUrl,function(){a.cb=!0},function(){a.cb=!1})};DF_ME.prototype.update=function(a){DF_MC.prototype.update.call(this,a);this.expanded&&DF_M5a(this)};
DF_ME.prototype.render=function(){var a=DF_Mu(DF_MOe),b=this.text?DF_Mu(DF_MPe,this.expanded?"material-icons open":"material-icons"):void 0,c,d=((c=this.image)==null?0:c.rawUrl)&&this.cb?DF_Mu(DF_MQe,this.image.rawUrl):void 0;c=this.text?DF_Mu(DF_MRe,this.expanded?"expanded":"collapsed",DF_MNe(this.text)):void 0;return DF_Mu(DF_MSe,a,this.g,this.expanded,d,this.title,this.subtitle,b,c)};DF_ME.prototype.g=function(){this.text&&(DF_Mm(this,"df-accordion-clicked",{}),this.expanded=!this.expanded)};
var DF_MTe=DF_ME;DF_MTe.j=[DF_MIe,DF_MJe,DF_My];DF_Mk([DF_Ms({type:Boolean}),DF_Ml("design:type",Object)],DF_MTe.prototype,"expanded",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MTe.prototype,"title",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MTe.prototype,"subtitle",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MTe.prototype,"text",void 0);DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_MTe.prototype,"image",void 0);
DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_MTe.prototype,"cb",void 0);DF_MTe=DF_Mk([DF_Mp("df-accordion"),DF_Ml("design:paramtypes",[String,String])],DF_MTe);var DF_MUe=DF_Mq(["#dfButtonAnchorWrapper,#dfButtonWrapper{align-items:center;background:none;border:var(--df-messenger-button-border,none);border-radius:var(--df-messenger-button-border-radius,var(--df-messenger-default-border-radius)\n );box-sizing:border-box;color:var(--df-messenger-button-font-color,var(--df-messenger-font-color,var(--df-messenger-default-font-color)\n )\n );cursor:pointer;display:flex;font-family:var(--df-messenger-button-font-family,var(--df-messenger-font-family,var(--df-messenger-default-font-family)\n )\n );font-size:var(--df-messenger-button-font-size,var(--df-messenger-default-font-size)\n );overflow:hidden;padding:var(--df-messenger-button-padding,var(--df-messenger-card-padding,16px)\n );text-decoration:none;width:100%}#dfButtonAnchorWrapper:hover>.df-button-icon,#dfButtonAnchorWrapper:hover>.tex
Copyright 2018 Google LLC
SPDX-License-Identifier: BSD-3-Clause
function DF_MVe(a){var b;if(a.type!==1||a.name!=="style"||((b=a.strings)==null?void 0:b.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");}DF_Mc(DF_MVe,DF_MLe);DF_MVe.prototype.render=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];if(d==null)return b;c=c.includes("-")?c:c.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase();return b+(c+":"+d+";")},"")};
DF_MVe.prototype.update=function(a,b){b=DF_Md(b).next().value;a=a.element.style;this.h===void 0&&(this.h=new Set);for(var c=DF_Md(this.h),d=c.next();!d.done;d=c.next())d=d.value,b[d]==null&&(this.h.delete(d),d.includes("-")?a.removeProperty(d):a[d]=null);for(var e in b)c=b[e],c!=null&&(this.h.add(e),d=typeof c==="string"&&c.endsWith(" !important"),e.includes("-")||d?a.setProperty(e,d?c.slice(0,-11):c,d?"important":""):a[e]=c);return DF_M0c};var DF_MWe=DF_MKe(DF_MVe);var DF_MXe=DF_Mf(' <a\n href=";"\n class="focus-outline"\n target=";"\n rel=";"\n id="dfButtonAnchorWrapper"\n @click=";">\n <span class="visually-hidden">;</span>\n ;\n <span class="text word-wrap"> ; </span>\n </a>'.split(";")),DF_MYe=DF_Mf(['\n <button\n class="focus-outline"\n id="dfButtonWrapper"\n @click="','">\n ','\n <span class="text word-wrap"> '," </span>\n </button>\n "]),
DF_MZe=DF_Mf([' <div class="df-button-image">\n <img src="','" />\n </div>']),DF_M_e=DF_Mf([' <style>\n @import url(https://fonts.googleapis.com/icon?family=Material+Icons);\n </style>\n <div class="df-button-icon">\n <span\n aria-hidden="true"\n class="material-icons"\n id="materialButtonIcon"\n style=',">\n ","\n </span>\n </div>"]);
function DF_MG(a,b){a=DF_MF.call(this,a,b,"button")||this;a.anchor=null;a.text="";a.icon=null;a.image=null;a.event=void 0;a.mode="normal";return a}DF_Mc(DF_MG,DF_MF);DF_MG.F=DF_MF.F;DF_MG.s=DF_MF.s;DF_MG.u=DF_MF.u;DF_MG.h=DF_MF.h;DF_MG.g=DF_MF.g;DF_MG.D=DF_MF.D;DF_MG.i=DF_MF.i;DF_MG.v=DF_MF.v;DF_MG.m=DF_MF.m;DF_MG.C=DF_MF.C;
DF_MG.prototype.connectedCallback=function(){var a=this;DF_MF.prototype.connectedCallback.call(this);var b;((b=this.image)==null?0:b.rawUrl)?DF_M2a(this.image.rawUrl,function(){a.Na=!0},function(){a.Na=!1}):this.Na=!1};
DF_MG.prototype.g=function(){var a=this,b,c,d,e,f,g,h,k,l,m;return DF_Mh(function(n){d=((b=a.event)==null?void 0:b.languageCode)||((c=a.ta)==null?void 0:c.languageCode);h=DF_Mm(a,"df-button-clicked",Object.assign({},{text:a.text,event:(e=a.event)==null?void 0:e.event},((f=a.event)==null?0:f.event)?{languageCode:d||void 0}:{},{actionLink:(g=a.anchor)==null?void 0:g.href}));a.mode==="blocking"&&a.ta&&(a.ta.isWaitingForElement=!1);if(h&&((k=a.event)==null?0:k.event))return l=DF_Mld(a.event.event,d||
null),DF_Mg(n,(m=a.ta)==null?void 0:m.presenter.sendDialogflowRequest(l),0);n.g=0})};DF_MG.prototype.render=function(){if(this.anchor){var a=DF_Mo(this.languageCode,"opensInANewTab");return DF_Mu(DF_MXe,this.anchor.href,this.anchor.target,this.anchor.rel,this.g,a,DF_M0e(this),this.text||"")}return DF_Mu(DF_MYe,this.g,DF_M0e(this),this.text||"")};
function DF_M0e(a){if(a.Na===void 0)return null;var b;if(((b=a.image)==null?0:b.rawUrl)&&a.Na)return DF_Mu(DF_MZe,a.image.rawUrl);var c;b=DF_MWe({color:((c=a.icon)==null?void 0:c.color)||"#444746"});var d;return DF_Mu(DF_M_e,b,((d=a.icon)==null?void 0:d.type)||"forward_arrow")}var DF_M1e=DF_MG;DF_M1e.j=[DF_MUe,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M1e.prototype,"anchor",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M1e.prototype,"text",void 0);
DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_M1e.prototype,"icon",void 0);DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_M1e.prototype,"image",void 0);DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_M1e.prototype,"event",void 0);DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_M1e.prototype,"mode",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Boolean)],DF_M1e.prototype,"Na",void 0);
DF_M1e=DF_Mk([DF_Mp("df-button"),DF_Ml("design:paramtypes",[String,String])],DF_M1e);var DF_M2e=DF_Mq([":host{--df-messenger-card-internal-border-radius:var(--df-messenger-card-border-radius,var(--df-messenger-default-border-radius)\n );--df-messenger-card-internal-border-top-left-radius:var(--df-messenger-card-border-top-left-radius,var(--df-messenger-card-internal-border-radius)\n );--df-messenger-card-internal-border-top-right-radius:var(--df-messenger-card-border-top-right-radius,var(--df-messenger-card-internal-border-radius)\n );--df-messenger-card-internal-border-bottom-left-radius:var(--df-messenger-card-border-bottom-left-radius,var(--df-messenger-card-internal-border-radius)\n );--df-messenger-card-internal-border-bottom-right-radius:var(--df-messenger-card-border-bottom-right-radius,var(--df-messenger-card-internal-border-radius)\n );--df-messenger-card-internal-button-radius:var(--df-messenger-button-border-radius,var(--df-messenger-default-border-radius)\n )}.card-wrapper{background
DF_MH.prototype.sa=function(a){a.has("elements")&&this.elements.some(function(b){return(b==null?void 0:b.type)==="list"})&&this.setAttribute("role","list")};DF_MH.prototype.render=function(){if(this.elements&&this.elements.length){var a=DF_Mo(this.languageCode,"agentSays"),b=this.elements.some(function(c){return!!c.cssWidth});return DF_Mu(DF_M3e,a,this.elements.length===1?this.elements[0].type:"",b?"flex":"",this.elements)}};var DF_M4e=DF_MH;DF_M4e.j=[DF_M2e,DF_My];
DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_M4e.prototype,"elements",void 0);DF_M4e=DF_Mk([DF_Mp("df-card"),DF_Ml("design:paramtypes",[String,String])],DF_M4e);var DF_M5e=DF_Mq([".df-chips-wrapper{display:flex;flex-wrap:wrap;gap:var(--df-messenger-chips-distance,8px);justify-content:var(--df-messenger-message-bot-align,flex-start);padding:var(--df-messenger-chips-spacing,10px) 0;row-gap:var(--df-messenger-chips-distance,8px)}:host(.first-child) .df-chips-wrapper{padding-top:0}:host(.last-child) .df-chips-wrapper{padding-bottom:0}.df-chips-wrapper.clicked{display:none}.chip{align-items:center;background:var(--df-messenger-chips-background,var(--df-messenger-chips-background-color,#fff)\n );border:1px solid;border-color:var(--df-messenger-chips-border-color,var(--df-messenger-default-border-color)\n );border-radius:var(--df-messenger-chips-border-radius,999px);box-shadow:var(--df-messenger-chips-box-shadow,var(--df-messenger-default-box-shadow)\n );display:inline-flex;max-width:100%;overf
DF_MI.prototype.render=function(){var a=this;if(!this.chips.length||this.clicked)return null;var b=DF_Mo(this.languageCode,"agentSays"),c=this.chips.map(function(d){return d.render(a,a.ta)});return DF_Mu(DF_M6e,b,c)};var DF_M7e=DF_MI;DF_M7e.j=[DF_M5e,DF_My];DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_M7e.prototype,"chips",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Boolean)],DF_M7e.prototype,"clicked",void 0);
DF_M7e=DF_Mk([DF_Mp("df-chips"),DF_Ml("design:paramtypes",[String,String])],DF_M7e);var DF_M8e=DF_Mq([".citations-wrapper{padding:var(--df-messenger-citations-spacing,10px) 0}:host(.first-child) .citations-wrapper{padding-top:0}:host(.last-child) .citations-wrapper{padding-bottom:0}.citations-message{color:var(--df-messenger-citations-message-font-color,#041e49);display:var(--df-messenger-citations-message-display,flex);font-size:var(--df-messenger-citations-message-font-size,12px);margin-bottom:var(--df-messenger-citations-distance,8px)}.citations-list,.citations-message{justify-content:var(--df-messenger-message-bot-align,flex-start)}.citations-list{align-items:var(--df-messenger-message-bot-align,flex-start);display:flex;flex-direction:var(--df-messenger-citations-flex-direction,row);flex-wrap:wrap;gap:var(--df-messenger-citations-distance,8px);row-gap:var(--df-messenger-citations-distance,8px)}.citation{align-items:center;background:var(--df-messenger-citations-background,var(--df-messenger-citations-back
function DF_MJ(a,b){a=DF_MC.call(this,a,b,"match_citations")||this;a.citations=[];return a}DF_Mc(DF_MJ,DF_MC);DF_MJ.F=DF_MC.F;DF_MJ.s=DF_MC.s;DF_MJ.u=DF_MC.u;DF_MJ.h=DF_MC.h;DF_MJ.g=DF_MC.g;DF_MJ.D=DF_MC.D;DF_MJ.i=DF_MC.i;DF_MJ.v=DF_MC.v;DF_MJ.m=DF_MC.m;DF_MJ.C=DF_MC.C;
DF_MJ.prototype.render=function(){var a=this;if(this.citations.length===0)return null;var b=DF_Mo(this.languageCode,"agentSays"),c=DF_Mo(this.languageCode,"citationsMessage"),d=this.citations.map(function(e){return DF_Maf(a,e)});return DF_Mu(DF_M9e,b,c,d)};
function DF_Maf(a,b){var c=DF_Mo(a.languageCode,"opensInANewTab");return DF_Mu(DF_M$e,b.anchor.href,b.anchor.target,b.anchor.rel,function(){var d;DF_Mm(a,"df-citation-clicked",{title:b.title,actionLink:(d=b.anchor)==null?void 0:d.href})},c,DF_M2d,b.title)}var DF_Mbf=DF_MJ;DF_Mbf.j=[DF_M8e,DF_My];DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_Mbf.prototype,"citations",void 0);DF_Mbf=DF_Mk([DF_Mp("df-citations"),DF_Ml("design:paramtypes",[String,String])],DF_Mbf);var DF_Mcf=DF_Mf(["",""]);function DF_MK(a,b){a=DF_MC.call(this,a,b,"custom_template")||this;a.elementName=null;a.payload=null;a.responseId=null;a.element=null;return a}DF_Mc(DF_MK,DF_MC);DF_MK.F=DF_MC.F;DF_MK.s=DF_MC.s;DF_MK.u=DF_MC.u;DF_MK.h=DF_MC.h;DF_MK.g=DF_MC.g;DF_MK.D=DF_MC.D;DF_MK.i=DF_MC.i;DF_MK.v=DF_MC.v;DF_MK.m=DF_MC.m;DF_MK.C=DF_MC.C;
DF_MK.prototype.connectedCallback=function(){DF_MC.prototype.connectedCallback.call(this);this.elementName&&customElements.get(this.elementName)?(this.element=document.createElement(this.elementName),this.element.dfPayload=this.payload,this.element.dfResponseId=this.responseId):console.error("DF-MESSENGER","df-custom-template","Unknown custom element",this.elementName)};DF_MK.prototype.render=function(){return this.element?DF_Mu(DF_Mcf,this.element):null};var DF_Mdf=DF_MK;
DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mdf.prototype,"elementName",void 0);DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_Mdf.prototype,"payload",void 0);DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mdf.prototype,"responseId",void 0);DF_Mdf=DF_Mk([DF_Mp("df-custom-template"),DF_Ml("design:paramtypes",[String,String])],DF_Mdf);var DF_Mef=DF_Mq(["#description-wrapper{color:var(--df-messenger-font-color,var(--df-messenger-default-font-color)\n );display:flex;flex-direction:column;font-family:var(--df-messenger-font-family,var(--df-messenger-default-font-family)\n );font-size:var(--df-messenger-default-font-size);padding:var(--df-messenger-card-padding,16px)}.description-line{padding-top:8px}.title{color:inherit;font-size:inherit;font-weight:700;margin:0}"]);var DF_Mff=DF_Mf(['<h3 class="title word-wrap">',"</h3>"]),DF_Mgf=DF_Mf(['<div class="description-line word-wrap">',"</div>"]),DF_Mhf=DF_Mf([' <div id="description-wrapper">'," ","</div> "]);function DF_M
DF_ML.prototype.render=function(){if(this.text||this.title){var a=this.title?DF_Mu(DF_Mff,this.title):void 0,b,c=(b=this.text)==null?void 0:b.map(function(d){return DF_Mu(DF_Mgf,d)});return DF_Mu(DF_Mhf,a,c)}};var DF_Mif=DF_ML;DF_Mif.j=[DF_Mef,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_Mif.prototype,"title",void 0);DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Object)],DF_Mif.prototype,"text",void 0);DF_Mif=DF_Mk([DF_Mp("df-description"),DF_Ml("design:paramtypes",[String,String])],DF_Mif);var DF_Mjf=DF_Mf(['<hr class="divider" />']);function DF_MM(a,b){return DF_MC.call(this,a,b,"divider")||this}DF_Mc(DF_MM,DF_MC);DF_MM.F=DF_MC.F;DF_MM.s=DF_MC.s;DF_MM.u=DF_MC.u;DF_MM.h=DF_MC.h;DF_MM.g=DF_MC.g;DF_MM.D=DF_MC.D;DF_MM.i=DF_MC.i;DF_MM.v=DF_MC.v;DF_MM.m=DF_MC.m;DF_MM.C=DF_MC.C;DF_MM.prototype.ha=function(){return this};DF_MM.prototype.render=function(){return DF_Mu(DF_Mjf)};var DF_Mkf=DF_MM;DF_Mkf=DF_Mk([DF_Mp("df-divider"),DF_Ml("design:paramtypes",[String,String])],DF_Mkf);var DF_Mlf=DF_Mq([".files-wr
DF_Mqf=DF_Mf([' <span class="file-content">\n ','\n <span class="text">',"</span>\n </span>"]);function DF_MN(a,b){a=DF_MC.call(this,a,b,"files")||this;a.files=[];return a}DF_Mc(DF_MN,DF_MC);DF_MN.F=DF_MC.F;DF_MN.s=DF_MC.s;DF_MN.u=DF_MC.u;DF_MN.h=DF_MC.h;DF_MN.g=DF_MC.g;DF_MN.D=DF_MC.D;DF_MN.i=DF_MC.i;DF_MN.v=DF_MC.v;DF_MN.m=DF_MC.m;DF_MN.C=DF_MC.C;
DF_MN.prototype.render=function(){var a=this,b=DF_Mo(this.languageCode,"agentSays"),c=this.files.map(function(d){return DF_Mu(DF_Mnf,DF_Mrf(a,d))});return DF_Mu(DF_Mmf,b,c)};function DF_Mrf(a,b){var c,d=((c=b.image)==null?0:c.rawUrl)?DF_Mu(DF_Mof,b.image.rawUrl):null;return b.anchor?DF_Mu(DF_Mpf,b.anchor.href,b.anchor.target,b.anchor.rel,function(){var e;DF_Mm(a,"df-file-clicked",{name:b.name,actionLink:(e=b.anchor)==null?void 0:e.href})},d,b.name,DF_M8d):DF_Mu(DF_Mqf,d,b.name)}var DF_Msf=DF_MN;
DF_Msf.j=[DF_Mlf,DF_My];DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_Msf.prototype,"files",void 0);DF_Msf=DF_Mk([DF_Mp("df-files"),DF_Ml("design:paramtypes",[String,String])],DF_Msf);var DF_Mtf=DF_Mq([".markdown :first-child{margin-top:0}.markdown :last-child{margin-bottom:0}"]);var DF_Muf=DF_Mq([":host{--df-messenger-message-internal-border-radius:var(--df-messenger-message-border-radius,var(--df-messenger-default-border-radius)\n );--df-messenger-message-internal-border-top-left-radius:var(--df-messenger-message-border-top-left-radius,var(--df-messenger-message-internal-border-radius)\n );--df-messenger-message-internal-border-top-right-radius:var(--df-messenger-message-border-top-right-radius,var(--df-messenger-message-internal-border-radius)\n );--df-messenger-message-internal-border-bottom-left-radius:var(--df-messenger-message-border-bottom-left-radius,var(--df-messenger-message-internal-border-radius)\n );--df-messenger-message-internal-border-bottom-right-radius:var(--df-messeng
DF_MO.prototype.render=function(){return this.html?DF_Mu(DF_Mwf,DF_Mo(this.languageCode,"agentSays"),DF_MNe(this.html)):DF_Mu(DF_Mvf)};var DF_Mxf=DF_MO;DF_Mxf.j=[DF_Mtf,DF_MJe,DF_Muf,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_Mxf.prototype,"html",void 0);DF_Mxf=DF_Mk([DF_Mp("df-html-message"),DF_Ml("design:paramtypes",[String,String])],DF_Mxf);var DF_Myf=DF_Mq([":host(:only-child) .image-wrapper{padding:var(--df-messenger-image-inner-padding,0)}:host(:only-child) img.image{border:var(--df-messenger-image-inner-border,none);border-radius:var(--df-messenger-image-inner-border-radius,0)}:host(:not(:only-child)) .image-wrapper{padding:var(--df-messenger-card-padding,16px)}:host(:not(:only-child)) img.image{border:var(--df-messenger-image-inner-border,var(--df-messenger-image-border,none)\n );border-radius:var(--df-messenger-image-inner-border-radius,var(--df-messenger-image-border-radius,0)\n )}img.image{max-width:100%}.loading{height:200px}a{display:block}.image-container{position:relative}.refe
'\n <span class="text">',"</span>\n </div>"]);function DF_MP(a,b){a=DF_MC.call(this,a,b,"image")||this;a.source="";a.accessibilityText="";a.reference=null;a.eb=!0;a.error=!1;a.Zb=a.Zb.bind(a);a.Yb=a.Yb.bind(a);return a}DF_Mc(DF_MP,DF_MC);DF_MP.F=DF_MC.F;DF_MP.s=DF_MC.s;DF_MP.u=DF_MC.u;DF_MP.h=DF_MC.h;DF_MP.g=DF_MC.g;DF_MP.D=DF_MC.D;DF_MP.i=DF_MC.i;DF_MP.v=DF_MC.v;DF_MP.m=DF_MC.m;DF_MP.C=DF_MC.C;DF_M=DF_MP.prototype;
DF_M.connectedCallback=function(){DF_MC.prototype.connectedCallback.call(this);this.source&&DF_M2a(this.source,this.Zb,this.Yb)};
DF_M.render=function(){if(!this.source)return null;if(this.eb){var a=DF_MWe({background:'url("https://www.gstatic.com/dialogflow-console/common/assets/integrations/dialogflow-messenger/progress_spinner_grey.gif") 50% no-repeat'});return DF_Mu(DF_Mzf,a)}if(this.error)a=DF_Mu(DF_MAf,this.accessibilityText);else if(a=DF_Mu(DF_MBf,this.source,this.accessibilityText),this.reference){if(this.reference){var b=null;var c;if((c=this.reference.image)==null?0:c.rawUrl)b=DF_Mu(DF_MEf,this.reference.image.rawUrl);
b=DF_Mu(DF_MFf,b,this.reference.text)}else b=null;a=DF_Mu(DF_MDf,this.reference.anchor.href,this.reference.anchor.target,this.reference.anchor.rel,this.Rc,a,b)}else a=DF_Mu(DF_MCf,a);return a};DF_M.Zb=function(){this.eb=!1};DF_M.Yb=function(){this.eb=!1;this.error=!0};DF_M.Rc=function(){var a,b;DF_Mm(this,"df-image-clicked",{actionLink:(a=this.reference)==null?void 0:(b=a.anchor)==null?void 0:b.href})};var DF_MGf=DF_MP;DF_MGf.j=[DF_Myf,DF_My];
DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MGf.prototype,"source",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MGf.prototype,"accessibilityText",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MGf.prototype,"reference",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_MGf.prototype,"eb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_MGf.prototype,"error",void 0);DF_MGf=DF_Mk([DF_Mp("df-image"),DF_Ml("design:paramtypes",[String,String])],DF_MGf);var DF_MHf=DF_Mq([":host([role=listitem]) .title-card-elements{margin:0 var(--df-messenger-list-inset,0);padding:var(--df-messenger-list-padding,var(--df-messenger-card-padding,16px)\n )}:host(:not(:first-of-type)) .title-card-elements{padding-top:var(--df-messenger-list-spacing,10px)}:host(:not(:last-of-type)) .title-card-elements{border-bottom:var(--df-messenger-list-border-bottom,var(--df-messenger-default-border)\n );padding-bottom:var(--df-messenger-list-spacing,10px)}.list-button{background:none;border:none;box-sizing:borde
DF_MOf=DF_Mf([' <div class="title-card-elements"> '," </div>"]);function DF_MQ(a,b,c){a=DF_MF.call(this,a,b,c===void 0?"info":c)||this;a.title="";a.subtitle="";a.image=null;a.anchor=null;a.o=a.o.bind(a);return a}DF_Mc(DF_MQ,DF_MF);DF_MQ.F=DF_MF.F;DF_MQ.s=DF_MF.s;DF_MQ.u=DF_MF.u;DF_MQ.h=DF_MF.h;DF_MQ.g=DF_MF.g;DF_MQ.D=DF_MF.D;DF_MQ.i=DF_MF.i;DF_MQ.v=DF_MF.v;DF_MQ.m=DF_MF.m;DF_MQ.C=DF_MF.C;
DF_MQ.prototype.render=function(){var a,b=((a=this.image)==null?0:a.rawUrl)?DF_Mu(DF_MJf,this.image.rawUrl):void 0;return this.N(DF_Mu(DF_MMf,b,this.title?DF_Mu(DF_MKf,this.title):void 0,this.subtitle?DF_Mu(DF_MLf,this.subtitle):void 0),this.o)};DF_MQ.prototype.N=function(a,b){if(this.anchor){var c=DF_Mo(this.languageCode,"opensInANewTab");return DF_Mu(DF_MNf,b,this.anchor.target,this.anchor.href,this.anchor.rel,c,a)}return DF_Mu(DF_MOf,a)};
DF_MQ.prototype.o=function(){var a;DF_Mm(this,"df-info-card-clicked",{title:this.title,actionLink:(a=this.anchor)==null?void 0:a.href})};var DF_MR=DF_MQ;DF_MR.j=[DF_MIf,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MR.prototype,"title",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MR.prototype,"subtitle",void 0);DF_Mk([DF_Ms({l:!1}),DF_Ml("design:type",Object)],DF_MR.prototype,"image",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MR.prototype,"anchor",void 0);
DF_MR=DF_Mk([DF_Mp("df-title"),DF_Ml("design:paramtypes",[String,String,Object])],DF_MR);var DF_MPf=DF_Mf([" <button\n @click=",'\n class="list-button focus-outline focus-box title-card-elements">\n ',"\n </button>"]);function DF_MS(a,b){a=DF_MR.call(this,a,b,"list")||this;a.event=null;return a}DF_Mc(DF_MS,DF_MR);DF_MS.F=DF_MR.F;DF_MS.s=DF_MR.s;DF_MS.u=DF_MR.u;DF_MS.h=DF_MR.h;DF_MS.g=DF_MR.g;DF_MS.D=DF_MR.D;DF_MS.i=DF_MR.i;DF_MS.v=DF_MR.v;DF_MS.m=DF_MR.m;DF_MS.C=DF_MR.C;
DF_MS.prototype.connectedCallback=function(){DF_MR.prototype.connectedCallback.call(this);this.setAttribute("role","listitem");this.g=this.g.bind(this)};DF_MS.prototype.N=function(a){return this.event&&!this.anchor?DF_Mu(DF_MPf,this.g,a):DF_MR.prototype.N.call(this,a,this.g)};DF_MS.prototype.o=function(){var a=this;return DF_Mh(function(b){return DF_Mg(b,a.g(),0)})};
DF_MS.prototype.g=function(){var a=this,b,c,d,e,f,g,h,k,l,m;return DF_Mh(function(n){d=((b=a.event)==null?void 0:b.languageCode)||((c=a.ta)==null?void 0:c.languageCode);if((h=DF_Mm(a,"df-list-element-clicked",Object.assign({},{title:a.title,event:(e=a.event)==null?void 0:e.event},((f=a.event)==null?0:f.event)?{languageCode:d||void 0}:{},{actionLink:(g=a.anchor)==null?void 0:g.href})))&&((k=a.event)==null?0:k.event))return l=DF_Mld(a.event.event,d||null),DF_Mg(n,(m=a.ta)==null?void 0:m.presenter.sendDialogflowRequest(l),
0);n.g=0})};var DF_MQf=DF_MS;DF_MQf.j=[DF_MHf,DF_MIf,DF_My];DF_Mk([DF_Ms({type:Object}),DF_Ml("design:type",Object)],DF_MQf.prototype,"event",void 0);DF_MQf=DF_Mk([DF_Mp("df-list-element"),DF_Ml("design:paramtypes",[String,String])],DF_MQf);var DF_MRf=DF_Mf([' <style>\n @import url(https://www.gstatic.com/external_hosted/highlightjs/styles/googlecode.css);\n </style>\n <span class="visually-hidden">\n ','\n </span>\n <div class="message bot-message markdown">\n ',"\n </div>"]);function DF_MSf(a,b){a=DF_MC.call(this,a,b,"markdown")||this;a.markdown=null;return a}DF_Mc(DF_MSf,DF_MC);DF_MSf.F=DF_MC.F;DF_MSf.s=DF_MC.s;DF_MSf.u=DF_MC.u;DF_MSf.h=DF_MC.h;DF_MSf.g=DF_MC.g;DF_MSf.D=DF_MC.D;
DF_MSf.i=DF_MC.i;DF_MSf.v=DF_MC.v;DF_MSf.m=DF_MC.m;DF_MSf.C=DF_MC.C;DF_MSf.prototype.render=function(){return this.markdown?DF_Mu(DF_MRf,DF_Mo(this.languageCode,"agentSays"),DF_MNe(this.markdown)):null};var DF_MTf=DF_MSf;DF_MTf.j=[DF_Mtf,DF_MJe,DF_Muf,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MTf.prototype,"markdown",void 0);DF_MTf=DF_Mk([DF_Mp("df-markdown-message"),DF_Ml("design:paramtypes",[String,String])],DF_MTf);var DF_MUf=DF_Mf([' <span class="visually-hidden">','</span>\n <div class="message ','">\n <div style="white-space: pre-wrap;">',"</div>\n </div>"]);function DF_MVf(a,b){a=DF_MC.call(this,a,b,"text")||this;a.text="";a.isBot=!1;a.screenReaderTextKey=void 0;return a}DF_Mc(DF_MVf,DF_MC);DF_MVf.F=DF_MC.F;DF_MVf.s=DF_MC.s;DF_MVf.u=DF_MC.u;DF_MVf.h=DF_MC.h;DF_MVf.g=DF_MC.g;DF_MVf.D=DF_MC.D;DF_MVf.i=DF_MC.i;DF_MVf.v=DF_MC.v;DF_MVf.m=DF_MC.m;DF_MVf.C=DF_MC.C;
DF_MVf.prototype.render=function(){var a=this.screenReaderTextKey?DF_Mo(this.languageCode,this.screenReaderTextKey):DF_Mo(this.languageCode,this.isBot?"agentSays":"iSay");return DF_Mu(DF_MUf,a,this.isBot?"bot-message":"user-message",this.text)};var DF_MWf=DF_MVf;DF_MWf.j=[DF_Muf,DF_My];DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MWf.prototype,"text",void 0);DF_Mk([DF_Ms({type:Boolean,L:!0}),DF_Ml("design:type",Object)],DF_MWf.prototype,"isBot",void 0);
DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_MWf.prototype,"screenReaderTextKey",void 0);DF_MWf=DF_Mk([DF_Mp("df-text-message"),DF_Ml("design:paramtypes",[String,String])],DF_MWf);var DF_MXf=DF_Mq([":host(:only-child) .wrapper{padding:var(--df-messenger-video-inner-padding,0)}:host(:not(.markdown):not(:only-child)) .embed,:host(:not(:only-child)) .link,:host(:not(:only-child)) .video{border:var(--df-messenger-video-inner-border,none);border-radius:var(--df-messenger-video-inner-border-radius,0);overflow:hidden}:host(:not(:only-child)) .wrapper{padding:var(--df-messenger-card-padding,16px)}:host(.markdown) .wrapper{display:inline-block;padding:var(--df-messenger-card-padding,16px);padding-left:0;padding-right:0}:host(.markdown:first-child) .wrapper{padding-top:0}:host(.markdown:last-child) .wrapper{padding-bottom:0}:host(.markdown) .embed,:host(:not(:only-child)) .embed,:host(:not(:only-child)) .link,:host(:not(:only-child)) .video{border:var(--df-messenger-video-inner-border,var(--df-messenger-video-border,
DF_M4f=DF_Mf(['<div class="title">',"</div>"]),DF_M5f=DF_Mf([' <div class="title youtube">\n ',"","\n </div>"]);function DF_MT(a,b){a=DF_MC.call(this,a,b,"video")||this;a.videoType=null;a.anchor=null;a.source=null;a.embeddedPlayer=null;a.thumbnail=null;a.videoTitle=null;return a}DF_Mc(DF_MT,DF_MC);DF_MT.F=DF_MC.F;DF_MT.s=DF_MC.s;DF_MT.u=DF_MC.u;DF_MT.h=DF_MC.h;DF_MT.g=DF_MC.g;DF_MT.D=DF_MC.D;DF_MT.i=DF_MC.i;DF_MT.v=DF_MC.v;DF_MT.m=DF_MC.m;DF_MT.C=DF_MC.C;
DF_MT.prototype.connectedCallback=function(){DF_MC.prototype.connectedCallback.call(this);var a=this.dataset.markdownUrl;a&&(this.videoType="link",this.anchor=new DF_MZf({href:a}),this.embeddedPlayer="youtube",this.classList.add("markdown"))};
DF_MT.prototype.render=function(){if(this.videoType==="raw")return DF_Mu(DF_M0f,this.source,"Your browser does not support the video tag.",DF_M6f(this));if(this.videoType==="link"&&this.embeddedPlayer==="youtube"){var a=DF_Mvc(DF_Msc(DF_M1f),DF_M9a(this.anchor.href));return DF_Mu(DF_M2f,a,this.title,DF_M6f(this))}a=DF_Mo(this.languageCode,"opensInANewTab");return DF_Mu(DF_M3f,this.anchor.href,this.anchor.target,this.anchor.rel,a,this.thumbnail.rawUrl,DF_M6f(this),DF_M4d)};
function DF_M6f(a){return a.videoTitle?DF_Mu(DF_M4f,a.videoTitle):a.videoType==="link"&&DF_M8a.test(a.anchor.href)?DF_Mu(DF_M5f,DF_M5d,a.dataset.markdownTitle||"Youtube video"):null}DF_Ma.Object.defineProperties(DF_MT.prototype,{o:{configurable:!0,enumerable:!0,set:function(a){this.dataset.markdownUrl=a}},g:{configurable:!0,enumerable:!0,set:function(a){this.dataset.markdownTitle=a}}});var DF_M7f=DF_MT;DF_M7f.j=[DF_MXf,DF_My];
DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"videoType",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"anchor",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"source",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"embeddedPlayer",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"thumbnail",void 0);DF_Mk([DF_Ms(),DF_Ml("design:type",Object)],DF_M7f.prototype,"videoTitle",void 0);
DF_M7f=DF_Mk([DF_Mp("df-video"),DF_Ml("design:paramtypes",[String,String])],DF_M7f);function DF_M8f(a){if(!a)return null;var b;return((b=a.src)==null?0:b.rawUrl)?{rawUrl:a.src.rawUrl}:a.rawUrl?{rawUrl:a.rawUrl}:null};var DF_M9f=DF_Mf(['<img\n src="','"\n aria-hidden="true"\n alt="','" />']),DF_M$f=DF_Mf([' <span role="listitem" class="chip">\n <button\n class="focus-outline"\n @click=',">\n ",'\n <span class="text word-wrap">',"</span>\n </button>\n </span>"]),DF_Mag=DF_Mf(['<img\n src="','"\n aria-hidden="true"\n alt="','" />']),DF_Mbg=DF_Mf(' <span role="listitem" class="chip">\n <a\n @click=;\n class="chip-link focus-outline"\n href=";"\n target=";"\n rel=";">\n <span class="visually-hidden">;</span>\n ;\n <span class="text word-wrap">;</span>\n <span class="icon">;</span>\n </a>\n </span>'.split(";"));
function DF_Mcg(a,b,c,d){this.text=a;this.image=b;this.accessibilityText=c;this.mode=d}
DF_Mcg.prototype.render=function(a,b){var c=this,d,e=((d=this.image)==null?0:d.rawUrl)?DF_Mu(DF_M9f,this.image.rawUrl,this.accessibilityText||""):null;return DF_Mu(DF_M$f,function(){a.clicked=!0;b==null||b.presenter.storeMessageClicked(a.uniqueId);DF_Mm(a,"df-chip-clicked",{text:c.text});c.mode==="blocking"&&b&&(b.isWaitingForElement=!1);b==null||b.renderCustomText(c.text,!1);b==null||b.presenter.sendQuery(c.text)},e,this.text)};
function DF_Mdg(a,b,c,d,e){this.text=a;this.anchor=b;this.image=c;this.accessibilityText=d;this.mode=e}
DF_Mdg.prototype.render=function(a,b){var c=this,d=DF_Mo(a.languageCode,"opensInANewTab"),e,f=((e=this.image)==null?0:e.rawUrl)?DF_Mu(DF_Mag,this.image.rawUrl,this.accessibilityText||""):null;return DF_Mu(DF_Mbg,function(){DF_Mm(a,"df-chip-clicked",{text:c.text,actionLink:c.anchor.href});c.mode==="blocking"&&b&&(b.isWaitingForElement=!1)},this.anchor.href,this.anchor.target,this.anchor.rel,d,f,this.text,DF_M3d)};var DF_Meg=DF_Mq([":host{font-size:0}:host(:only-child) .code-block-wrapper{padding:var(--df-messenger-code-block-inner-padding,0)}:host(:only-child) .code-block-wrapper{border:var(--df-messenger-image-code-block-border,none);border-radius:var(--df-messenger-code-block-inner-border-radius,0)}:host(:not(.only-child)) .code-block-wrapper{border:var(--df-messenger-code-block-inner-border,var(--df-messenger-code-block-border,var(--df-messenger-default-border)\n )\n );border-radius:var(--df-messenger-code-block-inner-border-radius,var(--df-messenger-code-block-border-radius,var(--df-messenger-defau
function DF_MU(){return DF_Mw.apply(this,arguments)||this}DF_Mc(DF_MU,DF_Mw);DF_MU.F=DF_Mw.F;DF_MU.s=DF_Mw.s;DF_MU.u=DF_Mw.u;DF_MU.h=DF_Mw.h;DF_MU.g=DF_Mw.g;DF_MU.D=DF_Mw.D;DF_MU.i=DF_Mw.i;DF_MU.v=DF_Mw.v;DF_MU.m=DF_Mw.m;DF_MU.C=DF_Mw.C;DF_MU.prototype.connectedCallback=function(){DF_Mw.prototype.connectedCallback.call(this);if(this.classList.contains("only-child")){var a;(a=this.parentElement)==null||a.classList.add("code-block")}};
DF_MU.prototype.render=function(){var a=(a=this.Kb)?DF_Mu(DF_Mgg,a):null;var b,c=DF_Mo((b=this.g)==null?void 0:b.languageCode,"useCodeWithCautionText"),d;b=DF_Mo((d=this.g)==null?void 0:d.languageCode,"copyCodeAriaLabel");return DF_Mu(DF_Mfg,a,DF_Mu(DF_Mhg,this.Kb||"",c,b,this.o,DF_M1d))};
DF_MU.prototype.o=function(){if(this.ic.length!==0){var a=this.ic[0].textContent;if(a){var b=this.T.querySelector(".copy-button");b==null||b.classList.add("active");setTimeout(function(){b==null||b.classList.remove("active")},200);navigator.clipboard.writeText(a)}}};DF_Ma.Object.defineProperties(DF_MU.prototype,{Kb:{configurable:!0,enumerable:!0,set:function(a){this.dataset.language=a},get:function(){var a;return(a=this.dataset.language)!=null?a:""}},g:{configurable:!0,enumerable:!0,get:function(){return this.closest("df-markdown-message")}}});
var DF_Mig=DF_MU;DF_Mig.G="language";DF_Mig.j=[DF_Meg,DF_My];DF_Mk([function(a){return function(b,c){var d=a!=null?a:{},e=d.slot,f=d.je,g="slot"+(e?"[name="+e+"]":":not([name])");return DF_MIb(b,c,{get:function(){var h,k,l,m=(l=(k=(h=this.T)==null?void 0:h.querySelector(g))==null?void 0:k.assignedElements(a))!=null?l:[];return f===void 0?m:m.filter(function(n){return n.matches(f)})}})}}(),DF_Ml("design:type",Array)],DF_Mig.prototype,"ic",void 0);DF_Mig=DF_Mk([DF_Mp("df-code-block")],DF_Mig);function DF_Mjg(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,DF_Mjg);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}DF_MIa(DF_Mjg,Error);DF_Mjg.prototype.name="CustomError";function DF_Mkg(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");DF_Mjg.call(this,c+a[d])}DF_MIa(DF_Mkg,DF_Mjg);DF_Mkg.prototype.name="AssertionError";(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";const e
(version,message)=>{console.log(`Deprecated as of ${version}. ${message}`)};var module$third_party$javascript$highlightjs$src$lib$logger={};module$third_party$javascript$highlightjs$src$lib$logger.deprecated=deprecated$$module$third_party$javascript$highlightjs$src$lib$logger;module$third_party$javascript$highlightjs$src$lib$logger.error=error$$module$third_party$javascript$highlightjs$src$lib$logger;module$third_party$javascript$highlightjs$src$lib$logger.notice=notice$$module$third_party$javascript$highlightjs$src$lib$logger;
module$third_party$javascript$highlightjs$src$lib$logger.warn=warn$$module$third_party$javascript$highlightjs$src$lib$logger;const COMMON_KEYWORDS$$module$third_party$javascript$highlightjs$src$lib$compile_keywords=["of","and","for","in","not","or","if","then","parent","list","value"];const DEFAULT_KEYWORD_CLASSNAME$$module$third_party$javascript$highlightjs$src$lib$compile_keywords="keyword";function compileKeywords$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(rawKeywords,
caseInsensitive,className=DEFAULT_KEYWORD_CLASSNAME$$module$third_party$javascript$highlightjs$src$lib$compile_keywords){function compileList(className,keywordList){if(caseInsensitive)keywordList=keywordList.map(x=>{return x.toLowerCase()});keywordList.forEach(function(keyword){const pair=keyword.split("|");compiledKeywords[pair[0]]=[className,scoreForKeyword$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(pair[0],pair[1])]})}const compiledKeywords={};if(typeof rawKeywords==="string")compileList(className,
rawKeywords.split(" "));else if(Array.isArray(rawKeywords))compileList(className,rawKeywords);else Object.keys(rawKeywords).forEach(function(className){Object.assign(compiledKeywords,compileKeywords$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(rawKeywords[className],caseInsensitive,className))});return compiledKeywords}function scoreForKeyword$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(keyword,providedScore){if(providedScore)return Number(providedScore);
return commonKeyword$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(keyword)?0:1}function commonKeyword$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(keyword){return COMMON_KEYWORDS$$module$third_party$javascript$highlightjs$src$lib$compile_keywords.includes(keyword.toLowerCase())}var module$third_party$javascript$highlightjs$src$lib$compile_keywords={};module$third_party$javascript$highlightjs$src$lib$compile_keywords.compileKeywords=compileKeywords$$module$third_party$javascript$highlightjs$src$lib$compile_keywords;
function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",
re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+
")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret=
"";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=
ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;
module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;
module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;function skipIfhasPrecedingDot$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions(match,
response){const before=match.input[match.index-1];if(before===".")response.ignoreMatch()}function beginKeywords$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions(mode,parent){if(!parent)return;if(!mode.beginKeywords)return;mode.begin="\\b("+mode.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)";mode.__beforeBegin=skipIfhasPrecedingDot$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions;mode.keywords=mode.keywords||mode.beginKeywords;delete mode.beginKeywords;
if(mode.relevance===undefined)mode.relevance=0}function compileIllegal$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions(mode,_parent){if(!Array.isArray(mode.illegal))return;mode.illegal=either$$module$third_party$javascript$highlightjs$src$lib$regex(...mode.illegal)}function compileMatch$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions(mode,_parent){if(!mode.match)return;if(mode.begin||mode.end)throw new Error("begin & end are not supported with match");
mode.begin=mode.match;delete mode.match}function compileRelevance$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions(mode,_parent){if(mode.relevance===undefined)mode.relevance=1}var module$third_party$javascript$highlightjs$src$lib$compiler_extensions={};module$third_party$javascript$highlightjs$src$lib$compiler_extensions.beginKeywords=beginKeywords$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions;module$third_party$javascript$highlightjs$src$lib$compiler_extensions.compileIllegal=
compileIllegal$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions;module$third_party$javascript$highlightjs$src$lib$compiler_extensions.compileMatch=compileMatch$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions;module$third_party$javascript$highlightjs$src$lib$compiler_extensions.compileRelevance=compileRelevance$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions;function escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(value){return value.replace(/&/g,
"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function inherit$$module$third_party$javascript$highlightjs$src$lib$utils(original,...objects){const result=Object.create(null);for(const key in original)result[key]=original[key];objects.forEach(function(obj){for(const key in obj)result[key]=obj[key]});return result}var module$third_party$javascript$highlightjs$src$lib$utils={};module$third_party$javascript$highlightjs$src$lib$utils.escapeHTML=escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils;
module$third_party$javascript$highlightjs$src$lib$utils.inherit=inherit$$module$third_party$javascript$highlightjs$src$lib$utils;function compileLanguage$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(language,{plugins}){function langRe(value,global){return new RegExp(source$$module$third_party$javascript$highlightjs$src$lib$regex(value),"m"+(language.case_insensitive?"i":"")+(global?"g":""))}function buildModeRegex(mode){const mm=new ResumableMultiRegex;mode.contains.forEach(term=>
{return mm.addRule(term.begin,{rule:term,type:"begin"})});if(mode.terminatorEnd)mm.addRule(mode.terminatorEnd,{type:"end"});if(mode.illegal)mm.addRule(mode.illegal,{type:"illegal"});return mm}function compileMode(mode,parent){const cmode=mode;if(mode.compiled)return cmode;[compileMatch$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions].forEach(ext=>{return ext(mode,parent)});language.compilerExtensions.forEach(ext=>{return ext(mode,parent)});mode.__beforeBegin=null;[beginKeywords$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions,
compileIllegal$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions,compileRelevance$$module$third_party$javascript$highlightjs$src$lib$compiler_extensions].forEach(ext=>{return ext(mode,parent)});mode.compiled=true;let keywordPattern=null;if(typeof mode.keywords==="object"){keywordPattern=mode.keywords.$pattern;delete mode.keywords.$pattern}if(mode.keywords)mode.keywords=compileKeywords$$module$third_party$javascript$highlightjs$src$lib$compile_keywords(mode.keywords,language.case_insensitive);
if(mode.lexemes&&keywordPattern)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");keywordPattern=keywordPattern||mode.lexemes||/\w+/;cmode.keywordPatternRe=langRe(keywordPattern,true);if(parent){if(!mode.begin)mode.begin=/\B|\b/;cmode.beginRe=langRe(mode.begin);if(mode.endSameAsBegin)mode.end=mode.begin;if(!mode.end&&!mode.endsWithParent)mode.end=/\B|\b/;if(mode.end)cmode.endRe=langRe(mode.end);cmode.terminatorEnd=source$$module$third_party$javascript$highlightjs$src$lib$regex(mode.end)||
"";if(mode.endsWithParent&&parent.terminatorEnd)cmode.terminatorEnd+=(mode.end?"|":"")+parent.terminatorEnd}if(mode.illegal)cmode.illegalRe=langRe(mode.illegal);if(!mode.contains)mode.contains=[];mode.contains=[].concat(...mode.contains.map(function(c){return expandOrCloneMode$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(c==="self"?mode:c)}));mode.contains.forEach(function(c){compileMode(c,cmode)});if(mode.starts)compileMode(mode.starts,parent);cmode.matcher=buildModeRegex(cmode);
return cmode}class MultiRegex{constructor(){this.matchIndexes={};this.regexes=[];this.matchAt=1;this.position=0}addRule(re,opts){opts.position=this.position++;this.matchIndexes[this.matchAt]=opts;this.regexes.push([opts,re]);this.matchAt+=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re)+1}compile(){if(this.regexes.length===0)this.exec=()=>{return null};const terminators=this.regexes.map(el=>{return el[1]});this.matcherRe=langRe(join$$module$third_party$javascript$highlightjs$src$lib$regex(terminators),
true);this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const match=this.matcherRe.exec(s);if(!match)return null;const i=match.findIndex((el,i)=>{return i>0&&el!==undefined});const matchData=this.matchIndexes[i];match.splice(0,i);return Object.assign(match,matchData)}}class ResumableMultiRegex{constructor(){this.rules=[];this.multiRegexes=[];this.count=0;this.lastIndex=0;this.regexIndex=0}getMatcher(index){if(this.multiRegexes[index])return this.multiRegexes[index];const matcher=new MultiRegex;
this.rules.slice(index).forEach(([re,opts])=>{return matcher.addRule(re,opts)});matcher.compile();this.multiRegexes[index]=matcher;return matcher}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(re,opts){this.rules.push([re,opts]);if(opts.type==="begin")this.count++}exec(s){const m=this.getMatcher(this.regexIndex);m.lastIndex=this.lastIndex;let result=m.exec(s);if(this.resumingScanAtSamePosition())if(result&&result.index===this.lastIndex);else{const m2=
this.getMatcher(0);m2.lastIndex=this.lastIndex+1;result=m2.exec(s)}if(result){this.regexIndex+=result.position+1;if(this.regexIndex===this.count)this.considerAll()}return result}}if(!language.compilerExtensions)language.compilerExtensions=[];if(language.contains&&language.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");language.classNameAliases=inherit$$module$third_party$javascript$highlightjs$src$lib$utils(language.classNameAliases||
{});return compileMode(language)}function dependencyOnParent$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(mode){if(!mode)return false;return mode.endsWithParent||dependencyOnParent$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(mode.starts)}function expandOrCloneMode$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(mode){if(mode.variants&&!mode.cachedVariants)mode.cachedVariants=mode.variants.map(function(variant){return inherit$$module$third_party$javascript$highlightjs$src$lib$utils(mode,
{variants:null},variant)});if(mode.cachedVariants)return mode.cachedVariants;if(dependencyOnParent$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(mode))return inherit$$module$third_party$javascript$highlightjs$src$lib$utils(mode,{starts:mode.starts?inherit$$module$third_party$javascript$highlightjs$src$lib$utils(mode.starts):null});if(Object.isFrozen(mode))return inherit$$module$third_party$javascript$highlightjs$src$lib$utils(mode);return mode}var module$third_party$javascript$highlightjs$src$lib$mode_compiler=
{};module$third_party$javascript$highlightjs$src$lib$mode_compiler.compileLanguage=compileLanguage$$module$third_party$javascript$highlightjs$src$lib$mode_compiler;const MATCH_NOTHING_RE$$module$third_party$javascript$highlightjs$src$lib$modes=/\b\B/;const IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes="[a-zA-Z]\\w*";const UNDERSCORE_IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes="[a-zA-Z_]\\w*";const NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes=
"\\b\\d+(\\.\\d+)?";const C_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";const BINARY_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes="\\b(0b[01]+)";const RE_STARTERS_RE$$module$third_party$javascript$highlightjs$src$lib$modes="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";const SHEBANG$$module$third_party$javascript$highlightjs$src$lib$modes=
(opts={})=>{const beginShebang=/^#![ ]*\//;if(opts.binary)opts.begin=concat$$module$third_party$javascript$highlightjs$src$lib$regex(beginShebang,/.*\b/,opts.binary,/\b.*/);return inherit$$module$third_party$javascript$highlightjs$src$lib$utils({className:"meta",begin:beginShebang,end:/$/,relevance:0,"on:begin":(m,resp)=>{if(m.index!==0)resp.ignoreMatch()}},opts)};const BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes={begin:"\\\\[\\s\\S]",relevance:0};const APOS_STRING_MODE$$module$third_party$javascript$highlightjs$src$lib$modes=
{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes]};const QUOTE_STRING_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes]};const PHRASAL_WORDS_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/};
const COMMENT$$module$third_party$javascript$highlightjs$src$lib$modes=function(begin,end,modeOptions={}){const mode=inherit$$module$third_party$javascript$highlightjs$src$lib$utils({className:"comment",begin,end,contains:[]},modeOptions);mode.contains.push(PHRASAL_WORDS_MODE$$module$third_party$javascript$highlightjs$src$lib$modes);mode.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0});return mode};const C_LINE_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes=
COMMENT$$module$third_party$javascript$highlightjs$src$lib$modes("//","$");const C_BLOCK_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes=COMMENT$$module$third_party$javascript$highlightjs$src$lib$modes("/\\*","\\*/");const HASH_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes=COMMENT$$module$third_party$javascript$highlightjs$src$lib$modes("#","$");const NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"number",begin:NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes,
relevance:0};const C_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"number",begin:C_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes,relevance:0};const BINARY_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"number",begin:BINARY_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes,relevance:0};const CSS_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"number",begin:NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes+
"("+"%|em|ex|ch|rem"+"|vw|vh|vmin|vmax"+"|cm|mm|in|pt|pc|px"+"|deg|grad|rad|turn"+"|s|ms"+"|Hz|kHz"+"|dpi|dpcm|dppx"+")?",relevance:0};const REGEXP_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes]}]}]};
const TITLE_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"title",begin:IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes,relevance:0};const UNDERSCORE_TITLE_MODE$$module$third_party$javascript$highlightjs$src$lib$modes={className:"title",begin:UNDERSCORE_IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes,relevance:0};const METHOD_GUARD$$module$third_party$javascript$highlightjs$src$lib$modes={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes,
relevance:0};const END_SAME_AS_BEGIN$$module$third_party$javascript$highlightjs$src$lib$modes=function(mode){return Object.assign(mode,{"on:begin":(m,resp)=>{resp.data._beginMatch=m[1]},"on:end":(m,resp)=>{if(resp.data._beginMatch!==m[1])resp.ignoreMatch()}})};var module$third_party$javascript$highlightjs$src$lib$modes={};module$third_party$javascript$highlightjs$src$lib$modes.APOS_STRING_MODE=APOS_STRING_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.BACKSLASH_ESCAPE=
BACKSLASH_ESCAPE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.BINARY_NUMBER_MODE=BINARY_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.BINARY_NUMBER_RE=BINARY_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.COMMENT=COMMENT$$module$third_party$javascript$highlightjs$src$lib$modes;
module$third_party$javascript$highlightjs$src$lib$modes.CSS_NUMBER_MODE=CSS_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.C_BLOCK_COMMENT_MODE=C_BLOCK_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.C_LINE_COMMENT_MODE=C_LINE_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.C_NUMBER_MODE=
C_NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.C_NUMBER_RE=C_NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.END_SAME_AS_BEGIN=END_SAME_AS_BEGIN$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.HASH_COMMENT_MODE=HASH_COMMENT_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;
module$third_party$javascript$highlightjs$src$lib$modes.IDENT_RE=IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.MATCH_NOTHING_RE=MATCH_NOTHING_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.METHOD_GUARD=METHOD_GUARD$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.NUMBER_MODE=NUMBER_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;
module$third_party$javascript$highlightjs$src$lib$modes.NUMBER_RE=NUMBER_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.PHRASAL_WORDS_MODE=PHRASAL_WORDS_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.QUOTE_STRING_MODE=QUOTE_STRING_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.REGEXP_MODE=
REGEXP_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.RE_STARTERS_RE=RE_STARTERS_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.SHEBANG=SHEBANG$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.TITLE_MODE=TITLE_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.UNDERSCORE_IDENT_RE=
UNDERSCORE_IDENT_RE$$module$third_party$javascript$highlightjs$src$lib$modes;module$third_party$javascript$highlightjs$src$lib$modes.UNDERSCORE_TITLE_MODE=UNDERSCORE_TITLE_MODE$$module$third_party$javascript$highlightjs$src$lib$modes;class Response$$module$third_party$javascript$highlightjs$src$lib$response{constructor(mode){if(mode.data===undefined)mode.data={};this.data=mode.data}ignoreMatch(){this.ignore=true}}var module$third_party$javascript$highlightjs$src$lib$response={};module$third_party$javascript$highlightjs$src$lib$response.default=
Response$$module$third_party$javascript$highlightjs$src$lib$response;const SPAN_CLOSE$$module$third_party$javascript$highlightjs$src$lib$html_renderer="</span>";const emitsWrappingTags$$module$third_party$javascript$highlightjs$src$lib$html_renderer=node=>{return!!node.kind};class HTMLRenderer$$module$third_party$javascript$highlightjs$src$lib$html_renderer{constructor(parseTree,options){this.buffer="";this.classPrefix=options.classPrefix;parseTree.walk(this)}addText(text){this.buffer+=escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(text)}openNode(node){if(!emitsWrappingTags$$module$third_party$javascript$highlightjs$src$lib$html_renderer(node))return;
let className=node.kind;if(!node.sublanguage)className=`${this.classPrefix}${className}`;this.span(className)}closeNode(node){if(!emitsWrappingTags$$module$third_party$javascript$highlightjs$src$lib$html_renderer(node))return;this.buffer+=SPAN_CLOSE$$module$third_party$javascript$highlightjs$src$lib$html_renderer}value(){return this.buffer}span(className){this.buffer+=`<span class="${className}">`}}var module$third_party$javascript$highlightjs$src$lib$html_renderer={};module$third_party$javascript$highlightjs$src$lib$html_renderer.default=
HTMLRenderer$$module$third_party$javascript$highlightjs$src$lib$html_renderer;class TokenTree$$module$third_party$javascript$highlightjs$src$lib$token_tree{constructor(){this.rootNode={children:[]};this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(node){this.top.children.push(node)}openNode(kind){const node={kind,children:[]};this.add(node);this.stack.push(node)}closeNode(){if(this.stack.length>1)return this.stack.pop();return undefined}closeAllNodes(){for(;this.closeNode(););
}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(builder){return this.constructor._walk(builder,this.rootNode)}static _walk(builder,node){if(typeof node==="string")builder.addText(node);else if(node.children){builder.openNode(node);node.children.forEach(child=>{return this._walk(builder,child)});builder.closeNode(node)}return builder}static _collapse(node){if(typeof node==="string")return;if(!node.children)return;if(node.children.every(el=>{return typeof el==="string"}))node.children=[node.children.join("")];
else node.children.forEach(child=>{TokenTree$$module$third_party$javascript$highlightjs$src$lib$token_tree._collapse(child)})}}class TokenTreeEmitter$$module$third_party$javascript$highlightjs$src$lib$token_tree extends TokenTree$$module$third_party$javascript$highlightjs$src$lib$token_tree{constructor(options){super();this.options=options}addKeyword(text,kind){if(text==="")return;this.openNode(kind);this.addText(text);this.closeNode()}addText(text){if(text==="")return;this.add(text)}addSublanguage(emitter,
name){const node=emitter.root;node.kind=name;node.sublanguage=true;this.add(node)}toHTML(){const renderer=new HTMLRenderer$$module$third_party$javascript$highlightjs$src$lib$html_renderer(this,this.options);return renderer.value()}finalize(){return true}}var module$third_party$javascript$highlightjs$src$lib$token_tree={};module$third_party$javascript$highlightjs$src$lib$token_tree.default=TokenTreeEmitter$$module$third_party$javascript$highlightjs$src$lib$token_tree;const mergeHTMLPlugin$$module$third_party$javascript$highlightjs$src$plugins$merge_html=
{"after:highlightBlock":({block,result,text})=>{const originalStream=nodeStream$$module$third_party$javascript$highlightjs$src$plugins$merge_html(block);if(!originalStream.length)return;const resultNode=document.createElement("div");resultNode.innerHTML=result.value;result.value=mergeStreams$$module$third_party$javascript$highlightjs$src$plugins$merge_html(originalStream,nodeStream$$module$third_party$javascript$highlightjs$src$plugins$merge_html(resultNode),text)}};function tag$$module$third_party$javascript$highlightjs$src$plugins$merge_html(node){return node.nodeName.toLowerCase()}
function nodeStream$$module$third_party$javascript$highlightjs$src$plugins$merge_html(node){const result=[];(function _nodeStream(node,offset){for(let child=node.firstChild;child;child=child.nextSibling)if(child.nodeType===3)offset=offset+child.nodeValue.length;else if(child.nodeType===1){result.push({event:"start",offset:offset,node:child});offset=_nodeStream(child,offset);if(!tag$$module$third_party$javascript$highlightjs$src$plugins$merge_html(child).match(/br|hr|img|input/))result.push({event:"stop",
offset:offset,node:child})}return offset})(node,0);return result}function mergeStreams$$module$third_party$javascript$highlightjs$src$plugins$merge_html(original,highlighted,value){function selectStream(){if(!original.length||!highlighted.length)return original.length?original:highlighted;if(original[0].offset!==highlighted[0].offset)return original[0].offset<highlighted[0].offset?original:highlighted;return highlighted[0].event==="start"?original:highlighted}function open(node){function attributeString(attr){return" "+
attr.nodeName+'="'+escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(attr.value)+'"'}result=result+("<"+tag$$module$third_party$javascript$highlightjs$src$plugins$merge_html(node)+[].map.call(node.attributes,attributeString).join("")+">")}function close(node){result=result+("</"+tag$$module$third_party$javascript$highlightjs$src$plugins$merge_html(node)+">")}function render(event){(event.event==="start"?open:close)(event.node)}let processed=0;let result="";const nodeStack=[];for(;original.length||
highlighted.length;){let stream=selectStream();result=result+escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(value.substring(processed,stream[0].offset));processed=stream[0].offset;if(stream===original){nodeStack.reverse().forEach(close);do{render(stream.splice(0,1)[0]);stream=selectStream()}while(stream===original&&stream.length&&stream[0].offset===processed);nodeStack.reverse().forEach(open)}else{if(stream[0].event==="start")nodeStack.push(stream[0].node);else nodeStack.pop();
render(stream.splice(0,1)[0])}}return result+escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(value.substr(processed))}var module$third_party$javascript$highlightjs$src$plugins$merge_html={};module$third_party$javascript$highlightjs$src$plugins$merge_html.mergeHTMLPlugin=mergeHTMLPlugin$$module$third_party$javascript$highlightjs$src$plugins$merge_html;module$third_party$javascript$highlightjs$src$plugins$merge_html.mergeStreams=mergeStreams$$module$third_party$javascript$highlightjs$src$plugins$merge_html;
module$third_party$javascript$highlightjs$src$plugins$merge_html.nodeStream=nodeStream$$module$third_party$javascript$highlightjs$src$plugins$merge_html;function hasValueOrEmptyAttribute$$module$third_party$javascript$highlightjs$src$plugins$vue(value){return Boolean(value||value==="")}function BuildVuePlugin$$module$third_party$javascript$highlightjs$src$plugins$vue(hljs){const Component={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:false}},computed:{className(){if(this.unknownLanguage)return"";
return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!hljs.getLanguage(this.language)){console.warn(`The language "${this.language}" you specified could not be found.`);this.unknownLanguage=true;return escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils(this.code)}let result={};if(this.autoDetect){result=hljs.highlightAuto(this.code);this.detectedLanguage=result.language}else{result=hljs.highlight(this.language,this.code,this.ignoreIllegals);this.detectedLanguage=
this.language}return result.value},autoDetect(){return!this.language||hasValueOrEmptyAttribute$$module$third_party$javascript$highlightjs$src$plugins$vue(this.autodetect)},ignoreIllegals(){return true}},render(createElement){return createElement("pre",{},[createElement("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};const VuePlugin={install(Vue){Vue.component("highlightjs",Component)}};return{Component,VuePlugin}}var module$third_party$javascript$highlightjs$src$plugins$vue=
{};module$third_party$javascript$highlightjs$src$plugins$vue.BuildVuePlugin=BuildVuePlugin$$module$third_party$javascript$highlightjs$src$plugins$vue;const escape$$module$third_party$javascript$highlightjs$src$highlight=escapeHTML$$module$third_party$javascript$highlightjs$src$lib$utils;const inherit$$module$third_party$javascript$highlightjs$src$highlight=inherit$$module$third_party$javascript$highlightjs$src$lib$utils;const NO_MATCH$$module$third_party$javascript$highlightjs$src$highlight=Symbol("nomatch");
const HLJS$$module$third_party$javascript$highlightjs$src$highlight=function(hljs){function shouldNotHighlight(languageName){return options.noHighlightRe.test(languageName)}function blockLanguage(block){let classes=block.className+" ";classes=classes+(block.parentNode?block.parentNode.className:"");const match=options.languageDetectRe.exec(classes);if(match){const language=getLanguage(match[1]);if(!language){warn$$module$third_party$javascript$highlightjs$src$lib$logger(LANGUAGE_NOT_FOUND.replace("{}",
match[1]));warn$$module$third_party$javascript$highlightjs$src$lib$logger("Falling back to no-highlight mode for this block.",block)}return language?match[1]:"no-highlight"}return classes.split(/\s+/).find(_class=>{return shouldNotHighlight(_class)||getLanguage(_class)})}function highlight(languageName,code,ignoreIllegals,continuation){const context={code,language:languageName};fire("before:highlight",context);const result=context.result?context.result:_highlight(context.language,context.code,ignoreIllegals,
continuation);result.code=context.code;fire("after:highlight",result);return result}function _highlight(languageName,code,ignoreIllegals,continuation){function keywordData(mode,match){const matchText=language.case_insensitive?match[0].toLowerCase():match[0];return Object.prototype.hasOwnProperty.call(mode.keywords,matchText)&&mode.keywords[matchText]}function processKeywords(){if(!top.keywords){emitter.addText(modeBuffer);return}let lastIndex=0;top.keywordPatternRe.lastIndex=0;let match=top.keywordPatternRe.exec(modeBuffer);
let buf="";for(;match;){buf=buf+modeBuffer.substring(lastIndex,match.index);const data=keywordData(top,match);if(data){const [kind,keywordRelevance]=data;emitter.addText(buf);buf="";relevance=relevance+keywordRelevance;const cssClass=language.classNameAliases[kind]||kind;emitter.addKeyword(match[0],cssClass)}else buf=buf+match[0];lastIndex=top.keywordPatternRe.lastIndex;match=top.keywordPatternRe.exec(modeBuffer)}buf=buf+modeBuffer.substr(lastIndex);emitter.addText(buf)}function processSubLanguage(){if(modeBuffer===
"")return;let result=null;if(typeof top.subLanguage==="string"){if(!languages[top.subLanguage]){emitter.addText(modeBuffer);return}result=_highlight(top.subLanguage,modeBuffer,true,continuations[top.subLanguage]);continuations[top.subLanguage]=result.top}else result=highlightAuto(modeBuffer,top.subLanguage.length?top.subLanguage:null);if(top.relevance>0)relevance=relevance+result.relevance;emitter.addSublanguage(result.emitter,result.language)}function processBuffer(){if(top.subLanguage!=null)processSubLanguage();
else processKeywords();modeBuffer=""}function startNewMode(mode){if(mode.className)emitter.openNode(language.classNameAliases[mode.className]||mode.className);top=Object.create(mode,{parent:{value:top}});return top}function endOfMode(mode,match,matchPlusRemainder){let matched=startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(mode.endRe,matchPlusRemainder);if(matched){if(mode["on:end"]){const resp=new Response$$module$third_party$javascript$highlightjs$src$lib$response(mode);mode["on:end"](match,
resp);if(resp.ignore)matched=false}if(matched){for(;mode.endsParent&&mode.parent;)mode=mode.parent;return mode}}if(mode.endsWithParent)return endOfMode(mode.parent,match,matchPlusRemainder)}function doIgnore(lexeme){if(top.matcher.regexIndex===0){modeBuffer=modeBuffer+lexeme[0];return 1}else{resumeScanAtSamePosition=true;return 0}}function doBeginMatch(match){const lexeme=match[0];const newMode=match.rule;const resp=new Response$$module$third_party$javascript$highlightjs$src$lib$response(newMode);
const beforeCallbacks=[newMode.__beforeBegin,newMode["on:begin"]];for(const cb of beforeCallbacks){if(!cb)continue;cb(match,resp);if(resp.ignore)return doIgnore(lexeme)}if(newMode&&newMode.endSameAsBegin)newMode.endRe=escape$$module$third_party$javascript$highlightjs$src$lib$regex(lexeme);if(newMode.skip)modeBuffer=modeBuffer+lexeme;else{if(newMode.excludeBegin)modeBuffer=modeBuffer+lexeme;processBuffer();if(!newMode.returnBegin&&!newMode.excludeBegin)modeBuffer=lexeme}startNewMode(newMode);return newMode.returnBegin?
0:lexeme.length}function doEndMatch(match){const lexeme=match[0];const matchPlusRemainder=codeToHighlight.substr(match.index);const endMode=endOfMode(top,match,matchPlusRemainder);if(!endMode)return NO_MATCH$$module$third_party$javascript$highlightjs$src$highlight;const origin=top;if(origin.skip)modeBuffer=modeBuffer+lexeme;else{if(!(origin.returnEnd||origin.excludeEnd))modeBuffer=modeBuffer+lexeme;processBuffer();if(origin.excludeEnd)modeBuffer=lexeme}do{if(top.className)emitter.closeNode();if(!top.skip&&
!top.subLanguage)relevance=relevance+top.relevance;top=top.parent}while(top!==endMode.parent);if(endMode.starts){if(endMode.endSameAsBegin)endMode.starts.endRe=endMode.endRe;startNewMode(endMode.starts)}return origin.returnEnd?0:lexeme.length}function processContinuations(){const list=[];for(let current=top;current!==language;current=current.parent)if(current.className)list.unshift(current.className);list.forEach(item=>{return emitter.openNode(item)})}function processLexeme(textBeforeMatch,match){const lexeme=
match&&match[0];modeBuffer=modeBuffer+textBeforeMatch;if(lexeme==null){processBuffer();return 0}if(lastMatch.type==="begin"&&match.type==="end"&&lastMatch.index===match.index&&lexeme===""){modeBuffer=modeBuffer+codeToHighlight.slice(match.index,match.index+1);if(!SAFE_MODE){const err=new Error("0 width match regex");err.languageName=languageName;err.badRule=lastMatch.rule;throw err;}return 1}lastMatch=match;if(match.type==="begin")return doBeginMatch(match);else if(match.type==="illegal"&&!ignoreIllegals){const err=
new Error('Illegal lexeme "'+lexeme+'" for mode "'+(top.className||"<unnamed>")+'"');err.mode=top;throw err;}else if(match.type==="end"){const processed=doEndMatch(match);if(processed!==NO_MATCH$$module$third_party$javascript$highlightjs$src$highlight)return processed}if(match.type==="illegal"&&lexeme==="")return 1;if(iterations>1E5&&iterations>match.index*3){const err=new Error("potential infinite loop, way more iterations than matches");throw err;}modeBuffer=modeBuffer+lexeme;return lexeme.length}
const codeToHighlight=code;let lastMatch={};const language=getLanguage(languageName);if(!language){error$$module$third_party$javascript$highlightjs$src$lib$logger(LANGUAGE_NOT_FOUND.replace("{}",languageName));throw new Error('Unknown language: "'+languageName+'"');}const md=compileLanguage$$module$third_party$javascript$highlightjs$src$lib$mode_compiler(language,{plugins});let result="";let top=continuation||md;const continuations={};const emitter=new options.__emitter(options);processContinuations();
let modeBuffer="";let relevance=0;let index=0;let iterations=0;let resumeScanAtSamePosition=false;try{top.matcher.considerAll();for(;;){iterations++;if(resumeScanAtSamePosition)resumeScanAtSamePosition=false;else top.matcher.considerAll();top.matcher.lastIndex=index;const match=top.matcher.exec(codeToHighlight);if(!match)break;const beforeMatch=codeToHighlight.substring(index,match.index);const processedCount=processLexeme(beforeMatch,match);index=match.index+processedCount}processLexeme(codeToHighlight.substr(index));
emitter.closeAllNodes();emitter.finalize();result=emitter.toHTML();return{relevance:Math.floor(relevance),value:result,language:languageName,illegal:false,emitter:emitter,top:top}}catch(err){if(err.message&&err.message.includes("Illegal"))return{illegal:true,illegalBy:{msg:err.message,context:codeToHighlight.slice(index-100,index+100),mode:err.mode},sofar:result,relevance:0,value:escape$$module$third_party$javascript$highlightjs$src$highlight(codeToHighlight),emitter:emitter};else if(SAFE_MODE)return{illegal:false,
relevance:0,value:escape$$module$third_party$javascript$highlightjs$src$highlight(codeToHighlight),emitter:emitter,language:languageName,top:top,errorRaised:err};else throw err;}}function justTextHighlightResult(code){const result={relevance:0,emitter:new options.__emitter(options),value:escape$$module$third_party$javascript$highlightjs$src$highlight(code),illegal:false,top:PLAINTEXT_LANGUAGE};result.emitter.addText(code);return result}function highlightAuto(code,languageSubset){languageSubset=languageSubset||
options.languages||Object.keys(languages);const plaintext=justTextHighlightResult(code);const results=languageSubset.filter(getLanguage).filter(autoDetection).map(name=>{return _highlight(name,code,false)});results.unshift(plaintext);const sorted=results.sort((a,b)=>{if(a.relevance!==b.relevance)return b.relevance-a.relevance;if(a.language&&b.language)if(getLanguage(a.language).supersetOf===b.language)return 1;else if(getLanguage(b.language).supersetOf===a.language)return-1;return 0});const [best,
secondBest]=sorted;const result=best;result.second_best=secondBest;return result}function fixMarkup(html){if(!(options.tabReplace||options.useBR))return html;return html.replace(fixMarkupRe,match=>{if(match==="\n")return options.useBR?"<br>":match;else if(options.tabReplace)return match.replace(/\t/g,options.tabReplace);return match})}function updateClassName(element,currentLang,resultLang){const language=currentLang?aliases[currentLang]:resultLang;element.classList.add("hljs");if(language)element.classList.add(language)}
function highlightBlock(element){let node=null;const language=blockLanguage(element);if(shouldNotHighlight(language))return;fire("before:highlightBlock",{block:element,language:language});node=element;const text=node.textContent;const result=language?highlight(language,text,true):highlightAuto(text);fire("after:highlightBlock",{block:element,result,text});element.innerHTML=ttPolicy.createHTML(result.value);updateClassName(element,language,result.language);element.result={language:result.language,
re:result.relevance,relavance:result.relevance};if(result.second_best)element.second_best={language:result.second_best.language,re:result.second_best.relevance,relavance:result.second_best.relevance}}function configure(userOptions){if(userOptions.useBR){deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.3.0","'useBR' will be removed entirely in v11.0");deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")}options=
inherit$$module$third_party$javascript$highlightjs$src$highlight(options,userOptions)}function initHighlightingOnLoad(){deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead.");wantsHighlight=true}function highlightAll(){if(!domLoaded){wantsHighlight=true;return}const blocks=document.querySelectorAll("pre code");blocks.forEach(highlightBlock)}function boot(){domLoaded=true;if(wantsHighlight)highlightAll()}
function registerLanguage(languageName,languageDefinition){let lang=null;try{lang=languageDefinition(hljs)}catch(error){error$$module$third_party$javascript$highlightjs$src$lib$logger("Language definition for '{}' could not be registered.".replace("{}",languageName));if(!SAFE_MODE)throw error;else error$$module$third_party$javascript$highlightjs$src$lib$logger(error);lang=PLAINTEXT_LANGUAGE}if(!lang.name)lang.name=languageName;languages[languageName]=lang;lang.rawDefinition=languageDefinition.bind(null,
hljs);if(lang.aliases)registerAliases(lang.aliases,{languageName})}function listLanguages(){return Object.keys(languages)}function requireLanguage(name){deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.4.0","requireLanguage will be removed entirely in v11.");deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const lang=getLanguage(name);if(lang)return lang;const err=new Error("The '{}' language is required, but not loaded.".replace("{}",
name));throw err;}function getLanguage(name){name=(name||"").toLowerCase();return languages[name]||languages[aliases[name]]}function registerAliases(aliasList,{languageName}){if(typeof aliasList==="string")aliasList=[aliasList];aliasList.forEach(alias=>{aliases[alias]=languageName})}function autoDetection(name){const lang=getLanguage(name);return lang&&!lang.disableAutodetect}function addPlugin(plugin){plugins.push(plugin)}function fire(event,args){const cb=event;plugins.forEach(function(plugin){if(plugin[cb])plugin[cb](args)})}
function deprecateFixMarkup(arg){deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.2.0","fixMarkup will be removed entirely in v11.0");deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534");return fixMarkup(arg)}const languages=Object.create(null);const aliases=Object.create(null);const plugins=[];let SAFE_MODE=true;const fixMarkupRe=/(^(<[^>]+>|\t|)+|\n)/gm;const LANGUAGE_NOT_FOUND=
"Could not find the language '{}', did you forget to load/include a language module?";const PLAINTEXT_LANGUAGE={disableAutodetect:true,name:"Plain text",contains:[]};let options={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:false,languages:null,__emitter:TokenTreeEmitter$$module$third_party$javascript$highlightjs$src$lib$token_tree};const brPlugin={"before:highlightBlock":({block})=>{if(options.useBR)block.innerHTML=block.innerHTML.replace(/\n/g,
"").replace(/<br[ /]*>/g,"\n")},"after:highlightBlock":({result})=>{if(options.useBR)result.value=result.value.replace(/\n/g,"<br>")}};const TAB_REPLACE_RE=/^(<[^>]+>|\t)+/gm;const tabReplacePlugin={"after:highlightBlock":({result})=>{if(options.tabReplace)result.value=result.value.replace(TAB_REPLACE_RE,m=>{return m.replace(/\t/g,options.tabReplace)})}};let ttPolicy={createHTML:s=>{return s}};if(typeof trustedTypes!="undefined")ttPolicy=trustedTypes.createPolicy("highlight.js",ttPolicy);const initHighlighting=
()=>{if(initHighlighting.called)return;initHighlighting.called=true;deprecated$$module$third_party$javascript$highlightjs$src$lib$logger("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");const blocks=document.querySelectorAll("pre code");blocks.forEach(highlightBlock)};let wantsHighlight=false;let domLoaded=false;if(typeof window!=="undefined"&&window.addEventListener)window.addEventListener("DOMContentLoaded",boot,false);Object.assign(hljs,{highlight,highlightAuto,highlightAll,
fixMarkup:deprecateFixMarkup,highlightBlock,configure,initHighlighting,initHighlightingOnLoad,registerLanguage,listLanguages,getLanguage,registerAliases,requireLanguage,autoDetection,inherit:inherit$$module$third_party$javascript$highlightjs$src$highlight,addPlugin,vuePlugin:BuildVuePlugin$$module$third_party$javascript$highlightjs$src$plugins$vue(hljs).VuePlugin});hljs.debugMode=function(){SAFE_MODE=false};hljs.safeMode=function(){SAFE_MODE=true};hljs.versionString="10.6";Object.assign(hljs,module$third_party$javascript$highlightjs$src$lib$modes);
hljs.addPlugin(brPlugin);hljs.addPlugin(mergeHTMLPlugin$$module$third_party$javascript$highlightjs$src$plugins$merge_html);hljs.addPlugin(tabReplacePlugin);return hljs};var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$highlight=HLJS$$module$third_party$javascript$highlightjs$src$highlight({});var module$third_party$javascript$highlightjs$src$highlight={};module$third_party$javascript$highlightjs$src$highlight.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$highlight;
globalThis.hljs=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$highlight;var module$third_party$javascript$highlightjs$export_shims$export_core={};globalThis["hljs"]=hljs}).call(globalThis);var DF_MV=globalThis.hljs;function DF_Mlg(a){var b=DF_Msc(DF_Mmg);a.src=DF_M6b(b);var c;b=a.ownerDocument;b=b===void 0?document:b;var d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,"script[nonce]");(c=b==null?"":b.nonce||b.getAttribute("nonce")||"")&&a.setAttribute("nonce",c)};function DF_Mng(a,b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("");a.innerHTML=DF_M1b(b)};var DF_Mog="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");function DF_Mpg(a){var b=DF_Msc(DF_Mqg);if(b instanceof DF_M4b)a.href=DF_M6b(b).toString(),a.rel="stylesheet";else{if(DF_Mog.indexOf("stylesheet")===-1)throw Error('TrustedResourceUrl href attribute required with rel="stylesheet"');b=DF_Mqc
b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e=typeof a==="string"?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d};function DF_Mug(a){return Array.prototype.concat.apply([],arguments)}function DF_Mvg(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function DF_Mwg(a,b){return DF_Mug.apply([],DF_Mtg(a,b))};function DF_Mxg(a,b){this.Wa=a;this.enableCodeHighlight=b;this.uc="CodeBlock"}DF_Mxg.prototype.qc=function(a){return DF_Myg(a,"df-code-block",["data-language"])};DF_Mxg.prototype.Dc=function(a){var b;return a.nodeType===Node.ELEMENT_NODE&&a.nodeName.toLowerCase()==="code"&&((b=a.parentNode)==null?void 0:b.nodeName.toLowerCase())==="pre"};
DF_Mxg.prototype.lb=function(a){if(a.textContent){var b=a.classList[0];if(b==null?0:b.startsWith("language-"))var c=b.substring(9);if(c&&this.enableCodeHighlight)try{var d=DF_MV.getLanguage(c).name,e=DF_MV.highlight(c,a.textContent);DF_Mng(a,this.Wa.da(e.value));DF_Mzg(a,d)}catch(g){console.warn("DF-MESSENGER","hljs",g)}else{var f;c&&(f=c[0].toUpperCase()+c.substring(1));DF_Mzg(a,f)}}};
function DF_Mzg(a,b){var c=a.parentElement,d=new DF_Mig;b&&(d.Kb=b);var e,f;((e=a.parentNode)==null?void 0:(f=e.parentNode)==null?void 0:f.childElementCount)===1&&d.classList.add("only-child");b=document.createElement("pre");b.classList.add("code-block");b.appendChild(a);d.appendChild(b);c.replaceWith(d)};function DF_MAg(){this.uc="Youtube"}DF_MAg.prototype.qc=function(a){return DF_Myg(a,"df-video",["data-markdown-url","data-markdown-title"])};DF_MAg.prototype.Dc=function(a){return a.nodeType===Node.ELEMENT_NODE&&a.nodeName.toLowerCase()==="a"};DF_MAg.prototype.lb=function(a){var b=a.getAttribute("href");if(b&&DF_M9a(b)){var c=new DF_M7f("","");c.o=b;a.textContent&&(c.g=a.textContent);a.replaceWith(c)}};var DF_MBg=/```/g;function DF_MCg(){}DF_MCg.prototype.process=function(a){for(var b="",c,d=!1,e=0;c=DF_MBg.exec(a);)c=c.index+3,b+=DF_MDg(a,e,c,d),d=!d,e=c;return b+=DF_MDg(a,e,a.length,d)};function DF_MDg(a,b,c,d){a=a.substring(b,c);return d?a:a.replace(/\n/g," \n")};function DF_MEg(){this.Va=[]}DF_MEg.proto
"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* CONTROLS":!0,"* CONTROLSLIST":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,
"* METHOD":!0,"* MULTIPLE":!0,"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* PRELOAD":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},DF_MHg={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,
"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,"* CLASS":!0,"* ID":!0,"* STYLE":!0};function DF_MIg(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function DF_MJg(a){var b={},c;for(c in a)b[c]=a[c];return b};var DF_MKg=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var DF_MLg,DF_MMg;a:{for(var DF_MNg=["CLOSURE_FLAGS"],DF_MOg=DF_Mj,DF_MPg=0;DF_MPg<DF_MNg.length;DF_MPg++)if(DF_MOg=DF_MOg[DF_MNg[DF_MPg]],DF_MOg==null){DF_MMg=null;break a}DF_MMg=DF_MOg}var DF_MQg=DF_MMg&&DF_MMg[610401301];DF_MLg=DF_MQg!=null?DF_MQg:!1;function DF_MRg(){var a=DF_Mj.navigator;return a&&(a=a.userAgent)?a:""}var DF_MSg,DF_MTg=DF_Mj.navigator;DF_MSg=DF_MTg?DF_MTg.userAgentData||null:null;var DF_MUg=DF_MLg&&DF_MSg&&DF_MSg.brands.length>0?!1:DF_MRg().indexOf("Trident")!=-1||DF_MRg().indexOf("MSIE")!=-1,DF_MVg=DF_MRg().toLowerCase().indexOf("webkit")!=-1&&DF_MRg().indexOf("Edge")==-1;function DF_MWg(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};var DF_MXg={};
function DF_MYg(a){var b=DF_MXg.hasOwnProperty(a)?DF_MXg[a]:null;if(b)return b;Object.keys(DF_MXg).length>65536&&(DF_MXg={});var c=[0,0,0,0],d=RegExp("\\\\[0-9A-Fa-f]{1,5}\\s","g");b=DF_MZg(a,RegExp("\\\\[0-9A-Fa-f]{6}\\s?","g"));b=DF_MZg(b,d);b=DF_MZg(b,/\\./g);b=b.replace(RegExp(":not\\(([^\\)]*)\\)","g")," $1 ");b=b.replace(RegExp("{[^]*","gm"),"");b=DF_M_g(b,c,RegExp("(\\[[^\\]]+\\])","g"),2);b=DF_M_g(b,c,RegExp("(#[^\\#\\s\\+>~\\.\\[:]+)","g"),1);b=DF_M_g(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),
2);b=DF_M_g(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);b=DF_M_g(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=DF_M_g(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");DF_M_g(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return DF_MXg[a]=b}function DF_M_g(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function DF_MZg(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};function DF_M0g(a,b){if(a.indexOf("<")!=-1)throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: "+a);if(!DF_M1g(c))throw Error("() and [] in selector must be balanced, got: "+a);b=typeof b==="string"?b:Object.entries(b).map(function(d){var e=DF_Md(d);d=e.next().value;e=e.next().value;return d+":"+e+";"}).join("");
return new DF_M2b(a+"{"+b.replace(/</g,"\\3C ")+"}")}function DF_M1g(a){for(var b={"(":")","[":"]"},c=[],d=0;d<a.length;d++){var e=a[d];if(b[e])c.push(b[e]);else{a:{var f=void 0;for(f in b)if(b[f]==e){f=!0;break a}f=!1}if(f&&c.pop()!=e)return!1}}return c.length==0};var DF_M2g={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},DF_M3g=/[\n\f\r"'()*<>]/g,DF_M4g={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",
")":"%29","*":"%2a","<":"%3c",">":"%3e"};function DF_M5g(a){return DF_M4g[a]}
function DF_M6g(a,b,c){b=DF_MKg(b);if(b=="")return null;var d=String(b.slice(0,4)).toLowerCase();if(("url("<d?-1:"url("==d?0:1)==0){if(!b.endsWith(")")||(b?b.split("(").length-1:0)>1||(b?b.split(")").length-1:0)>1||!c)a=null;else{a:for(b=b.substring(4,b.length-1),d=0;d<2;d++){var e="\"'".charAt(d);if(b.charAt(0)==e&&b.charAt(b.length-1)==e){b=b.substring(1,b.length-1);break a}}a=c?(a=c(b,a))&&DF_M9b(a)!=DF_M8b.toString()?'url("'+DF_M9b(a).replace(DF_M3g,DF_M5g)+'")':null:null}return a}if(b.indexOf("(")>
0){if(/"|'/.test(b))return null;for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1].toLowerCase()in DF_M2g))return null}return b};function DF_M7g(a,b){a=DF_Mj[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}function DF_M8g(a,b){return(a=DF_Mj[a])&&a.prototype&&a.prototype[b]||null}var DF_M9g=DF_M7g("Element","attributes")||DF_M7g("Node","attributes"),DF_M$g=DF_M8g("Element","hasAttribute"),DF_Mah=DF_M8g("Element","getAttribute"),DF_Mbh=DF_M8g("Element","setAttribute"),DF_Mch=DF_M8g("Element","removeAttribute");DF_M7g("Element","innerHTML")||DF_M7g("HTMLElement","innerHTML");
var DF_Mdh=DF_M8g("Element","getElementsByTagName"),DF_Meh=DF_M8g("Element","matches")||DF_M8g("Element","msMatchesSelector"),DF_Mfh=DF_M7g("Node","nodeName"),DF_Mgh=DF_M7g("Node","nodeType"),DF_Mhh=DF_M7g("Node","parentNode");DF_M7g("Node","childNodes");
var DF_Mih=DF_M7g("HTMLElement","style")||DF_M7g("Element","style"),DF_Mjh=DF_M7g("HTMLStyleElement","sheet"),DF_Mkh=DF_M8g("CSSStyleDeclaration","getPropertyValue"),DF_Mlh=DF_M8g("CSSStyleDeclaration","setProperty"),DF_Mmh=DF_M7g("Element","namespaceURI")||DF_M7g("Node","namespaceURI");function DF_Mnh(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a}
function DF_Moh(a,b,c,d){if(a)return a.apply(b,d);if(DF_MUg&&document.documentMode<10){if(!b[c].call)throw Error("IE Clobbering detected");}else if(typeof b[c]!="function")throw Error("Clobbering detected");return b[c].apply(b,d)}function DF_Mph(a){return DF_Mnh(DF_M9g,a,"attributes",function(b){return b instanceof NamedNodeMap})}
function DF_Mqh(a,b,c){try{DF_Moh(DF_Mbh,a,"setAttribute",[b,c])}catch(d){if(d.message.indexOf("A security problem occurred")==-1)throw Error('Failed to set attribute "'+b+'" on element: <'+a.tagName+">: "+d.message,{cause:d});}}function DF_Mrh(a){return DF_Mnh(DF_Mih,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function DF_Msh(a){return DF_Mnh(DF_Mjh,a,"sheet",function(b){return b instanceof CSSStyleSheet})}
function DF_Mth(a){return DF_Mnh(DF_Mfh,a,"nodeName",function(b){return typeof b=="string"})}function DF_Muh(a){return DF_Mnh(DF_Mgh,a,"nodeType",function(b){return typeof b=="number"})}function DF_Mvh(a){return DF_Mnh(DF_Mhh,a,"parentNode",function(b){return!(b&&typeof b.name=="string"&&b.name&&b.name.toLowerCase()=="parentnode")})}function DF_Mwh(a,b){return DF_Moh(DF_Mkh,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}
function DF_Mxh(a,b,c){DF_Moh(DF_Mlh,a,a.setProperty?"setProperty":"setAttribute",[b,c])}function DF_Myh(a){return DF_Mnh(DF_Mmh,a,"namespaceURI",function(b){return typeof b=="string"})};var DF_Mzh=DF_Mf([""]),DF_MAh=RegExp("\\s*([^\\s'\",]+[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|[^'\",])*)","g"),DF_MBh={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};
function DF_MCh(a,b,c){var d=[];DF_MDh(DF_Mvg(a.cssRules)).forEach(function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&DF_MUg&&document.documentMode==10&&/\\['"]/.test(e.selectorText))){var f=b?e.selectorText.replace(DF_MAh,"#"+b+" $1"):e.selectorText;d.push(DF_M0g(f,DF_MEh(e.style,c)))}});return new DF_M2b(d.map(DF_M3b).join(""))}function DF_MDh(a){return a.filter(function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})}
function DF_MFh(a,b,c){a=DF_MGh("<style>"+a+"</style>");var d;a==null||a.sheet==null?d=new DF_M2b(DF_Mzh[0]):d=DF_MCh(a.sheet,b!=void 0?b:null,c);return d}function DF_MGh(a){a=DF_M_b("<html><head></head><body>"+a+"</body></html>");return(new DOMParser).parseFromString(DF_M1b(a),"text/html").body.children[0]}
function DF_MEh(a,b){if(!a)return"";var c=document.createElement("div").style;DF_MHh(a).forEach(function(d){var e=DF_MVg&&d in DF_MBh?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");e.lastIndexOf("--",0)!=0&&e.lastIndexOf("var",0)!=0&&(d=DF_Mwh(a,d),d=DF_M6g(e,d,b),d!=null&&DF_Mxh(c,e,d))});return c.cssText||""}
function DF_MIh(a){var b=Array.from(DF_Moh(DF_Mdh,a,"getElementsByTagName",["STYLE"])),c=DF_Mwg(b,function(g){return DF_Mvg(DF_Msh(g).cssRules)});c=DF_MDh(c);for(var d=[],e=0;e<c.length;e++)d[e]={index:e,cc:c[e]};d.sort(function(g,h){var k=DF_MYg(g.cc.selectorText),l=DF_MYg(h.cc.selectorText);a:{for(var m=Math.min(k.length,l.length),n=0;n<m;n++){var p=k[n],q=l[n];p=p>q?1:p<q?-1:0;if(p!=0){l=p;break a}}k=k.length;l=l.length;l=k>l?1:k<l?-1:0}return l||g.index-h.index});for(e=0;e<d.length;e++)c[e]=d[e].cc;
c.reverse();a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(var f;f=a.nextNode();)c.forEach(function(g){DF_Moh(DF_Meh,f,f.matches?"matches":"msMatchesSelector",[g.selectorText])&&g.style&&DF_MJh(f,g.style)});b.forEach(DF_MWg)}function DF_MJh(a,b){var c=DF_MHh(a.style);DF_MHh(b).forEach(function(d){if(!(c.indexOf(d)>=0)){var e=DF_Mwh(b,d);DF_Mxh(a.style,d,e)}})}
function DF_MHh(a){if(DF_MDa(a))a=DF_Mvg(a);else{a=DF_MIg(a);var b=DF_Mrg(a,"cssText");b>=0&&Array.prototype.splice.call(a,b,1)}return a};var DF_MKh=typeof WeakMap!="undefined"&&WeakMap.toString().indexOf("[native code]")!=-1,DF_MLh=0;function DF_MMh(){this.i=[];this.h=[];this.g="data-elementweakmap-index-"+DF_MLh++}DF_MMh.prototype.set=function(a,b){DF_Moh(DF_M$g,a,"hasAttribute",[this.g])?(a=parseInt(DF_Moh(DF_Mah,a,"getAttribute",[this.g])||null,10),this.h[a]=b):(b=this.h.push(b)-1,DF_Mqh(a,this.g,b.toString()),this.i.push(a));return this};
DF_MMh.prototype.get=function(a){if(DF_Moh(DF_M$g,a,"hasAttribute",[this.g]))return a=parseInt(DF_Moh(DF_Mah,a,"getAttribute",[this.g])||null,10),this.h[a]};DF_MMh.prototype.clear=function(){this.i.forEach(function(a){DF_Moh(DF_Mch,a,"removeAttribute",[this.g])},this);this.i=[];this.h=[]};function DF_MNh(){this.h=document.implementation.createHTMLDocument("")};var DF_MOh={APPLET:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0};var DF_MPh={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,AUDIO:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,ME
METER:!0,NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,VIDEO:!0,WBR:!0};var DF_MQh={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0};
function DF_MRh(a){this.h=document.implementation.createHTMLDocument("");a=a||new DF_MSh;DF_MTh(a);this.g=DF_MJg(a.g);this.o=DF_MJg(a.M);this.i=DF_MJg(a.j);this.N=a.za;a.Aa.forEach(function(b){if(b.lastIndexOf("data-",0)!=0)throw new DF_Mkg('Only "data-" attributes allowed, got: %s.',[b]);if(b.lastIndexOf("data-sanitizer-",0)==0)throw new DF_Mkg('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.g["* "+b.toUpperCase()]=DF_MUh},this);a.N.forEach(function(b){b=b.toUpperCase();
if(b.indexOf("-")==-1||DF_MQh[b])throw new DF_Mkg("Only valid custom element tag names allowed, got: %s.",[b]);this.i[b]=!0},this);this.M=a.i;this.G=a.H;this.j=null;this.H=a.o}DF_MIa(DF_MRh,DF_MNh);function DF_MVh(a){return function(b,c){return(b=a(DF_MKg(b),c))&&DF_M9b(b)!=DF_M8b.toString()?DF_M9b(b):null}}
function DF_MSh(){this.g={};DF_Msg([DF_MGg,DF_MHg],function(a){DF_MIg(a).forEach(function(b){this.g[b]=DF_MUh},this)},this);this.h={};this.Aa=[];this.N=[];this.M=DF_MJg(DF_MOh);this.j=DF_MJg(DF_MPh);this.za=!1;this.ma=DF_MWh;this.Z=this.G=this.Ma=this.i=DF_MFg;this.H=null;this.la=this.o=!1}function DF_Myg(a,b,c){a.N.push(b);c&&c.forEach(function(d){d=DF_MXh(b,d);this.g[d]=DF_MUh;this.h[d]=!0},a);return a}
function DF_MYh(){var a=DF_MZh();if(a.o)throw Error("Rules from STYLE tags are already being inlined.");delete a.M.STYLE;a.H="*";a.Z=DF_M_h;return a}function DF_MZh(){var a=new DF_MSh,b=DF_M0h.concat("style");a.j={SPAN:!0};b.forEach(function(c){c=c.toUpperCase();if(DF_MPh[c])this.j[c]=!0;else throw Error("Only whitelisted tags can be allowed. See goog.html.sanitizer.TagWhitelist.");},a);return a}function DF_M1h(a,b){a.i=b;return a}function DF_M2h(a){a.ma=DF_M3h;return a}
function DF_M4h(a,b){a.G=b;return a}function DF_M5h(a,b){return function(c,d,e,f){c=a(c,d,e,f);return c==null?null:b(c,d,e,f)}}function DF_M6h(a,b,c,d){a[c]&&!b[c]&&(a[c]=DF_M5h(a[c],d))}
function DF_MTh(a){if(a.la)throw Error("HtmlSanitizer.Builder.build() can only be used once.");DF_M6h(a.g,a.h,"* USEMAP",DF_M7h);var b=DF_MVh(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){DF_M6h(this.g,this.h,d,b)},a);var c=DF_MVh(a.i);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){DF_M6h(this.g,this.h,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){DF_M6h(this.g,this.h,d,DF_MHa(DF_M8h,this.Ma))},a);DF_M6h(a.g,a.h,"A TARGET",DF_MHa(DF_M9h,["_blank","_self"]));DF_M6h(a.g,
a.h,"* CLASS",DF_MHa(DF_M$h,a.G));DF_M6h(a.g,a.h,"* ID",DF_MHa(DF_Mai,a.G));DF_M6h(a.g,a.h,"* STYLE",DF_MHa(a.Z,c));a.la=!0}function DF_MWh(a){return DF_Moc(a)}function DF_MXh(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function DF_M_h(a,b,c,d){if(!d.Lb)return null;b=DF_MEh(d.Lb,function(e,f){c.ud=f;e=a(e,c);var g;e==null?g=null:g=new DF_M7b(e);return g});return b==""?null:b}function DF_MUh(a){return DF_MKg(a)}function DF_M9h(a,b){b=DF_MKg(b);return DF_Mrg(a,b.toLowerCase())>=0?b:null}
function DF_M7h(a){return(a=DF_MKg(a))&&a.charAt(0)=="#"?a:null}function DF_M8h(a,b,c){return a(DF_MKg(b),c)}function DF_M$h(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e<b.length;e++){var f=a(b[e],c);f&&d.push(f)}return d.length==0?null:d.join(" ")}function DF_Mai(a,b,c){return a(DF_MKg(b),c)}
DF_MRh.prototype.da=function(a){var b=!("STYLE"in this.o)&&"STYLE"in this.i;this.j=this.G=="*"&&b?"sanitizer-"+(Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)):this.G;b=a;a=this.h.createElement("span");this.j&&this.G=="*"&&(a.id=this.j);this.H&&(b=DF_MGh("<div>"+b+"</div>"),DF_MIh(b),b=b.innerHTML);b=DF_M_b(b);var c=document.createElement("template");if("content"in c)DF_Mng(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");
c=d.body;DF_Mng(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=DF_MKh?new WeakMap:new DF_MMh;d=b.nextNode();){a:{var e=d;switch(DF_Muh(e)){case 3:e=DF_Mbi(this,e);break a;case 1:if(DF_Mth(e).toUpperCase()=="TEMPLATE")e=null;else{var f=DF_Mth(e).toUpperCase();if(f in this.o||DF_Myh(e)!="http://www.w3.org/1999/xhtml")f=null;else if(this.i[f])f=this.h.createElement(f);else{var g=this.h.createElement("span");this.N&&DF_Mqh(g,"data-sanitizer-original-tag",
f.toLowerCase());f=g}if(g=f){var h=DF_Mph(e);if(h!=null)for(var k=0;f=h[k];k++)if(f.specified){var l=e,m=f;var n=m.name;if(n.lastIndexOf("data-sanitizer-",0)==0)n=null;else{var p=DF_Mth(l);m=m.value;var q={tagName:DF_MKg(p).toLowerCase(),attributeName:DF_MKg(n).toLowerCase()},r={Lb:void 0};q.attributeName=="style"&&(r.Lb=DF_Mrh(l));l=DF_MXh(p,n);l in this.g?n=(0,this.g[l])(m,q,r):(n=DF_MXh(null,n),n=n in this.g?(0,this.g[n])(m,q,r):null)}n!==null&&DF_Mqh(g,f.name,n)}e=g}else e=null}break a;default:e=
null}}if(e){if(DF_Muh(e)==1&&c.set(d,e),d=DF_Mvh(d),f=!1,d)g=DF_Muh(d),h=DF_Mth(d).toLowerCase(),k=DF_Mvh(d),g!=11||k?h=="body"&&k&&(g=DF_Mvh(k))&&!DF_Mvh(g)&&(f=!0):f=!0,g=null,f||!d?g=a:DF_Muh(d)==1&&(g=c.get(d)),g.content&&(g=g.content),g.appendChild(e)}else for(e=d;d=e.firstChild;)e.removeChild(d)}c.clear&&c.clear();DF_Mph(a).length>0&&(b=this.h.createElement("span"),b.appendChild(a),a=b);a=(new XMLSerializer).serializeToString(a);return DF_M_b(a.slice(a.indexOf(">")+1,a.lastIndexOf("</")))};
function DF_Mbi(a,b){var c=b.data;(b=DF_Mvh(b))&&DF_Mth(b).toLowerCase()=="style"&&!("STYLE"in a.o)&&"STYLE"in a.i&&(c=DF_M3b(DF_MFh(c,a.j,DF_MGa(function(d,e){return this.M(d,{ud:e})},a))));return document.createTextNode(c)};var DF_M0h="a b br div h1 h2 h3 i img li ol p span table td thead tbody th tr u ul".split(" "),DF_Mci=[DF_Mec,DF_Mcc,DF_Mfc,DF_Mgc,DF_Mhc,DF_Mic,DF_Mbc,DF_Mjc,DF_Mkc,DF_Mlc,DF_Mmc,DF_Mdc];function DF_Mdi(a,b){if(!b)return DF_M8b;if(b==="*")return DF_Moc(a);b=DF_Md(b.split(","));for(var c=b.next();!c.done;c=b.next())if(c=c.value.trim(),c.length!==0&&a.startsWith(c))return DF_Moc(a);return DF_M8b}function DF_M3h(a){return DF_Moc(a,DF_Mci)}
function DF_Mei(a){return new DF_MRh(DF_M2h(DF_M1h(DF_M4h(DF_MYh(),function(b,c){return(c==null?void 0:c.attributeName)==="class"?b:null}),function(b){return DF_Mdi(b,a)})))};/*
Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
function DF_Mfi(a,b,c){if(a.length===0)return"";for(var d=0;d<a.length;){var e=a.charAt(a.length-d-1);if(e!==b||c)if(e!==b&&c)d++;else break;else d++}return a.substr(0,a.length-d)}function DF_Mgi(a,b){a=a.replace(/\|/g,function(d,e,f){for(d=!1;--e>=0&&f[e]==="\\";)d=!d;return d?"|":" |"}).split(/ \|/);var c=0;if(a.length>b)a.splice(b);else for(;a.length<b;)a.push("");for(;c<a.length;c++)a[c]=a[c].trim().replace(/\\\|/g,"|");return a}
function DF_Mhi(a,b){for(var c=1,d,e;c<arguments.length;c++)for(e in d=arguments[c],d)Object.prototype.hasOwnProperty.call(d,e)&&(a[e]=d[e]);return a}function DF_Mii(){}
function DF_Mji(a,b,c){if(a){try{var d=decodeURIComponent(DF_Mki(c)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(d.indexOf("javascript:")===0||d.indexOf("vbscript:")===0||d.indexOf("data:")===0)return null}b&&!DF_Mli.test(c)&&(a=b,DF_Mmi[" "+a]||(DF_Mmi[" "+a]=/^[^:]+:\/*[^/]*$/.test(a)?a+"/":DF_Mfi(a,"/",!0)),a=DF_Mmi[" "+a],c=c.slice(0,2)==="//"?a.replace(/:[\s\S]*/,":")+c:c.charAt(0)==="/"?a.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+c:a+c);try{c=encodeURI(c).replace(/%25/g,"%")}catch(e){return null}return c}
function DF_MW(a,b){a=a.source||a;b=b||"";return{replace:function(c,d){d=d.source||d;d=d.replace(/(^|[^\[])\^/g,"$1");a=a.replace(c,d);return this},O:function(){return new RegExp(a,b)}}}function DF_Mki(a){return a.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,function(b,c){c=c.toLowerCase();return c==="colon"?":":c.charAt(0)==="#"?c.charAt(1)==="x"?String.fromCharCode(parseInt(c.substring(2),16)):String.fromCharCode(+c.substring(1)):""})}
function DF_MX(a,b){if(b){if(DF_Mni.test(a))return a.replace(DF_Moi,function(c){return DF_Mpi[c]})}else if(DF_Mqi.test(a))return a.replace(DF_Mri,function(c){return DF_Mpi[c]});return a}function DF_Msi(){this.Xa={}}function DF_Mti(a){this.g=[];this.token=null;this.options=a||DF_MY.pa;this.options.J=this.options.J||new DF_Mui;this.J=this.options.J;this.J.options=this.options;this.i=new DF_Msi}function DF_Mvi(){}function DF_Mui(a){this.options=a||DF_MY.pa}
function DF_Mwi(a,b){this.options=b||DF_MY.pa;this.links=a;this.g=DF_MZ.xa;this.J=this.options.J||new DF_Mui;this.J.options=this.options;this.h=!1;if(!this.links)throw Error("Tokens array requires a `links` property.");this.options.ja?this.g=DF_MZ.ja:this.options.X&&(this.g=this.options.Ib?DF_MZ.Ib:DF_MZ.X)}
function DF_Mxi(a){this.g=[];this.g.links=Object.create(null);this.options=a||DF_MY.pa;this.h=DF_M_.xa;this.options.ja?this.h=DF_M_.ja:this.options.X&&(this.h=this.options.ec?DF_M_.ec:DF_M_.X)}
var DF_M_={Md:/^\n+/,code:/^( {4}[^\n]+\n*)+/,Ob:DF_Mii,mb:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,Gc:DF_Mii,Pa:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",Qa:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,
table:DF_Mii,Bc:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,ca:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/,oa:/(?!\s*\])(?:\\.|[^\[\]\\])+/,Gb:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};DF_M_.Qa=DF_MW(DF_M_.Qa).replace("label",DF_M_.oa).replace("title",DF_M_.Gb).O();DF_M_.Jb=/(?:[*+-]|\d{1,9}\.)/;DF_M_.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/;DF_M_.item=DF_MW(DF_M_.item,"gm").replace(/bull/g,DF_M_.Jb).O();
DF_M_.list=DF_MW(DF_M_.list).replace(/bull/g,DF_M_.Jb).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+DF_M_.Qa.source+")").O();DF_M_.oc="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";
DF_M_.Cb=/\x3c!--(?!-?>)[\s\S]*?--\x3e/;DF_M_.html=DF_MW(DF_M_.html,"i").replace("comment",DF_M_.Cb).replace("tag",DF_M_.oc).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).O();DF_M_.ca=DF_MW(DF_M_.ca).replace("hr",DF_M_.mb).replace("heading",DF_M_.heading).replace("lheading",DF_M_.Bc).replace("tag",DF_M_.oc).O();DF_M_.Pa=DF_MW(DF_M_.Pa).replace("paragraph",DF_M_.ca).O();DF_M_.xa=DF_Mhi({},DF_M_);
DF_M_.X=DF_Mhi({},DF_M_.xa,{Ob:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,ca:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});DF_M_.X.ca=DF_MW(DF_M_.ca).replace("(?!","(?!"+DF_M_.X.Ob.source.replace("\\1","\\2")+"|"+DF_M_.list.source.replace("\\1","\\3")+"|").O();DF_M_.ec=DF_Mhi({},DF_M_.X,{Gc:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/});
DF_M_.ja=DF_Mhi({},DF_M_.xa,{html:DF_MW("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",DF_M_.Cb).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").O(),Qa:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/});
function DF_Myi(a,b){return(new DF_Mxi(b)).token(a.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),!0)}
DF_Mxi.prototype.token=function(a,b){a=a.replace(/^ +$/gm,"");for(var c,d,e,f,g,h,k,l,m,n,p;a;){if(e=this.h.Md.exec(a))a=a.substring(e[0].length),e[0].length>1&&this.g.push({type:"space"});if(e=this.h.code.exec(a))a=a.substring(e[0].length),e=e[0].replace(/^ {4}/gm,""),this.g.push({type:"code",text:this.options.ja?e:DF_Mfi(e,"\n")});else if(e=this.h.Ob.exec(a))a=a.substring(e[0].length),this.g.push({type:"code",lang:e[2]?e[2].trim():e[2],text:e[3]||""});else if(e=this.h.heading.exec(a))a=a.substring(e[0].length),
this.g.push({type:"heading",depth:e[1].length,text:e[2]});else{if(b&&(e=this.h.Gc.exec(a))&&(g={type:"table",aa:DF_Mgi(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/\n$/,"").split("\n"):[]},g.aa.length===g.align.length)){a=a.substring(e[0].length);for(l=0;l<g.align.length;l++)g.align[l]=/^ *-+: *$/.test(g.align[l])?"right":/^ *:-+: *$/.test(g.align[l])?"center":/^ *:-+ *$/.test(g.align[l])?"left":null;for(l=0;l<g.cells.length;l++)g.cells[l]=
DF_Mgi(g.cells[l],g.aa.length);this.g.push(g);continue}if(e=this.h.mb.exec(a))a=a.substring(e[0].length),this.g.push({type:"hr"});else if(e=this.h.Pa.exec(a))a=a.substring(e[0].length),this.g.push({type:"blockquote_start"}),e=e[0].replace(/^ *> ?/gm,""),this.token(e,b),this.g.push({type:"blockquote_end"});else if(e=this.h.list.exec(a)){a=a.substring(e[0].length);f=e[2];c=f.length>1;h={type:"list_start",ordered:c,start:c?+f:"",Ua:!1};this.g.push(h);e=e[0].match(this.h.item);k=[];c=!1;m=e.length;for(l=
0;l<m;l++)g=e[l],d=g.length,g=g.replace(/^ *([*+-]|\d+\.) */,""),~g.indexOf("\n ")&&(d-=g.length,g=this.options.ja?g.replace(/^ {1,4}/gm,""):g.replace(new RegExp("^ {1,"+d+"}","gm"),"")),l!==m-1&&(d=DF_M_.Jb.exec(e[l+1])[0],f.length>1?d.length===1:d.length>1||this.options.Td&&d!==f)&&(a=e.slice(l+1).join("\n")+a,l=m-1),d=c||/\n\n(?!\s*$)/.test(g),l!==m-1&&(c=g.charAt(g.length-1)==="\n",d||(d=c)),d&&(h.Ua=!0),n=/^\[[ xX]\] /.test(g),p=void 0,n&&(p=g[1]!==" ",g=g.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",
Wd:n,checked:p,Ua:d},k.push(d),this.g.push(d),this.token(g,!1),this.g.push({type:"list_item_end"});if(h.Ua)for(m=k.length,l=0;l<m;l++)k[l].Ua=!0;this.g.push({type:"list_end"})}else if(e=this.h.html.exec(a))a=a.substring(e[0].length),this.g.push({type:this.options.da?"paragraph":"html",he:!this.options.Wa&&(e[1]==="pre"||e[1]==="script"||e[1]==="style"),text:e[0]});else if(b&&(e=this.h.Qa.exec(a)))a=a.substring(e[0].length),e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),f=e[1].toLowerCase().replace(/\s+/g,
" "),this.g.links[f]||(this.g.links[f]={href:e[2],title:e[3]});else{if(b&&(e=this.h.table.exec(a))&&(g={type:"table",aa:DF_Mgi(e[1].replace(/^ *| *\| *$/g,"")),align:e[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:e[3]?e[3].replace(/(?: *\| *)?\n$/,"").split("\n"):[]},g.aa.length===g.align.length)){a=a.substring(e[0].length);for(l=0;l<g.align.length;l++)g.align[l]=/^ *-+: *$/.test(g.align[l])?"right":/^ *:-+: *$/.test(g.align[l])?"center":/^ *:-+ *$/.test(g.align[l])?"left":null;for(l=0;l<g.cells.length;l++)g.cells[l]=
DF_Mgi(g.cells[l].replace(/^ *\| *| *\| *$/g,""),g.aa.length);this.g.push(g);continue}if(e=this.h.Bc.exec(a))a=a.substring(e[0].length),this.g.push({type:"heading",depth:e[2]==="="?1:2,text:e[1]});else if(b&&(e=this.h.ca.exec(a)))a=a.substring(e[0].length),this.g.push({type:"paragraph",text:e[1].charAt(e[1].length-1)==="\n"?e[1].slice(0,-1):e[1]});else if(e=this.h.text.exec(a))a=a.substring(e[0].length),this.g.push({type:"text",text:e[0]});else if(a)throw Error("Infinite loop on byte: "+a.charCodeAt(0));
}}}return this.g};
var DF_MZ={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Hb:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:DF_Mii,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,ob:/^!?\[(label)\]\[(ref)\]/,Wb:/^!?\[(ref)\](?:\[\])?/,Ya:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,va:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,
code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ga:/^( {2,}|\\)\n(?!\s*$)/,Ra:DF_Mii,text:/^(`+|[^`])[\s\S]*?(?=[\\<!\[`*]|\b_| {2,}\n|$)/,qd:"!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~"};DF_MZ.va=DF_MW(DF_MZ.va).replace(/punctuation/g,DF_MZ.qd).O();DF_MZ.nd=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;DF_MZ.rd=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;DF_MZ.md=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
DF_MZ.Hb=DF_MW(DF_MZ.Hb).replace("scheme",DF_MZ.rd).replace("email",DF_MZ.md).O();DF_MZ.fd=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;DF_MZ.tag=DF_MW(DF_MZ.tag).replace("comment",DF_M_.Cb).replace("attribute",DF_MZ.fd).O();DF_MZ.oa=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/;DF_MZ.pd=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/;DF_MZ.Gb=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
DF_MZ.link=DF_MW(DF_MZ.link).replace("label",DF_MZ.oa).replace("href",DF_MZ.pd).replace("title",DF_MZ.Gb).O();DF_MZ.ob=DF_MW(DF_MZ.ob).replace("label",DF_MZ.oa).replace("ref",DF_M_.oa).O();DF_MZ.Wb=DF_MW(DF_MZ.Wb).replace("ref",DF_M_.oa).O();DF_MZ.xa=DF_Mhi({},DF_MZ);
DF_MZ.ja=DF_Mhi({},DF_MZ.xa,{Ya:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,va:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:DF_MW(/^!?\[(label)\]\((.*?)\)/).replace("label",DF_MZ.oa).O(),ob:DF_MW(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",DF_MZ.oa).O()});
DF_MZ.X=DF_Mhi({},DF_MZ.xa,{escape:DF_MW(DF_MZ.escape).replace("])","~|])").O(),od:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,gd:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,Ra:/^~+(?=\S)([\s\S]*?\S)~+/,text:DF_MW(DF_MZ.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").O()});
DF_MZ.X.url=DF_MW(DF_MZ.X.url,"i").replace("email",DF_MZ.X.od).O();DF_MZ.Ib=DF_Mhi({},DF_MZ.X,{Ga:DF_MW(DF_MZ.Ga).replace("{2,}","*").O(),text:DF_MW(DF_MZ.X.text).replace("{2,}","*").O()});
DF_Mwi.prototype.output=function(a){for(var b="",c,d,e;a;)if(e=this.g.escape.exec(a))a=a.substring(e[0].length),b+=DF_MX(e[1]);else if(e=this.g.tag.exec(a))!this.h&&/^<a /i.test(e[0])?this.h=!0:this.h&&/^<\/a>/i.test(e[0])&&(this.h=!1),!this.i&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.i=!0:this.i&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.i=!1),a=a.substring(e[0].length),b+=this.options.da?this.options.Wa?this.options.Wa(e[0]):DF_MX(e[0]):e[0];else if(e=this.g.link.exec(a)){a:{d=
e[2];if(d.indexOf(")")!==-1)for(var f=c=0;f<d.length;f++)if(d[f]==="\\")f++;else if(d[f]==="(")c++;else if(d[f]===")"&&(c--,c<0)){d=f;break a}d=-1}d>-1&&(c=e[2].length-d,e[2]=e[2].substring(0,d),e[0]=e[0].substring(0,e[0].length-c));a=a.substring(e[0].length);this.h=!0;d=e[2];this.options.ja?(c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(d))?(d=c[1],c=c[3]):c="":c=e[3]?e[3].slice(1,-1):"";d=d.trim().replace(/^<([\s\S]*)>$/,"$1");b+=DF_Mzi(this,e,{href:DF_MAi(d),title:DF_MAi(c)});this.h=!1}else if((e=this.g.ob.exec(a))||
(e=this.g.Wb.exec(a)))a=a.substring(e[0].length),c=(e[2]||e[1]).replace(/\s+/g," "),(c=this.links[c.toLowerCase()])&&c.href?(this.h=!0,b+=DF_Mzi(this,e,c),this.h=!1):(b+=e[0].charAt(0),a=e[0].substring(1)+a);else if(e=this.g.Ya.exec(a))a=a.substring(e[0].length),b+=this.J.Ya(this.output(e[4]||e[3]||e[2]||e[1]));else if(e=this.g.va.exec(a))a=a.substring(e[0].length),b+=this.J.va(this.output(e[6]||e[5]||e[4]||e[3]||e[2]||e[1]));else if(e=this.g.code.exec(a))a=a.substring(e[0].length),b+=this.J.tc(DF_MX(e[2].trim(),
!0));else if(e=this.g.Ga.exec(a))a=a.substring(e[0].length),b+=this.J.Ga();else if(e=this.g.Ra.exec(a))a=a.substring(e[0].length),b+=this.J.Ra(this.output(e[1]));else if(e=this.g.Hb.exec(a))a=a.substring(e[0].length),e[2]==="@"?(c=DF_MX(this.Vb(e[1])),d="mailto:"+c):d=c=DF_MX(e[1]),b+=this.J.link(d,null,c);else if(!this.h&&(e=this.g.url.exec(a))){if(e[2]==="@")c=DF_MX(e[0]),d="mailto:"+c;else{do d=e[0],e[0]=this.g.gd.exec(e[0])[0];while(d!==e[0]);c=DF_MX(e[0]);d=e[1]==="www."?"http://"+c:c}a=a.substring(e[0].length);
b+=this.J.link(d,null,c)}else if(e=this.g.text.exec(a))a=a.substring(e[0].length),b=this.i?b+this.J.text(e[0]):b+this.J.text(DF_MX(this.dc(e[0])));else if(a)throw Error("Infinite loop on byte: "+a.charCodeAt(0));return b};function DF_MAi(a){return a?a.replace(DF_MZ.nd,"$1"):a}function DF_Mzi(a,b,c){var d=c.href;c=c.title?DF_MX(c.title):null;return b[0].charAt(0)!=="!"?a.J.link(d,c,a.output(b[1])):a.J.image(d,c,DF_MX(b[1]))}
DF_Mwi.prototype.dc=function(a){return this.options.dc?a.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):a};DF_Mwi.prototype.Vb=function(a){if(!this.options.Vb)return a;for(var b="",c=a.length,d=0,e;d<c;d++)e=a.charCodeAt(d),Math.random()>.5&&(e="x"+e.toString(16)),b+="&#"+e+";";return b};DF_M=DF_Mui.prototype;
DF_M.code=function(a,b,c){b=(b||"").match(/\S*/)[0];if(this.options.highlight){var d=this.options.highlight(a,b);d!=null&&d!==a&&(c=!0,a=d)}return b?'<pre><code class="'+this.options.Ld+DF_MX(b,!0)+'">'+(c?a:DF_MX(a,!0))+"</code></pre>\n":"<pre><code>"+(c?a:DF_MX(a,!0))+"</code></pre>"};DF_M.Pa=function(a){return"<blockquote>\n"+a+"</blockquote>\n"};DF_M.html=function(a){return a};
DF_M.heading=function(a,b,c,d){if(this.options.Gd){var e="<h"+b+' id="'+this.options.Hd;c=c.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(d.Xa.hasOwnProperty(c)){var f=c;do d.Xa[f]++,c=f+"-"+d.Xa[f];while(d.Xa.hasOwnProperty(c))}d.Xa[c]=0;a=e+c+'">'+a+"</h"+b+">\n"}else a="<h"+b+">"+a+"</h"+b+">\n";return a};DF_M.mb=function(){return this.options.yb?"<hr/>\n":"<hr>\n"};
DF_M.list=function(a,b,c){var d=b?"ol":"ul";return"<"+d+(b&&c!==1?' start="'+c+'"':"")+">\n"+a+"</"+d+">\n"};DF_M.ca=function(a){return"<p>"+a+"</p>\n"};DF_M.table=function(a,b){b&&(b="<tbody>"+b+"</tbody>");return"<table>\n<thead>\n"+a+"</thead>\n"+b+"</table>\n"};function DF_MBi(a,b){var c=b.aa?"th":"td";return(b.align?"<"+c+' align="'+b.align+'">':"<"+c+">")+a+"</"+c+">\n"}DF_M.Ya=function(a){return"<strong>"+a+"</strong>"};DF_M.va=function(a){return"<em>"+a+"</em>"};
DF_M.tc=function(a){return"<code>"+a+"</code>"};DF_M.Ga=function(){return this.options.yb?"<br/>":"<br>"};DF_M.Ra=function(a){return"<del>"+a+"</del>"};DF_M.link=function(a,b,c){a=DF_Mji(this.options.da,this.options.rc,a);if(a===null)return c;a='<a href="'+DF_MX(a)+'"';b&&(a+=' title="'+b+'"');return a+(">"+c+"</a>")};
DF_M.image=function(a,b,c){a=DF_Mji(this.options.da,this.options.rc,a);if(a===null)return c;a='<img src="'+a+'" alt="'+c+'"';b&&(a+=' title="'+b+'"');return a+=this.options.yb?"/>":">"};DF_M.text=function(a){return a};DF_M=DF_Mvi.prototype;DF_M.Ya=function(a){return a};DF_M.va=function(a){return a};DF_M.tc=function(a){return a};DF_M.Ra=function(a){return a};DF_M.text=function(a){return a};DF_M.link=function(a,b,c){return c};DF_M.image=function(a,b,c){return c};DF_M.Ga=function(){return""};
function DF_MCi(a,b){return(new DF_Mti(b)).parse(a)}DF_Mti.prototype.parse=function(a){this.inline=new DF_Mwi(a.links,this.options);this.h=new DF_Mwi(a.links,DF_Mhi({},this.options,{J:new DF_Mvi}));this.g=a.reverse();for(a="";this.next();)a+=DF_MDi(this);return a};DF_Mti.prototype.next=function(){return this.token=this.g.pop()};function DF_MEi(a){for(var b=a.token.text;(a.g[a.g.length-1]||0).type==="text";)b+="\n"+a.next().text;return a.inline.output(b)}
function DF_MDi(a){switch(a.token.type){case "space":return"";case "hr":return a.J.mb();case "heading":return a.J.heading(a.inline.output(a.token.text),a.token.depth,DF_Mki(a.h.output(a.token.text)),a.i);case "code":return a.J.code(a.token.text,a.token.lang,a.token.yd);case "table":var b="",c="",d,e;var f="";for(d=0;d<a.token.aa.length;d++)f+=DF_MBi(a.inline.output(a.token.aa[d]),{aa:!0,align:a.token.align[d]});b+="<tr>\n"+f+"</tr>\n";for(d=0;d<a.token.cells.length;d++){var g=a.token.cells[d];f="";
for(e=0;e<g.length;e++)f+=DF_MBi(a.inline.output(g[e]),{aa:!1,align:a.token.align[e]});c+="<tr>\n"+f+"</tr>\n"}return a.J.table(b,c);case "blockquote_start":for(c="";a.next().type!=="blockquote_end";)c+=DF_MDi(a);return a.J.Pa(c);case "list_start":c="";b=a.token.ordered;for(d=a.token.start;a.next().type!=="list_end";)c+=DF_MDi(a);return a.J.list(c,b,d);case "list_item_start":c="";b=a.token.Ua;for(a.token.Wd&&(c+="<input "+(a.token.checked?'checked="" ':"")+'disabled="" type="checkbox"'+(a.J.options.yb?
" /":"")+"> ");a.next().type!=="list_item_end";)c+=b||a.token.type!=="text"?DF_MDi(a):DF_MEi(a);return"<li>"+c+"</li>\n";case "html":return a.J.html(a.token.text);case "paragraph":return a.J.ca(a.inline.output(a.token.text));case "text":return a.J.ca(DF_MEi(a));default:c='Token with "'+a.token.type+'" type was not found.';if(a.options.silent)return console.log(c),"";throw Error(c);}}
var DF_Mni=/[&<>"']/,DF_Moi=/[&<>"']/g,DF_Mpi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},DF_Mqi=/[<>"']|&(?!#?\w+;)/,DF_Mri=/[<>"']|&(?!#?\w+;)/g,DF_Mmi={},DF_Mli=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;DF_Mii.exec=DF_Mii;
function DF_MY(a,b,c){if(typeof a==="undefined"||a===null)throw Error("marked(): input parameter is undefined or null");if(typeof a!=="string")throw Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected");if(c||typeof b==="function"){c||(c=b,b=null);b=DF_Mhi({},DF_MY.pa,b||{});var d=b.highlight,e=0;try{var f=DF_Myi(a,b)}catch(k){return c(k)}var g=f.length;var h=function(k){if(k)return b.highlight=d,c(k);try{var l=DF_MCi(f,b)}catch(m){k=m}b.highlight=d;
return k?c(k):c(null,l)};if(!d||d.length<3)return h();delete b.highlight;if(!g)return h();for(;e<f.length;e++)(function(k){return k.type!=="code"?--g||h():d(k.text,k.lang,function(l,m){if(l)return h(l);if(m==null||m===k.text)return--g||h();k.text=m;k.yd=!0;--g||h()})})(f[e])}else try{return b&&(b=DF_Mhi({},DF_MY.pa,b)),DF_MCi(DF_Myi(a,b),b)}catch(k){k.message+="\nPlease report this to https://github.com/markedjs/marked.";if((b||DF_MY.pa).silent)return"<p>An error occurred:</p><pre>"+DF_MX(k.message,
!0)+"</pre>";throw k;}}DF_MY.options=function(a){DF_Mhi(DF_MY.pa,a);return DF_MY};DF_MY.zd=function(){return{rc:null,Ib:!1,X:!0,Gd:!0,Hd:"",highlight:null,Ld:"language-",Vb:!0,ja:!1,J:new DF_Mui,da:!1,Wa:null,silent:!1,Td:!1,dc:!1,ec:!0,yb:!1}};DF_MY.pa=DF_MY.zd();DF_MY.Wc=DF_Mui;DF_MY.parse=DF_MY;function DF_MFi(a){return DF_M2h(DF_M1h(DF_M4h(new DF_MSh,function(b,c){return(c==null?void 0:c.attributeName)==="class"?b:null}),function(b){return DF_Mdi(b,a)}))}
function DF_MGi(a){this.g=new DF_MY.Wc;this.h=new DF_MEg;a=a!=null?a:{};var b=a.urlAllowlist,c=a.enableCodeHighlight===void 0?!1:a.enableCodeHighlight;a=a.Va===void 0?[]:a.Va;this.i=new DF_MRh(DF_MFi(b));this.j=[new DF_Mxg(this.i,c),new DF_MAg];b=DF_MFi(b);c=DF_Md(this.j);for(var d=c.next();!d.done;d=c.next())b=d.value.qc(b);this.G=new DF_MRh(b);a=DF_Md(a);for(b=a.next();!b.done;b=a.next())this.h.add(b.value);this.h.add(new DF_MCg);DF_MHi(this)}
DF_MGi.prototype.lb=function(a){var b=document.createElement("template");DF_Mng(b,a);a=document.createNodeIterator(b.content,NodeFilter.SHOW_ELEMENT,function(h){return h.nodeType===Node.ELEMENT_NODE?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT});for(var c=a.nextNode();c;){var d=c;c=a.nextNode();for(var e=[],f=DF_Md(this.j),g=f.next();!g.done;g=f.next())g=g.value,g.Dc(d)&&(e.push(g.uc),e.length>1||g.lb(d));e.length>1&&console.debug("DF-MESSENGER","Node '"+d.nodeName+"' targeted by multiple enrichers: "+
e.join(", ")+" (first one executed)")}return this.G.da(b.innerHTML)};function DF_MHi(a){var b=a.g.link;a.g.link=function(){return b.apply(a.g,DF_Mi.apply(0,arguments)).replace(/^<a /,'<a target="_blank" ')}};function DF_MIi(a){this.inlineCitation=a}
DF_MIi.prototype.process=function(a){var b=this.inlineCitation,c=b.citations;b=b.claims;if(!c||!b)return a;b=[].concat(DF_Me(b)).sort(function(h,k){var l,m;return((l=k.endPos)!=null?l:0)-((m=h.endPos)!=null?m:0)});b=DF_Md(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value,f=e.startPos===void 0?0:e.startPos;d=e.endPos;e=e.citationIndices;var g=void 0;d===void 0||(g=e)==null||!g.length||f<0||d>a.length||f>=d||(f=e.map(function(h){if(c[h]){var k=c[h];h='<a class="inline-citation" title="'+k.uri+
'" href="'+k.uri+'" target="_blank">'+(h+1)+"</a>"}else h=null;return h}).filter(Boolean),a=a.slice(0,d)+f.join("")+a.slice(d))}return a};function DF_MJi(a){this.inlineCitation=a}DF_MJi.prototype.process=function(a){var b=this.inlineCitation.citations;if(!b||b.length===0)return a;b=b.map(function(c,d){return d+1+". ["+c.title+"]("+c.uri+")"}).join("\n");return a+'\n\n<details class="sources"><summary>Sources</summary>\n\n'+(b+"\n\n</details>")};function DF_MKi(a,b){this.utterance=a;this.options=b}DF_MKi.prototype.render=function(){return Object.assign({},{utteranceId:this.utterance.utteranceId,languageCode:this.utterance.languageCode,isBot:this.utterance.isBot,mode:this.utterance.mode,elements:DF_MLi(this)},this.utterance.allowFeedback!==void 0?{allowFeedback:this.utterance.allowFeedback}:{},this.utterance.responseId?{responseId:this.utterance.responseId}:{})};
function DF_MLi(a){return a.utterance.messages.map(function(b){switch(b.type){case "text":var c=b.text;b=b.inlineCitation;if(c.length!==0)if(a.utterance.isBot){var d=[];b&&(d.push(new DF_MIi(b)),d.push(new DF_MJi(b)));var e,f,g;b=new DF_MGi({urlAllowlist:(e=a.options)==null?void 0:e.urlAllowlist,enableCodeHighlight:(f=a.options)==null?void 0:f.enableCodeHighlight,Va:d});e=b.h.process(c.trim());(g=(e=(g=DF_MY(e,{J:b.g}))==null?void 0:g.trim())?b.lb(b.i.da(e)):null)?(c=new DF_MTf(a.utterance.utteranceId,
"none"),c.languageCode=a.utterance.languageCode,c.markdown=g):c=DF_MMi(a,c)}else c=DF_MMi(a,c);else c=void 0;return c;case "customCard":return DF_MNi(a,b.richElements);default:return DF_MOi(a,b)}}).filter(DF_M3a)}function DF_MMi(a,b){var c=new DF_MWf(a.utterance.utteranceId,"none");c.isBot=a.utterance.isBot;c.languageCode=a.utterance.languageCode;c.text=b;return c}
function DF_MNi(a,b){b=b.map(function(d){return DF_MOi(a,d)}).filter(DF_M3a);if(b.length===0)return null;var c=new DF_M4e(a.utterance.utteranceId,"none");c.languageCode=a.utterance.languageCode;c.elements=b;return c}
function DF_MOi(a,b){var c=void 0;switch(b.type){case "info":var d=new DF_MR(a.utterance.utteranceId,b.id);d.title=b.title?b.title:"";d.subtitle=b.subtitle?b.subtitle:"";d.image=DF_M8f(b.image);d.anchor=DF_MYf(b);c=d;break;case "description":d=new DF_Mif(a.utterance.utteranceId,b.id);d.title=b.title?b.title:"";var e;d.text=(e=b.text)!=null?e:null;c=d;break;case "button":d=new DF_M1e(a.utterance.utteranceId,b.id);d.text=b.text;var f;e=(f=b.anchor)!=null?f:b.link?{href:b.link}:null;d.anchor=e?new DF_MZf(e):
null;var g;d.icon=(g=b.icon)!=null?g:null;d.image=DF_M8f(b.image);d.event=b.event;d.mode=b.mode||"normal";d.cssWidth=b.cssWidth;c=d;break;case "image":d=new DF_MGf(a.utterance.utteranceId,b.id);d.source=b.rawUrl?b.rawUrl:"";d.accessibilityText=b.accessibilityText?b.accessibilityText:"image";var h;d.reference=b.reference?{text:b.reference.text,anchor:new DF_MZf(b.reference.anchor),image:(h=DF_M8f(b.reference.image))!=null?h:void 0}:null;d.cssWidth=b.cssWidth;c=d;break;case "list":d=new DF_MQf(a.utterance.utteranceId,
b.id);d.title=b.title?b.title:"";d.subtitle=b.subtitle?b.subtitle:"";d.image=DF_M8f(b.image);var k;d.event=(k=b.event)!=null?k:null;d.anchor=b.anchor?new DF_MZf(b.anchor):null;c=d;break;case "divider":c=new DF_Mkf(a.utterance.utteranceId,b.id);break;case "accordion":d=new DF_MTe(a.utterance.utteranceId,b.id);d.title=b.title;d.subtitle=b.subtitle;d.image=DF_M8f(b.image);var l;d.text=DF_Mei((l=a.options)==null?void 0:l.urlAllowlist).da(b.text);c=d;break;case "chips":c=DF_MPi(a,b);break;case "html":d=
new DF_Mxf(a.utterance.utteranceId,b.id);var m;d.html=DF_Mei((m=a.options)==null?void 0:m.urlAllowlist).da(b.html);c=d;break;case "match_citations":c=DF_MQi(a,b);break;case "custom_template":d=new DF_Mdf(a.utterance.utteranceId,b.id);d.elementName=b.name;d.payload=b.payload;var n;d.responseId=(n=a.utterance.responseId)!=null?n:null;c=d;break;case "video":a:{f=new DF_M7f(a.utterance.utteranceId,b.id);switch(b.source.type){case "link":f.anchor=new DF_MZf(b.source.anchor);var p;f.embeddedPlayer=(p=b.source.embeddedPlayer)!=
null?p:null;b.source.thumbnail?f.thumbnail=DF_M8f(b.source.thumbnail):!b.source.embeddedPlayer&&DF_M8a.test(b.source.anchor.href)&&(g=(g=DF_M9a(b.source.anchor.href))?"https://ytimg.googleusercontent.com/vi/"+g+"/hqdefault.jpg":void 0,g&&(f.thumbnail={rawUrl:g}));if(!f.thumbnail&&!f.embeddedPlayer){c=void 0;break a}break;case "raw":f.source=b.source.rawUrl;break;default:console.debug("DF-MESSENGER","Unknown video source",b.source);c=void 0;break a}f.videoTitle=(d=b.title)!=null?d:null;f.videoType=
b.source.type;f.cssWidth=b.cssWidth;c=f}break;case "files":c=DF_MRi(a,b);break;default:console.error("DF-MESSENGER","Parser","Could not render "+b.type)}c&&(c.languageCode=a.utterance.languageCode);return c}
function DF_MPi(a,b){if(b.options.length!==0)return a=new DF_M7e(a.utterance.utteranceId,b.id),a.chips=b.options.map(function(c){var d,e=(d=c.anchor)!=null?d:c.link?{href:c.link}:null;d=e?new DF_MZf(e):null;var f;e=(f=DF_M8f(c.image))!=null?f:void 0;return d?new DF_Mdg(c.text,d,e,c.accessibilityText,c.mode):new DF_Mcg(c.text,e,c.accessibilityText,c.mode)}),a}
function DF_MQi(a,b){var c=b.citations.map(function(d){var e=DF_M_f(d);return e?{title:d.title,anchor:e}:null}).filter(DF_M3a);if(c.length!==0)return a=new DF_Mbf(a.utterance.utteranceId,b.id),a.citations=c,a}function DF_MRi(a,b){a=new DF_Msf(a.utterance.utteranceId,b.id);a.files=b.files.map(function(c){var d=c.anchor?new DF_MZf(c.anchor):void 0,e,f=(e=DF_M8f(c.image))!=null?e:void 0;return{name:c.name,image:f,anchor:d}});return a}
function DF_MSi(a){return a.reduce(function(b,c){var d=Object.assign({},c);d.elements=c.elements.filter(function(e){return e.isVisible()});d.elements.length>0&&b.push(d);return b},[])};(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$bash=function(hljs){const VAR={};const BRACED_VAR={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[VAR]}]};Object.assign(VAR,{className:"variable",variants:[{begin:concat$$module$third_party$javascript$highlightjs$src$lib$regex(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},BRACED_VAR]});const SUBST={className:"subst",begin:/\$\(/,end:/\)/,
contains:[hljs.BACKSLASH_ESCAPE]};const HERE_DOC={begin:/<<-?\s*(?=\w+)/,starts:{contains:[hljs.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}};const QUOTE_STRING={className:"string",begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,VAR,SUBST]};SUBST.contains.push(QUOTE_STRING);const ESCAPED_QUOTE={className:"",begin:/\\"/};const APOS_STRING={className:"string",begin:/'/,end:/'/};const ARITHMETIC={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},
hljs.NUMBER_MODE,VAR]};const SH_LIKE_SHELLS=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"];const KNOWN_SHEBANG=hljs.SHEBANG({binary:`(${SH_LIKE_SHELLS.join("|")})`,relevance:10});const FUNCTION={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",
literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times "+"trap umask unset "+"alias bind builtin caller command declare echo enable help let local logout mapfile printf "+"read readarray source type typeset ulimit unalias "+"set shopt "+"autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles "+"compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate "+"fc fg float functions getcap getln history integer jobs kill limit log noglob popd print "+
"pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit "+"unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof "+"zpty zregexparse zsocket zstyle ztcp"},contains:[KNOWN_SHEBANG,hljs.SHEBANG(),FUNCTION,ARITHMETIC,hljs.HASH_COMMENT_MODE,HERE_DOC,QUOTE_STRING,ESCAPED_QUOTE,APOS_STRING,VAR]}};var module$third_party$javascript$highlightjs$src$languages$bash={};module$third_party$javascript$highlightjs$src$languages$bash.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$bash;
globalThis.hljs_bash=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$bash;var module$third_party$javascript$highlightjs$export_shims$export_bash={};globalThis["hljs_bash"]=hljs_bash}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$c=function(hljs){const C_LINE_COMMENT_MODE=hljs.COMMENT("//","$",{contains:[{begin:/\\\n/}]});const DECLTYPE_AUTO_RE="decltype\\(auto\\)";const NAMESPACE_RE="[a-zA-Z_]\\w*::";const TEMPLATE_ARGUMENT_RE="<[^<>]+>";const FUNCTION_TYPE_RE="("+DECLTYPE_AUTO_RE+"|"+optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+"[a-zA-Z_]\\w*"+
optional$$module$third_party$javascript$highlightjs$src$lib$regex(TEMPLATE_ARGUMENT_RE)+")";const CPP_PRIMITIVE_TYPES={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"};const CHARACTER_ESCAPES="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)";const STRINGS={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+CHARACTER_ESCAPES+"|.)",end:"'",illegal:"."},hljs.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]};
const NUMBERS={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0};const PREPROCESSOR={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line "+"pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},hljs.inherit(STRINGS,
{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]};const TITLE_MODE={className:"title",begin:optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+hljs.IDENT_RE,relevance:0};const FUNCTION_TITLE=optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+hljs.IDENT_RE+"\\s*\\(";const CPP_KEYWORDS={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof "+
"dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace "+"unsigned long volatile static protected bool template mutable if public friend "+"do goto auto void enum else break extern using asm case typeid wchar_t "+"short reinterpret_cast|10 default double register explicit signed typename try this "+"switch continue inline delete alignas alignof constexpr consteval constinit decltype "+"concept co_await co_return co_yield requires "+"noexcept static_assert thread_local restrict final override "+
"atomic_bool atomic_char atomic_schar "+"atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong "+"atomic_ullong new throw return "+"and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream "+"auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set "+"unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos "+
"asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp "+"fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper "+"isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow "+"printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp "+"strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan "+"vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
literal:"true false nullptr NULL"};const EXPRESSION_CONTAINS=[PREPROCESSOR,CPP_PRIMITIVE_TYPES,C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,STRINGS];const EXPRESSION_CONTEXT={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat([{begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat(["self"]),relevance:0}]),relevance:0};const FUNCTION_DECLARATION={className:"function",
begin:"("+FUNCTION_TYPE_RE+"[\\*&\\s]+)+"+FUNCTION_TITLE,returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:CPP_KEYWORDS,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:DECLTYPE_AUTO_RE,keywords:CPP_KEYWORDS,relevance:0},{begin:FUNCTION_TITLE,returnBegin:true,contains:[TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,relevance:0,contains:[C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRINGS,NUMBERS,CPP_PRIMITIVE_TYPES,{begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,
relevance:0,contains:["self",C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRINGS,NUMBERS,CPP_PRIMITIVE_TYPES]}]},CPP_PRIMITIVE_TYPES,C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,PREPROCESSOR]};return{name:"C",aliases:["c","h"],keywords:CPP_KEYWORDS,disableAutodetect:true,illegal:"</",contains:[].concat(EXPRESSION_CONTEXT,FUNCTION_DECLARATION,EXPRESSION_CONTAINS,[PREPROCESSOR,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
end:">",keywords:CPP_KEYWORDS,contains:["self",CPP_PRIMITIVE_TYPES]},{begin:hljs.IDENT_RE+"::",keywords:CPP_KEYWORDS},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},hljs.TITLE_MODE]}]),exports:{preprocessor:PREPROCESSOR,strings:STRINGS,keywords:CPP_KEYWORDS}}};var module$third_party$javascript$highlightjs$src$languages$c={};module$third_party$javascript$highlightjs$src$languages$c.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$c;
globalThis.hljs_c=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$c;var module$third_party$javascript$highlightjs$export_shims$export_c={};globalThis["hljs_c"]=hljs_c}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$cpp=function(hljs){const C_LINE_COMMENT_MODE=hljs.COMMENT("//","$",{contains:[{begin:/\\\n/}]});const DECLTYPE_AUTO_RE="decltype\\(auto\\)";const NAMESPACE_RE="[a-zA-Z_]\\w*::";const TEMPLATE_ARGUMENT_RE="<[^<>]+>";const FUNCTION_TYPE_RE="("+DECLTYPE_AUTO_RE+"|"+optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+"[a-zA-Z_]\\w*"+
optional$$module$third_party$javascript$highlightjs$src$lib$regex(TEMPLATE_ARGUMENT_RE)+")";const CPP_PRIMITIVE_TYPES={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"};const CHARACTER_ESCAPES="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)";const STRINGS={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+CHARACTER_ESCAPES+"|.)",end:"'",illegal:"."},hljs.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]};
const NUMBERS={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0};const PREPROCESSOR={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line "+"pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},hljs.inherit(STRINGS,
{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]};const TITLE_MODE={className:"title",begin:optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+hljs.IDENT_RE,relevance:0};const FUNCTION_TITLE=optional$$module$third_party$javascript$highlightjs$src$lib$regex(NAMESPACE_RE)+hljs.IDENT_RE+"\\s*\\(";const CPP_KEYWORDS={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof "+
"dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace "+"unsigned long volatile static protected bool template mutable if public friend "+"do goto auto void enum else break extern using asm case typeid wchar_t "+"short reinterpret_cast|10 default double register explicit signed typename try this "+"switch continue inline delete alignas alignof constexpr consteval constinit decltype "+"concept co_await co_return co_yield requires "+"noexcept static_assert thread_local restrict final override "+
"atomic_bool atomic_char atomic_schar "+"atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong "+"atomic_ullong new throw return "+"and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream "+"auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set "+"unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos "+
"asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp "+"fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper "+"isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow "+"printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp "+"strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan "+"vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
literal:"true false nullptr NULL"};const EXPRESSION_CONTAINS=[PREPROCESSOR,CPP_PRIMITIVE_TYPES,C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,STRINGS];const EXPRESSION_CONTEXT={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat([{begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat(["self"]),relevance:0}]),relevance:0};const FUNCTION_DECLARATION={className:"function",
begin:"("+FUNCTION_TYPE_RE+"[\\*&\\s]+)+"+FUNCTION_TITLE,returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:CPP_KEYWORDS,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:DECLTYPE_AUTO_RE,keywords:CPP_KEYWORDS,relevance:0},{begin:FUNCTION_TITLE,returnBegin:true,contains:[TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,relevance:0,contains:[C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRINGS,NUMBERS,CPP_PRIMITIVE_TYPES,{begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,
relevance:0,contains:["self",C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRINGS,NUMBERS,CPP_PRIMITIVE_TYPES]}]},CPP_PRIMITIVE_TYPES,C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,PREPROCESSOR]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:CPP_KEYWORDS,illegal:"</",contains:[].concat(EXPRESSION_CONTEXT,FUNCTION_DECLARATION,EXPRESSION_CONTAINS,[PREPROCESSOR,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
end:">",keywords:CPP_KEYWORDS,contains:["self",CPP_PRIMITIVE_TYPES]},{begin:hljs.IDENT_RE+"::",keywords:CPP_KEYWORDS},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},hljs.TITLE_MODE]}]),exports:{preprocessor:PREPROCESSOR,strings:STRINGS,keywords:CPP_KEYWORDS}}};var module$third_party$javascript$highlightjs$src$languages$cpp={};module$third_party$javascript$highlightjs$src$languages$cpp.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$cpp;
globalThis.hljs_cpp=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$cpp;var module$third_party$javascript$highlightjs$export_shims$export_cpp={};globalThis["hljs_cpp"]=hljs_cpp}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";const MODES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=hljs=>{return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}}};const TAGS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=
["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul",
"var","video"];const MEDIA_FEATURES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan",
"scripting","update","width","min-width","max-width","min-height","max-height"];const PSEUDO_CLASSES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left",
"link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"];const PSEUDO_ELEMENTS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error",
"marker","part","placeholder","selection","slotted","spelling-error"];const ATTRIBUTES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image",
"background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color",
"border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width",
"columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering",
"image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width",
"overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform",
"text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();const PSEUDO_SELECTORS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared=PSEUDO_CLASSES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.concat(PSEUDO_ELEMENTS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared);
var module$third_party$javascript$highlightjs$src$languages$lib$css_shared={};module$third_party$javascript$highlightjs$src$languages$lib$css_shared.ATTRIBUTES=ATTRIBUTES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;module$third_party$javascript$highlightjs$src$languages$lib$css_shared.MEDIA_FEATURES=MEDIA_FEATURES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;module$third_party$javascript$highlightjs$src$languages$lib$css_shared.MODES=MODES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;
module$third_party$javascript$highlightjs$src$languages$lib$css_shared.PSEUDO_CLASSES=PSEUDO_CLASSES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;module$third_party$javascript$highlightjs$src$languages$lib$css_shared.PSEUDO_ELEMENTS=PSEUDO_ELEMENTS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;module$third_party$javascript$highlightjs$src$languages$lib$css_shared.PSEUDO_SELECTORS=PSEUDO_SELECTORS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;
module$third_party$javascript$highlightjs$src$languages$lib$css_shared.TAGS=TAGS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared;function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$css=function(hljs){const modes=MODES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared(hljs);const FUNCTION_DISPATCH={className:"built_in",begin:/[\w-]+(?=\()/};const VENDOR_PREFIX={begin:/-(webkit|moz|ms|o)-(?=[a-z])/};const AT_MODIFIERS="and or not only";const AT_PROPERTY_RE=/@-?\w[\w]*(-\w+)*/;const IDENT_RE="[a-zA-Z-][a-zA-Z0-9_-]*";
const STRINGS=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:true,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[hljs.C_BLOCK_COMMENT_MODE,VENDOR_PREFIX,hljs.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+IDENT_RE,relevance:0},modes.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+PSEUDO_CLASSES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.join("|")+
")"},{begin:"::("+PSEUDO_ELEMENTS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.join("|")+")"}]},{className:"attribute",begin:"\\b("+ATTRIBUTES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[modes.HEXCOLOR,modes.IMPORTANT,hljs.CSS_NUMBER_MODE,...STRINGS,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:true,excludeEnd:true}]},
FUNCTION_DISPATCH]},{begin:lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:AT_PROPERTY_RE},{begin:/\s/,endsWithParent:true,excludeEnd:true,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:AT_MODIFIERS,attribute:MEDIA_FEATURES$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...STRINGS,hljs.CSS_NUMBER_MODE]}]},{className:"selector-tag",
begin:"\\b("+TAGS$$module$third_party$javascript$highlightjs$src$languages$lib$css_shared.join("|")+")\\b"}]}};var module$third_party$javascript$highlightjs$src$languages$css={};module$third_party$javascript$highlightjs$src$languages$css.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$css;globalThis.hljs_css=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$css;var module$third_party$javascript$highlightjs$export_shims$export_css={};
globalThis["hljs_css"]=hljs_css}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$go=function(hljs){const GO_KEYWORDS={keyword:"break default func interface select case map struct chan else goto package switch "+"const fallthrough if range type continue for import return var go defer "+"bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 "+"uint16 uint32 uint64 int uint uintptr rune",
literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:GO_KEYWORDS,illegal:"</",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",variants:[hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:hljs.C_NUMBER_RE+"[i]",relevance:1},hljs.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",
end:"\\s*(\\{|$)",excludeEnd:true,contains:[hljs.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:GO_KEYWORDS,illegal:/["']/}]}]}};var module$third_party$javascript$highlightjs$src$languages$go={};module$third_party$javascript$highlightjs$src$languages$go.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$go;globalThis.hljs_go=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$go;var module$third_party$javascript$highlightjs$export_shims$export_go=
{};globalThis["hljs_go"]=hljs_go}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$xml=function(hljs){const TAG_NAME_RE=concat$$module$third_party$javascript$highlightjs$src$lib$regex(/[A-Z_]/,optional$$module$third_party$javascript$highlightjs$src$lib$regex(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/);const XML_IDENT_RE=/[A-Za-z0-9._:-]+/;const XML_ENTITIES={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/};const XML_META_KEYWORDS=
{begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]};const XML_META_PAR_KEYWORDS=hljs.inherit(XML_META_KEYWORDS,{begin:/\(/,end:/\)/});const APOS_META_STRING_MODE=hljs.inherit(hljs.APOS_STRING_MODE,{className:"meta-string"});const QUOTE_META_STRING_MODE=hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"});const TAG_INTERNALS={endsWithParent:true,illegal:/</,relevance:0,contains:[{className:"attr",begin:XML_IDENT_RE,relevance:0},{begin:/=\s*/,relevance:0,
contains:[{className:"string",endsParent:true,variants:[{begin:/"/,end:/"/,contains:[XML_ENTITIES]},{begin:/'/,end:/'/,contains:[XML_ENTITIES]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:true,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[XML_META_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE,XML_META_PAR_KEYWORDS,{begin:/\[/,end:/\]/,contains:[{className:"meta",
begin:/<![a-z]/,end:/>/,contains:[XML_META_KEYWORDS,XML_META_PAR_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE]}]}]},hljs.COMMENT(/\x3c!--/,/--\x3e/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},XML_ENTITIES,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[TAG_INTERNALS],starts:{end:/<\/style>/,returnEnd:true,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,
keywords:{name:"script"},contains:[TAG_INTERNALS],starts:{end:/<\/script>/,returnEnd:true,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat$$module$third_party$javascript$highlightjs$src$lib$regex(/</,lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(concat$$module$third_party$javascript$highlightjs$src$lib$regex(TAG_NAME_RE,either$$module$third_party$javascript$highlightjs$src$lib$regex(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",
begin:TAG_NAME_RE,relevance:0,starts:TAG_INTERNALS}]},{className:"tag",begin:concat$$module$third_party$javascript$highlightjs$src$lib$regex(/<\//,lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(concat$$module$third_party$javascript$highlightjs$src$lib$regex(TAG_NAME_RE,/>/))),contains:[{className:"name",begin:TAG_NAME_RE,relevance:0},{begin:/>/,relevance:0}]}]}};var module$third_party$javascript$highlightjs$src$languages$xml={};module$third_party$javascript$highlightjs$src$languages$xml.default=
$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$xml;globalThis.hljs_html=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$xml;var module$third_party$javascript$highlightjs$export_shims$export_html={};globalThis["hljs_html"]=hljs_html}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";var decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java="[0-9](_*[0-9])*";var frac$$module$third_party$javascript$highlightjs$src$languages$lib$java=`\\.(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})`;var hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java="[0-9a-fA-F](_*[0-9a-fA-F])*";var NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java=
{className:"number",variants:[{begin:`(\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})((${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})|\\.)?|(${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java}))`+`[eE][+-]?(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},{begin:`\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})((${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b|\\.([fFdD]\\b)?)`},
{begin:`(${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},{begin:`\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]\\b`},{begin:`\\b0[xX]((${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})\\.?|(${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})?\\.(${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java}))`+`[pP][+-]?(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},
{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};var module$third_party$javascript$highlightjs$src$languages$lib$java={};module$third_party$javascript$highlightjs$src$languages$lib$java.NUMERIC=NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$java=
function(hljs){var JAVA_IDENT_RE="[\u00c0-\u02b8a-zA-Z_$][\u00c0-\u02b8a-zA-Z_$0-9]*";var GENERIC_IDENT_RE=JAVA_IDENT_RE+"(<"+JAVA_IDENT_RE+"(\\s*,\\s*"+JAVA_IDENT_RE+")*>)?";var KEYWORDS="false synchronized int abstract float private char boolean var static null if const "+"for true while long strictfp finally protected import native final void "+"enum else break transient catch instanceof byte super volatile case assert short "+"package default double public try this switch continue throws protected public private "+
"module requires exports do";var ANNOTATION={className:"meta",begin:"@"+JAVA_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const NUMBER=NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java;return{name:"Java",aliases:["jsp"],keywords:KEYWORDS,illegal:/<\/|#/,contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:true,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,excludeEnd:true,end:/[{;=]/,keywords:KEYWORDS,contains:[{beginKeywords:"record"},
{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,relevance:0,contains:[hljs.C_BLOCK_COMMENT_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+GENERIC_IDENT_RE+"\\s+)+"+hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:KEYWORDS,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,
contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,relevance:0,contains:[ANNOTATION,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,NUMBER,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},NUMBER,ANNOTATION]}};var module$third_party$javascript$highlightjs$src$languages$java={};module$third_party$javascript$highlightjs$src$languages$java.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$java;
globalThis.hljs_java=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$java;var module$third_party$javascript$highlightjs$export_shims$export_java={};globalThis["hljs_java"]=hljs_java}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";var decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java="[0-9](_*[0-9])*";var frac$$module$third_party$javascript$highlightjs$src$languages$lib$java=`\\.(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})`;var hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java="[0-9a-fA-F](_*[0-9a-fA-F])*";var NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java=
{className:"number",variants:[{begin:`(\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})((${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})|\\.)?|(${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java}))`+`[eE][+-]?(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},{begin:`\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})((${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b|\\.([fFdD]\\b)?)`},
{begin:`(${frac$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},{begin:`\\b(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]\\b`},{begin:`\\b0[xX]((${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})\\.?|(${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})?\\.(${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java}))`+`[pP][+-]?(${decimalDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[fFdD]?\\b`},
{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${hexDigits$$module$third_party$javascript$highlightjs$src$languages$lib$java})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};var module$third_party$javascript$highlightjs$src$languages$lib$java={};module$third_party$javascript$highlightjs$src$languages$lib$java.NUMERIC=NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$kotlin=
function(hljs){const KEYWORDS={keyword:"abstract as val var vararg get set class object open private protected public noinline "+"crossinline dynamic final enum if else do while for when throw try catch finally "+"import package is in fun override companion reified inline lateinit init "+"interface annotation data sealed internal infix operator out by constructor super "+"tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
literal:"true false null"};const KEYWORDS_WITH_LABEL={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}};const LABEL={className:"symbol",begin:hljs.UNDERSCORE_IDENT_RE+"@"};const SUBST={className:"subst",begin:/\$\{/,end:/\}/,contains:[hljs.C_NUMBER_MODE]};const VARIABLE={className:"variable",begin:"\\$"+hljs.UNDERSCORE_IDENT_RE};const STRING={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[VARIABLE,SUBST]},{begin:"'",
end:"'",illegal:/\n/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[hljs.BACKSLASH_ESCAPE,VARIABLE,SUBST]}]};SUBST.contains.push(STRING);const ANNOTATION_USE_SITE={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+hljs.UNDERSCORE_IDENT_RE+")?"};const ANNOTATION={className:"meta",begin:"@"+hljs.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[hljs.inherit(STRING,{className:"meta-string"})]}]};const KOTLIN_NUMBER_MODE=
NUMERIC$$module$third_party$javascript$highlightjs$src$languages$lib$java;const KOTLIN_NESTED_COMMENT=hljs.COMMENT("/\\*","\\*/",{contains:[hljs.C_BLOCK_COMMENT_MODE]});const KOTLIN_PAREN_TYPE={variants:[{className:"type",begin:hljs.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]};const KOTLIN_PAREN_TYPE2=KOTLIN_PAREN_TYPE;KOTLIN_PAREN_TYPE2.variants[1].contains=[KOTLIN_PAREN_TYPE];KOTLIN_PAREN_TYPE.variants[1].contains=[KOTLIN_PAREN_TYPE2];return{name:"Kotlin",aliases:["kt"],keywords:KEYWORDS,
contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.C_LINE_COMMENT_MODE,KOTLIN_NESTED_COMMENT,KEYWORDS_WITH_LABEL,LABEL,ANNOTATION_USE_SITE,ANNOTATION,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:true,excludeEnd:true,keywords:KEYWORDS,relevance:5,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",
relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:true,keywords:KEYWORDS,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:true,contains:[KOTLIN_PAREN_TYPE,hljs.C_LINE_COMMENT_MODE,KOTLIN_NESTED_COMMENT],relevance:0},hljs.C_LINE_COMMENT_MODE,KOTLIN_NESTED_COMMENT,ANNOTATION_USE_SITE,ANNOTATION,STRING,hljs.C_NUMBER_MODE]},KOTLIN_NESTED_COMMENT]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:true,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},
hljs.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:true,excludeEnd:true,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:true,returnEnd:true},ANNOTATION_USE_SITE,ANNOTATION]},STRING,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},KOTLIN_NUMBER_MODE]}};var module$third_party$javascript$highlightjs$src$languages$kotlin={};module$third_party$javascript$highlightjs$src$languages$kotlin.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$kotlin;
globalThis.hljs_kotlin=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$kotlin;var module$third_party$javascript$highlightjs$export_shims$export_kotlin={};globalThis["hljs_kotlin"]=hljs_kotlin}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$python=function(hljs){const RESERVED_WORDS=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"];const BUILT_INS=["__import__","abs","all",
"any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod",
"str","sum","super","tuple","type","vars","zip"];const LITERALS=["__debug__","Ellipsis","False","None","NotImplemented","True"];const KEYWORDS={keyword:RESERVED_WORDS,built_in:BUILT_INS,literal:LITERALS};const PROMPT={className:"meta",begin:/^(>>>|\.\.\.) /};const SUBST={className:"subst",begin:/\{/,end:/\}/,keywords:KEYWORDS,illegal:/#/};const LITERAL_BRACKET={begin:/\{\{/,relevance:0};const STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,
end:/'''/,contains:[hljs.BACKSLASH_ESCAPE,PROMPT],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[hljs.BACKSLASH_ESCAPE,PROMPT],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[hljs.BACKSLASH_ESCAPE,PROMPT,LITERAL_BRACKET,SUBST]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[hljs.BACKSLASH_ESCAPE,PROMPT,LITERAL_BRACKET,SUBST]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,
end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[hljs.BACKSLASH_ESCAPE,LITERAL_BRACKET,SUBST]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,LITERAL_BRACKET,SUBST]},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]};const digitpart="[0-9](_?[0-9])*";const pointfloat=`(\\b(${digitpart}))?\\.(${digitpart})|\\b(${digitpart})\\.`;const NUMBER={className:"number",relevance:0,variants:[{begin:`(\\b(${digitpart})|(${pointfloat}))[eE][+-]?(${digitpart})[jJ]?\\b`},
{begin:`(${pointfloat})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${digitpart})[jJ]\\b`}]};const PARAMS={className:"params",variants:[{begin:/\(\s*\)/,skip:true,className:null},{begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:["self",PROMPT,NUMBER,STRING,hljs.HASH_COMMENT_MODE]}]};SUBST.contains=[STRING,NUMBER,PROMPT];return{name:"Python",
aliases:["py","gyp","ipython"],keywords:KEYWORDS,illegal:/(<\/|->|\?)|=>/,contains:[PROMPT,NUMBER,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},STRING,hljs.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[hljs.UNDERSCORE_TITLE_MODE,PARAMS,{begin:/->/,endsWithParent:true,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[NUMBER,PARAMS,STRING]},{begin:/\b(print|exec)\(/}]}};
var module$third_party$javascript$highlightjs$src$languages$python={};module$third_party$javascript$highlightjs$src$languages$python.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$python;globalThis.hljs_python=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$python;var module$third_party$javascript$highlightjs$export_shims$export_python={};globalThis["hljs_python"]=hljs_python}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",
re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");
return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&
match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=
ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.concat=
concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.join=
join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.startsWith=
startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$sql=function(hljs){function reduceRelevancy(list,{exceptions,when}={}){const qualifyFn=when;exceptions=exceptions||[];return list.map(item=>{if(item.match(/\|\d+$/)||exceptions.includes(item))return item;else if(qualifyFn(item))return`${item}|0`;else return item})}const COMMENT_MODE=hljs.COMMENT("--","$");const STRING={className:"string",variants:[{begin:/'/,
end:/'/,contains:[{begin:/''/}]}]};const QUOTED_IDENTIFIER={begin:/"/,end:/"/,contains:[{begin:/""/}]};const LITERALS=["true","false","unknown"];const MULTI_WORD_TYPES=["double precision","large object","with timezone","without timezone"];const TYPES=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"];const NON_RESERVED_WORDS=
["add","asc","collation","desc","final","first","last","view"];const RESERVED_WORDS=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier",
"clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle",
"date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant",
"group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower",
"match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc",
"period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user",
"set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true",
"truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"];const RESERVED_FUNCTIONS=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value",
"floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop",
"stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"];const POSSIBLE_WITHOUT_PARENS=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"];const COMBOS=
["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"];const FUNCTIONS=RESERVED_FUNCTIONS;const KEYWORDS=[...RESERVED_WORDS,...NON_RESERVED_WORDS].filter(keyword=>{return!RESERVED_FUNCTIONS.includes(keyword)});const VARIABLE={className:"variable",begin:/@[a-z0-9]+/};const OPERATOR={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
relevance:0};const FUNCTION_CALL={begin:concat$$module$third_party$javascript$highlightjs$src$lib$regex(/\b/,either$$module$third_party$javascript$highlightjs$src$lib$regex(...FUNCTIONS),/\s*\(/),keywords:{built_in:FUNCTIONS}};return{name:"SQL",case_insensitive:true,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:reduceRelevancy(KEYWORDS,{when:x=>{return x.length<3}}),literal:LITERALS,type:TYPES,built_in:POSSIBLE_WITHOUT_PARENS},contains:[{begin:either$$module$third_party$javascript$highlightjs$src$lib$regex(...COMBOS),
keywords:{$pattern:/[\w\.]+/,keyword:KEYWORDS.concat(COMBOS),literal:LITERALS,type:TYPES}},{className:"type",begin:either$$module$third_party$javascript$highlightjs$src$lib$regex(...MULTI_WORD_TYPES)},FUNCTION_CALL,VARIABLE,STRING,QUOTED_IDENTIFIER,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE,COMMENT_MODE,OPERATOR]}};var module$third_party$javascript$highlightjs$src$languages$sql={};module$third_party$javascript$highlightjs$src$languages$sql.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$sql;
globalThis.hljs_sql=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$sql;var module$third_party$javascript$highlightjs$export_shims$export_sql={};globalThis["hljs_sql"]=hljs_sql}).call(globalThis);(function(){let module=undefined;let exports=undefined;let define=undefined;"use strict";const IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript="[A-Za-z$_][0-9A-Za-z$_]*";const KEYWORDS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield",
"const","class","debugger","async","await","static","import","from","export","extends"];const LITERALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["true","false","null","undefined","NaN","Infinity"];const TYPES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array",
"Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"];const ERROR_TYPES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];const BUILT_IN_GLOBALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval",
"isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"];const BUILT_IN_VARIABLES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=["arguments","this","super","console","window","document","localStorage","module","global"];const BUILT_INS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript=[].concat(BUILT_IN_GLOBALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,
BUILT_IN_VARIABLES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,TYPES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,ERROR_TYPES$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript);var module$third_party$javascript$highlightjs$src$languages$lib$ecmascript={};module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.BUILT_INS=BUILT_INS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.IDENT_RE=
IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.KEYWORDS=KEYWORDS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.LITERALS=LITERALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;function escape$$module$third_party$javascript$highlightjs$src$lib$regex(value){return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g,
"\\$&"),"m")}function source$$module$third_party$javascript$highlightjs$src$lib$regex(re){if(!re)return null;if(typeof re==="string")return re;return re.source}function lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(?=",re,")")}function anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",re,")*")}function optional$$module$third_party$javascript$highlightjs$src$lib$regex(re){return concat$$module$third_party$javascript$highlightjs$src$lib$regex("(",
re,")?")}function concat$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined=args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("");return joined}function either$$module$third_party$javascript$highlightjs$src$lib$regex(...args){const joined="("+args.map(x=>{return source$$module$third_party$javascript$highlightjs$src$lib$regex(x)}).join("|")+")";return joined}function countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex(re){return(new RegExp(re.toString()+
"|")).exec("").length-1}function startsWith$$module$third_party$javascript$highlightjs$src$lib$regex(re,lexeme){const match=re&&re.exec(lexeme);return match&&match.index===0}function join$$module$third_party$javascript$highlightjs$src$lib$regex(regexps,separator="|"){const backreferenceRe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;let numCaptures=0;let ret="";for(let i=0;i<regexps.length;i++){numCaptures=numCaptures+1;const offset=numCaptures;let re=source$$module$third_party$javascript$highlightjs$src$lib$regex(regexps[i]);
if(i>0)ret=ret+separator;ret=ret+"(";for(;re.length>0;){const match=backreferenceRe.exec(re);if(match==null){ret=ret+re;break}ret=ret+re.substring(0,match.index);re=re.substring(match.index+match[0].length);if(match[0][0]==="\\"&&match[1])ret=ret+("\\"+String(Number(match[1])+offset));else{ret=ret+match[0];if(match[0]==="(")numCaptures++}}ret=ret+")"}return ret}var module$third_party$javascript$highlightjs$src$lib$regex={};module$third_party$javascript$highlightjs$src$lib$regex.anyNumberOfTimes=anyNumberOfTimes$$module$third_party$javascript$highlightjs$src$lib$regex;
module$third_party$javascript$highlightjs$src$lib$regex.concat=concat$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.countMatchGroups=countMatchGroups$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.either=either$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.escape=escape$$module$third_party$javascript$highlightjs$src$lib$regex;
module$third_party$javascript$highlightjs$src$lib$regex.join=join$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.lookahead=lookahead$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.optional=optional$$module$third_party$javascript$highlightjs$src$lib$regex;module$third_party$javascript$highlightjs$src$lib$regex.source=source$$module$third_party$javascript$highlightjs$src$lib$regex;
module$third_party$javascript$highlightjs$src$lib$regex.startsWith=startsWith$$module$third_party$javascript$highlightjs$src$lib$regex;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$javascript=function(hljs){const hasClosingTag=(match,{after})=>{const tag="</"+match[0].slice(1);const pos=match.input.indexOf(tag,after);return pos!==-1};const IDENT_RE=IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;const FRAGMENT={begin:"<>",end:"</>"};
const XML_TAG={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(match,response)=>{const afterMatchIndex=match[0].length+match.index;const nextChar=match.input[afterMatchIndex];if(nextChar==="<"){response.ignoreMatch();return}if(nextChar===">")if(!hasClosingTag(match,{after:afterMatchIndex}))response.ignoreMatch()}};const KEYWORDS={$pattern:IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,keyword:KEYWORDS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,
literal:LITERALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,built_in:BUILT_INS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript};const decimalDigits="[0-9](_?[0-9])*";const frac=`\\.(${decimalDigits})`;const decimalInteger=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;const NUMBER={className:"number",variants:[{begin:`(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))`+`[eE][+-]?(${decimalDigits})\\b`},{begin:`\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b`},
{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0};const SUBST={className:"subst",begin:"\\$\\{",end:"\\}",keywords:KEYWORDS,contains:[]};const HTML_TEMPLATE={begin:"html`",end:"",starts:{end:"`",returnEnd:false,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"xml"}};const CSS_TEMPLATE={begin:"css`",end:"",starts:{end:"`",returnEnd:false,contains:[hljs.BACKSLASH_ESCAPE,
SUBST],subLanguage:"css"}};const TEMPLATE_STRING={className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,SUBST]};const JSDOC_COMMENT=hljs.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:IDENT_RE+"(?=\\s*(-)|$)",endsParent:true,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]});const COMMENT={className:"comment",variants:[JSDOC_COMMENT,hljs.C_BLOCK_COMMENT_MODE,
hljs.C_LINE_COMMENT_MODE]};const SUBST_INTERNALS=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,NUMBER,hljs.REGEXP_MODE];SUBST.contains=SUBST_INTERNALS.concat({begin:/\{/,end:/\}/,keywords:KEYWORDS,contains:["self"].concat(SUBST_INTERNALS)});const SUBST_AND_COMMENTS=[].concat(COMMENT,SUBST.contains);const PARAMS_CONTAINS=SUBST_AND_COMMENTS.concat([{begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self"].concat(SUBST_AND_COMMENTS)}]);const PARAMS={className:"params",
begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:PARAMS_CONTAINS};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:KEYWORDS,exports:{PARAMS_CONTAINS},illegal:/#(?![$_A-z])/,contains:[hljs.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,COMMENT,NUMBER,{begin:concat$$module$third_party$javascript$highlightjs$src$lib$regex(/[{,\n]\s*/,
lookahead$$module$third_party$javascript$highlightjs$src$lib$regex(concat$$module$third_party$javascript$highlightjs$src$lib$regex(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,IDENT_RE+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:IDENT_RE+lookahead$$module$third_party$javascript$highlightjs$src$lib$regex("\\s*:"),relevance:0}]},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[COMMENT,hljs.REGEXP_MODE,{className:"function",begin:"(\\("+
"[^()]*(\\("+"[^()]*(\\("+"[^()]*"+"\\)[^()]*)*"+"\\)[^()]*)*"+"\\)|"+hljs.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:true,end:"\\s*=>",contains:[{className:"params",variants:[{begin:hljs.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:true},{begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:PARAMS_CONTAINS}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:true},{variants:[{begin:FRAGMENT.begin,end:FRAGMENT.end},{begin:XML_TAG.begin,
"on:begin":XML_TAG.isTrulyOpeningTag,end:XML_TAG.end}],subLanguage:"xml",contains:[{begin:XML_TAG.begin,end:XML_TAG.end,skip:true,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:true,keywords:KEYWORDS,contains:["self",hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE}),PARAMS],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:hljs.UNDERSCORE_IDENT_RE+"\\("+"[^()]*(\\("+"[^()]*(\\("+"[^()]*"+"\\)[^()]*)*"+"\\)[^()]*)*"+
"\\)\\s*\\{",returnBegin:true,contains:[PARAMS,hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE})]},{variants:[{begin:"\\."+IDENT_RE},{begin:"\\$"+IDENT_RE}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:true,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},hljs.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE}),"self",PARAMS]},{begin:"(get|set)\\s+(?="+IDENT_RE+"\\()",end:/\{/,keywords:"get set",
contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE}),{begin:/\(\)/},PARAMS]},{begin:/\$[(.]/}]}};var module$third_party$javascript$highlightjs$src$languages$javascript={};module$third_party$javascript$highlightjs$src$languages$javascript.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$javascript;var $jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$typescript=function(hljs){const IDENT_RE=IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript;
const NAMESPACE={beginKeywords:"namespace",end:/\{/,excludeEnd:true};const INTERFACE={beginKeywords:"interface",end:/\{/,excludeEnd:true,keywords:"interface extends"};const USE_STRICT={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/};const TYPES=["any","void","number","boolean","string","object","never","enum"];const TS_SPECIFIC_KEYWORDS=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"];const KEYWORDS={$pattern:IDENT_RE$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,
keyword:KEYWORDS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.concat(TS_SPECIFIC_KEYWORDS),literal:LITERALS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript,built_in:BUILT_INS$$module$third_party$javascript$highlightjs$src$languages$lib$ecmascript.concat(TYPES)};const DECORATOR={className:"meta",begin:"@"+IDENT_RE};const swapMode=(mode,label,replacement)=>{const indx=mode.contains.findIndex(m=>{return m.label===label});if(indx===-1)throw new Error("can not find mode to replace");
mode.contains.splice(indx,1,replacement)};const tsLanguage=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$javascript(hljs);Object.assign(tsLanguage.keywords,KEYWORDS);tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);tsLanguage.contains=tsLanguage.contains.concat([DECORATOR,NAMESPACE,INTERFACE]);swapMode(tsLanguage,"shebang",hljs.SHEBANG());swapMode(tsLanguage,"use_strict",USE_STRICT);const functionDeclaration=tsLanguage.contains.find(m=>{return m.className==="function"});
functionDeclaration.relevance=0;Object.assign(tsLanguage,{name:"TypeScript",aliases:["ts"]});return tsLanguage};var module$third_party$javascript$highlightjs$src$languages$typescript={};module$third_party$javascript$highlightjs$src$languages$typescript.default=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$typescript;globalThis.hljs_typescript=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$typescript;globalThis.hljs_javascript=$jscompDefaultExport$$module$third_party$javascript$highlightjs$src$languages$javascript;
var module$third_party$javascript$highlightjs$export_shims$export_typescript={};globalThis["hljs_typescript"]=hljs_typescript;globalThis["hljs_javascript"]=hljs_javascript}).call(globalThis);var DF_Mqg=DF_Mf(["https://www.gstatic.com/external_hosted/highlightjs/styles/googlecode.css"]),DF_MTi=function(){var a=null;return function(){if(a==null){DF_MV.registerLanguage("python",hljs_python);DF_MV.registerLanguage("java",hljs_java);DF_MV.registerLanguage("go",hljs_go);DF_MV.registerLanguage("typescript",hljs_typescript);DF_MV.registerLanguage("javascript",hljs_javascript);DF_MV.registerLanguage("c",hljs_c);DF_MV.registerLanguage("cpp",hljs_cpp);DF_MV.registerLanguage("kotlin",hljs_kotlin);
DF_MV.registerLanguage("css",hljs_css);DF_MV.registerLanguage("bash",hljs_bash);DF_MV.registerLanguage("html",hljs_html);DF_MV.registerLanguage("sql",hljs_sql);var b=document.createElement("link");DF_Mpg(b);a=new Promise(function(c){b.addEventListener("load",function(){return void c()})});document.head.appendChild(b)}return a}}();function DF_MUi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=Math.random()*16|0;return a==="x"?b.toString(16):(b&3|8).toString(16)})};var DF_MVi=DF_Mf([' <div class="entry ','">\n '," ","\n </div>"]),DF_MWi=DF_Mf([' <div class="actor-container">\n <div class="actor">\n <img src='," />\n </div>\n </div>"]),DF_MXi=DF_Mf([' <df-messenger-utterance\n class="','"\n .utterance=',"\n .languageCode=","></df-messenger-utterance>"]),DF_MYi=DF_Mf([' <div class="typing-message">\n <div class="message">',"</div>\n </div>"]),DF_MZi=DF_Mf(['<img src="','" />']),DF_M_i=DF_Mf(["",""]),
DF_M0i=DF_Mf([' <div id="message-list" aria-live="polite">\n <div class="content">\n '," ","\n </div>\n </div>"]),DF_M1i=DF_Mf([' <div\n class="scroll-to-bottom-legacy\n ','">\n ','\n </div>\n <div class="scroll-to-bottom ','">\n ',"\n </div>"]),DF_M2i=DF_Mf([' <button\n class="scroll-to-bottom-button focus-outline"\n aria-label="','"\n @click=','>\n <span class="material-icons icon">arrow_downward</span>\n <span class="text">',
"</span>\n </button>"]),DF_M3i=DF_Mf([' <style>\n @import url(https://fonts.googleapis.com/icon?family=Material+Icons);\n </style>\n <div\n class="message-list-wrapper\n ','">\n '," ","\n </div>"]);
function DF_M0(){var a=DF_Mz.apply(this,arguments)||this;a.consumerId=DF_MUi();a.enableCodeHighlight=!1;a.botWritingText=null;a.botWritingImage=null;a.urlAllowlist=null;a.botActorImage=null;a.userActorImage=null;a.minimized=!1;a.showBotWriting=!1;a.initialMessages=[];a.messages=[];a.N=0;a.ma=!1;a.ra=!1;a.Aa=0;a.Z=!1;a.Ma=new Promise(function(b){a.Vc=b});a.debug=new DF_MHe;a.o=!1;return a}DF_Mc(DF_M0,DF_Mz);DF_M0.F=DF_Mz.F;DF_M0.s=DF_Mz.s;DF_M0.u=DF_Mz.u;DF_M0.h=DF_Mz.h;DF_M0.g=DF_Mz.g;DF_M0.D=DF_Mz.D;
DF_M0.i=DF_Mz.i;DF_M0.v=DF_Mz.v;DF_M0.m=DF_Mz.m;DF_M0.C=DF_Mz.C;DF_M=DF_M0.prototype;DF_M.connectedCallback=function(){var a=this;DF_Mz.prototype.connectedCallback.call(this);Promise.all([].concat(DF_Me(this.enableCodeHighlight?[DF_MTi()]:[]))).then(function(){return void DF_M4i(a)})};DF_M.ia=function(a){var b=this;DF_Mz.prototype.ia.call(this,a);DF_Mm(this,"df-messenger-message-list-loaded",{});(new ResizeObserver(function(){b.o||(b.ra=DF_M5i(b.g))})).observe(this.g.querySelector(".content"))};
DF_M.sa=function(a){var b=this;DF_Mz.prototype.sa.call(this,a);this.ma&&(a.has("messages")||this.showBotWriting)&&(this.o=!0,setTimeout(function(){var c=b.T.querySelector(".entry:last-child");c?DF_M6i(b,c,10):b.o=!1},50))};DF_M.clearMessages=function(){this.messages=[]};
DF_M.addMessages=function(a){var b=this;return DF_Mh(function(c){if(c.g==1)return DF_Mg(c,b.Ma,2);b.messages=[].concat(DF_Me(b.messages),DF_Me(a.map(function(d){return(new DF_MKi(d,{urlAllowlist:b.urlAllowlist,enableCodeHighlight:b.enableCodeHighlight})).render()})));c.g=0})};DF_M.getRenderedMessages=function(){return[].concat(DF_Me(this.messages))};
function DF_M4i(a){a.messages=a.initialMessages.map(function(b){return(new DF_MKi(b,{urlAllowlist:a.urlAllowlist,enableCodeHighlight:a.enableCodeHighlight})).render()});a.Vc();DF_M7i(a);setTimeout(function(){DF_M8i(a);DF_M9i(a);DF_M$i(a)})}function DF_M7i(a){a.addEventListener("df-chip-clicked",function(){a.messages=DF_MSi(a.messages)})}
function DF_M8i(a){var b=a.g;b.addEventListener("scroll",function(){b.scrollTop<=a.N||(DF_Mm(a,"df-messenger-message-list-highest-scrolltop",{scrollTop:b.scrollTop}),a.N=b.scrollTop)});DF_Maj(a,a.N);a.ma=!0}function DF_M9i(a){a.g.addEventListener("df-messenger-scroll-into-view",function(b){b=b.detail;DF_M6i(a,b.element,b.padding)})}function DF_Maj(a,b){var c=a.g;c.scrollTop=b;a.ra=DF_M5i(c)}function DF_Mbj(a,b){a.o=!0;a.g.scrollTo({top:b,behavior:"smooth"})}
function DF_M6i(a,b,c){var d=a.g,e=d.scrollTop,f=b.offsetTop-(c!=null?c:0);if(b.offsetTop+b.offsetHeight+(c!=null?c:0)>d.scrollTop+d.clientHeight||f<e)b.offsetHeight>d.clientHeight&&(a.Z=!0),DF_Mbj(a,d.scrollTop-(e-f))}DF_M.Qd=function(){var a=this.g;DF_Mbj(this,a.scrollHeight-a.clientHeight)};function DF_M$i(a){var b=a.g;a.g.addEventListener("scroll",function(){var c=Math.ceil(b.scrollTop),d=c<Math.min(a.Aa,b.scrollHeight-b.clientHeight);a.ra=DF_M5i(b)&&(d||a.Z||a.ra);a.Aa=c;a.Z=!1;a.o=!1})}
function DF_M5i(a){return a.scrollHeight>a.clientHeight&&a.scrollHeight-Math.ceil(a.scrollTop)>a.clientHeight}function DF_Mcj(a,b){return(a=b?a.botActorImage:a.userActorImage)?DF_Mu(DF_MWi,a):null}function DF_Mdj(a){return a.messages.map(function(b){var c=b.isBot;return DF_Mu(DF_MVi,c?"bot":"user",DF_Mcj(a,c),DF_Mu(DF_MXi,a.minimized?"minimized":"",b,a.languageCode))})}function DF_Mej(a){var b=DF_Mo(a.languageCode,"jumpToBottom");return DF_Mu(DF_M2i,b,a.Qd,b)}
DF_M.render=function(){var a=this.ra?"show-shadow":"",b=DF_Mdj(this);if(this.showBotWriting){if(this.botWritingImage)var c=DF_Mu(DF_MZi,this.botWritingImage);else{var d;c=DF_Mu(DF_M_i,(d=this.botWritingText)!=null?d:"...")}c=DF_Mu(DF_MVi,"bot",DF_Mcj(this,!0),DF_Mu(DF_MYi,c))}else c=null;return DF_Mu(DF_M3i,a,DF_Mu(DF_M0i,b,c),DF_Mu(DF_M1i,this.ra?"show":"",DF_Mej(this),this.ra?"show":"",DF_Mej(this)))};
DF_Ma.Object.defineProperties(DF_M0.prototype,{listScrollTop:{configurable:!0,enumerable:!0,set:function(a){this.N=a;this.ma&&DF_Maj(this,a)}},g:{configurable:!0,enumerable:!0,get:function(){return this.T.querySelector("#message-list")}}});var DF_M1=DF_M0;DF_M1.j=[DF_MEd,DF_My];DF_Mk([DF_Ms({l:"enable-code-highlight",type:Boolean}),DF_Ml("design:type",Object)],DF_M1.prototype,"enableCodeHighlight",void 0);
DF_Mk([DF_Ms({l:"bot-writing-text",type:String}),DF_Ml("design:type",Object)],DF_M1.prototype,"botWritingText",void 0);DF_Mk([DF_Ms({l:"bot-writing-image",type:String}),DF_Ml("design:type",Object)],DF_M1.prototype,"botWritingImage",void 0);DF_Mk([DF_Ms({l:"url-allowlist",type:String}),DF_Ml("design:type",Object)],DF_M1.prototype,"urlAllowlist",void 0);DF_Mk([DF_Ms({l:"bot-actor-image",type:String}),DF_Ml("design:type",Object)],DF_M1.prototype,"botActorImage",void 0);
DF_Mk([DF_Ms({l:"user-actor-image",type:String}),DF_Ml("design:type",Object)],DF_M1.prototype,"userActorImage",void 0);DF_Mk([DF_Ms({l:"minimized",type:Boolean,L:!0}),DF_Ml("design:type",Object)],DF_M1.prototype,"minimized",void 0);DF_Mk([DF_Ms({type:Boolean}),DF_Ml("design:type",Object)],DF_M1.prototype,"showBotWriting",void 0);DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_M1.prototype,"initialMessages",void 0);
DF_Mk([DF_Ms({type:Array}),DF_Ml("design:type",Array)],DF_M1.prototype,"messages",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M1.prototype,"ra",void 0);DF_M1=DF_Mk([DF_Mp("df-messenger-message-list")],DF_M1);var DF_Mfj=DF_Mq([".titlebar-wrapper{align-items:center;background:var(--df-messenger-titlebar-background,var(--df-messenger-titlebar-background-color,var(--df-messenger-primary-color,var(--df-messenger-default-primary-color)\n )\n )\n );border:var(--df-messenger-titlebar-border,none);border-bottom:var(--df-messenger-titlebar-border-bottom,none);border-top-left-radius:var(--df-messenger-chat-border-radius,var(--df-messenger-default-chat-border-radius)\n );border-top-right-radius:var(--df-messenger-chat-border-radius,var(--df-messenger-default-chat-border-radius)\n );color:var(--df-messenger-titlebar-font-color,#fff);display:flex;min-height:50px;padding:var(--df-messenger-titlebar-padding,0 15px)}#titlebar-title{align-items:center;display:flex;flex-direction:var(--df-messeng
function DF_Mlj(){var a=DF_Mz.apply(this,arguments)||this;a.chatTitle=null;a.chatSubtitle=null;a.chatTitleIcon=null;return a}DF_Mc(DF_Mlj,DF_Mz);DF_Mlj.F=DF_Mz.F;DF_Mlj.s=DF_Mz.s;DF_Mlj.u=DF_Mz.u;DF_Mlj.h=DF_Mz.h;DF_Mlj.g=DF_Mz.g;DF_Mlj.D=DF_Mz.D;DF_Mlj.i=DF_Mz.i;DF_Mlj.v=DF_Mz.v;DF_Mlj.m=DF_Mz.m;DF_Mlj.C=DF_Mz.C;
DF_Mlj.prototype.render=function(){var a=this.chatTitleIcon?DF_Mu(DF_Mgj,this.chatTitleIcon):null;var b=(b=DF_M4a(this.chatTitle,this.languageCode,"chatTitle"))?DF_Mu(DF_Mhj,b):null;var c=this.chatSubtitle?DF_Mu(DF_Mij,this.chatSubtitle):null;return DF_Mu(DF_Mkj,a,b||c?DF_Mu(DF_Mjj,b,c):null)};var DF_Mmj=DF_Mlj;DF_Mmj.j=[DF_Mfj,DF_My];DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mmj.prototype,"chatTitle",void 0);
DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mmj.prototype,"chatSubtitle",void 0);DF_Mk([DF_Ms({type:String}),DF_Ml("design:type",Object)],DF_Mmj.prototype,"chatTitleIcon",void 0);DF_Mmj=DF_Mk([DF_Mp("df-messenger-titlebar")],DF_Mmj);var DF_Mnj=DF_Mq([":host{--df-messenger-internal-input-font-size:var(--df-messenger-input-font-size,var(--df-messenger-font-size,var(--df-messenger-default-font-size)\n )\n );--df-messenger-internal-input-font-color:var(--df-messenger-input-font-color,var(--df-messenger-font-color,var(--df-messenger-default-font-color)\n )\n );--df-messenger-internal-input-font-family:var(--df-messenger-input-font-family,var(--df-messenger-font-family,var(--df-messenger-default-font-family)\n )\n )}.input-container{background:var(--df-messenger-input-background,var(--df-messenger-input-background-color,#fff)\n );border:var(--df-messenger-input-border,none);border-bottom-left-radius:var(--df-messenger-chat-border-radius,var(--df-messenger-default-chat-border-r
DF_Mrj=DF_Mf(['<img\n class="file-upload-icon"\n src="','" />']),DF_Msj=DF_Mf(['<textarea class="input-box" disabled rows="1"></textarea>']),DF_Mtj=DF_Mf(' <textarea\n class="input-box"\n rows="1"\n @input=;\n @keydown=;\n @focusin=;\n @focusout=;\n type="text"\n aria-label=";"\n placeholder=";"></textarea>'.split(";")),DF_Muj=DF_Mf(' <button\n class="microphone action-button focus-outline\n ;"\n ?disabled=;\n aria-label=";"\n @click=;>\n ;\n </button>'.split(";")),
DF_Mvj=DF_Mf([' <div class="audio-state">\n <img src="','" />\n <button\n class="focus-outline"\n @click=',">\n ","\n </button>\n </div>"]),DF_Mwj=DF_Mf(' <div\n class="file-state ;">\n ;\n <span class="file-name">;</span>\n <button\n class="focus-outline"\n @click=;>\n ;\n </button>\n </div>'.split(";")),DF_Mxj=DF_Mf(['<img\n class="image-preview"\n src="','" />']),DF_Myj=DF_Mf(['<span class="material-icons file-icon">',
"</span>"]),DF_Mzj=DF_Mf(' <div\n class="input-element-wrapper"\n @mousedown=;\n @click=;>\n <div class="input-content-wrapper">\n ;\n \x3c!-- Additional elements. --\x3e\n ; ;\n </div>\n ;\n </div>'.split(";")),DF_MAj=DF_Mf(' <style>\n @import url(https://fonts.googleapis.com/icon?family=Material+Icons);\n </style>\n <div class="input-container">\n <div\n class="popout-wrapper ,"\n aria-hidden=,>\n <div class="popout error">\n <span class="material-icons">warning_amber</span>\n <div>,</div>\n </div>\n </div>\n <div\n class="popout-wrapper\n ,"\n aria-hidden=,>\n <div class="popout warning">\n <span class="material-icons">error_outline</span>\n <div>,</div>\n </div>\n </div>\n <div class="input-box-wrapper ,">\n ,\n <div\n class="input-wrapper ,">\n
DF_MBj=DF_Mq(DF_Mpj,DF_MAd(DF_Mq(DF_Moj),!1));function DF_M2(){var a=DF_Mz.apply(this,arguments)||this;a.disabled=!1;a.submitDisabled=!1;a.ya=!1;a.Mb="";a.Ka=!1;a.nb=!1;a.sb=!1;a.placeholderText=null;a.maxInputValueLength=256;a.enableFileUpload=!1;a.fileUploadIcon=null;a.enableAudioInput=!1;a.audioStateImageActive=null;a.audioStateImagePassive=null;a.file=null;a.audio=null;a.V=null;return a}DF_Mc(DF_M2,DF_Mz);DF_M2.F=DF_Mz.F;DF_M2.s=DF_Mz.s;DF_M2.u=DF_Mz.u;DF_M2.h=DF_Mz.h;DF_M2.g=DF_Mz.g;
DF_M2.D=DF_Mz.D;DF_M2.i=DF_Mz.i;DF_M2.v=DF_Mz.v;DF_M2.m=DF_Mz.m;DF_M2.C=DF_Mz.C;DF_M=DF_M2.prototype;
DF_M.kc=function(){var a=this,b,c;return DF_Mh(function(d){if(d.g==1){if(a.disabled||a.submitDisabled||!(DF_MCj(a)||a.file||a.audio||a.V))return d.return();(b=DF_MCj(a))||!a.V?(d.g=2,d=void 0):d=DF_Mg(d,DF_MDj(a.V),2);return d}c=DF_Mm(a,"df-user-input-entered",Object.assign({},b?{input:a.g}:{},a.file?{file:a.file}:{},a.audio?{audio:a.audio}:{}));if(!c)return d.return();b&&(a.fb.renderCustomText(a.g,!1),a.sendRequest(a.g));DF_MEj(a);d.g=0})};
DF_M.jc=function(){this.na.style.height="";this.na.style.height=this.na.scrollHeight.toString()+"px";var a=this.g.length;DF_Mab(a,this.maxInputValueLength)?(this.ya=!1,this.Ka=a>256):(this.ya=!0,this.Mb=DF_Mo(this.languageCode,"messageTooLong",{numOfChars:""+(a-this.maxInputValueLength)}),this.Ka=!1);DF_MVa(this)};DF_M.sendRequest=function(a){var b=this,c;return DF_Mh(function(d){return DF_Mg(d,(c=b.fb)==null?void 0:c.presenter.sendQuery(a),0)})};
function DF_MEj(a){a.audio=null;a.file=null;var b=a.na;b&&(a.ya=!1,a.Ka=!1,b.value="",b.style.height="")}function DF_MCj(a){var b=a.g.length;return b>0&&DF_Mab(b,a.maxInputValueLength)}DF_M.Sc=function(){var a=this;this.sb=!this.nb;setTimeout(function(){a.nb=!1},1)};DF_M.Tc=function(){this.sb=!1};DF_M.Fd=function(){this.T.querySelector(".upload-icon-button-wrapper input").click()};
function DF_MFj(a,b){b.stopPropagation();a.fb&&(a.V?DF_MDj(a.V):(DF_MEj(a),a.V=a.fb.presenter.createAudioRecorder(),DF_MGj(a.V).then(function(c){c&&(a.audio=c,DF_Mm(a,"df-audio-input-recorded",{data:c}))}).catch(function(){}).finally(function(){a.V=null})))}
function DF_MHj(a){if(!a.enableFileUpload)return null;var b=DF_Mo(a.languageCode,"uploadFileAriaLabel");return DF_Mu(DF_Mqj,!(!a.disabled&&!a.submitDisabled),b,a.Fd,a.fileUploadIcon?DF_Mu(DF_Mrj,a.fileUploadIcon):DF_M6d,function(c){var d,e=(d=c.target.files)==null?void 0:d[0];e&&(a.audio=null,a.file=e,DF_Mm(a,"df-upload-file-selected",{file:e}),c.target.value="")})}
function DF_MIj(a){if(a.V||a.audio)return null;if(a.disabled)return DF_Mu(DF_Msj);var b=a.placeholderText||DF_Mo(a.languageCode,"askSomething"),c=DF_Mo(a.languageCode,"inputAriaLabel");return DF_Mu(DF_Mtj,a.jc,function(d){d.key!=="Enter"||d.shiftKey||(d.preventDefault(),DF_MCj(a)&&a.kc())},a.Sc,a.Tc,c,b)}
function DF_MJj(a){if(!a.enableAudioInput)return null;var b=DF_Mo(a.languageCode,"microphoneAriaLabel");return DF_Mu(DF_Muj,a.V?"active":"",!(!a.disabled&&!a.submitDisabled),b,function(c){return void DF_MFj(a,c)},DF_M7d)}
function DF_MKj(a){return a.V||a.audio?DF_Mu(DF_Mvj,a.V?a.audioStateImageActive||"https://www.gstatic.com/dialogflow-console/common/assets/dialogflow-messenger/sound-wave.gif":a.audioStateImagePassive||"https://www.gstatic.com/dialogflow-console/common/assets/dialogflow-messenger/sound-wave-silent.gif",function(b){b.stopPropagation();a.audio=null;(b=a.V)!=null&&(b.Ub=!0,DF_MDj(b))},DF_MXd):null}
function DF_MLj(a){return a.file?DF_Mu(DF_Mwj,DF_Mbb.has(a.file.type)?"image":"file",DF_MMj(a.file),a.file.name,function(b){b.stopPropagation();a.file=null},DF_MXd):null}
function DF_MMj(a){if(DF_Mbb.has(a.type)){if(typeof MediaSource!=="undefined"&&a instanceof MediaSource)a=new DF_M7b(URL.createObjectURL(a));else{var b=a.type;b.toLowerCase()==="application/octet-stream"?b=!0:(b=b.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i),b=(b==null?void 0:b.length)===2&&(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:3gpp|avi|mpeg|mpg|mp4|ogg|webm|x-flv|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||
/^font\/[\w-]+$/i.test(b[1])));if(!b)throw Error("");a=new DF_M7b(URL.createObjectURL(a))}a=DF_Mu(DF_Mxj,a)}else a=DF_Mu(DF_Myj,a.type==="application/pdf"?"picture_as_pdf":"file_present");return a}function DF_MNj(a){return DF_Mu(DF_Mzj,function(){return a.nb=!0},function(){var b;return void((b=a.na)==null?void 0:b.focus())},DF_MIj(a),DF_MKj(a),DF_MLj(a),DF_MJj(a))}
DF_M.render=function(){var a=DF_Mo(this.languageCode,"sendAriaLabel"),b=DF_Mo(this.languageCode,"messageTooLongWarning");return DF_Mu(DF_MAj,this.ya?"show":"",!this.ya,this.Mb,this.Ka?"show warning-wrapper":"",!this.Ka,b,this.sb?"show-focus":"",DF_MHj(this),this.enableFileUpload?"with-upload":"",DF_MNj(this),this.active?"active action-button":"",!this.active,this.kc,a)};
DF_Ma.Object.defineProperties(DF_M2.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return!this.ya&&!this.disabled&&!this.submitDisabled&&(DF_MCj(this)||!!this.file||!!this.audio||!!this.V)}},na:{configurable:!0,enumerable:!0,get:function(){return this.T.querySelector("textarea")}},g:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.na)==null?void 0:a.value)||""}}});var DF_M3=DF_M2;DF_M3.j=[DF_Mnj,DF_My,DF_MBj];
DF_Mk([DF_M_a({context:"df-instance",subscribe:!0}),DF_Ml("design:type",Object)],DF_M3.prototype,"fb",void 0);DF_Mk([DF_Ms({l:!1}),DF_Ml("design:type",Object)],DF_M3.prototype,"disabled",void 0);DF_Mk([DF_Ms({l:!1}),DF_Ml("design:type",Object)],DF_M3.prototype,"submitDisabled",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M3.prototype,"ya",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M3.prototype,"Mb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M3.prototype,"Ka",void 0);
DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M3.prototype,"sb",void 0);DF_Mk([DF_Ms({l:!1,type:String}),DF_Ml("design:type",Object)],DF_M3.prototype,"placeholderText",void 0);DF_Mk([DF_Ms({l:!1,type:Number}),DF_Ml("design:type",Object)],DF_M3.prototype,"maxInputValueLength",void 0);DF_Mk([DF_Ms({l:!1,type:Boolean}),DF_Ml("design:type",Object)],DF_M3.prototype,"enableFileUpload",void 0);DF_Mk([DF_Ms({l:!1,type:String}),DF_Ml("design:type",Object)],DF_M3.prototype,"fileUploadIcon",void 0);
DF_Mk([DF_Ms({l:!1,type:Boolean}),DF_Ml("design:type",Object)],DF_M3.prototype,"enableAudioInput",void 0);DF_Mk([DF_Ms({l:!1,type:String}),DF_Ml("design:type",Object)],DF_M3.prototype,"audioStateImageActive",void 0);DF_Mk([DF_Ms({l:!1,type:String}),DF_Ml("design:type",Object)],DF_M3.prototype,"audioStateImagePassive",void 0);DF_Mk([DF_Ms({l:!1,type:File}),DF_Ml("design:type",Object)],DF_M3.prototype,"file",void 0);
DF_Mk([DF_Ms({l:!1,type:Blob}),DF_Ml("design:type",Object)],DF_M3.prototype,"audio",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M3.prototype,"V",void 0);DF_M3=DF_Mk([DF_Mp("df-messenger-user-input")],DF_M3);var DF_MOj=DF_Mf(['<div\n class="function-call\n ','">\n <button @click=',">\n ","\n </button>\n </div>"]),DF_MPj=DF_Mf([' <div class="error ','">\n ',"\n </div>"]),DF_MQj=DF_Mf(' ;\n <div class="message-list-wrapper">\n ; ;\n ;\n </div>\n <df-messenger-user-input\n class="border-top"\n .disabled=;\n .submitDisabled=;\n .placeholderText=;\n .maxInputValueLength=;\n .enableFileUpload=;\n .enableAudioInput=;\n .audioStateImageActive=;\n .audioStateImagePassive=;\n .fileUploadIcon=;\n .languageCode=;></df-messenger-user-input>'.split(";")),
DF_MRj=DF_Mf(["<df-messenger-auth-screen\n .requestAuthText=","></df-messenger-auth-screen>"]),DF_MSj=DF_Mf(['<div class="demo-banner">\n UI Demo. Not connected to an agent.\n </div>']),DF_MTj=DF_Mf([' <slot name="titlebar">\n \x3c!--\n Use default titlebar, used if nothing else specified for the slot.\n --\x3e\n <df-messenger-titlebar\n .chatTitle=',"\n .chatSubtitle=","\n .chatTitleIcon=","\n .languageCode=",'>\n <slot name="titlebar-actions" slot="action"></slot>\n </df-messenger-titlebar>\n </slot>']),
DF_MUj=DF_Mf([' <div\n class="chat-wrapper"\n role="dialog"\n aria-label="','">\n '," "," ","\n </div>"]);
function DF_MVj(){var a=DF_Mx.apply(this,arguments)||this;a.noTitlebar=!1;a.isNestedChatElement=!1;a.Ca=null;a.o=null;a.botWriting=!1;a.isAuthenticationPending=!1;a.Nb=!1;a.isWaitingForElement=!1;a.g=new DF_M1;a.N=DF_M$a(function(){if(!a.R)return!1;a.R.registerMessageConsumer(a.g);DF_MWj(a);setTimeout(function(){var b,c;a.g.listScrollTop=(c=(b=a.R)==null?void 0:b.presenter.getChatScrollDistance())!=null?c:0});a.isNestedChatElement||DF_Mjd(a);return!0});return a}DF_Mc(DF_MVj,DF_Mx);DF_MVj.F=DF_Mx.F;
DF_MVj.s=DF_Mx.s;DF_MVj.u=DF_Mx.u;DF_MVj.h=DF_Mx.h;DF_MVj.g=DF_Mx.g;DF_MVj.D=DF_Mx.D;DF_MVj.i=DF_Mx.i;DF_MVj.v=DF_Mx.v;DF_MVj.m=DF_Mx.m;DF_MVj.C=DF_Mx.C;DF_M=DF_MVj.prototype;DF_M.connectedCallback=function(){var a=this;DF_Mx.prototype.connectedCallback.call(this);this.id="df-chat-wrapper";this.addEventListener("df-messenger-message-list-highest-scrolltop",function(b){b=b.detail.scrollTop;var c;(c=a.R)==null||c.presenter.storeChatScrollDistance(b)})};
DF_M.sa=function(a){DF_Mx.prototype.sa.call(this,a);this.N()};DF_M.setInput=function(a){var b;if((b=this.T.querySelector("df-messenger-user-input"))!=null){b.file=null;b.audio=null;var c=b.na;if(c){c.value=a;if(a=b.na)b.nb=!0,a.focus();b.jc()}}};function DF_MWj(a){var b;(b=a.R)==null||b.addEventListener("df-messenger-error",function(c){var d,e;a.Ca=(e=(d=c.detail.error.error)==null?void 0:d.status)!=null?e:null;clearTimeout(a.Z);a.Z=setTimeout(function(){a.Ca=null},5E3)})}
DF_M.Bd=function(){var a;(a=this.R)==null||a.abandonClientSideFunctionCalls()};
DF_M.render=function(){var a=DF_M4a(this.chatTitle,this.languageCode,"chatTitle");var b=this.isWaitingForElement;var c=this.botWriting||this.Nb,d,e=this.noTitlebar?null:DF_Mu(DF_MTj,this.chatTitle,this.chatSubtitle,this.chatTitleIcon,this.languageCode),f,g=DF_Mo(this.languageCode,((f=this.Ca)!=null?f:this.o)==="403"?"authErrorMessage":"genericErrorMessage");this.o=this.Ca;f=DF_Mu(DF_MPj,this.Ca?"show":"",g);var h;this.g.enableCodeHighlight=((h=this.R)==null?void 0:h.enableCodeHighlight)||!1;var k;
this.g.urlAllowlist=((k=this.R)==null?void 0:k.urlAllowlist)||null;this.g.languageCode=this.languageCode;this.g.showBotWriting=this.botWriting;this.g.botWritingText=this.botWritingText;this.g.botWritingImage=this.botWritingImage;this.g.botActorImage=this.botActorImage;this.g.userActorImage=this.userActorImage;h=this.g;k=DF_Mo(this.languageCode,"cancelClientSideTask");b=DF_Mu(DF_MQj,e,f,h,DF_Mu(DF_MOj,this.Nb?"show":"",this.Bd,k),b,c,this.placeholderText,((d=this.R)==null?void 0:d.maxQueryLength)||
DF_Mv,this.enableFileUpload,this.enableAudioInput,this.audioStateImageActive,this.audioStateImagePassive,this.fileUploadIcon,this.languageCode);return DF_Mu(DF_MUj,a,b,this.isAuthenticationPending?DF_Mu(DF_MRj,this.requestAuthText):null,DF_Mu(DF_MSj))};var DF_MXj=DF_MVj;DF_MXj.j=[DF_MDd,DF_My];DF_Mk([DF_Ms({l:"no-titlebar",type:Boolean,L:!0}),DF_Ml("design:type",Object)],DF_MXj.prototype,"noTitlebar",void 0);
DF_Mk([DF_Ms({l:!1,type:Boolean}),DF_Ml("design:type",Object)],DF_MXj.prototype,"isNestedChatElement",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_MXj.prototype,"Ca",void 0);DF_Mk([DF_M_a({context:"df-botwriting",subscribe:!0}),DF_Mt(),DF_Ml("design:type",Object)],DF_MXj.prototype,"botWriting",void 0);DF_Mk([DF_M_a({context:"df-authenticationpending",subscribe:!0}),DF_Mt(),DF_Ml("design:type",Object)],DF_MXj.prototype,"isAuthenticationPending",void 0);
DF_Mk([DF_M_a({context:"df-executingclientsidefunction",subscribe:!0}),DF_Mt(),DF_Ml("design:type",Object)],DF_MXj.prototype,"Nb",void 0);DF_Mk([DF_M_a({context:"df-iswaitingforelement",subscribe:!0}),DF_Mt(),DF_Ml("design:type",Object)],DF_MXj.prototype,"isWaitingForElement",void 0);DF_MXj=DF_Mk([DF_Mp("df-messenger-chat")],DF_MXj);var DF_MYj=DF_Mq([":host{--df-messenger-internal-chat-bubble-size:var(--df-messenger-chat-bubble-size,64px);--df-messenger-internal-chat-window-offset:var(--df-messenger-chat-window-offset,16px);--df-messenger-internal-chat-bubble-size-offset:calc(var(--df-messenger-internal-chat-bubble-size) + var(--df-messenger-internal-chat-window-offset));--df-messenger-internal-chat-bubble-size-half:calc(var(--df-messenger-internal-chat-bubble-size)/2);--df-messenger-internal-chat-bubble-size-half-neg:calc(0px - var(--df-messenger-internal-chat-bubble-size)/2);--df-messenger-internal-chat-bubble-size-half-offset:calc(var(--df-messenger-internal-chat-bubble-size)/2 + var(--df-messenger-interna
function DF_M6j(a){if(a.g&&!a.g.closed)a.g.focus();else if(a.workforcePoolProvider)if(a.i&&a.h){for(var b={},c=DF_Md(document.querySelectorAll("style")),d=c.next();!d.done;d=c.next()){var e=void 0,f=void 0;d=(f=(e=d.value.sheet)==null?void 0:e.cssRules)!=null?f:[];e=DF_Md(d);for(f=e.next();!f.done;f=e.next())if(f=f.value,f instanceof CSSStyleRule)for(f=f.style,d=0;d<f.length;d++){var g=f[d];g.startsWith("--df-messenger-")&&(b[g]=f.getPropertyValue(g))}}c=DF_Mtc(DF_M0j,new Map([["messengerAttrs",JSON.stringify(DF_M2j(a.i))],
["chatAttrs",JSON.stringify(DF_M2j(a.h))],["customCss",JSON.stringify(b)]]));c=DF_M4j(a.workforcePoolProvider,c.toString());e=DF_M3j(b["--df-messenger-chat-window-width"])||320;b=DF_M3j(b["--df-messenger-chat-window-height"])||560;b="popup,width="+e+",height="+b+",left="+(window.screenX+window.outerWidth-e)+",top="+(window.screenY+window.outerHeight-b);e=window;c=DF_Mqc(c.toString());b=c!==void 0?e.open(c,"df_messenger_popup",b):null;a.g=b}else console.error("DF-MESSENGER","ByoidPopupManager","elements not found");
else console.error("DF-MESSENGER","ByoidPopupManager","workforce pool ID not defined")};var DF_M7j=DF_Mf('\n <div class="container">\n <button\n class="close-button bubble focus-outline"\n @click=;\n aria-expanded=";"\n aria-label=";">\n ;\n <span class="close-icon ;">\n ;\n </span>\n </button>\n ; ;\n </div>\n '.split(";")),DF_M8j=DF_Mf([' <span class="icon ','">\n ',"\n </span>"]),DF_M9j=DF_Mf([' <img\n src="','"\n alt=""\n class="icon ','" />']),DF_M$j=
DF_Mf(['<img src="','" alt="" />']),DF_Mak=DF_Mf([' <style>\n @import url(https://fonts.googleapis.com/icon?family=Material+Icons);\n .close-action {\n margin: 0;\n padding: 12px;\n color: var(--df-messenger-titlebar-icon-font-color, inherit);\n }\n </style>\n <button\n class="material-icons close-action focus-outline-contrast\n action-button"\n @click=','\n slot="action"\n aria-label="',
'">\n ',"\n </button>"]),DF_Mbk=DF_Mf([' <style>\n .close-action {\n margin: 0;\n padding: 12px;\n background: var(\n --df-messenger-titlebar-button-background,\n transparent\n );\n border: var(--df-messenger-titlebar-button-border, none);\n border-radius: var(\n --df-messenger-titlebar-button-border-radius,\n 999px\n );\n cursor: pointer;\n transition: background-color 0.3s;\n }\n\n .close-action:hover {\n background: var(\n --df-messenger-titlebar-button-background-hover,\n rgba(200, 220, 252, 0.08)\n );\n transition: background-color 0.3s;\n }\n\n .close-action img {\n width: var(--df-messenger-chat-collapse-icon-size, unset);\n height: var(--df-messenger-chat-collapse-icon-size, unset);\n }\n </style>\n <button\n class="close-action focus-outl
'\n slot="action"\n aria-label="','">\n <img src="','" />\n </button>']),DF_Mck=DF_Mf('\n <div\n style=;\n class="chat-wrapper\n ; ;\n ;">\n <df-messenger-chat\n .chatTitle=;\n .chatSubtitle=;\n .botWritingText=;\n .botWritingImage=;\n .requestAuthText=;\n .placeholderText=;\n .botActorImage=;\n .userActorImage=;\n .enableFileUpload=;\n .enableAudioInput=;\n .audioStateImageActive=;\n .audioStateImagePassive=;\n .fileUploadIcon=;\n .isNestedChatElement=;>\n <df-messenger-titlebar\n .chatTitle=;\n .chatSubtitle=;\n .chatTitleIcon=;\n .languageCode=;\n slot="titlebar">\n <slot name="titlebar-actions" slot="action"></slot>\n ;\n </df-messenger-titlebar>\n </df-messenger-chat>\n </div>\n '.split(";")),
DF_Mdk=DF_Mf(["",""]),DF_Mek=DF_Mf(['<img src="','" />']),DF_Mfk=DF_Mf(' <div\n class="min-chat-wrapper ;"\n @click=;>\n <df-messenger-message-list\n minimized\n .initialMessages=;\n .botActorImage=;\n .userActorImage=;></df-messenger-message-list>\n <button\n class="action-button"\n @click=;>\n ;\n </button>\n </div>'.split(";"));
function DF_M4(){var a=DF_Mx.apply(this,arguments)||this;a.anchor=null;a.minimized=null;a.chatIcon=null;a.chatCloseIcon=null;a.chatCollapseIcon=null;a.allowFullscreen=null;a.o=null;a.Z=DF_M$a(function(){if(!a.R)return!1;a.g&&(a.expanded=!1,a.minimized=null,a.o=new DF_M5j(a.R.workforcePoolProvider,a.R,a));a.expanded===void 0&&(a.expanded=a.R.presenter.isChatBubbleExpanded());a.expanded&&(a.minimized=null);DF_Mgk(a);(a.expanded||a.minimized)&&DF_Mjd(a).finally(function(){return void DF_MVa(a)});return!0});
return a}DF_Mc(DF_M4,DF_Mx);DF_M4.F=DF_Mx.F;DF_M4.s=DF_Mx.s;DF_M4.u=DF_Mx.u;DF_M4.h=DF_Mx.h;DF_M4.g=DF_Mx.g;DF_M4.D=DF_Mx.D;DF_M4.i=DF_Mx.i;DF_M4.v=DF_Mx.v;DF_M4.m=DF_Mx.m;DF_M4.C=DF_Mx.C;DF_M=DF_M4.prototype;DF_M.connectedCallback=function(){DF_Mhk(this);DF_Mik(this);DF_Mjk(this);DF_Mx.prototype.connectedCallback.call(this)};DF_M.ia=function(a){var b=this;DF_Mx.prototype.ia.call(this,a);DF_Mkk(this);window.addEventListener("resize",function(){return void DF_Mkk(b)})};
DF_M.sa=function(a){DF_Mx.prototype.sa.call(this,a);this.Z();a.has("chatIcon")&&DF_Mhk(this);a.has("chatCloseIcon")&&DF_Mik(this);a.has("chatCollapseIcon")&&DF_Mjk(this)};DF_M.openChat=function(){if(this.g){var a;(a=this.o)==null||DF_M6j(a)}else this.expanded||this.Za()};DF_M.closeChat=function(){this.expanded&&this.Za()};
DF_M.openMinChat=function(a){var b=this,c;return DF_Mh(function(d){if(d.g==1)return b.expanded=!1,DF_Mg(d,DF_Mjd(b),2);b.minimized=((c=a)==null?void 0:c.anchor)||"left-top";b.N=a;d.g=0})};DF_M.closeMinChat=function(){this.minimized=null;this.N=void 0};DF_M.setInput=function(a){var b;(b=this.T.querySelector("df-messenger-chat"))==null||b.setInput(a)};DF_M.Cd=function(){if(this.g){var a;(a=this.o)==null||DF_M6j(a)}else this.Za()};
DF_M.Za=function(){var a=this,b;return DF_Mh(function(c){if(c.g==1)return a.expanded=!a.expanded,a.minimized=null,DF_Mgk(a),(b=a.R)==null||b.presenter.storeChatBubbleExpanded(a.expanded),a.expanded?c=DF_Mg(c,DF_Mjd(a),2):(c.g=2,c=void 0),c;DF_Mkk(a);c.g=0})};function DF_Mgk(a){DF_Mm(a,"df-chat-open-changed",{isOpen:a.expanded})}
function DF_Mkk(a){var b=a.T.querySelector(".chat-wrapper");b&&(a.expanded?b.style.transform="":a.allowFullscreen==="always"||a.allowFullscreen==="small"&&window.innerWidth<500?(a=a.parentElement.getBoundingClientRect(),b.style.transform="translate("+((a.left+a.right)/2-window.innerWidth/2)+"px, "+((a.top+a.bottom)/2-window.innerHeight/2)+"px) scale(0.01, 0.01)"):b.style.transform="")}
DF_M.render=function(){var a=DF_Mlk(this,!!this.expanded),b=this.Cd,c=!!this.expanded,d=this.bb===void 0?null:this.bb?DF_Mu(DF_M8j,this.expanded?"fade":"",DF_MWd):DF_Mu(DF_M9j,this.chatIcon,this.expanded?"fade":""),e=this.expanded?"rotate-fade":"",f=this.xb?DF_MXd:DF_Mu(DF_M$j,this.chatCloseIcon);if(this.g)var g=null;else{g={};this.chatWidth&&(g.width=this.chatWidth+"px");this.chatHeight&&(g.height=this.chatHeight+"px");g=DF_MWe(g);var h=this.expanded?"expanded":"",k=this.anchor,l=this.allowFullscreen?
"fullscreen-"+this.allowFullscreen:"",m=this.chatTitle,n=this.chatSubtitle,p=this.botWritingText,q=this.botWritingImage,r=this.requestAuthText,u=this.placeholderText,v=this.botActorImage,t=this.userActorImage,x=this.enableFileUpload,y=this.enableAudioInput,w=this.audioStateImageActive,z=this.audioStateImagePassive,A=this.fileUploadIcon,B=this.chatTitle,D=this.chatSubtitle,E=this.chatTitleIcon,F=this.languageCode,C=DF_Mlk(this,!0);g=DF_Mu(DF_Mck,g,h,k,l,m,n,p,q,r,u,v,t,x,y,w,z,A,!0,B,D,E,F,this.ab?
DF_Mu(DF_Mak,this.Za,C,DF_Mmk(this)):DF_Mu(DF_Mbk,this.Za,C,this.chatCollapseIcon))}return DF_Mu(DF_M7j,b,c,a,d,e,f,g,DF_Mnk(this))};function DF_Mhk(a){a.chatIcon?DF_M2a(a.chatIcon,function(){a.bb=!1},function(){a.bb=!0}):a.bb=!0}function DF_Mik(a){a.chatCloseIcon?DF_M2a(a.chatCloseIcon,function(){a.xb=!1},function(){a.xb=!0}):a.xb=!0}function DF_Mjk(a){a.chatCollapseIcon?DF_M2a(a.chatCollapseIcon,function(){a.ab=!1},function(){a.ab=!0}):a.ab=!0}
function DF_Mmk(a){switch(a.anchor){case "top-left":case "left-top":return"south_east";case "top-right":case "right-top":return"south_west";case "right-bottom":case "bottom-right":return"north_west";case "left-bottom":case "bottom-left":return"north_east";default:return"south_east"}}function DF_Mlk(a,b){return DF_Mo(a.languageCode,b?"closeAriaLabel":"openAriaLabel",{chatTitle:DF_M4a(a.chatTitle,a.languageCode,"chatTitle")})}
function DF_Mnk(a){if(!a.minimized||a.g)return null;var b,c=(b=a.R)==null?void 0:b.presenter.getUtterances();if(!c||c.length===0)return null;b=a.ab?DF_Mu(DF_Mdk,DF_MXd):DF_Mu(DF_Mek,a.chatCollapseIcon);var d,e;return DF_Mu(DF_Mfk,a.minimized,a.Ed,[c[0]],((d=a.N)==null?0:d.showActorImages)?a.botActorImage:DF_Mv,((e=a.N)==null?0:e.showActorImages)?a.userActorImage:DF_Mv,function(f){f.stopPropagation();a.closeMinChat()},b)}
DF_M.Ed=function(){var a;((a=window.getSelection())==null?void 0:a.type)!=="Range"&&this.openChat()};DF_Ma.Object.defineProperties(DF_M4.prototype,{g:{configurable:!0,enumerable:!0,get:function(){var a;return!((a=this.R)==null||!a.workforcePoolProvider)}}});var DF_M5=DF_M4;DF_M5.j=[DF_MYj,DF_My];DF_Mk([DF_Ms({l:"expanded",type:Boolean}),DF_Ml("design:type",Boolean)],DF_M5.prototype,"expanded",void 0);
DF_Mk([DF_Ms({l:"anchor",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M5.prototype,"anchor",void 0);DF_Mk([DF_Ms({l:"minimized",type:String}),DF_Ml("design:type",Object)],DF_M5.prototype,"minimized",void 0);DF_Mk([DF_Ms({l:"chat-icon",type:String}),DF_Ml("design:type",Object)],DF_M5.prototype,"chatIcon",void 0);DF_Mk([DF_Ms({l:"chat-close-icon",type:String}),DF_Ml("design:type",Object)],DF_M5.prototype,"chatCloseIcon",void 0);
DF_Mk([DF_Ms({l:"chat-collapse-icon",type:String}),DF_Ml("design:type",Object)],DF_M5.prototype,"chatCollapseIcon",void 0);DF_Mk([DF_Ms({l:"chat-width",type:Number,L:!0}),DF_Ml("design:type",Number)],DF_M5.prototype,"chatWidth",void 0);DF_Mk([DF_Ms({l:"chat-height",type:Number,L:!0}),DF_Ml("design:type",Number)],DF_M5.prototype,"chatHeight",void 0);DF_Mk([DF_Ms({l:"allow-fullscreen",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M5.prototype,"allowFullscreen",void 0);
DF_Mk([DF_Mt(),DF_Ml("design:type",Boolean)],DF_M5.prototype,"bb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Boolean)],DF_M5.prototype,"xb",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Boolean)],DF_M5.prototype,"ab",void 0);DF_M5=DF_Mk([DF_Mp("df-messenger-chat-bubble")],DF_M5);function DF_Mok(a){var b={name:"dialogflow"};if(a)try{var c;b=(c=JSON.parse(a))!=null?c:b}catch(d){console.error("DF-MESSENGER",d)}return b};function DF_Mpk(a,b){return{type:"text",text:a,inlineCitation:b}}function DF_Mqk(a){return{type:"customCard",richElements:a}}function DF_Mrk(a){var b=a.filter(DF_Msk);a=a.filter(DF_Mtk);var c=[],d=a.filter(function(e){return e.type==="html"});d.length>0&&c.push.apply(c,DF_Me(d.map(function(e){return e})));b.length>0&&c.push(DF_Mqk(b));DF_Muk(a,"custom_template",c);DF_Muk(a,"match_citations",c);DF_Muk(a,"chips",c);DF_Muk(a,"files",c);return c}
function DF_Muk(a,b,c){a=a.filter(function(d){return d.type===b});a.length!==0&&c.push.apply(c,DF_Me(a.map(function(d){return d})))}function DF_Mtk(a){return a.type==="chips"||a.type==="html"||a.type==="match_citations"||a.type==="custom_template"||a.type==="files"}function DF_Msk(a){return!DF_Mtk(a)};function DF_Mvk(){this.g=null;this.Ub=!1;this.promise=null}
function DF_MGj(a){var b,c,d;return DF_Mh(function(e){switch(e.g){case 1:return e.i=2,DF_Mg(e,navigator.mediaDevices.getUserMedia({audio:!0}),4);case 4:b=e.h;e.g=3;e.i=0;break;case 2:return c=DF_Mra(e),console.error("DF-MESSENGER","AudioRecorder","Could not start recording",c),e.return(Promise.reject(c));case 3:return a.promise&&console.warn("DF-MESSENGER","AudioRecorder","Recording already started"),d=new AudioContext,a.Ub=!1,a.promise=new Promise(function(f,g){a.g=new MediaRecorder(b);a.g.ondataavailable=
function(h){var k,l=(k=a.g)==null?void 0:k.state;a.g=null;a.promise=null;a.Ub?f(null):l!=="inactive"?(console.error("DF-MESSENGER","AudioRecorder","Unexpected recorder state",l),g()):DF_Mwk(h.data,d,f)};a.g.start()}),e.return(a.promise)}})}function DF_MDj(a){var b;return DF_Mh(function(c){(b=a.g)==null||b.stop();a.promise||console.warn("DF-MESSENGER","AudioRecorder","Recording stopped before startRecording");return DF_Mg(c,a.promise,0)})}
function DF_Mwk(a,b,c){var d;DF_Mh(function(e){if(e.g==1)return d=c,DF_Mg(e,DF_MKa(a,b),2);d(e.h);e.g=0})};function DF_Mxk(){}DF_Mxk.prototype.requestAuthentication=function(){return Promise.resolve(void 0)};var DF_Mmg=DF_Mf(["https://accounts.google.com/gsi/client"]);function DF_Myk(a,b){this.clientId=a;this.scope=b}DF_Myk.prototype.requestAuthentication=function(){var a=this;return DF_Mh(function(b){return b.g==1?DF_Mg(b,DF_Mzk(),2):b.return(a.requestAccessToken())})};
DF_Myk.prototype.requestAccessToken=function(){var a=this;return new Promise(function(b,c){globalThis.google.accounts.oauth2.initTokenClient({client_id:a.clientId,scope:a.scope,callback:function(d){var e=console,f=e.debug,g=Object.assign({},d);g.access_token&&(g.access_token="REDACTED");f.call(e,"DF-MESSENGER","requestAccessToken",g);d.access_token?b(Object.assign({},{token:d.access_token},d.expires_in&&{expirationMs:d.expires_in*1E3})):c()},error_callback:function(d){console.error("DF-MESSENGER",
"requestAccessToken",d);c()}}).requestAccessToken()})};var DF_Mzk=function(){var a=null;return function(){if(a==null){var b=document.createElement("script");DF_Mlg(b);a=new Promise(function(c){b.addEventListener("load",function(){return void c()})});document.head.appendChild(b)}return a}}();function DF_MAk(a){this.audience=a}
function DF_MBk(a,b){var c,d,e,f,g;return DF_Mh(function(h){switch(h.g){case 1:return c=JSON.stringify({grantType:"urn:ietf:params:oauth:grant-type:token-exchange",audience:a.audience,scope:"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/cloud-platform",requestedTokenType:"urn:ietf:params:oauth:token-type:access_token",subjectToken:b,subjectTokenType:"urn:ietf:params:oauth:token-type:jwt"}),DF_Mg(h,fetch("https://sts.googleapis.com/v1/token",{method:"POST",body:c}),
2);case 2:d=h.h;if(d.ok){h.g=3;break}return DF_Mg(h,d.text(),4);case 4:throw e=h.h,f=d.status,{message:e,status:f};case 3:return DF_Mg(h,d.json(),5);case 5:return g=h.h,h.return({token:g.access_token,expirationMs:g.expires_in*1E3})}})};function DF_MCk(a,b,c,d){this.clientId=b;this.authority=c;this.redirectUri=d;this.g=new DF_MAk(a)}
DF_MCk.prototype.requestAuthentication=function(){var a=this;return DF_Mh(function(b){return b.return(new Promise(function(c){var d,e,f,g,h;return DF_Mh(function(k){switch(k.g){case 1:return d={auth:{clientId:a.clientId,authority:a.authority,redirectUri:a.redirectUri},cache:{cacheLocation:"sessionStorage"}},e=new window.msal.PublicClientApplication(d),DF_Mg(k,e.initialize(),2);case 2:return f={scopes:["user.read"]},DF_Mg(k,e.loginPopup(f),3);case 3:return g=k.h,DF_Mg(k,DF_MBk(a.g,g.idToken),4);case 4:h=
k.h,c(h),k.g=0}})}))})};function DF_MDk(){this.g=document||{cookie:""}}DF_M=DF_MDk.prototype;
DF_M.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Pd;d=c.Rd||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Cc}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');h===void 0&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString();this.g.cookie=a+"="+b+c+g+h+d+(e!=null?";samesite="+
e:"")};DF_M.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=DF_MKg(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};DF_M.remove=function(a,b,c){var d=this.get(a)!==void 0;this.set(a,"",{Cc:0,path:b,domain:c});return d};DF_M.Sa=function(){return DF_MEk(this).keys};DF_M.wa=function(){return DF_MEk(this).values};
function DF_MEk(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=DF_MKg(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};function DF_MFk(a){this.g=a}DF_MFk.prototype.storeAccessToken=function(a){this.g.storeAccessToken(a.token,(new Date).getTime()+a.expirationMs)};DF_MFk.prototype.restoreAccessToken=function(){var a=this.g.getAccessToken(),b=this.g.getAccessTokenExpiration();if(!a||!b)return null;var c=(new Date).getTime();return b<=c?null:{token:a,expirationMs:b-c}};DF_MFk.prototype.clearAccessToken=function(){this.g.clearAccessToken()};function DF_MGk(){}
DF_MGk.prototype.storeAccessToken=function(a){console.debug("DF-MESSENGER","setAccessTokenCookie",a);var b=new DF_MDk,c={Cc:a.expirationMs/1E3,Rd:!0,Pd:"strict"};b.set("accessToken",a.token,c);b.set("accessTokenExpiration",((new Date).getTime()+a.expirationMs).toString(),c)};DF_MGk.prototype.restoreAccessToken=function(){var a=new DF_MDk,b=a.get("accessToken");a=a.get("accessTokenExpiration");if(!b||!a)return null;a=Number(a);var c=(new Date).getTime();return a<=c?null:{token:b,expirationMs:a-c}};
DF_MGk.prototype.clearAccessToken=function(){var a=new DF_MDk;a.remove("accessToken");a.remove("accessTokenExpiration")};function DF_MHk(a,b){this.g=a;this.i=0;a=this.g;if(a.authSettings)try{var c=JSON.parse(a.authSettings)}catch(d){console.error(d),c=null}else c=null;this.j=DF_MIk(this,c);this.h=(c==null?0:c.storeInCookie)?new DF_MGk:new DF_MFk(b)}
function DF_MIk(a,b){if(!b)return new DF_Myk(a.g.oauthClientId,"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/cloud-platform");var c;switch((c=b.provider)==null?void 0:c.toLowerCase()){case "google":return new DF_Myk(b.clientId,b.scope);case "microsoft":return new DF_MCk(b.audience,b.clientId,b.authority,b.redirectUri);case "custom":return new DF_Mxk;default:throw Error("Unsupported auth provider: "+b.provider);}}
DF_MHk.prototype.requestAuthentication=function(){var a=this,b;return DF_Mh(function(c){if(c.g==1)return DF_Mm(a.g,"df-auth-requested",{}),DF_Mg(c,a.j.requestAuthentication(),2);b=c.h;if(!b)return c.return();a.g.accessToken=b.token;b.expirationMs&&(DF_MJk(a,b.expirationMs),a.h.storeAccessToken(b));c.g=0})};DF_MHk.prototype.restoreAccessToken=function(){var a=this.h.restoreAccessToken();if(!a)return!1;this.g.accessToken=a.token;DF_MJk(this,a.expirationMs);return!0};
DF_MHk.prototype.clearAccessToken=function(){this.h.clearAccessToken();this.g.accessToken=null};function DF_MJk(a,b){clearTimeout(a.i);a.i=setTimeout(function(){a.g.accessToken=null;a.h.clearAccessToken()},b)};function DF_MKk(a){this.h=a}DF_Ma.Object.defineProperties(DF_MKk.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return this.h.apiUri||this.i()}}});var DF_MLk={},DF_MMk=(DF_MLk["invalid-argument"]={code:400,status:"INVALID_ARGUMENT",message:"Client specified an invalid argument."},DF_MLk.unauthenticated={code:401,status:"UNAUTHENTICATED",message:"Request not authenticated due to missing, invalid, or expired token"},DF_MLk["permission-denied"]={code:403,status:"PERMISSION_DENIED",message:"Client does not have sufficient permission."},DF_MLk["not-found"]={code:404,status:"NOT_FOUND",message:"Specified resource is not found."},DF_MLk["already-exists"]=
{code:409,status:"ALREADY_EXISTS",message:"The resource that a client tried to create already exists."},DF_MLk["resource-exhausted"]={code:429,status:"RESOURCE_EXHAUSTED",message:"Either out of resource quota or reaching rate limiting."},DF_MLk.cancelled={code:499,status:"CANCELLED",message:"Request cancelled by the client."},DF_MLk.internal={code:500,status:"INTERNAL",message:"Internal server error."},DF_MLk.unimplemented={code:501,status:"UNIMPLEMENTED",message:"API method not implemented by the server."},
DF_MLk.unavailable={code:503,status:"UNAVAILABLE",message:"Service unavailable."},DF_MLk["deadline-exceeded"]={code:504,status:"DEADLINE_EXCEEDED",message:"Request deadline exceeded."},DF_MLk);function DF_M6(a,b){b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);Object.setPrototypeOf(this,DF_M6.prototype);this.h=a}DF_Mc(DF_M6,Error);DF_M6.prototype.toJSON=function(){return{code:this.code,message:this.message}};
DF_Ma.Object.defineProperties(DF_M6.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return this.h}}});
function DF_MNk(a){var b;a:{if(Math.floor(a.status/100)===2)throw new DF_M6("invalid-argument","Provided HttpResponse has a 2xx status.");var c=a.data,d;if((c==null?0:(b=c.error)==null?0:b.status)&&(c==null?0:(d=c.error)==null?0:d.message)){var e,f;b={code:a.status,message:(e=c.error)==null?void 0:e.message,status:(f=c.error)==null?void 0:f.status}}else{for(var g in DF_MMk)if(DF_MMk[g].code===a.status){c=Object.assign({},DF_MMk[g]);c.message=a.text||c.message;b=c;break a}b={code:a.status,message:a.text||
"Unknown server error.",status:"unknown"}}}c=b;DF_M6.call(this,c.status.toLowerCase().replace(/_/g,"-"),c.message);Object.setPrototypeOf(this,DF_MNk.prototype);this.j=a.status;this.i=Object.assign({},a.request);this.g=typeof a.ac!=="undefined"?Object.assign({},a.data):a.text}DF_Mc(DF_MNk,DF_M6);DF_MNk.prototype.toJSON=function(){return Object.assign(DF_M6.prototype.toJSON.call(this),{status:this.status,request:this.request,response:this.response})};
DF_Ma.Object.defineProperties(DF_MNk.prototype,{status:{configurable:!0,enumerable:!0,get:function(){return this.j}},request:{configurable:!0,enumerable:!0,get:function(){return Object.assign({},this.i)}},response:{configurable:!0,enumerable:!0,get:function(){return typeof this.g==="object"?Object.assign({},this.g):this.g}}});function DF_MOk(a){if(typeof a!=="object"||!a)return a;for(var b in a)a[b]===void 0&&delete a[b];return a}function DF_MPk(a){return new Promise(function(b){setTimeout(b,a)})}function DF_MQk(){var a,b;return(a=window)==null?void 0:(b=a.location)==null?void 0:b.href}function DF_MRk(a){return Math.floor((new Date(a)).getTime()/1E3)}
function DF_MSk(a,b){if(a instanceof Headers)a.delete(b);else if(Array.isArray(a)){for(var c=[],d=0;d<a.length;d++)a[d].length&&a[d][0].toLowerCase()===b.toLowerCase()&&c.push(d);for(b=c.length-1;b>=0;b--)a.splice(c[b],1)}else for(c in a)c.toLowerCase()===b.toLowerCase()&&delete a[c]};function DF_MTk(a){return typeof a==="object"&&!Array.isArray(a)&&a!==null};var DF_MUk=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function DF_MVk(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};function DF_MWk(a){this.g=this.H=this.h="";this.M=null;this.o=this.i="";this.G=!1;var b;a instanceof DF_MWk?(this.G=a.G,DF_MXk(this,a.h),this.H=a.H,this.g=a.g,DF_MYk(this,a.M),this.i=a.i,DF_MZk(this,a.j.clone()),this.o=a.o):a&&(b=String(a).match(DF_MUk))?(this.G=!1,DF_MXk(this,b[1]||"",
DF_MWk.prototype.toString=function(){var a=[],b=this.h;b&&a.push(DF_M1k(b,DF_M2k,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.H)&&a.push(DF_M1k(b,DF_M2k,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.M,c!=null&&a.push(":",String(c));if(c=this.i)this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(DF_M1k(c,c.charAt(0)=="/"?DF_M3k:DF_M4k,!0));(c=this.j.toString())&&a.push("?",c);(c=this.o)&&a.push("#",DF_M1k(c,DF_M5k));return a.join("")};
DF_MWk.prototype.resolve=function(a){var b=this.clone(),c=!!a.h;c?DF_MXk(b,a.h):c=!!a.H;c?b.H=a.H:c=!!a.g;c?b.g=a.g:c=a.M!=null;var d=a.i;if(c)DF_MYk(b,a.M);else if(c=!!a.i){if(d.charAt(0)!="/")if(this.g&&!this.i)d="/"+d;else{var e=b.i.lastIndexOf("/");e!=-1&&(d=b.i.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(e.indexOf("./")!=-1||e.indexOf("/.")!=-1){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];h=="."?d&&g==e.length&&f.push(""):h==".."?((f.length>1||
f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.i=d:c=a.j.toString()!=="";c?DF_MZk(b,a.j.clone()):c=!!a.o;c&&(b.o=a.o);return b};DF_MWk.prototype.clone=function(){return new DF_MWk(this)};function DF_MXk(a,b,c){a.h=c?DF_M_k(b,!0):b;a.h&&(a.h=a.h.replace(/:$/,""))}function DF_MYk(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.M=b}else a.M=null}
function DF_MZk(a,b,c){b instanceof DF_M0k?(a.j=b,DF_M6k(a.j,a.G)):(c||(b=DF_M1k(b,DF_M7k)),a.j=new DF_M0k(b,a.G))}function DF_M8k(a){return a instanceof DF_MWk?a.clone():new DF_MWk(a)}function DF_M_k(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function DF_M1k(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,DF_M9k),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function DF_M9k(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var DF_M2k=/[#\/\?@]/g,DF_M4k=/[#\?:]/g,DF_M3k=/[#\?]/g,DF_M7k=/[#\?@]/g,DF_M5k=/#/g;function DF_M0k(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b}function DF_M$k(a){a.g||(a.g=new Map,a.h=0,a.i&&DF_MVk(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}DF_M=DF_M0k.prototype;
DF_M.add=function(a,b){DF_M$k(this);this.i=null;a=DF_Mal(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};DF_M.remove=function(a){DF_M$k(this);a=DF_Mal(this,a);return this.g.has(a)?(this.i=null,this.h-=this.g.get(a).length,this.g.delete(a)):!1};function DF_Mbl(a,b){DF_M$k(a);b=DF_Mal(a,b);return a.g.has(b)}DF_M.forEach=function(a,b){DF_M$k(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};
DF_M.Sa=function(){DF_M$k(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};DF_M.wa=function(a){DF_M$k(this);var b=[];if(typeof a==="string")DF_Mbl(this,a)&&(b=b.concat(this.g.get(DF_Mal(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
DF_M.set=function(a,b){DF_M$k(this);this.i=null;a=DF_Mal(this,a);DF_Mbl(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};DF_M.get=function(a,b){if(!a)return b;a=this.wa(a);return a.length>0?String(a[0]):b};
DF_M.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.wa(d);for(var f=0;f<d.length;f++){var g=e;d[f]!==""&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.i=a.join("&")};DF_M.clone=function(){var a=new DF_M0k;a.i=this.i;this.g&&(a.g=new Map(this.g),a.h=this.h);return a};function DF_Mal(a,b){b=String(b);a.j&&(b=b.toLowerCase());return b}
function DF_M6k(a,b){b&&!a.j&&(DF_M$k(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),this.remove(e),c.length>0&&(this.i=null,this.g.set(DF_Mal(this,e),DF_Mvg(c)),this.h+=c.length))},a));a.j=b};function DF_Mcl(a){var b,c,d,e,f,g,h,k;return DF_Mh(function(l){b=a.url;c=new Headers(a.headers||{});d=c.get("content-type");if(a.data)if(f=a.data,a.method==="GET"||a.method==="HEAD"){if(!DF_MTk(a.data))throw new DF_M6("invalid-request",a.method+" requests cannot have a body.");g=DF_M8k(a.url);for(h in f)f.hasOwnProperty(h)&&g.j.set(h,f[h]);b=g.toString()}else e=d&&d.toLowerCase().indexOf("application/x-www-form-urlencoded")===0?Object.keys(f).map(function(m){var n=f[m].toString();return encodeURIComponent(m)+
"="+encodeURIComponent(n)}).join("&"):JSON.stringify(a.data);k=DF_MOk({method:a.method,mode:a.mode,cache:a.cache,headers:a.headers,credentials:a.credentials,body:e});return l.return(new Promise(function(m,n){var p,q,r,u,v,t;return DF_Mh(function(x){switch(x.g){case 1:return p=0,a.timeout&&(p=window.setTimeout(function(){n(new DF_M6("timeout","Timeout of "+a.timeout+"ms exceeded"))},a.timeout)),x.i=2,DF_Mg(x,fetch(b,k),4);case 4:return r=x.h,window.clearTimeout(p),d=r.headers.get("content-type"),DF_Mg(x,
r.clone().text(),5);case 5:u=x.h;d&&d.toLowerCase().indexOf("application/json")===0?q=JSON.parse(u.indexOf(")]}'\n")===0?u.substr(5):u):q=u;v={};r.headers.forEach(function(y,w){v[w]=y});m({status:r.status,headers:v,config:a,request:k,data:q});x.g=0;x.i=0;break;case 2:t=DF_Mra(x),window.clearTimeout(p),n(t),x.g=0}})}))})}function DF_Mdl(a){this.status=a.status;this.headers=a.headers;this.request=a.config;typeof a.data==="object"?(this.ac=a.data,this.text=JSON.stringify(a.data)):this.text=a.data}
DF_Ma.Object.defineProperties(DF_Mdl.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return typeof this.ac!=="undefined"?this.ac:this.text}}});function DF_Mel(){}DF_Mel.prototype.send=function(a){return DF_Mh(function(b){return b.return(DF_Mfl(a))})};
function DF_Mfl(a){var b,c,d;return DF_Mh(function(e){switch(e.g){case 1:return DF_Mg(e,DF_Mcl(a),2);case 2:b=e.h;if(b.status!==503)return e.return(new DF_Mdl(b));c=0;case 3:if(!(c<1)){e.g=5;break}d=5E3+Math.floor(Math.random()*2001+-1E3);return DF_Mg(e,DF_MPk(d),6);case 6:return DF_Mg(e,DF_Mcl(a),7);case 7:b=e.h;if(b.status!==503){e.g=5;break}c++;e.g=3;break;case 5:return e.return(new DF_Mdl(b))}})}function DF_Mgl(a){this.g=a}
DF_Mgl.prototype.send=function(a){var b=this,c;return DF_Mh(function(d){if(d.g==1)return DF_Mg(d,b.g.send(a),2);c=d.h;if(Math.floor(c.status/100)!==2)throw new DF_MNk(c);return d.return(c)})};function DF_Mhl(){this.g={}}DF_Mhl.prototype.get=function(a){if((a=this.g[a])&&Date.now()<a.expirationTime)return a.value};DF_Mhl.prototype.wa=function(){return Object.values(this.g)};function DF_Mil(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);e>255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var DF_Mjl={},DF_Mkl=null;function DF_Mll(a){var b=4;b===void 0&&(b=0);DF_Mml();b=DF_Mjl[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=a[e],h=a[e+1],k=a[e+2],l=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")}function DF_Mnl(a){var b="";DF_Mol(a,function(c){b+=String.fromCharCode(c)});return b}
function DF_Mpl(a){var b=[];DF_Mol(a,function(c){b.push(c)});return b}function DF_Mol(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),m=DF_Mkl[l];if(m!=null)return m;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}DF_Mml();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|f>>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}}
function DF_Mml(){if(!DF_Mkl){DF_Mkl={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));DF_Mjl[c]=d;for(var e=0;e<d.length;e++){var f=d[e];DF_Mkl[f]===void 0&&(DF_Mkl[f]=e)}}}};function DF_Mql(){this.blockSize=-1};function DF_Mrl(a,b,c){this.blockSize=-1;this.g=a;this.blockSize=c||a.blockSize||16;this.G=Array(this.blockSize);this.i=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.g.update(a),a=this.g.j(),this.g.h());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.G[c]=b^92,this.i[c]=b^54;this.g.update(this.i)}DF_MIa(DF_Mrl,DF_Mql);DF_Mrl.prototype.h=function(){this.g.h();this.g.update(this.i)};DF_Mrl.prototype.update=function(a,b){this.g.update(a,b)};
DF_Mrl.prototype.j=function(){var a=this.g.j();this.g.h();this.g.update(this.G);this.g.update(a);return this.g.j()};function DF_Msl(a,b){this.blockSize=-1;this.blockSize=64;this.G=DF_Mj.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.o=this.i=0;this.g=[];this.M=a;this.H=b;this.N=DF_Mj.Int32Array?new Int32Array(64):Array(64);DF_Mtl===void 0&&(DF_Mj.Int32Array?DF_Mtl=new Int32Array(DF_Mul):DF_Mtl=DF_Mul);this.h()}DF_MIa(DF_Msl,DF_Mql);for(var DF_Mvl=[],DF_Mwl=0;DF_Mwl<63;DF_Mwl++)DF_Mvl[DF_Mwl]=0;var DF_Mxl=[].concat(128,DF_Mvl);
DF_Msl.prototype.h=function(){this.o=this.i=0;this.g=DF_Mj.Int32Array?new Int32Array(this.H):DF_Mvg(this.H)};
function DF_Myl(a){for(var b=a.G,c=a.N,d=0,e=0;e<b.length;)c[d++]=b[e]<<24|b[e+1]<<16|b[e+2]<<8|b[e+3],e=d*4;for(b=16;b<64;b++)d=c[b-15]|0,e=c[b-2]|0,c[b]=((c[b-16]|0)+((d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.g[0]|0;d=a.g[1]|0;e=a.g[2]|0;for(var f=a.g[3]|0,g=a.g[4]|0,h=a.g[5]|0,k=a.g[6]|0,l=a.g[7]|0,m=0;m<64;m++){var n=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,p=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^
~g&k)+(DF_Mtl[m]|0)|0)+(c[m]|0)|0)|0;l=k;k=h;h=g;g=f+p|0;f=e;e=d;d=b;b=p+n|0}a.g[0]=a.g[0]+b|0;a.g[1]=a.g[1]+d|0;a.g[2]=a.g[2]+e|0;a.g[3]=a.g[3]+f|0;a.g[4]=a.g[4]+g|0;a.g[5]=a.g[5]+h|0;a.g[6]=a.g[6]+k|0;a.g[7]=a.g[7]+l|0}
DF_Msl.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.i;if(typeof a==="string")for(;c<b;)this.G[d++]=a.charCodeAt(c++),d==this.blockSize&&(DF_Myl(this),d=0);else if(DF_MDa(a))for(;c<b;){var e=a[c++];if(!("number"==typeof e&&0<=e&&255>=e&&e==(e|0)))throw Error("message must be a byte array");this.G[d++]=e;d==this.blockSize&&(DF_Myl(this),d=0)}else throw Error("message must be string or array");this.i=d;this.o+=b};
DF_Msl.prototype.j=function(){var a=[],b=this.o*8;this.i<56?this.update(DF_Mxl,56-this.i):this.update(DF_Mxl,this.blockSize-(this.i-56));for(var c=63;c>=56;c--)this.G[c]=b&255,b/=256;DF_Myl(this);for(c=b=0;c<this.M;c++)for(var d=24;d>=0;d-=8)a[b++]=this.g[c]>>d&255;return a};
var DF_Mul=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,
4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],DF_Mtl;function DF_Mzl(){DF_Msl.call(this,8,DF_MAl)}DF_MIa(DF_Mzl,DF_Msl);var DF_MAl=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var DF_MBl={alg:"HS256",typ:"JWT"};function DF_MCl(a,b){a=DF_Mpl(a);if(a.length<32)throw new DF_M6("crypto","HS256 key has to be at least 32 bytes long");this.g=new DF_Mrl(new DF_Mzl,a);for(var c in DF_MBl)if(b&&b[c]&&b[c]!==DF_MBl[c])throw new DF_M6("crypto",'Invalid HS256 header value for parameter "'+c+'"');this.h=Object.assign({},DF_MBl,b||{})}DF_MCl.prototype.sign=function(a){var b=Promise,c=b.resolve,d=this.g;d.h();d.update(a);a=d.j();return c.call(b,a)};
DF_Ma.Object.defineProperties(DF_MCl.prototype,{aa:{configurable:!0,enumerable:!0,get:function(){return Object.assign({},this.h)}}});function DF_MDl(a){this.g=a}DF_MDl.prototype.create=function(a){var b=this,c,d,e;return DF_Mh(function(f){if(f.g==1)return c=DF_Mll(DF_Mil(JSON.stringify(b.g.aa)))+"."+DF_Mll(DF_Mil(JSON.stringify(a))),DF_Mg(f,b.g.sign(c),2);d=f.h;e=DF_Mll(d);return f.return(c+"."+e)})};function DF_MEl(a,b){this.g=a[DF_Mj.Symbol.iterator]();this.h=b}DF_MEl.prototype[Symbol.iterator]=function(){return this};DF_MEl.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.h.call(void 0,a.value),done:a.done}};function DF_MFl(a,b){return new DF_MEl(a,b)};function DF_MGl(){}DF_MGl.prototype.next=function(){return DF_MHl};var DF_MHl={done:!0,value:void 0};DF_MGl.prototype.Ea=function(){return this};function DF_MIl(a){if(a instanceof DF_MJl||a instanceof DF_MKl||a instanceof DF_MLl)return a;if(typeof a.next=="function")return new DF_MJl(function(){return a});if(typeof a[Symbol.itera
DF_MJl.prototype[Symbol.iterator]=function(){return new DF_MLl(this.g())};DF_MJl.prototype.h=function(){return new DF_MLl(this.g())};function DF_MKl(a){this.g=a}DF_Mc(DF_MKl,DF_MGl);DF_MKl.prototype.next=function(){return this.g.next()};DF_MKl.prototype[Symbol.iterator]=function(){return new DF_MLl(this.g)};DF_MKl.prototype.h=function(){return new DF_MLl(this.g)};function DF_MLl(a){DF_MJl.call(this,function(){return a});this.i=a}DF_Mc(DF_MLl,DF_MJl);DF_MLl.prototype.next=function(){return this.i.next()};function DF_MMl(a,b){this.h={};this.g=[];this.i=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof DF_MMl)for(c=a.Sa(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}DF_M=DF_MMl.prototype;DF_M.wa=function(){DF_MNl(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.h[this.g[b]]);return a};DF_M.Sa=function(){DF_MNl(this);return this.g.concat()};
DF_M.has=function(a){return DF_MOl(this.h,a)};DF_M.remove=function(a){return this.delete(a)};DF_M.delete=function(a){return DF_MOl(this.h,a)?(delete this.h[a],--this.size,this.i++,this.g.length>2*this.size&&DF_MNl(this),!0):!1};function DF_MNl(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];DF_MOl(a.h,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){b={};for(d=c=0;c<a.g.length;){var e=a.g[c];DF_MOl(b,e)||(a.g[d++]=e,b[e]=1);c++}a.g.length=d}}
DF_M.get=function(a,b){return DF_MOl(this.h,a)?this.h[a]:b};DF_M.set=function(a,b){DF_MOl(this.h,a)||(this.size+=1,this.g.push(a),this.i++);this.h[a]=b};DF_M.forEach=function(a,b){for(var c=this.Sa(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};DF_M.clone=function(){return new DF_MMl(this)};DF_M.keys=function(){return DF_MIl(this.Ea(!0)).h()};DF_M.values=function(){return DF_MIl(this.Ea(!1)).h()};
DF_M.entries=function(){var a=this;return DF_MFl(this.keys(),function(b){return[b,a.get(b)]})};DF_M.Ea=function(a){DF_MNl(this);var b=0,c=this.i,d=this,e=new DF_MGl;e.next=function(){if(c!=d.i)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return DF_MHl;var f=d.g[b++];return{value:a?f:d.h[f],done:!1}};return e};function DF_MOl(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function DF_MPl(){this.h=new DF_MMl;this.g=new DF_MQl("");this.g.next=this.g.g=this.g}DF_M=DF_MPl.prototype;DF_M.get=function(a,b){return(a=this.h.get(a))?a.value:b};DF_M.set=function(a,b){var c=this.h.get(a);c?c.value=b:(c=new DF_MQl(a,b),this.h.set(a,c),a=c,a.g=this.g.g,a.next=this.g,this.g.g=a,a.g.next=a,DF_MRl(this,10))};DF_M.shift=function(){return DF_MSl(this,this.g.next)};DF_M.pop=function(){return DF_MSl(this,this.g.g)};
DF_M.remove=function(a){return(a=this.h.get(a))?(a.remove(),this.h.remove(a.key),!0):!1};DF_M.Sa=function(){return this.map(function(a,b){return b})};DF_M.wa=function(){return this.map(function(a){return a})};DF_M.contains=function(a){return this.some(function(b){return b==a})};DF_M.forEach=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)a.call(b,c.value,c.key,this)};DF_M.map=function(a,b){for(var c=[],d=this.g.next;d!=this.g;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};
DF_M.some=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};DF_M.every=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};function DF_MRl(a,b){for(;a.h.size>b;){var c=a.g.next,d=a;c.remove();d.h.remove(c.key)}}function DF_MSl(a,b){a.g!=b&&(b.remove(),a.h.remove(b.key));return b.value}function DF_MQl(a,b){this.key=a;this.value=b}
DF_MQl.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function DF_MTl(a,b){this.g=b;this.payload=Object.assign({},a)}DF_Ma.Object.defineProperties(DF_MTl.prototype,{service:{configurable:!0,enumerable:!0,get:function(){return this.payload.aud}},token:{configurable:!0,enumerable:!0,get:function(){return this.g}}});function DF_MUl(){this.g=new DF_MPl}DF_MUl.prototype.setToken=function(a){var b=a.service.toString();this.g.remove(b);this.g.set(b,a)};
DF_MUl.prototype.getToken=function(a){if(a=(a=this.g.h.get(a.toString()))?a.value:void 0)if(Math.floor(Date.now()/1E3)>=a.payload.exp-30)for(var b=this.g.shift();b&&b!==a;)b=this.g.shift();else return a;return null};function DF_MVl(a,b){this.xsrfToken=a;this.origin=b;this.g=new DF_MDl(new DF_MCl(this.xsrfToken.xsrfToken,{kid:this.xsrfToken.keyId}))}
DF_MVl.prototype.create=function(a,b){var c=this,d,e,f,g,h;return DF_Mh(function(k){if(k.g==1){d=Math.floor(Date.now()/1E3);e=DF_MRk(c.xsrfToken.expirationTime);if(d>=e-30)throw new DF_M6("invalid-xsrf-token","The provided XSRF token is about to expire or has expired already.");f=d+Math.min(300,e-d);g={iss:c.origin,aud:a,sub:"csesidx/"+b,iat:d,exp:f,nbf:d};return DF_Mg(k,c.g.create(g),2)}h=k.h;return k.return(new DF_MTl(g,h))})};function DF_MWl(){this.h=new DF_MUl;this.g=new DF_Mhl}
function DF_MXl(a,b,c,d){c=c+"::"+d;d=a.g.get(c);if((d==null?void 0:d.xsrfToken)!==b.xsrfToken||(d==null?void 0:d.expirationTime)!==b.expirationTime||(d==null?void 0:d.issuedAt)!==b.issuedAt||(d==null?void 0:d.keyId)!==b.keyId)for(DF_MYl(a),a=a.g,d=(new Date(b.expirationTime)).getTime()-Date.now(),a.g[c]={value:b,expirationTime:Date.now()+d},b=DF_Md(Object.keys(a.g)),c=b.next();!c.done;c=b.next())c=c.value,Date.now()>=a.g[c].expirationTime&&delete a.g[c]}
DF_MWl.prototype.getToken=function(a,b,c){var d=this,e,f,g,h,k,l;return DF_Mh(function(m){switch(m.g){case 1:e=b+"::"+c;f=d.g.get(e);if(!f)throw DF_MYl(d),new DF_M6("invalid-xsrf-token","The XsrfToken is expired, was never set, or is not tied to the provided origin/session identifier.");if(g=d.h.getToken(a)){m.g=2;break}m.i=3;h=new DF_MVl(f,b);return DF_Mg(m,h.create(a,c),5);case 5:return k=m.h,d.h.setToken(k),m.return(k);case 3:throw l=DF_Mra(m),DF_MYl(d),l;case 2:return m.return(g)}})};
function DF_MYl(a){for(var b=a.g,c=DF_Md(Object.keys(b.g)),d=c.next();!d.done;d=c.next())delete b.g[d.value];DF_MRl(a.h.g,0)};function DF_MZl(a,b,c,d){this.j=a;this.h=b;this.origin=c;this.rb=d;var e,f;a=(((e=window)==null?void 0:(f=e.navigator)==null?void 0:f.userAgent)||"").toLowerCase();this.i=a.match(/android/)||a.match(/webos/)||a.match(/iphone|ipad|ipod/)||a.match(/blackberry/)||a.match(/windows phone/)||a.match(/iemobile/)?6E4:3E4;this.g=null}
function DF_M_l(a){a.g||(a.g=a.h.send({method:"GET",mode:"cors",cache:"no-cache",credentials:"include",url:a.origin+a.j+"/getoxsrf?csesidx="+encodeURIComponent(a.rb),timeout:a.i}).then(function(b){return DF_M0l(a,b)}).then(function(b){a.g=null;var c=DF_MRk(b.issuedAt),d=Math.floor(Date.now()/1E3);if(Math.abs(d-c)>600)throw new DF_M6("clock-skew","Significant clock skew detected.");return b}).catch(function(b){a.g=null;throw b;}));return a.g}
function DF_M0l(a,b){var c,d,e;return DF_Mh(function(f){if(f.g==1){c=b;if((d=b.data)==null||!d.hasOwnProperty("setocookieUrl")){f.g=2;return}e=DF_Mnl(b.data.setocookieUrl);var g=DF_M8k(a.origin),h=DF_M8k(e);if(g.g!==h.g||g.h!==h.h)throw new DF_M6("origin-mismatch","/setocookie URL does not match the current expected origin.");return DF_Mg(f,a.h.send({method:"GET",mode:"same-origin",cache:"no-cache",credentials:"same-origin",url:e,timeout:a.i}),3)}f.g!=2&&(c=f.h);g=c.data;if(!(g&&g.hasOwnProperty("xsrfToken")&&
g.hasOwnProperty("issuedAt")&&g.hasOwnProperty("expirationTime")&&g.hasOwnProperty("keyId")))throw new DF_M6("internal","The returned /getoxsrf response is invalid.");return f.return(c.data)})};/*
Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
function DF_M1l(a){a=a(function(b){b.stack=Error().stack});a.prototype=Object.create(Error.prototype);a.prototype.constructor=a};DF_M1l(function(a){return function(b){a(this);this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n "):"";this.name="UnsubscriptionError";this.errors=b}});DF_M1l(function(a){return function(){a(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"}});DF_M1l(function(a){return function(){a(this);this.name="EmptyError";this.message="no elements in sequence"}});DF_M1l(function(a){return function(b){b=b===void 0?null:b;a(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=b}});DF_M1l(function(a){return function(){a(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"}});DF_M1l(function(a){return function(b){a(this);this.name="NotFoundError";this.message=b}});DF_M1l(function(a){return function(b){a(this);this.name="SequenceError";this.messag
function DF_M3l(a,b,c,d){var e;return DF_Mh(function(f){if(f.g==1)return DF_Mg(f,DF_M4l(a,c,d),2);e=f.h;if(!e)throw new DF_M6("unauthenticated","User is not authenticated");DF_MSk(b,"authorization");b instanceof Headers?b.append("authorization",e):Array.isArray(b)?b.push(["authorization",e]):b.authorization=e;f.g=0})}function DF_M4l(a,b,c){return DF_Mh(function(d){return d.return(DF_M5l(a,b,c))})}
function DF_M6l(a,b,c){var d,e,f;return DF_Mh(function(g){if(g.g==1)return g.i=2,d=new DF_MZl(a.i,a.G,b,c),DF_Mg(g,DF_M_l(d),4);if(g.g!=2)return(e=g.h)&&DF_MXl(a.g,e,b,c),g.return(e);f=DF_Mra(g);if(f&&f.status===401)var h=!0;else h=JSON.stringify(f&&f.data||f),h=h.indexOf("401")!==-1||h.toLowerCase().indexOf("unauthorized")!==-1;if(h)return DF_MYl(a.g),g.return(null);throw f;})}
function DF_M5l(a,b,c){var d,e,f,g,h,k,l,m,n,p,q,r,u,v,t,x,y;return DF_Mh(function(w){switch(w.g){case 1:var z;if(!(z=(d=c)==null?void 0:d.origin)){var A,B;z=(A=window)==null?void 0:(B=A.location)==null?void 0:B.origin}e=z;g=((f=c)==null?void 0:f.rb)||a.h;if(!e)throw new DF_M6("indeterminable-origin","Cannot determine the current origin.");if(!g)throw new DF_M6("indeterminable-session-id","Cannot determine the current session identifier.");if(((h=c)==null?0:h.rb)&&a.h&&((k=c)==null?void 0:k.rb)!==
a.h)throw new DF_M6("session-id-mismatch","The provided session identifier does not match the current session identifier.");l=Math.floor(Date.now()/1E3);p=((m=c)==null?void 0:m.hc)&&l<DF_MRk((n=c)==null?void 0:n.hc.expirationTime)-300;if(!(((q=c)==null?0:q.hc)&&p)||((r=c)==null?0:r.yc)){w.g=2;break}DF_MXl(a.g,(u=c)==null?void 0:u.hc,e,g);return DF_Mg(w,a.g.getToken(b,e,g),3);case 3:return v=w.h,w.return("Bearer "+v.token);case 2:return w.i=4,DF_Mg(w,a.g.getToken(b,e,g),6);case 6:t=w.h;w.g=5;w.i=0;
break;case 4:DF_Mra(w);case 5:if(((x=c)==null||!x.yc)&&t){w.g=7;break}return DF_Mg(w,DF_M6l(a,e,g),8);case 8:return(y=w.h)?DF_Mg(w,a.g.getToken(b,e,g),9):w.return(null);case 9:t=w.h;case 7:return w.return("Bearer "+t.token)}})}DF_Ma.Object.defineProperties(DF_M2l.prototype,{authType:{configurable:!0,enumerable:!0,get:function(){return 0}},h:{configurable:!0,enumerable:!0,get:function(){var a=DF_M8k(DF_MQk()).j.wa("csesidx");return a.length?a[a.length-1]:null}}});var DF_M7l=/\.google\.com$/,DF_M8l=/\.clients6\.google\.com$|\.googleapis\.com$|-googleapis\.sandbox\.google\.com$/,DF_M9l=/clientlog\.(byoid\.goog|cloud\.google)$/,DF_M$l={Ic:!0,Hc:!1};function DF_Mam(a,b,c,d){var e,f;return DF_Mh(function(g){e=DF_M8k(b);f=e.h+"://"+e.g;return DF_Mg(g,DF_M3l(a,c,f,{yc:d}),0)})}function DF_Mbm(a,b){b=DF_Md(b);for(var c=b.next();!c.done;c=b.next())if(a.endsWith(c.value))return!0;return!1}
function DF_Mcm(a){var b=DF_MQk();return b&&DF_M7l.test(DF_M8k(b).g)&&a.authType===0||b&&!DF_M7l.test(DF_M8k(b).g)&&a.authType===1?!1:!0}
function DF_Mdm(a,b){b=b===void 0?DF_M$l:b;if(!b.Ic&&!b.Hc)throw Error("At least one override must be true.");if(DF_Mcm(a)){var c=window.fetch;window.fetch=function(){var d=DF_Mi.apply(0,arguments),e,f,g,h;return DF_Mh(function(k){switch(k.g){case 1:e=typeof d[0]==="string"?d[0]:d[0].url;var l=DF_M8k(e).g,m=b;if(!(m.Ic&&(m.Fc&&DF_Mbm(l,m.Fc)||!m.Fc&&DF_M8l.test(l))||m.Hc&&(m.Ec&&DF_Mbm(l,m.Ec)||!m.Ec&&DF_M9l.test(l)))){k.g=2;break}typeof d[0]==="string"?(d.length===1&&d.push({headers:new Headers}),
f=d[1]||{headers:new Headers}):f=d[0];typeof f.headers==="undefined"&&(f.headers=new Headers);g=f.headers;DF_MSk(g,"x-goog-authuser");return DF_Mg(k,DF_Mam(a,e,g,!1),3);case 3:return DF_Mg(k,c.apply(null,d),4);case 4:return h=k.h,h.status===401&&a.authType===0?DF_Mg(k,DF_Mam(a,e,g,!0),6):k.return(h);case 6:return k.return(c.apply(null,d));case 2:return k.return(c.apply(null,d))}})}}};var DF_Mem=new DF_M2l;function DF_Mfm(){DF_M2l.apply(this,arguments)}DF_Mc(DF_Mfm,DF_M2l);var DF_Mgm=null;function DF_Mhm(){this.headers=new Map}function DF_Mim(){return DF_Mjm(new DF_Mhm,"Content-Type","application/json")}function DF_Mjm(a,b,c){a.headers.set(b,c);return a}
function DF_Mkm(a,b,c){var d,e;return DF_Mh(function(f){if(f.g==1){d=null;if(!a.workforcePoolProvider){a.isAuthenticationRequired&&(d="Bearer "+a.accessToken);f.g=2;return}e=(new URL(c)).origin;var g=DF_M4l;if(!DF_Mgm){var h=DF_Mgm=new DF_Mfm;h=h===void 0?DF_Mem:h;var k=k===void 0?DF_M$l:k;DF_Mdm(h,k)}return DF_Mg(f,g(DF_Mgm,e),3)}f.g!=2&&(d=f.h);d&&(DF_Mjm(b,"Authorization",d),DF_Mjm(b,"X-Goog-User-Project",a.projectId));return f.return(b)})};function DF_Mlm(a){this.i=a;this.h=new TextDecoder;this.g=new DF_Mmm;this.message={data:""}}
DF_Mlm.prototype.parse=function(a){var b=this,c,d;return DF_Mh(function(e){e.g==1&&(c=a.getReader());if(e.g!=5)return DF_Mg(e,c.read(),5);(d=e.h).done?e.g=0:(DF_Mnm(b.g,d.value),b.g.parse(function(f,g){if(f.length===0)b.i(b.message),b.message={data:""};else if(!(g<=0)){var h=b.h.decode(f.subarray(0,g));f=b.h.decode(f.subarray(g+(f[g+1]===32?2:1)));switch(h){case "data":b.message.data=b.message.data?b.message.data+"\n"+f:f}}}),e.g=2)})};function DF_Mmm(){this.position=0;this.i=-1;this.h=!1}
function DF_Mnm(a,b){if(a.g===void 0)a.g=b;else{var c=new Uint8Array(a.g.length+b.length);c.set(a.g);c.set(b,a.g.length);a.g=c}}
DF_Mmm.prototype.parse=function(a){if(this.g!==void 0){for(var b=this.g,c=this.position,d=this.h,e=this.i,f=b.length,g=0;c<f;){d&&(b[c]===10&&(g=++c),d=!1);for(var h=-1;c<f&&h===-1;c++)switch(b[c]){case 58:e===-1&&(e=c-g);break;case 13:d=!0;h=c;break;case 10:h=c}if(h===-1)break;a(b.subarray(g,h),e);g=c;e=-1}a=DF_Md(g===f?[void 0,0,d,-1]:[b.subarray(g),c-g,d,e]);this.g=a.next().value;this.position=a.next().value;this.h=a.next().value;this.i=a.next().value}};function DF_Mom(a,b){this.g=a;this.apiUri=b}DF_Mom.prototype.h=function(a,b,c){var d=this,e=DF_Mpm(this,a,"df-request-sent");if(!e)return Promise.resolve({});this.g.botWriting=!0;return new Promise(function(f,g){DF_Mqm(d,JSON.stringify(e),b,c).then(function(h){h=JSON.parse(h);console.debug("DF-MESSENGER","fetch","Response",h);f(h)}).catch(function(h){console.error("DF-MESSENGER","fetch","Error",h);DF_Mm(d.g,"df-messenger-error",{error:h});g(h)}).finally(function(){d.g.botWriting=!1})})};
function DF_Mpm(a,b,c){var d={requestBody:b};if(DF_Mm(a.g,c,{requestBody:b,data:d}))return d.requestBody}
function DF_Mqm(a,b,c,d){var e,f;return DF_Mh(function(g){if(g.g==1){var h,k;var l=a.g.registeredBackendService&&((k=(h=a.g.registeredBackendService).isServing)==null?void 0:k.call(h,a.g.targetId))!==!1?a.g.registeredBackendService.fetch:window.fetch;return DF_Mg(g,l(c,{method:"POST",headers:Object.fromEntries(d.headers),body:b}),2)}if(g.g!=3){e=g.h;if(!e.ok)throw{error:{code:e.status===404?"NOT_FOUND":e.status===401||e.status===403?"AUTH_ERROR":"UNKNOWN",message:"Fetch error",status:e.status.toString()}};
return DF_Mg(g,e.text(),3)}return(f=g.h)&&f.indexOf(")]}'\n")===0?g.return(f.substring(5)):g.return(f)})}
DF_Mom.prototype.i=function(a,b,c,d){var e,f,g;return DF_Mh(function(h){if(h.g==1)return DF_Mg(h,fetch(b,{method:"POST",headers:Object.fromEntries(c.headers),body:a}),2);e=h.h;f=e.headers.get("content-type");if(f!=="text/event-stream")return console.error("DF-MESSENGER","EventSource","Expected content-type to be: 'text/event-stream', actual: '"+f+"'"),h.return();g=new DF_Mlm(d);return DF_Mg(h,g.parse(e.body),0)})};function DF_Mrm(){DF_MKk.apply(this,arguments)}DF_Mc(DF_Mrm,DF_MKk);DF_Mrm.prototype.i=function(){return this.h.isAuthenticationRequired||this.h.workforcePoolProvider?this.h.location&&this.h.location!=="global"?"https://"+this.h.location+"-dialogflow.googleapis.com/v3":"https://dialogflow.googleapis.com/v3":this.h.location&&this.h.location!=="global"?"https://dialogflow.cloud.google.com/v1/cx/locations/"+this.h.location+"/integrations/messenger/webhook":"https://dialogflow.cloud.google.com/v1/cx/integrations/messenger/webhook"};
function DF_Msm(a){DF_Mom.call(this,a,new DF_Mrm(a))}DF_Mc(DF_Msm,DF_Mom);function DF_Mtm(a,b){var c,d,e,f;return DF_Mh(function(g){return g.g==1?(c=a,d=c.h,e=b,f=DF_Mum(a,"detectIntent"),DF_Mg(g,DF_Mkm(a.g,DF_Mim(),a.apiUri.g),2)):g.return(d.call(c,e,f,g.h))})}
function DF_Mvm(a,b,c){var d,e,f,g,h,k;return DF_Mh(function(l){if(l.g==1){d=DF_Mpm(a,b,"df-request-sent");if(!d)return l.return(Promise.resolve());e=DF_Mim();DF_Mjm(e,"Accept","text/event-stream");DF_Mjm(e,"X-Goog-Visibilities","DIALOGFLOW_UNDER_CONSTRUCTION");f=a;g=f.i;h=JSON.stringify(b);k=DF_Mum(a,"serverStreamingDetectIntent?alt=sse");return DF_Mg(l,DF_Mkm(a.g,e,a.apiUri.g),2)}return l.return(g.call(f,h,k,l.h,function(m){m=JSON.parse(m.data);console.debug("DF-MESSENGER","serverStreamingDetectIntent",
"Response",m);c(m)}).catch(function(m){console.error("DF-MESSENGER","serverStreamingDetectIntent","Error",m);DF_Mm(a.g,"df-messenger-error",{error:m});throw m;}).finally(function(){a.g.botWriting=!1}))})}
DF_Msm.prototype.sendFeedback=function(a){var b=this,c=DF_Mpm(this,a,"df-feedback-request-sent");return c?new Promise(function(d,e){(function(){var f,g,h;return DF_Mh(function(k){switch(k.g){case 1:return DF_Mg(k,DF_Mkm(b.g,DF_Mim(),b.apiUri.g),2);case 2:return f=k.h,k.i=3,DF_Mg(k,DF_Mqm(b,JSON.stringify(c),DF_Mum(b,"submitAnswerFeedback"),f),5);case 5:g=k.h;console.debug("DF-MESSENGER","submitAnswerFeedback","Response",JSON.parse(g));d();k.g=0;k.i=0;break;case 3:h=DF_Mra(k),console.error("DF-MESSENGER",
"submitAnswerFeedback","Error",h),DF_Mm(b.g,"df-messenger-error",{error:h}),e(h),k.g=0}})})()}):Promise.resolve()};
function DF_Mum(a,b){if(a.g.isAuthenticationRequired||a.g.workforcePoolProvider)return a.apiUri.g+"/projects/"+a.g.projectId+"/locations/"+a.g.location+"/agents/"+a.g.agentId+"/"+(a.g.environment?"environments/"+a.g.environment+"/":"")+"sessions/"+a.g.sessionId+":"+b;switch(b){case "detectIntent":return a.g.projectId?a.apiUri.g+"/projects/"+a.g.projectId+"/agents/"+a.g.agentId+"/sessions/"+a.g.sessionId:a.apiUri.g+"/"+a.g.agentId+"/sessions/"+a.g.sessionId;case "submitAnswerFeedback":return a.g.projectId?
a.apiUri.g+"/submitanswerfeedback/projects/"+a.g.projectId+"/agents/"+a.g.agentId+"/sessions/"+a.g.sessionId:a.apiUri.g+"/submitanswerfeedback/"+a.g.agentId+"/sessions/"+a.g.sessionId;default:throw Error("Unimplemented");}};function DF_Mwm(a){return"projects/"+a.projectId+"/locations/"+a.location+"/sessions/"+a.sessionId};function DF_Mxm(a,b){this.h=a;this.version=b}DF_Mc(DF_Mxm,DF_MKk);DF_Mxm.prototype.i=function(){return"https://"+this.h.location+"-aiplatform.googleapis.com/"+this.version};function DF_Mym(a,b){DF_Mom.call(this,a,new DF_Mxm(a,b))}DF_Mc(DF_Mym,DF_Mom);
DF_Mym.prototype.query=function(a){var b=this,c,d,e,f,g,h;return DF_Mh(function(k){if(k.g==1){if(!b.g.isAuthenticationRequired)throw Error("Unauthenticated access is not implemented for Vertex AI");c=DF_Mok(b.g.service);return DF_Mg(k,DF_Mkm(b.g,DF_Mim(),b.apiUri.g),2)}d=k.h;((e=c)==null?0:e.visibilityLabel)&&DF_Mjm(d,"X-Goog-Visibilities",c.visibilityLabel);switch((g=c)==null?void 0:g.name){case "vertex-agent":f=b.apiUri.g+"/"+DF_Mwm(b.g)+":runSession";break;case "aiplatform:predict":f=b.apiUri.g+
"/projects/"+b.g.projectId+"/locations/"+b.g.location+"/publishers/"+c.publisher+"/models/"+c.model+":predict";break;case "aiplatform:extension-controller":f=b.apiUri.g+"/projects/"+b.g.projectId+"/locations/"+b.g.location+"/extensionControllers/"+c.controllerId+":query";break;default:throw Error("Unsupported service name: "+((h=c)==null?void 0:h.name));}return k.return(b.h(a,f,d))})};function DF_Mzm(a){this.g=a;this.h=new DF_Msm(a);this.j=new DF_Mym(a,"v1");this.i=new DF_Mym(a,"v1");this.G=new DF_Mym(a,"v1beta1")}
function DF_MAm(a,b,c){var d;((d=DF_Mok(a.g.service))==null?void 0:d.method)==="server-streaming"?DF_Mvm(a.h,b,c.message).then(function(){var e;(e=c.complete)==null||e.call(c)}).catch(function(e){var f;(f=c.error)==null||f.call(c,e)}):DF_Mtm(a.h,b).then(function(e){var f;(f=c.message)==null||f.call(c,e);var g;(g=c.complete)==null||g.call(c)}).catch(function(e){var f;(f=c.error)==null||f.call(c,e)})}DF_Mzm.prototype.sendFeedback=function(a){return this.h.sendFeedback(a)};function DF_MBm(){var a=Error.call(this,"Function cancelled by client");this.message=a.message;"stack"in a&&(this.stack=a.stack)}DF_Mc(DF_MBm,Error);function DF_MCm(a,b,c,d){var e=this;this.tool=a;this.action=b;this.h=null;this.id=DF_MUi();try{var f=c(d);this.g=f instanceof Promise?new Promise(function(g,h){e.h=h;f.then(function(k){return void g(k)}).catch(function(k){return void h(k)})}):Promise.resolve(f)}catch(g){this.g=Promise.reject(g)}};function DF_MDm(){return DF_Mi.apply(0,arguments).join(".")}function DF_MEm(a,b){a=Error.call(this,"Ca
function DF_MGm(a,b,c,d,e){e=e===void 0?!0:e;var f,g;return DF_Mh(function(h){f=a.i.get(DF_MDm(b,c))||a.j.get(c);if(!f)return console.error("DF-MESSENGER","Call to unknown "+b+" "+c),a.h.presenter.sendClientSideFunctionCallResult({tool:b,actionName:c,error:(new DF_MEm(b,c)).message}),h.return(void 0);g=new DF_MCm(b,c,f,d);a.g.set(DF_MDm(g.tool,g.action,g.id),g);return h.return(g.g.then(function(k){console.debug("DF-MESSENGER",b,c,k);e&&a.h.presenter.sendClientSideFunctionCallResult({tool:b,actionName:c,
output:k});return k}).catch(function(k){console.error("DF-MESSENGER",b,c,k);e&&a.h.presenter.sendClientSideFunctionCallResult({tool:b,actionName:c,error:k.message})}).finally(function(){a.g.delete(DF_MDm(g.tool,g.action,g.id))}))})}function DF_MHm(a){a.g.forEach(function(b){var c;(c=b.h)==null||c.call(b,new DF_MBm)});a.g.clear()};function DF_MIm(){}
DF_MIm.prototype.Ja=function(a){var b=a.responseId,c,d=((c=a.queryResult)==null?void 0:c.responseMessages)||[],e;c=((e=a.queryResult)==null?void 0:e.allowAnswerFeedback)||!1;var f,g;a=(f=a.queryResult)==null?void 0:(g=f.currentPage)==null?void 0:g.name;f=[];g=[];d=DF_Md(d);e=d.next();for(var h={};!e.done;h={textCitations:void 0},e=d.next()){e=e.value;if(e.text&&e.text.text){var k=e.text,l=k.text;h.textCitations=k.textCitations;h=l.map(function(m){return function(n,p){var q;return DF_Mpk(n,(q=m.textCitations)==
null?void 0:q[p])}}(h));f.push.apply(f,DF_Me(h))}if(e.payload&&e.payload.richContent)for(h=void 0,k=((h=e.payload.richContent)==null?void 0:h.map(function(m){if(!Array.isArray(m))throw Error("Invalid rich content format. It should be nested within two levels of arrays ([[ ... ]]). See https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger/fulfillment.");return m.filter(DF_M3a).map(function(n){n.id||(n.id=DF_MUi());return n})}))||[],h=DF_Md(k),k=h.next();!k.done;k=h.next())f.push.apply(f,
DF_Me(DF_Mrk(k.value)));e.toolCall&&g.push({tool:e.toolCall.tool,actionName:e.toolCall.action,args:e.toolCall.inputParameters||{}})}return Object.assign({},{responseId:b,messages:f,clientSideFunctionCalls:g,allowFeedback:c},a?{currentPageName:a}:{})};function DF_MJm(){this.allowFeedback=!1;this.languageCode=null;this.utteranceId="utterance-"+DF_MUi()}function DF_MKm(a,b,c){return Object.assign({},{utteranceId:a.utteranceId,languageCode:a.languageCode,mode:b.some(DF_MLm)?"blocking":"normal",messages:b,isBot:c},a.responseId?{responseId:a.responseId}:{},c?{allowFeedback:a.allowFeedback}:{})}function DF_MMm(a,b){a.languageCode=b;return a}function DF_MLm(a){return a.type==="customCard"&&a.richElements.some(DF_MNm)||a.type==="chips"&&DF_MNm(a)}
function DF_MNm(a){switch(a.type){case "button":return a.mode==="blocking";case "chips":return a.options.some(function(b){return b.mode==="blocking"});default:return!1}};function DF_MOm(a,b){this.g=a;this.h=b}DF_MOm.prototype.Ja=function(a){return this.h.Ja(a)};
DF_MOm.prototype.processResponse=function(a){var b=this.Ja(a),c={messages:b.messages};if(DF_Mm(this.g,"df-response-received",{messages:b.messages,data:c,raw:a})){a=Object.assign({},b,{messages:c.messages});if(a.messages.length>0){b=new DF_MJm;b.responseId=a.responseId;b.allowFeedback=a.allowFeedback;b=DF_MKm(DF_MMm(b,this.g.languageCode),a.messages,!0);this.g.addUtterance(b);b=[];c=DF_Md(a.messages);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.type==="customCard"){d=DF_Md(d.richElements);
for(var e=d.next();!e.done;e=d.next())e=e.value,e.type==="info"&&(e=DF_MYf(e))&&b.push(e.href)}else if(d.type==="match_citations")for(d=DF_Md(d.citations),e=d.next();!e.done;e=d.next())(e=DF_M_f(e.value))&&b.push(e.href);b.length&&DF_Mm(this.g,"df-url-suggested",{suggestedUrls:b})}var f;((f=a.currentPageName)==null?0:f.endsWith("END_SESSION"))&&DF_Mm(this.g,"df-session-ended",{});f=DF_Md(a.clientSideFunctionCalls);for(a=f.next();!a.done;a=f.next())a=a.value,this.g.callClientSideFunction(a.tool,a.actionName,
a.args,!0)}};function DF_MPm(){}DF_MPm.prototype.Ja=function(a){return{messages:a.response?[DF_Mpk(a.response)]:[],clientSideFunctionCalls:[],responseId:DF_MUi(),allowFeedback:!1}};function DF_MQm(){}DF_MQm.prototype.Ja=function(a){var b;return{messages:((b=a.predictions)==null?void 0:b.map(function(c){return c.content!==void 0?DF_Mpk(c.content):c.bytesBase64Encoded!==void 0?DF_Mqk([{type:"image",rawUrl:"data:"+c.mimeType+";base64,"+c.bytesBase64Encoded}]):null}).filter(DF_M3a))||[],clientSideFunctionCalls:[],responseId:DF_MUi(),allowFeedback:!1}};function DF_MRm(){}
DF_MRm.prototype.Ja=function(a){var b=[],c=[],d,e,f=DF_Md((e=a==null?void 0:(d=a.content)==null?void 0:d.parts)!=null?e:[]);for(d=f.next();!d.done;d=f.next()){d=d.value;e=b.push;var g=e.apply;if(d==null?0:d.inlineData){var h=void 0,k=d.inlineData;var l=(k==null?0:(h=k.mimeType)==null?0:h.startsWith("image/"))?{type:"image",rawUrl:"data:"+k.mimeType+";base64,"+k.data}:void 0}else l=void 0;if(d==null?0:d.fileData){h=void 0;k=d.fileData;var m=k.fileUri;try{var n=(new URL(m)).pathname.split("/").pop()||"";
h=decodeURIComponent(n)}catch(p){console.error("Error extracting file name:",p),h=m}h={type:"files",files:[{name:h,anchor:{href:k.fileUri}}]}}else h=void 0;l=[l,h].filter(DF_M3a);h=[];(d==null?0:d.text)&&h.push(DF_Mpk(d.text));l.length>0&&h.push(DF_Mqk(l));g.call(e,b,DF_Me(h));d.functionCall&&c.push({tool:a.agent,actionName:d.functionCall.name,args:d.functionCall.args||{}})}return{messages:b,clientSideFunctionCalls:c,responseId:DF_MUi(),allowFeedback:!1}};function DF_MSm(){this.sessionId=null;this.M=[];this.o={};this.h=!1;this.i=0;this.G=new Set;this.H=new Map;this.isWaitingForElement=!1;this.g=this.accessToken=this.j=this.endUserMetadata=null}DF_M=DF_MSm.prototype;DF_M.storeSessionId=function(a){this.sessionId=a};DF_M.storeUtterance=function(a){this.M.push(a)};DF_M.storeChatBubbleExpanded=function(a){this.h=a};DF_M.storeChatScrollDistance=function(a){this.i=a};DF_M.storeMessageClicked=function(a){this.G.add(a)};
DF_M.storeUtteranceReaction=function(a,b){this.H.set(a,b)};DF_M.storeIsWaitingForElement=function(a){this.isWaitingForElement=a};DF_M.storeEndUserMetadata=function(a){this.endUserMetadata=a};DF_M.storeQueryParameters=function(a){this.o=a};DF_M.storeLastResponseInstant=function(a){this.j=a};DF_M.storeAccessToken=function(a,b){this.accessToken=a;this.g=b};DF_M.getEndUserMetadata=function(){return this.endUserMetadata===null?null:Object.assign({},this.endUserMetadata)};DF_M.getLastResponseInstant=function(){return this.j};
DF_M.getSessionId=function(){return this.sessionId};DF_M.getUtterances=function(){return[].concat(DF_Me(this.M))};DF_M.isChatBubbleExpanded=function(){return this.h};DF_M.getChatScrollDistance=function(){return this.i};DF_M.isMessageClicked=function(a){return this.G.has(a)};DF_M.getUtteranceReaction=function(a){return this.H.get(a)||0};DF_M.getIsWaitingForElement=function(){return this.isWaitingForElement};DF_M.getQueryParameters=function(){return this.o};
DF_M.getAccessToken=function(){return!this.accessToken||!this.g||(new Date).getTime()>this.g?null:this.accessToken};DF_M.getAccessTokenExpiration=function(){return this.g};DF_M.clearMessages=function(){this.M=[]};DF_M.clearLastResponseInstant=function(){this.j=null};DF_M.clearAccessToken=function(){this.g=this.accessToken=null};
DF_M.clearAll=function(a){this.sessionId=null;this.clearMessages();this.endUserMetadata=null;this.o={};this.clearLastResponseInstant();this.G.clear();this.H.clear();this.h=this.isWaitingForElement=!1;this.i=0;(a==null?0:a.clearAuthentication)&&this.clearAccessToken()};function DF_MTm(){}DF_M=DF_MTm.prototype;DF_M.storeSessionId=function(a){DF_MUm(this,"sessionID",a)};DF_M.storeUtterance=function(a){a=JSON.stringify(a);var b=DF_MVm(this,"messages")||"";DF_MUm(this,"messages",b.length?b+","+a:a)};DF_M.storeChatBubbleExpanded=function(a){DF_MUm(this,"chatBubbleExpansion",String(a))};DF_M.storeChatScrollDistance=function(a){DF_MUm(this,"chatScrollDistance",String(a))};DF_M.storeMessageClicked=function(a){DF_MUm(this,a+"-clicked","true")};
DF_M.storeUtteranceReaction=function(a,b){DF_MUm(this,a+"-reaction",String(b))};DF_M.storeIsWaitingForElement=function(a){DF_MUm(this,"isWaitingForElement",String(a))};DF_M.storeEndUserMetadata=function(a){DF_MUm(this,"endUserMetadata",JSON.stringify(a))};DF_M.storeQueryParameters=function(a){DF_MUm(this,"queryParameters",JSON.stringify(a))};DF_M.storeLastResponseInstant=function(a){DF_MUm(this,"lastResponseInstant",String(a))};
DF_M.storeAccessToken=function(a,b){DF_MUm(this,"accessToken",a);DF_MUm(this,"accessTokenExpiration",String(b))};function DF_MUm(a,b,c){console.debug("DF-MESSENGER","SessionStorage","setItem",b,c===null?null:c.length<24?c:c.substring(0,24)+"...");try{window.sessionStorage.setItem(a.gb(b),c)}catch(d){console.error("DF-MESSENGER","SessionStorage","setItem",d)}}
DF_M.getEndUserMetadata=function(){try{var a=DF_MVm(this,"endUserMetadata");if(a)return JSON.parse(a)}catch(b){console.error("DF-MESSENGER","SessionStorage","getEndUserMetadata",b)}return null};DF_M.getQueryParameters=function(){try{var a=DF_MVm(this,"queryParameters");if(a)return JSON.parse(a)}catch(b){console.error("DF-MESSENGER","SessionStorage","getQueryParameters",b)}return{}};DF_M.getLastResponseInstant=function(){var a=DF_MVm(this,"lastResponseInstant");return a?Number(a):null};
DF_M.getSessionId=function(){return DF_MVm(this,"sessionID")};DF_M.getUtterances=function(){try{var a=DF_MVm(this,"messages");if(a)return JSON.parse("["+a+"]")}catch(b){console.error("DF-MESSENGER","SessionStorage","getStoredMessages",b)}return[]};DF_M.isChatBubbleExpanded=function(){var a=DF_MVm(this,"chatBubbleExpansion");return!!a&&a==="true"};DF_M.getChatScrollDistance=function(){var a=DF_MVm(this,"chatScrollDistance");return a?Number(a):0};
DF_M.isMessageClicked=function(a){a=DF_MVm(this,a+"-clicked");return!!a&&a==="true"};DF_M.getUtteranceReaction=function(a){return(a=DF_MVm(this,a+"-reaction"))?Number(a):0};DF_M.getIsWaitingForElement=function(){return DF_MVm(this,"isWaitingForElement")==="true"};DF_M.getAccessToken=function(){var a=DF_MVm(this,"accessToken"),b=this.getAccessTokenExpiration();return!a||!b||(new Date).getTime()>Number(b)?null:a};
DF_M.getAccessTokenExpiration=function(){var a=DF_MVm(this,"accessTokenExpiration");return a?Number(a):null};function DF_MVm(a,b){var c=null;try{c=window.sessionStorage.getItem(a.gb(b)),console.debug("DF-MESSENGER","SessionStorage","getItem",b,c===null?null:c.length<24?c:c.substring(0,24)+"...")}catch(d){console.error("DF-MESSENGER","SessionStorage","getItem",b,d)}return c}DF_M.clearMessages=function(){DF_MWm(this,"messages")};DF_M.clearLastResponseInstant=function(){DF_MWm(this,"lastResponseInstant")};
DF_M.clearAccessToken=function(){DF_MWm(this,"accessToken");DF_MWm(this,"accessTokenExpiration")};function DF_MWm(a,b){console.debug("DF-MESSENGER","SessionStorage","removeItem",b);window.sessionStorage.removeItem(a.gb(b))}
DF_M.clearAll=function(a){console.debug("DF-MESSENGER","SessionStorage","clear");for(var b=[],c=["accessToken","accessTokenExpiration"].map(this.gb.bind(this)),d=0;d<window.sessionStorage.length;++d){var e=void 0,f=(e=window.sessionStorage.key(d))!=null?e:"";f.startsWith("df-messenger")&&(e=void 0,((e=a)!=null&&e.clearAuthentication||!c.includes(f))&&b.push(f))}b.forEach(function(g){return void window.sessionStorage.removeItem(g)})};DF_M.gb=function(a){return"df-messenger-"+a};function DF_MXm(a){this.g=a;this.H=!1;this.o=0;a:switch(this.g.storageOption){case "none":a=new DF_MSm;break a;default:a=new DF_MTm}this.h=a;this.j=new DF_MHk(this.g,this.h);this.i=new DF_Mzm(this.g);this.G=new DF_MFm(this.g)}DF_M=DF_MXm.prototype;DF_M.triggerWelcomeIntent=function(a){var b=this;return DF_Mh(function(c){if(c.g==1){if(!b.H)return c.return(!1);console.debug("DF-MESSENGER","trigger welcome intent");b.H=!1;return DF_Mg(c,b.sendDialogflowRequest(DF_Mld(a,b.g.languageCode)),2)}return c.return(!0)})};
DF_M.restoreSessionTimeout=function(a){var b=this,c=this.h.getLastResponseInstant();c&&(a-=(new Date).getTime()-c,a<=0?DF_MYm(this):this.o=window.setTimeout(function(){return void DF_MYm(b)},a))};DF_M.requestAuthentication=function(){return this.j.requestAuthentication()};DF_M.storeEndUserMetadata=function(a){this.h.storeEndUserMetadata(a)};DF_M.setQueryParameters=function(a){this.h.storeQueryParameters(a)};DF_M.storeNewSessionId=function(a){this.H=!0;DF_MZm(this);this.h.storeSessionId(a)};
DF_M.storeUtterance=function(a){this.h.storeUtterance(a)};DF_M.storeMessageClicked=function(a){this.h.storeMessageClicked(a)};DF_M.storeUtteranceReaction=function(a,b){this.h.storeUtteranceReaction(a,b)};DF_M.storeChatBubbleExpanded=function(a){this.h.storeChatBubbleExpanded(a)};DF_M.storeChatScrollDistance=function(a){this.h.storeChatScrollDistance(a)};DF_M.storeIsWaitingForElement=function(a){this.h.storeIsWaitingForElement(a)};DF_M.storeLastResponseInstant=function(a){this.h.storeLastResponseInstant(a)};
DF_M.getIsWaitingForElement=function(){return this.h.getIsWaitingForElement()};DF_M.getSessionId=function(){return this.h.getSessionId()};DF_M.getUtterances=function(){var a=this;return this.h.getUtterances().reduce(function(b,c){c.messages=DF_M_m(a,c.messages,c.utteranceId);c.messages.length>0&&b.push(c);return b},[])};DF_M.getQueryParameters=function(){return this.h.getQueryParameters()};DF_M.registerClientSideFunction=function(a,b,c){this.G.register(a,b,c)};
DF_M.registerClientSideFunctionForAllTools=function(a,b){this.G.j.set(a,b)};DF_M.callClientSideFunction=function(a,b,c,d){d=d===void 0?!0:d;var e=this;return DF_Mh(function(f){return f.return(DF_MGm(e.G,a,b,c,d))})};DF_M.abandonClientSideFunctionCalls=function(){DF_MHm(this.G)};function DF_M_m(a,b,c){return b.filter(function(d){return d.type==="chips"?!a.h.isMessageClicked("chips-"+c+"-"+d.id):!0})}DF_M.isChatBubbleExpanded=function(){return this.h.isChatBubbleExpanded()};
DF_M.getChatScrollDistance=function(){return this.h.getChatScrollDistance()};DF_M.getUtteranceReaction=function(a){return this.h.getUtteranceReaction(a)};DF_M.restoreAccessToken=function(){return this.j.restoreAccessToken()};DF_M.clearStorage=function(a){this.h.clearAll(a);(a==null?0:a.clearAuthentication)&&this.clearAuthentication()};DF_M.clearAuthentication=function(){this.j.clearAccessToken()};
DF_M.sendQuery=function(a){var b;switch((b=DF_Mok(this.g.service))==null?void 0:b.name){case "dialogflow":return this.sendDialogflowRequest({text:{text:a},languageCode:this.g.languageCode||""});case "vertex-agent":return DF_M0m(this,a);case "aiplatform:predict":return DF_M1m(this,a);case "aiplatform:extension-controller":return DF_M2m(this,a);default:return Promise.reject("Unsupported service: "+this.g.service)}};
DF_M.sendClientSideFunctionCallResult=function(a){var b;switch((b=DF_Mok(this.g.service))==null?void 0:b.name){case "dialogflow":b=this.sendDialogflowRequest;var c=this.g.languageCode;a={toolCallResult:Object.assign({},{tool:a.tool,action:a.actionName},a.error?{error:{message:a.error}}:{outputParameters:a.output||{}}),languageCode:c||""};return b.call(this,a);default:return Promise.reject("Unsupported service: "+this.g.service)}};
DF_M.sendDialogflowRequest=function(a){var b=this,c,d;return DF_Mh(function(e){c=new DF_MOm(b.g,new DF_MIm);d=b;return e.return(new Promise(function(f,g){DF_MAm(b.i,DF_M3m(d,a),{message:function(h){c.processResponse(h)},error:function(h){g(h)},complete:function(){DF_M4m(d);f()}})}))})};
function DF_M3m(a,b){var c=a.getQueryParameters(),d=a.h.getEndUserMetadata();b={queryInput:b};c.channel="DF_MESSENGER";a.g.alternativeLanguageCodes&&(b.queryInput.alternativeLanguageCodes=a.g.alternativeLanguageCodes);d&&(c.endUserMetadata=d);a.g.sessionTtl&&(a.g.sessionTtl>=86400&&console.warn("DF-MESSENGER","session-ttl must be strictly less than 86400 seconds"),c.sessionTtl=a.g.sessionTtl+"s");a.g.accessTokenParameterName&&a.g.accessToken&&(c.parameters=c.parameters||{},c.parameters[a.g.accessTokenParameterName]=
a.g.accessToken);Object.keys(c).length>0&&(b.queryParams=c);return b}function DF_M0m(a,b){var c;return DF_Mh(function(d){if(d.g==1){var e=a.i;var f={session:DF_Mwm(e.g),content:{parts:[{text:b}]}};f.agent=e.g.agentId;e=e.G.query(f);return DF_Mg(d,e,2)}c=d.h;(new DF_MOm(a.g,new DF_MRm)).processResponse(c);d.g=0})}
function DF_M1m(a,b){var c;return DF_Mh(function(d){if(d.g==1){var e=a.i;var f={instances:[{prompt:b}],parameters:{temperature:.2,maxOutputTokens:1024,topP:.8,topK:40,candidateCount:1,sampleCount:1}};f=e.g.postData?Object.assign({},f,JSON.parse(e.g.postData)):f;e=e.j.query(f);return DF_Mg(d,e,2)}c=d.h;(new DF_MOm(a.g,new DF_MQm)).processResponse(c);d.g=0})}
function DF_M2m(a,b){var c;return DF_Mh(function(d){if(d.g==1){var e=a.i;var f={query:{query:b},experimentalFeatures:{useFlowReact:!0}};f=e.g.postData?Object.assign({},f,JSON.parse(e.g.postData)):f;e=e.i.query(f);return DF_Mg(d,e,2)}c=d.h;(new DF_MOm(a.g,new DF_MPm)).processResponse(c);d.g=0})}function DF_MYm(a){DF_MZm(a);console.debug("DF-MESSENGER","session timed out!");DF_Mm(a.g,"df-session-expired",{})}
function DF_M4m(a){DF_MZm(a);a.o=window.setTimeout(function(){return void DF_MYm(a)},(a.g.sessionTtl||1800)*1E3);a.h.storeLastResponseInstant((new Date).getTime())}function DF_MZm(a){window.clearTimeout(a.o);a.o=0;a.h.clearLastResponseInstant()}DF_M.sendFeedback=function(a){return this.i.sendFeedback(a)};DF_M.createAudioRecorder=function(){return new DF_Mvk};DF_M.getStorageHandler=function(){return this.h};DF_M.getAuthProvider=function(){return this.j};var DF_M5m=DF_Mf([' <link\n rel="stylesheet"\n href="https://fonts.googleapis.com/icon?family=Material+Icons" />\n <link\n rel="stylesheet"\n href="https://fonts.googleapis.com/css?family=Google+Sans_old" />\n <style>\n :root {\n --df-messenger-default-font-family: \'Google Sans\', \'Helvetica Neue\',\n sans-serif;\n --df-messenger-default-font-size: 14px;\n --df-messenger-default-font-color: #1f1f1f;\n --df-messenger-default-secondary-font-color: #757575;\n --d
function DF_M7(){var a=DF_Mw.call(this)||this;a.service=null;a.apiUri=null;a.postData=null;a.workforcePoolProvider=null;a.oauthClientId=null;a.authSettings=null;a.accessTokenParameterName=null;a.projectId=null;a.agentId=null;a.wb=null;a.g=null;a.allowFeedback=null;a.chatTitle=null;a.welcomeIntent=null;a.gcsUpload=null;a.sessionId=null;a.Tb=null;a.location=null;a.environment=null;a.urlAllowlist=null;a.sessionTtl=null;a.maxQueryLength=256;a.botWriting=!1;a.Ta=!1;a.kb=!1;a.isAuthenticationPending=!1;
a.Uc=a;a.o=new Map;a.debug=new DF_MHe;a.Sb=!1;a.addUtterance=a.addUtterance.bind(a);return a}DF_Mc(DF_M7,DF_Mw);DF_M7.F=DF_Mw.F;DF_M7.s=DF_Mw.s;DF_M7.u=DF_Mw.u;DF_M7.h=DF_Mw.h;DF_M7.g=DF_Mw.g;DF_M7.D=DF_Mw.D;DF_M7.i=DF_Mw.i;DF_M7.v=DF_Mw.v;DF_M7.m=DF_Mw.m;DF_M7.C=DF_Mw.C;DF_M=DF_M7.prototype;DF_M.registerBackendService=function(a){this.registeredBackendService=a};
DF_M.connectedCallback=function(){var a=this;this.languageCode||(console.debug("DF-MESSENGER","df-messenger","using en language code"),this.languageCode="en");switch(DF_Mok(this.service).name){case "dialogflow":this.location||(console.debug("DF-MESSENGER","df-messenger","using global location"),this.location="global")}this.gcsUpload&&(console.error("Attribute \"gcs-upload\" is deprecated. Please use \"globalThis.dfInstallUtil('gcs-bucket-upload', {bucketName: '"+this.gcsUpload+"'});\" instead."),
setTimeout(function(){globalThis.dfInstallUtil("gcs-bucket-upload",{bucketName:a.gcsUpload})},0));this.presenter=new DF_MXm(this);DF_M9m(this);this.isAuthenticationPending=!this.accessToken&&this.isAuthenticationRequired;DF_M$m(this);this.isAuthenticationPending&&this.presenter.restoreAccessToken();this.Ta=this.presenter.getIsWaitingForElement();DF_Med(DF_Mu(DF_M5m),document.head,{pb:document.head.querySelector("link,style")});DF_Mw.prototype.connectedCallback.call(this)};
DF_M.ia=function(a){var b=this;DF_Mw.prototype.ia.call(this,a);this.presenter.restoreSessionTimeout((this.sessionTtl||1800)*1E3);setTimeout(function(){b.Sb=!0},1);DF_Mm(this,"df-messenger-loaded",{})};DF_M.getMessageConsumers=function(){return[].concat(DF_Me(this.o.values()))};DF_M.renderCustomText=function(a,b){b=b===void 0?!0:b;a=DF_Mpk(a);b=DF_MKm(DF_MMm(new DF_MJm,this.languageCode),[a],b);this.addUtterance(b)};DF_M.renderCustomCard=function(a){this.renderCustomMessages(DF_Mrk(a))};
DF_M.renderCustomMessages=function(a){a=DF_MKm(DF_MMm(new DF_MJm,this.languageCode),a,!0);this.addUtterance(a)};DF_M.registerClientSideFunction=function(a,b,c){this.presenter.registerClientSideFunction(a,b,c)};function DF_M9m(a){a.presenter.registerClientSideFunctionForAllTools("df_render_custom_card",function(b){var c,d;return DF_Mh(function(e){(d=(c=b)==null?void 0:c.payloads)&&d.length>0&&a.renderCustomCard(d);e.g=0})})}
DF_M.callClientSideFunction=function(a,b,c,d){var e=this;this.kb=!0;return this.presenter.callClientSideFunction(a,b,c,d===void 0?!0:d).finally(function(){return e.kb=!1})};DF_M.setContext=function(a){this.presenter.storeEndUserMetadata(a)};DF_M.setQueryParameters=function(a){this.presenter.setQueryParameters(a)};DF_M.clearStorage=function(a){this.presenter.clearStorage(a);this.kb=this.Ta=!1;this.o.forEach(function(b){return void b.clearMessages()})};DF_M.clearAuthentication=function(){this.presenter.clearAuthentication()};
DF_M.startNewSession=function(a){(a==null?0:a.retainHistory)||this.clearStorage(a);DF_Man(this);this.welcomeIntent&&!this.isAuthenticationPending&&this.presenter.triggerWelcomeIntent(this.welcomeIntent)};DF_M.sendQuery=function(a){var b=this;return DF_Mh(function(c){return DF_Mg(c,b.sendRequest("query",a),0)})};DF_M.sendRequest=function(a){var b=DF_Mi.apply(1,arguments),c=this;return DF_Mh(function(d){return DF_Mg(d,DF_Mmd.apply(null,[c,a].concat(DF_Me(b))),0)})};
DF_M.requestAuthentication=function(){var a=this;return DF_Mh(function(b){b.g==1?b=DF_Mg(b,a.presenter.requestAuthentication(),2):a.welcomeIntent?b=DF_Mg(b,a.presenter.triggerWelcomeIntent(a.welcomeIntent),0):(b.g=0,b=void 0);return b})};DF_M.reactionsAllowed=function(){return this.allowFeedback==="all"};DF_M.addUtterance=function(a){a.mode==="blocking"&&(this.isWaitingForElement=!0);this.presenter.storeUtterance(a);this.o.forEach(function(b){return void b.addMessages([a])})};
DF_M.abandonClientSideFunctionCalls=function(){this.presenter.abandonClientSideFunctionCalls()};DF_M.registerMessageConsumer=function(a){this.o.set(a.consumerId,a);var b=this.presenter.getUtterances();b.length>0&&a.addMessages(b)};DF_M.unregisterMessageConsumer=function(a){this.o.delete(a.consumerId)};function DF_M$m(a){if(!a.sessionId){var b=a.presenter.getSessionId();b?(a.sessionId=b,DF_Mm(a,"df-session-id-set",{sessionId:a.sessionId,isNew:!1})):DF_Man(a)}}
function DF_Man(a){a.sessionId="dfMessenger-"+DF_MUi();a.presenter.storeNewSessionId(a.sessionId);DF_Mm(a,"df-session-id-set",{sessionId:a.sessionId,isNew:!0})}DF_M.Sd=function(){DF_MVa(this)};DF_M.render=function(){var a,b;var c=((a=this.registeredBackendService)==null?0:(b=a.isDemo)==null?0:b.call(a,this.targetId))?DF_Mu(DF_M7m):void 0;return DF_Mu(DF_M8m,c,!this.Sb||this.N?null:DF_Mu(DF_M6m,this.chatTitle),this.Sd)};
DF_Ma.Object.defineProperties(DF_M7.prototype,{targetId:{configurable:!0,enumerable:!0,get:function(){return this.agentId}},languageCode:{configurable:!0,enumerable:!0,set:function(a){if(a){this.g=a.split(",").map(function(c){return c.trim()});var b;this.wb=(b=this.g[0])!=null?b:null}else this.wb=this.g=null},get:function(){return this.wb}},alternativeLanguageCodes:{configurable:!0,enumerable:!0,get:function(){return!this.g||this.g.length<=1?null:this.g}},accessToken:{configurable:!0,enumerable:!0,
get:function(){return this.Tb},set:function(a){this.Tb=a;this.isAuthenticationPending=!this.accessToken&&this.isAuthenticationRequired}},storageOption:{configurable:!0,enumerable:!0,get:function(){return this.getAttribute("storage-option")}},enableCodeHighlight:{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("enable-code-highlight")}},isWaitingForElement:{configurable:!0,enumerable:!0,get:function(){return this.Ta},set:function(a){this.Ta=a;this.presenter.storeIsWaitingForElement(a)}},
isAuthenticationRequired:{configurable:!0,enumerable:!0,get:function(){return!!this.oauthClientId||!!this.authSettings}},assignedNodes:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.T.querySelector("slot"))==null?void 0:a.assignedNodes()}},N:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.assignedNodes)==null?void 0:a.some(function(b){if(b.nodeType===Node.TEXT_NODE){var c;return((c=b.textContent)!=null?c:"").trim().length>0}return!0})}}});var DF_M8=DF_M7;
DF_M8.j=[DF_Mkd,DF_My];DF_Mk([DF_Ms({l:"service",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"service",void 0);DF_Mk([DF_Ms({l:"api-uri",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"apiUri",void 0);DF_Mk([DF_Ms({l:"post-data",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"postData",void 0);DF_Mk([DF_Ms({l:"workforce-pool-provider",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"workforcePoolProvider",void 0);
DF_Mk([DF_Ms({l:"oauth-client-id",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"oauthClientId",void 0);DF_Mk([DF_Ms({l:"auth",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"authSettings",void 0);DF_Mk([DF_Ms({l:"access-token-name",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"accessTokenParameterName",void 0);DF_Mk([DF_Ms({l:"project-id",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"projectId",void 0);
DF_Mk([DF_Ms({l:"agent-id",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"agentId",void 0);DF_Mk([DF_Ms({l:"language-code",type:String,L:!0}),DF_Ml("design:type",Object),DF_Ml("design:paramtypes",[Object])],DF_M8.prototype,"languageCode",null);DF_Mk([DF_M0a({context:"df-languagecode"}),DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"wb",void 0);DF_Mk([DF_Ms({l:"allow-feedback",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"allowFeedback",void 0);
DF_Mk([DF_Ms({l:"chat-title",type:String}),DF_Ml("design:type",Object)],DF_M8.prototype,"chatTitle",void 0);DF_Mk([DF_Ms({l:"intent",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"welcomeIntent",void 0);DF_Mk([DF_Ms({l:"gcs-upload",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"gcsUpload",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"sessionId",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"Tb",void 0);
DF_Mk([DF_Ms({l:"location",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"location",void 0);DF_Mk([DF_Ms({l:"environment",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"environment",void 0);DF_Mk([DF_Ms({l:"url-allowlist",type:String,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"urlAllowlist",void 0);DF_Mk([DF_Ms({l:"session-ttl",type:Number,L:!0}),DF_Ml("design:type",Object)],DF_M8.prototype,"sessionTtl",void 0);
DF_Mk([DF_Ms({l:"max-query-length",type:Number,L:!0}),DF_Ml("design:type",Number)],DF_M8.prototype,"maxQueryLength",void 0);DF_Mk([DF_M0a({context:"df-botwriting"}),DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"botWriting",void 0);DF_Mk([DF_M0a({context:"df-iswaitingforelement"}),DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"Ta",void 0);DF_Mk([DF_M0a({context:"df-executingclientsidefunction"}),DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"kb",void 0);
DF_Mk([DF_M0a({context:"df-authenticationpending"}),DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"isAuthenticationPending",void 0);DF_Mk([DF_M0a({context:"df-instance"}),DF_Ml("design:type",Object)],DF_M8.prototype,"Uc",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"registeredBackendService",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_M8.prototype,"Sb",void 0);DF_M8=DF_Mk([DF_Mp("df-messenger"),DF_Ml("design:paramtypes",[])],DF_M8);function DF_Mbn(a,b){var c,d,e,f,g;DF_Mh(function(h){if(h.g==1)return c=document.querySelector("df-messenger"),DF_Mg(h,DF_MNa(a,b,((d=c)==null?void 0:d.languageCode)||null),2);e=h.h;if(!e)return h.return();(f=c)==null||f.renderCustomText(e,!1);return DF_Mg(h,(g=c)==null?void 0:g.sendQuery(e),0)})}
function DF_Mcn(a,b){var c,d,e,f,g,h,k,l,m;return DF_Mh(function(n){if(n.g==1){c=document.querySelector("df-messenger");if((d=b)==null?0:d.temporaryMessage)(e=c)==null||e.renderCustomText(b.temporaryMessage,!1);(f=c)==null||f.addEventListener("df-response-received",function(p){p=p.detail.raw;var q=c.getMessageConsumers();if(q.length===1){var r,u,v;var t=(u=(r=q[0]).getRenderedMessages)==null?void 0:(v=u.call(r).at(-1))==null?void 0:v.elements.at(-1)}var x;r=(x=p.queryResult)==null?void 0:x.transcript;
t instanceof DF_MWf&&t.isBot===!1?t.text=r||"":r&&c.renderCustomText(r,!1)},{once:!0});if((g=c)==null){h=void 0;n.g=3;return}k=g;l=k.sendRequest;m=k;return DF_Mg(n,DF_MJa(a),4)}n.g!=3&&(h=l.call(m,"audio",n.h));return DF_Mg(n,h,0)})}function DF_Mdn(a){window.addEventListener("df-audio-input-recorded",function(b){var c;(c=document.querySelector("df-messenger-chat,df-messenger-chat-bubble"))==null||c.setInput("");DF_Mbn(b.detail.data,a.apiKey)})}
function DF_Men(a){window.addEventListener("df-user-input-entered",function(b){b=b.detail;b.audio&&DF_Mbn(b.audio,a.apiKey)})}function DF_Mfn(a){window.addEventListener("df-audio-input-recorded",function(b){var c,d;return DF_Mh(function(e){(c=document.querySelector("df-messenger-chat,df-messenger-chat-bubble"))==null||c.setInput("");d=b.detail;return DF_Mg(e,DF_Mcn(d.data,a),0)})})}
function DF_Mgn(a){window.addEventListener("df-user-input-entered",function(b){var c;return DF_Mh(function(d){c=b.detail;return c.audio?DF_Mg(d,DF_Mcn(c.audio,a),0):d.return()})})};var DF_Mhn=DF_Mq([".title-button{background:var(--df-messenger-titlebar-button-background,transparent);border:var(--df-messenger-titlebar-button-border,none);border-radius:var(--df-messenger-titlebar-button-border-radius,999px);color:var(--df-messenger-titlebar-button-color,var(--df-messenger-titlebar-font-color,#fff)\n );cursor:pointer;margin:0;padding:12px;transition:background-color .3s}.title-button:hover{background:var(--df-messenger-titlebar-button-background-hover,rgba(200,220,252,.08));color:var(--df-messenger-titlebar-button-color-hover,var(--df-messenger-titlebar-font-color,#fff)\n );transition:background-color .3s}.title-button.inactive{color:var(--df-messenger-titlebar-button-color-inactive,#757575)}.title-button.inactive:not(:hover){background:var(--df-messenger-titlebar-button-background-inactive,transparent)}.t
DF_M9.m=DF_Mw.m;DF_M9.C=DF_Mw.C;DF_M9.prototype.render=function(){return DF_Mu(DF_Min,this.g,this.titleText||DF_Mv)};DF_M9.prototype.g=function(){var a;(a=this.parent)==null||a.startNewSession()};DF_Ma.Object.defineProperties(DF_M9.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return document.querySelector("df-messenger")}}});var DF_Mjn=DF_M9;DF_Mjn.j=[DF_Mhn];DF_Mk([DF_Ms({l:"title-text",type:String}),DF_Ml("design:type",String)],DF_Mjn.prototype,"titleText",void 0);
DF_Mjn=DF_Mk([DF_Mp("df-reset-session-button")],DF_Mjn);var DF_Mkn=DF_Mf(['\n <style>\n @import url(https://fonts.googleapis.com/icon?family=Material+Icons);\n </style>\n <button\n class="title-button ','"\n @click=',"\n title=",'>\n <span class="material-icons">graphic_eq</span>\n </button>\n ']);function DF_M$(){var a=DF_Mw.apply(this,arguments)||this;a.active=!1;return a}DF_Mc(DF_M$,DF_Mw);DF_M$.F=DF_Mw.F;DF_M$.s=DF_Mw.s;DF_M$.u=DF_Mw.u;DF_M$.h=DF_Mw.h;DF_M$.g=DF_Mw.g;DF_M$.D=DF_Mw.D;
DF_M$.i=DF_Mw.i;DF_M$.v=DF_Mw.v;DF_M$.m=DF_Mw.m;DF_M$.C=DF_Mw.C;
DF_M$.prototype.connectedCallback=function(){var a=this;DF_Mw.prototype.connectedCallback.call(this);window.addEventListener("df-request-sent",function(b){a.active&&(b.detail.data.requestBody.outputAudioConfig=Object.assign({},{audioEncoding:3,sampleRateHertz:48E3},a.voice?{synthesizeSpeechConfig:{voice:{name:a.voice}}}:{},{useAgentSettings:!0}))});window.addEventListener("df-response-received",function(b){a.active&&(b=b.detail.raw,b.outputAudio&&(new Audio("data:audio/ogg;base64,"+b.outputAudio)).play())})};
DF_M$.prototype.render=function(){var a;var b=(a=this.active?this.titleTextActive:this.titleTextInactive)!=null?a:this.titleText;return DF_Mu(DF_Mkn,this.active?"active":"inactive",this.g,b||DF_Mv)};DF_M$.prototype.g=function(){this.active=!this.active};var DF_Mln=DF_M$;DF_Mln.j=[DF_Mhn];DF_Mk([DF_Ms({l:"title-text",type:String}),DF_Ml("design:type",String)],DF_Mln.prototype,"titleText",void 0);
DF_Mk([DF_Ms({l:"title-text-active",type:String}),DF_Ml("design:type",String)],DF_Mln.prototype,"titleTextActive",void 0);DF_Mk([DF_Ms({l:"title-text-inactive",type:String}),DF_Ml("design:type",String)],DF_Mln.prototype,"titleTextInactive",void 0);DF_Mk([DF_Ms({l:"voice",type:String}),DF_Ml("design:type",String)],DF_Mln.prototype,"voice",void 0);DF_Mk([DF_Mt(),DF_Ml("design:type",Object)],DF_Mln.prototype,"active",void 0);DF_Mln=DF_Mk([DF_Mp("df-tts-button")],DF_Mln);var DF_Mmn=new Set(["image/gif","image/jpeg","image/png"]);
function DF_Mnn(a,b){var c=document.querySelector("df-messenger");if(!c)return!1;if(((b==null?0:b.imageTypes)?new Set(b.imageTypes):DF_Mmn).has(a.file.type)){if(b==null?0:b.convertToBase64){var d=new FileReader;d.onload=function(){c.renderCustomCard([{type:"image",rawUrl:d.result}])};d.onerror=function(e){console.error("DF-MESSENGER","Failed reading file",e)};d.readAsDataURL(a.file);return!0}if(!a.actionLink||c.oauthClientId||c.authSettings)return!1;c.renderCustomCard([{type:"image",rawUrl:a.actionLink}]);
return!0}return!1}
function DF_Mon(a,b,c,d){var e,f,g;return DF_Mh(function(h){if(h.g==1)return console.debug("DF-MESSENGER","uploadFile",{file:c,path:d}),e="https://storage.googleapis.com/upload/storage/v1/b/"+b+"/o?uploadType=media&name="+encodeURIComponent(d),DF_Mg(h,DF_Mkm(a,DF_Mjm(new DF_Mhm,"Content-Type",c.type),e),2);if(h.g!=3)return f=h.h,DF_Mg(h,fetch(e,{method:"POST",headers:Object.fromEntries(f.headers),body:c}),3);g=h.h;if(!g.ok)return console.error("DF-MESSENGER","uploadFile","Error",g),h.return(!1);console.debug("DF-MESSENGER",
"uploadFile","Response","ok");return h.return(!0)})}
function DF_Mpn(a,b,c){var d,e,f,g,h,k,l;return DF_Mh(function(m){if(m.g==1)return d=a.sessionId+"/"+DF_MUi()+"_"+c.name,e=b+"/"+d,DF_Mg(m,DF_Mon(a,b,c,d),2);f=m.h;if(!f)return m.return();g=a.presenter.getQueryParameters();g.parameters?g.parameters.files||(g.parameters.files=[]):g.parameters={files:[]};g.parameters.files.push(e);a.setQueryParameters(g);h=(a.isAuthenticationRequired?"https://storage.mtls.cloud.google.com/":"https://storage.googleapis.com/")+e;k=DF_Mm(a,"df-file-upload-completed",{file:c,
gcsPath:e,actionLink:h});if(!k)return m.return();l={type:"files",files:[{name:c.name,anchor:{href:h},image:{rawUrl:"https://fonts.gstatic.com/s/i/short-term/release/googlesymbols/cloud_download/default/24px.svg"}}]};a.renderCustomCard([l]);m.g=0})}function DF_Mqn(a){window.addEventListener("df-file-upload-completed",function(b){DF_Mnn(b.detail,a)&&b.preventDefault()})}
function DF_Mrn(a){window.addEventListener("df-upload-file-selected",function(b){var c;(c=document.querySelector("df-messenger-chat,df-messenger-chat-bubble"))==null||c.setInput("");(b=b.detail.file)&&a!=null&&a.bucketName&&(a!=null&&a.bucketName?(c=document.querySelector("df-messenger"))&&DF_Mpn(c,a.bucketName,b):console.error("DF-MESSENGER","gcs-bucket-upload","Missing bucket name"))})}
function DF_Msn(a){window.addEventListener("df-user-input-entered",function(b){var c,d,e,f,g;return DF_Mh(function(h){if(h.g==1){c=b.detail.file;if(!c)return h.return();(d=document.querySelector("df-messenger-chat,df-messenger-chat-bubble"))==null||d.setInput("");b.preventDefault();if((e=a)==null||!e.bucketName)return console.error("DF-MESSENGER","gcs-bucket-upload","Missing bucket name"),h.return();f=document.querySelector("df-messenger");if(!f)return h.return();(g=b.detail.input)&&f.renderCustomText(g,
!1);return DF_Mg(h,DF_Mpn(f,a.bucketName,c),2)}g?h=DF_Mg(h,f.sendQuery(g),0):(h.g=0,h=void 0);return h})})};function DF_Mtn(a){return a.type==="text"}
function DF_Mun(){window.addEventListener("df-response-received",function(a){a.detail.data.messages.filter(DF_Mtn).forEach(function(b){for(var c=b.text.split("\n"),d=[],e=0;e<c.length;++e){var f=c[e],g=e===0?void 0:c[e-1],h=e===c.length-1?void 0:c[e+1],k=void 0;var l=f.trim();var m=(k=h)==null?void 0:k.trim();if(m){k=/^(\s*-*\s*\|)+\s*-*$/;var n=/^\|(.*?\|)+$/,p=/^\|(\s*-*\s*\|)+$/;l=/^(.*?\|)+.*?$/.test(l)&&k.test(m)||n.test(l)&&p.test(m)}else l=!1;l?g===void 0||g.trim()===""?d.push(f):d.push("\n"+
f):(m=void 0,g=f.trim(),(l=(m=h)==null?void 0:m.trim())?(m=/^(.*?\|)+.*?$/,k=/^\|(.*?\|)+$/,g=m.test(g)&&!m.test(l)||k.test(g)&&!k.test(l)):g=!1,g?h===void 0||h.trim()===""?d.push(f):d.push(f+"\n"):d.push(f))}b.text=d.join("\n")})})};function DF_Mvn(a,b){switch(a){case "markdown-fixer":DF_Mun();break;case "audio-stt-direct":DF_Mdn(b);break;case "audio-stt-onsend":DF_Men(b);break;case "audio-df-direct":DF_Mfn(b);break;case "audio-df-onsend":DF_Mgn(b);break;case "gcs-bucket-upload":DF_Mrn(b);break;case "gcs-upload-response":DF_Mqn(b);break;case "gcs-bucket-upload-onsend":DF_Msn(b);break;default:console.error("DF-MESSENGER","Unknown util: "+a)}}
globalThis.dfInstallUtils=function(a){Object.entries(a).forEach(function(b){var c=DF_Md(b);b=c.next().value;c=c.next().value;DF_Mvn(b,c)})};globalThis.dfInstallUtil=function(a,b){DF_Mvn(a,b)};
No antivirus signatures available.
No IRMA results available.