PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 1.0.99
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v1.0.99
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
fluent-community / assets / start.js

start.js in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 1.0.99, at assets/start.js

2 lines 18.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 function ct(t,c=""){let r={};return Object.keys(t).forEach(e=>{typeof t[e]=="object"?r=Object.assign(r,ct(t[e],`${c}[${e}]`)):r[`${c}[${e}]`]=t[e]}),r}const G=function(t,c,r={}){const e=`${window.fluentComAdmin.rest.url}/${c}`,o={"X-WP-Nonce":window.fluentComAdmin.rest.nonce};return["PUT","PATCH","DELETE"].indexOf(t.toUpperCase())!==-1&&(o["X-HTTP-Method-Override"]=t,t="POST"),r.query_timestamp=Date.now(),new Promise((v,f)=>{const u=new XMLHttpRequest;let l=e;if(t.toUpperCase()==="GET"){let a={};Object.keys(r).forEach(M=>{r[M]===null||r[M]===!1?delete r[M]:typeof r[M]=="object"?a=Object.assign(a,ct(r[M],M)):a[M]=r[M]});let g=new URLSearchParams(a).toString();l.indexOf("?")!==-1?l+="&"+g:l+="?"+g}u.open(t,l,!0),Object.keys(o).forEach(a=>{u.setRequestHeader(a,o[a])}),u.onload=function(){if(this.status>=200&&this.status<300)v(JSON.parse(u.responseText));else{let a;try{a=JSON.parse(u.responseText)}catch{a=null}a?(typeof a=="object"&&(a.xhr_status=u.status),a.code=="rest_cookie_invalid_nonce"&&window.fluentFrameworkApp.$messageBox.alert("Your session has expired due to inactivity. Please refresh the page to continue.","Session Expired",{confirmButtonText:"Refresh",callback:g=>{location.reload()}}),f(a)):(window.fluentFrameworkApp.$notify({message:'Unexpected error from server. Please check browser console. <button class="el-button el-button--small el-button--danger">Click to view details.</button>',type:"error",dangerouslyUseHTMLString:!0,customClass:"fc_bottom-right",position:"bottom-right",onClick:()=>{window.fluentFrameworkApp.$messageBox(u.responseText)},duration:1e4}),console.info("Your server firewall blocked the request or it's a plugin conflict. Please check the detailed error."),console.log({status:u.status,statusText:u.statusText,responseText:u.responseText}))}},u.onerror=function(){console.info("Your server firewall blocked the request or it's a plugin conflict. Please check the detailed error."),console.log({status:u.status,statusText:u.statusText,responseText:u.responseText}),f({status:u.status,statusText:u.statusText})},t.toUpperCase()==="GET"?u.send():(u.setRequestHeader("Content-Type","application/json;charset=UTF-8"),u.send(JSON.stringify(r)))})},mt={get(t,c={}){return G("GET",t,c)},post(t,c={}){return G("POST",t,c)},delete(t,c={}){return G("DELETE",t,c)},put(t,c={}){return G("PUT",t,c)},patch(t,c={}){return G("PATCH",t,c)},uploadFile(t,c={}){const r=`${window.fluentComAdmin.rest.url}/${t}`,e={"X-WP-Nonce":window.fluentComAdmin.rest.nonce};return new Promise((o,v)=>{const f=new XMLHttpRequest;f.open("POST",r,!0),Object.keys(e).forEach(u=>{f.setRequestHeader(u,e[u])}),f.onload=function(){this.status>=200&&this.status<300?o(JSON.parse(f.responseText)):v(JSON.parse(f.responseText))},f.onerror=function(){v({status:f.status,statusText:f.statusText})},f.send(c)})}},q="fcom_pref";class vt{static get(c,r=""){const e=localStorage.getItem(q);if(!e)return r;const o=JSON.parse(e);return!o||!o[c]?r:o[c]}static set(c,r){let e=localStorage.getItem(q);e?(e=JSON.parse(e),typeof e!="object"&&(e={})):e={},e[c]=r,localStorage.setItem(q,JSON.stringify(e))}static remove(c){const r=JSON.parse(localStorage.getItem(q));r&&r[c]&&(delete r[c],localStorage.setItem(q,JSON.stringify(r)))}static clear(){localStorage.removeItem(q)}}function gt(t){return{all:t=t||new Map,on:function(c,r){var e=t.get(c);e?e.push(r):t.set(c,[r])},off:function(c,r){var e=t.get(c);e&&(r?e.splice(e.indexOf(r)>>>0,1):t.set(c,[]))},emit:function(c,r){var e=t.get(c);e&&e.slice().map(function(o){o(r)}),(e=t.get("*"))&&e.slice().map(function(o){o(c,r)})}}}const Mt={install:(t,c)=>{t.config.globalProperties.$eventBus=gt()}};function ft(t){return typeof t!="string"||t===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function et(t){return typeof t!="string"||t===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function rt(t,c){return function(e,o,v,f=10){const u=t[c];if(!et(e)||!ft(o))return;if(typeof v!="function"){console.error("The hook callback must be a function.");return}if(typeof f!="number"){console.error("If specified, the hook priority must be a number.");return}const l={callback:v,priority:f,namespace:o};if(u[e]){const a=u[e].handlers;let g;for(g=a.length;g>0&&!(f>=a[g-1].priority);g--);g===a.length?a[g]=l:a.splice(g,0,l),u.__current.forEach(M=>{M.name===e&&M.currentIndex>=g&&M.currentIndex++})}else u[e]={handlers:[l],runs:0};e!=="hookAdded"&&t.doAction("hookAdded",e,o,v,f)}}function tt(t,c,r=!1){return function(o,v){const f=t[c];if(!et(o)||!r&&!ft(v))return;if(!f[o])return 0;let u=0;if(r)u=f[o].handlers.length,f[o]={runs:f[o].runs,handlers:[]};else{const l=f[o].handlers;for(let a=l.length-1;a>=0;a--)l[a].namespace===v&&(l.splice(a,1),u++,f.__current.forEach(g=>{g.name===o&&g.currentIndex>=a&&g.currentIndex--}))}return o!=="hookRemoved"&&t.doAction("hookRemoved",o,v),u}}function st(t,c){return function(e,o){const v=t[c];return typeof o<"u"?e in v&&v[e].handlers.some(f=>f.namespace===o):e in v}}function it(t,c,r=!1){return function(o,...v){const f=t[c];f[o]||(f[o]={handlers:[],runs:0}),f[o].runs++;const u=f[o].handlers;if(!u||!u.length)return r?v[0]:void 0;const l={name:o,currentIndex:0};for(f.__current.push(l);l.currentIndex<u.length;){const g=u[l.currentIndex].callback.apply(null,v);r&&(v[0]=g),l.currentIndex++}if(f.__current.pop(),r)return v[0]}}function ot(t,c){return function(){var v;var e;const o=t[c];return(e=(v=o.__current[o.__current.length-1])==null?void 0:v.name)!==null&&e!==void 0?e:null}}function ut(t,c){return function(e){const o=t[c];return typeof e>"u"?typeof o.__current[0]<"u":o.__current[0]?e===o.__current[0].name:!1}}function at(t,c){return function(e){const o=t[c];if(et(e))return o[e]&&o[e].runs?o[e].runs:0}}class yt{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=rt(this,"actions"),this.addFilter=rt(this,"filters"),this.removeAction=tt(this,"actions"),this.removeFilter=tt(this,"filters"),this.hasAction=st(this,"actions"),this.hasFilter=st(this,"filters"),this.removeAllActions=tt(this,"actions",!0),this.removeAllFilters=tt(this,"filters",!0),this.doAction=it(this,"actions"),this.applyFilters=it(this,"filters",!0),this.currentAction=ot(this,"actions"),this.currentFilter=ot(this,"filters"),this.doingAction=ut(this,"actions"),this.doingFilter=ut(this,"filters"),this.didAction=at(this,"actions"),this.didFilter=at(this,"filters")}}function St(){return new yt}const Tt=St(),{addAction:wt,addFilter:Dt,removeAction:Ut,removeFilter:kt,hasAction:jt,hasFilter:It,removeAllActions:Pt,removeAllFilters:Rt,doAction:xt,applyFilters:Ot,currentAction:Jt,currentFilter:zt,doingAction:Wt,doingFilter:qt,didAction:Zt,didFilter:Bt,actions:Gt,filters:Xt}=Tt;var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var lt={exports:{}};(function(t,c){(function(r,e){t.exports=e()})(X,function(){var r=1e3,e=6e4,o=36e5,v="millisecond",f="second",u="minute",l="hour",a="day",g="week",M="month",U="quarter",Y="year",A="date",h="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={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(p){var i=["th","st","nd","rd"],n=p%100;return"["+p+(i[(n-20)%10]||i[n]||i[0])+"]"}},b=function(p,i,n){var d=String(p);return!d||d.length>=i?p:""+Array(i+1-d.length).join(n)+p},k={s:b,z:function(p){var i=-p.utcOffset(),n=Math.abs(i),d=Math.floor(n/60),s=n%60;return(i<=0?"+":"-")+b(d,2,"0")+":"+b(s,2,"0")},m:function p(i,n){if(i.date()<n.date())return-p(n,i);var d=12*(n.year()-i.year())+(n.month()-i.month()),s=i.clone().add(d,M),$=n-s<0,m=i.clone().add(d+($?-1:1),M);return+(-(d+(n-s)/($?s-m:m-s))||0)},a:function(p){return p<0?Math.ceil(p)||0:Math.floor(p)},p:function(p){return{M,y:Y,w:g,d:a,D:A,h:l,m:u,s:f,ms:v,Q:U}[p]||String(p||"").toLowerCase().replace(/s$/,"")},u:function(p){return p===void 0}},D="en",_={};_[D]=L;var j="$isDayjsObject",I=function(p){return p instanceof Q||!(!p||!p[j])},P=function p(i,n,d){var s;if(!i)return D;if(typeof i=="string"){var $=i.toLowerCase();_[$]&&(s=$),n&&(_[$]=n,s=$);var m=i.split("-");if(!s&&m.length>1)return p(m[0])}else{var S=i.name;_[S]=i,s=S}return!d&&s&&(D=s),s||!d&&D},x=function(p,i){if(I(p))return p.clone();var n=typeof i=="object"?i:{};return n.date=p,n.args=arguments,new Q(n)},y=k;y.l=P,y.i=I,y.w=function(p,i){return x(p,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var Q=function(){function p(n){this.$L=P(n.locale,null,!0),this.parse(n),this.$x=this.$x||n.x||{},this[j]=!0}var i=p.prototype;return i.parse=function(n){this.$d=function(d){var s=d.date,$=d.utc;if(s===null)return new Date(NaN);if(y.u(s))return new Date;if(s instanceof Date)return new Date(s);if(typeof s=="string"&&!/Z$/i.test(s)){var m=s.match(w);if(m){var S=m[2]-1||0,T=(m[7]||"0").substring(0,3);return $?new Date(Date.UTC(m[1],S,m[3]||1,m[4]||0,m[5]||0,m[6]||0,T)):new Date(m[1],S,m[3]||1,m[4]||0,m[5]||0,m[6]||0,T)}}return new Date(s)}(n),this.init()},i.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},i.$utils=function(){return y},i.isValid=function(){return this.$d.toString()!==h},i.isSame=function(n,d){var s=x(n);return this.startOf(d)<=s&&s<=this.endOf(d)},i.isAfter=function(n,d){return x(n)<this.startOf(d)},i.isBefore=function(n,d){return this.endOf(d)<x(n)},i.$g=function(n,d,s){return y.u(n)?this[d]:this.set(s,n)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(n,d){var s=this,$=!!y.u(d)||d,m=y.p(n),S=function(z,C){var R=y.w(s.$u?Date.UTC(s.$y,C,z):new Date(s.$y,C,z),s);return $?R:R.endOf(a)},T=function(z,C){return y.w(s.toDate()[z].apply(s.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(C)),s)},O=this.$W,H=this.$M,E=this.$D,W="set"+(this.$u?"UTC":"");switch(m){case Y:return $?S(1,0):S(31,11);case M:return $?S(1,H):S(0,H+1);case g:var J=this.$locale().weekStart||0,Z=(O<J?O+7:O)-J;return S($?E-Z:E+(6-Z),H);case a:case A:return T(W+"Hours",0);case l:return T(W+"Minutes",1);case u:return T(W+"Seconds",2);case f:return T(W+"Milliseconds",3);default:return this.clone()}},i.endOf=function(n){return this.startOf(n,!1)},i.$set=function(n,d){var s,$=y.p(n),m="set"+(this.$u?"UTC":""),S=(s={},s[a]=m+"Date",s[A]=m+"Date",s[M]=m+"Month",s[Y]=m+"FullYear",s[l]=m+"Hours",s[u]=m+"Minutes",s[f]=m+"Seconds",s[v]=m+"Milliseconds",s)[$],T=$===a?this.$D+(d-this.$W):d;if($===M||$===Y){var O=this.clone().set(A,1);O.$d[S](T),O.init(),this.$d=O.set(A,Math.min(this.$D,O.daysInMonth())).$d}else S&&this.$d[S](T);return this.init(),this},i.set=function(n,d){return this.clone().$set(n,d)},i.get=function(n){return this[y.p(n)]()},i.add=function(n,d){var s,$=this;n=Number(n);var m=y.p(d),S=function(H){var E=x($);return y.w(E.date(E.date()+Math.round(H*n)),$)};if(m===M)return this.set(M,this.$M+n);if(m===Y)return this.set(Y,this.$y+n);if(m===a)return S(1);if(m===g)return S(7);var T=(s={},s[u]=e,s[l]=o,s[f]=r,s)[m]||1,O=this.$d.getTime()+n*T;return y.w(O,this)},i.subtract=function(n,d){return this.add(-1*n,d)},i.format=function(n){var d=this,s=this.$locale();if(!this.isValid())return s.invalidDate||h;var $=n||"YYYY-MM-DDTHH:mm:ssZ",m=y.z(this),S=this.$H,T=this.$m,O=this.$M,H=s.weekdays,E=s.months,W=s.meridiem,J=function(C,R,B,N){return C&&(C[R]||C(d,$))||B[R].slice(0,N)},Z=function(C){return y.s(S%12||12,C,"0")},z=W||function(C,R,B){var N=C<12?"AM":"PM";return B?N.toLowerCase():N};return $.replace(F,function(C,R){return R||function(B){switch(B){case"YY":return String(d.$y).slice(-2);case"YYYY":return y.s(d.$y,4,"0");case"M":return O+1;case"MM":return y.s(O+1,2,"0");case"MMM":return J(s.monthsShort,O,E,3);case"MMMM":return J(E,O);case"D":return d.$D;case"DD":return y.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return J(s.weekdaysMin,d.$W,H,2);case"ddd":return J(s.weekdaysShort,d.$W,H,3);case"dddd":return H[d.$W];case"H":return String(S);case"HH":return y.s(S,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return z(S,T,!0);case"A":return z(S,T,!1);case"m":return String(T);case"mm":return y.s(T,2,"0");case"s":return String(d.$s);case"ss":return y.s(d.$s,2,"0");case"SSS":return y.s(d.$ms,3,"0");case"Z":return m}return null}(C)||m.replace(":","")})},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(n,d,s){var $,m=this,S=y.p(d),T=x(n),O=(T.utcOffset()-this.utcOffset())*e,H=this-T,E=function(){return y.m(m,T)};switch(S){case Y:$=E()/12;break;case M:$=E();break;case U:$=E()/3;break;case g:$=(H-O)/6048e5;break;case a:$=(H-O)/864e5;break;case l:$=H/o;break;case u:$=H/e;break;case f:$=H/r;break;default:$=H}return s?$:y.a($)},i.daysInMonth=function(){return this.endOf(M).$D},i.$locale=function(){return _[this.$L]},i.locale=function(n,d){if(!n)return this.$L;var s=this.clone(),$=P(n,d,!0);return $&&(s.$L=$),s},i.clone=function(){return y.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},p}(),nt=Q.prototype;return x.prototype=nt,[["$ms",v],["$s",f],["$m",u],["$H",l],["$W",a],["$M",M],["$y",Y],["$D",A]].forEach(function(p){nt[p[1]]=function(i){return this.$g(i,p[0],p[1])}}),x.extend=function(p,i){return p.$i||(p(i,Q,x),p.$i=!0),x},x.locale=P,x.isDayjs=I,x.unix=function(p){return x(1e3*p)},x.en=_[D],x.Ls=_,x.p={},x})})(lt);var bt=lt.exports;const K=V(bt);var dt={exports:{}};(function(t,c){(function(r,e){t.exports=e()})(X,function(){return function(r,e,o){r=r||{};var v=e.prototype,f={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 u(a,g,M,U){return v.fromToBase(a,g,M,U)}o.en.relativeTime=f,v.fromToBase=function(a,g,M,U,Y){for(var A,h,w,F=M.$locale().relativeTime||f,L=r.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"}],b=L.length,k=0;k<b;k+=1){var D=L[k];D.d&&(A=U?o(a).diff(M,D.d,!0):M.diff(a,D.d,!0));var _=(r.rounding||Math.round)(Math.abs(A));if(w=A>0,_<=D.r||!D.r){_<=1&&k>0&&(D=L[k-1]);var j=F[D.l];Y&&(_=Y(""+_)),h=typeof j=="string"?j.replace("%d",_):j(_,g,D.l,w);break}}if(g)return h;var I=w?F.future:F.past;return typeof I=="function"?I(h):I.replace("%s",h)},v.to=function(a,g){return u(a,g,this,!0)},v.from=function(a,g){return u(a,g,this)};var l=function(a){return a.$u?o.utc():o()};v.toNow=function(a){return this.to(l(this),a)},v.fromNow=function(a){return this.from(l(this),a)}}})})(dt);var _t=dt.exports;const Ht=V(_t);var ht={exports:{}};(function(t,c){(function(r,e){t.exports=e()})(X,function(){var r="minute",e=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(v,f,u){var l=f.prototype;u.utc=function(h){var w={date:h,utc:!0,args:arguments};return new f(w)},l.utc=function(h){var w=u(this.toDate(),{locale:this.$L,utc:!0});return h?w.add(this.utcOffset(),r):w},l.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var a=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),a.call(this,h)};var g=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else g.call(this)};var M=l.utcOffset;l.utcOffset=function(h,w){var F=this.$utils().u;if(F(h))return this.$u?0:F(this.$offset)?M.call(this):this.$offset;if(typeof h=="string"&&(h=function(D){D===void 0&&(D="");var _=D.match(e);if(!_)return null;var j=(""+_[0]).match(o)||["-",0,0],I=j[0],P=60*+j[1]+ +j[2];return P===0?0:I==="+"?P:-P}(h),h===null))return this;var L=Math.abs(h)<=16?60*h:h,b=this;if(w)return b.$offset=L,b.$u=h===0,b;if(h!==0){var k=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(b=this.local().add(L+k,r)).$offset=L,b.$x.$localOffset=k}else b=this.utc();return b};var U=l.format;l.format=function(h){var w=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return U.call(this,w)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var Y=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():Y.call(this)};var A=l.diff;l.diff=function(h,w,F){if(h&&this.$u===h.$u)return A.call(this,h,w,F);var L=this.local(),b=u(h).local();return A.call(L,b,w,F)}}})})(ht);var At=ht.exports;const Yt=V(At);var pt={exports:{}};(function(t,c){(function(r,e){t.exports=e()})(X,function(){var r={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"};return function(e,o,v){var f=o.prototype,u=f.format;v.en.formats=r,f.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var a=this.$locale().formats,g=function(M,U){return M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Y,A,h){var w=h&&h.toUpperCase();return A||U[h]||r[h]||U[w].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,L,b){return L||b.slice(1)})})}(l,a===void 0?{}:a);return u.call(this,g)}}})})(pt);var Ct=pt.exports;const Lt=V(Ct);var $t={exports:{}};(function(t,c){(function(r,e){t.exports=e()})(X,function(){return function(r,e,o){o.updateLocale=function(v,f){var u=o.Ls[v];if(u)return(f?Object.keys(f):[]).forEach(function(l){u[l]=f[l]}),u}}})})($t);var Ft=$t.exports;const Et=V(Ft);K.extend(Yt);K.extend(Lt);K.extend(Ht);K.extend(Et);window.dayjs=K;window.FluentCommunityUtil={Rest:mt,Storage:vt,eventBus:Mt,hooks:{addFilter:Dt,addAction:wt,applyFilters:Ot,doAction:xt},handleSearchClick(t,c){t.preventDefault(),document.dispatchEvent(new CustomEvent("doCustomGlobalSearch",{detail:{search:t.target.textContent}}))}};document.dispatchEvent(new Event("fluentCommunityUtilReady"));
2