PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.11.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.11.0
2.11.0 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 All 78 releases
← All changes | assets/start.js +1 -1 1.0.982.11.0 View file →
@@ -1 +1 @@
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"));
1 +function ut(n,m=""){let e={};return Object.keys(n).forEach(t=>{typeof n[t]=="object"?e=Object.assign(e,ut(n[t],`${m}[${t}]`)):e[`${m}[${t}]`]=n[t]}),e}function St(n,m,e,t,c){window.fluentApiLogger&&(e.query_timestamp&&delete e.query_timestamp,window.fluentApiLogger.logRequest({url:n,method:m,payload:JSON.parse(JSON.stringify(e)),response:t,status:c}))}const tt=function(n,m,e={}){const t=`${window.fluentComAdmin.rest.url}/${m}`,c={"X-WP-Nonce":window.fluentComAdmin.rest.nonce};return["PUT","PATCH","DELETE"].indexOf(n.toUpperCase())!==-1&&(c["X-HTTP-Method-Override"]=n,n="POST"),e.query_timestamp=Date.now(),new Promise((v,r)=>{const o=new XMLHttpRequest;let i=t;if(n.toUpperCase()==="GET"){let s={};Object.keys(e).forEach(S=>{e[S]===null||e[S]===!1?delete e[S]:typeof e[S]=="object"?s=Object.assign(s,ut(e[S],S)):s[S]=e[S]});let h=new URLSearchParams(s).toString();i.indexOf("?")!==-1?i+="&"+h:i+="?"+h}o.open(n,i,!0),Object.keys(c).forEach(s=>{o.setRequestHeader(s,c[s])}),o.onload=function(){let s;try{s=JSON.parse(o.responseText)}catch{s=null}St(t,c["X-HTTP-Method-Override"]?c["X-HTTP-Method-Override"]:n,e,s,o.status),this.status>=200&&this.status<300?v(s):s?(typeof s=="object"&&(s.xhr_status=o.status),s.code=="rest_cookie_invalid_nonce"&&document.dispatchEvent(new CustomEvent("fcom_renew_rest_nonce",{detail:s})),r(s)):(window.fluentFrameworkApp.$notify({message:window.fluentFrameworkApp.$t("Unexpected error from server. Please check browser console. %1$sClick to view details.%2$s",'<button class="el-button el-button--small el-button--danger">',"</button>"),type:"error",dangerouslyUseHTMLString:!0,customClass:"fc_bottom-right",position:"bottom-right",onClick:()=>{window.fluentFrameworkApp.$messageBox.alert(o.responseText,window.fluentFrameworkApp.$t("Error Details"),{customStyle:{maxWidth:"60%"}})},duration:1e4}),console.info("Your server firewall blocked the request or it's a plugin conflict. Please check the detailed error."),console.log({status:o.status,statusText:o.statusText,responseText:o.responseText}))},o.onerror=function(){console.info("Your server firewall blocked the request or it's a plugin conflict. Please check the detailed error."),console.log({status:o.status,statusText:o.statusText,responseText:o.responseText}),r({status:o.status,statusText:o.statusText})},n.toUpperCase()==="GET"?o.send():(o.setRequestHeader("Content-Type","application/json;charset=UTF-8"),o.send(JSON.stringify(e)))})},Tt=function(n,m,e={}){const t=window.fluentComAdmin.ajaxurl;return e.query_timestamp=Date.now(),e.action=m,new Promise((c,v)=>{const r=new XMLHttpRequest;let o=t;if(n.toUpperCase()==="GET"){let i={};Object.keys(e).forEach(h=>{e[h]===null||e[h]===!1?delete e[h]:typeof e[h]=="object"?i=Object.assign(i,ut(e[h],h)):i[h]=e[h]});let s=new URLSearchParams(i).toString();o.indexOf("?")!==-1?o+="&"+s:o+="?"+s}r.open(n,o,!0),r.onload=function(){if(this.status>=200&&this.status<300)c(JSON.parse(r.responseText));else{let i;try{i=JSON.parse(r.responseText)}catch{i=null}v(i)}},r.onerror=function(){v({status:r.status,statusText:r.statusText})},n.toUpperCase()==="GET"?r.send():(r.setRequestHeader("Content-Type","application/json;charset=UTF-8"),r.send(JSON.stringify(e)))})},Ot={get(n,m={}){return tt("GET",n,m)},post(n,m={}){return tt("POST",n,m)},delete(n,m={}){return tt("DELETE",n,m)},put(n,m={}){return tt("PUT",n,m)},patch(n,m={}){return tt("PATCH",n,m)},uploadFile(n,m={}){const e=`${window.fluentComAdmin.rest.url}/${n}`,t={"X-WP-Nonce":window.fluentComAdmin.rest.nonce};return new Promise((c,v)=>{const r=new XMLHttpRequest;r.open("POST",e,!0),Object.keys(t).forEach(o=>{r.setRequestHeader(o,t[o])}),r.onload=function(){let o;try{o=JSON.parse(r.responseText)}catch{v({message:"Upload failed. The server returned an unexpected response."});return}this.status>=200&&this.status<300?c(o):v(o)},r.onerror=function(){v({status:r.status,statusText:r.statusText})},r.send(m)})},ajax(n,m,e={}){return Tt(n,m,e)}},K="fcom_pref";class Yt{static get(m,e=""){const t=localStorage.getItem(K);if(!t)return e;const c=JSON.parse(t);return!c||!c[m]?e:c[m]}static set(m,e){let t=localStorage.getItem(K);t?(t=JSON.parse(t),typeof t!="object"&&(t={})):t={},t[m]=e,localStorage.setItem(K,JSON.stringify(t))}static remove(m){const e=JSON.parse(localStorage.getItem(K));e&&e[m]&&(delete e[m],localStorage.setItem(K,JSON.stringify(e)))}static clear(){localStorage.removeItem(K)}}function bt(n){return{all:n=n||new Map,on:function(m,e){var t=n.get(m);t?t.push(e):n.set(m,[e])},off:function(m,e){var t=n.get(m);t&&(e?t.splice(t.indexOf(e)>>>0,1):n.set(m,[]))},emit:function(m,e){var t=n.get(m);t&&t.slice().map(function(c){c(e)}),(t=n.get("*"))&&t.slice().map(function(c){c(m,e)})}}}const _t={install:(n,m)=>{n.config.globalProperties.$eventBus=bt()}};function vt(n){return typeof n!="string"||n===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(n)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function ct(n){return typeof n!="string"||n===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(n)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(n)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function ft(n,m){return function(t,c,v,r=10){const o=n[m];if(!ct(t)||!vt(c))return;if(typeof v!="function"){console.error("The hook callback must be a function.");return}if(typeof r!="number"){console.error("If specified, the hook priority must be a number.");return}const i={callback:v,priority:r,namespace:c};if(o[t]){const s=o[t].handlers;let h;for(h=s.length;h>0&&!(r>=s[h-1].priority);h--);h===s.length?s[h]=i:s.splice(h,0,i),o.__current.forEach(S=>{S.name===t&&S.currentIndex>=h&&S.currentIndex++})}else o[t]={handlers:[i],runs:0};t!=="hookAdded"&&n.doAction("hookAdded",t,c,v,r)}}function rt(n,m,e=!1){return function(c,v){const r=n[m];if(!ct(c)||!e&&!vt(v))return;if(!r[c])return 0;let o=0;if(e)o=r[c].handlers.length,r[c]={runs:r[c].runs,handlers:[]};else{const i=r[c].handlers;for(let s=i.length-1;s>=0;s--)i[s].namespace===v&&(i.splice(s,1),o++,r.__current.forEach(h=>{h.name===c&&h.currentIndex>=s&&h.currentIndex--}))}return c!=="hookRemoved"&&n.doAction("hookRemoved",c,v),o}}function lt(n,m){return function(t,c){const v=n[m];return typeof c<"u"?t in v&&v[t].handlers.some(r=>r.namespace===c):t in v}}function dt(n,m,e=!1){return function(c,...v){const r=n[m];r[c]||(r[c]={handlers:[],runs:0}),r[c].runs++;const o=r[c].handlers;if(!o||!o.length)return e?v[0]:void 0;const i={name:c,currentIndex:0};for(r.__current.push(i);i.currentIndex<o.length;){const h=o[i.currentIndex].callback.apply(null,v);e&&(v[0]=h),i.currentIndex++}if(r.__current.pop(),e)return v[0]}}function ht(n,m){return function(){var v;var t;const c=n[m];return(t=(v=c.__current[c.__current.length-1])==null?void 0:v.name)!==null&&t!==void 0?t:null}}function mt(n,m){return function(t){const c=n[m];return typeof t>"u"?typeof c.__current[0]<"u":c.__current[0]?t===c.__current[0].name:!1}}function pt(n,m){return function(t){const c=n[m];if(ct(t))return c[t]&&c[t].runs?c[t].runs:0}}class Lt{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=ft(this,"actions"),this.addFilter=ft(this,"filters"),this.removeAction=rt(this,"actions"),this.removeFilter=rt(this,"filters"),this.hasAction=lt(this,"actions"),this.hasFilter=lt(this,"filters"),this.removeAllActions=rt(this,"actions",!0),this.removeAllFilters=rt(this,"filters",!0),this.doAction=dt(this,"actions"),this.applyFilters=dt(this,"filters",!0),this.currentAction=ht(this,"actions"),this.currentFilter=ht(this,"filters"),this.doingAction=mt(this,"actions"),this.doingFilter=mt(this,"filters"),this.didAction=pt(this,"actions"),this.didFilter=pt(this,"filters")}}function At(){return new Lt}const Ht=At(),{addAction:Ct,addFilter:Ft,removeAction:Vt,removeFilter:Nt,hasAction:Kt,hasFilter:te,removeAllActions:ee,removeAllFilters:ne,doAction:Ut,applyFilters:Et,currentAction:re,currentFilter:se,doingAction:ie,doingFilter:oe,didAction:ae,didFilter:ue,actions:ce,filters:fe}=Ht;var Q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var $t={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){var e=1e3,t=6e4,c=36e5,v="millisecond",r="second",o="minute",i="hour",s="day",h="week",S="month",b="quarter",L="year",T="date",d="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|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,y={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($){var f=["th","st","nd","rd"],a=$%100;return"["+$+(f[(a-20)%10]||f[a]||f[0])+"]"}},w=function($,f,a){var p=String($);return!p||p.length>=f?$:""+Array(f+1-p.length).join(a)+$},A={s:w,z:function($){var f=-$.utcOffset(),a=Math.abs(f),p=Math.floor(a/60),l=a%60;return(f<=0?"+":"-")+w(p,2,"0")+":"+w(l,2,"0")},m:function $(f,a){if(f.date()<a.date())return-$(a,f);var p=12*(a.year()-f.year())+(a.month()-f.month()),l=f.clone().add(p,S),M=a-l<0,D=f.clone().add(p+(M?-1:1),S);return+(-(p+(a-l)/(M?l-D:D-l))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:S,y:L,w:h,d:s,D:T,h:i,m:o,s:r,ms:v,Q:b}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},O="en",H={};H[O]=y;var C="$isDayjsObject",F=function($){return $ instanceof k||!(!$||!$[C])},E=function $(f,a,p){var l;if(!f)return O;if(typeof f=="string"){var M=f.toLowerCase();H[M]&&(l=M),a&&(H[M]=a,l=M);var D=f.split("-");if(!l&&D.length>1)return $(D[0])}else{var Y=f.name;H[Y]=f,l=Y}return!p&&l&&(O=l),l||!p&&O},_=function($,f){if(F($))return $.clone();var a=typeof f=="object"?f:{};return a.date=$,a.args=arguments,new k(a)},x=A;x.l=E,x.i=F,x.w=function($,f){return _($,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var k=function(){function $(a){this.$L=E(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[C]=!0}var f=$.prototype;return f.parse=function(a){this.$d=function(p){var l=p.date,M=p.utc;if(l===null)return new Date(NaN);if(x.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var D=l.match(u);if(D){var Y=D[2]-1||0,U=(D[7]||"0").substring(0,3);return M?new Date(Date.UTC(D[1],Y,D[3]||1,D[4]||0,D[5]||0,D[6]||0,U)):new Date(D[1],Y,D[3]||1,D[4]||0,D[5]||0,D[6]||0,U)}}return new Date(l)}(a),this.init()},f.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},f.$utils=function(){return x},f.isValid=function(){return this.$d.toString()!==d},f.isSame=function(a,p){var l=_(a);return this.startOf(p)<=l&&l<=this.endOf(p)},f.isAfter=function(a,p){return _(a)<this.startOf(p)},f.isBefore=function(a,p){return this.endOf(p)<_(a)},f.$g=function(a,p,l){return x.u(a)?this[p]:this.set(l,a)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(a,p){var l=this,M=!!x.u(p)||p,D=x.p(a),Y=function(q,P){var R=x.w(l.$u?Date.UTC(l.$y,P,q):new Date(l.$y,P,q),l);return M?R:R.endOf(s)},U=function(q,P){return x.w(l.toDate()[q].apply(l.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(P)),l)},z=this.$W,j=this.$M,Z=this.$D,X="set"+(this.$u?"UTC":"");switch(D){case L:return M?Y(1,0):Y(31,11);case S:return M?Y(1,j):Y(0,j+1);case h:var J=this.$locale().weekStart||0,B=(z<J?z+7:z)-J;return Y(M?Z-B:Z+(6-B),j);case s:case T:return U(X+"Hours",0);case i:return U(X+"Minutes",1);case o:return U(X+"Seconds",2);case r:return U(X+"Milliseconds",3);default:return this.clone()}},f.endOf=function(a){return this.startOf(a,!1)},f.$set=function(a,p){var l,M=x.p(a),D="set"+(this.$u?"UTC":""),Y=(l={},l[s]=D+"Date",l[T]=D+"Date",l[S]=D+"Month",l[L]=D+"FullYear",l[i]=D+"Hours",l[o]=D+"Minutes",l[r]=D+"Seconds",l[v]=D+"Milliseconds",l)[M],U=M===s?this.$D+(p-this.$W):p;if(M===S||M===L){var z=this.clone().set(T,1);z.$d[Y](U),z.init(),this.$d=z.set(T,Math.min(this.$D,z.daysInMonth())).$d}else Y&&this.$d[Y](U);return this.init(),this},f.set=function(a,p){return this.clone().$set(a,p)},f.get=function(a){return this[x.p(a)]()},f.add=function(a,p){var l,M=this;a=Number(a);var D=x.p(p),Y=function(j){var Z=_(M);return x.w(Z.date(Z.date()+Math.round(j*a)),M)};if(D===S)return this.set(S,this.$M+a);if(D===L)return this.set(L,this.$y+a);if(D===s)return Y(1);if(D===h)return Y(7);var U=(l={},l[o]=t,l[i]=c,l[r]=e,l)[D]||1,z=this.$d.getTime()+a*U;return x.w(z,this)},f.subtract=function(a,p){return this.add(-1*a,p)},f.format=function(a){var p=this,l=this.$locale();if(!this.isValid())return l.invalidDate||d;var M=a||"YYYY-MM-DDTHH:mm:ssZ",D=x.z(this),Y=this.$H,U=this.$m,z=this.$M,j=l.weekdays,Z=l.months,X=l.meridiem,J=function(P,R,W,G){return P&&(P[R]||P(p,M))||W[R].slice(0,G)},B=function(P){return x.s(Y%12||12,P,"0")},q=X||function(P,R,W){var G=P<12?"AM":"PM";return W?G.toLowerCase():G};return M.replace(g,function(P,R){return R||function(W){switch(W){case"YY":return String(p.$y).slice(-2);case"YYYY":return x.s(p.$y,4,"0");case"M":return z+1;case"MM":return x.s(z+1,2,"0");case"MMM":return J(l.monthsShort,z,Z,3);case"MMMM":return J(Z,z);case"D":return p.$D;case"DD":return x.s(p.$D,2,"0");case"d":return String(p.$W);case"dd":return J(l.weekdaysMin,p.$W,j,2);case"ddd":return J(l.weekdaysShort,p.$W,j,3);case"dddd":return j[p.$W];case"H":return String(Y);case"HH":return x.s(Y,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return q(Y,U,!0);case"A":return q(Y,U,!1);case"m":return String(U);case"mm":return x.s(U,2,"0");case"s":return String(p.$s);case"ss":return x.s(p.$s,2,"0");case"SSS":return x.s(p.$ms,3,"0");case"Z":return D}return null}(P)||D.replace(":","")})},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(a,p,l){var M,D=this,Y=x.p(p),U=_(a),z=(U.utcOffset()-this.utcOffset())*t,j=this-U,Z=function(){return x.m(D,U)};switch(Y){case L:M=Z()/12;break;case S:M=Z();break;case b:M=Z()/3;break;case h:M=(j-z)/6048e5;break;case s:M=(j-z)/864e5;break;case i:M=j/c;break;case o:M=j/t;break;case r:M=j/e;break;default:M=j}return l?M:x.a(M)},f.daysInMonth=function(){return this.endOf(S).$D},f.$locale=function(){return H[this.$L]},f.locale=function(a,p){if(!a)return this.$L;var l=this.clone(),M=E(a,p,!0);return M&&(l.$L=M),l},f.clone=function(){return x.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},$}(),I=k.prototype;return _.prototype=I,[["$ms",v],["$s",r],["$m",o],["$H",i],["$W",s],["$M",S],["$y",L],["$D",T]].forEach(function($){I[$[1]]=function(f){return this.$g(f,$[0],$[1])}}),_.extend=function($,f){return $.$i||($(f,k,_),$.$i=!0),_},_.locale=E,_.isDayjs=F,_.unix=function($){return _(1e3*$)},_.en=H[O],_.Ls=H,_.p={},_})})($t);var zt=$t.exports;const N=V(zt);var gt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){return function(e,t,c){e=e||{};var v=t.prototype,r={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(s,h,S,b){return v.fromToBase(s,h,S,b)}c.en.relativeTime=r,v.fromToBase=function(s,h,S,b,L){for(var T,d,u,g=S.$locale().relativeTime||r,y=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"}],w=y.length,A=0;A<w;A+=1){var O=y[A];O.d&&(T=b?c(s).diff(S,O.d,!0):S.diff(s,O.d,!0));var H=(e.rounding||Math.round)(Math.abs(T));if(u=T>0,H<=O.r||!O.r){H<=1&&A>0&&(O=y[A-1]);var C=g[O.l];L&&(H=L(""+H)),d=typeof C=="string"?C.replace("%d",H):C(H,h,O.l,u);break}}if(h)return d;var F=u?g.future:g.past;return typeof F=="function"?F(d):F.replace("%s",d)},v.to=function(s,h){return o(s,h,this,!0)},v.from=function(s,h){return o(s,h,this)};var i=function(s){return s.$u?c.utc():c()};v.toNow=function(s){return this.to(i(this),s)},v.fromNow=function(s){return this.from(i(this),s)}}})})(gt);var jt=gt.exports;const Pt=V(jt);var Mt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,c=/([+-]|\d\d)/g;return function(v,r,o){var i=r.prototype;o.utc=function(d){var u={date:d,utc:!0,args:arguments};return new r(u)},i.utc=function(d){var u=o(this.toDate(),{locale:this.$L,utc:!0});return d?u.add(this.utcOffset(),e):u},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=i.parse;i.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),s.call(this,d)};var h=i.init;i.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else h.call(this)};var S=i.utcOffset;i.utcOffset=function(d,u){var g=this.$utils().u;if(g(d))return this.$u?0:g(this.$offset)?S.call(this):this.$offset;if(typeof d=="string"&&(d=function(O){O===void 0&&(O="");var H=O.match(t);if(!H)return null;var C=(""+H[0]).match(c)||["-",0,0],F=C[0],E=60*+C[1]+ +C[2];return E===0?0:F==="+"?E:-E}(d),d===null))return this;var y=Math.abs(d)<=16?60*d:d;if(y===0)return this.utc(u);var w=this.clone();if(u)return w.$offset=y,w.$u=!1,w;var A=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(y+A,e)).$offset=y,w.$x.$localOffset=A,w};var b=i.format;i.format=function(d){var u=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return b.call(this,u)},i.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var L=i.toDate;i.toDate=function(d){return d==="s"&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var T=i.diff;i.diff=function(d,u,g){if(d&&this.$u===d.$u)return T.call(this,d,u,g);var y=this.local(),w=o(d).local();return T.call(y,w,u,g)}}})})(Mt);var kt=Mt.exports;const It=V(kt);var yt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){var e={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(t,c,v){var r=c.prototype,o=r.format;v.en.formats=e,r.format=function(i){i===void 0&&(i="YYYY-MM-DDTHH:mm:ssZ");var s=this.$locale().formats,h=function(S,b){return S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(L,T,d){var u=d&&d.toUpperCase();return T||b[d]||e[d]||b[u].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,y,w){return y||w.slice(1)})})}(i,s===void 0?{}:s);return o.call(this,h)}}})})(yt);var Zt=yt.exports;const Rt=V(Zt);var wt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){function e(){return e=Object.assign||function(t){for(var c=1;c<arguments.length;c++){var v=arguments[c];for(var r in v)Object.prototype.hasOwnProperty.call(v,r)&&(t[r]=v[r])}return t},e.apply(this,arguments)}return function(t,c,v){v.updateLocale=function(r,o){var i=v.Ls[r];if(i)return(o?Object.keys(o):[]).forEach(function(s){i[s]&&o[s]&&typeof i[s]=="object"&&typeof o[s]=="object"&&!Array.isArray(i[s])?i[s]=e({},i[s],o[s]):i[s]=o[s]}),i}}})})(wt);var qt=wt.exports;const Jt=V(qt);var Dt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(c,v,r){var o,i=function(b,L,T){T===void 0&&(T={});var d=new Date(b),u=function(g,y){y===void 0&&(y={});var w=y.timeZoneName||"short",A=g+"|"+w,O=t[A];return O||(O=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:g,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:w}),t[A]=O),O}(L,T);return u.formatToParts(d)},s=function(b,L){for(var T=i(b,L),d=[],u=0;u<T.length;u+=1){var g=T[u],y=g.type,w=g.value,A=e[y];A>=0&&(d[A]=parseInt(w,10))}var O=d[3],H=O===24?0:O,C=d[0]+"-"+d[1]+"-"+d[2]+" "+H+":"+d[4]+":"+d[5]+":000",F=+b;return(r.utc(C).valueOf()-(F-=F%1e3))/6e4},h=v.prototype;h.tz=function(b,L){b===void 0&&(b=o);var T,d=this.utcOffset(),u=this.toDate(),g=u.toLocaleString("en-US",{timeZone:b}),y=Math.round((u-new Date(g))/1e3/60),w=15*-Math.round(u.getTimezoneOffset()/15)-y;if(!Number(w))T=this.utcOffset(0,L);else if(T=r(g,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(w,!0),L){var A=T.utcOffset();T=T.add(d-A,"minute")}return T.$x.$timezone=b,T},h.offsetName=function(b){var L=this.$x.$timezone||r.tz.guess(),T=i(this.valueOf(),L,{timeZoneName:b}).find(function(d){return d.type.toLowerCase()==="timezonename"});return T&&T.value};var S=h.startOf;h.startOf=function(b,L){if(!this.$x||!this.$x.$timezone)return S.call(this,b,L);var T=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return S.call(T,b,L).tz(this.$x.$timezone,!0)},r.tz=function(b,L,T){var d=T&&L,u=T||L||o,g=s(+r(),u);if(typeof b!="string")return r(b).tz(u);var y=function(H,C,F){var E=H-60*C*1e3,_=s(E,F);if(C===_)return[E,C];var x=s(E-=60*(_-C)*1e3,F);return _===x?[E,_]:[H-60*Math.min(_,x)*1e3,Math.max(_,x)]}(r.utc(b,d).valueOf(),g,u),w=y[0],A=y[1],O=r(w).utcOffset(A);return O.$x.$timezone=u,O},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(b){o=b}}})})(Dt);var Wt=Dt.exports;const Xt=V(Wt);var xt={exports:{}};(function(n,m){(function(e,t){n.exports=t()})(Q,function(){var e={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"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,c=/\d/,v=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,i={},s=function(u){return(u=+u)+(u>68?1900:2e3)},h=function(u){return function(g){this[u]=+g}},S=[/[+-]\d\d:?(\d\d)?|Z/,function(u){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var y=g.match(/([+-]|\d\d)/g),w=60*y[1]+(+y[2]||0);return w===0?0:y[0]==="+"?-w:w}(u)}],b=function(u){var g=i[u];return g&&(g.indexOf?g:g.s.concat(g.f))},L=function(u,g){var y,w=i.meridiem;if(w){for(var A=1;A<=24;A+=1)if(u.indexOf(w(A,0,g))>-1){y=A>12;break}}else y=u===(g?"pm":"PM");return y},T={A:[o,function(u){this.afternoon=L(u,!1)}],a:[o,function(u){this.afternoon=L(u,!0)}],Q:[c,function(u){this.month=3*(u-1)+1}],S:[c,function(u){this.milliseconds=100*+u}],SS:[v,function(u){this.milliseconds=10*+u}],SSS:[/\d{3}/,function(u){this.milliseconds=+u}],s:[r,h("seconds")],ss:[r,h("seconds")],m:[r,h("minutes")],mm:[r,h("minutes")],H:[r,h("hours")],h:[r,h("hours")],HH:[r,h("hours")],hh:[r,h("hours")],D:[r,h("day")],DD:[v,h("day")],Do:[o,function(u){var g=i.ordinal,y=u.match(/\d+/);if(this.day=y[0],g)for(var w=1;w<=31;w+=1)g(w).replace(/\[|\]/g,"")===u&&(this.day=w)}],w:[r,h("week")],ww:[v,h("week")],M:[r,h("month")],MM:[v,h("month")],MMM:[o,function(u){var g=b("months"),y=(b("monthsShort")||g.map(function(w){return w.slice(0,3)})).indexOf(u)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[o,function(u){var g=b("months").indexOf(u)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,h("year")],YY:[v,function(u){this.year=s(u)}],YYYY:[/\d{4}/,h("year")],Z:S,ZZ:S};function d(u){var g,y;g=u,y=i&&i.formats;for(var w=(u=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,x,k){var I=k&&k.toUpperCase();return x||y[k]||e[k]||y[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function($,f,a){return f||a.slice(1)})})).match(t),A=w.length,O=0;O<A;O+=1){var H=w[O],C=T[H],F=C&&C[0],E=C&&C[1];w[O]=E?{regex:F,parser:E}:H.replace(/^\[|\]$/g,"")}return function(_){for(var x={},k=0,I=0;k<A;k+=1){var $=w[k];if(typeof $=="string")I+=$.length;else{var f=$.regex,a=$.parser,p=_.slice(I),l=f.exec(p)[0];a.call(x,l),_=_.replace(l,"")}}return function(M){var D=M.afternoon;if(D!==void 0){var Y=M.hours;D?Y<12&&(M.hours+=12):Y===12&&(M.hours=0),delete M.afternoon}}(x),x}}return function(u,g,y){y.p.customParseFormat=!0,u&&u.parseTwoDigitYear&&(s=u.parseTwoDigitYear);var w=g.prototype,A=w.parse;w.parse=function(O){var H=O.date,C=O.utc,F=O.args;this.$u=C;var E=F[1];if(typeof E=="string"){var _=F[2]===!0,x=F[3]===!0,k=_||x,I=F[2];x&&(I=F[2]),i=this.$locale(),!_&&I&&(i=y.Ls[I]),this.$d=function(p,l,M,D){try{if(["x","X"].indexOf(l)>-1)return new Date((l==="X"?1e3:1)*p);var Y=d(l)(p),U=Y.year,z=Y.month,j=Y.day,Z=Y.hours,X=Y.minutes,J=Y.seconds,B=Y.milliseconds,q=Y.zone,P=Y.week,R=new Date,W=j||(U||z?1:R.getDate()),G=U||R.getFullYear(),et=0;U&&!z||(et=z>0?z-1:R.getMonth());var nt,st=Z||0,it=X||0,ot=J||0,at=B||0;return q?new Date(Date.UTC(G,et,W,st,it,ot,at+60*q.offset*1e3)):M?new Date(Date.UTC(G,et,W,st,it,ot,at)):(nt=new Date(G,et,W,st,it,ot,at),P&&(nt=D(nt).week(P).toDate()),nt)}catch{return new Date("")}}(H,E,C,y),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),k&&H!=this.format(E)&&(this.$d=new Date("")),i={}}else if(E instanceof Array)for(var $=E.length,f=1;f<=$;f+=1){F[1]=E[f-1];var a=y.apply(this,F);if(a.isValid()){this.$d=a.$d,this.$L=a.$L,this.init();break}f===$&&(this.$d=new Date(""))}else A.call(this,O)}}})})(xt);var Gt=xt.exports;const Bt=V(Gt);N.extend(It);N.extend(Rt);N.extend(Pt);N.extend(Jt);N.extend(Xt);N.extend(Bt);window.dayjs=N;window.FluentCommunityUtil={Rest:Ot,Storage:Yt,eventBus:_t,hooks:{addFilter:Ft,addAction:Ct,applyFilters:Et,doAction:Ut},handleSearchClick(n,m){n.preventDefault(),document.dispatchEvent(new CustomEvent("doCustomGlobalSearch",{detail:{search:n.target.textContent}}))}};document.dispatchEvent(new Event("fluentCommunityUtilReady"));