1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9562],{17967:function(e,t){"use strict";t.Nm=t.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,a=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,i=/^.+(:|:)/gim,s=[".","/"];t.Rq="about:blank",t.Nm=function(e){if(!e)return t.Rq;var l=e.replace(o,"").replace(r,function(e,t){return String.fromCharCode(t)}).replace(a,"").replace(o,"").trim();if(!l)return t.Rq;if(s.indexOf(l[0])>-1)return l;var u=l.match(i);if(!u)return l;var c=u[0];return n.test(c)?t.Rq:l}},80790:function(e,t,n){e.exports=function(e){"use strict";var t={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,n,r){var a=t[r];return Array.isArray(a)&&(a=a[n?0:1]),a.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(r,null,!0),r}(n(27484))},25054:function(e){e.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}}},67763:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},96023:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},77573:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"hi",weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),months:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_à¤
पà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._à¤
à¤._सित._à¤
à¤à¥à¤à¥._नव._दिस.".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},relativeTime:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},15551:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"it",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xba"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},76831:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"ja",weekdays:"æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥".split("_"),weekdaysShort:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),weekdaysMin:"æ¥_æ_ç«_æ°´_æ¨_é_å".split("_"),months:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),ordinal:function(e){return e+"æ¥"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥ dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥(ddd) HH:mm"},meridiem:function(e){return e<12?"åå":"åå¾"},relativeTime:{future:"%så¾",past:"%så",s:"æ°ç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},19132:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"ko",weekdays:"ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼".split("_"),weekdaysShort:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),weekdaysMin:"ì¼_ì_í_ì_목_ê¸_í ".split("_"),months:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),monthsShort:"1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì".split("_"),ordinal:function(e){return e+"ì¼"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYYë
MMMM Dì¼",LLL:"YYYYë
MMMM Dì¼ A h:mm",LLLL:"YYYYë
MMMM Dì¼ dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYYë
MMMM Dì¼",lll:"YYYYë
MMMM Dì¼ A h:mm",llll:"YYYYë
MMMM Dì¼ dddd A h:mm"},meridiem:function(e){return e<12?"ì¤ì ":"ì¤í"},relativeTime:{future:"%s í",past:"%s ì ",s:"ëª ì´",m:"1ë¶",mm:"%dë¶",h:"í ìê°",hh:"%dìê°",d:"í루",dd:"%dì¼",M:"í ë¬",MM:"%dë¬",y:"ì¼ ë
",yy:"%dë
"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},99182:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},15001:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},70600:function(e,t,n){e.exports=function(e){"use strict";var t="ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),n="ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),r="Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),a="Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function i(e,t,n){var r,a;return"m"===n?t?"минÑÑа":"минÑÑÑ":e+" "+(r=+e,a=({mm:t?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"})[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}var s=function(e,r){return o.test(r)?t[e.month()]:n[e.month()]};s.s=n,s.f=t;var l=function(e,t){return o.test(t)?r[e.month()]:a[e.month()]};l.s=a,l.f=r;var u={name:"ru",weekdays:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),weekdaysShort:"вÑк_пнд_вÑÑ_ÑÑд_ÑÑв_пÑн_ÑбÑ".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),months:s,monthsShort:l,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",m:i,mm:i,h:"ÑаÑ",hh:i,d:"денÑ",dd:i,M:"меÑÑÑ",MM:i,y:"год",yy:i},ordinal:function(e){return e},meridiem:function(e){return e<4?"ноÑи":e<12?"ÑÑÑа":e<17?"днÑ":"веÑеÑа"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(u,null,!0),u}(n(27484))},73035:function(e,t,n){var r,a;e.exports=(r=n(27484),a={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arÅamba_PerÅembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}},(r&&"object"==typeof r&&"default"in r?r:{default:r}).default.locale(a,null,!0),a)},94712:function(e){e.exports=function(e,t,n){var r="h:mm A",a={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};
1t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||a,o=n(e||void 0).startOf("d"),i=this.diff(o,"d",!0),s="sameElse",l=i<-6?s:i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":s,u=r[l]||a[l];return"function"==typeof u?u.call(this,n()):this.format(u)}}},96036:function(e){e.exports=function(e,t,n){var r=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var i=e.name?e:e.$locale(),s=a(i[t]),l=a(i[n]),u=s||l.map(function(e){return e.slice(0,r)});if(!o)return u;var c=i.weekStart;return u.map(function(e,t){return u[(t+(c||0))%7]})},i=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=i();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(i(),"months")},n.monthsShort=function(){return o(i(),"monthsShort","months",3)},n.weekdays=function(e){return o(i(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(i(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(i(),"weekdaysMin","weekdays",2,e)}}},56176:function(e){var t;e.exports=(t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},function(e,n,r){var a=n.prototype,o=a.format;r.en.formats=t,a.format=function(e){void 0===e&&(e="YYYY-MM-DDTHH:mm:ssZ");var n,r,a=this.$locale().formats,i=(n=e,r=void 0===a?{}:a,n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,n,a){var o=a&&a.toUpperCase();return n||r[a]||t[a]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}));return o.call(this,i)}})},84110:function(e){e.exports=function(e,t,n){e=e||{};var r=t.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,a){return r.fromToBase(e,t,n,a)}n.en.relativeTime=a,r.fromToBase=function(t,r,o,i,s){for(var l,u,c,d=o.$locale().relativeTime||a,m=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],p=m.length,f=0;f<p;f+=1){var h=m[f];h.d&&(l=i?n(t).diff(o,h.d,!0):o.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(l));if(c=l>0,g<=h.r||!h.r){g<=1&&f>0&&(h=m[f-1]);var y=d[h.l];s&&(g=s(""+g)),u="string"==typeof y?y.replace("%d",g):y(g,r,h.l,c);break}}if(r)return u;var v=c?d.future:d.past;return"function"==typeof v?v(u):v.replace("%s",u)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var i=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(i(this),e)},r.fromNow=function(e){return this.from(i(this),e)}}},29387:function(e){var t,n;e.exports=(t={year:0,month:1,day:2,hour:3,minute:4,second:5},n={},function(e,r,a){var o,i=function(e,t,r){void 0===r&&(r={});var a,o,i,s,l=new Date(e);return(void 0===(a=r)&&(a={}),(s=n[i=t+"|"+(o=a.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),n[i]=s),s).formatToParts(l)},s=function(e,n){for(var r=i(e,n),o=[],s=0;s<r.length;s+=1){var l=r[s],u=l.type,c=l.value,d=t[u];d>=0&&(o[d]=parseInt(c,10))}var m=o[3],p=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===m?0:m)+":"+o[4]+":"+o[5]+":000",f=+e;return(a.utc(p).valueOf()-(f-=f%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);
1var n,r=this.utcOffset(),i=this.toDate(),s=i.toLocaleString("en-US",{timeZone:e}),l=Math.round((i-new Date(s))/1e3/60),u=-(15*Math.round(i.getTimezoneOffset()/15))-l;if(Number(u)){if(n=a(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=n.utcOffset();n=n.add(r-c,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||a.tz.guess(),n=i(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},a.tz=function(e,t,n){var r=n&&t,i=n||t||o,l=s(+a(),i);if("string"!=typeof e)return a(e).tz(i);var u=function(e,t,n){var r=e-60*t*1e3,a=s(r,n);if(t===a)return[r,t];var o=s(r-=60*(a-t)*1e3,n);return a===o?[r,a]:[e-60*Math.min(a,o)*1e3,Math.max(a,o)]}(a.utc(e,r).valueOf(),l,i),c=u[0],d=u[1],m=a(c).utcOffset(d);return m.$x.$timezone=i,m},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(e){o=e}})},70660:function(e){e.exports=function(e,t,n){n.updateLocale=function(e,t){var r=n.Ls[e];if(r)return(t?Object.keys(t):[]).forEach(function(e){r[e]=t[e]}),r}}},70178:function(e){var t,n,r;e.exports=(t="minute",n=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g,function(e,a,o){var i=a.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new a(t)},i.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=i.utcOffset;i.utcOffset=function(e,a){var o=this.$utils().u;if(o(e))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof e&&null===(e=function(e){void 0===e&&(e="");var t=e.match(n);if(!t)return null;var a=(""+t[0]).match(r)||["-",0,0],o=a[0],i=60*+a[1]+ +a[2];return 0===i?0:"+"===o?i:-i}(e)))return this;var i=16>=Math.abs(e)?60*e:e;if(0===i)return this.utc(a);var s=this.clone();if(a)return s.$offset=i,s.$u=!1,s;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(i+l,t)).$offset=i,s.$x.$localOffset=l,s};var c=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var m=i.diff;i.diff=function(e,t,n){if(e&&this.$u===e.$u)return m.call(this,e,t,n);var r=this.local(),a=o(e).local();return m.call(r,a,t,n)}})},60809:function(e){"use strict";e.exports
vendor: 15,667 bytes, line 1
1=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}
1},86027:function(e,t,n){var r,a;void 0!==(a="function"==typeof(r=function(){var e={172351395:{name:"EBML",type:"Container"},646:{name:"EBMLVersion",type:"Uint"},759:{name:"EBMLReadVersion",type:"Uint"},754:{name:"EBMLMaxIDLength",type:"Uint"},755:{name:"EBMLMaxSizeLength",type:"Uint"},642:{name:"DocType",type:"String"},647:{name:"DocTypeVersion",type:"Uint"},645:{name:"DocTypeReadVersion",type:"Uint"},108:{name:"Void",type:"Binary"},63:{name:"CRC-32",type:"Binary"},190023271:{name:"SignatureSlot",type:"Container"},16010:{name:"SignatureAlgo",type:"Uint"},16026:{name:"SignatureHash",type:"Uint"},16037:{name:"SignaturePublicKey",type:"Binary"},16053:{name:"Signature",type:"Binary"},15963:{name:"SignatureElements",type:"Container"},15995:{name:"SignatureElementList",type:"Container"},9522:{name:"SignedElement",type:"Binary"},139690087:{name:"Segment",type:"Container"},21863284:{name:"SeekHead",type:"Container"},3515:{name:"Seek",type:"Container"},5035:{name:"SeekID",type:"Binary"},5036:{name:"SeekPosition",type:"Uint"},88713574:{name:"Info",type:"Container"},13220:{name:"SegmentUID",type:"Binary"},13188:{name:"SegmentFilename",type:"String"},1882403:{name:"PrevUID",type:"Binary"},1868715:{name:"PrevFilename",type:"String"},2013475:{name:"NextUID",type:"Binary"},1999803:{name:"NextFilename",type:"String"},1092:{name:"SegmentFamily",type:"Binary"},10532:{name:"ChapterTranslate",type:"Container"},10748:{name:"ChapterTranslateEditionUID",type:"Uint"},10687:{name:"ChapterTranslateCodec",type:"Uint"},10661:{name:"ChapterTranslateID",type:"Binary"},710577:{name:"TimecodeScale",type:"Uint"},1161:{name:"Duration",type:"Float"},1121:{name:"DateUTC",type:"Date"},15273:{name:"Title",type:"String"},3456:{name:"MuxingApp",type:"String"},5953:{name:"WritingApp",type:"String"},103:{name:"Timecode",type:"Uint"},6228:{name:"SilentTracks",type:"Container"},6359:{name:"SilentTrackNumber",type:"Uint"},39:{name:"Position",type:"Uint"},43:{name:"PrevSize",type:"Uint"},35:{name:"SimpleBlock",type:"Binary"},32:{name:"BlockGroup",type:"Container"},33:{name:"Block",type:"Binary"},34:{name:"BlockVirtual",type:"Binary"},13729:{name:"BlockAdditions",type:"Container"},38:{name:"BlockMore",type:"Container"},110:{name:"BlockAddID",type:"Uint"},37:{name:"BlockAdditional",type:"Binary"},27:{name:"BlockDuration",type:"Uint"},122:{name:"ReferencePriority",type:"Uint"},123:{name:"ReferenceBlock",type:"Int"},125:{name:"ReferenceVirtual",type:"Int"},36:{name:"CodecState",type:"Binary"},13730:{name:"DiscardPadding",type:"Int"},14:{name:"Slices",type:"Container"},104:{name:"TimeSlice",type:"Container"},76:{name:"LaceNumber",type:"Uint"},77:{name:"FrameNumber",type:"Uint"},75:{name:"BlockAdditionID",type:"Uint"},78:{name:"Delay",type:"Uint"},79:{name:"SliceDuration",type:"Uint"},72:{name:"ReferenceFrame",type:"Container"},73:{name:"ReferenceOffset",type:"Uint"},74:{name:"ReferenceTimeCode",type:"Uint"},47:{name:"EncryptedBlock",type:"Binary"},106212971:{name:"Tracks",type:"Container"},46:{name:"TrackEntry",type:"Container"},87:{name:"TrackNumber",type:"Uint"},13253:{name:"TrackUID",type:"Uint"},3:{name:"TrackType",type:"Uint"},57:{name:"FlagEnabled",type:"Uint"},8:{name:"FlagDefault",type:"Uint"},5546:{name:"FlagForced",type:"Uint"},28:{name:"FlagLacing",type:"Uint"},11751:{name:"MinCache",type:"Uint"},11768:{name:"MaxCache",type:"Uint"},254851:{name:"DefaultDuration",type:"Uint"},216698:{name:"DefaultDecodedFieldDuration",type:"Uint"},209231:{name:"TrackTimecodeScale",type:"Float"},4991:{name:"TrackOffset",type:"Int"},5614:{name:"MaxBlockAdditionID",type:"Uint"},4974:{name:"Name",type:"String"},177564:{name:"Language",type:"String"},6:{name:"CodecID",type:"String"},9122:{name:"CodecPrivate",type:"Binary"},362120:{name:"CodecName",type:"String"},13382:{name:"AttachmentLink",type:"Uint"},1742487:{name:"CodecSettings",type:"String"},1785920:{name:"CodecInfoURL",type:"String"},438848:{name:"CodecDownloadURL",type:"String"},42:{name:"CodecDecodeAll",type:"Uint"},12203:{name:"TrackOverlay",type:"Uint"},5802:{name:"CodecDelay",type:"Uint"},5819:{name:"SeekPreRoll",type:"Uint"},9764:{name:"TrackTranslate",type:"Container"},9980:{name:"TrackTranslateEditionUID",type:"Uint"},9919:{name:"TrackTranslateCodec",type:"Uint"},9893:{name:"TrackTranslateTrackID",type:"Binary"},96:{name:"Video",type:"Container"},26:{name:"FlagInterlaced",type:"Uint"},5048:{name:"StereoMode",type:"Uint"},5056:{name:"AlphaMode",type:"Uint"},5049:{name:"OldStereoMode",type:"Uint"},48:{name:"PixelWidth",type:"Uint"},58:{name:"PixelHeight",type:"Uint"},5290:{name:"PixelCropBottom",type:"Uint"},5307:{name:"PixelCropTop",type:"Uint"},5324:{name:"PixelCropLeft",type:"Uint"},5341:{name:"PixelCropRight",type:"Uint"},5296:{name:"DisplayWidth",type:"Uint"},5306:{name:"DisplayHeight",type:"Uint"},5298:{name:"DisplayUnit",type:"Uint"},5299:{name:"AspectRatioType",type:"Uint"},963876:{name:"ColourSpace",type:"Binary"},1029411:{name:"GammaValue",type:"Float"},230371:{name:"FrameRate",type:"Float"},97:{name:"Audio",type:"Container"},53:{name:"SamplingFrequency",type:"Float"},14517:{name:"OutputSamplingFrequency",type:"Float"},31:{name:"Channels",type:"Uint"},15739:{name:"ChannelPositions",type:"Binary"},8804:{name:"BitDepth",type:"Uint"},98:{name:"TrackOperation",type:"Container"},99:{name:"TrackCombinePlanes",type:"Container"},100:{name:"TrackPlane",type:"Container"},101:{name:"TrackPlaneUID",type:"Uint"},102:{name:"TrackPlaneType",type:"Uint"},105:{name:"TrackJoinBlocks",type:"Container"},109:{name:"TrackJoinUID",type:"Uint"},64:{name:"TrickTrackUID",type:"Uint"},65:{name:"TrickTrackSegmentUID",type:"Binary"},70:{name:"TrickTrackFlag",type:"Uint"},71:{name:"TrickMasterTrackUID",type:"Uint"},68:{name:"TrickMasterTrackSegmentUID",type:"Binary"},11648:{name:"ContentEncodings",type:"Container"},8768:{name:"ContentEncoding",type:"Container"},4145:{name:"ContentEncodingOrder",type:"Uint"},4146:{name:"ContentEncodingScope",type:"Uint"},4147:{name:"ContentEncodingType",type:"Uint"},4148:{name:"ContentCompression",type:"Container"}
1,596:{name:"ContentCompAlgo",type:"Uint"},597:{name:"ContentCompSettings",type:"Binary"},4149:{name:"ContentEncryption",type:"Container"},2017:{name:"ContentEncAlgo",type:"Uint"},2018:{name:"ContentEncKeyID",type:"Binary"},2019:{name:"ContentSignature",type:"Binary"},2020:{name:"ContentSigKeyID",type:"Binary"},2021:{name:"ContentSigAlgo",type:"Uint"},2022:{name:"ContentSigHashAlgo",type:"Uint"},206814059:{name:"Cues",type:"Container"},59:{name:"CuePoint",type:"Container"},51:{name:"CueTime",type:"Uint"},55:{name:"CueTrackPositions",type:"Container"},119:{name:"CueTrack",type:"Uint"},113:{name:"CueClusterPosition",type:"Uint"},112:{name:"CueRelativePosition",type:"Uint"},50:{name:"CueDuration",type:"Uint"},4984:{name:"CueBlockNumber",type:"Uint"},106:{name:"CueCodecState",type:"Uint"},91:{name:"CueReference",type:"Container"},22:{name:"CueRefTime",type:"Uint"},23:{name:"CueRefCluster",type:"Uint"},4959:{name:"CueRefNumber",type:"Uint"},107:{name:"CueRefCodecState",type:"Uint"},155296873:{name:"Attachments",type:"Container"},8615:{name:"AttachedFile",type:"Container"},1662:{name:"FileDescription",type:"String"},1646:{name:"FileName",type:"String"},1632:{name:"FileMimeType",type:"String"},1628:{name:"FileData",type:"Binary"},1710:{name:"FileUID",type:"Uint"},1653:{name:"FileReferral",type:"Binary"},1633:{name:"FileUsedStartTime",type:"Uint"},1634:{name:"FileUsedEndTime",type:"Uint"},4433776:{name:"Chapters",type:"Container"},1465:{name:"EditionEntry",type:"Container"},1468:{name:"EditionUID",type:"Uint"},1469:{name:"EditionFlagHidden",type:"Uint"},1499:{name:"EditionFlagDefault",type:"Uint"},1501:{name:"EditionFlagOrdered",type:"Uint"},54:{name:"ChapterAtom",type:"Container"},13252:{name:"ChapterUID",type:"Uint"},5716:{name:"ChapterStringUID",type:"String"},17:{name:"ChapterTimeStart",type:"Uint"},18:{name:"ChapterTimeEnd",type:"Uint"},24:{name:"ChapterFlagHidden",type:"Uint"},1432:{name:"ChapterFlagEnabled",type:"Uint"},11879:{name:"ChapterSegmentUID",type:"Binary"},11964:{name:"ChapterSegmentEditionUID",type:"Uint"},9155:{name:"ChapterPhysicalEquiv",type:"Uint"},15:{name:"ChapterTrack",type:"Container"},9:{name:"ChapterTrackNumber",type:"Uint"},0:{name:"ChapterDisplay",type:"Container"},5:{name:"ChapString",type:"String"},892:{name:"ChapLanguage",type:"String"},894:{name:"ChapCountry",type:"String"},10564:{name:"ChapProcess",type:"Container"},10581:{name:"ChapProcessCodecID",type:"Uint"},1293:{name:"ChapProcessPrivate",type:"Binary"},10513:{name:"ChapProcessCommand",type:"Container"},10530:{name:"ChapProcessTime",type:"Uint"},10547:{name:"ChapProcessData",type:"Binary"},39109479:{name:"Tags",type:"Container"},13171:{name:"Tag",type:"Container"},9152:{name:"Targets",type:"Container"},10442:{name:"TargetTypeValue",type:"Uint"},9162:{name:"TargetType",type:"String"},9157:{name:"TagTrackUID",type:"Uint"},9161:{name:"TagEditionUID",type:"Uint"},9156:{name:"TagChapterUID",type:"Uint"},9158:{name:"TagAttachmentUID",type:"Uint"},10184:{name:"SimpleTag",type:"Container"},1443:{name:"TagName",type:"String"},1146:{name:"TagLanguage",type:"String"},1156:{name:"TagDefault",type:"Uint"},1159:{name:"TagString",type:"String"},1157:{name:"TagBinary",type:"Binary"}};function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e}function n(e,t){this.name=e||"Unknown",this.type=t||"Unknown"}function r(e,t){n.call(this,e,t||"Uint")}function a(e){return e.length%2==1?"0"+e:e}function o(e,t){n.call(this,e,t||"Float")}function i(e,t){n.call(this,e,t||"Container")}function s(e){i.call(this,"File","File"),this.setSource(e)}function l(e,t,n,r){if("object"==typeof n&&(r=n,n=void 0),!n)return new Promise(function(n){l(e,t,n,r)});try{var a=new FileReader;a.onloadend=function(){try{var o=new s(new Uint8Array(a.result));o.fixDuration(t,r)&&(e=o.toBlob(e.type))}catch(e){}n(e)},a.readAsArrayBuffer(e)}catch(t){n(e)}}return n.prototype.updateBySource=function(){},n.prototype.setSource=function(e){this.source=e,this.updateBySource()},n.prototype.updateByData=function(){},n.prototype.setData=function(e){this.data=e,this.updateByData()},t(r,n),r.prototype.updateBySource=function(){this.data="";for(var e=0;e<this.source.length;e++){var t=this.source[e].toString(16);this.data+=a(t)}},r.prototype.updateByData=function(){var e=this.data.length/2;this.source=new Uint8Array(e);for(var t=0;t<e;t++){var n=this.data.substr(2*t,2);this.source[t]=parseInt(n,16)}},r.prototype.getValue=function(){return parseInt(this.data,16)},r.prototype.setValue=function(e){this.setData(a(e.toString(16)))},t(o,n),o.prototype.getFloatArrayType=function(){return this.source&&4===this.source.length?Float32Array:Float64Array},o.prototype.updateBySource=function(){var e=this.source.reverse(),t=new(this.getFloatArrayType())(e.buffer);this.data=t[0]},o.prototype.updateByData=function(){var e=new(this.getFloatArrayType())([this.data]),t=new Uint8Array(e.buffer);this.source=t.reverse()},o.prototype.getValue=function(){return this.data},o.prototype.setValue=function(e){this.setData(e)},t(i,n),i.prototype.readByte=function(){return this.source[this.offset++]},i.prototype.readUint=function(){for(var e=this.readByte(),t=8-e.toString(2).length,n=e-(1<<7-t),r=0;r<t;r++)n*=256,n+=this.readByte();return n},i.prototype.updateBySource=function(){for(this.data=[],this.offset=0;this.offset<this.source.length;this.offset=s){var t=this.readUint(),a=this.readUint(),s=Math.min(this.offset+a,this.source.length),l=this.source.slice(this.offset,s),u=e[t]||{name:"Unknown",type:"Unknown"},c=n;switch(u.type){case"Container":c=i;break;case"Uint":c=r;break;case"Float":c=o}var d=new c(u.name,u.type);d.setSource(l),this.data.push({id:t,idHex:t.toString(16),data:d})}},i.prototype.writeUint=function(e,t){for(var n=1,r=128;e>=r&&n<8;n++,r*=128);if(!t)for(var a=r+e,o=n-1;o>=0;o--){var i=a%256;this.source[this.offset+o]=i,a=(a-i)/256}this.offset+=n},i.prototype.writeSections=function(e){this.offset=0;for(var t=0;t<this.data.length;t++){var n=this.data[t],r=n.data.source,a=r.length;this.writeUint(n.id,e),this.writeUint(a,e),e||this.source.set(r,this.offset),this.offset+=a}return this.offset},i.prototype.updateByData=function(){var e=this.writeSections("draft");this.source=new Uint8Array(e),this.writeSections()},i.prototype.getSectionById=function(e){for(var t=0;t<this.data.length;t++){var n=this.data[t];if(n.id===e)return n.data}return null},t(s,i),s.prototype.fixDuration=function(e,t){var n=t&&t.logger;void 0===n?n=function(e){console.log(e)}:n||(n=function(){});var r=this.getSectionById(139690087);if(!r)return n("[fix-webm-duration] Segment section is missing"),!1;var a=r.getSectionById(88713574);if(!a)return n("[fix-webm-duration] Info section is missing"),!1;var i=a.getSectionById(710577);if(!i)return n("[fix-webm-duration] TimecodeScale section is missing"),!1;var s=a.getSectionById(1161);if(s){if(!(0>=s.getValue()))return n(`[fix-webm-duration] Duration section is present, and the value is ${s.getValue()}`),!1;n(`[fix-webm-duration] Duration section is present, but the value is ${s.getValue()}`),s.setValue(e)}else n("[fix-webm-duration] Duration section is missing"),(s=new o("Duration","Float")).setValue(e),a.data.push({id:1161,data:s});return i.setValue(1e6),a.updateByData(),r.updateByData(),this.updateByData(),!0},s.prototype.toBlob=function(e){return new Blob([this.source.buffer],{type:e||"video/webm"})},l.default=l,l})?r.call(t,n,t,e):r)&&(e.exports=a)},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;
1\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function m(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new f(e),y(r),t}}function f(e){this.start=e,this.end={line:c,column:d},this.source=l.source}f.prototype.content=e;var h=[];function g(t){var n=Error(l.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=d,n.source=e,l.silent)h.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return m(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,m(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=p(),n=y(a);if(n){if(b(),!y(o))return g("property missing ':'");var r=y(i),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(s),l}}();)!1!==e&&(n.push(e),v(n));return n}()}},65155:function(e,t,n){"use strict";n.d(t,{Bu:function(){return ej},sE:function(){return eR}});let r=(e,t)=>{for(let n in t)e[n]=t[n];return e},a="numeric",o="ascii",i="alpha",s="asciinumeric",l="alphanumeric",u="domain",c="emoji",d="whitespace";
1function m(e,t,n){for(let r in t[a]&&(t[s]=!0,t[l]=!0),t[o]&&(t[s]=!0,t[i]=!0),t[s]&&(t[l]=!0),t[i]&&(t[l]=!0),t[l]&&(t[u]=!0),t[c]&&(t[u]=!0),t){let t=(r in n||(n[r]=[]),n[r]);0>t.indexOf(e)&&t.push(e)}}function p(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}p.groups={},p.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t<this.jr.length;t++){let n=this.jr[t][0],r=this.jr[t][1];if(r&&n.test(e))return r}return this.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let a=0;a<e.length;a++)this.tt(e[a],t,n,r)},tr(e,t,n,r){let a;return r=r||p.groups,t&&t.j?a=t:(a=new p(t),n&&r&&m(t,n,r)),this.jr.push([e,a]),a},ts(e,t,n,r){let a=this,o=e.length;if(!o)return a;for(let t=0;t<o-1;t++)a=a.tt(e[t]);return a.tt(e[o-1],t,n,r)},tt(e,t,n,a){if(a=a||p.groups,t&&t.j)return this.j[e]=t,t;let o,i=this.go(e);if(i?(r((o=new p).j,i.j),o.jr.push.apply(o.jr,i.jr),o.jd=i.jd,o.t=i.t):o=new p,t){if(a){if(o.t&&"string"==typeof o.t){let e=r(function(e,t){let n={};for(let r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(o.t,a),n);m(t,e,a)}else n&&m(t,n,a)}o.t=t}return this.j[e]=o,o}};let f=(e,t,n,r,a)=>e.ta(t,n,r,a),h=(e,t,n,r,a)=>e.tr(t,n,r,a),g=(e,t,n,r,a)=>e.ts(t,n,r,a),y=(e,t,n,r,a)=>e.tt(t,n,r,a),v="WORD",b="UWORD",D="ASCIINUMERICAL",_="ALPHANUMERICAL",E="LOCALHOST",C="UTLD",w="SCHEME",x="SLASH_SCHEME",k="OPENBRACE",S="CLOSEBRACE",M="OPENBRACKET",T="CLOSEBRACKET",O="OPENPAREN",F="CLOSEPAREN",P="OPENANGLEBRACKET",A="CLOSEANGLEBRACKET",L="FULLWIDTHLEFTPAREN",N="FULLWIDTHRIGHTPAREN",R="LEFTCORNERBRACKET",j="RIGHTCORNERBRACKET",I="LEFTWHITECORNERBRACKET",B="RIGHTWHITECORNERBRACKET",U="FULLWIDTHLESSTHAN",z="FULLWIDTHGREATERTHAN",H="AMPERSAND",V="APOSTROPHE",$="ASTERISK",Z="BACKSLASH",Y="BACKTICK",W="CARET",q="COLON",K="COMMA",G="DOLLAR",J="EQUALS",Q="EXCLAMATION",X="HYPHEN",ee="PERCENT",et="PIPE",en="PLUS",er="POUND",ea="QUERY",eo="QUOTE",ei="FULLWIDTHMIDDLEDOT",es="SEMI",el="SLASH",eu="TILDE",ec="UNDERSCORE",ed="EMOJI";var em=Object.freeze({__proto__:null,WORD:v,UWORD:b,ASCIINUMERICAL:D,ALPHANUMERICAL:_,LOCALHOST:E,TLD:"TLD",UTLD:C,SCHEME:w,SLASH_SCHEME:x,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:k,CLOSEBRACE:S,OPENBRACKET:M,CLOSEBRACKET:T,OPENPAREN:O,CLOSEPAREN:F,OPENANGLEBRACKET:P,CLOSEANGLEBRACKET:A,FULLWIDTHLEFTPAREN:L,FULLWIDTHRIGHTPAREN:N,LEFTCORNERBRACKET:R,RIGHTCORNERBRACKET:j,LEFTWHITECORNERBRACKET:I,RIGHTWHITECORNERBRACKET:B,FULLWIDTHLESSTHAN:U,FULLWIDTHGREATERTHAN:z,AMPERSAND:H,APOSTROPHE:V,ASTERISK:$,AT:"AT",BACKSLASH:Z,BACKTICK:Y,CARET:W,COLON:q,COMMA:K,DOLLAR:G,DOT:"DOT",EQUALS:J,EXCLAMATION:Q,HYPHEN:X,PERCENT:ee,PIPE:et,PLUS:en,POUND:er,QUERY:ea,QUOTE:eo,FULLWIDTHMIDDLEDOT:ei,SEMI:es,SLASH:el,TILDE:eu,UNDERSCORE:ec,EMOJI:ed,SYM:"SYM"});let ep=/[a-z]/,ef=/\p{L}/u,eh=/\p{Emoji}/u,eg=/\d/,ey=/\s/,ev=null,eb=null;function eD(e,t){let n=function(e){let t=[],n=e.length,r=0;for(;r<n;){let a,o=e.charCodeAt(r),i=o<55296||o>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?e[r]:e.slice(r,r+2);t.push(i),r+=i.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),r=n.length,a=[],o=0,i=0;for(;i<r;){let s=e,l=null,u=0,c=null,d=-1,m=-1;for(;i<r&&(l=s.go(n[i]));)(s=l).accepts()?(d=0,m=0,c=s):d>=0&&(d+=n[i].length,m++),u+=n[i].length,o+=n[i].length,i++;o-=d,i-=m,u-=d,a.push({t:c.t,v:t.slice(o-u,o),s:o-u,e:o})}return a}function e_(e,t,n,r,a){let o;let i=t.length;for(let n=0;n<i-1;n++){let i=t[n];e.j[i]?o=e.j[i]:((o=new p(r)).jr=a.slice(),e.j[i]=o),e=o}return(o=new p(n)).jr=a.slice(),e.j[t[i-1]]=o,o}function eE(e){let t=[],n=[],r=0;for(;r<e.length;){let a=0;for(;"0123456789".indexOf(e[r+a])>=0;)a++;if(a>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+a),10);t>0;t--)n.pop();r+=a}else n.push(e[r]),r++}return t}let eC={defaultProtocol:"http",events:null,format:ex,formatHref:ex,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ew(e,t=null){let n=r({},eC);e&&(n=r(n,e instanceof ew?e.o:e));let a=n.ignoreTags,o=[];for(let e=0;e<a.length;e++)o.push(a[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}function ex(e){return e}function ek(e,t){this.t="token",this.v=e,this.tk=t}
1function eS(e,t){class n extends ek{constructor(t,n){super(t,n),this.t=e}}for(let e in t)n.prototype[e]=t[e];return n.t=e,n}ew.prototype={o:eC,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){let r=null!=t,a=this.o[e];return a&&("object"==typeof a?"function"==typeof(a=n.t in a?a[n.t]:eC[e])&&r&&(a=a(t,n)):"function"==typeof a&&r&&(a=a(t,n.t,n))),a},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){let t=e.render(this),n=this.get("render",null,e)||this.defaultRender;return n(t,e.t,e)}},ek.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"â¦":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=eC.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toHref(e.get("defaultProtocol")),n=e.get("formatHref",t,this),a=e.get("tagName",t,this),o=this.toFormattedString(e),i={},s=e.get("className",t,this),l=e.get("target",t,this),u=e.get("rel",t,this),c=e.getObj("attributes",t,this),d=e.getObj("events",t,this);return i.href=n,s&&(i.class=s),l&&(i.target=l),u&&(i.rel=u),c&&r(i,c),{tagName:a,attributes:i,content:o,eventListeners:d}}};let eM=eS("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),eT=eS("text"),eO=eS("nl"),eF=eS("url",{isLink:!0,toHref(e=eC.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==E&&e[1].t===q}}),eP=e=>new p(e);function eA(e,t,n){let r=n[0].s,a=n[n.length-1].e,o=t.slice(r,a);return new e(o,n)}"undefined"!=typeof console&&console&&console.warn||(()=>{});let eL={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function eN(e){return eL.initialized||function(){eL.scanner=function(e=[]){let t={};p.groups=t;let n=new p;null==ev&&(ev=eE("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
1ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==eb&&(eb=eE("ελ1Ï
2бг1ел3деÑи4еÑ2каÑолик6ом3мÐ
1ºÐ´2он1Ñква6онлайн5Ñг3ÑÑÑ2Ñ2ÑайÑ3Ñб3ÑкÑ3Òаз3Õ°Õ¡Õµ3×שר××5×§××3Ø§Ø¨ÙØ¸Ø¨Ù5راÙ
ÙÙ5ÙØ§Ø±Ø¯Ù4Ø¨ØØ±ÙÙ5جزائر5Ø³Ø¹ÙØ¯ÙØ©6عÙÙØ§Ù5Ù
غرب5Ù
ارات5ÛØ±Ø§Ù5بارت2زار4ÙØªÙ3ھارت5تÙÙØ³4Ø³ÙØ¯Ø§Ù3Ø±ÙØ©5Ø´Ø¨ÙØ©4عراÙ2ب2Ù
اÙ4ÙÙØ³Ø·ÙÙ6ÙØ·Ø±3ÙØ§Ø«ÙÙÙÙ6ÙÙ
3Ù
صر2ÙÙØ³Ùا5ÙØ±ÙتاÙÙØ§7ÙØ¹4ÙÙ
راÙ5پاکستاÙ7ÚØ§Ø±Øª4à¤à¥à¤®3नà¥à¤3à¤à¤¾à¤°à¤¤0मà¥3à¥à¤¤5सà¤à¤à¤ न5বাà¦à¦²à¦¾5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4à®à®¨à¯à®¤à®¿à®¯à®¾6லà®à¯à®à¯6à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´5à¶½à¶à¶à·4à¸à¸à¸¡3à¹à¸à¸¢3ລາວ3áá2ã¿ããª3ã¢ãã¾ã³4ã¯ã©ã¦ã4ã°ã¼ã°ã«4ã³ã 2ã¹ãã¢3ã»ã¼ã«3ãã¡ãã·ã§ã³6ãã¤ã³ã4ä¸ç2ä¸ä¿¡1å½1å1æç½3äºé©¬é3ä¼ä¸2ä½å±±2ä¿¡æ¯2å¥åº·2å
«å¦2å
¬å¸1ç2å°æ¹¾1ç£2åå1åº1æ 2åé0大é
åº5å¨çº¿2大æ¿2天主æ3娱ä¹2å®¶é»2广ä¸2å¾®å2æ
å2æç±ä½ 3ææº2æè2æ¿å¡1åº2æ°å å¡2é»2æ¶å°2æ¸ç±2æºæ2淡马é¡3游æ2æ¾³é2ç¹ç2ç§»å¨2ç»ç»æºæ4ç½å1åº1ç«1ç»2èé2è°·æ2è´ç©2é販2éå¢2é»è¨çç§4é£å©æµ¦3é£å2é¤å
2馿 ¼éæ3港2ë·ë·1ì»´2ì¼ì±2íêµ2")),y(n,"'",V),y(n,"{",k),y(n,"}",S),y(n,"[",M),y(n,"]",T),y(n,"(",O),y(n,")",F),y(n,"<",P),y(n,">",A),y(n,"ï¼",L),y(n,"ï¼",N),y(n,"ã",R),y(n,"ã",j),y(n,"ã",I),y(n,"ã",B),y(n,"ï¼",U),y(n,"ï¼",z),y(n,"&",H),y(n,"*",$),y(n,"@","AT"),y(n,"`",Y),y(n,"^",W),y(n,":",q),y(n,",",K),y(n,"$",G),y(n,".","DOT"),y(n,"=",J),y(n,"!",Q),y(n,"-",X),y(n,"%",ee),y(n,"|",et),y(n,"+",en),y(n,"#",er),y(n,"?",ea),y(n,'"',eo),y(n,"/",el),y(n,";",es),y(n,"~",eu),y(n,"_",ec),y(n,"\\",Z),y(n,"ã»",ei);let f=h(n,eg,"NUM",{[a]:!0});h(f,eg,f);let eD=h(f,ep,D,{[s]:!0}),eC=h(f,ef,_,{[l]:!0}),ew=h(n,ep,v,{[o]:!0});h(ew,eg,eD),h(ew,ep,ew),h(eD,eg,eD),h(eD,ep,eD);let ex=h(n,ef,b,{[i]:!0});h(ex,ep),h(ex,eg,eC),h(ex,ef,ex),h(eC,eg,eC),h(eC,ep),h(eC,ef,eC);let ek=y(n,"\n","NL",{[d]:!0}),eS=y(n,"\r","WS",{[d]:!0}),eM=h(n,ey,"WS",{[d]:!0});y(n,"",eM),y(eS,"\n",ek),y(eS,"",eM),h(eS,ey,eM),y(eM,"\r"),y(eM,"\n"),h(eM,ey,eM),y(eM,"",eM);let eT=h(n,eh,ed,{[c]:!0});y(eT,"#"),h(eT,eh,eT),y(eT,"ï¸",eT);let eO=y(eT,"â");y(eO,"#"),h(eO,eh,eT);let eF=[[ep,ew],[eg,eD]],eP=[[ep,null],[ef,ex],[eg,eC]];for(let e=0;e<ev.length;e++)e_(n,ev[e],"TLD",v,eF);for(let e=0;e<eb.length;e++)e_(n,eb[e],C,b,eP);m("TLD",{tld:!0,ascii:!0},t),m(C,{utld:!0,alpha:!0},t),e_(n,"file",w,v,eF),e_(n,"mailto",w,v,eF),e_(n,"http",x,v,eF),e_(n,"https",x,v,eF),e_(n,"ftp",x,v,eF),e_(n,"ftps",x,v,eF),m(w,{scheme:!0,ascii:!0},t),m(x,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let r=e[t][0],i=e[t][1],l=i?{scheme:!0}:{slashscheme:!0};r.indexOf("-")>=0?l[u]=!0:ep.test(r)?eg.test(r)?l[s]=!0:l[o]=!0:l[a]=!0,g(n,r,r,l)}return g(n,"localhost",E,{ascii:!0}),n.jd=new p("SYM"),{start:n,tokens:r({groups:t},em)}}(eL.customSchemes);for(let e=0;e<eL.tokenQueue.length;e++)eL.tokenQueue[e][1]({scanner:eL.scanner});eL.parser=function({groups:e}){let t=e.domain.concat([H,$,"AT",Z,Y,W,G,J,X,"NUM",ee,et,en,er,el,"SYM",eu,ec]),n=[q,K,"DOT",Q,ee,ea,eo,es,P,A,k,S,T,M,O,F,L,N,R,j,I,B,U,z],r=[H,V,$,Z,Y,W,G,J,X,k,S,ee,et,en,er,ea,el,"SYM",eu,ec],a=eP(),o=y(a,eu);f(o,r,o),f(o,e.domain,o);let i=eP(),s=eP(),l=eP();f(a,e.domain,i),f(a,e.scheme,s),f(a,e.slashscheme,l),f(i,r,o),f(i,e.domain,i);let u=y(i,"AT");y(o,"AT",u),y(s,"AT",u),y(l,"AT",u);let c=y(o,"DOT");f(c,r,o),f(c,e.domain,o);let d=eP();f(u,e.domain,d),f(d,e.domain,d);let m=y(d,"DOT");f(m,e.domain,d);let p=eP(eM);f(m,e.tld,p),f(m,e.utld,p),y(u,E,p);let h=y(d,X);y(h,X,h),f(h,e.domain,d),f(p,e.domain,d),y(p,"DOT",m),y(p,X,h);let g=y(p,q);f(g,e.numeric,eM);let v=y(i,X),b=y(i,"DOT");y(v,X,v),f(v,e.domain,i),f(b,r,o),f(b,e.domain,i);let D=eP(eF);f(b,e.tld,D),f(b,e.utld,D),f(D,e.domain,i),f(D,r,o),y(D,"DOT",b),y(D,X,v),y(D,"AT",u);let _=y(D,q),C=eP(eF);f(_,e.numeric,C);let w=eP(eF),x=eP();f(w,t,w),f(w,n,x),f(x,t,w),f(x,n,x),y(D,el,w),y(C,el,w);let ei=y(s,q),ed=y(l,q),ep=y(ed,el),ef=y(ep,el);f(s,e.domain,i),y(s,"DOT",b),y(s,X,v),f(l,e.domain,i),y(l,"DOT",b),y(l,X,v),f(ei,e.domain,w),y(ei,el,w),y(ei,ea,w),f(ef,e.domain,w),f(ef,t,w),y(ef,el,w);let eh=[[k,S],[M,T],[O,F],[P,A],[L,N],[R,j],[I,B],[U,z]];for(let e=0;e<eh.length;e++){let[r,a]=eh[e],o=y(w,r);y(x,r,o),y(o,a,w);let i=eP(eF);f(o,t,i);let s=eP();
1f(o,n),f(i,t,i),f(i,n,s),f(s,t,i),f(s,n,s),y(i,a,w),y(s,a,w)}return y(a,E,D),y(a,"NL",eO),{start:a,tokens:em}}(eL.scanner.tokens);for(let e=0;e<eL.pluginQueue.length;e++)eL.pluginQueue[e][1]({scanner:eL.scanner,parser:eL.parser});eL.initialized=!0}(),function(e,t,n){let r=n.length,a=0,o=[],i=[];for(;a<r;){let s=e,l=null,u=null,c=0,d=null,m=-1;for(;a<r&&!(l=s.go(n[a].t));)i.push(n[a++]);for(;a<r&&(u=l||s.go(n[a].t));)l=null,(s=u).accepts()?(m=0,d=s):m>=0&&m++,a++,c++;if(m<0)(a-=c)<r&&(i.push(n[a]),a++);else{i.length>0&&(o.push(eA(eT,t,i)),i=[]),a-=m,c-=m;let e=d.t,r=n.slice(a-c,a);o.push(eA(e,t,r))}}return i.length>0&&o.push(eA(eT,t,i)),o}(eL.parser.start,e,eD(eL.scanner.start,e))}function eR(e,t=null,n=null){if(t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let r=new ew(n),a=eN(e),o=[];for(let e=0;e<a.length;e++){let n=a[e];n.isLink&&(!t||n.t===t)&&r.check(n)&&o.push(n.toFormattedObject(r))}return o}function ej(e,t=null){let n=eN(e);return 1===n.length&&n[0].isLink&&(!t||n[0].t===t)}eN.scan=eD},91296:function(e,t,n){var r=0/0,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),m=Object.prototype.toString,p=Math.max,f=Math.min,h=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==m.call(t))return r;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var u=i.test(e);return u||s.test(e)?l(e.slice(2),u?2:8):o.test(e)?r:+e}e.exports=function(e,t,n){var r,a,o,i,s,l,u=0,c=!1,d=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=r,o=a;return r=a=void 0,u=t,i=e.apply(o,n)}function b(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=o}function D(){var e,n,r,a=h();if(b(a))return _(a);s=setTimeout(D,(e=a-l,n=a-u,r=t-e,d?f(r,o-n):r))}function _(e){return(s=void 0,m&&r)?v(e):(r=a=void 0,i)}function E(){var e,n=h(),o=b(n);if(r=arguments,a=this,l=n,o){if(void 0===s)return u=e=l,s=setTimeout(D,t),c?v(e):i;if(d)return s=setTimeout(D,t),v(l)}return void 0===s&&(s=setTimeout(D,t)),i}return t=y(t)||0,g(n)&&(c=!!n.leading,o=(d="maxWait"in n)?p(y(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),E.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=a=s=void 0},E.flush=function(){return void 0===s?i:_(h())},E}},92098:function(e,t,n){e=n.nmd(e);var r,a,o,i,s,l,u,c="__lodash_hash_undefined__",d="[object Arguments]",m="[object Function]",p="[object Object]",f=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[d]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g[m]=g["[object Map]"]=g["[object Number]"]=g[p]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var y="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,b=y||v||Function("return this")(),D=t&&!t.nodeType&&t,_=D&&e&&!e.nodeType&&e,E=_&&_.exports===D,C=E&&y.process,w=function(){try{var e=_&&_.require&&_.require("util").types;if(e)return e;return C&&C.binding&&C.binding("util")}catch(e){}}(),x=w&&w.isTypedArray;function k(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var S=Array.prototype,M=Function.prototype,T=Object.prototype,O=b["__core-js_shared__"],F=M.toString,P=T.hasOwnProperty,A=(i=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+i:"",L=T.toString,N=F.call(Object),R=RegExp("^"+F.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=E?b.Buffer:void 0,I=b.Symbol,B=b.Uint8Array,U=j?j.allocUnsafe:void 0,z=(s=Object.getPrototypeOf,l=Object,function(e){return s(l(e))}),H=Object.create,V=T.propertyIsEnumerable,$=S.splice,Z=I?I.toStringTag:void 0,Y=function(){try{var e=ep(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=j?j.isBuffer:void 0,q=Math.max,K=Date.now,G=ep(b,"Map"),J=ep(Object,"create"),Q=function(){function e(){}return function(t){if(!ex(t))return{};if(H)return H(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(e){var t=this.__data__=new ee(e);this.size=t.size}function er(e,t,n){(void 0===n||ev(e[t],n))&&(void 0!==n||t in e)||eo(e,t,n)}function ea(e,t){for(var n=e.length;n--;)if(ev(e[n][0],t))return n;return -1}function eo(e,t,n){"__proto__"==t&&Y?Y(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}X.prototype.clear=function(){this.__data__=J?J(null):{},this.size=0},X.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},X.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return n===c?void 0:n}return P.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:P.call(t,e)},X.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=J&&void 0===t?c:t,this},ee.prototype.clear=function(){this.__data__=[],this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=ea(t,e);return!(n<0)&&(n==t.length-1?t.pop():$.call(t,n,1),--this.size,!0)},ee.prototype.get=function(e){var t=this.__data__,n=ea(t,e);return n<0?void 0:t[n][1]},ee.prototype.has=function(e){return ea(this.__data__,e)>-1},ee.prototype.set=function(e,t){var n=this.__data__,r=ea(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},et.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(G||ee),string:new X}},et.prototype.delete=function(e){var t=em(this,e).delete(e);return this.size-=t?1:0,t},et.prototype.get=function(e){return em(this,e).get(e)},et.prototype.has=function(e){return em(this,e).has(e)},et.prototype.set=function(e,t){var n=em(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},en.prototype.clear=function(){this.__data__=new ee,this.size=0},en.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},en.prototype.get=function(e){return this.__data__.get(e)},en.prototype.has=function(e){return this.__data__.has(e)},en.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ee){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new et(r)}return n.set(e,t),this.size=n.size,this};var ei=function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var s=o[++r];if(!1===t(a[s],s,a))break}return e};function es(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Z&&Z in Object(e)?function(e){var t=P.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0}catch(e){}var a=L.call(e);return r&&(t?e[Z]=n:delete e[Z]),a}(e):L.call(e)}function el(e){return ek(e)&&es(e)==d}function eu(e,t,n,r,a){e!==t&&ei(t,function(o,i){if(a||(a=new en),ex(o))!function(e,t,n,r,a,o,i){var s=eg(e,n),l=eg(t,n),u=i.get(l);if(u){er(e,n,u);return}var c=o?o(s,l,n+"",e,t,i):void 0,d=void 0===c;if(d){var m,f,h=eD(l),g=!h&&eE(l),y=!h&&!g&&eS(l);c=l,h||g||y?eD(s)?c=s:ek(s)&&e_(s)?c=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):g?(d=!1,c=function(e,t){if(t)return e.slice();var n=e.length,r=U?U(n):new e.constructor(n);return e.copy(r),r}(l,!0)):y?(d=!1,f=new(m=l.buffer).constructor(m.byteLength),new B(f).set(new B(m)),c=new l.constructor(f,l.byteOffset,l.length)):c=[]:function(e){if(!ek(e)||es(e)!=p)return!1;var t=z(e);
1if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&F.call(n)==N}(l)||eb(l)?(c=s,eb(s)?c=function(e,t,n,r){var a=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),a?eo(n,s,l):function(e,t,n){var r=e[t];P.call(e,t)&&ev(r,n)&&(void 0!==n||t in e)||eo(e,t,n)}(n,s,l)}return n}(s,eT(s)):(!ex(s)||eC(s))&&(c="function"!=typeof l.constructor||eh(l)?{}:Q(z(l)))):d=!1}d&&(i.set(l,c),a(c,l,r,o,i),i.delete(l)),er(e,n,c)}(e,t,i,n,eu,r,a);else{var s=r?r(eg(e,i),o,i+"",e,t,a):void 0;void 0===s&&(s=o),er(e,i,s)}},eT)}function ec(e,t){var n;return ey((n=q(void 0===(n=t)?e.length-1:n,0),function(){for(var t=arguments,r=-1,a=q(t.length-n,0),o=Array(a);++r<a;)o[r]=t[n+r];r=-1;for(var i=Array(n+1);++r<n;)i[r]=t[r];return i[n]=eF(o),k(e,this,i)}),e+"")}function ed(e,t,n,r,a,o){return ex(e)&&ex(t)&&(o.set(t,e),eu(e,t,void 0,ed,o),o.delete(t)),e}function em(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function ep(e,t){var n=null==e?void 0:e[t];return!(!ex(n)||A&&A in n)&&(eC(n)?R:f).test(function(e){if(null!=e){try{return F.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(n))?n:void 0}function ef(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&h.test(e))&&e>-1&&e%1==0&&e<t}function eh(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||T)}function eg(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ey=(r=Y?function(e,t){return Y(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eF,a=0,o=0,function(){var e=K(),t=16-(e-o);if(o=e,t>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)});function ev(e,t){return e===t||e!=e&&t!=t}var eb=el(function(){return arguments}())?el:function(e){return ek(e)&&P.call(e,"callee")&&!V.call(e,"callee")},eD=Array.isArray;function e_(e){return null!=e&&ew(e.length)&&!eC(e)}var eE=W||function(){return!1};function eC(e){if(!ex(e))return!1;var t=es(e);return t==m||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ew(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ex(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ek(e){return null!=e&&"object"==typeof e}var eS=x?function(e){return x(e)}:function(e){return ek(e)&&ew(e.length)&&!!g[es(e)]},eM=ec(function(e){return e.push(void 0,ed),k(eO,void 0,e)});function eT(e){return e_(e)?function(e,t){var n=eD(e),r=!n&&eb(e),a=!n&&!r&&eE(e),o=!n&&!r&&!a&&eS(e),i=n||r||a||o,s=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)(t||P.call(e,u))&&!(i&&("length"==u||a&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ef(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!ex(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=eh(e),n=[];for(var r in e)"constructor"==r&&(t||!P.call(e,r))||n.push(r);return n}(e)}var eO=(u=function(e,t,n,r){eu(e,t,n,r)},ec(function(e,t){var n=-1,r=t.length,a=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(a=u.length>3&&"function"==typeof a?(r--,a):void 0,o&&function(e,t,n){if(!ex(n))return!1;var r=typeof t;return("number"==r?!!(e_(n)&&ef(t,n.length)):"string"==r&&(t in n))&&ev(n[t],e)}(t[0],t[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++n<r;){var i=t[n];i&&u(e,i,n,a)}return e}));function eF(e){return e}e.exports=eM},38554:function(e,t,n){e=n.nmd(e);var r,a,o,i,s,l,u,c,d,m,p="__lodash_hash_undefined__",f="[object Arguments]",h="[object Function]",g="[object Object]",y=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,b={};b["[object Float32Array]"]=b["[object Float64Array]"]=b["[object Int8Array]"]=b["[object Int16Array]"]=b["[object Int32Array]"]=b["[object Uint8Array]"]=b["[object Uint8ClampedArray]"]=b["[object Uint16Array]"]=b["[object Uint32Array]"]=!0,b[f]=b["[object Array]"]=b["[object ArrayBuffer]"]=b["[object Boolean]"]=b["[object DataView]"]=b["[object Date]"]=b["[object Error]"]=b[h]=b["[object Map]"]=b["[object Number]"]=b[g]=b["[object RegExp]"]=b["[object Set]"]=b["[object String]"]=b["[object WeakMap]"]=!1;var D="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,_="object"==typeof self&&self&&self.Object===Object&&self,E=D||_||Function("return this")(),C=t&&!t.nodeType&&t,w=C&&e&&!e.nodeType&&e,x=w&&w.exports===C,k=x&&D.process,S=function(){try{var e=w&&w.require&&w.require("util").t
vendor: 1,494 bytes, line 1
1ypes;if(e)return e;return k&&k.binding&&k.binding("util")}catch(e){}}(),M=S&&S.isTypedArray,T=Array.prototype,O=Function.prototype,F=Object.prototype,P=E["__core-js_shared__"],A=O.toString,L=F.hasOwnProperty,N=(l=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",R=F.toString,j=A.call(Object),I=RegExp("^"+A.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=x?E.Buffer:void 0,U=E.Symbol,z=E.Uint8Array,H=B?B.allocUnsafe:void 0,V=(u=Object.getPrototypeOf,c=Object,function(e){return u(c(e))}),$=Object.create,Z=F.propertyIsEnumerable,Y=T.splice,W=U?U.toStringTag:void 0,q=function(){try{var e=em(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),K=B?B.isBuffer:void 0,G=Math.max,J=Date.now,Q=em(E,"Map"),X=em(Object,"create"),ee=function(){function e(){}return function(t){if(!ew(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function et(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function er(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ea(e){var t=this.__data__=new en(e);this.size=t.size}function eo(e,t,n){(void 0===n||ey(e[t],n))&&(void 0!==n||t in e)||es(e,t,n)}function ei(e,t){for(var n=e.length;n--;)if(ey(e[n][0],t))return n;return -1}
1function es(e,t,n){"__proto__"==t&&q?q(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}et.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},et.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},et.prototype.get=function(e){var t=this.__data__;if(X){var n=t[e];return n===p?void 0:n}return L.call(t,e)?t[e]:void 0},et.prototype.has=function(e){var t=this.__data__;return X?void 0!==t[e]:L.call(t,e)},et.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?p:t,this},en.prototype.clear=function(){this.__data__=[],this.size=0},en.prototype.delete=function(e){var t=this.__data__,n=ei(t,e);return!(n<0)&&(n==t.length-1?t.pop():Y.call(t,n,1),--this.size,!0)},en.prototype.get=function(e){var t=this.__data__,n=ei(t,e);return n<0?void 0:t[n][1]},en.prototype.has=function(e){return ei(this.__data__,e)>-1},en.prototype.set=function(e,t){var n=this.__data__,r=ei(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},er.prototype.clear=function(){this.size=0,this.__data__={hash:new et,map:new(Q||en),string:new et}},er.prototype.delete=function(e){var t=ed(this,e).delete(e);return this.size-=t?1:0,t},er.prototype.get=function(e){return ed(this,e).get(e)},er.prototype.has=function(e){return ed(this,e).has(e)},er.prototype.set=function(e,t){var n=ed(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ea.prototype.clear=function(){this.__data__=new en,this.size=0},ea.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ea.prototype.get=function(e){return this.__data__.get(e)},ea.prototype.has=function(e){return this.__data__.has(e)},ea.prototype.set=function(e,t){var n=this.__data__;if(n instanceof en){var r=n.__data__;if(!Q||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new er(r)}return n.set(e,t),this.size=n.size,this};var el=function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var s=o[++r];if(!1===t(a[s],s,a))break}return e};function eu(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?function(e){var t=L.call(e,W),n=e[W];try{e[W]=void 0;var r=!0}catch(e){}var a=R.call(e);return r&&(t?e[W]=n:delete e[W]),a}(e):R.call(e)}function ec(e){return ex(e)&&eu(e)==f}function ed(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function em(e,t){var n=null==e?void 0:e[t];return!(!ew(n)||N&&N in n)&&(eE(n)?I:y).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(n))?n:void 0}function ep(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(e))&&e>-1&&e%1==0&&e<t}function ef(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||F)}function eh(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var eg=(r=q?function(e,t){return q(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:eT,a=0,o=0,function(){var e=J(),t=16-(e-o);if(o=e,t>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)});function ey(e,t){return e===t||e!=e&&t!=t}var ev=ec(function(){return arguments}())?ec:function(e){return ex(e)&&L.call(e,"callee")&&!Z.call(e,"callee")},eb=Array.isArray;function eD(e){return null!=e&&eC(e.length)&&!eE(e)}var e_=K||function(){return!1};function eE(e){if(!ew(e))return!1;var t=eu(e);return t==h||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eC(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ew(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ex(e){return null!=e&&"object"==typeof e}var ek=M?function(e){return M(e)}:function(e){return ex(e)&&eC(e.length)&&!!b[eu(e)]};function eS(e){return eD(e)?function(e,t){var n=eb(e),r=!n&&ev(e),a=!n&&!r&&e_(e),o=!n&&!r&&!a&&ek(e),i=n||r||a||o,s=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)(t||L.call(e,u))&&!(i&&("length"==u||a&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ep(u,l)))&&s.push(u);return s}(e,!0):function(e){if(!ew(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ef(e),n=[];for(var r in e)"constructor"==r&&(t||!L.call(e,r))||n.push(r);return n}(e)}var eM=(d=function(e,t,n,r){!function e(t,n,r,a,o){t!==n&&el(n,function(i,s){if(o||(o=new ea),ew(i))(function(e,t,n,r,a,o,i){var s=eh(e,n),l=eh(t,n),u=i.get(l);if(u){eo(e,n,u);return}var c=o?o(s,l,n+"",e,t,i):void 0,d=void 0===c;if(d){var m,p,f=eb(l),h=!f&&e_(l),y=!f&&!h&&ek(l);c=l,f||h||y?eb(s)?c=s:ex(s)&&eD(s)?c=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):h?(d=!1,c=function(e,t){if(t)return e.slice();var n=e.length,r=H?H(n):new e.constructor(n);return e.copy(r),r}(l,!0)):y?(d=!1,p=new(m=l.buffer).constructor(m.byteLength),new z(p).set(new z(m)),c=new l.constructor(p,l.byteOffset,l.length)):c=[]:function(e){if(!ex(e)||eu(e)!=g)return!1;var t=V(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&A.call(n)==j}(l)||ev(l)?(c=s,ev(s)?c=function(e,t,n,r){var a=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),a?es(n,s,l):function(e,t,n){var r=e[t];
1L.call(e,t)&&ey(r,n)&&(void 0!==n||t in e)||es(e,t,n)}(n,s,l)}return n}(s,eS(s)):(!ew(s)||eE(s))&&(c="function"!=typeof l.constructor||ef(l)?{}:ee(V(l)))):d=!1}d&&(i.set(l,c),a(c,l,r,o,i),i.delete(l)),eo(e,n,c)})(t,n,s,r,e,a,o);else{var l=a?a(eh(t,s),i,s+"",t,n,o):void 0;void 0===l&&(l=i),eo(t,s,l)}},eS)}(e,t,n,r)},eg((i=m=function(e,t){var n=-1,r=t.length,a=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(a=d.length>3&&"function"==typeof a?(r--,a):void 0,o&&function(e,t,n){if(!ew(n))return!1;var r=typeof t;return("number"==r?!!(eD(n)&&ep(t,n.length)):"string"==r&&(t in n))&&ey(n[t],e)}(t[0],t[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++n<r;){var i=t[n];i&&d(e,i,n,a)}return e},s=G((s=void 0,i.length-1),0),function(){for(var e=arguments,t=-1,n=G(e.length-s,0),r=Array(n);++t<n;)r[t]=e[s+t];t=-1;for(var a=Array(s+1);++t<s;)a[t]=e[t];return a[s]=eT(r),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(i,this,a)}),m+""));function eT(e){return e}e.exports=eM},93096:function(e,t,n){var r="Expected a function",a=0/0,o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,m=c||d||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,g=function(){return m.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return a;if(y(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=y(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):i.test(e)?a:+e}e.exports=function(e,t,n){var a=!0,o=!0;if("function"!=typeof e)throw TypeError(r);return y(n)&&(a="leading"in n?!!n.leading:a,o="trailing"in n?!!n.trailing:o),function(e,t,n){var a,o,i,s,l,u,c=0,d=!1,m=!1,p=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=a,r=o;return a=o=void 0,c=t,s=e.apply(r,n)}function D(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||m&&r>=i}function _(){var e,n,r,a=g();if(D(a))return E(a);l=setTimeout(_,(e=a-u,n=a-c,r=t-e,m?h(r,i-n):r))}function E(e){return(l=void 0,p&&a)?b(e):(a=o=void 0,s)}function C(){var e,n=g(),r=D(n);if(a=arguments,o=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(_,t),d?b(e):s;if(m)return l=setTimeout(_,t),b(u)}return void 0===l&&(l=setTimeout(_,t)),s}return t=v(t)||0,y(n)&&(d=!!n.leading,i=(m="maxWait"in n)?f(v(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),C.cancel=function(){void 0!==l&&clearTimeout(l),c=0,a=u=o=l=void 0},C.flush=function(){return void 0===l?s:E(g())},C}(e,t,{leading:a,maxWait:t,trailing:o})}},18618:function(e,t,n){e=n.nmd(e);var r,a,o,i="__lodash_hash_undefined__",s=1/0,l="[object Arguments]",u="[object Array]",c="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Function]",f="[object Map]",h="[object Number]",g="[object Object]",y="[object Promise]",v="[object RegExp]",b="[object Set]",D="[object String]",_="[object Symbol]",E="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",x=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k=/^\w*$/,S=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T=/\\(\\)?/g,O=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[l]=P[u]=P[C]=P[c]=P[w]=P[d]=P[m]=P[p]=P[f]=P[h]=P[g]=P[v]=P[b]=P[D]=P[E]=!1;var A="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,L="object"==typeof self&&self&&self.Object===Object&&self,N=A||L||Function("return this")(),R=t&&!t.nodeType&&t,j=R&&e&&!e.nodeType&&e,I=j&&j.exports===R&&A.process,B=function(){try{return I&&I.binding("util")}catch(e){}}(),U=B&&B.isTypedArray;function z(e,t){return!!(e?e.length:0)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return -1}(e,V,n);for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return -1}(e,t,0)>-1}function H(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}function V(e){return e!=e}function $(e,t){return e.has(t)}function Z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function Y(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var q=Array.prototype,K=Function.prototype,G=Object.prototype,J=N["__core-js_shared__"],Q=(r=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+r:"",X=K.toString,ee=G.hasOwnProperty,et=G.toString,en=RegExp("^"+X.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),er=N.Symbol,ea=N.Uint8Array,eo=G.propertyIsEnumerable,ei=q.splice,es=(a=Object.keys,o=Object,function(e){return a(o(e))}),el=eL(N,"DataView"),eu=eL(N,"Map"),ec=eL(N,"Promise"),ed=eL(N,"Set"),em=eL(N,"WeakMap"),ep=eL(Object,"create"),ef=ez(el),eh=ez(eu),eg=ez(ec),ey=ez(ed),ev=ez(em),eb=er?er.prototype:void 0,eD=eb?eb.valueOf:void 0,e_=eb?eb.toString:void 0;function eE(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eC(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ew(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ex(e){var t=-1,n=e?e.length:0;for(this.__data__=new ew;++t<n;)this.add(e[t])}function ek(e){this.__data__=new eC(e)}function eS(e,t){for(var n=e.length;n--;)if(eV(e[n][0],t))return n;return -1}function eM(e,t){var n;t=ej(t,e)?[t]:eZ(n=t)?n:eB(n);for(var r=0,a=t.length;null!=e&&r<a;)e=e[eU(t[r++])];return r&&r==a?e:void 0}function eT(e,t){return null!=e&&t in Object(e)}function eO(e,t,n,r,a){return e===t||(null!=e&&null!=t&&(eK(e)||eG(t))?function(e,t,n,r,a,o){var i=eZ(e),s=eZ(t),p=u,y=u;i||(p=(p=eN(e))==l?g:p),s||(y=(y=eN(t))==l?g:y);var E=p==g&&!Z(e),x=y==g&&!Z(t),k=p==y;if(k&&!E)return o||(o=new ek),i||eQ(e)?eP(e,t,n,r,a,o):function(e,t,n,r,a,o,i){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case C:if(e.byteLength!=t.byteLength||!r(new ea(e),new ea(t)))break;return!0;case c:case d:case h:return eV(+e,+t);case m:return e.name==t.name&&e.message==t.message;case v:case D:return e==t+"";case f:var s=Y;case b:var l=2&o;if(s||(s=W),e.size!=t.size&&!l)break;var u=i.get(e);if(u)return u==t;o|=1,i.set(e,t);var p=eP(s(e),s(t),r,a,o,i);return i.delete(e),p;case _:if(eD)return eD.call(e)==eD.call(t)}return!1}(e,t,p,n,r,a,o);if(!(2&a)){var S=E&&ee.call(e,"__wrapped__"),M=x&&ee.call(t,"__wrapped__");
1if(S||M){var T=S?e.value():e,O=M?t.value():t;return o||(o=new ek),n(T,O,r,a,o)}}return!!k&&(o||(o=new ek),function(e,t,n,r,a,o){var i=2&a,s=eX(e),l=s.length;if(l!=eX(t).length&&!i)return!1;for(var u=l;u--;){var c=s[u];if(!(i?c in t:ee.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var m=!0;o.set(e,t),o.set(t,e);for(var p=i;++u<l;){var f=e[c=s[u]],h=t[c];if(r)var g=i?r(h,f,c,t,e,o):r(f,h,c,e,t,o);if(!(void 0===g?f===h||n(f,h,r,a,o):g)){m=!1;break}p||(p="constructor"==c)}if(m&&!p){var y=e.constructor,v=t.constructor;y!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v)&&(m=!1)}return o.delete(e),o.delete(t),m}(e,t,n,r,a,o))}(e,t,eO,n,r,a):e!=e&&t!=t)}eE.prototype.clear=function(){this.__data__=ep?ep(null):{}},eE.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},eE.prototype.get=function(e){var t=this.__data__;if(ep){var n=t[e];return n===i?void 0:n}return ee.call(t,e)?t[e]:void 0},eE.prototype.has=function(e){var t=this.__data__;return ep?void 0!==t[e]:ee.call(t,e)},eE.prototype.set=function(e,t){return this.__data__[e]=ep&&void 0===t?i:t,this},eC.prototype.clear=function(){this.__data__=[]},eC.prototype.delete=function(e){var t=this.__data__,n=eS(t,e);return!(n<0)&&(n==t.length-1?t.pop():ei.call(t,n,1),!0)},eC.prototype.get=function(e){var t=this.__data__,n=eS(t,e);return n<0?void 0:t[n][1]},eC.prototype.has=function(e){return eS(this.__data__,e)>-1},eC.prototype.set=function(e,t){var n=this.__data__,r=eS(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ew.prototype.clear=function(){this.__data__={hash:new eE,map:new(eu||eC),string:new eE}},ew.prototype.delete=function(e){return eA(this,e).delete(e)},ew.prototype.get=function(e){return eA(this,e).get(e)},ew.prototype.has=function(e){return eA(this,e).has(e)},ew.prototype.set=function(e,t){return eA(this,e).set(e,t),this},ex.prototype.add=ex.prototype.push=function(e){return this.__data__.set(e,i),this},ex.prototype.has=function(e){return this.__data__.has(e)},ek.prototype.clear=function(){this.__data__=new eC},ek.prototype.delete=function(e){return this.__data__.delete(e)},ek.prototype.get=function(e){return this.__data__.get(e)},ek.prototype.has=function(e){return this.__data__.has(e)},ek.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eC){var r=n.__data__;if(!eu||r.length<199)return r.push([e,t]),this;n=this.__data__=new ew(r)}return n.set(e,t),this};var eF=ed&&1/W(new ed([,-0]))[1]==s?function(e){return new ed(e)}:function(){};function eP(e,t,n,r,a,o){var i=2&a,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,m=1&a?new ex:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var p=e[c],f=t[c];if(r)var h=i?r(f,p,c,t,e,o):r(p,f,c,e,t,o);if(void 0!==h){if(h)continue;d=!1;break}if(m){if(!function(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!m.has(t)&&(p===e||n(p,e,r,a,o)))return m.add(t)})){d=!1;break}}else if(!(p===f||n(p,f,r,a,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function eA(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eL(e,t){var n=null==e?void 0:e[t];return!(!eK(n)||Q&&Q in n)&&(eW(n)||Z(n)?en:O).test(ez(n))?n:void 0}var eN=function(e){return et.call(e)};function eR(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||F.test(e))&&e>-1&&e%1==0&&e<t}function ej(e,t){if(eZ(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||eJ(e))||k.test(e)||!x.test(e)||null!=t&&e in Object(t)}function eI(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(el&&eN(new el(new ArrayBuffer(1)))!=w||eu&&eN(new eu)!=f||ec&&eN(ec.resolve())!=y||ed&&eN(new ed)!=b||em&&eN(new em)!=E)&&(eN=function(e){var t=et.call(e),n=t==g?e.constructor:void 0,r=n?ez(n):void 0;if(r)switch(r){case ef:return w;case eh:return f;case eg:return y;case ey:return b;case ev:return E}return t});
1var eB=eH(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(eJ(e))return e_?e_.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}(t);var t,n=[];return S.test(e)&&n.push(""),e.replace(M,function(e,t,r,a){n.push(r?a.replace(T,"$1"):t||e)}),n});function eU(e){if("string"==typeof e||eJ(e))return e;var t=e+"";return"0"==t&&1/e==-s?"-0":t}function ez(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eH(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i),i};return n.cache=new(eH.Cache||ew),n}function eV(e,t){return e===t||e!=e&&t!=t}function e$(e){return eG(e)&&eY(e)&&ee.call(e,"callee")&&(!eo.call(e,"callee")||et.call(e)==l)}eH.Cache=ew;var eZ=Array.isArray;function eY(e){return null!=e&&eq(e.length)&&!eW(e)}function eW(e){var t=eK(e)?et.call(e):"";return t==p||"[object GeneratorFunction]"==t}function eq(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function eK(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eG(e){return!!e&&"object"==typeof e}function eJ(e){return"symbol"==typeof e||eG(e)&&et.call(e)==_}var eQ=U?function(e){return U(e)}:function(e){return eG(e)&&eq(e.length)&&!!P[et.call(e)]};function eX(e){return eY(e)?function(e,t){var n=eZ(e)||e$(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,a=!!r;for(var o in e)ee.call(e,o)&&!(a&&("length"==o||eR(o,r)))&&n.push(o);return n}(e):function(e){if(t=e&&e.constructor,e!==("function"==typeof t&&t.prototype||G))return es(e);var t,n=[];for(var r in Object(e))ee.call(e,r)&&"constructor"!=r&&n.push(r);return n}(e)}function e0(e){return e}e.exports=function(e,t){var n,r,a,o,i,s;return e&&e.length?function(e,t,n){var r=-1,a=z,o=e.length,i=!0,s=[],l=s;if(n)i=!1,a=H;else if(o>=200){var u=t?null:eF(e);if(u)return W(u);i=!1,a=$,l=new ex}else l=t?[]:s;e:for(;++r<o;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,i&&d==d){for(var m=l.length;m--;)if(l[m]===d)continue e;t&&l.push(d),s.push(c)}else a(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}(e,"function"==typeof t?t:null==t?e0:"object"==typeof t?eZ(t)?(n=t[0],r=t[1],ej(n)&&(a=r)==a&&!eK(a)?eI(eU(n),r):function(e){var t,a=void 0===(t=null==e?void 0:eM(e,n))?void 0:t;return void 0===a&&a===r?null!=e&&function(e,t,n){t=ej(t,e)?[t]:eZ(r=t)?r:eB(r);for(var r,a,o=-1,i=t.length;++o<i;){var s=eU(t[o]);if(!(a=null!=e&&n(e,s)))break;e=e[s]}if(a)return a;var i=e?e.length:0;return!!i&&eq(i)&&eR(s,i)&&(eZ(e)||e$(e))}(e,n,eT):eO(r,a,void 0,3)}):1==(o=function(e){for(var t=eX(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,a==a&&!eK(a)]}return t}(t)).length&&o[0][2]?eI(o[0][0],o[0][1]):function(e){return e===t||function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var s=n[a];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){var l=(s=n[a])[0],u=e[l],c=s[1];if(i&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new ek;if(r)var m=r(u,c,l,e,t,d);if(!(void 0===m?eO(c,u,r,3,d):m))return!1}}return!0}(e,t,o)}:ej(i=t)?(s=eU(i),function(e){return null==e?void 0:e[s]}):function(e){return eM(e,i)}):[]}},62045:function(){},66982:function(e,t,n){var r;e.exports=(r=n(67294),(()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;
1if(o&&i&&"object"==typeof o&&"object"==typeof i){var s,l,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=i.length)return!1;for(l=s;0!=l--;)if(!e(o[l],i[l]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((s=o.length)!=i.length)return!1;for(l=s;0!=l--;)if(o[l]!==i[l])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===i.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],i[u[l]]))return!1;return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},37:function(e,t,n){!function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var r="Left",a="Right",o="Down",i={delta:10,preventDefaultTouchmoveEvent:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0},s={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},l="mousemove",u="mouseup";function c(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}e.DOWN=o,e.LEFT=r,e.RIGHT=a,e.UP="Up",e.useSwipeable=function(e){var d,m,p,f=e.trackMouse,h=t.useRef(n({},s)),g=t.useRef(n({},i));g.current=n({},i,e);var y=t.useMemo(function(){var e,t,i,d,m,p,y;return e=function(e){return h.current=e(h.current,g.current)},t=function(t){t&&"touches"in t&&t.touches.length>1||e(function(e,r){r.trackMouse&&(document.addEventListener(l,i),document.addEventListener(u,m));var a="touches"in t?t.touches[0]:t,o=c([a.clientX,a.clientY],r.rotationAngle);return n({},e,s,{initial:[].concat(o),xy:o,start:t.timeStamp||0})})},i=function(t){e(function(e,i){if("touches"in t&&t.touches.length>1)return e;var s="touches"in t?t.touches[0]:t,l=c([s.clientX,s.clientY],i.rotationAngle),u=l[0],d=l[1],m=u-e.xy[0],p=d-e.xy[1],f=Math.abs(m),h=Math.abs(p),g=(t.timeStamp||0)-e.start,y=Math.sqrt(f*f+h*h)/(g||1),v=[m/(g||1),p/(g||1)];if(f<i.delta&&h<i.delta&&!e.swiping)return e;var b=f>h?m>0?a:r:p>0?o:"Up",D={absX:f,absY:h,deltaX:m,deltaY:p,dir:b,event:t,first:e.first,initial:e.initial,velocity:y,vxvy:v};i.onSwiping&&i.onSwiping(D);var _=!1;return(i.onSwiping||i.onSwiped||"onSwiped"+b in i)&&(_=!0),_&&i.preventDefaultTouchmoveEvent&&i.trackTouch&&t.cancelable&&t.preventDefault(),n({},e,{first:!1,eventData:D,swiping:!0})})},d=function(t){e(function(e,r){var a;if(e.swiping&&e.eventData){a=n({},e.eventData,{event:t}),r.onSwiped&&r.onSwiped(a);var o="onSwiped"+a.dir;o in r&&r[o](a)}else r.onTap&&r.onTap({event:t});return n({},e,s,{eventData:a})})},m=function(e){document.removeEventListener(l,i),document.removeEventListener(u,m),d(e)},p=function(e,n){var r=function(){};if(e&&e.addEventListener){var a=[["touchstart",t],["touchmove",i],["touchend",d]];a.forEach(function(t){var r=t[0],a=t[1];return e.addEventListener(r,a,{passive:n})}),r=function(){return a.forEach(function(t){var n=t[0],r=t[1];return e.removeEventListener(n,r)})}}return r},y={ref:function(t){null!==t&&e(function(e,r){if(e.el===t)return e;var a={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),a.cleanUpTouch=void 0),r.trackTouch&&t&&(a.cleanUpTouch=p(t,!r.preventDefaultTouchmoveEvent)),n({},e,{el:t},a)})}},f&&(y.onMouseDown=t),[y,p]},[f]),v=y[0],b=y[1];return h.current=(d=h.current,m=g.current,p={},!m.trackTouch&&d.cleanUpTouch?(d.cleanUpTouch(),p.cleanUpTouch=void 0):m.trackTouch&&!d.cleanUpTouch&&d.el&&(p.cleanUpTouch=b(d.el,!m.preventDefaultTouchmoveEvent)),n({},d,p)),v}}(t,n(888))},888:e=>{"use strict";e.exports=r}},t={};function a(n){var r=t[n];
1if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";function e(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(r&&(r+=" "),r+=t);return r}a.r(o),a.d(o,{default:()=>ev});var t=a(888),r=a.n(t);let i=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var l="object"==typeof self&&self&&self.Object===Object&&self;let u=s||l||Function("return this")(),c=function(){return u.Date.now()};var d=/\s/,m=/^\s+/;let p=u.Symbol;var f=Object.prototype,h=f.hasOwnProperty,g=f.toString,y=p?p.toStringTag:void 0,v=Object.prototype.toString,b=p?p.toStringTag:void 0,D=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,E=/^0o[0-7]+$/i,C=parseInt;let w=function(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||null!=n&&"object"==typeof n&&"[object Symbol]"==(null==(t=n)?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?function(e){var t=h.call(e,y),n=e[y];try{e[y]=void 0;var r=!0}catch(e){}var a=g.call(e);return r&&(t?e[y]=n:delete e[y]),a}(t):v.call(t)))return NaN;if(i(e)){var t,n,r,a="function"==typeof e.valueOf?e.valueOf():e;e=i(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=(r=e)?r.slice(0,function(e){for(var t=e.length;t--&&d.test(e.charAt(t)););return t}(r)+1).replace(m,""):r;var o=_.test(e);return o||E.test(e)?C(e.slice(2),o?2:8):D.test(e)?NaN:+e};var x=Math.max,k=Math.min;let S=function(e,t,n){var r,a,o,s,l,u,d=0,m=!1,p=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var n=r,o=a;return r=a=void 0,d=t,s=e.apply(o,n)}function g(e){var n=e-u;return void 0===u||n>=t||n<0||p&&e-d>=o}function y(){var e,n=c();if(g(n))return v(n);l=setTimeout(y,(e=t-(n-u),p?k(e,o-(n-d)):e))}function v(e){return l=void 0,f&&r?h(e):(r=a=void 0,s)}function b(){var e,n=c(),o=g(n);if(r=arguments,a=this,u=n,o){if(void 0===l)return d=e=u,l=setTimeout(y,t),m?h(e):s;if(p)return clearTimeout(l),l=setTimeout(y,t),h(u)}return void 0===l&&(l=setTimeout(y,t)),s}return t=w(t)||0,i(n)&&(m=!!n.leading,o=(p="maxWait"in n)?x(w(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==l&&clearTimeout(l),d=0,r=u=a=l=void 0},b.flush=function(){return void 0===l?s:v(c())},b},M=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),S(e,t,{leading:r,maxWait:t,trailing:a})};var T=a(590),O=a.n(T),F=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),P="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,A=void 0!==a.g&&a.g.Math===Math?a.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),L="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(A):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},N=["top","right","bottom","left","width","height","size","weight"],R="undefined"!=typeof MutationObserver,j=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function o(){n&&(n=!1,e()),r&&s()}function i(){L(o)}function s(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(i,20);a=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){P&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),R?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){P&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;N.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),I=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},B=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||A},U=$(0,0,0,0);function z(e){return parseFloat(e)||0}function H(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+z(e["border-"+n+"-width"])},0)}var V="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof B(e).SVGGraphicsElement}:function(e){return e instanceof B(e).SVGElement&&"function"==typeof e.getBBox};function $(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Z=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=$(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e,t,n=(e=this.target,P?V(e)?$(0,0,(t=e.getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return U;var r=B(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=z(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,s=z(r.width),l=z(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=H(r,"left","right")+o),Math.round(l+i)!==n&&(l-=H(r,"top","bottom")+i)),e!==B(e).document.documentElement){var u=Math.round(s+o)-t,c=Math.round(l+i)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return $(a.left,a.top,s,l)}(e):U);return this.contentRect_=n,n.width!==this.broadcastWidth||n.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Y=function(e,t){var n,r,a,o,i,s=(n=t.x,r=t.y,a=t.width,o=t.height,I(i=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:a,height:o,top:r,right:n+a,bottom:o+r,left:n}),i);I(this,{target:e,contentRect:s})},W=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new F,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof B(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Z(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof B(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new Y(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),q="undefined"!=typeof WeakMap?new WeakMap:new F,K=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=j.getInstance(),r=new W(t,n,this);q.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){K.prototype[e]=function(){var t;return(t=q.get(this))[e].apply(t,arguments)}});let G=void 0!==A.ResizeObserver?A.ResizeObserver:K;var J=a(37),Q=a(697),X=r().memo(function(e){var t=e.description,n=e.fullscreen,a=e.handleImageLoaded,o=e.isFullscreen,i=e.onImageError,s=e.original,l=e.originalAlt,u=e.originalHeight,c=e.originalWidth,d=e.originalTitle,m=e.sizes,p=e.srcSet,f=e.loading,h=o&&n||s;return r().createElement(r().Fragment,null,r().createElement("img",{className:"image-gallery-image",src:h,alt:l,srcSet:p,height:u,width:c,sizes:m,title:d,onLoad:function(e){return a(e,s)},onError:i,loading:f}),t&&r().createElement("span",{className:"image-gallery-description"},t))});X.displayName="Item",X.propTypes={description:Q.string,fullscreen:Q.string,handleImageLoaded:Q.func.isRequired,isFullscreen:Q.bool,onImageError:Q.func.isRequired,original:Q.string.isRequired,originalAlt:Q.string,originalHeight:Q.string,originalWidth:Q.string,originalTitle:Q.string,
1sizes:Q.string,srcSet:Q.string,loading:Q.string},X.defaultProps={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"};var ee={left:r().createElement("polyline",{points:"15 18 9 12 15 6"}),right:r().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:r().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:r().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:r().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:r().createElement(r().Fragment,null,r().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),r().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},et=function(e){var t=e.strokeWidth,n=e.viewBox,a=e.icon;return r().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:n,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"},ee[a])};et.propTypes={strokeWidth:Q.number,viewBox:Q.string,icon:(0,Q.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired},et.defaultProps={strokeWidth:1,viewBox:"0 0 24 24"};var en=r().memo(function(e){var t=e.isFullscreen,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:n,"aria-label":"Open Fullscreen"},r().createElement(et,{strokeWidth:2,icon:t?"minimize":"maximize"}))});en.displayName="Fullscreen",en.propTypes={isFullscreen:Q.bool.isRequired,onClick:Q.func.isRequired};var er=r().memo(function(e){var t=e.disabled,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:n,"aria-label":"Previous Slide"},r().createElement(et,{icon:"left",viewBox:"6 0 12 24"}))});er.displayName="LeftNav",er.propTypes={disabled:Q.bool.isRequired,onClick:Q.func.isRequired};var ea=r().memo(function(e){var t=e.disabled,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:n,"aria-label":"Next Slide"},r().createElement(et,{icon:"right",viewBox:"6 0 12 24"}))});ea.displayName="RightNav",ea.propTypes={disabled:Q.bool.isRequired,onClick:Q.func.isRequired};var eo=r().memo(function(e){var t=e.isPlaying,n=e.onClick;return r().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:n,"aria-label":"Play or Pause Slideshow"},r().createElement(et,{strokeWidth:2,icon:t?"pause":"play"}))});function ei(){return(ei=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}eo.displayName="PlayPause",eo.propTypes={isPlaying:Q.bool.isRequired,onClick:Q.func.isRequired};var es=function(e){var t=e.children,n=e.className,a=e.delta,o=e.onSwiping,i=e.onSwiped,s=(0,J.useSwipeable)({delta:a,onSwiping:o,onSwiped:i});return r().createElement("div",ei({},s,{className:n}),t)};function el(e){return(el="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ec(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}
1function ed(e,t){return(ed=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function em(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ep(e){return(ep=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}es.propTypes={children:Q.node.isRequired,className:Q.string,delta:Q.number,onSwiped:Q.func,onSwiping:Q.func},es.defaultProps={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}};var ef=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],eh=(0,Q.arrayOf)((0,Q.shape)({srcSet:Q.string,media:Q.string}));function eg(e){var t=parseInt(e.keyCode||e.which||0,10);return 66===t||62===t}var ey=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}(i,t);var n,a,o=(a=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t,n=ep(i);if(a){var r=ep(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return(e=t)&&("object"===el(e)||"function"==typeof e)?e:em(this)});function i(e){var t;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={currentIndex:e.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(e.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},t.loadedImages={},t.imageGallery=r().createRef(),t.thumbnailsWrapper=r().createRef(),t.thumbnails=r().createRef(),t.imageGallerySlideWrapper=r().createRef(),t.handleImageLoaded=t.handleImageLoaded.bind(em(t)),t.handleKeyDown=t.handleKeyDown.bind(em(t)),t.handleMouseDown=t.handleMouseDown.bind(em(t)),t.handleResize=t.handleResize.bind(em(t)),t.handleTouchMove=t.handleTouchMove.bind(em(t)),t.handleOnSwiped=t.handleOnSwiped.bind(em(t)),t.handleScreenChange=t.handleScreenChange.bind(em(t)),t.handleSwiping=t.handleSwiping.bind(em(t)),t.handleThumbnailSwiping=t.handleThumbnailSwiping.bind(em(t)),t.handleOnThumbnailSwiped=t.handleOnThumbnailSwiped.bind(em(t)),t.onThumbnailMouseLeave=t.onThumbnailMouseLeave.bind(em(t)),t.handleImageError=t.handleImageError.bind(em(t)),t.pauseOrPlay=t.pauseOrPlay.bind(em(t)),t.renderThumbInner=t.renderThumbInner.bind(em(t)),t.renderItem=t.renderItem.bind(em(t)),t.slideLeft=t.slideLeft.bind(em(t)),t.slideRight=t.slideRight.bind(em(t)),t.toggleFullScreen=t.toggleFullScreen.bind(em(t)),t.togglePlay=t.togglePlay.bind(em(t)),t.unthrottledSlideToIndex=t.slideToIndex,t.slideToIndex=M(t.unthrottledSlideToIndex,e.slideDuration,{trailing:!1}),e.lazyLoad&&(t.lazyLoaded=[]),t}return n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoPlay,n=e.useWindowKeyDown;t&&this.play(),n?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.items,a=n.lazyLoad,o=n.slideDuration,i=n.slideInterval,s=n.startIndex,l=n.thumbnailPosition,u=n.showThumbnails,c=n.useWindowKeyDown,d=this.state,m=d.currentIndex,p=d.isPlaying,f=e.items.length!==r.length,h=!O()(e.items,r),g=e.startIndex!==s,y=e.thumbnailPosition!==l,v=e.showThumbnails!==u;i===e.slideInterval&&o===e.slideDuration||p&&(this.pause(),this.play()),y&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),v&&u&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),v&&!u&&this.removeThumbn
vendor: 6,050 bytes, line 1
1ailsResizeObserver(),(f||v)&&this.handleResize(),t.currentIndex!==m&&this.slideThumbnailBar(),e.slideDuration!==o&&(this.slideToIndex=M(this.unthrottledSlideToIndex,o,{trailing:!1})),a&&(!e.lazyLoad||h)&&(this.lazyLoaded=[]),c!==e.useWindowKeyDown&&(c?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(g||h)&&this.setState({currentIndex:s,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var e=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),e?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var e=this,t=this.state,n=t.currentIndex,r=t.isTransitioning,a=this.props,o=a.onSlide,i=a.slideDuration;this.transitionTimer=window.setTimeout(function(){r&&(e.setState({isTransitioning:!r,isSwipingThumbnail:!1}),o&&o(n))},i+50)}},{key:"onThumbnailClick",value:function(e,t){var n=this.props.onThumbnailClick;e.target.parentNode.parentNode.blur(),this.slideToIndex(t,e),n&&n(e,t)}},{key:"onThumbnailMouseOver",value:function(e,t){var n=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){n.slideToIndex(t),n.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var e=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,e&&this.play()}}},{key:"setThumbsTranslate",value:function(e){this.setState({thumbsTranslate:e})}},{key:"setModalFullscreen",value:function(e){var t=this.props.onScreenChange;this.setState({modalFullscreen:e}),t&&t(e)}},{key:"getThumbsTranslate",value:function(e){var t,n=this.props,r=n.disableThumbnailScroll,a=n.items,o=this.state,i=o.thumbnailsWrapperWidth,s=o.thumbnailsWrapperHeight,l=this.thumbnails&&this.thumbnails.current;if(r)return 0;if(l){if(this.isThumbnailVertical()){if(l.scrollHeight<=s)return 0;t=l.scrollHeight-s}else{if(l.scrollWidth<=i||i<=0)return 0;t=l.scrollWidth-i}return e*(t/(a.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(e){switch(e){case"left":e=" ".concat("image-gallery-thumbnails-left");break;case"right":e=" ".concat("image-gallery-thumbnails-right");break;case"bottom":e=" ".concat("image-gallery-thumbnails-bottom");break;case"top":e=" ".concat("image-gallery-thumbnails-top")}return e}},{key:"getAlignmentClassName",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.infinite,a=n.items,o="",i="image-gallery-left",s="image-gallery-right";switch(e){case t-1:o=" ".concat(i);break;case t:o=" ".concat("image-gallery-center");break;case t+1:o=" ".concat(s)}return a.length>=3&&r&&(0===e&&t===a.length-1?o=" ".concat(s):e===a.length-1&&0===t&&(o=" ".concat(i))),o}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,a=t.previousIndex,o=0===e&&1===n,i=1===e&&0===n,s=0===r,l=-100*n+100*e+r;return r>0?this.direction="left":r<0&&(this.direction="right"),i&&r>0&&(l=-100+r),o&&r<0&&(l=100+r),n!==a?0===e&&0===a&&s&&"left"===this.direction?l=100:1===e&&1===a&&s&&"right"===this.direction&&(l=-100):(i&&s&&"left"===this.direction&&(l=-100),o&&s&&"right"===this.direction&&(l=100)),l}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,a=t.slideStyle,o=this.props,i=o.infinite,s=o.items,l=o.useTranslate3D,u=o.isRTL,c=s.length-1,d=(-100*n+100*e)*(u?-1:1)+r;i&&s.length>2&&(0===n&&e===c?d=-100*(u?-1:1)+r:n===c&&0===e&&(d=100*(u?-1:1)+r)),i&&2===s.length&&(d=this.getTranslateXForTwoSlide(e));var m="translate(".concat(d,"%, 0)");return l&&(m="translate3d(".concat(d,"%, 0, 0)")),ec({display:this.isSlideVisible(e)?"inherit":"none",WebkitTransform:m,MozTransform:m,msTransform:m,OTransform:m,transform:m},a)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e,t=this.props,n=t.useTranslate3D,r=t.isRTL,a=this.state,o=a.thumbsTranslate,i=a.thumbsStyle,s=r?-1*o:o;return this.isThumbnailVertical()?(e="translate(0, ".concat(o,"px)"),n&&(e="translate3d(0, ".concat(o,"px, 0)"))):(e="translate(".concat(s,"px, 0)"),n&&(e="translate3d(".concat(s,"px, 0, 0)"))),ec({WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e},i)}},{key:"getSlideItems",value:function(){var t=this,n=this.state.currentIndex,a=this.props,o=a.items,i=a.slideOnThumbnailOver,s=a.onClick,l=a.lazyLoad,u=a.onTouchMove,c=a.onTouchEnd,d=a.onTouchStart,m=a.onMouseOver,p=a.onMouseLeave,f=a.renderItem,h=a.renderThumbInner,g=a.showThumbnails,y=a.showBullets,v=[],b=[],D=[];return o.forEach(function(a,o){var _=t.getAlignmentClassName(o),E=a.originalClass?" ".concat(a.originalClass):"",C=a.thumbnailClass?" ".concat(a.thumbnailClass):"",w=a.renderItem||f||t.renderItem,x=a.renderThumbInner||h||t.renderThumbInner,k=!l||_||t.lazyLoaded[o];k&&l&&!t.lazyLoaded[o]&&(t.lazyLoaded[o]=!0);var S=t.getSlideStyle(o),M=r().createElement("div",{"aria-label":"Go to Slide ".concat(o+1),key:"slide-".concat(o),tabIndex:"-1",className:"image-gallery-slide ".concat(_," ").concat(E),style:S,onClick:s,onKeyUp:t.handleSlideKeyUp,onTouchMove:u,onTouchEnd:c,onTouchStart:d,onMouseOver:m,onFocus:m,onMouseLeave:p,role:"button"},k?w(a):r().createElement("div",{style:{height:"100%"}}));
1if(v.push(M),g&&a.thumbnail){var T=e("image-gallery-thumbnail",C,{active:n===o});b.push(r().createElement("button",{key:"thumbnail-".concat(o),type:"button",tabIndex:"0","aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1),className:T,onMouseLeave:i?t.onThumbnailMouseLeave:null,onMouseOver:function(e){return t.handleThumbnailMouseOver(e,o)},onFocus:function(e){return t.handleThumbnailMouseOver(e,o)},onKeyUp:function(e){return t.handleThumbnailKeyUp(e,o)},onClick:function(e){return t.onThumbnailClick(e,o)}},x(a)))}if(y){var O=e("image-gallery-bullet",a.bulletClass,{active:n===o});D.push(r().createElement("button",{type:"button",key:"bullet-".concat(o),className:O,onClick:function(e){return a.bulletOnClick&&a.bulletOnClick({item:a,itemIndex:o,currentIndex:n}),e.target.blur(),t.slideToIndex.call(t,o,e)},"aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1)}))}}),{slides:v,thumbnails:b,bullets:D}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,n=t.previousIndex,r=t.currentIndex,a=e.length-1;return Math.abs(n-r)>1&&!(0===n&&r===a)&&!(n===a&&0===r)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,n=t.isTransitioning,r=t.previousIndex,a=t.currentIndex;return n&&!(e===r||e===a)}},{key:"isSlideVisible",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(){var e=this.state,t=e.currentIndex,n=e.isSwipingThumbnail,r=-this.getThumbsTranslate(t);n||(0===t?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:r,thumbsSwipedTranslate:r}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(e){var t=e.event,n=e.absX,r=e.dir,a=this.props,o=a.disableSwipe,i=a.stopPropagation,s=this.state,l=s.galleryWidth,u=s.isTransitioning,c=s.swipingUpDown,d=s.swipingLeftRight;if(r!==J.UP&&r!==J.DOWN&&!c||d){if(r!==J.LEFT&&r!==J.RIGHT||d||this.setState({swipingLeftRight:!0}),!o){var m=this.props.swipingTransitionDuration;if(i&&t.preventDefault(),u)this.setState({currentSlideOffset:0});else{var p=r===J.RIGHT?1:-1,f=n/l*100;Math.abs(f)>=100&&(f=100),this.setState({currentSlideOffset:p*f,slideStyle:{transition:"transform ".concat(m,"ms ease-out")}})}}}else c||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(e){var t=e.event,n=e.absX,r=e.absY,a=e.dir,o=this.props,i=o.stopPropagation,s=o.swipingThumbnailTransitionDuration,l=this.state,u=l.thumbsSwipedTranslate,c=l.thumbnailsWrapperHeight,d=l.thumbnailsWrapperWidth,m=l.swipingUpDown,p=l.swipingLeftRight;if(this.isThumbnailVertical()){if((a===J.LEFT||a===J.RIGHT||p)&&!m)return void(p||this.setState({swipingLeftRight:!0}));a!==J.UP&&a!==J.DOWN||m||this.setState({swipingUpDown:!0})}else{if((a===J.UP||a===J.DOWN||m)&&!p)return void(m||this.setState({swipingUpDown:!0}));a!==J.LEFT&&a!==J.RIGHT||p||this.setState({swipingLeftRight:!0})}var f,h,g,y,v=this.thumbnails&&this.thumbnails.current;this.isThumbnailVertical()?(h=Math.abs(f=u+(a===J.DOWN?r:-r))>v.scrollHeight-c+20,g=f>20,y=v.scrollHeight<=c):(h=Math.abs(f=u+(a===J.RIGHT?n:-n))>v.scrollWidth-d+20,g=f>20,y=v.scrollWidth<=d),y||(a===J.LEFT||a===J.UP)&&h||(a===J.RIGHT||a===J.DOWN)&&g||(i&&t.stopPropagation(),this.setState({thumbsTranslate:f,thumbsStyle:{transition:"transform ".concat(s,"ms ease-out")}}))}},{key:"handleOnThumbnailSwiped",value:function(){var e=this.state.thumbsTranslate,t=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:e,thumbsStyle:{transition:"all ".concat(t,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){return Math.abs(this.state.currentSlideOffset)>this.props.swipeThreshold}},{key:"resetSwipingDirection",value:function(){var e=this.state,t=e.swipingUpDown,n=e.swipingLeftRight;t&&this.setState({swipingUpDown:!1}),n&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(e){var t=e.event,n=e.dir,r=e.velocity,a=this.props,o=a.disableSwipe,i=a.stopPropagation,s=a.flickThreshold;if(!o){var l=this.props.isRTL;i&&t.stopPropagation(),this.resetSwipingDirection();var u=(n===J.LEFT?1:-1)*(l?-1:1),c=n===J.UP||n===J.DOWN;this.handleOnSwipedTo(u,r>s&&!c)}}},{key:"handleOnSwipedTo",value:function(e,t){var n=this.state,r=n.currentIndex,a=n.isTransitioning,o=r;(this.sufficientSwipe()||t)&&!a&&(o+=e),(-1!==e||this.canSlideLeft())&&(1!==e||this.canSlideRight())||(o=r),this.unthrottledSlideToIndex(o)}},{key:"handleTouchMove",value:function(e){this.state.swipingLeftRight&&e.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-u
1sing-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.disableKeyDown,r=t.useBrowserFullscreen,a=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!n)switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(e);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(e);break;case 27:a&&!r&&this.exitFullScreen()}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(e)))}},{key:"initSlideWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeSlideWrapperObserver=new G(S(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperWidth:e.contentRect.width},t.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(e.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeThumbnailWrapperObserver=new G(S(function(e){e&&e.forEach(function(e){t.setState({thumbnailsWrapperHeight:e.contentRect.height},t.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(e.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props,t=e.onScreenChange,n=e.useBrowserFullscreen,r=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,a=this.imageGallery.current===r;t&&t(a),n&&this.setState({isFullscreen:a})}},{key:"slideToIndex",value:function(e,t){var n=this.state,r=n.currentIndex,a=n.isTransitioning,o=this.props,i=o.items,s=o.slideDuration,l=o.onBeforeSlide;if(!a){t&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var u=i.length-1,c=e;e<0?c=u:e>u&&(c=0),l&&c!==r&&l(c),this.setState({previousIndex:r,currentIndex:c,isTransitioning:c!==r,currentSlideOffset:0,slideStyle:{transition:"all ".concat(s,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"right":"left")}},{key:"slideRight",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"left":"right")}},{key:"slideTo",value:function(e,t){var n=this,r=this.state,a=r.currentIndex,o=r.currentSlideOffset,i=r.isTransitioning,s=this.props.items,l=a+("left"===t?-1:1);i||(2===s.length?this.setState({currentSlideOffset:o+("left"===t?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return n.slideToIndex(l,e)},25)}):this.slideToIndex(l,e))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){eg(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){eg(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;ef.forEach(function(t){document.addEventListener(t,e.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var e=this;ef.forEach(function(t){document.removeEventListener(t,e.handleScreenChange)})}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,n=t.onPlay,r=t.slideInterval,a=t.slideDuration,o=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(r,a)),n&&e&&n(o))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,n=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),t&&e&&t(n))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"handleImageLoaded",value:function(e,t){var n=this.props.onImageLoad;!this.loadedImages[t]&&n&&(this.loadedImages[t]=!0,n(e))}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,n=this.props.onImageError||this.handleImageError;return r().createElement(X,{description:e.description,fullscreen:e.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:t,onImageError:n,original:e.original,originalAlt:e.originalAlt,originalHeight:e.originalHeight,originalWidth:e.originalWidth,originalTitle:e.originalTitle,sizes:e.sizes,loading:e.loading,srcSet:e.srcSet})}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return r().createElement("span",{className:"image-gallery-thumbn
1ail-inner"},r().createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,height:e.thumbnailHeight,width:e.thumbnailWidth,alt:e.thumbnailAlt,title:e.thumbnailTitle,loading:e.thumbnailLoading,onError:t}),e.thumbnailLabel&&r().createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var t=this.state,n=t.currentIndex,a=t.isFullscreen,o=t.modalFullscreen,i=t.isPlaying,s=this.props,l=s.additionalClass,u=s.disableThumbnailSwipe,c=s.indexSeparator,d=s.isRTL,m=s.items,p=s.thumbnailPosition,f=s.renderFullscreenButton,h=s.renderCustomControls,g=s.renderLeftNav,y=s.renderRightNav,v=s.showBullets,b=s.showFullscreenButton,D=s.showIndex,_=s.showThumbnails,E=s.showNav,C=s.showPlayButton,w=s.renderPlayPauseButton,x=this.getThumbnailStyle(),k=this.getSlideItems(),S=k.slides,M=k.thumbnails,T=k.bullets,O=e("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(p),{"image-gallery-rtl":d}),F=r().createElement("div",{ref:this.imageGallerySlideWrapper,className:O},h&&h(),this.canSlide()?r().createElement(r().Fragment,null,E&&r().createElement(r().Fragment,null,g(this.slideLeft,!this.canSlideLeft()),y(this.slideRight,!this.canSlideRight())),r().createElement(es,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},r().createElement("div",{className:"image-gallery-slides"},S))):r().createElement("div",{className:"image-gallery-slides"},S),C&&w(this.togglePlay,i),v&&r().createElement("div",{className:"image-gallery-bullets"},r().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},T)),b&&f(this.toggleFullScreen,a),D&&r().createElement("div",{className:"image-gallery-index"},r().createElement("span",{className:"image-gallery-index-current"},n+1),r().createElement("span",{className:"image-gallery-index-separator"},c),r().createElement("span",{className:"image-gallery-index-total"},m.length))),P=e("image-gallery",l,{"fullscreen-modal":o}),A=e("image-gallery-content",this.getThumbnailPositionClassName(p),{fullscreen:a}),L=e("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(p),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&d},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!u},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!u});return r().createElement("div",{ref:this.imageGallery,className:P,"aria-live":"polite"},r().createElement("div",{className:A},("bottom"===p||"right"===p)&&F,_&&M.length>0?r().createElement(es,{className:L,delta:0,onSwiping:!u&&this.handleThumbnailSwiping,onSwiped:!u&&this.handleOnThumbnailSwiped},r().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},r().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:x,"aria-label":"Thumbnail Navigation"},M))):null,("top"===p||"left"===p)&&F))}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(i.prototype,n),i}(r().Component);ey.propTypes={flickThreshold:Q.number,items:(0,Q.arrayOf)((0,Q.shape)({bulletClass:Q.string,bulletOnClick:Q.func,description:Q.string,original:Q.string,originalHeight:Q.number,originalWidth:Q.number,loading:Q.string,thumbnailHeight:Q.number,thumbnailWidth:Q.number,thumbnailLoading:Q.string,fullscreen:Q.string,originalAlt:Q.string,originalTitle:Q.string,thumbnail:Q.string,thumbnailAlt:Q.string,thumbnailLabel:Q.string,thumbnailTitle:Q.string,originalClass:Q.string,thumbnailClass:Q.string,renderItem:Q.func,renderThumbInner:Q.func,imageSet:eh,srcSet:Q.string,sizes:Q.string})).isRequired,showNav:Q.bool,autoPlay:Q.bool,lazyLoad:Q.bool,infinite:Q.bool,showIndex:Q.bool,showBullets:Q.bool,showThumbnails:Q.bool,showPlayButton:Q.bool,showFullscreenButton:Q.bool,disableThumbnailScroll:Q.bool,disableKeyDown:Q.bool,disableSwipe:Q.bool,disableThumbnailSwipe:Q.bool,useBrowserFullscreen:Q.bool,onErrorImageURL:Q.string,indexSeparator:Q.string,thumbnailPosition:(0,Q.oneOf)(["top","bottom","left","right"]),startIndex:Q.number,slideDuration:Q.number,slideInterval:Q.number,slideOnThumbnailOver:Q.bool,swipeThreshold:Q.number,swipingTransitionDuration:Q.number,swipingThumbnailTransitionDuration:Q.number,onSlide:Q.func,onBeforeSlide:Q.func,onScreenChange:Q.func,onPause:Q.func,onPlay:Q.func,onClick:Q.func,onImageLoad:Q.func,onImageError:Q.func,onTouchMove:Q.func,onTouchEnd:Q.func,onTouchStart:Q.func,onMouseOver:Q.func,onMouseLeave:Q.func,onThumbnailError:Q.func,onThumbnailClick:Q.func,renderCustomControls:Q.func,renderLeftNav:Q.func,renderRightNav:Q.func,renderPlayPauseButton:Q.func,renderFullscreenButton:Q.func,renderItem:Q.func,renderThumbInner:Q.func,stopPropagation:Q.bool,additionalClass:Q.string,useTranslate3D:Q.bool,isRTL:Q.bool,useWindowKeyDown:Q.bool},ey.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,show
1FullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(e,t){return r().createElement(er,{onClick:e,disabled:t})},renderRightNav:function(e,t){return r().createElement(ea,{onClick:e,disabled:t})},renderPlayPauseButton:function(e,t){return r().createElement(eo,{onClick:e,isPlaying:t})},renderFullscreenButton:function(e,t){return r().createElement(en,{onClick:e,isFullscreen:t})},useWindowKeyDown:!0};let ev=ey})(),o})())},40867:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=n(67294),a=n(73935),o=n(95551),i=n(69590),s=n.n(i),l=n(67139),u=[],c=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),c={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||u},d=r.useState({styles:{popper:{position:c.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),m=d[0],p=d[1],f=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);a.flushSync(function(){p({styles:(0,l.sq)(n.map(function(e){return[e,t.styles[e]||{}]})),attributes:(0,l.sq)(n.map(function(e){return[e,t.attributes[e]]}))})})},requires:["computeStyles"]}},[]),h=r.useMemo(function(){var e={onFirstUpdate:c.onFirstUpdate,placement:c.placement,strategy:c.strategy,modifiers:[].concat(c.modifiers,[f,{name:"applyStyles",enabled:!1}])};return s()(i.current,e)?i.current||e:(i.current=e,e)},[c.onFirstUpdate,c.placement,c.strategy,c.modifiers,f]),g=r.useRef();return(0,l.LI)(function(){g.current&&g.current.setOptions(h)},[h]),(0,l.LI)(function(){if(null!=e&&null!=t){var r=(n.createPopper||o.fi)(e,t,h);return g.current=r,function(){r.destroy(),g.current=null}}},[e,t,n.createPopper]),{state:g.current?g.current.state:null,styles:m.styles,attributes:m.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}}},67139:function(e,t,n){"use strict";n.d(t,{$p:function(){return a},DL:function(){return o},LI:function(){return l},k$:function(){return i},sq:function(){return s}});var r=n(67294),a=function(e){return Array.isArray(e)?e[0]:e},o=function(e){if("function"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}},i=function(e,t){if("function"==typeof e)return o(e,t);null!=e&&(e.current=t)},s=function(e){return e.reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r,e},{})},l="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},95179:function(e,t,n){"use strict";n.d(t,{P:function(){return X}});var r=n(67294),a=n(32228),o=n(66614),i=n(70149),s=n(65155),l=n(21681);let u=r.memo(e=>{let{actionHandler:t,actions:n,id:a,text:o}=e,{t:i}=(0,l.Ht)("UnMemoizedAttachmentActions"),s=(e,n,r)=>t?.(n,r,e);return r.createElement("div",{className:"str-chat__message-attachment-actions"},r.createElement("div",{className:"str-chat__message-attachment-actions-form"},r.createElement("span",null,o),n.map(e=>r.createElement("button",{className:`str-chat__message-attachment-actions-button str-chat__message-attachment-actions-button--${e.style}`,"data-testid":`${e.name}`,"data-value":e.value,key:`${a}-${e.value}`,onClick:t=>s(t,e.name,e.value)},e.text?i(e.text):null))))});var c=n(22787),d=n(98250),m=n(44068);let p=({fileSize:e,maximumFractionDigits:t})=>e&&Number.isFinite(Number(e))?r.createElement("span",{className:"str-chat__message-attachment-file--item-size","data-testid":"file-size-indicator"},(0,m.zu)(e,t)):null,f=({className:e,onClick:t,progress:n})=>r.createElement("div",{className:(0,i.Z)("str-chat__message-attachment-audio-widget--progress-track",e),"data-progress":n,"data-testid":"audio-progress",onClick:t,role:"progressbar",style:{"--str-chat__message-attachment-audio-widget-progress":n+"%"}},r.createElement("div",{className:"str-chat__message-attachment-audio-widget--progress-slider",style:{left:`${n}px`}}));var h=n(9288);let g=r.memo(e=>{let{og:{asset_url:t,file_size:n,mime_type:a,title:o}}=e,{audioRef:i,isPlaying:s,progress:l,seek:u,togglePlay:m}=(0,h.P)({mimeType:a});return t?r.createElement("div",{className:"str-chat__message-attachment-audio-widget","data-testid":"audio-widget"},r.createElement("audio",{ref:i},r.createElement("source",{"data-testid":"audio-source",src:t,type:"audio/mp3"})),r.createElement("div",{className:"str-chat__message-attachment-audio-widget--play-controls"},r.createElement(c.J,{isPlaying:s,onClick:m})),r.createElement("div",{className:"str-chat__message-attachment-audio-widget--text"},r.createElement("div",{className:"str-chat__message-attachment-audio-widget--text-first-row"},r.createElement("div",{className:"str-chat__message-attachment-audio-widget--title"},o),r.createElement(d.o,{assetUrl:t})),r.createElement("div",{className:"str-chat__message-attachment-audio-widget--text-second-row"},r.createElement(p,{fileSize:n}),r.createElement(f,{onClick:u,progress:l})))):null});var y=n(90725);let v=({children:e,onClick:t})=>r.createElement("button",{className:"str-chat__message_attachment__playback-rate-button","data-testid":"playback-rate-button",onClick:t},e);var b=n(31840);let D="str-chat__message-attachment__voice-recording-widget",_=({attachment:e,playbackRates:t})=>{let{t:n}=(0,l.Ht)("VoiceRecordingPlayer"),{asset_url:o,duration:i=0,mime_type:s,title:u=n("Voice message"),waveform_data:d}=e,{audioRef:m,increasePlaybackRate:f,isPlaying:g,playbackRate:_,progress:E,secondsElapsed:C,seek:w,togglePlay:x}=(0,h.P)({durationSeconds:i??0,mimeType:s,playbackRates:t});if(!o)return null;let k=C||i;return r.createElement("div",{className:D,"data-testid":"voice-recording-widget"},r.createElement("audio",{ref:m},r.createElement("source",{"data-testid":"audio-source",src:o,type:s})),r.createElement(c.J,{isPlaying:g,onClick:x}),r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__metadata"},r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__title","data-testid":"voice-recording-title",title:u},u),r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__audio-state"},r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__timer"},e.duration?(0,a.dp)(k):r.createElement(p,{fileSize:e.file_size,maximumFractionDigits:0})),r.createElement(y.e,{progress:E,seek:w,waveformData:d||[]}))),r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__right-section"},g?r.createElement(v,{disabled:!m.current,onClick:f},_.toFixed(1),"x"):r.createElement(b.a,{big:!0,mimeType:s,size:40})))},E=({attachment:e})=>{let{t}=(0,l.Ht)(),n=e.title||t("Voice message");return r.createElement("div",{className:D,"data-testid":"quoted-voice-recording-widget"},r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__metadata"},n&&r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__title","data-testid":"voice-recording-title",title:n},n),r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__audio-state"},r.createElement("div",{className:"str-chat__message-attachment__voice-recording-widget__timer"},e.duration?(0,a.dp)(e.duration):r.createElement(p,{fileSize:e.file_size,maximumFractionDigits:0})))),r.createElement(b.a,{big:!0,mimeType:e.mime_type,size:34}))}
1,C=({attachment:e,isQuoted:t})=>t?r.createElement(E,{attachment:e}):r.createElement(_,{attachment:e});var w=n(17967),x=n(6892),k=n(27666),S=n(66982),M=n.n(S);let T=e=>{e.target.alt=""},O=({original:e,originalAlt:t})=>r.createElement(x.Z,{alt:t,className:"image-gallery-image",onError:T,src:e}),F=e=>{let{images:t,index:n}=e,{t:a}=(0,l.Ht)("ModalGallery"),o=(0,r.useMemo)(()=>t.map(e=>{let t=e.image_url||e.thumb_url||"";return{original:t,originalAlt:a("User uploaded content"),source:t}}),[t,a]);return r.createElement(M(),{items:o,renderItem:O,showIndex:!0,showPlayButton:!1,showThumbnails:!1,startIndex:n})};var P=n(40239);let A=r.memo(e=>{let{images:t,innerRefs:n}=e,[a,o]=(0,r.useState)(0),[s,u]=(0,r.useState)(!1),{BaseImage:c=x.Z,ModalGallery:d=F}=(0,P.yM)("Gallery"),{t:m}=(0,l.Ht)("Gallery"),p=m("User uploaded content"),f=e=>{s?u(!1):(o(e),u(!0))},h=t.slice(0,4).map((e,a)=>3===a&&t.length>4?r.createElement("button",{className:"str-chat__gallery-placeholder","data-testid":"gallery-image-last",key:`gallery-image-${a}`,onClick:()=>f(a),style:{backgroundImage:`url(${t[3].previewUrl||t[3].image_url||t[3].thumb_url})`,...e.style},...n?.current&&{ref:e=>{n.current[a]=e}}},r.createElement("p",null,m("{{ imageCount }} more",{imageCount:t.length-4}))):r.createElement("button",{className:"str-chat__gallery-image","data-testid":"gallery-image",key:`gallery-image-${a}`,onClick:()=>f(a)},r.createElement(c,{alt:e?.fallback||p,src:(0,w.Nm)(e.previewUrl||e.image_url||e.thumb_url),style:e.style,title:e?.fallback||p,...n?.current&&{ref:e=>{n.current[a]=e}}}))),g=(0,i.Z)("str-chat__gallery",{"str-chat__gallery--square":t.length>3,"str-chat__gallery-two-rows":t.length>2});return r.createElement("div",{className:g},h,r.createElement(k.u,{className:"str-chat__gallery-modal",onClose:()=>u(e=>!e),open:s},r.createElement(d,{images:t,index:a})))}),L=e=>{let{dimensions:t={},fallback:n,image_url:a,innerRef:o,previewUrl:i,style:s,thumb_url:l}=e,[u,c]=(0,r.useState)(!1),{BaseImage:d=x.Z,ModalGallery:m=F}=(0,P.yM)("ImageComponent"),p=(0,w.Nm)(i||a||l),f=()=>c(e=>!e);return r.createElement(r.Fragment,null,r.createElement(d,{alt:n,className:"str-chat__message-attachment--img","data-testid":"image-test",onClick:f,src:p,style:s,tabIndex:0,title:n,...t,...o&&{ref:o}}),r.createElement(k.u,{className:"str-chat__image-modal",onClose:f,open:u},r.createElement(m,{images:[e],index:0})))};var N=n(75813),R=n(87029);let j=e=>{if(null!=e){let[t]=e.replace(/^(?:https?:\/\/)?(?:www\.)?/i,"").split("/");return t}return null},I=({type:e})=>{let{t}=(0,l.Ht)("Card");return r.createElement("div",{className:(0,i.Z)("str-chat__message-attachment-card",{[`str-chat__message-attachment-card--${e}`]:e})},r.createElement("div",{className:"str-chat__message-attachment-card--content"},r.createElement("div",{className:"str-chat__message-attachment-card--text"},t("this content could not be displayed"))))},B=({author_name:e,url:t})=>r.createElement("div",{className:"str-chat__message-attachment-card--source-link","data-testid":"card-source-link"},r.createElement(N.H,{className:"str-chat__message-attachment-card--url",href:t,rel:"noopener noreferrer",target:"_blank"},e||j(t))),U=e=>{let{asset_url:t,dimensions:n,image:a,image_url:i,thumb_url:s,title:l,type:u}=e,c=null;return t&&"video"===u?c=r.createElement(o.Z,{className:"react-player",controls:!0,height:"100%",url:t,width:"100%"}):a&&(c=r.createElement(L,{dimensions:n,fallback:l||a,image_url:i,thumb_url:s})),c?r.createElement("div",{className:"str-chat__message-attachment-card--header str-chat__message-attachment-card-react--header","data-testid":"card-header"},c):null},z=e=>{let{author_name:t,og_scrape_url:n,text:a,title:o,title_link:i,type:s}=e,l=i||n;return r.createElement("div",{className:"str-chat__message-attachment-card--content"},"audio"===s?r.createElement(H,{og:e}):r.createElement("div",{className:"str-chat__message-attachment-card--flex"},l&&r.createElement(B,{author_name:t,url:l}),o&&r.createElement("div",{className:"str-chat__message-attachment-card--title"},o),a&&r.createElement("div",{className:"str-chat__message-attachment-card--text"},a)))},H=({og:{asset_url:e,author_name:t,mime_type:n,og_scrape_url:a,text:o,title:i,title_link:s}})=>{let{audioRef:l,isPlaying:u,progress:d,seek:m,togglePlay:p}=(0,h.P)({mimeType:n}),g=s||a;return r.createElement("div",{className:"str-chat__message-attachment-card-audio-widget","data-testid":"card-audio-widget"},e&&r.createElement(r.Fragment,null,r.createElement("audio",{ref:l},r.createElement("source",{"data-testid":"audio-source",src:e,type:"audio/mp3"})),r.createElement("div",{className:"str-chat__message-attachment-card-audio-widget--first-row"},r.createElement("div",{className:"str-chat__message-attachment-audio-widget--play-controls"},r.createElement(c.J,{isPlaying:u,onClick:p}
1)),r.createElement(f,{onClick:m,progress:d}))),r.createElement("div",{className:"str-chat__message-attachment-audio-widget--second-row"},g&&r.createElement(B,{author_name:t,url:g}),i&&r.createElement("div",{className:"str-chat__message-attachment-audio-widget--title"},i),o&&r.createElement("div",{className:"str-chat__message-attachment-audio-widget--description"},o)))},V=r.memo(e=>{let{asset_url:t,giphy:n,image_url:a,thumb_url:o,title:i,title_link:s,type:l}=e,{giphyVersion:u}=(0,R.JN)("CardHeader"),c=o||a,d={};if("giphy"===l&&void 0!==n){let e=n[u];c=e.url,d.height=e.height,d.width=e.width}return i||s||t||c?r.createElement("div",{className:`str-chat__message-attachment-card str-chat__message-attachment-card--${l}`},r.createElement(U,{...e,dimensions:d,image:c}),r.createElement(z,{...e})):r.createElement(I,null)}),$=r.memo(({attachment:e})=>r.createElement("div",{className:"str-chat__message-attachment-file--item","data-testid":"attachment-file"},r.createElement(b.a,{className:"str-chat__file-icon",mimeType:e.mime_type}),r.createElement("div",{className:"str-chat__message-attachment-file--item-text"},r.createElement("div",{className:"str-chat__message-attachment-file--item-first-row"},r.createElement("div",{className:"str-chat__message-attachment-file--item-name","data-testid":"file-title"},e.title),r.createElement(d.o,{assetUrl:e.asset_url})),r.createElement(p,{fileSize:e.file_size})))),Z=({attachment:e})=>{let{t}=(0,l.Ht)("UnsupportedAttachment");return r.createElement("div",{className:"str-chat__message-attachment-unsupported","data-testid":"attachment-unsupported"},r.createElement(b.a,{className:"str-chat__file-icon"}),r.createElement("div",{className:"str-chat__message-attachment-unsupported__metadata"},r.createElement("div",{className:"str-chat__message-attachment-unsupported__title","data-testid":"unsupported-attachment-title"},e.title||t("Unsupported attachment"))))},Y=({attachment:e,children:t,componentType:n})=>{let o=(0,a.BE)(e),s="";o||(s="card"!==n||e?.image_url||e?.thumb_url?e?.actions?.length?"actions":"":"no-image");let l=(0,i.Z)("str-chat__message-attachment str-chat__message-attachment-dynamic-size",{[`str-chat__message-attachment--${n}`]:n,[`str-chat__message-attachment--${e?.type}`]:e?.type,[`str-chat__message-attachment--${n}--${s}`]:n&&s,"str-chat__message-attachment--svg-image":(0,a.WV)(e),"str-chat__message-attachment-with-actions":"actions"===s});return r.createElement("div",{className:l},t)},W=({actionHandler:e,attachment:t,AttachmentActions:n=u})=>t.actions?.length?r.createElement(n,{...t,actionHandler:e,actions:t.actions,id:t.id||"",text:t.text||""}):null;function q(e){let t={"--original-height":1e6,"--original-width":1e6};if(s.Bu(e,"url")){let n=new URL(e).searchParams,r=Number(n.get("oh")),a=Number(n.get("ow"));t["--original-width"]=a>1?a:1e6,t["--original-height"]=r>1?r:1e6}return t}let K=({attachment:e,Gallery:t=A})=>{let n=(0,r.useRef)([]),{imageAttachmentSizeHandler:a}=(0,R.JN)(),[o,i]=(0,r.useState)([]);(0,r.useLayoutEffect)(()=>{if(n.current&&n.current.every(e=>!!e)&&a){let t=[];n.current.forEach((n,r)=>{let o=a(e.images[r],n);t.push(o)}),i(t)}},[n,a,e]);let s=e.images.map((t,n)=>({...t,previewUrl:o[n]?.url||"about:blank",style:q(e.images[n]?.image_url||e.images[n]?.thumb_url||"")}));return r.createElement(Y,{attachment:e,componentType:"gallery"},r.createElement(t,{images:s||[],innerRefs:n,key:"gallery"}))},G=e=>{let{attachment:t,Image:n=L}=e,a="image",o=(0,r.useRef)(null),{imageAttachmentSizeHandler:i}=(0,R.JN)(),[s,l]=(0,r.useState)(void 0);(0,r.useLayoutEffect)(()=>{if(o.current&&i){let e=i(t,o.current);l(e)}},[o,i,t]);let u={...t,previewUrl:s?.url||"about:blank",style:q(t.image_url||t.thumb_url||"")};return t.actions&&t.actions.length?r.createElement(Y,{attachment:t,componentType:a},r.createElement("div",{className:"str-chat__attachment"},r.createElement(n,{...u,innerRef:o}),r.createElement(W,{...e}))):r.createElement(Y,{attachment:t,componentType:a},r.createElement(n,{...u,innerRef:o}))},J={audio:({attachment:e,Audio:t=g})=>r.createElement(Y,{attachment:e,componentType:"audio"},r.createElement("div",{className:"str-chat__attachment"},r.createElement(t,{og:e}))),card:e=>{let{attachment:t,Card:n=V}=e,a="card";return t.actions&&t.actions.length?r.createElement(Y,{attachment:t,componentType:a},r.createElement("div",{className:"str-chat__attachment"},r.createElement(n,{...t}),r.createElement(W,{...e}))):r.createElement(Y,{attachment:t,componentType:a},r.createElement(n,{...t}))},file:({attachment:e,File:t=$})=>e.asset_url?r.createElement(Y,{attachment:e,componentType:"file"},r.createElement(t,{attachment:e})):null,media:e=>{let{attachment:t,Media:n=o.Z}=e,a="media",{shouldGenerateVideoThumbnail:i,videoAttachmentSizeHandler:s}
1=(0,R.JN)(),l=(0,r.useRef)(null),[u,c]=(0,r.useState)();(0,r.useLayoutEffect)(()=>{if(l.current&&s){let e=s(t,l.current,i);c(e)}},[l,s,t]);let d=r.createElement("div",{className:"str-chat__player-wrapper","data-testid":"video-wrapper",ref:l,style:q(t.thumb_url||"")},r.createElement(n,{className:"react-player",config:{file:{attributes:{poster:u?.thumbUrl}}},controls:!0,height:"100%",url:u?.url,width:"100%"}));return t.actions?.length?r.createElement(Y,{attachment:t,componentType:a},r.createElement("div",{className:"str-chat__attachment"},d,r.createElement(W,{...e}))):r.createElement(Y,{attachment:t,componentType:a},d)},unsupported:({attachment:e,UnsupportedAttachment:t=Z})=>r.createElement(r.Fragment,null,r.createElement(t,{attachment:e})),voiceRecording:({attachment:e,isQuoted:t,VoiceRecording:n=C})=>r.createElement(Y,{attachment:e,componentType:"voiceRecording"},r.createElement("div",{className:"str-chat__attachment"},r.createElement(n,{attachment:e,isQuoted:t})))},Q=["card","gallery","image","media","audio","voiceRecording","file","unsupported"],X=e=>{let{attachments:t}=e,n=(0,r.useMemo)(()=>ee(e),[t]);return r.createElement("div",{className:"str-chat__attachment-list"},Q.reduce((e,t)=>[...e,...n[t]],[]))},ee=({attachments:e,...t})=>{let n=e.filter(e=>(0,a.bw)(e)),o=e.filter(e=>!(0,a.bw)(e)).reduce((e,n)=>{let a=et(n),o=J[a];return e[a].push(r.createElement(o,{key:`${a}-${e[a].length}`,...t,attachment:n})),e},{audio:[],card:[],file:[],media:[],unsupported:[],image:[],gallery:[],voiceRecording:[]});return n.length>1?o.gallery=[r.createElement(K,{key:"gallery-container",...t,attachment:{images:n,type:"gallery"}})]:1===n.length&&(o.image=[r.createElement(G,{key:"image-container",...t,attachment:n[0]})]),o},et=e=>(0,a.VO)(e)?"card":(0,a.As)(e)?"media":(0,a.zf)(e)?"audio":(0,a.dG)(e)?"voiceRecording":(0,a.Vx)(e)?"file":"unsupported"},82613:function(e,t,n){"use strict";n.d(t,{me:function(){return a}});var r=n(32228);let a=(e,t)=>e.length===t?e:e.length>t?function(e,t){let n,r,a;if(e.length<=t||0===t)return e;if(1===t)return[s(e)];let u=[],c=(e.length-2)/(t-2),d=0;u.push(e[d]);for(let s=1;s<t-1;s++){let t=e[d],m=l(e,s,c),p=Math.floor((s-1)*c)+1,f=Math.floor(s*c)+1,h=1+f-p;r=a=-1;for(let s=p;s<f;s++){let l=Math.abs(s-p)+1,u=h-l,c=e[s];(a=o(i(Math.abs(t-c),l),i(Math.abs(c-m),u),i(Math.abs(t-m),h)))>r&&(r=a,n=e[s],d=s)}void 0!==n&&u.push(n)}return u.push(e[e.length-1]),u}(e,t):u(e,t),o=(e,t,n)=>{let r=(e+t+n)/2;return Math.sqrt(r*(r-e)*(r-t)*(r-n))},i=(e,t)=>Math.sqrt(Math.pow(e,2)+Math.pow(t,2)),s=e=>e.reduce((e,t)=>e+t,0)/e.length,l=(e,t,n)=>{let r=Math.floor((t+1)*n)+1;return r=r<e.length?r:e.length,s(e.slice(Math.floor(t*n)+1,r))},u=(e,t)=>{if(!e.length)return console.warn("Cannot extend empty array of amplitudes."),e;if(e.length>t)return console.warn("Requested to extend the waveformData that is longer than the target list size"),e;if(t===e.length)return e;let[n,a]=(0,r.Cw)(t,e.length),o=[];for(let t=0;t<e.length;t++){let r=a&&a--?1:0;o.push(...Array(n+r).fill(e[t]))}return o}},98250:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(67294),a=n(78175),o=n(75813);let i=({assetUrl:e})=>r.createElement(o.H,{className:"str-chat__message-attachment-file--item-download",download:!0,href:e,target:"_blank"},r.createElement(a._8,{className:"str-chat__message-attachment-download-icon"}))},22787:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(67294),a=n(78175);let o=({isPlaying:e,onClick:t})=>r.createElement("button",{className:"str-chat__message-attachment-audio-widget--play-button","data-testid":e?"pause-audio":"play-audio",onClick:t},e?r.createElement(a.fp,null):r.createElement(a.Kd,null))},90725:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var r=n(93096),a=n.n(r),o=n(67294),i=n(70149),s=n(82613);let l=({amplitudesCount:e=40,progress:t=0,relativeAmplitudeBarWidth:n=2,relativeAmplitudeGap:r=1,seek:l,waveformData:u})=>{let[c,d]=(0,o.useState)(null),m=(0,o.useRef)(!1),[p,f]=(0,o.useState)(null),[h,g]=(0,o.useState)(),y=(0,o.useRef)(void 0),v=(0,o.useCallback)(()=>{c&&(m.current=!1,c.style.removeProperty("cursor"))},[c]),b=(0,o.useMemo)(()=>a()(t=>{if(t===y.current)return;y.current=t;let a=Math.floor(t/(r+n)),o=a<e,i=o?a:e,s=n/(n+r),l=i&&t/i*s;g({barCount:i,barWidth:l,gap:l*(r/n)})},1),[n,r,e]),D=(0,o.useMemo)(()=>h?(0,s.me)(u,h.barCount):[],[h,u]);return((0,o.useEffect)(()=>(document.addEventListener("pointerup",v),()=>{document.removeEventListener("pointerup",v)}),[v]),(0,o.useEffect)(()=>
1{if(!p||"undefined"==typeof ResizeObserver)return;let e=new ResizeObserver(([e])=>{b(e.contentRect.width)});return e.observe(p),()=>{e.disconnect()}},[b,p]),(0,o.useLayoutEffect)(()=>{if(!p)return;let{width:e}=p.getBoundingClientRect();b(e)},[b,p]),u.length&&h?.barCount!==0)?o.createElement("div",{className:"str-chat__wave-progress-bar__track","data-testid":"wave-progress-bar-track",onClick:l,onPointerDown:e=>{e.preventDefault(),c&&(m.current=!0,c.style.cursor="grabbing")},onPointerMove:e=>{m.current&&l({...e})},onPointerUp:v,ref:f,role:"progressbar",style:{"--str-chat__voice-recording-amplitude-bar-gap-width":h?.gap+"px"}},D.map((e,n)=>o.createElement("div",{className:(0,i.Z)("str-chat__wave-progress-bar__amplitude-bar",{"str-chat__wave-progress-bar__amplitude-bar--active":t>n/D.length*100}),"data-testid":"amplitude-bar",key:`amplitude-${n}`,style:{"--str-chat__voice-recording-amplitude-bar-width":h?.barWidth+"px","--str-chat__wave-progress-bar__amplitude-bar-height":e?100*e+"%":"0%"}})),o.createElement("div",{className:"str-chat__wave-progress-bar__progress-indicator","data-testid":"wave-progress-bar-progress-indicator",ref:d,style:{left:`${t<0?0:t>100?100:t}%`}})):null}},9288:function(e,t,n){"use strict";n.d(t,{P:function(){return m}});var r=n(93096),a=n.n(r),o=n(67294),i=n(37495),s=n(21681);let l=e=>!(e.duration===1/0||isNaN(e.duration)),u=e=>e&&!(e.paused||e.ended),c=e=>console.error("[AUDIO PLAYER]",e),d=[1,1.5,2],m=({durationSeconds:e,mimeType:t,playbackRates:n=d}={})=>{let{addNotification:r}=(0,i.uz)("useAudioController"),{t:m}=(0,s.Ht)("useAudioController"),[p,f]=(0,o.useState)(!1),[h,g]=(0,o.useState)(),[y,v]=(0,o.useState)(!0),[b,D]=(0,o.useState)(0),[_,E]=(0,o.useState)(0),C=(0,o.useRef)(void 0),w=(0,o.useRef)(null),x=(0,o.useCallback)(e=>{c(e),g(e),r(e.message,"error")},[r]),k=(0,o.useCallback)(async()=>{if(w.current){if(clearTimeout(C.current),C.current=void 0,t&&!w.current.canPlayType(t)){x(Error(m("Recording format is not supported and cannot be reproduced"))),v(!1);return}if(u(w.current))w.current.pause(),f(!1);else{C.current=setTimeout(()=>{if(w.current)try{w.current.pause(),f(!1)}catch(e){x(Error(m("Failed to play the recording")))}},2e3);try{await w.current.play(),f(!0)}catch(e){x(e),f(!1)}finally{clearTimeout(C.current),C.current=void 0}}}},[t,x,m]),S=(0,o.useMemo)(()=>a()(({clientX:e,currentTarget:t})=>{if(!(t&&w.current))return;if(!l(w.current)){x(Error(m("Cannot seek in the recording")));return}let{width:n,x:r}=t.getBoundingClientRect(),a=(e-r)/n;if(a>1||a<0)return;let o=a*w.current.duration;D(o),w.current.currentTime=o},16),[x,m]);return(0,o.useEffect)(()=>{if(!w.current)return;let t=w.current,n=()=>{D(t?.duration??e??0),f(!1)};t.addEventListener("ended",n);let a=()=>{r(m("Error reproducing the recording"),"error"),f(!1)};t.addEventListener("error",a);let o=()=>{D(t?.currentTime)};return t.addEventListener("timeupdate",o),()=>{t.pause(),t.removeEventListener("ended",n),t.removeEventListener("error",a),t.removeEventListener("timeupdate",o)}},[r,e,m]),{audioRef:w,canPlayRecord:y,increasePlaybackRate:()=>{E(e=>{if(!w.current)return e;let t=e===n.length-1?0:e+1;return w.current.playbackRate=n[t],t})},isPlaying:p,playbackError:h,playbackRate:n[_],progress:w.current&&b?b/w.current.duration*100:0,secondsElapsed:b,seek:S,togglePlay:k}}},78175:function(e,t,n){"use strict";n.d(t,{Kd:function(){return o},_8:function(){return a},fp:function(){return i}});var r=n(67294);let a=({className:e})=>r.createElement("svg",{className:e,"data-testid":"download",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4C9.11 4 6.6 5.64 5.35 8.04C2.34 8.36 0 10.91 0 14C0 17.31 2.69 20 6 20H19C21.76 20 24 17.76 24 15C24 12.36 21.95 10.22 19.35 10.04ZM19 18H6C3.79 18 2 16.21 2 14C2 11.95 3.53 10.24 5.56 10.03L6.63 9.92L7.13 8.97C8.08 7.14 9.94 6 12 6C14.62 6 16.88 7.86 17.39 10.43L17.69 11.93L19.22 12.04C20.78 12.14 22 13.45 22 15C22 16.65 20.65 18 19 18ZM13.45 10H10.55V13H8L12 17L16 13H13.45V10Z",fill:"black"})),o=()=>r.createElement("svg",{fill:"none",viewBox:"0 0 12 14",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M0.5 0V14L11.5 7L0.5 0Z",fill:"#080707"})),i=()=>r.createElement("svg",{fill:"none",viewBox:"0 0 12 14",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M0 14H4V0H0V14ZM8 0V14H12V0H8Z",fill:"#080707"}))},32228:function(e,t,n){"use strict";n.d(t,{As:function(){return h},BE:function(){return l},Cw:function(){return v},EM:function(){return g},JO:function(){return m},SW:function(){return s},V8:function(){return c},VO:function(){return o},Vx:function(){return p},WV:function(){return y},a9:function(){return a},bw:function(){return i},dG:function(){return d},dp:function(){return b},es:function(){return f},zf:function(){return u}});let r=["video/mp4","video/ogg","video/webm","video/quicktime"],a=e=>!!e.localMetadata?.id,o=e=>e.og_scrape_url||e.title_link,i=e=>"image"===e.type&&!o(e),s=e=>i(e)&&a(e),l=e=>Array.isArray(e.images),u=e=>"audio"===e.type,c=e=>u(e)&&a(e),d=e=>"voiceRecording"===e.type,m=e=>d(e)&&a(e),p=e=>"file"===e.type||!!(e.mime_type&&-1===r.indexOf(e.mime_type)&&"video"!==e.type),f=e=>p(e)&&a(e),h=e=>e.mime_type&&-1!==r.indexOf(e.mime_type)||"video"===e.type,g=e=>h(e)&&a(e),y=e=>{let t=e.fallback||"";return t.toLowerCase().endsWith(".svg")},v=(e,t)=>
1[Math.floor(e/t),e%t],b=e=>{if(!e||e<0)return"00:00";let[t,n]=v(e,3600),[r,a]=v(n,60),o=Math.ceil(a),i=1===t.toString().length?"0":"",s=1===r.toString().length?"0":"",l=1===o.toString().length?"0":"",u=`${s}${r}:${l}${o}`;return t?`${i}${t}:`+u:u}},7076:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(70149),a=n(67294);let o={User:e=>a.createElement("svg",{className:"str-chat__icon str-chat__icon--user",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M8 2C9.1 2 10 2.9 10 4C10 5.1 9.1 6 8 6C6.9 6 6 5.1 6 4C6 2.9 6.9 2 8 2ZM8 12C10.7 12 13.8 13.29 14 14H2C2.23 13.28 5.31 12 8 12ZM8 0C5.79 0 4 1.79 4 4C4 6.21 5.79 8 8 8C10.21 8 12 6.21 12 4C12 1.79 10.21 0 8 0ZM8 10C5.33 10 0 11.34 0 14V16H16V14C16 11.34 10.67 10 8 10Z",fill:"currentColor"}))},i=(e,t)=>{let n=e.charCodeAt(t);if(Number.isNaN(n))return"";if(n<55296||n>57343)return e.charAt(t);if(55296<=n&&n<=56319){if(e.length<=t+1)throw"High surrogate without following low surrogate";let n=e.charCodeAt(t+1);if(56320>n||n>57343)throw"High surrogate without following low surrogate";return e.charAt(t)+e.charAt(t+1)}if(0===t)throw"Low surrogate without preceding high surrogate";let r=e.charCodeAt(t-1);if(55296>r||r>56319)throw"Low surrogate without preceding high surrogate";return""},s=e=>{let{className:t,image:n,name:s,onClick:l=()=>void 0,onMouseOver:u=()=>void 0}=e,[c,d]=(0,a.useState)(!1);(0,a.useEffect)(()=>{d(!1)},[n]);let m=s?.toString()||"",p=i(m,0),f=n&&!c;return a.createElement("div",{className:(0,r.Z)("str-chat__avatar str-chat__message-sender-avatar",t,{"str-chat__avatar--multiple-letters":p.length>1,"str-chat__avatar--no-letters":!p.length,"str-chat__avatar--one-letter":1===p.length}),"data-testid":"avatar",onClick:l,onMouseOver:u,role:"button",title:s},f?a.createElement("img",{alt:p,className:"str-chat__avatar-image","data-testid":"avatar-img",onError:()=>d(!0),src:n}):a.createElement(a.Fragment,null,!!p.length&&a.createElement("div",{className:(0,r.Z)("str-chat__avatar-fallback"),"data-testid":"avatar-fallback"},p),!p.length&&a.createElement(o.User,null)))}},46360:function(e,t,n){"use strict";n.d(t,{$:function(){return ed}});var r=n(67294),a=n(91296),o=n.n(a),i=n(92098),s=n.n(i),l=n(93096),u=n.n(l),c=n(53416),d=n(70149);let m=()=>(e,t)=>{switch(t.type){case"closeThread":return{...e,thread:null,threadLoadingMore:!1,threadMessages:[]};case"copyMessagesFromChannel":{let{channel:n,parentId:r}=t;return{...e,messages:[...n.state.messages],pinnedMessages:[...n.state.pinnedMessages],suppressAutoscroll:!1,threadMessages:r?({...n.state.threads})[r]||[]:e.threadMessages}}case"copyStateFromChannelOnEvent":{let{channel:n}=t;return{...e,members:{...n.state.members},messages:[...n.state.messages],pinnedMessages:[...n.state.pinnedMessages],read:{...n.state.read},watcherCount:n.state.watcher_count,watchers:{...n.state.watchers}}}case"initStateFromChannel":{let{channel:n,hasMore:r}=t;return{...e,hasMore:r,loading:!1,members:{...n.state.members},messages:[...n.state.messages],pinnedMessages:[...n.state.pinnedMessages],read:{...n.state.read},watcherCount:n.state.watcher_count,watchers:{...n.state.watchers}}}case"jumpToLatestMessage":return{...e,hasMoreNewer:!1,highlightedMessageId:void 0,loading:!1,suppressAutoscroll:!1};case"jumpToMessageFinished":return{...e,hasMoreNewer:t.channel.state.messagePagination.hasNext,highlightedMessageId:t.highlightedMessageId,messages:t.channel.state.messages};case"clearHighlightedMessage":return{...e,highlightedMessageId:void 0};case"loadMoreFinished":{let{hasMore:n,messages:r}=t;return{...e,hasMore:n,loadingMore:!1,messages:r,suppressAutoscroll:!1}}case"loadMoreNewerFinished":{let{hasMoreNewer:n,messages:r}=t;return{...e,hasMoreNewer:n,loadingMoreNewer:!1,messages:r}}case"loadMoreThreadFinished":{let{threadHasMore:n,threadMessages:r}=t;return{...e,threadHasMore:n,threadLoadingMore:!1,threadMessages:r}}case"openThread":{let{channel:n,message:r}=t;return{...e,thread:r,threadHasMore:!0,threadMessages:r.id&&({...n.state.threads})[r.id]||[],threadSuppressAutoscroll:!1}}case"setError":{let{error:n}=t;return{...e,error:n}}case"setLoadingMore":{let{loadingMore:n}=t;return{...e,loadingMore:n,suppressAutoscroll:n}}case"setLoadingMoreNewer":{let{loadingMoreNewer:n}=t;return{...e,loadingMoreNewer:n}}case"setThread":{let{message:n}=t;return{...e,thread:n}}case"setTyping":{let{channel:n}=t;return{...e,typing:{...n.state.typing}}}case"startLoadingThread":return{...e,threadLoadingMore:!0,threadSuppressAutoscroll:!0};case"updateThreadOnEvent":{let{channel:n,message:r}=t;if(!e.thread)return e;return{...e,thread:r?.id===e.thread.id?n.state.formatMessage(r):e.thread,threadMessages:e.thread?.id&&({...n.state.threads})[e.thread.id]||[]}}default:return e}},p={error:null,hasMore:!0,hasMoreNewer:!1,loading:!0,loadingMore:!1,members:{},messages:[],pinnedMessages:[],read:{},suppressAutoscroll:!1,thread:null,threadHasMore:!0,threadLoadingMore:!1,threadMessages:[],threadSuppressAutoscroll:!1,typing:{},watcherCount:0,watchers:{}};var f=n(66722);let h=e=>{let{acceptedFiles:t,channel:n,channelCapabilitiesArray:a=[],channelConfig:o,channelUnreadUiState:i,debounceURLEnrichmentMs:s,dragAndDropWindow:l,enrichURLForPreview:u,error:c,findURLFn:d,giphyVersion:m,hasMore:p,hasMoreNewer:h,highlightedMessageId:g,imageAttachmentSizeHandler:y,loading:v,loadingMore:b,maxNumberOfFiles:D,members:_,messages:E=[],multipleUploads:C,mutes:w,notifications:x,onLinkPreviewDismissed:k,pinnedMessages:S,quotedMessage:M,read:T={},shouldGenerateVideoThumbnail:O,skipMessageDataMemoization:F,suppressAutoscroll:P,thread:A,threadHasMore:L,threadLoadingMore:N,threadMessages:R=[],videoAttachmentSizeHandler:j,watcher_count:I,watcherCount:B,watchers:U}=e,z=n.cid,H=n.initialized&&n.lastRead()?.getTime(),V=Object.keys(_||[]).length,$=x.length,Z=Object.values(T),Y=Z.length,W=Z.map(({last_read:e})=>e.toISOString()).join(),q=R?.length,K={};
1a.forEach(e=>{K[e]=!0});let G=F?E:E.map(({deleted_at:e,latest_reactions:t,pinned:n,reply_count:r,status:a,updated_at:o,user:i})=>`${e}${t?t.map(({type:e})=>e).join():""}${n}${r}${a}${o&&((0,f.MD)(o)||(0,f.J_)(o))?o.toISOString():o||""}${i?.updated_at}`).join(),J=R.map(({deleted_at:e,latest_reactions:t,pinned:n,status:r,updated_at:a,user:o})=>`${e}${t?t.map(({type:e})=>e).join():""}${n}${r}${a&&((0,f.MD)(a)||(0,f.J_)(a))?a.toISOString():a||""}${o?.updated_at}`).join(),Q=(0,r.useMemo)(()=>({acceptedFiles:t,channel:n,channelCapabilities:K,channelConfig:o,channelUnreadUiState:i,debounceURLEnrichmentMs:s,dragAndDropWindow:l,enrichURLForPreview:u,error:c,findURLFn:d,giphyVersion:m,hasMore:p,hasMoreNewer:h,highlightedMessageId:g,imageAttachmentSizeHandler:y,loading:v,loadingMore:b,maxNumberOfFiles:D,members:_,messages:E,multipleUploads:C,mutes:w,notifications:x,onLinkPreviewDismissed:k,pinnedMessages:S,quotedMessage:M,read:T,shouldGenerateVideoThumbnail:O,suppressAutoscroll:P,thread:A,threadHasMore:L,threadLoadingMore:N,threadMessages:R,videoAttachmentSizeHandler:j,watcher_count:I,watcherCount:B,watchers:U}),[n.data?.name,z,i,s,u,c,d,p,h,g,H,v,b,V,G,J,$,k,M,Y,W,O,F,P,A,L,N,q,B]);return Q},g=e=>{let{typing:t}=e,n=Object.keys(t||{}).join(),a=(0,r.useMemo)(()=>({typing:t}),[n]);return a};var y=n(83156);let v=e=>{let{channel:t,client:n}=(0,y.mx)("useEditMessageHandler");return(r,a)=>e&&t?Promise.resolve(e(t.cid,r,a)):n.updateMessage(r,void 0,a)},b=()=>{let e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e},D=(e,t)=>(0,r.useCallback)((n,r)=>{if(!e&&!t||!(n.target instanceof HTMLElement))return;let a=n.target,o=a.innerHTML.replace("*","");if("@"===o[0]){let a=o.replace("@",""),i=r?.find(({id:e,name:t})=>t===a||e===a);e&&"function"==typeof e&&"mouseover"===n.type&&e(n,i),t&&"click"===n.type&&"function"==typeof t&&t(n,i)}},[t,e]);var _=n(21681);let E=r.memo(({error:e})=>{let{t}=(0,_.Ht)("LoadingErrorIndicator");return e?r.createElement("div",null,t("Error: {{ errorMessage }}",{errorMessage:e.message})):null},(e,t)=>e.error?.message===t.error?.message),C=()=>r.createElement("div",{className:"str-chat__loading-channel-message"},r.createElement("div",{className:"str-chat__loading-channel-message-avatar"}),r.createElement("div",{className:"str-chat__loading-channel-message-end"},r.createElement("div",{className:"str-chat__loading-channel-message-sender"}),r.createElement("div",{className:"str-chat__loading-channel-message-last-row"},r.createElement("div",{className:"str-chat__loading-channel-message-text"}),r.createElement("div",{className:"str-chat__loading-channel-message-date"})))),w=()=>r.createElement("div",{className:"str-chat__loading-channel-message-input-row"},r.createElement("div",{className:"str-chat__loading-channel-message-input"}),r.createElement("div",{className:"str-chat__loading-channel-message-send"})),x=()=>r.createElement("div",{className:"str-chat__loading-channel-header"},r.createElement("div",{className:"str-chat__loading-channel-header-avatar"}),r.createElement("div",{className:"str-chat__loading-channel-header-end"},r.createElement("div",{className:"str-chat__loading-channel-header-name"}),r.createElement("div",{className:"str-chat__loading-channel-header-info"}))),k=()=>r.createElement("div",{className:"str-chat__loading-channel"},r.createElement(x,null),r.createElement("div",{className:"str-chat__loading-channel-message-list"},Array.from([,,,]).map((e,t)=>r.createElement(C,{key:`loading-message-${t}`}))),r.createElement(w,null));var S=n(32512);let M=({accept:e=[],children:t,disabled:n,handleFiles:a,maxNumberOfFiles:o,multiple:i})=>{let{t:s}=(0,_.Ht)("ImageDropzone"),l=(0,r.useCallback)(e=>{a&&e&&e.length&&a(e)},[a]),u=(0,r.useMemo)(()=>("string"==typeof e?e.split(","):e).reduce((e,t)=>(e[t]??(e[t]=[]),e),{}),[e]),{getRootProps:c,isDragAccept:m,isDragReject:p}=(0,S.uI)({accept:u,disabled:n,maxFiles:o,multiple:i,noClick:!0,onDrop:l});return r.createElement("div",{...c({className:(0,d.Z)("rfu-dropzone",{"rfu-dropzone--accept":m,"rfu-dropzone--reject":p}),style:{position:"relative"}}
1),tabIndex:-1},r.createElement("div",{className:"rfu-dropzone__notifier"},r.createElement("div",{className:"rfu-dropzone__inner"},r.createElement("svg",{height:"41",viewBox:"0 0 41 41",width:"41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M40.517 28.002V3.997c0-2.197-1.808-3.992-4.005-3.992H12.507a4.004 4.004 0 0 0-3.992 3.993v24.004a4.004 4.004 0 0 0 3.992 3.993h24.005c2.197 0 4.005-1.795 4.005-3.993zm-22.002-7.997l4.062 5.42 5.937-7.423 7.998 10H12.507l6.008-7.997zM.517 8.003V36c0 2.198 1.795 4.005 3.993 4.005h27.997V36H4.51V8.002H.517z",fill:"#000",fillRule:"nonzero"})),r.createElement("p",null,s("Drag your files here to add to your post")))),t)};var T=n(96808),O=n(87182),F=n(81935),P=n(87029),A=n(21707);let L=({children:e})=>{let{acceptedFiles:t,multipleUploads:n}=(0,P.JN)("DropzoneProvider"),{cooldownRemaining:a,isUploadEnabled:o,maxFilesLeft:i,uploadNewFiles:s}=(0,A.Nc)("DropzoneProvider");return r.createElement(M,{accept:t,disabled:!o||0===i||!!a,handleFiles:s,maxNumberOfFiles:i,multiple:n},e)},N=e=>{let t=(0,T._)(),n=(0,F.k)(e),a=(0,O.u)({...t,...n,...e});return r.createElement(A.G6,{value:a},r.createElement(L,null,e.children))};var R=n(37495),j=n(40239);function I({children:e,overrides:t}){let n=(0,r.useContext)(j.sM),a={...n,...t};return r.createElement(j.sM.Provider,{value:a},e)}var B=n(61687),U=n(71762),z=n(45853),H=n(25297);let V=()=>{let{useImageFlagEmojisOnWindows:e}=(0,y.mx)("Channel");return e&&navigator.userAgent.match(/Win/)?"str-chat--windows-flags":""},$=e=>e??"str-chat__container",Z=({customClasses:e})=>{let t=V();return{channelClass:e?.channel??"str-chat__channel",chatClass:e?.chat??"str-chat",chatContainerClass:$(e?.chatContainer),windowsEmojiClass:t}},Y=(e,t)=>(n,r)=>{if("string"!=typeof n||"success"!==r&&"error"!==r)return;let a=(0,c.x0)();e(e=>[...e,{id:a,text:n,type:r}]);let o=setTimeout(()=>e(e=>e.filter(e=>e.id!==a)),5e3);t.push(o)},W=(e,t)=>{for(let n=t.length-1;n>=0;n--){let r=t[n];if(r.id===e)return{index:n,target:r}}return{index:-1}},q=(e,t,n=!1)=>{let r=e.getTime(),a=0,o=0,i=t.length-1;for(;a<=i;){o=Math.floor((i+a)/2);let e=new Date(t[o].created_at).getTime(),n=t[o-1]?.created_at&&new Date(t[o-1].created_at).getTime(),s=t[o+1]?.created_at&&new Date(t[o+1].created_at).getTime();if(e===r||n&&s&&n<r&&r<s)return{index:o,target:t[o]};e<r?a=o+1:i=o-1}return n&&new Date(t[a].created_at).getTime()!==r?{index:-1}:{index:a,target:t[a]}};var K=n(36791),G=n(88041),J=n(65155);let Q=(e,t)=>{let n;let r=e.image_url||e.thumb_url||"";if(J.Bu(r,"url")){let e=new URL(r),a=ee(e,t);a&&(a.height*=2,a.width*=2,ea(a,e)),n=e.href}return{url:n||""}},X=(e,t,n)=>{let r;if(e.thumb_url&&n&&J.Bu(e.thumb_url,"url")){let n=new URL(e.thumb_url),a=ee(n,t);a&&(a.height*=2,a.width*=2,ea(a,n)),r=n.href}return{thumbUrl:r,url:e.asset_url||""}},ee=(e,t)=>{let n=e.searchParams,r=Number(n.get("oh"))||1,a=Number(n.get("ow"))||1,o=en(t);return(o.maxHeight||o.height)&&o.maxWidth?et(r,a,o.maxHeight||o.height,o.maxWidth):void 0},et=(e,t,n,r)=>({height:Math.round(Math.max(n,r/t*e)),width:Math.round(Math.max(n,r/e*t))}),en=e=>{let t=getComputedStyle(e),n=er(t.getPropertyValue("height")),r=er(t.getPropertyValue("max-height")),a=er(t.getPropertyValue("max-width"));return(n||r)&&a||console.warn("Invalid value set for height/max-height and/or max-width for HTML element, this can cause scrolling issues inside the message list, more info https://getstream.io/chat/docs/sdk/react/message-components/attachment/#image-and-video-sizing"),{height:n,maxHeight:r,maxWidth:a}},er=e=>{if(!e.endsWith("px"))return;let t=parseFloat(e);return isNaN(t)?void 0:t},ea=(e,t)=>{t.searchParams.set("h",e.height.toString()),t.searchParams.set("w",e.width.toString())};var eo=n(59852);let ei=e=>({focusedMessage:e.focusedMessage}),es=()=>{let{searchController:e}=(0,y.mx)("Channel"),{focusedMessage:t}=(0,eo.B)(e._internalState,ei);return t},el=e=>e[0]?.id!=null,eu=({children:e,className:t,...n})=>{let{customClasses:a,theme:o}=(0,y.mx)("Channel"),{channelClass:i,chatClass:s}=Z({customClasses:a}),l=(0,d.Z)(s,o,i,t);return r.createElement("div",{id:U.l,...n,className:l},e)},ec=e=>{let{acceptedFiles:t,activeUnreadHandler:n,channel:a,channelQueryOptions:i,children:l,doDeleteMessageRequest:d,doMarkReadRequest:f,doSen
1dMessageRequest:C,doUpdateMessageRequest:w,dragAndDropWindow:x=!1,enrichURLForPreviewConfig:S,initializeOnMount:M=!0,LoadingErrorIndicator:T=E,LoadingIndicator:O=k,markReadOnMount:F=!0,maxNumberOfFiles:A,multipleUploads:L=!0,onMentionsClick:j,onMentionsHover:U,optionalMessageInputProps:Z={},skipMessageDataMemoization:J}=e,ee=(0,r.useMemo)(()=>s()(i,{messages:{limit:z.eW}}),[i]),{client:et,customClasses:en,latestMessageDatesByChannels:er,mutes:ea,searchController:eo}=(0,y.mx)("Channel"),{t:ei}=(0,_.Ht)("Channel"),ec=$(en?.chatContainer),ed=V(),em=(0,K.io)(),[ep,ef]=(0,r.useState)(a.getConfig()),[eh,eg]=(0,r.useState)([]),[ey,ev]=(0,r.useState)(),[eb,eD]=(0,r.useState)(),e_=(0,r.useRef)([]),eE=(0,r.useMemo)(()=>m(),[]),[eC,ew]=(0,r.useReducer)(eE,{...p,hasMore:a.state.messagePagination.hasPrev,loading:!a.initialized}),ex=es(),ek=b(),eS=(0,r.useRef)(""),eM=(0,r.useRef)(void 0),eT=(0,r.useRef)(!0),eO=(0,r.useRef)(null),eF=a.data?.own_capabilities,eP=u()(()=>ew({channel:a,type:"copyStateFromChannelOnEvent"}),500,{leading:!0,trailing:!0}),eA=(0,r.useMemo)(()=>u()(eD,200,{leading:!0,trailing:!1}),[]),eL=(0,r.useMemo)(()=>u()(async e=>{let{updateChannelUiUnreadState:t=!0}=e??{};if(!a.disconnected&&ep?.read_events){eM.current=new Date;try{if(f)f(a,t?eA:void 0);else{let e=await a.markRead();t&&e&&eD({last_read:eM.current,last_read_message_id:e.event.last_read_message_id,unread_messages:0})}n?n(0,eS.current):eS.current&&(document.title=eS.current)}catch(e){console.error(ei("Failed to mark channel as read"))}}},500,{leading:!0,trailing:!1}),[n,a,ep,f,eA,ei]),eN=async e=>{if(e.message&&ew({channel:a,message:e.message,type:"updateThreadOnEvent"}),"user.watching.start"!==e.type&&"user.watching.stop"!==e.type){if("typing.start"===e.type||"typing.stop"===e.type)return ew({channel:a,type:"setTyping"});if("connection.changed"===e.type&&"boolean"==typeof e.online&&(eT.current=e.online),"message.new"===e.type){let t=!e.message?.parent_id||e.message?.show_in_channel;if(t&&document.hidden&&ep?.read_events&&!a.muteStatus().muted){let e=a.countUnread(eM.current);n?n(e,eS.current):document.title=`(${e}) ${eS.current}`}if(e.message?.user?.id===et.userID&&e?.message?.created_at&&e?.message?.cid){let t=new Date(e.message.created_at),n=e.message.cid;(!er[n]||er[n].getTime()<t.getTime())&&(er[n]=t)}}if("user.deleted"===e.type){let e=a.state?.messages?.[0]?.id;await a.query({messages:{id_lt:e,limit:z.cE},watchers:{limit:z.cE}})}"notification.mark_unread"===e.type&&eD(t=>e.last_read_at&&e.user?{first_unread_message_id:e.first_unread_message_id,last_read:new Date(e.last_read_at),last_read_message_id:e.last_read_message_id,unread_messages:e.unread_messages??0}:t),"channel.truncated"===e.type&&e.cid===a.cid&&eD(void 0),eP()}};(0,r.useLayoutEffect)(()=>{let e=!1,t=!1;(async()=>{if(!a.initialized&&M)try{let e=[];
1if(!a.id&&a.data?.members)for(let t of a.data.members){let n;if("string"==typeof t)n=t;else if("object"==typeof t){let{user:e,user_id:r}=t;n=r||e?.id}n&&e.push(n)}await (0,G.m)({channel:a,client:et,members:e,options:ee});let t=a.getConfig();ef(t)}catch(t){ew({error:t,type:"setError"}),e=!0}if(t=!0,eS.current=document.title,!e){if(ew({channel:a,hasMore:a.state.messagePagination.hasPrev,type:"initStateFromChannel"}),et.user?.id&&a.state.read[et.user.id]){let{user:e,...t}=a.state.read[et.user.id];eD(t)}a.countUnread()>0&&F&&eL({updateChannelUiUnreadState:!1}),et.on("connection.changed",eN),et.on("connection.recovered",eN),et.on("user.updated",eN),et.on("user.deleted",eN),a.on(eN)}})();let n=e_.current;return()=>{!e&&t&&(a?.off(eN),et.off("connection.changed",eN),et.off("connection.recovered",eN),et.off("user.deleted",eN),n.forEach(clearTimeout))}},[a.cid,ee,f,ep?.read_events,M]),(0,r.useEffect)(()=>{if(!eC.thread)return;let e=eC.messages?.find(e=>e.id===eC.thread?.id);e&&ew({message:e,type:"setThread"})},[eC.messages,eC.thread]);let eR=(0,r.useCallback)(({highlightDuration:e,highlightedMessageId:t})=>{ew({channel:a,highlightedMessageId:t,type:"jumpToMessageFinished"}),eO.current&&clearTimeout(eO.current),eO.current=setTimeout(()=>{eo._internalState.getLatestValue().focusedMessage&&eo._internalState.partialNext({focusedMessage:void 0}),eO.current=null,ew({type:"clearHighlightedMessage"})},e??z.Tt)},[a,eo]);(0,r.useEffect)(()=>{ex?.id&&eR({highlightedMessageId:ex.id})},[ex,eR]);let ej=(0,r.useMemo)(()=>Y(eg,e_.current),[]),eI=(0,r.useCallback)(o()((e,t)=>{ek.current&&ew({hasMore:e,messages:t,type:"loadMoreFinished"})},2e3,{leading:!0,trailing:!0}),[]),eB=async(e=z.cE)=>{let t;if(!eT.current||!window.navigator.onLine||!a.state.messagePagination.hasPrev)return 0;let n=eC?.messages?.[0];if(eC.loadingMore||eC.loadingMoreNewer||n?.status!=="received")return 0;ew({loadingMore:!0,type:"setLoadingMore"});let r=n?.id;try{t=await a.query({messages:{id_lt:r,limit:e},watchers:{limit:e}})}catch(e){return console.warn("message pagination request failed with error",e),ew({loadingMore:!1,type:"setLoadingMore"}),0}return eI(a.state.messagePagination.hasPrev,a.state.messages),t.messages.length},eU=async(e=z.cE)=>{let t;if(!eT.current||!window.navigator.onLine||!a.state.messagePagination.hasNext)return 0;let n=eC?.messages?.[eC?.messages?.length-1];if(eC.loadingMore||eC.loadingMoreNewer)return 0;ew({loadingMoreNewer:!0,type:"setLoadingMoreNewer"});let r=n?.id;try{t=await a.query({messages:{id_gt:r,limit:e},watchers:{limit:e}})}catch(e){return console.warn("message pagination request failed with error",e),ew({loadingMoreNewer:!1,type:"setLoadingMoreNewer"}),0}return ew({hasMoreNewer:a.state.messagePagination.hasNext,messages:a.state.messages,type:"loadMoreNewerFinished"}),t.messages.length},ez=(0,r.useCallback)(async(e,t=z.Do,n=z.Tt)=>{ew({loadingMore:!0,type:"setLoadingMore"}),await a.state.loadMessageIntoState(e,void 0,t),eI(a.state.messagePagination.hasPrev,a.state.messages),eR({highlightDuration:n,highlightedMessageId:e})},[a,eR,eI]),eH=(0,r.useCallback)(async()=>{await a.state.loadMessageIntoState("latest"),eI(a.state.messagePagination.hasPrev,a.state.messages),ew({type:"jumpToLatestMessage"})},[a,eI]),eV=(0,r.useCallback)(async(e=z.Do,t=z.Tt)=>{if(!eb?.unread_messages)return;let n=eb?.last_read_message_id,r=eb?.first_unread_message_id,o=!1;if(r){let e=W(r,a.state.messages);o=-1!==e.index}else if(n){let e=W(n,a.state.messages);o=!!e.target,r=e.index>-1?a.state.messages[e.index+1]?.id:void 0}else{let t=eb.last_read.getTime(),{index:i,target:s}=q(eb.last_read,a.state.messages,!0);if(s)o=!!(r=a.state.messages[i+1]?.id),n=s.id;else{let o;ew({loadingMore:!0,type:"setLoadingMore"});try{o=(await a.query({messages:{created_at_around:eb.last_read.toISOString(),limit:e}},"new")).messages}catch(e){ej(ei("Failed to jump to the first unread message"),"error"),eI(a.state.messagePagination.hasPrev,a.state.messages);return}let i=o.find(e=>e.created_at);if(!i){ej(ei("Failed to jump to the first unread message"),"error"),eI(a.state.messagePagination.hasPrev,a.state.messages);return}let s=new Date(i.created_at).getTime();if(t<s)r=i.id;else{let e=q(eb.last_read,o);n=e.target?.id}eI(a.state.messagePagination.hasPrev,a.state.messages)}}if(!r&&!n){ej(ei("Failed to jump to the first unread message"),"error");return}if(!o){ew({loadingMore:!0,type:"setLoadingMore"});try{let t=r??n;await a.state.loadMessageIntoState(t,void 0,e);let o=a.state.messages.findIndex(e=>e.id===t);eI(a.state.messagePagination.hasPrev,a.state.messages),r=r??a.state.messages[o+1]?.id}catch(e){ej(ei("Failed to jump to the first unread message"),"error"),eI(a.state.messagePagination.hasPrev,a.state.messages);return}}if(!r){ej(ei("Failed to jump to the first unread message"),"error");return}eb.first_unread_message_id||eD({...eb,first_unread_message_id:r,last_read_message_id:n}),eR({highlightDuration:t,highlightedMessageId:r})},[ej,a,eR,eI,ei,eb]),e$=(0,r.useCallback)(async e=>{let t;
1if(!e?.id)throw Error("Cannot delete a message - missing message ID.");if(d)t=await d(e);else{let n=await et.deleteMessage(e.id);t=n.message}return t},[et,d]),eZ=e=>{a.state.addMessageSorted(e,!0),ew({channel:a,parentId:eC.thread&&e.parent_id,type:"copyMessagesFromChannel"})},eY=async(e,t,n)=>{let{attachments:r,id:o,mentioned_users:i=[],parent_id:s,text:l}=e,u=el(i)?i.map(({id:e})=>e):i,c={attachments:r,id:o,mentioned_users:u,parent_id:s,quoted_message_id:s===ey?.parent_id?ey?.id:void 0,text:l,...t};try{let e,t;e=C?await C(a,c,n):await a.sendMessage(c,n);for(let e=a.state.messages.length-1;e>=0;e--){let n=a.state.messages[e];if(n.id&&n.id===c.id){t=n;break}}let r=new Date(e?.message?.updated_at||0).getTime(),o=t?.updated_at?.getTime()||0;e?.message&&(r>o||t?.status==="sending")&&eZ({...e.message,status:"received"}),ey&&s===ey?.parent_id&&ev(void 0)}catch(r){let t=JSON.stringify(r),n=t?JSON.parse(t):{};4===n.code&&r instanceof Error&&r.message.includes("already exists")?eZ({...e,status:"received"}):(eZ({...e,error:n,errorStatusCode:n.status||void 0,status:"failed"}),em?.upsertReplyLocally({message:{...e,error:n,errorStatusCode:n.status||void 0,status:"failed"}}))}},eW=async({attachments:e=[],mentioned_users:t=[],parent:n,text:r=""},o,i)=>{a.state.filterErrorMessages();let s={attachments:e,created_at:new Date,html:r,id:o?.id??`${et.userID}-${(0,c.x0)()}`,mentioned_users:t,parent_id:n?.id,reactions:[],status:"sending",text:r,type:"regular",user:et.user};em?.upsertReplyLocally({message:s}),eZ(s),await eY(s,o,i)},eq=async e=>{eZ({...e,errorStatusCode:void 0,status:"sending"}),e.attachments&&(e.attachments=e.attachments.filter(e=>!e.og_scrape_url)),await eY(e)},eK=e=>{a.state.removeMessage(e),ew({channel:a,parentId:eC.thread&&e.parent_id,type:"copyMessagesFromChannel"})},eG=(e,t)=>{t?.preventDefault(),ev(t=>{if(t?.parent_id===e?.parent_id)return t}),ew({channel:a,message:e,type:"openThread"})},eJ=e=>{e?.preventDefault(),ew({type:"closeThread"})},eQ=(0,r.useCallback)(o()((e,t)=>{ew({threadHasMore:e,threadMessages:t,type:"loadMoreThreadFinished"})},2e3,{leading:!0,trailing:!0}),[]),eX=async(e=z.ZN)=>{if(eC.threadLoadingMore||!eC.thread||!eC.threadHasMore)return;ew({type:"startLoadingThread"});let t=eC.thread.id;if(!t)return ew({type:"closeThread"});let n=a.state.threads[t]||[],r=n[0]?.id;try{let n=await a.getReplies(t,{id_lt:r,limit:e}),o=(0,H.Th)(n.messages.length,e),i=a.state.threads[t]||[];eQ(o,i)}catch(e){eQ(!1,n)}},e0=D(U,j),e1=v(w),{typing:e2,...e3}=eC,e4=h({...e3,acceptedFiles:t,channel:a,channelCapabilitiesArray:eF,channelConfig:ep,channelUnreadUiState:eb,debounceURLEnrichmentMs:S?.debounceURLEnrichmentMs,dragAndDropWindow:x,enrichURLForPreview:e.enrichURLForPreview,findURLFn:S?.findURLFn,giphyVersion:e.giphyVersion||"fixed_height",imageAttachmentSizeHandler:e.imageAttachmentSizeHandler||Q,maxNumberOfFiles:A,multipleUploads:L,mutes:ea,notifications:eh,onLinkPreviewDismissed:S?.onLinkPreviewDismissed,quotedMessage:ey,shouldGenerateVideoThumbnail:e.shouldGenerateVideoThumbnail||!0,videoAttachmentSizeHandler:e.videoAttachmentSizeHandler||X,watcher_count:eC.watcherCount}),e9=(0,r.useMemo)(()=>({addNotification:ej,closeThread:eJ,deleteMessage:e$,dispatch:ew,editMessage:e1,jumpToFirstUnreadMessage:eV,jumpToLatestMessage:eH,jumpToMessage:ez,loadMore:eB,loadMoreNewer:eU,loadMoreThread:eX,markRead:eL,onMentionsClick:e0,onMentionsHover:e0,openThread:eG,removeMessage:eK,retrySendMessage:eq,sendMessage:eW,setChannelUnreadUiState:eA,setQuotedMessage:ev,skipMessageDataMemoization:J,updateMessage:eZ}),[a.cid,e$,S?.findURLFn,S?.onLinkPreviewDismissed,eB,eU,eL,ey,eV,ez,eH,eA]),e6=(0,r.useMemo)(()=>({Attachment:e.Attachment,AttachmentPreviewList:e.AttachmentPreviewList,AttachmentSelector:e.AttachmentSelector,AttachmentSelectorInitiationButtonContents:e.AttachmentSelectorInitiationButtonContents,AudioRecorder:e.AudioRecorder,AutocompleteSuggestionItem:e.AutocompleteSuggestionItem,AutocompleteSuggestionList:e.AutocompleteSuggestionList,Avatar:e.Avatar,BaseImage:e.BaseImage,CooldownTimer:e.CooldownTimer,CustomMessageActionsList:e.CustomMessageActionsList,DateSeparator:e.DateSeparator,
1EditMessageInput:e.EditMessageInput,EmojiPicker:e.EmojiPicker,emojiSearchIndex:e.emojiSearchIndex,EmptyStateIndicator:e.EmptyStateIndicator,FileUploadIcon:e.FileUploadIcon,GiphyPreviewMessage:e.GiphyPreviewMessage,HeaderComponent:e.HeaderComponent,Input:e.Input,LinkPreviewList:e.LinkPreviewList,LoadingIndicator:e.LoadingIndicator,Message:e.Message,MessageActions:e.MessageActions,MessageBouncePrompt:e.MessageBouncePrompt,MessageDeleted:e.MessageDeleted,MessageListNotifications:e.MessageListNotifications,MessageNotification:e.MessageNotification,MessageOptions:e.MessageOptions,MessageRepliesCountButton:e.MessageRepliesCountButton,MessageStatus:e.MessageStatus,MessageSystem:e.MessageSystem,MessageTimestamp:e.MessageTimestamp,ModalGallery:e.ModalGallery,PinIndicator:e.PinIndicator,PollActions:e.PollActions,PollContent:e.PollContent,PollCreationDialog:e.PollCreationDialog,PollHeader:e.PollHeader,PollOptionSelector:e.PollOptionSelector,QuotedMessage:e.QuotedMessage,QuotedMessagePreview:e.QuotedMessagePreview,QuotedPoll:e.QuotedPoll,reactionOptions:e.reactionOptions,ReactionSelector:e.ReactionSelector,ReactionsList:e.ReactionsList,ReactionsListModal:e.ReactionsListModal,SendButton:e.SendButton,StartRecordingAudioButton:e.StartRecordingAudioButton,StopAIGenerationButton:e.StopAIGenerationButton,StreamedMessageText:e.StreamedMessageText,ThreadHead:e.ThreadHead,ThreadHeader:e.ThreadHeader,ThreadStart:e.ThreadStart,Timestamp:e.Timestamp,TriggerProvider:e.TriggerProvider,TypingIndicator:e.TypingIndicator,UnreadMessagesNotification:e.UnreadMessagesNotification,UnreadMessagesSeparator:e.UnreadMessagesSeparator,VirtualMessage:e.VirtualMessage}),[e.Attachment,e.AttachmentPreviewList,e.AttachmentSelector,e.AttachmentSelectorInitiationButtonContents,e.AudioRecorder,e.AutocompleteSuggestionItem,e.AutocompleteSuggestionList,e.Avatar,e.BaseImage,e.CooldownTimer,e.CustomMessageActionsList,e.DateSeparator,e.EditMessageInput,e.EmojiPicker,e.EmptyStateIndicator,e.FileUploadIcon,e.GiphyPreviewMessage,e.HeaderComponent,e.Input,e.LinkPreviewList,e.LoadingIndicator,e.Message,e.MessageActions,e.MessageBouncePrompt,e.MessageDeleted,e.MessageListNotifications,e.MessageNotification,e.MessageOptions,e.MessageRepliesCountButton,e.MessageStatus,e.MessageSystem,e.MessageTimestamp,e.ModalGallery,e.PinIndicator,e.PollActions,e.PollContent,e.PollCreationDialog,e.PollHeader,e.PollOptionSelector,e.QuotedMessage,e.QuotedMessagePreview,e.QuotedPoll,e.ReactionSelector,e.ReactionsList,e.ReactionsListModal,e.SendButton,e.StartRecordingAudioButton,e.ThreadHead,e.ThreadHeader,e.ThreadStart,e.Timestamp,e.TriggerProvider,e.TypingIndicator,e.UnreadMessagesNotification,e.UnreadMessagesSeparator,e.VirtualMessage,e.StopAIGenerationButton,e.StreamedMessageText,e.emojiSearchIndex,e.reactionOptions]),e8=g({typing:e2});return eC.error?r.createElement(eu,null,r.createElement(T,{error:eC.error})):eC.loading?r.createElement(eu,null,r.createElement(O,null)):a.watch?r.createElement(eu,{className:ed},r.createElement(P.gZ,{value:e4},r.createElement(R.PM,{value:e9},r.createElement(I,{overrides:e6},r.createElement(B.ln,{value:e8},r.createElement("div",{className:`${ec}`},x&&r.createElement(N,{...Z},l),!x&&r.createElement(r.Fragment,null,l))))))):r.createElement(eu,null,r.createElement("div",null,ei("Channel Missing")))},ed=r.memo(e=>{let{channel:t,EmptyPlaceholder:n=null,LoadingErrorIndicator:a,LoadingIndicator:o=k}=e,{channel:i,channelsQueryState:s}=(0,y.mx)("Channel"),l=t||i;return"reload"===s.queryInProgress&&o?r.createElement(eu,null,r.createElement(o,null)):s.error&&a?r.createElement(eu,null,r.createElement(a,{error:s.error})):l?.cid?r.createElement(ec,{...e,channel:l,key:l.cid}):r.createElement(eu,null,n)})},71762:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});let r="str-chat__channel"},67340:function(e,t,n){"use strict";n.d(t,{e:function(){return eG}});var r=n(67294),a=n(75637),o=n(66722),i=n(71002),s=n(15671),l=n(43144),u=n(97326),c=n(60136),d=n(82963),m=n(61120),p=n(4942),f=n(83878),h=n(59199),g=n(40181),y=n(25267);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var D={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},_=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Z)(this,e),this.init(t,n)}return(0,l.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||D,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,b(b({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}()),E=function(){function e(){(0,s.Z)(this,e),this.observers={}}return(0,l.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function C(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function w(e){return null==e?"":""+e}function x(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function k(e,t,n){var r=x(e,t,Object);r.obj[r.k]=n}function S(e,t){var n=x(e,t),r=n.obj,a=n.k;if(r)return r[a]}function M(e,t,n){var r=S(e,n);return void 0!==r?r:S(t,n)}function T(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var O={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function F(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return O[e]}):e}var P="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,A=[" ",",","?","!",";"];function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var R=function(e){(0,c.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,m.Z)(r);if(t){var a=(0,m.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,d.Z)(this,e)});function r(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,s.Z)(this,r),t=n.call(this),P&&E.call((0,u.Z)(t)),t.data=e||{},t.options=a,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return(0,l.Z)(r,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.
1indexOf(".")>-1&&(i=e.split("."));var s=S(this.data,i);return s||!o||"string"!=typeof n?s:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var a=n.split(r),o=t,i=0;i<a.length;++i){if(!o||"string"==typeof o[a[i]]&&i+1<a.length)return;if(void 0===o[a[i]]){for(var s=2,l=a.slice(i,i+s).join(r),u=o[l];void 0===u&&a.length>i+s;)s++,u=o[l=a.slice(i,i+s).join(r)];if(void 0===u)return;if(null===u)return null;if(n.endsWith(l)){if("string"==typeof u)return u;if(l&&"string"==typeof u[l])return u[l]}var c=a.slice(i+s).join(r);if(c)return e(u,c,r);return}o=o[a[i]]}return o}}(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."),r=t,t=i[1]),this.addNamespaces(t),k(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)("string"==typeof n[a]||"[object Array]"===Object.prototype.toString.apply(n[a]))&&this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),r=n,n=t,t=i[1]),this.addNamespaces(t);var s=S(this.data,i)||{};r?function e(t,n,r){for(var a in n)"__proto__"!==a&&"constructor"!==a&&(a in t?"string"==typeof t[a]||t[a]instanceof String||"string"==typeof n[a]||n[a]instanceof String?r&&(t[a]=n[a]):e(t[a],n[a],r):t[a]=n[a]);return t}(s,n,a):s=N(N({},s),n),k(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?N(N({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(E),j={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))}),t}};function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var U={},z=function(e){(0,c.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,m.Z)(r);if(t){var a=(0,m.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,d.Z)(this,e)});function r(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.Z)(this,r),t=n.call(this),P&&E.call((0,u.Z)(t)),!function(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,(0,u.Z)(t)),t.options=a,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=_.create("translator"),t}return(0,l.Z)(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=A.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===r.length)return!0;var a=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r);if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,n){var a=this;if("object"!==(0,i.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),u=l.key,c=l.namespaces,d=c[c.length-1],m=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m&&"cimode"===m.toLowerCase()){if(p){var f=t.nsSeparator||this.options.nsSeparator;return o?(h.res="".concat(d).concat(f).concat(u),h):"".concat(d).concat(f).concat(u)}return o?(h.res=u,h):u}var h=this.resolve(e,t),g=h&&h.res,y=h&&h.usedKey||u,v=h&&h.exactUsedKey||u,b=Object.prototype.toString.apply(g),D=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,E="string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g;if(_&&g&&E&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&!("string"==typeof D&&"[object Array]"===b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var C=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,g,B(B({},t),{},{ns:c})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");return o?(h.res=C,h):C}if(s){var w="[object Array]"===b,x=w?[]:{},k=w?v:y;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var M="".concat(k).concat(s).concat(S);x[S]=this.translate(M,B(B({},t),{joinArrays:!1,ns:c})),x[S]===M&&(x[S]=g[S])}g=x}}else if(_&&"string"==typeof D&&"[object Array]"===b)(g=g.join(D))&&(g=this.extendTranslation(g,e,t,n));else{var T=!1,O=!1,F=void 0!==t.count&&"string"!=typeof t.count,P=r.hasDefaultValue(t),A=F?this.pluralResolver.getSuffix(m,t.count,t):"",L=t["defaultValue".concat(A)]||t.defaultValue;!this.isValidLookup(g)&&P&&(T=!0,g=L),this.isValidLookup(g)||(O=!0,g=u);var N=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:g,R=P&&L!==g&&this.options.updateMissing;if(O||T||R){if(this.logger.log(R?"updateKey":"missingKey",m,d,u,R?L:g),s){var j=this.resolve(u,B(B({},t),{},{keySeparator:!1}));j&&j.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var z=0;z<U.length;z++)I.push(U[z]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(t.lng||this.language):I.push(t.lng||this.language);var H=function(e,n,r){var o=P&&r!==g?r:N;a.options.missingKeyHandler?a.options.missingKeyHandler(e,d,n,o,R,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,d,n,o,R,t),a.emit("missingKey",e,d,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&F?I.forEach(function(e){a.pluralResolver.getSuffixes(e,t).forEach(function(n){H([e],u+n,t["defaultValue".concat(n)]||L)})}):H(I,u,L))}g=this.extendTranslation(g,e,t,h,n),O&&g===u&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(u)),(O||T)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(u):u,T?g:void 0):this.options.parseMissingKeyHandler(g))}return o?(h.res=g,h):g}},{key:"extendTranslation",value:function(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,B(B({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(B(B({},n),{interpolation:B(B({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);i=l&&l.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=B(B({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);i<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}
1,n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,m="string"==typeof d?[d]:d;return null!=e&&m&&m.length&&!1!==n.applyPostProcessor&&(e=j.handle(m,e,t,this.options&&this.options.postProcessPassResolved?B({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,a,o,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,m=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach(function(e){i.isValidLookup(t)||(o=e,!U["".concat(f[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(U["".concat(f[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(function(n){if(!i.isValidLookup(t)){a=n;var o,l=[u];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,u,n,e,s);else{d&&(c=i.pluralResolver.getSuffix(n,s.count,s));var c,f="".concat(i.options.pluralSeparator,"zero");if(d&&(l.push(u+c),m&&l.push(u+f)),p){var h="".concat(u).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+c),m&&l.push(h+f))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),r}(E);function H(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(t){(0,s.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_.create("languageUtils")}return(0,l.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=H(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];
vendor: 4,841 bytes, line 1
1return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach(function(e){0>a.indexOf(e)&&o(n.formatLanguageCode(e))}),a}}]),e}(),$=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Z={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Y=["v1","v2","v3"],W={zero:0,one:1,two:2,few:3,many:4,other:5},q=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Z)(this,e),this.languageUtils=t,this.options=r,this.logger=_.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},$.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:Z[e.fc]}})}),n)}return(0,l.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
1return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return W[e]-W[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Y.includes(this.options.compatibilityJSON)}}]),e}();function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var J=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,e),this.logger=_.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,l.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:F,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?T(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?T(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?T(t.nestingPrefix):t.nestingPrefixEscaped||T("$t("),this.nestingSuffix=t.nestingSuffix?T(t.nestingSuffix):t.nestingSuffixEscaped||T(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(s.formatSeparator)){var a=M(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,G(G(G({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),u=o.join(s.formatSeparator).trim();return s.format(M(t,l,i),u,n,G(G(G({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,m=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}
1].forEach(function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=c(n))){if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else if(m){o=a[0];continue}else s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=w(o));var u=t.safeValue(o);if(e=e.replace(a[0],u),m?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=G({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0];var o=(a=this.interpolate(a,i)).match(/'/g),s=a.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(a=a.replace(/'/g,'"'));try{i=JSON.parse(a),t&&(i=G(G({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=c.shift(),l=c,u=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=w(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=l.reduce(function(e,t){return a.format(e,t,o.lng,G(G({},o),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ee(e){var t={};return function(n,r,a){var o=r+JSON.stringify(a),i=t[o];return i||(i=e(r,a),t[o]=i),i(n)}}var et=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,e),this.logger=_.create("formatter"),this.options=t,this.formats={number:ee(function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}}),currency:ee(function(e,t){var n=new Intl.NumberFormat(e,X(X({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:ee(function(e,t){var n=new Intl.DateTimeFormat(e,X({},t));return function(e){return n.format(e)}}),relativetime:ee(function(e,t){var n=new Intl.RelativeTimeFormat(e,X({},t));return function(e){return n.format(e,t.range||"day")}}),list:ee(function(e,t){var n=new Intl.ListFormat(e,X({},t));return function(e){return n.format(e)}})},this.init(t)}return(0,l.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=ee(t)}},{key:"format",value:function(e,t,n,r){var a=this;return t.split(this.formatSeparator).reduce(function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&0>a.indexOf(":")?n.currency||(n.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?n.range||(n.range=a.trim()):a.split(";").forEach(function(e){if(e){var t,r=(t=e.split(":"),(0,f.Z)(t)||(0,h.Z)(t)||(0,g.Z)(t)||(0,y.Z)()),a=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[a.trim()]||(n[a.trim()]=o),"false"===o&&(n[a.trim()]=!1),"true"===o&&(n[a.trim()]=!0),isNaN(o)||(n[a.trim()]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;l=a.formats[i](e,c,X(X(X({},s),r),u))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e},e)}}]),e}();function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?en(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ea=function(e){(0,c.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,m.Z)(r);if(t){var a=(0,m.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,d.Z)(this,e)});function r(e,t,a){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,s.Z)(this,r),o=n.call(this),P&&E.call((0,u.Z)(o)),o.backend=e,o.store=t,o.services=a,o.languageUtils=a.languageUtils,o.options=i,o.logger=_.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.maxRetries=i.maxRetries>=0?i.maxRetries:5,o.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,i.backend,i),o}return(0,l.Z)(r,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach(function(n){var r,s,l,u;(l=(s=x(n.loaded,[a],Object)).obj)[u=s.k]=l[u]||[],r&&(l[u]=l[u].concat(o)),r||l[u].push(o),void 0!==n.pending[e]&&(delete n.pe
1nding[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){i[e]||(i[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===i[e][t]&&(i[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i});return}return this.readingCalls++,this.backend[n](e,t,function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}if(s&&l&&a<r.maxRetries){setTimeout(function(){r.read.call(r,e,t,n,a+1,2*o,i)},o);return}i(s,l)})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)})}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,er(er({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),r}(E);function eo(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(n),!0).forEach(function(t){(0,p.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function el(){}var eu=function(e){(0,c.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,m.Z)(r);if(t){var a=(0,m.Z)(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return(0,d.Z)(this,e)});function r(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if((0,s.Z)(this,r),e=n.call(this),P&&E.call((0,u.Z)(e)),e.options=eo(t),e.services={},e.logger=_,e.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEac
1h(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}((0,u.Z)(e)),a&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,a),(0,d.Z)(e,(0,u.Z)(e));setTimeout(function(){e.init(t,a)},0)}return e}return(0,l.Z)(r,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var r={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,i.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,i.Z)(e[2])||"object"===(0,i.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=es(es(es({},r),this.options),eo(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=es(es({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?_.init(a(this.modules.logger),this.options):_.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=et);var o,s=new V(this.options);this.store=new R(this.options.resources,this.options);var l=this.services;l.logger=_,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new q(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),o&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(l.formatter=a(o),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new J(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new ea(a(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(l.languageDetector=a(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=a(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new z(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.format=this.options.interpolation.format,n||(n=el),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var c=C(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:el,r=n,a="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return r();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>o.indexOf(e)&&o.push(e)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return i(e)}
vendor: 3,526 bytes, line 1
1),this.options.preload&&this.options.preload.forEach(function(e){return i(e)}),this.services.backendConnector.load(o,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)})}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=C();return e||(e=this.languages),t||(t=this.options.ns),n||(n=el),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&j.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=C();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},i=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||a(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(e){o(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){if("object"!==(0,i.Z)(a)){for(var o,s=arguments.length,l=Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];o=r.options.overloadTranslationOptionHandler([t,a].concat(l))}else o=es({},a);o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns,o.keyPrefix=o.keyPrefix||n||e.keyPrefix;var c=r.options.keySeparator||".",d=o.keyPrefix?"".concat(o.keyPrefix).concat(c).concat(t):t;return r.t(d,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!a||i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=C();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=C();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter(function(e){return 0>r.indexOf(e)});return a.length?(this.options.preload=r.concat(a),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:el,a=es(es(es({},this.options),t),{isClone:!0}),o=new r(a);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=es({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new z(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))}),o.init(a,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(E);(0,p.Z)(eu,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new eu(e,t)});var ec=eu.createInstance();ec.createInstance=eu.createInstance,ec.createInstance,ec.init,ec.loadResources,ec.reloadResources,ec.use,ec.changeLanguage,ec.getFixedT,ec.t,ec.exists,ec.setDefaultNamespace,ec.hasLoadedNamespace,ec.loadNamespaces,ec.loadLanguages;var ed=n(27484),em=n.n(ed),ep=n(94712),ef=n.n(ep),eh=n(70660),eg=n.n(eh),ey=n(56176),ev=n.n(ey),eb=n(96036),eD=n.n(eb),e_=n(84110),eE=n.n(e_),eC=n(70178),ew=n.n(eC),ex=n(29387),ek=n.n(ex),eS=JSON.parse('{"Add a comment":"Einen Kommentar hinzuf\xfcgen","Add an option":"Eine Option hinzuf\xfcgen","All results loaded":"Alle Ergebnisse geladen","Allow access to camera":"Zugriff auf Kamera erlauben","Allow access to microphone":"Zugriff auf Mikrofon erlauben","Allow comments":"Kommentare erlauben","Allow option suggestion":"Optionsvorschl\xe4ge erlauben","An error has occurred during recording":"Ein Fehler ist w\xe4hrend der Aufnahme aufgetreten","An error has occurred during the recording processing":"Ein Fehler ist w\xe4hrend der Aufnahmeverarbeitung aufgetreten","Anonymous":"Anonym","Anonymous poll":"Anonyme Umfrage","Archive":"Archivieren","Ask a question":"Eine Frage stellen","Attach files":"Dateien anh\xe4ngen","Cancel":"Abbrechen","Cannot seek in the recording":"In der Aufnahme kann nicht gesucht werden","Channel Missing":"Kanal fehlt","Close":"Schlie\xdfen","Close emoji picker":"Emoji-Auswahl schlie\xdfen","Commands matching":"\xdcbereinstimmende Befehle","Connection failure, reconnecting now...":"Verbindungsfehler, Wiederherstellung der Verbindung...","Create":"Erstellen","Create poll":"Umfrage erstellen","Delete":"L\xf6schen","Delivered":"Zugestellt","Download attachment {{ name }}":"Anhang {{ name }} herunterladen","Drag your files here":"Ziehen Sie Ihre Dateien hierher","Drag your files here to add to your post":"Ziehen Sie Ihre Dateien hierher, um sie Ihrem Beitrag hinzuzuf\xfcgen","Edit Message":"Nachricht bearbeiten","Edit message request failed":"Anfrage zum Bearbeiten der Nachricht fehlgeschlagen","Edited":"Bearbeitet","Emoji matching":"Passende Emojis","Empty message...":"Leere Nachricht...","End":"Beenden","End vote":"Abstimmung beenden","Error adding flag":"Fehler beim Hinzuf\xfcgen des Flags","Error c
1onnecting to chat, refresh the page to try again.":"Verbindungsfehler zum Chat, aktualisieren Sie die Seite, um es erneut zu versuchen.","Error deleting message":"Fehler beim L\xf6schen der Nachricht","Error fetching reactions":"Fehler beim Laden von Reaktionen","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Fehler beim Markieren der Nachricht als ungelesen. Kann keine \xe4lteren ungelesenen Nachrichten markieren als die neuesten 100 Kanalnachrichten.","Error muting a user ...":"Fehler beim Stummschalten eines Nutzers.","Error pinning message":"Fehler beim Pinnen der Nachricht","Error removing message pin":"Fehler beim Entfernen der gepinnten Nachricht","Error reproducing the recording":"Fehler bei der Wiedergabe der Aufnahme","Error starting recording":"Fehler beim Starten der Aufnahme","Error unmuting a user ...":"Fehler beim Aufheben der Stummschaltung eines Nutzers ...","Error uploading attachment":"Fehler beim Hochladen des Anhangs","Error uploading file":"Fehler beim Hochladen der Datei","Error uploading image":"Fehler beim Hochladen des Bildes","Error \xb7 Unsent":"Fehler \xb7 Nicht gesendet","Error: {{ errorMessage }}":"Fehler: {{ errorMessage }}","Failed to jump to the first unread message":"Fehler beim Springen zur ersten ungelesenen Nachricht","Failed to mark channel as read":"Fehler beim Markieren des Kanals als gelesen","Failed to play the recording":"Wiedergabe der Aufnahme fehlgeschlagen","File":"Datei","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Datei ist zu gro\xdf: {{ size }}, maximale Upload-Gr\xf6\xdfe betr\xe4gt {{ limit }}","Flag":"Melden","Generating...":"Generieren...","Latest Messages":"Neueste Nachrichten","Load more":"Mehr laden","Mark as unread":"Als ungelesen markieren","Maximum number of votes (from 2 to 10)":"Maximale Anzahl der Stimmen (von 2 bis 10)","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Nachricht fehlgeschlagen \xb7 Klicken, um es erneut zu versuchen","Message Failed \xb7 Unauthorized":"Nachricht fehlgeschlagen \xb7 Nicht autorisiert","Message deleted":"Nachricht gel\xf6scht","Message has been successfully flagged":"Nachricht wurde erfolgreich gemeldet","Message pinned":"Nachricht angeheftet","Messages have been marked unread.":"Nachrichten wurden als ungelesen markiert.","Missing permissions to upload the attachment":"Fehlende Berechtigungen zum Hochladen des Anhangs","Multiple answers":"Mehrere Antworten","Mute":"Stummschalten","New":"Neu","New Messages!":"Neue Nachrichten!","No chats here yetâ¦":"Noch keine Chats hier...","No results found":"Keine Ergebnisse gefunden","Nobody will be able to vote in this poll anymore.":"Niemand kann mehr in dieser Umfrage abstimmen.","Nothing yet...":"Noch nichts...","Ok":"Ok","Open emoji picker":"Emoji-Auswahl \xf6ffnen","Option already exists":"Option existiert bereits","Options":"Optionen","People matching":"Passende Personen","Pin":"Anheften","Pinned by":"Angeheftet von","Poll":"Umfrage","Poll comments":"Umfragekommentare","Poll options":"Umfrageoptionen","Poll results":"Umfrageergebnisse","Question":"Frage","Quote":"Zitieren","Recording format is not supported and cannot be reproduced":"Aufnahmeformat wird nicht unterst\xfctzt und kann nicht wiedergegeben werden","Reply":"Antworten","Reply to Message":"Auf Nachricht antworten","Search":"Suche","Searching...":"Suchen...","See all options ({{count}})_one":"Alle Optionen anzeigen ({{count}})","See all options ({{count}})_other":"Alle Optionen anzeigen ({{count}})","Select one":"Eine ausw\xe4hlen","Select one or more":"Eine oder mehrere ausw\xe4hlen","Select up to {{count}}_one":"Bis zu {{count}} ausw\xe4hlen","Select up to {{count}}_other":"Bis zu {{count}} ausw\xe4hlen","Send":"Senden","Send Anyway":"Trotzdem senden","Send message request failed":"Senden der Nachrichtenanfrage fehlgeschlagen","Sending...":"Senden...","Show all":"Alle anzeigen","Shuffle":"Mischen","Slow Mode ON":"Langsamer Modus EIN","Some of the files will not be accepted":"Einige der Dateien werden nicht akzeptiert","Start typing to search":"Tippen Sie, um zu suchen","Submit":"Absenden","Suggest an option":"Eine Option vorschlagen","Thinking...":"Denken...","This message did n
1ot meet our content guidelines":"Diese Nachricht entsprach nicht unseren Inhaltsrichtlinien","This message was deleted...":"Diese Nachricht wurde gel\xf6scht...","Thread":"Thread","To start recording, allow the camera access in your browser":"Um mit der Aufnahme zu beginnen, erlauben Sie den Zugriff auf die Kamera in Ihrem Browser","To start recording, allow the microphone access in your browser":"Um mit der Aufnahme zu beginnen, erlauben Sie den Zugriff auf das Mikrofon in Ihrem Browser","Type a number from 2 to 10":"Geben Sie eine Zahl von 2 bis 10 ein","Type your message":"Nachricht eingeben","Unarchive":"Archivierung aufheben","Unmute":"Stummschaltung aufheben","Unpin":"Anheftung aufheben","Unread messages":"Ungelesene Nachrichten","Unsupported attachment":"Nicht unterst\xfctzter Anhang","Update your comment":"Ihren Kommentar aktualisieren","Upload type: \\"{{ type }}\\" is not allowed":"Upload-Typ: \\"{{ type }}\\" ist nicht erlaubt","User uploaded content":"Vom Benutzer hochgeladener Inhalt","View results":"Ergebnisse anzeigen","View {{count}} comments_one":"{{count}} Kommentar anzeigen","View {{count}} comments_other":"{{count}} Kommentare anzeigen","Voice message":"Sprachnachricht","Vote ended":"Abstimmung beendet","Wait until all attachments have uploaded":"Bitte warten, bis alle Anh\xe4nge hochgeladen wurden","You":"Du","You have no channels currently":"Du hast momentan noch keine Kan\xe4le","You\'ve reached the maximum number of files":"Die maximale Anzahl an Dateien ist erreicht","aria/Attachment":"Anhang","aria/Cancel Reply":"Antwort abbrechen","aria/Cancel upload":"Upload abbrechen","aria/Channel list":"Kanalliste","aria/Channel search results":"Kanalsuchergebnisse","aria/Close thread":"Thread schlie\xdfen","aria/Download attachment":"Anhang herunterladen","aria/Emoji picker":"Emoji-Auswahl","aria/File input":"Dateieingabe","aria/File upload":"Datei hochladen","aria/Image input":"Bildeingabe","aria/Load More Channels":"Mehr Kan\xe4le laden","aria/Menu":"Men\xfc","aria/Message Options":"Nachrichtenoptionen","aria/Open Attachment Selector":"Anhang-Auswahl \xf6ffnen","aria/Open Message Actions Menu":"Nachrichtenaktionsmen\xfc \xf6ffnen","aria/Open Reaction Selector":"Reaktionsauswahl \xf6ffnen","aria/Open Thread":"Thread \xf6ffnen","aria/Reaction list":"Reaktionsliste","aria/Remove attachment":"Anhang entfernen","aria/Retry upload":"Upload erneut versuchen","aria/Search results":"Suchergebnisse","aria/Search results header filter button":"Suchergebnisse-Kopfzeilen-Filterbutton","aria/Send":"Senden","aria/Stop AI Generation":"KI-Generierung stoppen","ban-command-args":"[@Benutzername] [Text]","ban-command-description":"Einen Benutzer verbannen","giphy-command-args":"[Text]","giphy-command-description":"Poste ein zuf\xe4lliges Gif in den Kanal","live":"live","mute-command-args":"[@Benutzername]","mute-command-description":"Stummschalten eines Benutzers","replyCount_one":"1 Antwort","replyCount_other":"{{ count }} Antworten","search-results-header-filter-source-button-label--channels":"Kan\xe4le","search-results-header-filter-source-button-label--messages":"Nachrichten","search-results-header-filter-source-button-label--users":"Benutzer","searchResultsCount_one":"1 Ergebnis","searchResultsCount_other":"{{ count }} Ergebnisse","this content could not be displayed":"Dieser Inhalt konnte nicht angezeigt werden","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@Benutzername]","unban-command-description":"Einen Benutzer entbannen","unmute-command-args":"[@Benutzername]","unmute-command-description":"Stummschaltung eines Benutzers aufheben","unreadMessagesSeparatorText_one":"1 ungelesene Nachricht","unreadMessagesSeparatorText_other":"{{count}} ungelesene Nachrichten","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} und {{moreCount}} mehr","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} und {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} und {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mehr","{{ memberCount }} members":"{{ memberCount }} Mitglieder","{{ user }} has been muted":"{{ user }} wurde stummgeschaltet","{{ user }} has been unmuted":"Die Stummschaltung von {{ user }} wurde aufgehoben","{{ user }} is typing...":"{{ user }} tippt...","{{ users }} and more are typing...":"{{ users }} und mehr tippen...","{{ users }} and {{ user }} are typing...":"{{ users }} und {{ user }} tippen...","{{ watcherCount }} online":"{{ watcherCount }} online","{{count}}
1 unread_one":"{{count}} ungelesen","{{count}} unread_other":"{{count}} ungelesen","{{count}} votes_one":"{{count}} Stimme","{{count}} votes_other":"{{count}} Stimmen","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anhang...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} hat erstellt: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} hat abgestimmt: {{pollOptionText}}"}'),eM=JSON.parse('{"Add a comment":"Add a comment","Add an option":"Add an option","All results loaded":"All results loaded","Allow access to camera":"Allow access to camera","Allow access to microphone":"Allow access to microphone","Allow comments":"Allow comments","Allow option suggestion":"Allow option suggestion","An error has occurred during recording":"An error has occurred during recording","An error has occurred during the recording processing":"An error has occurred during the recording processing","Anonymous":"Anonymous","Anonymous poll":"Anonymous poll","Archive":"Archive","Ask a question":"Ask a question","Attach files":"Attach files","Cancel":"Cancel","Cannot seek in the recording":"Cannot seek in the recording","Channel Missing":"Channel Missing","Close":"Close","Close emoji picker":"Close emoji picker","Commands matching":"Commands matching","Connection failure, reconnecting now...":"Connection failure, reconnecting now...","Create":"Create","Create poll":"Create poll","Delete":"Delete","Delivered":"Delivered","Download attachment {{ name }}":"Download attachment {{ name }}","Drag your files here":"Drag your files here","Drag your files here to add to your post":"Drag your files here to add to your post","Edit Message":"Edit Message","Edit message request failed":"Edit message request failed","Edited":"Edited","Emoji matching":"Emoji matching","Empty message...":"Empty message...","End":"End","End vote":"End vote","Error adding flag":"Error adding flag","Error connecting to chat, refresh the page to try again.":"Error connecting to chat, refresh the page to try again.","Error deleting message":"Error deleting message","Error fetching reactions":"Error loading reactions","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.","Error muting a user ...":"Error muting a user ...","Error pinning message":"Error pinning message","Error removing message pin":"Error removing message pin","Error reproducing the recording":"Error reproducing the recording","Error starting recording":"Error starting recording","Error unmuting a user ...":"Error unmuting a user ...","Error uploading attachment":"Error uploading attachment","Error uploading file":"Error uploading file","Error uploading image":"Error uploading image","Error \xb7 Unsent":"Error \xb7 Unsent","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Failed to jump to the first unread message":"Failed to jump to the first unread message","Failed to mark channel as read":"Failed to mark channel as read","Failed to play the recording":"Failed to play the recording","File":"File","File is too large: {{ size }}, maximum upload size is {{ limit }}":"File is too large: {{ size }}, maximum upload size is {{ limit }}","Flag":"Flag","Generating...":"Generating...","Latest Messages":"Latest Messages","Load more":"Load more","Mark as unread":"Mark as unread","Maximum number of votes (from 2 to 10)":"Maximum number of votes (from 2 to 10)","Menu":"Menu","Message Failed \xb7 Click to try again":"Message Failed \xb7 Click to try again","Message Failed \xb7 Unauthorized":"Message Failed \xb7 Unauthorized","Message deleted":"Message deleted","Message has been successfully flagged":"Message has been successfully flagged","Message pinned":"Message pinned","Messages have been marked unread.":"Messages have been marked unread.","Missing permissions to upload the attachment":"Missing permissions to upload the attachment","Multiple answers":"Multiple answers","Mute":"Mute","New":"New","New Messages!":"New Messages!","No chats here yetâ¦":"No chats here yetâ¦","No results found":"No results found","Nobody will be able to vote in this poll anymore.":"Nobody will be able to vote in this poll anymore.","Nothing yet...":"Nothing yet...","Ok":"Ok","Open emoji picker":"Open emoji picker","Option already exists":"Option already exists","Options":"Options","People matching":"People matching","Pin":"Pin","Pinned by":"Pinned by","Poll":"Poll","Poll comments":"Poll comments","Poll options":"Poll options","Poll results":"Poll results","Question":"Question","Quote":"Quote","Recording format is not supported and cannot be reproduced":"Recording format is not supported and cannot be reproduced","Reply":"Reply","Reply to Message":"Reply to Message","Search":"Search","Searching...":"Searching...","See all options ({{count}})_one":"See all options ({{count}})","See all options ({{count}})_other":"See all options ({{count}})","Select one":"Select one","Select one or more":"Select one or more","Select up to {{count}}_one":"Select up to {{count}}","Select up to {{count}}_other":"Select up to {{count}}","Send":"Send","Send Anyway":"Send Anyway","Send message request failed":"Send message request failed","Sending...":"Sending...","Show all":"Show all","Shuffle":"Shuffle","Slow Mode ON":"Slow Mode ON","Some of the files will not be accepted":"Some of the files will not be accepted","Start t
1yping to search":"Start typing to search","Submit":"Submit","Suggest an option":"Suggest an option","Thinking...":"Thinking...","This message did not meet our content guidelines":"This message did not meet our content guidelines","This message was deleted...":"This message was deleted...","Thread":"Thread","To start recording, allow the camera access in your browser":"To start recording, allow the camera access in your browser","To start recording, allow the microphone access in your browser":"To start recording, allow the microphone access in your browser","Type a number from 2 to 10":"Type a number from 2 to 10","Type your message":"Type your message","Unarchive":"Unarchive","Unmute":"Unmute","Unpin":"Unpin","Unread messages":"Unread messages","Unsupported attachment":"Unsupported attachment","Update your comment":"Update your comment","Upload type: \\"{{ type }}\\" is not allowed":"Upload type: \\"{{ type }}\\" is not allowed","User uploaded content":"User uploaded content","View results":"View results","View {{count}} comments_one":"View {{count}} comment","View {{count}} comments_other":"View {{count}} comments","Voice message":"Voice message","Vote ended":"Vote ended","Wait until all attachments have uploaded":"Wait until all attachments have uploaded","You":"You","You have no channels currently":"You have no channels currently","You\'ve reached the maximum number of files":"You\'ve reached the maximum number of files","aria/Attachment":"Attachment","aria/Cancel Reply":"Cancel Reply","aria/Cancel upload":"Cancel upload","aria/Channel list":"Channel list","aria/Channel search results":"Channel search results","aria/Close thread":"Close thread","aria/Download attachment":"aria/Download attachment","aria/Emoji picker":"Emoji picker","aria/File input":"File input","aria/File upload":"File upload","aria/Image input":"Image input","aria/Load More Channels":"Load More Channels","aria/Menu":"Menu","aria/Message Options":"Message Options","aria/Open Attachment Selector":"aria/Open Attachment Selector","aria/Open Message Actions Menu":"Open Message Actions Menu","aria/Open Reaction Selector":"Open Reaction Selector","aria/Open Thread":"Open Thread","aria/Reaction list":"Reaction list","aria/Remove attachment":"Remove attachment","aria/Retry upload":"Retry upload","aria/Search results":"Search results","aria/Search results header filter button":"Search results header filter button","aria/Send":"Send","aria/Stop AI Generation":"Stop AI Generation","live":"live","replyCount_one":"1 reply","replyCount_other":"{{ count }} replies","search-results-header-filter-source-button-label--channels":"channels","search-results-header-filter-source-button-label--messages":"messages","search-results-header-filter-source-button-label--users":"users","searchResultsCount_one":"1 result","searchResultsCount_other":"{{ count }} results","this content could not be displayed":"this content could not be displayed","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unreadMessagesSeparatorText_one":"1 unread message","unreadMessagesSeparatorText_other":"{{count}} unread messages","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} and {{ moreCount }} more","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }}, and {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} and {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} more","{{ memberCount }} members":"{{ memberCount }} members","{{ user }} has been muted":"{{ user }} has been muted","{{ user }} has been unmuted":"{{ user }} has been unmuted","{{ user }} is typing...":"{{ user }} is typing...","{{ users }} and more are typing...":"{{ users }} and more are typing...","{{ users }} and {{ user }} are typing...":"{{ users }} and {{ user }} are typing...","{{ watcherCount }} online":"{{ watcherCount }} online","{{count}}
1 unread_one":"{{count}} unread","{{count}} unread_other":"{{count}} unread","{{count}} votes_one":"{{count}} vote","{{count}} votes_other":"{{count}} votes","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Attachment...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} created: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}"}'),eT=JSON.parse('{"Add a comment":"Agregar un comentario","Add an option":"Agregar una opci\xf3n","All results loaded":"Todos los resultados cargados","Allow access to camera":"Permitir acceso a la c\xe1mara","Allow access to microphone":"Permitir acceso al micr\xf3fono","Allow comments":"Permitir comentarios","Allow option suggestion":"Permitir sugerencia de opciones","An error has occurred during recording":"Se ha producido un error durante la grabaci\xf3n","An error has occurred during the recording processing":"Se ha producido un error durante el procesamiento de la grabaci\xf3n","Anonymous":"An\xf3nimo","Anonymous poll":"Encuesta an\xf3nima","Archive":"Archivo","Ask a question":"Hacer una pregunta","Attach files":"Adjuntar archivos","Cancel":"Cancelar","Cannot seek in the recording":"No se puede buscar en la grabaci\xf3n","Channel Missing":"Falta canal","Close":"Cerrar","Close emoji picker":"Cerrar el selector de emojis","Commands matching":"Coincidencia de comandos","Connection failure, reconnecting now...":"Fallo de conexi\xf3n, reconectando ahora...","Create":"Crear","Create poll":"Crear encuesta","Delete":"Borrar","Delivered":"Entregado","Download attachment {{ name }}":"Descargar adjunto {{ name }}","Drag your files here":"Arrastra tus archivos aqu\xed","Drag your files here to add to your post":"Arrastra tus archivos aqu\xed para agregarlos a tu publicaci\xf3n","Edit Message":"Editar mensaje","Edit message request failed":"Error al editar la solicitud de mensaje","Edited":"Editado","Emoji matching":"Coincidencia de emoji","Empty message...":"Mensaje vac\xedo...","End":"Final","End vote":"Finalizar votaci\xf3n","Error adding flag":"Error al agregar la bandera","Error connecting to chat, refresh the page to try again.":"Error al conectarse al chat, actualice la p\xe1gina para volver a intentarlo.","Error deleting message":"Error al eliminar el mensaje","Error fetching reactions":"Error al cargar las reacciones","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Error al marcar el mensaje como no le\xeddo. No se pueden marcar mensajes no le\xeddos m\xe1s antiguos que los \xfaltimos 100 mensajes del canal.","Error muting a user ...":"Error al silenciar el usuario...","Error pinning message":"Error al fijar el mensaje","Error removing message pin":"Error al quitar el pin del mensaje","Error reproducing the recording":"Error al reproducir la grabaci\xf3n","Error starting recording":"Error al iniciar la grabaci\xf3n","Error unmuting a user ...":"Error al desactivar el silencio del usuario...","Error uploading attachment":"Error al subir el archivo adjunto","Error uploading file":"Error al cargar el archivo","Error uploading image":"Error al subir la imagen","Error \xb7 Unsent":"Error \xb7 No enviado","Error: {{ errorMessage }}":"Error: {{ errorMessage }}","Failed to jump to the first unread message":"Error al saltar al primer mensaje no le\xeddo","Failed to mark channel as read":"Error al marcar el canal como le\xeddo","Failed to play the recording":"No se pudo reproducir la grabaci\xf3n","File":"Archivo","File is too large: {{ size }}, maximum upload size is {{ limit }}":"El archivo es demasiado grande: {{ size }}, el tama\xf1o m\xe1ximo de carga es de {{ limit }}","Flag":"Marcar","Generating...":"Generando...","Latest Messages":"\xdaltimos mensajes","Load more":"Cargar m\xe1s","Mark as unread":"Marcar como no le\xeddo","Maximum number of votes (from 2 to 10)":"N\xfamero m\xe1ximo de votos (de 2 a 10)","Menu":"Men\xfa","Message Failed \xb7 Click to try again":"Mensaje fallido \xb7 Haga clic para volver a intentarlo","Message Failed \xb7 Unauthorized":"Mensaje fallido \xb7 No autorizado","Message deleted":"Mensaje eliminado","Message has been successfully flagged":"El mensaje se marc\xf3 correctamente","Message pinned":"Mensaje fijado","Messages have been marked unread.":"Los mensajes han sido marcados como no le\xeddos.","Missing permissions to upload the attachment":"Faltan permisos para subir el archivo adjunto","Multiple answers":"M\xfalt
1iples respuestas","Mute":"Silenciar","New":"Nuevo","New Messages!":"\xa1Nuevos mensajes!","No chats here yetâ¦":"A\xfan no hay mensajes aqu\xed...","No results found":"No se han encontrado resultados","Nobody will be able to vote in this poll anymore.":"Nadie podr\xe1 votar en esta encuesta.","Nothing yet...":"Nada a\xfan...","Ok":"Ok","Open emoji picker":"Abrir el selector de emojis","Option already exists":"La opci\xf3n ya existe","Options":"Opciones","People matching":"Personas que coinciden","Pin":"Fijar","Pinned by":"Fijado por","Poll":"Encuesta","Poll comments":"Comentarios de la encuesta","Poll options":"Opciones de la encuesta","Poll results":"Resultados de la encuesta","Question":"Pregunta","Quote":"Citar","Recording format is not supported and cannot be reproduced":"El formato de grabaci\xf3n no es compatible y no se puede reproducir","Reply":"Responder","Reply to Message":"Responder al mensaje","Search":"Buscar","Searching...":"Buscando...","See all options ({{count}})_many":"Ver todas las opciones ({{count}})","See all options ({{count}})_one":"Ver todas las opciones ({{count}})","See all options ({{count}})_other":"Ver todas las opciones ({{count}})","Select one":"Seleccionar uno","Select one or more":"Seleccionar uno o m\xe1s","Select up to {{count}}_many":"Selecciona hasta {{count}}","Select up to {{count}}_one":"Selecciona hasta {{count}}","Select up to {{count}}_other":"Selecciona hasta {{count}}
1","Send":"Enviar","Send Anyway":"Enviar de todos modos","Send message request failed":"Error al enviar la solicitud de mensaje","Sending...":"Enviando...","Show all":"Mostrar todo","Shuffle":"Mezclar","Slow Mode ON":"Modo lento activado","Some of the files will not be accepted":"Algunos archivos no ser\xe1n aceptados","Start typing to search":"Empieza a escribir para buscar","Submit":"Enviar","Suggest an option":"Sugerir una opci\xf3n","Thinking...":"Pensando...","This message did not meet our content guidelines":"Este mensaje no cumple con nuestras directrices de contenido","This message was deleted...":"Este mensaje fue eliminado...","Thread":"Hilo","To start recording, allow the camera access in your browser":"Para comenzar a grabar, permita el acceso a la c\xe1mara en su navegador","To start recording, allow the microphone access in your browser":"Para comenzar a grabar, permita el acceso al micr\xf3fono en su navegador","Type a number from 2 to 10":"Escribe un n\xfamero del 2 al 10","Type your message":"Escribe tu mensaje","Unarchive":"Desarchivar","Unmute":"Activar sonido","Unpin":"Desfijar","Unread messages":"Mensajes no le\xeddos","Unsupported attachment":"Adjunto no compatible","Update your comment":"Actualizar tu comentario","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de carga: \\"{{ type }}\\" no est\xe1 permitido","User uploaded content":"Contenido subido por el usuario","View results":"Ver resultados","View {{
1count}} comments_many":"Ver {{count}} comentarios","View {{count}} comments_one":"Ver {{count}} comentario","View {{count}} comments_other":"Ver {{count}} comentarios","Voice message":"Mensaje de voz","Vote ended":"Votaci\xf3n finalizada","Wait until all attachments have uploaded":"Espere hasta que se hayan cargado todos los archivos adjuntos","You":"T\xfa","You have no channels currently":"Actualmente no tienes canales","You\'ve reached the maximum number of files":"Has alcanzado el n\xfamero m\xe1ximo de archivos","aria/Attachment":"Adjunto","aria/Cancel Reply":"Cancelar respuesta","aria/Cancel upload":"Cancelar carga","aria/Channel list":"Lista de canales","aria/Channel search results":"Resultados de b\xfasqueda de canales","aria/Close thread":"Cerrar hilo","aria/Download attachment":"Descargar adjunto","aria/Emoji picker":"Selector de emojis","aria/File input":"Entrada de archivo","aria/File upload":"Carga de archivo","aria/Image input":"Entrada de imagen","aria/Load More Channels":"Cargar m\xe1s canales","aria/Menu":"Men\xfa","aria/Message Options":"Opciones de mensaje","aria/Open Attachment Selector":"Abrir selector de adjuntos","aria/Open Message Actions Menu":"Abrir men\xfa de acciones de mensaje","aria/Open Reaction Selector":"Abrir selector de reacciones","aria/Open Thread":"Abrir hilo","aria/Reaction list":"Lista de reacciones","aria/Remove attachment":"Eliminar adjunto","aria/Retry upload":"Reintentar carga","aria/Search results":"Resultados de b\xfasqueda","aria/Search results header filter button":"Bot\xf3n de filtro del encabezado de resultados de b\xfasqueda","aria/Send":"Enviar","aria/Stop AI Generation":"Detener generaci\xf3n de IA","ban-command-args":"[@usuario] [texto]","ban-command-description":"Prohibir a un usuario","giphy-command-args":"[texto]","giphy-command-description":"Publicar un gif aleatorio en el canal","live":"En vivo","mute-command-args":"[@usuario]","mute-command-description":"Silenciar a un usuario","replyCount_many":"{{ count }} respuestas","replyCount_one":"1 respuesta","replyCount_other":"{{ count }} respuestas","search-results-header-filter-source-button-label--channels":"canales","search-results-header-filter-source-button-label--messages":"mensajes","search-results-header-filter-source-button-label--users":"usuarios","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"Este contenido no se pudo mostrar","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@usuario]","unban-command-description":"Quitar la prohibici\xf3n a un usuario","unmute-command-args":"[@usuario]","unmute-command-description":"Desactivar el silencio de un usuario","unreadMessagesSeparatorText_many":"{{count}} mensajes no le\xeddos","unreadMessagesSeparatorText_one":"1 mensaje no le\xeddo","unreadMessagesSeparatorText_other":"{{count}} mensajes no le\xeddos","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} y {{ moreCount }} m\xe1s","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} y {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} y {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} m\xe1s","{{ memberCount }} members":"{{ memberCount }} miembros","{{ user }} has been muted":"{{ user }} ha sido silenciado","{{ user }} has been unmuted":"Se ha desactivado el silencio de {{ user }}","{{ user }} is typing...":"{{ user }} est\xe1 escribiendo...","{{ users }} and more are typing...":"{{ users }} y m\xe1s est\xe1n escribiendo...","{{ users }} and {{ user }} are typing...":"{{ users }} y {{ user }} est\xe1n escribiendo...","{{ watcherCount }} online":"{{ watcherCount }} en l\xednea","{{count}} unread_many":"{{count}} no le\xeddos","{{count}}
1 unread_one":"{{count}} no le\xeddo","{{count}} unread_other":"{{count}} no le\xeddos","{{count}} votes_many":"{{count}} votos","{{count}} votes_one":"1 voto","{{count}} votes_other":"{{count}} votos","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Adjunto...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} cre\xf3: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} vot\xf3: {{pollOptionText}}"}'),eO=JSON.parse('{"Add a comment":"Ajouter un commentaire","Add an option":"Ajouter une option","All results loaded":"Tous les r\xe9sultats sont charg\xe9s","Allow access to camera":"Autoriser l\'acc\xe8s \xe0 la cam\xe9ra","Allow access to microphone":"Autoriser l\'acc\xe8s au microphone","Allow comments":"Autoriser les commentaires","Allow option suggestion":"Autoriser la suggestion d\'options","An error has occurred during recording":"Une erreur s\'est produite pendant l\'enregistrement","An error has occurred during the recording processing":"Une erreur s\'est produite pendant le traitement de l\'enregistrement","Anonymous":"Anonyme","Anonymous poll":"Sondage anonyme","Archive":"Archive","Ask a question":"Poser une question","Attach files":"Joindre des fichiers","Cancel":"Annuler","Cannot seek in the recording":"Impossible de rechercher dans l\'enregistrement","Channel Missing":"Canal Manquant","Close":"Fermer","Close emoji picker":"Fermer le s\xe9lecteur d\'\xe9mojis","Commands matching":"Correspondance des commandes","Connection failure, reconnecting now...":"\xc9chec de la connexion, reconnexion en cours...","Create":"Cr\xe9er","Create poll":"Cr\xe9er un sondage","Delete":"Supprimer","Delivered":"Publi\xe9","Download attachment {{ name }}":"T\xe9l\xe9charger la pi\xe8ce jointe {{ name }}","Drag your files here":"Glissez vos fichiers ici","Drag your files here to add to your post":"Glissez vos fichiers ici pour les ajouter \xe0 votre publication","Edit Message":"\xc9diter un message","Edit message request failed":"\xc9chec de la demande de modification du message","Edited":"Modifi\xe9","Emoji matching":"Correspondance d\'\xe9mojis","Empty message...":"Message vide...","
1End":"Fin","End vote":"Fin du vote","Error adding flag":"Erreur lors de l\'ajout du signalement","Error connecting to chat, refresh the page to try again.":"Erreur de connexion au chat, rafra\xeechissez la page pour r\xe9essayer.","Error deleting message":"Erreur lors de la suppression du message","Error fetching reactions":"Erreur lors du chargement des r\xe9actions","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Erreur lors de la marque du message comme non lu. Impossible de marquer des messages non lus plus anciens que les 100 derniers messages du canal.","Error muting a user ...":"Erreur lors de la mise en sourdine d\'un utilisateur...","Error pinning message":"Erreur lors de l\'\xe9pinglage du message","Error removing message pin":"Erreur lors du retrait de l\'\xe9pinglage du message","Error reproducing the recording":"Erreur lors de la reproduction de l\'enregistrement","Error starting recording":"Erreur lors du d\xe9marrage de l\'enregistrement","Error unmuting a user ...":"Erreur lors du d\xe9marrage de la sourdine d\'un utilisateur ...","Error uploading attachment":"Erreur lors du t\xe9l\xe9chargement de la pi\xe8ce jointe","Error uploading file":"Erreur lors du t\xe9l\xe9chargement du fichier","Error uploading image":"Erreur lors de l\'envoi de l\'image","Error \xb7 Unsent":"Erreur - Non envoy\xe9","Error: {{ errorMessage }}":"Erreur : {{ errorMessage }}","Failed to jump to the first unread message":"\xc9chec du saut vers le premier message non lu","Failed to mark channel as read":"\xc9chec du marquage du canal comme lu","Failed to play the recording":"Impossible de lire l\'enregistrement","File":"Fichier","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Le fichier est trop volumineux : {{ size }}, la taille maximale de t\xe9l\xe9chargement est de {{ limit }}","Flag":"Signaler","Generating...":"G\xe9n\xe9ration...","Latest Messages":"Derniers messages","Load more":"Charger plus","Mark as unread":"Marquer comme non lu","Maximum number of votes (from 2 to 10)":"Nombre maximum de votes (de 2 \xe0 10)","Menu":"Menu","Message Failed \xb7 Click to try again":"\xc9chec de l\'envoi du message - Cliquez pour r\xe9essayer","Message Failed \xb7 Unauthorized":"\xc9chec de l\'envoi du message - Non autoris\xe9","Message deleted":"Message supprim\xe9","Message has been successfully flagged":"Le message a \xe9t\xe9 signal\xe9 avec succ\xe8s","Message pinned":"Message \xe9pingl\xe9","Messages have been marked unread.":"Les messages ont \xe9t\xe9 marqu\xe9s comme non lus.","Missing permissions to upload the attachment":"Autorisations manquantes pour t\xe9l\xe9charger la pi\xe8ce jointe","Multiple answers":"R\xe9ponses multiples","Mute":"Muet","New":"Nouveau","New Messages!":"Nouveaux Messages!","No chats here yetâ¦":"Pas encore de messages ici...","No results found":"Aucun r\xe9sultat trouv\xe9","Nobody will be able to vote in this poll anymore.":"Personne ne pourra plus voter dans ce sondage.","Nothing yet...":"Rien pour l\'instant...","Ok":"D\'accord","Open emoji picker":"Ouvrir le s\xe9lecteur d\'\xe9mojis","Option already exists":"L\'option existe d\xe9j\xe0","Options":"Options","People matching":"Correspondance de personnes","Pin":"\xc9pingler","Pinned by":"\xc9pingl\xe9 par","Poll":"Sondage","Poll comments":"Commentaires du sondage","Poll options":"Options du sondage","Poll results":"R\xe9sultats du sondage","Question":"Question","Quote":"Citer","Recording format is not supported and cannot be reproduced":"Le format d\'enregistrement n\'est pas pris en charge et ne peut pas \xeatre reproduit","Reply":"R\xe9pondre","Reply to Message":"R\xe9pondre au message","Search":"Rechercher","Searching...":"Recherche en cours...","See all options ({{count}})_many":"Voir toutes les options ({{count}})","See all options ({{count}})_one":"Voir toutes les options ({{count}})","See all options ({{count}})_other":"Voir toutes les options ({{count}})","Select one":"S\xe9lectionner un","Select one or more":"S\xe9lectionner un ou plusieurs","Select up to {{count}}_many":"S\xe9lectionner jusqu\'\xe0 {{count}}","Select up to {{count}}_one":"S\xe9lectionner jusqu\'\xe0 {{count}}","Select up to {{count}}_other":"S\xe9lectionner jusqu\'\xe0 {{count}}","Send":"Envoyer","Send Anyway":"Envoyer quand m\xeame","Send message request failed":"\xc9chec de la demande d\'envoi de message","Sending...":"Envoi en cours...","Show all":"Tout afficher","Shuffle":"M\xe9langer","Slow Mode ON":"Mode lent activ\xe9","Some of the files will not be accepted":"Certains fichiers ne seront pas accept\xe9s","Start t
1yping to search":"Commencez \xe0 taper pour rechercher","Submit":"Envoyer","Suggest an option":"Sugg\xe9rer une option","Thinking...":"R\xe9flexion...","This message did not meet our content guidelines":"Ce message ne respecte pas nos directives de contenu","This message was deleted...":"Ce message a \xe9t\xe9 supprim\xe9...","Thread":"Fil de discussion","To start recording, allow the camera access in your browser":"Pour commencer l\'enregistrement, autorisez l\'acc\xe8s \xe0 la cam\xe9ra dans votre navigateur","To start recording, allow the microphone access in your browser":"Pour commencer l\'enregistrement, autorisez l\'acc\xe8s au microphone dans votre navigateur","Type a number from 2 to 10":"Tapez un nombre de 2 \xe0 10","Type your message":"Tapez votre message","Unarchive":"D\xe9sarchiver","Unmute":"D\xe9sactiver muet","Unpin":"D\xe9tacher","Unread messages":"Messages non lus","Unsupported attachment":"Pi\xe8ce jointe non prise en charge","Update your comment":"Mettre \xe0 jour votre commentaire","Upload type: \\"{{ type }}\\" is not allowed":"Le type de fichier : \\"{{ type }}\\" n\'est pas autoris\xe9","User uploaded content":"Contenu t\xe9l\xe9charg\xe9 par l\'utilisateur","View results":"Voir les r\xe9sultats","View {{count}} comments_many":"Voir {{count}} commentaires","View {{count}} comments_one":"Voir {{count}} commentaire","View {{count}} comments_other":"Voir {{count}} commentaires","Voice message":"Message vocal","Vote ended":"Vote termin\xe9","Wait until all attachments have uploaded":"Attendez que toutes les pi\xe8ces jointes soient t\xe9l\xe9charg\xe9es","You":"Vous","You have no channels currently":"Vous n\'avez actuellement aucun canal","You\'ve reached the maximum number of files":"Vous avez atteint le nombre maximal de fichiers","aria/Attachment":"Pi\xe8ce jointe","aria/Cancel Reply":"Annuler la r\xe9ponse","aria/Cancel upload":"Annuler le t\xe9l\xe9chargement","aria/Channel list":"Liste des canaux","aria/Channel search results":"R\xe9sultats de recherche de canaux","aria/Close thread":"Fermer le fil","aria/Download attachment":"T\xe9l\xe9charger la pi\xe8ce jointe","aria/Emoji picker":"S\xe9lecteur d\'\xe9mojis","aria/File input":"Entr\xe9e de fichier","aria/File upload":"T\xe9l\xe9chargement de fichier","aria/Image input":"Entr\xe9e d\'image","aria/Load More Channels":"Charger plus de canaux","aria/Menu":"Menu","aria/Message Options":"Options du message","aria/Open Attachment Selector":"Ouvrir le s\xe9lecteur de pi\xe8ces jointes","aria/Open Message Actions Menu":"Ouvrir le menu des actions du message","aria/Open Reaction Selector":"Ouvrir le s\xe9lecteur de r\xe9actions","aria/Open Thread":"Ouvrir le fil","aria/Reaction list":"Liste des r\xe9actions","aria/Remove attachment":"Supprimer la pi\xe8ce jointe","aria/Retry upload":"R\xe9essayer le t\xe9l\xe9chargement","aria/Search results":"R\xe9sultats de recherche","aria/Search results header filter button":"Bouton de filtre d\'en-t\xeate des r\xe9sultats de recherche","aria/Send":"Envoyer","aria/Stop AI Generation":"Arr\xeater la g\xe9n\xe9ration d\'IA","ban-command-args":"[@nomdutilisateur] [texte]","ban-command-description":"Bannir un utilisateur","giphy-command-args":"[texte]","giphy-command-description":"Poster un GIF al\xe9atoire dans le canal","live":"en direct","mute-command-args":"[@nomdutilisateur]","mute-command-description":"Muter un utilisateur","replyCount_many":"{{ count }} r\xe9ponses","replyCount_one":"1 r\xe9ponse","replyCount_other":"{{ count }} r\xe9ponses","search-results-header-filter-source-button-label--channels":"canaux","search-results-header-filter-source-button-label--messages":"messages","search-results-header-filter-source-button-label--users":"utilisateurs","searchResultsCount_many":"{{ count }} r\xe9sultats","searchResultsCount_one":"1 r\xe9sultat","searchResultsCount_other":"{{ count }} r\xe9sultats","this content could not be displayed":"ce contenu n\'a pas pu \xeatre affich\xe9","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}
1","unban-command-args":"[@nomdutilisateur]","unban-command-description":"D\xe9bannir un utilisateur","unmute-command-args":"[@nomdutilisateur]","unmute-command-description":"D\xe9muter un utilisateur","unreadMessagesSeparatorText_many":"{{count}} messages non lus","unreadMessagesSeparatorText_one":"1 message non lu","unreadMessagesSeparatorText_other":"{{count}} messages non lus","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} et {{ moreCount }} autres","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} et {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} et {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} suppl\xe9mentaires","{{ memberCount }} members":"{{ memberCount }} membres","{{ user }} has been muted":"{{ user }} a \xe9t\xe9 mis en sourdine","{{ user }} has been unmuted":"{{ user }} n\'est plus en sourdine","{{ user }} is typing...":"{{ user }} est en train d\'\xe9crire...","{{ users }} and more are typing...":"{{ users }} et plus sont en train d\'\xe9crire...","{{ users }} and {{ user }} are typing...":"{{ users }} et {{ user }} sont en train d\'\xe9crire...","{{ watcherCount }} online":"{{ watcherCount }} en ligne","{{count}} unread_many":"{{count}} non lus","{{count}} unread_one":"{{count}} non lu","{{count}} unread_other":"{{count}} non lus","{{count}} votes_many":"{{count}} votes","{{count}} votes_one":"{{count}} vote","{{count}} votes_other":"{{count}} votes","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Pi\xe8ce jointe...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} a cr\xe9\xe9 : {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} a vot\xe9 : {{pollOptionText}}"}'),eF=JSON.parse('{"Add a comment":"à¤à¤ à¤à¤¿à¤ªà¥à¤ªà¤£à¥ à¤à¥à¤¡à¤¼à¥à¤","Add an option":"à¤à¤ विà¤à¤²à¥à¤ª à¤à¥à¤¡à¤¼à¥à¤","All results loaded":"सà¤à¥ परिणाम लà¥à¤¡ हॠà¤à¤","Allow access to camera":"à¤à¥à¤®à¤°à¤¾ तठपहà¥à¤à¤ दà¥à¤","Allow access to microphone":"माà¤à¤à¥à¤°à¥à¤«à¤¼à¥à¤¨ तठपहà¥à¤à¤ दà¥à¤","Allow comments":"à¤à¤¿à¤ªà¥à¤ªà¤£à¤¿à¤¯à¤¾à¤ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ दà¥à¤","Allow option suggestion":"विà¤à¤²à¥à¤ª सà¥à¤à¤¾à¤µ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ दà¥à¤","An error has occurred during recording":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ à¤à¥ दà¥à¤°à¤¾à¤¨ à¤à¤ तà¥à¤°à¥à¤à¤¿ ठà¤à¤ हà¥","An error has occurred during the recording processing":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ पà¥à¤°à¥à¤¸à¥à¤¸à¤¿à¤à¤ à¤à¥ दà¥à¤°à¤¾à¤¨ à¤à¤ तà¥à¤°à¥à¤à¤¿ ठà¤à¤ हà¥","Anonymous":"à¤à¥à¤®à¤¨à¤¾à¤®","Anonymous poll":"à¤à¥à¤®à¤¨à¤¾à¤® मतदान","Archive":"à¤à¤°à¥à¤à¤¾à¤à¤µ","Ask a question":"à¤à¤ पà¥à¤°à¤¶à¥à¤¨ पà¥à¤à¥à¤","Attach files":"फाà¤à¤²à¥à¤¸ à¤
à¤à¥à¤ à¤à¤°à¥","Cancel":"रदà¥à¤¦ à¤à¤°à¥à¤","Cannot seek in the recording":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ मà¥à¤ à¤à¥à¤ नहà¥à¤ à¤à¥ à¤à¤¾ सà¤à¤¤à¥","Channel Missing":"à¤à¥à¤¨à¤² à¤à¤ªà¤²à¤¬à¥à¤§ नहà¥à¤ हà¥","Close":"बà¤à¤¦ à¤à¤°à¥","Close emoji picker":"à¤à¤®à¥à¤à¥ पिà¤à¤° बà¤à¤¦ à¤à¤°à¥à¤","Commands matching":"मà¥à¤² à¤à¤¾à¤¤à¥ हà¥","Connection failure, reconnecting now...":"à¤à¤¨à¥à¤à¥à¤¶à¤¨ विफल रहा, à¤
ब पà¥à¤¨à¤ à¤à¤¨à¥à¤à¥à¤ हॠरहा हॠ...","Create":"बनाà¤à¤","Create poll":"मतदान बनाà¤à¤","Delete":"डिलà¥à¤","Delivered":"पहà¥à¤à¤ à¤à¤¯à¤¾","Download attachment {{ name }}":"à¤
नà¥à¤²à¤à¥à¤¨à¤ {{ name }} डाà¤à¤¨à¤²à¥à¤¡ à¤à¤°à¥à¤","Drag your files here":"à¤
पनॠफ़ाà¤à¤²à¥à¤ यहाठà¤à¥à¤à¤à¥à¤","Drag your files here to add to your post":"à¤
पनॠफ़ाà¤à¤²à¥à¤ यहाठà¤à¥à¤à¤à¥à¤ à¤à¤° à¤
पनॠपà¥à¤¸à¥à¤ मà¥à¤ à¤à¥à¤¡à¤¼à¤¨à¥ à¤à¥ लिà¤","Edit Message":"मà¥à¤¸à¥à¤ मà¥à¤ बदलाव à¤à¤°à¥","Edit message request failed":"सà¤à¤¦à¥à¤¶ सà¤à¤ªà¤¾à¤¦à¤¿à¤¤ à¤à¤°à¤¨à¥ à¤à¤¾ à¤
नà¥à¤°à¥à¤§ विफल रहा","Edited":"सà¤à¤ªà¤¾à¤¦à¤¿à¤¤","Emoji matching":"à¤à¤®à¥à¤à¥ मिलाà
1¤¨","Empty message...":"à¤à¤¾à¤²à¥ सà¤à¤¦à¥à¤¶ ...","End":"समापà¥à¤¤","End vote":"मत समापà¥à¤¤ à¤à¤°à¥à¤","Error adding flag":"धà¥à¤µà¤ à¤à¥à¤¡à¤¼à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error connecting to chat, refresh the page to try again.":"à¤à¥à¤ सॠà¤à¤¨à¥à¤à¥à¤ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿, पà¥à¤ à¤à¥ रिफà¥à¤°à¥à¤¶ à¤à¤°à¥à¤","Error deleting message":"सà¤à¤¦à¥à¤¶ हà¤à¤¾à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error fetching reactions":"पà¥à¤°à¤¤à¤¿à¤à¥à¤°à¤¿à¤¯à¤¾à¤à¤ लà¥à¤¡ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error marking message unread":"सà¤à¤¦à¥à¤¶ à¤à¥ à¤
पठित à¤à¤¿à¤¹à¥à¤¨à¤¿à¤¤ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"सà¤à¤¦à¥à¤¶ à¤à¥ à¤
पठित मारà¥à¤ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿à¥¤ सबसॠनठ100 à¤à¥à¤¨à¤² सà¤à¤¦à¥à¤¶ सॠपहलॠà¤à¥ सà¤à¥ à¤
पठित सà¤à¤¦à¥à¤¶à¥à¤ à¤à¥ à¤
पठित मारà¥à¤ नहà¥à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¾ सà¤à¤¤à¤¾ हà¥à¥¤","Error muting a user ...":"यà¥à¤à¤° à¤à¥ मà¥à¤¯à¥à¤ à¤à¤°à¤¨à¥ à¤à¤¾ पà¥à¤°à¤¯à¤¾à¤¸ फà¥à¤² हà¥à¤","Error pinning message":"सà¤à¤¦à¥à¤¶ à¤à¥ पिन à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error removing message pin":"सà¤à¤¦à¥à¤¶ पिन निà¤à¤¾à¤²à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error reproducing the recording":"रिà¤à¥à¤°à¥à¤¡à¤¿à¤à¤ पà¥à¤¨: à¤à¤¤à¥à¤ªà¤¨à¥à¤¨ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error starting recording":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ शà¥à¤°à¥ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error unmuting a user ...":"यà¥à¤à¤° à¤à¥ à¤
नमà¥à¤¯à¥à¤ à¤à¤°à¤¨à¥ à¤à¤¾ पà¥à¤°à¤¯à¤¾à¤¸ फà¥à¤² हà¥à¤","Error uploading attachment":"à¤
à¤à¥à¤à¤®à¥à¤à¤ à¤
पलà¥à¤¡ à¤à¤°à¤¤à¥ समय तà¥à¤°à¥à¤à¤¿","Error uploading file":"फ़ाà¤à¤² à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error uploading image":"à¤à¤µà¤¿ à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ मà¥à¤ तà¥à¤°à¥à¤à¤¿","Error \xb7 Unsent":"फà¥à¤²","Error: {{ errorMessage }}":"फà¥à¤²: {{ errorMessage }}","Failed to jump to the first unread message":"पहलॠà¤
पठित सà¤à¤¦à¥à¤¶ पर à¤à¤¾à¤¨à¥ मà¥à¤ विफल","Failed to mark channel as read":"à¤à¥à¤¨à¤² à¤à¥ पढ़ा हà¥à¤ à¤à¤¿à¤¹à¥à¤¨à¤¿à¤¤ à¤à¤°à¤¨à¥ मà¥à¤ विफल।","Failed to play the recording":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ पà¥à¤²à¥ à¤à¤°à¤¨à¥ मà¥à¤ विफल","File":"फ़ाà¤à¤²","File is too large: {{ size }}, maximum upload size is {{ limit }}":"फ़ाà¤à¤² बहà¥à¤¤ बड़ॠहà¥: {{ size }}, à¤
धिà¤à¤¤à¤® à¤
पलà¥à¤¡ साà¤à¤à¤¼ {{ limit }} हà¥","Flag":"फà¥à¤²à¥à¤ à¤à¤°à¥","Generating...":"बना रहा हà¥...","Latest Messages":"नवà¥à¤¨à¤¤à¤® सà¤à¤¦à¥à¤¶","Load more":"à¤à¤° लà¥à¤¡ à¤à¤°à¥à¤","Mark as unread":"à¤
पठित à¤à¤¿à¤¹à¥à¤¨à¤¿à¤¤ à¤à¤°à¥à¤","Maximum number of votes (from 2 to 10)":"à¤
धिà¤à¤¤à¤® वà¥à¤à¥à¤ à¤à¥ सà¤à¤à¥à¤¯à¤¾ (2 सॠ10)","Menu":"मà¥à¤¨à¥à¤¯à¥","Message Failed \xb7 Click to try again":"मà¥à¤¸à¥à¤ फ़à¥à¤² - पà¥à¤¨à¤ à¤à¥à¤¶à¤¿à¤¶ à¤à¤°à¥à¤","Message Failed \xb7 Unauthorized":"मà¥à¤¸à¥à¤ फ़à¥à¤² - à¤
नधिà¤à¥à¤¤","Message deleted":"मà¥à¤¸à¥à¤ हà¤à¤¾ दिया à¤à¤¯à¤¾","Message has been successfully flagged":"मà¥à¤¸à¥à¤ à¤à¥ फà¥à¤²à¥à¤ à¤à¤° दिया à¤à¤¯à¤¾ हà¥","Message pinned":"सà¤à¤¦à¥à¤¶ पिन à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾","Messages have been marked unread.":"सà¤à¤¦à¥à¤¶à¥à¤ à¤à¥ à¤
पठित à¤à¤¿à¤¹à¥à¤¨à¤¿à¤¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ हà¥à¥¤","Missing permissions to upload the attachment":"à¤
à¤à¥à¤à¤®à¥à¤à¤ à¤
पलà¥à¤¡ à¤à¤°à¤¨à¥ à¤à¥ लिठà¤
नà¥à¤®à¤¤à¤¿à¤¯à¤¾à¤ à¤à¤¾à¤¯à¤¬","Multiple answers":"à¤à¤ à¤à¤¤à¥à
1¤¤à¤°","Mute":"मà¥à¤¯à¥à¤ à¤à¤°à¥","New":"नà¤","New Messages!":"नठमà¥à¤¸à¥à¤!","No chats here yetâ¦":"यहाठà¤
à¤à¥ तठà¤à¥à¤ à¤à¥à¤ नहà¥à¤...","No results found":"à¤à¥à¤ परिणाम नहà¥à¤ मिला","Nobody will be able to vote in this poll anymore.":"à¤
ब à¤à¥à¤ à¤à¥ à¤à¤¸ मतदान मà¥à¤ मतदान नहà¥à¤ à¤à¤° सà¤à¥à¤à¤¾à¥¤","Nothing yet...":"à¤à¥à¤ मà¥à¤¸à¥à¤ नहà¥à¤ हà¥","Ok":"ठà¥à¤ हà¥","Open emoji picker":"à¤à¤®à¥à¤à¥ पिà¤à¤° à¤à¥à¤²à¤¿à¤¯à¥","Option already exists":"विà¤à¤²à¥à¤ª पहलॠसॠमà¥à¤à¥à¤¦ हà¥","Options":"विà¤à¤²à¥à¤ª","People matching":"मà¥à¤² à¤à¤¾à¤¤à¥ लà¥à¤","Pin":"पिन","Pinned by":"दà¥à¤µà¤¾à¤°à¤¾ पिन à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾","Poll":"मतदान","Poll comments":"मतदान à¤à¤¿à¤ªà¥à¤ªà¤£à¤¿à¤¯à¤¾à¤","Poll options":"मतदान विà¤à¤²à¥à¤ª","Poll results":"मतदान परिणाम","Question":"पà¥à¤°à¤¶à¥à¤¨","Quote":"à¤à¤¦à¥à¤§à¤°à¤£","Recording format is not supported and cannot be reproduced":"रà¥à¤à¥à¤°à¥à¤¡à¤¿à¤à¤ फ़à¥à¤°à¥à¤®à¥à¤ समरà¥à¤¥à¤¿à¤¤ नहà¥à¤ हॠà¤à¤° पà¥à¤¨à¤ à¤à¤¤à¥à¤ªà¤¨à¥à¤¨ नहà¥à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¾ सà¤à¤¤à¤¾","Reply":"à¤à¤µà¤¾à¤¬ दॠदà¥","Reply to Message":"सà¤à¤¦à¥à¤¶ à¤à¤¾ à¤à¤µà¤¾à¤¬ दà¥à¤","Search":"à¤à¥à¤","Searching...":"à¤à¥à¤ à¤à¤°...","See all options ({{count}})_one":"सà¤à¥ विà¤à¤²à¥à¤ª दà¥à¤à¥à¤ ({{count}})","See all options ({{count}})_other":"सà¤à¥ विà¤à¤²à¥à¤ª दà¥à¤à¥à¤ ({{count}})","Select one":"à¤à¤ à¤à¥à¤¨à¥à¤","Select one or more":"à¤à¤ या à¤
धिठà¤à¥à¤¨à¥à¤","Select up to {{count}}_one":"à¤
धिà¤à¤¤à¤® {{count}} तठà¤à¥à¤¨à¥à¤","Select up to {{count}}_other":"à¤
धिà¤à¤¤à¤® {{count}} तठà¤à¥à¤¨à¥à¤","Send":"à¤à¥à¤à¥","Send Anyway":"वà¥à¤¸à¥ à¤à¥ à¤à¥à¤à¥à¤","Send message request failed":"सà¤à¤¦à¥à¤¶ à¤à¥à¤à¤¨à¥ à¤à¤¾ à¤
नà¥à¤°à¥à¤§ विफल रहा","Sending...":"à¤à¥à¤à¤¾ à¤à¤¾ रहा हà¥","Show all":"सà¤à¥ दिà¤à¤¾à¤à¤","Shuffle":"मिशà¥à¤°à¤¿à¤¤ à¤à¤°à¥à¤","Slow Mode ON":"सà¥à¤²à¥ मà¥à¤¡ à¤à¤¨","Some of the files will not be accepted":"à¤à¥à¤ फ़ाà¤à¤²à¥à¤ सà¥à¤µà¥à¤à¤¾à¤° नहà¥à¤ à¤à¥ à¤à¤¾à¤à¤à¤à¥","Start t
1yping to search":"à¤à¥à¤à¤¨à¥ à¤à¥ लिठà¤à¤¾à¤à¤ª à¤à¤°à¤¨à¤¾ शà¥à¤°à¥ à¤à¤°à¥à¤","Submit":"à¤à¤®à¤¾ à¤à¤°à¥à¤","Suggest an option":"à¤à¤ विà¤à¤²à¥à¤ª सà¥à¤à¤¾à¤µ दà¥à¤","Thinking...":"सà¥à¤ रहा हà¥...","This message did not meet our content guidelines":"यह सà¤à¤¦à¥à¤¶ हमारॠसामà¤à¥à¤°à¥ दिशानिरà¥à¤¦à¥à¤¶à¥à¤ à¤à¥ à¤
नà¥à¤°à¥à¤ª नहà¥à¤ था","This message was deleted...":"मà¥à¤¸à¥à¤ हà¤à¤¾ दिया à¤à¤¯à¤¾","Thread":"रिपà¥à¤²à¤¾à¤ थà¥à¤°à¥à¤¡","To start recording, allow the camera access in your browser":"रिà¤à¥à¤°à¥à¤¡à¤¿à¤à¤ शà¥à¤°à¥ à¤à¤°à¤¨à¥ à¤à¥ लिà¤, à¤
पनॠबà¥à¤°à¤¾à¤à¤à¤¼à¤° मà¥à¤ à¤à¥à¤®à¤°à¤¾ तठपहà¥à¤à¤ दà¥à¤","To start recording, allow the microphone access in your browser":"रिà¤à¥à¤°à¥à¤¡à¤¿à¤à¤ शà¥à¤°à¥ à¤à¤°à¤¨à¥ à¤à¥ लिà¤, à¤
पनॠबà¥à¤°à¤¾à¤à¤à¤¼à¤° मà¥à¤ माà¤à¤à¥à¤°à¥à¤«à¤¼à¥à¤¨ तठपहà¥à¤à¤ दà¥à¤","Type a number from 2 to 10":"2 सॠ10 तठà¤à¤¾ à¤à¤ नà¤à¤¬à¤° à¤à¤¾à¤à¤ª à¤à¤°à¥à¤","Type your message":"à¤
पना मà¥à¤¸à¥à¤ लिà¤à¥","Unarchive":"à¤
नà¤à¤°à¥à¤à¤¾à¤à¤µ","Unmute":"à¤
नमà¥à¤¯à¥à¤","Unpin":"à¤
नपिन","Unread messages":"à¤
पठित सà¤à¤¦à¥à¤¶","Unsupported attachment":"à¤
समरà¥à¤¥à¤¿à¤¤ à¤
à¤à¥à¤à¤®à¥à¤à¤","Update your comment":"à¤
पनॠà¤à¤¿à¤ªà¥à¤ªà¤£à¥ à¤à¥ à¤
पडà¥à¤ à¤à¤°à¥à¤","Upload type: \\"{{ type }}\\" is not allowed":"à¤
पलà¥à¤¡ पà¥à¤°à¤à¤¾à¤°: \\"{{ type }}\\" à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ नहà¥à¤ हà¥","User uploaded content":"à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ à¤
पलà¥à¤¡ à¤à¥ à¤à¤ सामà¤à¥à¤°à¥","View results":"परिणाम दà¥à¤à¥à¤","View {{count}} comments_one":"दà¥à¤à¥à¤ {{count}} à¤à¤¿à¤ªà¥à¤ªà¤£à¥","View {{count}} comments_other":"दà¥à¤à¥à¤ {{count}} à¤à¤¿à¤ªà¥à¤ªà¤£à¤¿à¤¯à¤¾à¤","Voice message":"à¤à¤µà¤¾à¤ सà¤à¤¦à¥à¤¶","Vote ended":"मतदान समापà¥à¤¤","Wait until all attachments have uploaded":"सà¤à¥ à¤
à¤à¥à¤à¤®à¥à¤à¤ à¤
पलà¥à¤¡ हà¥à¤¨à¥ तठपà¥à¤°à¤¤à¥à¤à¥à¤·à¤¾ à¤à¤°à¥à¤","You":"à¤à¤ª","You have no channels currently":"à¤à¤ªà¤à¥ पास à¤à¥à¤ à¤à¥à¤¨à¤² नहà¥à¤ हà¥","You\'ve reached the maximum number of files":"à¤à¤ª à¤
धिà¤à¤¤à¤® फ़ाà¤à¤²à¥à¤ तठपहà¥à¤à¤ à¤à¤ हà¥à¤","aria/Attachment":"à¤
नà¥à¤²à¤à¥à¤¨à¤","aria/Cancel Reply":"à¤à¤¤à¥à¤¤à¤° रदà¥à¤¦ à¤à¤°à¥à¤","aria/Cancel upload":"à¤
पलà¥à¤¡ रदà¥à¤¦ à¤à¤°à¥à¤","aria/Channel list":"à¤à¥à¤¨à¤² सà¥à¤à¥","aria/Channel search results":"à¤à¥à¤¨à¤² à¤à¥à¤ परिणाम","aria/Close thread":"थà¥à¤°à¥à¤¡ बà¤à¤¦ à¤à¤°à¥à¤","aria/Download attachment":"à¤
नà¥à¤²à¤à¥à¤¨à¤ डाà¤à¤¨à¤²à¥à¤¡ à¤à¤°à¥à¤","aria/Emoji picker":"à¤à¤®à¥à¤à¥ à¤à¥à¤¨à¤¨à¥ वाला","aria/File input":"फ़ाà¤à¤² à¤à¤¨à¤ªà¥à¤","aria/File upload":"फ़ाà¤à¤² à¤
पलà¥à¤¡","aria/Image input":"à¤à¤µà¤¿ à¤à¤¨à¤ªà¥à¤","aria/Load More Channels":"à¤à¤° à¤à¥à¤¨à¤² लà¥à¤¡ à¤à¤°à¥à¤","aria/Menu":"मà¥à¤¨à¥à¤¯à¥","aria/Message Options":"सà¤à¤¦à¥à¤¶ विà¤à¤²à¥à¤ª","aria/Open Attachment Selector":"à¤
à¤à¥à¤à¤®à¥à¤à¤ à¤à¤¯à¤¨à¤à¤°à¥à¤¤à¤¾ à¤à¥à¤²à¥à¤","aria/Open Message Actions Menu":"सà¤à¤¦à¥à¤¶ à¤à¥à¤°à¤¿à¤¯à¤¾ मà¥à¤¨à¥à¤¯à¥ à¤à¥à¤²à¥à¤","aria/Open Reaction Selector":"पà¥à¤°à¤¤à¤¿à¤à¥à¤°à¤¿à¤¯à¤¾ à¤à¤¯à¤¨à¤à¤°à¥à¤¤à¤¾ à¤à¥à¤²à¥à¤","aria/Open Thread":"थà¥à¤°à¥à¤¡ à¤à¥à¤²à¥à¤","aria/Reaction list":"पà¥à¤°à¤¤à¤¿à¤à¥à¤°à¤¿à¤¯à¤¾ सà¥à¤à¥","aria/Remove attachment":"सà¤à¤²à¤à¥à¤¨à¤ हà¤à¤¾à¤à¤","aria/Retry upload":"à¤
पलà¥à¤¡ पà¥à¤¨à¤ पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤","aria/Search results":"à¤à¥à¤ परिणाम","aria/Search results header filter button":"à¤à¥à¤ परिणाम हà¥à¤¡à¤° फ़िलà¥à¤à¤° बà¤à¤¨","aria/Send":"à¤à¥à¤à¥à¤","aria/Stop AI Generation":"à¤à¤à¤ à¤à¤¨à¤°à¥à¤¶à¤¨ रà¥à¤à¥à¤","ban-command-args":"[@à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¨à¤¾à¤®] [पाठ]","ban-command-description":"à¤à¤ à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ à¤à¥ पà¥à¤°à¤¤à¤¿à¤·à¥à¤§à¤¿à¤¤ à¤à¤°à¥à¤","giphy-command-args":"[पाठ]","giphy-command-description":"à¤à¥à¤¨à¤² पर à¤à¤ à¤à¥à¤°à¥à¤«à¤¿à¤² à¤à¥à¤à¤à¤à¤« पà¥à¤¸à¥à¤ à¤à¤°à¥à¤","live":"लाà¤à¤µ","mute-command-args":"[@à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¨à¤¾à¤®]","mute-command-description":"à¤à¤ à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ à¤à¥ मà¥à¤¯à¥à¤ à¤à¤°à¥à¤","replyCount_one":"1 रिप
1à¥à¤²à¤¾à¤","replyCount_other":"{{ count }} रिपà¥à¤²à¤¾à¤","search-results-header-filter-source-button-label--channels":"à¤à¥à¤¨à¤²à¥à¤¸","search-results-header-filter-source-button-label--messages":"सà¤à¤¦à¥à¤¶","search-results-header-filter-source-button-label--users":"à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾","searchResultsCount_one":"1 परिणाम","searchResultsCount_other":"{{ count }} परिणाम","this content could not be displayed":"यह à¤à¥à¤¨à¥à¤à¥à¤à¤ लà¥à¤¡ नहà¥à¤ हॠपाया","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¨à¤¾à¤®]","unban-command-description":"à¤à¤ à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ à¤à¥ पà¥à¤°à¤¤à¤¿à¤·à¥à¤§ सॠमà¥à¤à¥à¤¤ à¤à¤°à¥à¤","unmute-command-args":"[@à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¨à¤¾à¤®]","unmute-command-description":"à¤à¤ à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ à¤à¥ à¤
नमà¥à¤¯à¥à¤ à¤à¤°à¥à¤","unreadMessagesSeparatorText_one":"1 à¤
पठित सà¤à¤¦à¥à¤¶","unreadMessagesSeparatorText_other":"{{count}} à¤
पठित सà¤à¤¦à¥à¤¶","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} à¤à¤° {{ moreCount }} à¤à¤°","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} à¤à¤° {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} à¤à¤° {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} à¤à¤°","{{ memberCount }} members":"{{ memberCount }} मà¥à¤à¤¬à¤°à¥à¤¸","{{ user }} has been muted":"{{ user }} à¤à¥ मà¥à¤¯à¥à¤ à¤à¤° दिया à¤à¤¯à¤¾ हà¥","{{ user }} has been unmuted":"{{ user }} à¤à¥ à¤
नमà¥à¤¯à¥à¤ à¤à¤° दिया à¤à¤¯à¤¾ हà¥","{{ user }} is typing...":"{{ user }} à¤à¤¾à¤à¤ª à¤à¤° रहा हà¥...","{{ users }} and more are typing...":"{{ users }} à¤à¤° à¤
धिठà¤à¤¾à¤à¤ª à¤à¤° रहॠहà¥à¤...","{{ users }} and {{ user }} are typing...":"{{ users }} à¤à¤° {{ user }} à¤à¤¾à¤à¤ª à¤à¤° रहॠहà¥à¤...","{{ watcherCount }} online":"{{ watcherCount }} à¤à¤¨à¤²à¤¾à¤à¤¨","{{count}} unread_one":"{{count}} à¤
पठित","{{count}} unread_other":"{{count}} à¤
पठित","{{count}} votes_one":"{{count}} वà¥à¤","{{count}} votes_other":"{{count}} वà¥à¤","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 à¤
à¤à¥à¤à¤®à¥à¤à¤","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} नॠबनाया: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} नॠवà¥à¤ दिया: {{pollOptionText}}"}'),eP=JSON.parse('{"Add a comment":"Aggiungi un commento","Add an option":"Aggiungi un\'opzione","All results loaded":"Tutti i risultati caricati","Allow access to camera":"Consenti l\'accesso alla fotocamera","Allow access to microphone":"Consenti l\'accesso al microfono","Allow comments":"Consenti i commenti","Allow option suggestion":"Consenti il suggerimento di opzioni","An error has occurred during recording":"Si \xe8 verificato un errore durante la registrazione","An error has occurred during the recording processing":"Si \xe8 verificato un errore durante l\'elaborazione della registrazione","Anonymous":"Anonimo","Anonymous poll":"Sondaggio anonimo","Archive":"Archivia","Ask a question":"Fai una domanda","Attach files":"Allega file","Cancel":"Annulla","Cannot seek in the recording":"Impossibile cercare nella registrazione","Channel Missing":"Il canale non esiste","Close":"Chiudi","Close emoji picker":"Chiudi il selettore di emoji","Commands matching":"Comandi corrispondenti","Connection failure, reconnecting now...":"Errore di connessione, riconnessione in corso...","Create":"Crea","Create poll":"Crea sondaggio","Delete":"Elimina","Delivered":"Conseg
1nato","Download attachment {{ name }}":"Scarica l\'allegato {{ name }}","Drag your files here":"Trascina i tuoi file qui","Drag your files here to add to your post":"Trascina i tuoi file qui per aggiungerli al tuo post","Edit Message":"Modifica messaggio","Edit message request failed":"Richiesta di modifica del messaggio non riuscita","Edited":"Modificato","Emoji matching":"Abbinamento emoji","Empty message...":"Messaggio vuoto...","End":"Fine","End vote":"Termina il voto","Error adding flag":"Errore durante l\'aggiunta del flag","Error connecting to chat, refresh the page to try again.":"Errore di connessione alla chat, aggiorna la pagina per riprovare.","Error deleting message":"Errore durante l\'eliminazione del messaggio","Error fetching reactions":"Errore nel caricamento delle reazioni","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Errore durante la marcatura del messaggio come non letto. Impossibile marcare messaggi non letti pi\xf9 vecchi dei pi\xf9 recenti 100 messaggi del canale.","Error muting a user ...":"Errore nel silenziare un utente ...","Error pinning message":"Errore durante il blocco del messaggio","Error removing message pin":"Errore durante la rimozione del PIN del messaggio","Error reproducing the recording":"Errore durante la riproduzione della registrazione","Error starting recording":"Errore durante l\'avvio della registrazione","Error unmuting a user ...":"Errore nel riattivare un utente ...","Error uploading attachment":"Errore durante il caricamento dell\'allegato","Error uploading file":"Errore durante il caricamento del file","Error uploading image":"Errore durante il caricamento dell\'immagine","Error \xb7 Unsent":"Errore \xb7 Non inviato","Error: {{ errorMessage }}":"Errore: {{ errorMessage }}","Failed to jump to the first unread message":"Impossibile passare al primo messaggio non letto","Failed to mark channel as read":"Impossibile contrassegnare il canale come letto","Failed to play the recording":"Impossibile riprodurre la registrazione","File":"File","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Il file \xe8 troppo grande: {{ size }}, la dimensione massima di caricamento \xe8 {{ limit }}","Flag":"Segnala","Generating...":"Generando...","Latest Messages":"Ultimi messaggi","Load more":"Carica di pi\xf9","Mark as unread":"Contrassegna come non letto","Maximum number of votes (from 2 to 10)":"Numero massimo di voti (da 2 a 10)","Menu":"Men\xf9","Message Failed \xb7 Click to try again":"Invio messaggio fallito \xb7 Clicca per riprovare","Message Failed \xb7 Unauthorized":"Invio messaggio fallito \xb7 Non autorizzato","Message deleted":"Messaggio cancellato","Message has been successfully flagged":"Il messaggio \xe8 stato segnalato con successo","Message pinned":"Messaggio bloccato","Messages have been marked unread.":"I messaggi sono stati contrassegnati come non letti.","Missing permissions to upload the attachment":"Autorizzazioni mancanti per caricare l\'allegato","Multiple answers":"Risposte multiple","Mute":"Silenzia","New":"Nuovo","New Messages!":"Nuovi messaggi!","No chats here yetâ¦":"Non ci sono ancora messaggi qui...","No results found":"Nessun risultato trovato","Nobody will be able to vote in this poll anymore.":"Nessuno potr\xe0 pi\xf9 votare in questo sondaggio.","Nothing yet...":"Ancora niente...","Ok":"Ok","Open emoji picker":"Apri il selettore di emoji","Option already exists":"L\'opzione esiste gi\xe0","Options":"Opzioni","People matching":"Persone che corrispondono","Pin":"Pin","Pinned by":"Appuntato da","Poll":"Sondaggio","Poll comments":"Commenti del sondaggio","Poll options":"Opzioni del sondaggio","Poll results":"Risultati del sondaggio","Question":"Domanda","Quote":"Citazione","Recording format is not supported and cannot be reproduced":"Il formato di registrazione non \xe8 supportato e non pu\xf2 essere riprodotto","Reply":"Rispondi","Reply to Message":"Rispondi al messaggio","Search":"Cerca","Searching...":"Ricerca in corso...","See all options ({{count}})_many":"Vedi tutte le opzioni ({{count}})","See all options ({{count}})_one":"Vedi tutte le opzioni ({{count}})","See all options ({{count}}
1)_other":"Vedi tutte le opzioni ({{count}})","Select one":"Seleziona uno","Select one or more":"Seleziona uno o pi\xf9","Select up to {{count}}_many":"Seleziona fino a {{count}}","Select up to {{count}}_one":"Seleziona fino a {{count}}","Select up to {{count}}_other":"Seleziona fino a {{count}}","Send":"Invia","Send Anyway":"Invia comunque","Send message request failed":"Richiesta di invio messaggio non riuscita","Sending...":"Invio in corso...","Show all":"Mostra tutto","Shuffle":"Mescolare","Slow Mode ON":"Modalit\xe0 lenta attivata","Some of the files will not be accepted":"Alcuni dei file non saranno accettati","Start typing to search":"Inizia a digitare per cercare","Submit":"Invia","Suggest an option":"Suggerisci un\'opzione","Thinking...":"Pensando...","This message did not meet our content guidelines":"Questo messaggio non soddisfa le nostre linee guida sui contenuti","This message was deleted...":"Questo messaggio \xe8 stato cancellato...","Thread":"Discussione","To start recording, allow the camera access in your browser":"Per iniziare a registrare, consenti l\'accesso alla fotocamera nel tuo browser","To start recording, allow the microphone access in your browser":"Per iniziare a registrare, consenti l\'accesso al microfono nel tuo browser","Type a number from 2 to 10":"Digita un numero da 2 a 10","Type your message":"Scrivi il tuo messaggio","Unarchive":"Ripristina","Unmute":"Riattiva il notifiche","Unpin":"Sblocca","Unread messages":"Messaggi non letti","Unsupported attachment":"Allegato non supportato","Update your comment":"Aggiorna il tuo commento","Upload type: \\"{{ type }}\\" is not allowed":"Tipo di caricamento: \\"{{ type }}\\" non \xe8 consentito","User uploaded content":"Contenuto caricato dall\'utente","View results":"Vedi risultati","View {{count}} comments_many":"Visualizza {{count}} commenti","View {{count}} comments_one":"Visualizza {{count}}
1 commento","View {{count}} comments_other":"Visualizza {{count}} commenti","Voice message":"Messaggio vocale","Vote ended":"Voto terminato","Wait until all attachments have uploaded":"Attendi il caricamento di tutti gli allegati","You":"Tu","You have no channels currently":"Al momento non sono presenti canali","You\'ve reached the maximum number of files":"Hai raggiunto il numero massimo di file","aria/Attachment":"Allegato","aria/Cancel Reply":"Annulla risposta","aria/Cancel upload":"Annulla caricamento","aria/Channel list":"Elenco dei canali","aria/Channel search results":"Risultati della ricerca dei canali","aria/Close thread":"Chiudi discussione","aria/Download attachment":"Scarica l\'allegato","aria/Emoji picker":"Selettore di emoji","aria/File input":"Input di file","aria/File upload":"Caricamento di file","aria/Image input":"Input di immagine","aria/Load More Channels":"Carica altri canali","aria/Menu":"Menu","aria/Message Options":"Opzioni di messaggio","aria/Open Attachment Selector":"Apri selettore allegati","aria/Open Message Actions Menu":"Apri il menu delle azioni di messaggio","aria/Open Reaction Selector":"Apri il selettore di reazione","aria/Open Thread":"Apri discussione","aria/Reaction list":"Elenco delle reazioni","aria/Remove attachment":"Rimuovi allegato","aria/Retry upload":"Riprova caricamento","aria/Search results":"Risultati della ricerca","aria/Search results header filter button":"Pulsante filtro intestazione risultati ricerca","aria/Send":"Invia","aria/Stop AI Generation":"Interrompi generazione IA","ban-command-args":"[@nomeutente] [testo]","ban-command-description":"Vietare un utente","giphy-command-args":"[testo]","giphy-command-description":"Pubblica un gif casuale sul canale","live":"live","mute-command-args":"[@nomeutente]","mute-command-description":"Silenzia un utente","replyCount_many":"{{ count }} risposte","replyCount_one":"Una risposta","replyCount_other":"{{ count }} risposte","search-results-header-filter-source-button-label--channels":"canali","search-results-header-filter-source-button-label--messages":"messaggi","search-results-header-filter-source-button-label--users":"utenti","searchResultsCount_many":"{{ count }} risultati","searchResultsCount_one":"1 risultato","searchResultsCount_other":"{{ count }} risultati","this content could not be displayed":"questo contenuto non pu\xf2 essere mostrato","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@nomeutente]","unban-command-description":"Togliere il divieto a un utente","unmute-command-args":"[@nomeutente]","unmute-command-description":"Togliere il silenzio a un utente","unreadMessagesSeparatorText_many":"{{count}} messaggi non letti","unreadMessagesSeparatorText_one":"1 messaggio non letto","unreadMessagesSeparatorText_other":"{{count}} messaggi non letti","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e altri {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"+ {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} membri","{{ user }} has been muted":"{{ user }} \xe8 stato silenziato","{{ user }} has been unmuted":"Notifiche riattivate per {{ user }}","{{ user }} is typing...":"{{ user }} sta digitando...","{{ users }} and more are typing...":"{{ users }} e altri stanno digitando...","{{ users }} and {{ user }} are typing...":"{{ users }} e {{ user }} stanno digitando...","{{ watcherCount }} online":"{{ watcherCount }} online","{{count}} unread_many":"{{count}} non letti","{{count}} unread_one":"{{count}} non letto","{{count}} unread_other":"{{count}} non letti","{{count}} votes_many":"{{count}} voti","{{count}} votes_one":"{{count}} voto","{{count}} votes_other":"{{count}} voti","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Allegato...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} ha creato: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} ha votato: {{pollOptionText}}"}'),eA=JSON.parse('{"Add a comment":"ã³ã¡ã³ãã追å ","Add an option":"ãªãã·ã§ã³ã追å ","All results loaded":"ãã¹ã¦ã®çµæãèªã¿è¾¼ã¾ãã¾ãã","Allow access to camera":"ã«ã¡ã©ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã","Allow access to microphone":"ãã¤ã¯ããã©ã³ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã","Allow comments":"ã³ã¡ã³ãã許å¯","Allow option suggestion":"ãªãã·ã§ã³ã®ææ¡ã許å¯","An error has occurred during recording":"é²é³ä¸ã«ã¨ã©ã¼ãçºçãã¾ãã","An error has occurred during the recording processing":"é²é³å¦çä¸ã«ã¨ã©ã¼ãçºçãã¾ãã","Anonymous":"å¿å","Anonymous poll":"å¿åæç¥¨","Archive":"ã¢ã¼ã«ã¤ã","Ask a question":"質åãã","Attach files":"ãã¡ã¤ã«ãæ·»ä»ãã","Cancel":"ãã£ã³ã»ã«","Cannot seek in the recording":"é²é³ä¸ã«ã·ã¼ã¯ã§ãã¾ãã","Channel Missing":"ãã£ãã«ãããã¾ãã","Close":"éãã","Close emoji picker":"çµµæåããã«ã¼ãéãã","Commands matching":"ä¸è´ããã³ãã³ã","Connection failure, reconnecting now...":"æ¥ç¶ã失æãã¾ããã忥ç¶ä¸...","Create":"使","Create poll":"æç¥¨ã使","Delete":"æ¶å»","Delivered":"é
ä¿¡ãã¾ãã","Download attachment {{ name }}":"æ·»ä»ãã¡ã¤ã« {{ name }} ããã¦ã³ãã¼ã","Drag your files here":"ããã«ãã¡ã¤ã«ããã©ãã°","Drag your files here to add to your post":"æç¨¿ã«è¿½å ããããã«ããã«ãã¡ã¤ã«ããã©ãã°","Edit Message":"ã¡ãã»ã¼ã¸ãç·¨é","E
1dit message request failed":"ã¡ãã»ã¼ã¸ã®ç·¨éè¦æ±ã失æãã¾ãã","Edited":"ç·¨éæ¸ã¿","Emoji matching":"çµµæåãããã³ã°","Empty message...":"空ã®ã¡ãã»ã¼ã¸...","End":"çµäº","End vote":"æç¥¨ãçµäº","Error adding flag":"ãã©ã°ã追å ã®ã¨ã©ã¼ãçºçãã¾ãã","Error connecting to chat, refresh the page to try again.":"ãã£ããã¸ã®æ¥ç¶ãã§ãã¾ããã§ããããã¼ã¸ãæ´æ°ãã¦ãã ããã","Error deleting message":"ã¡ãã»ã¼ã¸ãåé¤ããã¨ã©ã¼ãçºçãã¾ãã","Error fetching reactions":"åå¿ã®èªã¿è¾¼ã¿ã¨ã©ã¼","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"ã¡ãã»ã¼ã¸ãæªèªã«ããéã«ã¨ã©ã¼ãçºçãã¾ãããææ°ã®100ä»¶ã®ãã£ã³ãã«ã¡ãã»ã¼ã¸ããå¤ãæªèªã¡ãã»ã¼ã¸ã¯ãã¼ã¯ã§ãã¾ããã","Error muting a user ...":"ã¦ã¼ã¶ã¼ãç¡é³ããã¨ã©ã¼ãçºçãã¾ãã...","Error pinning message":"ã¡ãã»ã¼ã¸ããã³ã®ã¨ã©ã¼ãçºçãã¾ãã","Error removing message pin":"ã¡ãã»ã¼ã¸ã®ãã³ãåé¤ã®ã¨ã©ã¼ãçºçãã¾ãã","Error reproducing the recording":"é²é³ã®åçä¸ã«ã¨ã©ã¼ãçºçãã¾ãã","Error starting recording":"é²é³ã®éå§æã«ã¨ã©ã¼ãçºçãã¾ãã","Error unmuting a user ...":"ã¦ã¼ã¶ã¼ã®ç¡é³è§£é¤ã®ã¨ã©ã¼ãçºçãã¾ãã...","Error uploading attachment":"æ·»ä»ãã¡ã¤ã«ã®ã¢ãããã¼ãä¸ã«ã¨ã©ã¼ãçºçãã¾ãã","Error uploading file":"ãã¡ã¤ã«ãã¢ãããã¼ãã®ã¨ã©ã¼ãçºçãã¾ãã","Error uploading image":"ç»åãã¢ãããã¼ãã®ã¨ã©ã¼ãçºçãã¾ãã","Error \xb7 Unsent":"ã¨ã©ã¼ã»æªéä¿¡","Error: {{ errorMessage }}":"ã¨ã©ã¼: {{ errorMessage }}","Failed to jump to the first unread message":"æåã®æªèªã¡ãã»ã¼ã¸ã«ã¸ã£ã³ãã§ãã¾ããã§ãã","Failed to mark channel as read":"ãã£ã³ãã«ãæ¢èªã«ãããã¨ãã§ãã¾ããã§ãã","Failed to play the recording":"é²é³ã®åçã«å¤±æãã¾ãã","File":"ãã¡ã¤ã«","File is too large: {{ size }}, maximum upload size is {{ limit }}":"ãã¡ã¤ã«ã大ãããã¾ãï¼{{ size }}ãæå¤§ã¢ãããã¼ããµã¤ãºã¯{{ limit }}ã§ã","Flag":"ãã©ã°","Generating...":"çæä¸...","Latest Messages":"ææ°ã®ã¡ãã»ã¼ã¸","Load more":"ãã£ã¨èªã¿è¾¼ã","Mark as unread":"æªèªã¨ãã¦ãã¼ã¯","Maximum number of votes (from 2 to 10)":"æå¤§æç¥¨æ°ï¼2ãã10ã¾ã§ï¼","Menu":"ã¡ãã¥ã¼","Message Failed \xb7 Click to try again":"ã¡ãã»ã¼ã¸ã失æãã¾ãã \xb7 ã¯ãªãã¯ãã¦å試è¡ãã¦ãã ãã","Message Failed \xb7 Unauthorized":"ã¡ãã»ã¼ã¸ã失æãã¾ãã \xb7 許å¯ããã¦ãã¾ãã","Message deleted":"ã¡ãã»ã¼ã¸ãåé¤ããã¾ãã","Message has been successfully flagged":"ã¡ãã»ã¼ã¸ã«æ£å¸¸ã«ãã©ã°ãä»ãããã¾ãã","Message pinned":"ã¡ãã»ã¼ã¸ã«ãã³ãä»ãããã¾ãã","Messages have been marked unread.":"ã¡ãã»ã¼ã¸ã¯æªèªã¨ãã¦ãã¼ã¯ããã¾ããã","Missing permissions to upload the attachment":"æ·»ä»ãã¡ã¤ã«ãã¢ãããã¼ãããããã®è¨±å¯ãããã¾ãã","Multiple answers":"è¤æ°åç","Mute":"ç¡é³","New":"æ°ãã","New Messages!":"æ°ããã¡ãã»ã¼ã¸!","No chats here yetâ¦":"ããã«ã¯ã¾ã ãã£ããã¯ããã¾ããâ¦","No results found":"çµæãè¦ã¤ããã¾ãã","Nobody will be able to vote in this poll anymore.":"ãã®æç¥¨ã§ã¯ã誰ãæç¥¨ã§ããªããªãã¾ãã","Nothing yet...":"ã¾ã ä½ãããã¾ãã...","Ok":"OK","Open emoji picker":"çµµæåããã«ã¼ãéã","Option already exists":"ãªãã·ã§ã³ã¯æ¢ã«åå¨ãã¾ã","Options":"ãªãã·ã§ã³","People matching":"ä¸è´ãã人","Pin":"ãã³","Pinned by":"ãã³ããæ¹","Poll":"æç¥¨","Poll comments":"æç¥¨ã³ã¡ã³ã","Poll options":"æç¥¨ãªãã·ã§ã³","Poll results":"æç¥¨çµæ","Question":"質å","Quote":"å¼ç¨","Recording format is not supported and cannot be reproduced":"é²é³å½¢å¼ã¯ãµãã¼ãããã¦ããããåçã§ãã¾ãã","Reply":"è¿äº","Reply to Message":"ã¡ãã»ã¼ã¸ã«è¿ä¿¡","Search":"æ¢ã","Searching...":"æ¤ç´¢ä¸...","See all options ({{count}})_other":"ãã¹ã¦ã®ãªãã·ã§ã³ãè¦ã ({{count}})","Select one":"1ã¤é¸æ","Select one or more":"1ã¤ä»¥ä¸é¸æ","Select up to {{count}}_other":"æå¤§{{count}}ã¾ã§é¸æ","Send":"éä¿¡","Send Anyway":"ã¨ã«ããéä¿¡ãã","Send message request failed":"ã¡ãã»ã¼ã¸éä¿¡ãªã¯ã¨ã¹ãã失æãã¾ãã","Sending...":"éä¿¡ä¸...","Show all":"ãã
1¹ã¦è¡¨ç¤º","Shuffle":"ã·ã£ããã«","Slow Mode ON":"ã¹ãã¼ã¢ã¼ããªã³","Some of the files will not be accepted":"ä¸é¨ã®ãã¡ã¤ã«ã¯åãä»ãããã¾ãã","Start typing to search":"æ¤ç´¢ããã«ã¯å
¥åãéå§ãã¦ãã ãã","Submit":"éä¿¡","Suggest an option":"ãªãã·ã§ã³ãææ¡","Thinking...":"èãä¸...","This message did not meet our content guidelines":"ãã®ã¡ãã»ã¼ã¸ã¯ã³ã³ãã³ãã¬ã¤ãã©ã¤ã³ã«é©åãã¦ãã¾ãã","This message was deleted...":"ãã®ã¡ãã»ã¼ã¸ã¯åé¤ããã¾ãã...","Thread":"ã¹ã¬ãã","To start recording, allow the camera access in your browser":"é²é³ãéå§ããã«ã¯ããã©ã¦ã¶ã¼ã§ã«ã¡ã©ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã¦ãã ãã","To start recording, allow the microphone access in your browser":"é²é³ãéå§ããã«ã¯ããã©ã¦ã¶ã¼ã§ãã¤ã¯ããã©ã³ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã¦ãã ãã","Type a number from 2 to 10":"2ãã10ã¾ã§ã®æ°åãå
¥åãã¦ãã ãã","Type your message":"ã¡ãã»ã¼ã¸ãå
¥åãã¦ãã ãã","Unarchive":"ã¢ã¼ã«ã¤ãè§£é¤","Unmute":"ç¡é³ãè§£é¤ãã","Unpin":"ãã³ãè§£é¤ãã","Unread messages":"æªèªã¡ãã»ã¼ã¸","Unsupported attachment":"ãµãã¼ãããã¦ããªãæ·»ä»ãã¡ã¤ã«","Update your comment":"ã³ã¡ã³ããæ´æ°","Upload type: \\"{{ type }}\\" is not allowed":"ã¢ãããã¼ãã¿ã¤ãï¼\\"{{ type }}\\"ã¯è¨±å¯ããã¦ãã¾ãã","User uploaded content":"ã¦ã¼ã¶ã¼ãã¢ãããã¼ãããã³ã³ãã³ã","View results":"çµæã表示","View {{
1count}} comments_other":"{{count}} ã³ã¡ã³ãã表示","Voice message":"ãã¤ã¹ã¡ãã»ã¼ã¸","Vote ended":"æç¥¨ãçµäºãã¾ãã","Wait until all attachments have uploaded":"ãã¹ã¦ã®æ·»ä»ãã¡ã¤ã«ãã¢ãããã¼ããããã¾ã§ãå¾
ã¡ãã ãã","You":"ããªã","You have no channels currently":"ç¾å¨ãã£ã³ãã«ã¯ããã¾ãã","You\'ve reached the maximum number of files":"ãã¡ã¤ã«ã®æå¤§æ°ã«éãã¾ãã","aria/Attachment":"æ·»ä»ãã¡ã¤ã«","aria/Cancel Reply":"è¿ä¿¡ããã£ã³ã»ã«","aria/Cancel upload":"ã¢ãããã¼ãããã£ã³ã»ã«","aria/Channel list":"ãã£ã³ãã«ä¸è¦§","aria/Channel search results":"ãã£ã³ãã«æ¤ç´¢çµæ","aria/Close thread":"ã¹ã¬ãããéãã","aria/Download attachment":"æ·»ä»ãã¡ã¤ã«ããã¦ã³ãã¼ã","aria/Emoji picker":"çµµæåããã«ã¼","aria/File input":"ãã¡ã¤ã«å
¥å","aria/File upload":"ãã¡ã¤ã«ã¢ãããã¼ã","aria/Image input":"ç»åå
¥å","aria/Load More Channels":"ããã«ãã£ã³ãã«ãèªã¿è¾¼ã","aria/Menu":"ã¡ãã¥ã¼","aria/Message Options":"ã¡ãã»ã¼ã¸ãªãã·ã§ã³","aria/Open Attachment Selector":"æ·»ä»ãã¡ã¤ã«é¸æãéã","aria/Open Message Actions Menu":"ã¡ãã»ã¼ã¸ã¢ã¯ã·ã§ã³ã¡ãã¥ã¼ãéã","aria/Open Reaction Selector":"ãªã¢ã¯ã·ã§ã³ã»ã¬ã¯ã¿ã¼ãéã","aria/Open Thread":"ã¹ã¬ãããéã","aria/Reaction list":"ãªã¢ã¯ã·ã§ã³ä¸è¦§","aria/Remove attachment":"æ·»ä»ãã¡ã¤ã«ãåé¤","aria/Retry upload":"ã¢ãããã¼ããå試è¡","aria/Search results":"æ¤ç´¢çµæ","aria/Search results header filter button":"æ¤ç´¢çµæãããã¼ãã£ã«ã¿ã¼ãã¿ã³","aria/Send":"éä¿¡","aria/Stop AI Generation":"AIçæã忢","ban-command-args":"[@ã¦ã¼ã¶å] [ããã¹ã]","ban-command-description":"ã¦ã¼ã¶ã¼ãç¦æ¢ãã","giphy-command-args":"[ããã¹ã]","giphy-command-description":"ãã£ã³ãã«ã«ã©ã³ãã ãªGIFãæç¨¿ãã","live":"ã©ã¤ã","mute-command-args":"[@ã¦ã¼ã¶å]","mute-command-description":"ã¦ã¼ã¶ã¼ããã¥ã¼ããã","replyCount_one":"1ä»¶ã®è¿ä¿¡","replyCount_other":"{{ count }} è¿ä¿¡","search-results-header-filter-source-button-label--channels":"ãã£ã³ãã«","search-results-header-filter-source-button-label--messages":"ã¡ãã»ã¼ã¸","search-results-header-filter-source-button-label--users":"ã¦ã¼ã¶ã¼","searchResultsCount_one":"1ä»¶ã®çµæ","searchResultsCount_other":"{{ count }}ä»¶ã®çµæ","this content could not be displayed":"ãã®ã³ã³ãã³ãã¯è¡¨ç¤ºã§ãã¾ããã§ãã","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@ã¦ã¼ã¶å]","unban-command-description":"ã¦ã¼ã¶ã¼ã®ç¦æ¢ãè§£é¤ãã","unmute-command-args":"[@ã¦ã¼ã¶å]","unmute-command-description":"ã¦ã¼ã¶ã¼ã®ãã¥ã¼ããè§£é¤ãã","unreadMessagesSeparatorText_other":"æªèªã¡ãã»ã¼ã¸ {{count}} ä»¶","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} 㨠{{ moreCount }} ä»äºº","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} 㨠{{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} 㨠{{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} ã¤ã¡ã¼ã¸","{{ memberCount }} members":"{{ memberCount }} ã¡ã³ãã¼","{{ user }} has been muted":"{{ user }} ç¡é³ããã¦ãã¾ã","{{ user }} has been unmuted":"{{ user }} ç¡é³ããã¦ãã¾ãã","{{ user }} is typing...":"{{ user }} ãå
¥åä¸...","{{ users }} and more are typing...":"{{ users }} ã¨ãã®ä»ãå
¥åä¸...","{{ users }} and {{ user }} are typing...":"{{ users }} 㨠{{ user }} ãå
¥åä¸...","{{ watcherCount }} online":"{{ watcherCount }} ãªã³ã©ã¤ã³","{{count}} unread_other":"{{count}} æªèª","{{count}} votes_other":"{{count}} 票","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 ã¢ã¿ããã¡ã³ã...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} ã使: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} ãæç¥¨: {{pollOptionText}}"}'),eL=JSON.parse('{"Add a comment":"ëê¸ ì¶ê°","Add an option":"ìµì
ì¶ê°","All results loaded":"모ë ê²°ê³¼ê° ë¡ëëììµëë¤","Allow access to camera":"ì¹´ë©ë¼ì ëí ì¡ì¸ì¤ íì©","Allow access to microphone":"ë§ì´í¬ë¡í°ì ëí ì¡ì¸ì¤ íì©","Allow comments":"ëê¸ í
1ì©","Allow option suggestion":"ìµì
ì ì íì©","An error has occurred during recording":"ë
¹ì ì¤ ì¤ë¥ê° ë°ìíìµëë¤","An error has occurred during the recording processing":"ë
¹ì ì²ë¦¬ ì¤ ì¤ë¥ê° ë°ìíìµëë¤","Anonymous":"ìµëª
","Anonymous poll":"ìµëª
í¬í","Archive":"ìì¹´ì´ë¸","Ask a question":"ì§ë¬¸í기","Attach files":"íì¼ ì²¨ë¶","Cancel":"ì·¨ì","Cannot seek in the recording":"ë
¹ììì ì°¾ì ì ììµëë¤","Channel Missing":"ì±ë ëë½","Close":"ë«ê¸°","Close emoji picker":"ì´ëª¨í°ì½ ì í기 ë«ê¸°","Commands matching":"ì¼ì¹íë ëª
ë ¹","Connection failure, reconnecting now...":"ì°ê²° ì¤í¨, ì§ê¸ ë¤ì ì°ê²° ì¤...","Create":"ìì±","Create poll":"í¬í ìì±","Delete":"ìì ","Delivered":"ë°°ë¬ë¨","Download attachment {{ name }}":"ì²¨ë¶ íì¼ {{ name }} ë¤ì´ë¡ë","Drag your files here":"ì¬ê¸°ë¡ íì¼ì ëì´ë¤ ëì¼ì¸ì","Drag your files here to add to your post":"ê²ì물ì ì¶ê°íë ¤ë©´ íì¼ì ì¬ê¸°ë¡ ëì´ë¤ ëì¼ì¸ì","Edit Message":"ë©ìì§ ìì ","Edit message request failed":"ë©ìì§ ìì ìì² ì¤í¨","Edited":"í¸ì§ë¨","Emoji matching":"ì´ëª¨í°ì½ 매ì¹","Empty message...":"ë¹ ë©ìì§...","End":"ì¢
ë£","End vote":"í¬í ì¢
ë£","Error adding flag":"íë그를 ì¶ê°íë ëì ì¤ë¥ê° ë°ìíìµëë¤.","Error connecting to chat, refresh the page to try again.":"ì±í
ì ì°ê²°íë ëì ì¤ë¥ê° ë°ìíìµëë¤. íì´ì§ë¥¼ ìë¡ê³ 침íì¬ ë¤ì ìëíì¸ì.","Error deleting message":"ë©ìì§ë¥¼ ìì íë ì¤ì ì¤ë¥ê° ë°ìíìµëë¤.","Error fetching reactions":"ë°ì ë¡ë© ì¤ë¥.","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"ë©ìì§ë¥¼ ì½ì§ ììì¼ë¡ íìíë ì¤ ì¤ë¥ê° ë°ìíìµëë¤. ê°ì¥ ìµê·¼ 100ê°ì ì±ë ë©ìì§ë³´ë¤ ì¤ëë ì½ì§ ìì ë©ìì§ë íìí ì ììµëë¤.","Error muting a user ...":"ì¬ì©ì를 ììê±°íë ì¤ì ì¤ë¥ê° ë°ìíìµëë¤...","Error pinning message":"ë©ìì§ë¥¼ ííë ì¤ì ì¤ë¥ê° ë°ìíìµëë¤.","Error removing message pin":"ë©ìì§ íì ì ê±°íë ì¤ì ì¤ë¥ê° ë°ìíìµëë¤.","Error reproducing the recording":"ë
¹ì ì¬ì ì¤ ì¤ë¥ ë°ì","Error starting recording":"ë
¹ì ìì ì¤ ì¤ë¥ê° ë°ìíìµëë¤","Error unmuting a user ...":"ì¬ì©ì ììê±° í´ì ì¤ ì¤ë¥ ë°ì...","Error uploading attachment":"ì²¨ë¶ íì¼ ì
ë¡ë ì¤ ì¤ë¥ê° ë°ìíìµëë¤","Error uploading file":"íì¼ ì
ë¡ë ì¤ë¥","Error uploading image":"ì´ë¯¸ì§ë¥¼ ì
ë¡ëíë ëì ì¤ë¥ê° ë°ìíìµëë¤.","Error \xb7 Unsent":"ì¤ë¥ \xb7 ì ì¡ëì§ ìì","Error: {{ errorMessage }}":"ì¤ë¥: {{ errorMessage }}","Failed to jump to the first unread message":"첫 ë²ì§¸ ì½ì§ ìì ë©ìì§ë¡ ì´ëíì§ ëª»íìµëë¤","Failed to mark channel as read":"ì±ëì ì½ìì¼ë¡ íìíë ë° ì¤í¨íìµëë¤","Failed to play the recording":"ë
¹ìì ì¬ìíì§ ëª»íìµëë¤","File":"íì¼","File is too large: {{ size }}, maximum upload size is {{ limit }}":"íì¼ì´ ë무 í½ëë¤: {{ size }}, ìµë ì
ë¡ë í¬ê¸°ë {{ limit }}ì
ëë¤","Flag":"íëê·¸","Generating...":"ìì± ì¤...","Latest Messages":"ìµì ë©ìì§","Load more":"ë ë¶ë¬ì¤ê¸°","Mark as unread":"ì½ì§ ììì¼ë¡ íì","Maximum number of votes (from 2 to 10)":"ìµë í¬í ì (2ìì 10ê¹ì§)","Menu":"ë©ë´","Message Failed \xb7 Click to try again":"ë©ìì§ ì¤í¨ \xb7 ë¤ì ìëíë ¤ë©´ í´ë¦íì¸ì.","Message Failed \xb7 Unauthorized":"ë©ìì§ ì¤í¨ \xb7 ì¹ì¸ëì§ ìì","Message deleted":"ë©ìì§ê° ìì ëììµëë¤.","Message has been successfully flagged":"ë©ìì§ì íëê·¸ê° ì§ì ëììµëë¤.","Message pinned":"ë©ìì§ ííìµëë¤","Messages have been marked unread.":"ë©ìì§ê° ì½ì§ ììì¼ë¡ íìëììµëë¤.","Missing permissions to upload the attachment":"ì²¨ë¶ íì¼ì ì
ë¡ëíë ¤ë©´ ê¶íì´ íìí©ëë¤","Multiple answers":"ë³µì ìëµ","Mute":"무ì","New":"ìë¡ì´","New Messages!":"ì ë©ìì§!","No chats here yetâ¦":"ìì
1§ ì±í
ì´ ììµëë¤...","No results found":"ê²ì ê²°ê³¼ê° ììµëë¤","Nobody will be able to vote in this poll anymore.":"ì´ í¬íì ë ì´ì ì무ë í¬íí ì ììµëë¤.","Nothing yet...":"ìì§ ì무ê²ë...","Ok":"íì¸","Open emoji picker":"ì´ëª¨í°ì½ ì í기 ì´ê¸°","Option already exists":"ìµì
ì´ ì´ë¯¸ ì¡´ì¬í©ëë¤","Options":"ìµì
","People matching":"ì¼ì¹íë ì¬ë","Pin":"í","Pinned by":"ííë ë¶:","Poll":"í¬í","Poll comments":"í¬í ëê¸","Poll options":"í¬í ìµì
","Poll results":"í¬í ê²°ê³¼","Question":"ì§ë¬¸","Quote":"ì¸ì©","Recording format is not supported and cannot be reproduced":"ë
¹ì íìì´ ì§ìëì§ ìì¼ë¯ë¡ ì¬ìí ì ììµëë¤","Reply":"ëµì¥","Reply to Message":"ë©ìì§ì ëµì¥","Search":"ì°¾ë¤","Searching...":"ìì...","See all options ({{count}})_other":"모ë ìµì
보기 ({{count}})","Select one":"íë ì í","Select one or more":"íë ì´ì ì í","Select up to {{count}}_other":"{{count}}ê°ê¹ì§ ì í","Send":"ë³´ë´ë¤","Send Anyway":"ì´ì¨ë ë³´ë´ê¸°","Send message request failed":"ë©ìì§ ë³´ë´ê¸° ìì² ì¤í¨","Sending...":"ë°°ìì¤...","Show all":"모ë 보기","Shuffle":"ì
í","Slow Mode ON":"ì¬ë¡ì° 모ë ì¼ì§","Some of the files will not be accepted":"ì¼ë¶ íì¼ì íì©ëì§ ìì ì ììµëë¤","Start typing to search":"ê²ìíë ¤ë©´ ì
ë ¥ì ììíì¸ì","Submit":"ì ì¶","Suggest an option":"ìµì
ì ì","Thinking...":"ìê° ì¤...","This message did not meet our content guidelines":"ì´ ë©ìì§ë ì½í
ì¸ ê°ì´ëë¼ì¸ì 충족íì§ ììµëë¤.","This message was deleted...":"ì´ ë©ìì§ë ìì ëììµëë¤...","Thread":"ì¤ë ë","To start recording, allow the camera access in your browser":"ë¸ë¼ì°ì ìì ì¹´ë©ë¼ ì¡ì¸ì¤ë¥¼ íì©íì¬ ë
¹ìì ììí©ëë¤","To start recording, allow the microphone access in your browser":"ë¸ë¼ì°ì ìì ë§ì´í¬ë¡í° ì¡ì¸ì¤ë¥¼ íì©íì¬ ë
¹ìì ììí©ëë¤","Type a number from 2 to 10":"2ìì 10 ì¬ì´ì ì«ì를 ì
ë ¥íì¸ì","Type your message":"ë©ìì§ ì
ë ¥","Unarchive":"ìì¹´ì´ë¸ í´ì ","Unmute":"ììê±° í´ì ","Unpin":"í í´ì ","Unread messages":"ì½ì§ ìì ë©ìì§","Unsupported attachment":"ì§ìëì§ ìë ì²¨ë¶ íì¼","Update your comment":"ëê¸ ì
ë°ì´í¸","Upload type: \\"{{ type }}\\" is not allowed":"ì
ë¡ë ì í: \\"{{ type }}\\"ì(ë) íì©ëì§ ììµëë¤.","User uploaded content":"ì¬ì©ì ì
ë¡ë ì½í
ì¸ ","View results":"ê²°ê³¼ 보기","View {{count}} comments_other":"{{count}}ê°ì ëê¸ ë³´ê¸°","Voice message":"ìì± ë©ìì§","Vote ended":"í¬í ì¢
ë£","Wait until all attachments have uploaded":"모ë ì²¨ë¶ íì¼ì´ ì
ë¡ëë ëê¹ì§ 기ë¤ë¦½ëë¤.","You":"ë¹ì ","You have no channels currently":"íì¬ ì±ëì´ ììµëë¤.","You\'ve reached the maximum number of files":"ìµë íì¼ ìì ëë¬íìµëë¤.","aria/Attachment":"ì²¨ë¶ íì¼","aria/Cancel Reply":"ëµì¥ ì·¨ì","aria/Cancel upload":"ì
ë¡ë ì·¨ì","aria/Channel list":"ì±ë 목ë¡","aria/Channel search results":"ì±ë ê²ì ê²°ê³¼","aria/Close thread":"ì¤ë ë ë«ê¸°","aria/Download attachment":"ì²¨ë¶ íì¼ ë¤ì´ë¡ë","aria/Emoji picker":"ì´ëª¨ì§ ì í기","aria/File input":"íì¼ ì
ë ¥","aria/File upload":"íì¼ ì
ë¡ë","aria/Image input":"ì´ë¯¸ì§ ì
ë ¥","aria/Load More Channels":"ë ë§ì ì±ë ë¶ë¬ì¤ê¸°","aria/Menu":"ë©ë´","aria/Message Options":"ë©ìì§ ìµì
","aria/Open Attachment Selector":"ì²¨ë¶ íì¼ ì í기 ì´ê¸°","aria/Open Message Actions Menu":"ë©ìì§ ì¡ì
ë©ë´ ì´ê¸°","aria/Open Reaction Selector":"ë°ì ì í기 ì´ê¸°","aria/Open Thread":"ì¤ë ë ì´ê¸°","aria/Reaction list":"ë°ì 목ë¡","aria/Remove attachment":"ì²¨ë¶ íì¼ ì ê±°","aria/Retry upload":"ì
ë¡ë ë¤ì ìë","aria/Search results":"ê²ì ê²°ê³¼","aria/Search results header filter button":"ê²ì ê²°ê³¼ í¤ë íí° ë²í¼","aria/Send":"ë³´ë´ê¸°","aria/Stop AI Generation":"AI ìì± ì¤ì§","ban-command-args":"[@ì¬ì©ìì´ë¦] [í
ì¤í¸]","ban-command-description":"ì¬ì©ì를 ì°¨ë¨","giphy-command-args":"[í
ì¤í¸]","giphy-command-description":"ì±ëì 무ìì GIF ê²ì","live":"ë¼ì´ë¸","mute-command-args":"[@ì¬ì©ìì´ë¦]","mute-command-description":"ì¬ì©ì ììê±°","replyCount_one":"ëµì¥ 1ê°","replyCount_other":"{{ count }} ëµì¥","search-results-header-filter-source-button-label--channels":"ì±ë","search-results-header-filter-source-button-label--messages":"ë©ìì§","search-results-header-filter-source-button-label--users":"ì¬ì©ì","searchResultsCount_one":"1ê°ì ê²°ê³¼","searchResultsCount_other":"{{ count }}ê° ê²°ê³¼","this content could not be displayed":"ì´ ì½í
ì¸ ë¥¼ íìí ì ììµëë¤","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@ì¬ì©ìì´ë¦]","unban-command-description":"ì¬ì©ì ì°¨ë¨ í´ì ","unmute-command-args":"[@ì¬ì©ìì´ë¦]","unmute-command-description":"ì¬ì©ì ììê±° í´ì ","unreadMessagesSeparatorText_other":"ì½ì§ ìì ë©ìì§ {{count}}ê°","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} ê·¸ë¦¬ê³ {{ moreCount }}ëª
ë","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} ê·¸ë¦¬ê³ {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} ê·¸ë¦¬ê³ {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }}ê° ë","{{ memberCount }} members":"{{ memberCount }}ëª
","{{ user }} has been muted":"{{ user }} ììê±°ëììµëë¤","{{ user }} has been unmuted":"{{ user }} ììê±°ê° í´ì ëììµëë¤","{{ user }} is typing...":"{{ user }}ì´(ê°) ì
ë ¥ ì¤ì
ëë¤...","{{ users }} and more are typing...":"{{ users }}ì(ê³¼) ë ë§ì ì¬ëë¤ì´ ì
ë ¥ ì¤ì
ëë¤...","{{ users }} and {{ user }} are typing...":"{{ users }}ì(ê³¼) {{ user }}ì´(ê°) ì
ë ¥ ì¤ì
ëë¤...","{{ watcherCount }} online":"{{ watcherCount }} ì¨ë¼ì¸","{{count}} unread_other":"{{count}} ì½ì§ ìì","{{count}} votes_other":"{{count}} í¬í","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 ë¶ì°©...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}}ì´(ê°) ìì±í¨: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}}ì´(ê°) í¬íí¨: {{pollOptionText}}"}'),eN=JSON.parse('{"Add a comment":"Voeg een opmerking toe","Add an option":"Voeg een optie toe","All results loaded":"Alle resultaten geladen","Allow access to camera":"Toegang tot camera toestaan","Allow access to microphone":"Toegang tot microfoon toestaan","Allow comments":"Sta opmerkingen toe","Allow option suggestion":"Sta optie-suggesties toe","An error has occurred during recording":"Er is een fout opgetreden tijdens het opnemen","An error has occurred during the recording processing":"Er is een fout opgetreden tijdens de verwerking van de opname","Anonymous":"Anoniem","Anonymous poll":"Anonieme peiling","Archive":"Archief","Ask a question":"Stel een vraag","Attach files":"Bijlage toevoegen","Cancel":"Annuleer","Cannot seek in the recording":"Kan niet zoeken in de opname","Channel Missing":"Kanaal niet gevonden","Close":"Sluit","Close emoji picker":"Sluit de emoji-kiezer","Commands matching":"Bijpassende opdrachten","Connection failure, reconnecting now...":"Verbindingsfout, opnieuw verbinden...","Create":"Maak","Create poll":"Maak peiling","Delete":"Verwijder","Delivered":"Afgeleverd","Download attachment {{ name }}":"Bijlage {{ name }} downloaden","Drag your files here":"Sleep je bestanden hier naartoe","Drag your files here to add to your post":"Sleep je bestanden hier naartoe om aan je bericht toe te voegen","Edit Message":"Bericht bewerken","Edit message request failed":"Verzoek om bericht bewerken mislukt","Edited":"Bewerkt","Emoji matching":"Emoji-overeenkomsten","Empty message...":"Leeg bericht...","End":"Einde","End vote":"Einde stem","Error adding flag":"Fout bij toevoegen van vlag","Error c
1onnecting to chat, refresh the page to try again.":"Fout bij het verbinden, ververs de pagina om nogmaals te proberen","Error deleting message":"Fout bij verwijderen van bericht","Error fetching reactions":"Fout bij het laden van reacties","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Fout bij markeren van bericht als ongelezen. Kan geen oudere ongelezen berichten markeren dan de nieuwste 100 kanaalberichten.","Error muting a user ...":"Fout bij het muten van de gebruiker","Error pinning message":"Fout bij vastzetten van bericht","Error removing message pin":"Fout bij verwijderen van berichtpin","Error reproducing the recording":"Fout bij het afspelen van de opname","Error starting recording":"Fout bij het starten van de opname","Error unmuting a user ...":"Fout bij het unmuten van de gebruiker","Error uploading attachment":"Fout bij het uploaden van de bijlage","Error uploading file":"Fout bij uploaden bestand","Error uploading image":"Fout bij uploaden afbeelding","Error \xb7 Unsent":"Fout \xb7 niet verzonden","Error: {{ errorMessage }}":"Fout: {{ errorMessage }}","Failed to jump to the first unread message":"Niet gelukt om naar het eerste ongelezen bericht te springen","Failed to mark channel as read":"Kanaal kon niet als gelezen worden gemarkeerd","Failed to play the recording":"Kan de opname niet afspelen","File":"Bestand","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Bestand is te groot: {{ size }}, maximale uploadgrootte is {{ limit }}","Flag":"Markeer","Generating...":"Genereren...","Latest Messages":"Laatste berichten","Load more":"Meer laden","Mark as unread":"Markeren als ongelezen","Maximum number of votes (from 2 to 10)":"Maximaal aantal stemmen (van 2 tot 10)","Menu":"Menu","Message Failed \xb7 Click to try again":"Bericht mislukt, klik om het nogmaals te proberen","Message Failed \xb7 Unauthorized":"Bericht mislukt, ongeautoriseerd","Message deleted":"Bericht verwijderd","Message has been successfully flagged":"Bericht is succesvol gemarkeerd","Message pinned":"Bericht vastgezet","Messages have been marked unread.":"Berichten zijn gemarkeerd als ongelezen.","Missing permissions to upload the attachment":"Missende toestemmingen om de bijlage te uploaden","Multiple answers":"Meerdere antwoorden","Mute":"Dempen","New":"Nieuwe","New Messages!":"Nieuwe Berichten!","No chats here yetâ¦":"Nog geen chats hier...","No results found":"Geen resultaten gevonden","Nobody will be able to vote in this poll anymore.":"Niemand kan meer stemmen in deze peiling.","Nothing yet...":"Nog niets ...","Ok":"Ok\xe9","Open emoji picker":"Open emojipicker","Option already exists":"Optie bestaat al","Options":"Opties","People matching":"Mensen die matchen","Pin":"Pin","Pinned by":"Vastgemaakt door","Poll":"Peiling","Poll comments":"Peiling opmerkingen","Poll options":"Peiling opties","Poll results":"Peiling resultaten","Question":"Vraag","Quote":"Citeer","Recording format is not supported and cannot be reproduced":"Opnameformaat wordt niet ondersteund en kan niet worden gereproduceerd","Reply":"Antwoord","Reply to Message":"Antwoord op bericht","Search":"Zoeken","Searching...":"Zoeken...","See all options ({{count}})_one":"Bekijk alle opties ({{count}})","See all options ({{count}})_other":"Bekijk alle opties ({{count}})","Select one":"Selecteer er een","Select one or more":"Selecteer een of meer","Select up to {{count}}_one":"Selecteer tot {{count}}","Select up to {{count}}_other":"Selecteer tot {{count}}","Send":"Verstuur","Send Anyway":"Toch versturen","Send message request failed":"Verzoek om bericht te verzenden mislukt","Sending...":"Aan het verzenden...","Show all":"Toon alles","Shuffle":"Schudden","Slow Mode ON":"Langzame modus aan","Some of the files will not be accepted":"Sommige bestanden zullen niet worden geaccepteerd","Start typing to search":"Begin met typen om te zoeken","Submit":"Versturen","Suggest an option":"Stel een optie voor","Thinking...":"Denken...","This message did not meet our content guidelines":"Dit bericht voldeed niet aan onze inhoudsrichtlijnen","This message was deleted...":"Dit bericht was verwijderd","Thread":"Draadje","To start recording, allow the camera access in your browser":"Om te beginnen met opnemen, sta toegang tot de camera toe in uw browser","To start recording, allow the microphone access in your browser":"Om te beginnen met opnemen, sta toegang tot de microfoon toe in uw browser","Type a number from 2 to 10":"Typ een getal van 2 tot 10","Type your message":"Type je bericht","Unarchive":"Uit archief halen","Unmute":"Dempen opheffen","Unpin":"Losmaken","Unread messages":"Ongelezen berichten","Unsupported attachment":"Niet-ondersteunde bijlage","Update your comment":"Werk je opmerking bij","Upload type: \\"{{ type }}\\" is not allowed":"Uploadtype: \\"{{ type }}\\" is niet toegestaan","User uploaded content":"Gebruikersge\xfcploade inhoud","View results":"Bekijk resultaten","View {{
1count}} comments_one":"Bekijk {{count}} opmerkingen","View {{count}} comments_other":"Bekijk {{count}} opmerkingen","Voice message":"Spraakbericht","Vote ended":"Stemmen be\xebindigd","Wait until all attachments have uploaded":"Wacht tot alle bijlagen zijn ge\xfcpload","You":"Jij","You have no channels currently":"Er zijn geen chats beschikbaar","You\'ve reached the maximum number of files":"Je hebt het maximale aantal bestanden bereikt","aria/Attachment":"Bijlage","aria/Cancel Reply":"Antwoord annuleren","aria/Cancel upload":"Upload annuleren","aria/Channel list":"Kanaallijst","aria/Channel search results":"Zoekresultaten voor kanalen","aria/Close thread":"Draad sluiten","aria/Download attachment":"Bijlage downloaden","aria/Emoji picker":"Emoji kiezer","aria/File input":"Bestandsinvoer","aria/File upload":"Bestand uploaden","aria/Image input":"Afbeelding invoeren","aria/Load More Channels":"Meer kanalen laden","aria/Menu":"Menu","aria/Message Options":"Berichtopties","aria/Open Attachment Selector":"Open bijlage selector","aria/Open Message Actions Menu":"Menu voor berichtacties openen","aria/Open Reaction Selector":"Reactiekiezer openen","aria/Open Thread":"Draad openen","aria/Reaction list":"Reactielijst","aria/Remove attachment":"Bijlage verwijderen","aria/Retry upload":"Upload opnieuw proberen","aria/Search results":"Zoekresultaten","aria/Search results header filter button":"Zoekresultaten header filter knop","aria/Send":"Verzenden","aria/Stop AI Generation":"AI-generatie stoppen","ban-command-args":"[@gebruikersnaam] [tekst]","ban-command-description":"Een gebruiker verbannen","giphy-command-args":"[tekst]","giphy-command-description":"Plaats een willekeurige gif in het kanaal","live":"live","mute-command-args":"[@gebruikersnaam]","mute-command-description":"Een gebruiker dempen","replyCount_one":"1 antwoord","replyCount_other":"{{ count }} antwoorden","search-results-header-filter-source-button-label--channels":"kanalen","search-results-header-filter-source-button-label--messages":"berichten","search-results-header-filter-source-button-label--users":"gebruikers","searchResultsCount_one":"1 resultaat","searchResultsCount_other":"{{ count }} resultaten","this content could not be displayed":"Deze inhoud kan niet weergegeven worden","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@gebruikersnaam]","unban-command-description":"Een gebruiker debannen","unmute-command-args":"[@gebruikersnaam]","unmute-command-description":"Een gebruiker niet meer dempen","unreadMessagesSeparatorText_one":"1 ongelezen bericht","unreadMessagesSeparatorText_other":"{{count}} ongelezen berichten","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} en {{ moreCount }} meer","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} en {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} en {{ secondUser }}","{{ imageCount }} more":"+{{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} deelnemers","{{ user }} has been muted":"{{ user }} is gedempt","{{ user }} has been unmuted":"{{ user }} is niet meer gedempt","{{ user }} is typing...":"{{ user }} is aan het typen...","{{ users }} and more are typing...":"{{ users }} en meer zijn aan het typen...","{{ users }} and {{ user }} are typing...":"{{ users }} en {{ user }} zijn aan het typen...","{{ watcherCount }} online":"{{ watcherCount }} online","{{count}} unread_one":"{{count}} ongelezen","{{count}} unread_other":"{{count}} ongelezen","{{count}} votes_one":"{{count}} stem","{{count}} votes_other":"{{count}} stemmen","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Bijlage...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} heeft gemaakt: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} heeft gestemd: {{pollOptionText}}"}'),eR=JSON.parse('{"Add a comment":"Adicionar um coment\xe1rio","Add an option":"Adicionar uma o
1p\xe7\xe3o","All results loaded":"Todos os resultados carregados","Allow access to camera":"Permitir acesso \xe0 c\xe2mera","Allow access to microphone":"Permitir acesso ao microfone","Allow comments":"Permitir coment\xe1rios","Allow option suggestion":"Permitir sugest\xe3o de op\xe7\xe3o","An error has occurred during recording":"Ocorreu um erro durante a grava\xe7\xe3o","An error has occurred during the recording processing":"Ocorreu um erro durante o processamento da grava\xe7\xe3o","Anonymous":"An\xf4nimo","Anonymous poll":"Enquete an\xf4nima","Archive":"Arquivar","Ask a question":"Fa\xe7a uma pergunta","Attach files":"Anexar arquivos","Cancel":"Cancelar","Cannot seek in the recording":"N\xe3o \xe9 poss\xedvel buscar na grava\xe7\xe3o","Channel Missing":"Canal ausente","Close":"Fechar","Close emoji picker":"Fechar seletor de emoji","Commands matching":"Comandos correspondentes","Connection failure, reconnecting now...":"Falha de conex\xe3o, reconectando agora...","Create":"Criar","Create poll":"Criar enquete","Delete":"Excluir","Delivered":"Entregue","Download attachment {{ name }}":"Baixar anexo {{ name }}","Drag your files here":"Arraste seus arquivos aqui","Drag your files here to add to your post":"Arraste seus arquivos aqui para adicionar ao seu post","Edit Message":"Editar Mensagem","Edit message request failed":"O pedido de edi\xe7\xe3o da mensagem falhou","Edited":"Editada","Emoji matching":"Emoji correspondente","Empty message...":"Mensagem vazia...","End":"Fim","End vote":"Encerrar vota\xe7\xe3o","Error adding flag":"Erro ao reportar","Error connecting to chat, refresh the page to try again.":"Erro ao conectar ao bate-papo, atualize a p\xe1gina para tentar novamente.","Error deleting message":"Erro ao deletar mensagem","Error fetching reactions":"Erro ao carregar rea\xe7\xf5es","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Erro ao marcar a mensagem como n\xe3o lida. N\xe3o \xe9 poss\xedvel marcar mensagens n\xe3o lidas mais antigas do que as 100 mensagens mais recentes do canal.","Error muting a user ...":"Erro ao silenciar um usu\xe1rio...","Error pinning message":"Erro ao fixar mensagem","Error removing message pin":"Erro ao remover o PIN da mensagem","Error reproducing the recording":"Erro ao reproduzir a grava\xe7\xe3o","Error starting recording":"Erro ao iniciar a grava\xe7\xe3o","Error unmuting a user ...":"Erro ao ativar o som de um usu\xe1rio...","Error uploading attachment":"Erro ao carregar o anexo","Error uploading file":"Erro ao enviar arquivo","Error uploading image":"Erro ao carregar a imagem","Error \xb7 Unsent":"Erro \xb7 N\xe3o enviado","Error: {{ errorMessage }}":"Erro: {{ errorMessage }}","Failed to jump to the first unread message":"Falha ao pular para a primeira mensagem n\xe3o lida","Failed to mark channel as read":"Falha ao marcar o canal como lido","Failed to play the recording":"Falha ao reproduzir a grava\xe7\xe3o","File":"Arquivo","File is too large: {{ size }}, maximum upload size is {{ limit }}":"O arquivo \xe9 muito grande: {{ size }}, o tamanho m\xe1ximo de upload \xe9 {{ limit }}","Flag":"Reportar","Generating...":"Gerando...","Latest Messages":"Mensagens mais recentes","Load more":"Carregar mais","Mark as unread":"Marcar como n\xe3o lida","Maximum number of votes (from 2 to 10)":"N\xfamero m\xe1ximo de votos (de 2 a 10)","Menu":"Menu","Message Failed \xb7 Click to try again":"A mensagem falhou \xb7 Clique para tentar novamente","Message Failed \xb7 Unauthorized":"A mensagem falhou \xb7 n\xe3o autorizado","Message deleted":"Mensagem apagada","Message has been successfully flagged":"A mensagem foi reportada com sucesso","Message pinned":"Mensagem fixada","Messages have been marked unread.":"Mensagens foram marcadas como n\xe3o lidas.","Missing permissions to upload the attachment":"Faltando permiss\xf5es para enviar o anexo","Multiple answers":"M\xfaltiplas respostas","Mute":"Silenciar","New":"Novo","New Messages!":"Novas Mensagens!","No chats here yetâ¦":"Ainda n\xe3o h\xe1 conversas aqui...","No results found":"Nenhum resultado encontrado","Nobody will be able to vote in this poll anymore.":"Ningu\xe9m mais poder\xe1 votar nesta pesquisa.","Nothing yet...":"Nada ainda...","Ok":"Ok","Open emoji picker":"Abrir seletor de emoji","Option already exists":"Op\xe7\xe3o j\xe1 existe","Options":"Op\xe7\xf5es","People matching":"Pessoas correspondentes","Pin":"Fixar","Pinned by":"Fixado por","Poll":"Enquete","Poll comments":"Coment\xe1rios da pesquisa","Poll options":"Op\xe7\xf5es da pesquisa","Poll results":"Resultados da pesquisa","Question":"Pergunta","Quote":"Citar","Recording format is not supported and cannot be reproduced":"Formato de grava\xe7\xe3o n\xe3o \xe9 suportado e n\xe3o pode ser reproduzido","Reply":"Responder","Reply to Message":"Responder \xe0 mensagem","Search":"Buscar","Searching...":"Buscando...","See all options ({{count}})_many":"Ver todas as op\xe7\xf5es ({{count}})","See all options ({{count}})_one":"Ver todas as op\xe7\xf5es ({{count}})","See all options ({{count}}
1)_other":"Ver todas as op\xe7\xf5es ({{count}})","Select one":"Selecionar um","Select one or more":"Selecionar um ou mais","Select up to {{count}}_many":"Selecionar at\xe9 {{count}}","Select up to {{count}}_one":"Selecionar at\xe9 {{count}}","Select up to {{count}}_other":"Selecionar at\xe9 {{count}}","Send":"Enviar","Send Anyway":"Enviar de qualquer forma","Send message request failed":"O pedido de envio da mensagem falhou","Sending...":"Enviando...","Show all":"Mostrar tudo","Shuffle":"Embaralhar","Slow Mode ON":"Modo lento LIGADO","Some of the files will not be accepted":"Alguns arquivos n\xe3o ser\xe3o aceitos","Start typing to search":"Comece a digitar para pesquisar","Submit":"Enviar","Suggest an option":"Sugerir uma op\xe7\xe3o","Thinking...":"Pensando...","This message did not meet our content guidelines":"Esta mensagem n\xe3o corresponde \xe0s nossas diretrizes de conte\xfado","This message was deleted...":"Esta mensagem foi exclu\xedda...","Thread":"Fio","To start recording, allow the camera access in your browser":"Para come\xe7ar a gravar, permita o acesso \xe0 c\xe2mera no seu navegador","To start recording, allow the microphone access in your browser":"Para come\xe7ar a gravar, permita o acesso ao microfone no seu navegador","Type a number from 2 to 10":"Digite um n\xfamero de 2 a 10","Type your message":"Digite sua mensagem","Unarchive":"Desarquivar","Unmute":"Ativar som","Unpin":"Desfixar","Unread messages":"Mensagens n\xe3o lidas","Unsupported attachment":"Anexo n\xe3o suportado","Update your comment":"Atualizar seu coment\xe1rio","Upload type: \\"{{ type }}\\" is not allowed":"Tipo de upload: \\"{{ type }}\\" n\xe3o \xe9 permitido","User uploaded content":"Conte\xfado enviado pelo usu\xe1rio","View results":"Ver resultados","View {{
1count}} comments_many":"Ver {{count}} coment\xe1rios","View {{count}} comments_one":"Ver {{count}} coment\xe1rio","View {{count}} comments_other":"Ver {{count}} coment\xe1rios","Voice message":"Mensagem de voz","Vote ended":"Vota\xe7\xe3o encerrada","Wait until all attachments have uploaded":"Espere at\xe9 que todos os anexos tenham sido carregados","You":"Voc\xea","You have no channels currently":"Voc\xea n\xe3o tem canais atualmente","You\'ve reached the maximum number of files":"Voc\xea atingiu o n\xfamero m\xe1ximo de arquivos","aria/Attachment":"Anexo","aria/Cancel Reply":"Cancelar resposta","aria/Cancel upload":"Cancelar upload","aria/Channel list":"Lista de canais","aria/Channel search results":"Resultados de pesquisa de canais","aria/Close thread":"Fechar t\xf3pico","aria/Download attachment":"Baixar anexo","aria/Emoji picker":"Seletor de emojis","aria/File input":"Entrada de arquivo","aria/File upload":"Carregar arquivo","aria/Image input":"Entrada de imagem","aria/Load More Channels":"Carregar mais canais","aria/Menu":"Menu","aria/Message Options":"Op\xe7\xf5es de mensagem","aria/Open Attachment Selector":"Abrir seletor de anexos","aria/Open Message Actions Menu":"Abrir menu de a\xe7\xf5es de mensagem","aria/Open Reaction Selector":"Abrir seletor de rea\xe7\xf5es","aria/Open Thread":"Abrir t\xf3pico","aria/Reaction list":"Lista de rea\xe7\xf5es","aria/Remove attachment":"Remover anexo","aria/Retry upload":"Tentar upload novamente","aria/Search results":"Resultados da pesquisa","aria/Search results header filter button":"Bot\xe3o de filtro do cabe\xe7alho dos resultados da pesquisa","aria/Send":"Enviar","aria/Stop AI Generation":"Parar gera\xe7\xe3o de IA","ban-command-args":"[@nomedeusu\xe1rio] [texto]","ban-command-description":"Banir um usu\xe1rio","giphy-command-args":"[texto]","giphy-command-description":"Postar um gif aleat\xf3rio no canal","live":"ao vivo","mute-command-args":"[@nomedeusu\xe1rio]","mute-command-description":"Silenciar um usu\xe1rio","replyCount_many":"{{ count }} respostas","replyCount_one":"1 resposta","replyCount_other":"{{ count }} respostas","search-results-header-filter-source-button-label--channels":"canais","search-results-header-filter-source-button-label--messages":"mensagens","search-results-header-filter-source-button-label--users":"usu\xe1rios","searchResultsCount_many":"{{ count }} resultados","searchResultsCount_one":"1 resultado","searchResultsCount_other":"{{ count }} resultados","this content could not be displayed":"este conte\xfado n\xe3o p\xf4de ser exibido","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@nomedeusu\xe1rio]","unban-command-description":"Desbanir um usu\xe1rio","unmute-command-args":"[@nomedeusu\xe1rio]","unmute-command-description":"Retirar o silenciamento de um usu\xe1rio","unreadMessagesSeparatorText_many":"{{count}} mensagens n\xe3o lidas","unreadMessagesSeparatorText_one":"1 mensagem n\xe3o lida","unreadMessagesSeparatorText_other":"{{count}} mensagens n\xe3o lidas","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} e mais {{ moreCount }}","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} e {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} e {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} mais","{{ memberCount }} members":"{{ memberCount }} membros","{{ user }} has been muted":"{{ user }} foi silenciado","{{ user }} has been unmuted":"{{ user }} foi reativado","{{ user }} is typing...":"{{ user }} est\xe1 digitando...","{{ users }} and more are typing...":"{{ users }} e mais est\xe3o digitando...","{{ users }} and {{ user }} are typing...":"{{ users }} e {{ user }} est\xe3o digitando...","{{ watcherCount }} online":"{{ watcherCount }} online","{{count}} unread_many":"{{count}} n\xe3o lidos","{{count}}
1 unread_one":"{{count}} n\xe3o lido","{{count}} unread_other":"{{count}} n\xe3o lidos","{{count}} votes_many":"{{count}} votos","{{count}} votes_one":"{{count}} voto","{{count}} votes_other":"{{count}} votos","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Anexo...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} criou: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} votou: {{pollOptionText}}"}'),ej=JSON.parse('{"Add a comment":"ÐобавиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий","Add an option":"ÐобавиÑÑ Ð²Ð°ÑианÑ","All results loaded":"ÐÑе ÑезÑлÑÑаÑÑ Ð·Ð°Ð³ÑÑженÑ","Allow access to camera":"РазÑеÑиÑÑ Ð´Ð¾ÑÑÑп к камеÑе","Allow access to microphone":"РазÑеÑиÑÑ Ð´Ð¾ÑÑÑп к микÑоÑонÑ","Allow comments":"РазÑеÑиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑии","Allow option suggestion":"РазÑеÑиÑÑ Ð¿Ñедложение ваÑианÑов","An error has occurred during recording":"ÐÑоизоÑла оÑибка во вÑÐµÐ¼Ñ Ð·Ð°Ð¿Ð¸Ñи","An error has occurred during the recording processing":"ÐÑоизоÑла оÑибка во вÑÐµÐ¼Ñ Ð¾Ð±ÑабоÑки запиÑи","Anonymous":"Ðноним","Anonymous poll":"ÐнонимнÑй опÑоÑ","Archive":"AÑÑ
ивиÑоваÑÑ","Ask a question":"ÐадаÑÑ Ð²Ð¾Ð¿ÑоÑ","Attach files":"ÐÑикÑепиÑÑ ÑайлÑ","Cancel":"ÐÑмена","Cannot seek in the recording":"Ðевозможно оÑÑÑеÑÑвиÑÑ Ð¿Ð¾Ð¸Ñк в запиÑи","Channel Missing":"Ðанал не найден","Close":"ÐакÑÑÑÑ","Close emoji picker":"ÐакÑÑÑÑ Ð¾ÐºÐ½Ð¾ вÑбоÑа Ñмайлов","Commands matching":"СооÑвеÑÑÑвие команд","Connection failure, reconnecting now...":"ÐÑибка ÑоединениÑ, пеÑеподклÑÑение...","Create":"СоздаÑÑ","Create poll":"СоздаÑÑ Ð¾Ð¿ÑоÑ","Delete":"УдалиÑÑ","Delivered":"ÐÑпÑавлено","Download attachment {{ name }}":"СкаÑаÑÑ Ð²Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ {{ name }}","Drag your files here":"ÐеÑеÑаÑиÑе ваÑи ÑÐ°Ð¹Ð»Ñ ÑÑда","Drag your files here to add to your post":"ÐеÑеÑаÑиÑе ваÑи ÑÐ°Ð¹Ð»Ñ ÑÑда, ÑÑÐ¾Ð±Ñ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð¸Ñ
в Ð²Ð°Ñ Ð¿Ð¾ÑÑ","Edit Message":"РедакÑиÑоваÑÑ ÑообÑение","Edit message request failed":"Ðе ÑдалоÑÑ Ð¸Ð·Ð¼ÐµÐ½Ð¸ÑÑ Ð·Ð°Ð¿ÑÐ¾Ñ ÑообÑениÑ","Edited":"ÐÑÑедакÑиÑовано","Emoji matching":"СооÑвеÑÑÑвие Ñмодзи","Empty message...":"ÐÑÑÑое ÑообÑение...","End":"ÐонеÑ","End vote":"ÐаконÑиÑÑ Ð³Ð¾Ð»Ð¾Ñование","Error adding flag":"ÐÑибка Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ñлага","Error connecting to chat, refresh the page to try again.":"ÐÑибка подклÑÑÐµÐ½Ð¸Ñ Ðº ÑаÑÑ, обновиÑе ÑÑÑаниÑÑ ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð¿ÑобоваÑÑ Ñнова.","Error deleting message":"ÐÑибка пÑи Ñдалении ÑообÑениÑ","Error fetching reactions":"ÐÑибка пÑи загÑÑзке ÑеакÑий","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"ÐÑибка пÑи оÑмеÑке ÑообÑÐµÐ½Ð¸Ñ ÐºÐ°Ðº непÑоÑиÑанного. Ðевозможно оÑмеÑиÑÑ ÐºÐ°Ðº непÑоÑиÑаннÑе ÑообÑÐµÐ½Ð¸Ñ ÑÑаÑÑе поÑледниÑ
100 ÑообÑений в канале.","Error muting a user ...":"ÐÑибка оÑклÑÑÐµÐ½Ð¸Ñ Ñведомлений Ð¾Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ...","Error pinning message":"СообÑение об оÑибке пÑи закÑеплении","Error removing message pin":"ÐÑибка пÑи Ñдалении бÑлавки ÑообÑениÑ","Error reproducing the recording":"ÐÑибка воÑпÑÐ¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð·Ð°Ð¿Ð¸Ñи","Error starting recording":"ÐÑибка пÑи запÑÑке запиÑи","Error unmuting a user ...":"ÐÑибка вклÑÑÐµÐ½Ð¸Ñ Ñведомлений...","Error uploading attachment":"ÐÑибка пÑи загÑÑзке вложениÑ","Error uploading file":"ÐÑибка пÑи загÑÑзке Ñайла","Error uploading image":"ÐÑибка загÑÑзки изобÑажениÑ","Error \xb7 Unsent":"ÐÑибка \xb7 Ðе оÑпÑавлено","Error: {{ errorMessage }}":"ÐÑибка: {{ errorMessage }}","Failed to jump to the first unread message":"Ðе ÑдалоÑÑ Ð¿ÐµÑейÑи Ð
1º пеÑÐ²Ð¾Ð¼Ñ Ð½ÐµÐ¿ÑоÑиÑÐ°Ð½Ð½Ð¾Ð¼Ñ ÑообÑениÑ","Failed to mark channel as read":"Ðе ÑдалоÑÑ Ð¿Ð¾Ð¼ÐµÑиÑÑ ÐºÐ°Ð½Ð°Ð» как пÑоÑиÑаннÑй","Failed to play the recording":"Ðе ÑдалоÑÑ Ð²Ð¾ÑпÑоизвеÑÑи запиÑÑ","File":"Файл","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Файл ÑлиÑком болÑÑой: {{ size }}, макÑималÑнÑй ÑÐ°Ð·Ð¼ÐµÑ Ð·Ð°Ð³ÑÑзки ÑоÑÑавлÑÐµÑ {{ limit }}","Flag":"ÐожаловаÑÑÑÑ","Generating...":"ÐенеÑиÑÑÑ...","Latest Messages":"ÐоÑледние ÑообÑениÑ","Load more":"ÐагÑÑзиÑÑ Ð±Ð¾Ð»ÑÑе","Mark as unread":"ÐÑмеÑиÑÑ ÐºÐ°Ðº непÑоÑиÑанное","Maximum number of votes (from 2 to 10)":"ÐакÑималÑное колиÑеÑÑво голоÑов (Ð¾Ñ 2 до 10)","Menu":"ÐенÑ","Message Failed \xb7 Click to try again":"ÐÑибка оÑпÑавки ÑообÑÐµÐ½Ð¸Ñ \xb7 ÐажмиÑе ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð²ÑоÑиÑÑ","Message Failed \xb7 Unauthorized":"ÐÑибка оÑпÑавки ÑообÑÐµÐ½Ð¸Ñ \xb7 ÐеавÑоÑизованнÑй","Message deleted":"СообÑение Ñдалено","Message has been successfully flagged":"Ðалоба на ÑообÑение бÑла пÑинÑÑа","Message pinned":"СообÑение закÑеплено","Messages have been marked unread.":"СообÑÐµÐ½Ð¸Ñ Ð±Ñли оÑмеÑÐµÐ½Ñ ÐºÐ°Ðº непÑоÑиÑаннÑе.","Missing permissions to upload the attachment":"ÐÑÑÑÑÑÑвÑÑÑ ÑазÑеÑÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð·Ð°Ð³ÑÑзки вложениÑ","Multiple answers":"ÐеÑколÑко оÑвеÑов","Mute":"ÐÑклÑÑиÑÑ ÑведомлениÑ","New":"ÐовÑе","New Messages!":"ÐовÑе ÑообÑениÑ!","No chats here yetâ¦":"ÐдеÑÑ ÐµÑе Ð½ÐµÑ ÑаÑов...","No results found":"РезÑлÑÑаÑÑ Ð½Ðµ найденÑ","Nobody will be able to vote in this poll anymore.":"ÐикÑо болÑÑе не ÑÐ¼Ð¾Ð¶ÐµÑ Ð³Ð¾Ð»Ð¾ÑоваÑÑ Ð² ÑÑом опÑоÑе.","Nothing yet...":"Ðока ниÑего неÑ...","Ok":"Ðк","Open emoji picker":"ÐÑкÑÑÑÑ Ð²ÑÐ±Ð¾Ñ Ñмайлов","Option already exists":"ÐаÑÐ¸Ð°Ð½Ñ Ñже ÑÑÑеÑÑвÑеÑ","Options":"ÐаÑианÑÑ","People matching":"СовпадаÑÑие лÑди","Pin":"ÐакÑепиÑÑ","Pinned by":"ÐакÑеплено","Poll":"ÐпÑоÑ","Poll comments":"ÐомменÑаÑии к опÑоÑÑ","Poll options":"ÐпÑии опÑоÑа","Poll results":"РезÑлÑÑаÑÑ Ð¾Ð¿ÑоÑа","Question":"ÐопÑоÑ","Quote":"ЦиÑиÑоваÑÑ","Recording format is not supported and cannot be reproduced":"ФоÑÐ¼Ð°Ñ Ð·Ð°Ð¿Ð¸Ñи не поддеÑживаеÑÑÑ Ð¸ не Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð²Ð¾ÑпÑоизведен","Reply":"ÐÑвеÑиÑÑ","Reply to Message":"ÐÑвеÑиÑÑ Ð½Ð° ÑообÑение","Search":"ÐоиÑк","Searching...":"ÐÑем...","See all options ({{count}})_few":"ÐоÑмоÑÑеÑÑ Ð²Ñе ваÑианÑÑ ({{count}})","See all options ({{count}})_many":"ÐоÑмоÑÑеÑÑ Ð²Ñе ваÑианÑÑ ({{count}})","See all options ({{count}})_one":"ÐоÑмоÑÑеÑÑ Ð²Ñе ваÑианÑÑ ({{count}})","See all options ({{count}})_other":"ÐоÑмоÑÑеÑÑ Ð²Ñе ваÑианÑÑ ({{count}})","Select one":"ÐÑбеÑиÑе один","Select one or more":"ÐÑбеÑиÑе один или неÑколÑко","Select up to {{count}}_few":"ÐÑбеÑиÑе до {{count}}","Select up to {{count}}_many":"ÐÑбеÑиÑе до {{count}}","Select up to {{count}}_one":"ÐÑбеÑиÑе до {{count}}","Select up to {{count}}_other":"ÐÑбеÑиÑе до {{count}}","Send":"ÐÑпÑавиÑÑ","Send Anyway":"Ðне вÑÑ Ñавно, оÑпÑавиÑÑ","Send message request failed":"Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ Ð·Ð°Ð¿ÑÐ¾Ñ Ð½Ð° оÑпÑÐ°Ð²ÐºÑ ÑообÑениÑ","Sending...":"ÐÑпÑавка...","Show all":"ÐоказаÑÑ Ð²Ñе","Shuffle":"ÐеÑемеÑаÑÑ","Slow Mode ON":"ÐедленнÑй Ñежим вклÑÑен","Some of the files will not be accepted":"ÐекоÑоÑÑе ÑÐ°Ð¹Ð»Ñ Ð½Ðµ бÑдÑÑ Ð¿ÑинÑÑÑ","Start t
1yping to search":"ÐаÑниÑе вводиÑÑ Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка","Submit":"ÐÑпÑавиÑÑ","Suggest an option":"ÐÑедложиÑÑ Ð²Ð°ÑианÑ","Thinking...":"ÐÑмаÑ...","This message did not meet our content guidelines":"СообÑение не ÑооÑвеÑÑÑвÑÐµÑ Ð¿Ñавилам","This message was deleted...":"СообÑение бÑло Ñдалено...","Thread":"ÐеÑка","To start recording, allow the camera access in your browser":"ÐÐ»Ñ Ð½Ð°Ñала запиÑи ÑазÑеÑиÑе доÑÑÑп к камеÑе в ваÑем бÑаÑзеÑе","To start recording, allow the microphone access in your browser":"ÐÐ»Ñ Ð½Ð°Ñала запиÑи ÑазÑеÑиÑе доÑÑÑп к микÑоÑÐ¾Ð½Ñ Ð² ваÑем бÑаÑзеÑе","Type a number from 2 to 10":"ÐведиÑе ÑиÑло Ð¾Ñ 2 до 10","Type your message":"ÐаÑе ÑообÑение","Unarchive":"УдалиÑÑ Ð¸Ð· аÑÑ
ива","Unmute":"ÐклÑÑиÑÑ ÑведомлениÑ","Unpin":"ÐÑкÑепиÑÑ","Unread messages":"ÐепÑоÑиÑаннÑе ÑообÑениÑ","Unsupported attachment":"ÐеподдеÑживаемое вложение","Update your comment":"ÐбновиÑе Ð²Ð°Ñ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий","Upload type: \\"{{ type }}\\" is not allowed":"Тип загÑÑзки: \\"{{ type }}\\" не ÑазÑеÑен","User uploaded content":"ÐолÑзоваÑÐµÐ»Ñ Ð·Ð°Ð³ÑÑзил конÑенÑ","View results":"ÐоÑмоÑÑеÑÑ ÑезÑлÑÑаÑÑ","View {{count}} comments_few":"ÐÑоÑмоÑÑеÑÑ {{count}} комменÑаÑиев","View {{count}} comments_many":"ÐÑоÑмоÑÑеÑÑ {{count}} комменÑаÑиев","View {{count}} comments_one":"ÐÑоÑмоÑÑеÑÑ {{count}} комменÑаÑий","View {{count}} comments_other":"ÐÑоÑмоÑÑеÑÑ {{count}} комменÑаÑиев","Voice message":"ÐолоÑовое ÑообÑение","Vote ended":"ÐолоÑование завеÑÑено","Wait until all attachments have uploaded":"ÐодождиÑе, пока вÑе Ð²Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð·Ð°Ð³ÑÑзÑÑÑÑ","You":"ÐÑ","You have no channels currently":"У Ð²Ð°Ñ Ð½ÐµÑ ÐºÐ°Ð½Ð°Ð»Ð¾Ð² в даннÑй моменÑ","You\'ve reached the maximum number of files":"ÐÑ Ð´Ð¾ÑÑигли макÑималÑного колиÑеÑÑва Ñайлов","aria/Attachment":"Ðложение","aria/Cancel Reply":"ÐÑмениÑÑ Ð¾ÑвеÑ","aria/Cancel upload":"ÐÑмениÑÑ Ð·Ð°Ð³ÑÑзкÑ","aria/Channel list":"СпиÑок каналов","aria/Channel search results":"РезÑлÑÑаÑÑ Ð¿Ð¾Ð¸Ñка по каналам","aria/Close thread":"ÐакÑÑÑÑ ÑемÑ","aria/Download attachment":"СкаÑаÑÑ Ð²Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ","aria/Emoji picker":"ÐÑÐ±Ð¾Ñ Ñмодзи","aria/File input":"Ðвод Ñайла","aria/File upload":"ÐагÑÑзка Ñайла","aria/Image input":"Ðвод изобÑажениÑ","aria/Load More Channels":"ÐагÑÑзиÑÑ Ð±Ð¾Ð»ÑÑе каналов","aria/Menu":"ÐенÑ","aria/Message Options":"ÐаÑамеÑÑÑ ÑообÑениÑ","aria/Open Attachment Selector":"ÐÑкÑÑÑÑ Ð²ÑÐ±Ð¾Ñ Ð²Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¹","aria/Open Message Actions Menu":"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ Ð´ÐµÐ¹ÑÑвий Ñ ÑообÑениÑми","aria/Open Reaction Selector":"ÐÑкÑÑÑÑ ÑелекÑÐ¾Ñ ÑеакÑий","aria/Open Thread":"ÐÑкÑÑÑÑ ÑемÑ","aria/Reaction list":"СпиÑок ÑеакÑий","aria/Remove attachment":"УдалиÑÑ Ð²Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ","aria/Retry upload":"ÐовÑоÑиÑÑ Ð·Ð°Ð³ÑÑзкÑ","aria/Search results":"РезÑлÑÑаÑÑ Ð¿Ð¾Ð¸Ñка","aria/Search results header filter button":"Ðнопка ÑилÑÑÑа заголовка ÑезÑлÑÑаÑов поиÑка","aria/Send":"ÐÑпÑавиÑÑ","aria/Stop AI Generation":"ÐÑÑановиÑÑ Ð³ÐµÐ½ÐµÑаÑÐ¸Ñ ÐÐ","ban-command-args":"[@имÑполÑзоваÑелÑ] [ÑекÑÑ]","ban-command-description":"ÐаблокиÑоваÑÑ Ð¿Ð¾Ð»ÑзоваÑелÑ","giphy-command-args":"[ÑекÑÑ]","giphy-command-description":"ÐпÑбликоваÑÑ ÑлÑÑайнÑÑ GIF-анимаÑÐ¸Ñ Ð² канале","live":"РпÑÑмом ÑÑиÑе","mute-command-args":"[@имÑÐ
1¿Ð¾Ð»ÑзоваÑелÑ]","mute-command-description":"ÐÑклÑÑиÑÑ Ð¼Ð¸ÐºÑоÑон Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ","replyCount_few":"{{ count }} оÑвеÑов","replyCount_many":"{{ count }} оÑвеÑов","replyCount_one":"1 оÑвеÑ","replyCount_other":"{{ count }} оÑвеÑов","search-results-header-filter-source-button-label--channels":"каналÑ","search-results-header-filter-source-button-label--messages":"ÑообÑениÑ","search-results-header-filter-source-button-label--users":"полÑзоваÑели","searchResultsCount_few":"{{ count }} ÑезÑлÑÑаÑа","searchResultsCount_many":"{{ count }} ÑезÑлÑÑаÑов","searchResultsCount_one":"1 ÑезÑлÑÑаÑ","searchResultsCount_other":"{{ count }} ÑезÑлÑÑаÑов","this content could not be displayed":"ÐÑÐ¾Ñ ÐºÐ¾Ð½ÑÐµÐ½Ñ Ð½Ðµ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¾ÑобÑажен в даннÑй моменÑ","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@имÑполÑзоваÑелÑ]","unban-command-description":"РазблокиÑоваÑÑ Ð¿Ð¾Ð»ÑзоваÑелÑ","unmute-command-args":"[@имÑполÑзоваÑелÑ]","unmute-command-description":"ÐклÑÑиÑÑ Ð¼Ð¸ÐºÑоÑон Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ","unreadMessagesSeparatorText_few":"1 непÑоÑиÑанное ÑообÑениÑ","unreadMessagesSeparatorText_many":"{{count}} непÑоÑиÑаннÑÑ
ÑообÑений","unreadMessagesSeparatorText_one":"1 непÑоÑиÑанное ÑообÑение","unreadMessagesSeparatorText_other":"{{count}} непÑоÑиÑаннÑÑ
ÑообÑений","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} и {{ moreCount }} еÑе","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} и {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} и {{ secondUser }}","{{ imageCount }} more":"ÐÑÑ {{ imageCount }}","{{ memberCount }} members":"{{ memberCount }} ÑÑаÑÑников","{{ user }} has been muted":"ÐÑ Ð¾ÑпиÑалиÑÑ Ð¾Ñ Ñведомлений Ð¾Ñ {{ user }}","{{ user }} has been unmuted":"Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾Ñ {{ user }} бÑли вклÑÑенÑ","{{ user }} is typing...":"{{ user }} пеÑаÑаеÑ...","{{ users }} and more are typing...":"{{ users }} и дÑÑгие пеÑаÑаÑÑ...","{{ users }} and {{ user }} are typing...":"{{ users }} и {{ user }} пеÑаÑаÑÑ...","{{ watcherCount }} online":"{{ watcherCount }} в ÑеÑи","{{count}} unread_few":"{{count}} непÑоÑиÑаннÑÑ
","{{count}} unread_many":"{{count}} непÑоÑиÑаннÑÑ
","{{count}} unread_one":"{{count}} непÑоÑиÑанное","{{count}} unread_other":"{{count}} непÑоÑиÑаннÑÑ
","{{count}} votes_few":"{{count}} голоÑа","{{count}} votes_many":"{{count}} голоÑов","{{count}} votes_one":"{{count}} голоÑ","{{count}} votes_other":"{{count}} голоÑов","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Ðложение...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} Ñоздал(а): {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} пÑоголоÑовал(а): {{pollOptionText}}"}'),eI=JSON.parse('{"Add a comment":"Yorum ekle","Add an option":"Bir se\xe7enek ekle","All results loaded":"T\xfcm sonu\xe7lar y\xfcklendi","Allow access to camera":"Kameraya eriÅime izin ver","Allow access to microphone":"Mikrofona eriÅime izin ver","Allow comments":"Yorumlara izin ver","Allow option suggestion":"Se\xe7enek \xf6nerisine izin ver","An error has occurred during recording":"Kayıt sırasında bir hata oluÅtu","An error has occurred during the recording processing":"Kayıt iÅlemi sırasında bir hata oluÅtu","Anonymous":"Anonim","Anonymous poll":"Anonim anket","Archive":"ArÅivle","Ask a question":"Bir soru sor","Attach files":"Dosya ekle","Cancel":"İptal","Cannot seek in the recording":"Kayıtta arama yapılamıyor","Channel Missing":"Kanal bulunamıyor","Close":"Kapat","Close emoji picker":"Emoji se\xe7iciyi kapat","Commands matching":"EÅleÅen komutlar","Connection failure, reconnecting now...":"BaÄlantı hatası, tekrar baÄlanılıyor...","Create":"OluÅtur","Create poll":"Anket oluÅtur","Delete":"Sil","Delivered":"İletildi","Download attachment {{ name }}":"Ek {{ name }}\'i indir","Drag your files here":"Dosyalarınızı buraya s\xfcr\xfckleyin","Drag your files here to add to your post":"G\xf6nderinize eklemek i\xe7in dosyalarınızı buraya s\xfcr\xfckleyin","Edit Message":"Mesajı D\xfczenle","Edit message request failed":"Mesaj d\xfczenleme isteÄi baÅarısız oldu","Edited":"D\xfczenlendi","Emoji matching":"Emoji eÅleÅtirme","Empty message...":"BoÅ mesaj...","End":"Son","End vote":"Oyu bitir","Error adding flag":"Bayrak eklenirken hata oluÅtu","Error c
1onnecting to chat, refresh the page to try again.":"BaÄlantı hatası, sayfayı yenileyip tekrar deneyin.","Error deleting message":"Mesaj silinirken hata oluÅtu","Error fetching reactions":"Reaksiyonlar alınırken hata oluÅtu","Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages.":"Mesajı okunmamıŠolarak iÅaretleme hatası. En yeni 100 kanal mesajından daha eski okunmamıŠmesajları iÅaretleme yapılamaz.","Error muting a user ...":"Kullanıcıyı sessize alırken hata oluÅtu ...","Error pinning message":"Mesaj sabitlenirken hata oluÅtu","Error removing message pin":"Mesaj PIN\'i kaldırılırken hata oluÅtu","Error reproducing the recording":"Kaydı yeniden \xfcretme hatası","Error starting recording":"Kayıt baÅlatılırken hata oluÅtu","Error unmuting a user ...":"Kullanıcının sesini a\xe7arken hata oluÅtu ...","Error uploading attachment":"Ek y\xfcklenirken hata oluÅtu","Error uploading file":"Dosya y\xfcklenirken hata oluÅtu","Error uploading image":"Resmi y\xfcklerken hata","Error \xb7 Unsent":"Hata \xb7 G\xf6nderilemedi","Error: {{ errorMessage }}":"Hata: {{ errorMessage }}","Failed to jump to the first unread message":"İlk okunmamıŠmesaja atlamada hata oluÅtu","Failed to mark channel as read":"Kanalı okundu olarak iÅaretleme baÅarısız oldu","Failed to play the recording":"Kayıt oynatılamadı","File":"Dosya","File is too large: {{ size }}, maximum upload size is {{ limit }}":"Dosya \xe7ok b\xfcy\xfck: {{ size }}, maksimum y\xfckleme boyutu {{ limit }}","Flag":"Bayrak","Generating...":"OluÅturuluyor...","Latest Messages":"Son Mesajlar","Load more":"Daha fazla y\xfckle","Mark as unread":"OkunmamıŠolarak iÅaretle","Maximum number of votes (from 2 to 10)":"Maksimum oy sayısı (2 ile 10 arası)","Menu":"Men\xfc","Message Failed \xb7 Click to try again":"Mesaj BaÅarısız \xb7 Tekrar denemek i\xe7in tıklayın","Message Failed \xb7 Unauthorized":"Mesaj BaÅarısız \xb7 Yetkisiz","Message deleted":"Mesaj silindi","Message has been successfully flagged":"Mesaj baÅarıyla bayraklandı","Message pinned":"Mesaj sabitlendi","Messages have been marked unread.":"Mesajlar okunmamıŠolarak iÅaretlendi.","Missing permissions to upload the attachment":"Ek y\xfcklemek i\xe7in izinler eksik","Multiple answers":"\xc7oklu cevaplar","Mute":"Sessiz","New":"Yeni","New Messages!":"Yeni Mesajlar!","No chats here yetâ¦":"Hen\xfcz burada sohbet yok...","No results found":"Sonu\xe7 bulunamadı","Nobody will be able to vote in this poll anymore.":"Artık bu ankette kimse oy kullanamayacak.","Nothing yet...":"Åimdilik hi\xe7bir Åey...","Ok":"Tamam","Open emoji picker":"Emoji klavyesini a\xe7","Option already exists":"Se\xe7enek zaten mevcut","Options":"Se\xe7enekler","People matching":"EÅleÅen kiÅiler","Pin":"Sabitle","Pinned by":"Sabitleyen","Poll":"Anket","Poll comments":"Anket yorumları","Poll options":"Anket se\xe7enekleri","Poll results":"Anket sonu\xe7ları","Question":"Soru","Quote":"Alıntı","Recording format is not supported and cannot be reproduced":"Kayıt formatı desteklenmiyor ve \xe7oÄaltılamıyor","Reply":"Cevapla","Reply to Message":"Mesaja Cevapla","Search":"Arama","Searching...":"Aranıyor...","See all options ({{count}})_one":"T\xfcm se\xe7enekleri g\xf6ster ({{count}})","See all options ({{count}})_other":"T\xfcm se\xe7enekleri g\xf6ster ({{count}})","Select one":"Birini se\xe7in","Select one or more":"Bir veya daha fazlasını se\xe7in","Select up to {{count}}_one":"En fazla {{count}}\'yi se\xe7in","Select up to {{count}}_other":"En fazla {{count}}\'yi se\xe7in","Send":"G\xf6nder","Send Anyway":"Yine de g\xf6nder","Send message request failed":"Mesaj g\xf6nderme isteÄi baÅarısız oldu","Sending...":"G\xf6nderiliyor...","Show all":"T\xfcm\xfcn\xfc g\xf6ster","Shuffle":"KarıÅtır","Slow Mode ON":"YavaÅ Mod A\xe7ık","Some of the files will not be accepted":"Bazı dosyalar kabul edilmeyecek","Start typing to search":"Aramak i\xe7in yazmaya baÅlayın","Submit":"G\xf6nder","Suggest an option":"Bir se\xe7enek \xf6nerin","Thinking...":"D\xfcÅ\xfcn\xfcyor...","This message did n
1ot meet our content guidelines":"Bu mesaj i\xe7erik y\xf6nergelerimize uygun deÄil","This message was deleted...":"Bu mesaj silindi...","Thread":"Konu","To start recording, allow the camera access in your browser":"Kayıt yapmaya baÅlamak i\xe7in tarayıcınızda kameraya eriÅime izin verin","To start recording, allow the microphone access in your browser":"Kayıt yapmaya baÅlamak i\xe7in tarayıcınızda mikrofona eriÅime izin verin","Type a number from 2 to 10":"2 ile 10 arasında bir sayı yazın","Type your message":"Mesajınızı yazın","Unarchive":"ArÅivden \xe7ıkar","Unmute":"Sesini a\xe7","Unpin":"Sabitlemeyi kaldır","Unread messages":"OkunmamıŠmesajlar","Unsupported attachment":"Desteklenmeyen ek","Update your comment":"Yorumunuzu g\xfcncelleyin","Upload type: \\"{{ type }}\\" is not allowed":"Y\xfckleme t\xfcr\xfc: \\"{{ type }}\\" izin verilmez","User uploaded content":"Kullanıcı tarafından y\xfcklenen i\xe7erik","View results":"Sonu\xe7ları g\xf6r\xfcnt\xfcle","View {{count}} comments_one":"{{count}} yorumu g\xf6r\xfcnt\xfcle","View {{count}} comments_other":"{{count}} yorumu g\xf6r\xfcnt\xfcle","Voice message":"Sesli mesaj","Vote ended":"Oylama sona erdi","Wait until all attachments have uploaded":"T\xfcm ekler y\xfcklenene kadar bekleyin","You":"Sen","You have no channels currently":"Hen\xfcz kanalınız yok","You\'ve reached the maximum number of files":"Maksimum dosya sayısına ulaÅtınız","aria/Attachment":"Ek","aria/Cancel Reply":"Cevabı İptal Et","aria/Cancel upload":"Y\xfcklemeyi İptal Et","aria/Channel list":"Kanal listesi","aria/Channel search results":"Kanal arama sonu\xe7ları","aria/Close thread":"Konuyu kapat","aria/Download attachment":"Ek indir","aria/Emoji picker":"Emoji se\xe7ici","aria/File input":"Dosya giriÅi","aria/File upload":"Dosya y\xfckleme","aria/Image input":"Resim giriÅi","aria/Load More Channels":"Daha Fazla Kanal Y\xfckle","aria/Menu":"Men\xfc","aria/Message Options":"Mesaj Se\xe7enekleri","aria/Open Attachment Selector":"Ek Se\xe7iciyi A\xe7","aria/Open Message Actions Menu":"Mesaj İÅlemleri Men\xfcs\xfcn\xfc A\xe7","aria/Open Reaction Selector":"Tepki Se\xe7iciyi A\xe7","aria/Open Thread":"Konuyu A\xe7","aria/Reaction list":"Tepki listesi","aria/Remove attachment":"Eki kaldır","aria/Retry upload":"Y\xfcklemeyi Tekrar Dene","aria/Search results":"Arama sonu\xe7ları","aria/Search results header filter button":"Arama sonu\xe7ları baÅlık filtre d\xfcÄmesi","aria/Send":"G\xf6nder","aria/Stop AI Generation":"Yapay Zeka \xdcretimini Durdur","ban-command-args":"[@kullanıcıadı] [metin]","ban-command-description":"Bir kullanıcıyı yasakla","giphy-command-args":"[metin]","giphy-command-description":"Rastgele bir gif\'i kanala g\xf6nder","live":"canlı","mute-command-args":"[@kullanıcıadı]","mute-command-description":"Bir kullanıcının sesini kapat","replyCount_one":"1 cevap","replyCount_other":"{{ count }} cevap","search-results-header-filter-source-button-label--channels":"kanallar","search-results-header-filter-source-button-label--messages":"mesajlar","search-results-header-filter-source-button-label--users":"kullanıcılar","searchResultsCount_one":"1 sonu\xe7","searchResultsCount_other":"{{ count }} sonu\xe7","this content could not be displayed":"bu i\xe7erik g\xf6sterilemiyor","timestamp/DateSeparator":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/MessageTimestamp":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/PollVote":"{{ timestamp | timestampFormatter(format: MMM D [at] HH:mm) }}","timestamp/PollVoteTooltip":"{{ timestamp | timestampFormatter(calendar: true) }}","timestamp/SystemMessage":"{{ timestamp | timestampFormatter(format: dddd L) }}","unban-command-args":"[@kullanıcıadı]","unban-command-description":"Bir kullanıcının yasaÄını kaldır","unmute-command-args":"[@kullanıcıadı]","unmute-command-description":"Bir kullanıcının sesini a\xe7","unreadMessagesSeparatorText_one":"1 okunmamıŠmesaj","unreadMessagesSeparatorText_other":"{{count}} okunmamıŠmesaj","{{ commaSeparatedUsers }} and {{ moreCount }} more":"{{ commaSeparatedUsers }} ve {{ moreCount }} daha","{{ commaSeparatedUsers }}, and {{ lastUser }}":"{{ commaSeparatedUsers }} ve {{ lastUser }}","{{ firstUser }} and {{ secondUser }}":"{{ firstUser }} ve {{ secondUser }}","{{ imageCount }} more":"{{ imageCount }} adet daha","{{ memberCount }} members":"{{ memberCount }} \xfcye","{{ user }} has been muted":"{{ user }} sessize alındı","{{ user }} has been unmuted":"{{ user }} sesi a\xe7ıldı","{{ user }} is typing...":"{{ user }} yazıyor...","{{ users }} and more are typing...":"{{ users }} ve diÄerleri yazıyor...","{{ users }} and {{ user }} are typing...":"{{ users }} ve {{ user }} yazıyor...","{{ watcherCount }} online":"{{ watcherCount }} \xe7evrimi\xe7i","{{count}}
1 unread_one":"{{count}} okunmamıÅ","{{count}} unread_other":"{{count}} okunmamıÅ","{{count}} votes_one":"{{count}} oy","{{count}} votes_other":"{{count}} oy","\uD83C\uDFD9 Attachment...":"\uD83C\uDFD9 Ek...","\uD83D\uDCCA {{createdBy}} created: {{ pollName}}":"\uD83D\uDCCA {{createdBy}} oluÅturdu: {{ pollName}}","\uD83D\uDCCA {{votedBy}} voted: {{pollOptionText}}":"\uD83D\uDCCA {{votedBy}} oy verdi: {{pollOptionText}}"}');n(80790),n(67763),n(96023),n(77573),n(15551),n(76831),n(19132),n(99182),n(15001),n(70600),n(73035),n(25054);let eB="translation";em().extend(eg()),em().extend(ew()),em().extend(ek()),em().updateLocale("de",{calendar:{lastDay:"[gestern um] LT",lastWeek:"[letzten] dddd [um] LT",nextDay:"[morgen um] LT",nextWeek:"dddd [um] LT",sameDay:"[heute um] LT",sameElse:"L"}}),em().updateLocale("es",{calendar:{lastDay:"[ayer a las] LT",lastWeek:"[pasado] dddd [a] LT",nextDay:"[ma\xf1ana a] LT",nextWeek:"dddd [a] LT",sameDay:"[hoy a las] LT",sameElse:"L"}}),em().updateLocale("fr",{calendar:{lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",sameDay:"[Aujourdâhui \xe0] LT",sameElse:"L"}}),em().updateLocale("hi",{calendar:{lastDay:"[à¤à¤²] LT",lastWeek:"[पिà¤à¤²à¥] dddd, LT",nextDay:"[à¤à¤²] LT",nextWeek:"dddd, LT",sameDay:"[à¤à¤] LT",sameElse:"L"},meridiem:e=>e<4?"रात":e<10?"सà¥à¤¬à¤¹":e<17?"दà¥à¤ªà¤¹à¤°":e<20?"शाम":"रात",meridiemHour(e,t){if(12===e&&(e=0),"रात"===t)return e<4?e:e+12;if("सà¥à¤¬à¤¹"===t);else if("दà¥à¤ªà¤¹à¤°"===t)return e>=10?e:e+12;else if("शाम"===t)return e+12;return e},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/}),em().updateLocale("it",{calendar:{lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",sameDay:"[Oggi alle] LT",sameElse:"L"}}),em().updateLocale("ja",{calendar:{lastDay:"[æ¨æ¥] LT",lastWeek:"dddd LT",nextDay:"[ææ¥] LT",nextWeek:"[次ã®] dddd LT",sameDay:"[仿¥] LT",sameElse:"L"}}),em().updateLocale("ko",{calendar:{lastDay:"[ì´ì ] LT",lastWeek:"[ì§ë] dddd LT",nextDay:"[ë´ì¼] LT",nextWeek:"dddd LT",sameDay:"[ì¤ë] LT",sameElse:"L"}}),em().updateLocale("nl",{calendar:{lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",sameDay:"[vandaag om] LT",sameElse:"L"}}),em().updateLocale("pt",{calendar:{lastDay:"[ontem \xe0s] LT",lastWeek:"dddd [passada \xe0s] LT",nextDay:"[amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",sameDay:"[hoje \xe0s] LT",sameElse:"L"}}),em().updateLocale("ru",{calendar:{lastDay:"[ÐÑеÑа, в] LT",nextDay:"[ÐавÑÑа, в] LT",sameDay:"[СегоднÑ, в] LT"}}),em().updateLocale("tr",{calendar:{lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",sameDay:"[bug\xfcn saat] LT",sameElse:"L"}});let eU={formats:{},months:["January","February","March","April","May","June","July","August","September","October","November","December"],relativeTime:{},weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ez=e=>void 0!==e.extend,eH=e=>void 0!==e.tz,eV={DateTimeParser:em(),dayjsLocaleConfigForLanguage:null,debug:!1,disableDateTimeTranslations:!1,language:"en",logger:e=>console.warn(e)};class e${constructor(e={}){this.i18nInstance=ec.createInstance(),this.Dayjs=null,this.setLanguageCallback=()=>null,this.initialized=!1,this.t=o.DE,this.translations={de:{[eB]:eS},en:{[eB]:eM},es:{[eB]:eT},fr:{[eB]:eO},hi:{[eB]:eF},it:{[eB]:eP},ja:{[eB]:eA},ko:{[eB]:eL},nl:{[eB]:eN},pt:{[eB]:eR},ru:{[eB]:ej},tr:{[eB]:eI}},this.dayjsLocales={},this.formatters=o.kd,this.localeExists=e=>!!this.isCustomDateTimeParser||Object.keys(em().Ls).indexOf(e)>-1,this.validateCurrentLanguage=()=>{let e=Object.keys(this.translations);-1===e.indexOf(this.currentLanguage)&&(this.logger(`Streami18n: '${this.currentLanguage}' language is not registered. Please make sure to call streami18n.registerTranslation('${this.currentLanguage}', {...}
1) or use one the built-in supported languages - ${this.getAvailableLanguages()}`),this.currentLanguage="en")},this.geti18Instance=()=>this.i18nInstance,this.getAvailableLanguages=()=>Object.keys(this.translations),this.getTranslations=()=>this.translations;let t={...eV,...e};this.logger=t.logger,this.currentLanguage=t.language,this.DateTimeParser=t.DateTimeParser,this.timezone=t.timezone,this.formatters={...o.kd,...e?.formatters};try{this.DateTimeParser&&ez(this.DateTimeParser)&&(this.DateTimeParser.extend(ev()),this.DateTimeParser.extend(ef()),this.DateTimeParser.extend(eD()),this.DateTimeParser.extend(eE()))}catch(e){throw Error(`Streami18n: Looks like you wanted to provide Dayjs instance, but something went wrong while adding plugins ${e}`)}this.isCustomDateTimeParser=!!e.DateTimeParser;let n=t.translationsForLanguage;n&&(this.translations[this.currentLanguage]={[eB]:this.translations[this.currentLanguage]&&this.translations[this.currentLanguage][eB]?{...this.translations[this.currentLanguage][eB],...n}:n}),this.translations[this.currentLanguage]||(this.translations[this.currentLanguage]={[eB]:{}}),this.i18nextConfig={debug:t.debug,fallbackLng:!1,interpolation:{escapeValue:!1,formatSeparator:"|"},keySeparator:!1,lng:this.currentLanguage,nsSeparator:!1},t.parseMissingKeyHandler&&(this.i18nextConfig.parseMissingKeyHandler=t.parseMissingKeyHandler),this.validateCurrentLanguage();let r=t.dayjsLocaleConfigForLanguage;r?this.addOrUpdateLocale(this.currentLanguage,{...r}):this.localeExists(this.currentLanguage)||this.logger(`Streami18n: Streami18n(...) - Locale config for ${this.currentLanguage} does not exist in momentjs.Please import the locale file using "import 'moment/locale/${this.currentLanguage}';" in your app or register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)`),this.tDateTimeParser=e=>{let n=t.disableDateTimeTranslations||!this.localeExists(this.currentLanguage)?"en":this.currentLanguage;return ez(this.DateTimeParser)?eH(this.DateTimeParser)?this.DateTimeParser(e).tz(this.timezone).locale(n):this.DateTimeParser(e).locale(n):eH(this.DateTimeParser)&&this.timezone?this.DateTimeParser(e).tz(this.timezone).locale(n):this.DateTimeParser(e).locale(n)}}
1async init(){this.validateCurrentLanguage();try{this.t=await this.i18nInstance.init({...this.i18nextConfig,lng:this.currentLanguage,resources:this.translations}),this.initialized=!0,this.formatters&&Object.entries(this.formatters).forEach(([e,t])=>{t&&this.i18nInstance.services.formatter?.add(e,t(this))})}catch(e){this.logger(`Something went wrong with init: ${JSON.stringify(e)}`)}return{t:this.t,tDateTimeParser:this.tDateTimeParser}}async getTranslators(){return this.initialized?{t:this.t,tDateTimeParser:this.tDateTimeParser}:(this.dayjsLocales[this.currentLanguage]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),await this.init())}registerTranslation(e,t,n){if(!t){this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) called without translation");return}this.translations[e]?this.translations[e][eB]=t:this.translations[e]={[eB]:t},n?this.dayjsLocales[e]={...n}:this.localeExists(e)||this.logger(`Streami18n: registerTranslation(language, translation, customDayjsLocale) - Locale config for ${e} does not exist in Dayjs.Please import the locale file using "import 'dayjs/locale/${e}';" in your app or register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)`),this.initialized&&this.i18nInstance.addResources(e,eB,t)}addOrUpdateLocale(e,t){this.localeExists(e)?em().updateLocale(e,{...t}):em().locale({name:e,...eU,...t},void 0,!0)}async setLanguage(e){if(this.currentLanguage=e,this.initialized)try{let t=await this.i18nInstance.changeLanguage(e);return this.dayjsLocales[e]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),this.setLanguageCallback(t),t}catch(e){return this.logger(`Failed to set language: ${JSON.stringify(e)}`),this.t}}registerSetLanguageCallback(e){this.setLanguageCallback=e}}let eZ=({client:e,defaultLanguage:t="en",i18nInstance:n,initialNavOpen:a})=>{let[i,s]=(0,r.useState)({t:e=>e,tDateTimeParser:o.u9,userLanguage:"en"}),[l,u]=(0,r.useState)(),[c,d]=(0,r.useState)([]),[m,p]=(0,r.useState)(a),[f,h]=(0,r.useState)({}),g=e.user?.mutes||[],y=()=>p(!1),v=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!e)return;let t=e.getUserAgent();return t.includes("stream-chat-react")||e.setUserAgent(`stream-chat-react-12.13.1-${t}`),e.threads.registerSubscriptions(),e.polls.registerSubscriptions(),()=>{e.threads.unregisterSubscriptions(),e.polls.unregisterSubscriptions()}},[e]),(0,r.useEffect)(()=>{d(g);let t=e=>{d(e.me?.mutes||[])};return e.on("notification.mutes_updated",t),()=>e.off("notification.mutes_updated",t)},[g?.length]),(0,r.useEffect)(()=>{let r=e.user?.language;if(!r){let e=window.navigator.language.slice(0,2);r=(0,o.Eb)(e)?e:t}let a=n||new e$({language:r});a.registerSetLanguageCallback(e=>s(t=>({...t,t:e}))),a.getTranslators().then(e=>{s({...e,userLanguage:r||t})})},[n]);let b=(0,r.useCallback)(async(e,t={},n)=>{n&&n.preventDefault&&n.preventDefault(),e&&Object.keys(t).length&&await e.query({watch:!0,watchers:t}),u(e),y()},[]);return(0,r.useEffect)(()=>{h({})},[e.user?.id]),{channel:l,closeMobileNav:y,getAppSettings:()=>(v.current||(v.current=e.getAppSettings()),v.current),latestMessageDatesByChannels:f,mutes:c,navOpen:m,openMobileNav:()=>setTimeout(()=>p(!0),100),setActiveChannel:b,translators:i}},eY=e=>{let{channel:t,channelsQueryState:n,client:a,closeMobileNav:o,customClasses:i,getAppSettings:s,isMessageAIGenerated:l,latestMessageDatesByChannels:u,mutes:c,navOpen:d,openMobileNav:m,searchController:p,setActiveChannel:f,theme:h,useImageFlagEmojisOnWindows:g}=e,y=t?.cid,v=n.error,b=n.queryInProgress,D=`${a.clientID}${Object.keys(a.activeChannels).length}${Object.keys(a.listeners).length}${a.mutedChannels.length} 2 ${a.user?.id}`,_=c.length,E=(0,r.useMemo)(()=>({channel:t,channelsQueryState:n,client:a,closeMobileNav:o,customClasses:i,getAppSettings:s,isMessageAIGenerated:l,latestMessageDatesByChannels:u,mutes:c,navOpen:d,openMobileNav:m,searchController:p,setActiveChannel:f,theme:h,useImageFlagEmojisOnWindows:g}),[y,v,b,D,s,p,_,d,l]);return E},eW=()=>{let[e,t]=(0,r.useState)(null),[n,a]=(0,r.useState)("uninitialized");return{error:e,queryInProgress:n,setError:t,setQueryInProgress:a}};var eq=n(83156),eK=n(21681);let eG=e=>{let{children:t,client:n,customClasses:o,defaultLanguage:i,i18nInstance:s,initialNavOpen:l=!0,isMessageAIGenerated:u,searchController:c,theme:d="messaging light",useImageFlagEmojisOnWindows:m=!1}=e,{channel:p,closeMobileNav:f,getAppSettings:h,latestMessageDatesByChannels:g,mutes:y,navOpen:v,openMobileNav:b,setActiveChannel:D,translators:_}=eZ({client:n,defaultLanguage:i,i18nInstance:s,initialNavOpen:l}),E=eW(),C=(0,r.useMemo)(()=>c??new a.J6({sources:[new a.Zr(n),new a.Bn(n),new a.B$(n)]}),[n,c]),w=eY({channel:p,channelsQueryState:E,client:n,closeMobileNav:f,customClasses:o,getAppSettings:h,isMessageAIGenerated:u,latestMessageDatesByChannels:g,mutes:y,navOpen:v,openMobileNav:b,searchController:C,setActiveChannel:D,theme:d,useImageFlagEmojisOnWindows:m});return _.t?r.createElement(eq.aM,{value:w},r.createElement(eK.$j,{value:_},t)):null}},16164:function(e,t,n){"use strict";n.d(t,{d:function(){return a}});var r=n(67294);let a=r.memo(e=>{let{entity:t}=e;return r.createElement("div",{className:"str-chat__slash-command"},r.createElement("span",{className:"str-chat__slash-command-header"},r.createElement("strong",null,t.name)," ",t.args),r.createElement("br",null),r.createElement("span",{className:"str-chat__slash-command-description"},t.description))})},69725:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var r=n(70149),a=n(67294),o=n(13441),i=n(40867),s=n(60329),l=n(19025);let u=({children:e,className:t,focus:n=!0,id:u,placement:c="auto",referenceElement:d=null,trapFocus:m,...p})=>{let f=(0,l.Rh)({id:u}
2),h=(0,l.wB)(u),{attributes:g,setPopperElement:y,styles:v}=function({open:e,placement:t,referenceElement:n}){let[r,o]=(0,a.useState)(null),{attributes:s,styles:l,update:u}=(0,i.D)(n,r,{modifiers:[{name:"eventListeners",options:{resize:!1,scroll:!1}}],placement:t});return(0,a.useEffect)(()=>{e&&r&&u?.()},[e,r,u]),r&&!e&&o(null),{attributes:s,setPopperElement:o,styles:l}}({open:h,placement:c,referenceElement:d});return((0,a.useEffect)(()=>{if(!h)return;let e=e=>{"Escape"===e.key&&f?.close()};return document.addEventListener("keyup",e),()=>{document.removeEventListener("keyup",e)}},[f,h]),h)?a.createElement(s.A,{dialogId:u},a.createElement(o.MT,{autoFocus:n,contain:m,restoreFocus:!0},a.createElement("div",{...p,...g.popper,className:(0,r.Z)("str-chat__dialog-contents",t),"data-testid":"str-chat__dialog-contents",ref:y,style:v.popper,tabIndex:0},e))):null}},60329:function(e,t,n){"use strict";n.d(t,{A:function(){return l},t:function(){return s}});var r=n(67294),a=n(19025),o=n(3897),i=n(7706);let s=()=>{let{dialogManager:e}=(0,i._)(),t=(0,a.xu)();return r.createElement("div",{className:"str-chat__dialog-overlay","data-str-chat__portal-id":e.id,"data-testid":"str-chat__dialog-overlay",onClick:()=>e.closeAll(),style:{"--str-chat__dialog-overlay-height":t>0?"100%":"0"}})},l=({children:e,dialogId:t})=>{let{dialogManager:n}=(0,i._)(),s=(0,a.wB)(t),l=(0,r.useCallback)(()=>document.querySelector(`div[data-str-chat__portal-id="${n.id}"]`),[n.id]);return r.createElement(o.h,{getPortalDestination:l,isOpen:s},e)}},19025:function(e,t,n){"use strict";n.d(t,{Rh:function(){return i},wB:function(){return s},xu:function(){return u}});var r=n(67294),a=n(7706),o=n(59852);let i=({id:e})=>{let{dialogManager:t}=(0,a._)();return(0,r.useEffect)(()=>()=>{t.markForRemoval(e)},[t,e]),t.getOrCreate({id:e})},s=e=>{let{dialogManager:t}=(0,a._)(),n=(0,r.useCallback)(({dialogsById:t})=>({isOpen:!!t[e]?.isOpen}),[e]);return(0,o.B)(t.state,n).isOpen},l=e=>({openedDialogCount:Object.values(e.dialogsById).reduce((e,t)=>t.isOpen?e+1:e,0)}),u=()=>{let{dialogManager:e}=(0,a._)();return(0,o.B)(e.state,l).openedDialogCount}},28237:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(67294),a=n(21681);let o=()=>r.createElement("svg",{"data-testid":"chat-bubble",fill:"none",height:"96",viewBox:"0 0 136 136",width:"96",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M106 24.5H30C24.775 24.5 20.5 28.775 20.5 34V119.5L39.5 100.5H106C111.225 100.5 115.5 96.225 115.5 91V34C115.5 28.775 111.225 24.5 106 24.5ZM106 91H39.5L30 100.5V34H106V91Z",fill:"#B4B7BB"})),i=r.memo(e=>{let{listType:t}=e,{t:n}=(0,a.Ht)("EmptyStateIndicator");if("thread"===t)return null;if("channel"===t){let e=n("You have no channels currently");return r.createElement(r.Fragment,null,r.createElement("div",{className:"str-chat__channel-list-empty"},r.createElement(o,null),r.createElement("p",{role:"listitem"},e)))}if("message"===t){let e=n("No chats here yetâ¦");return r.createElement("div",{className:"str-chat__empty-channel"},r.createElement(o,null),r.createElement("p",{className:"str-chat__empty-channel-text",role:"listitem"},e))}return r.createElement("p",null,"No items exist")})},69203:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(70149),a=n(67294);let o=({className:e,text:t,...n})=>a.createElement("div",{...n,className:(0,r.Z)("str-chat__form-field-error",e)},t)},6892:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),a=n(70149),o=n(98250);let i=(0,r.forwardRef)(function({...e},t){let{className:n,onError:i}=e,[s,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>()=>{l(!1)},[e.src]),r.createElement(r.Fragment,null,r.createElement("img",{"data-testid":"str-chat__base-image",...e,className:(0,a.Z)(n,"str-chat__base-image",{"str-chat__base-image--load-failed":s}),onError:e=>{l(!0),i?.(e)},ref:t}),s&&r.createElement(o.o,{assetUrl:e.src}))})},44498:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(67294);let a=r.memo(e=>{let{color:t="#006CFF",size:n=15}=e;return r.createElement("div",{className:"str-chat__loading-indicator","data-testid":"loading-indicator-wrapper",style:{height:n,width:n}},r.createElement("svg",{height:n,viewBox:"0 0 30 30",width:n,xmlns:"http://www.w3.org/2000/svg"},r.createElement("defs",null,r.createElement("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},r.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:"0"}),r.createElement("stop",{"data-testid":"loading-indicator-circle",offset:"100%",stopColor:t,stopOpacity:"1",style:{stopColor:t}}))),r.createElement("path",{d:"M2.518 23.321l1.664-1.11A12.988 12.988 0 0 0 15 28c7.18 0 13-5.82 13-13S22.18 2 15 2V0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-5.206 0-9.792-2.652-12.482-6.679z",fill:"url(#a)",fillRule:"evenodd"})))},(e,t)=>e.color===t.color&&e.size===t.size)},4783:function(e,t,n){"use strict";n.d(t,{a:function(){return u},f:function(){return a}});var r,a,o=n(54568),i=n(40708),s=n(88671);(r=a||(a={})).CAM="camera",r.MIC="microphone";let l={audio:a.MIC,video:a.CAM};class u{constructor({mediaType:e}){this.state=new s.X(void 0),this.status=new s.X(void 0),this.error=new i.x,this.changeSubscriptions=[],this.name=l[e]}get isWatching(){return this.changeSubscriptions.some(e=>!e.closed)}
2async watch(){if(!this.status.value&&(await this.check(),!this.status.value))return;let e=this.status.value,t=e=>{let{state:t}=e.target;this.state.next(t)};e.addEventListener("change",t),this.changeSubscriptions.push(new o.w(()=>{e.removeEventListener("change",t)}))}unwatch(){this.changeSubscriptions.forEach(e=>e.unsubscribe())}async check(){let e;if(!this.name){this.error.next(Error("Unknown media recording permission"));return}try{let t=await navigator.permissions.query({name:this.name});e=t.state,this.status.next(t)}catch(t){e="granted"}this.state.next(e)}}},55926:function(e,t,n){"use strict";n.d(t,{j_:function(){return N},vJ:function(){return i},hX:function(){return s}});var r,a,o,i,s,l=n(86027),u=n.n(l),c=n(53416),d=n(88671),m=n(40708),p=n(20586);let f=e=>e&&console.error("[AMPLITUDE RECORDER ERROR]",e),h=e=>Math.sqrt(e.reduce((e,t)=>e+Math.pow(t,2),0)/e.length),g={analyserConfig:{fftSize:32,maxDecibels:0,minDecibels:-100},sampleCount:100,samplingFrequencyMs:60};(r=o||(o={})).CLOSED="closed",r.RECORDING="recording",r.STOPPED="stopped";class y{constructor({config:e,stream:t}){this.amplitudes=new d.X([]),this.state=new d.X(void 0),this.error=new m.x,this.start=()=>{if(this.state.value!==o.CLOSED){if(!this.stream)throw Error("Missing MediaStream instance. Cannot to start amplitude recording");if(this.state.value===o.RECORDING&&this.stop(),!this.analyserNode){if(!this.stream)return;this.init()}this.state.next(o.RECORDING),this.amplitudeSamplingInterval=setInterval(()=>{if(!(this.analyserNode&&this.state.value===o.RECORDING))return;let e=new Uint8Array(this.analyserNode.frequencyBinCount);try{this.analyserNode.getByteFrequencyData(e)}catch(e){f(e),this.error.next(e);return}let t=h(e)/255;this.amplitudes.next([...this.amplitudes.value,t])},this.config.samplingFrequencyMs)}},this.config=(0,p.o)({...e},g),this.stream=t}init(){this.audioContext=new AudioContext,this.analyserNode=this.audioContext.createAnalyser();let{analyserConfig:e}=this.config;this.analyserNode.fftSize=e.fftSize,this.analyserNode.maxDecibels=e.maxDecibels,this.analyserNode.minDecibels=e.minDecibels,this.microphone=this.audioContext.createMediaStreamSource(this.stream),this.microphone.connect(this.analyserNode)}stop(){clearInterval(this.amplitudeSamplingInterval),this.amplitudeSamplingInterval=void 0,this.state.next(o.STOPPED)}close(){this.state.value!==o.STOPPED&&this.stop(),this.state.next(o.CLOSED),this.amplitudes.next([]),this.microphone?.disconnect(),this.analyserNode?.disconnect(),this.audioContext?.state!=="closed"&&this.audioContext?.close()}}var v=n(4783),b=n(6918);let D=async e=>{let t=new AudioContext,n=await (0,b.pV)(e),r=await t.decodeAudioData(n);return"closed"!==t.state&&await t.close(),r},_=async(e,t)=>{let n=new OfflineAudioContext(e.numberOfChannels,e.duration*t,t),r=n.createBufferSource();return r.buffer=e,r.connect(n.destination),r.start(),await n.startRendering()},E={AUDIO_FORMAT:{offset:20,value:1},BITS_PER_SAMPLE:{offset:34,value:16},BLOCK_ALIGN:{offset:32},BYTE_RATE:{offset:28},CHANNEL_COUNT:{offset:22},CHUNK_ID:{offset:0,value:1380533830},CHUNK_SIZE:{offset:4},FILE_FORMAT:{offset:8,value:1463899717},SAMPLE_RATE:{offset:24},SUBCHUNK1_ID:{offset:12,value:1718449184},SUBCHUNK1_SIZE:{offset:16,value:16},SUBCHUNK2_ID:{offset:36,value:1684108385},SUBCHUNK2_SIZE:{offset:40}},C=e=>e.charCodeAt(0)<<24|e.charCodeAt(1)<<16|e.charCodeAt(2)<<8|e.charCodeAt(3);C("data"),C("fmt "),C("RIFF"),C("WAVE");let w=({arrayBuffer:e,channelCount:t,sampleRate:n})=>{let r=n*t*2,a=2*t,o=new DataView(e),i=Math.min(o.byteLength-44,4294967251);o.setUint32(E.CHUNK_ID.offset,E.CHUNK_ID.value),o.setUint32(E.CHUNK_SIZE.offset,e.byteLength-8,!0),o.setUint32(E.FILE_FORMAT.offset,E.FILE_FORMAT.value),o.setUint32(E.SUBCHUNK1_ID.offset,E.SUBCHUNK1_ID.value),o.setUint32(E.SUBCHUNK1_SIZE.offset,E.SUBCHUNK1_SIZE.value,!0),o.setUint16(E.AUDIO_FORMAT.offset,E.AUDIO_FORMAT.value,!0),o.setUint16(E.CHANNEL_COUNT.offset,t,!0),o.setUint32(E.SAMPLE_RATE.offset,n,!0),o.setUint32(E.BYTE_RATE.offset,r,!0),o.setUint16(E.BLOCK_ALIGN.offset,a,!0),o.setUint16(E.BITS_PER_SAMPLE.offset,E.BITS_PER_SAMPLE.value,!0),o.setUint32(E.SUBCHUNK2_ID.offset,E.SUBCHUNK2_ID.value),o.setUint32(E.SUBCHUNK2_SIZE.offset,i,!0)},x=e=>Array.from({length:e.numberOfChannels},(t,n)=>e.getChannelData(n)),k=({arrayBuffer:e,dataByChannel:t})=>{let n=new DataView(e),r=t.length;t.forEach((e,t)=>{let a=44+r*t;
2e.forEach(e=>{n.setInt16(a,e<0?32768*Math.max(-1,e):32767*Math.min(1,e),!0),a+=2*r})})},S=async(e,t)=>{let n=await _(await D(e),t),r=n.duration*t,a=r*n.numberOfChannels*2+44,o=new ArrayBuffer(a);return w({arrayBuffer:o,channelCount:n.numberOfChannels,sampleRate:t}),k({arrayBuffer:o,dataByChannel:x(n)}),new Blob([o],{type:"audio/wav"})},M=({blob:e,encoder:t=S,sampleRate:n})=>t((0,b.au)({blobsArray:[e],fileName:`audio_recording_${new Date().toISOString()}.${(0,b.jM)(e.type)}`,mimeType:e.type}),n);var T=n(82613),O=n(66722);let F={audio:{others:"audio/webm",safari:"audio/mp4;codecs=mp4a.40.2"}},P={sampleRate:16e3},A=e=>{e?.active&&e.getTracks().forEach(t=>{t.stop(),e.removeTrack(t)})},L=e=>e&&console.error("[MEDIA RECORDER ERROR]",e);(a=i||(i={})).PAUSED="paused",a.RECORDING="recording",a.STOPPED="stopped",(s||(s={})).VOICE_RECORDING="voiceRecording";class N{constructor({config:e,generateRecordingTitle:t,t:n}={}){this.recordedChunkDurations=[],this.recordedData=[],this.recordingState=new d.X(void 0),this.recording=new d.X(void 0),this.error=new m.x,this.notification=new m.x,this.generateRecordingTitle=e=>this.customGenerateRecordingTitle?this.customGenerateRecordingTitle(e):`${this.mediaType}_recording_${new Date().toISOString()}.${(0,b.jM)(e)}`,this.makeVoiceRecording=async()=>{if(this.recordingUri&&URL.revokeObjectURL(this.recordingUri),!this.recordedData.length)return;let{mimeType:e}=this.mediaRecorderConfig,t=new Blob(this.recordedData,{type:e});if(e.match("audio/webm")&&(t=await u()(t,this.durationMs,{logger:()=>null})),e.match("audio/mp4")||(t=await M({blob:t,...this.transcoderConfig})),!t)return;this.recordingUri=URL.createObjectURL(t);let n=(0,b.au)({blobsArray:[t],fileName:this.generateRecordingTitle(t.type),mimeType:t.type});return{asset_url:this.recordingUri,duration:this.durationMs/1e3,file_size:t.size,localMetadata:{file:n,id:(0,c.x0)()},mime_type:t.type,title:n.name,type:s.VOICE_RECORDING,waveform_data:(0,T.me)(this.amplitudeRecorder?.amplitudes.value??[],this.amplitudeRecorderConfig.sampleCount)}},this.handleErrorEvent=e=>{let{error:t}=e;L(t),this.error.next(t),this.notification.next({text:this.t("An error has occurred during recording"),type:"error"})},this.handleDataavailableEvent=async e=>{if(e.data.size&&"audio"===this.mediaType)try{this.recordedData.push(e.data);let t=await this.makeVoiceRecording();if(!t)return;this.signalRecordingReady?.(t),this.recording.next(t)}catch(e){L(e),this.error.next(e),this.notification.next({text:this.t("An error has occurred during the recording processing"),type:"error"})}},this.resetRecordingState=()=>{this.recordedData=[],this.recording.next(void 0),this.recordingState.next(void 0),this.recordedChunkDurations=[],this.startTime=void 0},this.cleanUp=()=>{this.resetRecordingState(),this.recordingUri&&URL.revokeObjectURL(this.recordingUri),this.amplitudeRecorder?.close(),this.mediaRecorder&&(A(this.mediaRecorder.stream),this.mediaRecorder.removeEventListener("dataavailable",this.handleDataavailableEvent),this.mediaRecorder.removeEventListener("error",this.handleErrorEvent))},this.start=async()=>{if([i.RECORDING,i.PAUSED].includes(this.recordingState.value)){let e=Error("Cannot start recording. Recording already in progress");L(e),this.error.next(e);return}if(!navigator.mediaDevices){let e=Error("Media recording is not supported");L(e),this.error.next(e),this.notification.next({text:this.t("Error starting recording"),type:"error"});return}if("video"===this.mediaType){let e=Error(`Video recording is not supported. Provided MIME type: ${this.mediaRecorderConfig.mimeType}`);L(e),this.error.next(e),this.notification.next({text:this.t("Error starting recording"),type:"error"});return}if(this.permission.state.value||await this.permission.check(),"denied"===this.permission.state.value){L(Error("Permission denied"));return}try{let e=await navigator.mediaDevices.getUserMedia({audio:!0});this.mediaRecorder=new MediaRecorder(e,this.mediaRecorderConfig),this.mediaRecorder.addEventListener("dataavailable",this.handleDataavailableEvent),this.mediaRecorder.addEventListener("error",this.handleErrorEvent),this.startTime=new Date().getTime(),this.mediaRecorder.start(),"audio"===this.mediaType&&e&&(this.amplitudeRecorder=new y({config:this.amplitudeRecorderConfig,stream
2:e}),this.amplitudeRecorder.start()),this.recordingState.next(i.RECORDING)}catch(e){L(e),this.cancel(),this.error.next(e),this.notification.next({text:this.t("Error starting recording"),type:"error"})}},this.pause=()=>{this.recordingState.value===i.RECORDING&&(this.startTime&&(this.recordedChunkDurations.push(new Date().getTime()-this.startTime),this.startTime=void 0),this.mediaRecorder?.pause(),this.amplitudeRecorder?.stop(),this.recordingState.next(i.PAUSED))},this.resume=()=>{this.recordingState.value===i.PAUSED&&(this.startTime=new Date().getTime(),this.mediaRecorder?.resume(),this.amplitudeRecorder?.start(),this.recordingState.next(i.RECORDING))},this.stop=()=>{let e=this.recording.value;if(e)return Promise.resolve(e);if(![i.PAUSED,i.RECORDING].includes(this.mediaRecorder?.state||""))return Promise.resolve(void 0);this.startTime&&(this.recordedChunkDurations.push(new Date().getTime()-this.startTime),this.startTime=void 0);let t=new Promise(e=>{this.signalRecordingReady=e});return this.mediaRecorder?.stop(),this.amplitudeRecorder?.stop(),this.recordingState.next(i.STOPPED),t},this.cancel=()=>{this.stop(),this.cleanUp()},this.t=n||O.DE,this.amplitudeRecorderConfig=(0,p.o)({...e?.amplitudeRecorderConfig},g),this.mediaRecorderConfig=(0,p.o)({...e?.mediaRecorderConfig},{mimeType:MediaRecorder.isTypeSupported("audio/webm")?F.audio.others:F.audio.safari}),this.transcoderConfig=(0,p.o)({...e?.transcoderConfig},P);let r=(0,b.We)(this.mediaRecorderConfig.mimeType);if(!r)throw Error(`Unsupported media type (supported audio or video only). Provided mimeType: ${this.mediaRecorderConfig.mimeType}`);this.mediaType=r,this.permission=new v.a({mediaType:r}),this.customGenerateRecordingTitle=t}get durationMs(){return this.recordedChunkDurations.reduce((e,t)=>e+t,0)}}},88671:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(40708),a=n(3227);class o extends r.x{constructor(e){super(),this._value=e}get value(){let{_value:e,thrownError:t}=this;if(t)throw t;return e}subscribe(e){let t=(0,a.z)(e),n=super.subscribe(e);return n.closed||t.next(this._value),n}next(e){super.next(this._value=e)}}},3227:function(e,t,n){"use strict";function r(e){return"function"==typeof e?{next:e}:e}n.d(t,{z:function(){return r}})},40708:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(3227),a=n(54568);class o{constructor(e){this._closed=!1,e&&(this._producer=e)}get closed(){return this._closed}subscribe(e){let t=(0,r.z)(e);return this.closed||this._producer?.(t),new a.w(()=>{this._closed=!0})}}class i extends o{constructor(){super(),this._observers=new Map,this._observerCounter=0}get observers(){return Array.from(this._observers.values())}next(e){if(this.closed)return;let t=this.observers;for(let n=0;n<t.length;n++)t[n].next(e)}error(e){if(this.closed)return;this.thrownError=e;let{observers:t}=this;for(let n=0;n<t.length;n++)t[n].error?.(e);this._observers.clear()}complete(){if(this.closed)return;this._closed=!0;let{observers:e}=this;for(let t=0;t<e.length;t++)e[t].complete?.();this._observers.clear()}subscribe(e){let t=(0,r.z)(e);if(this.thrownError||this.closed){let e=new a.w;return e.closed=!0,e}let n=this._observerCounter++;return this._observers.set(n,t),new a.w(()=>{this._observers.delete(n)})}unsubscribe(){this._closed=!0,this._observers.clear()}}},54568:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});class r{constructor(e){this.closed=!1,this._unsubscribe=e}unsubscribe(){this.closed=!0,this._unsubscribe?.()}}},29688:function(e,t,n){"use strict";function r(e){return e.replace(/[-[\]{}()*+?.,/\\^$|#]/g,"\\$&")}n.d(t,{IE:function(){return o},Wd:function(){return a},aL:function(){return i},hr:function(){return r}});let a=/(http(s?):\/\/)?(www\.)?/,o=e=>{let t=e.match(/```[a-z]*\n[\s\S]*?\n```|`[a-z]*[\s\S]*?`/gm);return t||[]},i=e=>{let t=e.match(/\[([^[]+)\](\(.*\))/gm),n=/\[([^[]+)\]\((.*)\)/,r=t?t.map(e=>{let t=n.exec(e);return t&&[t[1],t[2]]}):[];return r.flat()}},69427:function(e,t,n){"use strict";n.d(t,{IY:function(){return tD}});var r=n(67294),a=n(35573),o=n(65155),i=n(18618),s=n.n(i);function l(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}var u=n(24345),c=n(15459),d=n(88718),m=n(96093);let p="phrasing",f=["autolink","link","image","label"];function h(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function g(e){this.config.enter.autolinkProtocol.call(this,e)}function y(e){this.config.exit.autolinkProtocol.call(this,e)}function v(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,u.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function b(e){this.config.exit.autolinkEmail.call(this,e)}function D(e){this.exit(e)}function _(e){!function(e,t,n){let r=(0,m.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var a;let e=n[r];t.push(["string"==typeof(a=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a),"g"):a,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<a.length;)(0,d.S4)(e,"text",i);function i(e,t){let n,i=-1;for(;++i<t.length;){let e=t[i],a=n?n.children:void 0;if(r(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=a[o][0],i=a[o][1],s=0,l=n.children,u=l.indexOf(e),c=!1,d=[];r.lastIndex=0;let m=r.exec(e.value);for(;m;){let n=m.index,a={index:m.index,input:m.input,stack:[...t,e]},o=i(...m,a);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?d.push(...o):o&&d.push(o),s=n+m[0].length,c=!0),!r.global)break;m=r.exec(e.value)}return c?(s<e.value.length&&d.push({type:"text",value:e.value.slice(s)}),n.children.splice(u,1,...d)):d=[e],u+d.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,C]],{ignore:["link","linkReference"]})}function E(e,t,n,r,a){let o="";if(!w(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let i=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=l(e,"("),o=l(e,")");for(;-1!==r&&a>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!i[0])return!1;let s={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function C(e,t,n,r){return!(!w(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function w(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,c.B8)(n)||(0,c.Xh)(n))&&(!t||47!==n)}var x=n(11098);function k(){this.buffer()}function S(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function M(){this.buffer()}function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,u.ok)("footnoteReference"===n.type),n.identifier=(0,x.d)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function F(e){this.exit(e)}function P(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,u.ok)("footnoteDefinition"===n.type),n.identifier=(0,x.d)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function A(e){this.exit(e)}function L(e,t,n,r){let a=n.createTracker(r),o=a.move("[^"),i=n.enter("footnoteReference"),s=n.enter("reference");return o+=a.move(n.safe(n.associationId(e),{after:"]",before:o})),s(),i(),o+=a.move("]")}function N(e,t,n){return 0===t?e:R(e,t,n)}function R(e,t,n){return(n?"":" ")+e}L.peek=function(){return"["};let j=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function I(e){this.enter({type:"delete",children:[]},e)}function B(e){this.exit(e)}function U(e,t,n,r){let a=n.createTracker(r),o=n.enter("strikethrough"),i=a.move("~~");return i+=n.containerPhrasing(e,{...a.current(),before:i,after:"~"})+a.move("~~"),o(),i}function z(e){return e.length}function H(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}
2function V(e,t,n){return">"+(n?"":" ")+e}function $(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Z(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;){var o,i;if("\n"===n.unsafe[a].character&&$(o=n.stack,(i=n.unsafe[a]).inConstruct,!0)&&!$(o,i.notInConstruct,!1))return/[ \t]/.test(r.before)?"":" "}return"\\\n"}function Y(e,t,n){return(n?"":" ")+e}function W(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function q(e){return"&#x"+e.toString(16).toUpperCase()+";"}U.peek=function(){return"~"};var K=n(62987);function G(e,t,n){let r=(0,K.r)(e),a=(0,K.r)(t);return void 0===r?void 0===a?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===a?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===a?{inside:!1,outside:!1}:1===a?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===a?{inside:!1,outside:!1}:1===a?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function J(e,t,n,r){let a=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),i=n.createTracker(r),s=i.move(a),l=i.move(n.containerPhrasing(e,{after:a,before:s,...i.current()})),u=l.charCodeAt(0),c=G(r.before.charCodeAt(r.before.length-1),u,a);c.inside&&(l=q(u)+l.slice(1));let d=l.charCodeAt(l.length-1),m=G(r.after.charCodeAt(0),d,a);m.inside&&(l=l.slice(0,-1)+q(d));let p=i.move(a);return o(),n.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},s+l+p}J.peek=function(e,t,n){return n.options.emphasis||"*"};var Q=n(21623),X=n(27962);function ee(e){return e.value||""}function et(e,t,n,r){let a=W(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("image"),s=n.enter("label"),l=n.createTracker(r),u=l.move("![");return u+=l.move(n.safe(e.alt,{before:u,after:"]",...l.current()}))+l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),u+=l.move(" "+a),u+=l.move(n.safe(e.title,{before:u,after:a,...l.current()}))+l.move(a),s()),u+=l.move(")"),i(),u}function en(e,t,n,r){let a=e.referenceType,o=n.enter("imageReference"),i=n.enter("label"),s=n.createTracker(r),l=s.move("!["),u=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),i();let c=n.stack;n.stack=[],i=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=c,o(),"full"!==a&&u&&u===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function er(e,t,n){let r=e.value||"",a="`",o=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e;let t=n.unsafe[o],a=n.compilePattern(t);if(t.atBreak)for(;e=a.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return a+r+a}function ea(e,t){let n=(0,X.B)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function eo(e,t,n,r){let a,o;let i=W(n),s='"'===i?"Quote":"Apostrophe",l=n.createTracker(r);if(ea(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),o=n.enter("label");let u=l.move("[");return u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()}))+l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}))+l.move(">")):(o=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${s}`),u+=l.move(" "+i),u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()}))+l.move(i),o()),u+=l.move(")"),a(),u}function ei(e,t,n,r){let a=e.referenceType,o=n.enter("linkReference"),i=n.enter("label"),s=n.createTracker(r),l=s.move("["),u=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),i();let c=n.stack;n.stack=[],i=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=c,o(),"full"!==a&&u&&u===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function es(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function el(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}ee.peek=function(){return"<"},et.peek=function(){return"!"},en.peek=function(){return"!"},er.peek=function(){return"`"},eo.peek=function(e,t,n){return ea(e,n)?"<":"["},ei.peek=function(){return"["};let eu=(0,m.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ec(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),i=n.createTracker(r),s=i.move(a+a),l=i.move(n.containerPhrasing(e,{after:a,before:s,...i.current()})),u=l.charCodeAt(0),c=G(r.before.charCodeAt(r.before.length-1),u,a);c.inside&&(l=q(u)+l.slice(1));let d=l.charCodeAt(l.length-1),m=G(r.after.charCodeAt(0),d,a);m.inside&&(l=l.slice(0,-1)+q(d));let p=i.move(a+a);return o(),n.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},s+l+p}ec.peek=function(e,t,n){return n.options.strong||"*"};let ed={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);
2let i=n.indentLines(n.containerFlow(e,o.current()),V);return a(),i},break:Z,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",i="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(o,Y);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),a=r,o=0,i=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===a?++o>i&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i}(o,a)+1,3)),u=n.enter("codeFenced"),c=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${i}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${i}`);c+=s.move(" "),c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()})),t()}return c+=s.move("\n"),o&&(c+=s.move(o+"\n")),c+=s.move(l),u(),c},definition:function(e,t,n,r){let a=W(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),u=l.move("[");return u+=l.move(n.safe(n.associationId(e),{before:u,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),u+=l.move(" "+a),u+=l.move(n.safe(e.title,{before:u,after:a,...l.current()}))+l.move(a),s()),i(),u},emphasis:J,hardBreak:Z,heading:function(e,t,n,r){let a;let o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(a=!1,(0,Q.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,d.BK}),(!e.depth||e.depth<3)&&(0,X.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===o?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let s="#".repeat(o),l=n.enter("headingAtx"),u=n.enter("phrasing");i.move(s+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(c)&&(c=q(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),u(),l(),c},html:ee,image:et,imageReference:en,inlineCode:er,link:eo,linkReference:ei,list:function(e,t,n,r){let a=n.enter("list"),o=n.bulletCurrent,i=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):es(n),s=e.ordered?"."===i?")":".":function(e){let t=es(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&i===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),el(n)===i&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(i=s),n.bulletCurrent=i;let u=n.containerFlow(e,r);return n.bulletLastUsed=i,n.bulletCurrent=o,a(),u},listItem:function(e,t,n,r){let a=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||es(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));let s=n.createTracker(r);s.move(o+" ".repeat(i-o.length)),s.shift(i);let l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?o:o+" ".repeat(i-o.length))+e});return l(),u},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),a(),i},root:function(e,t,n,r){let a=e.children.some(function(e){return eu(e)}),o=a?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)},strong:ec,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(el(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function em(e){let t=e._align;(0,u.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ep(e){this.exit(e),this.data.inTable=void 0}function ef(e){this.enter({type:"tableRow",children:[]},e)}function eh(e){this.exit(e)}function eg(e){this.enter({type:"tableCell",children:[]},e)}function ey(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ev));let n=this.stack[this.stack.length-1];(0,u.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ev(e,t){return"|"===t?t:e}function eb(e){let t=this.stack[this.stack.length-2];(0,u.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function eD(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,u.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,o=-1;for(;++o<a.length;){let e=a[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function e_(e,t,n,r){let a=e.children[0],o="boolean"==typeof e.checked&&a&&"paragraph"===a.type,i="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(i);let l=ed.listItem(e,t,n,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),l}var eE=n(4663);
2let eC={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),a):n(o)};function a(e){return null===e?n(e):t(e)}},partial:!0},ew={tokenize:function(e,t,n){let r,a,o;return i;function i(t){return 46===t||95===t?e.check(ek,l,s)(t):null===t||(0,c.z3)(t)||(0,c.B8)(t)||45!==t&&(0,c.Xh)(t)?l(t):(o=!0,e.consume(t),i)}function s(t){return 95===t?r=!0:(a=r,r=void 0),e.consume(t),i}function l(e){return a||r||!o?n(e):t(e)}},partial:!0},ex={tokenize:function(e,t){let n=0,r=0;return a;function a(i){return 40===i?(n++,e.consume(i),a):41===i&&r<n?o(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(ek,t,o)(i):null===i||(0,c.z3)(i)||(0,c.B8)(i)?t(i):(e.consume(i),a)}function o(t){return 41===t&&r++,e.consume(t),a}},partial:!0},ek={tokenize:function(e,t,n){return r;function r(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),r):38===i?(e.consume(i),o):93===i?(e.consume(i),a):60===i||null===i||(0,c.z3)(i)||(0,c.B8)(i)?t(i):n(i)}function a(e){return null===e||40===e||91===e||(0,c.z3)(e)||(0,c.B8)(e)?t(e):r(e)}function o(t){return(0,c.jv)(t)?function t(a){return 59===a?(e.consume(a),r):(0,c.jv)(a)?(e.consume(a),t):n(a)}(t):n(t)}},partial:!0},eS={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,c.H$)(e)?n(e):t(e)}},partial:!0},eM={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!eA.call(r,r.previous)||ej(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(eC,e.attempt(ew,e.attempt(ex,a),n),n)(t))};function a(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:eA},eT={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,a="",o=!1;return function(t){return(72===t||104===t)&&eL.call(r,r.previous)&&!ej(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(t),e.consume(t),i):n(t)};function i(t){if((0,c.jv)(t)&&a.length<5)return a+=String.fromCodePoint(t),e.consume(t),i;if(58===t){let n=a.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o)?l:(o=!0,s):n(t)}function l(t){return null===t||(0,c.Av)(t)||(0,c.z3)(t)||(0,c.B8)(t)||(0,c.Xh)(t)?n(t):e.attempt(ew,e.attempt(ex,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:eL},eO={name:"emailAutolink",tokenize:function(e,t,n){let r,a;let o=this;return function(t){return!eR(t)||!eN.call(o,o.previous)||ej(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return eR(r)?(e.consume(r),t):64===r?(e.consume(r),i):n(r)}(t))};function i(t){return 46===t?e.check(eS,l,s)(t):45===t||95===t||(0,c.H$)(t)?(a=!0,e.consume(t),i):l(t)}function s(t){return e.consume(t),r=!0,i}function l(i){return a&&r&&(0,c.jv)(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:eN},eF={},eP=48;for(;eP<123;
2)eF[eP]=eO,58==++eP?eP=65:91===eP&&(eP=97);function eA(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,c.z3)(e)}function eL(e){return!(0,c.jv)(e)}function eN(e){return!(47===e||eR(e))}function eR(e){return 43===e||45===e||46===e||95===e||(0,c.H$)(e)}function ej(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eF[43]=eO,eF[45]=eO,eF[46]=eO,eF[95]=eO,eF[72]=[eO,eT],eF[104]=[eO,eT],eF[87]=[eO,eM],eF[119]=[eO,eM];var eI=n(23402),eB=n(8387);let eU={tokenize:function(e,t,n){let r=this;return(0,eB.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ez(e,t,n){let r;let a=this,o=a.events.length,i=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;o--;){let e=a.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let s=(0,x.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function eH(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eV(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(i>999||93===s&&!r||null===s||91===s||(0,c.z3)(s))return n(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,x.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return(0,c.z3)(s)||(r=!0),i++,e.consume(s),92===s?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function e$(e,t,n){let r,a;let o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!a||null===t||91===t||(0,c.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,x.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return(0,c.z3)(t)||(a=!0),s++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function m(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(r)||i.push(r),(0,eB.f)(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function eZ(e,t,n){return e.check(eI.w,t,e.attempt(eU,t,n))}function eY(e){e.exit("gfmFootnoteDefinition")}var eW=n(21905),eq=n(63233);class eK{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function eG(e,t,n){let r;let a=this,o=0,i=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?b:s;return o===b&&a.parser.lazy[a.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,i+=1),l(t)}function l(t){return null===t?n(t):(0,c.Ch)(t)?i>1?(i=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m):n(t):(0,c.xz)(t)?(0,eB.f)(e,l,"whitespace")(t):(i+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,c.z3)(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function m(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,c.xz)(t))?(0,eB.f)(e,p,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?h(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,c.xz)(t)?(0,eB.f)(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(i+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(i+=1,g(t)):null===t||(0,c.Ch)(t)?v(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(n))}(t)):n(t)}function y(t){return(0,c.xz)(t)?(0,eB.f)(e,v,"whitespace")(t):v(t)}function v(a){return 124===a?p(a):null===a||(0,c.Ch)(a)?r&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function b(t){return e.enter("tableRow"),D(t)}function D(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),D):null===n||(0,c.Ch)(n)?(e.exit("tableRow"),t(n)):(0,c.xz)(n)?(0,eB.f)(e,D,"whitespace")(n):(e.enter("data"),_(n))}function _(t){return null===t||124===t||(0,c.z3)(t)?(e.exit("data"),D(t)):(e.consume(t),92===t?E:_)}function E(t){return 92===t||124===t?(e.consume(t),_):_(t)}}function eJ(e,t){let n,r,a,o=-1,i=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,d=0,m=new eK;for(;++o<e.length;){let p=e[o],f=p[1];
2"enter"===p[0]?"tableHead"===f.type?(c=!1,0!==d&&(eX(m,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},m.add(o,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(i=!0,a=void 0,l=[0,0,0,0],u=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},m.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(i=!1,0===u[2]&&(0!==l[1]&&(u[0]=u[1],a=eQ(m,t,l,s,void 0,a),l=[0,0,0,0]),u[2]=o)):"tableCellDivider"===f.type&&(i?i=!1:(0!==l[1]&&(u[0]=u[1],a=eQ(m,t,l,s,void 0,a)),u=[(l=u)[1],o,0,0])):"tableHead"===f.type?(c=!0,d=o):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=o,0!==l[1]?(u[0]=u[1],a=eQ(m,t,l,s,o,a)):0!==u[1]&&(a=eQ(m,t,u,s,o,a)),s=0):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(u[3]=o)}for(0!==d&&eX(m,t,d,n,r),m.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let a=e[t];if(n){if("enter"===a[0])"tableContent"===a[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===a[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===a[1].type)break}else"enter"===a[0]&&"tableDelimiterRow"===a[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function eQ(e,t,n,r,a,o){0!==n[0]&&(o.end=Object.assign({},e0(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let i=e0(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},i),end:Object.assign({},i)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let a=e0(t.events,n[2]),o=e0(t.events,n[3]),i={type:"tableContent",start:Object.assign({},a),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",i,t]]),2!==r){let r=t.events[n[2]],a=t.events[n[3]];if(r[1].end=Object.assign({},a[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==a&&(o.end=Object.assign({},e0(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function eX(e,t,n,r,a){let o=[],i=e0(t.events,n);a&&(a.end=Object.assign({},i),o.push(["exit",a,t])),r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(n+1,0,o)}function e0(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let e1={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,c.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return(0,c.Ch)(r)?t(r):(0,c.xz)(r)?e.check({tokenize:e2},t,n)(r):n(r)}}};function e2(e,t,n){return(0,eB.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let e3={};function e4(e){let t;let n=e||e3,r=this.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push((0,eE.W)([{text:eF},{document:{91:{name:"gfmFootnoteDefinition",tokenize:e$,continuation:{tokenize:eZ},exit:eY}},text:{91:{name:"gfmFootnoteCall",tokenize:eV},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ez,resolveTo:eH}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,o=this.events,i=0;return function(s){return 126===a&&"characterEscape"!==o[o.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function o(s){let l=(0,K.r)(a);if(126===s)return i>1?r(s):(e.consume(s),i++,o);if(i<2&&!t)return r(s);let u=e.exit("strikethroughSequenceTemporary"),c=(0,K.r)(s);return u._open=!c||2===c&&!!l,u._close=!l||2===l&&!!c,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let a={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i=[["enter",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&(0,eW.d)(i,i.length,0,(0,eq.C)(s,e.slice(r+1,n),t)),(0,eW.d)(i,i.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",a,t]]
2),(0,eW.d)(e,r-1,n-r+3,i),n=r+i.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(n),{flow:{null:{name:"table",tokenize:eG,resolveAll:eJ}}},{text:{91:e1}}])),o.push([{transforms:[_],enter:{literalAutolink:h,literalAutolinkEmail:g,literalAutolinkHttp:g,literalAutolinkWww:g},exit:{literalAutolink:D,literalAutolinkEmail:b,literalAutolinkHttp:y,literalAutolinkWww:v}},{enter:{gfmFootnoteCallString:k,gfmFootnoteCall:S,gfmFootnoteDefinitionLabelString:M,gfmFootnoteDefinition:T},exit:{gfmFootnoteCallString:O,gfmFootnoteCall:F,gfmFootnoteDefinitionLabelString:P,gfmFootnoteDefinition:A}},{canContainEols:["delete"],enter:{strikethrough:I},exit:{strikethrough:B}},{enter:{table:em,tableData:eg,tableHeader:eg,tableRow:ef},exit:{codeText:ey,table:ep,tableData:eh,tableHeader:eh,tableRow:eh}},{exit:{taskListCheckValueChecked:eb,taskListCheckValueUnchecked:eb,paragraph:eD}}]),i.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:p,notInConstruct:f},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:p,notInConstruct:f},{character:":",before:"[ps]",after:"\\/",inConstruct:p,notInConstruct:f}]},(t=!1,n&&n.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,a){let o=r.createTracker(a),i=o.move("[^"),s=r.enter("footnoteDefinition"),l=r.enter("label");return i+=o.move(r.safe(r.associationId(e),{before:i,after:"]"})),l(),i+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),i+=o.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,o.current()),t?R:N))),s(),i},footnoteReference:L},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:j}],handlers:{delete:U}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=ed.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,a=-1,o=[],i=t.enter("table");for(;++a<r.length;)o[a]=l(r[a],t,n);return i(),o}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){let a=l(e,n,r),o=s([a]);return o.slice(0,o.indexOf("\n"))}}};function i(e,t,n,r){let a=n.enter("tableCell"),i=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:o,after:o});return i(),a(),s}function s(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),a=n.stringLength||z,o=[],i=[],s=[],l=[],u=0,c=-1;for(;++c<e.length;){let t=[],r=[],o=-1;for(e[c].length>u&&(u=e[c].length);++o<e[c].length;){var d;let i=null==(d=e[c][o])?"":String(d);if(!1!==n.alignDelimiters){let e=a(i);r[o]=e,(void 0===l[o]||e>l[o])&&(l[o]=e)}t.push(i)}i[c]=t,s[c]=r}let m=-1;if("object"==typeof r&&"length"in r)for(;++m<u;)o[m]=H(r[m]);else{let e=H(r);for(;++m<u;)o[m]=e}m=-1;let p=[],f=[];for(;++m<u;){let e=o[m],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let a=!1===n.alignDelimiters?1:Math.max(1,l[m]-t.length-r.length),i=t+"-".repeat(a)+r;!1!==n.alignDelimiters&&((a=t.length+a+r.length)>l[m]&&(l[m]=a),f[m]=a),p[m]=i}i.splice(1,0,p),s.splice(1,0,f),c=-1;let h=[];for(;++c<i.length;){let e=i[c],t=s[c];m=-1;let r=[];for(;++m<u;){let a=e[m]||"",i="",s="";if(!1!==n.alignDelimiters){let e=l[m]-(t[m]||0),n=o[m];114===n?i=" ".repeat(e):99===n?e%2?(i=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):s=i=" ".repeat(e/2):s=" ".repeat(e)}!1===n.delimiterStart||m||r.push("|"),!1!==n.padding&&!(!1===n.alignDelimiters&&""===a)&&(!1!==n.delimiterStart||m)&&r.push(" "),!1!==n.alignDelimiters&&r.push(i),r.push(a),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||m!==u-1)&&r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:a})}function l(e,t,n){let r=e.children,a=-1,o=[],s=t.enter("tableRow");for(;++a<r.length;)o[a]=i(r[a],e,t,n);return s(),o}}(n),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:e_}}]})}var e9=n(70149),e6=n(29688);let e8=function(e){if(null==e)return e7;if("string"==typeof e)return e5(function(t){return t.tagName===e});if("object"==typeof e)return function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=e8(e[n]);return e5(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e);if("function"==typeof e)return e5(e);throw Error("Expected function, string, or array as `test`")};function e5(e){return function(t,n,r){return!!(null!==t&&"object"==typeof t&&"type"in t&&"tagName"in t&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function e7(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let te={},tt=["math","script","style","svg","title"];
2function tn(e,t,n){let r=e8((n||te).ignore||tt),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var a;let e=n[r];t.push(["string"==typeof(a=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a),"g"):a,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<a.length;)(0,d.S4)(e,"text",i);function i(e,t){let n,i=-1;for(;++i<t.length;){let e=t[i],a=n?n.children:void 0;if(r(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=a[o][0],i=a[o][1],s=0,l=n.children,u=l.indexOf(e),c=!1,d=[];r.lastIndex=0;let m=r.exec(e.value);for(;m;){let n=m.index,a={index:m.index,input:m.input,stack:[...t,e]},o=i(...m,a);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?d.push(...o):o&&d.push(o),s=n+m[0].length,c=!0),!r.global)break;m=r.exec(e.value)}return c?(s<e.value.length&&d.push({type:"text",value:e.value.slice(s)}),n.children.splice(u,1,...d)):d=[e],u+d.length}(e,t)}}function tr(e,t,n){let r={type:String(e)};return null==n&&("string"==typeof t||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r}var ta=n(60809),to=n.n(ta);let ti=()=>{let e=e=>tr("element",{properties:{},tagName:"emoji"},[tr("text",e)]);return t=>tn(t,[to()(),e])},ts=e=>()=>{let t=e.map(e=>e.name||e.id).filter(Boolean).map(e6.hr),n=RegExp(t.map(e=>`@${e}`).join("|"),"g"),r=t=>{let n=t.replace("@",""),r=e.find(({id:e,name:t})=>t===n||e===n);return tr("element",{mentionedUser:r,properties:{},tagName:"mention"},[tr("text",t)])};return e=>{t.length&&((0,Q.Vn)(e,(e,t,n)=>{if(void 0===t||!n)return;let r=n.children.at(t+1),a=r?.properties?.href;if("text"===e.type&&/.?\s?@$|^@$/.test(e.value)&&a?.startsWith("mailto:")){let r=e.value.replace(/@$/,""),o=a.replace("mailto:","");n.children[t]=tr("text",r),n.children[t+1]=tr("text",`@${o}`)}}),tn(e,[n,r]))}},tl=e=>{"html"===e.type&&(e.type="text")},tu=e=>{(0,Q.Vn)(e,tl)},tc=()=>tu,td=(e,t,n)=>{if(!(t&&n&&e.position))return;let r=n.children.at(t-1);if(!r?.position||e.position.start.line===r.position.start.line)return;let a=e.position.start.line,o=r.position.end.line,i=a-o-1;if(i<1)return;let s=Array.from({length:i},()=>tr("break",{tagName:"br"}));n.children=[...n.children.slice(0,t),...s,...n.children.slice(t)]},tm=e=>{(0,Q.Vn)(e,td)},tp=()=>tm;class tf extends r.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error(e,t)}render(){return this.state.hasError?this.props.fallback:this.props.children}}let th=["html","text","br","p","em","strong","a","ol","ul","li","code","pre","blockquote","del","table","thead","tbody","th","tr","td","tfoot","emoji","mention"];function tg(e){try{return encodeURI(decodeURIComponent(e))}catch(t){return e}}let ty=e=>e.startsWith("app://")?e:(0,a.nC)(e),tv=e=>e,tb={a:({children:e,href:t})=>{let n=t?.startsWith("mailto:"),a=t?.startsWith("http");return t&&(n||a)?r.createElement("a",{className:(0,e9.Z)({"str-chat__message-url-link":a}),href:t,rel:"nofollow noreferrer noopener",target:"_blank"},e):r.createElement(r.Fragment,null,e)},emoji:({children:e})=>r.createElement("span",{className:"inline-text-emoji","data-testid":"inline-text-emoji"},e),mention:({children:e,node:{mentionedUser:t}})=>r.createElement("span",{className:"str-chat__message-mention","data-user-id":t.id},e)},tD=(e,t,{allowedTagNames:n=th,customMarkDownRenderers:i,getRehypePlugins:l=tv,getRemarkPlugins:u=tv}={})=>{if(!e)return null;if(1===e.trim().length)return r.createElement(r.Fragment,null,e);let c=e,d=(0,e6.aL)(c),m=(0,e6.IE)(c);s()([...(0,o.sE)(c,"email"),...(0,o.sE)(c,"url")],"value").forEach(({href:e,type:n,value:r})=>{let a=m.some(e=>e?.includes(r)),o=d&&d.filter(t=>{let n=e?.replace(e6.Wd,""),r=t?.replace(e6.Wd,"");return!!n&&!!r&&(n.includes(r)||r.includes(n))});if(!(o.length>
20)&&!a)try{if("email"===n&&t){let n=t.some(e=>e.name===r);if(n){c=c.replace(RegExp((0,e6.hr)(r),"g"),(t,n)=>{let r="@"===c.charAt(n-1);return r?t:`[${t}](${tg(e)})`});return}}let a="email"===n?r:function(e){try{return decodeURIComponent(e).replace(e6.Wd,"")}catch(t){return e}}(e);c=c.replace(RegExp((0,e6.hr)(r),"g"),`[${a}](${tg(e)})`)}catch(e){}});let p=[tc,tp,[e4,{singleTilde:!1}]],f=[ti];return t?.length&&f.push(ts(t)),r.createElement(tf,{fallback:r.createElement(r.Fragment,null,e)},r.createElement(a.UG,{allowedElements:n,components:{...tb,...i},rehypePlugins:l(f),remarkPlugins:u(p),skipHtml:!0,unwrapDisallowed:!0,urlTransform:ty},c))}},52127:function(e,t,n){"use strict";n.d(t,{$l:function(){return C},B9:function(){return l},KI:function(){return y},Kh:function(){return _},Qn:function(){return D},Xh:function(){return u},Z1:function(){return c},fs:function(){return p},jb:function(){return b},nU:function(){return s},oT:function(){return d},s4:function(){return h},ue:function(){return v},yW:function(){return E},zs:function(){return g}});var r=n(69590),a=n.n(r),o=n(60809),i=n.n(o);let s=(e,t)=>{if(!e||"function"!=typeof e)return null;Array.isArray(t)||(t=[t]);let n=e(...t);return"string"!=typeof n?null:n},l=(e,t)=>
2{if(!t||!e)return!1;let n=t.filter(t=>t.target.id===e.user?.id);return!!n.length},u={delete:"delete",edit:"edit",flag:"flag",markUnread:"markUnread",mute:"mute",pin:"pin",quote:"quote",react:"react",reply:"reply"},c={commerce:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!0,user:!1},gaming:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!1,user:!1},livestream:{admin:!0,anonymous:!1,channel_member:!1,channel_moderator:!0,guest:!1,member:!1,moderator:!0,owner:!0,user:!1},messaging:{admin:!0,anonymous:!1,channel_member:!0,channel_moderator:!0,guest:!1,member:!0,moderator:!0,owner:!0,user:!1},team:{admin:!0,anonymous:!1,channel_member:!0,channel_moderator:!0,guest:!1,member:!0,moderator:!0,owner:!0,user:!1}},d=(e,{canDelete:t,canEdit:n,canFlag:r,canMarkUnread:a,canMute:o,canPin:i,canQuote:s,canReact:l,canReply:c})=>{let d=[],m=[];if(e&&"boolean"==typeof e)m=Object.keys(u);else{if(!e||!(e.length>0))return[];m=[...e]}return t&&m.indexOf(u.delete)>-1&&d.push(u.delete),n&&m.indexOf(u.edit)>-1&&d.push(u.edit),r&&m.indexOf(u.flag)>-1&&d.push(u.flag),a&&m.indexOf(u.markUnread)>-1&&d.push(u.markUnread),o&&m.indexOf(u.mute)>-1&&d.push(u.mute),i&&m.indexOf(u.pin)>-1&&d.push(u.pin),s&&m.indexOf(u.quote)>-1&&d.push(u.quote),l&&m.indexOf(u.react)>-1&&d.push(u.react),c&&m.indexOf(u.reply)>-1&&d.push(u.reply),d},m=[u.pin,u.reply,u.markUnread],p=({customMessageActions:e,CustomMessageActionsList:t,inThread:n,messageActions:r})=>void 0!==t||void 0!==e||!(!r.length||n&&0===r.filter(e=>!m.includes(e)).length||1===r.length&&(r.includes(u.react)||r.includes(u.reply))||2===r.length&&r.includes(u.react)&&r.includes(u.reply));function f(e,t){return e.deleted_at===t.deleted_at&&e.latest_reactions?.length===t.latest_reactions?.length&&e.own_reactions?.length===t.own_reactions?.length&&e.pinned===t.pinned&&e.reply_count===t.reply_count&&e.status===t.status&&e.text===t.text&&e.type===t.type&&e.updated_at===t.updated_at&&e.user?.updated_at===t.user?.updated_at&&!!e.quoted_message==!!t.quoted_message&&(!e.quoted_message||f(e.quoted_message,t.quoted_message))}let h=(e,t)=>{let{message:n,Message:r}=e,{message:o,Message:i}=t;if(r!==i||e.endOfGroup!==t.endOfGroup||t.showDetailedReactions!==e.showDetailedReactions||t.closeReactionSelectorOnClick!==e.closeReactionSelectorOnClick)return!1;let s=f(n,o);if(!s)return!1;let l=a()(t.messageActions,e.messageActions)&&a()(t.readBy,e.readBy)&&a()(t.highlighted,e.highlighted)&&a()(t.groupStyles,e.groupStyles)&&a()(t.mutes,e.mutes)&&a()(t.lastReceivedId,e.lastReceivedId);return!!l&&e.messageListRect===t.messageListRect},g=(e,t)=>{let{lastReceivedId:n,message:r}=e,{lastReceivedId:a,message:o}=t;return e.editing===t.editing&&e.highlighted===t.highlighted&&e.endOfGroup===t.endOfGroup&&e.mutes?.length===t.mutes?.length&&e.readBy?.length===t.readBy?.length&&e.groupStyles===t.groupStyles&&e.showDetailedReactions===t.showDetailedReactions&&(r.id!==n&&r.id!==a||n===a)&&f(r,o)},y=e=>Object.values(e?.reaction_groups??{}).some(({count:e})=>e>0),v=e=>!!e?.attachments&&!!e.attachments.length,b=e=>e.name||e.id,D=(e,t,n,r)=>{let a="";if(!t)throw Error("getReadByTooltipText was called, but translation function is not available");if(!r)throw Error("getReadByTooltipText was called, but tooltipUserNameMapper function is not available");let o=e.filter(e=>e&&n?.user&&e.id!==n.user.id).map(r),i=o.slice(0,5),s=o.length-i.length;if(1===i.length)a=`${i[0]} `;else if(2===i.length)a=t("{{ firstUser }} and {{ secondUser }}",{firstUser:i[0],secondUser:i[1]});else if(i.length>2){if(0===s){let e=i.splice(i.length-1,1);a=t("{{ commaSeparatedUsers }}, and {{ lastUser }}",{commaSeparatedUsers:i.join(", "),lastUser:e})}else a=t("{{ commaSeparatedUsers }} and {{ moreCount }} more",{commaSeparatedUsers:i.join(", "),moreCount:s})}return a},_=e=>{if(!e)return!1;let t=e.replace(i()(),""),n=t.replace(/[\s\n]/gm,"");return!n},E=e=>"error"===e.type&&(e.moderation_details?.action==="MESSAGE_RESPONSE_ACTION_BOUNCE"||e.moderation?.action==="bounce"),C=e=>!!e.message_text_updated_at},38114:function(e,t,n){"use strict";n.d(t,{R:function(){return x}});var r=n(67294),a=n(16164),o=n(87029),i=n(21681);let s=()=>{let{channelConfig:e}=(0,o.JN)("useCommandTrigger"),{t}=(0,i.Ht)("useCommandTrigger"),n=e?.commands;return{component:a.d,dataProvider:(e,r,a)=>{if(0!==r.indexOf("/")||!n)return[];let o=n.filter(t=>t.name?.indexOf(e)!==-1);o.sort((t,n)=>{let r=t.name?.toLowerCase(),a=n.name?.toLowerCase();if(r?.indexOf(e)===0&&(r=`0${r}`),a?.indexOf(e)===0&&(a=`0${a}
2`),null!=r&&null!=a){if(r<a)return -1;if(r>a)return 1}return 0});let i=o.slice(0,5);return a&&a(i.filter(e=>void 0!==e.name).map(e=>{let n={name:e.name};return e.args&&(n.args=t(`${e.name}-command-args`,{defaultValue:e.args})),e.description&&(n.description=t(`${e.name}-command-description`,{defaultValue:e.description})),n}),e),i},output:e=>({caretPosition:"next",key:e.name,text:`/${e.name}`})}},l=r.memo(e=>{let{entity:t}=e,n=Object.keys(t).length,a=t?.itemNameParts;return r.createElement("div",{className:"str-chat__emoji-item"},r.createElement("span",{className:"str-chat__emoji-item--entity"},t.native),r.createElement("span",{className:"str-chat__emoji-item--name"},n?n&&a.parts.map((e,t)=>e.toLowerCase()===a.match.toLowerCase()?r.createElement("span",{className:"str-chat__emoji-item--highlight",key:`part-${t}`},e):r.createElement("span",{className:"str-chat__emoji-item--part",key:`part-${t}`},e)):null))}),u=e=>({component:l,dataProvider:async(t,n,r)=>{if(0===t.length||t.charAt(0).match(/[^a-zA-Z0-9+-]/))return r([],t);let a=await e?.search(t)??[],o=a.filter(Boolean).slice(0,7).map(({id:e,name:t,native:n,skins:r=[]})=>{let[a]=r;return{id:e,name:t,native:n??a.native}});r&&r(o,t)},output:e=>({caretPosition:"next",key:e.id,text:`${"native"in e?e.native:""}`})});var c=n(93096),d=n.n(c),m=n(44068),p=n(9509),f=n(83156);let h=e=>{let{disableMentions:t,mentionAllAppUsers:n,mentionQueryParams:a={},onSelectUser:i,useMentionsTransliteration:s}=e,[l,u]=(0,r.useState)(!1),{client:c,mutes:h}=(0,f.mx)("useUserTrigger"),{channel:g}=(0,o.JN)("useUserTrigger"),{members:y}=g.state,{watchers:v}=g.state,b=(0,r.useCallback)(()=>{let e=y?Object.values(y).map(({user:e})=>e):[],t=v?Object.values(v):[],n=[...e,...t],r={};return n.forEach(e=>{e&&!r[e.id]&&(r[e.id]=e)}),Object.values(r)},[y,v]),D=(0,r.useCallback)(d()(async(e,t)=>{try{let n=await g.queryMembers({name:{$autocomplete:e}}),r=n.members.map(e=>e.user);t&&r.length?t(r):t([])}catch(e){console.log({error:e})}},200),[g]),_=async(e,t)=>{if(e&&!l){u(!0);try{let{users:n}=await c.queryUsers({$or:[{id:{$autocomplete:e}},{name:{$autocomplete:e}}],..."function"==typeof a.filters?a.filters(e):a.filters},Array.isArray(a.sort)?[{id:1},...a.sort]:{id:1,...a.sort},{limit:10,...a.options});t&&n.length?t(n):t([])}catch(e){console.log({error:e})}u(!1)}},E=d()(_,200);return{callback:e=>i(e),component:p.E,dataProvider:(e,r,o)=>{if(t)return;let i=e=>r.includes("/unmute")&&!h.length?[]:h.length?r.includes("/unmute")?e.filter(e=>h.some(t=>t.target.id===e.id)):e.filter(e=>h.every(t=>t.target.id!==e.id)):e;if(n)return E(e,t=>{o&&o(i(t),e)});if(!e||Object.values(y||{}).length<100){let t=b(),n={ownUserId:c.userID,query:e,text:r,useMentionsTransliteration:s,users:t},l=(0,m.i_)(n),u=a.options?.limit??7,d=l.slice(0,u);return o&&o(i(d),e),d}return D(e,t=>{o&&o(i(t),e)})},output:e=>({caretPosition:"next",key:e.id,text:`@${e.name||e.id}`})}};var g=n(21707);let y=({children:e})=>{let t=(0,g.Nc)("DefaultTriggerProvider"),n={"/":s(),":":u(t.emojiSearchIndex),"@":h({disableMentions:t.disableMentions,mentionAllAppUsers:t.mentionAllAppUsers,mentionQueryParams:t.mentionQueryParams,onSelectUser:t.onSelectUser,useMentionsTransliteration:t.useMentionsTransliteration})},a={...t,autocompleteTriggers:n};return r.createElement(g.G6,{value:a},e)};var v=n(66054),b=n(96808),D=n(87182),_=n(81935),E=n(40239),C=n(7706);let w=e=>{let t=(0,b._)(),n=(0,_.k)(e),{emojiSearchIndex:a}=(0,E.yM)("MessageInput"),o=(0,D.u)({...t,...n,...e,emojiSearchIndex:e.emojiSearchIndex??a});return r.createElement(g.G6,{value:o},e.children)},x=r.memo(e=>{let{Input:t}=e,{dragAndDropWindow:n}=(0,o.JN)(),{Input:a,TriggerProvider:i=y}=(0,E.yM)("MessageInput"),s=t||a||v.r,l=e.isThreadInput?"message-input-dialog-manager-thread":"message-input-dialog-manager";return n?r.createElement(C.r,{id:l},r.createElement(i,null,r.createElement(s,null))):r.createElement(C.r,{id:l},r.createElement(w,{...e},r.createElement(i,null,r.createElement(s,null))))})},66054:function(e,t,n){"use strict";n.d(t,{r:function(){return tl}});var r=n(67294),a=n(70149),o=n(32512),i=n(53416),s=n(21681);let l=({size:e=20})=>{let t=(0,r.useMemo)(()=>(0,i.x0)(),[]);return r.createElement("div",{className:"str-chat__loading-indicator"},r.createElement("svg",{"data-testid":"loading-indicator",height:e,viewBox:"0 0 30 30",width:e,xmlns:"http://www.w3.org/2000/svg"},r.createElement("defs",null,r.createElement("linearGradient",{id:`${t}-linear-gradient`,x1:"50%",x2:"50%",y1:"0%",y2:"100%"},r.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:"0"}),r.createElement("stop",{"data-testid":"stop-color",offset:"100%",stopOpacity:"1"}))),r.createElement("path",{d:"M2.518 23.321l1.664-1.11A12.988 12.988 0 0 0 15 28c7.18 0 13-5.82 13-13S22.18 2 15 2V0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-5.206 0-9.792-2.652-12.482-6.679z",fill:`url(#${t}-linear-gradient)`,fillRule:"evenodd"})))},u=()=>{let{t:e}=(0,s.Ht)("UploadIcon");return r.createElement("svg",{"data-testid":"attach-icon",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,e("Attach files")),r.createElement("g",{clipPath:"url(#clip0_10878_5)"},r.createElement("path",{d:"M12.9997 6.99993L10.9997 6.99993L10.9997 10.9999L6.99972 10.9999L6.99972 12.9999L10.9997 12.9999L10.9997 16.9999L12.9997 16.9999L12.9997 12.9999L16.9997 12.9999L16.9997 10.9999L12.9997 10.9999L12.9997 6.99993ZM11.9997 1.99992C6.47972 1.99992 1.99972 6.47993 1.99972 11.9999C1.99972 17.5199 6.47972 21.9999 11.9997 21.9999C17.5197 21.9999 21.9997 17.5199 21.9997 11.9999C21.9997 6.47993 17.5197 1.99992 11.9997 1.99992ZM11.9997 19.9999C7.58972 19.9999 3.99972 16.4099 3.99972 11.9999C3.99972 7.58993 7.58972 3.99993 11.9997 3.99993C16.4097 3.99993 19.9997 7.58993 19.9997 11.9999C19.9997 16.4099 16.4097 19.9999 11.9997 19.9999Z",fill:"black"})),r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_10878_5"},r.createElement("rect",{fill:"white",height:"24",width:"24"}))))},c=()=>r.createElement("svg",{"data-testid":"close-no-outline",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"black"})),d=()=>r.createElement("svg",{"data-testid":"retry",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M17.6449 6.35C16.1949 4.9 14.2049 4 11.9949 4C7.57488 4 4.00488 7.58 4.00488 12C4.00488 16.42 7.57488 20 11.9949 20C15.7249 20 18.8349 17.45 19.7249 14H17.6449C16.8249 16.33 14.6049 18 11.9949 18C8.68488 18 5.99488 15.31 5.99488 12C5.99488 8.69 8.68488 6 11.9949 6C13.6549 6 15.1349 6.69 16.2149 7.78L12.9949 11H19.9949V4L17.6449 6.35Z",fill:"black"})),m=()=>r.createElement("svg",{"data-testid":"download",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}
2,r.createElement("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4C9.11 4 6.6 5.64 5.35 8.04C2.34 8.36 0 10.91 0 14C0 17.31 2.69 20 6 20H19C21.76 20 24 17.76 24 15C24 12.36 21.95 10.22 19.35 10.04ZM19 18H6C3.79 18 2 16.21 2 14C2 11.95 3.53 10.24 5.56 10.03L6.63 9.92L7.13 8.97C8.08 7.14 9.94 6 12 6C14.62 6 16.88 7.86 17.39 10.43L17.69 11.93L19.22 12.04C20.78 12.14 22 13.45 22 15C22 16.65 20.65 18 19 18ZM13.45 10H10.55V13H8L12 17L16 13H13.45V10Z",fill:"black"})),p=()=>r.createElement("svg",{fill:"none",height:"11",viewBox:"0 0 20 11",width:"20",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{clipRule:"evenodd",d:"M1.9 5.5C1.9 3.79 3.29 2.4 5 2.4H8.05C8.57467 2.4 9 1.97467 9 1.45C9 0.925329 8.57467 0.5 8.05 0.5H5C2.24 0.5 0 2.74 0 5.5C0 8.26 2.24 10.5 5 10.5H8.05C8.57467 10.5 9 10.0747 9 9.55C9 9.02533 8.57467 8.6 8.05 8.6H5C3.29 8.6 1.9 7.21 1.9 5.5ZM6 5.5C6 6.05228 6.44772 6.5 7 6.5H13C13.5523 6.5 14 6.05228 14 5.5C14 4.94772 13.5523 4.5 13 4.5H7C6.44772 4.5 6 4.94772 6 5.5ZM15 0.5H11.95C11.4253 0.5 11 0.925329 11 1.45C11 1.97467 11.4253 2.4 11.95 2.4H15C16.71 2.4 18.1 3.79 18.1 5.5C18.1 7.21 16.71 8.6 15 8.6H11.95C11.4253 8.6 11 9.02533 11 9.55C11 10.0747 11.4253 10.5 11.95 10.5H15C17.76 10.5 20 8.26 20 5.5C20 2.74 17.76 0.5 15 0.5Z",fill:"#005DFF",fillRule:"evenodd"})),f=()=>{let{t:e}=(0,s.Ht)("SendButton");return r.createElement("svg",{"data-testid":"send",fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},r.createElement("title",null,e("Send")),r.createElement("path",{d:"M4.00952 22L24 12L4.00952 2L4 9.77778L18.2857 12L4 14.2222L4.00952 22Z"}))},h=()=>r.createElement("svg",{fill:"currentColor",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7 12.5C8.66 12.5 10 11.16 10 9.5V3.5C10 1.84 8.66 0.5 7 0.5C5.34 0.5 4 1.84 4 3.5V9.5C4 11.16 5.34 12.5 7 12.5Z"}),r.createElement("path",{d:"M12 9.5C12 12.26 9.76 14.5 7 14.5C4.24 14.5 2 12.26 2 9.5H0C0 13.03 2.61 15.93 6 16.42V19.5H8V16.42C11.39 15.93 14 13.03 14 9.5H12Z"})),g=()=>r.createElement("svg",{fill:"currentColor",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M8.00033 25.3333C8.00033 26.8 9.20033 28 10.667 28H21.3337C22.8003 28 24.0003 26.8 24.0003 25.3333V12C24.0003 10.5333 22.8003 9.33333 21.3337 9.33333H10.667C9.20033 9.33333 8.00033 10.5333 8.00033 12V25.3333ZM24.0003 5.33333H20.667L19.7203 4.38667C19.4803 4.14667 19.1337 4 18.787 4H13.2137C12.867 4 12.5203 4.14667 12.2803 4.38667L11.3337 5.33333H8.00033C7.26699 5.33333 6.66699 5.93333 6.66699 6.66667C6.66699 7.4 7.26699 8 8.00033 8H24.0003C24.7337 8 25.3337 7.4 25.3337 6.66667C25.3337 5.93333 24.7337 5.33333 24.0003 5.33333Z"})),y=()=>r.createElement("svg",{"data-testid":"str-chat__pause-icon",fill:"currentColor",viewBox:"0 0 16 20",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M0 19.3333H5.33333V0.666626H0V19.3333ZM10.6667 0.666626V19.3333H16V0.666626H10.6667Z"})),v=()=>r.createElement("svg",{"data-testid":"str-chat__play-icon",fill:"currentColor",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M0.236328 2.09338V15.9067C0.236328 16.9601 1.39633 17.6001 2.28966 17.0267L13.143 10.1201C13.9697 9.60005 13.9697 8.40005 13.143 7.86672L2.28966 0.973385C1.39633 0.400051 0.236328 1.04005 0.236328 2.09338Z"})),b=()=>r.createElement("svg",{fill:"currentColor",viewBox:"0 0 18 14",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.79457 10.875L2.32457 7.40502C1.93457 7.01502 1.30457 7.01502 0.91457 7.40502C0.52457 7.79502 0.52457 8.42502 0.91457 8.81502L5.09457 12.995C5.48457 13.385 6.11457 13.385 6.50457 12.995L17.0846 2.41502C17.4746 2.02502 17.4746 1.39502 17.0846 1.00502C16.6946 0.615024 16.0646 0.615024 15.6746 1.00502L5.79457 10.875Z"}));var D=n(71762),_=n(19025),E=n(69725);let C=({children:e,className:t,...n})=>r.createElement("button",{className:(0,a.Z)("str-chat__dialog-menu__button",t),...n},r.createElement("div",{className:"str-chat__dialog-menu__button-icon"}),r.createElement("div",{className:"str-chat__dialog-menu__button-text"},e));var w=n(27666),x=n(69203),k=n(64351);let S=({children:e,className:t,draggable:n,onSetNewOrder:o})=>{let[i,s]=(0,r.useState)([]),[l,u]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,p]=(0,r.useState)(null),f=null===l||null===c?void 0:l<=c?"down":"up",h=r.Children.toArray(e);return(0,r.useEffect)(()=>{s(r.Children.map(e,(e,t)=>t)||[])},[e]),(0,r.useEffect)(()=>
2{if(!m)return;let e=e=>{let t=e.target,n=t.closest(".str-chat__drag-and-drop-container__item");if(e.dataTransfer&&(e.dataTransfer.effectAllowed="move"),n instanceof HTMLElement){let t=Array.from(n.parentElement?.children||[]).indexOf(n);u(t),e.dataTransfer?.setData("text/plain",t.toString()),n.style.opacity="0.3"}},t=e=>{e.preventDefault();let t=e.target,n=t.closest(".str-chat__drag-and-drop-container__item");if(n instanceof HTMLElement){let e=Array.from(n.parentElement?.children||[]).indexOf(n);d(e)}},n=()=>{d(null)},r=e=>{e.preventDefault();let t=parseInt(e.dataTransfer?.getData("text/plain")||"-1",10),n=e.target,r=n.closest(".str-chat__drag-and-drop-container__item");if(r instanceof HTMLElement){let e=Array.from(r.parentElement?.children||[]).indexOf(r);-1!==t&&t!==e&&s(n=>{let r=[...n],[a]=r.splice(t,1);return r.splice(e,0,a),o?.(r),r})}u(null),d(null)},a=e=>{let t=e.target;t instanceof HTMLElement&&(t.style.opacity=""),u(null),d(null)};return m.addEventListener("dragstart",e),m.addEventListener("dragover",t),m.addEventListener("dragleave",n),m.addEventListener("drop",r),m.addEventListener("dragend",a),()=>{m.removeEventListener("dragstart",e),m.removeEventListener("dragover",t),m.removeEventListener("dragleave",n),m.removeEventListener("drop",r),m.removeEventListener("dragend",a)}},[m,o]),r.createElement("div",{className:(0,a.Z)("str-chat__drag-and-drop-container",t),ref:p},i.map((e,t)=>{let o=h[e];return r.createElement("div",{className:(0,a.Z)("str-chat__drag-and-drop-container__item",{"str-chat__drag-and-drop-container__item--dragged-over-from-bottom":"up"===f&&c===t,"str-chat__drag-and-drop-container__item--dragged-over-from-top":"down"===f&&c===t}),draggable:n,key:r.isValidElement(o)?o.key:`draggable-item-${e}`},o)}))},M={"Option already exists":!0},T=({errors:e,options:t,setErrors:n,setState:o})=>{let{t:l}=(0,s.Ht)("OptionFieldSet"),u=e=>t.find(t=>!!e.text.trim()&&t.id!==e.id&&t.text.trim()===e.text.trim()),c=(0,r.useCallback)(e=>{o(t=>({...t,options:e.map(e=>t.options[e])}))},[o]),d=t.length>1;return r.createElement("fieldset",{className:"str-chat__form__field str-chat__form__input-fieldset"},r.createElement("legend",{className:"str-chat__form__field-label"},l("Options")),r.createElement(S,{className:"str-chat__form__input-fieldset__values",draggable:d,onSetNewOrder:c},t.map((s,c)=>r.createElement("div",{className:(0,a.Z)("str-chat__form__input-field",{"str-chat__form__input-field--draggable":d,"str-chat__form__input-field--has-error":e[s.id]}),key:`new-poll-option-${c}`},r.createElement("div",{className:"str-chat__form__input-field__value"},r.createElement(x.c,{className:"str-chat__form__input-field__error","data-testid":"poll-option-input-field-error",text:e[s.id]}),r.createElement("input",{id:s.id,onBlur:e=>{u({id:e.target.id,text:e.target.value})&&n(t=>({...t,[e.target.id]:l("Option already exists")}))},onChange:t=>{o(r=>{let a=r.options.length<k.wj&&(!r.options||0===r.options.slice(c+1).length&&!!t.target.value),o=r.options&&r.options.slice(c+1).length>0&&!t.target.value,l=r.options?r.options.slice(0,c):[],d=a?[{id:(0,i.x0)(),text:""}]:(r.options||[]).slice(c+1);return(e[s.id]&&!t.target.value||M[e[s.id]]&&!u({id:t.target.id,text:t.target.value}))&&n(e=>(delete e[s.id],e)),{...r,options:[...l,...o?[]:[{...s,text:t.target.value}],...d]}})},onKeyUp:e=>{if("Enter"===e.key){let e=t[c+1].id;document.getElementById(e)?.focus()}},placeholder:l("Add an option"),type:"text",value:s.text})),d&&r.createElement("div",{className:"str-chat__drag-handle"})))))};var O=n(83156),F=n(21707);let P=({close:e,errors:t,state:n})=>{let{client:a}=(0,O.mx)(),{t:o}=(0,s.Ht)("PollCreationDialogControls"),{handleSubmit:i}=(0,F.Nc)("PollCreationDialogControls");return r.createElement("div",{className:"str-chat__dialog__controls"},r.createElement("button",{className:"str-chat__dialog__controls-button str-chat__dialog__controls-button--cancel",onClick:e},o("Cancel")),r.createElement("button",{className:"str-chat__dialog__controls-button str-chat__dialog__controls-button--submit",disabled:!(()=>{let e=n.options.filter(e=>!!e.text).length>0,r=!!n.name,a=parseInt(n.max_votes_allowed?.match(k.BV)?.[0]||""),o=""===n.max_votes_allowed||!!a&&(2<=a||a<=10),i=0===t.length;return e&&r&&o&&i})(),onClick:async t=>{let r;try{let{poll:e}
2=await a.createPoll({...n,max_votes_allowed:n.max_votes_allowed?parseInt(n.max_votes_allowed):void 0,options:n.options?.filter(e=>e.text).map(e=>({text:e.text}))});r=e.id}catch(e){return}try{await i(t,{poll_id:r})}catch(e){return}e()},type:"submit"},o("Create")))};var A=n(38110);let L=({children:e,...t})=>{let n=(0,r.useRef)(null);return r.createElement("div",{className:"str-chat__form__field str-chat__form__switch-field"},r.createElement("label",null,r.createElement("div",{className:"str-chat__form__field str-chat__form__switch-field-content"},e),r.createElement("input",{type:"checkbox",...t,ref:n}),r.createElement("div",{className:(0,a.Z)("str-chat__form__switch-field__switch",{"str-chat__form__switch-field__switch--on":t.checked}),onKeyUp:e=>{[" ","Enter"].includes(e.key)&&n.current&&(e.preventDefault(),n.current.click())},tabIndex:0},r.createElement("div",{className:"str-chat__form__switch-field__switch-handle"}))))},N=({labelText:e,...t})=>r.createElement(L,{...t},r.createElement("div",{className:"str-chat__form__field str-chat__form__switch-field__text"},e)),R=({close:e})=>{let{client:t}=(0,O.mx)(),{t:n}=(0,s.Ht)(),[o,l]=(0,r.useState)(),[u,c]=(0,r.useState)({}),[d,m]=(0,r.useState)(),[p,f]=(0,r.useState)(()=>({allow_answers:!1,allow_user_suggested_options:!1,description:"",enforce_unique_vote:!0,id:(0,i.x0)(),max_votes_allowed:"",name:"",options:[{id:(0,i.x0)(),text:""}],user_id:t.user?.id,voting_visibility:"public"}));return r.createElement("div",{className:"str-chat__dialog str-chat__poll-creation-dialog","data-testid":"poll-creation-dialog"},r.createElement(A.x,{close:e,title:n("Create poll")}),r.createElement("div",{className:"str-chat__dialog__body"},r.createElement("form",{autoComplete:"off"},r.createElement("div",{className:(0,a.Z)("str-chat__form__field str-chat__form__input-field str-chat__form__input-field--with-label",{"str-chat__form__input-field--has-error":o})},r.createElement("label",{className:"str-chat__form__field-label",htmlFor:"name"},n("Question")),r.createElement("div",{className:(0,a.Z)("str-chat__form__input-field__value")},r.createElement(x.c,{className:"str-chat__form__input-field__error","data-testid":"poll-name-input-field-error",text:o}),r.createElement("input",{id:"name",onBlur:e=>{e.target.value||l("The field is required")},onChange:e=>{f(t=>({...t,name:e.target.value})),o&&e.target.value&&l(void 0)},placeholder:n("Ask a question"),type:"text",value:p.name}))),r.createElement(T,{errors:u,options:p.options,setErrors:c,setState:f}),r.createElement("div",{className:(0,a.Z)("str-chat__form__expandable-field",{"str-chat__form__expandable-field--expanded":!p.enforce_unique_vote})},r.createElement(N,{checked:!p.enforce_unique_vote,id:"enforce_unique_vote",labelText:n("Multiple answers"),onChange:e=>{f(t=>({...t,enforce_unique_vote:!e.target.checked,max_votes_allowed:""})),m(void 0)}}),!p.enforce_unique_vote&&r.createElement("div",{className:(0,a.Z)("str-chat__form__input-field",{"str-chat__form__input-field--has-error":d})},r.createElement("div",{className:(0,a.Z)("str-chat__form__input-field__value")},r.createElement(x.c,{className:"str-chat__form__input-field__error","data-testid":"poll-max-votes-allowed-input-field-error",text:d}),r.createElement("input",{id:"max_votes_allowed",onChange:e=>{let t=!e.target.value||e.target.value.match(k.BV);t?d&&m(void 0):m(n("Type a number from 2 to 10")),f(t=>({...t,max_votes_allowed:e.target.value}))},placeholder:n("Maximum number of votes (from 2 to 10)"),type:"number",value:p.max_votes_allowed})))),r.createElement(N,{checked:"anonymous"===p.voting_visibility,id:"voting_visibility",labelText:n("Anonymous poll"),onChange:e=>f(t=>({...t,voting_visibility:e.target.checked?"anonymous":"public"}))}),r.createElement(N,{checked:p.allow_user_suggested_options,id:"allow_user_suggested_options",labelText:n("Allow option suggestion"),onChange:e=>f(t=>({...t,allow_user_suggested_options:e.target.checked}))}),r.createElement(N,{checked:p.allow_answers,id:"allow_answers",labelText:n("Allow comments"),onChange:e=>f(t=>({...t,allow_answers:e.target.checked}))}))),r.createElement(P,{close:e,errors:[...o??[],...d??[],...Object.keys(u)],state:p}))};var j=n(3897),I=n(6918),B=n(87029);let U=(0,r.forwardRef)(function({onFileChange:e,resetOnChange:t=!0,...n},a){let o=(0,I.HP)(t,e);return r.createElement("input",{onChange:o,ref:a,type:"file",...n})}),z=(0,r.forwardRef)(function({className:e,onFileChange:t,...n},o){let{t:l}=(0,s.Ht)("UploadFileInput"),{acceptedFiles:u=[],multipleUploads:c}=(0,B.JN)("UploadFileInput"),{isUploadEnabled:d,maxFilesLeft:m,uploadNewFiles:p}=(0,F.Nc)("UploadFileInput"),f=(0,r.useMemo)(()=>(0,i.x0)(),[]),h=(0,r.useCallback)(e=>{p(e),t?.(e)}
2,[t,p]);return r.createElement(U,{accept:u?.join(","),"aria-label":l("aria/File upload"),"data-testid":"file-input",disabled:!d||0===m,id:f,multiple:c,...n,className:(0,a.Z)("str-chat__file-input",e),onFileChange:h,ref:o})});var H=n(40239);let V=(0,r.createContext)({fileInput:null}),$=({children:e,value:t})=>r.createElement(V.Provider,{value:t},e),Z=()=>(0,r.useContext)(V),Y=()=>{let{AttachmentSelectorInitiationButtonContents:e,FileUploadIcon:t=u}=(0,H.yM)(),n=(0,r.useRef)(null),[a,o]=(0,r.useState)(null),s=(0,r.useMemo)(()=>(0,i.x0)(),[]);return(0,r.useEffect)(()=>{if(!a)return;let e=e=>{[" ","Enter"].includes(e.key)&&n.current&&(e.preventDefault(),n.current.click())};return a.addEventListener("keyup",e),()=>{a.removeEventListener("keyup",e)}},[a]),r.createElement("div",{className:"str-chat__file-input-container","data-testid":"file-upload-button"},r.createElement(z,{id:s,ref:n}),r.createElement("label",{className:"str-chat__file-input-label",htmlFor:s,ref:o,tabIndex:0},e?r.createElement(e,null):r.createElement(t,null)))},W=()=>{let{AttachmentSelectorInitiationButtonContents:e,FileUploadIcon:t}=(0,H.yM)("SimpleAttachmentSelector");return e?r.createElement(e,null):t?r.createElement(t,null):r.createElement("div",{className:"str-chat__attachment-selector__menu-button__icon"})},q={File({closeMenu:e}){let{t}=(0,s.Ht)(),{fileInput:n}=Z();return r.createElement(C,{className:"str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__upload-file-button",onClick:()=>{n&&n.click(),e()}},t("File"))},Poll({closeMenu:e,openModalForAction:t}){let{t:n}=(0,s.Ht)();return r.createElement(C,{className:"str-chat__attachment-selector-actions-menu__button str-chat__attachment-selector-actions-menu__create-poll-button",onClick:()=>{t("createPoll"),e()}},n("Poll"))}},K=[{ActionButton:q.File,type:"uploadFile"},{ActionButton:q.Poll,type:"createPoll"}],G=e=>{let{PollCreationDialog:t=R}=(0,H.yM)(),{channelCapabilities:n,channelConfig:r}=(0,B.JN)(),{isThreadInput:a}=(0,F.Nc)();return e.filter(e=>!!(("uploadFile"!==e.type||n["upload-file"])&&("createPoll"!==e.type||r?.polls&&!a&&n["send-poll"]))).map(e=>"createPoll"!==e.type||e.ModalContent?e:{...e,ModalContent:t})},J=({attachmentSelectorActionSet:e=K,getModalPortalDestination:t})=>{let{t:n}=(0,s.Ht)(),{channelCapabilities:a}=(0,B.JN)(),{isThreadInput:o}=(0,F.Nc)(),i=G(e),l=`attachment-actions-menu${o?"-thread":""}`,u=(0,_.Rh)({id:l}),c=(0,_.wB)(l),[d,m]=(0,r.useState)(),p=(0,r.useCallback)(e=>{let t=i.find(t=>t.type===e);t?.ModalContent&&m(t)},[i]),f=(0,r.useCallback)(()=>m(void 0),[]),[h,g]=(0,r.useState)(null),y=(0,r.useRef)(null),v=(0,r.useCallback)(()=>document.getElementById(D.l),[]);if(0===i.length)return null;if(1===i.length&&"uploadFile"===i[0].type)return r.createElement(Y,null);let b=d?.ModalContent,C=!!b;return r.createElement($,{value:{fileInput:h}},r.createElement("div",{className:"str-chat__attachment-selector"},a["upload-file"]&&r.createElement(z,{ref:g}),r.createElement("button",{"aria-expanded":c,"aria-haspopup":"true","aria-label":n("aria/Open Attachment Selector"),className:"str-chat__attachment-selector__menu-button","data-testid":"invoke-attachment-selector-button",onClick:()=>u?.toggle(),ref:y},r.createElement(W,null)),r.createElement(E.l,{id:l,placement:"top-start",referenceElement:y.current,trapFocus:!0},r.createElement("div",{className:"str-chat__attachment-selector-actions-menu str-chat__dialog-menu","data-testid":"attachment-selector-actions-menu"},i.map(({ActionButton:e,type:t})=>r.createElement(e,{closeMenu:u.close,key:`attachment-selector-item-${t}`,openModalForAction:p})))),r.createElement(j.h,{getPortalDestination:t??v,isOpen:C},r.createElement(w.u,{className:"str-chat__create-poll-modal",onClose:f,open:C},b&&r.createElement(b,{close:f})))))};var Q=n(31840);let X=({attachment:e,handleRetry:t,removeAttachments:n})=>{let{t:a}=(0,s.Ht)("UnsupportedAttachmentPreview"),o=e.title??a("Unsupported attachment");return r.createElement("div",{className:"str-chat__attachment-preview-unsupported","data-testid":"attachment-preview-unknown"},r.createElement("div",{className:"str-chat__attachment-preview-file-icon"},r.createElement(Q.a,{filename:o,mimeType:e.mime_type})),r.createElement("button",{className:"str-chat__attachment-preview-delete","data-testid":"file-preview-item-delete-button",disabled:e.localMetadata?.uploadState==="uploading",onClick:()=>e.localMetadata?.id&&n([e.localMetadata?.id])},r.createElement(c,null)),e.localMetadata?.uploadState==="failed"&&!!t&&r.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-file","data-testid":"file-preview-item-retry-button",onClick:()=>t(e)},r.createElement(d,null)),r.createElement("div",{className:"str-chat__attachment-preview-metadata"},r.createElement("div",{className:"str-chat__attachment-preview-title",title:o},o),e.localMetadata?.uploadState==="finished"&&!!e.asset_url&&r.createElement("a",{className:"str-chat__attachment-preview-file-download",download:!0,href:e.asset_url,rel:"noreferrer",target:"_blank"},r.createElement(m,null)),e.localMetadata?.uploadState==="uploading"&&r.createElement(l,{size:17})))};var ee=n(22787),et=n(32228);let en=({durationSeconds:e})=>r.createElement("div",{className:(0,a.Z)("str-chat__recording-timer",{"str-chat__recording-timer--hours":e>=3600})},(0,et.dp)(e));var er=n(9288);let ea=({attachment:e,handleRetry:t,removeAttachments:n})=>{let{audioRef:a,isPlaying:o,secondsElapsed:i,togglePlay:s}=(0,er.P)({mimeType:e.mime_type});return r.createElement("div",{className:"str-chat__attachment-preview-voice-recording","data-testid":"attachment-preview-voice-recording"},r.createElement("audio",{ref:a},r.createElement("source",{"data-testid":"audio-source",src:e.asset_url,type:e.mime_type})),r.createElement(ee.J,{isPlaying:o,onClick:s}),r.createElement("button",{className:"str-chat__attachment-preview-delete","data-testid":"file-preview-item-delete-button",disabled:e.localMetadata?.uploadState==="uploading",onClick:()=>e.localMetadata?.id&&n([e.localMetadata.id])},r.createElement(c,null)),e.localMetadata?.uploadState==="failed"&&!!t&&r.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-file","data-testid":"file-preview-item-retry-button",onClick:()=>t(e)},r.createElement(d,null)),r.createElement("div",{className:"str-chat__attachment-preview-metadata"},r.createElement("div",{className:"str-chat__attachment-preview-file-name",title:e.title},e.title),void 0!==e.duration&&r.createElement(en,{durationSeconds:i||e.duration}),e.localMetadata?.uploadState==="uploading"&&r.createElement(l,{size:17})),r.createElement("div",{className:"str-chat__attachment-preview-file-icon"},r.createElement(Q.a,{filename:e.title,mimeType:e.mime_type})))},eo=({attachment:e,handleRetry:t,removeAttachments:n})=>{let{t:a}=(0,s.Ht)("FilePreview");return r.createElement("div",{className:"str-chat__attachment-preview-file","data-testid":"attachment-preview-file"},r.createElement("div",{className:"str-chat__attachment-preview-file-icon"},r.createElement(Q.a,{filename:e.title,mimeType:e.mime_type})),r.createElement("button",{"aria-label":a("aria/Remove attachment"),className:"str-chat__attachment-preview-delete","data-testid":"file-preview-item-delete-button",disabled:e.localMetadata?.uploadState==="uploading",onClick:()=>e.localMetadata?.id&&n([e.localMetadata?.id])},r.createElement(c,null)),e.localMetadata?.uploadState==="failed"&&!!t&&r.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-file","data-testid":"file-preview-item-retry-button",onClick:()=>t(e)},r.createElement(d,null)),r.createElement("div",{className:"str-chat__attachment-preview-file-end"},r.createElement("div",{className:"str-chat__attachment-preview-file-name",title:e.title},e.title),e.localMetadata?.uploadState==="finished"&&!!e.asset_url&&r.createElement("a",{"aria-label":a("aria/D
2ownload attachment"),className:"str-chat__attachment-preview-file-download",download:!0,href:e.asset_url,rel:"noreferrer",target:"_blank",title:a("Download attachment {{ name }}",{name:e.title})},r.createElement(m,null)),e.localMetadata?.uploadState==="uploading"&&r.createElement(l,{size:17})))};var ei=n(6892);let es=({attachment:e,handleRetry:t,removeAttachments:n})=>{let{t:o}=(0,s.Ht)("ImagePreviewItem"),{BaseImage:i=ei.Z}=(0,H.yM)("ImagePreview"),[u,m]=(0,r.useState)(!1),{id:p,uploadState:f}=e.localMetadata??{},h=(0,r.useCallback)(()=>m(!0),[]),g=e.image_url||e.localMetadata.previewUri;return r.createElement("div",{className:(0,a.Z)("str-chat__attachment-preview-image",{"str-chat__attachment-preview-image--error":u}),"data-testid":"attachment-preview-image"},r.createElement("button",{"aria-label":o("aria/Remove attachment"),className:"str-chat__attachment-preview-delete","data-testid":"image-preview-item-delete-button",disabled:"uploading"===f,onClick:()=>p&&n([p])},r.createElement(c,null)),"failed"===f&&r.createElement("button",{className:"str-chat__attachment-preview-error str-chat__attachment-preview-error-image","data-testid":"image-preview-item-retry-button",onClick:()=>t(e)},r.createElement(d,null)),"uploading"===f&&r.createElement("div",{className:"str-chat__attachment-preview-image-loading"},r.createElement(l,{size:17})),g&&r.createElement(i,{alt:e.fallback,className:"str-chat__attachment-preview-thumbnail",onError:h,src:g,title:e.fallback}))},el=({AudioAttachmentPreview:e=eo,FileAttachmentPreview:t=eo,ImageAttachmentPreview:n=es,UnsupportedAttachmentPreview:a=X,VideoAttachmentPreview:o=eo,VoiceRecordingPreview:i=ea})=>{let{attachments:s,removeAttachments:l,uploadAttachment:u}=(0,F.Nc)("AttachmentPreviewList");return r.createElement("div",{className:"str-chat__attachment-preview-list"},r.createElement("div",{className:"str-chat__attachment-list-scroll-container","data-testid":"attachment-list-scroll-container"},s.map(s=>(0,et.VO)(s)?null:(0,et.JO)(s)?r.createElement(i,{attachment:s,handleRetry:u,key:s.localMetadata.id||s.asset_url,removeAttachments:l}):(0,et.V8)(s)?r.createElement(e,{attachment:s,handleRetry:u,key:s.localMetadata.id||s.asset_url,removeAttachments:l}):(0,et.EM)(s)?r.createElement(o,{attachment:s,handleRetry:u,key:s.localMetadata.id||s.asset_url,removeAttachments:l}):(0,et.SW)(s)?r.createElement(n,{attachment:s,handleRetry:u,key:s.localMetadata.id||s.image_url,removeAttachments:l}):(0,et.es)(s)?r.createElement(t,{attachment:s,handleRetry:u,key:s.localMetadata.id||s.asset_url,removeAttachments:l}):(0,et.a9)(s)?r.createElement(a,{attachment:s,handleRetry:u,key:s.localMetadata.id,removeAttachments:l}):null)))},eu=({startFrom:e})=>{let[t,n]=(0,r.useState)();return(0,r.useEffect)(()=>{let e;return"number"==typeof t&&t>0&&(e=setTimeout(()=>{n(t-1)},1e3)),()=>{clearTimeout(e)}},[t]),(0,r.useEffect)(()=>{n(e??0)},[e]),t},ec=({cooldownInterval:e})=>{let t=eu({startFrom:e});return r.createElement("div",{className:"str-chat__message-input-cooldown","data-testid":"cooldown-timer"},t)},ed=({sendMessage:e,...t})=>r.createElement("button",{"aria-label":"Send",className:"str-chat__send-button","data-testid":"send-button",onClick:e,type:"button",...t},r.createElement(f,null)),em=({onClick:e,...t})=>{let{t:n}=(0,s.Ht)();return r.createElement("button",{"aria-label":n("aria/Stop AI Generation"),className:"str-chat__stop-ai-generation-button","data-testid":"stop-ai-generation-button",onClick:e,...t})};var ep=n(90725);let ef=({durationSeconds:e,mimeType:t,waveformData:n,...a})=>{let{audioRef:o,isPlaying:i,progress:s,secondsElapsed:l,seek:u,togglePlay:c}=(0,er.P)({durationSeconds:e,mimeType:t}),d=l||e;return r.createElement(r.Fragment,null,r.createElement("audio",{ref:o},r.createElement("source",{src:a.src,type:t})),r.createElement("button",{className:"str-chat__audio_recorder__toggle-playback-button","data-testid":"audio-recording-preview-toggle-play-btn",onClick:c},i?r.createElement(y,null):r.createElement(v,null)),r.createElement(en,{durationSeconds:d}),r.createElement("div",{className:"str-chat__wave-progress-bar__track-container"},r.createElement(ep.e,{progress:s,seek:u,waveformData:n||[]})))},eh=({startOnMount:e}={})=>{let[t,n]=(0,r.useState)(0),a=(0,r.useRef)(void 0),o=(0,r.useCallback)(()=>{a.current||(a.current=setInterval(()=>{n(e=>e+1)},1e3))},[]),i=(0,r.useCallback)(()=>{clearInterval(a.current),a.current=void 0},[]);return(0,r.useEffect)(()=>
2{if(e)return o(),()=>{i()}},[o,e,i]),{secondsElapsed:t,startCounter:o,stopCounter:i}},eg=({maxDataPointsDrawn:e=100})=>{let{recordingController:{recorder:t}}=(0,F.Nc)(),[n,a]=(0,r.useState)([]);return((0,r.useEffect)(()=>{if(!t?.amplitudeRecorder)return;let e=t.amplitudeRecorder.amplitudes.subscribe(a);return()=>{e.unsubscribe()}},[t]),t)?r.createElement("div",{className:"str-chat__waveform-box-container"},r.createElement("div",{className:"str-chat__audio_recorder__waveform-box"},n.slice(-e).map((e,t)=>r.createElement("div",{className:"str-chat__wave-progress-bar__amplitude-bar",key:`amplitude-${t}-voice-recording`,style:{"--str-chat__wave-progress-bar__amplitude-bar-height":e?100*e+"%":"0%"}})))):null},ey=()=>{let{secondsElapsed:e,startCounter:t,stopCounter:n}=eh(),{recordingController:{recorder:a}}=(0,F.Nc)();return(0,r.useEffect)(()=>{if(!a?.mediaRecorder)return;let{mediaRecorder:e}=a;return"recording"===e.state&&t(),e.addEventListener("start",t),e.addEventListener("resume",t),e.addEventListener("stop",n),e.addEventListener("pause",n),()=>{e.removeEventListener("start",t),e.removeEventListener("resume",t),e.removeEventListener("stop",n),e.removeEventListener("pause",n)}},[a,t,n]),r.createElement(r.Fragment,null,r.createElement(en,{durationSeconds:e}),r.createElement(eg,null))};var ev=n(55926);let eb=()=>{let{recordingController:{completeRecording:e,recorder:t,recording:n,recordingState:a}}=(0,F.Nc)(),o=n?.localMetadata?.uploadState==="uploading",i=(0,r.useMemo)(()=>({paused:a===ev.vJ.PAUSED,recording:a===ev.vJ.RECORDING,stopped:a===ev.vJ.STOPPED}),[a]);return t?r.createElement("div",{className:"str-chat__audio_recorder-container"},r.createElement("div",{className:"str-chat__audio_recorder","data-testid":"audio-recorder"},r.createElement("button",{className:"str-chat__audio_recorder__cancel-button","data-testid":"cancel-recording-audio-button",disabled:o,onClick:t.cancel},r.createElement(g,null)),i.stopped&&n?.asset_url?r.createElement(ef,{durationSeconds:n.duration??0,mimeType:n.mime_type,src:n.asset_url,waveformData:n.waveform_data}):i.paused||i.recording?r.createElement(ey,null):null,i.paused&&r.createElement("button",{className:"str-chat__audio_recorder__resume-recording-button",onClick:t.resume},r.createElement(h,null)),i.recording&&r.createElement("button",{className:"str-chat__audio_recorder__pause-recording-button","data-testid":"pause-recording-audio-button",onClick:t.pause},r.createElement(y,null)),i.stopped?r.createElement("button",{className:"str-chat__audio_recorder__complete-button","data-testid":"audio-recorder-complete-button",disabled:o,onClick:e},o?r.createElement(l,null):r.createElement(f,null)):r.createElement("button",{className:"str-chat__audio_recorder__stop-button","data-testid":"audio-recorder-stop-button",onClick:t.stop},r.createElement(b,null)))):null},eD=({onClose:e,permissionName:t})=>{let{t:n}=(0,s.Ht)(),a={body:{camera:n("To start recording, allow the camera access in your browser"),microphone:n("To start recording, allow the microphone access in your browser")},heading:{camera:n("Allow access to camera"),microphone:n("Allow access to microphone")}};return r.createElement("div",{className:"str-chat__recording-permission-denied-notification"},r.createElement("div",{className:"str-chat__recording-permission-denied-notification__heading"},a.heading[t]),r.createElement("p",{className:"str-chat__recording-permission-denied-notification__message"},a.body[t]),r.createElement("div",{className:"str-chat__recording-permission-denied-notification__dismiss-button-container"},r.createElement("button",{className:"str-chat__recording-permission-denied-notification__dismiss-button",onClick:e},n("Ok"))))},e_=e=>r.createElement("button",{"aria-label":"Start recording audio",className:"str-chat__start-recording-audio-button","data-testid":"start-recording-audio-button",...e},r.createElement(h,null));var eE=n(4783),eC=n(95179),ew=n(7076),ex=n(44444),ek=n(37495),eS=n(69427);let eM=()=>{let{setQuotedMessage:e}=(0,ek.uz)("QuotedMessagePreview"),{t}=(0,s.Ht)("QuotedMessagePreview");return r.createElement("div",{className:"str-chat__quoted-message-preview-header"},r.createElement("div",{className:"str-chat__quoted-message-reply-to-message"},t("Reply to Message")),r.createElement("button",{"aria-label":t("aria/Cancel Reply"),className:"str-chat__quoted-message-remove",onClick:()=>e(void 0)},r.createElement(c,null)))},eT=({quotedMessage:e,renderText:t=eS.IY})=>{let{client:n}=(0,O.mx)(),{Attachment:a=eC.P,Avatar:o=ew.q}=(0,H.yM)("QuotedMessagePreview"),{userLanguage:i}=(0,s.Ht)("QuotedMessagePreview"),l=e.i18n?.[`${i}_text`]||e.text,u=(0,r.useMemo)(()=>t(l,e.mentioned_users),[e.mentioned_users,l,t]),c=(0,r.useMemo)(()=>{let[t]=e.attachments??[];return t?[t]:[]},[e.attachments]);if(!l&&!c)return null;let d=e.poll_id&&n.polls.fromState(e.poll_id);return r.createElement("div",{className:"str-chat__quoted-message-preview","data-testid":"quoted-message-preview"},e.user&&r.createElement(o,{className:"str-chat__avatar--quoted-message-sender",image:e.user.image,name:e.user.name||e.user.id,user:e.user}),r.createElement("div",{className:"str-chat__quoted-message-bubble"},d?r.createElement(ex.n,{isQuoted:!0,poll:d}):r.createElement(r.Fragment,null,!!c.length&&r.createElement(a,{attachments:c,isQuoted:!0}),r.createElement("div",{className:"str-chat__quoted-message-text","data-testid":"quoted-message-text"},u))))};var eO=n(27882),eF=n(19382),eP=n(51385);let eA=({linkPreviews:e})=>{let{quotedMessage:t}=(0,B.JN)(),n=e.length>0&&!t;return n?r.createElement("div",{className:"str-chat__link-preview-list"},Array.from(e.values()).map(e=>e.state===eO.G.LOADED?r.createElement(eL,{key:e.og_scrape_url,linkPreview:e}):null)):null},eL=({linkPreview:e})=>{let{dismissLinkPreview:t}=(0,F.Nc)(),{handleEnter:n,handleLeave:o,tooltipVisible:i}=(0,eP.r)(),[s,l]=(0,r.useState)(null);return r.createElement("div",{className:(0,a.Z)("str-chat__link-preview-card",{"str-chat__link-preview-card--loading":e.state===eO.G.LOADING}),"data-testid":"link-preview-card"},r.createElement(eF.X,{offset:[0,5],referenceElement:s,visible:i},e.og_scrape_url),r.createElement("div",{className:"str-chat__link-preview-card__icon-container",onMouseEnter:n,onMouseLeave:o,ref:l},r.createElement(p,null)),r.createElement("div",{className:"str-chat__link-preview-card__content"},r.createElement("div",{className:"str-chat__link-preview-card__content-title"},e.title),r.createElement("div",{className:"str-chat__link-preview-card__content-description"},e.text)),r.createElement("button",{className:"str-chat__link-preview-card__dismiss-button","data-testid":"link-preview-card-dismiss-btn",onClick:()=>t(e)},r.createElement(c,null)))};
2var eN=n(45697),eR=n.n(eN),ej=n(87462),eI=n(63366),eB=n(73469),eU=function(e){var t=r.useRef(e);return(0,eB.Z)(function(){t.current=e}),t},ez=function(e,t){if("function"==typeof e){e(t);return}e.current=t},eH=function(e,t){var n=r.useRef();return r.useCallback(function(r){e.current=r,n.current&&ez(n.current,null),n.current=t,t&&ez(t,r)},[t])},eV={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},e$=function(e){Object.keys(eV).forEach(function(t){e.style.setProperty(t,eV[t],"important")})},eZ=null,eY=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},eW=function(){},eq=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],eK=!!document.documentElement.currentStyle,eG=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=eq.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;eK&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var a=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:a,borderSize:o}};function eJ(e,t,n){var a=eU(n);r.useLayoutEffect(function(){var n=function(e){return a.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var eQ=function(e,t){eJ(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},eX=function(e){eJ(window,"resize",e)},e0=function(e){eJ(document.fonts,"loadingdone",e)},e1=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],e2=r.forwardRef(function(e,t){var n=e.cacheMeasurements,a=e.maxRows,o=e.minRows,i=e.onCh
2ange,s=void 0===i?eW:i,l=e.onHeightChange,u=void 0===l?eW:l,c=(0,eI.Z)(e,e1),d=void 0!==c.value,m=r.useRef(null),p=eH(m,t),f=r.useRef(0),h=r.useRef(),g=function(){var e,t,r,i,s,l,c,d,p,g,y,v=m.current,b=n&&h.current?h.current:eG(v);if(b){h.current=b;var D=(e=v.value||v.placeholder||"x",void 0===(t=o)&&(t=1),void 0===(r=a)&&(r=1/0),eZ||((eZ=document.createElement("textarea")).setAttribute("tabindex","-1"),eZ.setAttribute("aria-hidden","true"),e$(eZ)),null===eZ.parentNode&&document.body.appendChild(eZ),i=b.paddingSize,s=b.borderSize,c=(l=b.sizingStyle).boxSizing,Object.keys(l).forEach(function(e){eZ.style[e]=l[e]}),e$(eZ),eZ.value=e,d=eY(eZ,b),eZ.value=e,d=eY(eZ,b),eZ.value="x",g=(p=eZ.scrollHeight-i)*t,"border-box"===c&&(g=g+i+s),d=Math.max(g,d),y=p*r,"border-box"===c&&(y=y+i+s),[d=Math.min(y,d),p]),_=D[0],E=D[1];f.current!==_&&(f.current=_,v.style.setProperty("height",_+"px","important"),u(_,{rowHeight:E}))}};return r.useLayoutEffect(g),eQ(m,function(){if(!d){var e=m.current.value;requestAnimationFrame(function(){var t=m.current;t&&e!==t.value&&g()})}}),eX(g),e0(g),r.createElement("textarea",(0,ej.Z)({},c,{onChange:function(e){d||g(),s(e)},ref:p}))}),e3=n(16496),e4=n.n(e3);let e9=r.forwardRef(function(e,t){let{className:n,component:o,item:i,onClickHandler:s,onSelectHandler:l,selected:u,style:c}=e,d=(0,r.useCallback)(()=>l(i),[i,l]),m=(0,r.useCallback)(e=>s(e,i),[i,s]);return r.createElement("li",{className:(0,a.Z)(n,{"str-chat__suggestion-item--selected":u}),style:c},r.createElement("a",{href:"",onClick:m,onFocus:d,onMouseEnter:d,ref:t},r.createElement(o,{entity:i,selected:u})))});var e6=n(29688);let e8=({className:e,component:t,currentTrigger:n,dropdownScroll:o,getSelectedItem:i,getTextToReplace:s,itemClassName:l,itemStyle:u,onSelect:c,selectionEnd:d,style:m,SuggestionItem:p,value:f,values:h})=>{let{AutocompleteSuggestionItem:g}=(0,H.yM)("SuggestionList"),y=p||g||e9,[v,b]=(0,r.useState)(void 0),D=[],_=e=>v===h.findIndex(t=>E(t)===E(e)),E=e=>{let t=s(e);return t.key?t.key:"string"!=typeof e&&e.key?e.key:t.text},C=(0,r.useCallback)(e=>h.findIndex(t=>t.id?t.id===e.id:t.name===e.name),[h]),w=e=>{e&&(c(s(e)),i&&i(e))},x=(0,r.useCallback)((e,t)=>{e?.preventDefault();let n=C(t);w(h[n])},[w,C]),k=(0,r.useCallback)(e=>{let t=C(e);b(t)},[C]),S=(0,r.useCallback)(e=>("ArrowUp"===e.key&&b(e=>{if(void 0===e)return 0;let t=0===e?h.length-1:e-1;return o(D[t]),t}),"ArrowDown"===e.key&&b(e=>{if(void 0===e)return 0;let t=e===h.length-1?0:e+1;return o(D[t]),t}),("Enter"===e.key||"Tab"===e.key)&&void 0!==v&&x(e,h[v]),null),[v,h]);(0,r.useEffect)(()=>(document.addEventListener("keydown",S,!1),()=>document.removeEventListener("keydown",S)),[S]),(0,r.useEffect)(()=>{h?.length&&k(h[0])},[h]);let M=(0,r.useCallback)(e=>{let t=e.name||e.id,r=f.slice(0,d),a=r.lastIndexOf(n),o=(0,e6.hr)(r.slice(a+1)),i=t.split(RegExp(`(${o})`,"gi"));return{...e,itemNameParts:{match:o,parts:i}}},[f,d,n]),T=(0,r.useMemo)(()=>h.map(M),[h,M]);return r.createElement("ul",{className:(0,a.Z)("str-chat__suggestion-list",e),style:m},T.map((e,n)=>r.createElement(y,{className:l,component:t,item:e,key:E(e),onClickHandler:x,onSelectHandler:k,ref:e=>{D[n]=e},selected:_(e),style:u,value:f})))},e5="next",e7=e=>console.error(`RTA: dataProvider fails: ${e} 3 4Check the documentation or create issue if you think it's bug. https://github.com/webscopeio/react-textarea-autocomplete/issues`);var te=n(16164),tt=n(9509);let tn=()=>"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent||"");class tr extends r.Component{constructor(e){super(e),this.getSelectionPosition=()=>this.textareaRef?{selectionEnd:this.textareaRef.selectionEnd,selectionStart:this.textareaRef.selectionStart}:null,this.getSelectedText=()=>{if(!this.textareaRef)return null;let{selectionEnd:e,selectionStart:t}=this.textareaRef;return t===e?null:this.state.value.substr(t,e-t)},this.setCaretPosition=(e=0)=>{this.textareaRef&&(this.textareaRef.focus(),this.textareaRef.setSelectionRange(e,e))},this.getCaretPosition=()=>this.textareaRef?this.textareaRef.selectionEnd:0,this._defaultShouldSubmit=e=>"Enter"===e.key&&!e.shiftKey&&!e.nativeEvent.isComposing,this._handleKeyDown=e=>{let{shouldSubmit:t=this._defaultShouldSubmit}=this.props;return(("ArrowUp"===e.key||"ArrowDown"===e.key)&&this.dropdownRef&&e.preventDefault(),t?.(e))?this._onEnter(e):" "===e.key?this._onSpace(e):"Escape"===e.key?this._closeAutocomplete():void 0},this._onEnter=async e=>{if(!this.textareaRef)return;let t=this.state.currentTrigger;t&&this.state.data||(e.persist(),await this._replaceWord(),this.textareaRef&&(this.textareaRef.selectionEnd=0),this.props.handleSubmit(e),this._closeAutocomplete())},this._onSpace=()=>{if(!this.props.replaceWord||!this.textareaRef)return;let e=this.textareaRef.matches(":focus");e&&this._replaceWord()},this._replaceWord=async()=>{let{value:e}=this.state,t=/([^\s]+)(\s*)$/.exec(e.slice(0,this.getCaretPosition())),n=t&&t[1];if(!n)return;let r=t[2],a=await this.props.replaceWord(n);if(null==a)return;let o=e.slice(0,this.getCaretPosition()-t[0].length),i=e.slice(this.getCaretPosition(),-1);this.setState({value:o+a+r+i},()=>{let e=new CustomEvent("change",{bubbles:!0});this.textareaRef.dispatchEvent(e),this.props.onChange&&this.props.onChange(e)}
4)},this._onSelect=e=>{let{closeCommandsList:t,closeMentionsList:n,onChange:r,showCommandsList:a,showMentionsList:o}=this.props,{currentTrigger:i,selectionEnd:s,value:l}=this.state,u=a?"/":o?"@":i;if(!u)return;let c=a?"/":o?"@":l.slice(0,s),d=c.lastIndexOf(u),m="next"===e.caretPosition?`${e.text} `:e.text,p=((e,t,n)=>{switch(e){case"start":return n;case"next":case"end":return n+t.length;default:if(!Number.isInteger(e))throw Error('RTA: caretPosition should be "start", "next", "end" or number.');return e}})(e.caretPosition,m,d),f=c.substring(0,d)+m,h=l.replace(c,f);this.setState({dataLoading:!1,value:h},()=>{let e=new CustomEvent("change",{bubbles:!0});this.textareaRef.dispatchEvent(e),r&&r(e),this.setCaretPosition(p)}),this._closeAutocomplete(),a&&t(),o&&n()},this._getItemOnSelect=e=>{let{currentTrigger:t}=this.state,n=this._getCurrentTriggerSettings(e),r=e||t;if(!r||!n)return null;let{callback:a}=n;return a?e=>{if("function"!=typeof a)throw Error('Output functor is not defined! You have to define "output" function. https://github.com/webscopeio/react-textarea-autocomplete#trigger-type');return a?a(e,r):null}:null},this._getTextToReplace=e=>{let{actualToken:t,currentTrigger:n}=this.state,r=this._getCurrentTriggerSettings(e),a=e||n;if(!a||!r)return null;let{output:o}=r;return e=>{if("object"==typeof e&&(!o||"function"!=typeof o))throw Error('Output functor is not defined! If you are using items as object you have to define "output" function. https://github.com/webscopeio/react-textarea-autocomplete#trigger-type');if(o){let n=o(e,a);if(!n||"number"==typeof n)throw Error(`Output functor should return string or object in shape {text: string, caretPosition: string | number}. 5Got "${String(n)}". Check the implementation for trigger "${a}" and its token "${t}" 6 7See https://github.com/webscopeio/react-textarea-autocomplete#trigger-type for more informations. 8`);if("string"==typeof n)return{caretPosition:e5,text:n};if(!n.text&&":"!==a)throw Error(`Output "text" is not defined! Object should has shape {text: string, caretPosition: string | number}. Check the implementation for trigger "${a}" and its token "${t}" 9`);if(!n.caretPosition)throw Error(`Output "caretPosition" is not defined! Object should has shape {text: string, caretPosition: string | number}. Check the implementation for trigger "${a}" and its token "${t}" 10`);return n}if("string"!=typeof e)throw Error("Output item should be string\n");return{caretPosition:e5,text:`${a}${e}${a}`}}},this._getCurrentTriggerSettings=e=>{let{currentTrigger:t}=this.state,n=e||t;return n?this.props.trigger[n]:null},this._getValuesFromProvider=()=>{let{actualToken:e,currentTrigger:t}=this.state,n=this._getCurrentTriggerSettings();if(!t||!n)return;let{component:r,dataProvider:a}=n;if("function"!=typeof a)throw Error("Trigger provider has to be a function!");this.setState({dataLoading:!0}),a(e,this.state.value,(e,n)=>{if(n===this.state.actualToken){if(!Array.isArray(e))throw Error("Trigger provider has to provide an array!");if(t===this.state.currentTrigger){if(!e.length){this._closeAutocomplete();return}this.setState({component:r,data:e,dataLoading:!1})}}})},this._getSuggestions=e=>{let{currentTrigger:t,data:n}=this.state;return(e||t)&&n&&(!n||n.length)?n:null},this._closeAutocomplete=()=>{this.setState({currentTrigger:null,data:null,dataLoading:!1,left:null,top:null})},this._cleanUpProps=()=>{let e={...this.props},t=["additionalTextareaProps","className","closeCommandsList","closeMentionsList","closeOnClickOutside","containerClassName","containerStyle","disableMentions","dropdownClassName","dropdownStyle","grow","handleSubmit","innerRef","itemClassName","itemStyle","listClassName","listStyle","loaderClassName","loaderStyle","loadingComponent","minChar","movePopupAsYouType","onCaretPositionChange","onChange","ref","replaceWord","scrollToItem","shouldSubmit","showCommandsList","showMentionsList","SuggestionItem","SuggestionList","trigger","value"];for(let n in e)t.includes(n)&&delete e[n];return e},this._isCommand=e=>{if("/"!==e[0])return!1;let t=e.split(" ");return t.length<=1},this._changeHandler=e=>{let t,n;let{minChar:r,movePopupAsYouType:a,onCaretPositionChange:o,onChange:i,trigger:s}=this.props,{left:l,top:u}=this.state,c=e.target,{selectionEnd:d,selectionStart:m,value:p}=c;if(i&&(e.persist(),i(e)),o&&o(this.getCaretPosition()),this.setState({value:p}),this._isCommand(p))t="/",n=p;else{let e=Object.keys(s).join().replace("/",""),r=`[^\\s${e}]*`,a=RegExp(`(?!^|\\W)?[${e}]${r}\\s?${r}$`,"g"),o=p.slice(0,d).match(a);t=(n=o&&o[o.length-1].trim())&&Object.keys(s).find(e=>e===n[0])||null}if(!n||n.length<=r){this._closeAutocomplete();return}let f=n.slice(1);if(t){if(a||null===u&&null===l||1===n.length){let{left:e,top:t}=e4()(c,d);this.setState({left:e,top:t-this.textareaRef.scrollTop||0})}this.setState({actualToken:f,currentTrigger:t,selectionEnd:d,selectionStart:m},()=>{try{this._getValuesFromProvider()}catch(e){e7(e.message)}})}},this._selectHandler=e=>{let{onCaretPositionChange:t,onSelect:n}=this.props;t&&t(this.getCaretPosition()),n&&(e.persist(),n(e))},this._onClickAndBlurHandler=e=>{let{closeOnClickOutside:t,onBlur:n}=this.props,r=e.relatedTarget,a=tn()&&"blur"===e.type;this.dropdownRef&&r instanceof Node&&this.dropdownRef.contains(r)||a||(t&&this._closeAutocomplete(),n&&(e.persist(),n(e)))},this._onScrollHandler=()=>this._closeAutocomplete(),this._dropdownScroll=e=>{let{scrollToItem:t}=this.props;if(t){if(!0===t){!function(e,t){if(!t)return;let n=parseInt(getComputedStyle(t).getPropertyValue("height"),10),r=parseInt(getComputedStyle(e).getPropertyValue("height"),10)-n,a=e.scrollTop,o=t.offsetTop;o<a+r&&a<o||(e.scrollTop=o)}(this.dropdownRef,e);return}if("function"!=typeof t||2!==t.length)throw Error("`scrollToItem` has to be boolean (true for default implementation) or function with two parameters: container, item.");t(this.dropdownRef,e)}},this.getTriggerProps=()=>{let{showCommandsList:e,showMentionsList:t,trigger:n}=this.props,{component:r,currentTrigger:a,selectionEnd:o,value:i}=this.state,s=this._getItemOnSelect(),l=this._getSuggestions(),u=this._getTextToReplace(),c={component:r,currentTrigger:a,getSelectedItem:s,getTextToReplace:u,selectionEnd:o,value:i,values:l};if(e&&n["/"]||t&&n["@"]){let t;let r=n[e?"/":"@"].dataProvider;r?.("",e?"/":"@",e=>{t=e}),c.component=e?te.d:tt.E,c.currentTrigger=e?"/":"@",c.getTextToReplace=this._getTextToReplace(e?"/":"@"),c.getSelectedItem=this._getItemOnSelect(e?"/":"@"),c.selectionEnd=1,c.value=e?"/":"@",c.values=t}return c},this.setDropdownRef=e=>{this.dropdownRef=e};let{loadingComponent:t,trigger:n,value:r}=this.props;if(!t)throw Error("RTA: loadingComponent is not defined");if(!n)throw Error("RTA: trigger is not defined");this.state={actualToken:"",component:null,currentTrigger:null,data:null,dataLoading:!1,isComposing:!1,left:null,selectionEnd:0,selectionStart:0,top:null,value:r||""}}static getDerivedStateFromProps(e,t){return e.value===t.propsValue&&t.value?null:{propsValue:e.value,value:e.value}}renderSuggestionListContainer(){let{disableMentions:e,dropdownClassName:t,dropdownStyle:n,itemClassName:o,itemStyle:i,listClassName:s,SuggestionItem:l,SuggestionList:u=e8}=this.props,{isComposing:c}=this.state,d=this.getTriggerProps();return c||!d.values||!d.currentTrigger||e&&"@"===d.currentTrigger?null:r.createElement("div",{className:(0,a.Z)("str-chat__suggestion-list-container",t),ref:this.setDropdownRef,style:n},r.createElement(u,{className:s,dropdownScroll:this._dropdownScroll,itemClassName:(0,a.Z)("str-chat__suggestion-list-item",o),itemStyle:i,onSelect:this._onSelect,SuggestionItem:l,...d}))}render(){let{className:e,containerClassName:t,containerStyle:n,style:o}=this.props,{onBlur:i,onChange:s,onClick:l,onFocus:u,onKeyDown:c,onScroll:d,onSelect:m,...p}=this.props.additionalTextareaProps||{},{maxRows:f}=this.props,{dataLoading:h,value:g}=this.state;return this.props.grow||(f=1),r.createElement("div",{className:(0,a.Z)("rta",t,{"rta--loading":h}),style:n},this.renderSuggestionListContainer(),r.createElement(e2,{"data-testid":"message-input",...this._cleanUpProps(),className:(0,a.Z)("rta__textarea",e),maxRows:f,onBlur:e=>{this._onClickAndBlurHandler(e),i?.(e)},onChange:e=>{this._changeHandler(e),s?.(e)},onClick:e=>{this._onClickAndBlurHandler(e),l?.(e)},onCompositionEnd:()=>this.setState(e=>({...e,isComposing:!1})),onCompositionStart:()=>this.setState(e=>({...e,isComposing:!0})),onFocus:e=>{this.props.onFocus?.(e),u?.(e)},onKeyDown:e=>{this._handleKeyDown(e),c?.(e)},onScroll:e=>{this._onScrollHandler(e),d?.(e)},onSelect:e=>{this._selectHandler(e),m?.(e)},ref:e=>{this.props?.innerRef(e),this.textareaRef=e},style:o,value:g,...p,defaultValue:void 0}))}}tr.defaultProps={closeOnClickOutside:!0,maxRows:10,minChar:1,movePopupAsYouType:!1,scrollToItem:!0,value:""}
10,tr.propTypes={className:eR().string,closeOnClickOutside:eR().bool,containerClassName:eR().string,containerStyle:eR().object,disableMentions:eR().bool,dropdownClassName:eR().string,dropdownStyle:eR().object,itemClassName:eR().string,itemStyle:eR().object,listClassName:eR().string,listStyle:eR().object,loaderClassName:eR().string,loaderStyle:eR().object,loadingComponent:eR().elementType,minChar:eR().number,onBlur:eR().func,onCaretPositionChange:eR().func,onChange:eR().func,onSelect:eR().func,shouldSubmit:eR().func,style:eR().object,SuggestionList:eR().elementType,trigger:({trigger:e})=>{if(!e)return Error("Invalid prop trigger. Prop missing.");let t=Object.entries(e);for(let e=0;e<t.length;e+=1){let[n,r]=t[e];if("string"!=typeof n||1!==n.length)return Error("Invalid prop trigger. Keys of the object has to be string / one character.");let{callback:a,dataProvider:o,output:i}=r;if(!o||"function"!=typeof o)return Error("Invalid prop trigger: dataProvider should be defined.");if(i&&"function"!=typeof i)return Error("Invalid prop trigger: output should be a function.");if(a&&"function"!=typeof a)return Error("Invalid prop trigger: callback should be a function.")}return null},value:eR().string};var ta=n(44498);let to=r.memo(e=>{let{AutocompleteSuggestionItem:t,AutocompleteSuggestionList:n}=(0,H.yM)("ChatAutoComplete"),{t:a}=(0,s.Ht)("ChatAutoComplete"),o=(0,F.Nc)("ChatAutoComplete"),{cooldownRemaining:i,disabled:l,emojiSearchIndex:u,textareaRef:c}=o,d=e.placeholder||a("Type your message"),m=e.wordReplace?t=>e.wordReplace?.(t,u):async e=>{let t=await u?.search(e)||[],n=t.filter(Boolean).slice(0,10).find(({emoticons:t})=>!!t?.includes(e));if(!n)return null;let[r]=n.skins??[];return n.native??r.native},p=(0,r.useCallback)(e=>{c&&(c.current=e)},[c]);return r.createElement(tr,{additionalTextareaProps:o.additionalTextareaProps,"aria-label":i?a("Slow Mode ON"):d,className:"str-chat__textarea__textarea str-chat__message-textarea",closeCommandsList:o.closeCommandsList,closeMentionsList:o.closeMentionsList,containerClassName:"str-chat__textarea str-chat__message-textarea-react-host",disabled:(e.disabled??l)||!!i,disableMentions:o.disableMentions,grow:o.grow,handleSubmit:e.handleSubmit||o.handleSubmit,innerRef:p,loadingComponent:ta.T,maxRows:o.maxRows,minChar:0,minRows:o.minRows,onBlur:e.onBlur,onChange:e.onChange||o.handleChange,onFocus:e.onFocus,onPaste:e.onPaste||o.onPaste,placeholder:i?a("Slow Mode ON"):d,replaceWord:m,rows:e.rows||1,shouldSubmit:o.shouldSubmit,showCommandsList:o.showCommandsList,showMentionsList:o.showMentionsList,SuggestionItem:t,SuggestionList:n,trigger:o.autocompleteTriggers||{},value:e.value||o.text})}),ti={Generating:"AI_STATE_GENERATING",Idle:"AI_STATE_IDLE",Thinking:"AI_STATE_THINKING"},ts=e=>{let[t,n]=(0,r.useState)(ti.Idle);return(0,r.useEffect)(()=>{if(!e)return;let t=e.on("ai_indicator.update",t=>{let{cid:r}=t,a=t.ai_state;e.cid===r&&n(a)}),r=e.on("ai_indicator.clear",t=>{let{cid:r}=t;e.cid===r&&n(ti.Idle)});return()=>{t.unsubscribe(),r.unsubscribe()}},[e]),{aiState:t}},tl=()=>{let{t:e}=(0,s.Ht)("MessageInputFlat"),{asyncMessagesMultiSendEnabled:t,attachments:n,cooldownRemaining:i,findAndEnqueueURLsToEnrich:l,handleSubmit:u,hideSendButton:c,isUploadEnabled:d,linkPreviews:m,maxFilesLeft:p,message:f,numberOfUploads:h,parent:g,recordingController:y,setCooldownRemaining:v,text:b,uploadNewFiles:D}=(0,F.Nc)("MessageInputFlat"),{AttachmentPreviewList:_=el,AttachmentSelector:E=f?Y:J,AudioRecorder:C=eb,CooldownTimer:w=ec,EmojiPicker:x,LinkPreviewList:k=eA,QuotedMessagePreview:S=eT,RecordingPermissionDeniedNotification:M=eD,SendButton:T=ed,StartRecordingAudioButton:P=e_,StopAIGenerationButton:A}=(0,H.yM)("MessageInputFlat"),{acceptedFiles:L=[],multipleUploads:N,quotedMessage:R}=(0,B.JN)("MessageInputFlat"),{setQuotedMessage:j}=(0,ek.uz)("MessageInputFlat"),{channel:I}=(0,O.mx)("MessageInputFlat"),{aiState:U}=ts(I),z=(0,r.useCallback)(()=>I?.stopAIResponse(),[I]),[V,$]=(0,r.useState)(!1),Z=(0,r.useCallback)(()=>{$(!1)},[]),W=(0,r.useMemo)(()=>n.filter(e=>e.localMetadata?.uploadState==="failed").length,[n]),q=(0,r.useMemo)(()=>L.reduce((e,t)=>
10(e[t]??(e[t]=[]),e),{}),[L]),{getRootProps:K,isDragActive:G,isDragReject:Q}=(0,o.uI)({accept:q,disabled:!d||0===p,multiple:N,noClick:!0,onDrop:D});if((0,r.useEffect)(()=>{let e=e=>{if(e.message?.id===R?.id){if("message.deleted"===e.type){j(void 0);return}j(e.message)}};return I?.on("message.deleted",e),I?.on("message.updated",e),()=>{I?.off("message.deleted",e),I?.off("message.updated",e)}},[I,R]),y.recordingState)return r.createElement(C,null);let X=!f&&R&&R.parent_id===g?.id,ee=!!(y.recorder&&navigator.mediaDevices),et=!!y.recordingState,en=void 0===A?em:A,er=[ti.Thinking,ti.Generating].includes(U)&&!!en;return r.createElement(r.Fragment,null,r.createElement("div",{...K({className:"str-chat__message-input"})},ee&&"denied"===y.permissionState&&V&&r.createElement(M,{onClose:Z,permissionName:eE.f.MIC}),l&&r.createElement(k,{linkPreviews:Array.from(m.values())}),G&&r.createElement("div",{className:(0,a.Z)("str-chat__dropzone-container",{"str-chat__dropzone-container--not-accepted":Q})},!Q&&r.createElement("p",null,e("Drag your files here")),Q&&r.createElement("p",null,e("Some of the files will not be accepted"))),X&&r.createElement(eM,null),r.createElement("div",{className:"str-chat__message-input-inner"},r.createElement(E,null),r.createElement("div",{className:"str-chat__message-textarea-container"},X&&r.createElement(S,{quotedMessage:R}),d&&!!(h+W||n.length>0)&&r.createElement(_,null),r.createElement("div",{className:"str-chat__message-textarea-with-emoji-picker"},r.createElement(to,null),x&&r.createElement(x,null))),er?r.createElement(en,{onClick:z}):!c&&r.createElement(r.Fragment,null,i?r.createElement(w,{cooldownInterval:i,setCooldownRemaining:v}):r.createElement(r.Fragment,null,r.createElement(T,{disabled:!h&&!b.length&&n.length-W==0,sendMessage:u}),ee&&r.createElement(P,{disabled:et||!t&&n.some(e=>e.type===ev.hX.VOICE_RECORDING),onClick:()=>{y.recorder?.start(),$(!0)}}))))))}},96808:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(67294),a=n(83156),o=n(87029);let i=()=>{let{client:e,latestMessageDatesByChannels:t}=(0,a.mx)("useCooldownTimer"),{channel:n,messages:i=[]}=(0,o.JN)("useCooldownTimer"),[s,l]=(0,r.useState)(),{cooldown:u=0,own_capabilities:c}=n.data||{},d=c?.includes("skip-slow-mode"),m=(0,r.useMemo)(()=>t[n.cid]??[...i].sort((e,t)=>t.created_at?.getTime()-e.created_at?.getTime()).find(t=>
10t.user?.id===e.user?.id)?.created_at,[i,e.user?.id,t,n.cid]);return(0,r.useEffect)(()=>{let e=m?Math.max(0,(new Date().getTime()-m.getTime())/1e3):void 0,t=!d&&void 0!==e&&u>e?Math.round(u-e):0;if(l(t),!t)return;let n=setTimeout(()=>{l(0)},1e3*t);return()=>{clearTimeout(n)}},[u,m,d]),{cooldownInterval:u,cooldownRemaining:s,setCooldownRemaining:l}}},87182:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(67294);let a=e=>{let{additionalTextareaProps:t,asyncMessagesMultiSendEnabled:n,attachments:a,audioRecordingEnabled:o,autocompleteTriggers:i,cancelURLEnrichment:s,clearEditingState:l,closeCommandsList:u,closeMentionsList:c,cooldownInterval:d,cooldownRemaining:m,disabled:p,disableMentions:f,dismissLinkPreview:h,doFileUploadRequest:g,doImageUploadRequest:y,emojiSearchIndex:v,errorHandler:b,findAndEnqueueURLsToEnrich:D,focus:_,grow:E,handleChange:C,handleSubmit:w,hideSendButton:x,insertText:k,isThreadInput:S,isUploadEnabled:M,linkPreviews:T,maxFilesLeft:O,maxRows:F,mentionAllAppUsers:P,mentioned_users:A,mentionQueryParams:L,message:N,minRows:R,noFiles:j,numberOfUploads:I,onPaste:B,onSelectUser:U,openCommandsList:z,openMentionsList:H,overrideSubmitHandler:V,parent:$,publishTypingEvent:Z,recordingController:Y,removeAttachments:W,setCooldownRemaining:q,setText:K,shouldSubmit:G,showCommandsList:J,showMentionsList:Q,text:X,textareaRef:ee,uploadAttachment:et,uploadNewFiles:en,upsertAttachments:er,useMentionsTransliteration:ea}=e,eo=N?.editing,ei=Array.from(T.values()).join(),es=A.length,el=$?.id,eu=(0,r.useMemo)(()=>({additionalTextareaProps:t,asyncMessagesMultiSendEnabled:n,attachments:a,audioRecordingEnabled:o,autocompleteTriggers:i,cancelURLEnrichment:s,clearEditingState:l,closeCommandsList:u,closeMentionsList:c,cooldownInterval:d,cooldownRemaining:m,disabled:p,disableMentions:f,dismissLinkPreview:h,doFileUploadRequest:g,doImageUploadRequest:y,emojiSearchIndex:v,errorHandler:b,findAndEnqueueURLsToEnrich:D,focus:_,grow:E,handleChange:C,handleSubmit:w,hideSendButton:x,insertText:k,isThreadInput:S,isUploadEnabled:M,linkPreviews:T,maxFilesLeft:O,maxRows:F,mentionAllAppUsers:P,mentioned_users:A,mentionQueryParams:L,message:N,minRows:R,noFiles:j,numberOfUploads:I,onPaste:B,onSelectUser:U,openCommandsList:z,openMentionsList:H,overrideSubmitHandler:V,parent:$,publishTypingEvent:Z,recordingController:Y,removeAttachments:W,setCooldownRemaining:q,setText:K,shouldSubmit:G,showCommandsList:J,showMentionsList:Q,text:X,textareaRef:ee,uploadAttachment:et,uploadNewFiles:en,upsertAttachments:er,useMentionsTransliteration:ea}),[n,a,o,s,d,m,h,eo,v,D,w,x,M,S,ei,es,R,el,Z,Y,W,J,Q,X,et,er]);return eu}},81935:function(e,t,n){"use strict";n.d(t,{k:function(){return F}});var r=n(67294),a=n(53416),o=n(87029),i=n(44068),s=n(32228),l=n(6918),u=n(83156),c=n(21681),d=n(37495);let m=e=>e.type.startsWith("image/")&&!e.type.endsWith(".photoshop"),p=e=>e.startsWith("image/")&&!e.endsWith(".photoshop")?"image":e.includes("video/")?"video":e.includes("audio/")?"audio":"file",f=e=>{if((0,s.a9)(e))return e;let{localMetadata:t,...n}=e;return{localMetadata:{...t??{},id:t?.id||(0,a.x0)()},...n}},h=(e,t,n,h)=>{let{doFileUploadRequest:g,doImageUploadRequest:y,errorHandler:v,noFiles:b}=e,{getAppSettings:D}=(0,u.mx)("useAttachments"),{t:_}=(0,c.Ht)("useAttachments"),{addNotification:E}=(0,d.uz)("useAttachments"),{channel:C,maxNumberOfFiles:w,multipleUploads:x}=(0,o.JN)("useAttachments"),k=Object.values(t.attachments).filter(({localMetadata:e})=>e.uploadState&&"failed"!==e.uploadState).length,S=(x?w||10:1)-k,M=(0,r.useCallback)(e=>{e.length&&n({ids:e,type:"removeAttachments"})},[n]),T=(0,r.useCallback)(e=>{e.length&&n({attachments:e.map(f),type:"upsertAttachments"})},[n]),O=(0,r.useCallback)(async e=>{let t;let{localMetadata:n,...r}=e;if(!n?.file)return e;let{file:o}=n,l=m(o);if(b&&!l)return e;let u=await (0,i.kx)({addNotification:E,file:o,getAppSettings:D,t:_,uploadType:l?"image":"file"});if(!u)return e;n.id=n?.id??(0,a.x0)();let c={type:p(o.type)};l?(n.previewUri=URL.createObjectURL?.(o),o instanceof File&&(c.fallback=o.name)):(c.file_size=o.size,c.mime_type=o.type,o instanceof File&&(c.title=o.name)),Object.assign(c,r),T([{...c,localMetadata:{...n,uploadState:"uploading"}}]);try{let e=l?y:g;t=e?await e(o,C):await C[l?"sendImage":"sendFile"](o)}catch(r){let e={message:_("Error uploading attachment"),name:"Error"};"string"==typeof r.message?e=r:"object"==typeof r&&(e=Object.assign(e,r)),console.error(e),E(e.message,"error");let t={...c,localMetadata:{...n,uploadState:"failed"}};return T([t]),v&&v(e,"upload-attachment",{...o,id:n.id}),t}if(!t){M([n.id]);return}let d={...c,localMetadata:{...n,uploadState:"finished"}};return(0,s.SW)(d)?(d.localMetadata.previewUri&&(URL.revokeObjectURL(d.localMetadata.previewUri),delete d.localMetadata.previewUri),d.image_url=t.file):d.asset_url=t.file,t.thumb_url&&(d.thumb_url=t.thumb_url),T([d]),d},[E,C,g,y,v,D,b,M,_,T]),F=(0,r.useCallback)(e=>{let t=b?Array.from(e).filter(m):Array.from(e);
10t.slice(0,S).forEach(e=>{O({localMetadata:{file:(0,l.rz)(e)?(0,l.au)({blobsArray:[e],fileName:(0,l.Y_)(e.type),mimeType:e.type}):e,id:(0,a.x0)()}})}),h.current?.focus()},[S,b,h,O]);return{maxFilesLeft:S,numberOfUploads:k,removeAttachments:M,uploadAttachment:O,uploadNewFiles:F,upsertAttachments:T}};var g=n(65155),y=n(91296),v=n.n(y),b=n(27882);let D=({debounceURLEnrichmentMs:e,dispatch:t,enrichURLForPreview:n=!1,findURLFn:a,linkPreviews:i,onLinkPreviewDismissed:s})=>{let{client:l}=(0,u.mx)(),{channelConfig:c,debounceURLEnrichmentMs:d,findURLFn:m,onLinkPreviewDismissed:p}=(0,o.JN)(),f=(0,r.useRef)(!1),h=a??m,y=s??p,D=e??d??1500,_=(0,r.useCallback)(e=>{y?.(e);let n=new Map;e.state=b.G.DISMISSED,n.set(e.og_scrape_url,e),t({linkPreviews:n,mode:b.l.UPSERT,type:"setLinkPreviews"})},[y]),E=(0,r.useCallback)(v()((e,n=b.l.SET)=>{let r=h?h(e):(0,g.sE)(e,"url").reduce((e,t)=>(t.isLink&&e.push(t.href),e),[]);f.current=0===r.length,t({linkPreviews:r.reduce((e,t)=>(e.set(t,{og_scrape_url:t,state:b.G.QUEUED}),e),new Map),mode:n,type:"setLinkPreviews"})},D,{leading:!1,trailing:!0}),[D,f,h]),C=(0,r.useCallback)(()=>{E.cancel(),E(""),E.flush()},[E]);return(0,r.useEffect)(()=>{let e=Array.from(i.values()).reduce((e,t)=>{if("queued"===t.state){let n={...t,state:b.G.LOADING};e.set(t.og_scrape_url,n)}return e},new Map);e.size&&(t({linkPreviews:e,mode:b.l.UPSERT,type:"setLinkPreviews"}),e.forEach(e=>{l.enrichURL(e.og_scrape_url).then(({duration:n,...r})=>
10{if(f.current)return;let a=new Map;a.set(e.og_scrape_url,{...r,state:b.G.LOADED}),t({linkPreviews:a,mode:b.l.UPSERT,type:"setLinkPreviews"})}).catch(()=>{let n=new Map;n.set(e.og_scrape_url,{...e,state:b.G.FAILED}),t({linkPreviews:n,mode:b.l.UPSERT,type:"setLinkPreviews"})})}))},[f,i]),{cancelURLEnrichment:C,dismissLinkPreview:_,findAndEnqueueURLsToEnrich:c?.url_enrichment&&n?E:void 0}};var _=n(75637);let E=(e,t,n,a)=>{let{channel:i}=(0,o.JN)("useMessageInputText"),{additionalTextareaProps:s,focus:l,parent:u,publishTypingEvent:c=!0}=e,{text:d}=t,m=(0,r.useRef)(void 0);(0,r.useEffect)(()=>{l&&m.current&&m.current.focus()},[l]);let p=(0,r.useRef)(void 0),f=(0,r.useCallback)(e=>{let{maxLength:t}=s||{};if(!m.current)return n({getNewText:n=>{let r=n+e;return t&&r.length>t?r.slice(0,t):r},type:"setText"});let{selectionEnd:r,selectionStart:a}=m.current;p.current=a+e.length,n({getNewText:n=>{let o=n.slice(0,a)+e+n.slice(r);return t&&o.length>t?o.slice(0,t):o},type:"setText"})},[s,p,m]);(0,r.useEffect)(()=>{let e=m.current;
10e&&void 0!==p.current&&(e.selectionStart=p.current,e.selectionEnd=p.current,p.current=void 0)},[d,p]);let h=(0,r.useCallback)(e=>{if(e.preventDefault(),!e||!e.target)return;let t=e.target.value;n({getNewText:()=>t,type:"setText"}),a?.(t),c&&t&&i&&(0,_.t1)(i.keystroke(u?.id),"start typing event")},[i,a,u,c]);return{handleChange:h,insertText:f,textareaRef:m}},C=(e,t,n,a,i)=>{let{clearEditingState:s,message:l,overrideSubmitHandler:u,parent:m,publishTypingEvent:p}=e,{attachments:f,linkPreviews:h,mentioned_users:g,text:y}=t,{cancelURLEnrichment:v,findAndEnqueueURLsToEnrich:D}=i,{channel:_}=(0,o.JN)("useSubmitHandler"),{addNotification:E,editMessage:C,sendMessage:w}=(0,d.uz)("useSubmitHandler"),{t:x}=(0,c.Ht)("useSubmitHandler"),k=(0,r.useRef)({hasChanged:!1,initialText:y});(0,r.useEffect)(()=>{if(!k.current.initialText.length){k.current.initialText=y;return}k.current.hasChanged=y!==k.current.initialText},[y]);let S=async(e,t,r)=>{e?.preventDefault();let o=y.trim();if((""===o||">"===o||"``````"===o||"``"===o||"**"===o||"____"===o||"__"===o||"****"===o)&&0===a&&0===f.length&&!t?.poll_id)return;let i=f.some(e=>e.localMetadata?.uploadState==="uploading");if(i)return E(x("Wait until all attachments have uploaded"),"error");let c=f.filter(e=>e.localMetadata?.uploadState!=="failed"||D&&!e.og_scrape_url).map(e=>{let{localMetadata:t,...n}=e;return n}),d={...r},k=[];if(D){v();let e=Array.from(h.values()).some(e=>[b.G.QUEUED,b.G.LOADING].includes(e.state)),t=Array.from(h.values()).some(e=>e.state===b.G.DISMISSED);k=e?[]:Array.from(h.values()).filter(e=>e.state===b.G.LOADED&&!c.find(t=>t.og_scrape_url===e.og_scrape_url)).map(({state:e,...t})=>t),d.skip_enrich_url=!e&&k.length>0||t}let S=[...c,...k],M=Array.from(new Set(g.filter(({id:e,name:t})=>y.includes(`@${e}`)||y.includes(`@${t}`)))),T={attachments:S,mentioned_users:M,text:y};if(l&&"error"!==l.type){delete l.i18n;try{await C({...l,...T,...t},d),s?.(),n({type:"clear"})}catch(e){E(x("Edit message request failed"),"error")}}else try{n({type:"clear"}),u?await u({...T,parent:m},_.cid,t,d):await w({...T,parent:m},t,d),p&&await _.stopTyping()}catch(e){n({getNewText:()=>y,type:"setText"}),M?.forEach(e=>{n({type:"addMentionedUser",user:e})}),E(x("Send message request failed"),"error")}};return{handleSubmit:S}},w=(e,t,n,a)=>{let o=(0,r.useCallback)(r=>{(async r=>{let o;let{items:i}=r.clipboardData;r.preventDefault();for(let e=0;e<i.length;e++){let t=i[e];if("string"===t.kind&&"text/plain"===t.type){o=new Promise(e=>{t.getAsString(t=>{e(t)})});break}}let s=await (0,l.Yu)(Array.from(i));if(o){let e=await o;t(e),a?.(e,b.l.UPSERT),a?.flush()}else if(s.length&&n){e(s);return}})(r)},[a,t,n,e]);return{onPaste:o}};var x=n(55926);let k=({asyncMessagesMultiSendEnabled:e,enabled:t,generateRecordingTitle:n,handleSubmit:a,recordingConfig:o,uploadAttachment:i})=>{let{t:s}=(0,c.Ht)("useMediaRecorder"),[l,u]=(0,r.useState)(),[d,m]=(0,r.useState)(),[p,f]=(0,r.useState)(),[h,g]=(0,r.useState)(!1),y=(0,r.useMemo)(()=>t?new x.j_({config:o??{},generateRecordingTitle:n,t:s}):void 0,[o,t,n,s]),v=(0,r.useCallback)(async()=>{if(!y)return;let t=await y.stop();t&&(await i(t),e||g(!0),y.cleanUp())},[e,y,i]);return(0,r.useEffect)(()=>{h&&(a(),g(!1))},[a,h]),(0,r.useEffect)(()=>{if(!y)return;y.permission.watch();let e=y.recording.subscribe(u),t=y.recordingState.subscribe(m),n=y.permission.state.subscribe(f);return()=>{y.cancel(),y.permission.unwatch(),e.unsubscribe(),t.unsubscribe(),n.unsubscribe()}},[y]),{completeRecording:v,permissionState:p,recorder:y,recording:l,recordingState:d}};var S=n(20586);let M=()=>({attachments:[],linkPreviews:new Map,mentioned_users:[],setText:()=>null,text:""}),T=e=>{if(!e)return M();let t=e.attachments?.reduce((e,t)=>(t.og_scrape_url&&e.set(t.og_scrape_url,{...t,state:b.G.LOADED}),e),new Map)??new Map,n=e.attachments?.filter(({og_scrape_url:e})=>!e).map(e=>({...e,localMetadata:{id:a.x0()}}))||[],r=e.mentioned_users||[];return{attachments:n,linkPreviews:t,mentioned_users:r,setText:()=>null,text:e.text||""}},O=(e,t)=>{switch(t.type){case"setText":return{...e,text:t.getNewText(e.text)};case"clear":return M();case"upsertAttachments":{let n=[...e.attachments];
10return t.attachments.forEach(t=>{let r=e.attachments.findIndex(e=>e.localMetadata?.id&&e.localMetadata?.id===t.localMetadata?.id);if(-1===r)n.push(t);else{let a=(0,S.E)(e.attachments[r]??{},t);n.splice(r,1,a)}}),{...e,attachments:n}}case"removeAttachments":return{...e,attachments:e.attachments.filter(e=>!t.ids.includes(e.localMetadata?.id))};case"setLinkPreviews":{let n=new Map(e.linkPreviews);return t.mode===b.l.REMOVE?Array.from(t.linkPreviews.keys()).forEach(e=>{n.delete(e)}):(Array.from(t.linkPreviews.values()).reduce((e,t)=>{let n=e.get(t.og_scrape_url),r=t.state===b.G.QUEUED&&n?.state!==b.G.FAILED;return n&&r||e.set(t.og_scrape_url,t),e},n),t.mode===b.l.SET&&Array.from(e.linkPreviews.keys()).forEach(e=>{t.linkPreviews.get(e)||n.delete(e)})),{...e,linkPreviews:n}}case"addMentionedUser":return{...e,mentioned_users:e.mentioned_users.concat(t.user)};default:return e}},F=e=>{let{additionalTextareaProps:t,asyncMessagesMultiSendEnabled:n,audioRecordingConfig:a,audioRecordingEnabled:i,getDefaultValue:s,message:l,urlEnrichmentConfig:u}=e,{channelCapabilities:c={},enrichURLForPreview:d}=(0,o.JN)("useMessageInputState"),m=s?.()||t?.defaultValue,p=l||(Array.isArray(m)?{text:m.join("")}:{text:m?.toString()}),[f,g]=(0,r.useReducer)(O,p,T),y=D({dispatch:g,linkPreviews:f.linkPreviews,...u,enrichURLForPreview:u?.enrichURLForPreview??d}),{handleChange:v,insertText:b,textareaRef:_}=E(e,f,g,y.findAndEnqueueURLsToEnrich),[x,S]=(0,r.useState)(!1),[M,F]=(0,r.useState)(!1),{maxFilesLeft:P,numberOfUploads:A,removeAttachments:L,uploadAttachment:N,uploadNewFiles:R,upsertAttachments:j}=h(e,f,g,_),{handleSubmit:I}=C(e,f,g,A,y),B=k({asyncMessagesMultiSendEnabled:n,enabled:!!i,handleSubmit:I,recordingConfig:a,uploadAttachment:N}
10),U=!!c["upload-file"],{onPaste:z}=w(R,b,U,y.findAndEnqueueURLsToEnrich),H=(0,r.useCallback)(e=>{g({type:"addMentionedUser",user:e})},[]),V=(0,r.useCallback)(e=>{g({getNewText:()=>e,type:"setText"})},[]);return{...f,...y,closeCommandsList:()=>S(!1),closeMentionsList:()=>F(!1),handleChange:v,handleSubmit:I,insertText:b,isUploadEnabled:U,maxFilesLeft:P,numberOfUploads:A,onPaste:z,onSelectUser:H,openCommandsList:()=>{g({getNewText:()=>"/",type:"setText"}),S(!0)},openMentionsList:()=>{g({getNewText:e=>e+"@",type:"setText"}),F(!0)},recordingController:B,removeAttachments:L,setText:V,showCommandsList:x,showMentionsList:M,textareaRef:_,uploadAttachment:N,uploadNewFiles:R,upsertAttachments:j}}},44068:function(e,t,n){"use strict";n.d(t,{i_:function(){return s},kx:function(){return l},zu:function(){return u}});var r=n(45853);let a={a:"\xe1|\xe0|\xe3|\xe2|\xc0|\xc1|\xc3|\xc2",c:"\xe7|\xc7",e:"\xe9|\xe8|\xea|\xc9|\xc8|\xca",i:"\xed|\xec|\xee|\xcd|\xcc|\xce",n:"\xf1|\xd1",o:"\xf3|\xf2|\xf4|Å|\xf5|\xd3|\xd2|\xd4|\xd5",u:"\xfa|\xf9|\xfb|\xfc|\xda|\xd9|\xdb|\xdc"},o=e=>e?Object.keys(a).reduce((e,t)=>e.replace(RegExp(a[t],"g"),t),e):"",i=(e,t)=>{let n,r;if(0===e.length)return t.length;if(0===t.length)return e.length;let a=[];for(n=0;n<=t.length;n++)a[n]=[n];for(r=0;r<=e.length;r++)a[0][r]=r;for(n=1;n<=t.length;n++)for(r=1;r<=e.length;r++)t.charAt(n-1)===e.charAt(r-1)?a[n][r]=a[n-1][r-1]:a[n][r]=Math.min(a[n-1][r-1]+1,Math.min(a[n][r-1]+1,a[n-1][r]+1));return a[t.length][e.length]},s=e=>{let{ownUserId:t,query:r,text:a,useMentionsTransliteration:s,users:l}=e,u=l.filter(e=>{if(e.id===t)return!1;if(!r)return!0;let l=o(e.id).toLowerCase(),u=o(e.name).toLowerCase(),c=o(r).toLowerCase();s&&(async()=>{let{default:t}=await n.e(2524).then(n.bind(n,92524));u=t(e.name||"").toLowerCase(),c=t(r).toLowerCase(),l=t(e.id).toLowerCase()})();let d=a.slice(-4).includes("@");if(u){let e=i(c,u);if(u.includes(c)||e<=3&&d)return!0}let m=i(c,l);return l.includes(c)||m<=3&&d});return u},l=async e=>{let{addNotification:t,file:n,getAppSettings:a,t:o,uploadType:i}=e,s=null;s=await a();let{allowed_file_extensions:l,allowed_mime_types:c,blocked_file_extensions:d,blocked_mime_types:m,size_limit:p}=("image"===i?s?.app?.image_upload_config:s?.app?.file_upload_config)||{},f=()=>t(o('Upload type: "{{ type }}" is not allowed',{type:n.type||"unknown type"}),"error");if(l?.length){let e=l.some(e=>n.name.toLowerCase().endsWith(e.toLowerCase()));if(!e)return f(),!1}if(d?.length){let e=d.some(e=>n.name.toLowerCase().endsWith(e.toLowerCase()));if(e)return f(),!1}if(c?.length){let e=c.some(e=>e.toLowerCase()===n.type?.toLowerCase());if(!e)return f(),!1}if(m?.length){let e=m.some(e=>e.toLowerCase()===n.type?.toLowerCase());if(e)return f(),!1}let h=p||r.yD;return!n.size||!(n.size>h)||(t(o("File is too large: {{ size }}, maximum upload size is {{ limit }}",{limit:u(h),size:u(n.size)}),"error"),!1)};function u(e,t=3){let n=["B","kB","MB","GB"],r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1),a=e/1024**r,o=0===t?Math.round(a).toString():a.toPrecision(t);return`${o} ${n[r]}`}},27882:function(e,t,n){"use strict";var r,a,o,i;n.d(t,{G:function(){return r},l:function(){return a}}),(o=r||(r={})).DISMISSED="dismissed",o.FAILED="failed",o.LOADED="loaded",o.LOADING="loading",o.QUEUED="queued",(i=a||(a={}))[i.UPSERT=0]="UPSERT",i[i.SET=1]="SET",i[i.REMOVE=2]="REMOVE"},32767:function(e,t,n){"use strict";n.d(t,{r:function(){return tc}});var r=n(70149),a=n(67294),o=n(83156);let i=e=>{let{hasMoreNewer:t,listElement:n,loadMoreScrollThreshold:r,messages:i=[],scrolledUpThreshold:s=200,suppressAutoscroll:l}=e,[u,c]=(0,a.useState)(!1),[d,m]=(0,a.useState)(),[p,f]=(0,a.useState)(!0),h=(0,a.useRef)(!1),g=(0,a.useRef)(!1),y=(0,a.useCallback)(()=>{!n?.scrollTo||t||l||(n.scrollTo({top:n.scrollHeight}),c(!1))},[n,t,l]);(0,a.useLayoutEffect)(()=>{n&&(m(n.getBoundingClientRect()),y())},[n,t]);let v=function(e){let{loadMoreScrollThreshold:t,onScrollBy:n,scrollContainerMeasures:r,scrolledUpThreshold:i,scrollToBottom:s,showNewMessages:l}=e,{client:u}=(0,o.mx)("useMessageListScrollManager"),c=(0,a.useRef)({offsetHeight:0,scrollHeight:0}),d=(0,a.useRef)(void 0),m=(0,a.useRef)(0);return(0,a.useLayoutEffect)(()=>{let a=c.current,o=d.current,p=e.messages,f=p[p.length-1]||{},h=o?.[o.length-1],g=r(),y=a.scrollHeight-a.offsetHeight-m.current<i;if(void 0!==o){if(o.length<p.length){if(h?.id===f.id){if(m.current<t){let e=g.scrollHeight-a.scrollHeight;n(e)}}else{let e=f.user?.id===u.userID;e||y?s():l()}}else{let e=h?.latest_reactions?.length!==f.latest_reactions?.length,t=h?.reply_count!==f.reply_count;(e||t)&&y&&s()}}d.current=p,c.current=g},[c,d,e.messages]),e=>{m.current=e}}({loadMoreScrollThreshold:r,messages:i,onScrollBy:e=>{n?.scrollBy({top:e})},scrollContainerMeasures:()=>({offsetHeight:n?.offsetHeight||0,scrollHeight:n?.scrollHeight||0}),scrolledUpThreshold:s,scrollToBottom:y,showNewMessages:()=>c(!0)}),b=(0,a.useCallback)(e=>{let t=e.target,n=t.scrollTop;v(n);let r=t.offsetHeight,a=t.scrollHeight,o=h.current;h.current=a-(n+r)<s,g.current=n<s,h.current&&c(!1),o&&!h.current?f(!1):!o&&h.current&&f(!0)},[v,g,h,s]);return{hasNewMessages:u,isMessageListScrolledToBottom:p,onScroll:b,scrollToBottom:y,wrapperRect:d}};var s=n(87029);let l="str-chat__main-panel-inner str-chat__message-list-main-panel",u=({children:e})=>a.createElement("div",{className:l},e);var c=n(21681);let d="str-chat__unread-messages-separator",m=({showCount:e,unreadCount:t})=>{let{t:n}=(0,c.Ht)("UnreadMessagesSeparator");return a.createElement("div",{className:d,"data-testid":"unread-messages-separator"},t&&e?n("unreadMessagesSeparatorText",{count:t}):n("Unread messages"))},p=e=>{let{bottom:t}=e.getBoundingClientRect();return t<0},f=(e,t)=>{let{top:n}=e.getBoundingClientRect(),{top:r}=t.getBoundingClientRect();return n>r},h=({isMessageListScrolledToBottom:e,showAlways:t,unreadCount:n})=>{let{messages:r}=(0,s.JN)("UnreadMessagesNotification"),[o,i]=(0,a.useState)(!1),u=(0,a.useRef)(!1),c="undefined"!=typeof IntersectionObserver;return(0,a.useEffect)(()=>
10{if(!(n&&c)){i(!1);return}let[e]=document.getElementsByClassName(l);if(!e)return;let[r]=document.getElementsByClassName(d);if(!r){i(!0);return}let a=p(r),o=f(r,e);i(t?a||o:a);let s=new IntersectionObserver(e=>{if(!e.length)return;let{boundingClientRect:n,isIntersecting:r}=e[0];if(r){i(!1);return}let a=n.bottom<0;i(t||a),u.current=a},{root:e});return s.observe(r),()=>{s.disconnect()}},[c,e,r,t,n]),(0,a.useEffect)(()=>{n&&e&&u.current&&(i(!0),u.current=!1)},[e,n]),{show:o&&c}};var g=n(25297),y=n(40239);let v=e=>{let{channel:t,disableDateSeparator:n,groupStyles:r,headerPosition:i,hideDeletedMessages:s,hideNewMessageSeparator:l,maxTimeBetweenGroupedMessages:u,messages:c,noGroupByUser:d,reviewProcessedMessage:m}=e,{client:p}=(0,o.mx)("useEnrichedMessages"),{HeaderComponent:f}=(0,y.yM)("useEnrichedMessages"),h=(0,a.useMemo)(()=>t.lastRead?.(),[t]),v=!n,b=v||s||!l?(0,g.Ej)({enableDateSeparator:v,hideDeletedMessages:s,hideNewMessageSeparator:l,lastRead:h,messages:c,reviewProcessedMessage:m,userId:p.userID||""}):c;f&&(b=(0,g.c)(b,i));let D=r||g.db,_=(0,a.useMemo)(()=>b.reduce((e,t,n)=>{let r=D(t,b[n-1],b[n+1],d,u);return r&&(e[t.id]=r),e},{}),[u,b,d]);return{messageGroupStyles:_,messages:b}},b=e=>{let{messages:t,read:n,returnAllReadData:r,userID:o}=e;return(0,a.useMemo)(()=>(0,g.Pi)(t.filter(({user:e})=>e?.id===o),n,r),[t,n,r,o])},D=e=>{let{channelUnreadUiState:t,enrichedMessages:n,internalMessageProps:r,messageGroupStyles:i,read:s,renderMessages:l,returnAllReadData:u,threadList:c}=e,{client:d,customClasses:m}=(0,o.mx)("useMessageListElements"),p=(0,y.yM)("useMessageListElements"),f=b({messages:n,read:s,returnAllReadData:u,userID:d.userID}),h=(0,a.useMemo)(()=>(0,g.hR)(n),[n]),v=(0,a.useMemo)(()=>l({channelUnreadUiState:t,components:p,customClasses:m,lastReceivedMessageId:h,messageGroupStyles:i,messages:n,readData:f,sharedMessageProps:{...r,threadList:c}}),[n,r,h,i,t,f,l,c]);return v};var _=n(37495);let E=(e,t)=>{let n=e.state.latestMessages.slice(-1)[0]?.id,r=e.state.read[t]?.last_read_message_id;return n===r},C=({isMessageListScrolledToBottom:e,messageListIsThread:t,wasMarkedUnread:n})=>{let{client:r}=(0,o.mx)("useMarkRead"),{markRead:i,setChannelUnreadUiState:l}=(0,_.uz)("useMarkRead"),{channel:u}=(0,s.JN)("useMarkRead");(0,a.useEffect)(()=>{let a=()=>!document.hidden&&!n&&!t&&e&&r.user?.id&&!E(u,r.user.id),o=()=>{a()&&i()},s=t=>{let r=!t.message?.parent_id||t.message?.show_in_channel;!e||n||document.hidden?l(e=>{let n=e?.unread_messages??0,r=function(e,t){let n;if(t){for(let r=e.length-1;r>=0;r--){let a=e[r];if(!a?.id)break;if(a.id!==t.id){n=a;break}}return n}}(u.state.messages,t.message);return{...e||{},last_read:e?.last_read??new Date(0===n&&r?.created_at?r.created_at:0),unread_messages:n+1}}):r&&a()&&i()};return u.on("message.new",s),document.addEventListener("visibilitychange",o),a()&&i(),()=>{u.off("message.new",s),document.removeEventListener("visibilitychange",o)}},[u,r,e,i,t,l,n])},w=a.memo(e=>{let{children:t,onClick:n,showNotification:r=!0}=e;return r?a.createElement("button",{"aria-live":"polite",className:"str-chat__message-notification","data-testid":"message-notification",onClick:n},t):null}),x=a.memo(e=>{let{active:t,children:n,className:o,type:i}=e;return t?a.createElement("div",{"aria-live":"polite",className:(0,r.Z)(`str-chat__custom-notification notification-${i}`,"str-chat__notification","str-chat-react__notification",o),"data-testid":"custom-notification"},n):null}),k=a.memo(()=>{let{client:e}=(0,o.mx)("ConnectionStatus"),{t}=(0,c.Ht)("ConnectionStatus"),[n,r]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{let t=({online:e=!1})=>{n!==e&&r(e)};return e.on("connection.changed",t),()=>e.off("connection.changed",t)},[e,n]),a.createElement(x,{active:!n,className:"str-chat__connection-status-notification",type:"error"},t("Connection failure, reconnecting now..."))}),S=e=>{let{hasNewMessages:t,isMessageListScrolledToBottom:n,isNotAtLatestMessageSet:r,MessageNotification:o,notifications:i,scrollToBottom:s,threadList:l,unreadCount:u}=e,{t:d}=(0,c.Ht)("MessageListNotifications");return a.createElement("div",{className:"str-chat__list-notifications"},i.map(e=>a.createElement(x,{active:!0,key:e.id,type:e.type},e.text)),a.createElement(k,null),a.createElement(o,{isMessageListScrolledToBottom:n,onClick:s,showNotification:t||r,threadList:l,unreadCount:u},d(r?"Latest Messages":"New Messages!")))},M=()=>a.createElement("svg",{fill:"currentColor",viewBox:"0 0 14 13",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.32227 12.3408C0.944336 11.9629 0.953125 11.3213 1.32227 10.9521L5.60254 6.66309L1.32227 2.38281C0.953125 2.01367 0.944336 1.37207 1.32227 0.994141C1.7002 0.616211 2.3418 0.625 2.71094 0.985352L7 5.27441L11.2803 0.994141C11.6494 0.625 12.291 0.616211 12.6689 0.994141C13.0469 1.37207 13.0381 2.01367 12.6689 2.38281L8.38867 6.66309L12.6689 10.9521C13.0381 11.3213 13.0469 11.9629 12.6689 12.3408C12.291 12.7188 11.6494 12.71 11.2803 12.3408L7 8.06055L2.71094 12.3408C2.3418 12.71 1.7002 12.7188 1.32227 12.3408Z"})),T=({queryMessageLimit:e,showCount:t,unreadCount:n})=>{let{jumpToFirstUnreadMessage:r,markRead:o}=(0,_.uz)("UnreadMessagesNotification"),{t:i}=(0,c.Ht)("UnreadMessagesNotification");return a.createElement("div",{className:"str-chat__unread-messages-notification","data-testid":"unread-messages-notification"},a.createElement("button",{onClick:()=>r(e)},n&&t?i("{{count}} unread",{count:n??0}):i("Unread messages")),a.createElement("button",{onClick:()=>o()},a.createElement(M,null)))};var O=n(7706);let F=(0,a.createContext)(void 0),P=({children:e,value:t})=>a.createElement(F.Provider,{value:t},e);var A=n(28237),L=n(91677),N=n(45853);let R=e=>{e instanceof WheelEvent&&1===e.deltaY&&e.preventDefault()},j=e=>{let{children:t,element:n="div",hasMore:r,hasMoreNewer:o,hasNextPage:i,hasPreviousPage:s,head:l,initialLoad:u=!0,isLoading:c,listenToScroll:d,loader:m,loadMore:p,loadM
10oreNewer:f,loadNextPage:h,loadPreviousPage:g,threshold:y=N.su,useCapture:v=!1,...b}=e,D=h||f,_=g||p,E=i||o,C=s||r,w=(0,a.useRef)(void 0),x=(0,a.useRef)(void 0),k=(0,a.useRef)(void 0),S=(0,a.useRef)(void 0);S.current=()=>{let e=w.current;if(!e||null===e.offsetParent)return;let t=e.parentElement,n=e.scrollHeight-t.scrollTop-t.clientHeight,r=t.scrollTop;d&&d(n,r,y),!c&&(x.current!==n||k.current!==r)&&(x.current=n,k.current=r,r<Number(y)&&"function"==typeof _&&C&&_(),n<Number(y)&&"function"==typeof D&&E&&D())},(0,a.useEffect)(()=>{(0,L.b)([[{hasMoreNewer:o},{hasNextPage:i}],[{loadMoreNewer:f},{loadNextPage:h}],[{hasMore:r},{hasPreviousPage:s}],[{loadMore:p},{loadPreviousPage:g}]],"InfiniteScroll")},[]),(0,a.useEffect)(()=>{let e=w.current?.parentNode;if(!e)return;let t=()=>S.current?.();return e.addEventListener("scroll",t,v),e.addEventListener("resize",t,v),t(),()=>{e.removeEventListener("scroll",t,v),e.removeEventListener("resize",t,v)}},[u,v]),(0,a.useEffect)(()=>{let e=w.current?.parentNode;return e&&e.addEventListener("wheel",R,{passive:!1}),()=>{e&&e.removeEventListener("wheel",R,v)}},[v]);let M={...b,ref:e=>{w.current=e}},T=[m,t];return l&&T.unshift(l),a.createElement(n,M,T)};var I=n(44498),B=n(52127),U=n(61687);let z=e=>{let{t}=(0,c.Ht)();if(!e.length)return null;let[n,...r]=e;return 1===e.length?t("{{ user }} is typing...",{user:n}):e.length>3?t("{{ users }} and more are typing...",{users:e.slice(0,3).join(", ").trim()}):t("{{ users }} and {{ user }} are typing...",{user:n,users:r.join(", ").trim()})},H=a.memo(e=>{let{threadList:t}=e,{channelConfig:n,thread:i}=(0,s.JN)("TypingIndicator"),{client:l}=(0,o.mx)("TypingIndicator"),{typing:u={}}=(0,U.f5)("TypingIndicator"),c=t?[]:Object.values(u).filter(({parent_id:e,user:t})=>t?.id!==l.user?.id&&!e),d=t?Object.values(u).filter(({parent_id:e,user:t})=>t?.id!==l.user?.id&&e===i?.id):[],m=(t?d:c).map(({user:e})=>e?.name||e?.id).filter(Boolean),p=z(m),f=t&&d.length||!t&&c.length;return n?.typing_events!==!1&&f?a.createElement("div",{className:(0,r.Z)("str-chat__typing-indicator",{"str-chat__typing-indicator--typing":f}),"data-testid":"typing-indicator"},a.createElement("div",{className:"str-chat__typing-indicator__dots"},a.createElement("span",{className:"str-chat__typing-indicator__dot"}),a.createElement("span",{className:"str-chat__typing-indicator__dot"}),a.createElement("span",{className:"str-chat__typing-indicator__dot"})),a.createElement("div",{className:"str-chat__typing-indicator__users","data-testid":"typing-users"},p)):null}),V=(e=!1,t,n)=>{let[r,o]=(0,a.useState)(e);return{clearEdit:n||(e=>{e?.preventDefault&&e.preventDefault(),o(!1)}),editing:r,setEdit:t||(e=>{e?.preventDefault&&e.preventDefault(),o(!0)})}},$=(e,t)=>({onUserClick:n=>{"function"==typeof t?.onUserClickHandler&&e?.user&&t.onUserClickHandler(n,e.user)},onUserHover:n=>{"function"==typeof t?.onUserHoverHandler&&e?.user&&t.onUserHoverHandler(n,e.user)}}),Z=`Action handler was called, but it is missing one of its required arguments. 11Make sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message.`,Y=(e,t)=>{let{openThread:n}=(0,_.uz)("useOpenThreadHandler"),r=t||n;return t=>{if(!r||!e){console.warn("Open thread handler was called but it is missing one of its parameters");return}r(e,t)}};var W=n(93096),q=n.n(W),K=n(36791);let G=`Reaction handler was called, but it is missing one of its required arguments. 12Make sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message.`,J=e=>{let t=(0,K.io)(),{updateMessage:n}=(0,_.uz)("useReactionHandler"),{channel:r,channelCapabilities:i}=(0,s.JN)("useReactionHandler"),{client:l}=(0,o.mx)("useReactionHandler"),u=(0,a.useCallback)((e,t,n)=>{let r=n?.reaction_groups||{},a=t.type,o=!!r[a];if(e){let e=new Date().toISOString();r[a]=o?{...r[a],count:r[a].count+1}:{count:1,first_reaction_at:e,last_reaction_at:e,sum_scores:1}}else o&&r[a].count>1?r[a]={...r[a],count:r[a].count-1}:delete r[a];let i=e?[t,...n?.latest_reactions||[]]:n.latest_reactions?.filter(e=>!(e.type===t.type&&e.user_id===t.user_id)),s=e?[t,...n?.own_reactions||[]]:n?.own_reactions?.filter(e=>e.type!==t.type);return{...n,latest_reactions:i||n.latest_reactions,own_reactions:s,reaction_groups:r}},[l.user,l.userID]),c=t=>({message_id:e?.id,score:1,type:t,user:l.user,user_id:l.user?.id}),d=q()(async(a,o,s)=>{if(!e||!i["send-reaction"])return;let l=c(o),d=u(s,l,e);try{n(d),t?.upsertReplyLocally({message:d});let e=s?await r.sendReaction(a,{type:o}):await r.deleteReaction(a,o);n(e.message)}catch(r){n(e),t?.upsertReplyLocally({message:e})}},1e3);return async(t,n)=>{if(n?.preventDefault&&n.preventDefault(),!e)return console.warn(G);let r=null;
12e.own_reactions&&e.own_reactions.forEach(e=>{e.user&&l.userID===e.user.id&&e.type===t?r=e:e.user&&l.userID!==e.user.id&&console.warn("message.own_reactions contained reactions from a different user, this indicates a bug")});try{r?await d(e.id,r.type,!1):await d(e.id,t,!0)}catch(e){console.log({error:e})}}},Q=e=>{let{retrySendMessage:t}=(0,_.uz)("useRetryHandler"),n=e||t;return async e=>{e&&await n(e)}},X=(e,t,n)=>{let{channel:r,channelCapabilities:a={}}=(0,s.JN)("useUserRole"),{client:i}=(0,o.mx)("useUserRole"),l=i.user?.role==="admin"||"admin"===r.state.membership.role,u="owner"===r.state.membership.role,c=i.user?.role==="channel_moderator"||"channel_moderator"===r.state.membership.role||"moderator"===r.state.membership.role||!0===r.state.membership.is_moderator||"channel_moderator"===r.state.membership.channel_role,d=i.userID===e.user?.id,m=!e.poll&&(!t&&a["update-any-message"]||d&&a["update-own-message"]),p=a["delete-any-message"]||d&&a["delete-own-message"],f=!d&&a["flag-message"],h=a["read-events"],g=!d&&a["mute-channel"],y=!n&&a["quote-message"],v=a["send-reaction"],b=a["send-reply"];return{canDelete:p,canEdit:m,canFlag:f,canMarkUnread:h,canMute:g,canQuote:y,canReact:v,canReply:b,isAdmin:l,isModerator:c,isMyMessage:d,isOwner:u}};async function ee(e,t,n,r){let a;let o=[],i=!0;for(;i&&o.length<1e3;){let s=await e.queryReactions(t,n?{type:n}:{},r,{limit:25,next:a});o.push(...s.reactions),i=!!(a=s.next)}return o}let et=(e,t={})=>{let{getErrorNotification:n,notify:r}=t,{deleteMessage:a,updateMessage:i}=(0,_.uz)("useDeleteHandler"),{client:s}=(0,o.mx)("useDeleteHandler"),{t:l}=(0,c.Ht)("useDeleteHandler");return async t=>{if(t.preventDefault(),e?.id&&s&&i)try{let t=await a(e);i(t)}catch(a){let t=n&&(0,B.nU)(n,[e]);r&&r(t||l("Error deleting message"),"error")}}},en=(e,t={})=>{let{client:n}=(0,o.mx)("useFlagHandler"),{t:r}=(0,c.Ht)("useFlagHandler");return async a=>{a.preventDefault();let{getErrorNotification:o,getSuccessNotification:i,notify:s}=t;if(!n||!r||!s||!e?.id){console.warn("useFlagHandler was called but it is missing one or more necessary parameters.");return}if(n.user?.banned)return s(r("Error adding flag"),"error");try{await n.flagMessage(e.id);let t=i&&(0,B.nU)(i,[e]);s(t||r("Message has been successfully flagged"),"success")}catch(n){let t=o&&(0,B.nU)(o,[e]);s(t||r("Error adding flag"),"error")}}},er=(e,t={})=>{let{getErrorNotification:n,getSuccessNotification:r,notify:a}=t,{channel:o}=(0,s.JN)("useMarkUnreadHandler"),{t:i}=(0,c.Ht)("useMarkUnreadHandler");return async t=>{if(t.preventDefault(),!e?.id){console.warn("Mark unread handler does not have access to message id");return}try{if(await o.markUnread({message_id:e.id}),!a)return;let t=r&&(0,B.nU)(r,[e]);t&&a(t,"success")}catch(r){if(!a)return;let t=n&&(0,B.nU)(n,[e]);if(n&&!t)return;a(t||i("Error marking message unread. Cannot mark unread messages older than the newest 100 channel messages."),"error")}}},ea=(e,t={})=>{let{mutes:n}=(0,s.JN)("useMuteHandler"),{client:r}=(0,o.mx)("useMuteHandler"),{t:a}=(0,c.Ht)("useMuteHandler");return async o=>{o.preventDefault();let{getErrorNotification:i,getSuccessNotification:s,notify:l}=t;if(!a||!e?.user||!l||!r){console.warn("useMuteHandler was called but it is missing one or more necessary parameter.");return}if((0,B.B9)(e,n))try{await r.unmuteUser(e.user.id);let t=a("{{ user }} has been unmuted",{user:e.user.name||e.user.id}),n=s&&(0,B.nU)(s,[e.user])||t;"string"==typeof n&&l(n,"success")}catch(n){let t=i&&(0,B.nU)(i,[e.user])||a("Error unmuting a user ...");"string"==typeof t&&l(t,"error")}else try{await r.muteUser(e.user.id);let t=s&&(0,B.nU)(s,[e.user]);l(t||a("{{ user }} has been muted",{user:e.user.name||e.user.id}),"success")}catch(n){let t=i&&(0,B.nU)(i,[e.user]);l(t||a("Error muting a user ..."),"error")}}};function eo(e,t){return n=>{"function"==typeof e&&t?.mentioned_users?.length&&e(n,t.mentioned_users)}}let ei=(e,t)=>{let{onMentionsClick:n,onMentionsHover:r}=(0,_.uz)("useMentionsHandler"),a=t?.onMentionsClick||n||(()=>null),o=t?.onMentionsHover||r||(()=>null);return{onMentionsClick:eo(a,e),onMentionsHover:eo(o,e)}},es=(e,t=B.Z1,n={})=>{let{getErrorNotification:r,notify:a}=n,{updateMessage:i}=(0,_.uz)("usePinHandler"),{channelCapabilities:l={}}=(0,s.JN)("usePinHandler"),{client:u}=(0,o.mx)("usePinHandler"),{t:d}=(0,c.Ht)("usePinHandler"),m=!!l["pin-message"],p=async t=>{if(t.preventDefault(),e){if(e.pinned)try{let t={...e,pin_expires:null,pinned:!1,pinned_at:null,pinned_by:null};i(t),await u.unpinMessage(e)}catch(n){let t=r&&(0,B.nU)(r,[e]);a&&a(t||d("Error removing message pin"),"error"),i(e)}else try{let t={...e,pinned:!0,pinned_at:new Date,pinned_by:u.user};i(t),await u.pinMessage(e)}catch(n){let t=r&&(0,B.nU)(r,[e]);a&&a(t||d("Error pinning message"),"error"),i(e)}}};return{canPin:m,handlePin:p}};var el=n(12239);let eu=({className:e=""})=>
12a.createElement("svg",{className:e,height:"4",viewBox:"0 0 11 4",width:"11",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M1.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm4 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",fillRule:"nonzero"})),ec=({className:e=""})=>a.createElement("svg",{className:e,height:"12",viewBox:"0 0 12 12",width:"12",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},a.createElement("path",{d:"M6 1.2C3.3 1.2 1.2 3.3 1.2 6c0 2.7 2.1 4.8 4.8 4.8 2.7 0 4.8-2.1 4.8-4.8 0-2.7-2.1-4.8-4.8-4.8zM0 6c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6-6-2.7-6-6z"}),a.createElement("path",{d:"M5.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM8.4 4.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zM3.3 6.7c.3-.2.6-.1.8.1.3.4.8.9 1.5 1 .6.2 1.4.1 2.4-1 .2-.2.6-.3.8 0 .2.2.3.6 0 .8-1.1 1.3-2.4 1.7-3.5 1.5-1-.2-1.8-.9-2.2-1.5-.2-.3-.1-.7.2-.9z"}))),ed=({className:e=""})=>a.createElement("svg",{className:e,height:"10",width:"14",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M8.516 3c4.78 0 4.972 6.5 4.972 6.5-1.6-2.906-2.847-3.184-4.972-3.184v2.872L3.772 4.994 8.516.5V3zM.484 5l4.5-4.237v1.78L2.416 5l2.568 2.125v1.828L.484 5z",fillRule:"evenodd"})),em=()=>a.createElement("svg",{"data-testid":"delivered-icon",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{clipRule:"evenodd",d:"M8.9999 16.2L4.7999 12L3.3999 13.4L8.9999 19L20.9999 6.99998L19.5999 5.59998L8.9999 16.2Z",fill:"black",fillRule:"evenodd"})),ep=()=>a.createElement("div",{className:"str-chat__message-error-icon"},a.createElement("svg",{"data-testid":"error",fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z",fill:"black",id:"background"}),a.createElement("path",{d:"M13 17H11V15H13V17ZM13 13H11V7H13V13Z",fill:"white"}))),ef=(0,a.createContext)(void 0);function eh({children:e}){let{handleRetry:t,message:n,setEditingState:r}=(0,el.fr)("MessageBounceProvider");(0,B.yW)(n)||console.warn('The MessageBounceProvider was rendered for a message that is not bounced. Have you missed the "isMessageBounced" check?');let{removeMessage:o}=(0,_.uz)("MessageBounceProvider"),i=(0,a.useCallback)(()=>{o(n)},[n,o]),s=(0,a.useCallback)(e=>{r(e)},[r]),l=(0,a.useCallback)(()=>{t(n)},[t,n]),u=(0,a.useMemo)(()=>({handleDelete:i,handleEdit:s,handleRetry:l,message:n}),[i,s,l,n]);return a.createElement(ef.Provider,{value:u},e)}function eg({children:e,onClose:t}){let{handleDelete:n,handleEdit:r,handleRetry:o}=function(e){let t=(0,a.useContext)(ef);return t||(console.warn(`The useMessageBounceContext hook was called outside of the MessageBounceContext provider. The errored call is located in the ${e} component.`),{})}("MessageBouncePrompt"),{t:i}=(0,c.Ht)("MessageBouncePrompt");function s(e){return n=>{e(n),t?.(n)}}return a.createElement("div",{className:"str-chat__message-bounce-prompt","data-testid":"message-bounce-prompt"},a.createElement("div",{className:"str-chat__message-bounce-prompt-header"},e??i("This message did not meet our content guidelines")),a.createElement("div",{className:"str-chat__message-bounce-actions"},a.createElement("button",{className:"str-chat__message-bounce-edit","data-testid":"message-bounce-edit",onClick:s(r),type:"button"},i("Edit Message")),a.createElement("button",{className:"str-chat__message-bounce-send","data-testid":"message-bounce-send",onClick:s(o)},i("Send Anyway")),a.createElement("button",{className:"str-chat__message-bounce-delete","data-testid":"message-bounce-delete",onClick:s(n)},i("Delete"))))}let ey=e=>{let{message:t}=e,{t:n}=(0,c.Ht)("MessageDeleted"),{isMyMessage:r}=X(t);return a.createElement("div",{className:`${r?"str-chat__message str-chat__message--me str-chat__message-simple str-chat__message-simple--me":"str-chat__message str-chat__message-simple str-chat__message--other"} str-chat__message--deleted ${t.type}
12 `,"data-testid":"message-deleted-component",key:t.id},a.createElement("div",{className:"str-chat__message--deleted-inner"},n("This message was deleted...")))},ev=e=>{let{customMessageActions:t,message:n}=e;if(!t)return null;let r=Object.keys(t);return a.createElement(a.Fragment,null,r.map(e=>{let r=t[e];return a.createElement("button",{"aria-selected":"false",className:"str-chat__message-actions-list-item str-chat__message-actions-list-item-button",key:e,onClick:e=>r(n,e),role:"option"},e)}))},eb=a.memo(e=>{let{className:t,getMessageActions:n,handleDelete:o,handleEdit:i,handleFlag:s,handleMarkUnread:l,handleMute:u,handlePin:d,isUserMuted:m,mine:p,open:f,...h}=e,{CustomMessageActionsList:g=ev}=(0,y.yM)("MessageActionsBox"),{setQuotedMessage:v}=(0,_.uz)("MessageActionsBox"),{customMessageActions:b,message:D,threadList:E}=(0,el.fr)("MessageActionsBox"),{t:C}=(0,c.Ht)("MessageActionsBox"),w=n(),x=(0,r.Z)("str-chat__message-actions-box",t,{"str-chat__message-actions-box--open":f}),k="str-chat__message-actions-list-item str-chat__message-actions-list-item-button";return a.createElement("div",{...h,className:x,"data-testid":"message-actions-box"},a.createElement("div",{"aria-label":C("aria/Message Options"),className:"str-chat__message-actions-list",role:"listbox"},a.createElement(g,{customMessageActions:b,message:D}),w.indexOf(B.Xh.quote)>-1&&a.createElement("button",{"aria-selected":"false",className:k,onClick:()=>{v(D);let e=D.parent_id?document.querySelectorAll(".str-chat__thread .str-chat__textarea__textarea"):document.getElementsByClassName("str-chat__textarea__textarea"),t=e.item(0);t instanceof HTMLTextAreaElement&&t.focus()},role:"option"},C("Reply")),w.indexOf(B.Xh.pin)>-1&&!D.parent_id&&a.createElement("button",{"aria-selected":"false",className:k,onClick:d,role:"option"},C(D.pinned?"Unpin":"Pin")),w.indexOf(B.Xh.markUnread)>-1&&!E&&!!D.id&&a.createElement("button",{"aria-selected":"false",className:k,onClick:l,role:"option"},C("Mark as unread")),w.indexOf(B.Xh.flag)>-1&&a.createElement("button",{"aria-selected":"false",className:k,onClick:s,role:"option"},C("Flag")),w.indexOf(B.Xh.mute)>-1&&a.createElement("button",{"aria-selected":"false",className:k,onClick:u,role:"option"},C(m()?"Unmute":"Mute")),w.indexOf(B.Xh.edit)>-1&&a.createElement("button",{"aria-selected":"false",className:k,onClick:i,role:"option"},C("Edit Message")),w.indexOf(B.Xh.delete)>-1&&a.createElement("button",{"aria-selected":"false",className:k,onClick:o,role:"option"},C("Delete"))))});var eD=n(19025),e_=n(69725);let eE=e=>{let{ActionsIcon:t=eu,customWrapperClass:n="",getMessageActions:r,handleDelete:i,handleFlag:s,handleMarkUnread:l,handleMute:u,handlePin:d,inline:m,message:p,mine:f}=e,{mutes:h}=(0,o.mx)("MessageActions"),{customMessageActions:g,getMessageActions:v,handleDelete:b,handleFlag:D,handleMarkUnread:_,handleMute:E,handlePin:C,isMyMessage:w,message:x,setEditingState:k,threadList:S}=(0,el.fr)("MessageActions"),{CustomMessageActionsList:M}=(0,y.yM)("MessageActions"),{t:T}=(0,c.Ht)("MessageActions"),O=r||v,F=p||x,P=f?f():w(),A=(0,a.useCallback)(()=>(0,B.B9)(F,h),[F,h]),L=`message-actions--${F.id}`,N=(0,eD.Rh)({id:L}),R=(0,eD.wB)(L),j=O(),I=(0,B.fs)({customMessageActions:g,CustomMessageActionsList:M,inThread:S,messageActions:j}),U=(0,a.useRef)(null);return I?a.createElement(eC,{customWrapperClass:n,inline:m,toggleOpen:N?.toggle},a.createElement(e_.l,{id:L,placement:P?"top-end":"top-start",referenceElement:U.current,trapFocus:!0},a.createElement(eb,{getMessageActions:O,handleDelete:i||b,handleEdit:k,handleFlag:s||D,handleMarkUnread:l||_,handleMute:u||E,handlePin:d||C,isUserMuted:A,mine:P,open:R})),a.createElement("button",{"aria-expanded":R,"aria-haspopup":"true","aria-label":T("aria/Open Message Actions Menu"),className:"str-chat__message-actions-box-button","data-testid":"message-actions-toggle-button",ref:U},a.createElement(t,{className:"str-chat__message-action-icon"}))):null},eC=e=>{let{children:t,customWrapperClass:n,inline:o,toggleOpen:i}=e,s=(0,r.Z)("str-chat__message-simple__actions__action","str-chat__message-simple__actions__action--options","str-chat__message-actions-container"),l={className:n||s,"data-testid":"message-actions",onClick:i};return o?a.createElement("span",{...l},t):a.createElement("div",{...l},t)};var ew=n(7076);let ex=e=>!!e&&void 0!==e.current,ek=e=>
12new Promise((t,n)=>{let r=new Image;r.addEventListener("load",()=>{t([r.width,r.height])},{once:!0}),r.addEventListener("error",()=>n(`Couldn't load image from ${e}`),{once:!0}),r.src=e}),eS=({columns:e,fallback:t,height:n,position:r,rows:o,spriteUrl:i,style:s,width:l})=>{let[[u,c],d]=(0,a.useState)([0,0]);(0,a.useEffect)(()=>{ek(i).then(d).catch(console.error)},[i]);let[m,p]=r;return c&&u?a.createElement("div",{"data-testid":"sprite-image",style:{...s,"--str-chat__sprite-image-resize-ratio":"var(--str-chat__sprite-image-resize-ratio-x, var(--str-chat__sprite-image-resize-ratio-y, 1))","--str-chat__sprite-image-resize-ratio-x":"calc(var(--str-chat__sprite-image-width) / var(--str-chat__sprite-item-width))","--str-chat__sprite-image-resize-ratio-y":"calc(var(--str-chat__sprite-image-height) / var(--str-chat__sprite-item-height))","--str-chat__sprite-item-height":`${c/o}`,"--str-chat__sprite-item-width":`${u/e}`,...Number.isFinite(n)?{"--str-chat__sprite-image-height":`${n}px`}:{},...Number.isFinite(l)?{"--str-chat__sprite-image-width":`${l}px`}:{},backgroundImage:`url('${i}')`,backgroundPosition:`${m*(100/(e-1))}% ${p*(100/(o-1))}%`,backgroundSize:`${100*e}% ${100*o}%`,height:"var(--str-chat__sprite-image-height, calc(var(--str-chat__sprite-item-height) * var(--str-chat__sprite-image-resize-ratio)))",width:"var(--str-chat__sprite-image-width, calc(var(--str-chat__sprite-item-width) * var(--str-chat__sprite-image-resize-ratio)))"}}):a.createElement(a.Fragment,null,t)},eM={angry:[1,1],haha:[1,0],like:[0,0],love:[1,2],sad:[0,1],wow:[0,2]},eT=({fallback:e,type:t})=>{let n=eM[t];return a.createElement(eS,{columns:2,fallback:e,position:n,rows:3,spriteUrl:"https://getstream.imgix.net/images/emoji-sprite.png",style:{"--str-chat__sprite-image-height":"var(--str-chat__stream-emoji-size, 18px)"}})},eO=[{type:"haha",Component:()=>a.createElement(eT,{fallback:"\uD83D\uDE02",type:"haha"}),name:"Joy"},{type:"like",Component:()=>a.createElement(eT,{fallback:"\uD83D\uDC4D",type:"like"}),name:"Thumbs up"},{type:"love",Component:()=>a.createElement(eT,{fallback:"â¤ï¸",type:"love"}),name:"Heart"},{type:"sad",Component:()=>a.createElement(eT,{fallback:"\uD83D\uDE14",type:"sad"}),name:"Sad"},{type:"wow",Component:()=>a.createElement(eT,{fallback:"\uD83D\uDE32",type:"wow"}),name:"Astonished"}],eF=a.memo(e=>{let{Avatar:t,detailedView:n=!0,handleReaction:o,latest_reactions:i,own_reactions:s,reaction_groups:l,reactionOptions:u,reverse:c=!1}=e,{Avatar:d,reactionOptions:m=eO}=(0,y.yM)("ReactionSelector"),{closeReactionSelectorOnClick:p,handleReaction:f,message:h}=(0,el.fr)("ReactionSelector"),g=`reaction-selector--${h.id}`,v=(0,eD.Rh)({id:g}),b=t||d||ew.q,D=o||f,_=i||h?.latest_reactions||[],E=s||h?.own_reactions||[],C=l||h?.reaction_groups||{},[w,x]=(0,a.useState)(null),[k,S]=(0,a.useState)(null),M=(0,a.useRef)(null),T=(0,a.useRef)(null),O=(0,a.useRef)(null),F=(0,a.useCallback)((e,t)=>{T.current=e.currentTarget,x(t)},[]),P=(0,a.useCallback)(()=>{x(null),S(null)},[]);(0,a.useEffect)(()=>{if(!w||!M.current)return;let e=O.current?.getBoundingClientRect(),t=T.current?.getBoundingClientRect(),n=ex(M)?M.current?.getBoundingClientRect():null;if(!e||!t||!n)return;let r=e.width===n.width||e.x<n.x?0:t.left+t.width/2-n.left-e.width/2,a=t.x-e.x+t.width/2-r;S({arrow:a,tooltip:r})},[w,M]);let A=e=>E.find(t=>t.type===e),L=e=>_.find(t=>t.type===e&&!!t.user)?.user||void 0;return a.createElement("div",{className:(0,r.Z)("str-chat__reaction-selector str-chat__message-reaction-selector str-chat-react__message-reaction-selector",{"str-chat__reaction-selector--reverse":c}),"data-testid":"reaction-selector",ref:M},!!w&&n&&a.createElement("div",{className:"str-chat__reaction-selector-tooltip",ref:O,style:{left:k?.tooltip,visibility:k?"visible":"hidden"}},a.createElement("div",{className:"arrow",style:{left:k?.arrow}}),_.map(e=>e.type===w?e.user?.name||e.user?.id:null).filter(Boolean)?.map((e,t,n)=>a.createElement("span",{className:"latest-user-username",key:`key-${t}-${e}`},`${e}${t<n.length-1?", ":""}`))),a.createElement("ul",{className:"str-chat__message-reactions-list str-chat__message-reactions-options"},(u??m).map(({Component:e,name:t,type:o})=>{let i=L(o),s=C[o]?.count??0;return a.createElement("li",{key:o},a.createElement("button",{"aria-label":`Select Reaction: ${t||o}`,className:(0,r.Z)("str-chat__message-reactions-list-item str-chat__message-reactions-option",{"str-chat__message-reactions-option-selected":A(o)}),"data-testid":"select-reaction-button","data-text":o,onClick:e=>{D(o,e),p&&v.close()}},!!s&&n&&a.createElement("div",{className:"latest-user str-chat__message-reactions-last-user",onClick:P,onMouseEnter:e=>F(e,o),onMouseLeave:P}
12,i?a.createElement(b,{image:i.image,name:i.name,size:20,user:i}):a.createElement("div",{className:"latest-user-not-found"})),a.createElement("span",{className:"str-chat__message-reaction-emoji"},a.createElement(e,null)),!!s&&n&&a.createElement("span",{className:"str-chat__message-reactions-list-item__count"},s||"")))})))}),eP=({ReactionIcon:e})=>{let{t}=(0,c.Ht)("ReactionSelectorWithButton"),{isMyMessage:n,message:r}=(0,el.fr)("MessageOptions"),{ReactionSelector:o=eF}=(0,y.yM)("MessageOptions"),i=(0,a.useRef)(null),s=`reaction-selector--${r.id}`,l=(0,eD.Rh)({id:s}),u=(0,eD.wB)(s);return a.createElement(a.Fragment,null,a.createElement(e_.l,{id:s,placement:n()?"top-end":"top-start",referenceElement:i.current,trapFocus:!0},a.createElement(o,null)),a.createElement("button",{"aria-expanded":u,"aria-label":t("aria/Open Reaction Selector"),className:"str-chat__message-reactions-button","data-testid":"message-reaction-action",onClick:()=>l?.toggle(),ref:i},a.createElement(e,{className:"str-chat__message-action-icon"})))},eA=a.memo(e=>{let{ActionsIcon:t=eu,displayReplies:n=!0,handleOpenThread:o,ReactionIcon:i=ec,theme:s="simple",ThreadIcon:l=ed}=e,{getMessageActions:u,handleOpenThread:d,initialMessage:m,message:p,threadList:f}=(0,el.fr)("MessageOptions"),{t:h}=(0,c.Ht)("MessageOptions"),g=(0,eD.wB)(`message-actions--${p.id}`),y=(0,eD.wB)(`reaction-selector--${p.id}`),v=u(),b=v.indexOf(B.Xh.react)>-1,D=v.indexOf(B.Xh.reply)>-1&&n&&!f;
12return!p.type||"error"===p.type||"system"===p.type||"ephemeral"===p.type||"failed"===p.status||"sending"===p.status||m?null:a.createElement("div",{className:(0,r.Z)(`str-chat__message-${s}__actions str-chat__message-options`,{"str-chat__message-options--active":g||y}),"data-testid":"message-options"},a.createElement(eE,{ActionsIcon:t}),D&&a.createElement("button",{"aria-label":h("aria/Open Thread"),className:`str-chat__message-${s}__actions__action str-chat__message-${s}__actions__action--thread str-chat__message-reply-in-thread-button`,"data-testid":"thread-action",onClick:o||d},a.createElement(l,{className:"str-chat__message-action-icon"})),b&&a.createElement(eP,{ReactionIcon:i}))}),eL=a.memo(e=>{let{labelPlural:t,labelSingle:n,onClick:r,reply_count:o=0}=e,{t:i}=(0,c.Ht)("MessageRepliesCountButton");if(!o)return null;let s=i("replyCount",{count:o});return t&&o>1?s=`${o} ${t}`:n&&(s=`1 ${n}`),a.createElement("div",{className:"str-chat__message-replies-count-button-wrapper"},a.createElement("button",{className:"str-chat__message-replies-count-button","data-testid":"replies-count-button",onClick:r},s))});var eN=n(19382),eR=n(51385);let ej=a.memo(e=>{let{Avatar:t,MessageDeliveredStatus:n,MessageReadStatus:i,MessageSendingStatus:s,messageType:l="simple",tooltipUserNameMapper:u=B.jb}=e,{handleEnter:d,handleLeave:m,tooltipVisible:p}=(0,eR.r)(),{client:f}=(0,o.mx)("MessageStatus"),{Avatar:h}=(0,y.yM)("MessageStatus"),{isMyMessage:g,lastReceivedId:v,message:b,readBy:D,threadList:_}=(0,el.fr)("MessageStatus"),{t:E}=(0,c.Ht)("MessageStatus"),[C,w]=(0,a.useState)(null),x=t||h||ew.q;if(!g()||"error"===b.type)return null;let k=D?.length===1&&D[0].id===f.user?.id,S=`str-chat__message-${l}-status str-chat__message-status`,M="sending"===b.status,T="received"===b.status&&b.id===v&&!_,O=!!(D?.length&&!_&&!k),F=O?D.filter(e=>e.id!==f.user?.id):[],[P]=F;return a.createElement("span",{className:S,"data-testid":(0,r.Z)({"message-status-read-by":O,"message-status-received":T&&!O,"message-status-sending":M}),onMouseEnter:d,onMouseLeave:m,ref:w},M&&(s?a.createElement(s,null):a.createElement(a.Fragment,null,a.createElement(eN.X,{offset:[0,5],referenceElement:C,visible:p},E("Sending...")),a.createElement(I.T,null))),T&&!O&&(n?a.createElement(n,null):a.createElement(a.Fragment,null,a.createElement(eN.X,{offset:[0,5],referenceElement:C,visible:p},E("Delivered")),a.createElement(em,null))),O&&(i?a.createElement(i,null):a.createElement(a.Fragment,null,a.createElement(eN.X,{offset:[0,5],referenceElement:C,visible:p},(0,B.Qn)(D,E,f,u)),a.createElement(x,{className:"str-chat__avatar--message-status",image:P.image,name:P.name||P.id,user:P}),F.length>1&&a.createElement("span",{className:`str-chat__message-${l}-status-number`,"data-testid":"message-status-read-by-many"},F.length))))});var eI=n(95179),eB=n(44444),eU=n(69427);let ez=({renderText:e})=>{let{Attachment:t=eI.P,Avatar:n}=(0,y.yM)("QuotedMessage"),{client:i}=(0,o.mx)(),{isMyMessage:s,message:l,renderText:u}=(0,el.fr)("QuotedMessage"),{t:d,userLanguage:m}=(0,c.Ht)("QuotedMessage"),{jumpToMessage:p}=(0,_.uz)("QuotedMessage"),f=e??u??eU.IY,h=n||ew.q,{quoted_message:g}=l,v=g?.poll_id&&i.polls.fromState(g.poll_id),b=g?.deleted_at||g?.type==="deleted",D=b?d("This message was deleted..."):g?.i18n?.[`${m}_text`]||g?.text,E=g?.attachments?.length&&!b?g.attachments[0]:null,C=(0,a.useMemo)(()=>f(D,g?.mentioned_users),[D,g?.mentioned_users,f]);return g&&(g.poll||D||E)?a.createElement(a.Fragment,null,a.createElement("div",{className:(0,r.Z)("str-chat__quoted-message-preview",{mine:s()}),"data-testid":"quoted-message",onClickCapture:e=>{e.stopPropagation(),e.preventDefault(),p(g.id)}},g.user&&a.createElement(h,{className:"str-chat__avatar--quoted-message-sender",image:g.user.image,name:g.user.name||g.user.id,user:g.user}),a.createElement("div",{className:"str-chat__quoted-message-bubble","data-testid":"quoted-message-contents"},v?a.createElement(eB.n,{isQuoted:!0,poll:v}):a.createElement(a.Fragment,null,E&&a.createElement(t,{attachments:[E],isQuoted:!0}),a.createElement("div",{className:"str-chat__quoted-message-bubble__text","data-testid":"quoted-message-text"},C)))),l.attachments?.length?a.createElement(t,{attachments:l.attachments}):null):null};function eH({message:e,theme:t}){let{t:n}=(0,c.Ht)("MessageText");return"error"!==e.type||(0,B.yW)(e)?"failed"===e.status?a.createElement("div",{className:`str-chat__${t}-message--error-message str-chat__message--error-message`},n(403!==e.errorStatusCode?"Message Failed \xb7 Click to try again":"Message Failed \xb7 Unauthorized")):null:a.createElement("div",{className:`str-chat__${t}-message--error-message str-chat__message--error-message`},n("Error \xb7 Unsent"))}let eV=a.memo(e=>{let{customInnerClass:t,customWrapperClass:n="",message:o,renderText:i,theme:s="simple"}=e,{QuotedMessage:l=ez}=(0,y.yM)("MessageText"),{message:u,onMentionsClickMessage:d,onMentionsHoverMessage:m,renderText:p,unsafeHTML:f}=(0,el.fr)("MessageText"),h=i??p??eU.IY,{userLanguage:g}=(0,c.Ht)("MessageText"),v=o||u,b=(0,B.ue)(v),D=v.i18n?.[`${g}_text`]||v.text,_=(0,a.useMemo)(()=>h(D,v.mentioned_users),[v.mentioned_users,D]),E=t||`str-chat__message-text-inner str-chat__message-${s}-text-inner`;return D||v.quoted_message?a.createElement("div",{className:n||"str-chat__message-text",tabIndex:0},a.createElement("div",{className:(0,r.Z)(E,{[`str-chat__message-${s}-text-inner--has-attachment`]:b,[` str-chat__message-${s}-text-inner--is-emoji`]:(0,B.Kh)(v.text)&&!v.quoted_message}),"data-testid":"message-text-inner-wrapper",onClick:d,onMouseOver:m},v.quoted_message&&a.createElement(l,null),a.createElement(eH,{message:v,theme:s}),f&&v.html?a.createElement("div",{dangerouslySetInnerHTML:{__html:v.html}}):a.createElement("div",null,_))):null});var e$=n(66722);function eZ(e){let{calendar:t,calendarFormats:n,customClass:r,format:o,timestamp:i}=e,{formatDate:s}=(0,el.fr)("MessageTimestamp"),{t:l,tDateTimeParser:u}=(0,c.Ht)("MessageTimestamp"),d=i&&(0,e$.J_)(i)?i.toISOString():i,m=(0,a.useMemo)(()=>(0,e$.fh)({calendar:t,calendarFormats:n,format:o,formatDate:s,messageCreatedAt:d,t:l,tDateTimeParser:u,timestampTranslationKey:"timestamp/MessageTimestamp"}),[t,n,o,s,d,l,u]);return m?a.createElement("time",{className:r,dateTime:d,title:d},m):null}let eY=a.memo(e=>{let{message:t,...n}=e,{message:r}=(0,el.fr)("MessageTimestamp"),{Timestamp:o=eZ}=(0,y.yM)("MessageTimestamp");return a.createElement(o,{timestamp:(t||r).created_at,...n})});var eW=n(96649),eq=n(66054),eK=n(21707);let eG=()=>{let{t:e}=(0,c.Ht)("EditMessageForm"),{clearEditingState:t,handleSubmit:n}=(0,eK.Nc)("EditMessageForm");return(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t?.()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t]),a.createElement("form",{autoComplete:"off",className:"str-chat__edit-message-form",onSubmit:n},a.createElement(eq.r,null),a.createElement("div",{className:"str-chat__edit-message-form-options"},a.createElement("button",{className:"str-chat__edit-message-cancel","data-testid":"cancel-button",onClick:t},e("Cancel")),a.createElement("button",{className:"str-chat__edit-message-send","data-testid":"send-button-edit-form",type:"submit"},e("Send"))))};var eJ=n(38114);let eQ=a.lazy(async()=>{let e=await Promise.all([n.e(4538),n.e(4848)]).then(n.bind(n,24848));return{default:e.MML}}),eX=e=>{let{actionHandler:t,align:n="right",source:r}=e,{theme:i}=(0,o.mx)("MML");return a.createElement(a.Suspense,{fallback:null},a.createElement(eQ,{className:`mml-align-${n}`,Loading:null,onSubmit:t,source:r,Success:null,theme:(i||"").replace(" ","-")}))};var e0=n(27666);let e1={created_at:-1};function e2({handleFetchReactions:e,onSelectedReactionTypeChange:t,reactionDetail
12sSort:n,reactions:o,selectedReactionType:i,sortReactionDetails:s,...l}){let u=o.find(({reactionType:e})=>e===i),c=u?.EmojiComponent??null,{reactionDetailsSort:d,sortReactionDetails:m}=(0,el.fr)("ReactionsListModal"),p=s??m,{isLoading:f,reactions:h}=function(e){let{handleFetchReactions:t}=(0,el.fr)("useFetchReactions"),[n,r]=(0,a.useState)([]),{handleFetchReactions:o,reactionType:i,shouldFetch:s,sort:l}=e,[u,c]=(0,a.useState)(s),d=o??t;return(0,a.useEffect)(()=>{if(!s)return;let e=!1;return(async()=>{try{c(!0);let t=await d(i,l);e||r(t)}catch(t){e||r([])}finally{e||c(!1)}})(),()=>{e=!0}},[d,i,s,l]),{isLoading:u,reactions:n}}({handleFetchReactions:e,reactionType:i,shouldFetch:l.open,sort:n??d??e1}),g=(0,a.useMemo)(()=>p?[...h].sort(p):h,[p,h]);return a.createElement(e0.u,{...l,className:(0,r.Z)("str-chat__message-reactions-details-modal",l.className)},a.createElement("div",{className:"str-chat__message-reactions-details","data-testid":"reactions-list-modal"},a.createElement("div",{className:"str-chat__message-reactions-details-reaction-types"},o.map(({EmojiComponent:e,reactionCount:n,reactionType:o})=>e&&a.createElement("div",{className:(0,r.Z)("str-chat__message-reactions-details-reaction-type",{"str-chat__message-reactions-details-reaction-type--selected":i===o}),"data-testid":`reaction-details-selector-${o}`,key:o,onClick:()=>t?.(o)},a.createElement("span",{className:"str-chat__message-reaction-emoji str-chat__message-reaction-emoji--with-fallback"},a.createElement(e,null)),"\xa0",a.createElement("span",{className:"str-chat__message-reaction-count"},n)))),c&&a.createElement("div",{className:"str-chat__message-reaction-emoji str-chat__message-reaction-emoji--with-fallback str-chat__message-reaction-emoji-big"},a.createElement(c,null)),a.createElement("div",{className:"str-chat__message-reactions-details-reacting-users","data-testid":"all-reacting-users"},f?a.createElement(I.T,null):g.map(({user:e})=>a.createElement("div",{className:"str-chat__message-reactions-details-reacting-user",key:e?.id},a.createElement(ew.q,{className:"stream-chat__avatar--reaction","data-testid":"avatar",image:e?.image,name:e?.name||e?.id}),a.createElement("span",{className:"str-chat__user-item--name","data-testid":"reaction-user-username"},e?.name||e?.id))))))}let e3=(e,t)=>e.firstReactionAt&&t.firstReactionAt?+e.firstReactionAt-+t.firstReactionAt:e.reactionType.localeCompare(t.reactionType,"en"),e4=e=>{let{own_reactions:t,reaction_groups:n,reactionOptions:r,reactions:o,sortReactions:i}=e,{message:s,sortReactions:l}=(0,el.fr)("useProcessReactions"),{reactionOptions:u=eO}=(0,y.yM)("useProcessReactions"),c=r??u,d=i??l??e3,m=o||s.latest_reactions,p=t||s?.own_reactions,f=n||s?.reaction_groups,h=(0,a.useCallback)(e=>p?.some(t=>t.type===e)??!1,[p]),g=(0,a.useCallback)(e=>c.find(({type:t})=>t===e)?.Component??null,[c]),v=(0,a.useCallback)(e=>c.some(t=>t.type===e),[c]),b=(0,a.useCallback)(e=>m?.flatMap(t=>{if(e&&e===t.type){let e=t.user?.name||t.user?.id;return e?[e]:[]}return[]})??[],[m]),D=(0,a.useMemo)(()=>{if(!f)return[];let e=Object.entries(f).flatMap(([e,{count:t,first_reaction_at:n,last_reaction_at:r}])=>{if(0===t||!v(e))return[];let a=b(e);return[{EmojiComponent:g(e),firstReactionAt:n?new Date(n):null,isOwnReaction:h(e),lastReactionAt:r?new Date(r):null,latestReactedUserNames:a,reactionCount:t,reactionType:e,unlistedReactedUserCount:t-a.length}]});return e.sort(d)},[g,b,h,v,f,d]),_=D.length>0,E=(0,a.useMemo)(()=>D.reduce((e,{reactionCount:t})=>e+t,0),[D]);return{existingReactions:D,hasReactions:_,totalReactionCount:E}},e9=a.memo(e=>{let{handleFetchReactions:t,reactionDetailsSort:n,reverse:o=!1,sortReactionDetails:i,...s}=e,{existingReactions:l,hasReactions:u,totalReactionCount:d}=e4(s),[m,p]=(0,a.useState)(null),{t:f}=(0,c.Ht)("ReactionsList"),{ReactionsListModal:h=e2}=(0,y.yM)(),g=e=>{d>1e3||p(e)};return u?a.createElement(a.Fragment,null,a.createElement("div",{"aria-label":f("aria/Reaction list"),className:(0,r.Z)("str-chat__reaction-list str-chat__message-reactions-container",{"str-chat__reaction-list--reverse":o}),"data-testid":"reaction-list",role:"figure"},a.createElement("ul",{className:"str-chat__message-reactions"},l.map(({EmojiComponent:e,isOwnReaction:t,reactionCount:n,reactionType:o})=>e&&a.createElement("li",{className:(0,r.Z)("str-chat__message-reaction",{"str-chat__message-reaction-own":t}
12),key:o},a.createElement("button",{"aria-label":`Reactions: ${o}`,"data-testid":`reactions-list-button-${o}`,onClick:()=>g(o),type:"button"},a.createElement("span",{className:"str-chat__message-reaction-emoji"},a.createElement(e,null)),"\xa0",a.createElement("span",{className:"str-chat__message-reaction-count","data-testclass":"reaction-list-reaction-count"},n)))),a.createElement("li",null,a.createElement("span",{className:"str-chat__reaction-list--counter"},d)))),null!==m&&a.createElement(h,{handleFetchReactions:t,onClose:()=>p(null),onSelectedReactionTypeChange:p,open:null!==m,reactions:l,selectedReactionType:m,sortReactionDetails:i})):null});function e6({MessageBouncePrompt:e,...t}){return a.createElement(e0.u,{className:"str-chat__message-bounce-modal",...t},a.createElement(eh,null,a.createElement(e,{onClose:t.onClose})))}function e8({message:e,open:t,...n}){let{t:o}=(0,c.Ht)("MessageEditedTimestamp"),{message:i}=(0,el.fr)("MessageEditedTimestamp"),{Timestamp:s=eZ}=(0,y.yM)("MessageEditedTimestamp"),l=e||i;return(0,B.$l)(l)?a.createElement("div",{className:(0,r.Z)("str-chat__message-edited-timestamp",t?"str-chat__message-edited-timestamp--open":"str-chat__message-edited-timestamp--collapsed"),"data-testid":"message-edited-timestamp"},o("Edited")," ",a.createElement(s,{timestamp:l.message_text_updated_at,...n})):null}let e5=30,e7=2,te=({renderingLetterCount:e=e7,streamingLetterIntervalMs:t=e5,text:n})=>{let[r,o]=(0,a.useState)(n),i=(0,a.useRef)(n.length);return(0,a.useEffect)(()=>{let r=n.length,a=setInterval(()=>{(!n||i.current>=r)&&clearInterval(a);let t=i.current+e,s=n.substring(0,t);i.current+=s.length-i.current,o(s)},t);return()=>{clearInterval(a)}},[t,e,n]),{streamedMessageText:r}},tt=e=>{let{message:t,renderingLetterCount:n,renderText:r,streamingLetterIntervalMs:o}=e,{message:i}=(0,el.fr)("StreamedMessageText"),s=t||i,{text:l=""}=s,{streamedMessageText:u}=te({renderingLetterCount:n,streamingLetterIntervalMs:o,text:l});return a.createElement(eV,{message:{...s,text:u},renderText:r})},tn=a.memo(e=>{let t;let{additionalMessageInputProps:n,clearEditingState:i,editing:s,endOfGroup:l,firstOfGroup:u,groupedByUser:d,handleAction:m,handleOpenThread:p,handleRetry:f,highlighted:h,isMessageAIGenerated:g,isMyMessage:v,message:b,onUserClick:D,onUserHover:_,renderText:E,threadList:C}=e,{client:w}=(0,o.mx)("MessageSimple"),{t:x}=(0,c.Ht)("MessageSimple"),[k,S]=(0,a.useState)(!1),[M,T]=(0,a.useState)(!1),{Attachment:O=eI.P,Avatar:F=ew.q,EditMessageInput:P=eG,MessageOptions:A=eA,MessageActions:L=A,MessageDeleted:N=ey,MessageBouncePrompt:R=eg,MessageRepliesCountButton:j=eL,MessageStatus:I=ej,MessageTimestamp:U=eY,ReactionsList:z=e9,StreamedMessageText:H=tt,PinIndicator:V}=(0,y.yM)("MessageSimple"),$=(0,B.ue)(b),Z=(0,B.KI)(b),Y=(0,a.useMemo)(()=>g?.(b),[g,b]);if(b.customType===eW.L.date)return null;if(b.deleted_at||"deleted"===b.type)return a.createElement(N,{message:b});let W=!d||l,q=!C&&!!b.reply_count,K="failed"===b.status&&403!==b.errorStatusCode,G=(0,B.yW)(b),J=(0,B.$l)(b)&&!Y;K?t=()=>f(b):G?t=()=>S(!0):J&&(t=()=>T(e=>!e));let Q=(0,r.Z)("str-chat__message str-chat__message-simple",`str-chat__message--${b.type}`,`str-chat__message--${b.status}`,v()?"str-chat__message--me str-chat__message-simple--me":"str-chat__message--other",b.text?"str-chat__message--has-text":"has-no-text",{"str-chat__message--has-attachment":$,"str-chat__message--highlighted":h,"str-chat__message--pinned pinned-message":b.pinned,"str-chat__message--with-reactions":Z,"str-chat__message-send-can-be-retried":b?.status==="failed"&&b?.errorStatusCode!==403,"str-chat__message-with-thread-link":q,"str-chat__virtual-message__wrapper--end":l,"str-chat__virtual-message__wrapper--first":u,"str-chat__virtual-message__wrapper--group":d}),X=b.poll_id&&w.polls.fromState(b.poll_id);return a.createElement(a.Fragment,null,s&&a.createElement(e0.u,{className:"str-chat__edit-message-modal",onClose:i,open:s},a.createElement(eJ.R,{clearEditingState:i,grow:!0,hideSendButton:!0,Input:P,message:b,...n})),k&&a.createElement(e6,{MessageBouncePrompt:R,onClose:()=>S(!1),open:k}),a.createElement("div",{className:Q,key:b.id},V&&a.createElement(V,null),b.user&&a.createElement(F,{image:b.user.image,name:b.user.name||b.user.id,onClick:D,onMouseOver:_,user:b.user}),a.createElement("div",{className:(0,r.Z)("str-chat__message-inner",{"str-chat__simple-message--error-failed":K||G}),"data-testid":"message-inner",onClick:t,onKeyUp:t},a.createElement(L,null),a.createElement("div",{className:"str-chat__message-reactions-host"},Z&&a.createElement(z,{reverse:!0})),a.createElement("div",{className:"str-chat__message-bubble"}
12,X&&a.createElement(eB.n,{poll:X}),b.attachments?.length&&!b.quoted_message?a.createElement(O,{actionHandler:m,attachments:b.attachments}):null,Y?a.createElement(H,{message:b,renderText:E}):a.createElement(eV,{message:b,renderText:E}),b.mml&&a.createElement(eX,{actionHandler:m,align:v()?"right":"left",source:b.mml}),a.createElement(ep,null))),q&&a.createElement(j,{onClick:p,reply_count:b.reply_count}),W&&a.createElement("div",{className:"str-chat__message-metadata"},a.createElement(I,null),!v()&&!!b.user&&a.createElement("span",{className:"str-chat__message-simple-name"},b.user.name||b.user.id),a.createElement(U,{customClass:"str-chat__message-simple-timestamp"}),J&&a.createElement("span",{className:"str-chat__mesage-simple-edited"},x("Edited")),J&&a.createElement(e8,{calendar:!0,open:M}))))},B.zs),tr=e=>{let t=(0,el.fr)("MessageSimple");return a.createElement(tn,{...t,...e})},ta=a.memo(e=>{let{canPin:t,groupedByUser:n,Message:r,message:i,messageActions:l=Object.keys(B.Xh),onUserClick:u,onUserHover:c,userRoles:d}=e,{client:m,isMessageAIGenerated:p}=(0,o.mx)("Message"),{read:f}=(0,s.JN)("Message"),{Message:h}=(0,y.yM)("Message"),g="regular"===i.type&&"received"===i.status,v=r??h??tr,{clearEdit:b,editing:D,setEdit:_}=V(),{onUserClick:E,onUserHover:C}=$(i,{onUserClickHandler:u,onUserHoverHandler:c}),{canDelete:w,canEdit:x,canFlag:k,canMarkUnread:S,canMute:M,canQuote:T,canReact:O,canReply:F,isMyMessage:P}=d,A=(0,a.useMemo)(()=>!!(!P&&m.user?.id&&f&&(!f[m.user.id]||i?.created_at&&new Date(i.created_at).getTime()>f[m.user.id].last_read.getTime())),[m,P,i.created_at,f]),L=(0,a.useCallback)(()=>(0,B.oT)(l,{canDelete:w,canEdit:x,canFlag:k,canMarkUnread:S,canMute:M,canPin:t,canQuote:T,canReact:O,canReply:F}),[l,w,x,k,S,M,t,T,O,F]),{canPin:N,messageActions:R,onlySenderCanEdit:j,onUserClick:I,onUserHover:U,userRoles:z,...H}=e,Z={...H,actionsEnabled:g,clearEditingState:b,editing:D,getMessageActions:L,handleEdit:_,isMessageAIGenerated:p,isMyMessage:()=>P,messageIsUnread:A,onUserClick:E,onUserHover:C,setEditingState:_};return a.createElement(el.x1,{value:Z},a.createElement(v,{groupedByUser:n}))},B.s4),to=e=>{let{closeReactionSelectorOnClick:t,disableQuotedMessages:n,getDeleteMessageErrorNotification:r,getFetchReactionsErrorNotification:i,getFlagMessageErrorNotification:l,getFlagMessageSuccessNotification:u,getMarkMessageUnreadErrorNotification:d,getMarkMessageUnreadSuccessNotification:m,getMuteUserErrorNotification:p,getMuteUserSuccessNotification:f,getPinMessageErrorNotification:h,message:g,onlySenderCanEdit:y=!1,onMentionsClick:v,onMentionsHover:b,openThread:D,pinPermissions:E,reactionDetailsSort:C,retrySendMessage:w,sortReactionDetails:x,sortReactions:k}=e,{addNotification:S}=(0,_.uz)("Message"),{highlightedMessageId:M,mutes:T}=(0,s.JN)("Message"),O=function(e){let{removeMessage:t,updateMessage:n}=(0,_.uz)("useActionHandler"),{channel:r}=(0,s.JN)("useActionHandler");return async(a,o,i)=>{if(i&&i.preventDefault(),!e||!n||!t||!r){console.warn(Z);return}let s=e.id,l={};if("string"==typeof a?l[a]=o:l={...a},s){let a=await r.sendAction(s,l);a?.message?n(a.message):t(e)}}}(g),F=Y(g,D),P=J(g),A=Q(w),L=X(g,y,n),N=function(e,t={}){let{client:n}=(0,o.mx)("useRectionsFetcher"),{t:r}=(0,c.Ht)("useReactionFetcher"),{getErrorNotification:a,notify:i}=t;return async(t,o)=>{try{return await ee(n,e.id,t,o)}catch(n){let t=a?.(e);throw i?.(t||r("Error fetching reactions"),"error"),n}}}(g,{getErrorNotification:i,notify:S}),R=et(g,{getErrorNotification:r,notify:S}),j=en(g,{getErrorNotification:l,getSuccessNotification:u,notify:S}),I=er(g,{getErrorNotification:d,getSuccessNotification:m,notify:S}),B=ea(g,{getErrorNotification:p,getSuccessNotification:f,notify:S}),{onMentionsClick:U,onMentionsHover:z}=ei(g,{onMentionsClick:v,onMentionsHover:b}),{canPin:H,handlePin:V}=es(g,E,{getErrorNotification:h,notify:S}),$=M===g.id;return a.createElement(ta,{additionalMessageInputProps:e.additionalMessageInputProps,autoscrollToBottom:e.autoscrollToBottom,canPin:H,closeReactionSelectorOnClick:t,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,endOfGroup:e.endOfGroup,firstOfGroup:e.firstOfGroup,formatDate:e.formatDate,groupedByUser:e.groupedByUser,groupStyles:e.groupStyles,handleAction:O,handleDelete:R,handleFetchReactions:N,handleFlag:j,handleMarkUnread:I,handleMute:B,handleOpenThread:F,handlePin:V,handleReaction:P,handleRetry:A,highlighted:$,initialMessage:e.initialMessage,lastReceivedId:e.lastReceivedId,message:g,Message:e.Message,messageActions:e.messageActions,messageListRect:e.messageListRect,mutes:T,onMentionsClickMessage:U,onMentionsHoverMessage:z,onUserClick:e.onUserClick,onUserHover:e.onUserHover,pinPermissions:e.pinPermissions,reactionDetail
12sSort:C,readBy:e.readBy,renderText:e.renderText,sortReactionDetails:x,sortReactions:k,threadList:e.threadList,unsafeHTML:e.unsafeHTML,userRoles:L})},ti=a.memo(e=>{let{calendar:t,date:n,formatDate:r,position:o="right",unread:i,...s}=e,{t:l,tDateTimeParser:u}=(0,c.Ht)("DateSeparator"),d=(0,e$.fh)({calendar:t,...s,formatDate:r,messageCreatedAt:n,t:l,tDateTimeParser:u,timestampTranslationKey:"timestamp/DateSeparator"});return a.createElement("div",{className:"str-chat__date-separator","data-testid":"date-separator"},("right"===o||"center"===o)&&a.createElement("hr",{className:"str-chat__date-separator-line"}),a.createElement("div",{className:"str-chat__date-separator-date"},i?`${l("New")} - ${d}`:d),("left"===o||"center"===o)&&a.createElement("hr",{className:"str-chat__date-separator-line"}))}),ts=a.memo(e=>{let{Avatar:t=ew.q,calendar:n,calendarFormats:r,format:o,message:i}=e,{t:s,tDateTimeParser:l}=(0,c.Ht)("EventComponent"),{created_at:u="",event:d,text:m,type:p}=i,f={messageCreatedAt:u.toString(),tDateTimeParser:l};if("system"===p)return a.createElement("div",{className:"str-chat__message--system","data-testid":"message-system"},a.createElement("div",{className:"str-chat__message--system__text"},a.createElement("div",{className:"str-chat__message--system__line"}),a.createElement("p",null,m),a.createElement("div",{className:"str-chat__message--system__line"})),a.createElement("div",{className:"str-chat__message--system__date"},a.createElement("strong",null,(0,e$.fh)({...f,calendar:n,calendarFormats:r,format:o,t:s,timestampTranslationKey:"timestamp/SystemMessage"}))));if(d?.type==="member.removed"||d?.type==="member.added"){let e=d.user?.name||d.user?.id,n=`${e} ${"member.added"===d.type?"has joined the chat":"was removed from the chat"}`;return a.createElement("div",{className:"str-chat__event-component__channel-event"},a.createElement(t,{image:d.user?.image,name:e,user:d.user}),a.createElement("div",{className:"str-chat__event-component__channel-event__content"},a.createElement("em",{className:"str-chat__event-component__channel-event__sentence"},n),a.createElement("div",{className:"str-chat__event-component__channel-event__date"},(0,e$.fh)({...f,format:"LT"}))))}return null});function tl({channelUnreadUiState:e,components:t,customClasses:n,lastReceivedMessageId:r,messageGroupStyles:o,messages:i,readData:s,sharedMessageProps:l}){let u,c;let{DateSeparator:d=ti,HeaderComponent:p,MessageSystem:f=ts,UnreadMessagesSeparator:h=m}=t,y=[];for(let t=0;t<i.length;t++){let m=i[t];if((0,g.Fr)(m))y.push(a.createElement("li",{key:`${m.date.toISOString()}-i`},a.createElement(d,{date:m.date,formatDate:l.formatDate,unread:m.unread})));else if(m.customType===eW.L.intro&&p)y.push(a.createElement("li",{key:"intro"},a.createElement(p,null)));else if("system"===m.type)y.push(a.createElement("li",{"data-message-id":m.id,key:m.id||m.created_at},a.createElement(f,{message:m})));else{u||(u=m);let t=o[m.id]||"",i=n?.message||`str-chat__li str-chat__li--${t}`,d=(0,g.jH)({firstUnreadMessageId:e?.first_unread_message_id,isFirstMessage:!!u?.i
12d&&u.id===m.id,lastReadDate:e?.last_read,lastReadMessageId:e?.last_read_message_id,message:m,previousMessage:c,unreadMessageCount:e?.unread_messages});y.push(a.createElement(a.Fragment,{key:m.id||m.created_at},d&&h&&a.createElement("li",{className:"str-chat__li str-chat__unread-messages-separator-wrapper"},a.createElement(h,{unreadCount:e?.unread_messages})),a.createElement("li",{className:i,"data-message-id":m.id,"data-testid":i},a.createElement(to,{groupStyles:[t],lastReceivedId:r,message:m,readBy:s[m.id]||[],...l})))),c=m}}return y}let tu=e=>{let{channel:t,channelUnreadUiState:n,disableDateSeparator:s=!1,groupStyles:l,hasMoreNewer:c=!1,headerPosition:d,hideDeletedMessages:m=!1,hideNewMessageSeparator:p=!1,highlightedMessageId:f,internalInfiniteScrollProps:{threshold:g=N.su,...b}={},jumpToLatestMessage:_=()=>Promise.resolve(),loadMore:E,loadMoreNewer:x,maxTimeBetweenGroupedMessages:k,messageActions:M=Object.keys(B.Xh),messageLimit:F=N.cE,messages:L=[],noGroupByUser:R=!1,notifications:U,pinPermissions:z=B.Z1,reactionDetailsSort:V,read:$,renderMessages:Z=tl,returnAllReadData:Y=!1,reviewProcessedMessage:W,showUnreadNotificationAlways:q,sortReactionDetails:K,sortReactions:G,suppressAutoscroll:J,threadList:Q=!1,unsafeHTML:X=!1}=e,[ee,et]=a.useState(null),[en,er]=a.useState(null),{customClasses:ea}=(0,o.mx)("MessageList"),{EmptyStateIndicator:eo=A.D,LoadingIndicator:ei=I.T,MessageListMainPanel:es=u,MessageListNotifications:el=S,MessageNotification:eu=w,TypingIndicator:ec=H,UnreadMessagesNotification:ed=T}=(0,y.yM)("MessageList"),{hasNewMessages:em,isMessageListScrolledToBottom:ep,onScroll:ef,scrollToBottom:eh,wrapperRect:eg}=i({hasMoreNewer:c,listElement:ee,loadMoreScrollThreshold:g,messages:L,scrolledUpThreshold:e.scrolledUpThreshold,suppressAutoscroll:J}),{show:ey}=h({isMessageListScrolledToBottom:ep,showAlways:!!q,unreadCount:n?.unread_messages});C({isMessageListScrolledToBottom:ep,messageListIsThread:Q,wasMarkedUnread:!!n?.first_unread_message_id});let{messageGroupStyles:ev,messages:eb}=v({channel:t,disableDateSeparator:s,groupStyles:l,headerPosition:d,hideDeletedMessages:m,hideNewMessageSeparator:p,maxTimeBetweenGroupedMessages:k,messages:L,noGroupByUser:R,reviewProcessedMessage:W}),eD=D({channelUnreadUiState:n,enrichedMessages:eb,internalMessageProps:{additionalMessageInputProps:e.additionalMessageInputProps,closeReactionSelectorOnClick:e.closeReactionSelectorOnClick,customMessageActions:e.customMessageActions,disableQuotedMessages:e.disableQuotedMessages,formatDate:e.formatDate,getDeleteMessageErrorNotification:e.getDeleteMessageErrorNotification,getFlagMessageErrorNotification:e.getFlagMessageErrorNotification,getFlagMessageSuccessNotification:e.getFlagMessageSuccessNotification,getMarkMessageUnreadErrorNotification:e.getMarkMessageUnreadErrorNotification,getMarkMessageUnreadSuccessNotification:e.getMarkMessageUnreadSuccessNotification,getMuteUserErrorNotification:e.getMuteUserErrorNotification,getMuteUserSuccessNotification:e.getMuteUserSuccessNotification,getPinMessageErrorNotification:e.getPinMessageErrorNotification,Message:e.Message,messageActions:M,messageListRect:eg,onlySenderCanEdit:e.onlySenderCanEdit,onMentionsClick:e.onMentionsClick,onMentionsHover:e.onMentionsHover,onUserClick:e.onUserClick,onUserHover:e.onUserHover,openThread:e.openThread,pinPermissions:z,reactionDetailsSort:V,renderText:e.renderText,retrySendMessage:e.retrySendMessage,sortReactionDetails:K,sortReactions:G,unsafeHTML:X},messageGroupStyles:ev,read:$,renderMessages:Z,returnAllReadData:Y,threadList:Q}),e_=ea?.messageList||"str-chat__list",eE=a.useCallback(()=>{E&&E(F)},[E,F]),eC=a.useCallback(()=>{x&&x(F)},[x,F]),ew=a.useCallback(async()=>{c?await _():eh()},[eh,c]);a.useLayoutEffect(()=>{if(f){let e=en?.querySelector(`[data-message-id='${f}']`);e?.scrollIntoView({block:"center"})}},[f]);let ex=0===eD.length&&!Q,ek=Q?"message-list-dialog-manager-thread":"message-list-dialog-manager";return a.createElement(P,{value:{listElement:ee,scrollToBottom:eh}},a.createElement(es,null,a.createElement(O.r,{id:ek},!Q&&ey&&a.createElement(ed,{unreadCount:n?.unread_messages}),a.createElement("div",{className:(0,r.Z)(e_,ea?.threadList),onScroll:ef,ref:et,tabIndex:0},ex?a.createElement(eo,{listType:Q?"thread":"message"}):a.createElement(j,{className:"str-chat__message-list-scroll","data-testid":"reverse-infinite-scroll",hasNextPage:e.hasMoreNewer,hasPreviousPage:e.hasMore,head:e.head,isLoading:e.loadingMore,loader:a.createElement("div",{className:"str-chat__list__loading",key:"loading-indicator"},e.loadingMore&&a.createElement(ei,{size:20})),loadNextPage:eC,loadPreviousPage:eE,threshold:g,...b},a.createElement("ul",{className:"str-chat__ul",ref:er},eD),a.createElement(ec,{threadList:Q}),a.createElement("div",{key:"bottom"}))))),a.createElement(el,{hasNewMessages:em,isMessageListScrolledToBottom:ep,isNotAtLatestMessageSet:c,MessageNotification:eu,notifications:U,scrollToBottom:ew,threadList:Q,unreadCount:Q?void 0:n?.unread_messages}))},tc=e=>{let{jumpToLatestMessage:t,loadMore:n,loadMoreNewer:r}=(0,_.uz)("MessageList"),{members:o,mutes:i,watchers:l,...u}=(0,s.JN)("MessageList");return a.createElement(tu,{jumpToLatestMessage:t,loadMore:n,loadMoreNewer:r,...u,...e})}},25297:function(e,t,n){"use strict";n.d(t,{Ej:function(){return s},Fr:function(){return f},Pi:function(){return c},Th:function(){return p},c:function(){return d},db:function(){return m},hR:function(){return u},jH:function(){return h}});var r=n(53416),a=n(96649),o=n(52127),i=n(66722);let s=e=>{let t;let{messages:n,reviewProcessedMessage:r,setGiphyPreviewMessage:o,...s}=e,{enableDateSeparator:u,hideDeletedMessages:c,hideNewMessageSeparator:d,lastRead:m,userId:p}=s,f=!1,h=!1,g=[];for(let e=0;e<n.length;e+=1){let y=n[e];if(c&&"deleted"===y.type)continue;
12if(o&&"ephemeral"===y.type&&"giphy"===y.command){h=!0,o(y);continue}let v=[],b=y.created_at&&(0,i.J_)(y.created_at)&&y.created_at.toDateString()||"",D=n[e-1],_=b;u&&D?.created_at&&(0,i.J_)(D.created_at)&&(_=D.created_at.toDateString()),!f&&!d&&(f=m&&y.created_at&&new Date(m)<y.created_at||!1,u&&f&&y.user?.id!==p&&v.push({customType:a.L.date,date:y.created_at,id:l(y.created_at),unread:f})),u&&(0===e||b!==_||c&&D?.type==="deleted"&&t!==b)&&v[v.length-1]?.customType!==a.L.date?(t=b,v.push({customType:a.L.date,date:y.created_at,id:l(y.created_at)},y)):v.push(y),g.push(...r?.({changes:v,context:s,index:e,messages:n,processedMessages:g})||v)}return o&&!h&&o(void 0),g},l=e=>{let t;try{t=e?e instanceof Date?e.toISOString():e:(0,r.x0)()}catch(e){t=(0,r.x0)()}return`${a.L.date}-${t}`},u=e=>{for(let t=e.length-1;t>0;t-=1)if("received"===e[t].status)return e[t].id;return null},c=(e,t={},n)=>{let r={};return Object.values(t).forEach(t=>{let a;t.last_read&&(e.forEach(e=>{e.created_at&&e.created_at<t.last_read&&(a=e.id,n&&(r[a]||(r[a]=[]),r[a].push(t.user)))}),a&&!n&&(r[a]||(r[a]=[]),r[a].push(t.user)))}),r},d=(e,t)=>{let n={customType:a.L.intro};if(!t||!e.length)return e.unshift(n),e;for(let r=0;r<e.length;r+=1){let o=e[r],s=o.created_at&&(0,i.J_)(o.created_at)?o.created_at.getTime():null,l=e[r+1],u=l.created_at&&(0,i.J_)(l.created_at)?l.created_at.getTime():null;if(s&&s<t){if(u&&u<t){if(e[r+1]&&e[r+1].customType===a.L.date)continue;if(!u){e.push(n);break}}else{e.splice(r+1,0,n);break}}}return e},m=(e,t,n,r,i)=>{if(e.customType===a.L.date||e.customType===a.L.intro)return"";if(r||e.attachments?.length!==0)return"single";let s=!t||t.customType===a.L.intro||t.customType===a.L.date||"system"===t.type||"error"===t.type||t.attachments?.length!==0||e.user?.id!==t.user?.id||t.deleted_at||e.reaction_groups&&Object.keys(e.reaction_groups).length>0||(0,o.$l)(t)||void 0!==i&&t.created_at&&e.created_at&&new Date(e.created_at).getTime()-new Date(t.created_at).getTime()>i,l=!n||n.customType===a.L.intro||n.customType===a.L.date||"system"===n.type||"error"===n.type||n.attachments?.length!==0||e.user?.id!==n.user?.id||n.deleted_at||n.reaction_groups&&Object.keys(n.reaction_groups).length>0||(0,o.$l)(e)||void 0!==i&&n.created_at&&e.created_at&&new Date(n.created_at).getTime()-new Date(e.created_at).getTime()>i;return s||l?l?s||e.deleted_at||"error"===e.type?"single":"bottom":s?"top":"":e.deleted_at||"error"===e.type?"single":"middle"},p=(e,t)=>e>=t;function f(e){return e.customType===a.L.date&&!!e.date&&(0,i.J_)(e.date)}let h=({firstUnreadMessageId:e,isFirstMessage:t,lastReadDate:n,lastReadMessageId:r,message:a,previousMessage:o,unreadMessageCount:i=0})=>{if(a.parent_id)return!1;let s=a.created_at&&new Date(a.created_at).getTime(),l=n?.getTime(),u=!!r&&r===o?.id;return e===a.id||!!i&&!!s&&!!l&&s>l&&(t||u)}},27666:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var r=n(70149),a=n(67294),o=n(13441);let i=()=>a.createElement("svg",{"data-testid":"close-icon-round",fill:"none",height:"28",viewBox:"0 0 28 28",width:"28",xmlns:"http://www.w3.org/2000/svg"},a.createElement("rect",{fill:"#72767E",height:"28",rx:"14",width:"28"}),a.createElement("circle",{cx:"14",cy:"14",fill:"#72767E",r:"12"}),a.createElement("path",{clipRule:"evenodd",d:"M28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14ZM26 14C26 20.6274 20.6274 26 14 26C7.37258 26 2 20.6274 2 14C2 7.37258 7.37258 2 14 2C20.6274 2 26 7.37258 26 14ZM19.59 7L21 8.41L15.41 14L21 19.59L19.59 21L14 15.41L8.41 21L7 19.59L12.59 14L7 8.41L8.41 7L14 12.59L19.59 7Z",fill:"white",fillRule:"evenodd"}));var s=n(21681);let l=({children:e,className:t,onClose:n,open:l})=>{let{t:u}=(0,s.Ht)("Modal"),c=(0,a.useRef)(null),d=(0,a.useRef)(null);return((0,a.useEffect)(()=>{if(!l)return;let e=e=>{"Escape"===e.key&&n?.(e)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n,l]),l)?a.createElement("div",{className:(0,r.Z)("str-chat__modal str-chat__modal--open",t),onClick:e=>{let t=e.target;c.current&&d.current&&(!c.current.contains(t)||d.current.contains(t))&&n?.(e)}},a.createElement(o.MT,{autoFocus:!0,contain:!0},a.createElement("button",{className:"str-chat__modal__close-button",ref:d,title:u("Close")},a.createElement(i,null)),a.createElement("div",{className:"str-chat__modal__inner str-chat-react__modal__inner",ref:c},e))):null}},38110:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(67294),a=n(70149);let o=({className:e,close:t,goBack:n,title:o})=>r.createElement("div",{className:(0,a.Z)("str-chat__modal-header",e)},n&&r.createElement("button",{className:"str-chat__modal-header__go-back-button",onClick:n}),r.createElement("div",{className:"str-chat__modal-header__title"},o),t&&r.createElement("button",{className:"str-chat__modal-header__close-button",onClick:t}))},44444:function(e,t,n){"use strict";n.d(t,{n:function(){return eD}});var r=n(67294),a=n(70149),o=n(21681);let i=r.createContext(void 0),s=({children:e,poll:t})=>t?r.createElement(i.Provider,{value:{poll:t}},e):null,l=()=>{let e=(0,r.useContext)(i);return e};var u=n(59852);let c=e=>({enforce_unique_vote:e.enforce_unique_vote,is_closed:e.is_closed,max_votes_allowed:e.max_votes_allowed,name:e.name,options:e.options}),d=()=>{let{t:e}=(0,o.Ht)("PollHeader"),{poll:t}=l(),{enforce_unique_vote:n,is_closed:a,max_votes_allowed:i,name:s,options:d}=(0,u.B)(t.state,c),m=(0,r.useMemo)(()=>a?e("Vote ended"):n?e("Select one"):i?e("Select up to {{count}}",{count:i>d.length?d.length:i}):e("Select one or more"),[a,n,i,d.length,e]);if(s)return r.createElement("div",{className:"str-chat__poll-header"},r.createElement("div",{className:"str-chat__poll-title"},s),r.createElement("div",{className:"str-chat__poll-subtitle"},m))};var m=n(27666);let p=({buttonText:e,children:t,closeModal:n,modalClassName:a,modalIsOpen:o,openModal:i})=>r.createElement(r.Fragment,null,r.createElement("button",{className:"str-chat__poll-action",onClick:i},e),r.createElement(m.u,{className:a,onClose:n,open:o},t));var f=n(69203);let h=({className:e,close:t,fields:n,onSubmit:i,shouldDisableSubmitButton:s,title:l})=>{let{t:u}=(0,o.Ht)(),[c,d]=(0,r.useState)({}),[m,p]=(0,r.useState)(()=>{let e={};for(let[t,r]of Object.entries(n))e={...e,[t]:r.props.value};return e}),h=(0,r.useCallback)(e=>{let t=e.target.id,r=n[t];if(!r)return;let a=r.validator?.(e.target.value);a?d(e=>({[t]:a,...e})):d(e=>(delete e[t],e)),p(n=>({...n,[t]:e.target.value})),r.props.onChange&&("input"===r.element?r.props.onChange(e):"textarea"===r.element&&r.props.onChange(e))},[n]),g=async()=>
12{if(!Object.keys(m).length)return;let e={};for(let[t,r]of Object.entries(m)){let a=n[t].validator?.(r);a&&(e[t]=a)}if(Object.keys(e).length){d(e);return}await i(m),t()};return r.createElement("div",{className:(0,a.Z)("str-chat__dialog str-chat__dialog--form",e)},r.createElement("div",{className:"str-chat__dialog__body"},l&&r.createElement("div",{className:"str-chat__dialog__title"},l),r.createElement("form",{autoComplete:"off"},Object.entries(n).map(([e,t])=>r.createElement("div",{className:"str-chat__dialog__field",key:`dialog-field-${e}`},t.label&&r.createElement("label",{className:(0,a.Z)(`str-chat__dialog__title str-chat__dialog__title--${e}`),htmlFor:e},t.label),r.createElement(t.element,{id:e,...t.props,onChange:h,value:m[e]}),r.createElement(f.c,{text:c[e]?.message}))))),r.createElement("div",{className:"str-chat__dialog__controls"},r.createElement("button",{className:"str-chat__dialog__controls-button str-chat__dialog__controls-button--cancel",onClick:t},u("Cancel")),r.createElement("button",{className:"str-chat__dialog__controls-button str-chat__dialog__controls-button--submit",disabled:Object.keys(c).length>0||s?.(m),onClick:g,type:"submit"},u("Send"))))},g=e=>({ownAnswer:e.ownAnswer}),y=({close:e,messageId:t})=>{let{t:n}=(0,o.Ht)("AddCommentForm"),{poll:a}=l(),{ownAnswer:i}=(0,u.B)(a.state,g);return r.createElement(h,{className:"str-chat__prompt-dialog str-chat__modal__poll-add-comment",close:e,fields:{comment:{element:"input",props:{id:"comment",name:"comment",required:!0,type:"text",value:i?.answer_text??""}}},onSubmit:async e=>{await a.addAnswer(e.comment,t)},shouldDisableSubmitButton:e=>!e.comment||e.comment===i?.answer_text,title:n(i?"Update your comment":"Add a comment")})};var v=n(83156);let b=e=>({options:e.options}),D=({close:e,messageId:t})=>{let{client:n}=(0,v.mx)("SuggestPollOptionForm"),{t:a}=(0,o.Ht)("SuggestPollOptionForm"),{poll:i}=l(),{options:s}=(0,u.B)(i.state,b);return r.createElement(h,{className:"str-chat__prompt-dialog str-chat__modal__suggest-poll-option",close:e,fields:{optionText:{element:"input",props:{id:"optionText",name:"optionText",required:!0,type:"text",value:""},validator:e=>{if(!e)return;let t=s.find(t=>t.text===e.trim());if(t)return Error(a("Option already exists"))}}},onSubmit:async e=>{let{poll_option:r}=await n.createPollOption(i.id,{text:e.optionText});i.castVote(r.id,t)},shouldDisableSubmitButton:e=>!e.optionText,title:a("Suggest an option")})},_=({actions:e,className:t,prompt:n,title:o})=>r.createElement("div",{className:(0,a.Z)("str-chat__dialog str-chat__dialog--prompt",t)},r.createElement("div",{className:"str-chat__dialog__body"},o&&r.createElement("div",{className:"str-chat__dialog__title"},o),r.createElement("div",{className:"str-chat__dialog__prompt"},n)),r.createElement("div",{className:"str-chat__dialog__controls"},e.map(({className:e,...t},n)=>r.createElement("button",{className:(0,a.Z)("str-chat__dialog__controls-button",e),key:`prompt-dialog__controls-button--${n}`,...t})))),E=({close:e})=>{let{t}=(0,o.Ht)("SuggestPollOptionForm"),{poll:n}=l();return r.createElement(_,{actions:[{children:t("Cancel"),className:"str-chat__dialog__controls-button--cancel",onClick:e},{children:t("End"),className:".str-chat__dialog__controls-button--submit str-chat__dialog__controls-button--end-poll",onClick:n.close}],className:"str-chat__modal__end-vote",prompt:t("Nobody will be able to vote in this poll anymore."),title:t("End vote")})};var C=n(38110),w=n(7076),x=n(19382),k=n(51385);let S=({timestamp:e})=>{let{t}=(0,o.Ht)(),{handleEnter:n,handleLeave:a,tooltipVisible:i}=(0,k.r)(),[s,l]=(0,r.useState)(null),u=new Date(e);return r.createElement("div",{className:"str-chat__poll-vote__timestamp",onMouseEnter:n,onMouseLeave:a,ref:l},t("timestamp/PollVote",{timestamp:u}),r.createElement(x.X,{offset:[0,5],placement:"bottom",referenceElement:s,visible:i},t("timestamp/PollVoteTooltip",{timestamp:u})))},M=({vote:e})=>{let{t}=(0,o.Ht)(),{client:n}=(0,v.mx)(),{handleEnter:a,handleLeave:i,tooltipVisible:s}=(0,k.r)(),[l,u]=(0,r.useState)(null),c=n.user?.id&&n.user.id===e.user?.id?t("You"):e.user?.name||t("Anonymous");return r.createElement("div",{className:"str-chat__poll-vote__author",onMouseEnter:a,onMouseLeave:i,ref:u},e.user&&r.createElement(w.q,{className:"str-chat__avatar--poll-vote-author",image:e.user.image,key:`poll-vote-${e.id}-avatar-${e.user.id}`,name:e.user.name}),r.createElement("div",{className:"str-chat__poll-vote__author__name"},c),r.createElement(x.X,{offset:[0,5],placement:"bottom",referenceElement:l,visible:s},c))},T=({vote:e})=>r.createElement("div",{className:"str-chat__poll-vote"},r.createElement(M,{vote:e}),r.createElement(S,{timestamp:e.created_at})),O=({votes:e})=>r.createElement("div",{className:"str-chat__poll-vote-listing"},e.map(e=>r.createElement(T,{key:`poll-vote-${e.id}`,vote:e})));var F=n(75637);function P(e,t,n){let{client:a}=(0,v.mx)(),[o,i]=(0,r.useState)(t?.getLatestValue().items??[]);return(0,r.useEffect)(()=>t?.subscribeWithSelector(e=>[e.latestPageItems],([e])=>i(t=>[...t,...e])),[t]),(0,r.useEffect)(()=>{let t=t=>{if(!t.poll_vote)return;let r=(0,F.l7)(t.poll_vote);("answer"!==e||r)&&("vote"!==e||!r&&t.poll_vote.option_id===n)&&("poll.vote_removed"===t.type&&i(e=>t.poll_vote?e.filter(e=>e.id!==t.poll_vote.id):e),"poll.vote_changed"===t.type&&i(e=>t.poll_vote?e.filter(e=>e.id!==t.poll_vote.id):e),["poll.vote_casted","poll.vote_changed"].includes(t.type)&&i(e=>t.poll_vote?[t.poll_vote,...e]:e))},r=a.on("poll.vote_casted",t),o=a.on("poll.vote_removed",t),s=a.on("poll.vote_changed",t);return()=>{r.unsubscribe(),o.unsubscribe(),s.unsubscribe()}},[a,n,e]),o}var A=n(18618),L=n.n(A);let N=(e,t)=>{let n=(0,r.useMemo)(()=>new F.gj({hasNextPage:!0,items:[],latestPageItems:[],loading:!1}),[]),a=(0,r.useCallback)(async()=>{let{loading:t,next:r}=n.getLatestValue();if(null!==r&&!t){n.partialNext({loading:!0});try{let{items:t,next:a}=await e(r);n.next(e=>({...e,hasNextPage:!!a,items:L()(e.items.concat(t),"id"),latestPageItems:t,next:a||null}))}catch(e){n.partialNext({error:e})}n.partialNext({loading:!1})}},[n,e]);return(0,r.useEffect)(()=>{let{items:e}=n.getLatestValue();t&&!e.length&&a()},[n,t,a]),{cursorPaginatorState:n,loadMore:a}},R=e=>[e.error,e.hasNextPage,e.loading],j=({paginationParams:e}={})=>{let{poll:t}=l(),n=(0,r.useCallback)(async n=>{let{next:r,votes:a}=await t.queryAnswers({filter:e?.filter,options:n?{...e?.options,next:n}:e?.options,sort:{created_at:-1,...e?.sort}});return{items:a,next:r}},[e,t]),{cursorPaginatorState:a,loadMore:o}=N(n,!0),i=P("answer",a),[s,c,d]=(0,u.B)(a,R);return{answers:i,error:s,hasNextPage:c,loading:d,loadMore:o}};var I=n(91296),B=n.n(I),U=n(45853);let z=e=>{e instanceof WheelEvent&&1===e.deltaY&&e.preventDefault()},H=e=>{let{children:t,className:n,listenToScroll:o,loadNextDebounceMs:i=500,loadNextOnScrollToBottom:s,loadNextOnScrollToTop:l,threshold:u=U.su,useCapture:c=!1,...d}=e,m=(0,r.useRef)(null),p=(0,r.useRef)(null),f=(0,r.useMemo)(()=>B()(()=>{let e=m.current,t=p.current;if(!e||null===e.offsetParent||!t)return;let n=t.scrollHeight-e.scrollTop-e.clientHeight,r=e.scrollTop;o&&o(n,r,u),r<Number(u)&&l?.(),n<Number(u)&&s?.()},i),[o,i,s,l,u]);return(0,r.useEffect)(()=>{let e=m.current;if(e)return e.addEventListener("scroll",f,c),()=>{e.removeEventListener("scroll",f,c)}},[f,c]),(0,r.useEffect)(()=>{let e=m.current;if(!e||"undefined"==typeof ResizeObserver||!f)return;let t=new ResizeObserver(f);return t.observe(e),()=>{t.disconnect()}},[f]),(0,r.useEffect)(()=>{let e=m.current;return e&&e.addEventListener("wheel",z,{passive:!1}),()=>{e&&e.removeEventListener("wheel",z,c)}},[c]),r.createElement("div",{...d,className:(0,a.Z)("str-chat__infinite-scroll-paginator",n),ref:m},r.createElement("div",{className:"str-chat__infinite-scroll-paginator__content",ref:p},t))};var V=n(44498);let $=e=>({is_closed:e.is_closed,ownAnswer:e.ownAnswer}),Z=({close:e,onUpdateOwnAnswerClick:t})=>{let{t:n}=(0,o.Ht)(),{poll:a}=l(),{is_closed:i,ownAnswer:s}=(0,u.B)(a.state,$),{answers:c,error:d,hasNextPage:m,loading:p,loadM
12ore:f}=j();return r.createElement("div",{className:"str-chat__modal__poll-answer-list"},r.createElement(C.x,{close:e,title:n("Poll comments")}),r.createElement("div",{className:"str-chat__modal__poll-answer-list__body"},r.createElement(H,{loadNextOnScrollToBottom:f,threshold:40},r.createElement("div",{className:"str-chat__poll-answer-list"},c.map(e=>r.createElement("div",{className:"str-chat__poll-answer",key:`comment-${e.id}`},e.answer_text&&r.createElement("p",{className:"str-chat__poll-answer__text"},e.answer_text),r.createElement(T,{key:`poll-vote-${e.id}`,vote:e})))),m&&r.createElement("div",{className:"str-chat__loading-indicator-placeholder"},p&&r.createElement(V.T,null))),d?.message&&r.createElement("div",null,d?.message)),c.length>0&&!i&&r.createElement("button",{className:"str-chat__poll-action",onClick:t},n(s?"Update your comment":"Add a comment")))};var Y=n(87029),W=n(12239);let q=({amount:e,className:t})=>r.createElement("div",{className:(0,a.Z)("str-chat__amount-bar",t),"data-testid":"amount-bar",role:"progressbar",style:{"--str-chat__amount-bar-fulfillment":e+"%"}}),K=({checked:e})=>r.createElement("div",{className:(0,a.Z)("str-chat__checkmark",{"str-chat__checkmark--checked":e})}),G=e=>({is_closed:e.is_closed,latest_votes_by_option:e.latest_votes_by_option,maxVotedOptionIds:e.maxVotedOptionIds,ownVotesByOptionId:e.ownVotesByOptionId,vote_counts_by_option:e.vote_counts_by_option,voting_visibility:e.voting_visibility}),J=({displayAvatarCount:e,option:t,voteCountVerbose:n})=>{let{t:i}=(0,o.Ht)(),{channelCapabilities:s={}}=(0,Y.JN)("PollOptionsShortlist"),{message:c}=(0,W.fr)(),{poll:d}=l(),{is_closed:m,latest_votes_by_option:p,maxVotedOptionIds:f,ownVotesByOptionId:h,vote_counts_by_option:g,voting_visibility:y}=(0,u.B)(d.state,G),v=s["cast-poll-vote"]&&!m,b=f[0]?g[f[0]]:0,D=(0,r.useMemo)(()=>B()(()=>{if(!v)return;let e=!!h[t.id];return e?d.removeVote(h[t.id].id,c.id):d.castVote(t.id,c.id)},100),[v,c.id,t.id,h,d]);return r.createElement("div",{className:(0,a.Z)("str-chat__poll-option",{"str-chat__poll-option--votable":v}),key:`base-poll-option-${t.id}`,onClick:D},v&&r.createElement(K,{checked:!!h[t.id]}),r.createElement("div",{className:"str-chat__poll-option-data"},r.createElement("p",{className:"str-chat__poll-option-text"},t.text),e&&"public"===y&&r.createElement("div",{className:"str-chat__poll-option-voters"},p?.[t.id]&&p[t.id].filter(e=>!!e.user&&!(0,F.l7)(e)).slice(0,e).map(({user:e})=>r.createElement(w.q,{image:e?.image,key:`poll-option-${t.id}-avatar-${e?.id}`,name:e?.name}))),r.createElement("div",{className:"str-chat__poll-option-vote-count"},n?i("{{count}} votes",{count:g[t.id]??0}):g[t.id]??0)),r.createElement(q,{amount:100*(b&&(g[t.id]??0)/b),className:(0,a.Z)("str-chat__poll-option__votes-bar",{"str-chat__poll-option__votes-bar--winner":m&&1===f.length&&f[0]===t.id})}))};var Q=n(40239);let X=e=>({options:e.options}),ee=({optionsDisplayCount:e})=>{let{PollOptionSelector:t=J}=(0,Q.yM)(),{poll:n}=l(),{options:o}=(0,u.B)(n.state,X);return r.createElement("div",{className:(0,a.Z)("str-chat__poll-option-list",{"str-chat__poll-option-list--full":void 0===e})},o.slice(0,e??o.length).map(e=>r.createElement(t,{displayAvatarCount:3,key:`poll-option-${e.id}`,option:e})))},et=e=>({name:e.name}),en=({close:e})=>{let{t}=(0,o.Ht)(),{poll:n}=l(),{name:a}=(0,u.B)(n.state,et);return r.createElement("div",{className:"str-chat__modal__poll-option-list"},r.createElement(C.x,{close:e,title:t("Poll options")}),r.createElement("div",{className:"str-chat__modal__poll-option-list__body"},r.createElement("div",{className:"str-chat__modal__poll-option-list__title"},a),r.createElement(ee,null)))},er=e=>[e.error,e.hasNextPage,e.loading],ea=({paginationParams:e})=>{let{poll:t}=l(),n=(0,r.useCallback)(async n=>{let{next:r,votes:a}=await t.queryOptionVotes({filter:e.filter,options:n?{...e?.options,next:n}:e?.options,sort:{created_at:-1,...e?.sort}});return{items:a,next:r}},[e,t]),{cursorPaginatorState:a,loadMore:o}=N(n,!0),i=P("vote",a,e.filter.option_id),[s,c,d]=(0,u.B)(a,er);return{error:s,hasNextPage:c,loading:d,loadMore:o,votes:i}},eo=e=>({maxVotedOptionIds:e.maxVotedOptionIds,vote_counts_by_option:e.vote_counts_by_option}),ei=({optionId:e})=>{let{t}=(0,o.Ht)(),{poll:n}=l(),{maxVotedOptionIds:a,vote_counts_by_option:i}=(0,u.B)(n.state,eo);return r.createElement("div",{className:"str-chat__poll-result-option-vote-counter"},1===a.length&&a[0]===e&&r.createElement("div",{className:"str-chat__poll-result-winning-option-icon"}),r.createElement("span",{className:"str-chat__poll-result-option-vote-count"},t("{{count}} votes",{count:i[e]??0})))},es=({option:e})=>r.createElement("div",{className:"str-chat__poll-option__header"},r.createElement("div",{className:"str-chat__poll-option__option-text"},e.text),r.createElement(ei,{optionId:e.id})),el=({option:e})=>{let t=(0,r.useMemo)(()=>({filter:{option_id:e.id}}),[e.id]),{error:n,hasNextPage:a,loading:o,loadMore:i,votes:s}=ea({paginationParams:t});return r.createElement("div",{className:"str-chat__poll-option str-chat__poll-option--full-vote-list"},r.createElement(es,{option:e}),r.createElement(H,{loadNextOnScrollToBottom:i,threshold:40},r.createElement(O,{votes:s}),a&&r.createElement("div",{className:"str-chat__loading-indicator-placeholder"},o&&r.createElement(V.T,null))),n&&n.message)},eu=e=>({latest_votes_by_option:e.latest_votes_by_option}),ec=({countVotesPreview:e=5,option:t,showAllVotes:n})=>{let{t:a}=(0,o.Ht)(),{channelCapabilities:i={}}=(0,Y.JN)("PollOptionWithLatestVotes"),{poll:s}=l(),{latest_votes_by_option:c}=(0,u.B)(s.state,eu),d=c&&c[t.id];return r.createElement("div",{className:"str-chat__poll-option"},r.createElement(es,{option:t}),d&&r.createElement(O,{votes:d.slice(0,e)}),i["query-poll-votes"]&&n&&d?.length>e&&r.createElement("button",{className:"str-chat__poll-option__show-all-votes-button",onClick:n},a("Show all")))},ed=e=>({name:e.name,options:e.options,vote_counts_by_option:e.vote_counts_by_option}),em=({close:e})=>{let{t}=(0,o.Ht)(),{poll:n}=l(),{name:i,options:s,vote_counts_by_option:c}=(0,u.B)(n.state,ed),[d,m]=(0,r.useState)(),p=(0,r.useCallback)(()=>m(void 0),[]);return r.createElement("div",{className:(0,a.Z)("str-chat__modal__poll-results",{"str-chat__modal__poll-results--option-detail":d})},d?r.createElement(r.Fragment,null,r.createElement(C.x,{close:e,goBack:p,title:d.text}),r.createElement("div",{className:"str-chat__modal__poll-results__body"},r.createElement(el,{key:`poll-option-detail-${d.id}`,option:d}))):r.createElement(r.Fragment,null,r.createElement(C.x,{close:e,title:t("Poll results")}),r.createElement("div",{className:"str-chat__modal__poll-results__body"},r.createElement("div",{className:"str-chat__modal__poll-results__title"},i),r.createElement("div",{className:"str-chat__modal__poll-results__option-list"},s.sort((e,t)=>
12(c[t.id]??0)>=(c[e.id]??0)?1:-1).map(e=>r.createElement(ec,{key:`poll-option-${e.id}`,option:e,showAllVotes:()=>m(e)}))))))};var ep=n(64351);let ef=e=>({allow_answers:e.allow_answers,allow_user_suggested_options:e.allow_user_suggested_options,answers_count:e.answers_count,created_by_id:e.created_by_id,is_closed:e.is_closed,options:e.options,ownAnswer:e.ownAnswer}),eh=({AddCommentForm:e=y,EndPollDialog:t=E,PollAnswerList:n=Z,PollOptionsFullList:a=en,PollResults:i=em,SuggestPollOptionForm:s=D})=>{let{client:c}=(0,v.mx)(),{t:d}=(0,o.Ht)("PollActions"),{channelCapabilities:m={}}=(0,Y.JN)("PollActions"),{message:f}=(0,W.fr)("PollActions"),{poll:h}=l(),{allow_answers:g,allow_user_suggested_options:b,answers_count:_,created_by_id:C,is_closed:w,options:x,ownAnswer:k}=(0,u.B)(h.state,ef),[S,M]=(0,r.useState)(),T=(0,r.useCallback)(()=>M(void 0),[]),O=(0,r.useCallback)(()=>M("add-comment"),[]);return r.createElement("div",{className:"str-chat__poll-actions"},x.length>ep.om&&r.createElement(p,{buttonText:d("See all options ({{count}})",{count:x.length}),closeModal:T,modalIsOpen:"view-all-options"===S,openModal:()=>M("view-all-options")},r.createElement(a,{close:T})),!w&&b&&x.length<ep.wj&&r.createElement(p,{buttonText:d("Suggest an option"),closeModal:T,modalClassName:"str-chat__suggest-poll-option-modal",modalIsOpen:"suggest-option"===S,openModal:()=>M("suggest-option")},r.createElement(s,{close:T,messageId:f.id})),!w&&g&&r.createElement(p,{buttonText:d(k?"Update your comment":"Add a comment"),closeModal:T,modalClassName:"str-chat__add-poll-answer-modal",modalIsOpen:"add-comment"===S,openModal:()=>M("add-comment")},r.createElement(e,{close:T,messageId:f.id})),_>0&&m["query-poll-votes"]&&r.createElement(p,{buttonText:d("View {{count}} comments",{count:_}),closeModal:T,modalClassName:"str-chat__poll-answer-list-modal",modalIsOpen:"view-comments"===S,openModal:()=>M("view-comments")},r.createElement(n,{close:T,onUpdateOwnAnswerClick:O})),r.createElement(p,{buttonText:d("View results"),closeModal:T,modalClassName:"str-chat__poll-results-modal",modalIsOpen:"view-results"===S,openModal:()=>M("view-results")},r.createElement(i,{close:T})),!w&&C===c.user?.id&&r.createElement(p,{buttonText:d("End vote"),closeModal:T,modalClassName:"str-chat__end-poll-modal",modalIsOpen:"end-vote"===S,openModal:()=>M("end-vote")},r.createElement(t,{close:T})))},eg=e=>({is_closed:e.is_closed}),ey=()=>{let{PollActions:e=eh,PollHeader:t=d}=(0,Q.yM)(),{poll:n}=l(),{is_closed:o}=(0,u.B)(n.state,eg);return r.createElement("div",{className:(0,a.Z)("str-chat__poll",{"str-chat__poll--closed":o})},r.createElement(t,null),r.createElement(ee,{optionsDisplayCount:ep.om}),r.createElement(e,null))},ev=e=>({is_closed:e.is_closed,name:e.name}),eb=()=>{let{poll:e}=l(),{is_closed:t,name:n}=(0,u.B)(e.state,ev);return r.createElement("div",{className:(0,a.Z)("str-chat__quoted-poll-preview",{"str-chat__quoted-poll-preview--closed":t})},r.createElement("div",{className:"str-chat__quoted-poll-preview__icon"},"\uD83D\uDCCA"),r.createElement("div",{className:"str-chat__quoted-poll-preview__name"},n))},eD=({isQuoted:e,poll:t})=>{let{PollContent:n=ey,QuotedPoll:a=eb}=(0,Q.yM)();return t?r.createElement(s,{poll:t},e?r.createElement(a,null):r.createElement(n,null)):null}},64351:function(e,t,n){"use strict";n.d(t,{BV:function(){return a},om:function(){return o},wj:function(){return r}});let r=100,a=/^([2-9]|10)$/,o=10},3897:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(67294),a=n(73935);let o=({children:e,getPortalDestination:t,isOpen:n})=>{let[o,i]=(0,r.useState)(null);return((0,r.useLayoutEffect)(()=>{let e=t();e&&n&&i(e)},[t,n]),o)?(0,a.createPortal)(e,o):null}},31840:function(e,t,n){"use strict";n.d(t,{a:function(){return y}});var r=n(67294),a=n(70149);let o=40,i=({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-pdf",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#E71A01"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M16.39 8.90641C16.215 8.27341 15.787 7.95841 15.426 8.00441C14.99 8.06141 14.526 8.32041 14.34 8.72941C13.854 9.82141 14.768 12.8934 15.028 13.7674L15.073 13.9194C14.015 17.1134 10.394 23.4264 8.62002 23.8534C8.58302 23.4364 8.80602 22.2294 11.146 20.7244C11.266 20.5944 11.406 20.4374 11.471 20.3344C9.49302 21.3004 6.93108 22.8514 8.47102 24.0114C8.55602 24.0774 8.68502 24.1314 8.83402 24.1874C10.014 24.6244 11.666 23.1954 13.327 19.9544C15.157 19.3504 16.633 18.8964 18.722 18.5804C21.005 20.1304 22.538 20.4464 23.578 20.0474C23.866 19.9354 24.32 19.5734 24.45 19.1004C24.515 18.8774 24.608 18.5154 24.432 18.2274C23.842 17.2664 21.452 17.5954 20.032 17.7904C19.779 17.8254 19.557 17.8564 19.381 17.8744C17.552 16.7704 16.289 14.8014 15.778 13.3804C15.857 13.0784 15.936 12.7894 16.012 12.5124C16.397 11.1124 16.701 10.0064 16.392 8.90641H16.39ZM24.45 19.1004C23.605 20.1404 21.628 19.4164 20.05 18.4224C21.507 18.2644 23.01 18.1724 23.661 18.3764C24.488 18.6364 24.459 19.0444 24.451 19.1004H24.45ZM15.601 12.7404C15.296 11.6544 14.868 9.24041 15.555 8.46041C16.701 9.11641 16.266 10.5384 15.825 11.9834C15.748 12.2364 15.671 12.4894 15.601 12.7404ZM13.439 19.5834C15.156 18.9054 16.354 18.4494 18.118 18.1254C16.818 16.9554 16.028 15.6834 15.378 14.3834C14.915 16.0554 13.948 18.5894 13.438 19.5834H13.439Z",fill:"#E71A01",fillRule:"evenodd"}),r.createElement("path",{d:"M13.1719 33.0127V37.4219H12.1875V32.3018H13.1001L13.1719 33.0127ZM15.5132 34.1099V34.1816C15.5132 34.4505 15.4813 34.7 15.4175 34.9302C15.356 35.1603 15.2648 35.3608 15.144 35.5317C15.0233 35.7004 14.8729 35.8325 14.6929 35.9282C14.5151 36.0216 14.3101 36.0684 14.0776 36.0684C13.8521 36.0684 13.6561 36.0228 13.4897 35.9316C13.3234 35.8405 13.1833 35.7129 13.0693 35.5488C12.9577 35.3825 12.8677 35.1899 12.7993 34.9712C12.731 34.7524 12.6785 34.5177 12.6421 34.2671V34.0791C12.6785 33.8102 12.731 33.5641 12.7993 33.3408C12.8677 33.1152 12.9577 32.9204 13.0693 32.7563C13.1833 32.59 13.3223 32.4613 13.4863 32.3701C13.6527 32.279 13.8475 32.2334 14.0708 32.2334C14.3055 32.2334 14.5117 32.2778 14.6895 32.366
127C14.8695 32.4556 15.0199 32.5832 15.1406 32.7495C15.2637 32.9159 15.356 33.1141 15.4175 33.3442C15.4813 33.5744 15.5132 33.8296 15.5132 34.1099ZM14.5254 34.1816V34.1099C14.5254 33.9526 14.5117 33.8079 14.4844 33.6758C14.4593 33.5413 14.4183 33.424 14.3613 33.3237C14.3066 33.2235 14.2337 33.146 14.1426 33.0913C14.0537 33.0343 13.9455 33.0059 13.8179 33.0059C13.6834 33.0059 13.5684 33.0275 13.4727 33.0708C13.3792 33.1141 13.3029 33.1768 13.2437 33.2588C13.1844 33.3408 13.14 33.4388 13.1104 33.5527C13.0807 33.6667 13.0625 33.7954 13.0557 33.939V34.4141C13.0671 34.5827 13.099 34.7342 13.1514 34.8687C13.2038 35.0008 13.2847 35.1056 13.394 35.1831C13.5034 35.2606 13.647 35.2993 13.8247 35.2993C13.9546 35.2993 14.064 35.2708 14.1528 35.2139C14.2417 35.1546 14.3135 35.0737 14.3682 34.9712C14.4251 34.8687 14.465 34.7502 14.4878 34.6157C14.5129 34.4813 14.5254 34.3366 14.5254 34.1816ZM18.3091 35.1934V30.75H19.3003V36H18.4082L18.3091 35.1934ZM15.9712 34.1953V34.1235C15.9712 33.841 16.0031 33.5846 16.0669 33.3545C16.1307 33.1221 16.2241 32.9227 16.3472 32.7563C16.4702 32.59 16.6217 32.4613 16.8018 32.3701C16.9818 32.279 17.1868 32.2334 17.417 32.2334C17.6335 32.2334 17.8226 32.279 17.9844 32.3701C18.1484 32.4613 18.2874 32.5911 18.4014 32.7598C18.5176 32.9261 18.611 33.1232 18.6816 33.3511C18.7523 33.5767 18.8035 33.8239 18.8354 34.0928V34.25C18.8035 34.5075 18.7523 34.7467 18.6816 34.9678C18.611 35.1888 18.5176 35.3825 18.4014 35.5488C18.2874 35.7129 18.1484 35.8405 17.9844 35.9316C17.8203 36.0228 17.6289 36.0684 17.4102 36.0684C17.18 36.0684 16.9749 36.0216 16.7949 35.9282C16.6172 35.8348 16.4668 35.7038 16.3438 35.5352C16.223 35.3665 16.1307 35.1683 16.0669 34.9404C16.0031 34.7126 15.9712 34.4642 15.9712 34.1953ZM16.9556 34.1235V34.1953C16.9556 34.348 16.967 34.4904 16.9897 34.6226C17.0148 34.7547 17.0547 34.8721 17.1094 34.9746C17.1663 35.0749 17.2393 35.1535 17.3281 35.2104C17.4193 35.2651 17.5298 35.2925 17.6597 35.2925C17.8283 35.2925 17.9673 35.2549 18.0767 35.1797C18.186 35.1022 18.2692 34.9963 18.3262 34.8618C18.3854 34.7274 18.4196 34.5724 18.4287 34.397V33.9492C18.4219 33.8057 18.4014 33.6769 18.3672 33.563C18.3353 33.4468 18.2874 33.3477 18.2236 33.2656C18.1621 33.1836 18.0846 33.1198 17.9912 33.0742C17.9001 33.0286 17.7918 33.0059 17.6665 33.0059C17.5389 33.0059 17.4295 33.0355 17.3384 33.0947C17.2472 33.1517 17.1732 33.2303 17.1162 33.3306C17.0615 33.4308 17.0205 33.5493 16.9932 33.686C16.9681 33.8205 16.9556 33.9663 16.9556 34.1235ZM21.3237 36H20.3325V31.9736C20.3325 31.6934 20.3872 31.4575 20.4966 31.2661C20.6082 31.0724 20.7643 30.9266 20.9648 30.8286C21.1676 30.7284 21.408 30.6782 21.686 30.6782C21.7772 30.6782 21.8649 30.6851 21.9492 30.6987C22.0335 30.7101 22.1156 30.7249 22.1953 30.7432L22.1851 31.4849C22.1418 31.4735 22.0962 31.4655 22.0483 31.4609C22.0005 31.4564 21.9447 31.4541 21.8809 31.4541C21.7624 31.4541 21.661 31.4746 21.5767 31.5156C21.4946 31.5544 21.432 31.6125 21.3887 31.6899C21.3454 31.7674 21.3237 31.862 21.3237 31.9736V36ZM22.062 32.3018V32.999H19.7822V32.3018H22.062Z",fill:"white"})),s=({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-fallback ",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M8 13H23V15H8V13Z",fill:"#CFCFCF",fillRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 17H18V19H8V17Z",fill:"#CFCFCF",fillRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 21H23V23H8V21Z",fill:"#CFCFCF",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"white"}),r.createElement("stop",{offset:"1",stopColor:"#DBDBDB"})))),l=({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-image",e),height:t,viewBox:"0 0 384 512",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z",fill:"#414D54"})),u=["application/msword","application/msword-template","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.text-flat-xml"],c=["text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.spreadsheet-flat-xml"],d=["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.oasis.opendocument.presentation","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.presentation-flat-xml"],m=["application/zip","application/x-7z-compressed","application/x-archive","application/x-tar","application/gzip","application/x-compress","application/x-bzip","application/x-lzip","application/x-lz4","application/x-lzma","application/x-lzop","application/x-xz","application/x-webarchive","application/vnd.rar"],p=["text/html","text/css","application/x-javascript","text/javascript","application/json","text/x-python","text/x-go","text/x-csrc","text/x-c++src","application/x-ruby","text/rust","text/x-java","application/x-php","text/x-csharp","text/x-scala","text/x-erlang","application/x-shellscript"];function f({FileArchiveIcon:e,FileCodeIcon:t,FileExcelIcon:n,FilePdfIcon:r,FilePowerPointIcon:a,FileWordIcon:o}){let i={"application/pdf":r};for(let e of u)i[e]=o;for(let e of c)i[e]=n;for(let e of d)i[e]=a;for(let t of m)i[t]=e;for(let e of p)i[e]=t;return i}function h({FileAltIcon:e,FileAudioIcon:t,FileImageIcon:n,FileVideoIcon:r}){return{"audio/":t,"image/":n,"text/":e,"video/":r}}let g={alt:{...f({FileArchiveIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-archive-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11086_246)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#B67A24"}),r.createElement("path",{clipRule:"evenodd",d:"M10 0H8V2H10V4H8V6H10V8H8V10H10V12H8V14H10V12H12V10H10V8H12V6H10V4H12V2H10V0ZM8 17C8 16.4477 8.44771 16 9 16H11C11.5523 16 12 16.4477 12 17V23C12 23.5523 11.5523 24 11 24H9C8.44771 24 8 23.5523 8 23V17ZM9 23V20H11V23H9Z",fill:"#FFE9C8",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11086_246",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#FFC775"}),r.createElement("stop",{offset:"1",stopColor:"#E69E34"})))),FileCodeIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-code-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11086_611)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#00ACA1"}),r.createElement("path",{clipRule:"evenodd",d:"M15 21V18.984L11.5 18L15 17V15L9 17V19L15 21ZM19 15V17.016L22.5 18L19 19V21L25 19V17L19 15Z",fill:"#A3DCD8",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11086_611",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#7FC4BD"}),r.createElement("stop",{offset:"1",stopColor:"#00ACA1"})))),FileExcelIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-excel-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11084_326)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#0C864B"}),r.createElement("path",{clipRule:"evenodd",d:"M12 13H7V15H12V13ZM12 17H7V19H12V17ZM7 21H12V23H7V21ZM23 13H14V15H23V13ZM14 17H23V19H14V17ZM23 21H14V23H23V21Z",fill:"#A8E7C9",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11084_326",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#64AD8A"}),r.createElement("stop",{offset:"1",stopColor:"#0C864B"})))),FilePdfIcon:i,FilePowerPointIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-powerpoint-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11084_76)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#AB381D"}),r.createElement("path",{clipRule:"evenodd",d:"M7 12C7 10.8954 7.89543 10 9 10H19C20.1046 10 21 10.8954 21 12V18C21 19.1046 20.1046 20 19 20H9C7.89543 20 7 19.1046 7 18V12ZM9 12H19V18H9V12ZM25 22C25 23.1046 24.1046 24 23 24H11V22H23V15H25V22Z",fill:"#FFB3A0",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11084_76",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#DC7259"}),r.createElement("stop",{offset:"1",stopColor:"#D14423"})))),FileWordIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-word-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11084_64)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#3670D3"}),r.createElement("path",{clipRule:"evenodd",d:"M8 13H23V15H8V13Z",fill:"#C1D8FF",fillRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 17H18V19H8V17Z",fill:"#C1D8FF",fillRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 21H23V23H8V21Z",fill:"#C1D8FF",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11084_64",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#79A4F2"}),r.createElement("stop",{offset:"1",stopColor:"#3375E2"}))))}),...h({FileAltIcon:s,FileAudioIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-audio-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_11086_420)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#1919A5"}),r.createElement("path",{clipRule:"evenodd",d:"M8.87912 21.941H12.298L16.9521 24.7493C17.0307 24.8138 17.1293 24.849 17.2311 24.849C17.4738 24.8488 17.6705 24.6519
1217.6703 24.4092V12.4399C17.6704 12.3381 17.6352 12.2396 17.5707 12.1609C17.4168 11.9732 17.1398 11.9457 16.9521 12.0996L12.298 14.908H8.87912C8.3936 14.908 8 15.3016 8 15.7871V21.0619C8 21.5474 8.3936 21.941 8.87912 21.941ZM12.9258 16.6664L15.9122 15.2224V21.6268L12.9258 20.1829H9.7583V16.6664H12.9258ZM19.8511 16.3517C19.474 16.4092 19.2397 16.6637 19.3283 16.9191L19.3262 16.92C19.5295 17.4995 19.6305 18.098 19.6284 18.6953C19.6305 19.2975 19.5237 19.9014 19.3196 20.4909C19.229 20.7462 19.4682 20.9996 19.8474 21.06C19.9008 21.0683 19.9542 21.072 20.0076 21.072C20.3259 21.072 20.6156 20.9234 20.6922 20.7057C20.9194 20.0451 21.0337 19.37 21.0374 18.6953C21.0349 18.0251 20.9211 17.3575 20.6955 16.7035C20.6053 16.4477 20.229 16.2908 19.8511 16.3517ZM22.1605 14.6028C22.5252 14.5163 22.9259 14.6454 23.055 14.8938C23.6891 16.1157 24 17.4042 24 18.6923C24.0004 19.9895 23.6796 21.2839 23.0521 22.5153C22.9503 22.7123 22.6763 22.8344 22.3828 22.8344C22.3071 22.8344 22.2301 22.8261 22.1543 22.8092C21.7863 22.7251 21.5914 22.4536 21.7185 22.2077C22.2988 21.0761 22.5922 19.8836 22.5931 18.6919C22.5931 17.5056 22.3054 16.3222 21.7276 15.2025C21.6001 14.9563 21.795 14.686 22.1605 14.6028Z",fill:"#AAAAFF",fillRule:"evenodd"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_11086_420",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#4A4AB8"}),r.createElement("stop",{offset:"1",stopColor:"#2727B0"})))),FileImageIcon:l,FileVideoIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-video-alt",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V3Z",fill:"url(#paint0_linear_18604_164254)"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#7A1589"}),r.createElement("path",{d:"M9 17H25V24H9V17ZM27 14C27 12.8954 26.1046 12 25 12H22L24 15H21L19 12H17L19 15H16L14 12H12L14 15H11L9 12C7.9 12 7.01 12.9 7.01 14L7 24C7 25.1 7.9 26 9 26H25C26.1 26 27 25.1 27 24V14Z",fill:"#F3A8FF"}),r.createElement("defs",null,r.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_18604_164254",x1:"0",x2:"0",y1:"0",y2:"40"},r.createElement("stop",{stopColor:"#A94AB8"}),r.createElement("stop",{offset:"1",stopColor:"#9D27B0"}))))}),fallback:s},standard:{...f({FileArchiveIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-archive",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{clipRule:"evenodd",d:"M17.7168 33.172C18.2348 33.172 18.4238 33.655 18.4238 34.18C18.4238 34.642 18.2978 35.195 17.7168 35.195C17.1708 35.195 16.9888 34.642 16.9888 34.145C16.9888 33.683 17.1708 33.172 17.7168 33.172ZM19.5718 31.002H18.3818V32.7589H18.3678C18.1228 32.43 17.7798 32.262 17.3318 32.262C16.3028 32.262 15.7988 33.158 15.7988 34.103C15.7988 35.125 16.2818 36.1049 17.4228 36.1049C17.8428 36.1049 18.1928 35.923 18.4238 35.58H18.4378V36H19.5718V31.002ZM12.7095 34.1872C12.7095 33.7252 12.8775 33.1722 13.4305 33.1722C13.9835 33.1722 14.1585 33.7252 14.1585 34.1872C14.1585 34.6492 13.9835 35.1952 13.4305 35.1952C12.8775 35.1952 12.7095 34.6492 12.7095 34.1872ZM11.5195 34.1872C11.5195 35.2792 12.3035 36.1052 13.4305 36.1052C14.5575 36.1052 15.3485 35.2792 15.3485 34.1872C15.3485 33.0952 14.5575 32.2622 13.4305 32.2622C12.3035 32.2622 11.5195 33.0952 11.5195 34.1872ZM21.839 32.3671H22.574V33.1371H21.839V34.7891C21.839 35.0761 22.007 35.1391 22.266 35.1391C22.3142 35.1391 22.364 35.1357 22.4147 35.1323C22.4672 35.1287 22.5206 35.1251 22.574 35.1251V36.0001C22.481 36.0031 22.388 36.0099 22.295 36.0168C22.171 36.0259 22.047 36.0351 21.923 36.0351C20.908 36.0351 20.649 35.7411 20.649 34.7541V33.1371H20.047V32.3671H20.649V31.2681H21.839V32.3671Z",fill:"white",fillRule:"evenodd"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#F8B859"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M10 0H8V2H10V4H8V6H10V8H8V10H10V12H8V14H10V12H12V10H10V8H12V6H10V4H12V2H10V0ZM8 17C8 16.4477 8.44771 16 9 16H11C11.5523 16 12 16.4477 12 17V23C12 23.5523 11.5523 24 11 24H9C8.44771 24 8 23.5523 8 23V17ZM9 23V20H11V23H9Z",fill:"#F8B859",fillRule:"evenodd"})),FileCodeIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-code",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#00ACA1"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M15 21V18.984L11.5 18L15 17V15L9 17V19L15 21ZM19 15V17.016L22.5 18L19 19V21L25 19V17L19 15Z",fill:"#00ACA1",fillRule:"evenodd"})),FileExcelIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-excel",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{clipRule:"evenodd",d:"M17.7168 33.172C18.2348 33.172 18.4238 33.655 18.4238 34.18C18.4238 34.642 18.2978 35.195 17.7168 35.195C17.1708 35.195 16.9888 34.642 16.9888 34.145C16.9888 33.683 17.1708 33.172 17.7168 33.172ZM19.5718 31.002H18.3818V32.7589H18.3678C18.1228 32.43 17.7798 32.262 17.3318 32.262C16.3028 32.262 15.7988 33.158 15.7988 34.103C15.7988 35.125 16.2818 36.1049 17.4228 36.1049C17.8428 36.1049 18.1928 35.923 18.4238 35.58H18.4378V36H19.5718V31.002ZM12.7095 34.1872C12.7095 33.7252 12.8775 33.1722 13.4305 33.1722C13.9835 33.1722 14.1585 33.7252 14.1585 34.1872C14.1585 34.6492 13.9835 35.1952 13.4305 35.1952C12.8775 35.1952 12.7095 34.6492 12.7095 34.1872ZM11.5195 34.1872C11.5195 35.2792 12.3035 36.1052 13.4305 36.1052C14.5575 36.1052 15.3485 35.2792 15.3485 34.1872C15.3485 33.0952 14.5575 32.2622 13.4305 32.2622C12.3035 32.2622 11.5195 33.0952 11.5195 34.1872ZM21.839 32.3671H22.574V33.1371H21.839V34.7891C21.839 35.0761 22.007 35.1391 22.266 35.1391C22.3142 35.1391 22.364 35.1357 22.4147 35.1323C22.4672 35.1287 22.5206 35.1251 22.574 35.1251V36.0001C22.481 36.0031 22.388 36.0099 22.295 36.0168C22.171 36.0259 22.047 36.0351 21.923 36.0351C20.908 36.0351 20.649 35.7411 20.649 34.7541V33.1371H20.047V32.3671H20.649V31.2681H21.839V32.3671Z",fill:"white",fillRule:"evenodd"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#0F9D58"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M12 13H7V15H12V13ZM12 17H7V19H12V17ZM7 21H12V23H7V21ZM23 13H14V15H23V13ZM14 17H23V19H14V17ZM23 21H14V23H23V21Z",fill:"#0F9D58",fillRule:"evenodd"})),FilePdfIcon:i,FilePowerPointIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-powerpoint",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{clipRule:"evenodd",d:"M17.7168 33.172C18.2348 33.172 18.4238 33.655 18.4238 34.18C18.4238 34.642 18.2978 35.195 17.7168 35.195C17.1708 35.195 16.9888 34.642 16.9888 34.145C16.9888 33.683 17.1708 33.172 17.7168 33.172ZM19.5718 31.002H18.3818V32.7589H18.3678C18.1228 32.43 17.7798 32.262 17.3318 32.262C16.3028 32.262 15.7988 33.158 15.7988 34.103C15.7988 35.125 16.2818 36.1049 17.4228 36.1049C17.8428 36.1049 18.1928 35.923 18.4238 35.58H18.4378V36H19.5718V31.002ZM12.7095 34.1872C12.7095 33.7252 12.8775 33.1722 13.4305 33.1722C13.9835 33.1722 14.1585 33.7252 14.1585 34.1872C14.1585 34.6492 13.9835 35.1952 13.4305 35.1952C12.8775 35.1952 12.7095 34.6492 12.7095 34.1872ZM11.5195 34.1872C11.5195 35.2792 12.3035 36.1052 13.4305 36.1052C14.5575 36.1052 15.3485 35.2792 15.3485 34.1872C15.3485 33.0952 14.5575 32.2622 13.4305 32.2622C12.3035 32.2622 11.5195 33.0952 11.5195 34.1872ZM21.839 32.3671H22.574V33.1371H21.839V34.7891C21.839 35.0761 22.007 35.1391 22.266 35.1391C22.3142 35.1391 22.364 35.1357 22.4147 35.1323C22.4672 35.1287 22.5206 35.1251 22.574 35.1251V36.0001C22.481 36.0031 22.388 36.0099 22.295 36.0168C22.171 36.0259 22.047 36.0351 21.923 36.0351C20.908 36.0351 20.649 35.7411 20.649 34.7541V33.1371H20.047V32.3671H20.649V31.2681H21.839V32.3671Z",fill:"white",fillRule:"evenodd"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#D65537"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M7 12C7 10.8954 7.89543 10 9 10H19C20.1046 10 21 10.8954 21 12V18C21 19.1046 20.1046 20 19 20H9C7.89543 20 7 19.1046 7 18V12ZM9 12H19V18H9V12ZM25 22C25 23.1046 24.1046 24 23 24H11V22H23V15H25V22Z",fill:"#D65537",fillRule:"evenodd"})),FileWordIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-word",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#4285F4"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M8 13H23V15H8V13Z",fill:"#4285F4",f
12illRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 17H18V19H8V17Z",fill:"#4285F4",fillRule:"evenodd"}),r.createElement("path",{clipRule:"evenodd",d:"M8 21H23V23H8V21Z",fill:"#4285F4",fillRule:"evenodd"}))}),...h({FileAltIcon:s,FileAudioIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-audio",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{clipRule:"evenodd",d:"M17.7168 33.172C18.2348 33.172 18.4238 33.655 18.4238 34.18C18.4238 34.642 18.2978 35.195 17.7168 35.195C17.1708 35.195 16.9888 34.642 16.9888 34.145C16.9888 33.683 17.1708 33.172 17.7168 33.172ZM19.5718 31.002H18.3818V32.7589H18.3678C18.1228 32.43 17.7798 32.262 17.3318 32.262C16.3028 32.262 15.7988 33.158 15.7988 34.103C15.7988 35.125 16.2818 36.1049 17.4228 36.1049C17.8428 36.1049 18.1928 35.923 18.4238 35.58H18.4378V36H19.5718V31.002ZM12.7095 34.1872C12.7095 33.7252 12.8775 33.1722 13.4305 33.1722C13.9835 33.1722 14.1585 33.7252 14.1585 34.1872C14.1585 34.6492 13.9835 35.1952 13.4305 35.1952C12.8775 35.1952 12.7095 34.6492 12.7095 34.1872ZM11.5195 34.1872C11.5195 35.2792 12.3035 36.1052 13.4305 36.1052C14.5575 36.1052 15.3485 35.2792 15.3485 34.1872C15.3485 33.0952 14.5575 32.2622 13.4305 32.2622C12.3035 32.2622 11.5195 33.0952 11.5195 34.1872ZM21.839 32.3671H22.574V33.1371H21.839V34.7891C21.839 35.0761 22.007 35.1391 22.266 35.1391C22.3142 35.1391 22.364 35.1357 22.4147 35.1323C22.4672 35.1287 22.5206 35.1251 22.574 35.1251V36.0001C22.481 36.0031 22.388 36.0099 22.295 36.0168C22.171 36.0259 22.047 36.0351 21.923 36.0351C20.908 36.0351 20.649 35.7411 20.649 34.7541V33.1371H20.047V32.3671H20.649V31.2681H21.839V32.3671Z",fill:"white",fillRule:"evenodd"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#2727B0"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{clipRule:"evenodd",d:"M8.87912 21.941H12.298L16.9521 24.7493C17.0307 24.8138 17.1293 24.849 17.2311 24.849C17.4738 24.8488 17.6705 24.6519 17.6703 24.4092V12.4399C17.6704 12.3381 17.6352 12.2396 17.5707 12.1609C17.4168 11.9732 17.1398 11.9457 16.9521 12.0996L12.298 14.908H8.87912C8.3936 14.908 8 15.3016 8 15.7871V21.0619C8 21.5474 8.3936 21.941 8.87912 21.941ZM12.9258 16.6664L15.9122 15.2224V21.6268L12.9258 20.1829H9.7583V16.6664H12.9258ZM19.8511 16.3517C19.474 16.4092 19.2397 16.6637 19.3283 16.9191L19.3262 16.92C19.5295 17.4995 19.6305 18.098 19.6284 18.6953C19.6305 19.2975 19.5237 19.9014 19.3196 20.4909C19.229 20.7462 19.4682 20.9996 19.8474 21.06C19.9008 21.0683 19.9542 21.072 20.0076 21.072C20.3259 21.072 20.6156 20.9234 20.6922 20.7057C20.9194 20.0451 21.0337 19.37 21.0374 18.6953C21.0349 18.0251 20.9211 17.3575 20.6955 16.7035C20.6053 16.4477 20.229 16.2908 19.8511 16.3517ZM22.1605 14.6028C22.5252 14.5163 22.9259 14.6454 23.055 14.8938C23.6891 16.1157 24 17.4042 24 18.6923C24.0004 19.9895 23.6796 21.2839 23.0521 22.5153C22.9503 22.7123 22.6763 22.8344 22.3828 22.8344C22.3071 22.8344 22.2301 22.8261 22.1543 22.8092C21.7863 22.7251 21.5914 22.4536 21.7185 22.2077C22.2988 21.0761 22.5922 19.8836 22.5931 18.6919C22.5931 17.5056 22.3054 16.3222 21.7276 15.2025C21.6001 14.9563 21.795 14.686 22.1605 14.6028Z",fill:"#2727B0",fillRule:"evenodd"})),FileImageIcon:l,FileVideoIcon:({className:e="",size:t=o,...n})=>r.createElement("svg",{className:(0,a.Z)("rfu-file-video",e),fill:"none",height:t,viewBox:"0 0 34 40",width:t,xmlns:"http://www.w3.org/2000/svg",...n},r.createElement("path",{clipRule:"evenodd",d:"M17.7168 33.172C18.2348 33.172 18.4238 33.655 18.4238 34.18C18.4238 34.642 18.2978 35.195 17.7168 35.195C17.1708 35.195 16.9888 34.642 16.9888 34.145C16.9888 33.683 17.1708 33.172 17.7168 33.172ZM19.5718 31.002H18.3818V32.7589H18.3678C18.1228 32.43 17.7798 32.262 17.3318 32.262C16.3028 32.262 15.7988 33.158 15.7988 34.103C15.7988 35.125 16.2818 36.1049 17.4228 36.1049C17.8428 36.1049 18.1928 35.923 18.4238 35.58H18.4378V36H19.5718V31.002ZM12.7095 34.1872C12.7095 33.7252 12.8775 33.1722 13.4305 33.1722C13.9835 33.1722 14.1585 33.7252 14.1585 34.1872C14.1585 34.6492 13.9835 35.1952 13.4305 35.1952C12.8775 35.1952 12.7095 34.6492 12.7095 34.1872ZM11.5195 34.1872C11.5195 35.2792 12.3035 36.1052 13.4305 36.1052C14.5575 36.1052 15.3485 35.2792 15.3485 34.1872C15.3485 33.0952 14.5575 32.2622 13.4305 32.2622C12.3035 32.2622 11.5195 33.0952 11.5195 34.1872ZM21.839 32.3671H22.574V33.1371H21.839V34.7891C21.839 35.0761 22.007 35.1391 22.266 35.1391C22.3142 35.1391 22.364 35.1357 22.4147 35.1323C22.4672 35.1287 22.5206 35.1251 22.574 35.1251V36.0001C22.481 36.0031 22.388 36.0099 22.295 36.0168C22.171 36.0259 22.047 36.0351 21.923 36.0351C20.908 36.0351 20.649 35.7411 20.649 34.7541V33.1371H20.047V32.3671H20.649V31.2681H21.839V32.3671Z",fill:"white",fillRule:"evenodd"}),r.createElement("path",{d:"M0 28H34V37C34 38.6569 32.6569 40 31 40H3C1.34315 40 0 38.6569 0 37V28Z",fill:"#9D27B0"}),r.createElement("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H23L34 11V28H0V3Z",fill:"#F5F5F5"}),r.createElement("path",{d:"M34 11L26 11C24.3431 11 23 9.65685 23 8V0L34 11Z",fill:"#DBDBDB"}),r.createElement("path",{d:"M9 17H25V24H9V17ZM27 14C27 12.8954 26.1046 12 25 12H22L24 15H21L19 12H17L19 15H16L14 12H12L14 15H11L9 12C7.9 12 7.01 12.9 7.01 14L7 24C7 25.1 7.9 26 9 26H25C26.1 26 27 25.1 27 24V14Z",fill:"#9D27B0"}))}),fallback:s}},y=e=>{let{big:t=!1,mimeType:n,size:a=50,sizeSmall:o=20,type:i="standard",...s}=e,l=function(e="standard",t){let n=g[e]||g.standard;if(!t)return n.fallback;let r=n[t];return r||(t.startsWith("audio/")?n["audio/"]:t.startsWith("video/")?n["video/"]:t.startsWith("image/")?n["image/"]:t.startsWith("text/")?n["text/"]:n.fallback)}(i,n);return r.createElement(l,{...s,size:t?a:o})}},6918:function(e,t,n){"use strict";n.d(t,{HP:function(){return a},We:function(){return d},Y_:function(){return p},Yu:function(){return o},au:function(){return u},jM:function(){return c},pV:function(){return m},rz:function(){return l}});var r=n(67294);let a=(e=!1,t)=>(0,r.useCallback)(({currentTarget:n})=>{let{files:r}=n;if(r){try{t?.(Array.from(r))}catch(e){console.error(e)}e&&(n.value="")}},[t,e]);async function o(e){if(!e||!e.length)return[];let t=function(e){let t=[];for(let n of e)if("file"===n.kind){let e=n.getAsFile();e&&t.push(e)}return t}(e);if(t.length)return t;let n=[];for(let r of e)"text/html"===r.type&&n.push(new Promise(e=>{r.getAsString(async n=>{let r=s(n).map(e=>i(t,e));await Promise.all(r),e()})}));return await Promise.all(n),t}async function i(e,t){let n;try{n=await fetch(t)}catch(e){return}let r=n.headers.get("Content-type")||"application/octet-stream",a=await n.arrayBuffer(),o=new Blob([a],{type:r});e.push(o)}let s=e=>{let t=new DOMParser().parseFromString(e,"text/html").getElementsByTagName("img");return Array.from(t,e=>e.src).filter(e=>e)},l=e=>e instanceof Blob&&!(e instanceof File),u=({blobsArray:e,fileName:t,mimeType:n})=>{let r=new Blob(e,{type:n});return new File([r],t,{type:r.type})},c=e=>{let t=e.match(/\/([^/;]+)/);return t&&t[1]},d=e=>{let t=e.match(/^(audio|video)\/.*$/);return t&&t[1]},m=e=>new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=()=>{n(r.error)},r.readAsArrayBuffer(e)}),p=e=>`file_${new Date().toISOString()}.${c(e)}`},75813:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(67294),a=n(17967),o=n(21681);let i=r.memo(e=>{let{children:t,className:n,download:i,href:s,rel:l,target:u}=e,{t:c}=(0,o.Ht)("SafeAnchor");if(!s)return null;let d=(0,a.Nm)(s);return r.createElement("a",{"aria-label":c("aria/Attachment"),className:n,download:i,href:d,rel:l,target:u},t)})},36791:function(e,t,n){"use strict";n.d(t,{io:function(){return o}});var r=n(67294);let a=(0,r.createContext)(void 0),o=()=>{let e=(0,r.useContext)(a);return e??void 0}},19382:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(67294),a=n(40867);let o=({children:e,offset:t=[0,10],placement:n="top",referenceElement:o,visible:i=!1})=>{let[s,l]=(0,r.useState)(null),{attributes:u,styles:c}=(0,a.D)(o,s,{modifiers:[{name:"offset",options:{offset:t}}],placement:n});return i?r.createElement("div",{className:"str-chat__tooltip",ref:l,style:c.popper,...u.popper},e):null}},51385:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(67294);let a=({onMouseEnter:e,onMouseLeave:t}={})=>{let[n,a]=(0,r.useState)(!1),o=(0,r.useCallback)(t=>{a(!0),e?.(t)},[e]),i=(0,r.useCallback)(e=>{a(!1),t?.(e)},[t]);return{handleEnter:o,handleLeave:i,tooltipVisible:n}}},9509:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});
12var r=n(67294),a=n(70149),o=n(7076);let i=r.memo(({Avatar:e=o.q,entity:t})=>{let n=!!Object.keys(t).length,i=t?.itemNameParts;return r.createElement("div",{className:"str-chat__user-item"},r.createElement(e,{className:"str-chat__avatar--autocomplete-item",image:t.image,name:t.name||t.id}),r.createElement("span",{className:"str-chat__user-item--name","data-testid":"user-item-name"},n?i.parts.map((e,t)=>{let n=e.toLowerCase()===i.match.toLowerCase();return r.createElement("span",{className:(0,a.Z)({"str-chat__emoji-item--highlight":n,"str-chat__emoji-item--part":!n}),key:`part-${t}`},e)}):null),r.createElement("div",{className:"str-chat__user-item-at"},"@"))})},45853:function(e,t,n){"use strict";n.d(t,{Do:function(){return o},Tt:function(){return u},ZN:function(){return i},cE:function(){return a},eW:function(){return r},su:function(){return s},yD:function(){return l}});let r=25,a=100,o=100,i=50,s=250,l=104857600,u=500},96649:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});let r={date:"message.date",intro:"channel.intro"}},37495:function(e,t,n){"use strict";n.d(t,{PM:function(){return o},uz:function(){return i}});var r=n(67294);let a=r.createContext(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||(console.warn(`The useChannelActionContext hook was called outside of the ChannelActionContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ${e} component.`),{})}},87029:function(e,t,n){"use strict";n.d(t,{JN:function(){return i},gZ:function(){return o}});var r=n(67294);let a=r.createContext(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||(console.warn(`The useChannelStateContext hook was called outside of the ChannelStateContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ${e} component.`),{})}},83156:function(e,t,n){"use strict";n.d(t,{aM:function(){return o},mx:function(){return i}});var r=n(67294);let a=r.createContext(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||(console.warn(`The useChatContext hook was called outside of the ChatContext provider. Make sure this hook is called within a child of the Chat component. The errored call is located in the ${e} component.`),{})}},40239:function(e,t,n){"use strict";n.d(t,{sM:function(){return a},yM:function(){return o}});var r=n(67294);let a=r.createContext({}),o=e=>(0,r.useContext)(a)},7706:function(e,t,n){"use strict";n.d(t,{r:function(){return l},_:function(){return u}});var r=n(67294),a=n(75637);class o{constructor({id:e}={}){this.state=new a.gj({dialogsById:{}}),this.id=e??new Date().getTime().toString()}get openDialogCount(){return Object.values(this.state.getLatestValue().dialogsById).reduce((e,t)=>t.isOpen?e+1:e,0)}getOrCreate({id:e}){let t=this.state.getLatestValue().dialogsById[e];return t||(t={close:()=>{this.close(e)},id:e,isOpen:!1,open:()=>{this.open({id:e})},removalTimeout:void 0,remove:()=>{this.remove(e)},toggle:(t=!1)=>{this.toggle({id:e},t)}},this.state.next(n=>({...n,dialogsById:{...n.dialogsById,[e]:t}}))),t.removalTimeout&&(clearTimeout(t.removalTimeout),this.state.next(n=>({...n,dialogsById:{...n.dialogsById,[e]:{...t,removalTimeout:void 0}}}))),t}open(e,t){let n=this.getOrCreate(e);n.isOpen||(t&&this.closeAll(),this.state.next(e=>({...e,dialogsById:{...e.dialogsById,[n.id]:{...n,isOpen:!0}}})))}close(e){let t=this.state.getLatestValue().dialogsById[e];t?.isOpen&&this.state.next(e=>({...e,dialogsById:{...e.dialogsById,[t.id]:{...t,isOpen:!1}}}))}closeAll(){Object.values(this.state.getLatestValue().dialogsById).forEach(e=>e.close())}toggle(e,t=!1){this.state.getLatestValue().dialogsById[e.id]?.isOpen?this.close(e.id):this.open(e,t)}remove(e){let t=this.state.getLatestValue(),n=t.dialogsById[e];n&&(n.removalTimeout&&clearTimeout(n.removalTimeout),this.state.next(t=>{let n={...t.dialogsById};return delete n[e],{...t,dialogsById:n}}))}markForRemoval(e){let t=this.state.getLatestValue().dialogsById[e];t&&this.state.next(n=>({...n,dialogsById:{...n.dialogsById,[e]:{...t,removalTimeout:setTimeout(()=>{this.remove(e)},16)}}}))}}var i=n(60329);let s=r.createContext(void 0),l=({children:e,id:t})=>{let[n]=(0,r.useState)(()=>new o({id:t}));return r.createElement(s.Provider,{value:{dialogManager:n}},e,r.createElement(i.t,null))},u=()=>{let e=(0,r.useContext)(s);return e}},12239:function(e,t,n){"use strict";n.d(t,{fr:function(){return i},x1:function(){return o}});var r=n(67294);let a=r.createContext(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||{}}},21707:function(e,t,n){"use strict";n.d(t,{G6:function(){return o},Nc:function(){return i}});var r=n(67294);let a=(0,r.createContext)(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||(console.warn(`The useMessageInputContext hook was called outside of the MessageInputContext provider. Make sure this hook is called within the MessageInput's UI component. The errored call is located in the ${e} component.`),{})}},21681:function(e,t,n){"use strict";n.d(t,{$j:function(){return m},Ht:function(){return p}});var r=n(67294),a=n(27484),o=n.n(a),i=n(94712),s=n.n(i),l=n(56176),u=n.n(l),c=n(66722);o().extend(s()),o().extend(u());let d=r.createContext({t:c.DE,tDateTimeParser:c.u9,userLanguage:"en"}),m=({children:e,value:t})=>r.createElement(d.Provider,{value:t},e),p=e=>{let t=(0,r.useContext)(d);return t||(console.warn(`The useTranslationContext hook was called outside of the TranslationContext provider. Make sure this hook is called within a child of the Chat component. The errored call is located in the ${e} component.`),{})}},61687:function(e,t,n){"use strict";n.d(t,{f5:function(){return i},ln:function(){return o}});var r=n(67294);let a=r.createContext(void 0),o=({children:e,value:t})=>r.createElement(a.Provider,{value:t},e),i=e=>{let t=(0,r.useContext)(a);return t||(console.warn(`The useTypingContext hook was called outside of the TypingContext provider. Make sure this hook is called within a child of the Channel component. The errored call is located in the ${e} component.`),{})}},66722:function(e,t,n){"use strict";n.d(t,{DE:function(){return c},Eb:function(){return m},J_:function(){return s},MD:function(){return i},fh:function(){return l},kd:function(){return u},u9:function(){return d}});var r=n(27484),a=n.n(r);let o=e=>"string"==typeof e||"number"==typeof e,i=e=>!!e?.isSame,s=e=>!!e?.getMonth;function l({calendar:e,calendarFormats:t,format:n,formatDate:r,messageCreatedAt:a,t:l,tDateTimeParser:u,timestampTranslationKey:c}){if(!a||"string"==typeof a&&!Date.parse(a))return console.warn("MessageTimestamp was called without a message, or message has invali
12d created_at date."),null;if("function"==typeof r)return r(new Date(a));if(l&&c){let r={};null!=e&&(r.calendar=e),null!=t&&(r.calendarFormats=t),null!=n&&(r.format=n);let o=l(c,{...r,timestamp:new Date(a)}),i=c!==o;if(i)return o}if(!u)return console.warn("MessageTimestamp was called but there is no datetime parsing function available"),null;let d=u(a);return i(d)?e&&d.calendar?d.calendar(void 0,t||void 0):d.format(n||void 0):s(d)?d.toDateString():o(d)?d:null}let u={timestampFormatter:e=>(t,n,{calendarFormats:r,...a})=>{let o;try{a.calendar?"string"==typeof r?o=JSON.parse(r):"object"==typeof r&&(o=r):o={}}catch(e){console.error("[TIMESTAMP FORMATTER]",e)}let i=l({...a,calendarFormats:o,messageCreatedAt:t,tDateTimeParser:e.tDateTimeParser});return i&&"number"!=typeof i?i:JSON.stringify(t)}},c=e=>e,d=e=>a()(e),m=e=>["de","en","es","fr","hi","it","ja","ko","nl","pt","ru","tr"].some(t=>e===t)},59852:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(67294),a=n(61688);let o=()=>{};function i(e,t){let n=(0,r.useCallback)(n=>{let r=e?.subscribeWithSelector(t,n);return r??o},[e,t]),i=(0,r.useMemo)(()=>{let n;return()=>{let r=e?.getLatestValue();if(!r)return;if(n&&n[0]===r)return n[1];let a=t(r);if(n){let e=!0;for(let t in n[1])if(n[1][t]!==a[t]){e=!1;break}if(e)return n[1]}return(n=[r,a])[1]}},[e,t]),s=(0,a.useSyncExternalStore)(n,i);return s}},91677:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});let r=(e,t)=>{e.forEach(e=>{let[[n,r],[a,o]]=[Object.entries(e[0])[0],Object.entries(e[1])[0]];(void 0!==r&&void 0===o||void 0!==r&&void 0!==o)&&console.warn(`[Deprecation notice (${t})]: prefer using prop ${a} instead of ${n}`)})}},88041:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});let r={},a=async({channel:e,client:t,id:n,members:a,options:i,type:s})=>{if(!e&&!s)throw Error("Channel or channel type have to be provided to query a channel.");let l=e||t.channel(s,n,{members:a}),u=l?.id?l.cid:a&&a.length?o(l.type,a):void 0;if(!u)throw Error("Channel ID or channel members array have to be provided to query a channel.");let c=r[u];if(c)await c;else try{r[u]=l.watch(i),await r[u]}finally{delete r[u]}return l},o=(e,t)=>{if(!t)return;let n=[...t].sort().join(",");return`${e}:!members-${n}`}},20586:function(e,t,n){"use strict";n.d(t,{E:function(){return i},o:function(){return l}});var r=n(38554),a=n.n(r);let o=(e,t)=>t,i=(e,t)=>a()(e,t,o),s=(e,t)=>e??t,l=(e,t)=>a()(e,t,s)},37866:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function a(e,t){if(e.length!==t.length)return!1;for(var n,a,o=0;o<e.length;o++)if(!((n=e[o])===(a=t[o])||r(n)&&r(a)))return!1;return!0}t.default=function(e,t){void 0===t&&(t=a);var n,r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}},57555:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),i=(a=n(69590))&&a.__esModule?a:{default:a},s=n(86701),l=n(4450);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(u,e);var t,n,a,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=f(u);if(t){var o=f(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:p(this)});function u(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,u);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(p(e=s.call.apply(s,[this].concat(n))),"mounted",!1),h(p(e),"isReady",!1),h(p(e),"isPlaying",!1),h(p(e),"isLoading",!0),h(p(e),"loadOnReady",null),h(p(e),"startOnPlay",!0),h(p(e),"seekOnPlay",null),h(p(e),"onDurationCalled",!1),h(p(e),"handlePlayerMount",function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())}),h(p(e),"getInternalPlayer",function(t){return e.player?e.player[t]:null}),h(p(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var a={playedSeconds:t,played:t/r};null!==n&&(a.loadedSeconds=n,a.loaded=n/r),(a.playedSeconds!==e.prevPlayed||a.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(a),e.prevPlayed=a.playedSeconds,e.prevLoaded=a.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),h(p(e),"handleReady",function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,a=t.volume,o=t.muted;n(),o||null===a||e.player.setVolume(a),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),h(p(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,a=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==a&&e.player.setPlaybackRate(a),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),h(p(e),"handlePause",function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),h(p(e),"handleEnded",function(){var t=e.props,n=t.activePlayer,r=t.loop,a=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,a())}),h(p(e),"handleError",function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),h(p(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),h(p(e),"handleLoaded",function(){e.isLoading=!1}),e}return n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
12)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,a=n.playing,o=n.volume,s=n.muted,u=n.playbackRate,c=n.pip,d=n.loop,m=n.activePlayer,p=n.disableDeferredLoading;if(!(0,i.default)(e.url,r)){if(this.isLoading&&!m.forceLoad&&!p&&!(0,l.isMediaStream)(r)){console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!a||this.isPlaying||this.player.play(),e.playing&&!a&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==o&&null!==o&&this.player.setVolume(o),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==o&&setTimeout(function(){return t.player.setVolume(o)}))),e.playbackRate!==u&&this.player.setPlaybackRate&&this.player.setPlaybackRate(u),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(function(){n.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();if(!r){console.warn("ReactPlayer: could not seek using fraction â\xa0duration not yet available");return}this.player.seekTo(r*e);return}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],d(u.prototype,n),a&&d(u,a),u}(o.Component);t.default=g,h(g,"displayName","Player"),h(g,"propTypes",s.propTypes),h(g,"defaultProps",s.defaultProps)},65882:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(67294));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p="64px",f={},h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(h,e);var t,n,o,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=d(h);if(t){var o=d(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(c(e=i.call.apply(i,[this].concat(n))),"mounted",!1),m(c(e),"state",{image:null}),m(c(e),"handleKeyPress",function(t){("Enter"===t.key||" "===t.key)&&e.props.onClick()}),e}return n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;
12(e.url!==n||e.light!==r)&&this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,a=e.oEmbedUrl;if("string"==typeof r){this.setState({image:r});return}if(f[n]){this.setState({image:f[n]});return}return this.setState({image:null}),window.fetch(a.replace("{url}",n)).then(function(e){return e.json()}).then(function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480");t.setState({image:r}),f[n]=r}})}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.playIcon,r=e.previewTabIndex,o=this.state.image,i={display:"flex",alignItems:"center",justifyContent:"center"},l={preview:s({width:"100%",height:"100%",backgroundImage:o?"url(".concat(o,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},i),shadow:s({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:p,width:p,height:p},i),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},u=a.default.createElement("div",{style:l.shadow,className:"react-player__shadow"},a.default.createElement("div",{style:l.playIcon,className:"react-player__play-icon"}));return a.default.createElement("div",{style:l.preview,className:"react-player__preview",onClick:t,tabIndex:r,onKeyPress:this.handleKeyPress},n||u)}}],l(h.prototype,n),o&&l(h,o),h}(a.Component);t.default=h},13588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=C(n(67294)),a=c(n(9996)),o=c(n(37866)),i=c(n(69590)),s=n(86701),l=n(4450),u=c(n(57555));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
12function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function C(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var w=(0,r.lazy)(function(){return Promise.resolve().then(function(){return C(n(65882))})}),x="undefined"!=typeof window&&window.document,k=void 0!==n.g&&n.g.window&&n.g.window.document,S=Object.keys(s.propTypes),M=x||k?r.Suspense:function(){return null},T=[];t.createReactPlayer=function(e,t){var n,c;return c=n=function(n){(function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)})(C,n);var c,m,g,E=(c=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t,n=D(C);if(c){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return(e=t)&&("object"===d(e)||"function"==typeof e)?e:b(this)});function C(){var n;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,C);for(var i=arguments.length,c=Array(i),d=0;d<i;d++)c[d]=arguments[d];return _(b(n=E.call.apply(E,[this].concat(c))),"state",{showPreview:!!n.props.light}),_(b(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),_(b(n),"handleClickPreview",function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)}),_(b(n),"showPreview",function(){n.setState({showPreview:!0})}),_(b(n),"getDuration",function(){return n.player?n.player.getDuration():null}),_(b(n),"getCurrentTime",function(){return n.player?n.player.getCurrentTime():null}),_(b(n),"getSecondsLoaded",function(){return n.player?n.player.getSecondsLoaded():null}),_(b(n),"getInternalPlayer",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null}),_(b(n),"seekTo",function(e,t){if(!n.player)return null;n.player.seekTo(e,t)}),_(b(n),"handleReady",function(){n.props.onReady(b(n))}),_(b(n),"getActivePlayer",(0,o.default)(function(n){for(var r=0,a=[].concat(T,h(e));r<a.length;r++){var o=a[r];if(o.canPlay(n))return o}return t||null})),_(b(n),"getConfig",(0,o.default)(function(e,t){var r=n.props.config;return a.default.all([s.defaultProps.config,s.defaultProps.config[t]||{},r,r[t]||{}])})),_(b(n),"getAttributes",(0,o.default)(function(e){return(0,l.omit)(n.props,S)})),_(b(n),"renderActivePlayer",function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var a=n.getConfig(e,t.key);return r.default.createElement(u.default,f({},n.props,{key:t.key,ref:n.references.player,config:a,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))}),n}return m=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,i.default)(this.props,e)||!(0,i.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,a=t.playIcon,o=t.previewTabIndex,i=t.oEmbedUrl;return r.default.createElement(w,{url:e,light:n,playIcon:a,previewTabIndex:o,oEmbedUrl:i,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,a=e.width,o=e.height,i=e.fallback,s=e.wrapper,l=this.state.showPreview,u=this.getAttributes(t);return r.default.createElement(s,f({ref:this.references.wrapper,style:p(p({},n),{},{width:a,height:o})},u),r.default.createElement(M,{fallback:i},l?this.renderPreview(t):this.renderActivePlayer(t)))}}],y(C.prototype,m),g&&y(C,g),C}
12(r.Component),_(n,"displayName","ReactPlayer"),_(n,"propTypes",s.propTypes),_(n,"defaultProps",s.defaultProps),_(n,"addCustomPlayer",function(e){T.push(e)}),_(n,"removeCustomPlayers",function(){T.length=0}),_(n,"canPlay",function(t){for(var n=0,r=[].concat(T,h(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1}),_(n,"canEnablePIP",function(t){for(var n=0,r=[].concat(T,h(e));n<r.length;n++){var a=r[n];if(a.canEnablePIP&&a.canEnablePIP(t))return!0}return!1}),c}},66614:function(e,t,n){"use strict";t.Z=void 0;var r,a=(r=n(89971))&&r.__esModule?r:{default:r},o=n(13588),i=a.default[a.default.length-1],s=(0,o.createReactPlayer)(a.default,i);t.Z=s},47893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(4450);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var o=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=o;var i=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=i;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var l=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=l;var u=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=u;var c=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=c;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var m=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=m;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=p;var f=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=f;var h=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=h;var g=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=g;var y=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=y;var v=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=v;var b=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=b;var D=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=D;var _=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=_;var E=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=E,t.canPlay={youtube:function(e){return e instanceof Array?e.every(function(e){return o.test(e)}):o.test(e)},soundcloud:function(e){return i.test(e)&&!v.test(e)},vimeo:function(e){return s.test(e)&&!b.test(e)&&!D.test(e)},facebook:function(e){return l.test(e)||u.test(e)},streamable:function(e){return c.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return m.test(e)||p.test(e)},dailymotion:function(e){return f.test(e)},mixcloud:function(e){return h.test(e)},vidyard:function(e){return g.test(e)},kaltura:function(e){return y.test(e)},file:function e(t){if(t instanceof Array){var n,o=function(e,t){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}(e))){o&&(e=o);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i,s=!0,l=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){l=!0,i=e}
12,f:function(){try{s||null==o.return||o.return()}finally{if(l)throw i}}}}(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("string"==typeof i&&e(i)||e(i.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!!((0,r.isMediaStream)(t)||(0,r.isBlobUrl)(t))||v.test(t)||b.test(t)||D.test(t)||_.test(t)||E.test(t)}}},49523:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,s,h=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=p(g);if(t){var o=p(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:m(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(m(e=h.call.apply(h,[this].concat(n))),"callPlayer",o.callPlayer),f(m(e),"onDurationChange",function(){var t=e.getDuration();e.props.onDuration(t)}),f(m(e),"mute",function(){e.callPlayer("setMuted",!0)}),f(m(e),"unmute",function(){e.callPlayer("setMuted",!1)}),f(m(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t,n=this,r=this.props,a=r.controls,s=r.config,c=r.onError,d=r.playing,m=(function(e){if(Array.isArray(e))return e}(t=e.match(i.MATCH_URL_DAILYMOTION))||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}(t,2)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}
12(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];if(this.player){this.player.load(m,{start:(0,o.parseStartTime)(e),autoplay:d});return}(0,o.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",function(e){return e.player}).then(function(t){if(n.container){var r=t.player;n.player=new r(n.container,{width:"100%",height:"100%",video:m,params:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({controls:a,autoplay:n.props.playing,mute:n.props.muted,start:(0,o.parseStartTime)(e),origin:window.location.origin},s.params),events:{apiready:n.props.onReady,seeked:function(){return n.props.onSeek(n.player.currentTime)},video_end:n.props.onEnded,durationchange:n.onDurationChange,pause:n.props.onPause,playing:n.props.onPlay,waiting:n.props.onBuffer,error:function(e){return c(e)}}})}},c)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var e=this.props.display;return a.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},a.default.createElement("div",{ref:this.ref}))}}],c(g.prototype,n),s&&c(g,s),g}(a.Component);t.default=h,f(h,"displayName","DailyMotion"),f(h,"canPlay",i.canPlay.dailymotion),f(h,"loopOnEnded",!0)},44613:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f="https://connect.facebook.net/en_US/sdk.js",h="fbAsyncInit",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(g,e);var t,n,i,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(g);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function g(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,g);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("facebook-player-").concat((0,o.randomString)())),p(d(e),"mute",function(){e.callPlayer("mute")}),p(d(e),"unmute",function(){e.callPlayer("unmute")}
12),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;if(t){(0,o.getSDK)(f,"FB",h).then(function(e){return e.XFBML.parse()});return}(0,o.getSDK)(f,"FB",h).then(function(e){e.init({appId:n.props.config.appId,xfbml:!0,version:n.props.config.version}),e.Event.subscribe("xfbml.render",function(e){n.props.onLoaded()}),e.Event.subscribe("xfbml.ready",function(e){"video"===e.type&&e.id===n.playerID&&(n.player=e.instance,n.player.subscribe("startedPlaying",n.props.onPlay),n.player.subscribe("paused",n.props.onPause),n.player.subscribe("finishedPlaying",n.props.onEnded),n.player.subscribe("startedBuffering",n.props.onBuffer),n.player.subscribe("finishedBuffering",n.props.onBufferEnd),n.player.subscribe("error",n.props.onError),n.props.muted?n.callPlayer("mute"):n.callPlayer("unmute"),n.props.onReady(),document.getElementById(n.playerID).querySelector("iframe").style.visibility="visible")})})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.config.attributes;return a.default.createElement("div",l({style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},e))}}],u(g.prototype,n),i&&u(g,i),g}(a.Component);t.default=g,p(g,"displayName","Facebook"),p(g,"canPlay",i.canPlay.facebook),p(g,"loopOnEnded",!0)},20439:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f="undefined"!=typeof navigator,h=f&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,g=f&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||h)&&!window.MSStream,y=/www\.dropbox\.com\/.+/,v=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,n,s,f=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(h);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=f.call.apply(f,[this].concat(n))),"onReady",function(){var t;return(t=e.props).onReady.apply(t,arguments)}),p(d(e),"onPlay",function(){var t;return(t=e.props).onPlay.apply(t,arguments)}),p(d(e),"onBuffer",function(){var t;return(t=e.props).onBuffer.apply(t,arguments)}),p(d(e),"onBufferEnd",function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)}),p(d(e),"onPause",function(){var t;return(t=e.props).onPause.apply(t,arguments)}),p(d(e),"onEnded",function(){var t;return(t=e.props).onEnded.apply(t,arguments)}),p(d(e),"onError",function(){var t;return(t=e.props).onError.apply(t,arguments)}),p(d(e),"onPlayBackRateChange",function(t){return e.props.onPlaybackRateChange(t.target.playbackRate)}),p(d(e),"onEnablePIP",function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)}),p(d(e),"onDisablePIP",function(t){var n=e.props,r=n.onDisablePIP,a=n.playing;r(t),a&&e.play()}),p(d(e),"onPresentationModeChange",function(t){if(e.player&&(0,o.supportsWebKitPresentationMode)(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}}),p(d(e),"onSeek",function(t){e.props.onSeek(t.target.currentTime)}),p(d(e),"mute",function(){e.player.muted=!0}
12),p(d(e),"unmute",function(){e.player.muted=!1}),p(d(e),"renderSourceElement",function(e,t){return"string"==typeof e?a.default.createElement("source",{key:t,src:e}):a.default.createElement("source",l({key:t},e))}),p(d(e),"renderTrack",function(e,t){return a.default.createElement("track",l({key:t},e))}),p(d(e),"ref",function(t){e.player&&(e.prevPlayer=e.player),e.player=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),g&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,o.isMediaStream)(this.props.url)||(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props,n=t.url,r=t.playsinline;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(n)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(i.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}},{key:"shouldUseHLS",value:function(e){return!!this.props.config.forceHLS||!g&&(i.HLS_EXTENSIONS.test(e)||v.test(e))}},{key:"shouldUseDASH",value:function(e){return i.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(e){return i.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}},{key:"load",value:function(e){var t=this,n=this.props.config,r=n.hlsVersion,a=n.hlsOptions,i=n.dashVersion,s=n.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then(function(n){if(t.hls=new n(a),t.hls.on(n.Events.MANIFEST_PARSED,function(){t.props.onReady()}),t.hls.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.hls,n)}),v.test(e)){var r=e.match(v)[1];t.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",r))}else t.hls.loadSource(e);t.hls.attachMedia(t.player),t.props.onLoaded()}),this.shouldUseDASH(e)&&(0,o.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",i),"dashjs").then(function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),3>parseInt(i)?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()}),this.shouldUseFLV(e)&&(0,o.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",s),"flvjs").then(function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.on(n.Events.ERROR,function(e,r){t.props.onError(e,r,t.flv,n)}),t.flv.load(),t.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,o.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,o.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),r=this.shouldUseFLV(e);return e instanceof Array||(0,o.isMediaStream)(e)||t||n||r?void 0:y.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,o=e.controls,i=e.muted,s=e.config,u=e.width,c=e.height,d=this.shouldUseAudio(this.props);return a.default.createElement(d?"audio":"video",l({ref:this.ref,src:this.getSource(t),style:{width:"auto"===u?u:"100%",height:"auto"===c?c:"100%"},preload:"auto",autoPlay:n||void 0,controls:o,muted:i,loop:r},s.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.tracks.map(this.renderTrack))}}],u(h.prototype,n),s&&u(h,s),h}(a.Component);t.default=b,p(b,"displayName","FilePlayer"),p(b,"canPlay",i.canPlay.file)},15547:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(p,e);var t,n,i,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=d(p);if(t){var o=d(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function p(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,p);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(c(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),m(c(e),"duration",null),m(c(e),"currentTime",null),m(c(e),"secondsLoaded",null),m(c(e),"mute",function(){e.callPlayer("mute")}),m(c(e),"unmute",function(){e.callPlayer("unmute")}),m(c(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.on("ready",function(){setTimeout(function(){t.player.isReady=!0,t.player.setLoop(t.props.loop),t.props.muted&&t.player.mute(),t.addListeners(t.player,t.props),t.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function(e,t){var n=this;e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",function(e){var t=e.duration,r=e.seconds;n.duration=t,n.currentTime=r})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return a.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}],l(p.prototype,n),i&&l(p,i),p}(a.Component);t.default=p,m(p,"displayName","Kaltura"),m(p,"canPlay",i.canPlay.kaltura)},13474:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(h,e);var t,n,s,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=p(h);if(t){var o=p(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:m(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(m(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),f(m(e),"duration",null),f(m(e),"currentTime",null),f(m(e),"secondsLoaded",null),f(m(e),"mute",function(){}),f(m(e),"unmute",function(){}),f(m(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then(function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then(function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on(function(e,n){t.currentTime=e,t.duration=n}),t.props.onReady()})},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,r=t.match(i.MATCH_URL_MIXCLOUD)[1],s=(0,o.queryString)(u(u({},n.options),{},{feed:"/".concat(r,"/")}));return a.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(s),frameBorder:"0"})}}],c(h.prototype,n),s&&c(h,s),h}(a.Component);t.default=h,f(h,"displayName","Mixcloud"),f(h,"canPlay",i.canPlay.mixcloud),f(h,"loopOnEnded",!0)},60504:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(l,e);var t,n,i,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=p(l);if(t){var o=p(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:m(this)});function l(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return f(m(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),f(m(e),"duration",null),f(m(e),"currentTime",null),f(m(e),"fractionLoaded",null),f(m(e),"mute",function(){e.setVolume(0)}),f(m(e),"unmute",function(){null!==e.props.volume&&e.setVolume(e.props.volume)}),f(m(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;(0,o.getSDK)("https://w.soundcloud.com/player/api.js","SC").then(function(r){if(n.iframe){var a=r.Widget.Events,o=a.PLAY,i=a.PLAY_PROGRESS,s=a.PAUSE,l=a.FINISH,c=a.ERROR;t||(n.player=r.Widget(n.iframe),n.player.bind(o,n.props.onPlay),n.player.bind(s,function(){n.duration-n.currentTime<.05||n.props.onPause()}),n.player.bind(i,function(e){n.currentTime=e.currentPosition/1e3,n.fractionLoaded=e.loadedProgress}),n.player.bind(l,function(){return n.props.onEnded()}),n.player.bind(c,function(e){return n.props.onError(e)})),n.player.load(e,u(u({},n.props.config.options),{},{callback:function(){n.player.getDuration(function(e){n.duration=e/1e3,n.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",1e3*e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var e=this.props.display;return a.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:{width:"100%",height:"100%",display:e},frameBorder:0,allow:"autoplay"})}}],c(l.prototype,n),i&&c(l,i),l}(a.Component);t.default=h,f(h,"displayName","SoundCloud"),f(h,"canPlay",i.canPlay.soundcloud),f(h,"loopOnEnded",!0)},78350:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(f,e);var t,n,s,p=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=d(f);if(t){var o=d(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:c(this)});function f(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(c(e=p.call.apply(p,[this].concat(n))),"callPlayer",o.callPlayer),m(c(e),"duration",null),m(c(e),"currentTime",null),m(c(e),"secondsLoaded",null),m(c(e),"mute",function(){e.callPlayer("mute")}),m(c(e),"unmute",function(){e.callPlayer("unmute")}),m(c(e),"ref",function(t){e.iframe=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,o.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r}),t.player.on("buffered",function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)}),t.props.muted&&t.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(i.MATCH_URL_STREAMABLE)[1];return a.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;"})}}],l(f.prototype,n),s&&l(f,s),f}(a.Component);t.default=p,m(p,"displayName","Streamable"),m(p,"canPlay",i.canPlay.streamable)},16392:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,n,s,f=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(h);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=f.call.apply(f,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("twitch-player-").concat((0,o.randomString)())),p(d(e),"mute",function(){e.callPlayer("setMuted",!0)}),p(d(e),"unmute",function(){e.callPlayer("setMuted",!1)}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this,r=this.props,a=r.playsinline,s=r.onError,u=r.config,c=r.controls,d=i.MATCH_URL_TWITCH_CHANNEL.test(e),m=d?e.match(i.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(i.MATCH_URL_TWITCH_VIDEO)[1];if(t){d?this.player.setChannel(m):this.player.setVideo("v"+m);return}(0,o.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then(function(t){n.player=new t.Player(n.playerID,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({video:d?"":m,channel:d?m:"",height:"100%",width:"100%",playsinline:a,autoplay:n.props.playing,muted:n.props.muted,controls:!!d||c,time:(0,o.parseStartTime)(e)},u.options));var r=t.Player,i=r.READY,s=r.PLAYING,f=r.PAUSE,h=r.ENDED,g=r.ONLINE,y=r.OFFLINE,v=r.SEEK;n.player.addEventListener(i,n.props.onReady),n.player.addEventListener(s,n.props.onPlay),n.player.addEventListener(f,n.props.onPause),n.player.addEventListener(h,n.props.onEnded),n.player.addEventListener(v,n.props.onSeek),n.player.addEventListener(g,n.props.onLoaded),n.player.addEventListener(y,n.props.onLoaded)},s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return a.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}],u(h.prototype,n),s&&u(h,s),h}(a.Component);t.default=f,p(f,"displayName","Twitch"),p(f,"canPlay",i.canPlay.twitch),p(f,"loopOnEnded",!0)},52377:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,n,s,f=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(h);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=f.call.apply(f,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"mute",function(){e.setVolume(0)}),p(d(e),"unmute",function(){null!==e.props.volume&&e.setVolume(e.props.volume)}),p(d(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,a=n.config,s=n.onError,u=n.onDuration,c=e&&e.match(i.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,o.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then(function(e){t.container&&(e.api.addReadyListener(function(e,n){t.player||(t.player=n,t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seek",t.props.onSeek),t.player.on("playerComplete",t.props.onEnded))},c),e.api.renderPlayer(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({uuid:c,container:t.container,autoplay:r?1:0},a.options)),e.api.getPlayerMetadata(c).then(function(e){t.duration=e.length_in_seconds,u(e.length_in_seconds)}))},s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackSpeed",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.display;return a.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},a.default.createElement("div",{ref:this.ref}))}}],u(h.prototype,n),s&&u(h,s),h}(a.Component);t.default=f,p(f,"displayName","Vidyard"),p(f,"canPlay",i.canPlay.vidyard)},53669:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,s=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(f);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function f(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,f);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=s.call.apply(s,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"duration",null),p(d(e),"currentTime",null),p(d(e),"secondsLoaded",null),p(d(e),"mute",function(){e.setVolume(0)}),p(d(e),"unmute",function(){null!==e.props.volume&&e.setVolume(e.props.volume)}),p(d(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,o.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then(function(n){if(t.container){var r=t.props.config,a=r.playerOptions,o=r.title;t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},a)),t.player.ready().then(function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",o&&(e.title=o)}).catch(t.props.onError),t.player.on("loaded",function(){t.props.onReady(),t.refreshDuration()}),t.player.on("play",function(){t.props.onPlay(),t.refreshDuration()}),t.player.on("pause",t.props.onPause),t.player.on("seeked",function(e){return t.props.onSeek(e.seconds)}),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(e){var n=e.seconds;t.currentTime=n}),t.player.on("progress",function(e){var n=e.seconds;t.secondsLoaded=n}),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd)}},this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then(function(t){e.duration=t})}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}
12},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.display;return a.default.createElement("div",{key:this.props.url,ref:this.ref,style:{width:"100%",height:"100%",overflow:"hidden",display:e}})}}],u(f.prototype,n),i&&u(f,i),f}(a.Component);t.default=f,p(f,"displayName","Vimeo"),p(f,"canPlay",i.canPlay.vimeo),p(f,"forceLoad",!0)},68406:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,n,s,f=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=m(h);if(t){var o=m(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:d(this)});function h(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,h);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(d(e=f.call.apply(f,[this].concat(n))),"callPlayer",o.callPlayer),p(d(e),"playerID",e.props.config.playerId||"".concat("wistia-player-").concat((0,o.randomString)())),p(d(e),"onPlay",function(){var t;return(t=e.props).onPlay.apply(t,arguments)}),p(d(e),"onPause",function(){var t;return(t=e.props).onPause.apply(t,arguments)}),p(d(e),"onSeek",function(){var t;return(t=e.props).onSeek.apply(t,arguments)}),p(d(e),"onEnded",function(){var t;return(t=e.props).onEnded.apply(t,arguments)}),p(d(e),"onPlaybackRateChange",function(){var t;return(t=e.props).onPlaybackRateChange.apply(t,arguments)}),p(d(e),"mute",function(){e.callPlayer("mute")}),p(d(e),"unmute",function(){e.callPlayer("unmute")}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,a=n.muted,i=n.controls,s=n.onReady,u=n.config,c=n.onError;(0,o.getSDK)("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then(function(e){u.customControls&&u.customControls.forEac
12h(function(t){return e.defineControl(t)}),window._wq=window._wq||[],window._wq.push({id:t.playerID,options:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({autoPlay:r,silentAutoPlay:"allow",muted:a,controlsVisibleOnLoad:i,fullscreenButton:i,playbar:i,playbackRateControl:i,qualityControl:i,volumeControl:i,settingsControl:i,smallPlayButton:i},u.options),onReady:function(e){t.player=e,t.unbind(),t.player.bind("play",t.onPlay),t.player.bind("pause",t.onPause),t.player.bind("seek",t.onSeek),t.player.bind("end",t.onEnded),t.player.bind("playbackratechange",t.onPlaybackRateChange),s()}})},c)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(e){this.callPlayer("time",e)}},{key:"setVolume",value:function(e){this.callPlayer("volume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("playbackRate",e)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.url,t=e&&e.match(i.MATCH_URL_WISTIA)[1];return a.default.createElement("div",{id:this.playerID,key:t,className:"wistia_embed wistia_async_".concat(t),style:{width:"100%",height:"100%"}})}}],u(h.prototype,n),s&&u(h,s),h}(a.Component);t.default=f,p(f,"displayName","Wistia"),p(f,"canPlay",i.canPlay.wistia),p(f,"loopOnEnded",!0)},64313:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(67294)),o=n(4450),i=n(47893);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}}
12(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,v=/user\/([a-zA-Z0-9_-]+)\/?/,b=/youtube-nocookie\.com/,D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(d,e);var t,n,s,l=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n,a=h(d);if(t){var o=h(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(e=n)&&("object"===r(e)||"function"==typeof e)?e:f(this)});function d(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,d);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(f(e=l.call.apply(l,[this].concat(n))),"callPlayer",o.callPlayer),g(f(e),"parsePlaylist",function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:y.test(t)?{listType:"playlist",list:c(t.match(y),2)[1].replace(/^UC/,"UU")}:v.test(t)?{listType:"user_uploads",list:c(t.match(v),2)[1]}:{}}),g(f(e),"onStateChange",function(t){var n=t.data,r=e.props,a=r.onPlay,o=r.onPause,i=r.onBuffer,s=r.onBufferEnd,l=r.onEnded,u=r.onReady,c=r.loop,d=r.config,m=d.playerVars,p=d.onUnstarted,f=window.YT.PlayerState,h=f.UNSTARTED,g=f.PLAYING,y=f.PAUSED,v=f.BUFFERING,b=f.ENDED,D=f.CUED;if(n===h&&p(),n===g&&(a(),s()),n===y&&o(),n===v&&i(),n===b){var _=!!e.callPlayer("getPlaylist");c&&!_&&(m.start?e.seekTo(m.start):e.play()),l()}n===D&&u()}),g(f(e),"mute",function(){e.callPlayer("mute")}),g(f(e),"unmute",function(){e.callPlayer("unMute")}),g(f(e),"ref",function(t){e.container=t}),e}return n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||y.test(e)?null:e.match(i.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,r=this.props,a=r.playing,i=r.muted,s=r.playsinline,l=r.controls,c=r.loop,d=r.config,m=r.onError,p=d.playerVars,f=d.embedOptions,h=this.getID(e);if(t){if(y.test(e)||v.test(e)||e instanceof Array){this.player.loadPlaylist(this.parsePlaylist(e));return}this.player.cueVideoById({videoId:h,startSeconds:(0,o.parseStartTime)(e)||p.start,endSeconds:(0,o.parseEndTime)(e)||p.end});return}(0,o.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",function(e){return e.loaded}).then(function(t){n.container&&(n.player=new t.Player(n.container,u({width:"100%",height:"100%",videoId:h,playerVars:u(u({autoplay:a?1:0,mute:i?1:0,controls:l?1:0,start:(0,o.parseStartTime)(e),end:(0,o.parseEndTime)(e),origin:window.location.origin,playsinline:s?1:0},n.parsePlaylist(e)),p),events:{onReady:function(){c&&n.player.setLoop(!0),n.props.onReady()},onPlaybackRateChange:function(e){return n.props.onPlaybackRateChange(e.data)},onStateChange:n.onStateChange,onError:function(e){return m(e.data)}},host:b.test(e)?"https://www.youtube-nocookie.com":void 0},f)))},m),f.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayerâs callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e=this.props.display;return a.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},a.default.createElement("div",{ref:this.ref}))}}],m(d.prototype,n),s&&m(d,s),d}(a.Component);t.default=D,g(D,"displayName","YouTube"),g(D,"canPlay",i.canPlay.youtube)},89971:function(e,t,n){"use strict";
vendor: 4,344 bytes, line 12
12Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(67294),a=n(4450),o=n(47893);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var u=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(64313))})})},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(60504))})})},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(53669))})})},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(44613))})})},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(78350))})})},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(68406))})})},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(16392))})})},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(49523))})})},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(13474))})})},{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(52377))})})},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(15547))})})},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,a.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)(function(){return Promise.resolve().then(function(){return l(n(20439))})})}];t.default=u},86701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,a=(r=n(45697))&&r.__esModule?r:{default:r},o=a.default.string,i=a.default.bool,s=a.default.number,l=a.default.array,u=a.default.oneOfType,c=a.default.shape,d=a.default.object,m=a.default.func,p=a.default.node,f={url:u([o,l,d]),playing:i,loop:i,controls:i,volume:s,muted:i,playbackRate:s,width:u([o,s]),height:u([o,s]),style:d,progressInterval:s,playsinline:i,pip:i,stopOnUnmount:i,light:u([i,o]),playIcon:p,previewTabIndex:s,fallback:p,oEmbedUrl:o,wrapper:u([o,m,c({render:m.isRequired})]),config:c({soundcloud:c({options:d}),youtube:c({playerVars:d,embedOptions:d,onUnstarted:m}),facebook:c({appId:o,version:o,playerId:o,attributes:d}),dailymotion:c({params:d}),vimeo:c({playerOptions:d,title:o}),file:c({attributes:d,tracks:l,forceVideo:i,forceAudio:i,forceHLS:i,forceDASH:i,forceFLV:i,hlsOptions:d,hlsVersion:o,dashVersion:o,flvVersion:o}),wistia:c({options:d,playerId:o,customControls:l}),mixcloud:c({options:d}),twitch:c({options:d,playerId:o}),vidyard:c({options:d})}),onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m};t.propTypes=f;var h=function(){};t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{}
12,progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:h},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:h,onStart:h,onPlay:h,onPause:h,onBuffer:h,onBufferEnd:h,onEnded:h,onError:h,onDuration:h,onSeek:h,onPlaybackRateChange:h,onProgress:h,onClickPreview:h,onEnablePIP:h,onDisablePIP:h}},4450:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return d(e,s)},t.parseEndTime=function(e){return d(e,l)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,i=m(t);return i&&a(i)?Promise.resolve(i):new Promise(function(r,a){if(p[e]){p[e].push({resolve:r,reject:a});return}p[e]=[{resolve:r,reject:a}];var i=function(t){p[e].forEach(function(e){return e.resolve(t)})};if(n){var s=window[n];window[n]=function(){s&&s(),i(m(t))}}o(e,function(r){r?(p[e].forEach(function(e){return e.reject(r)}),p[e]=null):n||i(m(t))})})},t.getConfig=function(e,t){return(0,a.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];for(var o=(t=[]).concat.apply(t,r),i={},s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];-1===o.indexOf(u)&&(i[u]=e[u])}return i},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c â ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return(t=this.player)[e].apply(t,a)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var r=o(n(49090)),a=o(n(9996));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=/[?&#](?:start|t)=([0-9hms]+)/,l=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,c=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(u))return function(e){for(var t=0,n=u.exec(e);null!==n;){var r,a=function(e){if(Array.isArray(e))return e}(r=n)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}(r,3)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}
12(r,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=a[1],s=a[2];"h"===s&&(t+=3600*parseInt(o,10)),"m"===s&&(t+=60*parseInt(o,10)),"s"===s&&(t+=parseInt(o,10)),n=u.exec(e)}return t}(r);if(c.test(r))return parseInt(r)}}}function m(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var p={}},41476:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(5174)),a=n(26678);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,a.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},26678:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||a.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,l):e.replace(o,l)).replace(r,s))}},5174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,a.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,a=e.value;o?t(r,a,e):a&&((n=n||{})[r]=a)}}),n};var a=r(n(18139))},16496:function(e){!function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],n="undefined"!=typeof window,r=n&&null!=window.mozInnerScreenX;function a(e,a,o){if(!n)throw Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var i=o&&o.debug||!1;if(i){var s=document.querySelector("#input-textarea-caret-position-mirror-div");s&&s.parentNode.removeChild(s)}var l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);var u=l.style,c=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,d="INPUT"===e.nodeName;u.whiteSpace="pre-wrap",d||(u.wordWrap="break-word"),u.position="absolute",i||(u.visibility="hidden"),t.forEach(function(e){d&&"lineHeight"===e?u.lineHeight=c.height:u[e]=c[e]}),r?e.scrollHeight>parseInt(c.height)&&(u.overflowY="scroll"):u.overflow="hidden",l.textContent=e.value.substring(0,a),d&&(l.textContent=l.textContent.replace(/\s/g,"\xa0"));var m=document.createElement("span");m.textContent=e.value.substring(a)||".",l.appendChild(m);var p={top:m.offsetTop+parseInt(c.borderTopWidth),left:m.offsetLeft+parseInt(c.borderLeftWidth),height:parseInt(c.lineHeight)};return i?m.style.backgroundColor="#aaa":document.body.removeChild(l),p}void 0!==e.exports?e.exports=a:n&&(window.getCaretCoordinates=a)}()},73469:function(e,t,n){"use strict";var r=n(67294).useLayoutEffect;t.Z=r},13441:function(e,t,n){"use strict";n.d(t,{MT:function(){return $}});let r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},a=e=>{if(e&&"window"in e&&e.window===e)return e;let t=r(e);return t.defaultView||window};var o=n(67294);let i="undefined"!=typeof document?o.useLayoutEffect:()=>{},s=(e=document)=>e.activeElement;function l(e){return e.target}function u(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function c(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function d(e){let t=null;return()=>(null==t&&(t=e()),t)}let m=d(function(){return c(/^Mac/i)}),p=d(function(){return c(/^iPhone/i)}),f=d(function(){return c(/^iPad/i)||m()&&navigator.maxTouchPoints>1}),h=d(function(){return p()||f()});d(function(){return m()||h()}
12),d(function(){return u(/AppleWebKit/i)&&!g()});let g=d(function(){return u(/Chrome/i)}),y=d(function(){return u(/Android/i)});d(function(){return u(/Firefox/i)});let v=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],b=v.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";v.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let D=v.join(':not([hidden]):not([tabindex="-1"]),');function _(e){return e.matches(b)}function E(e){return e.matches(D)}let C=null,w=new Set,x=new Map,k=!1,S=!1;function M(e,t){for(let n of w)n(e,t)}function T(e){k=!0,e.metaKey||!m()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(C="keyboard",M("keyboard",e))}function O(e){C="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(k=!0,M("pointer",e))}function F(e){(0===e.mozInputSource&&e.isTrusted||(y()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(k=!0,C="virtual")}function P(e){e.target!==window&&e.target!==document&&e.isTrusted&&(k||S||(C="virtual",M("virtual",e)),k=!1,S=!1)}function A(){k=!1,S=!0}function L(e){if("undefined"==typeof window||x.get(a(e)))return;let t=a(e),n=r(e),o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){k=!0,o.apply(this,arguments)},n.addEventListener("keydown",T,!0),n.addEventListener("keyup",T,!0),n.addEventListener("click",F,!0),t.addEventListener("focus",P,!0),t.addEventListener("blur",A,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",O,!0),n.addEventListener("pointermove",O,!0),n.addEventListener("pointerup",O,!0)):(n.addEventListener("mousedown",O,!0),n.addEventListener("mousemove",O,!0),n.addEventListener("mouseup",O,!0)),t.addEventListener("beforeunload",()=>{N(e)},{once:!0}),x.set(t,{focus:o})}let N=(e,t)=>{let n=a(e),o=r(e);t&&o.removeEventListener("DOMContentLoaded",t),x.has(n)&&(n.HTMLElement.prototype.focus=x.get(n).focus,o.removeEventListener("keydown",T,!0),o.removeEventListener("keyup",T,!0),o.removeEventListener("click",F,!0),n.removeEventListener("focus",P,!0),n.removeEventListener("blur",A,!1),"undefined"!=typeof PointerEvent?(o.removeEventListener("pointerdown",O,!0),o.removeEventListener("pointermove",O,!0),o.removeEventListener("pointerup",O,!0)):(o.removeEventListener("mousedown",O,!0),o.removeEventListener("mousemove",O,!0),o.removeEventListener("mouseup",O,!0)),x.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=r(e);"loading"!==n.readyState?L(e):(t=()=>{L(e)},n.addEventListener("DOMContentLoaded",t)),()=>N(e,t)}();let R=new Map,j=new Set;function I(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=R.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),R.delete(n.target)),0===R.size)){for(let e of j)e();j.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=R.get(n.target);r||(r=new Set,R.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function B(e){if(function(){if(null==U){U=!1;try{document.createElement("div").focus({get preventScroll(){return U=!0,!0}})}catch{}}return U}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?I():document.addEventListener("DOMContentLoaded",I));let U=null,z=o.createContext(null),H="react-aria-focus-scope-restore",V=null;function $(e){var t,n,a;let u,c,{children:d,contain:m,restoreFocus:p,autoFocus:f}=e,h=(0,o.useRef)(null),v=(0,o.useRef)(null),b=(0,o.useRef)([]),{parentNode:D}=(0,o.useContext)(z)||{},_=(0,o.useMemo)(()=>new er({scopeRef:b}),[b]);i(()=>{let e=D||ea.root;if(ea.getTreeNode(e.scopeRef)&&V&&!K(V,e.scopeRef)){let t=ea.getTreeNode(V);t&&(e=t)}e.addChild(_),ea.addNode(_)},[_,D]),i(()=>{let e=ea.getTreeNode(b);e&&(e.contain=!!m)},[m]),i(()=>{var e;let t=null===(e=h.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==v.current;)n.push(t),t.addEventListener(H,r),t=t.nextSibling;return b.current=n,()=>{for(let e of n)e.removeEventListener(H,r)}},[d]),i(()=>
12{if(n||a)return;let e=t.current,o=r(e?e[0]:void 0),i=e=>{let n=l(e);W(n,t.current)?V=t:q(n)||(V=null)};return o.addEventListener("focusin",i,!1),null==e||e.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",i,!1))}},[t=b,n=p,a=m]),u=(0,o.useRef)(void 0),c=(0,o.useRef)(void 0),i(()=>{let e=b.current;if(!m){c.current&&(cancelAnimationFrame(c.current),c.current=void 0);return}let t=r(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!Y(b)||e.isComposing)return;let n=s(t),r=b.current;if(!r||!W(n,r))return;let a=et(Z(r),{tabbable:!0},r);if(!n)return;a.currentNode=n;let o=e.shiftKey?a.previousNode():a.nextNode();o||(a.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,o=e.shiftKey?a.previousNode():a.nextNode()),e.preventDefault(),o&&G(o,!0)},a=e=>{(!V||K(V,b))&&W(l(e),b.current)?(V=b,u.current=l(e)):Y(b)&&!q(l(e),b)?u.current?u.current.focus():V&&V.current&&Q(V.current):Y(b)&&(u.current=l(e))},o=e=>{c.current&&cancelAnimationFrame(c.current),c.current=requestAnimationFrame(()=>{let n=C,r=("virtual"===n||null===n)&&y()&&g(),a=s(t);if(!r&&a&&Y(b)&&!q(a,b)){V=b;let t=l(e);if(t&&t.isConnected){var o;u.current=t,null===(o=u.current)||void 0===o||o.focus()}else V.current&&Q(V.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",a,!1),null==e||e.forEach(e=>e.addEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",o,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",a,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",a,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",o,!1))}},[b,m]),i(()=>()=>{c.current&&cancelAnimationFrame(c.current)},[c]),function(e,t,n){let a=(0,o.useRef)("undefined"!=typeof document?s(r(e.current?e.current[0]:void 0)):null);i(()=>{let a=e.current,o=r(a?a[0]:void 0);if(!t||n)return;let i=()=>{(!V||K(V,e))&&W(s(o),e.current)&&(V=e)};return o.addEventListener("focusin",i,!1),null==a||a.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==a||a.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,n]),i(()=>{let a=r(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!Y(e)||t.isComposing)return;let n=a.activeElement;if(!q(n,e)||!X(e))return;let r=ea.getTreeNode(e);if(!r)return;let o=r.nodeToRestore,i=et(a.body,{tabbable:!0});i.currentNode=n;let s=t.shiftKey?i.previousNode():i.nextNode();if(o&&o.isConnected&&o!==a.body||(o=void 0,r.nodeToRestore=void 0),(!s||!q(s,e))&&o){i.currentNode=o;do s=t.shiftKey?i.previousNode():i.nextNode();while(q(s,e));(t.preventDefault(),t.stopPropagation(),s)?G(s,!0):q(o)?G(o,!0):n.blur()}};return n||a.addEventListener("keydown",o,!0),()=>{n||a.removeEventListener("keydown",o,!0)}},[e,t,n]),i(()=>{var n;let o=r(e.current?e.current[0]:void 0);if(!t)return;let i=ea.getTreeNode(e);if(i)return i.nodeToRestore=null!==(n=a.current)&&void 0!==n?n:void 0,()=>{let n=ea.getTreeNode(e);if(!n)return;let r=n.nodeToRestore,a=s(o);if(t&&r&&(a&&q(a,e)||a===o.body&&X(e))){let t=ea.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){ee(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&ea.getTreeNode(n.scopeRef)){ee(J(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}(b,p,m),function(e,t){let n=o.useRef(t);(0,o.useEffect)(()=>{if(n.current){V=e;let t=r(e.current?e.current[0]:void 0);!W(s(t),V.current)&&e.current&&Q(e.current)}n.current=!1},[e])}(b,f),(0,o.useEffect)(()=>{let e=s(r(b.current?b.current[0]:void 0)),t=null;if(W(e,b.current)){for(let n of ea.traverse())n.scopeRef&&W(e,n.scopeRef.current)&&(t=n);t===ea.getTreeNode(b)&&(V=t.scopeRef)}},[b]),i(()=>()=>{var e,t,n;let r=null!==(n=null===(t=ea.getTreeNode(b))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(b===V||K(b,V))&&(!r||ea.getTreeNode(r))&&(V=r),ea.removeTreeNode(b)},[b]);let E=(0,o.useMemo)(()=>({focusNext(e={}){var t;let n=b.current,{from:a,tabbable:o,wrap:i,accept:l}=e,u=a||s(r(null!==(t=n[0])&&void 0!==t?t:void 0)),c=n[0].previousElementSibling,d=et(Z(n),{tabbable:o,accept:l},n);
12d.currentNode=W(u,n)?u:c;let m=d.nextNode();return!m&&i&&(d.currentNode=c,m=d.nextNode()),m&&G(m,!0),m},focusPrevious(e={}){var t;let n=b.current,{from:a,tabbable:o,wrap:i,accept:l}=e,u=a||s(r(null!==(t=n[0])&&void 0!==t?t:void 0)),c=n[n.length-1].nextElementSibling,d=et(Z(n),{tabbable:o,accept:l},n);d.currentNode=W(u,n)?u:c;let m=d.previousNode();return!m&&i&&(d.currentNode=c,m=d.previousNode()),m&&G(m,!0),m},focusFirst(e={}){let t=b.current,{tabbable:n,accept:r}=e,a=et(Z(t),{tabbable:n,accept:r},t);a.currentNode=t[0].previousElementSibling;let o=a.nextNode();return o&&G(o,!0),o},focusLast(e={}){let t=b.current,{tabbable:n,accept:r}=e,a=et(Z(t),{tabbable:n,accept:r},t);a.currentNode=t[t.length-1].nextElementSibling;let o=a.previousNode();return o&&G(o,!0),o}}),[]),w=(0,o.useMemo)(()=>({focusManager:E,parentNode:_}),[_,E]);return o.createElement(z.Provider,{value:w},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:h}),d,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:v}))}function Z(e){return e[0].parentElement}function Y(e){let t=ea.getTreeNode(V);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function W(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function q(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of ea.traverse(ea.getTreeNode(t)))if(n&&W(e,n.current))return!0;return!1}function K(e,t){var n;let r=null===(n=ea.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function G(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{!function(e){let t=r(e),n=s(t);if("virtual"===C){var a;a=()=>{s(t)===n&&e.isConnected&&B(e)},requestAnimationFrame(()=>{0===R.size?a():j.add(a)})}else B(e)}(e)}catch{}}function J(e,t=!0){let n=e[0].previousElementSibling,r=Z(e),a=et(r,{tabbable:t},e);a.currentNode=n;let o=a.nextNode();return t&&!o&&((a=et(r=Z(e),{tabbable:!1},e)).currentNode=n,o=a.nextNode()),o}function Q(e,t=!0){G(J(e,t))}function X(e){let t=ea.getTreeNode(V);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function ee(e){e.dispatchEvent(new CustomEvent(H,{bubbles:!0,cancelable:!0}))&&G(e)}function et(e,t,n){var o,i;let s=(null==t?void 0:t.tabbable)?E:_,l=r((null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null),u=(o=e||l,i=NodeFilter.SHOW_ELEMENT,l.createTreeWalker(o,i,{acceptNode(e){var r;return(null==t?void 0:null===(r=t.from)||void 0===r?void 0:r.contains(e))?NodeFilter.FILTER_REJECT:s(e)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=a(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||W(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}));return(null==t?void 0:t.from)&&(u.currentNode=t.from),u}class en{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let a=new er({scopeRef:e});r.addChild(a),a.parent=r,this.fastMap.set(e,a),n&&(a.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&W(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new en;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new er({scopeRef:null}),this.fastMap.set(null,this.root)}}class er{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let ea=new en},24345:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},27962:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});let r={};function a(e,t){let n=t||r,a="boolean"!=typeof n.includeImageAlt||n.includeImageAlt,i="boolean"!=typeof n.includeHtml||n.includeHtml;return o(e,a,i)}function o(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return i(e.children,t,n)}return Array.isArray(e)?i(e,t,n):""}function i(e,t,n){let r=[],a=-1;for(;++a<e.length;)r[a]=o(e[a],t,n);return r.join("")}},23402:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(8387),a=n(15459);let o={partial:!0,tokenize:function(e,t,n){return function(t){return(0,a.xz)(t)?(0,r.f)(e,o,"linePrefix")(t):o(t)};function o(e){return null===e||(0,a.Ch)(e)?t(e):n(e)}}}},8387:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(15459);function a(e,t,n,a){let o=a?a-1:Number.POSITIVE_INFINITY,i=0;return function(a){return(0,r.xz)(a)?(e.enter(n),function a(s){return(0,r.xz)(s)&&i++<o?(e.consume(s),a):(e.exit(n),t(s))}(a)):t(a)}}},15459:function(e,t,n){"use strict";n.d(t,{AF:function(){return l},Av:function(){return i},B8:function(){return f},Ch:function(){return c},H$:function(){return a},Xh:function(){return p},jv:function(){return r},n9:function(){return o},pY:function(){return s},sR:function(){return u},xz:function(){return m},z3:function(){return d}});let r=h(/[A-Za-z]/),a=h(/[\dA-Za-z]/),o=h(/[#-'*+\--9=?A-Z^-~]/);function i(e){return null!==e&&(e<32||127===e)}let s=h(/\d/),l=h(/[\dA-Fa-f]/),u=h(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function m(e){return -2===e||-1===e||32===e}let p=h(/\p{P}|\p{S}/u),f=h(/\s/);function h(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},21905:function(e,t,n){"use strict";function r(e,t,n,r){let a;let o=e.length,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(a=Array.from(r)).unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)(a=r.slice(i,i+1e4)).unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function a(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:function(){return a},d:function(){return r}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(15459);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(21905);let a={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let o;let i=a.call(e,n)?e[n]:void 0,s=i||(e[n]={}),l=t[n];if(l)for(o in l){a.call(s,o)||(s[o]=[]);let e=l[o];!function(e,t){let n=-1,a=[];for(;++n<t.length;)("after"===t[n].add?e:a).push(t[n]);(0,r.d)(e,0,0,a)}(s[o],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},11098:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},63233:function(e,t,n){"use strict";function r(e,t,n){let r=[],a=-1;for(;++a<e.length;){let o=e[a].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}n.d(t,{C:function(){return r}})},53416:function(e,t,n){"use strict";n.d(t,{x0:function(){return r}});let r=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>
12((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")},70149:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},35573:function(e,t,n){"use strict";n.d(t,{UG:function(){return nf},nC:function(){return nh}});var r={};n.r(r),n.d(r,{boolean:function(){return y},booleanish:function(){return v},commaOrSpaceSeparated:function(){return C},commaSeparated:function(){return E},number:function(){return D},overloadedBoolean:function(){return b},spaceSeparated:function(){return _}});var a={};n.r(a),n.d(a,{attentionMarkers:function(){return tp},contentInitial:function(){return ts},disable:function(){return tf},document:function(){return ti},flow:function(){return tu},flowInitial:function(){return tl},insideSpan:function(){return tm},string:function(){return tc},text:function(){return td}});var o=n(24345);let i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function u(e,t){let n=(t||l).jsx?s:i;return n.test(e)}let c=/[ \t\n\f\r]/g;function d(e){return""===e.replace(c,"")}class m{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function p(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new m(n,r,t)}function f(e){return e.toLowerCase()}m.prototype.normal={},m.prototype.property={},m.prototype.space=void 0;class h{constructor(e,t){this.attribute=t,this.property=e}}h.prototype.attribute="",h.prototype.booleanish=!1,h.prototype.boolean=!1,h.prototype.commaOrSpaceSeparated=!1,h.prototype.commaSeparated=!1,h.prototype.defined=!1,h.prototype.mustUseProperty=!1,h.prototype.number=!1,h.prototype.overloadedBoolean=!1,h.prototype.property="",h.prototype.spaceSeparated=!1,h.prototype.space=void 0;let g=0,y=w(),v=w(),b=w(),D=w(),_=w(),E=w(),C=w();function w(){return 2**++g}let x=Object.keys(r);class k extends h{constructor(e,t,n,a){var o,i;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s<x.length;){let e=x[s];o=x[s],(i=(n&r[e])===r[e])&&(this[o]=i)}}}function S(e){let t={},n={};for(let[r,a]of Object.entries(e.properties)){let o=new k(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[f(r)]=r,n[f(o.attribute)]=r}return new m(t,n,e.space)}k.prototype.defined=!0;let M=S({properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:_,ariaCurrent:null,ariaDescribedBy:_,ariaDetails:null,ariaDisabled:v,ariaDropEffect:_,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:_,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_,ariaLevel:D,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:_,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:_,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:v,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function O(e,t){return T(e,t.toLowerCase())}let F=S({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:E,acceptCharset:_,accessKey:_,action:null,allow:null,allowFullScreen:y,allowPaymentRequest:y,allowUserMedia:y,alt:null,as:null,async:y,autoCapitalize:null,autoComplete:_,autoFocus:y,autoPlay:y,blocking:_,capture:null,charSet:null,checked:y,cite:null,className:_,cols:D,colSpan:null,content:null,contentEditable:v,controls:y,controlsList:_,coords:D|E,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y,defer:y,dir:null,dirName:null,disabled:y,download:b,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y,formTarget:null,headers:_,height:D,hidden:y,high:D,href:null,hrefLang:null,htmlFor:_,httpEquiv:_,id:null,imageSizes:null,imageSrcSet:null,inert:y,inputMode:null,integrity:null,is:null,isMap:y,itemId:null,itemProp:_,itemRef:_,itemScope:y,itemType:_,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:y,muted:y,name:null,nonce:null,noModule:y,noValidate:y,onAbort:null,onAfterPrint:null,onAuxCl
12ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y,optimum:D,pattern:null,ping:_,placeholder:null,playsInline:y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y,referrerPolicy:null,rel:_,required:y,reversed:y,rows:D,rowSpan:D,sandbox:_,scope:null,scoped:y,seamless:y,selected:y,shadowRootClonable:y,shadowRootDelegatesFocus:y,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:y,useMap:null,value:v,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:_,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y,declare:y,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:y,noHref:y,noShade:y,noWrap:y,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y,disableRemotePlayback:y,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:O}),P=S({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
12-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:C,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:_,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:y,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:E,g2:E,glyphName:E,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:C,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
12Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:_,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:C,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:C,rev:C,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:C,requiredFeatures:C,requiredFonts:C,requiredFormats:C,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:C,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:C,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:C,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),A=S({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),L=S({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:O}),N=S({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),R=p([M,F,A,L,N],"html"),j=p([M,P,A,L,N],"svg"),I=/[A-Z]/g,B=/-[a-z]/g,U=/^data[-\w.:]+$/i;function z(e){return"-"+e.toLowerCase()}function H(e){return e.charAt(1).toUpperCase()}let V={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var $=n(41476);let Z=W("end"),Y=W("start");function W(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function q(e){return e&&"object"==typeof e?"position"in e||"type"in e?G(e.position):"start"in e||"end"in e?G(e):"line"in e||"column"in e?K(e):"":""}function K(e){return J(e&&e.line)+":"+J(e&&e.column)}function G(e){return K(e&&e.start)+"-"+K(e&&e.end)}function J(e){return e&&"number"==typeof e?e:1}class Q extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",a={},o=!1;if(t&&(a="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!a.cause&&e&&(o=!0,r=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?a.ruleId=n:(a.source=n.slice(0,e),a.ruleId=n.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){let e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}let i=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=q(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Q.prototype.file="",Q.prototype.name="",Q.prototype.reason="",Q.prototype.message="",Q.prototype.stack="",Q.prototype.column=void 0,Q.prototype.line=void 0,Q.prototype.ancestors=void 0,Q.prototype.cause=void 0,Q.prototype.fatal=void 0,Q.prototype.place=void 0,Q.prototype.ruleId=void 0,Q.prototype.source=void 0;let X={}.hasOwnProperty,ee=new Map,et=/[A-Z]/g,en=new Set(["table","tbody","thead","tfoot","tr"]),er=new Set(["td","th"]),ea="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eo(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema,a=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(a=j,e.schema=a),e.ancestors.push(t);let o=eu(e,t.tagName,!1),i=function(e,t){let n,r;let a={};for(r in t.properties)if("children"!==r&&X.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=f(t),r=t,a=h;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&U.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(B,H);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!B.test(e)){let n=e.replace(I,z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=k}return new a(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={},r=""===e[e.length-1]?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return $(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new Q("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
12throw t.file=e.filePath||void 0,t.url=ea+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let n={};for(t in e)X.call(e,t)&&(n[function(e){let t=e.replace(et,ed);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?V[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,i]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof i&&er.has(t.tagName)?n=i:a[r]=i}}if(n){let t=a.style||(a.style={});t["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n}return a}(e,t),s=el(e,t);return en.has(t.tagName)&&(s=s.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&d(e.value):d(e))})),ei(e,i,o,t),es(i,s),e.ancestors.pop(),e.schema=r,e.create(t,o,i,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree,r=n.body[0];return(0,o.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}ec(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,a=r;"svg"===t.name&&"html"===r.space&&(a=j,e.schema=a),e.ancestors.push(t);let i=null===t.name?e.Fragment:eu(e,t.name,!0),s=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type){if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree,a=t.body[0];(0,o.ok)("ExpressionStatement"===a.type);let i=a.expression;(0,o.ok)("ObjectExpression"===i.type);let s=i.properties[0];(0,o.ok)("SpreadElement"===s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else ec(e,t.position)}else{let a;let i=r.name;if(r.value&&"object"==typeof r.value){if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree,n=t.body[0];(0,o.ok)("ExpressionStatement"===n.type),a=e.evaluater.evaluateExpression(n.expression)}else ec(e,t.position)}else a=null===r.value||r.value;n[i]=a}return n}(e,t),l=el(e,t);return ei(e,s,i,t),es(s,l),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ec(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return es(r,el(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function ei(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function es(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function el(e,t){let n=[],r=-1,a=e.passKeys?new Map:ee;for(;++r<t.children.length;){let o;let i=t.children[r];if(e.passKeys){let e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){let t=a.get(e)||0;o=e+"-"+t,a.set(e,t+1)}}let s=eo(e,i,o);void 0!==s&&n.push(s)}return n}function eu(e,t,n){let r;if(n){if(t.includes(".")){let e;let n=t.split("."),a=-1;for(;++a<n.length;){let t=u(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,o.ok)(e,"always a result"),r=e}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t}}else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return X.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ec(e)}function ec(e,t){let n=new Q("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ea+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ed(e){return"-"+e.toLowerCase()}let em={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ep=n(85893);n(67294);var ef=n(27962),eh=n(21905);class eg{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&ey(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ey(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ey(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);ey(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ey(this.left,t.reverse())}}}}function ey(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ev(e){let t,n,r,a,o,i,s;let l={},u=-1,c=new eg(e);for(;++u<c.length;){for(;(u in l);)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(i=t[1]._tokenizer.events).length&&"lineEndingBlank"===i[r][1].type&&(r+=2),r<i.length&&"content"===i[r][1].type))for(;++r<i.length&&"content"!==i[r][1].type;)"chunkText"===i[r][1].type&&(i[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r;let a=e.get(t)[1],o=e.get(t)[2],i=t-1,s=[],l=a._tokenizer;!l&&(l=o.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,c=[],d={},m=-1,p=a,f=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);s.push(i),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&l.defineSki
12p(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=a;++m<u.length;)"exit"===u[m][0]&&"enter"===u[m-1][0]&&u[m][1].type===u[m-1][1].type&&u[m][1].start.line!==u[m][1].end.line&&(h=m+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),m=g.length;m--;){let t=u.slice(g[m],g[m+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),m=-1;++m<c.length;)d[f+c[m][0]]=f+c[m][1],f+=c[m][1]-c[m][0]-1;return d}(c,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(a=c.get(r))[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),a[1].type="lineEnding",n=r);else if("linePrefix"===a[1].type||"listItemIndent"===a[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return(0,eh.d)(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}var eb=n(4663),eD=n(8387),e_=n(15459);let eE={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,eD.f)(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let a=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,e_.Ch)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eC={tokenize:function(e){let t,n,r;let a=this,o=[],i=0;return s;function s(t){if(i<o.length){let n=o[i];return a.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(i++,a.containerState._closeFlow){let n;a.containerState._closeFlow=void 0,t&&y();let r=a.events.length,o=r;for(;o--;)if("exit"===a.events[o][0]&&"chunkFlow"===a.events[o][1].type){n=a.events[o][1].end;break}g(i);let s=r;for(;s<a.events.length;)a.events[s][1].end={...n},s++;return(0,eh.d)(a.events,o+1,0,a.events.slice(r)),a.events.length=s,u(e)}return s(e)}function u(n){if(i===o.length){if(!t)return m(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);a.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return a.containerState={},e.check(ew,c,d)(n)}function c(e){return t&&y(),g(i),m(e)}function d(e){return a.parser.lazy[a.now().line]=i!==o.length,r=a.now().offset,f(e)}function m(t){return a.containerState={},e.attempt(ew,p,f)(t)}function p(e){return i++,o.push([a.currentConstruct,a.containerState]),m(e)}function f(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||a.parser.flow(a.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){h(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,e_.Ch)(n)?(e.consume(n),h(e.exit("chunkFlow")),i=0,a.interrupt=void 0,s):(e.consume(n),t)}(r)}function h(e,o){let s=a.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),a.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let s=a.events.length,l=s;for(;l--;)if("exit"===a.events[l][0]&&"chunkFlow"===a.events[l][1].type){if(e){n=a.events[l][1].end;break}e=!0}for(g(i),o=s;o<a.events.length;)a.events[o][1].end={...n},o++;(0,eh.d)(a.events,l+1,0,a.events.slice(s)),a.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];a.containerState=t[1],t[0].exit.call(a,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,a.containerState._closeFlow=void 0}}},ew={tokenize:function(e,t,n){return(0,eD.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var ex=n(23402);let ek={resolve:function(e){return ev(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?a(t):(0,e_.Ch)(t)?e.check(eS,o,a)(t):(e.consume(t),r)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eS={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
12(0,eD.f)(e,a,"linePrefix")};function a(a){if(null===a||(0,e_.Ch)(a))return n(a);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}},eM={tokenize:function(e){let t=this,n=e.attempt(ex.w,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,eD.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ek,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},eT={resolveAll:eA()},eO=eP("string"),eF=eP("text");function eP(e){return{resolveAll:eA("text"===e?eL:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],a=t.attempt(r,o,i);return o;function o(e){return l(e)?a(e):i(e)}function i(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],a=-1;if(t)for(;++a<t.length;){let e=t[a];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function eA(e){return function(t,n){let r,a=-1;for(;++a<=t.length;)void 0===r?t[a]&&"data"===t[a][1].type&&(r=a,a++):t[a]&&"data"===t[a][1].type||(a!==r+2&&(t[r][1].end=t[a-1][1].end,t.splice(r+2,a-r-2),a=r+2),r=void 0);return e?e(t,n):t}}function eL(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let a=e[n-1][1],o=t.sliceStream(a),i=o.length,s=-1,l=0;for(;i--;){let e=o[i];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:a.start._bufferIndex+s,_index:a.start._index+i,line:a.end.line,column:a.end.column-l,offset:a.end.offset-l},end:{...a.end}};a.end={...o.start},a.start.offset===a.end.offset?Object.assign(a,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let eN={name:"thematicBreak",tokenize:function(e,t,n){let r,a=0;return function(o){return e.enter("thematicBreak"),r=o,function o(i){return i===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),a++,t):(e.exit("thematicBreakSequence"),(0,e_.xz)(n)?(0,eD.f)(e,o,"whitespace")(n):o(n))}(i)):a>=3&&(null===i||(0,e_.Ch)(i))?(e.exit("thematicBreak"),t(i)):n(i)}(o)}}},eR={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(ex.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,eD.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,e_.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
12=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eI,t,a)(n))});function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,eD.f)(e,e.attempt(eR,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,i=0;return function(t){let a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:(0,e_.pY)(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(eN,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,e_.pY)(a)&&++i<10?(e.consume(a),t):(!r.interrupt||i<2)&&(r.containerState.marker?a===r.containerState.marker:41===a||46===a)?(e.exit("listItemValue"),s(a)):n(a)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ex.w,r.interrupt?n:l,e.attempt(ej,c,u))}
12function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,e_.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},ej={partial:!0,tokenize:function(e,t,n){let r=this;return(0,eD.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,e_.xz)(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eI={partial:!0,tokenize:function(e,t,n){let r=this;return(0,eD.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},eB={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,e_.xz)(t)?(0,eD.f)(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)};function a(r){return e.attempt(eB,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return n(t)};function a(n){return(0,e_.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function eU(e,t,n,r,a,o,i,s,l){let u=l||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||(0,e_.Av)(t)?n(t):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,e_.Ch)(t)?n(t):(e.consume(t),92===t?p:m)}function p(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function f(a){return!c&&(null===a||41===a||(0,e_.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(a)):c<u&&40===a?(e.consume(a),c++,f):41===a?(e.consume(a),c--,f):null===a||32===a||40===a||(0,e_.Av)(a)?n(a):(e.consume(a),92===a?h:f)}function h(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function ez(e,t,n,r,a,o){let i;let s=this,l=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(o),u};function u(d){return l>999||null===d||91===d||93===d&&!i||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(o),e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(0,e_.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||(0,e_.Ch)(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),i||(i=!(0,e_.xz)(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function eH(e,t,n,r,a,o){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,s):n(t)};function s(n){return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===i?(e.exit(o),s(i)):null===t?n(t):(0,e_.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,eD.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===i||null===t||(0,e_.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===i||92===t?(e.consume(t),u):u(t)}}function eV(e,t){let n;return function r(a){return(0,e_.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,e_.xz)(a)?(0,eD.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var e$=n(11098);let eZ={partial:!0,tokenize:function(e,t,n){return function(t){return(0,e_.z3)(t)?eV(e,r)(t):n(t)};function r(t){return eH(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,e_.xz)(t)?(0,eD.f)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,e_.Ch)(e)?t(e):n(e)}}},eY={name:"codeIndented",tokenize:function(e,t,n){let r=this;
12return function(t){return e.enter("codeIndented"),(0,eD.f)(e,a,"linePrefix",5)(t)};function a(t){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?function t(n){return null===n?o(n):(0,e_.Ch)(n)?e.attempt(eW,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,e_.Ch)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},eW={partial:!0,tokenize:function(e,t,n){let r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):(0,e_.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,eD.f)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,e_.Ch)(e)?a(e):n(e)}}},eq={name:"setextUnderline",resolveTo:function(e,t){let n,r,a,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),a||"definition"!==e[o][1].type||(a=o);let i={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",i,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=i,e.push(["exit",i,t]),e},tokenize:function(e,t,n){let r;let a=this;return function(t){let i,s=a.events.length;for(;s--;)if("lineEnding"!==a.events[s][1].type&&"linePrefix"!==a.events[s][1].type&&"content"!==a.events[s][1].type){i="paragraph"===a.events[s][1].type;break}return!a.parser.lazy[a.now().line]&&(a.interrupt||i)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,e_.xz)(n)?(0,eD.f)(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||(0,e_.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},eK=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eG=["pre","script","style","textarea"],eJ={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ex.w,t,n)}}},eQ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,e_.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},eX={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},e0={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r;let a=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),(0,e_.xz)(t)?(0,eD.f)(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(a){return a===r?(o++,e.consume(a),t):o>=s?(e.exit("codeFencedFenceSequence"),(0,e_.xz)(a)?(0,eD.f)(e,u,"whitespace")(a):u(a)):n(a)}(t)):n(t)}function u(r){return null===r||(0,e_.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},i=0,s=0;return function(t){return function(t){let o=a.events[a.events.length-1];return i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(a){return a===r?(s++,e.consume(a),t):s<3?n(a):(e.exit("codeFencedFenceSequence"),(0,e_.xz)(a)?(0,eD.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(o){return null===o||(0,e_.Ch)(o)?(e.exit("codeFencedFence"),a.interrupt?t(o):e.check(eX,c,f)(o)):(e.enter("co
12deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,e_.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,e_.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,eD.f)(e,u,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(o))}function u(t){return null===t||(0,e_.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,e_.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(a)):96===a&&a===r?n(a):(e.consume(a),t)}(t))}function c(t){return e.attempt(o,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&(0,e_.xz)(t)?(0,eD.f)(e,p,"linePrefix",i+1)(t):p(t)}function p(t){return null===t||(0,e_.Ch)(t)?e.check(eX,c,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,e_.Ch)(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}}},e1=document.createElement("i");function e2(e){let t="&"+e+";";e1.innerHTML=t;let n=e1.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let e3={name:"characterReference",tokenize:function(e,t,n){let r,a;let o=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,a=e_.H$,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,a=e_.AF,u):(e.enter("characterReferenceValue"),r=7,a=e_.pY,u(t))}function u(s){if(59===s&&i){let r=e.exit("characterReferenceValue");return a!==e_.H$||e2(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&i++<r?(e.consume(s),u):n(s)}}},e4={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,e_.sR)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},e9={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,eD.f)(e,t,"linePrefix")}}};var e6=n(63233);let e8={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,eh.d)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,a,o,i=e.length,s=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(a=i);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[a][1].end}},c={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",u,t]],o=(0,eh.V)(o,e.slice(r+1,r+s+3)),o=(0,eh.V)(o,[["enter",c,t]]),o=(0,eh.V)(o,(0,e6.C)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,a-3),t)),o=(0,eh.V)(o,[["exit",c,t],e[a-2],e[a-1],["exit",u,t]]),o=(0,eh.V)(o,e.slice(a+1)),o=(0,eh.V)(o,[["exit",l,t]]),(0,eh.d)(e,r,e.length,o),e},tokenize:function(e,t,n){let r,a;let o=this,i=o.events.length;for(;i--;)if(("labelImage"===o.events[i][1].type||"labelLink"===o.events[i][1].type)&&!o.events[i][1]._balanced){r=o.events[i][1];break}return function(t){return r?r._inactive?c(t):(a=o.parser.defined.includes((0,e$.d)(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(e5,u,a?u:c)(t):91===t?e.attempt(e7,u,a?l:c)(t):a?u(t):c(t)}function l(t){return e.attempt(te,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},e5={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,e_.z3)(t)?eV(e,a)(t):a(t)}function a(t){return 41===t?u(t):eU(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,e_.z3)(t)?eV(e,s)(t):u(t)}function i(e){return n(e)}function s(t){return 34===t||39===t||40===t?eH(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return(0,e_.z3)(t)?eV(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},e7={tokenize:function(e,t,n){let r=this;return function(t){return ez.call(r,e,a,o,"reference","referenceMarker","referenceString")(t)};function a(e){return r.parser.defined.includes((0,e$.d)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},te={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},tt={name:"labelStartImage",resolveAll:e8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a};function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var tn=n(62987);let tr={name:"attention",resolveAll:function(e,t){let n,r,a,o,i,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
12n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d={...e[n][1].end},m={...e[c][1].start};ta(d,-s),ta(m,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},i={type:s>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:m},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...i.end}},e[n][1].end={...o.start},e[c][1].start={...i.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,eh.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,eh.V)(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=(0,eh.V)(l,(0,e6.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=(0,eh.V)(l,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=(0,eh.V)(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,(0,eh.d)(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,a=this.previous,o=(0,tn.r)(a);return function(i){return n=i,e.enter("attentionSequence"),function i(s){if(s===n)return e.consume(s),i;let l=e.exit("attentionSequence"),u=(0,tn.r)(s),c=!u||2===u&&o||r.includes(s),d=!o||2===o&&u||r.includes(a);return l._open=!!(42===n?c:c&&(o||!d)),l._close=!!(42===n?d:d&&(u||!c)),t(s)}(i)}}};function ta(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let to={name:"labelStartLink",resolveAll:e8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a};function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},ti={42:eR,43:eR,45:eR,48:eR,49:eR,50:eR,51:eR,52:eR,53:eR,54:eR,55:eR,56:eR,57:eR,62:eB},ts={91:{name:"definition",tokenize:function(e,t,n){let r;let a=this;return function(t){return e.enter("definition"),ez.call(a,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=(0,e$.d)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return(0,e_.z3)(t)?eV(e,s)(t):s(t)}function s(t){return eU(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(eZ,u,u)(t)}function u(t){return(0,e_.xz)(t)?(0,eD.f)(e,c,"whitespace")(t):c(t)}function c(o){return null===o||(0,e_.Ch)(o)?(e.exit("definition"),a.parser.defined.push(r),t(o)):n(o)}}}},tl={[-2]:eY,[-1]:eY,32:eY},tu={35:{name:"headingAtx",resolve:function(e,t){let n,r,a=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),a-2>o&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},(0,eh.d)(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(a){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function a(o){return 35===o&&r++<6?(e.consume(o),a):null===o||(0,e_.z3)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,e_.Ch)(r)?(e.exit("atxHeading"),t(r)):(0,e_.xz)(r)?(0,eD.f)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,e_.z3)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(a)}}},42:eN,45:[eq,eN],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,a,o,i,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(i){return 33===i?(e.consume(i),c):47===i?(e.consume(i),a=!0,p):63===i?(e.consume(i),r=3,l.interrupt?t:P):(0,e_.jv)(i)?(e.consume(i),o=String.fromCharCode(i),f):n(i)}function c(a){return 45===a?(e.consume(a),r=2,d):91===a?(e.consume(a),r=5,i=0,m):(0,e_.jv)(a)?(e.consume(a),r=4,l.interrupt?t:P):n(a)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:P):n(r)}function m(r){let a="CDATA[";
12return r===a.charCodeAt(i++)?(e.consume(r),i===a.length)?l.interrupt?t:w:m:n(r)}function p(t){return(0,e_.jv)(t)?(e.consume(t),o=String.fromCharCode(t),f):n(t)}function f(i){if(null===i||47===i||62===i||(0,e_.z3)(i)){let s=47===i,u=o.toLowerCase();return!s&&!a&&eG.includes(u)?(r=1,l.interrupt?t(i):w(i)):eK.includes(o.toLowerCase())?(r=6,s)?(e.consume(i),h):l.interrupt?t(i):w(i):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(i):a?function t(n){return(0,e_.xz)(n)?(e.consume(n),t):E(n)}(i):g(i))}return 45===i||(0,e_.H$)(i)?(e.consume(i),o+=String.fromCharCode(i),f):n(i)}function h(r){return 62===r?(e.consume(r),l.interrupt?t:w):n(r)}function g(t){return 47===t?(e.consume(t),E):58===t||95===t||(0,e_.jv)(t)?(e.consume(t),y):(0,e_.xz)(t)?(e.consume(t),g):E(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,e_.H$)(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):(0,e_.xz)(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,D):(0,e_.xz)(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,e_.z3)(n)?v(n):(e.consume(n),t)}(t)}function D(t){return t===s?(e.consume(t),s=null,_):null===t||(0,e_.Ch)(t)?n(t):(e.consume(t),D)}function _(e){return 47===e||62===e||(0,e_.xz)(e)?g(e):n(e)}function E(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||(0,e_.Ch)(t)?w(t):(0,e_.xz)(t)?(e.consume(t),C):n(t)}function w(t){return 45===t&&2===r?(e.consume(t),M):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),A):63===t&&3===r?(e.consume(t),P):93===t&&5===r?(e.consume(t),F):(0,e_.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eJ,L,x)(t)):null===t||(0,e_.Ch)(t)?(e.exit("htmlFlowData"),x(t)):(e.consume(t),w)}function x(t){return e.check(eQ,k,L)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),S}function S(t){return null===t||(0,e_.Ch)(t)?x(t):(e.enter("htmlFlowData"),w(t))}function M(t){return 45===t?(e.consume(t),P):w(t)}function T(t){return 47===t?(e.consume(t),o="",O):w(t)}function O(t){if(62===t){let n=o.toLowerCase();return eG.includes(n)?(e.consume(t),A):w(t)}return(0,e_.jv)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):w(t)}function F(t){return 93===t?(e.consume(t),P):w(t)}function P(t){return 62===t?(e.consume(t),A):45===t&&2===r?(e.consume(t),P):w(t)}function A(t){return null===t||(0,e_.Ch)(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),A)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:eq,95:eN,96:e0,126:e0},tc={38:e3,92:e4},td={[-5]:e9,[-4]:e9,[-3]:e9,33:tt,38:e3,42:tr,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a};function a(t){return(0,e_.jv)(t)?(e.consume(t),o):64===t?n(t):s(t)}function o(t){return 43===t||45===t||46===t||(0,e_.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,i):(43===n||45===n||46===n||(0,e_.H$)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function i(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,e_.Av)(r)?n(r):(e.consume(r),i)}function s(t){return 64===t?(e.consume(t),l):(0,e_.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,e_.H$)(a)?function a(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,e_.H$)(o))&&r++<63){let n=45===o?t:a;return e.consume(o),n}return n(o)}(o)}(a):n(a)}}},{name:"htmlText",tokenize:function(e,t,n){let r,a,o;let i=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),D):63===t?(e.consume(t),v):(0,e_.jv)(t)?(e.consume(t),E):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),a=0,p):(0,e_.jv)(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),m):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):(0,e_.Ch)(t)?(o=c,O(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),m):c(t)}function m(e){return 62===e?T(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?f:p):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),h):(0,e_.Ch)(t)?(o=f,O(t)):(e.consume(t),f)}function h(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):f(t)}function y(t){return null===t||62===t?T(t):(0,e_.Ch)(t)?(o=y,O(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):(0,e_.Ch)(t)?(o=v,O(t)):(e.consume(t),v)}function b(e){return 62===e?T(e):v(e)}function D(t){return(0,e_.jv)(t)?(e.consume(t),_):n(t)}function _(t){return 45===t||(0,e_.H$)(t)?(e.consume(t),_):function t(n){return(0,e_.Ch)(n)?(o=t,O(n)):(0,e_.xz)(n)?(e.consume(n),t):T(n)}(t)}function E(t){return 45===t||(0,e_.H$)(t)?(e.consume(t),E):47===t||62===t||(0,e_.z3)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),T):58===t||95===t||(0,e_.jv)(t)?(e.consume(t),w):(0,e_.Ch)(t)?(o=C,O(t)):(0,e_.xz)(t)?(e.consume(t),C):T(t)}function w(t){return 45===t||46===t||58===t||95===t||(0,e_.H$)(t)?(e.consume(t),w):function t(n){return 61===n?(e.consume(n),x):(0,e_.Ch)(n)?(o=t,O(n)):(0,e_.xz)(n)?(e.consume(n),t):C(n)}(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,k):(0,e_.Ch)(t)?(o=x,O(t)):(0,e_.xz)(t)?(e.consume(t),x):(e.consume(t),S)}function k(t){return t===r?(e.consume(t),r=void 0,M):null===t?n(t):(0,e_.Ch)(t)?(o=k,O(t)):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,e_.z3)(t)?C(t):(e.consume(t),S)}function M(e){return 47===e||62===e||(0,e_.z3)(e)?C(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return(0,e_.xz)(t)?(0,eD.f)(e,P,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):P(t)}function P(t){return e.enter("htmlTextData"),o(t)}}}],91:to,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,e_.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},e4],93:e8,95:tr,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,a=3;if(("lineEnding"===e[3][1].type||"space"===e[a][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=a;++t<r;)if("codeTextData"===e[t][1].type){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}for(t=a-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,a,o=0;
12return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),i(n))}(t)};function i(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),i):96===l?(a=e.enter("codeTextSequence"),r=0,function n(i){return 96===i?(e.consume(i),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(a.type="codeTextData",s(i))}(l)):(0,e_.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,e_.Ch)(t)?(e.exit("codeTextData"),i(t)):(e.consume(t),s)}}}},tm={null:[tr,eT]},tp={null:[42,95]},tf={null:[]},th=/[\0\t\n\r]/g;function tg(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ty=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tv(e,t,n){if(t)return t;let r=n.charCodeAt(0);if(35===r){let e=n.charCodeAt(1),t=120===e||88===e;return tg(n.slice(t?2:1),t?16:10)}return e2(n)||e}let tb={}.hasOwnProperty;function tD(e){return{line:e.line,column:e.column,offset:e.offset}}function t_(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+q({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+q({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+q({start:t.start,end:t.end})+") is still open")}function tE(e){let t=this;t.parser=function(n){var r,o;let i,s,l,u;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(p),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(p,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(h),hardBreakTrailing:r(h),htmlFlow:r(g,a),htmlFlowData:u,htmlText:r(g,a),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:i(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:i(),autolinkEmail:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:i(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=tg(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=e2(n);t=e}let a=this.stack[this.stack.length-1];a.value+=t},characterReference:function(e){let t=this.stack.pop();t.position.end=tD(e.end)},codeFenced:i(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:c,codeIndented:i(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:i(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:c,data:c,definition:i(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,e$.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:i(),hardBreakEscape:i(d),hardBreakTrailing:i(d),htmlFlow:i(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:c,htmlText:i(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:c,image:i(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ty,tv),n.identifier=(0,e$.d)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=tD(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
12ype)&&(u.call(this,e),c.call(this,e))},link:i(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:i(),listOrdered:i(),listUnordered:i(),paragraph:i(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,e$.d)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){this.data.inReference=void 0},setextHeading:i(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:i(),thematicBreak:i()}};(function e(t,n){let r=-1;for(;++r<n.length;){let a=n[r];Array.isArray(a)?e(t,a):function(e,t){let n;for(n in t)if(tb.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,a)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:o,exit:s,buffer:a,resume:l,data:n},u=[],c=-1;for(;++c<e.length;)if("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type){if("enter"===e[c][0])u.push(c);else{let t=u.pop();c=function(e,t,n){let r,a,o,i,s=t-1,l=-1,u=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||i||l||o||(o=s),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=s;for(a=void 0;i--;){let t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;a&&(e[a][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",a=i}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!a||o<a)&&(r._spread=!0),r.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let a={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=a,e.splice(s,0,["enter",a,t[2]]),s++,n++,o=void 0,i=!0}}}return e[t][1]._spread=u,n}(e,t,c)}}for(c=-1;++c<e.length;){let n=t[e[c][0]];tb.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},i),e[c][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1],t=e[1]||t_;t.call(i,void 0,e[0])}for(r.position={start:tD(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tD(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){let r=this.stack[this.stack.length-1],a=r.children;a.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tD(t.start),end:void 0}}function i(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r){if(r[0].type!==e.type){if(t)t.call(this,e,r[0]);else{let t=r[1]||t_;t.call(this,e,r[0])}}}else throw Error("Cannot close `"+e.type+"` ("+q({start:e.start,end:e.end})+"): itâs not open");n.position.end=tD(e.end)}function l(){return(0,ef.B)(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1],n=t.children,r=n[n.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:tD(e.start),end:void 0},n.push(r)),this.stack.push(r)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tD(e.end)}function d(){this.data.atHardBreak=!0}function m(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function h(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!ev(e););return e}((function(e){let t=(0,eb.W)([a,...(e||{}).extensions||[]]),n={constructs:t,content:r(eE),defined:[],document:r(eC),flow:r(eM),lazy:{},string:r(eO),text:r(eF)};return n;function r(e){return function(t){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
12olumn:n&&n.column||1,offset:n&&n.offset||0},a={},o=[],i=[],s=[],l={attempt:f(function(e,t){h(e,t.from)}),check:f(p),consume:function(e){(0,e_.Ch)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=m(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=m(),u.events.push(["exit",t,u]),t},interrupt:f(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){a[e.line]=e.column,g()},events:[],now:m,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,a=[];for(;++r<e.length;){let o;let i=e[r];if("string"==typeof i)o=i;else switch(i){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(i)}n=-2===i,a.push(o)}return a.join("")}(d(e),t)},sliceStream:d,write:function(e){return(i=(0,eh.V)(i,e),function(){let e;for(;r._index<i.length;){var t;let n=i[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)t=n.charCodeAt(r._bufferIndex),c=c(t);else c=c(n)}}(),null!==i[i.length-1])?[]:(h(t,0),u.events=(0,e6.C)(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n;let r=t.start._index,a=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;if(r===o)n=[e[r].slice(a,i)];else{if(n=e.slice(r,o),a>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(a):n.shift()}i>0&&n.push(e[o].slice(0,i))}return n}(i,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:a,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:a,offset:o}}function p(e,t){t.restore()}function f(e,t){return function(n,a,o){let i,c,d,p;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,a=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return f(a)(e)};function f(e){return(i=e,c=0,0===e.length)?o:h(e[c])}function h(e){return function(n){return(p=function(){let e=m(),t=u.previous,n=u.currentConstruct,a=u.events.length,o=Array.from(s);return{from:a,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=a,s=o,g()}}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,y,v)(n)}}function y(t){return e(d,p),a}function v(e){return(p.restore(),++c<i.length)?h(i[c]):o}}}function h(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,eh.d)(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}(n,e,t)}}})(o).document().write((s=1,l="",u=!0,function(e,t,n){let r,a,o,c,d;let m=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,l="",u&&(65279===e.charCodeAt(0)&&o++,u=void 0);o<e.length;){if(th.lastIndex=o,c=(r=th.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){l=e.slice(o);break}if(10===d&&o===c&&i)m.push(-3),i=void 0;else switch(i&&(m.push(-5),i=void 0),o<c&&(m.push(e.slice(o,c)),s+=c-o),d){case 0:m.push(65533),s++;break;case 9:for(a=4*Math.ceil(s/4),m.push(-2);s++<a;)m.push(-1);break;case 10:m.push(-4),s=1;break;default:i=!0,s=1}o=c+1}return n&&(i&&m.push(-5),l&&m.push(l),m.push(null)),m})(n,r,!0))))}}let tC="object"==typeof self?self:globalThis,tw=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=a=>{if(e.has(a))return e.get(a);let[o,i]=t[a];switch(o){case 0:case -1:return n(i,a);case 1:{let e=n([],a);for(let t of i)e.push(r(t));return e}case 2:{let e=n({},a);for(let[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),a);case 4:{let{source:e,flags:t}=i;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of i)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,a);for(let t of i)e.add(r(t));return e}case 7:{let{name:e,message:t}=i;return n(new tC[e](t),a)}case 8:return n(BigInt(i),a);case"BigInt":return n(Object(BigInt(i)),a);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{let{buffer:e}=new Uint8Array(i);return n(new DataView(e),i)}}return n(new tC[o](i),a)};return r},tx=e=>tw(new Map,e)(0),{toString:tk}={},{keys:tS}=Object,tM=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tk.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tT=([e,t])=>0===e&&("function"===t||"symbol"===t),tO=(e,t,n,r)=>{let a=(e,t)=>{let a=r.push(e)-1;return n.set(t,a),a},o=r=>{if(n.has(r))return n.get(r);let[i,s]=tM(r);switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return a([-1],r)}return a([i,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),a([s,[...e]],r)}let e=[],t=a([i,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return a([s,r.toString()],r);case"Boolean":case"Number":case"String":return a([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],l=a([i,n],r);for(let t of tS(r))(e||!tT(tM(r[t])))&&n.push([o(t),o(r[t])]);return l}case 3:return a([i,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return a([i,{source:e,flags:t}],r)}case 5:{let t=[],n=a([i,t],r);
12for(let[n,a]of r)(e||!(tT(tM(n))||tT(tM(a))))&&t.push([o(n),o(a)]);return n}case 6:{let t=[],n=a([i,t],r);for(let n of r)(e||!tT(tM(n)))&&t.push(o(n));return n}}let{message:l}=r;return a([i,{name:s,message:l}],r)};return o},tF=(e,{json:t,lossy:n}={})=>{let r=[];return tO(!(t||n),!!t,new Map,r)(e),r};var tP="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tx(tF(e,t)):structuredClone(e):(e,t)=>tx(tF(e,t));function tA(e){let t=[],n=-1,r=0,a=0;for(;++n<e.length;){let o=e.charCodeAt(n),i="";if(37===o&&(0,e_.H$)(e.charCodeAt(n+1))&&(0,e_.H$)(e.charCodeAt(n+2)))a=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function tL(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tN(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var tR=n(21623);function tj(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let a=e.all(t),o=a[0];o&&"text"===o.type?o.value="["+o.value:a.unshift({type:"text",value:"["});let i=a[a.length-1];return i&&"text"===i.type?i.value+=r:a.push({type:"text",value:r}),a}function tI(e){let t=e.spread;return null==t?e.children.length>1:t}function tB(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;9===t||32===t;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}let tU={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),o=tA(a.toLowerCase()),i=e.footnoteOrder.indexOf(a),s=e.footnoteCounts.get(a);void 0===s?(s=0,e.footnoteOrder.push(a),n=e.footnoteOrder.length):n=i+1,s+=1,e.footnoteCounts.set(a,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tj(e,t);let a={src:tA(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);let o={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:tA(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tj(e,t);let a={href:tA(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);let o={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:tA(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=tI(n[r])}return t}(n):tI(t),o={},i=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(a||0!==s||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||a?i.push(e):i.push(...e.children)}let l=r[r.length-1];l&&(a||"element"!==l.type||"p"!==l.tagName)&&i.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:i};
12return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),a=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++a<r.length;){let e=r[a];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),a=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),a.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Y(t.children[1]),i=Z(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),a.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,a=r?r.indexOf(t):1,o=0===a?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length,l=-1,u=[];for(;++l<s;){let n=t.children[l],r={},a=i?i[l]:void 0;a&&(r.align=a);let s={type:"element",tagName:o,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(n,s)),u.push(s)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),a=0,o=[];for(;r;)o.push(tB(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(tB(t.slice(a),a>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tz,yaml:tz,definition:tz,footnoteDefinition:tz};function tz(){}let tH={}.hasOwnProperty,tV={};function t$(e,t){e.position&&(t.position=function(e){let t=Y(e),n=Z(e);if(t&&n)return{start:t,end:n}}(e))}function tZ(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;if("string"==typeof t){if("element"===n.type)n.tagName=t;else{let e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}"element"===n.type&&a&&Object.assign(n.properties,tP(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tY(e,t){let n=t.data||{},r="value"in t&&!(tH.call(n,"hProperties")||tH.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tW(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tq(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tK(e,t){let n=function(e,t){let n=t||tV,r=new Map,a=new Map,o=new Map,i={...tU,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let a=s.one(n[r],e);if(a){if(r&&"break"===n[r-1].type&&(Array.isArray(a)||"text"!==a.type||(a.value=tq(a.value)),!Array.isArray(a)&&"element"===a.type)){let e=a.children[0];e&&"text"===e.type&&(e.value=tq(e.value))}Array.isArray(a)?t.push(...a):t.push(a)}}}return t},applyData:tZ,definitionById:r,footnoteById:a,footnoteCounts:o,footnoteOrder:[],handlers:i,one:function(e,t){let n=e.type,r=s.handlers[n];if(tH.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tP(n);return r.children=s.all(e),r}return tP(e)}let a=s.options.unknownHandler||tY;return a(s,e,t)},options:n,patch:t$,wrap:tW};return(0,tR.Vn)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:a,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s}(e,t),r=n.one(e,void 0),a=function(e){let t="string"==typeof e.o
12ptions.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tL,r=e.options.footnoteBackLabel||tN,a=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let a=e.footnoteById.get(e.footnoteOrder[l]);if(!a)continue;let o=e.all(a),i=String(a.identifier).toUpperCase(),u=tA(i.toLowerCase()),c=0,d=[],m=e.footnoteCounts.get(i);for(;void 0!==m&&++c<=m;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=o[o.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else o.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(a,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...tP(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&((0,o.ok)("children"in i),i.children.push({type:"text",value:"\n"},a)),i}function tG(e,t){return e&&"run"in e?async function(n,r){let a=tK(n,{file:r,...t});await e.run(a,r)}:function(n,r){return tK(n,{file:r,...e||t})}}function tJ(e){if(e)throw e}var tQ=n(94470);function tX(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}class t0 extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",a={},o=!1;if(t&&(a="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!a.cause&&e&&(o=!0,r=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?a.ruleId=n:(a.source=n.slice(0,e),a.ruleId=n.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){let e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}let i=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=q(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}t0.prototype.file="",t0.prototype.name="",t0.prototype.reason="",t0.prototype.message="",t0.prototype.stack="",t0.prototype.column=void 0,t0.prototype.line=void 0,t0.prototype.ancestors=void 0,t0.prototype.cause=void 0,t0.prototype.fatal=void 0,t0.prototype.place=void 0,t0.prototype.ruleId=void 0,t0.prototype.source=void 0;let t1={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');t2(e);let r=0,a=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,a=i));return r===a?a=i:a<0&&(a=e.length),e.slice(r,a)},dirname:function(e){let t;if(t2(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;t2(e);let n=e.length,r=-1,a=0,o=-1,i=0;for(;n--;){let s=e.codePointAt(n);
12if(47===s){if(t){a=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1)}return o<0||r<0||0===i||1===i&&o===r-1&&o===a+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)t2(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){t2(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,a="",o=0,i=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(i===l-1||1===s);else if(i!==l-1&&2===s){if(a.length<2||2!==o||46!==a.codePointAt(a.length-1)||46!==a.codePointAt(a.length-2)){if(a.length>2){if((r=a.lastIndexOf("/"))!==a.length-1){r<0?(a="",o=0):o=(a=a.slice(0,r)).length-1-a.lastIndexOf("/"),i=l,s=0;continue}}else if(a.length>0){a="",o=0,i=l,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,l):a=e.slice(i+1,l),o=l-i-1;i=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function t2(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let t3={cwd:function(){return"/"}};function t4(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let t9=["history","path","basename","stem","extname","dirname"];class t6{constructor(e){let t,n;t=e?t4(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":t3.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<t9.length;){let e=t9[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)t9.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?t1.basename(this.path):void 0}set basename(e){t5(e,"basename"),t8(e,"basename"),this.path=t1.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?t1.dirname(this.path):void 0}set dirname(e){t7(this.basename,"dirname"),this.path=t1.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?t1.extname(this.path):void 0}set extname(e){if(t8(e,"extname"),t7(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=t1.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){t4(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!t4(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),t5(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?t1.basename(this.path,this.extname):void 0}set stem(e){t5(e,"stem"),t8(e,"stem"),this.path=t1.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new t0(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;let t=new TextDecoder(e||void 0);return t.decode(this.value)}}function t8(e,t){if(e&&e.includes(t1.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+t1.sep+"`")}function t5(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function t7(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let ne=function(e){let t=this.constructor,n=t.prototype,r=n[e],a=function(){return r.apply(a,arguments)};return Object.setPrototypeOf(a,n),a},nt={}.hasOwnProperty;
12class nn extends ne{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function a(o,...i){let s=e[++n],l=-1;if(o){r(o);return}for(;++l<t.length;)(null===i[l]||void 0===i[l])&&(i[l]=t[l]);t=i,s?(function(e,t){let n;return function(...t){let o;let i=e.length>t.length;i&&t.push(r);try{o=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(o&&o.then&&"function"==typeof o.then?o.then(a,r):o instanceof Error?r(o):a(o))};function r(e,...a){n||(n=!0,t(e,...a))}function a(e){r(null,e)}})(s,a)(...i):r(null,...i)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new nn,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(tQ(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(ni("data",this.frozen),this.namespace[e]=t,this):nt.call(this.namespace,e)&&this.namespace[e]||void 0:e?(ni("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=nu(e),n=this.parser||this.Parser;return na("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),na("process",this.parser||this.Parser),no("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,a){let i=nu(e),s=n.parse(i);function l(e,n){e||!n?a(e):r?r(n):((0,o.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(s,i,function(e,t,r){if(e||!t||!r)return l(e);let a=n.stringify(t,r);"string"==typeof a||a&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=a:r.result=a,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),na("processSync",this.parser||this.Parser),no("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,tJ(e),t=r}),nl("processSync","process",n),(0,o.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){ns(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,i){(0,o.ok)("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let s=nu(t);r.run(e,s,function(t,r,s){let l=r||e;t?i(t):a?a(l):((0,o.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){tJ(e),n=t,r=!0}),nl("runSync","run",r),(0,o.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=nu(t),r=this.compiler||this.Compiler;return no("stringify",r),ns(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(ni("use",this.frozen),null==e);else if("function"==typeof e)i(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=tQ(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){let n=e[t];!function(e){if("function"==typeof e)i(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;i(t,n)}else a(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function i(e,t){let r=-1,a=-1;for(;++r<n.length;)if(n[r][0]===e){a=r;break}if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,i=n[a][1];tX(i)&&tX(r)&&(r=tQ(!0,i,r)),n[a]=[e,r,...o]}}}}let nr=new nn().freeze();function na(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function no(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function ni(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ns(e){if(!tX(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nl(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nu(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new t6(e)}let nc=[],nd={allowDangerousHtml:!0},nm=/^(https?|ircs?|mailto|xmpp)$/i,np=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nf(e){let t=function(e){let t=e.rehypePlugins||nc,n=e.remarkPlugins||nc,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nd}:nd,a=nr().use(tE).use(n).use(tG,r).use(t);return a}(e),n=function(e){let t=e.children||"",n=new t6;return"string"==typeof t?n.value=t:(0,o.t1)("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,u=t.urlTransform||nh;for(let e of np)Object.hasOwn(t,e.from)&&(0,o.t1)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&i&&(0,o.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),(0,tR.Vn)(e,function(e,t,a){if("raw"===e.type&&a&&"number"==typeof t)return s?a.children.splice(t,1):a.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in em)if(Object.hasOwn(em,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=em[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=u(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!o&&r&&"number"==typeof t&&(o=!r(e,t,a)),o&&a&&"number"==typeof t)return l&&e.children?a.children.splice(t,1,...e.children):a.children.splice(t,1),t}}),function(e,t){var n,r,a;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let i=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,o=function(e,t,r,a){let o=Array.isArray(r.children),s=Y(e);return n(t,r,a,o,{columnNumber:s?s.column-1:void 0,fileName:i,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
12if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,a=t.jsxs,o=function(e,t,n,o){let i=Array.isArray(n.children),s=i?a:r;return o?s(t,n,o):s(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?j:R,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=eo(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(e,{Fragment:ep.Fragment,components:a,ignoreInvalidStyle:!0,jsx:ep.jsx,jsxs:ep.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function nh(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return -1===t||-1!==a&&t>a||-1!==n&&t>n||-1!==r&&t>r||nm.test(e.slice(0,t))?e:""}},96093:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=function(e){if(null==e)return o;if("function"==typeof e)return a(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return a(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):a(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return a(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function a(e){return function(t,n,r){var a;return!!(null!==(a=t)&&"object"==typeof a&&"type"in a&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return o},S4:function(){return i}});var r=n(96093);let a=[],o=!1;function i(e,t,n,i){let s;"function"==typeof t&&"function"!=typeof n?(i=n,n=t):s=t;let l=(0,r.O)(s),u=i?-1:1;(function e(r,s,c){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(m,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return m;function m(){var d;let m,p,f,h=a;if((!t||l(r,s,c[c.length-1]||void 0))&&(h=Array.isArray(d=n(r,c))?d:"number"==typeof d?[!0,d]:null==d?a:[d])[0]===o)return h;if("children"in r&&r.children&&r.children&&"skip"!==h[0])for(p=(i?r.children.length:-1)+u,f=c.concat(r);p>-1&&p<r.children.length;){let t=r.children[p];if((m=e(t,p,f)())[0]===o)return m;p="number"==typeof m[1]?m[1]:p+u}return h}})(e,void 0,[])()}},21623:function(e,t,n){"use strict";n.d(t,{Vn:function(){return a}});var r=n(88718);function a(e,t,n,a){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=a),(0,r.S4)(e,i,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},o)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.