@cusuai/web-sdk 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,167 @@
1
+ var Cusu=(function(){var e=Array.isArray,t=Array.prototype.indexOf,n=Array.prototype.includes,r=Array.from,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,s=Object.prototype,c=Array.prototype,l=Object.getPrototypeOf,u=Object.isExtensible;function d(e){return typeof e==`function`}var f=()=>{};function p(e){for(var t=0;t<e.length;t++)e[t]()}function m(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var h=1<<24,g=1024,_=2048,v=4096,y=8192,b=16384,x=32768,S=1<<25,ee=65536,C=1<<19,te=1<<20,ne=1<<25,re=65536,ie=1<<21,ae=1<<22,oe=1<<23,se=Symbol(`$state`),ce=Symbol(`component`),le=Symbol(`legacy props`),ue=Symbol(``),de=Symbol(`attributes`),fe=Symbol(`class`),pe=Symbol(`style`),me=Symbol(`text`),w=Symbol(`form reset`),he=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ge=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`),_e={},ve=Symbol(`uninitialized`),ye=`http://www.w3.org/1999/xhtml`,be=`http://www.w3.org/2000/svg`,xe=`http://www.w3.org/1998/Math/MathML`;function Se(){console.warn(`https://svelte.dev/e/derived_inert`)}function Ce(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function T(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function we(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function Te(e){E=e}var D;function O(e){if(e===null)throw Ce(),_e;return D=e}function Ee(){return O(un(D))}function k(e){if(E){if(un(D)!==null)throw Ce(),_e;D=e}}function De(e=1){if(E){for(var t=e,n=D;t--;)n=un(n);D=n}}function Oe(e=!0){for(var t=0,n=D;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=un(n);e&&n.remove(),n=i}}function ke(e){if(!e||e.nodeType!==8)throw Ce(),_e;return e.data}function Ae(e){return e===this.v}function je(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Me(e){return!je(e,this.v)}function Ne(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Pe(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Fe(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ie(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Le(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Re(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ze(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Be(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ve(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function He(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ue(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function We(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var Ge=null;function Ke(e){Ge=e}function qe(e,t=!1,n){Ge={p:Ge,i:!1,c:null,e:null,s:e,x:null,r:B,l:null}}function Je(e){var t=Ge,n=t.e;if(n!==null){t.e=null;for(var r of n)wn(r)}return e!==void 0&&(t.x=e),t.i=!0,Ge=t.p,Ye(e)}function Ye(e={}){return i(e,ce,{value:!0}),e}function Xe(){return!0}var Ze=[];function Qe(){var e=Ze;Ze=[],p(e)}function $e(e){if(Ze.length===0&&!At){var t=Ze;queueMicrotask(()=>{t===Ze&&Qe()})}Ze.push(e)}function et(){for(;Ze.length>0;)Qe()}var tt=~(_|v|g);function A(e,t){e.f=e.f&tt|t}function nt(e){e.f&512||e.deps===null?A(e,g):A(e,v)}function rt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=re,rt(t.deps))}function it(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),rt(e.deps),A(e,g)}var at=!1;function ot(e){var t=at;try{return at=!1,[e(),at]}finally{at=t}}function st(e,t){if(t){let t=document.body;e.autofocus=!0,$e(()=>{document.activeElement===t&&e.focus()})}}function ct(e){E&&ln(e)!==null&&fn(e)}var lt=!1;function ut(){lt||(lt=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[w]?.()})},{capture:!0}))}function dt(e){var t=z,n=B;Jn(null),Yn(null);try{return e()}finally{Jn(t),Yn(n)}}function ft(e,t,n,r=n){e.addEventListener(t,()=>dt(n));let i=e[w];e[w]=i?()=>{i(),r(!0)}:()=>r(!0),ut()}function pt(e,t,n,r){let i=Xe()?_t:bt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=B,c=mt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){_n(e,s)}ht()}}var d=gt();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>yt(e))).then(u).catch(e=>_n(e,s)).finally(d)}l?l.then(()=>{c(),f(),ht()}):f()}function mt(){var e=B,t=z,n=Ge,r=M;return function(i=!0){Yn(e),Jn(t),Ke(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function ht(e=!0){Yn(null),Jn(null),Ke(null),e&&M?.deactivate()}function gt(){var e=B,t=e.b,n=M,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function _t(e){var t=2|_;return B!==null&&(B.f|=C),{ctx:Ge,deps:null,effects:null,equals:Ae,f:t,fn:e,reactions:null,rv:0,v:ve,wv:0,parent:B,ac:null}}var vt=Symbol(`obsolete`);function yt(e,t,n){let r=B;r===null&&Pe();var i=void 0,a=qt(ve),o=!z,s=new Set;return Dn(()=>{var t=B,n=m();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==he&&n.reject(e)}).finally(ht)}catch(e){n.reject(e),ht()}var c=M;if(o){if(t.f&32768)var l=gt();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(vt);else for(let e of s.values())e.reject(vt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==vt&&(c.activate(),t?(a.f|=oe,Yt(a,t)):(a.f&8388608&&(a.f^=oe),Yt(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),Sn(()=>{for(let e of s)e.reject(vt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function j(e){let t=_t(e);return Zn(t),t}function bt(e){let t=_t(e);return t.equals=Me,t}function xt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Fn(t[n])}}function St(e){var t,n=B,r=e.parent;if(!Gn&&r!==null&&e.v!==ve&&r.f&24576)return Se(),e.v;Yn(r);try{e.f&=~re,xt(e),t=lr(e)}finally{Yn(n)}return t}function Ct(e){var t=St(e);if(!e.equals(t)&&(e.wv=or(),(!M?.is_fork||e.deps===null)&&(M===null?e.v=t:(M.capture(e,t,!0),Dt?.capture(e,t,!0)),e.deps===null))){A(e,g);return}Gn||(Ot===null?nt(e):(xn()||M?.is_fork)&&Ot.set(e,t))}function wt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&dt(()=>{t.ac.abort(he),t.ac=null}),t.fn!==null&&(t.teardown=f),fr(t,0),Nn(t))}function Tt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&pr(t)}var Et=null,M=null,Dt=null,Ot=null,kt=null,At=!1,jt=!1,Mt=null,Nt=null,Pt=0,Ft=1,It=class e{id=Ft++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){Et===null?Et=this:(Et.#n=this,this.#t=Et),Et=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)A(r,_),t(r);for(r of n.m)A(r,v),t(r)}this.#p.add(e)}#g(){this.#e=!0,Pt++>1e3&&(this.#x(),Rt());for(let e of this.#u)this.#d.delete(e),A(e,_),this.schedule(e);for(let e of this.#d)A(e,v),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=Mt=[],r=[],i=Nt=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw Ut(e),this.#h()||this.discard(),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Mt=null,Nt=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)Ht(e,t);i.length>0&&M.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),Dt=this,Bt(r),Bt(n),Dt=null,this.#s?.resolve();var s=M;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0){if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this}s!==null&&(Gt.clear(),s.#g())}#_(e,t,n){e.f^=g;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=g:i&4?t.push(r):sr(r)&&(i&16&&this.#d.add(r),pr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),A(i,_),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),M=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)it(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==ve&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),Ot?.set(e,t)),this.is_fork||(e.v=t)}activate(){M=this}deactivate(){M=null,Ot=null}flush(){try{jt=!0,M=this,this.#g()}finally{Pt=0,kt=null,Mt=null,Nt=null,jt=!1,M=null,Ot=null,Gt.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(vt);this.#x(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,$e(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=m()).promise}static ensure(){if(M===null){let t=M=new e;!jt&&!At&&$e(()=>{t.#e||t.flush()})}return M}apply(){Ot=null}schedule(e){if(kt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Mt!==null&&t===B&&(z===null||!(z.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=g}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?Et=e:t.#t=e,this.linked=!1}}};function Lt(e){var t=At;At=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(et(),M===null)return n;M.flush()}}finally{At=t}}function Rt(){try{ze()}catch(e){_n(e,kt)}}var zt=null;function Bt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&sr(r)&&(zt=new Set,pr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Ln(r),zt?.size>0)){Gt.clear();for(let e of zt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)zt.has(n)&&(zt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||pr(n)}}zt.clear()}}zt=null}}function Vt(e){M.schedule(e)}function Ht(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,g);for(var n=e.first;n!==null;)Ht(n,t),n=n.next}}function Ut(e){A(e,g);for(var t=e.first;t!==null;)Ut(t),t=t.next}var Wt=new Set,Gt=new Map,Kt=!1;function qt(e,t){return{f:0,v:e,reactions:null,equals:Ae,rv:0,wv:0}}function N(e,t){let n=qt(e,t);return Zn(n),n}function Jt(e,t=!1,n=!0){let r=qt(e);return t||(r.equals=Me),r}function P(e,t,n=!1){return z!==null&&(!qn||z.f&131072)&&Xe()&&z.f&4325394&&(Xn===null||!Xn.has(e))&&Ue(),Yt(e,n?$t(t):t,Nt)}function Yt(e,t,n=null){if(!e.equals(t)){Gn?Gt.set(e,t):Gt.has(e)||Gt.set(e,e.v);var r=It.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&St(t),Ot===null&&nt(t)}e.wv=or(),Qt(e,_,n),Xe()&&B!==null&&B.f&1024&&!(B.f&96)&&(er===null?tr([e]):er.push(e)),!r.is_fork&&Wt.size>0&&!Kt&&Xt()}return t}function Xt(){Kt=!1;for(let e of Wt){e.f&1024&&A(e,v);let t;try{t=sr(e)}catch{t=!0}t&&pr(e)}Wt.clear()}function Zt(e){P(e,e.v+1)}function Qt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Xe(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===B)){var l=(c&_)===0;if(l&&A(s,t),c&131072)Wt.add(s);else if(c&2){var u=s;Ot?.delete(u),c&65536||(c&512&&(B===null||!(B.f&2097152))&&(s.f|=re),Qt(u,v,n))}else if(l){var d=s;c&16&&zt!==null&&zt.add(d),n===null?Vt(d):n.push(d)}}}}function $t(t){if(typeof t!=`object`||!t||se in t||ce in t)return t;let n=l(t);if(n!==s&&n!==c)return t;var r=new Map,i=e(t),o=N(0),u=null,d=ir,f=e=>{if(ir===d)return e();var t=z,n=ir;Jn(null),ar(d);var r=e();return Jn(t),ar(n),r};return i&&r.set(`length`,N(t.length,u)),new Proxy(t,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Ve();var i=r.get(t);return i===void 0?f(()=>{var e=N(n.value,u);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>N(ve,u));r.set(t,e),Zt(o)}}else P(n,ve),Zt(o);return!0},get(e,n,i){if(n===se)return t;var o=r.get(n),s=n in e;if(o===void 0&&(!s||a(e,n)?.writable)&&(o=f(()=>N($t(s?e[n]:ve),u)),r.set(n,o)),o!==void 0){var c=V(o);return c===ve?void 0:c}return Reflect.get(e,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=V(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==ve)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===se)return!0;var n=r.get(t),i=n!==void 0&&n.v!==ve||Reflect.has(e,t);return(n!==void 0||B!==null&&(!i||a(e,t)?.writable))&&(n===void 0&&(n=f(()=>N(i?$t(e[t]):ve,u)),r.set(t,n)),V(n)===ve)?!1:i},set(e,t,n,s){var c=r.get(t),l=t in e;if(i&&t===`length`)for(var d=n;d<c.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>N(ve,u)),r.set(d+``,p)):P(p,ve)}if(c===void 0)(!l||a(e,t)?.writable)&&(c=f(()=>N(void 0,u)),P(c,$t(n)),r.set(t,c));else{l=c.v!==ve;var m=f(()=>$t(n));P(c,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(s,n),!l){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&P(g,_+1)}Zt(o)}return!0},ownKeys(e){V(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==ve});for(var[n,i]of r)i.v!==ve&&!(n in e)&&t.push(n);return t},setPrototypeOf(){He()}})}function en(e){try{if(typeof e==`object`&&e&&se in e)return e[se]}catch{}return e}function tn(e,t){return Object.is(en(e),en(t))}var nn,rn,an,on;function sn(){if(nn===void 0){nn=window,rn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=a(t,`firstChild`).get,on=a(t,`nextSibling`).get,u(e)&&(e[fe]=void 0,e[de]=null,e[pe]=void 0,e.__e=void 0),u(n)&&(n[me]=void 0)}}function cn(e=``){return document.createTextNode(e)}function ln(e){return an.call(e)}function un(e){return on.call(e)}function F(e,t){if(!E)return ln(e);var n=ln(D);if(n===null)n=D.appendChild(cn());else if(t&&n.nodeType!==3){var r=cn();return n?.before(r),O(r),r}return t&&hn(n),O(n),n}function dn(e,t=!1){if(!E){var n=ln(e);return n instanceof Comment&&n.data===``?un(n):n}if(t){if(D?.nodeType!==3){var r=cn();return D?.before(r),O(r),r}hn(D)}return D}function I(e,t=!1){if(!E)return ln(e);var n=F(e,t);return k(e),n}function L(e,t=1,n=!1){let r=E?D:e;for(var i;t--;)i=r,r=un(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=cn();return r===null?i?.after(a):r.before(a),O(a),a}hn(r)}return O(r),r}function fn(e){e.textContent=``}function pn(){return!1}function mn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function hn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function gn(e){var t=B;if(t===null)return z.f|=oe,e;if(!(t.f&32768)&&!(t.f&4))throw e;_n(e,t)}function _n(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function vn(e){B===null&&(z===null&&Re(e),Le()),Gn&&Ie(e)}function yn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function bn(e,t){var n=B;n!==null&&n.f&8192&&(e|=y);var r={ctx:Ge,deps:null,nodes:null,f:e|_|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};M?.register_created_effect(r);var i=r;if(e&4)Mt===null?It.ensure().schedule(r):Mt.push(r);else if(t!==null){try{pr(r)}catch(e){throw Fn(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ee))}if(i!==null&&(i.parent=n,n!==null&&yn(i,n),z!==null&&z.f&2&&!(e&64))){var a=z;(a.effects??=[]).push(i)}return r}function xn(){return z!==null&&!qn}function Sn(e){let t=bn(8,null);return A(t,g),t.teardown=e,t}function Cn(e){vn(`$effect`);var t=B.f;if(!z&&t&32&&Ge!==null&&!Ge.i){var n=Ge;(n.e??=[]).push(e)}else return wn(e)}function wn(e){return bn(4|te,e)}function Tn(e){It.ensure();let t=bn(64|C,e);return(e={})=>new Promise(n=>{e.outro?Rn(t,()=>{Fn(t),n(void 0)}):(Fn(t),n(void 0))})}function En(e){return bn(4,e)}function Dn(e){return bn(ae|C,e)}function On(e,t=0){return bn(8|t,e)}function R(e,t=[],n=[],r=[]){pt(r,t,n,t=>{bn(8,()=>{e(...t.map(V))})})}function kn(e,t=0){return bn(16|t,e)}function An(e,t=0){return bn(h|t,e)}function jn(e){return bn(32|C,e)}function Mn(e){var t=e.teardown;if(t!==null){let n=Gn,r=z;Kn(!0),Jn(null);try{t.call(null)}catch(t){_n(t,e.parent)}finally{Kn(n),Jn(r)}}}function Nn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&dt(()=>{e.abort(he)});var r=n.next;n.f&64?n.parent=null:Fn(n,t),n=r}}function Pn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||Fn(t),t=n}}function Fn(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(In(e.nodes.start,e.nodes.end),n=!0),e.f|=S,Nn(e,t&&!n),fr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Mn(e),e.f^=S,e.f|=b;var i=e.parent;i!==null&&i.first!==null&&Ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function In(e,t){for(;e!==null;){var n=e===t?null:un(e);e.remove(),e=n}}function Ln(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Rn(e,t,n=!0){var r=[];e.f|=256,zn(e,r,!0);var i=()=>{n&&Fn(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function zn(e,t,n){if(!(e.f&8192)){e.f^=y;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);zn(i,t,o?n:!1)}i=a}}}function Bn(e){e.f&=-257,Vn(e,!0)}function Vn(e,t){if(!(e.f&256)&&e.f&8192){e.f^=y,e.f&1024||(A(e,_),It.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);Vn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Hn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:un(n);t.append(n),n=i}}var Un=null,Wn=!1,Gn=!1;function Kn(e){Gn=e}var z=null,qn=!1;function Jn(e){z=e}var B=null;function Yn(e){B=e}var Xn=null;function Zn(e){z!==null&&(Xn??=new Set).add(e)}var Qn=null,$n=0,er=null;function tr(e){er=e}var nr=1,rr=0,ir=rr;function ar(e){ir=e}function or(){return++nr}function sr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~re),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(sr(a)&&Ct(a),a.wv>e.wv)return!0}t&512&&Ot===null&&A(e,g)}return!1}function cr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(Xn!==null&&Xn.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?cr(a,t,!1):t===a&&(n?A(a,_):a.f&1024&&A(a,v),Vt(a))}}function lr(e){var t=Qn,n=$n,r=er,i=z,a=Xn,o=Ge,s=qn,c=ir,l=e.f;Qn=null,$n=0,er=null,z=l&96?null:e,Xn=null,Ke(e.ctx),qn=!1,ir=++rr,e.ac!==null&&(dt(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=ie;var u=e.fn,d=u();e.f|=x;var f=ur(e);if(Xe()&&er!==null&&!qn&&f!==null&&!(e.f&6146))for(var p=0;p<er.length;p++)cr(er[p],e);if(i!==null&&i!==e){if(rr++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=rr;if(t!==null)for(let e of t)e.rv=rr;er!==null&&(r===null?r=er:r.push(...er))}return e.f&8388608&&(e.f^=oe),d}catch(t){return ur(e),gn(t)}finally{e.f^=ie,Qn=t,$n=n,er=r,z=i,Xn=a,Ke(o),qn=s,ir=c}}function ur(e){var t=e.deps,n=M?.is_fork;if(Qn!==null){var r;if(n||fr(e,$n),t!==null&&$n>0)for(t.length=$n+Qn.length,r=0;r<Qn.length;r++)t[$n+r]=Qn[r];else e.deps=t=Qn;if(xn()&&e.f&512)for(r=$n;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&$n<t.length&&(fr(e,$n),t.length=$n);return t}function dr(e,r){let i=r.reactions;if(i!==null){var a=t.call(i,e);if(a!==-1){var o=i.length-1;o===0?i=r.reactions=null:(i[a]=i[o],i.pop())}}if(i===null&&r.f&2&&(Qn===null||!n.call(Qn,r))){var s=r;s.f&512&&(s.f^=512,s.f&=~re),s.v!==ve&&nt(s),s.ac!==null&&dt(()=>{s.ac.abort(he),s.ac=null,A(s,_)}),wt(s),fr(s,0)}}function fr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)dr(e,n[r])}function pr(e){var t=e.f;if(!(t&16384)){A(e,g);var n=B,r=Wn;B=e,Wn=!(t&96);try{t&16777232?Pn(e):Nn(e),Mn(e);var i=lr(e);e.teardown=typeof i==`function`?i:null,e.wv=nr}finally{Wn=r,B=n}}}async function mr(){await Promise.resolve(),Lt()}function V(e){var t=!!(e.f&2);if(Un?.add(e),z!==null&&!qn&&!(B!==null&&B.f&16384)&&(Xn===null||!Xn.has(e))){var r=z.deps;if(z.f&2097152)e.rv<rr&&(e.rv=rr,Qn===null&&r!==null&&r[$n]===e?$n++:Qn===null?Qn=[e]:Qn.push(e));else{z.deps??=[],n.call(z.deps,e)||z.deps.push(e);var i=e.reactions;i===null?e.reactions=[z]:n.call(i,z)||i.push(z)}}if(Gn&&Gt.has(e))return Gt.get(e);if(t){var a=e;if(Gn){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||gr(a))&&(o=St(a)),Gt.set(a,o),o}var s=!(a.f&512)&&!qn&&z!==null&&(Wn||!!(z.f&512)),c=(a.f&x)===0;sr(a)&&(s&&(a.f|=512),Ct(a)),s&&!c&&(Tt(a),hr(a))}if(Ot?.has(e))return Ot.get(e);if(e.f&8388608)throw e.v;return e.v}function hr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Tt(t),hr(t))}function gr(e){if(e.v===ve)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Gt.has(t)||t.f&2&&gr(t))return!0;return!1}function _r(e){var t=qn;try{return qn=!0,e()}finally{qn=t}}function vr(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var yr=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function br(e){return yr.includes(e)}var xr=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),Sr={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function Cr(e){return e=e.toLowerCase(),Sr[e]??e}[...xr];var wr=[`touchstart`,`touchmove`];function Tr(e){return wr.includes(e)}var Er=[`textarea`,`script`,`style`,`title`];function Dr(e){return Er.includes(e)}var Or=Symbol(`events`),kr=new Set,Ar=new Set;function jr(e){if(!E)return;e.removeAttribute(`onload`),e.removeAttribute(`onerror`);let t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function Mr(e,t,n,r={}){function i(e){if(r.capture||Rr.call(t,e),!e.cancelBubble)return dt(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?$e(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Nr(e,t,n,r={}){var i=Mr(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function Pr(e,t,n,r,i){var a={capture:r,passive:i},o=Mr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Sn(()=>{t.removeEventListener(e,o,a)})}function H(e,t,n){(t[Or]??={})[e]=n}function Fr(e){for(var t=0;t<e.length;t++)kr.add(e[t]);for(var n of Ar)n(e)}var Ir=null,Lr=!1;function Rr(e){var t=this,n=t.ownerDocument,r=e.type,a=e.composedPath?.()||[],o=a[0]||e.target;Ir=e,Lr||(Lr=!0,setTimeout(()=>{Lr=!1,Ir=null}));var s=0,c=Ir===e&&e[Or];if(c){var l=a.indexOf(c);if(l!==-1&&(t===document||t===window)){e[Or]=t;return}var u=a.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(o=a[s]||e.target,o!==t){i(e,`currentTarget`,{configurable:!0,get(){return o||n}});var d=z,f=B;Jn(null),Yn(null);try{for(var p,m=[];o!==null&&o!==t;){try{var h=o[Or]?.[r];h!=null&&(!o.disabled||e.target===o)&&h.call(o,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,o=s<a.length?a[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Or]=t,delete e.currentTarget,Jn(d),Yn(f)}}}var zr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Br(e){return zr?.createHTML(e)??e}function Vr(e){var t=mn(`template`);return t.innerHTML=Br(e.replaceAll(`<!>`,`<!---->`)),t.content}function Hr(e,t){var n=B;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function U(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(E)return Hr(D,null),D;i===void 0&&(i=Vr(a?e:`<!>`+e),n||(i=ln(i)));var t=r||rn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=ln(t),s=t.lastChild;Hr(o,s)}else Hr(t,t);return t}}function Ur(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=!!(t&1),a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(E)return Hr(D,null),D;if(!o){var e=ln(Vr(a));if(i)for(o=document.createDocumentFragment();ln(e);)o.appendChild(ln(e));else o=ln(e)}var t=o.cloneNode(!0);if(i){var n=ln(t),r=t.lastChild;Hr(n,r)}else Hr(t,t);return t}}function Wr(e,t){return Ur(e,t,`svg`)}function Gr(e=``){if(!E){var t=cn(e+``);return Hr(t,t),t}var n=D;return n.nodeType===3?hn(n):(n.before(n=cn()),O(n)),Hr(n,n),n}function Kr(){if(E)return Hr(D,null),D;var e=document.createDocumentFragment(),t=document.createComment(``),n=cn();return e.append(t,n),Hr(t,n),e}function W(e,t){if(E){var n=B;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=D),Ee();return}e!==null&&e.before(t)}function qr(e){let t=0,n=qt(0),r;return()=>{xn()&&(V(n),On(()=>(t===0&&(r=_r(()=>e(()=>Zt(n)))),t+=1,()=>{$e(()=>{--t,t===0&&(r?.(),r=void 0,Zt(n))})})))}}var Jr=ee|C;function Yr(e,t,n,r){new Xr(e,t,n,r)}var Xr=class{parent;is_pending=!1;transform_error;#e;#t=E?D:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=qr(()=>(this.#m=qt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=B;t.b=this,t.f|=128,n(e)},this.parent=B.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=kn(()=>{if(E){let e=this.#t;Ee();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},Jr),E&&(this.#e=D)}#g(){try{this.#a=jn(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);$e(r),t&&(this.#s=jn(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){we();return}t=!0,n&&We(),this.#s!==null&&Rn(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){_n(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=jn(()=>e(this.#e)),$e(()=>{var e=this.#c=document.createDocumentFragment(),t=cn(),n=!1;if(e.append(t),this.#a=this.#S(()=>{try{return jn(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){_n(e,this.#i.parent)}return null}}),this.#a===null){this.#c=null,n&&this.#x(M);return}this.#u===0&&(this.#e.before(e),this.#c=null,Rn(this.#o,()=>{this.#o=null}),this.#x(M))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=jn(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Hn(this.#a,e);let t=this.#n.pending;this.#o=jn(()=>t(this.#e))}else this.#x(M)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){it(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=B,n=z,r=Ge;Yn(this.#i),Jn(this.#i),Ke(this.#i.ctx);try{return It.ensure(),e()}finally{Yn(t),Jn(n),Ke(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&Rn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,$e(()=>{this.#d=!1,this.#m&&Yt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),V(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;M?.is_fork?(this.#a&&M.skip_effect(this.#a),this.#o&&M.skip_effect(this.#o),this.#s&&M.skip_effect(this.#s),M.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(Fn(this.#a),null),this.#o&&=(Fn(this.#o),null),this.#s&&=(Fn(this.#s),null),E&&(O(this.#t),De(),O(Oe()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return jn(()=>{var r=B;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return _n(e,this.#i.parent),null}}))};$e(()=>{var t;try{t=this.transform_error(e)}catch(e){_n(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>_n(e,this.#i&&this.#i.parent)):n(t)})}},Zr=!0;function Qr(e){Zr=e}function G(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[me]??=e.nodeValue)&&(e[me]=n,e.nodeValue=`${n}`)}function $r(e,t){return ti(e,t)}var ei=new Map;function ti(e,{target:t,anchor:n,props:i={},events:a,context:o,intro:s=!0,transformError:c}){sn();var l=void 0,u=Tn(()=>{var u=n??t.appendChild(cn());Yr(u,{pending:()=>{}},t=>{qe({});var n=Ge;if(o&&(n.c=o),a&&(i.$$events=a),E&&Hr(t,null),Zr=s,l=e(t,i)||Ye(),Zr=!0,E&&(B.nodes.end=D,D===null||D.nodeType!==8||D.data!==`]`))throw Ce(),_e;Je()},c);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=Tr(r);for(let e of[t,document]){var a=ei.get(e);a===void 0&&(a=new Map,ei.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Rr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(r(kr)),Ar.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=ei.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Rr),r.delete(e),r.size===0&&ei.delete(n)):r.set(e,i)}Ar.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return ni.set(l,u),l}var ni=new WeakMap;function ri(e,t){let n=ni.get(e);return n?(ni.delete(e),n(t)):Promise.resolve()}var ii=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Bn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(Bn(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(Fn(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Hn(r,t),t.append(cn()),this.#n.set(e,{effect:r,fragment:t})}else Fn(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Rn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(Fn(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=pn();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=cn();i.append(a),this.#n.set(e,{effect:jn(()=>t(a)),fragment:i})}else this.#t.set(e,jn(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=D),this.#a(n)}};function K(e,t,n=!1){var r;E&&(r=D,Ee());var i=new ii(e),a=n?ee:0;function o(e,t){if(E){var n=ke(r);if(e!==parseInt(n.substring(1))){var a=Oe();O(a),i.anchor=a,Te(!1),i.ensure(e,t),Te(!0);return}}i.ensure(e,t)}kn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var ai=Symbol(`NaN`);function oi(e,t,n){E&&Ee();var r=new ii(e),i=!Xe();kn(()=>{var e=t();e!==e&&(e=ai),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function si(e,t,n){for(var i=[],a=t.length,o,s=t.length,c=0;c<a;c++){let n=t[c];Rn(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;ci(e,r(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=i.length===0&&n!==null&&e.pending.size===0;if(l){var u=n,d=u.parentNode;fn(d),d.append(u),e.items.clear()}ci(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function ci(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ne,Hn(a,document.createDocumentFragment())):Fn(t[i],n)}}var li;function ui(t,n,i,a,o,s=null){var c=t,l=new Map;if(n&4){var u=t;c=E?O(ln(u)):u.appendChild(cn())}E&&Ee();var d=null,f=bt(()=>{var t=i();return e(t)?t:t==null?[]:r(t)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,fi(v,p,c,n,a),d!==null&&(p.length===0?d.f&33554432?(d.f^=ne,mi(d,null,c)):Bn(d):Rn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:kn(()=>{p=V(f);var e=p.length;let t=!1;E&&ke(c)===`[!`!=(e===0)&&(c=Oe(),O(c),Te(!1),t=!0);for(var r=new Set,u=M,v=pn(),y=0;y<e;y+=1){E&&D.nodeType===8&&D.data===`]`&&(c=D,t=!0,Te(!1));var b=p[y],x=a(b,y),S=h?null:l.get(x);S?(S.v&&Yt(S.v,b),S.i&&Yt(S.i,y),v&&u.unskip_effect(S.e)):(S=pi(l,h?c:li??=cn(),b,x,y,o,n,i),h||(S.e.f|=ne),l.set(x,S)),r.add(x)}if(e===0&&s&&!d&&(h?d=jn(()=>s(c)):(d=jn(()=>s(li??=cn())),d.f|=ne)),e>r.size&&Fe(``,``,``),E&&e>0&&O(Oe()),!h){if(m.set(u,r),v){for(let[e,t]of l)r.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u)}t&&Te(!0),V(f)}),flags:n,items:l,pending:m,outrogroups:null,fallback:d};h=!1,E&&(c=D)}function di(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function fi(e,t,n,i,a){var o=!!(i&8),s=t.length,c=e.items,l=di(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=a(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=a(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Bn(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432){if(_.f^=ne,_===l)mi(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),hi(e,d,_),hi(e,_,y),mi(_,y,n),d=_,p=[],m=[],l=di(d.next);continue}}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)mi(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);hi(e,S.prev,ee.next),hi(e,d,S),hi(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),mi(_,l,n),hi(e,_.prev,_.next),hi(e,_,d===null?e.effect.first:d.next),hi(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=di(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=di(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(ci(e,r(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=di(l.next);var te=C.length;if(te>0){var re=i&4&&s===0?n:null;if(o){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}si(e,C,re)}}o&&$e(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function pi(e,t,n,r,i,a,o,s){var c=o&1?o&16?qt(n):Jt(n,!1,!1):null,l=o&2?qt(i):null;return{v:c,i:l,e:jn(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function mi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=un(r);if(a.before(r),r===i)return;r=o}}function hi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function gi(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;E&&(o=O(ln(c)))}R(()=>{var e=B;if(s===(s=t()??``)){E&&Ee();return}if(n&&!E){e.nodes=null,c.innerHTML=s,s!==``&&Hr(ln(c),c.lastChild);return}if(e.nodes!==null&&(In(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(E){for(var a=D.data,l=Ee(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=un(l);if(l===null)throw Ce(),_e;Hr(D,u),o=O(l);return}var d=mn(r?`svg`:i?`math`:`template`,r?be:i?xe:void 0);d.innerHTML=s;var f=r||i?d:d.content;if(Hr(ln(f),f.lastChild),r||i)for(;ln(f);)o.before(ln(f));else o.before(f)}})}var _i=()=>performance.now(),vi={tick:e=>requestAnimationFrame(e),now:()=>_i(),tasks:new Set};function yi(){let e=vi.now();vi.tasks.forEach(t=>{t.c(e)||(vi.tasks.delete(t),t.f())}),vi.tasks.size!==0&&vi.tick(yi)}function bi(e){let t;return vi.tasks.size===0&&vi.tick(yi),{promise:new Promise(n=>{vi.tasks.add(t={c:e,f:n})}),abort(){vi.tasks.delete(t)}}}function xi(e,t){dt(()=>{e.dispatchEvent(new CustomEvent(t))})}function Si(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function Ci(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=Si(n.trim());t[i]=r.trim()}return t}var wi=e=>e;function Ti(e,t,n,r){var i=!!(e&1),a=!!(e&2),o=i&&a,s=!!(e&4),c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return dt(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=Ei(t,m(),p,1,()=>{xi(t,`introstart`)},()=>{xi(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=Ei(t,m(),f,0,()=>{xi(t,`outrostart`)},()=>{xi(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=B;if((g.nodes.t??=[]).push(h),i&&Zr){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||!!(v.f&32768)}_&&En(()=>{_r(()=>h.in())})}}function Ei(e,t,n,r,i,a){var o=r===1,s=!1;if(d(t)){var c;return $e(()=>{s||(c=Ei(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{s=!0,c?.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:f,deactivate:f,reset:f,t:()=>r};let{delay:l=0,css:u,tick:p,easing:m=wi}=t;var h,g=()=>1-r;return $e(()=>{if(!s){var c=[];if(o&&n===void 0&&(p&&p(0,1),u)){var d=Ci(u(0,1));c.push(d,d)}h=e.animate(c,{duration:l,fill:`forwards`}),h.onfinish=()=>{h.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var d=!1;if(u)for(var f=Math.ceil(c/(1e3/60)),_=0;_<=f;_+=1){var v=o+s*m(_/f),y=Ci(u(v,1-v));l.push(y),d||=y.overflow===`hidden`}d&&(e.style.overflow=`hidden`),g=()=>{var e=h.currentTime;return o+s*m(e/c)},p&&bi(()=>{if(h.playState!==`running`)return!1;var e=g();return p(e,1-e),!0})}h=e.animate(l,{duration:c,fill:`forwards`}),h.onfinish=()=>{g=()=>r,p?.(r,1-r),a()}}}}),{abort:()=>{s=!0,h&&(h.cancel(),h.effect=null,h.onfinish=f)},deactivate:()=>{a=f},reset:()=>{r===0&&p?.(1,0)},t:()=>g()}}function Di(e,t,n,r,i,a){let o=E;E&&Ee();var s=null;E&&D.nodeType===1&&(s=D,Ee());var c=E?D:e,l=new ii(c,!1);kn(()=>{let e=t()||null;var a=i?i():n||e===`svg`?be:void 0;if(e===null){l.ensure(null,null),Qr(!0);return}return l.ensure(e,t=>{if(e){if(s=E?s:mn(e,a),Hr(s,s),r){var n=null;E&&Dr(e)&&s.append(n=document.createComment(``));var i=E?ln(s):s.appendChild(cn());E&&(i===null?Te(!1):O(i)),r(s,i),n?.remove()}B.nodes.end=s,t.before(s)}E&&O(t)}),Qr(!0),()=>{e&&Qr(!1)}},ee),Sn(()=>{Qr(!0)}),o&&(Te(!0),O(c))}function Oi(e,t){En(()=>{e=B?.parent?.nodes?.start??e;var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=mn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function ki(e,t){var n=void 0,r;An(()=>{n!==(n=t())&&(r&&=(Fn(r),null),n&&(r=jn(()=>{En(()=>n(e))})))})}function Ai(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ai(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function ji(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ai(e))&&(r&&(r+=` `),r+=t);return r}function q(e){return typeof e==`object`?ji(e):e??``}var Mi=[...`
2
+ \r\f\xA0\v`];function Ni(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Mi.includes(r[o-1]))&&(s===r.length||Mi.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Pi(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Fi(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ii(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Fi)),i&&c.push(...Object.keys(i).map(Fi));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Fi(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Pi(r)),i&&(n+=Pi(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function J(e,t,n,r,i,a){var o=e[fe];if(E||o!==n||o===void 0){var s=Ni(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[fe]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Li(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Ri(e,t,n,r){var i=e[pe];if(E||i!==t){var a=Ii(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[pe]=t}else r&&(Array.isArray(r)?(Li(e,n?.[0],r[0]),Li(e,n?.[1],r[1],`important`)):Li(e,n,r));return r}function zi(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Bi(e,t){var n=!(`__defaultValue`in e);!n&&e.__defaultValue===t||(e.__defaultValue=t,Vi(e,!n||`__value`in e))}function Vi(t,n){var r=t.__defaultValue,i=t.multiple,a=i?r??[]:null;if(!(i&&!e(a))){var o=t.selectedIndex,s=n&&i?new Set(t.selectedOptions):null;for(var c of t.options){var l=Wi(c);zi(c,i?a.includes(l):tn(l,r))}if(n){if(s!==null)for(c of t.options){var u=s.has(c);c.selected!==u&&(c.selected=u)}else t.selectedIndex!==o&&(t.selectedIndex=o)}}}function Hi(t,n,r=!1){if(t.multiple){if(n==null)return;if(!e(n))return T();for(var i of t.options)i.selected=n.includes(Wi(i));return}for(i of t.options)if(tn(Wi(i),n)){i.selected=!0;return}(!r||n!==void 0)&&(t.selectedIndex=-1)}function Ui(e){var t=new MutationObserver(t=>{t.every(Gi)||(`__defaultValue`in e&&Vi(e,!1),`__value`in e&&Hi(e,e.__value))});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Sn(()=>{t.disconnect()})}function Wi(e){return`__value`in e?e.__value:e.value}function Gi(e){if(e.target.closest(`selectedcontent`)!==null)return!0;if(e.type===`childList`){var t=[...e.addedNodes,...e.removedNodes];return t.length>0&&t.every(e=>e.nodeName===`SELECTEDCONTENT`)}return!1}var Ki=Symbol(`class`),qi=Symbol(`style`),Ji=Symbol(`is custom element`),Yi=Symbol(`is html`),Xi=ge?`link`:`LINK`,Zi=ge?`input`:`INPUT`,Qi=ge?`option`:`OPTION`,$i=ge?`select`:`SELECT`;function ea(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Y(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Y(e,`checked`,null),e.checked=r}}};e[w]=n,$e(n),ut()}}function Y(e,t,n,r){var i=ra(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Xi)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ue]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&aa(e).has(t)?e[t]=n:e.setAttribute(t,n))}function ta(e,t,n,r,i=!1,a=!1){E&&i&&e.nodeName===Zi&&(`defaultValue`in n||`defaultChecked`in n||ea(e));var o=ra(e),s=o[Ji],c=!o[Yi];let l=E&&s;l&&Te(!1);var u=t||{},d=e.nodeName===Qi,f=e.nodeName===$i;for(var p in t)!(p in n)&&p[0]+p[1]!==`$$`&&(n[p]=null);n.class?n.class=q(n.class):(r||n[Ki])&&(n.class=null),n[qi]&&(n.style??=null);var m=aa(e);if(e.nodeName===Zi&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==u.type||h===void 0&&e.hasAttribute(`type`))&&(u.type=h,Y(e,`type`,h,a))}for(let i in n){let l=n[i];if(d&&i===`value`&&l==null){e.value=e.__value=``,u[i]=l;continue}if(i===`class`){J(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,l,r,t?.[Ki],n[Ki]),u[i]=l,u[Ki]=n[Ki];continue}if(i===`style`){Ri(e,l,t?.[qi],n[qi]),u[i]=l,u[qi]=n[qi];continue}var g=u[i];if(!(l===g&&!(l===void 0&&e.hasAttribute(i)))){u[i]=l;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=br(r);if(vr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(l!=null)continue;e.removeEventListener(r,u[n],t),u[n]=null}if(v)H(r,e,l),Fr([r]);else if(l!=null){function y(e){u[i].call(this,e)}u[n]=Mr(r,e,y,t)}}else if(i===`style`)Y(e,i,l);else if(i===`autofocus`)st(e,!!l);else if(!s&&(i===`__value`||i===`value`&&l!=null))e.value=e.__value=l;else if(i===`selected`&&d)zi(e,l);else{var b=i;c||(b=Cr(b));var x=b===`defaultValue`||b===`defaultChecked`;if(f&&b===`defaultValue`)continue;if(l==null&&!s&&!x){if(o[i]=null,b===`value`||b===`checked`){let n=e,r=t===void 0;if(b===`value`){let e=n.defaultValue;n.removeAttribute(b),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(b),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else x||(s||typeof l!=`string`)&&m.has(b)?(e[b]=l,b in o&&(o[b]=ve)):typeof l!=`function`&&Y(e,b,l,a)}}}}return l&&Te(!0),u}function na(e,t,n=[],r=[],i=[],a,o=!1,s=!1){pt(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===$i,l=!1;if(An(()=>{var u=t(...n.map(V)),d=ta(e,r,u,a,o,s);if(l&&c){var f=e;`defaultValue`in u&&Bi(f,u.defaultValue),`value`in u&&Hi(f,u.value)}for(let e of Object.getOwnPropertySymbols(i))u[e]||Fn(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var p=u[t];t.description===`@attach`&&(!r||p!==r[t])&&(i[t]&&Fn(i[t]),i[t]=jn(()=>ki(e,()=>p))),d[t]=p}r=d}),c){var u=e;En(()=>{var e=r;`defaultValue`in e&&Bi(u,e.defaultValue),Hi(u,e.value,!0),Ui(u)})}l=!0})}function ra(e){return e[de]??={[Ji]:e.nodeName.includes(`-`),[Yi]:e.namespaceURI===ye}}var ia=new Map;function aa(e){var t=e.getAttribute(`is`)||e.nodeName,n=ia.get(t);if(n)return n;ia.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var s in r=o(i),r)r[s].set&&s!==`innerHTML`&&s!==`textContent`&&s!==`innerText`&&n.add(s);i=l(i)}return n}function oa(e,t,n=t){var r=new WeakSet;ft(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=sa(e)?ca(a):a,n(a),M!==null&&r.add(M),await mr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||_r(t)==null&&e.value)&&(n(sa(e)?ca(e.value):e.value),M!==null&&r.add(M)),On(()=>{var n=t();if(e===document.activeElement){var i=M;if(r.has(i))return}sa(e)&&n===ca(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function sa(e){var t=e.type;return t===`number`||t===`range`}function ca(e){return e===``?null:+e}function la(e,t){return e===t||e?.[se]===t}function ua(e=Ye(),t,n,r){var i=Ge.r,a=B;return En(()=>{var o,s;return On(()=>{o=s,s=r?.()||[],_r(()=>{la(n(...s),e)||(t(e,...s),o&&la(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&la(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}var da={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function fa(e,t,n){return new Proxy({props:e,exclude:t},da)}function pa(e,t,n,r){var i=!0,o=!!(n&8),s=!!(n&16),c=r,l=!0,u=void 0,d=()=>s&&i?(u??=_t(r),V(u)):(l&&(l=!1,c=s?_r(r):r),c);let f;if(o){var p=se in e||le in e;f=a(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;o?[m,h]=ot(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Be(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?_t:bt)(()=>(v=!1,g()));o&&V(y);var b=B;return(function(e,t){if(arguments.length>0){let n=t?V(y):i&&o?$t(e):e;return P(y,n),v=!0,c!==void 0&&(c=n),e}return Gn&&v||b.f&16384?y.v:V(y)})}function ma(e){Ge===null&&Ne(`onMount`),Cn(()=>{let t=_r(e);if(typeof t==`function`)return t})}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var ha=[[`path`,{d:`M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],ga=[[`path`,{d:`M5.82338 12L4.27922 10.4558C2.57359 8.75022 2.57359 5.98485 4.27922 4.27922C5.98485 2.57359 8.75022 2.57359 10.4558 4.27922L19.7208 13.5442C21.4264 15.2498 21.4264 18.0152 19.7208 19.7208C18.0152 21.4264 15.2498 21.4264 13.5442 19.7208L10.0698 16.2464C9.00379 15.1804 9.00379 13.4521 10.0698 12.386C11.1358 11.32 12.8642 11.32 13.9302 12.386L15.8604 14.3162`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],_a=[[`path`,{d:`M18 6L6.00081 17.9992M17.9992 18L6 6.00085`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],va=[[`path`,{d:`M7 6.5C7 4.01472 9.01472 2 11.5 2C13.9853 2 16 4.01472 16 6.5V11.5C16 13.9853 13.9853 16 11.5 16C9.01472 16 7 13.9853 7 11.5V6.5Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M11.5 19H11.0828C7.57267 19 4.57706 16.4623 4 13M11.5 19H11.9172C15.4273 19 18.4229 16.4623 19 13M11.5 19V22`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],ya=[[`path`,{d:`M12 4V20M20 12H4`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],ba=[[`path`,{d:`M8.87038 6.13264L14.7327 4.19538C18.033 3.10476 19.6831 2.55945 20.5579 3.43426C21.4327 4.30907 20.8874 5.95922 19.7968 9.25953L17.8595 15.1218C16.6236 18.8619 16.0056 20.7319 14.8796 20.9603C14.6411 21.0087 14.3955 21.0129 14.1549 20.9727C13.019 20.7832 12.3132 18.9359 10.9016 15.2413C10.6328 14.5376 10.4983 14.1858 10.2574 13.9127C10.2018 13.8497 10.1424 13.7903 10.0795 13.7348C9.80638 13.4938 9.45455 13.3594 8.75089 13.0906C5.05627 11.679 3.20896 10.9732 3.01945 9.83727C2.97931 9.59669 2.98353 9.35108 3.03189 9.11259C3.26025 7.98657 5.13029 7.36859 8.87038 6.13264Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M12.8008 11.1865L15.498 8.48926`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]];function xa(e){let t=e-1;return t*t*t+1}var Sa=class{#e;#t;constructor(e,t){this.#e=e,this.#t=qr(t)}get current(){return this.#t(),this.#e()}},Ca=/\(.+\)/,wa=new Set([`all`,`print`,`screen`,`and`,`or`,`not`,`only`]),Ta=new class extends Sa{constructor(e,t){let n=Ca.test(e)||e.split(/[\s,]+/).some(e=>wa.has(e.trim()))?e:`(${e})`,r=window.matchMedia(n);super(()=>r.matches,e=>Nr(r,`change`,e))}}(`(prefers-reduced-motion: reduce)`),Ea=e=>e;function Da(e){let t=e-1;return t*t*t+1}function Oa(e){let t=typeof e==`string`&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||`px`]:[e,`px`]}function ka(e,{delay:t=0,duration:n=400,easing:r=Ea}={}){let i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>`opacity: ${e*i}`}}function Aa(e,{delay:t=0,duration:n=400,easing:r=Da,x:i=0,y:a=0,opacity:o=0}={}){let s=getComputedStyle(e),c=+s.opacity,l=s.transform===`none`?``:s.transform,u=c*(1-o),[d,f]=Oa(i),[p,m]=Oa(a);return{delay:t,duration:n,easing:r,css:(e,t)=>`
3
+ transform: ${l} translate(${(1-e)*d}${f}, ${(1-e)*p}${m});
4
+ opacity: ${c-u*t}`}}var ja=Wr(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><rect x="5.5" y="4.5" width="13.5" height="5" rx="2.5"></rect><rect x="5.5" y="4.5" width="5" height="15" rx="2.5"></rect><rect x="5.5" y="14.5" width="13.5" height="5" rx="2.5"></rect></svg>`);function Ma(e,t){let n=pa(t,`class`,3,`size-4`);var r=ja();R(()=>J(r,0,q(n()))),W(e,r)}var Na=U(`<span class="label svelte-6cv7kf"> </span>`),Pa=U(`<div role="status" aria-live="polite"><span class="mark svelte-6cv7kf" aria-hidden="true"><span class="ring svelte-6cv7kf"></span> <!></span> <span class="label-slot svelte-6cv7kf"><!></span></div>`),Fa={hash:`svelte-6cv7kf`,code:`.action.svelte-6cv7kf {display:inline-flex;align-items:center;gap:0.5rem;min-height:1.125rem;color:var(--muted-foreground);}.action.stacked.svelte-6cv7kf {margin-top:0.625rem;}.mark.svelte-6cv7kf {position:relative;display:grid;width:1.125rem;height:1.125rem;flex-shrink:0;place-items:center;color:var(--foreground);}.ring.svelte-6cv7kf {position:absolute;inset:0;border-radius:9999px;background:conic-gradient(
5
+ from 0deg,
6
+ transparent 0 52%,
7
+ color-mix(in oklch, var(--foreground) 78%, transparent) 72%,
8
+ transparent 100%
9
+ );-webkit-mask:radial-gradient(
10
+ farthest-side,
11
+ transparent calc(100% - 1.35px),
12
+ #000 calc(100% - 1.2px)
13
+ );mask:radial-gradient(farthest-side, transparent calc(100% - 1.35px), #000 calc(100% - 1.2px));
14
+ animation: svelte-6cv7kf-spin 0.9s linear infinite;}.label-slot.svelte-6cv7kf {display:grid;align-items:center;}.label.svelte-6cv7kf {grid-area:1 / 1;font-size:0.75rem;font-weight:500;letter-spacing:-0.014em;line-height:1.2;background-image:linear-gradient(
15
+ 90deg,
16
+ var(--muted-foreground) 0%,
17
+ var(--foreground) 42%,
18
+ var(--muted-foreground) 82%
19
+ );background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;
20
+ animation: svelte-6cv7kf-shimmer 1.8s ease-in-out infinite;}
21
+
22
+ @keyframes svelte-6cv7kf-spin {
23
+ to {
24
+ transform: rotate(1turn);
25
+ }
26
+ }
27
+
28
+ @keyframes svelte-6cv7kf-shimmer {
29
+ 0% {
30
+ background-position: 110% 50%;
31
+ }
32
+ 100% {
33
+ background-position: -30% 50%;
34
+ }
35
+ }
36
+
37
+ @media (prefers-reduced-motion: reduce) {.ring.svelte-6cv7kf,
38
+ .label.svelte-6cv7kf {
39
+ animation: none;}.label.svelte-6cv7kf {color:var(--muted-foreground);background:none;-webkit-background-clip:unset;background-clip:unset;}
40
+ }`};function Ia(e,t){qe(t,!0),Oi(e,Fa);let n=pa(t,`stacked`,3,!1),r=j(()=>Ta.current?0:220),i=j(()=>Ta.current?0:160),a=j(()=>Ta.current?0:6);var o=Pa(),s=F(o);Ma(L(F(s),2),{class:`size-[0.625rem]`}),k(s);var c=L(s,2);oi(F(c),()=>t.label,e=>{var n=Na(),o=I(n,!0);R(()=>G(o,t.label)),Ti(1,n,()=>Aa,()=>({y:V(a),duration:V(r),easing:xa})),Ti(2,n,()=>Aa,()=>({y:-V(a),duration:V(i),easing:xa})),W(e,n)}),k(c),k(o),R(()=>J(o,1,q([`action`,n()&&`stacked`]),`svelte-6cv7kf`)),Ti(1,o,()=>Aa,()=>({y:V(a),duration:V(r),easing:xa})),Ti(2,o,()=>ka,()=>({duration:V(i)})),W(e,o),Je()}var La=[[`path`,{d:`M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],Ra=Wr(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>`);function za(e,t){let n=pa(t,`class`,3,`size-3.5`),r=pa(t,`strokeWidth`,3,2);function i(e){let t={};for(let[n,i]of Object.entries(e))if(n!==`key`){if(r()!=null&&(n===`stroke-width`||n===`strokeWidth`)){t[n]=r();continue}t[n]=i}return t}var a=Ra();ui(a,21,()=>t.icon,e=>e[1].key,(e,t)=>{var n=Kr();Di(dn(n),()=>V(t)[0],!0,(e,n)=>{na(e,e=>({...e}),[()=>i(V(t)[1])])}),W(e,n)}),k(a),R(()=>{Y(a,`stroke-width`,r()),J(a,0,q([`block`,n()]))}),W(e,a)}var Ba=U(`<button type="button"><!></button> <button type="button"><!></button>`,1),Va=U(`<span class="text-white/50"> </span>`),Ha=U(`<div class="fixed inset-0 z-[100] flex items-center justify-center font-sans" role="dialog" aria-modal="true"><button type="button" class="absolute inset-0 bg-black/90"></button> <!> <button type="button"><!></button> <div class="relative z-10 flex max-h-[92vh] max-w-[92vw] flex-col items-center gap-3"><img class="max-h-[84vh] max-w-[92vw] rounded-lg object-contain select-none"/> <p class="max-w-[92vw] truncate text-center text-sm text-white/80"> <!></p></div></div>`);function Ua(e,t){qe(t,!0);let n=pa(t,`open`,15,!1),r=pa(t,`items`,19,()=>[]),i=pa(t,`index`,15,0),a=j(()=>r()[i()]??null),o=j(()=>r().length>1),s=`absolute z-10 inline-flex size-10 items-center justify-center rounded-full text-white outline-none hover:bg-white/15 focus-visible:ring-2 focus-visible:ring-white/40`;function c(){n(!1)}function l(){!V(o)||r().length===0||i((i()-1+r().length)%r().length)}function u(){!V(o)||r().length===0||i((i()+1)%r().length)}function d(e){if(n()){if(e.key===`Escape`){e.preventDefault(),c();return}if(e.key===`ArrowLeft`){e.preventDefault(),l();return}e.key===`ArrowRight`&&(e.preventDefault(),u())}}var f=Kr();Pr(`keydown`,nn,d,!0);var p=dn(f),m=e=>{var n=Ha(),d=F(n),f=L(d,2),p=e=>{var n=Ba(),r=dn(n);J(r,1,q([s,`top-1/2 left-3 -translate-y-1/2`])),za(F(r),{get icon(){return ha},class:`size-5`,strokeWidth:2}),k(r);var i=L(r,2);J(i,1,q([s,`top-1/2 right-3 -translate-y-1/2`])),za(F(i),{get icon(){return La},class:`size-5`,strokeWidth:2}),k(i),R(()=>{Y(r,`aria-label`,t.prevLabel),Y(i,`aria-label`,t.nextLabel)}),H(`click`,r,l),H(`click`,i,u),W(e,n)};K(f,e=>{V(o)&&e(p)});var m=L(f,2);J(m,1,q([s,`top-3 right-3`])),za(F(m),{get icon(){return _a},class:`size-5`,strokeWidth:2}),k(m);var h=L(m,2),g=F(h),_=L(g,2),v=F(_),y=L(v),b=e=>{var t=Va(),n=I(t);R(()=>G(n,`· ${i()+1}/${r().length??``}`)),W(e,t)};K(y,e=>{V(o)&&e(b)}),k(_),k(h),k(n),R(()=>{Y(n,`aria-label`,V(a).filename),Y(d,`aria-label`,t.closeLabel),Y(m,`aria-label`,t.closeLabel),Y(g,`src`,V(a).src),Y(g,`alt`,V(a).filename),G(v,`${V(a).filename??``} `)}),H(`click`,d,c),H(`click`,m,c),Ti(3,n,()=>ka,()=>({duration:120})),W(e,n)};K(p,e=>{n()&&V(a)&&e(m)}),W(e,f),Je()}Fr([`click`]);var Wa=[[`path`,{d:`M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ga=[[`path`,{d:`M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M19.75 16H17.25C16.6977 16 16.25 16.4477 16.25 17V19M16.25 19V22M16.25 19H19.25M4.25 22V19.5M4.25 19.5V16H6C6.9665 16 7.75 16.7835 7.75 17.75C7.75 18.7165 6.9665 19.5 6 19.5H4.25ZM10.25 16H11.75C12.8546 16 13.75 16.8954 13.75 18V20C13.75 21.1046 12.8546 22 11.75 22H10.25V16Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],Ka=U(`<div><span class="inline-flex size-10 shrink-0 items-center justify-center rounded-xl bg-foreground text-background" aria-hidden="true"><!></span> <button type="button" class="min-w-0 flex-1 rounded-md border-0 bg-transparent p-0 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/30"><p class="truncate text-sm font-medium"> </p> <p class="text-[11px] text-muted-foreground"> </p></button> <button type="button" class="inline-flex size-8 shrink-0 items-center justify-center rounded-full border-0 bg-muted text-foreground outline-none hover:bg-muted/70 focus-visible:ring-2 focus-visible:ring-ring/30 disabled:opacity-50"><!></button></div>`);function qa(e,t){qe(t,!0);let n=pa(t,`byteSize`,3,0),r=pa(t,`class`,3,``),i=N(!1),a=j(()=>{let e=s(n());return e?`${t.kindLabel} · ${e}`:t.kindLabel});async function o(e){if(e.preventDefault(),e.stopPropagation(),!(!t.href||t.href===`#`||V(i))){P(i,!0);try{await c(t.href,t.filename)}catch{window.open(t.href,`_blank`,`noopener,noreferrer`)}finally{P(i,!1)}}}function s(e){if(!Number.isFinite(e)||e<=0)return``;if(e<1024)return`${e} B`;let t=e/1024;if(t<1024)return`${t<10?t.toFixed(1):Math.round(t)} KB`;let n=t/1024;return`${n<10?n.toFixed(1):Math.round(n)} MB`}async function c(e,t){let n=e.startsWith(`blob:`)?e:URL.createObjectURL(await l(e)),r=document.createElement(`a`);r.href=n,r.download=t,r.rel=`noreferrer`,document.body.append(r),r.click(),r.remove(),e.startsWith(`blob:`)||URL.revokeObjectURL(n)}async function l(e){let t=await fetch(e);if(!t.ok)throw Error(`download failed`);return t.blob()}var u=Ka(),d=F(u);za(F(d),{get icon(){return Ga},class:`size-5`,strokeWidth:2}),k(d);var f=L(d,2),p=F(f),m=I(p,!0),h=I(L(p,2),!0);k(f);var g=L(f,2);za(F(g),{get icon(){return Wa},class:`size-4`,strokeWidth:2}),k(g),k(u),R(()=>{J(u,1,q([`flex w-full items-center gap-3 rounded-2xl border border-border bg-background px-3 py-2.5 text-foreground shadow-sm`,r()])),G(m,t.filename),G(h,V(a)),Y(g,`aria-label`,t.downloadLabel),g.disabled=V(i)||!t.href||t.href===`#`}),H(`click`,f,()=>{t.href&&t.href!==`#`&&window.open(t.href,`_blank`,`noopener,noreferrer`)}),H(`click`,g,o),W(e,u),Je()}Fr([`click`]);function Ja(e){return`cusu:${e}:thread`}function Ya(e){return`cusu:${e}:thread-history`}function Xa(e){return e===`waiting_customer`||e===`waiting_us`||e===`ai_replying`||e===`resolved`||e===`no_response`||e===`inappropriate`||e===`ai`||e===`waiting`||e===`human`||e===`needs_operator`}function Za(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t.id==`string`&&typeof t.preview==`string`&&typeof t.updatedAt==`string`&&Xa(t.status)}function Qa(e){if(!e||typeof e!=`object`)return!1;let t=e.type;return t===`none`||t===`ai`||t===`user`}function $a(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){if(!n||typeof n!=`object`)continue;let e=n,r=e.updatedAt??e.updated_at,i=typeof e.preview==`string`?e.preview:``,a=typeof e.title==`string`?e.title:void 0;if(typeof e.id!=`string`||typeof r!=`string`||!Xa(e.status))continue;let o=e.assignee;t.push({id:e.id,...a?{title:a}:{},preview:i,updatedAt:r,status:e.status,...Qa(o)?{assignee:{type:o.type}}:{}})}return t}function eo(e){return Array.isArray(e)?e.filter(Za):[]}function to(e){for(let t=e.length-1;t>=0;--t){let n=e[t]?.text.replace(/\*\*(.+?)\*\*/g,`$1`).replace(/`([^`]+)`/g,`$1`).replace(/\s+/g,` `).trim();if(n)return n.length>80?`${n.slice(0,80)}…`:n}return``}function no(e,t){return[t,...e.filter(e=>e.id!==t.id)].sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt))}function ro(e){try{let t=Ja(e);return localStorage.getItem(t)??sessionStorage.getItem(t)}catch{return null}}function io(e,t){try{let n=Ja(e);if(t){localStorage.setItem(n,t),sessionStorage.setItem(n,t);return}localStorage.removeItem(n),sessionStorage.removeItem(n)}catch{}}function ao(e){try{let t=localStorage.getItem(Ya(e));return t?eo(JSON.parse(t)):[]}catch{return[]}}function oo(e,t){try{localStorage.setItem(Ya(e),JSON.stringify(t.slice(0,40)))}catch{}}function so(e){io(e,null);try{localStorage.removeItem(Ya(e))}catch{}}function co(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function lo(e,t){let n=new Date(e).getTime();if(Number.isNaN(n))return`older`;let r=co(t),i=new Date(r);i.setDate(i.getDate()-1);let a=new Date(r);return a.setDate(a.getDate()-(r.getDay()+6)%7),n>=r.getTime()?`today`:n>=i.getTime()?`yesterday`:n>=a.getTime()?`week`:`older`}function uo(e,t){let n=new Date(e);return Number.isNaN(n.getTime())?e:n.toLocaleString(t,{day:`numeric`,month:`numeric`,hour:`2-digit`,minute:`2-digit`})}function fo(e,t,n){let r=new Date(e);return Number.isNaN(r.getTime())?e:t===`today`||t===`yesterday`?r.toLocaleTimeString(n,{hour:`2-digit`,minute:`2-digit`}):r.toLocaleDateString(n,{day:`numeric`,month:`numeric`})}function po(e){let t=new Date,n=[`today`,`yesterday`,`week`,`older`],r={today:[],yesterday:[],week:[],older:[]};for(let n of e)r[lo(n.updatedAt,t)].push(n);return n.filter(e=>r[e].length>0).map(e=>({id:e,items:r[e]}))}var mo=[[`path`,{d:`M9.14339 10.691L9.35031 10.4841C11.329 8.50532 14.5372 8.50532 16.5159 10.4841C18.4947 12.4628 18.4947 15.671 16.5159 17.6497L13.6497 20.5159C11.671 22.4947 8.46279 22.4947 6.48405 20.5159C4.50532 18.5372 4.50532 15.329 6.48405 13.3503L6.9484 12.886`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M17.0516 11.114L17.5159 10.6497C19.4947 8.67095 19.4947 5.46279 17.5159 3.48405C15.5372 1.50532 12.329 1.50532 10.3503 3.48405L7.48405 6.35031C5.50532 8.32904 5.50532 11.5372 7.48405 13.5159C9.46279 15.4947 12.671 15.4947 14.6497 13.5159L14.8566 13.309`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.5`,key:`1`}]],ho=U(`<img alt="" class="aspect-[1.91/1] max-h-28 w-full bg-muted object-cover" loading="lazy" decoding="async"/>`),go=U(`<img alt="" class="size-14 shrink-0 rounded-xl bg-muted object-cover" loading="lazy" decoding="async"/>`),_o=U(`<span class="inline-flex size-10 shrink-0 items-center justify-center rounded-xl bg-foreground text-background" aria-hidden="true"><!></span>`),vo=U(`<span class="mt-0.5 line-clamp-2 text-[11px] leading-snug text-muted-foreground"> </span>`),yo=U(`<a target="_blank" rel="noopener noreferrer"><!> <span><!> <span class="min-w-0 flex-1 text-left"><span> </span> <!> <span class="mt-0.5 block truncate text-[11px] text-muted-foreground"> </span></span></span></a>`);function bo(e,t){qe(t,!0);let n=pa(t,`imageUrl`,3,``),r=pa(t,`description`,3,``),i=pa(t,`compact`,3,!1),a=pa(t,`class`,3,``),o=N(!1),s=j(()=>{try{return new URL(t.href).hostname.replace(/^www\./i,``)}catch{return``}}),c=j(()=>!!n()&&!V(o)),l=j(()=>V(c)&&!i()),u=j(()=>V(c)&&i()),d=j(()=>!V(c)),f=j(()=>!!r()&&!i()),p=j(()=>V(s)?`${t.kindLabel} · ${V(s)}`:t.kindLabel),m=j(()=>t.href&&t.href!==`#`?t.href:void 0);var h=yo(),g=F(h),_=e=>{var t=ho();R(()=>Y(t,`src`,n())),Pr(`error`,t,()=>P(o,!0)),jr(t),W(e,t)};K(g,e=>{V(l)&&e(_)});var v=L(g,2),y=F(v),b=e=>{var t=go();R(()=>Y(t,`src`,n())),Pr(`error`,t,()=>P(o,!0)),jr(t),W(e,t)},x=e=>{var t=_o();za(F(t),{get icon(){return mo},class:`size-5`,strokeWidth:2}),k(t),W(e,t)};K(y,e=>{V(u)?e(b):V(d)&&e(x,1)});var S=L(y,2),ee=F(S),C=I(ee,!0),te=L(ee,2),ne=e=>{var t=vo(),n=I(t,!0);R(()=>G(n,r())),W(e,t)};K(te,e=>{V(f)&&e(ne)});var re=I(L(te,2),!0);k(S),k(v),k(h),R(()=>{Y(h,`href`,V(m)),Y(h,`aria-label`,t.openLabel),J(h,1,q([`block w-full overflow-hidden rounded-2xl border border-border bg-background text-foreground no-underline shadow-sm outline-none hover:bg-muted/40 focus-visible:ring-2 focus-visible:ring-ring/30`,!V(m)&&`pointer-events-none opacity-60`,a()])),J(v,1,q([`flex gap-3`,i()?`items-center p-2`:`items-start px-3 py-2.5`])),J(ee,1,q([`font-medium`,i()?`line-clamp-2 text-[13px]`:`line-clamp-2 text-sm`])),G(C,t.filename),G(re,V(p))}),W(e,h),Je()}function xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function So(e){if(Array.isArray(e))return e}function Co(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function wo(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
41
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function To(e,t){return So(e)||Co(e,t)||Eo(e,t)||wo()}function Eo(e,t){if(e){if(typeof e==`string`)return xo(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xo(e,t):void 0}}var Do=Object.entries,Oo=Object.setPrototypeOf,ko=Object.isFrozen,Ao=Object.getPrototypeOf,jo=Object.getOwnPropertyDescriptor,Mo=Object.freeze,No=Object.seal,Po=Object.create,Fo=typeof Reflect<`u`&&Reflect,Io=Fo.apply,Lo=Fo.construct;Mo||=function(e){return e},No||=function(e){return e},Io||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},Lo||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Ro=is(Array.prototype.forEach),zo=is(Array.prototype.lastIndexOf),Bo=is(Array.prototype.pop),Vo=is(Array.prototype.push),Ho=is(Array.prototype.splice),Uo=Array.isArray,Wo=is(String.prototype.toLowerCase),Go=is(String.prototype.toString),Ko=is(String.prototype.match),qo=is(String.prototype.replace),Jo=is(String.prototype.indexOf),Yo=is(String.prototype.trim),Xo=is(Number.prototype.toString),Zo=is(Boolean.prototype.toString),Qo=typeof BigInt>`u`?null:is(BigInt.prototype.toString),$o=typeof Symbol>`u`?null:is(Symbol.prototype.toString),es=is(Object.prototype.hasOwnProperty),ts=is(Object.prototype.toString),ns=is(RegExp.prototype.test),rs=as(TypeError);function is(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Io(e,t,r)}}function as(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Lo(e,n)}}function X(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wo;if(Oo&&Oo(e,null),!Uo(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(ko(t)||(t[r]=e),i=e)}e[i]=!0}return e}function os(e){for(let t=0;t<e.length;t++)es(e,t)||(e[t]=null);return e}function ss(e){let t=Po(null);for(let r of Do(e)){var n=To(r,2);let i=n[0],a=n[1];es(e,i)&&(t[i]=Uo(a)?os(a):a&&typeof a==`object`&&a.constructor===Object?ss(a):a)}return t}function cs(e){switch(typeof e){case`string`:return e;case`number`:return Xo(e);case`boolean`:return Zo(e);case`bigint`:return Qo?Qo(e):`0`;case`symbol`:return $o?$o(e):`Symbol()`;case`undefined`:return ts(e);case`function`:case`object`:{if(e===null)return ts(e);let t=e,n=ls(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:ts(e)}return ts(e)}default:return ts(e)}}function ls(e,t){for(;e!==null;){let n=jo(e,t);if(n){if(n.get)return is(n.get);if(typeof n.value==`function`)return is(n.value)}e=Ao(e)}function n(){return null}return n}function us(e){try{return ns(e,``),!0}catch{return!1}}var ds=Mo(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),fs=Mo(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),ps=Mo([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),ms=Mo([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),hs=Mo(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),gs=Mo([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),_s=Mo([`#text`]),vs=Mo(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),ys=Mo(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),bs=Mo(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),xs=Mo([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Ss=No(/{{[\w\W]*|^[\w\W]*}}/g),Cs=No(/<%[\w\W]*|^[\w\W]*%>/g),ws=No(/\${[\w\W]*/g),Ts=No(/^data-[\-\w.\u00B7-\uFFFF]+$/),Es=No(/^aria-[\-\w]+$/),Ds=No(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Os=No(/^(?:\w+script|data):/i),ks=No(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),As=No(/^html$/i),js=No(/^[a-z][.\w]*(-[.\w]+)+$/i),Ms=No(/<[/\w!]/g),Ns=No(/<[/\w]/g),Ps=No(/<\/no(script|embed|frames)/i),Fs=No(/\/>/i),Is={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ls=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Rs=Mo(X({},Ls)),zs=function(){let e={};return Ro(Ls,t=>{e[t]=No(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),Mo(e)}(),Bs=function(){return typeof window>`u`?null:window},Vs=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Hs=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Us=function(e,t,n,r){return es(e,t)&&Uo(e[t])?X(r.base?ss(r.base):{},e[t],r.transform):n},Ws=function(e,t,n){let r=es(e,t)?e[t]:void 0;return r&&typeof r==`object`?ss(r):n()};function Gs(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bs(),t=e=>Gs(e);if(t.version=`3.4.14`,t.removed=[],!e||!e.document||e.document.nodeType!==Is.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=ls(d,`cloneNode`),p=ls(d,`remove`),m=ls(d,`nextSibling`),h=ls(d,`childNodes`),g=ls(d,`parentNode`),_=ls(d,`shadowRoot`),v=ls(d,`attributes`),y=o&&o.prototype?ls(o.prototype,`nodeType`):null,b=o&&o.prototype?ls(o.prototype,`nodeName`):null,x=o&&o.prototype?ls(o.prototype,`ownerDocument`):null,S=function(e){return y?y(e):e.nodeType},ee=function(e){return b?b(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let C,te=``,ne,re=!1,ie=0,ae=function(){if(ie>0)throw rs(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},oe=function(e){ae(),ie++;try{return C.createHTML(e)}finally{ie--}},se=function(e){ae(),ie++;try{return C.createScriptURL(e)}finally{ie--}},ce=function(){return re||=(ne=Vs(u,i),!0),ne},le=n,ue=le.implementation,de=le.createNodeIterator,fe=le.createDocumentFragment,pe=le.getElementsByTagName,me=r.importNode,w=Hs();t.isSupported=typeof Do==`function`&&typeof g==`function`&&ue&&ue.createHTMLDocument!==void 0;let he=Ss,ge=Cs,_e=ws,ve=Ts,ye=Es,be=Os,xe=ks,Se=js,Ce=Ds,T=null,we=X({},[...ds,...fs,...ps,...hs,..._s]),E=null,Te=X({},[...vs,...ys,...bs,...xs]),D=Object.seal(Po(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),O=null,Ee=null,k=Object.seal(Po(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),De=!0,Oe=!0,ke=!1,Ae=!0,je=!1,Me=!0,Ne=!1,Pe=!1,Fe=null,Ie=null,Le=!1,Re=!1,ze=!1,Be=!1,Ve=!0,He=!1,Ue=`user-content-`,We=!0,Ge=!1,Ke={},qe=null,Je=X({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ye=null,Xe=X({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ze=null,Qe=X({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),$e=`http://www.w3.org/1998/Math/MathML`,et=`http://www.w3.org/2000/svg`,tt=`http://www.w3.org/1999/xhtml`,A=tt,nt=!1,rt=null,it=X({},[$e,et,tt],Go),at=Mo([`mi`,`mo`,`mn`,`ms`,`mtext`]),ot=X({},at),st=Mo([`annotation-xml`]),ct=X({},st),lt=X({},[`title`,`style`,`font`,`a`,`script`]),ut=null,dt=[`application/xhtml+xml`,`text/html`],ft=null,pt=null,mt=n.createElement(`form`),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(pt&&pt===e)return;(!e||typeof e!=`object`)&&(e={}),e=ss(e),ut=dt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,ft=ut===`application/xhtml+xml`?Go:Wo,T=Us(e,`ALLOWED_TAGS`,we,{transform:ft}),E=Us(e,`ALLOWED_ATTR`,Te,{transform:ft}),rt=Us(e,`ALLOWED_NAMESPACES`,it,{transform:Go}),Ze=Us(e,`ADD_URI_SAFE_ATTR`,Qe,{transform:ft,base:Qe}),Ye=Us(e,`ADD_DATA_URI_TAGS`,Xe,{transform:ft,base:Xe}),qe=Us(e,`FORBID_CONTENTS`,Je,{transform:ft}),O=Us(e,`FORBID_TAGS`,ss({}),{transform:ft}),Ee=Us(e,`FORBID_ATTR`,ss({}),{transform:ft}),Ke=es(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?ss(e.USE_PROFILES):e.USE_PROFILES:!1,De=e.ALLOW_ARIA_ATTR!==!1,Oe=e.ALLOW_DATA_ATTR!==!1,ke=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,je=e.SAFE_FOR_TEMPLATES||!1,Me=e.SAFE_FOR_XML!==!1,Ne=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,ze=e.RETURN_DOM_FRAGMENT||!1,Be=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,Ve=e.SANITIZE_DOM!==!1,He=e.SANITIZE_NAMED_PROPS||!1,We=e.KEEP_CONTENT!==!1,Ge=e.IN_PLACE||!1,Ce=us(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Ds,A=typeof e.NAMESPACE==`string`?e.NAMESPACE:tt,ot=Ws(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>X({},at)),ct=Ws(e,`HTML_INTEGRATION_POINTS`,()=>X({},st));let t=Ws(e,`CUSTOM_ELEMENT_HANDLING`,()=>Po(null));if(D=Po(null),es(t,`tagNameCheck`)&&ht(t.tagNameCheck)&&(D.tagNameCheck=t.tagNameCheck),es(t,`attributeNameCheck`)&&ht(t.attributeNameCheck)&&(D.attributeNameCheck=t.attributeNameCheck),es(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(D.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),No(D),je&&(Oe=!1),ze&&(Re=!0),Ke&&(T=X({},_s),E=Po(null),Ke.html===!0&&(X(T,ds),X(E,vs)),Ke.svg===!0&&(X(T,fs),X(E,ys),X(E,xs)),Ke.svgFilters===!0&&(X(T,ps),X(E,ys),X(E,xs)),Ke.mathMl===!0&&(X(T,hs),X(E,bs),X(E,xs))),k.tagCheck=null,k.attributeCheck=null,es(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?k.tagCheck=e.ADD_TAGS:Uo(e.ADD_TAGS)&&(T===we&&(T=ss(T)),X(T,e.ADD_TAGS,ft))),es(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?k.attributeCheck=e.ADD_ATTR:Uo(e.ADD_ATTR)&&(E===Te&&(E=ss(E)),X(E,e.ADD_ATTR,ft))),es(e,`ADD_FORBID_CONTENTS`)&&Uo(e.ADD_FORBID_CONTENTS)&&(qe===Je&&(qe=ss(qe)),X(qe,e.ADD_FORBID_CONTENTS,ft)),We&&(T[`#text`]=!0),Ne&&X(T,[`html`,`head`,`body`]),T.table&&(X(T,[`tbody`]),delete O.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw rs(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw rs(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=C;C=e.TRUSTED_TYPES_POLICY;try{te=oe(``)}catch(e){throw C=t,e}}else e.TRUSTED_TYPES_POLICY===null?(C=void 0,te=``):(C===void 0&&(C=ce()),C&&typeof te==`string`&&(te=oe(``)));Mo&&Mo(e),pt=e},_t=X({},[...fs,...ps,...ms]),vt=X({},[...hs,...gs]),yt=function(e,t,n){return t.namespaceURI===tt?e===`svg`:t.namespaceURI===$e?e===`svg`&&(n===`annotation-xml`||ot[n]):!!_t[e]},j=function(e,t,n){return t.namespaceURI===tt?e===`math`:t.namespaceURI===et?e===`math`&&ct[n]:!!vt[e]},bt=function(e,t,n){return t.namespaceURI===et&&!ct[n]||t.namespaceURI===$e&&!ot[n]?!1:!vt[e]&&(lt[e]||!_t[e])},xt=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:A,tagName:`template`});let n=Wo(e.tagName),r=Wo(t.tagName);return rt[e.namespaceURI]?e.namespaceURI===et?yt(n,t,r):e.namespaceURI===$e?j(n,t,r):e.namespaceURI===tt?bt(n,t,r):!!(ut===`application/xhtml+xml`&&rt[e.namespaceURI]):!1},St=function(e){Vo(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw rs(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},Ct=function(e,t,n){try{e.removeAttributeNode(t)}catch{try{e.removeAttribute(n)}catch{}}},wt=function(e){M(e);let t=h(e);if(t){let e=[];Ro(t,t=>{Vo(e,t)}),Ro(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&Ct(e,r,i)}},Tt=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Vo(t.removed,{attribute:r||null,from:n});try{r?n.removeAttributeNode(r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(Re||ze)try{St(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},Et=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||E[ft(i)]||Ct(e,r,i)}},M=function(e){let t=[e];for(;t.length>0;){let e=t.pop();S(e)===Is.element&&Et(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Dt=function(e,t){return Me?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Ot=function(e){if(!Me)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=S(e);if(n===Is.processingInstruction||n===Is.comment&&ns(Ns,e.data)){try{p(e)}catch{}continue}if(n===Is.element){let t=e,n=ft(ee(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&Dt(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},kt=function(e){let t=null,r=null;if(Le)e=`<remove></remove>`+e;else{let t=Ko(e,/^[\r\n\t ]+/);r=t&&t[0]}ut===`application/xhtml+xml`&&A===tt&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=C?oe(e):e;if(A===tt)try{t=new l().parseFromString(i,ut)}catch{}if(!t||!t.documentElement){t=ue.createDocument(A,`template`,null);try{t.documentElement.innerHTML=nt?te:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),A===tt?pe.call(t,Ne?`html`:`body`)[0]:Ne?t.documentElement:a},At=function(e){let t=x?x(e):e.ownerDocument;return de.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},jt=function(e){return e=qo(e,he,` `),e=qo(e,ge,` `),e=qo(e,_e,` `),e},Mt=function(e){e.normalize();let t=x?x(e):e.ownerDocument,n=de.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=jt(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Ro(i,e=>{Pt(e.content)&&Mt(e.content)})},Nt=function(e){let t=b?b(e):null;return typeof t!=`string`||ft(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Pt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===Is.documentFragment}catch{return!1}},Ft=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function It(e,n,r){e.length!==0&&Ro(e,e=>{e.call(t,n,r,pt)})}let Lt=function(e,t){return!!(Me&&e.hasChildNodes()&&!Ft(e.firstElementChild)&&ns(Ms,e.textContent)&&ns(Ms,e.innerHTML)||Me&&e.namespaceURI===tt&&Rs[t]&&(Ft(e.firstElementChild)||typeof e.textContent==`string`&&ns(zs[t],e.textContent))||e.nodeType===Is.processingInstruction||Me&&e.nodeType===Is.comment&&ns(Ns,e.data))},Rt=function(e,t){if(e instanceof RegExp)return ns(e,t);if(e instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!e(t,...r)}return!1},zt=function(e,t,n){if(!O[t]&&Gt(t)&&Rt(D.tagNameCheck,t))return!1;if(We&&!qe[t]){let t=g(e),r=h(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,m(e))}}}return St(e),!0},Bt=function(e,t,n,r){return e.length===0?t:t===n||t===r?ss(t):t},Vt=function(e,t){return e===t||g(e)!==null?!1:(Ge&&M(e),!0)},Ht=function(e,n){if(It(w.beforeSanitizeElements,e,null),Vt(e,n))return!0;if(Nt(e))return St(e),!0;let r=ft(ee(e));if(T=Bt(w.uponSanitizeElement,T,we,Fe),It(w.uponSanitizeElement,e,{tagName:r,allowedTags:T}),Vt(e,n))return!0;if(Lt(e,r))return St(e),!0;if(O[r]||!(k.tagCheck instanceof Function&&k.tagCheck(r))&&!T[r]){let t=zt(e,r,n);return t===!1&&It(w.afterSanitizeElements,e,null),t}if(S(e)===Is.element&&!xt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&ns(Ps,e.innerHTML))return St(e),!0;if(je&&e.nodeType===Is.text){let n=jt(e.textContent);e.textContent!==n&&(Vo(t.removed,{element:e.cloneNode()}),e.textContent=n)}return It(w.afterSanitizeElements,e,null),!1},Ut=function(e,t,r){if(Ee[t]||Dt(t,e)||Ve&&(t===`id`||t===`name`)&&(r in n||r in mt))return!1;let i=E[t]||k.attributeCheck instanceof Function&&k.attributeCheck(t,e);return Oe&&ns(ve,t)||De&&ns(ye,t)?!0:i?Ze[t]||ns(Ce,qo(r,xe,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Jo(r,`data:`)===0&&Ye[e]||ke&&!ns(be,qo(r,xe,``))?!0:!r:Gt(e)&&Rt(D.tagNameCheck,e)&&Rt(D.attributeNameCheck,t,e)||t===`is`&&D.allowCustomizedBuiltInElements&&Rt(D.tagNameCheck,r)},Wt=X({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Gt=function(e){return!Wt[Wo(e)]&&ns(Se,e)},Kt=function(e,t,n,r){if(C&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return oe(r);case`TrustedScriptURL`:return se(r)}return r},qt=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),Nt(e)?St(e):Bo(t.removed)}catch{Tt(n,e)}},N=function(e){It(w.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||Nt(e))return;E=Bt(w.uponSanitizeAttribute,E,Te,Ie);let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:E,forceKeepAttr:void 0},r=t.length,i=ft(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=ft(o),u=c,d=o===`value`?u:Yo(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,It(w.uponSanitizeAttribute,e,n),d=n.attrValue,He&&(l===`id`||l===`name`)&&Jo(d,Ue)!==0&&(Tt(o,e,a),d=Ue+d),Me&&ns(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Tt(o,e,a);continue}if(l===`attributename`&&Ko(d,`href`)){Tt(o,e,a);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Tt(o,e,a);continue}if(!Ae&&ns(Fs,d)){Tt(o,e,a);continue}if(je&&(d=jt(d)),!Ut(i,l,d)){Tt(o,e,a);continue}d=Kt(i,l,s,d),d!==u&&qt(e,o,s,d)}}It(w.afterSanitizeAttributes,e,null)},Jt=function(e){let t=null,n=At(e);for(It(w.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(It(w.uponSanitizeShadowNode,t,null),Ht(t,e),N(t),Pt(t.content)&&Jt(t.content),S(t)===Is.element){let e=_(t);Pt(e)&&(P(e),Jt(e))}It(w.afterSanitizeShadowDOM,e,null)},P=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Jt(e.shadow);continue}let n=e.node,r=S(n)===Is.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&ft(e)===`template`){let e=n.content;Pt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);Pt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(nt=!e,nt&&(e=`<!-->`),typeof e!=`string`&&!Ft(e)&&(e=cs(e),typeof e!=`string`))throw rs(`dirty is not a string, aborting`);if(!t.isSupported)return e;Pe?(T=Fe,E=Ie):gt(n),(w.uponSanitizeElement.length>0||w.uponSanitizeAttribute.length>0)&&(T=ss(T)),w.uponSanitizeAttribute.length>0&&(E=ss(E)),t.removed=[];let c=Ge&&typeof e!=`string`&&Ft(e);if(c){Ot(e);let t=ee(e);if(typeof t==`string`){let n=ft(t);if(!T[n]||O[n])throw wt(e),rs(`root node is forbidden and cannot be sanitized in-place`)}if(Nt(e))throw wt(e),rs(`root node is clobbered and cannot be sanitized in-place`);try{P(e)}catch(t){throw wt(e),t}}else if(Ft(e))i=kt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Is.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),P(a);else{if(!Re&&!je&&!Ne&&e.indexOf(`<`)===-1)return C&&Be?oe(e):e;if(i=kt(e),!i)return Re?null:Be?te:``}i&&Le&&St(i.firstChild);let l=c?e:i;try{let e=At(l);for(;o=e.nextNode();)Ht(o,l),N(o),Pt(o.content)&&Jt(o.content)}catch(n){throw c&&(wt(e),Ro(t.removed,e=>{e.element&&M(e.element)})),n}if(c)return Ro(t.removed,e=>{e.element&&M(e.element)}),je&&Mt(e),e;if(Re){if(je&&Mt(i),ze)for(s=fe.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(E.shadowroot||E.shadowrootmode)&&(s=me.call(r,s,!0)),s}let u=Ne?i.outerHTML:i.innerHTML;return Ne&&T[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&ns(As,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
42
+ `+u),je&&(u=jt(u)),C&&Be?oe(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};gt(e),Pe=!0,Fe=T,Ie=E},t.clearConfig=function(){pt=null,Pe=!1,Fe=null,Ie=null,C=ne,te=``},t.isValidAttribute=function(e,t,n){pt||gt({});let r=ft(e),i=ft(t);return Ut(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&es(w,e)&&Vo(w[e],t)},t.removeHook=function(e,t){if(es(w,e)){if(t!==void 0){let n=zo(w[e],t);return n===-1?void 0:Ho(w[e],n,1)[0]}return Bo(w[e])}},t.removeHooks=function(e){es(w,e)&&(w[e]=[])},t.removeAllHooks=function(){w=Hs()},t}var Ks=Gs();function qs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Js=qs();function Ys(e){Js=e}var Xs={exec:()=>null};function Zs(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function Z(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace($s.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var Qs=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),$s={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Zs(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Zs(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Zs(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:Zs(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:Zs(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,`i`)),blockquoteBeginRegex:Zs(e=>RegExp(`^ {0,${e}}>`))},ec=/^(?:[ \t]*(?:\n|$))+/,tc=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,nc=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,rc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ic=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ac=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,oc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,sc=Z(oc).replace(/bull/g,ac).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),cc=Z(oc).replace(/bull/g,ac).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),lc=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,uc=/^[^\n]+/,dc=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,fc=Z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,dc).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),pc=Z(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,ac).getRegex(),mc=`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|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,hc=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,gc=Z(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,hc).replace(`tag`,mc).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_c=e=>Z(lc).replace(`hr`,rc).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,e).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,mc).getRegex(),vc=_c(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),yc=_c(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),bc={blockquote:Z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,yc).getRegex(),code:tc,def:fc,fences:nc,heading:ic,hr:rc,html:gc,lheading:sc,list:pc,newline:ec,paragraph:vc,table:Xs,text:uc},xc=Z(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,rc).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,mc).getRegex(),Sc={...bc,lheading:cc,table:xc,paragraph:Z(lc).replace(`hr`,rc).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,xc).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,mc).getRegex()},Cc={...bc,html:Z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,hc).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`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Xs,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Z(lc).replace(`hr`,rc).replace(`heading`,` *#{1,6} *[^
43
+ ]`).replace(`lheading`,sc).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},wc=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Tc=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ec=/^( {2,}|\\)\n(?!\s*$)/,Dc=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Oc=/[\p{P}\p{S}]/u,kc=/[\s\p{P}\p{S}]/u,Ac=/[^\s\p{P}\p{S}]/u,jc=Z(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,kc).getRegex(),Mc=/[\p{Pi}\p{Ps}"']/u,Nc=/(?!~)[\p{P}\p{S}]/u,Pc=/(?!~)[\s\p{P}\p{S}]/u,Fc=/(?:[^\s\p{P}\p{S}]|~)/u,Ic=Z(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,Qs?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),Lc=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,Rc=Z(Lc,`u`).replace(/punct/g,Oc).getRegex(),zc=Z(Lc,`u`).replace(/punct/g,Nc).getRegex(),Bc=Z(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,`u`).replace(/openQuote/g,Mc).replace(/punct/g,Oc).getRegex(),Vc=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Hc=Z(Vc,`gu`).replace(/notPunctSpace/g,Ac).replace(/punctSpace/g,kc).replace(/punct/g,Oc).getRegex(),Uc=Z(Vc,`gu`).replace(/notPunctSpace/g,Fc).replace(/punctSpace/g,Pc).replace(/punct/g,Nc).getRegex(),Wc=Z(`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ac).replace(/punctSpace/g,kc).replace(/punct/g,Oc).getRegex(),Gc=Z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Ac).replace(/punctSpace/g,kc).replace(/punct/g,Oc).getRegex(),Kc=Z(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ac).replace(/punctSpace/g,kc).replace(/punct/g,Oc).getRegex(),qc=Z(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,Oc).getRegex(),Jc=Z(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,Ac).replace(/punctSpace/g,kc).replace(/punct/g,Oc).getRegex(),Yc=Z(/\\(punct)/,`gu`).replace(/punct/g,Oc).getRegex(),Xc=Z(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[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])?)+(?![-_])/).getRegex(),Zc=Z(hc).replace(`(?:-->|$)`,`-->`).getRegex(),Qc=Z(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Zc).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),$c=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,el=Z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,$c).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tl=Z(/^!?\[(label)\]\[(ref)\]/).replace(`label`,$c).replace(`ref`,dc).getRegex(),nl=Z(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,dc).getRegex(),rl=Z(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,tl).replace(`nolink`,nl).getRegex(),il=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,al={_backpedal:Xs,anyPunctuation:Yc,autolink:Xc,blockSkip:Ic,br:Ec,code:Tc,del:Xs,delLDelim:Xs,delRDelim:Xs,emStrongLDelim:Rc,emStrongRDelimAst:Hc,emStrongRDelimUnd:Gc,escape:wc,link:el,nolink:nl,punctuation:jc,reflink:tl,reflinkSearch:rl,tag:Qc,text:Dc,url:Xs},ol={...al,emStrongLDelim:Bc,emStrongRDelimAst:Wc,emStrongRDelimUnd:Kc,link:Z(/^!?\[(label)\]\((.*?)\)/).replace(`label`,$c).getRegex(),reflink:Z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,$c).getRegex()},sl={...al,emStrongRDelimAst:Uc,emStrongLDelim:zc,delLDelim:qc,delRDelim:Jc,url:Z(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,il).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Z(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,il).getRegex()},cl={...sl,br:Z(Ec).replace(`{2,}`,`*`).getRegex(),text:Z(sl.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},ll={normal:bc,gfm:Sc,pedantic:Cc},ul={normal:al,gfm:sl,breaks:cl,pedantic:ol},dl={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},fl=e=>dl[e];function pl(e,t){if(t){if($s.escapeTest.test(e))return e.replace($s.escapeReplace,fl)}else if($s.escapeTestNoEncode.test(e))return e.replace($s.escapeReplaceNoEncode,fl);return e}function ml(e){try{e=encodeURI(e).replace($s.percentDecode,`%`)}catch{return null}return e}function hl(e,t){let n=e.replace($s.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split($s.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace($s.slashPipe,`|`);return n}function gl(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function _l(e){let t=e.split(`
44
+ `),n=t.length-1;for(;n>=0&&$s.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
45
+ `)}function vl(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function yl(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function bl(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`),c=e[0].charAt(0)===`!`;r.state.inLink=!0;let l=r.state.linkEmitted,u=r.state.inRawBlock;r.state.linkEmitted=!1;let d=r.inlineTokens(s),f=r.state.linkEmitted;if(r.state.linkEmitted=l,r.state.inLink=!1,!c){if(f){r.state.inRawBlock=u;return}r.state.linkEmitted=!0}return{type:c?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:d}}function xl(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
46
+ `).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
47
+ `)}var Sl=class{options;rules;lexer;constructor(e){this.options=e||Js}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=this.options.pedantic?t[0]:_l(t[0]);return{type:`code`,raw:e,codeBlockStyle:`indented`,text:e.replace(this.rules.other.codeRemoveIndent,``)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=xl(e,t[3]||``,this.rules);return{type:`code`,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,`$1`):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=gl(e,`#`);(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:`heading`,raw:gl(t[0],`
48
+ `),depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:`hr`,raw:gl(t[0],`
49
+ `)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=gl(t[0],`
50
+ `).split(`
51
+ `),n=``,r=``,i=[];for(;e.length>0;){let t=!1,a=[],o;for(o=0;o<e.length;o++)if(this.rules.other.blockquoteStart.test(e[o]))a.push(e[o]),t=!0;else if(!t)a.push(e[o]);else break;e=e.slice(o);let s=a.join(`
52
+ `),c=s.replace(this.rules.other.blockquoteSetextReplace,`
53
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,``);n=n?`${n}
54
+ ${s}`:s,r=r?`${r}
55
+ ${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,i,!0),this.lexer.state.top=l,e.length===0)break;let u=i.at(-1);if(u?.type===`code`)break;if(u?.type===`blockquote`){let t=u,a=e.join(`
56
+ `),o=t.raw+`
57
+ `+a.replace(this.rules.other.blockquoteSetextReplace2,``),s=this.blockquote(o);i[i.length-1]=s,n=`${n}
58
+ ${a}`,r=r.substring(0,r.length-t.text.length)+s.text;break}if(u?.type===`list`){let t=u,a=t.raw+`
59
+ `+e.join(`
60
+ `),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
61
+ `);continue}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=yl(t[2].split(`
62
+ `,1)[0],t[1].length),l=e.split(`
63
+ `,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=c.search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
64
+ `,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d),f=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(`
65
+ `,1)[0],m;if(l=p,this.options.pedantic?(l=l.replace(this.rules.other.listReplaceNesting,` `),m=l):m=l.replace(this.rules.other.tabCharGlobal,` `),i.test(l)||a.test(l)||o.test(l)||f.test(l)||t.test(l)||n.test(l))break;if(m.search(this.rules.other.nonSpaceChar)>=d||!l.trim())s+=`
66
+ `+m.slice(d);else{if(u||c.replace(this.rules.other.tabCharGlobal,` `).search(this.rules.other.nonSpaceChar)>=4||i.test(c)||a.test(c)||n.test(c))break;s+=`
67
+ `+l}u=!l.trim(),r+=p+`
68
+ `,e=e.substring(p.length+1),c=m.slice(d)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),i.items.push({type:`list_item`,raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),i.raw+=r}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let e of i.items)if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),!i.loose){let t=e.tokens.filter(e=>e.type===`space`);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}for(let e of i.items){let t=e.tokens[0];if(e.task&&(t?.type===`text`||t?.type===`paragraph`)){e.text=e.text.replace(this.rules.other.listReplaceTask,``),t.raw=t.raw.replace(this.rules.other.listReplaceTask,``),t.text=t.text.replace(this.rules.other.listReplaceTask,``);for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,``);break}let n=this.rules.other.listTaskCheckbox.exec(e.raw);if(n){let t={type:`checkbox`,raw:n[0]+` `,checked:n[0]!==`[ ]`};e.checked=t.checked,i.loose?e.tokens[0]&&[`paragraph`,`text`].includes(e.tokens[0].type)&&`tokens`in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=t.raw+e.tokens[0].raw,e.tokens[0].text=t.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(t)):e.tokens.unshift({type:`paragraph`,raw:t.raw,text:t.raw,tokens:[t]}):e.tokens.unshift(t)}}else e.task&&=!1}if(i.loose)for(let e of i.items){e.loose=!0;for(let t of e.tokens)t.type===`text`&&(t.type=`paragraph`)}return i}}html(e){let t=this.rules.block.html.exec(e);if(t){let e=_l(t[0]);return{type:`html`,block:!0,raw:e,pre:t[1]===`pre`||t[1]===`script`||t[1]===`style`,text:e}}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal,` `),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,`$1`).replace(this.rules.inline.anyPunctuation,`$1`):``,r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,`$1`):t[3];return{type:`def`,tag:e,raw:gl(t[0],`
69
+ `),href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=hl(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,``).split(`|`),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,``).split(`
70
+ `):[],a={type:`table`,raw:gl(t[0],`
71
+ `),header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push(`right`):this.rules.other.tableAlignCenter.test(e)?a.align.push(`center`):this.rules.other.tableAlignLeft.test(e)?a.align.push(`left`):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(hl(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:`heading`,raw:gl(t[0],`
72
+ `),depth:t[2].charAt(0)===`=`?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
73
+ `?t[1].slice(0,-1):t[1];return{type:`paragraph`,raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:`text`,raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:`escape`,raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:`html`,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=gl(e.slice(0,-1),`\\`);if((e.length-t.length)%2==0)return}else{let e=vl(t[2],`()`);if(e===-2)return;if(e>-1){let n=(t[0].indexOf(`!`)===0?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=``}}let n=t[2],r=``;if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):``;return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),bl(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,`$1`),title:r&&r.replace(this.rules.inline.anyPunctuation,`$1`)},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal,` `).toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:`text`,raw:e,text:e}}return bl(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=``){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let i=[...r[0]].length-1,a,o,s=i,c=0,l=r[0][0],u=n===l,d=l===`*`?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,t=t.slice(-1*e.length+i);(r=d.exec(t))!==null;){if(a=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!a)continue;if(o=[...a].length,r[3]||r[4]){s+=o;continue}if(r[5]||r[6]){if(i%3&&!((i+o)%3)){c+=o;continue}if(u)break}if(s-=o,s>0)continue;o=Math.min(o,o+s+c);let t=[...r[0]][0].length,n=e.slice(0,i+r.index+t+o);if(Math.min(i,o)%2){let e=n.slice(1,-1);return{type:`em`,raw:n,text:e,tokens:this.lexer.inlineTokens(e)}}let l=n.slice(2,-2);return{type:`strong`,raw:n,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal,` `),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:`codespan`,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:`br`,raw:t[0]}}del(e,t,n=``){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,o=n,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+n);(r=s.exec(t))!==null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i||(a=[...i].length,a!==n))continue;if(r[3]||r[4]){o+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o);let t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a),c=s.slice(n,-n);return{type:`del`,raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return t[2]===`@`?(e=t[1],n=`mailto:`+e):(e=t[1],n=e),{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if(t[2]===`@`)e=t[0],n=`mailto:`+e;else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??``;while(r!==t[0]);e=t[0],n=t[1]===`www.`?`http://`+t[0]:t[0]}return{type:`link`,raw:t[0],text:e,href:n,tokens:[{type:`text`,raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:`text`,raw:t[0],text:t[0],escaped:e}}}},Cl=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Js,this.options.tokenizer=this.options.tokenizer||new Sl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,linkEmitted:!1,top:!0};let t={other:$s,block:ll.normal,inline:ul.normal};this.options.pedantic?(t.block=ll.pedantic,t.inline=ul.pedantic):this.options.gfm&&(t.block=ll.gfm,t.inline=this.options.breaks?ul.breaks:ul.gfm),this.tokenizer.rules=t}static get rules(){return{block:ll,inline:ul}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace($s.carriageReturn,`
74
+ `),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace($s.tabCharGlobal,` `).replace($s.spaceLine,``));let r=1/0;for(;e;){if(e.length<r)r=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let i;if(this.options.extensions?.block?.some(n=>(i=n.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let n=t.at(-1);i.raw.length===1&&n!==void 0?n.raw+=`
75
+ `:t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
76
+ `)?``:`
77
+ `)+i.raw,n.text+=`
78
+ `+i.text,this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
79
+ `)?``:`
80
+ `)+i.raw,n.text+=`
81
+ `+i.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},t.push(i));continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),t.push(i);continue}let a=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){let r=t.at(-1);n&&r?.type===`paragraph`?(r.raw+=(r.raw.endsWith(`
82
+ `)?``:`
83
+ `)+i.raw,r.text+=`
84
+ `+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(i),n=a.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
85
+ `)?``:`
86
+ `)+i.raw,n.text+=`
87
+ `+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}linkInText(e){if(!e.includes(`[`))return!1;let t=this.tokenizer.rules.inline.link;for(let n of e.matchAll(this.tokenizer.rules.inline.blockSkip))if(t.test(n[0])&&e.charAt(n.index-1)!==`!`)return!0;for(let t of e.matchAll(this.tokenizer.rules.inline.reflinkSearch)){let e=t[0],n=e.lastIndexOf(`[`);if(!(e.charAt(0)===`!`||!Object.hasOwn(this.tokens.links,e.slice(n+1,-1)))&&!(n>1&&this.linkInText(e.slice(1,n-1))))return!0}return!1}inlineTokens(e,t=[]){this.tokenizer.lexer=this;let n=e;if(this.tokens.links&&e.includes(`[`)){let e=this.tokenizer.rules.inline.reflinkSearch,t=n=>{let r=n.lastIndexOf(`[`);if(!Object.hasOwn(this.tokens.links,n.slice(r+1,-1)))return n;if(r>1&&n.charAt(0)!==`!`){let i=n.slice(1,r-1);if(this.linkInText(i))return`[`+i.replace(e,t)+`][`+`a`.repeat(n.length-r-2)+`]`}return`[`+`a`.repeat(n.length-2)+`]`};n=n.replace(e,t)}n=n.replace(this.tokenizer.rules.inline.anyPunctuation,e=>`+`.repeat(e.length)),n=n.replace(this.tokenizer.rules.inline.blockSkip,(e,t,n)=>{let r=n?n.length:0;return e.slice(0,r)+`[`+`a`.repeat(e.length-r-2)+`]`}),n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let r=!1,i=``,a=1/0;for(;e;){if(e.length<a)a=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}r||(i=``),r=!1;let o;if(this.options.extensions?.inline?.some(n=>(o=n.call({lexer:this},e,t))?(e=e.substring(o.raw.length),t.push(o),!0):!1))continue;if(o=this.tokenizer.escape(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.tag(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.link(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);let n=t.at(-1);o.type===`text`&&n?.type===`text`?(n.raw+=o.raw,n.text+=o.text):t.push(o);continue}if(o=this.tokenizer.emStrong(e,n,i)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.codespan(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.br(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.del(e,n,i)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.autolink(e)){e=e.substring(o.raw.length),t.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),t.push(o);continue}let s=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(o=this.tokenizer.inlineText(s)){e=e.substring(o.raw.length),o.raw.slice(-1)!==`_`&&(i=o.raw.slice(-1)),r=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=o.raw,n.text+=o.text):t.push(o);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return t}infiniteLoopError(e){let t=`Infinite loop on byte: `+e;if(this.options.silent)console.error(t);else throw Error(t)}},wl=class{options;parser;constructor(e){this.options=e||Js}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match($s.notSpaceStart)?.[0],i=e.replace($s.endingNewline,``)+`
88
+ `;return r?`<pre><code class="language-`+pl(r)+`">`+(n?i:pl(i,!0))+`</code></pre>
89
+ `:`<pre><code>`+(n?i:pl(i,!0))+`</code></pre>
90
+ `}blockquote({tokens:e}){return`<blockquote>
91
+ ${this.parser.parse(e)}</blockquote>
92
+ `}html({text:e}){return e}def(e){return``}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
93
+ `}hr(e){return`<hr>
94
+ `}list(e){let t=e.ordered,n=e.start,r=``;for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?`ol`:`ul`,a=t&&n!==1?` start="`+n+`"`:``;return`<`+i+a+`>
95
+ `+r+`</`+i+`>
96
+ `}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
97
+ `}checkbox({checked:e}){return`<input `+(e?`checked="" `:``)+`disabled="" type="checkbox"> `}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
98
+ `}table(e){let t=``,n=``;for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r=``;for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n=``;for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&=`<tbody>${r}</tbody>`,`<table>
99
+ <thead>
100
+ `+t+`</thead>
101
+ `+r+`</table>
102
+ `}tablerow({text:e}){return`<tr>
103
+ ${e}</tr>
104
+ `}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?`th`:`td`;return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
105
+ `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${pl(e,!0)}</code>`}br(e){return`<br>`}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=ml(e);if(i===null)return r;e=i;let a=`<a href="`+e+`"`;return t&&(a+=` title="`+pl(t)+`"`),a+=`>`+r+`</a>`,a}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=ml(e);if(i===null)return pl(n);e=i;let a=`<img src="${e}" alt="${pl(n)}"`;return t&&(a+=` title="${pl(t)}"`),a+=`>`,a}text(e){return`tokens`in e&&e.tokens?this.parser.parseInline(e.tokens):`escaped`in e&&e.escaped?e.text:pl(e.text)}},Tl=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return``+e}image({text:e}){return``+e}br(){return``}checkbox({raw:e}){return e}},El=class e{options;renderer;textRenderer;constructor(e){this.options=e||Js,this.options.renderer=this.options.renderer||new wl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Tl}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t=``;for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=r,n=this.options.extensions.renderers[e.type].call({parser:this},e);if(n!==!1||![`space`,`hr`,`heading`,`code`,`table`,`blockquote`,`list`,`checkbox`,`html`,`def`,`paragraph`,`text`].includes(e.type)){t+=n||``;continue}}let i=r;switch(i.type){case`space`:t+=this.renderer.space(i);break;case`hr`:t+=this.renderer.hr(i);break;case`heading`:t+=this.renderer.heading(i);break;case`code`:t+=this.renderer.code(i);break;case`table`:t+=this.renderer.table(i);break;case`blockquote`:t+=this.renderer.blockquote(i);break;case`list`:t+=this.renderer.list(i);break;case`checkbox`:t+=this.renderer.checkbox(i);break;case`html`:t+=this.renderer.html(i);break;case`def`:t+=this.renderer.def(i);break;case`paragraph`:t+=this.renderer.paragraph(i);break;case`text`:t+=this.renderer.text(i);break;default:{let e=`Token with "`+i.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(e!==!1||![`escape`,`html`,`link`,`image`,`checkbox`,`strong`,`em`,`codespan`,`br`,`del`,`text`].includes(i.type)){n+=e||``;continue}}let a=i;switch(a.type){case`escape`:n+=t.text(a);break;case`html`:n+=t.html(a);break;case`link`:n+=t.link(a);break;case`image`:n+=t.image(a);break;case`checkbox`:n+=t.checkbox(a);break;case`strong`:n+=t.strong(a);break;case`em`:n+=t.em(a);break;case`codespan`:n+=t.codespan(a);break;case`br`:n+=t.br(a);break;case`del`:n+=t.del(a);break;case`text`:n+=t.text(a);break;default:{let e=`Token with "`+a.type+`" type was not found.`;if(this.options.silent)return console.error(e),``;throw Error(e)}}}return n}},Dl=class{options;block;constructor(e){this.options=e||Js}static passThroughHooks=new Set([`preprocess`,`postprocess`,`processAllTokens`,`emStrongMask`]);static passThroughHooksRespectAsync=new Set([`preprocess`,`postprocess`,`processAllTokens`]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?Cl.lex:Cl.lexInline}provideParser(e=this.block){return e?El.parse:El.parseInline}},Ol=new class{defaults=qs();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=El;Renderer=wl;TextRenderer=Tl;Lexer=Cl;Tokenizer=Sl;Hooks=Dl;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case`table`:{let e=r;for(let r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case`list`:{let e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(`extension name required`);if(`renderer`in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return r===!1&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if(`tokenizer`in e){if(!e.level||e.level!==`block`&&e.level!==`inline`)throw Error(`extension level must be 'block' or 'inline'`);let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(e.level===`block`?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:e.level===`inline`&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}`childTokens`in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new wl(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if([`options`,`parser`].includes(n))continue;let r=n,i=e.renderer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n||``}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new Sl(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if([`options`,`rules`,`lexer`].includes(n))continue;let r=n,i=e.tokenizer[r],a=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Dl;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if([`options`,`block`].includes(n))continue;let r=n,i=e.hooks[r],a=t[r];t[r]=Dl.passThroughHooks.has(n)?e=>{if(this.defaults.async&&Dl.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await i.call(t,e);return a.call(t,n)})();let r=i.call(t,e);return a.call(t,r)}:(...e)=>{if(this.defaults.async)return(async()=>{let n=await i.apply(t,e);return n===!1&&(n=await a.apply(t,e)),n})();let n=i.apply(t,e);return n===!1&&(n=a.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Cl.lex(e,t??this.defaults)}parser(e,t){return El.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&r.async===!1)return a(Error(`marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.`));if(typeof t>`u`||t===null)return a(Error(`marked(): input parameter is undefined or null`));if(typeof t!=`string`)return a(Error(`marked(): input parameter is of type `+Object.prototype.toString.call(t)+`, string expected`));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await(i.hooks?await i.hooks.provideLexer(e):e?Cl.lex:Cl.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let o=await(i.hooks?await i.hooks.provideParser(e):e?El.parse:El.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(o):o})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?Cl.lex:Cl.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?El.parse:El.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
106
+ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error occurred:</p><pre>`+pl(n.message+``,!0)+`</pre>`;return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Q(e,t){return Ol.parse(e,t)}Q.options=Q.setOptions=function(e){return Ol.setOptions(e),Q.defaults=Ol.defaults,Ys(Q.defaults),Q},Q.getDefaults=qs,Q.defaults=Js;function kl(...e){return Ol.use(...e),Q.defaults=Ol.defaults,Ys(Q.defaults),Q}Q.use=kl,Q.walkTokens=function(e,t){return Ol.walkTokens(e,t)},Q.parseInline=Ol.parseInline,Q.Parser=El,Q.parser=El.parse,Q.Renderer=wl,Q.TextRenderer=Tl,Q.Lexer=Cl,Q.lexer=Cl.lex,Q.Tokenizer=Sl,Q.Hooks=Dl,Q.parse=Q,Q.options,Q.setOptions,Q.walkTokens,Q.parseInline,El.parse,Cl.lex,Q.setOptions({async:!1,gfm:!0,breaks:!0});function Al(e){let t=Q.parse(e,{async:!1});return typeof window>`u`?t:Ks.sanitize(t)}var jl=U(`<div class="typeset-chat"></div>`);function Ml(e,t){qe(t,!0);let n=j(()=>Al(t.source));var r=jl();gi(r,()=>V(n),!0),k(r),W(e,r),Je()}var Nl=e=>{var t=Fl();De(4),W(e,t)},Pl=new Set([`$$slots`,`$$events`,`$$legacy`,`tone`,`energy`,`size`,`disabled`,`onclick`,`class`]),Fl=U(`<span class="bloom svelte-vox7bv"></span> <span class="corona svelte-vox7bv"></span> <span class="body svelte-vox7bv"><span class="flow svelte-vox7bv"><span class="wash one svelte-vox7bv"></span> <span class="wash two svelte-vox7bv"></span> <span class="wash three svelte-vox7bv"></span></span> <span class="spec svelte-vox7bv"></span></span>`,1),Il=U(`<button><!></button>`),Ll=U(`<div aria-hidden="true"><!></div>`),Rl={hash:`svelte-vox7bv`,code:`.orbit.svelte-vox7bv {--scale: calc(0.96 + var(--energy) * 0.08);position:relative;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;overflow:visible;appearance:none;border:0;outline:none;border-radius:9999px;background:transparent;padding:0;box-shadow:none;transform:scale(var(--scale));transition:transform 400ms ease-out,
107
+ filter 400ms ease-out;will-change:transform;}.orbit.sm.svelte-vox7bv {width:2rem;height:2rem;}.orbit.lg.svelte-vox7bv {width:7.5rem;height:7.5rem;}.orbit.svelte-vox7bv:is(button:where(.svelte-vox7bv)):not(:disabled):hover {transform:scale(calc(var(--scale) * 1.08));}.orbit.idle.svelte-vox7bv {--smoke: #c084fc;--smoke-2: #22d3ee;--smoke-3: #818cf8;--core: oklch(0.18 0.04 290);}.orbit.cold.svelte-vox7bv {--smoke: #38bdf8;--smoke-2: #67e8f9;--smoke-3: #60a5fa;--core: oklch(0.17 0.04 240);}.orbit.warm.svelte-vox7bv {--smoke: #fb923c;--smoke-2: #f87171;--smoke-3: #fbbf24;--core: oklch(0.18 0.05 50);}.bloom.svelte-vox7bv {position:absolute;inset:-38%;border-radius:9999px;background:radial-gradient(
108
+ circle,
109
+ color-mix(in oklch, var(--smoke) 55%, transparent) 0%,
110
+ color-mix(in oklch, var(--smoke) 18%, transparent) 42%,
111
+ transparent 72%
112
+ );filter:blur(10px);opacity:calc(0.5 + var(--energy) * 0.28);transform:scale(calc(0.9 + var(--energy) * 0.14));pointer-events:none;transition:opacity 400ms ease-out,
113
+ transform 400ms ease-out;}.lg.svelte-vox7bv .bloom:where(.svelte-vox7bv) {inset:-62%;filter:blur(22px);}.corona.svelte-vox7bv {position:absolute;inset:-8%;border-radius:9999px;box-shadow:0 0 calc(12px + var(--energy) * 10px) color-mix(in oklch, var(--smoke) 70%, transparent),
114
+ 0 0 calc(28px + var(--energy) * 18px) color-mix(in oklch, var(--smoke) 48%, transparent),
115
+ 0 0 calc(48px + var(--energy) * 28px) color-mix(in oklch, var(--smoke-2) 32%, transparent),
116
+ 0 0 calc(72px + var(--energy) * 36px) color-mix(in oklch, var(--smoke) 18%, transparent);pointer-events:none;transition:box-shadow 400ms ease-out;}.sm.svelte-vox7bv .corona:where(.svelte-vox7bv) {box-shadow:0 0 calc(6px + var(--energy) * 4px) color-mix(in oklch, var(--smoke) 65%, transparent),
117
+ 0 0 calc(12px + var(--energy) * 8px) color-mix(in oklch, var(--smoke) 40%, transparent);}.body.svelte-vox7bv {position:relative;z-index:1;width:100%;height:100%;overflow:hidden;border-radius:9999px;background:radial-gradient(
118
+ circle at 32% 26%,
119
+ color-mix(in oklch, var(--smoke) 28%, transparent),
120
+ transparent 42%
121
+ ),
122
+ radial-gradient(
123
+ circle at 50% 80%,
124
+ color-mix(in oklch, var(--smoke) 18%, transparent),
125
+ transparent 55%
126
+ ),
127
+ var(--core);box-shadow:inset 0 -10px 18px oklch(0 0 0 / 0.4);}.flow.svelte-vox7bv {position:absolute;inset:-28%;
128
+ animation: svelte-vox7bv-swirl 7.2s linear infinite;}.wash.svelte-vox7bv {position:absolute;border-radius:60% 40% 55% 45%;filter:blur(10px);mix-blend-mode:plus-lighter;opacity:calc(0.42 + var(--energy) * 0.5);}.lg.svelte-vox7bv .wash:where(.svelte-vox7bv) {filter:blur(18px);}.one.svelte-vox7bv {top:-8%;left:4%;width:78%;height:62%;background:radial-gradient(circle, var(--smoke-2) 0%, transparent 70%);
129
+ animation: svelte-vox7bv-drift 4s ease-in-out infinite alternate;}.two.svelte-vox7bv {right:-12%;bottom:-6%;width:74%;height:68%;background:radial-gradient(circle, var(--smoke) 0%, transparent 72%);border-radius:40% 60% 45% 55%;
130
+ animation: svelte-vox7bv-drift 5s ease-in-out infinite alternate-reverse;}.three.svelte-vox7bv {top:28%;left:22%;width:48%;height:44%;background:radial-gradient(circle, var(--smoke-3) 0%, transparent 68%);opacity:calc(0.28 + var(--energy) * 0.55);
131
+ animation: svelte-vox7bv-pulse 2.8s ease-in-out infinite alternate;}.spec.svelte-vox7bv {position:absolute;top:16%;left:24%;z-index:1;width:26%;height:16%;border-radius:9999px;background:radial-gradient(circle, oklch(1 0 0 / 0.45), transparent 72%);opacity:calc(0.22 + var(--energy) * 0.28);filter:blur(1px);pointer-events:none;}
132
+
133
+ @keyframes svelte-vox7bv-swirl {
134
+ to {
135
+ transform: rotate(1turn);
136
+ }
137
+ }
138
+
139
+ @keyframes svelte-vox7bv-drift {
140
+ from {
141
+ transform: translate(-7%, 5%) scale(0.92);
142
+ }
143
+ to {
144
+ transform: translate(8%, -7%) scale(1.1);
145
+ }
146
+ }
147
+
148
+ @keyframes svelte-vox7bv-pulse {
149
+ from {
150
+ transform: scale(0.84);
151
+ opacity: 0.4;
152
+ }
153
+ to {
154
+ transform: scale(1.14);
155
+ opacity: 0.95;
156
+ }
157
+ }
158
+
159
+ @media (prefers-reduced-motion: reduce) {.orbit.svelte-vox7bv,
160
+ .bloom.svelte-vox7bv,
161
+ .wash.svelte-vox7bv,
162
+ .spec.svelte-vox7bv {transition:none;}.flow.svelte-vox7bv,
163
+ .wash.svelte-vox7bv {
164
+ animation: none;}
165
+ }`};function zl(e,t){Oi(e,Rl);let n=pa(t,`tone`,3,`idle`),r=pa(t,`energy`,3,.16),i=pa(t,`size`,3,`sm`),a=pa(t,`disabled`,3,!1),o=fa(t,Pl),s=j(()=>Math.min(1,Math.max(.06,r())));var c=Kr(),l=dn(c),u=e=>{var r=Il();na(r,()=>({...o,type:`button`,class:[`orbit`,i(),n(),t.class],onclick:t.onclick,disabled:a(),[qi]:{"--energy":V(s)}}),void 0,void 0,void 0,`svelte-vox7bv`),Nl(F(r)),k(r),W(e,r)},d=e=>{var r=Ll();let a;Nl(F(r)),k(r),R(()=>{J(r,1,q([`orbit`,i(),n(),t.class]),`svelte-vox7bv`),a=Ri(r,``,a,{"--energy":V(s)})}),W(e,r)};K(l,e=>{t.onclick?e(u):e(d,-1)}),W(e,c)}var Bl={},Vl=[`en`,`bg`,`cs`,`sk`,`es`,`de`,`et`,`fr`,`pl`,`hu`,`it`,`lt`,`lv`,`nl`,`no`,`pt`,`da`,`sl`,`hr`,`ro`,`sv`,`fi`],Hl=`PARAGLIDE_LOCALE`,Ul=[`globalVariable`,`preferredLanguage`,`baseLocale`],Wl=[],Gl=typeof window>`u`;globalThis.__paraglide=globalThis.__paraglide??{},globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var Kl,ql=!1,$=()=>{let e=Ul;!Gl&&typeof window<`u`&&window.location?.href&&(e=lu(window.location.href));let t=Jl(e,typeof window<`u`?window.location?.href:void 0);if(t)return ql||(Kl=t,ql=!0,Xl(t,{reload:!1})),t;throw Error(`No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found`)};function Jl(e,t){let n;for(let t of e){if(t===`baseLocale`)n=`en`;else if(t===`globalVariable`&&Kl!==void 0)n=Kl;else if(t===`preferredLanguage`&&!Gl)n=ru();else if(du(t)&&uu.has(t)){let e=uu.get(t);if(e){let t=e.getLocale();if(t instanceof Promise)continue;if(t!==void 0)return $l(t)}}let e=Ql(n);if(e)return e}}var Yl=e=>{e?window.location.href=e:window.location.reload()},Xl=(e,t)=>{let n={reload:!0,...t},r;try{r=$()}catch{}let i=[],a=Ul;!Gl&&typeof window<`u`&&window.location?.href&&(a=lu(window.location.href));for(let t of a)if(t===`globalVariable`)Kl=e;else if(t===`baseLocale`)continue;else if(du(t)&&uu.has(t)){let n=uu.get(t);if(n){let r=n.setLocale(e);r instanceof Promise&&(r=r.catch(e=>{throw Error(`Custom strategy "${t}" setLocale failed.`,{cause:e})}),i.push(r))}}let o=()=>{!Gl&&n.reload&&window.location&&e!==r&&Yl(void 0)};if(i.length)return Promise.all(i).then(()=>{o()});o()},Zl=()=>typeof window<`u`?window.location.origin:`http://fallback.com`;function Ql(e){if(typeof e!=`string`)return;let t=e.toLowerCase();for(let e of Vl)if(e.toLowerCase()===t)return e}function $l(e){let t=Ql(e);if(t)return t;throw Error(`Invalid locale: ${e}. Expected one of: ${Vl.join(`, `)}`)}function eu(e){return e}function tu(e,t){return e.exec(t.href)}var nu=Hl.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);RegExp(`(?:^|;\\s*)${nu}=([^;]*)`);function ru(){if(!navigator?.languages?.length)return;let e=navigator.languages.map(e=>({fullTag:e,baseTag:e.split(`-`)[0]}));for(let t of e){let e=Ql(t.fullTag);if(e)return e;let n=Ql(t.baseTag);if(n)return n}}function iu(e){return au(e)}function au(e){let t=eu(typeof e==`string`?new URL(e,Zl()):new URL(e)),n=t.pathname.split(`/`).filter(Boolean);return n.length>0&&Ql(n[0])&&(t.pathname=`/`+n.slice(1).join(`/`)),eu(t)}var ou,su;function cu(e){if(Wl.length===0)return;let t=typeof e==`string`?e:e.href;if(ou===t)return su;let n=eu(new URL(t,`http://example.com`)),r=iu(n),i=r.href===n.href?[n]:[n,r],a;for(let e of i){for(let t of Wl)if(tu(new Bl(t.match,e.href),e)){a=t;break}if(a)break}return ou=t,su=a,a}function lu(e){let t=cu(e);return t&&t.exclude!==!0&&Array.isArray(t.strategy)?t.strategy:Ul}var uu=new Map;function du(e){return typeof e==`string`&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var fu=()=>`Attaching a link…`,pu=()=>`Прикачвам връзка…`,mu=()=>`Přikládám odkaz…`,hu=()=>`Prikladám odkaz…`,gu=()=>`Adjuntando un enlace…`,_u=()=>`Hänge einen Link an…`,vu=()=>`Lisan linki…`,yu=()=>`Ajout d'un lien…`,bu=()=>`Dołączam link…`,xu=()=>`Link csatolása…`,Su=()=>`Allego un link…`,Cu=()=>`Pridedama nuoroda…`,wu=()=>`Pievieno saiti…`,Tu=()=>`Een link bijvoegen…`,Eu=()=>`Legger ved en lenke…`,Du=()=>`A anexar uma ligação…`,Ou=()=>`Vedhæfter et link…`,ku=()=>`Pripemam povezavo…`,Au=()=>`Dodajem poveznicu…`,ju=()=>`Atașez un link…`,Mu=()=>`Bifogar en länk…`,Nu=()=>`Liitän linkkiä…`,Pu=((e={},t={})=>{let n=t.locale??$();return n===`bg`?pu(e):n===`cs`?mu(e):n===`sk`?hu(e):n===`es`?gu(e):n===`de`?_u(e):n===`et`?vu(e):n===`fr`?yu(e):n===`pl`?bu(e):n===`hu`?xu(e):n===`it`?Su(e):n===`lt`?Cu(e):n===`lv`?wu(e):n===`nl`?Tu(e):n===`no`?Eu(e):n===`pt`?Du(e):n===`da`?Ou(e):n===`sl`?ku(e):n===`hr`?Au(e):n===`ro`?ju(e):n===`sv`?Mu(e):n===`fi`?Nu(e):fu(e)}),Fu=()=>`Opening a page…`,Iu=()=>`Отварям страница…`,Lu=()=>`Otevírám stránku…`,Ru=()=>`Otváram stránku…`,zu=()=>`Abriendo una página…`,Bu=()=>`Öffne eine Seite…`,Vu=()=>`Avan lehte…`,Hu=()=>`Ouverture d'une page…`,Uu=()=>`Otwieram stronę…`,Wu=()=>`Oldal megnyitása…`,Gu=()=>`Apro una pagina…`,Ku=()=>`Atidaromas puslapis…`,qu=()=>`Atver lapu…`,Ju=()=>`Een pagina openen…`,Yu=()=>`Åpner en side…`,Xu=()=>`A abrir uma página…`,Zu=()=>`Åbner en side…`,Qu=()=>`Odpiram stran…`,$u=()=>`Otvaram stranicu…`,ed=()=>`Deschid o pagină…`,td=()=>`Öppnar en sida…`,nd=()=>`Avaan sivua…`,rd=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Iu(e):n===`cs`?Lu(e):n===`sk`?Ru(e):n===`es`?zu(e):n===`de`?Bu(e):n===`et`?Vu(e):n===`fr`?Hu(e):n===`pl`?Uu(e):n===`hu`?Wu(e):n===`it`?Gu(e):n===`lt`?Ku(e):n===`lv`?qu(e):n===`nl`?Ju(e):n===`no`?Yu(e):n===`pt`?Xu(e):n===`da`?Zu(e):n===`sl`?Qu(e):n===`hr`?$u(e):n===`ro`?ed(e):n===`sv`?td(e):n===`fi`?nd(e):Fu(e)}),id=()=>`Looking up your data…`,ad=()=>`Търся вашите данни…`,od=()=>`Hledám vaše údaje…`,sd=()=>`Hľadám vaše údaje…`,cd=()=>`Consultando tus datos…`,ld=()=>`Suche Ihre Daten…`,ud=()=>`Otsin teie andmeid…`,dd=()=>`Consultation de vos données…`,fd=()=>`Sprawdzam Twoje dane…`,pd=()=>`Adatok lekérése…`,md=()=>`Sto cercando i tuoi dati…`,hd=()=>`Ieškoma jūsų duomenų…`,gd=()=>`Meklē jūsu datus…`,_d=()=>`Je gegevens opzoeken…`,vd=()=>`Slår opp opplysningene dine…`,yd=()=>`A consultar os seus dados…`,bd=()=>`Slår dine data op…`,xd=()=>`Iščem vaše podatke…`,Sd=()=>`Dohvaćam vaše podatke…`,Cd=()=>`Caut datele dumneavoastră…`,wd=()=>`Hämtar dina uppgifter…`,Td=()=>`Haen tietojasi…`,Ed=((e={},t={})=>{let n=t.locale??$();return n===`bg`?ad(e):n===`cs`?od(e):n===`sk`?sd(e):n===`es`?cd(e):n===`de`?ld(e):n===`et`?ud(e):n===`fr`?dd(e):n===`pl`?fd(e):n===`hu`?pd(e):n===`it`?md(e):n===`lt`?hd(e):n===`lv`?gd(e):n===`nl`?_d(e):n===`no`?vd(e):n===`pt`?yd(e):n===`da`?bd(e):n===`sl`?xd(e):n===`hr`?Sd(e):n===`ro`?Cd(e):n===`sv`?wd(e):n===`fi`?Td(e):id(e)}),Dd=()=>`Reading a page…`,Od=()=>`Чета страница…`,kd=()=>`Čtu stránku…`,Ad=()=>`Čítam stránku…`,jd=()=>`Leyendo una página…`,Md=()=>`Lese eine Seite…`,Nd=()=>`Loen lehte…`,Pd=()=>`Lecture d'une page…`,Fd=()=>`Czytam stronę…`,Id=()=>`Oldal olvasása…`,Ld=()=>`Leggo una pagina…`,Rd=()=>`Skaitomas puslapis…`,zd=()=>`Lasa lapu…`,Bd=()=>`Een pagina lezen…`,Vd=()=>`Leser en side…`,Hd=()=>`A ler uma página…`,Ud=()=>`Læser en side…`,Wd=()=>`Berem stran…`,Gd=()=>`Čitam stranicu…`,Kd=()=>`Citesc o pagină…`,qd=()=>`Läser en sida…`,Jd=()=>`Luen sivua…`,Yd=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Od(e):n===`cs`?kd(e):n===`sk`?Ad(e):n===`es`?jd(e):n===`de`?Md(e):n===`et`?Nd(e):n===`fr`?Pd(e):n===`pl`?Fd(e):n===`hu`?Id(e):n===`it`?Ld(e):n===`lt`?Rd(e):n===`lv`?zd(e):n===`nl`?Bd(e):n===`no`?Vd(e):n===`pt`?Hd(e):n===`da`?Ud(e):n===`sl`?Wd(e):n===`hr`?Gd(e):n===`ro`?Kd(e):n===`sv`?qd(e):n===`fi`?Jd(e):Dd(e)}),Xd=()=>`Searching the website…`,Zd=()=>`Търся в уебсайта…`,Qd=()=>`Prohlížím web…`,$d=()=>`Prehľadávam web…`,ef=()=>`Buscando en el sitio…`,tf=()=>`Durchsuche die Website…`,nf=()=>`Otsin veebisaidilt…`,rf=()=>`Recherche sur le site…`,af=()=>`Przeszukuję stronę…`,of=()=>`Keresés a webhelyen…`,sf=()=>`Sto cercando sul sito…`,cf=()=>`Ieškoma svetainėje…`,lf=()=>`Meklē tīmekļa vietnē…`,uf=()=>`De website doorzoeken…`,df=()=>`Søker på nettstedet…`,ff=()=>`A procurar no site…`,pf=()=>`Søger på webstedet…`,mf=()=>`Iščem po spletišču…`,hf=()=>`Pretražujem web-stranicu…`,gf=()=>`Caut pe site…`,_f=()=>`Söker på webbplatsen…`,vf=()=>`Haen verkkosivustolta…`,yf=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Zd(e):n===`cs`?Qd(e):n===`sk`?$d(e):n===`es`?ef(e):n===`de`?tf(e):n===`et`?nf(e):n===`fr`?rf(e):n===`pl`?af(e):n===`hu`?of(e):n===`it`?sf(e):n===`lt`?cf(e):n===`lv`?lf(e):n===`nl`?uf(e):n===`no`?df(e):n===`pt`?ff(e):n===`da`?pf(e):n===`sl`?mf(e):n===`hr`?hf(e):n===`ro`?gf(e):n===`sv`?_f(e):n===`fi`?vf(e):Xd(e)}),bf=()=>`Looking that up…`,xf=()=>`Проверявам…`,Sf=()=>`Hledám to…`,Cf=()=>`Hľadám to…`,wf=()=>`Buscando eso…`,Tf=()=>`Suche danach…`,Ef=()=>`Otsin teavet…`,Df=()=>`Recherche en cours…`,Of=()=>`Szukam tego…`,kf=()=>`Keresem…`,Af=()=>`Sto cercando…`,jf=()=>`Ieškoma informacijos…`,Mf=()=>`Meklē informāciju…`,Nf=()=>`Even opzoeken…`,Pf=()=>`Undersøker saken…`,Ff=()=>`A procurar isso…`,If=()=>`Slår det op…`,Lf=()=>`To iščem…`,Rf=()=>`Provjeravam…`,zf=()=>`Verific…`,Bf=()=>`Kontrollerar…`,Vf=()=>`Selvitän asiaa…`,Hf=((e={},t={})=>{let n=t.locale??$();return n===`bg`?xf(e):n===`cs`?Sf(e):n===`sk`?Cf(e):n===`es`?wf(e):n===`de`?Tf(e):n===`et`?Ef(e):n===`fr`?Df(e):n===`pl`?Of(e):n===`hu`?kf(e):n===`it`?Af(e):n===`lt`?jf(e):n===`lv`?Mf(e):n===`nl`?Nf(e):n===`no`?Pf(e):n===`pt`?Ff(e):n===`da`?If(e):n===`sl`?Lf(e):n===`hr`?Rf(e):n===`ro`?zf(e):n===`sv`?Bf(e):n===`fi`?Vf(e):bf(e)}),Uf=()=>`Attach a file`,Wf=()=>`Прикачване на файл`,Gf=()=>`Přiložit soubor`,Kf=()=>`Priložiť súbor`,qf=()=>`Adjuntar un archivo`,Jf=()=>`Datei anhängen`,Yf=()=>`Lisa fail`,Xf=()=>`Joindre un fichier`,Zf=()=>`Załącz plik`,Qf=()=>`Fájl csatolása`,$f=()=>`Allega un file`,ep=()=>`Pridėti failą`,tp=()=>`Pievienot failu`,np=()=>`Bestand bijvoegen`,rp=()=>`Legg ved en fil`,ip=()=>`Anexar um ficheiro`,ap=()=>`Vedhæft en fil`,op=()=>`Priloži datoteko`,sp=()=>`Priloži datoteku`,cp=()=>`Atașează un fișier`,lp=()=>`Bifoga en fil`,up=()=>`Liitä tiedosto`,dp=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Wf(e):n===`cs`?Gf(e):n===`sk`?Kf(e):n===`es`?qf(e):n===`de`?Jf(e):n===`et`?Yf(e):n===`fr`?Xf(e):n===`pl`?Zf(e):n===`hu`?Qf(e):n===`it`?$f(e):n===`lt`?ep(e):n===`lv`?tp(e):n===`nl`?np(e):n===`no`?rp(e):n===`pt`?ip(e):n===`da`?ap(e):n===`sl`?op(e):n===`hr`?sp(e):n===`ro`?cp(e):n===`sv`?lp(e):n===`fi`?up(e):Uf(e)}),fp=()=>`Back to overview`,pp=()=>`Назад към прегледа`,mp=()=>`Zpět na přehled`,hp=()=>`Späť na prehľad`,gp=()=>`Volver al resumen`,_p=()=>`Zurück zur Übersicht`,vp=()=>`Tagasi ülevaatesse`,yp=()=>`Retour à l’aperçu`,bp=()=>`Wróć do przeglądu`,xp=()=>`Vissza az áttekintéshez`,Sp=()=>`Torna alla panoramica`,Cp=()=>`Grįžti į apžvalgą`,wp=()=>`Atgriezties pārskatā`,Tp=()=>`Terug naar het overzicht`,Ep=()=>`Tilbake til oversikten`,Dp=()=>`Voltar ao resumo`,Op=()=>`Tilbage til oversigten`,kp=()=>`Nazaj na pregled`,Ap=()=>`Natrag na pregled`,jp=()=>`Înapoi la prezentare`,Mp=()=>`Tillbaka till översikten`,Np=()=>`Takaisin yhteenvetoon`,Pp=((e={},t={})=>{let n=t.locale??$();return n===`bg`?pp(e):n===`cs`?mp(e):n===`sk`?hp(e):n===`es`?gp(e):n===`de`?_p(e):n===`et`?vp(e):n===`fr`?yp(e):n===`pl`?bp(e):n===`hu`?xp(e):n===`it`?Sp(e):n===`lt`?Cp(e):n===`lv`?wp(e):n===`nl`?Tp(e):n===`no`?Ep(e):n===`pt`?Dp(e):n===`da`?Op(e):n===`sl`?kp(e):n===`hr`?Ap(e):n===`ro`?jp(e):n===`sv`?Mp(e):n===`fi`?Np(e):fp(e)}),Fp=()=>`from cusuai.com`,Ip=()=>`от cusuai.com`,Lp=()=>`od cusuai.com`,Rp=()=>`od cusuai.com`,zp=()=>`de cusuai.com`,Bp=()=>`von cusuai.com`,Vp=()=>`teenust pakub cusuai.com`,Hp=()=>`par cusuai.com`,Up=()=>`od cusuai.com`,Wp=()=>`a cusuai.com-tól`,Gp=()=>`di cusuai.com`,Kp=()=>`teikia cusuai.com`,qp=()=>`nodrošina cusuai.com`,Jp=()=>`van cusuai.com`,Yp=()=>`fra cusuai.com`,Xp=()=>`da cusuai.com`,Zp=()=>`fra cusuai.com`,Qp=()=>`od cusuai.com`,$p=()=>`od cusuai.com`,em=()=>`de la cusuai.com`,tm=()=>`från cusuai.com`,nm=()=>`palvelun tarjoaa cusuai.com`,rm=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Ip(e):n===`cs`?Lp(e):n===`sk`?Rp(e):n===`es`?zp(e):n===`de`?Bp(e):n===`et`?Vp(e):n===`fr`?Hp(e):n===`pl`?Up(e):n===`hu`?Wp(e):n===`it`?Gp(e):n===`lt`?Kp(e):n===`lv`?qp(e):n===`nl`?Jp(e):n===`no`?Yp(e):n===`pt`?Xp(e):n===`da`?Zp(e):n===`sl`?Qp(e):n===`hr`?$p(e):n===`ro`?em(e):n===`sv`?tm(e):n===`fi`?nm(e):Fp(e)}),im=()=>`Call`,am=()=>`Обаждане`,om=()=>`Hovor`,sm=()=>`Hovor`,cm=()=>`Llamar`,lm=()=>`Anrufen`,um=()=>`Helista`,dm=()=>`Appeler`,fm=()=>`Zadzwoń`,pm=()=>`Hívás`,mm=()=>`Chiama`,hm=()=>`Skambinti`,gm=()=>`Zvanīt`,_m=()=>`Bellen`,vm=()=>`Ring`,ym=()=>`Ligar`,bm=()=>`Ring`,xm=()=>`Pokliči`,Sm=()=>`Nazovi`,Cm=()=>`Apelează`,wm=()=>`Ring`,Tm=()=>`Soita`,Em=((e={},t={})=>{let n=t.locale??$();return n===`bg`?am(e):n===`cs`?om(e):n===`sk`?sm(e):n===`es`?cm(e):n===`de`?lm(e):n===`et`?um(e):n===`fr`?dm(e):n===`pl`?fm(e):n===`hu`?pm(e):n===`it`?mm(e):n===`lt`?hm(e):n===`lv`?gm(e):n===`nl`?_m(e):n===`no`?vm(e):n===`pt`?ym(e):n===`da`?bm(e):n===`sl`?xm(e):n===`hr`?Sm(e):n===`ro`?Cm(e):n===`sv`?wm(e):n===`fi`?Tm(e):im(e)}),Dm=()=>`Cancel recording`,Om=()=>`Отмяна на записа`,km=()=>`Zrušit nahrávání`,Am=()=>`Zrušiť nahrávanie`,jm=()=>`Cancelar grabación`,Mm=()=>`Aufnahme abbrechen`,Nm=()=>`Tühista salvestamine`,Pm=()=>`Annuler l’enregistrement`,Fm=()=>`Anuluj nagrywanie`,Im=()=>`Felvétel megszakítása`,Lm=()=>`Annulla registrazione`,Rm=()=>`Atšaukti įrašymą`,zm=()=>`Atcelt ierakstīšanu`,Bm=()=>`Opname annuleren`,Vm=()=>`Avbryt opptaket`,Hm=()=>`Cancelar gravação`,Um=()=>`Annuller optagelse`,Wm=()=>`Prekliči snemanje`,Gm=()=>`Otkaži snimanje`,Km=()=>`Anulează înregistrarea`,qm=()=>`Avbryt inspelning`,Jm=()=>`Peruuta tallennus`,Ym=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Om(e):n===`cs`?km(e):n===`sk`?Am(e):n===`es`?jm(e):n===`de`?Mm(e):n===`et`?Nm(e):n===`fr`?Pm(e):n===`pl`?Fm(e):n===`hu`?Im(e):n===`it`?Lm(e):n===`lt`?Rm(e):n===`lv`?zm(e):n===`nl`?Bm(e):n===`no`?Vm(e):n===`pt`?Hm(e):n===`da`?Um(e):n===`sl`?Wm(e):n===`hr`?Gm(e):n===`ro`?Km(e):n===`sv`?qm(e):n===`fi`?Jm(e):Dm(e)}),Xm=()=>`Close`,Zm=()=>`Затваряне`,Qm=()=>`Zavřít`,$m=()=>`Zavrieť`,eh=()=>`Cerrar`,th=()=>`Schließen`,nh=()=>`Sulge`,rh=()=>`Fermer`,ih=()=>`Zamknij`,ah=()=>`Bezárás`,oh=()=>`Chiudi`,sh=()=>`Uždaryti`,ch=()=>`Aizvērt`,lh=()=>`Sluiten`,uh=()=>`Lukk`,dh=()=>`Fechar`,fh=()=>`Luk`,ph=()=>`Zapri`,mh=()=>`Zatvori`,hh=()=>`Închide`,gh=()=>`Stäng`,_h=()=>`Sulje`,vh=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Zm(e):n===`cs`?Qm(e):n===`sk`?$m(e):n===`es`?eh(e):n===`de`?th(e):n===`et`?nh(e):n===`fr`?rh(e):n===`pl`?ih(e):n===`hu`?ah(e):n===`it`?oh(e):n===`lt`?sh(e):n===`lv`?ch(e):n===`nl`?lh(e):n===`no`?uh(e):n===`pt`?dh(e):n===`da`?fh(e):n===`sl`?ph(e):n===`hr`?mh(e):n===`ro`?hh(e):n===`sv`?gh(e):n===`fi`?_h(e):Xm(e)}),yh=()=>`Dictate`,bh=()=>`Диктуване`,xh=()=>`Diktovat`,Sh=()=>`Diktovať`,Ch=()=>`Dictar`,wh=()=>`Diktieren`,Th=()=>`Dikteeri`,Eh=()=>`Dicter`,Dh=()=>`Dyktuj`,Oh=()=>`Diktálás`,kh=()=>`Detta`,Ah=()=>`Diktuoti`,jh=()=>`Diktēt`,Mh=()=>`Dicteren`,Nh=()=>`Dikter`,Ph=()=>`Ditar`,Fh=()=>`Dikter`,Ih=()=>`Narekuj`,Lh=()=>`Diktiraj`,Rh=()=>`Dictează`,zh=()=>`Diktera`,Bh=()=>`Sanele`,Vh=((e={},t={})=>{let n=t.locale??$();return n===`bg`?bh(e):n===`cs`?xh(e):n===`sk`?Sh(e):n===`es`?Ch(e):n===`de`?wh(e):n===`et`?Th(e):n===`fr`?Eh(e):n===`pl`?Dh(e):n===`hu`?Oh(e):n===`it`?kh(e):n===`lt`?Ah(e):n===`lv`?jh(e):n===`nl`?Mh(e):n===`no`?Nh(e):n===`pt`?Ph(e):n===`da`?Fh(e):n===`sl`?Ih(e):n===`hr`?Lh(e):n===`ro`?Rh(e):n===`sv`?zh(e):n===`fi`?Bh(e):yh(e)}),Hh=()=>`Download file`,Uh=()=>`Изтегляне на файла`,Wh=()=>`Stáhnout soubor`,Gh=()=>`Stiahnuť súbor`,Kh=()=>`Descargar archivo`,qh=()=>`Datei herunterladen`,Jh=()=>`Laadi fail alla`,Yh=()=>`Télécharger le fichier`,Xh=()=>`Pobierz plik`,Zh=()=>`Fájl letöltése`,Qh=()=>`Scarica file`,$h=()=>`Atsisiųsti failą`,eg=()=>`Lejupielādēt failu`,tg=()=>`Bestand downloaden`,ng=()=>`Last ned filen`,rg=()=>`Transferir ficheiro`,ig=()=>`Download fil`,ag=()=>`Prenesi datoteko`,og=()=>`Preuzmi datoteku`,sg=()=>`Descarcă fișierul`,cg=()=>`Ladda ner fil`,lg=()=>`Lataa tiedosto`,ug=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Uh(e):n===`cs`?Wh(e):n===`sk`?Gh(e):n===`es`?Kh(e):n===`de`?qh(e):n===`et`?Jh(e):n===`fr`?Yh(e):n===`pl`?Xh(e):n===`hu`?Zh(e):n===`it`?Qh(e):n===`lt`?$h(e):n===`lv`?eg(e):n===`nl`?tg(e):n===`no`?ng(e):n===`pt`?rg(e):n===`da`?ig(e):n===`sl`?ag(e):n===`hr`?og(e):n===`ro`?sg(e):n===`sv`?cg(e):n===`fi`?lg(e):Hh(e)}),dg=()=>`Next image`,fg=()=>`Следващо изображение`,pg=()=>`Další obrázek`,mg=()=>`Nasledujúci obrázok`,hg=()=>`Imagen siguiente`,gg=()=>`Nächstes Bild`,_g=()=>`Järgmine pilt`,vg=()=>`Image suivante`,yg=()=>`Następny obraz`,bg=()=>`Következő kép`,xg=()=>`Immagine successiva`,Sg=()=>`Kitas vaizdas`,Cg=()=>`Nākamais attēls`,wg=()=>`Volgende afbeelding`,Tg=()=>`Neste bilde`,Eg=()=>`Imagem seguinte`,Dg=()=>`Næste billede`,Og=()=>`Naslednja slika`,kg=()=>`Sljedeća slika`,Ag=()=>`Imaginea următoare`,jg=()=>`Nästa bild`,Mg=()=>`Seuraava kuva`,Ng=((e={},t={})=>{let n=t.locale??$();return n===`bg`?fg(e):n===`cs`?pg(e):n===`sk`?mg(e):n===`es`?hg(e):n===`de`?gg(e):n===`et`?_g(e):n===`fr`?vg(e):n===`pl`?yg(e):n===`hu`?bg(e):n===`it`?xg(e):n===`lt`?Sg(e):n===`lv`?Cg(e):n===`nl`?wg(e):n===`no`?Tg(e):n===`pt`?Eg(e):n===`da`?Dg(e):n===`sl`?Og(e):n===`hr`?kg(e):n===`ro`?Ag(e):n===`sv`?jg(e):n===`fi`?Mg(e):dg(e)}),Pg=()=>`Previous image`,Fg=()=>`Предишно изображение`,Ig=()=>`Předchozí obrázek`,Lg=()=>`Predchádzajúci obrázok`,Rg=()=>`Imagen anterior`,zg=()=>`Vorheriges Bild`,Bg=()=>`Eelmine pilt`,Vg=()=>`Image précédente`,Hg=()=>`Poprzedni obraz`,Ug=()=>`Előző kép`,Wg=()=>`Immagine precedente`,Gg=()=>`Ankstesnis vaizdas`,Kg=()=>`Iepriekšējais attēls`,qg=()=>`Vorige afbeelding`,Jg=()=>`Forrige bilde`,Yg=()=>`Imagem anterior`,Xg=()=>`Forrige billede`,Zg=()=>`Prejšnja slika`,Qg=()=>`Prethodna slika`,$g=()=>`Imaginea anterioară`,e_=()=>`Föregående bild`,t_=()=>`Edellinen kuva`,n_=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Fg(e):n===`cs`?Ig(e):n===`sk`?Lg(e):n===`es`?Rg(e):n===`de`?zg(e):n===`et`?Bg(e):n===`fr`?Vg(e):n===`pl`?Hg(e):n===`hu`?Ug(e):n===`it`?Wg(e):n===`lt`?Gg(e):n===`lv`?Kg(e):n===`nl`?qg(e):n===`no`?Jg(e):n===`pt`?Yg(e):n===`da`?Xg(e):n===`sl`?Zg(e):n===`hr`?Qg(e):n===`ro`?$g(e):n===`sv`?e_(e):n===`fi`?t_(e):Pg(e)}),r_=()=>`Hang up`,i_=()=>`Край на разговора`,a_=()=>`Zavěsit`,o_=()=>`Zložiť`,s_=()=>`Colgar`,c_=()=>`Auflegen`,l_=()=>`Lõpeta kõne`,u_=()=>`Raccrocher`,d_=()=>`Rozłącz się`,f_=()=>`Hívás befejezése`,p_=()=>`Termina chiamata`,m_=()=>`Baigti skambutį`,h_=()=>`Beigt zvanu`,g_=()=>`Ophangen`,__=()=>`Avslutt samtalen`,v_=()=>`Desligar`,y_=()=>`Læg på`,b_=()=>`Končaj klic`,x_=()=>`Prekini poziv`,S_=()=>`Încheie apelul`,C_=()=>`Lägg på`,w_=()=>`Lopeta puhelu`,T_=((e={},t={})=>{let n=t.locale??$();return n===`bg`?i_(e):n===`cs`?a_(e):n===`sk`?o_(e):n===`es`?s_(e):n===`de`?c_(e):n===`et`?l_(e):n===`fr`?u_(e):n===`pl`?d_(e):n===`hu`?f_(e):n===`it`?p_(e):n===`lt`?m_(e):n===`lv`?h_(e):n===`nl`?g_(e):n===`no`?__(e):n===`pt`?v_(e):n===`da`?y_(e):n===`sl`?b_(e):n===`hr`?x_(e):n===`ro`?S_(e):n===`sv`?C_(e):n===`fi`?w_(e):r_(e)}),E_=()=>`Hide chat`,D_=()=>`Скриване на чата`,O_=()=>`Skrýt chat`,k_=()=>`Skryť chat`,A_=()=>`Ocultar chat`,j_=()=>`Chat ausblenden`,M_=()=>`Peida vestlus`,N_=()=>`Masquer le chat`,P_=()=>`Ukryj czat`,F_=()=>`Csevegés elrejtése`,I_=()=>`Nascondi chat`,L_=()=>`Slėpti pokalbį`,R_=()=>`Paslēpt tērzēšanu`,z_=()=>`Chat verbergen`,B_=()=>`Skjul chatten`,V_=()=>`Ocultar chat`,H_=()=>`Skjul chat`,U_=()=>`Skrij klepet`,W_=()=>`Sakrij chat`,G_=()=>`Ascunde chatul`,K_=()=>`Dölj chatten`,q_=()=>`Piilota keskustelu`,J_=((e={},t={})=>{let n=t.locale??$();return n===`bg`?D_(e):n===`cs`?O_(e):n===`sk`?k_(e):n===`es`?A_(e):n===`de`?j_(e):n===`et`?M_(e):n===`fr`?N_(e):n===`pl`?P_(e):n===`hu`?F_(e):n===`it`?I_(e):n===`lt`?L_(e):n===`lv`?R_(e):n===`nl`?z_(e):n===`no`?B_(e):n===`pt`?V_(e):n===`da`?H_(e):n===`sl`?U_(e):n===`hr`?W_(e):n===`ro`?G_(e):n===`sv`?K_(e):n===`fi`?q_(e):E_(e)}),Y_=()=>`Message`,X_=()=>`Съобщение`,Z_=()=>`Zpráva`,Q_=()=>`Správa`,$_=()=>`Mensaje`,ev=()=>`Nachricht`,tv=()=>`Sõnum`,nv=()=>`Message`,rv=()=>`Wiadomość`,iv=()=>`Üzenet`,av=()=>`Messaggio`,ov=()=>`Žinutė`,sv=()=>`Ziņa`,cv=()=>`Bericht`,lv=()=>`Melding`,uv=()=>`Mensagem`,dv=()=>`Besked`,fv=()=>`Sporočilo`,pv=()=>`Poruka`,mv=()=>`Mesaj`,hv=()=>`Meddelande`,gv=()=>`Viesti`,_v=((e={},t={})=>{let n=t.locale??$();return n===`bg`?X_(e):n===`cs`?Z_(e):n===`sk`?Q_(e):n===`es`?$_(e):n===`de`?ev(e):n===`et`?tv(e):n===`fr`?nv(e):n===`pl`?rv(e):n===`hu`?iv(e):n===`it`?av(e):n===`lt`?ov(e):n===`lv`?sv(e):n===`nl`?cv(e):n===`no`?lv(e):n===`pt`?uv(e):n===`da`?dv(e):n===`sl`?fv(e):n===`hr`?pv(e):n===`ro`?mv(e):n===`sv`?hv(e):n===`fi`?gv(e):Y_(e)}),vv=()=>`New conversation`,yv=()=>`Нов разговор`,bv=()=>`Nová konverzace`,xv=()=>`Nová konverzácia`,Sv=()=>`Nueva conversación`,Cv=()=>`Neue Unterhaltung`,wv=()=>`Uus vestlus`,Tv=()=>`Nouvelle conversation`,Ev=()=>`Nowa rozmowa`,Dv=()=>`Új beszélgetés`,Ov=()=>`Nuova conversazione`,kv=()=>`Naujas pokalbis`,Av=()=>`Jauna saruna`,jv=()=>`Nieuw gesprek`,Mv=()=>`Ny samtale`,Nv=()=>`Nova conversa`,Pv=()=>`Ny samtale`,Fv=()=>`Nov pogovor`,Iv=()=>`Novi razgovor`,Lv=()=>`Conversație nouă`,Rv=()=>`Ny konversation`,zv=()=>`Uusi keskustelu`,Bv=((e={},t={})=>{let n=t.locale??$();return n===`bg`?yv(e):n===`cs`?bv(e):n===`sk`?xv(e):n===`es`?Sv(e):n===`de`?Cv(e):n===`et`?wv(e):n===`fr`?Tv(e):n===`pl`?Ev(e):n===`hu`?Dv(e):n===`it`?Ov(e):n===`lt`?kv(e):n===`lv`?Av(e):n===`nl`?jv(e):n===`no`?Mv(e):n===`pt`?Nv(e):n===`da`?Pv(e):n===`sl`?Fv(e):n===`hr`?Iv(e):n===`ro`?Lv(e):n===`sv`?Rv(e):n===`fi`?zv(e):vv(e)}),Vv=()=>`Open chat`,Hv=()=>`Отваряне на чата`,Uv=()=>`Otevřít chat`,Wv=()=>`Otvoriť chat`,Gv=()=>`Abrir chat`,Kv=()=>`Chat öffnen`,qv=()=>`Ava vestlus`,Jv=()=>`Ouvrir le chat`,Yv=()=>`Otwórz czat`,Xv=()=>`Csevegés megnyitása`,Zv=()=>`Apri chat`,Qv=()=>`Atidaryti pokalbį`,$v=()=>`Atvērt tērzēšanu`,ey=()=>`Chat openen`,ty=()=>`Åpne chatten`,ny=()=>`Abrir chat`,ry=()=>`Åbn chat`,iy=()=>`Odpri klepet`,ay=()=>`Otvori chat`,oy=()=>`Deschide chatul`,sy=()=>`Öppna chatten`,cy=()=>`Avaa keskustelu`,ly=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Hv(e):n===`cs`?Uv(e):n===`sk`?Wv(e):n===`es`?Gv(e):n===`de`?Kv(e):n===`et`?qv(e):n===`fr`?Jv(e):n===`pl`?Yv(e):n===`hu`?Xv(e):n===`it`?Zv(e):n===`lt`?Qv(e):n===`lv`?$v(e):n===`nl`?ey(e):n===`no`?ty(e):n===`pt`?ny(e):n===`da`?ry(e):n===`sl`?iy(e):n===`hr`?ay(e):n===`ro`?oy(e):n===`sv`?sy(e):n===`fi`?cy(e):Vv(e)}),uy=()=>`View image`,dy=()=>`Преглед на изображението`,fy=()=>`Zobrazit obrázek`,py=()=>`Zobraziť obrázok`,my=()=>`Ver imagen`,hy=()=>`Bild ansehen`,gy=()=>`Vaata pilti`,_y=()=>`Afficher l’image`,vy=()=>`Wyświetl obraz`,yy=()=>`Kép megtekintése`,by=()=>`Visualizza immagine`,xy=()=>`Peržiūrėti vaizdą`,Sy=()=>`Skatīt attēlu`,Cy=()=>`Afbeelding bekijken`,wy=()=>`Vis bildet`,Ty=()=>`Ver imagem`,Ey=()=>`Vis billede`,Dy=()=>`Prikaži sliko`,Oy=()=>`Prikaži sliku`,ky=()=>`Afișează imaginea`,Ay=()=>`Visa bild`,jy=()=>`Näytä kuva`,My=((e={},t={})=>{let n=t.locale??$();return n===`bg`?dy(e):n===`cs`?fy(e):n===`sk`?py(e):n===`es`?my(e):n===`de`?hy(e):n===`et`?gy(e):n===`fr`?_y(e):n===`pl`?vy(e):n===`hu`?yy(e):n===`it`?by(e):n===`lt`?xy(e):n===`lv`?Sy(e):n===`nl`?Cy(e):n===`no`?wy(e):n===`pt`?Ty(e):n===`da`?Ey(e):n===`sl`?Dy(e):n===`hr`?Oy(e):n===`ro`?ky(e):n===`sv`?Ay(e):n===`fi`?jy(e):uy(e)}),Ny=()=>`Open link`,Py=()=>`Отваряне на връзката`,Fy=()=>`Otevřít odkaz`,Iy=()=>`Otvoriť odkaz`,Ly=()=>`Abrir enlace`,Ry=()=>`Link öffnen`,zy=()=>`Ava link`,By=()=>`Ouvrir le lien`,Vy=()=>`Otwórz link`,Hy=()=>`Hivatkozás megnyitása`,Uy=()=>`Apri link`,Wy=()=>`Atidaryti nuorodą`,Gy=()=>`Atvērt saiti`,Ky=()=>`Link openen`,qy=()=>`Åpne lenken`,Jy=()=>`Abrir ligação`,Yy=()=>`Åbn link`,Xy=()=>`Odpri povezavo`,Zy=()=>`Otvori poveznicu`,Qy=()=>`Deschide linkul`,$y=()=>`Öppna länk`,eb=()=>`Avaa linkki`,tb=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Py(e):n===`cs`?Fy(e):n===`sk`?Iy(e):n===`es`?Ly(e):n===`de`?Ry(e):n===`et`?zy(e):n===`fr`?By(e):n===`pl`?Vy(e):n===`hu`?Hy(e):n===`it`?Uy(e):n===`lt`?Wy(e):n===`lv`?Gy(e):n===`nl`?Ky(e):n===`no`?qy(e):n===`pt`?Jy(e):n===`da`?Yy(e):n===`sl`?Xy(e):n===`hr`?Zy(e):n===`ro`?Qy(e):n===`sv`?$y(e):n===`fi`?eb(e):Ny(e)}),nb=()=>`Thumbs down`,rb=()=>`Не ми харесва`,ib=()=>`Palec dolů`,ab=()=>`Palec dole`,ob=()=>`Pulgar abajo`,sb=()=>`Daumen runter`,cb=()=>`Ei meeldi`,lb=()=>`Pouce vers le bas`,ub=()=>`Kciuk w dół`,db=()=>`Lefelé mutató hüvelykujj`,fb=()=>`Pollice in giù`,pb=()=>`Nepatinka`,mb=()=>`Nepatīk`,hb=()=>`Duim omlaag`,gb=()=>`Tommel ned`,_b=()=>`Polegar para baixo`,vb=()=>`Tommelfinger ned`,yb=()=>`Palec dol`,bb=()=>`Palac dolje`,xb=()=>`Degetul mare în jos`,Sb=()=>`Tummen ner`,Cb=()=>`Peukku alas`,wb=((e={},t={})=>{let n=t.locale??$();return n===`bg`?rb(e):n===`cs`?ib(e):n===`sk`?ab(e):n===`es`?ob(e):n===`de`?sb(e):n===`et`?cb(e):n===`fr`?lb(e):n===`pl`?ub(e):n===`hu`?db(e):n===`it`?fb(e):n===`lt`?pb(e):n===`lv`?mb(e):n===`nl`?hb(e):n===`no`?gb(e):n===`pt`?_b(e):n===`da`?vb(e):n===`sl`?yb(e):n===`hr`?bb(e):n===`ro`?xb(e):n===`sv`?Sb(e):n===`fi`?Cb(e):nb(e)}),Tb=()=>`Happy`,Eb=()=>`Доволен`,Db=()=>`Spokojený`,Ob=()=>`Spokojný`,kb=()=>`Contento`,Ab=()=>`Zufrieden`,jb=()=>`Rahul`,Mb=()=>`Satisfait`,Nb=()=>`Zadowolony`,Pb=()=>`Elégedett`,Fb=()=>`Soddisfatto`,Ib=()=>`Patenkintas`,Lb=()=>`Apmierināts`,Rb=()=>`Tevreden`,zb=()=>`Fornøyd`,Bb=()=>`Satisfeito`,Vb=()=>`Tilfreds`,Hb=()=>`Zadovoljni`,Ub=()=>`Zadovoljni`,Wb=()=>`Mulțumit`,Gb=()=>`Nöjd`,Kb=()=>`Tyytyväinen`,qb=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Eb(e):n===`cs`?Db(e):n===`sk`?Ob(e):n===`es`?kb(e):n===`de`?Ab(e):n===`et`?jb(e):n===`fr`?Mb(e):n===`pl`?Nb(e):n===`hu`?Pb(e):n===`it`?Fb(e):n===`lt`?Ib(e):n===`lv`?Lb(e):n===`nl`?Rb(e):n===`no`?zb(e):n===`pt`?Bb(e):n===`da`?Vb(e):n===`sl`?Hb(e):n===`hr`?Ub(e):n===`ro`?Wb(e):n===`sv`?Gb(e):n===`fi`?Kb(e):Tb(e)}),Jb=()=>`Okay`,Yb=()=>`Добре`,Xb=()=>`Neutrální`,Zb=()=>`Neutrálny`,Qb=()=>`Aceptable`,$b=()=>`In Ordnung`,ex=()=>`Rahuldav`,tx=()=>`Correct`,nx=()=>`W porządku`,rx=()=>`Megfelelő`,ix=()=>`Nella media`,ax=()=>`Patenkinamai`,ox=()=>`Apmierinoši`,sx=()=>`Oké`,cx=()=>`Greit`,lx=()=>`Razoável`,ux=()=>`Okay`,dx=()=>`V redu`,fx=()=>`U redu`,px=()=>`Acceptabil`,mx=()=>`Okej`,hx=()=>`Kohtalainen`,gx=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Yb(e):n===`cs`?Xb(e):n===`sk`?Zb(e):n===`es`?Qb(e):n===`de`?$b(e):n===`et`?ex(e):n===`fr`?tx(e):n===`pl`?nx(e):n===`hu`?rx(e):n===`it`?ix(e):n===`lt`?ax(e):n===`lv`?ox(e):n===`nl`?sx(e):n===`no`?cx(e):n===`pt`?lx(e):n===`da`?ux(e):n===`sl`?dx(e):n===`hr`?fx(e):n===`ro`?px(e):n===`sv`?mx(e):n===`fi`?hx(e):Jb(e)}),_x=()=>`Unhappy`,vx=()=>`Недоволен`,yx=()=>`Nespokojený`,bx=()=>`Nespokojný`,xx=()=>`Descontento`,Sx=()=>`Unzufrieden`,Cx=()=>`Rahulolematu`,wx=()=>`Mécontent`,Tx=()=>`Niezadowolony`,Ex=()=>`Elégedetlen`,Dx=()=>`Insoddisfatto`,Ox=()=>`Nepatenkintas`,kx=()=>`Neapmierināts`,Ax=()=>`Ontevreden`,jx=()=>`Misfornøyd`,Mx=()=>`Insatisfeito`,Nx=()=>`Utilfreds`,Px=()=>`Nezadovoljni`,Fx=()=>`Nezadovoljni`,Ix=()=>`Nemulțumit`,Lx=()=>`Missnöjd`,Rx=()=>`Tyytymätön`,zx=((e={},t={})=>{let n=t.locale??$();return n===`bg`?vx(e):n===`cs`?yx(e):n===`sk`?bx(e):n===`es`?xx(e):n===`de`?Sx(e):n===`et`?Cx(e):n===`fr`?wx(e):n===`pl`?Tx(e):n===`hu`?Ex(e):n===`it`?Dx(e):n===`lt`?Ox(e):n===`lv`?kx(e):n===`nl`?Ax(e):n===`no`?jx(e):n===`pt`?Mx(e):n===`da`?Nx(e):n===`sl`?Px(e):n===`hr`?Fx(e):n===`ro`?Ix(e):n===`sv`?Lx(e):n===`fi`?Rx(e):_x(e)}),Bx=e=>`Rate ${e?.star} out of 5`,Vx=e=>`Оценете с ${e?.star} от 5`,Hx=e=>`Ohodnotit ${e?.star} z 5`,Ux=e=>`Ohodnotiť ${e?.star} z 5`,Wx=e=>`Valorar con ${e?.star} de 5 estrellas`,Gx=e=>`Mit ${e?.star} von 5 Sternen bewerten`,Kx=e=>`Hinda ${e?.star} punkti 5-st`,qx=e=>`Évaluer à ${e?.star} étoiles sur 5`,Jx=e=>`Oceń na ${e?.star} z 5 gwiazdek`,Yx=e=>`Értékelés: ${e?.star} az 5 csillagból`,Xx=e=>`Valuta con ${e?.star} stelle su 5`,Zx=e=>`Įvertinti ${e?.star} iš 5`,Qx=e=>`Novērtēt ar ${e?.star} no 5`,$x=e=>`Beoordeel met ${e?.star} van 5 sterren`,eS=e=>`Gi ${e?.star} av 5 stjerner`,tS=e=>`Avaliar com ${e?.star} de 5 estrelas`,nS=e=>`Bedøm med ${e?.star} ud af 5 stjerner`,rS=e=>`Ocenite z ${e?.star} od 5 zvezdic`,iS=e=>`Ocijenite s ${e?.star} od 5 zvjezdica`,aS=e=>`Evaluați cu ${e?.star} din 5 stele`,oS=e=>`Betygsätt med ${e?.star} av 5 stjärnor`,sS=e=>`Anna arvosanaksi ${e?.star}/5`,cS=((e,t={})=>{let n=t.locale??$();return n===`bg`?Vx(e):n===`cs`?Hx(e):n===`sk`?Ux(e):n===`es`?Wx(e):n===`de`?Gx(e):n===`et`?Kx(e):n===`fr`?qx(e):n===`pl`?Jx(e):n===`hu`?Yx(e):n===`it`?Xx(e):n===`lt`?Zx(e):n===`lv`?Qx(e):n===`nl`?$x(e):n===`no`?eS(e):n===`pt`?tS(e):n===`da`?nS(e):n===`sl`?rS(e):n===`hr`?iS(e):n===`ro`?aS(e):n===`sv`?oS(e):n===`fi`?sS(e):Bx(e)}),lS=()=>`Thumbs up`,uS=()=>`Харесва ми`,dS=()=>`Palec nahoru`,fS=()=>`Palec hore`,pS=()=>`Pulgar arriba`,mS=()=>`Daumen hoch`,hS=()=>`Meeldib`,gS=()=>`Pouce vers le haut`,_S=()=>`Kciuk w górę`,vS=()=>`Felfelé mutató hüvelykujj`,yS=()=>`Pollice in su`,bS=()=>`Patinka`,xS=()=>`Patīk`,SS=()=>`Duim omhoog`,CS=()=>`Tommel opp`,wS=()=>`Polegar para cima`,TS=()=>`Tommelfinger op`,ES=()=>`Palec gor`,DS=()=>`Palac gore`,OS=()=>`Degetul mare în sus`,kS=()=>`Tummen upp`,AS=()=>`Peukku ylös`,jS=((e={},t={})=>{let n=t.locale??$();return n===`bg`?uS(e):n===`cs`?dS(e):n===`sk`?fS(e):n===`es`?pS(e):n===`de`?mS(e):n===`et`?hS(e):n===`fr`?gS(e):n===`pl`?_S(e):n===`hu`?vS(e):n===`it`?yS(e):n===`lt`?bS(e):n===`lv`?xS(e):n===`nl`?SS(e):n===`no`?CS(e):n===`pt`?wS(e):n===`da`?TS(e):n===`sl`?ES(e):n===`hr`?DS(e):n===`ro`?OS(e):n===`sv`?kS(e):n===`fi`?AS(e):lS(e)}),MS=()=>`Recording`,NS=()=>`Записване`,PS=()=>`Nahrávám`,FS=()=>`Nahrávam`,IS=()=>`Grabando`,LS=()=>`Aufnahme läuft`,RS=()=>`Salvestamine`,zS=()=>`Enregistrement en cours`,BS=()=>`Nagrywanie`,VS=()=>`Felvétel folyamatban`,HS=()=>`Registrazione in corso`,US=()=>`Įrašoma`,WS=()=>`Notiek ierakstīšana`,GS=()=>`Opname bezig`,KS=()=>`Tar opp`,qS=()=>`A gravar`,JS=()=>`Optager`,YS=()=>`Snemanje`,XS=()=>`Snimanje`,ZS=()=>`Înregistrare`,QS=()=>`Spelar in`,$S=()=>`Tallennetaan`,eC=((e={},t={})=>{let n=t.locale??$();return n===`bg`?NS(e):n===`cs`?PS(e):n===`sk`?FS(e):n===`es`?IS(e):n===`de`?LS(e):n===`et`?RS(e):n===`fr`?zS(e):n===`pl`?BS(e):n===`hu`?VS(e):n===`it`?HS(e):n===`lt`?US(e):n===`lv`?WS(e):n===`nl`?GS(e):n===`no`?KS(e):n===`pt`?qS(e):n===`da`?JS(e):n===`sl`?YS(e):n===`hr`?XS(e):n===`ro`?ZS(e):n===`sv`?QS(e):n===`fi`?$S(e):MS(e)}),tC=()=>`Remove attachment`,nC=()=>`Премахване на прикачения файл`,rC=()=>`Odebrat přílohu`,iC=()=>`Odobrať prílohu`,aC=()=>`Eliminar archivo adjunto`,oC=()=>`Anhang entfernen`,sC=()=>`Eemalda manus`,cC=()=>`Supprimer la pièce jointe`,lC=()=>`Usuń załącznik`,uC=()=>`Melléklet eltávolítása`,dC=()=>`Rimuovi allegato`,fC=()=>`Pašalinti priedą`,pC=()=>`Noņemt pielikumu`,mC=()=>`Bijlage verwijderen`,hC=()=>`Fjern vedlegget`,gC=()=>`Remover anexo`,_C=()=>`Fjern vedhæftet fil`,vC=()=>`Odstrani prilogo`,yC=()=>`Ukloni privitak`,bC=()=>`Elimină atașamentul`,xC=()=>`Ta bort bilaga`,SC=()=>`Poista liite`,CC=((e={},t={})=>{let n=t.locale??$();return n===`bg`?nC(e):n===`cs`?rC(e):n===`sk`?iC(e):n===`es`?aC(e):n===`de`?oC(e):n===`et`?sC(e):n===`fr`?cC(e):n===`pl`?lC(e):n===`hu`?uC(e):n===`it`?dC(e):n===`lt`?fC(e):n===`lv`?pC(e):n===`nl`?mC(e):n===`no`?hC(e):n===`pt`?gC(e):n===`da`?_C(e):n===`sl`?vC(e):n===`hr`?yC(e):n===`ro`?bC(e):n===`sv`?xC(e):n===`fi`?SC(e):tC(e)}),wC=()=>`Send`,TC=()=>`Изпращане`,EC=()=>`Odeslat`,DC=()=>`Odoslať`,OC=()=>`Enviar`,kC=()=>`Senden`,AC=()=>`Saada`,jC=()=>`Envoyer`,MC=()=>`Wyślij`,NC=()=>`Küldés`,PC=()=>`Invia`,FC=()=>`Siųsti`,IC=()=>`Sūtīt`,LC=()=>`Verzenden`,RC=()=>`Send`,zC=()=>`Enviar`,BC=()=>`Send`,VC=()=>`Pošlji`,HC=()=>`Pošalji`,UC=()=>`Trimite`,WC=()=>`Skicka`,GC=()=>`Lähetä`,KC=((e={},t={})=>{let n=t.locale??$();return n===`bg`?TC(e):n===`cs`?EC(e):n===`sk`?DC(e):n===`es`?OC(e):n===`de`?kC(e):n===`et`?AC(e):n===`fr`?jC(e):n===`pl`?MC(e):n===`hu`?NC(e):n===`it`?PC(e):n===`lt`?FC(e):n===`lv`?IC(e):n===`nl`?LC(e):n===`no`?RC(e):n===`pt`?zC(e):n===`da`?BC(e):n===`sl`?VC(e):n===`hr`?HC(e):n===`ro`?UC(e):n===`sv`?WC(e):n===`fi`?GC(e):wC(e)}),qC=()=>`cusuai.com`,JC=()=>`cusuai.com`,YC=()=>`cusuai.com`,XC=()=>`cusuai.com`,ZC=()=>`cusuai.com`,QC=()=>`cusuai.com`,$C=()=>`cusuai.com`,ew=()=>`cusuai.com`,tw=()=>`cusuai.com`,nw=()=>`cusuai.com`,rw=()=>`cusuai.com`,iw=()=>`cusuai.com`,aw=()=>`cusuai.com`,ow=()=>`cusuai.com`,sw=()=>`cusuai.com`,cw=()=>`cusuai.com`,lw=()=>`cusuai.com`,uw=()=>`cusuai.com`,dw=()=>`cusuai.com`,fw=()=>`cusuai.com`,pw=()=>`cusuai.com`,mw=()=>`cusuai.com`,hw=((e={},t={})=>{let n=t.locale??$();return n===`bg`?JC(e):n===`cs`?YC(e):n===`sk`?XC(e):n===`es`?ZC(e):n===`de`?QC(e):n===`et`?$C(e):n===`fr`?ew(e):n===`pl`?tw(e):n===`hu`?nw(e):n===`it`?rw(e):n===`lt`?iw(e):n===`lv`?aw(e):n===`nl`?ow(e):n===`no`?sw(e):n===`pt`?cw(e):n===`da`?lw(e):n===`sl`?uw(e):n===`hr`?dw(e):n===`ro`?fw(e):n===`sv`?pw(e):n===`fi`?mw(e):qC(e)}),gw=()=>`I can hear you`,_w=()=>`Чувам ви`,vw=()=>`Slyším vás`,yw=()=>`Počujem vás`,bw=()=>`Te oigo`,xw=()=>`Ich kann Sie hören`,Sw=()=>`Ma kuulen teid`,Cw=()=>`Je vous entends`,ww=()=>`Słyszę Cię`,Tw=()=>`Hallom Önt`,Ew=()=>`Ti sento`,Dw=()=>`Girdžiu jus`,Ow=()=>`Es jūs dzirdu`,kw=()=>`Ik kan je horen`,Aw=()=>`Jeg hører deg`,jw=()=>`Consigo ouvir-te`,Mw=()=>`Jeg kan høre dig`,Nw=()=>`Slišim vas`,Pw=()=>`Čujem vas`,Fw=()=>`Vă aud`,Iw=()=>`Jag hör dig`,Lw=()=>`Kuulen sinut`,Rw=((e={},t={})=>{let n=t.locale??$();return n===`bg`?_w(e):n===`cs`?vw(e):n===`sk`?yw(e):n===`es`?bw(e):n===`de`?xw(e):n===`et`?Sw(e):n===`fr`?Cw(e):n===`pl`?ww(e):n===`hu`?Tw(e):n===`it`?Ew(e):n===`lt`?Dw(e):n===`lv`?Ow(e):n===`nl`?kw(e):n===`no`?Aw(e):n===`pt`?jw(e):n===`da`?Mw(e):n===`sl`?Nw(e):n===`hr`?Pw(e):n===`ro`?Fw(e):n===`sv`?Iw(e):n===`fi`?Lw(e):gw(e)}),zw=()=>`Listening — you can speak`,Bw=()=>`Слушам — можете да говорите`,Vw=()=>`Poslouchám — můžete mluvit`,Hw=()=>`Počúvam — môžete hovoriť`,Uw=()=>`Escuchando — puedes hablar`,Ww=()=>`Ich höre zu — Sie können sprechen`,Gw=()=>`Kuulan — võite rääkida`,Kw=()=>`Je vous écoute — vous pouvez parler`,qw=()=>`Słucham — możesz mówić`,Jw=()=>`Figyelek — beszélhet`,Yw=()=>`Ti ascolto — puoi parlare`,Xw=()=>`Klausau — galite kalbėti`,Zw=()=>`Klausos — varat runāt`,Qw=()=>`Ik luister — je kunt praten`,$w=()=>`Lytter — du kan snakke`,eT=()=>`Estou a ouvir — podes falar`,tT=()=>`Jeg lytter — du kan tale`,nT=()=>`Poslušam — lahko govorite`,rT=()=>`Slušam — možete govoriti`,iT=()=>`Vă ascult — puteți vorbi`,aT=()=>`Jag lyssnar — du kan prata`,oT=()=>`Kuuntelen — voit puhua`,sT=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Bw(e):n===`cs`?Vw(e):n===`sk`?Hw(e):n===`es`?Uw(e):n===`de`?Ww(e):n===`et`?Gw(e):n===`fr`?Kw(e):n===`pl`?qw(e):n===`hu`?Jw(e):n===`it`?Yw(e):n===`lt`?Xw(e):n===`lv`?Zw(e):n===`nl`?Qw(e):n===`no`?$w(e):n===`pt`?eT(e):n===`da`?tT(e):n===`sl`?nT(e):n===`hr`?rT(e):n===`ro`?iT(e):n===`sv`?aT(e):n===`fi`?oT(e):zw(e)}),cT=()=>`Assistant is answering`,lT=()=>`Асистентът отговаря`,uT=()=>`Asistent odpovídá`,dT=()=>`Asistent odpovedá`,fT=()=>`El asistente está respondiendo`,pT=()=>`Die Assistenz antwortet`,mT=()=>`Assistent vastab`,hT=()=>`L’assistant répond`,gT=()=>`Asystent odpowiada`,_T=()=>`Az asszisztens válaszol`,vT=()=>`L’assistente sta rispondendo`,yT=()=>`Asistentas atsako`,bT=()=>`Asistents atbild`,xT=()=>`De assistent antwoordt`,ST=()=>`Assistenten svarer`,CT=()=>`O assistente está a responder`,wT=()=>`Assistenten svarer`,TT=()=>`Asistent odgovarja`,ET=()=>`Asistent odgovara`,DT=()=>`Asistentul răspunde`,OT=()=>`Assistenten svarar`,kT=()=>`Avustaja vastaa`,AT=((e={},t={})=>{let n=t.locale??$();return n===`bg`?lT(e):n===`cs`?uT(e):n===`sk`?dT(e):n===`es`?fT(e):n===`de`?pT(e):n===`et`?mT(e):n===`fr`?hT(e):n===`pl`?gT(e):n===`hu`?_T(e):n===`it`?vT(e):n===`lt`?yT(e):n===`lv`?bT(e):n===`nl`?xT(e):n===`no`?ST(e):n===`pt`?CT(e):n===`da`?wT(e):n===`sl`?TT(e):n===`hr`?ET(e):n===`ro`?DT(e):n===`sv`?OT(e):n===`fi`?kT(e):cT(e)}),jT=()=>`Thinking`,MT=()=>`Мисля`,NT=()=>`Přemýšlím`,PT=()=>`Premýšľam`,FT=()=>`Pensando`,IT=()=>`Denkt nach`,LT=()=>`Mõtlen`,RT=()=>`Réflexion en cours`,zT=()=>`Myślę`,BT=()=>`Gondolkodom`,VT=()=>`Sto pensando`,HT=()=>`Galvoju`,UT=()=>`Domāju`,WT=()=>`Aan het nadenken`,GT=()=>`Tenker`,KT=()=>`A pensar`,qT=()=>`Tænker`,JT=()=>`Razmišljam`,YT=()=>`Razmišljam`,XT=()=>`Mă gândesc`,ZT=()=>`Tänker`,QT=()=>`Mietin`,$T=((e={},t={})=>{let n=t.locale??$();return n===`bg`?MT(e):n===`cs`?NT(e):n===`sk`?PT(e):n===`es`?FT(e):n===`de`?IT(e):n===`et`?LT(e):n===`fr`?RT(e):n===`pl`?zT(e):n===`hu`?BT(e):n===`it`?VT(e):n===`lt`?HT(e):n===`lv`?UT(e):n===`nl`?WT(e):n===`no`?GT(e):n===`pt`?KT(e):n===`da`?qT(e):n===`sl`?JT(e):n===`hr`?YT(e):n===`ro`?XT(e):n===`sv`?ZT(e):n===`fi`?QT(e):jT(e)}),eE=()=>`Transcribing what you said…`,tE=()=>`Транскрибирам казаното от вас…`,nE=()=>`Přepisuji, co jste řekli…`,rE=()=>`Prepisujem, čo ste povedali…`,iE=()=>`Transcribiendo lo que has dicho…`,aE=()=>`Ihre Worte werden transkribiert…`,oE=()=>`Transkribeerin teie öeldut…`,sE=()=>`Transcription de vos paroles…`,cE=()=>`Transkrybuję Twoją wypowiedź…`,lE=()=>`Az elhangzottak átírása…`,uE=()=>`Trascrizione di ciò che hai detto…`,dE=()=>`Transkribuojama, ką pasakėte…`,fE=()=>`Transkribējam jūsu teikto…`,pE=()=>`Transcriberen wat je zei…`,mE=()=>`Transkriberer det du sa…`,hE=()=>`A transcrever o que disseste…`,gE=()=>`Transskriberer det, du sagde…`,_E=()=>`Prepisujem, kar ste povedali…`,vE=()=>`Prepisujem ono što ste rekli…`,yE=()=>`Transcriu ceea ce ați spus…`,bE=()=>`Transkriberar det du sa…`,xE=()=>`Muunnetaan sanomaasi tekstiksi…`,SE=((e={},t={})=>{let n=t.locale??$();return n===`bg`?tE(e):n===`cs`?nE(e):n===`sk`?rE(e):n===`es`?iE(e):n===`de`?aE(e):n===`et`?oE(e):n===`fr`?sE(e):n===`pl`?cE(e):n===`hu`?lE(e):n===`it`?uE(e):n===`lt`?dE(e):n===`lv`?fE(e):n===`nl`?pE(e):n===`no`?mE(e):n===`pt`?hE(e):n===`da`?gE(e):n===`sl`?_E(e):n===`hr`?vE(e):n===`ro`?yE(e):n===`sv`?bE(e):n===`fi`?xE(e):eE(e)}),CE=()=>`This conversation is closed.`,wE=()=>`Този разговор е затворен.`,TE=()=>`Konverzace je uzavřená.`,EE=()=>`Konverzácia je uzatvorená.`,DE=()=>`Esta conversación está cerrada.`,OE=()=>`Diese Unterhaltung ist geschlossen.`,kE=()=>`See vestlus on suletud.`,AE=()=>`Cette conversation est fermée.`,jE=()=>`Ta rozmowa jest zamknięta.`,ME=()=>`Ez a beszélgetés lezárult.`,NE=()=>`Questa conversazione è chiusa.`,PE=()=>`Šis pokalbis uždarytas.`,FE=()=>`Šī saruna ir slēgta.`,IE=()=>`Dit gesprek is gesloten.`,LE=()=>`Denne samtalen er lukket.`,RE=()=>`Esta conversa está encerrada.`,zE=()=>`Denne samtale er lukket.`,BE=()=>`Ta pogovor je zaprt.`,VE=()=>`Ovaj je razgovor zatvoren.`,HE=()=>`Această conversație este închisă.`,UE=()=>`Den här konversationen är stängd.`,WE=()=>`Tämä keskustelu on suljettu.`,GE=((e={},t={})=>{let n=t.locale??$();return n===`bg`?wE(e):n===`cs`?TE(e):n===`sk`?EE(e):n===`es`?DE(e):n===`de`?OE(e):n===`et`?kE(e):n===`fr`?AE(e):n===`pl`?jE(e):n===`hu`?ME(e):n===`it`?NE(e):n===`lt`?PE(e):n===`lv`?FE(e):n===`nl`?IE(e):n===`no`?LE(e):n===`pt`?RE(e):n===`da`?zE(e):n===`sl`?BE(e):n===`hr`?VE(e):n===`ro`?HE(e):n===`sv`?UE(e):n===`fi`?WE(e):CE(e)}),KE=()=>`Conversation`,qE=()=>`Разговор`,JE=()=>`Konverzace`,YE=()=>`Konverzácia`,XE=()=>`Conversación`,ZE=()=>`Unterhaltung`,QE=()=>`Vestlus`,$E=()=>`Conversation`,eD=()=>`Rozmowa`,tD=()=>`Beszélgetés`,nD=()=>`Conversazione`,rD=()=>`Pokalbis`,iD=()=>`Saruna`,aD=()=>`Gesprek`,oD=()=>`Samtale`,sD=()=>`Conversa`,cD=()=>`Samtale`,lD=()=>`Pogovor`,uD=()=>`Razgovor`,dD=()=>`Conversație`,fD=()=>`Konversation`,pD=()=>`Keskustelu`,mD=((e={},t={})=>{let n=t.locale??$();return n===`bg`?qE(e):n===`cs`?JE(e):n===`sk`?YE(e):n===`es`?XE(e):n===`de`?ZE(e):n===`et`?QE(e):n===`fr`?$E(e):n===`pl`?eD(e):n===`hu`?tD(e):n===`it`?nD(e):n===`lt`?rD(e):n===`lv`?iD(e):n===`nl`?aD(e):n===`no`?oD(e):n===`pt`?sD(e):n===`da`?cD(e):n===`sl`?lD(e):n===`hr`?uD(e):n===`ro`?dD(e):n===`sv`?fD(e):n===`fi`?pD(e):KE(e)}),hD=()=>`New conversation`,gD=()=>`Нов разговор`,_D=()=>`Nová konverzace`,vD=()=>`Nová konverzácia`,yD=()=>`Nueva conversación`,bD=()=>`Neue Unterhaltung`,xD=()=>`Uus vestlus`,SD=()=>`Nouvelle conversation`,CD=()=>`Nowa rozmowa`,wD=()=>`Új beszélgetés`,TD=()=>`Nuova conversazione`,ED=()=>`Naujas pokalbis`,DD=()=>`Jauna saruna`,OD=()=>`Nieuw gesprek`,kD=()=>`Ny samtale`,AD=()=>`Nova conversa`,jD=()=>`Ny samtale`,MD=()=>`Nov pogovor`,ND=()=>`Novi razgovor`,PD=()=>`Conversație nouă`,FD=()=>`Ny konversation`,ID=()=>`Uusi keskustelu`,LD=((e={},t={})=>{let n=t.locale??$();return n===`bg`?gD(e):n===`cs`?_D(e):n===`sk`?vD(e):n===`es`?yD(e):n===`de`?bD(e):n===`et`?xD(e):n===`fr`?SD(e):n===`pl`?CD(e):n===`hu`?wD(e):n===`it`?TD(e):n===`lt`?ED(e):n===`lv`?DD(e):n===`nl`?OD(e):n===`no`?kD(e):n===`pt`?AD(e):n===`da`?jD(e):n===`sl`?MD(e):n===`hr`?ND(e):n===`ro`?PD(e):n===`sv`?FD(e):n===`fi`?ID(e):hD(e)}),RD=()=>`The conversation was handed over to an operator.`,zD=()=>`Разговорът беше прехвърлен към оператор.`,BD=()=>`Konverzace byla předána operátorovi.`,VD=()=>`Konverzácia bola odovzdaná operátorovi.`,HD=()=>`La conversación se ha transferido a un operador.`,UD=()=>`Die Unterhaltung wurde an einen Mitarbeiter übergeben.`,WD=()=>`Vestlus anti üle operaatorile.`,GD=()=>`La conversation a été transférée à un opérateur.`,KD=()=>`Rozmowa została przekazana operatorowi.`,qD=()=>`A beszélgetést átadtuk egy ügyintézőnek.`,JD=()=>`La conversazione è stata trasferita a un operatore.`,YD=()=>`Pokalbis perduotas operatoriui.`,XD=()=>`Saruna tika nodota operatoram.`,ZD=()=>`Het gesprek is overgedragen aan een medewerker.`,QD=()=>`Samtalen ble overført til en operatør.`,$D=()=>`A conversa foi transferida para um operador.`,eO=()=>`Samtalen blev overdraget til en medarbejder.`,tO=()=>`Pogovor je bil predan operaterju.`,nO=()=>`Razgovor je predan operateru.`,rO=()=>`Conversația a fost transferată unui operator.`,iO=()=>`Konversationen överlämnades till en medarbetare.`,aO=()=>`Keskustelu siirrettiin asiakaspalvelijalle.`,oO=((e={},t={})=>{let n=t.locale??$();return n===`bg`?zD(e):n===`cs`?BD(e):n===`sk`?VD(e):n===`es`?HD(e):n===`de`?UD(e):n===`et`?WD(e):n===`fr`?GD(e):n===`pl`?KD(e):n===`hu`?qD(e):n===`it`?JD(e):n===`lt`?YD(e):n===`lv`?XD(e):n===`nl`?ZD(e):n===`no`?QD(e):n===`pt`?$D(e):n===`da`?eO(e):n===`sl`?tO(e):n===`hr`?nO(e):n===`ro`?rO(e):n===`sv`?iO(e):n===`fi`?aO(e):RD(e)}),sO=()=>`No operator is connected right now. You'll get a reply as soon as someone connects.`,cO=()=>`В момента няма свързан оператор. Ще получите отговор веднага щом някой се свърже.`,lO=()=>`Momentálně není připojený žádný operátor. Odpověď dostanete, jakmile se někdo připojí.`,uO=()=>`Momentálne nie je pripojený žiadny operátor. Odpoveď dostanete, hneď ako sa niekto pripojí.`,dO=()=>`Ahora mismo no hay ningún operador conectado. Recibirás una respuesta en cuanto alguien se conecte.`,fO=()=>`Gerade ist kein Mitarbeiter verbunden. Sie erhalten eine Antwort, sobald sich jemand verbindet.`,pO=()=>`Praegu pole ükski operaator ühendatud. Saate vastuse niipea, kui keegi liitub.`,mO=()=>`Aucun opérateur n’est connecté pour le moment. Vous recevrez une réponse dès que quelqu’un se connectera.`,hO=()=>`W tej chwili nie jest połączony żaden operator. Odpowiedź otrzymasz, gdy ktoś się połączy.`,gO=()=>`Jelenleg nincs csatlakozva ügyintéző. Választ akkor kap, amint valaki csatlakozik.`,_O=()=>`Al momento non c’è nessun operatore connesso. Riceverai una risposta non appena qualcuno si connetterà.`,vO=()=>`Šiuo metu nėra prisijungusio operatoriaus. Atsakymą gausite, kai tik kas nors prisijungs.`,yO=()=>`Pašlaik neviens operators nav pievienojies. Jūs saņemsiet atbildi, tiklīdz kāds pievienosies.`,bO=()=>`Er is nu geen medewerker verbonden. Je krijgt antwoord zodra iemand verbinding maakt.`,xO=()=>`Ingen operatør er tilkoblet akkurat nå. Du får svar så snart noen kobler seg til.`,SO=()=>`Nenhum operador está ligado neste momento. Receberás uma resposta assim que alguém se ligar.`,CO=()=>`Der er ingen medarbejder tilsluttet lige nu. Du får svar, så snart nogen tilslutter sig.`,wO=()=>`Trenutno ni povezan noben operater. Odgovor boste prejeli, ko se nekdo poveže.`,TO=()=>`Trenutačno nije povezan nijedan operater. Odgovor ćete dobiti čim se netko poveže.`,EO=()=>`Momentan nu este conectat niciun operator. Veți primi un răspuns imediat ce se conectează cineva.`,DO=()=>`Ingen medarbetare är ansluten just nu. Du får svar så snart någon ansluter.`,OO=()=>`Asiakaspalvelijaa ei ole juuri nyt paikalla. Saat vastauksen heti, kun joku liittyy keskusteluun.`,kO=((e={},t={})=>{let n=t.locale??$();return n===`bg`?cO(e):n===`cs`?lO(e):n===`sk`?uO(e):n===`es`?dO(e):n===`de`?fO(e):n===`et`?pO(e):n===`fr`?mO(e):n===`pl`?hO(e):n===`hu`?gO(e):n===`it`?_O(e):n===`lt`?vO(e):n===`lv`?yO(e):n===`nl`?bO(e):n===`no`?xO(e):n===`pt`?SO(e):n===`da`?CO(e):n===`sl`?wO(e):n===`hr`?TO(e):n===`ro`?EO(e):n===`sv`?DO(e):n===`fi`?OO(e):sO(e)}),AO=e=>`No operator is available until ${e?.when}.`,jO=e=>`Няма наличен оператор до ${e?.when}.`,MO=e=>`Operátor bude na lince ${e?.when}.`,NO=e=>`Operátor bude na linke ${e?.when}.`,PO=e=>`No hay ningún operador disponible hasta ${e?.when}.`,FO=e=>`Kein Mitarbeiter ist bis ${e?.when} erreichbar.`,IO=e=>`Operaatorit pole saadaval kuni ${e?.when}.`,LO=e=>`Aucun opérateur n’est disponible avant ${e?.when}.`,RO=e=>`Żaden operator nie jest dostępny do ${e?.when}.`,zO=e=>`${e?.when} előtt nincs elérhető ügyintéző.`,BO=e=>`Nessun operatore è disponibile fino a ${e?.when}.`,VO=e=>`Nėra operatoriaus iki ${e?.when}.`,HO=e=>`Neviens operators nav pieejams līdz ${e?.when}.`,UO=e=>`Er is geen medewerker beschikbaar tot ${e?.when}.`,WO=e=>`Ingen operatør er tilgjengelig før ${e?.when}.`,GO=e=>`Nenhum operador está disponível até ${e?.when}.`,KO=e=>`Ingen medarbejder er tilgængelig før ${e?.when}.`,qO=e=>`Noben operater ni na voljo do ${e?.when}.`,JO=e=>`Nijedan operater nije dostupan do ${e?.when}.`,YO=e=>`Niciun operator nu este disponibil până ${e?.when}.`,XO=e=>`Ingen medarbetare är tillgänglig förrän ${e?.when}.`,ZO=e=>`Asiakaspalvelijaa ei ole paikalla ennen ${e?.when}.`,QO=((e,t={})=>{let n=t.locale??$();return n===`bg`?jO(e):n===`cs`?MO(e):n===`sk`?NO(e):n===`es`?PO(e):n===`de`?FO(e):n===`et`?IO(e):n===`fr`?LO(e):n===`pl`?RO(e):n===`hu`?zO(e):n===`it`?BO(e):n===`lt`?VO(e):n===`lv`?HO(e):n===`nl`?UO(e):n===`no`?WO(e):n===`pt`?GO(e):n===`da`?KO(e):n===`sl`?qO(e):n===`hr`?JO(e):n===`ro`?YO(e):n===`sv`?XO(e):n===`fi`?ZO(e):AO(e)}),$O=()=>`Sizing, delivery, or just a gut check — ask away. We've got you.`,ek=()=>`Размер, доставка или просто бърз съвет — попитайте смело. Ние сме насреща.`,tk=()=>`Velikost, doručení, nebo jen pocit, že si nejsi jistý — klidně se zeptej. Jsme v tom s tebou.`,nk=()=>`Veľkosť, doručenie alebo len overenie — pokojne sa opýtajte. Sme v tom s vami.`,rk=()=>`Tallas, entrega o simplemente una consulta — pregunta lo que quieras. Estamos aquí para ayudarte.`,ik=()=>`Größe, Lieferung oder einfach eine kurze Rückfrage — fragen Sie uns. Wir helfen Ihnen gerne.`,ak=()=>`Suurus, tarne või lihtsalt kiire nõuanne — küsige julgelt. Oleme valmis aitama.`,ok=()=>`Taille, livraison ou simple vérification — posez votre question. Nous sommes là pour vous aider.`,sk=()=>`Rozmiar, dostawa lub szybka konsultacja — śmiało pytaj. Jesteśmy tu, aby Ci pomóc.`,ck=()=>`Méret, szállítás vagy csak egy gyors kérdés — kérdezzen bátran. Szívesen segítünk.`,lk=()=>`Taglia, consegna o un semplice consiglio — chiedi pure. Siamo qui per aiutarti.`,uk=()=>`Dydis, pristatymas ar tiesiog greitas patarimas — drąsiai klauskite. Mes pasiruošę padėti.`,dk=()=>`Izmērs, piegāde vai vienkārši ātrs padoms — droši jautājiet. Mēs esam gatavi palīdzēt.`,fk=()=>`Maat, bezorging of gewoon even overleggen — vraag maar. We helpen je graag.`,pk=()=>`Størrelse, levering eller bare en rask vurdering — bare spør. Vi er klare til å hjelpe.`,mk=()=>`Tamanho, entrega ou apenas uma opinião — pergunta à vontade. Estamos aqui para ajudar.`,hk=()=>`Størrelse, levering eller bare et hurtigt råd — spørg bare. Vi er her for at hjælpe.`,gk=()=>`Velikost, dostava ali samo hitro mnenje — kar vprašajte. Tukaj smo, da vam pomagamo.`,_k=()=>`Veličina, dostava ili samo brza provjera — slobodno pitajte. Tu smo da vam pomognemo.`,vk=()=>`Mărime, livrare sau doar o verificare rapidă — întrebați-ne. Suntem aici să vă ajutăm.`,yk=()=>`Storlek, leverans eller bara en snabb kontroll — fråga på. Vi finns här för att hjälpa dig.`,bk=()=>`Koko, toimitus tai vain nopea tarkistus — kysy rohkeasti. Autamme mielellämme.`,xk=((e={},t={})=>{let n=t.locale??$();return n===`bg`?ek(e):n===`cs`?tk(e):n===`sk`?nk(e):n===`es`?rk(e):n===`de`?ik(e):n===`et`?ak(e):n===`fr`?ok(e):n===`pl`?sk(e):n===`hu`?ck(e):n===`it`?lk(e):n===`lt`?uk(e):n===`lv`?dk(e):n===`nl`?fk(e):n===`no`?pk(e):n===`pt`?mk(e):n===`da`?hk(e):n===`sl`?gk(e):n===`hr`?_k(e):n===`ro`?vk(e):n===`sv`?yk(e):n===`fi`?bk(e):$O(e)}),Sk=()=>`How can I help?`,Ck=()=>`Как мога да помогна?`,wk=()=>`S čím ti můžu pomoct?`,Tk=()=>`S čím vám môžem pomôcť?`,Ek=()=>`¿En qué puedo ayudarte?`,Dk=()=>`Wie kann ich Ihnen helfen?`,Ok=()=>`Kuidas saan aidata?`,kk=()=>`Comment puis-je vous aider\xA0?`,Ak=()=>`Jak mogę Ci pomóc?`,jk=()=>`Miben segíthetek?`,Mk=()=>`Come posso aiutarti?`,Nk=()=>`Kaip galiu padėti?`,Pk=()=>`Kā varu palīdzēt?`,Fk=()=>`Hoe kan ik helpen?`,Ik=()=>`Hvordan kan jeg hjelpe?`,Lk=()=>`Como posso ajudar?`,Rk=()=>`Hvordan kan jeg hjælpe?`,zk=()=>`Kako vam lahko pomagam?`,Bk=()=>`Kako vam mogu pomoći?`,Vk=()=>`Cum vă pot ajuta?`,Hk=()=>`Hur kan jag hjälpa dig?`,Uk=()=>`Kuinka voin auttaa?`,Wk=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Ck(e):n===`cs`?wk(e):n===`sk`?Tk(e):n===`es`?Ek(e):n===`de`?Dk(e):n===`et`?Ok(e):n===`fr`?kk(e):n===`pl`?Ak(e):n===`hu`?jk(e):n===`it`?Mk(e):n===`lt`?Nk(e):n===`lv`?Pk(e):n===`nl`?Fk(e):n===`no`?Ik(e):n===`pt`?Lk(e):n===`da`?Rk(e):n===`sl`?zk(e):n===`hr`?Bk(e):n===`ro`?Vk(e):n===`sv`?Hk(e):n===`fi`?Uk(e):Sk(e)}),Gk=()=>`Ask something`,Kk=()=>`Задайте въпрос`,qk=()=>`Zeptat se`,Jk=()=>`Opýtať sa`,Yk=()=>`Hacer una pregunta`,Xk=()=>`Frage stellen`,Zk=()=>`Küsi midagi`,Qk=()=>`Poser une question`,$k=()=>`Zadaj pytanie`,eA=()=>`Kérdés feltevése`,tA=()=>`Fai una domanda`,nA=()=>`Užduoti klausimą`,rA=()=>`Uzdot jautājumu`,iA=()=>`Stel een vraag`,aA=()=>`Still et spørsmål`,oA=()=>`Fazer uma pergunta`,sA=()=>`Stil et spørgsmål`,cA=()=>`Postavite vprašanje`,lA=()=>`Postavite pitanje`,uA=()=>`Adresați o întrebare`,dA=()=>`Ställ en fråga`,fA=()=>`Kysy jotain`,pA=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Kk(e):n===`cs`?qk(e):n===`sk`?Jk(e):n===`es`?Yk(e):n===`de`?Xk(e):n===`et`?Zk(e):n===`fr`?Qk(e):n===`pl`?$k(e):n===`hu`?eA(e):n===`it`?tA(e):n===`lt`?nA(e):n===`lv`?rA(e):n===`nl`?iA(e):n===`no`?aA(e):n===`pt`?oA(e):n===`da`?sA(e):n===`sl`?cA(e):n===`hr`?lA(e):n===`ro`?uA(e):n===`sv`?dA(e):n===`fi`?fA(e):Gk(e)}),mA=()=>`No conversations yet — go ahead and ask. We've got you.`,hA=()=>`Все още няма разговори — попитайте смело. Ние сме насреща.`,gA=()=>`Žádná konverzace ještě neproběhla — pojď se zeptat. Jsme v tom s tebou.`,_A=()=>`Zatiaľ neprebehla žiadna konverzácia — pokojne sa opýtajte. Sme v tom s vami.`,vA=()=>`Todavía no hay conversaciones — pregunta lo que quieras. Estamos aquí para ayudarte.`,yA=()=>`Es gibt noch keine Unterhaltungen — stellen Sie einfach eine Frage. Wir helfen Ihnen gerne.`,bA=()=>`Vestlusi veel pole — küsige julgelt. Oleme valmis aitama.`,xA=()=>`Aucune conversation pour le moment — posez votre question. Nous sommes là pour vous aider.`,SA=()=>`Nie ma jeszcze żadnych rozmów — śmiało zadaj pytanie. Jesteśmy tu, aby Ci pomóc.`,CA=()=>`Még nincsenek beszélgetések — kérdezzen bátran. Szívesen segítünk.`,wA=()=>`Non ci sono ancora conversazioni — fai pure una domanda. Siamo qui per aiutarti.`,TA=()=>`Pokalbių dar nėra — drąsiai klauskite. Mes pasiruošę padėti.`,EA=()=>`Sarunu vēl nav — droši jautājiet. Mēs esam gatavi palīdzēt.`,DA=()=>`Er zijn nog geen gesprekken — stel gerust een vraag. We helpen je graag.`,OA=()=>`Ingen samtaler ennå — bare spør. Vi er klare til å hjelpe.`,kA=()=>`Ainda não há conversas — pergunta à vontade. Estamos aqui para ajudar.`,AA=()=>`Der er ingen samtaler endnu — spørg bare. Vi er her for at hjælpe.`,jA=()=>`Pogovorov še ni — kar vprašajte. Tukaj smo, da vam pomagamo.`,MA=()=>`Još nema razgovora — slobodno pitajte. Tu smo da vam pomognemo.`,NA=()=>`Nu există încă conversații — adresați o întrebare. Suntem aici să vă ajutăm.`,PA=()=>`Det finns inga konversationer ännu — fråga på. Vi finns här för att hjälpa dig.`,FA=()=>`Keskusteluja ei ole vielä — kysy rohkeasti. Autamme mielellämme.`,IA=((e={},t={})=>{let n=t.locale??$();return n===`bg`?hA(e):n===`cs`?gA(e):n===`sk`?_A(e):n===`es`?vA(e):n===`de`?yA(e):n===`et`?bA(e):n===`fr`?xA(e):n===`pl`?SA(e):n===`hu`?CA(e):n===`it`?wA(e):n===`lt`?TA(e):n===`lv`?EA(e):n===`nl`?DA(e):n===`no`?OA(e):n===`pt`?kA(e):n===`da`?AA(e):n===`sl`?jA(e):n===`hr`?MA(e):n===`ro`?NA(e):n===`sv`?PA(e):n===`fi`?FA(e):mA(e)}),LA=()=>`Nothing here yet`,RA=()=>`Тук все още няма нищо`,zA=()=>`Tady zatím nic není`,BA=()=>`Zatiaľ tu nič nie je`,VA=()=>`Aún no hay nada`,HA=()=>`Noch nichts vorhanden`,UA=()=>`Siin pole veel midagi`,WA=()=>`Rien pour le moment`,GA=()=>`Na razie nic tu nie ma`,KA=()=>`Még nincs itt semmi`,qA=()=>`Ancora niente`,JA=()=>`Čia dar nieko nėra`,YA=()=>`Šeit vēl nekā nav`,XA=()=>`Nog niets te zien`,ZA=()=>`Ingenting her ennå`,QA=()=>`Ainda não há nada`,$A=()=>`Her er ikke noget endnu`,ej=()=>`Za zdaj še ni ničesar`,tj=()=>`Ovdje još nema ničega`,nj=()=>`Încă nu este nimic aici`,rj=()=>`Inget här ännu`,ij=()=>`Täällä ei ole vielä mitään`,aj=((e={},t={})=>{let n=t.locale??$();return n===`bg`?RA(e):n===`cs`?zA(e):n===`sk`?BA(e):n===`es`?VA(e):n===`de`?HA(e):n===`et`?UA(e):n===`fr`?WA(e):n===`pl`?GA(e):n===`hu`?KA(e):n===`it`?qA(e):n===`lt`?JA(e):n===`lv`?YA(e):n===`nl`?XA(e):n===`no`?ZA(e):n===`pt`?QA(e):n===`da`?$A(e):n===`sl`?ej(e):n===`hr`?tj(e):n===`ro`?nj(e):n===`sv`?rj(e):n===`fi`?ij(e):LA(e)}),oj=()=>`Connection lost. Try again.`,sj=()=>`Връзката е прекъсната. Опитайте отново.`,cj=()=>`Připojení se ztratilo. Zkuste to znovu.`,lj=()=>`Pripojenie sa prerušilo. Skúste to znova.`,uj=()=>`Se perdió la conexión. Inténtalo de nuevo.`,dj=()=>`Verbindung unterbrochen. Versuchen Sie es erneut.`,fj=()=>`Ühendus katkes. Proovige uuesti.`,pj=()=>`Connexion perdue. Réessayez.`,mj=()=>`Utracono połączenie. Spróbuj ponownie.`,hj=()=>`Megszakadt a kapcsolat. Próbálja újra.`,gj=()=>`Connessione persa. Riprova.`,_j=()=>`Ryšys nutrūko. Bandykite dar kartą.`,vj=()=>`Savienojums pārtrūka. Mēģiniet vēlreiz.`,yj=()=>`Verbinding verbroken. Probeer het opnieuw.`,bj=()=>`Tilkoblingen ble brutt. Prøv igjen.`,xj=()=>`Ligação perdida. Tenta novamente.`,Sj=()=>`Forbindelsen blev afbrudt. Prøv igen.`,Cj=()=>`Povezava je bila prekinjena. Poskusite znova.`,wj=()=>`Veza je prekinuta. Pokušajte ponovno.`,Tj=()=>`Conexiunea s-a întrerupt. Încercați din nou.`,Ej=()=>`Anslutningen bröts. Försök igen.`,Dj=()=>`Yhteys katkesi. Yritä uudelleen.`,Oj=((e={},t={})=>{let n=t.locale??$();return n===`bg`?sj(e):n===`cs`?cj(e):n===`sk`?lj(e):n===`es`?uj(e):n===`de`?dj(e):n===`et`?fj(e):n===`fr`?pj(e):n===`pl`?mj(e):n===`hu`?hj(e):n===`it`?gj(e):n===`lt`?_j(e):n===`lv`?vj(e):n===`nl`?yj(e):n===`no`?bj(e):n===`pt`?xj(e):n===`da`?Sj(e):n===`sl`?Cj(e):n===`hr`?wj(e):n===`ro`?Tj(e):n===`sv`?Ej(e):n===`fi`?Dj(e):oj(e)}),kj=()=>`This conversation no longer exists.`,Aj=()=>`Този разговор вече не съществува.`,jj=()=>`Konverzace už neexistuje.`,Mj=()=>`Konverzácia už neexistuje.`,Nj=()=>`Esta conversación ya no existe.`,Pj=()=>`Diese Unterhaltung existiert nicht mehr.`,Fj=()=>`Seda vestlust pole enam olemas.`,Ij=()=>`Cette conversation n’existe plus.`,Lj=()=>`Ta rozmowa już nie istnieje.`,Rj=()=>`Ez a beszélgetés már nem létezik.`,zj=()=>`Questa conversazione non esiste più.`,Bj=()=>`Šio pokalbio nebėra.`,Vj=()=>`Šī saruna vairs nepastāv.`,Hj=()=>`Dit gesprek bestaat niet meer.`,Uj=()=>`Denne samtalen finnes ikke lenger.`,Wj=()=>`Esta conversa já não existe.`,Gj=()=>`Denne samtale findes ikke længere.`,Kj=()=>`Ta pogovor ne obstaja več.`,qj=()=>`Ovaj razgovor više ne postoji.`,Jj=()=>`Această conversație nu mai există.`,Yj=()=>`Den här konversationen finns inte längre.`,Xj=()=>`Tätä keskustelua ei enää ole.`,Zj=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Aj(e):n===`cs`?jj(e):n===`sk`?Mj(e):n===`es`?Nj(e):n===`de`?Pj(e):n===`et`?Fj(e):n===`fr`?Ij(e):n===`pl`?Lj(e):n===`hu`?Rj(e):n===`it`?zj(e):n===`lt`?Bj(e):n===`lv`?Vj(e):n===`nl`?Hj(e):n===`no`?Uj(e):n===`pt`?Wj(e):n===`da`?Gj(e):n===`sl`?Kj(e):n===`hr`?qj(e):n===`ro`?Jj(e):n===`sv`?Yj(e):n===`fi`?Xj(e):kj(e)}),Qj=()=>`Dictation is not available in this browser.`,$j=()=>`Диктуването не е достъпно в този браузър.`,eM=()=>`Diktování v tomto prohlížeči není dostupné.`,tM=()=>`Diktovanie nie je v tomto prehliadači dostupné.`,nM=()=>`El dictado no está disponible en este navegador.`,rM=()=>`Die Diktierfunktion ist in diesem Browser nicht verfügbar.`,iM=()=>`Dikteerimine pole selles brauseris saadaval.`,aM=()=>`La dictée n’est pas disponible dans ce navigateur.`,oM=()=>`Dyktowanie nie jest dostępne w tej przeglądarce.`,sM=()=>`A diktálás nem érhető el ebben a böngészőben.`,cM=()=>`La dettatura non è disponibile in questo browser.`,lM=()=>`Diktavimo funkcija šioje naršyklėje nepasiekiama.`,uM=()=>`Diktēšana šajā pārlūkprogrammā nav pieejama.`,dM=()=>`Dicteren is niet beschikbaar in deze browser.`,fM=()=>`Diktering er ikke tilgjengelig i denne nettleseren.`,pM=()=>`O ditado não está disponível neste navegador.`,mM=()=>`Diktering er ikke tilgængelig i denne browser.`,hM=()=>`Narekovanje v tem brskalniku ni na voljo.`,gM=()=>`Diktiranje nije dostupno u ovom pregledniku.`,_M=()=>`Dictarea nu este disponibilă în acest browser.`,vM=()=>`Diktering är inte tillgänglig i den här webbläsaren.`,yM=()=>`Sanelu ei ole käytettävissä tässä selaimessa.`,bM=((e={},t={})=>{let n=t.locale??$();return n===`bg`?$j(e):n===`cs`?eM(e):n===`sk`?tM(e):n===`es`?nM(e):n===`de`?rM(e):n===`et`?iM(e):n===`fr`?aM(e):n===`pl`?oM(e):n===`hu`?sM(e):n===`it`?cM(e):n===`lt`?lM(e):n===`lv`?uM(e):n===`nl`?dM(e):n===`no`?fM(e):n===`pt`?pM(e):n===`da`?mM(e):n===`sl`?hM(e):n===`hr`?gM(e):n===`ro`?_M(e):n===`sv`?vM(e):n===`fi`?yM(e):Qj(e)}),xM=()=>`Images can be at most 8 MB.`,SM=()=>`Изображението може да бъде с размер до 8 MB.`,CM=()=>`Obrázek může mít nejvýš 8 MB.`,wM=()=>`Obrázok môže mať najviac 8 MB.`,TM=()=>`Las imágenes pueden tener un máximo de 8 MB.`,EM=()=>`Bilder dürfen höchstens 8 MB groß sein.`,DM=()=>`Pildi suurus võib olla kuni 8 MB.`,OM=()=>`Les images doivent faire au maximum 8\xA0Mo.`,kM=()=>`Obrazy mogą mieć maksymalnie 8 MB.`,AM=()=>`A képek mérete legfeljebb 8 MB lehet.`,jM=()=>`Le immagini possono avere una dimensione massima di 8 MB.`,MM=()=>`Vaizdas gali būti ne didesnis nei 8 MB.`,NM=()=>`Attēla lielums nedrīkst pārsniegt 8 MB.`,PM=()=>`Afbeeldingen mogen maximaal 8 MB groot zijn.`,FM=()=>`Bilder kan være opptil 8 MB.`,IM=()=>`As imagens podem ter no máximo 8 MB.`,LM=()=>`Billeder må højst være 8 MB.`,RM=()=>`Slike so lahko velike največ 8 MB.`,zM=()=>`Slike mogu imati najviše 8 MB.`,BM=()=>`Imaginile pot avea cel mult 8 MB.`,VM=()=>`Bilder får vara högst 8 MB.`,HM=()=>`Kuvan koko voi olla enintään 8 Mt.`,UM=((e={},t={})=>{let n=t.locale??$();return n===`bg`?SM(e):n===`cs`?CM(e):n===`sk`?wM(e):n===`es`?TM(e):n===`de`?EM(e):n===`et`?DM(e):n===`fr`?OM(e):n===`pl`?kM(e):n===`hu`?AM(e):n===`it`?jM(e):n===`lt`?MM(e):n===`lv`?NM(e):n===`nl`?PM(e):n===`no`?FM(e):n===`pt`?IM(e):n===`da`?LM(e):n===`sl`?RM(e):n===`hr`?zM(e):n===`ro`?BM(e):n===`sv`?VM(e):n===`fi`?HM(e):xM(e)}),WM=()=>`PDFs can be at most 16 MB.`,GM=()=>`PDF файлът може да бъде с размер до 16 MB.`,KM=()=>`PDF může mít nejvýš 16 MB.`,qM=()=>`PDF môže mať najviac 16 MB.`,JM=()=>`Los archivos PDF pueden tener un máximo de 16 MB.`,YM=()=>`PDF-Dateien dürfen höchstens 16 MB groß sein.`,XM=()=>`PDF-faili suurus võib olla kuni 16 MB.`,ZM=()=>`Les fichiers PDF doivent faire au maximum 16\xA0Mo.`,QM=()=>`Pliki PDF mogą mieć maksymalnie 16 MB.`,$M=()=>`A PDF-fájlok mérete legfeljebb 16 MB lehet.`,eN=()=>`I file PDF possono avere una dimensione massima di 16 MB.`,tN=()=>`PDF failas gali būti ne didesnis nei 16 MB.`,nN=()=>`PDF faila lielums nedrīkst pārsniegt 16 MB.`,rN=()=>`PDF-bestanden mogen maximaal 16 MB groot zijn.`,iN=()=>`PDF-filer kan være opptil 16 MB.`,aN=()=>`Os ficheiros PDF podem ter no máximo 16 MB.`,oN=()=>`PDF-filer må højst være 16 MB.`,sN=()=>`Datoteke PDF so lahko velike največ 16 MB.`,cN=()=>`PDF datoteke mogu imati najviše 16 MB.`,lN=()=>`Fișierele PDF pot avea cel mult 16 MB.`,uN=()=>`PDF-filer får vara högst 16 MB.`,dN=()=>`PDF-tiedoston koko voi olla enintään 16 Mt.`,fN=((e={},t={})=>{let n=t.locale??$();return n===`bg`?GM(e):n===`cs`?KM(e):n===`sk`?qM(e):n===`es`?JM(e):n===`de`?YM(e):n===`et`?XM(e):n===`fr`?ZM(e):n===`pl`?QM(e):n===`hu`?$M(e):n===`it`?eN(e):n===`lt`?tN(e):n===`lv`?nN(e):n===`nl`?rN(e):n===`no`?iN(e):n===`pt`?aN(e):n===`da`?oN(e):n===`sl`?sN(e):n===`hr`?cN(e):n===`ro`?lN(e):n===`sv`?uN(e):n===`fi`?dN(e):WM(e)}),pN=()=>`Only images (JPEG, PNG, GIF, WebP) and PDFs are allowed.`,mN=()=>`Разрешени са само изображения (JPEG, PNG, GIF, WebP) и PDF файлове.`,hN=()=>`Povolené jsou obrázky (JPEG, PNG, GIF, WebP) a PDF.`,gN=()=>`Povolené sú obrázky (JPEG, PNG, GIF, WebP) a PDF.`,_N=()=>`Solo se permiten imágenes (JPEG, PNG, GIF, WebP) y archivos PDF.`,vN=()=>`Nur Bilder (JPEG, PNG, GIF, WebP) und PDF-Dateien sind erlaubt.`,yN=()=>`Lubatud on ainult pildid (JPEG, PNG, GIF, WebP) ja PDF-failid.`,bN=()=>`Seules les images (JPEG, PNG, GIF, WebP) et les fichiers PDF sont autorisés.`,xN=()=>`Dozwolone są tylko obrazy (JPEG, PNG, GIF, WebP) i pliki PDF.`,SN=()=>`Csak képek (JPEG, PNG, GIF, WebP) és PDF-fájlok engedélyezettek.`,CN=()=>`Sono consentiti solo immagini (JPEG, PNG, GIF, WebP) e file PDF.`,wN=()=>`Leidžiami tik vaizdai (JPEG, PNG, GIF, WebP) ir PDF failai.`,TN=()=>`Atļauti tikai attēli (JPEG, PNG, GIF, WebP) un PDF faili.`,EN=()=>`Alleen afbeeldingen (JPEG, PNG, GIF, WebP) en PDF-bestanden zijn toegestaan.`,DN=()=>`Bare bilder (JPEG, PNG, GIF, WebP) og PDF-filer er tillatt.`,ON=()=>`Apenas são permitidas imagens (JPEG, PNG, GIF, WebP) e ficheiros PDF.`,kN=()=>`Kun billeder (JPEG, PNG, GIF, WebP) og PDF-filer er tilladt.`,AN=()=>`Dovoljene so samo slike (JPEG, PNG, GIF, WebP) in datoteke PDF.`,jN=()=>`Dopuštene su samo slike (JPEG, PNG, GIF, WebP) i PDF datoteke.`,MN=()=>`Sunt permise doar imagini (JPEG, PNG, GIF, WebP) și fișiere PDF.`,NN=()=>`Endast bilder (JPEG, PNG, GIF, WebP) och PDF-filer är tillåtna.`,PN=()=>`Vain kuvat (JPEG, PNG, GIF, WebP) ja PDF-tiedostot ovat sallittuja.`,FN=((e={},t={})=>{let n=t.locale??$();return n===`bg`?mN(e):n===`cs`?hN(e):n===`sk`?gN(e):n===`es`?_N(e):n===`de`?vN(e):n===`et`?yN(e):n===`fr`?bN(e):n===`pl`?xN(e):n===`hu`?SN(e):n===`it`?CN(e):n===`lt`?wN(e):n===`lv`?TN(e):n===`nl`?EN(e):n===`no`?DN(e):n===`pt`?ON(e):n===`da`?kN(e):n===`sl`?AN(e):n===`hr`?jN(e):n===`ro`?MN(e):n===`sv`?NN(e):n===`fi`?PN(e):pN(e)}),IN=()=>`Allow microphone access.`,LN=()=>`Разрешете достъп до микрофона.`,RN=()=>`Povolte přístup k mikrofonu.`,zN=()=>`Povoľte prístup k mikrofónu.`,BN=()=>`Permite el acceso al micrófono.`,VN=()=>`Erlauben Sie den Zugriff auf das Mikrofon.`,HN=()=>`Lubage juurdepääs mikrofonile.`,UN=()=>`Autorisez l’accès au microphone.`,WN=()=>`Zezwól na dostęp do mikrofonu.`,GN=()=>`Engedélyezze a mikrofon használatát.`,KN=()=>`Consenti l’accesso al microfono.`,qN=()=>`Leiskite naudoti mikrofoną.`,JN=()=>`Atļaujiet piekļuvi mikrofonam.`,YN=()=>`Geef toegang tot de microfoon.`,XN=()=>`Tillat tilgang til mikrofonen.`,ZN=()=>`Permite o acesso ao microfone.`,QN=()=>`Tillad adgang til mikrofonen.`,$N=()=>`Dovolite dostop do mikrofona.`,eP=()=>`Dopustite pristup mikrofonu.`,tP=()=>`Permiteți accesul la microfon.`,nP=()=>`Tillåt åtkomst till mikrofonen.`,rP=()=>`Salli mikrofonin käyttö.`,iP=((e={},t={})=>{let n=t.locale??$();return n===`bg`?LN(e):n===`cs`?RN(e):n===`sk`?zN(e):n===`es`?BN(e):n===`de`?VN(e):n===`et`?HN(e):n===`fr`?UN(e):n===`pl`?WN(e):n===`hu`?GN(e):n===`it`?KN(e):n===`lt`?qN(e):n===`lv`?JN(e):n===`nl`?YN(e):n===`no`?XN(e):n===`pt`?ZN(e):n===`da`?QN(e):n===`sl`?$N(e):n===`hr`?eP(e):n===`ro`?tP(e):n===`sv`?nP(e):n===`fi`?rP(e):IN(e)}),aP=()=>`Could not start the microphone.`,oP=()=>`Микрофонът не можа да бъде включен.`,sP=()=>`Mikrofon se nepodařilo spustit.`,cP=()=>`Mikrofón sa nepodarilo spustiť.`,lP=()=>`No se pudo iniciar el micrófono.`,uP=()=>`Das Mikrofon konnte nicht gestartet werden.`,dP=()=>`Mikrofoni ei õnnestunud käivitada.`,fP=()=>`Le microphone n’a pas pu démarrer.`,pP=()=>`Nie udało się uruchomić mikrofonu.`,mP=()=>`Nem sikerült elindítani a mikrofont.`,hP=()=>`Non è stato possibile avviare il microfono.`,gP=()=>`Nepavyko įjungti mikrofono.`,_P=()=>`Neizdevās ieslēgt mikrofonu.`,vP=()=>`De microfoon kon niet worden gestart.`,yP=()=>`Kunne ikke starte mikrofonen.`,bP=()=>`Não foi possível iniciar o microfone.`,xP=()=>`Mikrofonen kunne ikke startes.`,SP=()=>`Mikrofona ni bilo mogoče zagnati.`,CP=()=>`Mikrofon nije bilo moguće pokrenuti.`,wP=()=>`Microfonul nu a putut fi pornit.`,TP=()=>`Mikrofonen kunde inte startas.`,EP=()=>`Mikrofonia ei voitu käynnistää.`,DP=((e={},t={})=>{let n=t.locale??$();return n===`bg`?oP(e):n===`cs`?sP(e):n===`sk`?cP(e):n===`es`?lP(e):n===`de`?uP(e):n===`et`?dP(e):n===`fr`?fP(e):n===`pl`?pP(e):n===`hu`?mP(e):n===`it`?hP(e):n===`lt`?gP(e):n===`lv`?_P(e):n===`nl`?vP(e):n===`no`?yP(e):n===`pt`?bP(e):n===`da`?xP(e):n===`sl`?SP(e):n===`hr`?CP(e):n===`ro`?wP(e):n===`sv`?TP(e):n===`fi`?EP(e):aP(e)}),OP=()=>`Recording is too short.`,kP=()=>`Записът е твърде кратък.`,AP=()=>`Nahrávka je příliš krátká.`,jP=()=>`Nahrávka je príliš krátka.`,MP=()=>`La grabación es demasiado corta.`,NP=()=>`Die Aufnahme ist zu kurz.`,PP=()=>`Salvestis on liiga lühike.`,FP=()=>`L’enregistrement est trop court.`,IP=()=>`Nagranie jest zbyt krótkie.`,LP=()=>`A felvétel túl rövid.`,RP=()=>`La registrazione è troppo breve.`,zP=()=>`Įrašas per trumpas.`,BP=()=>`Ieraksts ir pārāk īss.`,VP=()=>`De opname is te kort.`,HP=()=>`Opptaket er for kort.`,UP=()=>`A gravação é demasiado curta.`,WP=()=>`Optagelsen er for kort.`,GP=()=>`Posnetek je prekratek.`,KP=()=>`Snimka je prekratka.`,qP=()=>`Înregistrarea este prea scurtă.`,JP=()=>`Inspelningen är för kort.`,YP=()=>`Tallenne on liian lyhyt.`,XP=((e={},t={})=>{let n=t.locale??$();return n===`bg`?kP(e):n===`cs`?AP(e):n===`sk`?jP(e):n===`es`?MP(e):n===`de`?NP(e):n===`et`?PP(e):n===`fr`?FP(e):n===`pl`?IP(e):n===`hu`?LP(e):n===`it`?RP(e):n===`lt`?zP(e):n===`lv`?BP(e):n===`nl`?VP(e):n===`no`?HP(e):n===`pt`?UP(e):n===`da`?WP(e):n===`sl`?GP(e):n===`hr`?KP(e):n===`ro`?qP(e):n===`sv`?JP(e):n===`fi`?YP(e):OP(e)}),ZP=()=>`No reply arrived. Try again.`,QP=()=>`Не беше получен отговор. Опитайте отново.`,$P=()=>`Odpověď nedorazila. Zkuste to znovu.`,eF=()=>`Odpoveď neprišla. Skúste to znova.`,tF=()=>`No llegó ninguna respuesta. Inténtalo de nuevo.`,nF=()=>`Es ist keine Antwort eingegangen. Versuchen Sie es erneut.`,rF=()=>`Vastust ei saabunud. Proovige uuesti.`,iF=()=>`Aucune réponse n’est arrivée. Réessayez.`,aF=()=>`Odpowiedź nie nadeszła. Spróbuj ponownie.`,oF=()=>`Nem érkezett válasz. Próbálja újra.`,sF=()=>`Non è arrivata alcuna risposta. Riprova.`,cF=()=>`Atsakymas negautas. Bandykite dar kartą.`,lF=()=>`Atbilde netika saņemta. Mēģiniet vēlreiz.`,uF=()=>`Er is geen antwoord gekomen. Probeer het opnieuw.`,dF=()=>`Det kom ikke noe svar. Prøv igjen.`,fF=()=>`Não chegou nenhuma resposta. Tenta novamente.`,pF=()=>`Der kom intet svar. Prøv igen.`,mF=()=>`Odgovor ni prispel. Poskusite znova.`,hF=()=>`Odgovor nije stigao. Pokušajte ponovno.`,gF=()=>`Nu a sosit niciun răspuns. Încercați din nou.`,_F=()=>`Inget svar kom. Försök igen.`,vF=()=>`Vastausta ei saapunut. Yritä uudelleen.`,yF=((e={},t={})=>{let n=t.locale??$();return n===`bg`?QP(e):n===`cs`?$P(e):n===`sk`?eF(e):n===`es`?tF(e):n===`de`?nF(e):n===`et`?rF(e):n===`fr`?iF(e):n===`pl`?aF(e):n===`hu`?oF(e):n===`it`?sF(e):n===`lt`?cF(e):n===`lv`?lF(e):n===`nl`?uF(e):n===`no`?dF(e):n===`pt`?fF(e):n===`da`?pF(e):n===`sl`?mF(e):n===`hr`?hF(e):n===`ro`?gF(e):n===`sv`?_F(e):n===`fi`?vF(e):ZP(e)}),bF=()=>`Could not recognize speech.`,xF=()=>`Неуспешно разпознаване на речта.`,SF=()=>`Nepodařilo se rozpoznat řeč.`,CF=()=>`Nepodarilo sa rozpoznať reč.`,wF=()=>`No se pudo reconocer la voz.`,TF=()=>`Die Sprache konnte nicht erkannt werden.`,EF=()=>`Kõnet ei õnnestunud tuvastada.`,DF=()=>`La parole n’a pas pu être reconnue.`,OF=()=>`Nie udało się rozpoznać mowy.`,kF=()=>`Nem sikerült felismerni a beszédet.`,AF=()=>`Non è stato possibile riconoscere la voce.`,jF=()=>`Nepavyko atpažinti kalbos.`,MF=()=>`Neizdevās atpazīt runu.`,NF=()=>`De spraak kon niet worden herkend.`,PF=()=>`Kunne ikke gjenkjenne talen.`,FF=()=>`Não foi possível reconhecer a fala.`,IF=()=>`Talen kunne ikke genkendes.`,LF=()=>`Govora ni bilo mogoče prepoznati.`,RF=()=>`Govor nije bilo moguće prepoznati.`,zF=()=>`Vocea nu a putut fi recunoscută.`,BF=()=>`Talet kunde inte identifieras.`,VF=()=>`Puhetta ei voitu tunnistaa.`,HF=((e={},t={})=>{let n=t.locale??$();return n===`bg`?xF(e):n===`cs`?SF(e):n===`sk`?CF(e):n===`es`?wF(e):n===`de`?TF(e):n===`et`?EF(e):n===`fr`?DF(e):n===`pl`?OF(e):n===`hu`?kF(e):n===`it`?AF(e):n===`lt`?jF(e):n===`lv`?MF(e):n===`nl`?NF(e):n===`no`?PF(e):n===`pt`?FF(e):n===`da`?IF(e):n===`sl`?LF(e):n===`hr`?RF(e):n===`ro`?zF(e):n===`sv`?BF(e):n===`fi`?VF(e):bF(e)}),UF=()=>`You can attach up to 5 files per message.`,WF=()=>`Можете да прикачите до 5 файла към едно съобщение.`,GF=()=>`Ke zprávě lze přiložit nejvýš 5 souborů.`,KF=()=>`K správe môžete priložiť najviac 5 súborov.`,qF=()=>`Puedes adjuntar hasta 5 archivos por mensaje.`,JF=()=>`Sie können bis zu 5 Dateien pro Nachricht anhängen.`,YF=()=>`Ühele sõnumile saate lisada kuni 5 faili.`,XF=()=>`Vous pouvez joindre jusqu’à 5 fichiers par message.`,ZF=()=>`Możesz załączyć maksymalnie 5 plików do jednej wiadomości.`,QF=()=>`Üzenetenként legfeljebb 5 fájlt csatolhat.`,$F=()=>`Puoi allegare fino a 5 file per messaggio.`,eI=()=>`Prie vienos žinutės galite pridėti iki 5 failų.`,tI=()=>`Vienai ziņai varat pievienot līdz 5 failiem.`,nI=()=>`Je kunt maximaal 5 bestanden per bericht bijvoegen.`,rI=()=>`Du kan legge ved opptil 5 filer per melding.`,iI=()=>`Podes anexar até 5 ficheiros por mensagem.`,aI=()=>`Du kan vedhæfte op til 5 filer pr. besked.`,oI=()=>`Vsakemu sporočilu lahko priložite največ 5 datotek.`,sI=()=>`Uz poruku možete priložiti najviše 5 datoteka.`,cI=()=>`Puteți atașa până la 5 fișiere per mesaj.`,lI=()=>`Du kan bifoga upp till 5 filer per meddelande.`,uI=()=>`Voit liittää enintään 5 tiedostoa viestiä kohden.`,dI=((e={},t={})=>{let n=t.locale??$();return n===`bg`?WF(e):n===`cs`?GF(e):n===`sk`?KF(e):n===`es`?qF(e):n===`de`?JF(e):n===`et`?YF(e):n===`fr`?XF(e):n===`pl`?ZF(e):n===`hu`?QF(e):n===`it`?$F(e):n===`lt`?eI(e):n===`lv`?tI(e):n===`nl`?nI(e):n===`no`?rI(e):n===`pt`?iI(e):n===`da`?aI(e):n===`sl`?oI(e):n===`hr`?sI(e):n===`ro`?cI(e):n===`sv`?lI(e):n===`fi`?uI(e):UF(e)}),fI=()=>`Transcription failed.`,pI=()=>`Транскрибирането е неуспешно.`,mI=()=>`Přepis se nepovedl.`,hI=()=>`Prepis sa nepodaril.`,gI=()=>`No se pudo transcribir.`,_I=()=>`Die Transkription ist fehlgeschlagen.`,vI=()=>`Transkribeerimine ebaõnnestus.`,yI=()=>`La transcription a échoué.`,bI=()=>`Transkrypcja nie powiodła się.`,xI=()=>`Az átírás nem sikerült.`,SI=()=>`La trascrizione non è riuscita.`,CI=()=>`Nepavyko transkribuoti.`,wI=()=>`Transkribēšana neizdevās.`,TI=()=>`Transcriberen is mislukt.`,EI=()=>`Transkriberingen mislyktes.`,DI=()=>`A transcrição falhou.`,OI=()=>`Transskriptionen mislykkedes.`,kI=()=>`Prepisovanje ni uspelo.`,AI=()=>`Prepisivanje nije uspjelo.`,jI=()=>`Transcrierea a eșuat.`,MI=()=>`Transkriberingen misslyckades.`,NI=()=>`Tekstiksi muuntaminen epäonnistui.`,PI=((e={},t={})=>{let n=t.locale??$();return n===`bg`?pI(e):n===`cs`?mI(e):n===`sk`?hI(e):n===`es`?gI(e):n===`de`?_I(e):n===`et`?vI(e):n===`fr`?yI(e):n===`pl`?bI(e):n===`hu`?xI(e):n===`it`?SI(e):n===`lt`?CI(e):n===`lv`?wI(e):n===`nl`?TI(e):n===`no`?EI(e):n===`pt`?DI(e):n===`da`?OI(e):n===`sl`?kI(e):n===`hr`?AI(e):n===`ro`?jI(e):n===`sv`?MI(e):n===`fi`?NI(e):fI(e)}),FI=()=>`Could not upload the file.`,II=()=>`Файлът не можа да бъде качен.`,LI=()=>`Soubor se nepodařilo nahrát.`,RI=()=>`Súbor sa nepodarilo nahrať.`,zI=()=>`No se pudo subir el archivo.`,BI=()=>`Die Datei konnte nicht hochgeladen werden.`,VI=()=>`Faili üleslaadimine ebaõnnestus.`,HI=()=>`Le fichier n’a pas pu être téléversé.`,UI=()=>`Nie udało się przesłać pliku.`,WI=()=>`Nem sikerült feltölteni a fájlt.`,GI=()=>`Non è stato possibile caricare il file.`,KI=()=>`Nepavyko įkelti failo.`,qI=()=>`Neizdevās augšupielādēt failu.`,JI=()=>`Het bestand kon niet worden geüpload.`,YI=()=>`Kunne ikke laste opp filen.`,XI=()=>`Não foi possível carregar o ficheiro.`,ZI=()=>`Filen kunne ikke uploades.`,QI=()=>`Datoteke ni bilo mogoče naložiti.`,$I=()=>`Datoteku nije bilo moguće prenijeti.`,eL=()=>`Fișierul nu a putut fi încărcat.`,tL=()=>`Filen kunde inte laddas upp.`,nL=()=>`Tiedostoa ei voitu ladata.`,rL=((e={},t={})=>{let n=t.locale??$();return n===`bg`?II(e):n===`cs`?LI(e):n===`sk`?RI(e):n===`es`?zI(e):n===`de`?BI(e):n===`et`?VI(e):n===`fr`?HI(e):n===`pl`?UI(e):n===`hu`?WI(e):n===`it`?GI(e):n===`lt`?KI(e):n===`lv`?qI(e):n===`nl`?JI(e):n===`no`?YI(e):n===`pt`?XI(e):n===`da`?ZI(e):n===`sl`?QI(e):n===`hr`?$I(e):n===`ro`?eL(e):n===`sv`?tL(e):n===`fi`?nL(e):FI(e)}),iL=()=>`Voice calling is not available.`,aL=()=>`Гласовите разговори не са достъпни.`,oL=()=>`Hlasové volání není dostupné.`,sL=()=>`Hlasové volanie nie je dostupné.`,cL=()=>`Las llamadas de voz no están disponibles.`,lL=()=>`Sprachanrufe sind nicht verfügbar.`,uL=()=>`Häälkõned pole saadaval.`,dL=()=>`Les appels vocaux ne sont pas disponibles.`,fL=()=>`Połączenia głosowe nie są dostępne.`,pL=()=>`A hanghívás nem érhető el.`,mL=()=>`Le chiamate vocali non sono disponibili.`,hL=()=>`Balso skambučiai nepasiekiami.`,gL=()=>`Balss zvani nav pieejami.`,_L=()=>`Spraakoproepen zijn niet beschikbaar.`,vL=()=>`Taleanrop er ikke tilgjengelig.`,yL=()=>`As chamadas de voz não estão disponíveis.`,bL=()=>`Stemmeopkald er ikke tilgængelige.`,xL=()=>`Glasovni klici niso na voljo.`,SL=()=>`Glasovni pozivi nisu dostupni.`,CL=()=>`Apelurile vocale nu sunt disponibile.`,wL=()=>`Röstsamtal är inte tillgängliga.`,TL=()=>`Äänipuhelut eivät ole käytettävissä.`,EL=((e={},t={})=>{let n=t.locale??$();return n===`bg`?aL(e):n===`cs`?oL(e):n===`sk`?sL(e):n===`es`?cL(e):n===`de`?lL(e):n===`et`?uL(e):n===`fr`?dL(e):n===`pl`?fL(e):n===`hu`?pL(e):n===`it`?mL(e):n===`lt`?hL(e):n===`lv`?gL(e):n===`nl`?_L(e):n===`no`?vL(e):n===`pt`?yL(e):n===`da`?bL(e):n===`sl`?xL(e):n===`hr`?SL(e):n===`ro`?CL(e):n===`sv`?wL(e):n===`fi`?TL(e):iL(e)}),DL=()=>`Image`,OL=()=>`Изображение`,kL=()=>`Obrázek`,AL=()=>`Obrázok`,jL=()=>`Imagen`,ML=()=>`Bild`,NL=()=>`Pilt`,PL=()=>`Image`,FL=()=>`Obraz`,IL=()=>`Kép`,LL=()=>`Immagine`,RL=()=>`Vaizdas`,zL=()=>`Attēls`,BL=()=>`Afbeelding`,VL=()=>`Bilde`,HL=()=>`Imagem`,UL=()=>`Billede`,WL=()=>`Slika`,GL=()=>`Slika`,KL=()=>`Imagine`,qL=()=>`Bild`,JL=()=>`Kuva`,YL=((e={},t={})=>{let n=t.locale??$();return n===`bg`?OL(e):n===`cs`?kL(e):n===`sk`?AL(e):n===`es`?jL(e):n===`de`?ML(e):n===`et`?NL(e):n===`fr`?PL(e):n===`pl`?FL(e):n===`hu`?IL(e):n===`it`?LL(e):n===`lt`?RL(e):n===`lv`?zL(e):n===`nl`?BL(e):n===`no`?VL(e):n===`pt`?HL(e):n===`da`?UL(e):n===`sl`?WL(e):n===`hr`?GL(e):n===`ro`?KL(e):n===`sv`?qL(e):n===`fi`?JL(e):DL(e)}),XL=()=>`Link`,ZL=()=>`Връзка`,QL=()=>`Odkaz`,$L=()=>`Odkaz`,eR=()=>`Enlace`,tR=()=>`Link`,nR=()=>`Link`,rR=()=>`Lien`,iR=()=>`Link`,aR=()=>`Hivatkozás`,oR=()=>`Link`,sR=()=>`Nuoroda`,cR=()=>`Saite`,lR=()=>`Link`,uR=()=>`Lenke`,dR=()=>`Ligação`,fR=()=>`Link`,pR=()=>`Povezava`,mR=()=>`Poveznica`,hR=()=>`Link`,gR=()=>`Länk`,_R=()=>`Linkki`,vR=((e={},t={})=>{let n=t.locale??$();return n===`bg`?ZL(e):n===`cs`?QL(e):n===`sk`?$L(e):n===`es`?eR(e):n===`de`?tR(e):n===`et`?nR(e):n===`fr`?rR(e):n===`pl`?iR(e):n===`hu`?aR(e):n===`it`?oR(e):n===`lt`?sR(e):n===`lv`?cR(e):n===`nl`?lR(e):n===`no`?uR(e):n===`pt`?dR(e):n===`da`?fR(e):n===`sl`?pR(e):n===`hr`?mR(e):n===`ro`?hR(e):n===`sv`?gR(e):n===`fi`?_R(e):XL(e)}),yR=()=>`PDF`,bR=()=>`PDF`,xR=()=>`PDF`,SR=()=>`PDF`,CR=()=>`PDF`,wR=()=>`PDF`,TR=()=>`PDF`,ER=()=>`PDF`,DR=()=>`PDF`,OR=()=>`PDF`,kR=()=>`PDF`,AR=()=>`PDF`,jR=()=>`PDF`,MR=()=>`PDF`,NR=()=>`PDF`,PR=()=>`PDF`,FR=()=>`PDF`,IR=()=>`PDF`,LR=()=>`PDF`,RR=()=>`PDF`,zR=()=>`PDF`,BR=()=>`PDF`,VR=((e={},t={})=>{let n=t.locale??$();return n===`bg`?bR(e):n===`cs`?xR(e):n===`sk`?SR(e):n===`es`?CR(e):n===`de`?wR(e):n===`et`?TR(e):n===`fr`?ER(e):n===`pl`?DR(e):n===`hu`?OR(e):n===`it`?kR(e):n===`lt`?AR(e):n===`lv`?jR(e):n===`nl`?MR(e):n===`no`?NR(e):n===`pt`?PR(e):n===`da`?FR(e):n===`sl`?IR(e):n===`hr`?LR(e):n===`ro`?RR(e):n===`sv`?zR(e):n===`fi`?BR(e):yR(e)}),HR=()=>`Hang up`,UR=()=>`Край на разговора`,WR=()=>`Zavěsit`,GR=()=>`Zložiť`,KR=()=>`Colgar`,qR=()=>`Auflegen`,JR=()=>`Lõpeta kõne`,YR=()=>`Raccrocher`,XR=()=>`Rozłącz się`,ZR=()=>`Hívás befejezése`,QR=()=>`Termina chiamata`,$R=()=>`Baigti skambutį`,ez=()=>`Beigt zvanu`,tz=()=>`Ophangen`,nz=()=>`Avslutt samtalen`,rz=()=>`Desligar`,iz=()=>`Læg på`,az=()=>`Končaj klic`,oz=()=>`Prekini poziv`,sz=()=>`Încheie apelul`,cz=()=>`Lägg på`,lz=()=>`Lopeta puhelu`,uz=((e={},t={})=>{let n=t.locale??$();return n===`bg`?UR(e):n===`cs`?WR(e):n===`sk`?GR(e):n===`es`?KR(e):n===`de`?qR(e):n===`et`?JR(e):n===`fr`?YR(e):n===`pl`?XR(e):n===`hu`?ZR(e):n===`it`?QR(e):n===`lt`?$R(e):n===`lv`?ez(e):n===`nl`?tz(e):n===`no`?nz(e):n===`pt`?rz(e):n===`da`?iz(e):n===`sl`?az(e):n===`hr`?oz(e):n===`ro`?sz(e):n===`sv`?cz(e):n===`fi`?lz(e):HR(e)}),dz=()=>`An operator connected.`,fz=()=>`Оператор се свърза.`,pz=()=>`Operátor se připojil.`,mz=()=>`Operátor sa pripojil.`,hz=()=>`Un operador se ha conectado.`,gz=()=>`Ein Mitarbeiter hat sich verbunden.`,_z=()=>`Operaator liitus vestlusega.`,vz=()=>`Un opérateur s’est connecté.`,yz=()=>`Operator się połączył.`,bz=()=>`Egy ügyintéző csatlakozott.`,xz=()=>`Un operatore si è connesso.`,Sz=()=>`Operatorius prisijungė.`,Cz=()=>`Operators pievienojās sarunai.`,wz=()=>`Een medewerker heeft verbinding gemaakt.`,Tz=()=>`En operatør koblet seg til.`,Ez=()=>`Um operador ligou-se.`,Dz=()=>`En medarbejder har tilsluttet sig.`,Oz=()=>`Operater se je povezal.`,kz=()=>`Operater se povezao.`,Az=()=>`Un operator s-a conectat.`,jz=()=>`En medarbetare anslöt.`,Mz=()=>`Asiakaspalvelija liittyi keskusteluun.`,Nz=((e={},t={})=>{let n=t.locale??$();return n===`bg`?fz(e):n===`cs`?pz(e):n===`sk`?mz(e):n===`es`?hz(e):n===`de`?gz(e):n===`et`?_z(e):n===`fr`?vz(e):n===`pl`?yz(e):n===`hu`?bz(e):n===`it`?xz(e):n===`lt`?Sz(e):n===`lv`?Cz(e):n===`nl`?wz(e):n===`no`?Tz(e):n===`pt`?Ez(e):n===`da`?Dz(e):n===`sl`?Oz(e):n===`hr`?kz(e):n===`ro`?Az(e):n===`sv`?jz(e):n===`fi`?Mz(e):dz(e)}),Pz=()=>`Message…`,Fz=()=>`Съобщение…`,Iz=()=>`Zpráva…`,Lz=()=>`Správa…`,Rz=()=>`Mensaje…`,zz=()=>`Nachricht…`,Bz=()=>`Sõnum…`,Vz=()=>`Message…`,Hz=()=>`Wiadomość…`,Uz=()=>`Üzenet…`,Wz=()=>`Messaggio…`,Gz=()=>`Žinutė…`,Kz=()=>`Ziņa…`,qz=()=>`Bericht…`,Jz=()=>`Melding…`,Yz=()=>`Mensagem…`,Xz=()=>`Besked…`,Zz=()=>`Sporočilo…`,Qz=()=>`Poruka…`,$z=()=>`Mesaj…`,eB=()=>`Meddelande…`,tB=()=>`Viesti…`,nB=((e={},t={})=>{let n=t.locale??$();return n===`bg`?Fz(e):n===`cs`?Iz(e):n===`sk`?Lz(e):n===`es`?Rz(e):n===`de`?zz(e):n===`et`?Bz(e):n===`fr`?Vz(e):n===`pl`?Hz(e):n===`hu`?Uz(e):n===`it`?Wz(e):n===`lt`?Gz(e):n===`lv`?Kz(e):n===`nl`?qz(e):n===`no`?Jz(e):n===`pt`?Yz(e):n===`da`?Xz(e):n===`sl`?Zz(e):n===`hr`?Qz(e):n===`ro`?$z(e):n===`sv`?eB(e):n===`fi`?tB(e):Pz(e)}),rB=()=>`Transcribing…`,iB=()=>`Транскрибиране…`,aB=()=>`Přepisuji…`,oB=()=>`Prepisujem…`,sB=()=>`Transcribiendo…`,cB=()=>`Wird transkribiert…`,lB=()=>`Transkribeerimine…`,uB=()=>`Transcription en cours…`,dB=()=>`Transkrypcja…`,fB=()=>`Átírás folyamatban…`,pB=()=>`Trascrizione in corso…`,mB=()=>`Transkribuojama…`,hB=()=>`Notiek transkribēšana…`,gB=()=>`Transcriberen…`,_B=()=>`Transkriberer…`,vB=()=>`A transcrever…`,yB=()=>`Transskriberer…`,bB=()=>`Prepisovanje…`,xB=()=>`Prepisivanje…`,SB=()=>`Se transcrie…`,CB=()=>`Transkriberar…`,wB=()=>`Muunnetaan tekstiksi…`,TB=((e={},t={})=>{let n=t.locale??$();return n===`bg`?iB(e):n===`cs`?aB(e):n===`sk`?oB(e):n===`es`?sB(e):n===`de`?cB(e):n===`et`?lB(e):n===`fr`?uB(e):n===`pl`?dB(e):n===`hu`?fB(e):n===`it`?pB(e):n===`lt`?mB(e):n===`lv`?hB(e):n===`nl`?gB(e):n===`no`?_B(e):n===`pt`?vB(e):n===`da`?yB(e):n===`sl`?bB(e):n===`hr`?xB(e):n===`ro`?SB(e):n===`sv`?CB(e):n===`fi`?wB(e):rB(e)}),EB=()=>`How did we do?`,DB=()=>`Как се справихме?`,OB=()=>`Jak jsme to zvládli?`,kB=()=>`Ako sme to zvládli?`,AB=()=>`¿Qué tal lo hemos hecho?`,jB=()=>`Wie zufrieden waren Sie?`,MB=()=>`Kuidas meil läks?`,NB=()=>`Comment avons-nous fait\xA0?`,PB=()=>`Jak nam poszło?`,FB=()=>`Hogyan teljesítettünk?`,IB=()=>`Come è andata?`,LB=()=>`Kaip mums sekėsi?`,RB=()=>`Kā mums veicās?`,zB=()=>`Hoe hebben we het gedaan?`,BB=()=>`Hvordan gjorde vi det?`,VB=()=>`Como correu?`,HB=()=>`Hvordan klarede vi det?`,UB=()=>`Kako smo se odrezali?`,WB=()=>`Kako smo se pokazali?`,GB=()=>`Cum ne-am descurcat?`,KB=()=>`Hur gick det?`,qB=()=>`Miten onnistuimme?`,JB=((e={},t={})=>{let n=t.locale??$();return n===`bg`?DB(e):n===`cs`?OB(e):n===`sk`?kB(e):n===`es`?AB(e):n===`de`?jB(e):n===`et`?MB(e):n===`fr`?NB(e):n===`pl`?PB(e):n===`hu`?FB(e):n===`it`?IB(e):n===`lt`?LB(e):n===`lv`?RB(e):n===`nl`?zB(e):n===`no`?BB(e):n===`pt`?VB(e):n===`da`?HB(e):n===`sl`?UB(e):n===`hr`?WB(e):n===`ro`?GB(e):n===`sv`?KB(e):n===`fi`?qB(e):EB(e)}),YB=()=>`Thanks for the rating.`,XB=()=>`Благодарим за оценката.`,ZB=()=>`Díky za hodnocení.`,QB=()=>`Ďakujeme za hodnotenie.`,$B=()=>`Gracias por tu valoración.`,eV=()=>`Vielen Dank für Ihre Bewertung.`,tV=()=>`Täname hinnangu eest.`,nV=()=>`Merci pour votre évaluation.`,rV=()=>`Dziękujemy za ocenę.`,iV=()=>`Köszönjük az értékelést.`,aV=()=>`Grazie per la valutazione.`,oV=()=>`Dėkojame už įvertinimą.`,sV=()=>`Paldies par vērtējumu.`,cV=()=>`Bedankt voor je beoordeling.`,lV=()=>`Takk for vurderingen.`,uV=()=>`Obrigado pela avaliação.`,dV=()=>`Tak for din bedømmelse.`,fV=()=>`Hvala za vašo oceno.`,pV=()=>`Hvala vam na ocjeni.`,mV=()=>`Vă mulțumim pentru evaluare.`,hV=()=>`Tack för ditt omdöme.`,gV=()=>`Kiitos arviostasi.`,_V=((e={},t={})=>{let n=t.locale??$();return n===`bg`?XB(e):n===`cs`?ZB(e):n===`sk`?QB(e):n===`es`?$B(e):n===`de`?eV(e):n===`et`?tV(e):n===`fr`?nV(e):n===`pl`?rV(e):n===`hu`?iV(e):n===`it`?aV(e):n===`lt`?oV(e):n===`lv`?sV(e):n===`nl`?cV(e):n===`no`?lV(e):n===`pt`?uV(e):n===`da`?dV(e):n===`sl`?fV(e):n===`hr`?pV(e):n===`ro`?mV(e):n===`sv`?hV(e):n===`fi`?gV(e):YB(e)}),vV=()=>`Older`,yV=()=>`По-стари`,bV=()=>`Starší`,xV=()=>`Staršie`,SV=()=>`Anteriores`,CV=()=>`Älter`,wV=()=>`Vanemad`,TV=()=>`Plus anciennes`,EV=()=>`Starsze`,DV=()=>`Régebbi`,OV=()=>`Meno recenti`,kV=()=>`Senesni`,AV=()=>`Senāki`,jV=()=>`Ouder`,MV=()=>`Eldre`,NV=()=>`Mais antigas`,PV=()=>`Ældre`,FV=()=>`Starejše`,IV=()=>`Starije`,LV=()=>`Mai vechi`,RV=()=>`Äldre`,zV=()=>`Vanhemmat`,BV=((e={},t={})=>{let n=t.locale??$();return n===`bg`?yV(e):n===`cs`?bV(e):n===`sk`?xV(e):n===`es`?SV(e):n===`de`?CV(e):n===`et`?wV(e):n===`fr`?TV(e):n===`pl`?EV(e):n===`hu`?DV(e):n===`it`?OV(e):n===`lt`?kV(e):n===`lv`?AV(e):n===`nl`?jV(e):n===`no`?MV(e):n===`pt`?NV(e):n===`da`?PV(e):n===`sl`?FV(e):n===`hr`?IV(e):n===`ro`?LV(e):n===`sv`?RV(e):n===`fi`?zV(e):vV(e)}),VV=()=>`Today`,HV=()=>`Днес`,UV=()=>`Dnes`,WV=()=>`Dnes`,GV=()=>`Hoy`,KV=()=>`Heute`,qV=()=>`Täna`,JV=()=>`Aujourd’hui`,YV=()=>`Dzisiaj`,XV=()=>`Ma`,ZV=()=>`Oggi`,QV=()=>`Šiandien`,$V=()=>`Šodien`,eH=()=>`Vandaag`,tH=()=>`I dag`,nH=()=>`Hoje`,rH=()=>`I dag`,iH=()=>`Danes`,aH=()=>`Danas`,oH=()=>`Astăzi`,sH=()=>`Idag`,cH=()=>`Tänään`,lH=((e={},t={})=>{let n=t.locale??$();return n===`bg`?HV(e):n===`cs`?UV(e):n===`sk`?WV(e):n===`es`?GV(e):n===`de`?KV(e):n===`et`?qV(e):n===`fr`?JV(e):n===`pl`?YV(e):n===`hu`?XV(e):n===`it`?ZV(e):n===`lt`?QV(e):n===`lv`?$V(e):n===`nl`?eH(e):n===`no`?tH(e):n===`pt`?nH(e):n===`da`?rH(e):n===`sl`?iH(e):n===`hr`?aH(e):n===`ro`?oH(e):n===`sv`?sH(e):n===`fi`?cH(e):VV(e)}),uH=()=>`This week`,dH=()=>`Тази седмица`,fH=()=>`Tento týden`,pH=()=>`Tento týždeň`,mH=()=>`Esta semana`,hH=()=>`Diese Woche`,gH=()=>`Sel nädalal`,_H=()=>`Cette semaine`,vH=()=>`W tym tygodniu`,yH=()=>`Ezen a héten`,bH=()=>`Questa settimana`,xH=()=>`Šią savaitę`,SH=()=>`Šonedēļ`,CH=()=>`Deze week`,wH=()=>`Denne uken`,TH=()=>`Esta semana`,EH=()=>`Denne uge`,DH=()=>`Ta teden`,OH=()=>`Ovaj tjedan`,kH=()=>`Săptămâna aceasta`,AH=()=>`Den här veckan`,jH=()=>`Tällä viikolla`,MH=((e={},t={})=>{let n=t.locale??$();return n===`bg`?dH(e):n===`cs`?fH(e):n===`sk`?pH(e):n===`es`?mH(e):n===`de`?hH(e):n===`et`?gH(e):n===`fr`?_H(e):n===`pl`?vH(e):n===`hu`?yH(e):n===`it`?bH(e):n===`lt`?xH(e):n===`lv`?SH(e):n===`nl`?CH(e):n===`no`?wH(e):n===`pt`?TH(e):n===`da`?EH(e):n===`sl`?DH(e):n===`hr`?OH(e):n===`ro`?kH(e):n===`sv`?AH(e):n===`fi`?jH(e):uH(e)}),NH=()=>`Yesterday`,PH=()=>`Вчера`,FH=()=>`Včera`,IH=()=>`Včera`,LH=()=>`Ayer`,RH=()=>`Gestern`,zH=()=>`Eile`,BH=()=>`Hier`,VH=()=>`Wczoraj`,HH=()=>`Tegnap`,UH=()=>`Ieri`,WH=()=>`Vakar`,GH=()=>`Vakar`,KH=()=>`Gisteren`,qH=()=>`I går`,JH=()=>`Ontem`,YH=()=>`I går`,XH=()=>`Včeraj`,ZH=()=>`Jučer`,QH=()=>`Ieri`,$H=()=>`Igår`,eU=()=>`Eilen`,tU=((e={},t={})=>{let n=t.locale??$();return n===`bg`?PH(e):n===`cs`?FH(e):n===`sk`?IH(e):n===`es`?LH(e):n===`de`?RH(e):n===`et`?zH(e):n===`fr`?BH(e):n===`pl`?VH(e):n===`hu`?HH(e):n===`it`?UH(e):n===`lt`?WH(e):n===`lv`?GH(e):n===`nl`?KH(e):n===`no`?qH(e):n===`pt`?JH(e):n===`da`?YH(e):n===`sl`?XH(e):n===`hr`?ZH(e):n===`ro`?QH(e):n===`sv`?$H(e):n===`fi`?eU(e):NH(e)}),nU=()=>`AI Assistant`,rU=()=>`AI асистент`,iU=()=>`AI asistent`,aU=()=>`AI asistent`,oU=()=>`Asistente de IA`,sU=()=>`AI-Assistenz`,cU=()=>`AI-assistent`,lU=()=>`Assistant IA`,uU=()=>`Asystent AI`,dU=()=>`AI asszisztens`,fU=()=>`Assistente AI`,pU=()=>`DI asistentas`,mU=()=>`MI asistents`,hU=()=>`AI-assistent`,gU=()=>`KI-assistent`,_U=()=>`Assistente de IA`,vU=()=>`AI-assistent`,yU=()=>`AI asistent`,bU=()=>`AI asistent`,xU=()=>`Asistent AI`,SU=()=>`AI-assistent`,CU=()=>`AI-avustaja`,wU=((e={},t={})=>{let n=t.locale??$();return n===`bg`?rU(e):n===`cs`?iU(e):n===`sk`?aU(e):n===`es`?oU(e):n===`de`?sU(e):n===`et`?cU(e):n===`fr`?lU(e):n===`pl`?uU(e):n===`hu`?dU(e):n===`it`?fU(e):n===`lt`?pU(e):n===`lv`?mU(e):n===`nl`?hU(e):n===`no`?gU(e):n===`pt`?_U(e):n===`da`?vU(e):n===`sl`?yU(e):n===`hr`?bU(e):n===`ro`?xU(e):n===`sv`?SU(e):n===`fi`?CU(e):nU(e)}),TU=()=>`Operator`,EU=()=>`Оператор`,DU=()=>`Operátor`,OU=()=>`Operátor`,kU=()=>`Operador`,AU=()=>`Mitarbeiter`,jU=()=>`Operaator`,MU=()=>`Opérateur`,NU=()=>`Operator`,PU=()=>`Ügyintéző`,FU=()=>`Operatore`,IU=()=>`Operatorius`,LU=()=>`Operators`,RU=()=>`Medewerker`,zU=()=>`Operatør`,BU=()=>`Operador`,VU=()=>`Medarbejder`,HU=()=>`Operater`,UU=()=>`Operater`,WU=()=>`Operator`,GU=()=>`Medarbetare`,KU=()=>`Asiakaspalvelija`,qU=((e={},t={})=>{let n=t.locale??$();return n===`bg`?EU(e):n===`cs`?DU(e):n===`sk`?OU(e):n===`es`?kU(e):n===`de`?AU(e):n===`et`?jU(e):n===`fr`?MU(e):n===`pl`?NU(e):n===`hu`?PU(e):n===`it`?FU(e):n===`lt`?IU(e):n===`lv`?LU(e):n===`nl`?RU(e):n===`no`?zU(e):n===`pt`?BU(e):n===`da`?VU(e):n===`sl`?HU(e):n===`hr`?UU(e):n===`ro`?WU(e):n===`sv`?GU(e):n===`fi`?KU(e):TU(e)}),JU=()=>`You`,YU=()=>`Вие`,XU=()=>`Vy`,ZU=()=>`Vy`,QU=()=>`Tú`,$U=()=>`Sie`,eW=()=>`Teie`,tW=()=>`Vous`,nW=()=>`Ty`,rW=()=>`Ön`,iW=()=>`Tu`,aW=()=>`Jūs`,oW=()=>`Jūs`,sW=()=>`Jij`,cW=()=>`Du`,lW=()=>`Tu`,uW=()=>`Du`,dW=()=>`Vi`,fW=()=>`Vi`,pW=()=>`Dumneavoastră`,mW=()=>`Du`,hW=()=>`Sinä`,gW=((e={},t={})=>{let n=t.locale??$();return n===`bg`?YU(e):n===`cs`?XU(e):n===`sk`?ZU(e):n===`es`?QU(e):n===`de`?$U(e):n===`et`?eW(e):n===`fr`?tW(e):n===`pl`?nW(e):n===`hu`?rW(e):n===`it`?iW(e):n===`lt`?aW(e):n===`lv`?oW(e):n===`nl`?sW(e):n===`no`?cW(e):n===`pt`?lW(e):n===`da`?uW(e):n===`sl`?dW(e):n===`hr`?fW(e):n===`ro`?pW(e):n===`sv`?mW(e):n===`fi`?hW(e):JU(e)}),_W=()=>`AI Assistant`,vW=()=>`AI асистент`,yW=()=>`AI asistent`,bW=()=>`AI asistent`,xW=()=>`Asistente de IA`,SW=()=>`AI-Assistenz`,CW=()=>`AI-assistent`,wW=()=>`Assistant IA`,TW=()=>`Asystent AI`,EW=()=>`AI asszisztens`,DW=()=>`Assistente AI`,OW=()=>`DI asistentas`,kW=()=>`MI asistents`,AW=()=>`AI-assistent`,jW=()=>`KI-assistent`,MW=()=>`Assistente de IA`,NW=()=>`AI-assistent`,PW=()=>`AI asistent`,FW=()=>`AI asistent`,IW=()=>`Asistent AI`,LW=()=>`AI-assistent`,RW=()=>`AI-avustaja`,zW=((e={},t={})=>{let n=t.locale??$();return n===`bg`?vW(e):n===`cs`?yW(e):n===`sk`?bW(e):n===`es`?xW(e):n===`de`?SW(e):n===`et`?CW(e):n===`fr`?wW(e):n===`pl`?TW(e):n===`hu`?EW(e):n===`it`?DW(e):n===`lt`?OW(e):n===`lv`?kW(e):n===`nl`?AW(e):n===`no`?jW(e):n===`pt`?MW(e):n===`da`?NW(e):n===`sl`?PW(e):n===`hr`?FW(e):n===`ro`?IW(e):n===`sv`?LW(e):n===`fi`?RW(e):_W(e)}),BW=()=>`Closed`,VW=()=>`Затворен`,HW=()=>`Uzavřeno`,UW=()=>`Uzatvorené`,WW=()=>`Cerrada`,GW=()=>`Geschlossen`,KW=()=>`Suletud`,qW=()=>`Fermée`,JW=()=>`Zamknięta`,YW=()=>`Lezárva`,XW=()=>`Chiusa`,ZW=()=>`Uždaryta`,QW=()=>`Slēgta`,$W=()=>`Gesloten`,eG=()=>`Lukket`,tG=()=>`Encerrada`,nG=()=>`Lukket`,rG=()=>`Zaprta`,iG=()=>`Zatvoren`,aG=()=>`Închisă`,oG=()=>`Stängd`,sG=()=>`Suljettu`,cG=((e={},t={})=>{let n=t.locale??$();return n===`bg`?VW(e):n===`cs`?HW(e):n===`sk`?UW(e):n===`es`?WW(e):n===`de`?GW(e):n===`et`?KW(e):n===`fr`?qW(e):n===`pl`?JW(e):n===`hu`?YW(e):n===`it`?XW(e):n===`lt`?ZW(e):n===`lv`?QW(e):n===`nl`?$W(e):n===`no`?eG(e):n===`pt`?tG(e):n===`da`?nG(e):n===`sl`?rG(e):n===`hr`?iG(e):n===`ro`?aG(e):n===`sv`?oG(e):n===`fi`?sG(e):BW(e)}),lG=()=>`current`,uG=()=>`текущ`,dG=()=>`aktuální`,fG=()=>`aktuálne`,pG=()=>`actual`,mG=()=>`aktuell`,hG=()=>`praegune`,gG=()=>`actuelle`,_G=()=>`bieżąca`,vG=()=>`aktuális`,yG=()=>`attuale`,bG=()=>`dabartinis`,xG=()=>`pašreizējā`,SG=()=>`huidig`,CG=()=>`gjeldende`,wG=()=>`atual`,TG=()=>`aktuel`,EG=()=>`trenutna`,DG=()=>`trenutačan`,OG=()=>`curentă`,kG=()=>`aktuell`,AG=()=>`nykyinen`,jG=((e={},t={})=>{let n=t.locale??$();return n===`bg`?uG(e):n===`cs`?dG(e):n===`sk`?fG(e):n===`es`?pG(e):n===`de`?mG(e):n===`et`?hG(e):n===`fr`?gG(e):n===`pl`?_G(e):n===`hu`?vG(e):n===`it`?yG(e):n===`lt`?bG(e):n===`lv`?xG(e):n===`nl`?SG(e):n===`no`?CG(e):n===`pt`?wG(e):n===`da`?TG(e):n===`sl`?EG(e):n===`hr`?DG(e):n===`ro`?OG(e):n===`sv`?kG(e):n===`fi`?AG(e):lG(e)}),MG=()=>`Operator`,NG=()=>`Оператор`,PG=()=>`Operátor`,FG=()=>`Operátor`,IG=()=>`Operador`,LG=()=>`Mitarbeiter`,RG=()=>`Operaator`,zG=()=>`Opérateur`,BG=()=>`Operator`,VG=()=>`Ügyintéző`,HG=()=>`Operatore`,UG=()=>`Operatorius`,WG=()=>`Operators`,GG=()=>`Medewerker`,KG=()=>`Operatør`,qG=()=>`Operador`,JG=()=>`Medarbejder`,YG=()=>`Operater`,XG=()=>`Operater`,ZG=()=>`Operator`,QG=()=>`Medarbetare`,$G=()=>`Asiakaspalvelija`,eK=((e={},t={})=>{let n=t.locale??$();return n===`bg`?NG(e):n===`cs`?PG(e):n===`sk`?FG(e):n===`es`?IG(e):n===`de`?LG(e):n===`et`?RG(e):n===`fr`?zG(e):n===`pl`?BG(e):n===`hu`?VG(e):n===`it`?HG(e):n===`lt`?UG(e):n===`lv`?WG(e):n===`nl`?GG(e):n===`no`?KG(e):n===`pt`?qG(e):n===`da`?JG(e):n===`sl`?YG(e):n===`hr`?XG(e):n===`ro`?ZG(e):n===`sv`?QG(e):n===`fi`?$G(e):MG(e)}),tK=()=>`Transcribed`,nK=()=>`Транскрибирано`,rK=()=>`Přepsáno`,iK=()=>`Prepísané`,aK=()=>`Transcrito`,oK=()=>`Transkribiert`,sK=()=>`Transkribeeritud`,cK=()=>`Transcrit`,lK=()=>`Transkrybowano`,uK=()=>`Átírva`,dK=()=>`Trascritto`,fK=()=>`Transkribuota`,pK=()=>`Transkribēts`,mK=()=>`Getranscribeerd`,hK=()=>`Transkribert`,gK=()=>`Transcrito`,_K=()=>`Transskriberet`,vK=()=>`Prepisano`,yK=()=>`Prepisano`,bK=()=>`Transcris`,xK=()=>`Transkriberat`,SK=()=>`Muunnettu tekstiksi`,CK=((e={},t={})=>{let n=t.locale??$();return n===`bg`?nK(e):n===`cs`?rK(e):n===`sk`?iK(e):n===`es`?aK(e):n===`de`?oK(e):n===`et`?sK(e):n===`fr`?cK(e):n===`pl`?lK(e):n===`hu`?uK(e):n===`it`?dK(e):n===`lt`?fK(e):n===`lv`?pK(e):n===`nl`?mK(e):n===`no`?hK(e):n===`pt`?gK(e):n===`da`?_K(e):n===`sl`?vK(e):n===`hr`?yK(e):n===`ro`?bK(e):n===`sv`?xK(e):n===`fi`?SK(e):tK(e)}),wK=()=>`Typing…`,TK=()=>`Пише…`,EK=()=>`Píše…`,DK=()=>`Píše…`,OK=()=>`Escribiendo…`,kK=()=>`Schreibt…`,AK=()=>`Kirjutab…`,jK=()=>`Écriture en cours…`,MK=()=>`Pisze…`,NK=()=>`Gépel…`,PK=()=>`Sta scrivendo…`,FK=()=>`Rašo…`,IK=()=>`Raksta…`,LK=()=>`Aan het typen…`,RK=()=>`Skriver…`,zK=()=>`A escrever…`,BK=()=>`Skriver…`,VK=()=>`Piše…`,HK=()=>`Piše…`,UK=()=>`Scrie…`,WK=()=>`Skriver…`,GK=()=>`Kirjoittaa…`,KK=((e={},t={})=>{let n=t.locale??$();return n===`bg`?TK(e):n===`cs`?EK(e):n===`sk`?DK(e):n===`es`?OK(e):n===`de`?kK(e):n===`et`?AK(e):n===`fr`?jK(e):n===`pl`?MK(e):n===`hu`?NK(e):n===`it`?PK(e):n===`lt`?FK(e):n===`lv`?IK(e):n===`nl`?LK(e):n===`no`?RK(e):n===`pt`?zK(e):n===`da`?BK(e):n===`sl`?VK(e):n===`hr`?HK(e):n===`ro`?UK(e):n===`sv`?WK(e):n===`fi`?GK(e):wK(e)});function qK(e){mr().then(()=>{e?.scrollTo({top:e.scrollHeight})})}var JK=new Set([`waiting_customer`,`waiting_us`,`ai_replying`,`ai`,`waiting`,`human`,`needs_operator`]),YK=new Set([`resolved`,`no_response`,`inappropriate`]);function XK(e){return JK.has(e)}function ZK(e){return YK.has(e)}function QK(e,t){return ZK(e)||!XK(e)?!1:t?.type?t.type!==`ai`:e===`waiting`||e===`human`||e===`needs_operator`}function $K(e){return!e.transferred||e.closed?null:e.inboxCovered?e.awaitedOperator?`connected`:`transferred`:`waiting`}var eq=U(`<canvas class="block h-8 w-full" aria-hidden="true"></canvas>`);function tq(e,t){qe(t,!0);let n=pa(t,`tick`,3,0),r=pa(t,`shift`,3,0),i=3.5;function a(e){let a=e,o=a.getContext(`2d`);if(!o)return()=>{};let s=()=>{n();let e=t.levels,s=Math.min(1,Math.max(0,r())),c=window.devicePixelRatio||1,l=Math.max(1,a.clientWidth),u=Math.max(1,a.clientHeight),d=Math.round(l*c),f=Math.round(u*c);(a.width!==d||a.height!==f)&&(a.width=d,a.height=f),o.setTransform(c,0,0,c,0,0),o.clearRect(0,0,l,u);let p=Math.ceil(l/i)+2,m=e.slice(Math.max(0,e.length-p)),h=m.length;if(h===0)return;let g=u-4;o.fillStyle=`#fff`;for(let e=0;e<h;e+=1){let t=l-2-(h-1-e+s)*i;if(t+2<0)continue;let n=Math.max(2,(m[e]??0)*g);o.beginPath(),o.roundRect(t,(u-n)/2,2,n,2),o.fill()}};Cn(s);let c=new ResizeObserver(s);return c.observe(a),()=>c.disconnect()}var o=eq();ki(o,()=>a),W(e,o),Je()}function nq(e,t,n){let r=new Date(e);if(Number.isNaN(r.getTime()))return``;let i=t||void 0,a=new Intl.DateTimeFormat(n,{...i?{timeZone:i}:{},weekday:`long`}).format(r),o=new Intl.DateTimeFormat(n,{...i?{timeZone:i}:{},hour:`numeric`,minute:`2-digit`,hourCycle:`h23`}).format(r).replace(/^0(\d)/,`$1`),s=n.split(`-`)[0]?.toLowerCase()??`en`;return s===`cs`||s===`sk`?`v ${a} od ${o}`:`${a} ${o}`}var rq=U(`<button type="button"><!></button>`),iq=U(`<div class="flex min-h-0 flex-1 flex-col items-center justify-center px-8 text-center"><h2 class="text-xl font-semibold tracking-tight"> </h2> <p class="mt-2 text-sm leading-relaxed text-muted-foreground"> </p> <button type="button"> </button></div>`),aq=U(`<li class="rounded-xl hover:bg-muted/50"><button type="button" class="group/row flex w-full items-center gap-2 rounded-lg px-2 py-2.5 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/30"><span class="min-w-0 flex-1"><p class="truncate text-sm font-medium group-hover/row:underline"> </p> <p class="mt-0.5 truncate text-xs text-muted-foreground"> <!></p></span> <span class="shrink-0 text-xs text-muted-foreground tabular-nums"> </span></button></li>`),oq=U(`<section><h2> </h2> <ul></ul></section>`),sq=U(`<div class="min-h-0 flex-1 overflow-y-auto px-3 pt-14 pb-3"></div>`),cq=U(`<!> <a target="_blank" rel="noopener noreferrer" class="flex shrink-0 items-center justify-center gap-2 px-3 pt-0.5 pb-2.5 text-muted-foreground/70 outline-none transition-colors hover:text-foreground focus-visible:text-foreground focus-visible:ring-2 focus-visible:ring-ring/30"><span class="flex size-4 items-center justify-center rounded-[5px] bg-foreground text-background" aria-hidden="true"><!></span> <span class="text-[11px] font-medium tracking-tight"> </span></a>`,1),lq=U(`<p class="absolute inset-x-0 text-center text-sm font-medium text-foreground" aria-live="polite"> </p>`),uq=U(`<p class="text-center text-xs text-destructive"> </p>`),dq=U(`<button type="button" class="flex w-full items-center gap-3 rounded-2xl border border-border bg-background px-3 py-2.5 text-left text-foreground shadow-lg outline-none focus-visible:ring-2 focus-visible:ring-ring/30"><img alt="" class="size-10 shrink-0 rounded-xl object-cover"/> <span class="min-w-0 flex-1"><span class="block truncate text-sm font-medium"> </span> <span class="block text-[11px] text-muted-foreground"> </span></span></button>`),fq=U(`<div><!></div>`),pq=U(`<div class="absolute inset-x-3 bottom-3 z-20 flex max-h-[42%] flex-col gap-2 overflow-y-auto"></div>`),mq=U(`<div class="relative flex min-h-0 flex-1 flex-col overflow-hidden"><div><!> <div class="relative flex h-10 w-full items-center justify-center overflow-hidden"><!></div> <button type="button" class="h-8 rounded-full border border-transparent bg-destructive/10 px-3.5 text-xs font-medium text-destructive hover:bg-destructive/20"> </button> <!></div> <!></div>`),hq=U(`<div class="flex min-h-0 flex-1 flex-col items-center justify-center gap-3 px-8 text-center"><h2 class="text-xl font-semibold tracking-tight"> </h2> <p class="text-sm leading-relaxed text-muted-foreground"> </p></div>`),gq=U(`<p> </p>`),_q=U(`<button type="button" class="block cursor-zoom-in overflow-hidden rounded-2xl border-0 bg-transparent p-0"><img class="max-h-48 w-auto max-w-full rounded-2xl object-cover"/></button>`),vq=U(`<div></div>`),yq=U(`<p class="opacity-70"> </p>`),bq=U(`<p class="whitespace-pre-wrap"> </p>`),xq=U(`<article><!> <!> <!> <!> <!> <!></article>`),Sq=U(`<p class="text-center text-xs text-muted-foreground"><!></p>`),Cq=U(`<button type="button">👎</button> <button type="button">👍</button>`,1),wq=U(`<button type="button">😞</button> <button type="button">😐</button> <button type="button">😊</button>`,1),Tq=U(`<button type="button">★</button>`),Eq=U(`<p class="mt-2 text-xs text-destructive"> </p>`),Dq=U(`<p> </p> <div class="mt-2 flex items-center justify-center gap-1"><!></div> <!>`,1),Oq=U(`<div class="mx-3 mb-3 rounded-3xl border border-border bg-muted/50 px-4 py-3 text-center text-sm text-muted-foreground"><!></div>`),kq=U(`<div class="flex items-center gap-1 py-1.5 pr-1.5 pl-3.5"><div class="min-h-8 min-w-0 flex-1" role="status" aria-live="polite"><!></div> <button type="submit" class="inline-flex size-8 shrink-0 items-center justify-center rounded-full border border-transparent bg-white text-black hover:bg-white/90"><!></button> <button type="button"><!></button></div>`),Aq=U(`<img class="h-16 w-24 object-cover"/>`),jq=U(`<p class="truncate px-2 py-3"> </p>`),Mq=U(`<span class="absolute inset-x-0 bottom-0 bg-black/50 px-1 py-0.5 text-[10px] text-white">…</span>`),Nq=U(`<p class="px-1 py-0.5 text-[10px] text-destructive"> </p>`),Pq=U(`<div class="relative max-w-[7.5rem] overflow-hidden rounded-2xl bg-muted text-xs"><!> <button type="button" class="absolute top-1 right-1 inline-flex size-5 items-center justify-center rounded-full bg-black/70 text-white"><!></button> <!> <!></div>`),Fq=U(`<div class="flex flex-wrap gap-2 px-4 pt-3"></div>`),Iq=U(`<button type="submit" class="inline-flex size-8 shrink-0 items-center justify-center rounded-full border border-transparent bg-primary text-primary-foreground hover:bg-primary/80 disabled:opacity-50"><!></button>`),Lq=U(`<div class="relative"><!> <textarea rows="1" class="block min-h-10 w-full resize-none overflow-y-auto bg-transparent px-4 pt-3 pr-28 pb-12 text-sm leading-5 outline-none placeholder:text-muted-foreground/40 disabled:opacity-50"></textarea> <input type="file" accept="image/jpeg,image/png,image/gif,image/webp,application/pdf" multiple="" class="hidden"/> <div class="absolute right-2 bottom-2 z-10 flex items-center gap-1"><button type="button"><!></button> <!> <!></div></div>`),Rq=U(`<form><!></form>`),zq=U(`<div><!> <!> <!> <!></div> <!>`,1),Bq=U(`<section class="relative flex h-full w-full origin-bottom-right flex-col overflow-hidden overscroll-none border-0 bg-card pt-[env(safe-area-inset-top)] pb-[env(safe-area-inset-bottom)] text-card-foreground shadow-none sm:h-[32rem] sm:w-[22rem] sm:rounded-[1.75rem] sm:border sm:border-border sm:pt-0 sm:pb-0 sm:shadow-xl"><!> <!> <button type="button"><!></button> <!></section>`),Vq=U(`<div><!> <!></div> <!>`,1);function Hq(e,t){qe(t,!0);let n=pa(t,`chat`,7),r=N(void 0),i=N(void 0),a=N(!1),o=N(0),s=N($t([])),c=`absolute z-10 inline-flex size-9 items-center justify-center rounded-full border border-transparent bg-muted/60 text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30`,l=`inline-flex size-8 shrink-0 items-center justify-center rounded-full border border-transparent text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:opacity-50`,u=`inline-flex size-9 items-center justify-center rounded-full text-lg outline-none hover:bg-muted hover:scale-110 focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:opacity-50`;function d(){return typeof window<`u`&&window.matchMedia(`(max-width: 639px)`).matches}function f(e){return Ta.current?{duration:0}:d()?{duration:220,easing:xa,css:e=>`opacity: ${e}`}:{duration:260,easing:xa,css:(e,t)=>`opacity: ${e}; transform: translateY(${16*t}px) scale(${.12+.88*e}); transform-origin: 100% 100%;`}}function p(e){if(Ta.current)return{duration:0};let t=e.getBoundingClientRect().height;return{duration:240,easing:xa,css:e=>`overflow: hidden; opacity: ${e}; height: ${e*t}px;`}}ma(()=>(n().connect(),()=>n().disconnect())),Cn(()=>{if(!n().open)return;let e=window.matchMedia(`(max-width: 639px)`),t=document.documentElement,r=t.style.overflow,i=()=>{t.style.overflow=e.matches?`hidden`:r};return i(),e.addEventListener(`change`,i),()=>{e.removeEventListener(`change`,i),t.style.overflow=r}}),Cn(()=>{n().open,n().view,n().recording,n().transcribing,n().messages.length,n().messages.at(-1)?.text,n().messages.at(-1)?.transcribing,n().messages.at(-1)?.transcribed,n().agentActivity,n().voiceMode,n().view===`chat`&&qK(V(r))});function m(e){if(!e.defaultPrevented&&!(e.key!==`Escape`||!n().open)){if(e.preventDefault(),n().recording){n().cancelRecording();return}n().closePanel()}}let h=j(()=>{if(!n().voiceMode)return[];for(let e=n().messages.length-1;e>=0;--e){let t=n().messages[e];if(t?.role===`agent`&&t.attachments?.length)return t.attachments}return[]});function g(e){return e.kind===`link`?e.url??`#`:n().attachmentSrc(e)}function _(e){let t=[];for(let e of n().messages)for(let r of e.attachments??[])r.kind===`image`&&t.push({id:r.id,src:n().attachmentSrc(r),filename:r.filename});let r=t.findIndex(t=>t.id===e);P(s,t.map(({src:e,filename:t})=>({src:e,filename:t})),!0),P(o,r<0?0:r,!0),P(a,!0)}function v(e){e.preventDefault(),n().send()}function y(e){e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),n().send())}function b(e){if(n().voiceMode)return;let t=[...e.clipboardData?.files??[]];t.length!==0&&(e.preventDefault(),n().addFiles(t))}function x(e){if(n().voiceMode)return;let t=[...e.dataTransfer?.files??[]];t.length!==0&&(e.preventDefault(),n().addFiles(t))}function S(e){let t=e.currentTarget;t.files&&t.files.length>0&&(n().addFiles(t.files),t.value=``)}function ee(e){Cn(()=>{n().draft,e.style.height=`0px`;let t=getComputedStyle(e),r=Number.parseFloat(t.lineHeight)||20,i=Number.parseFloat(t.paddingTop)+Number.parseFloat(t.paddingBottom);e.style.height=`${Math.min(e.scrollHeight,r*5+i)}px`})}function C(e){return e===`customer`?gW():e===`operator`?qU():wU()}function te(e){return e===`de`?`de-DE`:e===`es`?`es-ES`:e===`fr`?`fr-FR`:e===`it`?`it-IT`:e===`hu`?`hu-HU`:e===`sk`?`sk-SK`:e===`sl`?`sl-SI`:e===`cs`?`cs-CZ`:e===`pl`?`pl-PL`:e===`nl`?`nl-NL`:e===`pt`?`pt-PT`:e===`da`?`da-DK`:e===`sv`?`sv-SE`:e===`fi`?`fi-FI`:e===`hr`?`hr-HR`:e===`ro`?`ro-RO`:e===`lt`?`lt-LT`:e===`lv`?`lv-LV`:e===`et`?`et-EE`:e===`bg`?`bg-BG`:e===`no`?`nb-NO`:`en-US`}let ne=j(()=>te($()));function re(){return{today:lH(),yesterday:tU(),week:MH(),older:BV()}}function ie(e){return ZK(e.status)?cG():QK(e.status,e.assignee)?eK():zW()}let ae=j(()=>po(n().history).map(e=>({...e,label:re()[e.id]}))),oe=j(()=>n().voiceCallEnabled&&n().voiceRealtimeEnabled&&!n().transferred&&n().draft.trim().length===0),se=j(()=>$K({transferred:n().transferred,closed:n().closed,inboxCovered:n().inboxCovered,awaitedOperator:n().awaitedOperator})),ce=j(()=>{if(n().waitingUntil){let e=nq(n().waitingUntil,n().waitingTimezone,$());if(e)return QO({when:e})}return n().waitingMessage||kO()});var le=Vq();Pr(`keydown`,nn,m);var ue=dn(le),de=F(ue),fe=e=>{var t=Bq(),a=F(t),o=e=>{var t=rq();J(t,1,q([c,`top-3 left-3`])),za(F(t),{get icon(){return ha},class:`size-5`,strokeWidth:2}),k(t),R(e=>Y(t,`aria-label`,e),[()=>Pp()]),H(`click`,t,()=>n().showHistory()),W(e,t)};K(a,e=>{n().view!==`history`&&e(o)});var s=L(a,2),d=e=>{var t=rq();J(t,1,q([c,`top-3 right-14`])),za(F(t),{get icon(){return ya},class:`size-5`,strokeWidth:2}),k(t),R(e=>Y(t,`aria-label`,e),[()=>Bv()]),H(`click`,t,()=>n().startNew()),W(e,t)};K(s,e=>{n().view===`history`&&n().history.length>0&&e(d)});var m=L(s,2);J(m,1,q([c,`top-3 right-3`])),za(F(m),{get icon(){return _a},class:`size-5`,strokeWidth:2}),k(m);var te=L(m,2),re=e=>{var t=cq(),r=dn(t),i=e=>{var t=iq(),r=F(t),i=I(r,!0),a=L(r,2),o=I(a,!0),s=L(a,2);J(s,1,q([`mt-5`,`inline-flex h-8 items-center rounded-full border border-transparent bg-primary px-3.5 text-xs font-medium text-primary-foreground shadow-sm transition duration-200 ease-out hover:scale-[1.04] hover:bg-primary/80 hover:shadow-md active:scale-[0.98]`]));var c=I(s,!0);k(t),R((e,t,n)=>{G(i,e),G(o,t),G(c,n)},[()=>aj(),()=>IA(),()=>pA()]),H(`click`,s,()=>n().startNew()),W(e,t)},a=e=>{var t=sq();ui(t,23,()=>V(ae),e=>e.id,(e,t,r)=>{var i=oq(),a=F(i),o=I(a,!0),s=L(a,2);ui(s,21,()=>V(t).items,e=>e.id,(e,r)=>{var i=aq(),a=F(i),o=F(a),s=F(o),c=I(s,!0),l=L(s,2),u=F(l),d=L(u),f=e=>{var t=Gr();R(e=>G(t,`· ${e??``}`),[()=>jG()]),W(e,t)};K(d,e=>{V(r).id===n().currentId&&e(f)}),k(l),k(o);var p=I(L(o,2),!0);k(a),k(i),R((e,t,n)=>{G(c,e),G(u,`${t??``} `),G(p,n)},[()=>V(r).title||V(r).preview||mD(),()=>ie(V(r)),()=>fo(V(r).updatedAt,V(t).id,V(ne))]),H(`click`,a,()=>n().openThread(V(r).id)),W(e,i)}),k(s),k(i),R(()=>{J(a,1,q([`px-2 text-xs font-medium text-muted-foreground`,V(r)===0?`pt-1 pb-1`:`pt-4 pb-1`])),G(o,V(t).label)}),W(e,i)}),k(t),W(e,t)};K(r,e=>{n().history.length===0?e(i):e(a,-1)});var o=L(r,2);Y(o,`href`,`https://cusuai.com`);var s=F(o);Ma(F(s),{class:`size-2.5`}),k(s);var c=I(L(s,2),!0);k(o),R((e,t)=>{Y(o,`aria-label`,e),G(c,t)},[()=>rm(),()=>hw()]),W(e,t)},le=e=>{var t=mq(),r=F(t),i=F(r);zl(i,{size:`lg`,get tone(){return n().orbitTone},get energy(){return n().activityLevel}});var a=L(i,2);oi(F(a),()=>n().callStatusLabel,e=>{var t=lq(),r=I(t,!0);R(()=>G(r,n().callStatusLabel)),Ti(1,t,()=>Aa,()=>({y:12,duration:Ta.current?0:320,easing:xa})),Ti(2,t,()=>Aa,()=>({y:-12,duration:Ta.current?0:240,easing:xa})),W(e,t)}),k(a);var o=L(a,2),s=I(o,!0),c=L(o,2),l=e=>{var t=uq(),r=I(t,!0);R(()=>G(r,n().error)),W(e,t)};K(c,e=>{n().error&&!n().closed&&e(l)}),k(r);var u=L(r,2),d=e=>{var t=pq();ui(t,21,()=>V(h),e=>e.id,(e,t)=>{var r=fq(),i=F(r),a=e=>{var r=dq(),i=F(r),a=L(i,2),o=F(a),s=I(o,!0),c=I(L(o,2),!0);k(a),k(r),R((e,n,a)=>{Y(r,`aria-label`,e),Y(i,`src`,n),G(s,V(t).filename),G(c,a)},[()=>My(),()=>n().attachmentSrc(V(t)),()=>YL()]),H(`click`,r,()=>_(V(t).id)),W(e,r)},o=e=>{{let n=j(()=>g(V(t))),r=j(()=>vR()),i=j(()=>tb());bo(e,{compact:!0,class:`shadow-lg`,get href(){return V(n)},get filename(){return V(t).filename},get imageUrl(){return V(t).imageUrl},get description(){return V(t).description},get kindLabel(){return V(r)},get openLabel(){return V(i)}})}},s=e=>{{let r=j(()=>n().attachmentSrc(V(t))),i=j(()=>ug()),a=j(()=>VR());qa(e,{class:`shadow-lg`,get href(){return V(r)},get filename(){return V(t).filename},get byteSize(){return V(t).byteSize},get downloadLabel(){return V(i)},get kindLabel(){return V(a)}})}};K(i,e=>{V(t).kind===`image`?e(a):V(t).kind===`link`?e(o,1):e(s,-1)}),k(r),Ti(1,r,()=>Aa,()=>({y:18,duration:Ta.current?0:320,easing:xa})),W(e,r)}),k(t),W(e,t)};K(u,e=>{V(h).length>0&&e(d)}),k(t),R((e,t)=>{J(r,1,q([`flex min-h-0 flex-1 flex-col items-center justify-center gap-4 px-6`,V(h).length>0&&`pb-28`])),Y(o,`aria-label`,e),G(s,t)},[()=>T_(),()=>uz()]),H(`click`,o,()=>n().hangup()),W(e,t)},ue=e=>{var t=zq(),a=dn(t),o=F(a),s=e=>{var t=hq(),n=F(t),r=I(n,!0),i=I(L(n,2),!0);k(t),R((e,t)=>{G(r,e),G(i,t)},[()=>Wk(),()=>xk()]),W(e,t)};K(o,e=>{n().messages.length===0&&e(s)});var c=L(o,2);ui(c,17,()=>n().messages,e=>e.id,(e,t)=>{let r=j(()=>V(t).role===`customer`),i=j(()=>V(t).attachments?.filter(e=>e.kind===`image`)??[]),a=j(()=>V(t).attachments?.filter(e=>e.kind!==`image`)??[]),o=j(()=>!!V(t).streaming&&!V(t).text&&V(i).length===0&&V(a).length===0),s=j(()=>!!V(t).transcribing&&!V(t).text&&V(i).length===0&&V(a).length===0),c=j(()=>!!V(t).text||V(s)),l=j(()=>!V(r)&&!!V(t).streaming&&!V(t).text&&(!!n().agentStatusLabel||V(o))),u=j(()=>V(c)||V(i).length>0||V(a).length>0||!!(V(t).transcribing&&V(t).text)||!!V(t).transcribed);var d=xq(),f=F(d),p=e=>{var n=gq(),i=I(n);R((e,t)=>{J(n,1,q([`mb-1 text-[11px] font-medium text-muted-foreground`,V(r)&&`text-right`])),G(i,`${e??``}
166
+ · ${t??``}`)},[()=>C(V(t).role),()=>uo(V(t).at,V(ne))]),W(e,n)};K(f,e=>{V(u)&&e(p)});var m=L(f,2),h=e=>{var t=vq();ui(t,21,()=>V(i),e=>e.id,(e,t)=>{var r=_q(),i=I(r);R((e,n)=>{Y(r,`aria-label`,e),Y(i,`src`,n),Y(i,`alt`,V(t).filename)},[()=>My(),()=>n().attachmentSrc(V(t))]),H(`click`,r,()=>_(V(t).id)),W(e,r)}),k(t),R(()=>J(t,1,q([`flex flex-col gap-2`,V(r)?`items-end`:`items-start`]))),W(e,t)};K(m,e=>{V(i).length>0&&e(h)});var v=L(m,2),y=e=>{var n=fq(),a=F(n),o=e=>{var t=yq(),n=I(t,!0);R(e=>G(n,e),[()=>TB()]),W(e,t)},c=e=>{var n=Kr(),r=dn(n),i=e=>{var n=bq(),r=I(n,!0);R(()=>G(r,V(t).text)),W(e,n)},a=e=>{Ml(e,{get source(){return V(t).text}})};K(r,e=>{V(t).role===`customer`?e(i):e(a,-1)}),W(e,n)};K(a,e=>{V(s)?e(o):V(t).text&&e(c,1)}),k(n),R(()=>J(n,1,q([`rounded-[1.75rem] px-4 py-2.5`,V(i).length>0&&`mt-2`,V(r)?`bg-black text-white`:`bg-muted`]))),W(e,n)};K(v,e=>{V(c)&&e(y)});var b=L(v,2),x=e=>{var t=vq();ui(t,21,()=>V(a),e=>e.id,(e,t)=>{var r=Kr(),i=dn(r),a=e=>{{let n=j(()=>g(V(t))),r=j(()=>vR()),i=j(()=>tb());bo(e,{get href(){return V(n)},get filename(){return V(t).filename},get imageUrl(){return V(t).imageUrl},get description(){return V(t).description},get kindLabel(){return V(r)},get openLabel(){return V(i)}})}},o=e=>{{let r=j(()=>n().attachmentSrc(V(t))),i=j(()=>ug()),a=j(()=>VR());qa(e,{get href(){return V(r)},get filename(){return V(t).filename},get byteSize(){return V(t).byteSize},get downloadLabel(){return V(i)},get kindLabel(){return V(a)}})}};K(i,e=>{V(t).kind===`link`?e(a):e(o,-1)}),W(e,r)}),k(t),R(()=>J(t,1,q([`flex w-full flex-col gap-2`,(V(i).length>0||V(c))&&`mt-2`]))),W(e,t)};K(b,e=>{V(a).length>0&&e(x)});var S=L(b,2),ee=e=>{{let t=j(()=>n().agentStatusLabel??KK());Ia(e,{get label(){return V(t)},get stacked(){return V(u)}})}};K(S,e=>{V(l)&&e(ee)});var te=L(S,2),re=e=>{var t=gq(),n=I(t,!0);R(e=>{J(t,1,q([`mt-1 text-[11px] text-muted-foreground`,V(r)&&`text-right`])),G(n,e)},[()=>TB()]),W(e,t)},ie=e=>{var t=gq(),n=I(t,!0);R(e=>{J(t,1,q([`mt-1 text-[11px] text-muted-foreground`,V(r)&&`text-right`])),G(n,e)},[()=>CK()]),W(e,t)};K(te,e=>{V(t).transcribing&&V(t).text?e(re):V(t).transcribed&&e(ie,1)}),k(d),R(()=>J(d,1,q([`flex w-fit max-w-[min(100%,18rem)] flex-col text-sm leading-relaxed break-words`,V(r)?`ml-auto items-end`:`items-start`]))),W(e,d)});var d=L(c,2),f=e=>{var t=Sq(),n=F(t),r=e=>{var t=Gr();R(()=>G(t,V(ce))),W(e,t)},i=e=>{var t=Gr();R(e=>G(t,e),[()=>Nz()]),W(e,t)},a=e=>{var t=Gr();R(e=>G(t,e),[()=>oO()]),W(e,t)};K(n,e=>{V(se)===`waiting`?e(r):V(se)===`connected`?e(i,1):e(a,-1)}),k(t),W(e,t)};K(d,e=>{V(se)&&e(f)});var m=L(d,2),h=e=>{var t=uq(),r=I(t,!0);R(()=>G(r,n().error)),W(e,t)};K(m,e=>{n().error&&!n().closed&&e(h)}),k(a),ua(a,e=>P(r,e),()=>V(r));var te=L(a,2),re=e=>{var t=Oq(),r=F(t),i=e=>{var t=Kr(),r=dn(t),i=e=>{var t=gq(),n=I(t,!0);R(e=>G(n,e),[()=>_V()]),W(e,t)},a=e=>{var t=Dq(),r=dn(t),i=I(r,!0),a=L(r,2),o=F(a),s=e=>{var t=Cq(),r=dn(t);J(r,1,q(u));var i=L(r,2);J(i,1,q(u)),R((e,t)=>{r.disabled=n().ratingBusy,Y(r,`aria-label`,e),i.disabled=n().ratingBusy,Y(i,`aria-label`,t)},[()=>wb(),()=>jS()]),H(`click`,r,()=>n().rate(0)),H(`click`,i,()=>n().rate(1)),W(e,t)},c=e=>{var t=wq(),r=dn(t);J(r,1,q(u));var i=L(r,2);J(i,1,q(u));var a=L(i,2);J(a,1,q(u)),R((e,t,o)=>{r.disabled=n().ratingBusy,Y(r,`aria-label`,e),i.disabled=n().ratingBusy,Y(i,`aria-label`,t),a.disabled=n().ratingBusy,Y(a,`aria-label`,o)},[()=>zx(),()=>gx(),()=>qb()]),H(`click`,r,()=>n().rate(1)),H(`click`,i,()=>n().rate(2)),H(`click`,a,()=>n().rate(3)),W(e,t)},l=e=>{var t=Kr();ui(dn(t),16,()=>[1,2,3,4,5],e=>e,(e,t)=>{var r=Tq();J(r,1,q(u)),R(e=>{r.disabled=n().ratingBusy,Y(r,`aria-label`,e)},[()=>cS({star:t})]),H(`click`,r,()=>n().rate(t)),W(e,r)}),W(e,t)};K(o,e=>{n().ratingScale===`thumbs`?e(s):n().ratingScale===`faces_3`?e(c,1):e(l,-1)}),k(a);var d=L(a,2),f=e=>{var t=Eq(),r=I(t,!0);R(()=>G(r,n().error)),W(e,t)};K(d,e=>{n().error&&e(f)}),R(e=>G(i,e),[()=>JB()]),W(e,t)};K(r,e=>{n().rated?e(i):e(a,-1)}),W(e,t)},a=e=>{var t=gq(),n=I(t,!0);R(e=>G(n,e),[()=>GE()]),W(e,t)};K(r,e=>{n().status===`resolved`?e(i):e(a,-1)}),k(t),W(e,t)},ie=e=>{var t=Rq(),r=F(t),a=e=>{var t=kq(),r=F(t);tq(F(r),{get levels(){return n().levels},get tick(){return n().waveTick},get shift(){return n().waveShift}}),k(r);var i=L(r,2);za(F(i),{get icon(){return ba},class:`size-4`,strokeWidth:2}),k(i);var a=L(i,2);J(a,1,q([l,`text-white/80 hover:bg-white/10 hover:text-white`])),za(F(a),{get icon(){return _a},class:`size-4`,strokeWidth:2}),k(a),k(t),R((e,t,n)=>{Y(r,`aria-label`,e),Y(i,`aria-label`,t),Y(a,`aria-label`,n)},[()=>eC(),()=>KC(),()=>Ym()]),H(`click`,a,()=>void n().cancelRecording()),Ti(3,t,()=>p),W(e,t)},o=e=>{var t=Lq(),r=F(t),a=e=>{var t=Fq();ui(t,21,()=>n().pending,e=>e.localId,(e,t)=>{var r=Pq(),i=F(r),a=e=>{var n=Aq();R(()=>{Y(n,`src`,V(t).previewUrl),Y(n,`alt`,V(t).name)}),W(e,n)},o=e=>{var n=jq(),r=I(n,!0);R(()=>G(r,V(t).name)),W(e,n)};K(i,e=>{V(t).previewUrl?e(a):e(o,-1)});var s=L(i,2);za(F(s),{get icon(){return _a},class:`size-3`,strokeWidth:2}),k(s);var c=L(s,2),l=e=>{W(e,Mq())};K(c,e=>{V(t).uploading&&e(l)});var u=L(c,2),d=e=>{var n=Nq(),r=I(n,!0);R(()=>G(r,V(t).error)),W(e,n)};K(u,e=>{V(t).error&&e(d)}),k(r),R(e=>Y(s,`aria-label`,e),[()=>CC()]),H(`click`,s,()=>n().removePending(V(t).localId)),W(e,r)}),k(t),W(e,t)};K(r,e=>{n().pending.length>0&&e(a)});var o=L(r,2);ct(o),ki(o,()=>ee);var s=L(o,2);ua(s,e=>P(i,e),()=>V(i));var c=L(s,2),u=F(c);J(u,1,q(l)),za(F(u),{get icon(){return ga},class:`size-4`,strokeWidth:2}),k(u);var d=L(u,2),f=e=>{var t=rq();J(t,1,q(l)),Y(t,`aria-pressed`,!1),za(F(t),{get icon(){return va},class:`size-4`,strokeWidth:2}),k(t),R(e=>{Y(t,`aria-label`,e),t.disabled=n().transcribing},[()=>Vh()]),H(`click`,t,()=>n().toggleMic()),W(e,t)};K(d,e=>{n().dictationEnabled&&e(f)});var m=L(d,2),h=e=>{{let t=j(()=>Em()),r=j(()=>!n().canStartCall);zl(e,{tone:`idle`,energy:.22,get"aria-label"(){return V(t)},get disabled(){return V(r)},onclick:()=>n().startCall()})}},g=e=>{var t=Iq();za(F(t),{get icon(){return ba},class:`size-4`,strokeWidth:2}),k(t),R(e=>{Y(t,`aria-label`,e),t.disabled=!n().canSend},[()=>KC()]),W(e,t)};K(m,e=>{V(oe)?e(h):e(g,-1)}),k(c),k(t),R((e,t,r)=>{Y(o,`placeholder`,e),Y(o,`aria-label`,t),o.disabled=n().transcribing,Y(u,`aria-label`,r),u.disabled=n().transcribing||n().pending.length>=5},[()=>n().transcribing?TB():nB(),()=>_v(),()=>dp()]),H(`keydown`,o,y),Pr(`paste`,o,b),oa(o,()=>n().draft,e=>n().draft=e),H(`change`,s,S),H(`click`,u,()=>V(i)?.click()),Ti(3,t,()=>p),W(e,t)};K(r,e=>{n().recording?e(a):e(o,-1)}),k(t),R(()=>J(t,1,q([`relative mx-3 mb-3 overflow-hidden rounded-3xl border shadow-sm transition-[background-color,border-color] duration-200`,n().recording?`border-transparent bg-black`:`cursor-text border-border bg-background`]))),Pr(`submit`,t,v),Pr(`dragover`,t,e=>e.preventDefault()),Pr(`drop`,t,x),W(e,t)};K(te,e=>{n().closed?e(re):e(ie,-1)}),R(()=>J(a,1,q([`min-h-0 flex-1 overflow-y-auto`,n().messages.length===0?`flex flex-col`:`flex flex-col space-y-5 px-4 pt-16 pb-4`]))),W(e,t)};K(te,e=>{n().view===`history`?e(re):n().voiceMode?e(le,1):e(ue,-1)}),k(t),R(e=>Y(m,`aria-label`,e),[()=>vh()]),H(`click`,m,()=>n().closePanel()),Ti(3,t,()=>f),W(e,t)};K(de,e=>{n().open&&e(fe)});var pe=L(de,2),me=e=>{var t=rq(),r=F(t),i=e=>{za(e,{get icon(){return _a},class:`size-5 sm:size-6`,strokeWidth:2})},a=e=>{Ma(e,{class:`size-6 sm:size-7`})};K(r,e=>{n().open?e(i):e(a,-1)}),k(t),R(e=>{J(t,1,q([`flex items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg outline-none transition duration-200 ease-out hover:scale-110 hover:bg-primary/80 hover:shadow-xl focus-visible:ring-2 focus-visible:ring-ring/30 active:scale-95`,`size-12 sm:size-14`,n().open&&`max-sm:hidden`])),Y(t,`aria-label`,e)},[()=>n().open?J_():ly()]),H(`click`,t,()=>n().toggle()),W(e,t)};K(pe,e=>{n().showLauncher&&e(me)}),k(ue);var w=L(ue,2);{let e=j(()=>vh()),t=j(()=>n_()),n=j(()=>Ng());Ua(w,{get items(){return V(s)},get closeLabel(){return V(e)},get prevLabel(){return V(t)},get nextLabel(){return V(n)},get open(){return V(a)},set open(e){P(a,e,!0)},get index(){return V(o)},set index(e){P(o,e,!0)}})}R(()=>J(ue,1,q([`fixed z-50 flex font-sans antialiased text-foreground`,n().open?`inset-0 flex-col max-sm:items-stretch sm:inset-auto sm:right-5 sm:bottom-5 sm:items-end sm:gap-3`:`right-[max(0.75rem,env(safe-area-inset-right))] bottom-[max(0.75rem,env(safe-area-inset-bottom))] items-end sm:right-5 sm:bottom-5`]))),W(e,le),Je()}Fr([`click`,`keydown`,`change`]);function Uq(e){if(!e)return null;switch(e){case`search_pages`:return yf();case`browse_page`:return rd();case`read_page`:return Yd();case`attach_link`:return Pu();case`call_api`:return Ed();default:return Hf()}}function Wq(e){return e.connected&&!e.closed&&!e.transcribing&&!e.voiceMode&&(!!e.draft.trim()||e.recording||e.pendingCount>0)}function Gq(e){return e.voiceRealtimeEnabled&&e.connected&&!e.closed&&!e.transferred&&!e.transcribing}function Kq(e){return e.voiceMode?e.callState===`playing`||e.callState===`thinking`||e.agentActivity?`warm`:`cold`:`idle`}function qq(e){return e.transcribing?SE():e.callState===`speaking`?Rw():Uq(e.agentActivity)||(e.callState===`thinking`?$T():e.callState===`playing`?AT():sT())}function Jq(e){return e===`customer`||e===`agent`||e===`operator`}function Yq(e){let t=new Map;for(let n of e)for(let e of n.attachments??[])e.previewUrl&&t.set(e.id,e.previewUrl);return t}function Xq(e,t){return!e.attachments?.length||t.size===0?e:{...e,attachments:e.attachments.map(e=>{let n=t.get(e.id);return n?{...e,previewUrl:n}:e})}}function Zq(e,t,n,r={}){if(t.length===0)return e;let i=r.preferId,a=i&&i.length>0?e.findIndex(e=>e.id===i):-1;if(a<0&&(a=e.findLastIndex(e=>e.role===`agent`)),a<0)return[...e,{id:r.newId?.()??crypto.randomUUID(),at:n,role:`agent`,text:``,streaming:!1,attachments:t}];let o=e[a];if(!o)return e;let s=new Set((o.attachments??[]).map(e=>e.id)),c=t.filter(e=>!s.has(e.id));return c.length===0?e:e.map((e,t)=>t===a?{...e,attachments:[...e.attachments??[],...c]}:e)}function Qq(e){return e.flatMap(e=>Jq(e.role)?[{id:e.id,at:e.at,role:e.role,text:e.text,streaming:!1,...e.attachments&&e.attachments.length>0?{attachments:e.attachments}:{}}]:[])}var $q=1800;function eJ(e,t,n,r=$q){if(t>=.028)return{speaking:!0,silentMs:0};let i=e.speaking?e.silentMs+Math.max(0,n):0;return e.speaking&&i<r?{speaking:!0,silentMs:i}:{speaking:!1,silentMs:0}}function tJ(e,t,n=.1,r=.04){let i=t>e?n:r;return e+(t-e)*i}function nJ(e){return Math.min(.34,.22+Math.max(0,e)*.12)}var rJ=`https://api.openai.com/v1/realtime/calls`;function iJ(e){if(e.type===`response.function_call_arguments.done`){let t=typeof e.call_id==`string`?e.call_id:``,n=typeof e.name==`string`?e.name:``;return!t||!n?[]:[{callId:t,name:n,arguments:typeof e.arguments==`string`?e.arguments:`{}`}]}return e.type!==`response.done`||!Array.isArray(e.response?.output)?[]:e.response.output.flatMap(e=>{if(e.type!==`function_call`)return[];let t=typeof e.call_id==`string`?e.call_id:``,n=typeof e.name==`string`?e.name:``;return!t||!n?[]:[{callId:t,name:n,arguments:typeof e.arguments==`string`?e.arguments:`{}`}]})}function aJ(e){if(e.type===`conversation.item.input_audio_transcription.completed`||e.type===`conversation.item.input_audio_transcription.delta`){let t=typeof e.transcript==`string`?e.transcript:typeof e.delta==`string`?e.delta:``;return t?{role:`customer`,text:t,done:e.type===`conversation.item.input_audio_transcription.completed`}:null}if(e.type===`response.output_audio_transcript.delta`||e.type===`response.audio_transcript.delta`){let t=typeof e.delta==`string`?e.delta:``;return t?{role:`agent`,text:t,done:!1}:null}return e.type===`response.output_audio_transcript.done`||e.type===`response.audio_transcript.done`?{role:`agent`,text:typeof e.transcript==`string`?e.transcript:``,done:!0}:null}function oJ(e){let t=e.response?.output;return Array.isArray(t)?t.some(e=>e.type===`function_call`):!1}function sJ(e){let t=typeof e.type==`string`?e.type:``;return t===`output_audio_buffer.started`||t===`response.output_audio.delta`||t===`response.audio.delta`?`agent-start`:t===`output_audio_buffer.stopped`||t===`output_audio_buffer.cleared`?`agent-end`:t===`response.function_call_arguments.done`?`thinking`:t===`response.done`?oJ(e)?`thinking`:`agent-end`:t===`input_audio_buffer.speech_started`?`user-start`:t===`input_audio_buffer.speech_stopped`?`user-end`:null}async function cJ(e,t,n){let r=new RTCPeerConnection,i=document.createElement(`audio`);i.autoplay=!0;let a=new Set,o=0,s=!1,c=!1,l=e=>{f.readyState===`open`&&f.send(JSON.stringify(e))},u=()=>{c||o>0||!s||(s=!1,l({type:`response.create`}))},d=e=>{for(let t of e)a.has(t.callId)||(a.add(t.callId),o+=1,(async()=>{let e=``;try{e=await n.onFunctionCall(t)}catch(t){e=JSON.stringify({error:t instanceof Error?t.message:String(t)})}c||(l({type:`conversation.item.create`,item:{type:`function_call_output`,call_id:t.callId,output:e}}),--o,u())})())};r.ontrack=e=>{let t=e.streams[0]??new MediaStream([e.track]);i.srcObject=t,n.onRemoteStream(t)};for(let e of t.getAudioTracks())r.addTrack(e,t);let f=r.createDataChannel(`oai-events`);f.addEventListener(`message`,e=>{let t;try{t=JSON.parse(String(e.data))}catch{return}if(t.type===`error`){let e=typeof t.error?.message==`string`?t.error.message:`Realtime call failed`;n.onError(e);return}let r=sJ(t);r&&n.onActivity?.(r);let i=aJ(t);i&&n.onTranscript(i);let a=iJ(t);a.length>0&&d(a),t.type===`response.done`&&a.length>0&&(s=!0,u())});let p=await r.createOffer();await r.setLocalDescription(p),await lJ(r);let m=r.localDescription?.sdp??p.sdp;if(!m)throw r.close(),Error(`WebRTC offer was empty`);let h=await fetch(rJ,{method:`POST`,body:m,headers:{Authorization:`Bearer ${e}`,"Content-Type":`application/sdp`}});if(!h.ok)throw r.close(),Error(`Could not start Realtime call`);return await r.setRemoteDescription({type:`answer`,sdp:await h.text()}),{disconnect:()=>{c=!0;try{f.close()}catch{}r.close(),i.pause(),i.srcObject=null,i.remove()}}}function lJ(e){return e.iceGatheringState===`complete`?Promise.resolve():new Promise(t=>{let n=setTimeout(()=>{e.removeEventListener(`icegatheringstatechange`,r),t()},2e3),r=()=>{e.iceGatheringState===`complete`&&(clearTimeout(n),e.removeEventListener(`icegatheringstatechange`,r),t())};e.addEventListener(`icegatheringstatechange`,r)})}function uJ(e){return e.replace(/\/$/,``)}function dJ(e,t,n,r,i){let a=uJ(e).replace(/^http/i,`ws`),o=new URLSearchParams({group:t,key:n});return r&&o.set(`thread`,r),i&&o.set(`visitor`,i),`${a}/v1/ws/chat?${o}`}function fJ(e,t){return`${uJ(e)}/v1/group/${encodeURIComponent(t)}`}function pJ(e,t){return`${fJ(e,t)}/identify`}function mJ(e){return`${uJ(e)}/v1/transcribe`}function hJ(e,t){return`${fJ(e,t)}/realtime-session`}function gJ(e){return`${uJ(e)}/v1/chat/attachments`}function _J(e,t,n,r,i){let a=new URLSearchParams({group:n,key:r});return i&&a.set(`visitor`,i),`${uJ(e)}/v1/chat/attachments/${encodeURIComponent(t)}?${a}`}var vJ=.06,yJ=.0015,bJ=.01,xJ=1.15,SJ=.985,CJ=.3,wJ=.002;function TJ(e){let t=0,n=0;for(let r=0;r<e.length;r+=1){let i=Math.abs(e[r]??0);i>t&&(t=i),n+=i}return{peak:t,energy:e.length?n/e.length:0}}function EJ(){return Array.from({length:256},()=>vJ)}function DJ(){return{tape:EJ(),clock:0,column:vJ,peakRef:yJ,noise:yJ}}function OJ(e,t){let n=e.noise,r=e.peakRef,i=t<n?CJ:wJ;n+=(t-n)*i,r=t>r?Math.min(t,Math.max(r*xJ,yJ)):Math.max(t,r*SJ,yJ),n=Math.min(Math.max(n,yJ),r*.4);let a=n*1.8+8e-4,o=Math.max(bJ,r-a),s=Math.max(0,t-a)/o,c=Math.min(1,Math.max(vJ,s**.7));return{state:{tape:e.tape,clock:e.clock,column:e.column,peakRef:r,noise:n},level:c}}function kJ(e,t,n,r){let{peak:i,energy:a}=TJ(t),o=OJ(e,i),s=o.state.tape.slice(),c=o.state.clock,l=Math.max(o.state.column,o.level),u=o.level,d=r===0?30:Math.min(120,n-r);for(c+=d;c>=30;)c-=30,s.push(l),l=u,s.length>256&&(s=s.slice(s.length-256));return{state:{tape:s,clock:c,column:l,peakRef:o.state.peakRef,noise:o.state.noise},levels:s.concat(l),waveShift:c/30,energy:a,tapeLast:n}}var AJ=[`audio/webm;codecs=opus`,`audio/webm`,`audio/mp4`,`audio/ogg;codecs=opus`];function jJ(){return typeof MediaRecorder>`u`?``:AJ.find(e=>MediaRecorder.isTypeSupported(e))??``}function MJ(e){return e.includes(`mp4`)||e.includes(`m4a`)||e.includes(`aac`)?`recording.m4a`:e.includes(`ogg`)?`recording.ogg`:e.includes(`mpeg`)||e.includes(`mp3`)?`recording.mp3`:`recording.webm`}function NJ(e){return new Promise(t=>setTimeout(t,e))}function PJ(e){return e===`Too many open conversations`||e===`Too many conversations created`?``:e}function FJ(){if(!(typeof window>`u`))return window.AudioContext??window.webkitAudioContext}var IJ=5,LJ=8388608,RJ=16777216,zJ=new Set([`image/jpeg`,`image/png`,`image/gif`,`image/webp`]);function BJ(){return new Date().toISOString()}var VJ=class{config;visitorId;constructor(e,t){this.config=e,this.visitorId=t,this.showLauncher=e.showLauncher!==!1}#e=N(!1);get open(){return V(this.#e)}set open(e){P(this.#e,e,!0)}#t=N(!0);get showLauncher(){return V(this.#t)}set showLauncher(e){P(this.#t,e,!0)}#n=N(!0);get voiceCallEnabled(){return V(this.#n)}set voiceCallEnabled(e){P(this.#n,e,!0)}#r=N(!0);get dictationEnabled(){return V(this.#r)}set dictationEnabled(e){P(this.#r,e,!0)}#i=N(!1);get voiceRealtimeEnabled(){return V(this.#i)}set voiceRealtimeEnabled(e){P(this.#i,e,!0)}#a=N(`stars_5`);get ratingScale(){return V(this.#a)}set ratingScale(e){P(this.#a,e,!0)}#o=N(!1);get rated(){return V(this.#o)}set rated(e){P(this.#o,e,!0)}#s=N(!1);get ratingBusy(){return V(this.#s)}set ratingBusy(e){P(this.#s,e,!0)}#c=N(!1);get connected(){return V(this.#c)}set connected(e){P(this.#c,e,!0)}#l=N(!1);get busy(){return V(this.#l)}set busy(e){P(this.#l,e,!0)}#u=N(!1);get transferred(){return V(this.#u)}set transferred(e){P(this.#u,e,!0)}#d=N(!1);get inboxCovered(){return V(this.#d)}set inboxCovered(e){P(this.#d,e,!0)}#f=N(!1);get awaitedOperator(){return V(this.#f)}set awaitedOperator(e){P(this.#f,e,!0)}#p=N(``);get waitingMessage(){return V(this.#p)}set waitingMessage(e){P(this.#p,e,!0)}#m=N(``);get waitingUntil(){return V(this.#m)}set waitingUntil(e){P(this.#m,e,!0)}#h=N(``);get waitingTimezone(){return V(this.#h)}set waitingTimezone(e){P(this.#h,e,!0)}#g=N(`waiting_customer`);get status(){return V(this.#g)}set status(e){P(this.#g,e,!0)}#_=N(!1);get recording(){return V(this.#_)}set recording(e){P(this.#_,e,!0)}#v=N(!1);get transcribing(){return V(this.#v)}set transcribing(e){P(this.#v,e,!0)}#y=N(!1);get voiceMode(){return V(this.#y)}set voiceMode(e){P(this.#y,e,!0)}#b=N(`idle`);get callState(){return V(this.#b)}set callState(e){P(this.#b,e,!0)}#x=N(null);get agentActivity(){return V(this.#x)}set agentActivity(e){P(this.#x,e,!0)}#S=N([]);get levels(){return V(this.#S)}set levels(e){P(this.#S,e)}#C=N(0);get waveTick(){return V(this.#C)}set waveTick(e){P(this.#C,e,!0)}#w=N(0);get waveShift(){return V(this.#w)}set waveShift(e){P(this.#w,e,!0)}#T=N(``);get error(){return V(this.#T)}set error(e){P(this.#T,e,!0)}#E=N(``);get draft(){return V(this.#E)}set draft(e){P(this.#E,e,!0)}#D=N($t([]));get pending(){return V(this.#D)}set pending(e){P(this.#D,e,!0)}#O=N(`history`);get view(){return V(this.#O)}set view(e){P(this.#O,e,!0)}#k=N(null);get currentId(){return V(this.#k)}set currentId(e){P(this.#k,e,!0)}#A=N($t([]));get history(){return V(this.#A)}set history(e){P(this.#A,e,!0)}#j=N($t([]));get messages(){return V(this.#j)}set messages(e){P(this.#j,e,!0)}#M=null;#N=null;#P=null;#F=null;#I=null;#L=[];#R=null;#z=null;#B=null;#V=null;#H=null;#U=null;#W=null;#G=DJ();#K=0;#q=0;#J=null;#Y=null;#X=null;#Z=!1;#Q=null;#$=null;#ee=0;#te=!1;#ne=!1;#re=null;#ie=!1;#ae=null;#oe=null;#se=new Map;#ce=``;get closed(){return ZK(this.status)}get#le(){return{connected:this.connected,closed:this.closed,transferred:this.transferred,voiceRealtimeEnabled:this.voiceRealtimeEnabled,voiceMode:this.voiceMode,recording:this.recording,transcribing:this.transcribing,draft:this.draft,pendingCount:this.pending.filter(e=>e.id&&!e.error).length,callState:this.callState,agentActivity:this.agentActivity}}get canSend(){return Wq(this.#le)&&!this.pending.some(e=>e.uploading)}get canStartCall(){return this.voiceCallEnabled&&Gq(this.#le)}get activityLevel(){return this.levels.at(-1)??0}get orbitTone(){return Kq(this.#le)}get callStatusLabel(){return qq(this.#le)}get agentStatusLabel(){return Uq(this.agentActivity)}toggle(){if(this.open=!this.open,this.open){this.#Ge(),this.connect();return}this.hangup()}openPanel(){this.open=!0,this.#Ge(),this.connect()}closePanel(){this.open=!1,this.hangup()}setShowLauncher(e){this.showLauncher=e}connect(){this.#M&&this.#M.readyState<=WebSocket.OPEN||(this.#Ke(),this.#He())}showHistory(){this.hangup(),this.#Je(),this.view=`history`}hideHistory(){this.view=`chat`}startNew(){this.view=`chat`,this.hangup(),this.#ue(),!(!this.currentId&&this.messages.length===0)&&(this.#$e(),this.currentId=null,io(this.config.group,null),this.messages=[],this.transferred=!1,this.inboxCovered=!1,this.awaitedOperator=!1,this.waitingMessage=``,this.waitingUntil=``,this.waitingTimezone=``,this.status=`waiting_customer`,this.rated=!1,this.ratingBusy=!1,this.error=``,this.busy=!1,this.#P=null,this.#lt(),this.#He())}applyRemoteHistory(e){let t=this.currentId&&this.messages.length>0&&!e.some(e=>e.id===this.currentId)?this.history.find(e=>e.id===this.currentId):void 0;this.history=(t?no(e,t):e).slice(0,40),oo(this.config.group,this.history),this.currentId&&!this.history.some(e=>e.id===this.currentId)&&(this.currentId=null,io(this.config.group,null));let n=this.messages.length===0&&!this.draft.trim()&&this.pending.length===0&&!this.busy&&!this.voiceMode;this.history.length>0&&n&&(this.view=`history`)}openThread(e){if(this.view=`chat`,this.hangup(),e===this.currentId&&this.#M&&this.#M.readyState===WebSocket.OPEN)return;this.#$e(),this.currentId=e,io(this.config.group,e),this.messages=[];let t=this.history.find(t=>t.id===e);this.status=t?.status??`waiting_customer`,this.transferred=QK(this.status,t?.assignee),this.rated=!1,this.ratingBusy=!1,this.error=``,this.busy=!1,this.#P=null,this.#lt(),this.#He()}disconnect(){this.#N&&=(clearTimeout(this.#N),null),this.#lt(),this.hangup(),this.#q+=1,this.transcribing=!1,this.#M?.close(),this.#M=null,this.connected=!1}async toggleMic(){!this.dictationEnabled||this.closed||this.voiceMode||this.transcribing||this.recording||await this.#he()}async cancelRecording(){!this.recording||this.voiceMode||await this.#Ae(!0)}async startCall(){if(!this.voiceRealtimeEnabled){this.error=EL();return}!this.voiceCallEnabled||!this.canStartCall||this.voiceMode||(this.#rt(),this.view=`chat`,this.open=!0,this.#q+=1,this.transcribing=!1,this.draft=``,await this.#Ae(!0),this.voiceMode=!0,this.callState=`listening`,this.#Z=!1,this.error=``,await this.#ge()||(this.hangup(),this.error||=EL()))}hangup(){this.#q+=1,this.#ee+=1,this.transcribing=!1,this.#it(),this.#at(),this.#Z=!1,this.#ce=``,this.#be(),this.#$?.disconnect(),this.#$=null,this.#te=!1,this.#ne=!1,this.#re=null,this.#ie=!1,this.#Ce(),this.#we(),this.voiceMode=!1,this.callState=`idle`,this.agentActivity=null,this.#Ae(!0)}send(){if(!(this.closed||this.voiceMode||this.transcribing)){if(this.recording){this.#pe();return}this.#de(this.draft.trim())}}rate(e){this.status!==`resolved`||this.rated||this.ratingBusy||!this.#M||this.#M.readyState!==WebSocket.OPEN||(this.ratingBusy=!0,this.error=``,this.#M.send(JSON.stringify({type:`chat.rate`,value:e})))}async addFiles(e){if(!(this.voiceMode||this.closed))for(let t of[...e]){if(this.pending.length>=IJ){this.error=dI();break}let e=HJ(t);if(!e){this.error=FN();continue}let n=e===`pdf`?RJ:LJ;if(t.size>n){this.error=e===`pdf`?fN():UM();continue}let r=crypto.randomUUID(),i=e===`image`?URL.createObjectURL(t):null;this.pending.push({localId:r,name:t.name||(e===`pdf`?`dokument.pdf`:`obrazek.jpg`),kind:e,previewUrl:i,id:null,uploading:!0,error:``}),this.#fe(r,t)}}removePending(e){let t=this.pending.find(t=>t.localId===e);t?.previewUrl&&URL.revokeObjectURL(t.previewUrl),this.pending=this.pending.filter(t=>t.localId!==e)}attachmentSrc(e){return e.previewUrl?e.previewUrl:_J(this.config.apiUrl,e.id,this.config.group,this.config.apiKey,this.visitorId)}#ue(e={}){if(e.revoke!==!1)for(let e of this.pending)e.previewUrl&&URL.revokeObjectURL(e.previewUrl);this.pending=[]}#de(e,t={}){let n=this.pending.map(e=>e.id).filter(e=>!!e);if(this.closed||!e&&n.length===0||!this.#M||this.#M.readyState!==WebSocket.OPEN||this.pending.some(e=>e.uploading))return;let r=this.pending.filter(e=>e.id).map(e=>({id:e.id,filename:e.name,contentType:e.kind===`pdf`?`application/pdf`:`image/jpeg`,byteSize:0,kind:e.kind,source:`upload`,...e.previewUrl?{previewUrl:e.previewUrl}:{}}));t.alreadyShown||(this.draft=``,this.messages.push({id:crypto.randomUUID(),at:BJ(),role:`customer`,text:e,streaming:!1,...r.length>0?{attachments:r}:{}})),this.#ue({revoke:!1}),this.error=``,this.#Ve(),this.currentId&&this.#Ze({id:this.currentId,preview:e||r[0]?.filename||``,updatedAt:new Date().toISOString(),status:this.transferred?`waiting_us`:`ai_replying`}),this.#M.send(JSON.stringify({type:`chat.send`,text:e,voice:this.voiceMode,attachmentIds:n}))}async#fe(e,t){let n;this.currentId||(this.#Q?await this.#Q:this.#Q=new Promise(e=>{n=e}));try{let n=new FormData;n.append(`file`,t),n.append(`group`,this.config.group),n.append(`key`,this.config.apiKey),n.append(`visitor`,this.visitorId),this.currentId&&n.append(`thread`,this.currentId);let r=await fetch(gJ(this.config.apiUrl),{method:`POST`,body:n}),i=await r.json().catch(()=>({}));if(!r.ok)throw Error(typeof i.message==`string`?i.message:rL());let a=i.attachment&&typeof i.attachment.id==`string`?i.attachment.id:``;if(!a)throw Error(rL());typeof i.thread_id==`string`&&i.thread_id&&(this.currentId=i.thread_id,io(this.config.group,i.thread_id)),this.pending=this.pending.map(t=>t.localId===e?{...t,id:a,uploading:!1}:t)}catch(t){this.pending=this.pending.map(n=>n.localId===e?{...n,uploading:!1,error:t instanceof Error?t.message:rL()}:n)}finally{n?.(),n&&(this.#Q=null)}}async#pe(){let e=await this.#Ae(!1);await this.#me(e,{revealPause:!0})}async#me(e,t){if(!e)return!1;if(e.size<256)return this.error=XP(),!1;if(this.closed)return!1;let n=++this.#q,r={id:crypto.randomUUID(),at:BJ(),role:`customer`,text:``,streaming:!0,transcribing:!0};this.transcribing=!0,this.error=``,this.messages.push(r);try{let i=await this.#ze(e);if(n!==this.#q)return!1;if(!i)throw Error(HF());return this.#Re(r.id,{transcribing:!1,streaming:!0,transcribed:!1}),await this.#Be(r.id,i,n),n!==this.#q||(this.#Re(r.id,{text:i,streaming:!1,transcribing:!1,transcribed:!0}),this.transcribing=!1,t.revealPause&&await NJ(450),n!==this.#q)?!1:!this.#M||this.#M.readyState!==WebSocket.OPEN?(this.error=Oj(),!1):(this.#de(i,{alreadyShown:!0}),!0)}catch(e){return n===this.#q&&(this.messages=this.messages.filter(e=>e.id!==r.id),this.transcribing=!1,this.error=e instanceof Error?e.message:PI(),!1)}}async#he(){await this.#Oe({echoCancellation:!1,noiseSuppression:!1})}async#ge(){this.callState=`listening`,this.#te=!0,this.#ne=!1,this.connect();let e=++this.#ee;try{let t=await this.#_e();if(e!==this.#ee||!this.voiceMode||(this.#re=t.grant??null,this.#ie=!1,this.#ve(),await this.#Oe({echoCancellation:!0,noiseSuppression:!0},{recorder:!1}),e!==this.#ee||!this.voiceMode))return this.#te=!1,!0;if(!this.#R)throw Error(DP());return this.#$=await cJ(t.clientSecret,this.#R,{onFunctionCall:e=>this.#ye(e.callId,e.name,e.arguments),onTranscript:e=>this.#xe(e),onRemoteStream:e=>this.#De(e),onActivity:e=>this.#Se(e),onError:e=>{this.error=e}}),e!==this.#ee||!this.voiceMode?(this.#$.disconnect(),this.#$=null,this.#te=!1,!0):(this.#te=!1,this.callState=`listening`,await this.#J?.resume(),!0)}catch(t){return e===this.#ee?(this.#$?.disconnect(),this.#$=null,this.#te=!1,await this.#Ae(!0),this.error=t instanceof Error?t.message:EL(),!1):(this.#te=!1,!0)}}async#_e(){let e=await fetch(hJ(this.config.apiUrl,this.config.group),{method:`POST`,headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${this.config.apiKey}`},body:JSON.stringify({visitorId:this.visitorId,...this.currentId?{threadId:this.currentId}:{}})}),t=await e.json().catch(()=>({}));if(!e.ok||typeof t.client_secret!=`string`||!t.client_secret)throw Error(typeof t.message==`string`?t.message:`Realtime session failed`);return{clientSecret:t.client_secret,...typeof t.grant==`string`&&t.grant?{grant:t.grant}:{}}}#ve(){!this.#re||this.#ie||!this.#M||this.#M.readyState!==WebSocket.OPEN||(this.#M.send(JSON.stringify({type:`chat.voice.ready`,grant:this.#re})),this.#ie=!0)}#ye(e,t,n){return!this.#M||this.#M.readyState!==WebSocket.OPEN?Promise.resolve(JSON.stringify({error:`Chat is disconnected`})):new Promise((r,i)=>{this.agentActivity=t,this.voiceMode&&(this.callState=`thinking`),this.#se.set(e,{resolve:r,reject:i}),this.#M?.send(JSON.stringify({type:`chat.voice.tool`,callId:e,name:t,arguments:n}))})}#be(){for(let e of this.#se.values())e.reject(Error(`Call ended`));this.#se.clear()}#xe(e){if(!this.voiceMode)return;if(e.role===`customer`){if(!e.done)return;let t=e.text.trim();if(!t)return;this.messages.push({id:crypto.randomUUID(),at:BJ(),role:`customer`,text:t,streaming:!1}),this.#Ee(`customer`,t);return}if(!e.done){this.#ce+=e.text,this.#Te(this.#ce,!1);return}let t=(e.text||this.#ce).trim();this.#ce=``,t&&(this.#Te(t,!0),this.#Ee(`agent`,t))}#Se(e){if(this.voiceMode){if(e===`agent-start`){this.#Ce(),this.#we(),this.#ne=!0,this.callState=this.#se.size>0?`thinking`:`playing`;return}if(e===`thinking`){this.#Ce(),this.callState=`thinking`;return}if(e===`agent-end`){this.#Ce(),this.#ae=setTimeout(()=>{if(this.#ae=null,this.#ne=!1,this.voiceMode){if(this.#se.size>0||this.agentActivity){this.callState=`thinking`;return}if(this.#Z||this.transferred||this.closed){this.hangup();return}this.callState=`listening`}},1400);return}if(e===`user-start`){this.callState=`speaking`;return}if(this.#se.size>0||this.agentActivity){this.callState=`thinking`;return}if(this.#Z||this.#ne){this.callState=`playing`;return}this.callState=`listening`}}#Ce(){this.#ae!==null&&(clearTimeout(this.#ae),this.#ae=null)}#we(){this.#oe!==null&&(clearTimeout(this.#oe),this.#oe=null)}#Te(e,t){if(!this.#P){let e={id:crypto.randomUUID(),at:BJ(),role:`agent`,text:``,streaming:!0};this.#P=e.id,this.messages.push(e)}let n=this.messages.find(e=>e.id===this.#P);n&&(n.text=e,n.streaming=!t),t&&(this.#P=null)}#Ee(e,t){!this.#M||this.#M.readyState!==WebSocket.OPEN||this.#M.send(JSON.stringify({type:`chat.voice.commit`,role:e,text:t}))}#De(e){this.#it();let t=FJ();if(!t)return;(!this.#J||this.#J.state===`closed`)&&(this.#J=new t);let n=this.#J;n.resume();let r=n.createMediaStreamSource(e),i=n.createAnalyser();i.fftSize=512,i.smoothingTimeConstant=.85,r.connect(i),this.#Y=i;let a=new Float32Array(i.fftSize),o={speaking:!1,silentMs:0},s=vJ,c=performance.now(),l=vJ,u=()=>{if(!this.#Y||!this.#$)return;let e=performance.now(),t=Math.min(80,e-c);c=e,this.#Y.getFloatTimeDomainData(a);let{peak:n}=TJ(a);o=eJ(o,n,t);let r=o.speaking||this.#ne?nJ(Math.min(1,Math.max(.4,n*4))):vJ;s=tJ(s,r),Math.abs(s-l)>=.04&&(l=s,this.levels=Array.from({length:256},()=>s)),this.#X=requestAnimationFrame(u)};this.#X=requestAnimationFrame(u)}async#Oe(e,t={}){if(typeof navigator>`u`||!navigator.mediaDevices?.getUserMedia||t.recorder!==!1&&typeof MediaRecorder>`u`){this.error=bM();return}this.error=``,this.#Ne();try{let n=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:e.echoCancellation,noiseSuppression:e.noiseSuppression,autoGainControl:!0}});if(this.#R=n,this.#Pe(n),t.recorder===!1){this.recording=!0;return}this.#ke(n)}catch(e){if(this.#Le(),this.#Me(),this.recording=!1,e instanceof DOMException&&e.name===`NotAllowedError`){this.error=iP();return}this.error=DP()}}#ke(e){this.#je();let t=new MediaStream(e.getAudioTracks().map(e=>e.clone()));this.#z=t;let n=jJ(),r=n?new MediaRecorder(t,{mimeType:n}):new MediaRecorder(t);this.#L=[],r.addEventListener(`dataavailable`,e=>{e.data.size>0&&this.#L.push(e.data)}),r.start(250),this.#I=r,this.recording=!0}#Ae(e,t=!1){let n=this.#I;return!n||n.state===`inactive`?(t||(this.#Le(),this.#Me(),this.recording=!1),this.#I=null,this.#L=[],Promise.resolve(null)):new Promise(r=>{n.addEventListener(`stop`,()=>{let i=new Blob(this.#L,{type:n.mimeType||`audio/webm`});this.#L=[],this.#I=null,t?this.#je():(this.recording=!1,this.#Le(),this.#Me()),r(e?null:i)},{once:!0}),n.stop()})}#je(){for(let e of this.#z?.getTracks()??[])e.stop();this.#z=null}#Me(){this.#je();for(let e of this.#R?.getTracks()??[])e.stop();this.#R=null}#Ne(){let e=FJ();return e?((!this.#B||this.#B.state===`closed`)&&(this.#B=new e),this.#B.resume(),this.#B):null}#Pe(e){this.#Ie();let t=this.#Ne();if(!t)return;for(let t of e.getAudioTracks())t.enabled=!0;let n=t.createMediaStreamSource(e),r=t.createAnalyser();r.fftSize=512,r.smoothingTimeConstant=0,r.minDecibels=-90,r.maxDecibels=-25;let i=t.createMediaStreamDestination();n.connect(r),r.connect(i),this.#V=n,this.#U=r,this.#H=i,this.#Fe();let a=new Float32Array(r.fftSize),o=()=>{if(!this.#U)return;let e=performance.now();if(this.#$||this.#te||this.voiceMode&&this.callState===`playing`)this.#K=e;else{this.#U.getFloatTimeDomainData(a);let t=kJ(this.#G,a,e,this.#K);this.#G=t.state,this.levels=t.levels,this.waveShift=t.waveShift,this.waveTick+=1,this.#K=t.tapeLast}this.#W=requestAnimationFrame(o)};t.resume(),this.#W=requestAnimationFrame(o)}#Fe(){this.#G=DJ(),this.#K=0,this.levels=this.#G.tape.concat(this.#G.column),this.waveShift=0}#Ie(){this.#W!==null&&(cancelAnimationFrame(this.#W),this.#W=null),this.#U=null,this.#H?.disconnect(),this.#H=null,this.#V?.disconnect(),this.#V=null,this.#G={tape:[],clock:0,column:vJ,peakRef:yJ,noise:yJ},this.#K=0,this.waveShift=0}#Le(){this.#Ie(),this.#B&&=(this.#B.close(),null),this.levels=[]}#Re(e,t){let n=this.messages.find(t=>t.id===e);n&&Object.assign(n,t)}async#ze(e){let t=new FormData;t.append(`file`,e,MJ(e.type)),t.append(`company`,this.config.group),t.append(`context`,`thread`);let n=await fetch(mJ(this.config.apiUrl),{method:`POST`,headers:{authorization:`Bearer ${this.config.apiKey}`},body:t}),r=await n.json().catch(()=>({}));if(!n.ok)throw Error(n.status===400?HF():PI());return typeof r.text==`string`?r.text.trim():``}async#Be(e,t,n){let r=t.split(/(\s+)/).filter(Boolean);if(r.length<=2){this.#Re(e,{text:t});return}this.#Re(e,{text:``});let i=``,a=Math.max(12,Math.min(36,Math.floor(700/r.length)));for(let t of r){if(n!==this.#q)return;i+=t,this.#Re(e,{text:i}),await NJ(a)}}#Ve(){if(this.transferred||this.#P)return;this.busy=!0,this.voiceMode&&(this.callState=`thinking`);let e={id:crypto.randomUUID(),at:BJ(),role:`agent`,text:``,streaming:!0};this.#P=e.id,this.messages.push(e),this.#ct()}#He(){this.#N&&=(clearTimeout(this.#N),null),this.#M?.close();let e=new WebSocket(dJ(this.config.apiUrl,this.config.group,this.config.apiKey,this.currentId,this.visitorId));this.#M=e,e.addEventListener(`open`,()=>{this.#M===e&&(this.connected=!0,this.#ve())}),e.addEventListener(`close`,()=>{this.#M===e&&(this.connected=!1,this.#N=setTimeout(()=>this.#He(),1500))}),e.addEventListener(`message`,e=>{try{this.#Ue(JSON.parse(String(e.data)))}catch{}})}#Ue(e){if(e.type!==`ping`){if(e.type===`chat.ready`){this.#We(e.thread),this.#Xe(e.inboxCovered),this.#ve();return}if(e.type===`chat.status`){this.agentActivity=e.activity;return}if(e.type===`chat.delta`&&e.kind===`answer`){this.#et(e.text);return}if(e.type===`chat.ask`){this.agentActivity=null,this.#tt(e.question,e.message?.id),this.voiceMode?(this.busy=!1,this.#st()):this.busy=!0,this.#ct();return}if(e.type===`chat.done`){if(this.#lt(),this.agentActivity=null,this.#tt(e.text),e.thread){this.#qe(e.thread);let t=[...e.thread.messages].reverse().find(e=>e.role===`agent`);if(t?.attachments?.length){let e=[...this.messages].reverse().find(e=>e.role===`agent`);e&&(e.attachments=t.attachments,e.id=t.id)}}this.busy=!1,this.#Xe(e.inboxCovered),(e.transferred||QK(e.thread.status,e.thread.assignee)||ZK(e.thread.status))&&this.#ot(),this.#st();return}if(e.type===`chat.queued`){this.#lt(),this.agentActivity=null,this.#nt(),this.busy=!1,this.#ot(),this.#st();return}if(e.type===`chat.error`){this.#lt(),this.agentActivity=null,this.#nt(),this.busy=!1;let t=PJ(e.message);this.ratingBusy?(this.ratingBusy=!1,this.error=t):this.closed||(this.error=t),this.#st();return}if(e.type===`chat.rated`){this.rated=!0,this.ratingBusy=!1;return}if(e.type===`chat.voice.committed`){e.thread&&this.#qe(e.thread),e.role===`agent`&&this.#ut(e.message?.attachments??UJ(e.thread));return}if(e.type===`chat.voice.tool_result`){let t=this.#se.get(e.callId);t&&(this.#se.delete(e.callId),t.resolve(e.output)),this.#se.size===0&&(this.agentActivity=null,this.voiceMode&&!this.#ne&&(this.callState=`thinking`)),e.thread&&(this.currentId=e.thread.id,io(this.config.group,e.thread.id),this.status=e.thread.status,this.transferred=QK(e.thread.status,e.thread.assignee),this.#Ze({id:e.thread.id,...e.thread.title?{title:e.thread.title}:{},preview:e.thread.preview||to(this.messages)||LD(),updatedAt:e.thread.updatedAt,status:e.thread.status,assignee:e.thread.assignee})),this.#ut(e.attachments??UJ(e.thread)),this.#Xe(e.inboxCovered),(e.transferred||e.closed)&&this.#ot();return}if(e.type===`inbox.coverage`){this.#Xe(e.covered);return}if(e.type===`inbox.waiting`){this.transferred&&!this.closed&&!this.inboxCovered&&(this.waitingMessage=e.message??``,this.waitingUntil=e.next_open_at??``,this.waitingTimezone=e.timezone??``);return}if(e.type===`thread.message`&&e.message.role===`operator`){this.#dt(e.message);return}if(e.type===`thread.updated`){this.#Ye(e.thread.status,e.thread.assignee);let t=this.history.find(t=>t.id===e.thread.id);t&&this.#Ze({...t,status:e.thread.status,assignee:e.thread.assignee??t.assignee,...e.thread.title?{title:e.thread.title}:{},...e.thread.preview?{preview:e.thread.preview}:{},...e.thread.updatedAt?{updatedAt:e.thread.updatedAt}:{}}),(this.closed||this.transferred)&&this.#ot();return}}}#We(e){if(!e){this.currentId&&(this.error=Zj(),this.#Qe(this.currentId),this.currentId=null,io(this.config.group,null),this.messages=[]),this.transferred=!1,this.inboxCovered=!1,this.awaitedOperator=!1,this.waitingMessage=``,this.waitingUntil=``,this.waitingTimezone=``,this.status=`waiting_customer`,this.rated=!1,this.ratingBusy=!1,this.busy=!1,this.#P=null,this.#lt();return}if(this.rated=e.rated===!0,this.ratingBusy=!1,!this.currentId&&this.messages.some(e=>e.role===`customer`)&&e.messages.length>0){this.#qe(e);return}if(e.messages.length>0){let t=Yq(this.messages);this.messages=Qq(e.messages).map(e=>Xq(e,t))}this.#qe(e),(this.transferred||this.closed)&&this.voiceMode&&this.#ot(),e.messages.length!==0&&(this.#P=null,this.busy=!1,this.#lt())}#Ge(){if(this.#Ke(),this.history.length===0){this.startNew();return}this.view=`history`}#Ke(){this.history=ao(this.config.group),this.currentId=ro(this.config.group),this.currentId&&!this.history.some(e=>e.id===this.currentId)&&this.#Ze({id:this.currentId,preview:mD(),updatedAt:new Date().toISOString(),status:`waiting_customer`})}#qe(e){this.currentId=e.id,io(this.config.group,e.id),this.#Ye(e.status,e.assignee);let t=this.history.find(t=>t.id===e.id);this.#Ze({id:e.id,...e.title?.trim()?{title:e.title}:t?.title?{title:t.title}:{},preview:to(e.messages??this.messages)||e.preview||LD(),updatedAt:e.updatedAt,status:e.status,assignee:e.assignee})}#Je(){if(!this.currentId)return;let e=this.history.find(e=>e.id===this.currentId),t=to(this.messages);!e||!t||this.#Ze({...e,preview:t})}#Ye(e,t){this.status=e,this.transferred=QK(e,t),(!this.transferred||this.closed)&&(this.awaitedOperator=!1,this.waitingMessage=``,this.waitingUntil=``,this.waitingTimezone=``),this.voiceMode&&(this.closed||this.transferred)&&this.#ot()}#Xe(e){typeof e==`boolean`&&(this.transferred&&!this.closed&&!e&&(this.awaitedOperator=!0),this.inboxCovered=e,e&&(this.waitingMessage=``,this.waitingUntil=``,this.waitingTimezone=``))}#Ze(e){this.history=no(this.history,e),oo(this.config.group,this.history)}#Qe(e){this.history=this.history.filter(t=>t.id!==e),oo(this.config.group,this.history)}#$e(){this.#q+=1,this.transcribing=!1,this.draft=``,this.#ue(),this.voiceMode||this.#Ae(!0)}#et(e){if(!this.#P){let e={id:crypto.randomUUID(),at:BJ(),role:`agent`,text:``,streaming:!0};this.#P=e.id,this.messages.push(e)}let t=this.messages.find(e=>e.id===this.#P);t&&(t.text+=e)}#tt(e,t){if(!this.#P){e&&!this.messages.some(t=>t.role===`agent`&&t.text===e)&&this.messages.push({id:t??crypto.randomUUID(),at:BJ(),role:`agent`,text:e,streaming:!1});return}let n=this.messages.find(e=>e.id===this.#P);n&&(n.text?e&&e.length>n.text.length&&e.startsWith(n.text)&&(n.text=e):n.text=e,n.streaming=!1,t&&(n.id=t)),this.#P=null}#nt(){this.#P&&=(this.messages=this.messages.filter(e=>e.id!==this.#P||e.text),null)}#rt(){let e=FJ();if(!e)return;(!this.#J||this.#J.state===`closed`)&&(this.#J=new e),this.#J.resume();let t=this.#J.createOscillator(),n=this.#J.createGain();n.gain.value=0,t.connect(n),n.connect(this.#J.destination),t.start(),t.stop(this.#J.currentTime+.05)}#it(){this.#X!==null&&(cancelAnimationFrame(this.#X),this.#X=null),this.#Y=null}#at(){this.#J&&=(this.#J.close(),null)}#ot(){this.voiceMode&&(this.#Z=!0,this.#$&&!this.#ne&&this.#se.size===0&&this.#oe===null&&(this.#oe=setTimeout(()=>{this.#oe=null,this.voiceMode&&(this.#Z||this.transferred||this.closed)&&this.hangup()},8e3)))}#st(){!this.voiceMode||this.#$||(this.#Z||this.transferred)&&this.hangup()}#ct(){this.#lt(),this.#F=setTimeout(()=>{this.busy&&(this.error=yF(),this.#nt(),this.busy=!1,this.#st())},45e3)}#lt(){this.#F&&=(clearTimeout(this.#F),null)}#ut(e){e?.length&&(this.messages=Zq(this.messages,e,BJ(),{preferId:this.#P}))}#dt(e){this.messages.some(t=>t.id===e.id)||!Jq(e.role)||e.role===`customer`||(this.messages.push({id:e.id,at:e.at,role:e.role,text:e.text,streaming:!1,...e.attachments&&e.attachments.length>0?{attachments:e.attachments}:{}}),this.#Je())}};function HJ(e){let t=e.type.split(`;`)[0]?.trim().toLowerCase()??``;return t===`application/pdf`||e.name.toLowerCase().endsWith(`.pdf`)?`pdf`:zJ.has(t)?`image`:null}function UJ(e){if(!e)return[];for(let t=e.messages.length-1;t>=0;--t){let n=e.messages[t];if(n?.role===`agent`&&n.attachments?.length)return n.attachments}return[]}function WJ(e){return(e?.trim()??``)||`https://api.cusuai.com`}function GJ(e,t){return Ql(e)??Ql(t)}var KJ=`cusu_vid`,qJ=3456e4;function JJ(){if(typeof document>`u`)return``;let e=XJ(KJ);if(e)return e;let t=crypto.randomUUID();return ZJ(KJ,t),t}function YJ(){if(typeof document>`u`)return``;QJ(KJ);let e=crypto.randomUUID();return ZJ(KJ,e),e}function XJ(e){let t=`${e}=`;for(let e of document.cookie.split(`;`)){let n=e.trim();if(n.startsWith(t)){let e=n.slice(t.length);try{return decodeURIComponent(e)}catch{return e}}}return null}function ZJ(e,t){document.cookie=`${e}=${encodeURIComponent(t)}; Max-Age=${qJ}; Path=/; SameSite=Lax`}function QJ(e){document.cookie=`${e}=; Max-Age=0; Path=/; SameSite=Lax`}var $J=`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
167
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-xl:calc(var(--radius) * 1.4);--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", ui-sans-serif, system-ui, sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);scrollbar-width:none;-ms-overflow-style:none}::-webkit-scrollbar{display:none}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-x-3{inset-inline:calc(var(--spacing) * 3)}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-14{right:calc(var(--spacing) * 14)}.right-\\[max\\(0\\.75rem\\,env\\(safe-area-inset-right\\)\\)\\]{right:max(.75rem, env(safe-area-inset-right))}.bottom-0{bottom:0}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-\\[max\\(0\\.75rem\\,env\\(safe-area-inset-bottom\\)\\)\\]{bottom:max(.75rem, env(safe-area-inset-bottom))}.left-3{left:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\\[100\\]{z-index:100}.mx-3{margin-inline:calc(var(--spacing) * 3)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mb-1{margin-bottom:var(--spacing)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.aspect-\\[1\\.91\\/1\\]{aspect-ratio:1.91}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\\[0\\.625rem\\]{width:.625rem;height:.625rem}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.max-h-28{max-height:calc(var(--spacing) * 28)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\\[42\\%\\]{max-height:42%}.max-h-\\[84vh\\]{max-height:84vh}.max-h-\\[92vh\\]{max-height:92vh}.min-h-0{min-height:0}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-10{min-height:calc(var(--spacing) * 10)}.w-24{width:calc(var(--spacing) * 24)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[7\\.5rem\\]{max-width:7.5rem}.max-w-\\[92vw\\]{max-width:92vw}.max-w-\\[min\\(100\\%\\,18rem\\)\\]{max-width:min(100%,18rem)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.origin-bottom-right{transform-origin:100% 100%}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-text{cursor:text}.cursor-zoom-in{cursor:zoom-in}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-none{overscroll-behavior:none}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[1\\.75rem\\]{border-radius:1.75rem}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-border{border-color:var(--border)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-black\\/70{background-color:#000000b3}@supports (color:color-mix(in lab, red, red)){.bg-black\\/70{background-color:color-mix(in oklab, var(--color-black) 70%, transparent)}}.bg-black\\/90{background-color:#000000e6}@supports (color:color-mix(in lab, red, red)){.bg-black\\/90{background-color:color-mix(in oklab, var(--color-black) 90%, transparent)}}.bg-card{background-color:var(--card)}.bg-destructive\\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-foreground{background-color:var(--foreground)}.bg-muted,.bg-muted\\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-muted\\/60{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\\/60{background-color:color-mix(in oklab, var(--muted) 60%, transparent)}}.bg-primary{background-color:var(--primary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pt-16{padding-top:calc(var(--spacing) * 16)}.pt-\\[env\\(safe-area-inset-top\\)\\]{padding-top:env(safe-area-inset-top)}.pr-1\\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-28{padding-right:calc(var(--spacing) * 28)}.pb-1{padding-bottom:var(--spacing)}.pb-2\\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.pb-28{padding-bottom:calc(var(--spacing) * 28)}.pb-\\[env\\(safe-area-inset-bottom\\)\\]{padding-bottom:env(safe-area-inset-bottom)}.pl-3\\.5{padding-left:calc(var(--spacing) * 3.5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-sans{font-family:Geist Variable,ui-sans-serif,system-ui,sans-serif}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.text-background{color:var(--background)}.text-black{color:var(--color-black)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-muted-foreground,.text-muted-foreground\\/70{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\\/70{color:color-mix(in oklab, var(--muted-foreground) 70%, transparent)}}.text-primary-foreground{color:var(--primary-foreground)}.text-white{color:var(--color-white)}.text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.text-white\\/50{color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,border-color\\]{transition-property:background-color,border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\/row\\:underline:is(:where(.group\\/row):hover *){text-decoration-line:underline}}.placeholder\\:text-muted-foreground\\/40::placeholder{color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.placeholder\\:text-muted-foreground\\/40::placeholder{color:color-mix(in oklab, var(--muted-foreground) 40%, transparent)}}@media (hover:hover){.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-\\[1\\.04\\]:hover{scale:1.04}.hover\\:bg-destructive\\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-destructive\\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/40:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/40:hover{background-color:color-mix(in oklab, var(--muted) 40%, transparent)}}.hover\\:bg-muted\\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/50:hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.hover\\:bg-muted\\/70:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/70:hover{background-color:color-mix(in oklab, var(--muted) 70%, transparent)}}.hover\\:bg-primary\\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-primary\\/80:hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/15:hover{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.hover\\:bg-white\\/90:hover{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/90:hover{background-color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:text-foreground:focus-visible{color:var(--foreground)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-ring\\/30:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.focus-visible\\:ring-white\\/40:focus-visible{--tw-ring-color:#fff6}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-white\\/40:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}@media not all and (width>=40rem){.max-sm\\:hidden{display:none}.max-sm\\:items-stretch{align-items:stretch}}@media (width>=40rem){.sm\\:inset-auto{inset:auto}.sm\\:right-5{right:calc(var(--spacing) * 5)}.sm\\:bottom-5{bottom:calc(var(--spacing) * 5)}.sm\\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.sm\\:size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.sm\\:size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.sm\\:h-\\[32rem\\]{height:32rem}.sm\\:w-\\[22rem\\]{width:22rem}.sm\\:items-end{align-items:flex-end}.sm\\:gap-3{gap:calc(var(--spacing) * 3)}.sm\\:rounded-\\[1\\.75rem\\]{border-radius:1.75rem}.sm\\:border{border-style:var(--tw-border-style);border-width:1px}.sm\\:border-border{border-color:var(--border)}.sm\\:pt-0{padding-top:0}.sm\\:pb-0{padding-bottom:0}.sm\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}}:host{--radius:.875rem;--background:oklch(100% 0 0);--foreground:oklch(14.7% .004 49.25);--card:oklch(100% 0 0);--card-foreground:oklch(14.7% .004 49.25);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.7% .004 49.25);--primary:oklch(21.6% .006 56.043);--primary-foreground:oklch(98.5% .001 106.423);--secondary:oklch(97% .001 106.424);--secondary-foreground:oklch(21.6% .006 56.043);--muted:oklch(97% .001 106.424);--muted-foreground:oklch(55.3% .013 58.071);--accent:oklch(97% .001 106.424);--accent-foreground:oklch(21.6% .006 56.043);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.3% .003 48.717);--input:oklch(92.3% .003 48.717);--ring:oklch(70.9% .01 56.259);--recording:oklch(57.7% .245 27.325);--recording-foreground:oklch(98.5% .001 106.423);--recording-muted:oklch(96% .025 25)}.typeset-chat{font-size:14px;line-height:1.65}.typeset-chat :where(*+*){margin-block-start:.75em}.typeset-chat :where(.not-typeset,.not-typeset *),.typeset-chat :where(:first-child){margin-block-start:0}.typeset-chat :where(h1,h2,h3,h4){font-weight:600;line-height:1.3}.typeset-chat :where(h1){font-size:1.15em}.typeset-chat :where(h2){font-size:1.08em}.typeset-chat :where(h3,h4){font-size:1em}.typeset-chat :where(ul,ol){padding-inline-start:1.25em}.typeset-chat :where(ul){list-style:outside}.typeset-chat :where(ol){list-style:decimal}.typeset-chat :where(li+li),.typeset-chat :where(li>ul,li>ol){margin-block-start:.25em}.typeset-chat :where(pre){border-radius:var(--radius-xl);background:var(--background);padding:.75rem 1rem;font-size:.8125rem;line-height:1.5;overflow-x:auto}.typeset-chat :where(:not(pre)>code){background:var(--background);border-radius:.25rem;padding:.1em .35em;font-size:.875em}.typeset-chat :where(blockquote){border-inline-start:2px solid var(--border);color:var(--muted-foreground);padding-inline-start:.75em}.typeset-chat :where(a){text-underline-offset:2px;text-decoration:underline}.typeset-chat :where(table){border-collapse:collapse;width:100%;font-size:.875em}.typeset-chat :where(th,td){border:1px solid var(--border);text-align:start;padding:.35em .5em}.typeset-chat :where(th){font-weight:600}.typeset-chat :where(hr){border:0;border-block-start:1px solid var(--border)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`,eY=`cusu-widget-root`,tY=null,nY=0,rY=null,iY=null,aY=[],oY=`credits_exhausted`,sY=null;function cY(e){sY=e}function lY(e){sY?.(e)}function uY(e){rY=e;let t=++nY;iY=null,xY(),yY(e,t)}function dY(){tY?.chat.openPanel()}function fY(){tY?.chat.closePanel()}function pY(){return tY?.chat.open??!1}function mY(){tY?.chat.setShowLauncher(!0)}function hY(){tY?.chat.setShowLauncher(!1)}function gY(){nY+=1,rY=null,iY=null,aY=[],xY()}function _Y(){aY=[];let e=rY;e&&so(e.group.trim()),YJ(),e&&uY(e)}function vY(e,t){let n=e.trim();if(!n){console.error(`Cusu: identify id is required`);return}let r={id:n,traits:t};if(!iY){aY.push(r);return}CY(iY,r)}async function yY(e,t){if(typeof document>`u`)return;let n=e.group.trim();if(!n){console.error(`Cusu: group is required`);return}let r=e.apiKey.trim();if(!r){console.error(`Cusu: apiKey is required`);return}let i=WJ(e.apiUrl);try{let a=await fetch(fJ(i,n),{headers:{authorization:`Bearer ${r}`}});if(t!==nY)return;if(!a.ok){let e=await a.json().catch(()=>({}));if(a.status===402||e.code===oY){let e={code:oY,message:`Cusu: widget is hidden because credits ran out. Top up in Cusu billing.`};console.error(e.message),lY(e);return}let t=a.status===401?`Cusu: invalid API key`:`Cusu: group "${n}" was not found`;console.error(t),lY({code:a.status===401?`unauthorized`:`not_found`,message:t});return}let o=await a.json().catch(()=>({}));if(t!==nY)return;let s={...e,group:n,apiKey:r,apiUrl:i};iY=s;let c=GJ(o.language,s.locale);c&&Xl(c,{reload:!1}),bY(s,{voiceCall:o.voice_call!==!1,dictation:o.dictation!==!1,voiceRealtime:o.voice_realtime===!0,ratingScale:o.rating_scale===`thumbs`||o.rating_scale===`faces_3`?o.rating_scale:`stars_5`}),SY(s);return}catch(e){if(t!==nY)return;console.error(`Cusu: failed to initialize`,e);return}}function bY(e,t={voiceCall:!0,dictation:!0,voiceRealtime:!1,ratingScale:`stars_5`}){xY();let n=document.createElement(`div`);n.id=eY,n.style.zIndex=`2147483646`;let r=n.attachShadow({mode:`open`}),i=document.createElement(`style`);i.textContent=$J,r.append(i);let a=document.createElement(`div`);r.append(a),document.body.append(n);let o=new VJ(e,JJ());o.voiceCallEnabled=t.voiceCall,o.dictationEnabled=t.dictation,o.voiceRealtimeEnabled=t.voiceRealtime,o.ratingScale=t.ratingScale,tY={chat:o,app:$r(Hq,{target:a,props:{chat:o}}),host:n}}function xY(){tY&&=(tY.chat.disconnect(),ri(tY.app,{outro:!1}),tY.host.remove(),null)}function SY(e){let t=aY;aY=[];for(let n of t)CY(e,n)}async function CY(e,t){let n=JJ();if(!n)return;let{name:r,email:i,phone:a,gender:o,signedAt:s,signature:c,...l}=t.traits??{},u={};for(let[e,t]of Object.entries(l))typeof t==`string`&&t.trim()&&(u[e]=t.trim());let d=o===`male`||o===`female`||o===`other`?o:void 0;try{let o=await fetch(pJ(e.apiUrl,e.group),{method:`POST`,headers:{accept:`application/json`,"content-type":`application/json`,authorization:`Bearer ${e.apiKey}`},body:JSON.stringify({visitorId:n,externalId:t.id,...r?.trim()?{name:r.trim()}:{},...i?.trim()?{email:i.trim()}:{},...a?.trim()?{phone:a.trim()}:{},...d?{gender:d}:{},...Number.isSafeInteger(s)?{signedAt:s}:{},...c?.trim()?{signature:c.trim()}:{},...Object.keys(u).length>0?{traits:u}:{}})});if(!o.ok){console.error(`Cusu: identify failed`,o.status);return}let l=await o.json().catch(()=>({}));if(tY?.chat.visitorId!==n)return;tY.chat.applyRemoteHistory($a(l.threads))}catch(e){console.error(`Cusu: identify failed`,e)}}return{initialize:uY,identify:vY,open:dY,close:fY,isOpened:pY,showLauncher:mY,hideLauncher:hY,reset:_Y,destroy:gY,onError:cY}})();