(()=>{var t={484:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",f="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|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,g={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(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},_={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()1)return t(a[0])}else{var s=e.name;v[s]=e,i=s}return!r&&i&&(b=i),i||!r&&b},$=function(t,e){if(T(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},x=_;x.l=A,x.i=T,x.w=function(t,e){return $(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function g(t){this.$L=A(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(m);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return x},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(t,e){var n=$(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return $(t)=0&&(o[d]=parseInt(u,10))}var f=o[3],p=24===f?0:f,m=o[0]+"-"+o[1]+"-"+o[2]+" "+p+":"+o[4]+":"+o[5]+":000",h=+e;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(t,e){void 0===t&&(t=o);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:t}),s=Math.round((r-new Date(a))/1e3/60),c=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-s,!0);if(e){var l=c.utcOffset();c=c.add(n-l,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(n,t,e).tz(this.$x.$timezone,!0)},i.tz=function(t,e,n){var r=n&&e,a=n||e||o,c=s(+i(),a);if("string"!=typeof t)return i(t).tz(a);var l=function(t,e,n){var r=t-60*e*1e3,i=s(r,n);if(e===i)return[r,e];var o=s(r-=60*(i-e)*1e3,n);return i===o?[r,i]:[t-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(t,r).valueOf(),c,a),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=a,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){o=t}}}()},178:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(t){return new i({date:t,utc:!0,args:arguments})},a.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var c=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?l.call(this):this.$offset;if("string"==typeof r&&(r=function(t){void 0===t&&(t="");var r=t.match(e);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+c,t)).$offset=a,s.$x.$localOffset=c}else s=this.utc();return s};var u=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return f.call(this,t,e,n);var r=this.local(),i=o(t).local();return f.call(r,i,e,n)}}}()},856:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:c,construct:l}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),c||(c=function(t,e,n){return t.apply(e,n)}),l||(l=function(t,e){return new t(...e)});const u=w(Array.prototype.forEach),d=w(Array.prototype.pop),f=w(Array.prototype.push),p=w(String.prototype.toLowerCase),m=w(String.prototype.toString),h=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),_=w(String.prototype.trim),b=w(RegExp.prototype.test),v=T(TypeError);function w(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function $(t){for(let e=0;e/gm),U=a(/\${[\w\W]*}/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),Y=a(/^aria-[\-\w]+$/),j=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i);var q=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:P,TMPLIT_EXPR:U,DATA_ATTR:F,ARIA_ATTR:Y,IS_ALLOWED_URI:j,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:B,DOCTYPE_NAME:G});const Z=function(){return"undefined"==typeof window?null:window},X=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function V(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z();const n=t=>V(t);if(n.version="3.0.8",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;let{document:r}=e;const i=r,a=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:l,Node:w,Element:T,NodeFilter:$,NamedNodeMap:H=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:P,DOMParser:U,trustedTypes:F}=e,Y=T.prototype,W=S(Y,"cloneNode"),B=S(Y,"nextSibling"),J=S(Y,"childNodes"),K=S(Y,"parentNode");if("function"==typeof l){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let Q,tt="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:rt,getElementsByTagName:it}=r,{importNode:ot}=i;let at={};n.isSupported="function"==typeof t&&"function"==typeof K&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:st,ERB_EXPR:ct,TMPLIT_EXPR:lt,DATA_ATTR:ut,ARIA_ATTR:dt,IS_SCRIPT_OR_DATA:ft,ATTR_WHITESPACE:pt}=q;let{IS_ALLOWED_URI:mt}=q,ht=null;const gt=A({},[...E,...k,...D,...N,...O]);let yt=null;const _t=A({},[...L,...R,...I,...z]);let bt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),vt=null,wt=null,Tt=!0,At=!0,$t=!1,xt=!0,St=!1,Et=!1,kt=!1,Dt=!1,Mt=!1,Nt=!1,Ct=!1,Ot=!0,Lt=!1;const Rt="user-content-";let It=!0,zt=!1,Ht={},Pt=null;const Ut=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ft=null;const Yt=A({},["audio","video","img","source","image","track"]);let jt=null;const Wt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Bt="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",qt="http://www.w3.org/1999/xhtml";let Zt=qt,Xt=!1,Vt=null;const Jt=A({},[Bt,Gt,qt],m);let Kt=null;const Qt=["application/xhtml+xml","text/html"],te="text/html";let ee=null,ne=null;const re=r.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},oe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ne||ne!==t){if(t&&"object"==typeof t||(t={}),t=x(t),Kt=-1===Qt.indexOf(t.PARSER_MEDIA_TYPE)?te:t.PARSER_MEDIA_TYPE,ee="application/xhtml+xml"===Kt?m:p,ht="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,ee):gt,yt="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,ee):_t,Vt="ALLOWED_NAMESPACES"in t?A({},t.ALLOWED_NAMESPACES,m):Jt,jt="ADD_URI_SAFE_ATTR"in t?A(x(Wt),t.ADD_URI_SAFE_ATTR,ee):Wt,Ft="ADD_DATA_URI_TAGS"in t?A(x(Yt),t.ADD_DATA_URI_TAGS,ee):Yt,Pt="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,ee):Ut,vt="FORBID_TAGS"in t?A({},t.FORBID_TAGS,ee):{},wt="FORBID_ATTR"in t?A({},t.FORBID_ATTR,ee):{},Ht="USE_PROFILES"in t&&t.USE_PROFILES,Tt=!1!==t.ALLOW_ARIA_ATTR,At=!1!==t.ALLOW_DATA_ATTR,$t=t.ALLOW_UNKNOWN_PROTOCOLS||!1,xt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,St=t.SAFE_FOR_TEMPLATES||!1,Et=t.WHOLE_DOCUMENT||!1,Mt=t.RETURN_DOM||!1,Nt=t.RETURN_DOM_FRAGMENT||!1,Ct=t.RETURN_TRUSTED_TYPE||!1,Dt=t.FORCE_BODY||!1,Ot=!1!==t.SANITIZE_DOM,Lt=t.SANITIZE_NAMED_PROPS||!1,It=!1!==t.KEEP_CONTENT,zt=t.IN_PLACE||!1,mt=t.ALLOWED_URI_REGEXP||j,Zt=t.NAMESPACE||qt,bt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(bt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(bt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(bt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),St&&(At=!1),Nt&&(Mt=!0),Ht&&(ht=A({},O),yt=[],!0===Ht.html&&(A(ht,E),A(yt,L)),!0===Ht.svg&&(A(ht,k),A(yt,R),A(yt,z)),!0===Ht.svgFilters&&(A(ht,D),A(yt,R),A(yt,z)),!0===Ht.mathMl&&(A(ht,N),A(yt,I),A(yt,z))),t.ADD_TAGS&&(ht===gt&&(ht=x(ht)),A(ht,t.ADD_TAGS,ee)),t.ADD_ATTR&&(yt===_t&&(yt=x(yt)),A(yt,t.ADD_ATTR,ee)),t.ADD_URI_SAFE_ATTR&&A(jt,t.ADD_URI_SAFE_ATTR,ee),t.FORBID_CONTENTS&&(Pt===Ut&&(Pt=x(Pt)),A(Pt,t.FORBID_CONTENTS,ee)),It&&(ht["#text"]=!0),Et&&A(ht,["html","head","body"]),ht.table&&(A(ht,["tbody"]),delete vt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,tt=Q.createHTML("")}else void 0===Q&&(Q=X(F,a)),null!==Q&&"string"==typeof tt&&(tt=Q.createHTML(""));o&&o(t),ne=t}},ae=A({},["mi","mo","mn","ms","mtext"]),se=A({},["foreignobject","desc","title","annotation-xml"]),ce=A({},["title","style","font","a","script"]),le=A({},[...k,...D,...M]),ue=A({},[...N,...C]),de=function(t){let e=K(t);e&&e.tagName||(e={namespaceURI:Zt,tagName:"template"});const n=p(t.tagName),r=p(e.tagName);return!!Vt[t.namespaceURI]&&(t.namespaceURI===Gt?e.namespaceURI===qt?"svg"===n:e.namespaceURI===Bt?"svg"===n&&("annotation-xml"===r||ae[r]):Boolean(le[n]):t.namespaceURI===Bt?e.namespaceURI===qt?"math"===n:e.namespaceURI===Gt?"math"===n&&se[r]:Boolean(ue[n]):t.namespaceURI===qt?!(e.namespaceURI===Gt&&!se[r])&&!(e.namespaceURI===Bt&&!ae[r])&&!ue[n]&&(ce[n]||!le[n]):!("application/xhtml+xml"!==Kt||!Vt[t.namespaceURI]))},fe=function(t){f(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},pe=function(t,e){try{f(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!yt[t])if(Mt||Nt)try{fe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},me=function(t){let e=null,n=null;if(Dt)t=""+t;else{const e=h(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Kt&&Zt===qt&&(t=''+t+"");const i=Q?Q.createHTML(t):t;if(Zt===qt)try{e=(new U).parseFromString(i,Kt)}catch(t){}if(!e||!e.documentElement){e=et.createDocument(Zt,"template",null);try{e.documentElement.innerHTML=Xt?tt:i}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Zt===qt?it.call(e,Et?"html":"body")[0]:Et?e.documentElement:o},he=function(t){return nt.call(t.ownerDocument||t,t,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT,null)},ge=function(t){return t instanceof P&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof H)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ye=function(t){return"function"==typeof w&&t instanceof w},_e=function(t,e,r){at[t]&&u(at[t],(t=>{t.call(n,e,r,ne)}))},be=function(t){let e=null;if(_e("beforeSanitizeElements",t,null),ge(t))return fe(t),!0;const r=ee(t.nodeName);if(_e("uponSanitizeElement",t,{tagName:r,allowedTags:ht}),t.hasChildNodes()&&!ye(t.firstElementChild)&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return fe(t),!0;if(!ht[r]||vt[r]){if(!vt[r]&&we(r)){if(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,r))return!1;if(bt.tagNameCheck instanceof Function&&bt.tagNameCheck(r))return!1}if(It&&!Pt[r]){const e=K(t)||t.parentNode,n=J(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r)e.insertBefore(W(n[r],!0),B(t))}return fe(t),!0}return t instanceof T&&!de(t)?(fe(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,t.innerHTML)?(St&&3===t.nodeType&&(e=t.textContent,u([st,ct,lt],(t=>{e=g(e,t," ")})),t.textContent!==e&&(f(n.removed,{element:t.cloneNode()}),t.textContent=e)),_e("afterSanitizeElements",t,null),!1):(fe(t),!0)},ve=function(t,e,n){if(Ot&&("id"===e||"name"===e)&&(n in r||n in re))return!1;if(At&&!wt[e]&&b(ut,e));else if(Tt&&b(dt,e));else if(!yt[e]||wt[e]){if(!(we(t)&&(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,t)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(t))&&(bt.attributeNameCheck instanceof RegExp&&b(bt.attributeNameCheck,e)||bt.attributeNameCheck instanceof Function&&bt.attributeNameCheck(e))||"is"===e&&bt.allowCustomizedBuiltInElements&&(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,n)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(n))))return!1}else if(jt[e]);else if(b(mt,g(n,pt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Ft[t])if($t&&!b(ft,g(n,pt,"")));else if(n)return!1;return!0},we=function(t){return t.indexOf("-")>0},Te=function(t){_e("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:yt};let i=e.length;for(;i--;){const o=e[i],{name:a,namespaceURI:s,value:c}=o,l=ee(a);let f="value"===a?c:_(c);if(r.attrName=l,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,_e("uponSanitizeAttribute",t,r),f=r.attrValue,r.forceKeepAttr)continue;if(pe(a,t),!r.keepAttr)continue;if(!xt&&b(/\/>/i,f)){pe(a,t);continue}St&&u([st,ct,lt],(t=>{f=g(f,t," ")}));const p=ee(t.nodeName);if(ve(p,l,f)){if(!Lt||"id"!==l&&"name"!==l||(pe(a,t),f=Rt+f),Q&&"object"==typeof F&&"function"==typeof F.getAttributeType)if(s);else switch(F.getAttributeType(p,l)){case"TrustedHTML":f=Q.createHTML(f);break;case"TrustedScriptURL":f=Q.createScriptURL(f)}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),d(n.removed)}catch(t){}}}_e("afterSanitizeAttributes",t,null)},Ae=function t(e){let n=null;const r=he(e);for(_e("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)_e("uponSanitizeShadowNode",n,null),be(n)||(n.content instanceof c&&t(n.content),Te(n));_e("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if(Xt=!t,Xt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ye(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!n.isSupported)return t;if(kt||oe(e),n.removed=[],"string"==typeof t&&(zt=!1),zt){if(t.nodeName){const e=ee(t.nodeName);if(!ht[e]||vt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof w)r=me("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Mt&&!St&&!Et&&-1===t.indexOf("<"))return Q&&Ct?Q.createHTML(t):t;if(r=me(t),!r)return Mt?null:Ct?tt:""}r&&Dt&&fe(r.firstChild);const l=he(zt?t:r);for(;a=l.nextNode();)be(a)||(a.content instanceof c&&Ae(a.content),Te(a));if(zt)return t;if(Mt){if(Nt)for(s=rt.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(yt.shadowroot||yt.shadowrootmode)&&(s=ot.call(i,s,!0)),s}let d=Et?r.outerHTML:r.innerHTML;return Et&&ht["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&b(G,r.ownerDocument.doctype.name)&&(d="\n"+d),St&&u([st,ct,lt],(t=>{d=g(d,t," ")})),Q&&Ct?Q.createHTML(d):d},n.setConfig=function(){oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),kt=!0},n.clearConfig=function(){ne=null,kt=!1},n.isValidAttribute=function(t,e,n){ne||oe({});const r=ee(t),i=ee(e);return ve(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],f(at[t],e))},n.removeHook=function(t){if(at[t])return d(at[t])},n.removeHooks=function(t){at[t]&&(at[t]=[])},n.removeAllHooks=function(){at={}},n}return V()}()}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(484),e=n.n(t),r=n(178),i=n.n(r),o=n(646),a=n.n(o),s=n(387),c=n.n(s);e().extend(i()),e().extend(a()),e().extend(c());const l=e(),u=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],d=function(t){const e=(t||"").split(":");return 2==e.length?{hour:e[0],minute:e[1]}:null},f=function(t){const e=(t||"").split(":");if(e.length>=2){return{hours:parseInt(e[0],10),minutes:parseInt(e[1],10)}}return null},p=function(t,e){const n=f(t),r=f(e),i=n.minutes+60*n.hours,o=r.minutes+60*r.hours;return i===o?0:i>o?1:-1},m=function(t,e,n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=t+"="+e+";"+i+";path=/"},h=function(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;re))});const v=(T=!1,w=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(w)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(w.substr(0,4)))&&(T=!0),T);var w,T;const A=function(t,e){let n="",r=t.predefinedText;if(r=r.njtReplaceAll(/\[njwa_page_title\]/gi,encodeURIComponent(document.title)),r=r.njtReplaceAll(/\[njwa_page_url\]/gi,window.location.href),r=r.njtReplaceAll(/\n/gi,"%0A"),-1!==t.number.indexOf("chat.whatsapp.com"))n+=t.number;else{let i=e.urlSettings[v?"onMobile":"onDesktop"];if(i||(i="api"),"protocol"===i)return"whatsapp://send?phone="+t.number.replace(/[^0-9]/gi,"");n+="https://"+i+".whatsapp.com/send?phone=",n+=t.number.replace(/[^0-9]/gi,""),n+=t.predefinedText?"&text="+r:""}return n};window.njtWhatsApp={createButton:function(t,e){const n=Object.assign({},e),r=n.info,i=g(r,n);let o="";o+="round"==n.styles.type?" wa__r_button":" wa__sq_button",o+="online"==i?" wa__stt_online":" wa__stt_offline",o+=n.avatar?" wa__btn_w_img":" wa__btn_w_icon",o+=n.name?"":" wa__button_text_only";let a=A(r,n);const s=document.createElement("div");s.setAttribute("class",n.avatar?"wa__cs_img":"wa__btn_icon"),s.appendChild((()=>{if(n.avatar){const t=document.createElement("div");return t.setAttribute("class","wa__cs_img_wrap"),t.setAttribute("style",`background: url(${n.avatar}) center center no-repeat; background-size: cover`),t}{const t=document.createElement("img");return t.setAttribute("alt","img"),t.setAttribute("src",n.defaultAvatar),t}})());const c=document.createElement("div");c.setAttribute("class","wa__btn_txt"),c.appendChild(n.name?(()=>{const t=document.createElement("div");return t.className="wa__cs_info",t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_name"),t.setAttribute("style","online"==i?`color: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?"#d5f0d9":n.styles.textColor}; opacity: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?1:.8}`:""),t.innerHTML=b().sanitize(n.name),t})()),t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_status"),t.innerHTML="online"===i?b().sanitize(n.i18n.online):b().sanitize(n.i18n.offline),t})()),t})():document.createTextNode("")),c.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__btn_title"),t.setAttribute("style","online"==i?"color: "+n.styles.textColor:""),t.innerHTML=b().sanitize(n.styles.label),t})()),c.appendChild((()=>{if("online"!=i){const t=document.createElement("div");return t.setAttribute("class","wa__btn_status"),t.innerHTML=b().sanitize(i),t}return document.createTextNode("")})());const l=document.createElement("div");l.setAttribute("class","nta-wa-gdpr"),l.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(m("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");l.style.opacity=0,setTimeout((()=>{t.forEach((t=>t.style.display="none"))}),400);document.querySelectorAll(".wa__popup_content_item").forEach((t=>t.classList.remove("pointer-disable")))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const r=document.createElement("label");return r.setAttribute("for","nta-wa-gdpr"),r.appendChild(e),r})());const u=document.createElement("a");u.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),u.setAttribute("href",a),u.setAttribute("rel","nofollow noopener noreferrer"),u.setAttribute("class","wa__button"+o),u.onclick=function(t){if(n.gdprStatus&&!h("nta-wa-gdpr"))return t.preventDefault(),l.style.background="red",void(l.style.color="#fff");y(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},"online"==i&&(u.style.backgroundColor=n.styles.backgroundColor),u.appendChild(s),u.appendChild(c),t.appendChild(u),n.gdprStatus&&"accept"!=h("nta-wa-gdpr")&&t.appendChild(l),t._isWaButton=!0},createWidget:function(t,e){const n=Object.assign({accounts:[],timezone:"",defaultAvatar:"",gdprStatus:!1,options:{display:{},styles:{},analytics:{}},urlSettings:{}},e);if("OFF"==n.options.display.showOnDesktop&&!v)return;if("OFF"==n.options.display.showOnMobile&&v)return;const r=n.options.styles;t.classList.add("wa__widget_container");const i=document.createElement("div");i.setAttribute("class","wa__btn_popup_txt"),i.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(r.btnLabel),t})()),i.style.display="ON"==r.isShowBtnLabel?"block":"none",i.style.left="left"==r.btnPosition?"100%":"unset",i.style.right="right"==r.btnPosition?"100%":"unset",i.style.marginRight="right"==r.btnPosition?"7px":"0px",i.style.marginLeft="left"==r.btnPosition?"7px":"0px",i.style.width=r.btnLabelWidth+"px";const o=document.createElement("div");o.setAttribute("class","wa__btn_popup_icon"),o.style.background=r.backgroundColor;const a=document.createElement("div");a.setAttribute("class","wa__btn_popup"),a.onclick=function(t){const e=function(t,e){if("simple"===e.options.styles.widgetType&&1===e.accounts.length){const t=A(e.accounts[0],e);return e.urlSettings.openInNewTab?window.open(t):location.href=t,!0}return!1}(0,n);if(e)return;let r,i;const o=document.querySelector(".wa__popup_chat_box"),a=document.querySelector(".wa__btn_popup");o.classList.contains("wa__active")?(o.classList.remove("wa__active"),a.classList.remove("wa__active"),clearTimeout(i),o.classList.contains("wa__lauch")&&(r=setTimeout((function(){o.classList.remove("wa__pending"),o.classList.remove("wa__lauch")}),400))):(o.classList.add("wa__pending"),o.classList.add("wa__active"),a.classList.add("wa__active"),clearTimeout(r),o.classList.contains("wa__lauch")||(i=setTimeout((function(){o.classList.add("wa__lauch")}),100)))},a.appendChild(i),a.appendChild(o),a.style.left="left"==r.btnPosition?parseInt(r.btnLeftDistance)+"px":"unset",a.style.right="right"==r.btnPosition?parseInt(r.btnRightDistance)+"px":"unset",a.style.bottom=parseInt(r.btnBottomDistance)+"px",t.appendChild(a);const s=document.createElement("div");s.setAttribute("class","wa__popup_heading"),s.style.background=r.backgroundColor,s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_title",t.innerHTML=b().sanitize(r.title),t.style.color=r.textColor,t.style.fontSize=r.titleSize+"px",t})()),s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_intro",t.innerHTML=b().sanitize(r.description.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style="#fff"==r.textColor||"#ffffff"==r.textColor?"color: #D9EBC6":"color: "+r.textColor+"; opacity: 0.8",t.style.fontSize=r.descriptionTextSize+"px",t})());const c=document.createElement("div");c.className="nta-wa-gdpr",c.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(m("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");c.style.opacity=0,setTimeout((()=>{t.forEach((t=>t.style.display="none"))}),400);document.querySelectorAll(".wa__popup_content_item").forEach((t=>t.classList.remove("pointer-disable")))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const r=document.createElement("label");return r.setAttribute("for","nta-wa-gdpr"),r.appendChild(e),r})());const l=document.createElement("div");l.className="wa__popup_content wa__popup_content_left",l.appendChild((()=>{const t=document.createElement("div");return t.className="wa__popup_notice",t.innerHTML=b().sanitize(r.responseText.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style.fontSize=r.regularTextSize+"px",t})()),l.appendChild("ON"==r.isShowGDPR&&1==n.gdprStatus&&"accept"!=h("nta-wa-gdpr")?c:document.createTextNode("")),l.appendChild((()=>{const t=document.createElement("div");var e;return t.className="wa__popup_content_list",t.onclick=function(){""==h("nta-wa-gdpr")&&(c.style.background="red",c.style.color="#fff")},e=t,n.accounts.forEach((t=>{const i=g(t,n);let o=A(t,n);const a=document.createElement("div");a.className="wa__popup_avatar"+(t.avatar?"":" nta-default-avt"),a.appendChild((()=>{if(t.avatar){const e=document.createElement("div");return e.className="wa__cs_img_wrap",e.style=`background: url(${t.avatar}) center center no-repeat; background-size: cover;`,e}return document.createRange().createContextualFragment(n.defaultAvatar)})());const s=document.createElement("div");s.className="wa__popup_content_item"+(n.gdprStatus?" pointer-disable":""),s.appendChild((()=>{const e=document.createElement("a");return e.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),e.setAttribute("href",o),e.setAttribute("rel","nofollow noopener noreferrer"),e.className="wa__stt"+("online"===i?" wa__stt_online":" wa__stt_offline"),e.onclick=function(){y(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},e.appendChild(a),e.appendChild((()=>{const e=document.createElement("div");e.className="wa__popup_txt";let n="";return n+=``,n+=``,n+="online"!=i?``:"",e.innerHTML=b().sanitize(n),e})()),e})()),e.appendChild(s)})),t})());var u='',d='',f='';"ON"===r.isShowPoweredBy&&l.appendChild((()=>{const t=document.createElement("div");return t.className=v?"wa__popup_powered_mb":"wa__popup_powered",t.innerHTML=v?b().sanitize(f):b().sanitize(d),t})()),"ON"===r.isShowScroll&&(l.style.maxHeight=parseInt(r.scrollHeight)+"px",l.style.overflow="auto");const p=document.createElement("div");p.className="wa__popup_chat_box",p.appendChild(s),p.style.left="left"==r.btnPosition?parseInt(r.btnLeftDistance)+"px":"unset",p.style.right="right"==r.btnPosition?parseInt(r.btnRightDistance)+"px":"unset",p.style.bottom=parseInt(r.btnBottomDistance)+72+"px",p.appendChild(l),t.appendChild(p)},ready:function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}}})()})();