(()=>{var t={353:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",f="date",m="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\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("_")},y=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},_={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+y(i,2,"0")+":"+y(r,2,"0")},m:function t(e,n){if(e.date()=0&&(o[d]=parseInt(u,10))}var f=o[3],m=24===f?0:f,p=o[0]+"-"+o[1]+"-"+o[2]+" "+m+":"+o[4]+":"+o[5]+":000",h=+e;return(r.utc(p).valueOf()-(h-=h%1e3))/6e4},c=i.prototype;c.tz=function(t,e){void 0===t&&(t=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),s=Math.round((i-new Date(a))/1e3/60),c=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.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||r.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=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return l.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,n){var i=n&&e,a=n||e||o,c=s(+r(),a);if("string"!=typeof t)return r(t).tz(a);var l=function(t,e,n){var i=t-60*e*1e3,r=s(i,n);if(e===r)return[i,e];var o=s(i-=60*(r-e)*1e3,n);return r===o?[i,r]:[t-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(t,i).valueOf(),c,a),u=l[0],d=l[1],f=r(u).utcOffset(d);return f.$x.$timezone=a,f},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){o=t}}}()},826:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,r,o){var a=r.prototype;o.utc=function(t){return new r({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(i,r){var o=this.$utils().u;if(o(i))return this.$u?0:o(this.$offset)?l.call(this):this.$offset;if("string"==typeof i&&null===(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var r=(""+i[0]).match(n)||["-",0,0],o=r[0],a=60*+r[1]+ +r[2];return 0===a?0:"+"===o?a:-a}(i)))return this;var a=Math.abs(i)<=16?60*i:i,s=this;if(r)return s.$offset=a,s.$u=0===i,s;if(0!==i){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||(new Date).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 i=this.local(),r=o(t).local();return f.call(i,r,e,n)}}}()}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i].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 i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(353),e=n.n(t),i=n(826),r=n.n(i),o=n(522),a=n.n(o),s=n(569),c=n.n(s);e().extend(r()),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},m=function(t,e){const n=f(t),i=f(e),r=n.minutes+60*n.hours,o=i.minutes+60*i.hours;return r===o?0:r>o?1:-1},p=function(t,e,n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var r="expires="+i.toUTCString();document.cookie=t+"="+e+";"+r+";path=/"},h=function(t){for(var e=t+"=",n=document.cookie.split(";"),i=0;i1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:C;b&&b(t,null);let i=e.length;for(;i--;){let r=e[i];if("string"==typeof r){const t=n(r);t!==r&&(v(e)||(e[i]=t),r=t)}t[r]=!0}return t}function G(t){for(let e=0;e/gm),st=A(/\$\{[\w\W]*/gm),ct=A(/^data-[\-\w.\u00B7-\uFFFF]+$/),lt=A(/^aria-[\-\w]+$/),ut=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dt=A(/^(?:\w+script|data):/i),ft=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),mt=A(/^html$/i),pt=A(/^[a-z][.\w]*(-[.\w]+)+$/i);var ht=Object.freeze({__proto__:null,ARIA_ATTR:lt,ATTR_WHITESPACE:ft,CUSTOM_ELEMENT:pt,DATA_ATTR:ct,DOCTYPE_NAME:mt,ERB_EXPR:at,IS_ALLOWED_URI:ut,IS_SCRIPT_OR_DATA:dt,MUSTACHE_EXPR:ot,TMPLIT_EXPR:st});const gt=1,yt=3,_t=7,bt=8,vt=9,wt=function(){return"undefined"==typeof window?null:window};var Tt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wt();const n=e=>t(e);if(n.version="3.2.5",n.removed=[],!e||!e.document||e.document.nodeType!==vt||!e.Element)return n.isSupported=!1,n;let{document:i}=e;const r=i,o=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:c,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:m,trustedTypes:p}=e,h=l.prototype,g=q(h,"cloneNode"),y=q(h,"remove"),b=q(h,"nextSibling"),v=q(h,"childNodes"),w=q(h,"parentNode");if("function"==typeof s){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let T,A="";const{implementation:$,createNodeIterator:x,createDocumentFragment:Y,getElementsByTagName:W}=i,{importNode:G}=r;let ot={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof _&&"function"==typeof w&&$&&void 0!==$.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:lt,ARIA_ATTR:dt,IS_SCRIPT_OR_DATA:ft,ATTR_WHITESPACE:pt,CUSTOM_ELEMENT:Tt}=ht;let{IS_ALLOWED_URI:St}=ht,At=null;const Et=j({},[...Z,...X,...V,...K,...tt]);let $t=null;const xt=j({},[...et,...nt,...it,...rt]);let Mt=Object.seal(E(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}})),Nt=null,Dt=null,Ot=!0,kt=!0,Ct=!1,Lt=!0,Rt=!1,It=!0,zt=!1,Ht=!1,Ut=!1,Pt=!1,Ft=!1,Yt=!1,Wt=!0,jt=!1,Gt=!0,Bt=!1,qt={},Zt=null;const Xt=j({},["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 Vt=null;const Jt=j({},["audio","video","img","source","image","track"]);let Kt=null;const Qt=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",ne="http://www.w3.org/1999/xhtml";let ie=ne,re=!1,oe=null;const ae=j({},[te,ee,ne],L);let se=j({},["mi","mo","mn","ms","mtext"]),ce=j({},["annotation-xml"]);const le=j({},["title","style","font","a","script"]);let ue=null;const de=["application/xhtml+xml","text/html"];let fe=null,me=null;const pe=i.createElement("form"),he=function(t){return t instanceof RegExp||t instanceof Function},ge=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!me||me!==t){if(t&&"object"==typeof t||(t={}),t=B(t),ue=-1===de.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,fe="application/xhtml+xml"===ue?L:C,At=U(t,"ALLOWED_TAGS")?j({},t.ALLOWED_TAGS,fe):Et,$t=U(t,"ALLOWED_ATTR")?j({},t.ALLOWED_ATTR,fe):xt,oe=U(t,"ALLOWED_NAMESPACES")?j({},t.ALLOWED_NAMESPACES,L):ae,Kt=U(t,"ADD_URI_SAFE_ATTR")?j(B(Qt),t.ADD_URI_SAFE_ATTR,fe):Qt,Vt=U(t,"ADD_DATA_URI_TAGS")?j(B(Jt),t.ADD_DATA_URI_TAGS,fe):Jt,Zt=U(t,"FORBID_CONTENTS")?j({},t.FORBID_CONTENTS,fe):Xt,Nt=U(t,"FORBID_TAGS")?j({},t.FORBID_TAGS,fe):{},Dt=U(t,"FORBID_ATTR")?j({},t.FORBID_ATTR,fe):{},qt=!!U(t,"USE_PROFILES")&&t.USE_PROFILES,Ot=!1!==t.ALLOW_ARIA_ATTR,kt=!1!==t.ALLOW_DATA_ATTR,Ct=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Rt=t.SAFE_FOR_TEMPLATES||!1,It=!1!==t.SAFE_FOR_XML,zt=t.WHOLE_DOCUMENT||!1,Pt=t.RETURN_DOM||!1,Ft=t.RETURN_DOM_FRAGMENT||!1,Yt=t.RETURN_TRUSTED_TYPE||!1,Ut=t.FORCE_BODY||!1,Wt=!1!==t.SANITIZE_DOM,jt=t.SANITIZE_NAMED_PROPS||!1,Gt=!1!==t.KEEP_CONTENT,Bt=t.IN_PLACE||!1,St=t.ALLOWED_URI_REGEXP||ut,ie=t.NAMESPACE||ne,se=t.MATHML_TEXT_INTEGRATION_POINTS||se,ce=t.HTML_INTEGRATION_POINTS||ce,Mt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Mt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Mt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Mt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Rt&&(kt=!1),Ft&&(Pt=!0),qt&&(At=j({},tt),$t=[],!0===qt.html&&(j(At,Z),j($t,et)),!0===qt.svg&&(j(At,X),j($t,nt),j($t,rt)),!0===qt.svgFilters&&(j(At,V),j($t,nt),j($t,rt)),!0===qt.mathMl&&(j(At,K),j($t,it),j($t,rt))),t.ADD_TAGS&&(At===Et&&(At=B(At)),j(At,t.ADD_TAGS,fe)),t.ADD_ATTR&&($t===xt&&($t=B($t)),j($t,t.ADD_ATTR,fe)),t.ADD_URI_SAFE_ATTR&&j(Kt,t.ADD_URI_SAFE_ATTR,fe),t.FORBID_CONTENTS&&(Zt===Xt&&(Zt=B(Zt)),j(Zt,t.FORBID_CONTENTS,fe)),Gt&&(At["#text"]=!0),zt&&j(At,["html","head","body"]),At.table&&(j(At,["tbody"]),delete Nt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw F('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw F('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');T=t.TRUSTED_TYPES_POLICY,A=T.createHTML("")}else void 0===T&&(T=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(p,o)),null!==T&&"string"==typeof A&&(A=T.createHTML(""));S&&S(t),me=t}},ye=j({},[...X,...V,...J]),_e=j({},[...K,...Q]),be=function(t){O(n.removed,{element:t});try{w(t).removeChild(t)}catch(e){y(t)}},ve=function(t,e){try{O(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){O(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Pt||Ft)try{be(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},we=function(t){let e=null,n=null;if(Ut)t=""+t;else{const e=R(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ue&&ie===ne&&(t=''+t+"");const r=T?T.createHTML(t):t;if(ie===ne)try{e=(new m).parseFromString(r,ue)}catch(t){}if(!e||!e.documentElement){e=$.createDocument(ie,"template",null);try{e.documentElement.innerHTML=re?A:r}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),ie===ne?W.call(e,zt?"html":"body")[0]:zt?e.documentElement:o},Te=function(t){return x.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Se=function(t){return t instanceof f&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof d)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ae=function(t){return"function"==typeof c&&t instanceof c};function Ee(t,e,i){M(t,(t=>{t.call(n,e,i,me)}))}const $e=function(t){let e=null;if(Ee(ot.beforeSanitizeElements,t,null),Se(t))return be(t),!0;const i=fe(t.nodeName);if(Ee(ot.uponSanitizeElement,t,{tagName:i,allowedTags:At}),t.hasChildNodes()&&!Ae(t.firstElementChild)&&P(/<[/\w!]/g,t.innerHTML)&&P(/<[/\w!]/g,t.textContent))return be(t),!0;if(t.nodeType===_t)return be(t),!0;if(It&&t.nodeType===bt&&P(/<[/\w]/g,t.data))return be(t),!0;if(!At[i]||Nt[i]){if(!Nt[i]&&Me(i)){if(Mt.tagNameCheck instanceof RegExp&&P(Mt.tagNameCheck,i))return!1;if(Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(i))return!1}if(Gt&&!Zt[i]){const e=w(t)||t.parentNode,n=v(t)||t.childNodes;if(n&&e){for(let i=n.length-1;i>=0;--i){const r=g(n[i],!0);r.__removalCount=(t.__removalCount||0)+1,e.insertBefore(r,b(t))}}}return be(t),!0}return t instanceof l&&!function(t){let e=w(t);e&&e.tagName||(e={namespaceURI:ie,tagName:"template"});const n=C(t.tagName),i=C(e.tagName);return!!oe[t.namespaceURI]&&(t.namespaceURI===ee?e.namespaceURI===ne?"svg"===n:e.namespaceURI===te?"svg"===n&&("annotation-xml"===i||se[i]):Boolean(ye[n]):t.namespaceURI===te?e.namespaceURI===ne?"math"===n:e.namespaceURI===ee?"math"===n&&ce[i]:Boolean(_e[n]):t.namespaceURI===ne?!(e.namespaceURI===ee&&!ce[i])&&!(e.namespaceURI===te&&!se[i])&&!_e[n]&&(le[n]||!ye[n]):!("application/xhtml+xml"!==ue||!oe[t.namespaceURI]))}(t)?(be(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!P(/<\/no(script|embed|frames)/i,t.innerHTML)?(Rt&&t.nodeType===yt&&(e=t.textContent,M([at,st,ct],(t=>{e=I(e,t," ")})),t.textContent!==e&&(O(n.removed,{element:t.cloneNode()}),t.textContent=e)),Ee(ot.afterSanitizeElements,t,null),!1):(be(t),!0)},xe=function(t,e,n){if(Wt&&("id"===e||"name"===e)&&(n in i||n in pe))return!1;if(kt&&!Dt[e]&&P(lt,e));else if(Ot&&P(dt,e));else if(!$t[e]||Dt[e]){if(!(Me(t)&&(Mt.tagNameCheck instanceof RegExp&&P(Mt.tagNameCheck,t)||Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(t))&&(Mt.attributeNameCheck instanceof RegExp&&P(Mt.attributeNameCheck,e)||Mt.attributeNameCheck instanceof Function&&Mt.attributeNameCheck(e))||"is"===e&&Mt.allowCustomizedBuiltInElements&&(Mt.tagNameCheck instanceof RegExp&&P(Mt.tagNameCheck,n)||Mt.tagNameCheck instanceof Function&&Mt.tagNameCheck(n))))return!1}else if(Kt[e]);else if(P(St,I(n,pt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==z(n,"data:")||!Vt[t]){if(Ct&&!P(ft,I(n,pt,"")));else if(n)return!1}else;return!0},Me=function(t){return"annotation-xml"!==t&&R(t,Tt)},Ne=function(t){Ee(ot.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Se(t))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$t,forceKeepAttr:void 0};let r=e.length;for(;r--;){const o=e[r],{name:a,namespaceURI:s,value:c}=o,l=fe(a);let u="value"===a?c:H(c);if(i.attrName=l,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,Ee(ot.uponSanitizeAttribute,t,i),u=i.attrValue,!jt||"id"!==l&&"name"!==l||(ve(a,t),u="user-content-"+u),It&&P(/((--!?|])>)|<\/(style|title)/i,u)){ve(a,t);continue}if(i.forceKeepAttr)continue;if(ve(a,t),!i.keepAttr)continue;if(!Lt&&P(/\/>/i,u)){ve(a,t);continue}Rt&&M([at,st,ct],(t=>{u=I(u,t," ")}));const d=fe(t.nodeName);if(xe(d,l,u)){if(T&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(d,l)){case"TrustedHTML":u=T.createHTML(u);break;case"TrustedScriptURL":u=T.createScriptURL(u)}try{s?t.setAttributeNS(s,a,u):t.setAttribute(a,u),Se(t)?be(t):D(n.removed)}catch(t){}}}Ee(ot.afterSanitizeAttributes,t,null)},De=function t(e){let n=null;const i=Te(e);for(Ee(ot.beforeSanitizeShadowDOM,e,null);n=i.nextNode();)Ee(ot.uponSanitizeShadowNode,n,null),$e(n),Ne(n),n.content instanceof a&&t(n.content);Ee(ot.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,s=null,l=null;if(re=!t,re&&(t="\x3c!--\x3e"),"string"!=typeof t&&!Ae(t)){if("function"!=typeof t.toString)throw F("toString is not a function");if("string"!=typeof(t=t.toString()))throw F("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Ht||ge(e),n.removed=[],"string"==typeof t&&(Bt=!1),Bt){if(t.nodeName){const e=fe(t.nodeName);if(!At[e]||Nt[e])throw F("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)i=we("\x3c!----\x3e"),o=i.ownerDocument.importNode(t,!0),o.nodeType===gt&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!Pt&&!Rt&&!zt&&-1===t.indexOf("<"))return T&&Yt?T.createHTML(t):t;if(i=we(t),!i)return Pt?null:Yt?A:""}i&&Ut&&be(i.firstChild);const u=Te(Bt?t:i);for(;s=u.nextNode();)$e(s),Ne(s),s.content instanceof a&&De(s.content);if(Bt)return t;if(Pt){if(Ft)for(l=Y.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return($t.shadowroot||$t.shadowrootmode)&&(l=G.call(r,l,!0)),l}let d=zt?i.outerHTML:i.innerHTML;return zt&&At["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&P(mt,i.ownerDocument.doctype.name)&&(d="\n"+d),Rt&&M([at,st,ct],(t=>{d=I(d,t," ")})),T&&Yt?T.createHTML(d):d},n.setConfig=function(){ge(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ht=!0},n.clearConfig=function(){me=null,Ht=!1},n.isValidAttribute=function(t,e,n){me||ge({});const i=fe(t),r=fe(e);return xe(i,r,n)},n.addHook=function(t,e){"function"==typeof e&&O(ot[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=N(ot[t],e);return-1===n?void 0:k(ot[t],n,1)[0]}return D(ot[t])},n.removeHooks=function(t){ot[t]=[]},n.removeAllHooks=function(){ot={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();void 0===String.prototype.njtReplaceAll&&(String.prototype.njtReplaceAll=function(t,e){return this.replace(new RegExp(t,"g"),(()=>e))});const St=(Et=!1,At=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(At)||/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(At.substr(0,4)))&&(Et=!0),Et);var At,Et;const $t=function(t,e){let n="",i=t.predefinedText;if(i=i.njtReplaceAll(/\[njwa_page_title\]/gi,encodeURIComponent(document.title)),i=i.njtReplaceAll(/\[njwa_page_url\]/gi,window.location.href),i=i.njtReplaceAll(/\n/gi,"%0A"),-1!==t.number.indexOf("chat.whatsapp.com"))n+=t.number;else{let r=e.urlSettings[St?"onMobile":"onDesktop"];if(r||(r="api"),"protocol"===r)return"whatsapp://send?phone="+t.number.replace(/[^0-9]/gi,"");n+="https://"+r+".whatsapp.com/send?phone=",n+=t.number.replace(/[^0-9]/gi,""),n+=t.predefinedText?"&text="+i:""}return n};window.njtWhatsApp={createButton:function(t,e){const n=Object.assign({},e),i=n.info,r=g(i,n);let o="";o+="round"==n.styles.type?" wa__r_button":" wa__sq_button",o+="online"==r?" 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=$t(i,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"==r?`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=Tt.sanitize(n.name),t})()),t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_status"),t.innerHTML="online"===r?Tt.sanitize(n.i18n.online):Tt.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"==r?"color: "+n.styles.textColor:""),t.innerHTML=Tt.sanitize(n.styles.label),t})()),c.appendChild((()=>{if("online"!=r){const t=document.createElement("div");return t.setAttribute("class","wa__btn_status"),t.innerHTML=Tt.sanitize(r),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&&(p("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=Tt.sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const i=document.createElement("label");return i.setAttribute("for","nta-wa-gdpr"),i.appendChild(e),i})());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"==r&&(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&&!St)return;if("OFF"==n.options.display.showOnMobile&&St)return;const i=n.options.styles;t.classList.add("wa__widget_container");const r=document.createElement("div");r.setAttribute("class","wa__btn_popup_txt"),r.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=Tt.sanitize(i.btnLabel),t})()),r.style.display="ON"==i.isShowBtnLabel?"block":"none",r.style.left="left"==i.btnPosition?"100%":"unset",r.style.right="right"==i.btnPosition?"100%":"unset",r.style.marginRight="right"==i.btnPosition?"7px":"0px",r.style.marginLeft="left"==i.btnPosition?"7px":"0px",r.style.width=i.btnLabelWidth+"px";const o=document.createElement("div");o.setAttribute("class","wa__btn_popup_icon"),o.style.background=i.backgroundColor;const a=document.createElement("div");a.setAttribute("class","wa__btn_popup"),a.onclick=function(){let t,e;const n=document.querySelector(".wa__popup_chat_box"),i=document.querySelector(".wa__btn_popup");n.classList.contains("wa__active")?(n.classList.remove("wa__active"),i.classList.remove("wa__active"),clearTimeout(e),n.classList.contains("wa__lauch")&&(t=setTimeout((function(){n.classList.remove("wa__pending"),n.classList.remove("wa__lauch")}),400))):(n.classList.add("wa__pending"),n.classList.add("wa__active"),i.classList.add("wa__active"),clearTimeout(t),n.classList.contains("wa__lauch")||(e=setTimeout((function(){n.classList.add("wa__lauch")}),100)))},a.appendChild(r),a.appendChild(o),a.style.left="left"==i.btnPosition?parseInt(i.btnLeftDistance)+"px":"unset",a.style.right="right"==i.btnPosition?parseInt(i.btnRightDistance)+"px":"unset",a.style.bottom=parseInt(i.btnBottomDistance)+"px",t.appendChild(a);const s=document.createElement("div");s.setAttribute("class","wa__popup_heading"),s.style.background=i.backgroundColor,s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_title",t.innerHTML=Tt.sanitize(i.title),t.style.color=i.textColor,t.style.fontSize=i.titleSize+"px",t})()),s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_intro",t.innerHTML=Tt.sanitize(i.description.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style="#fff"==i.textColor||"#ffffff"==i.textColor?"color: #D9EBC6":"color: "+i.textColor+"; opacity: 0.8",t.style.fontSize=i.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&&(p("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=Tt.sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const i=document.createElement("label");return i.setAttribute("for","nta-wa-gdpr"),i.appendChild(e),i})());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=Tt.sanitize(i.responseText.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style.fontSize=i.regularTextSize+"px",t})()),l.appendChild("ON"==i.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 r=g(t,n);let o=$t(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"===r?" 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"!=r?``:"",e.innerHTML=Tt.sanitize(n),e})()),e})()),e.appendChild(s)})),t})());const u=document.createElement("div");u.className="wa__popup_chat_box",u.appendChild(s),u.style.left="left"==i.btnPosition?parseInt(i.btnLeftDistance)+"px":"unset",u.style.right="right"==i.btnPosition?parseInt(i.btnRightDistance)+"px":"unset",u.style.bottom=parseInt(i.btnBottomDistance)+72+"px",u.appendChild(l),t.appendChild(u)},ready:function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}}})()})();