| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/betterdocs-pro/assets/admin/js/ |
Upload File : |
!function(){var e={3706:function(e,t){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(o=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===o.Tag||e.type===o.Script||e.type===o.Style},t.Root=o.Root,t.Text=o.Text,t.Directive=o.Directive,t.Comment=o.Comment,t.Script=o.Script,t.Style=o.Style,t.Tag=o.Tag,t.CDATA=o.CDATA,t.Doctype=o.Doctype},1612:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(t,o);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,r)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]}),r=this&&this.__exportStar||function(e,t){for(var o in e)"default"===o||Object.prototype.hasOwnProperty.call(t,o)||n(t,e,o)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=o(3706),s=o(4409);r(o(4409),t);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,o){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(o=t,t=i),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:i,this.elementCB=null!=o?o:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var o=this.options.xmlMode?a.ElementType.Tag:void 0,n=new s.Element(e,t,void 0,o);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var o=new s.Text(e);this.addNode(o),this.lastNode=o}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var o=new s.ProcessingInstruction(e,t);this.addNode(o)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],o=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),o&&(e.prev=o,o.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},4409:function(e,t,o){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=o(3706),i=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=i;var l=function(e){function t(t){var o=e.call(this)||this;return o.data=t,o}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=d;var u=function(e){function t(t,o){var n=e.call(this,o)||this;return n.name=t,n.type=s.ElementType.Directive,n}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=u;var p=function(e){function t(t){var o=e.call(this)||this;return o.children=t,o}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=m;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=h;var f=function(e){function t(t,o,n,r){void 0===n&&(n=[]),void 0===r&&(r="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var a=e.call(this,n)||this;return a.name=t,a.attribs=o,a.type=r,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var o,n;return{name:t,value:e.attribs[t],namespace:null===(o=e["x-attribsNamespace"])||void 0===o?void 0:o[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,s.isTag)(e)}function b(e){return e.type===s.ElementType.CDATA}function w(e){return e.type===s.ElementType.Text}function y(e){return e.type===s.ElementType.Comment}function v(e){return e.type===s.ElementType.Directive}function k(e){return e.type===s.ElementType.Root}function x(e,t){var o;if(void 0===t&&(t=!1),w(e))o=new c(e.data);else if(y(e))o=new d(e.data);else if(g(e)){var n=t?_(e.children):[],r=new f(e.name,a({},e.attribs),n);n.forEach((function(e){return e.parent=r})),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),o=r}else if(b(e)){n=t?_(e.children):[];var s=new m(n);n.forEach((function(e){return e.parent=s})),o=s}else if(k(e)){n=t?_(e.children):[];var i=new h(n);n.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),o=i}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new u(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),o=l}return o.startIndex=e.startIndex,o.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(o.sourceCodeLocation=e.sourceCodeLocation),o}function _(e){for(var t=e.map((function(e){return x(e,!0)})),o=1;o<t.length;o++)t[o].prev=t[o-1],t[o-1].next=t[o];return t}t.Element=f,t.isTag=g,t.isCDATA=b,t.isText=w,t.isComment=y,t.isDirective=v,t.isDocument=k,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},5594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},9370:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="html",n="head",r="body",a=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,i=/<body[^]*>/i,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var u=new d;l=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),u.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();l=function(e,t){if(t){var o=p.documentElement.querySelector(t);return o&&(o.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var m,h="object"==typeof document&&document.createElement("template");h&&h.content&&(m=function(e){return h.innerHTML=e,h.content.childNodes}),t.default=function(e){var t,d,u=e.match(a),p=u&&u[1]?u[1].toLowerCase():"";switch(p){case o:var h=c(e);return s.test(e)||null===(t=null==(g=h.querySelector(n))?void 0:g.parentNode)||void 0===t||t.removeChild(g),i.test(e)||null===(d=null==(g=h.querySelector(r))?void 0:g.parentNode)||void 0===d||d.removeChild(g),h.querySelectorAll(o);case n:case r:var f=l(e).querySelectorAll(p);return i.test(e)&&s.test(e)?f[0].parentNode.childNodes:f;default:return m?m(e):(g=l(e,r).querySelector(r)).childNodes;var g}}},5845:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(9370)),a=o(9284),s=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t=e.match(s),o=t?t[1]:void 0;return(0,a.formatDOM)((0,r.default)(e),null,o)}},9284:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var n=o(1612),r=o(5594);function a(e){for(var t={},o=0,n=e.length;o<n;o++){var r=e[o];t[r.name]=r.value}return t}function s(e){return function(e){return r.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}t.formatAttributes=a,t.formatDOM=function e(t,o,r){void 0===o&&(o=null);for(var i,l=[],c=0,d=t.length;c<d;c++){var u=t[c];switch(u.nodeType){case 1:var p=s(u.nodeName);(i=new n.Element(p,a(u.attributes))).children=e("template"===p?u.content.childNodes:u.childNodes,i);break;case 3:i=new n.Text(u.nodeValue);break;case 8:i=new n.Comment(u.nodeValue);break;default:continue}var m=l[c-1]||null;m&&(m.next=i),i.parent=o,i.prev=m,i.next=null,l.push(i)}return r&&((i=new n.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=l[0]||null,i.parent=o,l.unshift(i),l[1]&&(l[1].prev=l[0])),l}},7429:function(e,t,o){var n=o(1612),r=o(5845).default,a=o(4667),s=o(1965);r="function"==typeof r.default?r.default:r;var i={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:s(r(e,(t=t||{}).htmlparser2||i),t)}l.domToReact=s,l.htmlToDOM=r,l.attributesToProps=a,l.Comment=n.Comment,l.Element=n.Element,l.ProcessingInstruction=n.ProcessingInstruction,l.Text=n.Text,e.exports=l,l.default=l},4667:function(e,t,o){var n=o(7068),r=o(9423),a=["checked","value"],s=["input","select","textarea"],i={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}e.exports=function(e,t){var o,c,d,u,p,m={},h=(e=e||{}).type&&i[e.type];for(o in e)if(d=e[o],n.isCustomAttribute(o))m[o]=d;else if(u=l(c=o.toLowerCase()))switch(p=n.getPropertyInfo(u),-1===a.indexOf(u)||-1===s.indexOf(t)||h||(u=l("default"+c)),m[u]=d,p&&p.type){case n.BOOLEAN:m[u]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(m[u]=!0)}else r.PRESERVE_CUSTOM_ATTRIBUTES&&(m[o]=d);return r.setStyleProp(e.style,m),m}},1965:function(e,t,o){var n=o(9196),r=o(4667),a=o(9423),s=a.setStyleProp,i=a.canTextBeChildOfNode;function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&a.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,o){for(var c,d,u,p,m,h=(o=o||{}).library||n,f=h.cloneElement,g=h.createElement,b=h.isValidElement,w=[],y="function"==typeof o.replace,v=o.transform||a.returnFirstArg,k=o.trim,x=0,_=t.length;x<_;x++)if(c=t[x],y&&b(u=o.replace(c)))_>1&&(u=f(u,{key:u.key||x})),w.push(v(u,c,x));else if("text"!==c.type){switch(p=c.attribs,l(c)?s(p.style,p):p&&(p=r(p,c.name)),m=null,c.type){case"script":case"style":c.children[0]&&(p.dangerouslySetInnerHTML={__html:c.children[0].data});break;case"tag":"textarea"===c.name&&c.children[0]?p.defaultValue=c.children[0].data:c.children&&c.children.length&&(m=e(c.children,o));break;default:continue}_>1&&(p.key=x),w.push(v(g(c.name,p,m),c,x))}else{if((d=!c.data.trim().length)&&c.parent&&!i(c.parent))continue;if(k&&d)continue;w.push(v(c.data,c,x))}return 1===w.length?w[0]:w}},9423:function(e,t,o){var n=o(9196),r=o(2390).default,a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0},i=n.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:i,ELEMENTS_WITH_NO_TEXT_CHILDREN:l,isCustomComponent:function(e,t){return-1===e.indexOf("-")?t&&"string"==typeof t.is:!a.has(e)},setStyleProp:function(e,t){if(null!=e)try{t.style=r(e,s)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},returnFirstArg:function(e){return e}}},4651:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function d(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,p=1;function m(e){var t=e.match(o);t&&(u+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function h(){var e={line:u,column:p};return function(t){return t.position=new f(e),y(),t}}function f(e){this.start=e,this.end={line:u,column:p},this.source=l.source}f.prototype.content=e;var g=[];function b(t){var o=new Error(l.source+":"+u+":"+p+": "+t);if(o.reason=t,o.filename=l.source,o.line=u,o.column=p,o.source=e,!l.silent)throw o;g.push(o)}function w(t){var o=t.exec(e);if(o){var n=o[0];return m(n),e=e.slice(n.length),o}}function y(){w(n)}function v(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var o=2;c!=e.charAt(o)&&("*"!=e.charAt(o)||"/"!=e.charAt(o+1));)++o;if(o+=2,c===e.charAt(o-1))return b("End of comment missing");var n=e.slice(2,o-2);return p+=2,m(n),e=e.slice(o),p+=2,t({type:"comment",comment:n})}}function x(){var e=h(),o=w(r);if(o){if(k(),!w(a))return b("property missing ':'");var n=w(s),l=e({type:"declaration",property:d(o[0].replace(t,c)),value:n?d(n[0].replace(t,c)):c});return w(i),l}}return y(),function(){var e,t=[];for(v(t);e=x();)!1!==e&&(t.push(e),v(t));return t}()}},7068:function(e,t,o){"use strict";function n(e,t,o,n,r,a,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=r,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}const r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{r[e]=new n(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{r[e]=new n(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{r[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{r[e]=new n(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{r[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{r[e]=new n(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{r[e]=new n(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{r[e]=new n(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{r[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)}));const a=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(a,s);r[t]=new n(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(a,s);r[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(a,s);r[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{r[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)})),r.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{r[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:i,SAME:l,possibleStandardNames:c}=o(4090),d=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),u=Object.keys(c).reduce(((e,t)=>{const o=c[t];return o===l?e[t]=t:o===i?e[t.toLowerCase()]=t:e[t]=o,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=d,t.possibleStandardNames=u},4090:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},2390:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(2330)),a=o(946);t.default=function(e,t){var o={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,n){e&&n&&(o[(0,a.camelCase)(e,t)]=n)})),o):o}},946:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var o=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,i=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||r.test(e)||o.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(a,l)).replace(n,i))}},2330:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(4651));t.default=function(e,t){var o=null;if(!e||"string"!=typeof e)return o;var n=(0,r.default)(e),a="function"==typeof t;return n.forEach((function(e){if("declaration"===e.type){var n=e.property,r=e.value;a?t(n,r,e):r&&((o=o||{})[n]=r)}})),o}},4353:function(e){e.exports=function(){"use strict";const e="SweetAlert2:",t=e=>e.charAt(0).toUpperCase()+e.slice(1),o=e=>Array.prototype.slice.call(e),n=t=>{console.warn("".concat(e," ").concat("object"==typeof t?t.join(" "):t))},r=t=>{console.error("".concat(e," ").concat(t))},a=[],s=(e,t)=>{var o;o='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),a.includes(o)||(a.push(o),n(o))},i=e=>"function"==typeof e?e():e,l=e=>e&&"function"==typeof e.toPromise,c=e=>l(e)?e.toPromise():Promise.resolve(e),d=e=>e&&Promise.resolve(e)===e,u={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},p=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],m={},h=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],f=e=>Object.prototype.hasOwnProperty.call(u,e),g=e=>-1!==p.indexOf(e),b=e=>m[e],w=e=>{f(e)||n('Unknown parameter "'.concat(e,'"'))},y=e=>{h.includes(e)&&n('The parameter "'.concat(e,'" is incompatible with toasts'))},v=e=>{b(e)&&s(e,b(e))},k=e=>{const t={};for(const o in e)t[e[o]]="swal2-"+e[o];return t},x=k(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),_=k(["success","warning","info","question","error"]),C=()=>document.body.querySelector(".".concat(x.container)),E=e=>{const t=C();return t?t.querySelector(e):null},T=e=>E(".".concat(e)),S=()=>T(x.popup),A=()=>T(x.icon),P=()=>T(x.title),O=()=>T(x["html-container"]),L=()=>T(x.image),I=()=>T(x["progress-steps"]),N=()=>T(x["validation-message"]),B=()=>E(".".concat(x.actions," .").concat(x.confirm)),M=()=>E(".".concat(x.actions," .").concat(x.deny)),D=()=>E(".".concat(x.loader)),z=()=>E(".".concat(x.actions," .").concat(x.cancel)),j=()=>T(x.actions),R=()=>T(x.footer),q=()=>T(x["timer-progress-bar"]),H=()=>T(x.close),F=()=>{const e=o(S().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((e,t)=>{const o=parseInt(e.getAttribute("tabindex")),n=parseInt(t.getAttribute("tabindex"));return o>n?1:o<n?-1:0})),t=o(S().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter((e=>"-1"!==e.getAttribute("tabindex")));return(e=>{const t=[];for(let o=0;o<e.length;o++)-1===t.indexOf(e[o])&&t.push(e[o]);return t})(e.concat(t)).filter((e=>se(e)))},V=()=>Y(document.body,x.shown)&&!Y(document.body,x["toast-shown"])&&!Y(document.body,x["no-backdrop"]),$=()=>S()&&Y(S(),x.toast),U={previousBodyPadding:null},Z=(e,t)=>{if(e.textContent="",t){const n=(new DOMParser).parseFromString(t,"text/html");o(n.querySelector("head").childNodes).forEach((t=>{e.appendChild(t)})),o(n.querySelector("body").childNodes).forEach((t=>{e.appendChild(t)}))}},Y=(e,t)=>{if(!t)return!1;const o=t.split(/\s+/);for(let t=0;t<o.length;t++)if(!e.classList.contains(o[t]))return!1;return!0},W=(e,t,r)=>{if(((e,t)=>{o(e.classList).forEach((o=>{Object.values(x).includes(o)||Object.values(_).includes(o)||Object.values(t.showClass).includes(o)||e.classList.remove(o)}))})(e,t),t.customClass&&t.customClass[r]){if("string"!=typeof t.customClass[r]&&!t.customClass[r].forEach)return n("Invalid type of customClass.".concat(r,'! Expected string or iterable object, got "').concat(typeof t.customClass[r],'"'));Q(e,t.customClass[r])}},X=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(x.popup," > .").concat(x[t]));case"checkbox":return e.querySelector(".".concat(x.popup," > .").concat(x.checkbox," input"));case"radio":return e.querySelector(".".concat(x.popup," > .").concat(x.radio," input:checked"))||e.querySelector(".".concat(x.popup," > .").concat(x.radio," input:first-child"));case"range":return e.querySelector(".".concat(x.popup," > .").concat(x.range," input"));default:return e.querySelector(".".concat(x.popup," > .").concat(x.input))}},G=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},K=(e,t,o)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{o?e.classList.add(t):e.classList.remove(t)})):o?e.classList.add(t):e.classList.remove(t)})))},Q=(e,t)=>{K(e,t,!0)},J=(e,t)=>{K(e,t,!1)},ee=(e,t)=>{const n=o(e.childNodes);for(let e=0;e<n.length;e++)if(Y(n[e],t))return n[e]},te=(e,t,o)=>{o==="".concat(parseInt(o))&&(o=parseInt(o)),o||0===parseInt(o)?e.style[t]="number"==typeof o?"".concat(o,"px"):o:e.style.removeProperty(t)},oe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},ne=e=>{e.style.display="none"},re=(e,t,o,n)=>{const r=e.querySelector(t);r&&(r.style[o]=n)},ae=(e,t,o)=>{t?oe(e,o):ne(e)},se=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),ie=e=>!!(e.scrollHeight>e.clientHeight),le=e=>{const t=window.getComputedStyle(e),o=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return o>0||n>0},ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=q();se(o)&&(t&&(o.style.transition="none",o.style.width="100%"),setTimeout((()=>{o.style.transition="width ".concat(e/1e3,"s linear"),o.style.width="0%"}),10))},de=()=>"undefined"==typeof window||"undefined"==typeof document,ue={},pe=e=>new Promise((t=>{if(!e)return t();const o=window.scrollX,n=window.scrollY;ue.restoreFocusTimeout=setTimeout((()=>{ue.previousActiveElement&&ue.previousActiveElement.focus?(ue.previousActiveElement.focus(),ue.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(o,n)})),me='\n <div aria-labelledby="'.concat(x.title,'" aria-describedby="').concat(x["html-container"],'" class="').concat(x.popup,'" tabindex="-1">\n <button type="button" class="').concat(x.close,'"></button>\n <ul class="').concat(x["progress-steps"],'"></ul>\n <div class="').concat(x.icon,'"></div>\n <img class="').concat(x.image,'" />\n <h2 class="').concat(x.title,'" id="').concat(x.title,'"></h2>\n <div class="').concat(x["html-container"],'" id="').concat(x["html-container"],'"></div>\n <input class="').concat(x.input,'" />\n <input type="file" class="').concat(x.file,'" />\n <div class="').concat(x.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(x.select,'"></select>\n <div class="').concat(x.radio,'"></div>\n <label for="').concat(x.checkbox,'" class="').concat(x.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(x.label,'"></span>\n </label>\n <textarea class="').concat(x.textarea,'"></textarea>\n <div class="').concat(x["validation-message"],'" id="').concat(x["validation-message"],'"></div>\n <div class="').concat(x.actions,'">\n <div class="').concat(x.loader,'"></div>\n <button type="button" class="').concat(x.confirm,'"></button>\n <button type="button" class="').concat(x.deny,'"></button>\n <button type="button" class="').concat(x.cancel,'"></button>\n </div>\n <div class="').concat(x.footer,'"></div>\n <div class="').concat(x["timer-progress-bar-container"],'">\n <div class="').concat(x["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),he=()=>{ue.currentInstance.resetValidationMessage()},fe=e=>{const t=(()=>{const e=C();return!!e&&(e.remove(),J([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]]),!0)})();if(de())return void r("SweetAlert2 requires document to initialize");const o=document.createElement("div");o.className=x.container,t&&Q(o,x["no-transition"]),Z(o,me);const n="string"==typeof(a=e.target)?document.querySelector(a):a;var a;n.appendChild(o),(e=>{const t=S();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&Q(C(),x.rtl)})(n),(()=>{const e=S(),t=ee(e,x.input),o=ee(e,x.file),n=e.querySelector(".".concat(x.range," input")),r=e.querySelector(".".concat(x.range," output")),a=ee(e,x.select),s=e.querySelector(".".concat(x.checkbox," input")),i=ee(e,x.textarea);t.oninput=he,o.onchange=he,a.onchange=he,s.onchange=he,i.oninput=he,n.oninput=()=>{he(),r.value=n.value},n.onchange=()=>{he(),n.nextSibling.value=n.value}})()},ge=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?be(e,t):e&&Z(t,e)},be=(e,t)=>{e.jquery?we(t,e):Z(t,e.toString())},we=(e,t)=>{if(e.textContent="",0 in t)for(let o=0;o in t;o++)e.appendChild(t[o].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},ye=(()=>{if(de())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&void 0!==e.style[o])return t[o];return!1})(),ve=(e,t)=>{const o=j(),n=D();t.showConfirmButton||t.showDenyButton||t.showCancelButton?oe(o):ne(o),W(o,t,"actions"),function(e,t,o){const n=B(),r=M(),a=z();ke(n,"confirm",o),ke(r,"deny",o),ke(a,"cancel",o),function(e,t,o,n){if(!n.buttonsStyling)return J([e,t,o],x.styled);Q([e,t,o],x.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,Q(e,x["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,Q(t,x["default-outline"])),n.cancelButtonColor&&(o.style.backgroundColor=n.cancelButtonColor,Q(o,x["default-outline"]))}(n,r,a,o),o.reverseButtons&&(o.toast?(e.insertBefore(a,n),e.insertBefore(r,n)):(e.insertBefore(a,t),e.insertBefore(r,t),e.insertBefore(n,t)))}(o,n,t),Z(n,t.loaderHtml),W(n,t,"loader")};function ke(e,o,n){ae(e,n["show".concat(t(o),"Button")],"inline-block"),Z(e,n["".concat(o,"ButtonText")]),e.setAttribute("aria-label",n["".concat(o,"ButtonAriaLabel")]),e.className=x[o],W(e,n,"".concat(o,"Button")),Q(e,n["".concat(o,"ButtonClass")])}const xe=(e,t)=>{const o=C();o&&(function(e,t){"string"==typeof t?e.style.background=t:t||Q([document.documentElement,document.body],x["no-backdrop"])}(o,t.backdrop),function(e,t){t in x?Q(e,x[t]):(n('The "position" parameter is not valid, defaulting to "center"'),Q(e,x.center))}(o,t.position),function(e,t){if(t&&"string"==typeof t){const o="grow-".concat(t);o in x&&Q(e,x[o])}}(o,t.grow),W(o,t,"container"))};var _e={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ce=["input","file","range","select","radio","checkbox","textarea"],Ee=e=>{if(!Le[e.input])return r('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Oe(e.input),o=Le[e.input](t,e);oe(o),setTimeout((()=>{G(o)}))},Te=(e,t)=>{const o=X(S(),e);if(o){(e=>{for(let t=0;t<e.attributes.length;t++){const o=e.attributes[t].name;["type","value","style"].includes(o)||e.removeAttribute(o)}})(o);for(const e in t)o.setAttribute(e,t[e])}},Se=e=>{const t=Oe(e.input);e.customClass&&Q(t,e.customClass.input)},Ae=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Pe=(e,t,o)=>{if(o.inputLabel){e.id=x.input;const n=document.createElement("label"),r=x["input-label"];n.setAttribute("for",e.id),n.className=r,Q(n,o.customClass.inputLabel),n.innerText=o.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Oe=e=>{const t=x[e]?x[e]:x.input;return ee(S(),t)},Le={};Le.text=Le.email=Le.password=Le.number=Le.tel=Le.url=(e,t)=>("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:d(t.inputValue)||n('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),Pe(e,e,t),Ae(e,t),e.type=t.input,e),Le.file=(e,t)=>(Pe(e,e,t),Ae(e,t),e),Le.range=(e,t)=>{const o=e.querySelector("input"),n=e.querySelector("output");return o.value=t.inputValue,o.type=t.input,n.value=t.inputValue,Pe(o,e,t),e},Le.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const o=document.createElement("option");Z(o,t.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,e.appendChild(o)}return Pe(e,e,t),e},Le.radio=e=>(e.textContent="",e),Le.checkbox=(e,t)=>{const o=X(S(),"checkbox");o.value="1",o.id=x.checkbox,o.checked=Boolean(t.inputValue);const n=e.querySelector("span");return Z(n,t.inputPlaceholder),e},Le.textarea=(e,t)=>{e.value=t.inputValue,Ae(e,t),Pe(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(S()).width);new MutationObserver((()=>{const o=e.offsetWidth+(n=e,parseInt(window.getComputedStyle(n).marginLeft)+parseInt(window.getComputedStyle(n).marginRight));var n;S().style.width=o>t?"".concat(o,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const Ie=(e,t)=>{const o=O();W(o,t,"htmlContainer"),t.html?(ge(t.html,o),oe(o,"block")):t.text?(o.textContent=t.text,oe(o,"block")):ne(o),((e,t)=>{const o=S(),n=_e.innerParams.get(e),r=!n||t.input!==n.input;Ce.forEach((e=>{const n=x[e],a=ee(o,n);Te(e,t.inputAttributes),a.className=n,r&&ne(a)})),t.input&&(r&&Ee(t),Se(t))})(e,t)},Ne=(e,t)=>{for(const o in _)t.icon!==o&&J(e,_[o]);Q(e,_[t.icon]),De(e,t),Be(),W(e,t,"icon")},Be=()=>{const e=S(),t=window.getComputedStyle(e).getPropertyValue("background-color"),o=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<o.length;e++)o[e].style.backgroundColor=t},Me=(e,t)=>{e.textContent="",t.iconHtml?Z(e,ze(t.iconHtml)):"success"===t.icon?Z(e,'\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n'):"error"===t.icon?Z(e,'\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n'):Z(e,ze({question:"?",warning:"!",info:"i"}[t.icon]))},De=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])re(e,o,"backgroundColor",t.iconColor);re(e,".swal2-success-ring","borderColor",t.iconColor)}},ze=e=>'<div class="'.concat(x["icon-content"],'">').concat(e,"</div>"),je=(e,t)=>{const o=I();if(!t.progressSteps||0===t.progressSteps.length)return ne(o);oe(o),o.textContent="",t.currentProgressStep>=t.progressSteps.length&&n("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(((e,n)=>{const r=(e=>{const t=document.createElement("li");return Q(t,x["progress-step"]),Z(t,e),t})(e);if(o.appendChild(r),n===t.currentProgressStep&&Q(r,x["active-progress-step"]),n!==t.progressSteps.length-1){const e=(e=>{const t=document.createElement("li");return Q(t,x["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t})(t);o.appendChild(e)}}))},Re=(e,t)=>{e.className="".concat(x.popup," ").concat(se(e)?t.showClass.popup:""),t.toast?(Q([document.documentElement,document.body],x["toast-shown"]),Q(e,x.toast)):Q(e,x.modal),W(e,t,"popup"),"string"==typeof t.customClass&&Q(e,t.customClass),t.icon&&Q(e,x["icon-".concat(t.icon)])},qe=(e,t)=>{((e,t)=>{const o=C(),n=S();t.toast?(te(o,"width",t.width),n.style.width="100%",n.insertBefore(D(),A())):te(n,"width",t.width),te(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),ne(N()),Re(n,t)})(0,t),xe(0,t),je(0,t),((e,t)=>{const o=_e.innerParams.get(e),n=A();o&&t.icon===o.icon?(Me(n,t),Ne(n,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(_).indexOf(t.icon)?(r('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),ne(n)):(oe(n),Me(n,t),Ne(n,t),Q(n,t.showClass.icon)):ne(n)})(e,t),((e,t)=>{const o=L();if(!t.imageUrl)return ne(o);oe(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt),te(o,"width",t.imageWidth),te(o,"height",t.imageHeight),o.className=x.image,W(o,t,"image")})(0,t),((e,t)=>{const o=P();ae(o,t.title||t.titleText,"block"),t.title&&ge(t.title,o),t.titleText&&(o.innerText=t.titleText),W(o,t,"title")})(0,t),((e,t)=>{const o=H();Z(o,t.closeButtonHtml),W(o,t,"closeButton"),ae(o,t.showCloseButton),o.setAttribute("aria-label",t.closeButtonAriaLabel)})(0,t),Ie(e,t),ve(0,t),((e,t)=>{const o=R();ae(o,t.footer),t.footer&&ge(t.footer,o),W(o,t,"footer")})(0,t),"function"==typeof t.didRender&&t.didRender(S())},He=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Fe=()=>{o(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Ve=["swal-title","swal-html","swal-footer"],$e=e=>{const t={};return o(e.querySelectorAll("swal-param")).forEach((e=>{Ke(e,["name","value"]);const o=e.getAttribute("name"),n=e.getAttribute("value");"boolean"==typeof u[o]&&"false"===n&&(t[o]=!1),"object"==typeof u[o]&&(t[o]=JSON.parse(n))})),t},Ue=e=>{const n={};return o(e.querySelectorAll("swal-button")).forEach((e=>{Ke(e,["type","color","aria-label"]);const o=e.getAttribute("type");n["".concat(o,"ButtonText")]=e.innerHTML,n["show".concat(t(o),"Button")]=!0,e.hasAttribute("color")&&(n["".concat(o,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(n["".concat(o,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),n},Ze=e=>{const t={},o=e.querySelector("swal-image");return o&&(Ke(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt"))),t},Ye=e=>{const t={},o=e.querySelector("swal-icon");return o&&(Ke(o,["type","color"]),o.hasAttribute("type")&&(t.icon=o.getAttribute("type")),o.hasAttribute("color")&&(t.iconColor=o.getAttribute("color")),t.iconHtml=o.innerHTML),t},We=e=>{const t={},n=e.querySelector("swal-input");n&&(Ke(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const r=e.querySelectorAll("swal-input-option");return r.length&&(t.inputOptions={},o(r).forEach((e=>{Ke(e,["value"]);const o=e.getAttribute("value"),n=e.innerHTML;t.inputOptions[o]=n}))),t},Xe=(e,t)=>{const o={};for(const n in t){const r=t[n],a=e.querySelector(r);a&&(Ke(a,[]),o[r.replace(/^swal-/,"")]=a.innerHTML.trim())}return o},Ge=e=>{const t=Ve.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);o(e.children).forEach((e=>{const o=e.tagName.toLowerCase();-1===t.indexOf(o)&&n("Unrecognized element <".concat(o,">"))}))},Ke=(e,t)=>{o(e.attributes).forEach((o=>{-1===t.indexOf(o.name)&&n(['Unrecognized attribute "'.concat(o.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))};var Qe={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function Je(e){(function(e){e.inputValidator||Object.keys(Qe).forEach((t=>{e.input===t&&(e.inputValidator=Qe[t])}))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&n("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(n('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),fe(e)}class et{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const tt=()=>{null===U.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(U.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(U.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=x["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},ot=()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),o=!!e.match(/WebKit/i);if(t&&o&&!e.match(/CriOS/i)){const e=44;S().scrollHeight>window.innerHeight-e&&(C().style.paddingBottom="".concat(e,"px"))}},nt=()=>{const e=C();let t;e.ontouchstart=e=>{t=rt(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},rt=e=>{const t=e.target,o=C();return!(at(e)||st(e)||t!==o&&(ie(o)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||ie(O())&&O().contains(t)))},at=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,st=e=>e.touches&&e.touches.length>1,it=e=>{const t=C(),n=S();"function"==typeof e.willOpen&&e.willOpen(n);const r=window.getComputedStyle(document.body).overflowY;ut(t,n,e),setTimeout((()=>{ct(t,n)}),10),V()&&(dt(t,e.scrollbarPadding,r),o(document.body.children).forEach((e=>{e===C()||e.contains(C())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),$()||ue.previousActiveElement||(ue.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(n))),J(t,x["no-transition"])},lt=e=>{const t=S();if(e.target!==t)return;const o=C();t.removeEventListener(ye,lt),o.style.overflowY="auto"},ct=(e,t)=>{ye&&le(t)?(e.style.overflowY="hidden",t.addEventListener(ye,lt)):e.style.overflowY="auto"},dt=(e,t,o)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Y(document.body,x.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),Q(document.body,x.iosfix),nt(),ot()}})(),t&&"hidden"!==o&&tt(),setTimeout((()=>{e.scrollTop=0}))},ut=(e,t,o)=>{Q(e,o.showClass.backdrop),t.style.setProperty("opacity","0","important"),oe(t,"grid"),setTimeout((()=>{Q(t,o.showClass.popup),t.style.removeProperty("opacity")}),10),Q([document.documentElement,document.body],x.shown),o.heightAuto&&o.backdrop&&!o.toast&&Q([document.documentElement,document.body],x["height-auto"])},pt=e=>{let t=S();t||new Eo,t=S();const o=D();$()?ne(A()):mt(t,e),oe(o),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},mt=(e,t)=>{const o=j(),n=D();!t&&se(B())&&(t=B()),oe(o),t&&(ne(t),n.setAttribute("data-button-to-replace",t.className)),n.parentNode.insertBefore(n,t),Q([e,o],x.loading)},ht=e=>e.checked?1:0,ft=e=>e.checked?e.value:null,gt=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,bt=(e,t)=>{const o=S(),n=e=>yt[t.input](o,vt(e),t);l(t.inputOptions)||d(t.inputOptions)?(pt(B()),c(t.inputOptions).then((t=>{e.hideLoading(),n(t)}))):"object"==typeof t.inputOptions?n(t.inputOptions):r("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},wt=(e,t)=>{const o=e.getInput();ne(o),c(t.inputValue).then((n=>{o.value="number"===t.input?parseFloat(n)||0:"".concat(n),oe(o),o.focus(),e.hideLoading()})).catch((t=>{r("Error in inputValue promise: ".concat(t)),o.value="",oe(o),o.focus(),e.hideLoading()}))},yt={select:(e,t,o)=>{const n=ee(e,x.select),r=(e,t,n)=>{const r=document.createElement("option");r.value=n,Z(r,t),r.selected=kt(n,o.inputValue),e.appendChild(r)};t.forEach((e=>{const t=e[0],o=e[1];if(Array.isArray(o)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),o.forEach((t=>r(e,t[1],t[0])))}else r(n,o,t)})),n.focus()},radio:(e,t,o)=>{const n=ee(e,x.radio);t.forEach((e=>{const t=e[0],r=e[1],a=document.createElement("input"),s=document.createElement("label");a.type="radio",a.name=x.radio,a.value=t,kt(t,o.inputValue)&&(a.checked=!0);const i=document.createElement("span");Z(i,r),i.className=x.label,s.appendChild(a),s.appendChild(i),n.appendChild(s)}));const r=n.querySelectorAll("input");r.length&&r[0].focus()}},vt=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,o)=>{let n=e;"object"==typeof n&&(n=vt(n)),t.push([o,n])})):Object.keys(e).forEach((o=>{let n=e[o];"object"==typeof n&&(n=vt(n)),t.push([o,n])})),t},kt=(e,t)=>t&&t.toString()===e.toString();function xt(){const e=_e.innerParams.get(this);if(!e)return;const t=_e.domCache.get(this);ne(t.loader),$()?e.icon&&oe(A()):_t(t),J([t.popup,t.actions],x.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const _t=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?oe(t[0],"inline-block"):!se(B())&&!se(M())&&!se(z())&&ne(e.actions)};var Ct={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Et=()=>B()&&B().click(),Tt=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},St=(e,t,o)=>{const n=F();if(n.length)return(t+=o)===n.length?t=0:-1===t&&(t=n.length-1),n[t].focus();S().focus()},At=["ArrowRight","ArrowDown"],Pt=["ArrowLeft","ArrowUp"],Ot=(e,t,o)=>{const n=_e.innerParams.get(e);n&&(t.isComposing||229===t.keyCode||(n.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Lt(e,t,n):"Tab"===t.key?It(t,n):[...At,...Pt].includes(t.key)?Nt(t.key):"Escape"===t.key&&Bt(t,n,o)))},Lt=(e,t,o)=>{if(i(o.allowEnterKey)&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(o.input))return;Et(),t.preventDefault()}},It=(e,t)=>{const o=e.target,n=F();let r=-1;for(let e=0;e<n.length;e++)if(o===n[e]){r=e;break}e.shiftKey?St(0,r,-1):St(0,r,1),e.stopPropagation(),e.preventDefault()},Nt=e=>{if(![B(),M(),z()].includes(document.activeElement))return;const t=At.includes(e)?"nextElementSibling":"previousElementSibling";let o=document.activeElement;for(let e=0;e<j().children.length;e++){if(o=o[t],!o)return;if(se(o)&&o instanceof HTMLButtonElement)break}o instanceof HTMLButtonElement&&o.focus()},Bt=(e,t,o)=>{i(t.allowEscapeKey)&&(e.preventDefault(),o(He.esc))};function Mt(e,t,o,n){$()?Ft(e,n):(pe(o).then((()=>Ft(e,n))),Tt(ue)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),V()&&(null!==U.previousBodyPadding&&(document.body.style.paddingRight="".concat(U.previousBodyPadding,"px"),U.previousBodyPadding=null),(()=>{if(Y(document.body,x.iosfix)){const e=parseInt(document.body.style.top,10);J(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Fe()),J([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"]])}function Dt(e){e=Rt(e);const t=Ct.swalPromiseResolve.get(this),o=zt(this);this.isAwaitingPromise()?e.isDismissed||(jt(this),t(e)):o&&t(e)}const zt=e=>{const t=S();if(!t)return!1;const o=_e.innerParams.get(e);if(!o||Y(t,o.hideClass.popup))return!1;J(t,o.showClass.popup),Q(t,o.hideClass.popup);const n=C();return J(n,o.showClass.backdrop),Q(n,o.hideClass.backdrop),qt(e,t,o),!0};const jt=e=>{e.isAwaitingPromise()&&(_e.awaitingPromise.delete(e),_e.innerParams.get(e)||e._destroy())},Rt=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),qt=(e,t,o)=>{const n=C(),r=ye&&le(t);"function"==typeof o.willClose&&o.willClose(t),r?Ht(e,t,n,o.returnFocus,o.didClose):Mt(e,n,o.returnFocus,o.didClose)},Ht=(e,t,o,n,r)=>{ue.swalCloseEventFinishedCallback=Mt.bind(null,e,o,n,r),t.addEventListener(ye,(function(e){e.target===t&&(ue.swalCloseEventFinishedCallback(),delete ue.swalCloseEventFinishedCallback)}))},Ft=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()}))};function Vt(e,t,o){const n=_e.domCache.get(e);t.forEach((e=>{n[e].disabled=o}))}function $t(e,t){if(!e)return!1;if("radio"===e.type){const o=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e<o.length;e++)o[e].disabled=t}else e.disabled=t}const Ut=e=>{const t={};return Object.keys(e).forEach((o=>{g(o)?t[o]=e[o]:n('Invalid parameter to update: "'.concat(o,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),t};const Zt=e=>{Yt(e),delete e.params,delete ue.keydownHandler,delete ue.keydownTarget,delete ue.currentInstance},Yt=e=>{e.isAwaitingPromise()?(Wt(_e,e),_e.awaitingPromise.set(e,!0)):(Wt(Ct,e),Wt(_e,e))},Wt=(e,t)=>{for(const o in e)e[o].delete(t)};var Xt=Object.freeze({hideLoading:xt,disableLoading:xt,getInput:function(e){const t=_e.innerParams.get(e||this),o=_e.domCache.get(e||this);return o?X(o.popup,t.input):null},close:Dt,isAwaitingPromise:function(){return!!_e.awaitingPromise.get(this)},rejectPromise:function(e){const t=Ct.swalPromiseReject.get(this);jt(this),t&&t(e)},handleAwaitingPromise:jt,closePopup:Dt,closeModal:Dt,closeToast:Dt,enableButtons:function(){Vt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Vt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return $t(this.getInput(),!1)},disableInput:function(){return $t(this.getInput(),!0)},showValidationMessage:function(e){const t=_e.domCache.get(this),o=_e.innerParams.get(this);Z(t.validationMessage,e),t.validationMessage.className=x["validation-message"],o.customClass&&o.customClass.validationMessage&&Q(t.validationMessage,o.customClass.validationMessage),oe(t.validationMessage);const n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedby",x["validation-message"]),G(n),Q(n,x.inputerror))},resetValidationMessage:function(){const e=_e.domCache.get(this);e.validationMessage&&ne(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),J(t,x.inputerror))},getProgressSteps:function(){return _e.domCache.get(this).progressSteps},update:function(e){const t=S(),o=_e.innerParams.get(this);if(!t||Y(t,o.hideClass.popup))return n("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const r=Ut(e),a=Object.assign({},o,r);qe(this,a),_e.innerParams.set(this,a),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){const e=_e.domCache.get(this),t=_e.innerParams.get(this);t?(e.popup&&ue.swalCloseEventFinishedCallback&&(ue.swalCloseEventFinishedCallback(),delete ue.swalCloseEventFinishedCallback),ue.deferDisposalTimer&&(clearTimeout(ue.deferDisposalTimer),delete ue.deferDisposalTimer),"function"==typeof t.didDestroy&&t.didDestroy(),Zt(this)):Yt(this)}});const Gt=(e,o)=>{const n=_e.innerParams.get(e);if(!n.input)return r('The "input" parameter is needed to be set when using returnInputValueOn'.concat(t(o)));const a=((e,t)=>{const o=e.getInput();if(!o)return null;switch(t.input){case"checkbox":return ht(o);case"radio":return ft(o);case"file":return gt(o);default:return t.inputAutoTrim?o.value.trim():o.value}})(e,n);n.inputValidator?Kt(e,a,o):e.getInput().checkValidity()?"deny"===o?Qt(e,a):to(e,a):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},Kt=(e,t,o)=>{const n=_e.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>c(n.inputValidator(t,n.validationMessage)))).then((n=>{e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):"deny"===o?Qt(e,t):to(e,t)}))},Qt=(e,t)=>{const o=_e.innerParams.get(e||void 0);o.showLoaderOnDeny&&pt(M()),o.preDeny?(_e.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(o.preDeny(t,o.validationMessage)))).then((o=>{!1===o?(e.hideLoading(),jt(e)):e.closePopup({isDenied:!0,value:void 0===o?t:o})})).catch((t=>eo(e||void 0,t)))):e.closePopup({isDenied:!0,value:t})},Jt=(e,t)=>{e.closePopup({isConfirmed:!0,value:t})},eo=(e,t)=>{e.rejectPromise(t)},to=(e,t)=>{const o=_e.innerParams.get(e||void 0);o.showLoaderOnConfirm&&pt(),o.preConfirm?(e.resetValidationMessage(),_e.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(o.preConfirm(t,o.validationMessage)))).then((o=>{se(N())||!1===o?(e.hideLoading(),jt(e)):Jt(e,void 0===o?t:o)})).catch((t=>eo(e||void 0,t)))):Jt(e,t)},oo=(e,t,o)=>{t.popup.onclick=()=>{const t=_e.innerParams.get(e);t&&(no(t)||t.timer||t.input)||o(He.close)}},no=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let ro=!1;const ao=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(ro=!0)}}},so=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(ro=!0)}}},io=(e,t,o)=>{t.container.onclick=n=>{const r=_e.innerParams.get(e);ro?ro=!1:n.target===t.container&&i(r.allowOutsideClick)&&o(He.backdrop)}},lo=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const co=()=>{if(ue.timeout)return(()=>{const e=q(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const o=t/parseInt(window.getComputedStyle(e).width)*100;e.style.removeProperty("transition"),e.style.width="".concat(o,"%")})(),ue.timeout.stop()},uo=()=>{if(ue.timeout){const e=ue.timeout.start();return ce(e),e}};let po=!1;const mo={};const ho=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in mo){const o=t.getAttribute(e);if(o)return void mo[e].fire({template:o})}};var fo=Object.freeze({isValidParameter:f,isUpdatableParameter:g,isDeprecatedParameter:b,argsToParams:e=>{const t={};return"object"!=typeof e[0]||lo(e[0])?["title","html","icon"].forEach(((o,n)=>{const a=e[n];"string"==typeof a||lo(a)?t[o]=a:void 0!==a&&r("Unexpected type of ".concat(o,'! Expected "string" or "Element", got ').concat(typeof a))})):Object.assign(t,e[0]),t},isVisible:()=>se(S()),clickConfirm:Et,clickDeny:()=>M()&&M().click(),clickCancel:()=>z()&&z().click(),getContainer:C,getPopup:S,getTitle:P,getHtmlContainer:O,getImage:L,getIcon:A,getInputLabel:()=>T(x["input-label"]),getCloseButton:H,getActions:j,getConfirmButton:B,getDenyButton:M,getCancelButton:z,getLoader:D,getFooter:R,getTimerProgressBar:q,getFocusableElements:F,getValidationMessage:N,isLoading:()=>S().hasAttribute("data-loading"),fire:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new this(...t)},mixin:function(e){return class extends(this){_main(t,o){return super._main(t,Object.assign({},e,o))}}},showLoading:pt,enableLoading:pt,getTimerLeft:()=>ue.timeout&&ue.timeout.getTimerLeft(),stopTimer:co,resumeTimer:uo,toggleTimer:()=>{const e=ue.timeout;return e&&(e.running?co():uo())},increaseTimer:e=>{if(ue.timeout){const t=ue.timeout.increase(e);return ce(t,!0),t}},isTimerRunning:()=>ue.timeout&&ue.timeout.isRunning(),bindClickHandler:function(){mo[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,po||(document.body.addEventListener("click",ho),po=!0)}});let go;class bo{constructor(){if("undefined"==typeof window)return;go=this;for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const n=Object.freeze(this.constructor.argsToParams(t));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0,configurable:!0}});const r=this._main(this.params);_e.promise.set(this,r)}_main(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!e.backdrop&&e.allowOutsideClick&&n('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)w(t),e.toast&&y(t),v(t)})(Object.assign({},t,e)),ue.currentInstance&&(ue.currentInstance._destroy(),V()&&Fe()),ue.currentInstance=this;const o=yo(e,t);Je(o),Object.freeze(o),ue.timeout&&(ue.timeout.stop(),delete ue.timeout),clearTimeout(ue.restoreFocusTimeout);const r=vo(this);return qe(this,o),_e.innerParams.set(this,o),wo(this,r,o)}then(e){return _e.promise.get(this).then(e)}finally(e){return _e.promise.get(this).finally(e)}}const wo=(e,t,o)=>new Promise(((n,r)=>{const a=t=>{e.closePopup({isDismissed:!0,dismiss:t})};Ct.swalPromiseResolve.set(e,n),Ct.swalPromiseReject.set(e,r),t.confirmButton.onclick=()=>(e=>{const t=_e.innerParams.get(e);e.disableButtons(),t.input?Gt(e,"confirm"):to(e,!0)})(e),t.denyButton.onclick=()=>(e=>{const t=_e.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Gt(e,"deny"):Qt(e,!1)})(e),t.cancelButton.onclick=()=>((e,t)=>{e.disableButtons(),t(He.cancel)})(e,a),t.closeButton.onclick=()=>a(He.close),((e,t,o)=>{_e.innerParams.get(e).toast?oo(e,t,o):(ao(t),so(t),io(e,t,o))})(e,t,a),((e,t,o,n)=>{Tt(t),o.toast||(t.keydownHandler=t=>Ot(e,t,n),t.keydownTarget=o.keydownListenerCapture?window:S(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(e,ue,o,a),((e,t)=>{"select"===t.input||"radio"===t.input?bt(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(l(t.inputValue)||d(t.inputValue))&&(pt(B()),wt(e,t))})(e,o),it(o),ko(ue,o,a),xo(t,o),setTimeout((()=>{t.container.scrollTop=0}))})),yo=(e,t)=>{const o=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const o=t.content;return Ge(o),Object.assign($e(o),Ue(o),Ze(o),Ye(o),We(o),Xe(o,Ve))})(e),n=Object.assign({},u,t,o,e);return n.showClass=Object.assign({},u.showClass,n.showClass),n.hideClass=Object.assign({},u.hideClass,n.hideClass),n},vo=e=>{const t={popup:S(),container:C(),actions:j(),confirmButton:B(),denyButton:M(),cancelButton:z(),loader:D(),closeButton:H(),validationMessage:N(),progressSteps:I()};return _e.domCache.set(e,t),t},ko=(e,t,o)=>{const n=q();ne(n),t.timer&&(e.timeout=new et((()=>{o("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(oe(n),W(n,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ce(t.timer)}))))},xo=(e,t)=>{if(!t.toast)return i(t.allowEnterKey)?void(_o(e,t)||St(0,-1,1)):Co()},_o=(e,t)=>t.focusDeny&&se(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&se(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!se(e.confirmButton)||(e.confirmButton.focus(),0)),Co=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(bo.prototype,Xt),Object.assign(bo,fo),Object.keys(Xt).forEach((e=>{bo[e]=function(){if(go)return go[e](...arguments)}})),bo.DismissReason=He,bo.version="11.4.8";const Eo=bo;return Eo.default=Eo,Eo}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var o=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(o),o.styleSheet)o.styleSheet.disabled||(o.styleSheet.cssText=t);else try{o.innerHTML=t}catch(e){o.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},9196:function(e){"use strict";e.exports=window.React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,o),a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=o(9196),t=window.wp.hooks;function n(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=n(e[t]))&&(r&&(r+=" "),r+=o);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var r=function(){for(var e,t,o=0,r="";o<arguments.length;)(e=arguments[o++])&&(t=n(e))&&(r&&(r+=" "),r+=t);return r};const a=e=>"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,i=e=>"function"==typeof e,l=e=>s(e)||i(e)?e:null,c=t=>(0,e.isValidElement)(t)||s(t)||i(t)||a(t);function d(t){let{enter:o,exit:n,appendPosition:r=!1,collapse:a=!0,collapseDuration:s=300}=t;return function(t){let{children:i,position:l,preventExitTransition:c,done:d,nodeRef:u,isIn:p}=t;const m=r?`${o}--${l}`:o,h=r?`${n}--${l}`:n,f=(0,e.useRef)(0);return(0,e.useLayoutEffect)((()=>{const e=u.current,t=m.split(" "),o=n=>{n.target===u.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",o),e.removeEventListener("animationcancel",o),0===f.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",o),e.addEventListener("animationcancel",o)}),[]),(0,e.useEffect)((()=>{const e=u.current,t=()=>{e.removeEventListener("animationend",t),a?function(e,t,o){void 0===o&&(o=300);const{scrollHeight:n,style:r}=e;requestAnimationFrame((()=>{r.minHeight="initial",r.height=n+"px",r.transition=`all ${o}ms`,requestAnimationFrame((()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(t,o)}))}))}(e,d,s):d()};p||(c?t():(f.current=1,e.className+=` ${h}`,e.addEventListener("animationend",t)))}),[p]),e.createElement(e.Fragment,null,i)}}function u(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const o=this.list.get(e).filter((e=>e!==t));return this.list.set(e,o),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const o=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(o)}))}},m=t=>{let{theme:o,type:n,...r}=t;return e.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===o?"currentColor":`var(--toastify-icon-color-${n})`,...r})},h={info:function(t){return e.createElement(m,{...t},e.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return e.createElement(m,{...t},e.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return e.createElement(m,{...t},e.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return e.createElement(m,{...t},e.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return e.createElement("div",{className:"Toastify__spinner"})}};function f(t){const[,o]=(0,e.useReducer)((e=>e+1),0),[n,r]=(0,e.useState)([]),d=(0,e.useRef)(null),m=(0,e.useRef)(new Map).current,f=e=>-1!==n.indexOf(e),g=(0,e.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:f,getToast:e=>m.get(e)}).current;function b(e){let{containerId:t}=e;const{limit:o}=g.props;!o||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function w(e){r((t=>null==e?[]:t.filter((t=>t!==e))))}function y(){const{toastContent:e,toastProps:t,staleId:o}=g.queue.shift();k(e,t,o)}function v(t,n){let{delay:r,staleId:f,...b}=n;if(!c(t)||function(e){return!d.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||m.has(e.toastId)&&null==e.updateId}(b))return;const{toastId:v,updateId:x,data:_}=b,{props:C}=g,E=()=>w(v),T=null==x;T&&g.count++;const S={...C,style:C.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(b).filter((e=>{let[t,o]=e;return null!=o}))),toastId:v,updateId:x,data:_,closeToast:E,isIn:!1,className:l(b.className||C.toastClassName),bodyClassName:l(b.bodyClassName||C.bodyClassName),progressClassName:l(b.progressClassName||C.progressClassName),autoClose:!b.isLoading&&(A=b.autoClose,P=C.autoClose,!1===A||a(A)&&A>0?A:P),deleteToast(){const e=u(m.get(v),"removed");m.delete(v),p.emit(4,e);const t=g.queue.length;if(g.count=null==v?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),t>0){const e=null==v?g.props.limit:1;if(1===t||1===e)g.displayedToast++,y();else{const o=e>t?t:e;g.displayedToast=o;for(let e=0;e<o;e++)y()}}else o()}};var A,P;S.iconOut=function(t){let{theme:o,type:n,isLoading:r,icon:l}=t,c=null;const d={theme:o,type:n};return!1===l||(i(l)?c=l(d):(0,e.isValidElement)(l)?c=(0,e.cloneElement)(l,d):s(l)||a(l)?c=l:r?c=h.spinner():(e=>e in h)(n)&&(c=h[n](d))),c}(S),i(b.onOpen)&&(S.onOpen=b.onOpen),i(b.onClose)&&(S.onClose=b.onClose),S.closeButton=C.closeButton,!1===b.closeButton||c(b.closeButton)?S.closeButton=b.closeButton:!0===b.closeButton&&(S.closeButton=!c(C.closeButton)||C.closeButton);let O=t;(0,e.isValidElement)(t)&&!s(t.type)?O=(0,e.cloneElement)(t,{closeToast:E,toastProps:S,data:_}):i(t)&&(O=t({closeToast:E,toastProps:S,data:_})),C.limit&&C.limit>0&&g.count>C.limit&&T?g.queue.push({toastContent:O,toastProps:S,staleId:f}):a(r)?setTimeout((()=>{k(O,S,f)}),r):k(O,S,f)}function k(e,t,o){const{toastId:n}=t;o&&m.delete(o);const a={content:e,props:t};m.set(n,a),r((e=>[...e,n].filter((e=>e!==o)))),p.emit(4,u(a,null==a.props.updateId?"added":"updated"))}return(0,e.useEffect)((()=>(g.containerId=t.containerId,p.cancelEmit(3).on(0,v).on(1,(e=>d.current&&w(e))).on(5,b).emit(2,g),()=>{m.clear(),p.emit(3,g)})),[]),(0,e.useEffect)((()=>{g.props=t,g.isToastActive=f,g.displayedToast=n.length})),{getToastToRender:function(e){const o=new Map,n=Array.from(m.values());return t.newestOnTop&&n.reverse(),n.forEach((e=>{const{position:t}=e.props;o.has(t)||o.set(t,[]),o.get(t).push(e)})),Array.from(o,(t=>e(t[0],t[1])))},containerRef:d,isToastActive:f}}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function w(t){const[o,n]=(0,e.useState)(!1),[r,a]=(0,e.useState)(!1),s=(0,e.useRef)(null),l=(0,e.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,e.useRef)(t),{autoClose:d,pauseOnHover:u,closeToast:p,onClick:m,closeOnClick:h}=t;function f(e){if(t.draggable){"touchstart"===e.nativeEvent.type&&e.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",k),document.addEventListener("mouseup",x),document.addEventListener("touchmove",k),document.addEventListener("touchend",x);const o=s.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=o.getBoundingClientRect(),o.style.transition="",l.x=g(e.nativeEvent),l.y=b(e.nativeEvent),"x"===t.draggableDirection?(l.start=l.x,l.removalDistance=o.offsetWidth*(t.draggablePercent/100)):(l.start=l.y,l.removalDistance=o.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent/100))}}function w(e){if(l.boundingRect){const{top:o,bottom:n,left:r,right:a}=l.boundingRect;"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&l.x>=r&&l.x<=a&&l.y>=o&&l.y<=n?v():y()}}function y(){n(!0)}function v(){n(!1)}function k(e){const n=s.current;l.canDrag&&n&&(l.didMove=!0,o&&v(),l.x=g(e),l.y=b(e),l.delta="x"===t.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),n.style.transform=`translate${t.draggableDirection}(${l.delta}px)`,n.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function x(){document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",x),document.removeEventListener("touchmove",k),document.removeEventListener("touchend",x);const e=s.current;if(l.canDrag&&l.didMove&&e){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return a(!0),void t.closeToast();e.style.transition="transform 0.2s, opacity 0.2s",e.style.transform=`translate${t.draggableDirection}(0)`,e.style.opacity="1"}}(0,e.useEffect)((()=>{c.current=t})),(0,e.useEffect)((()=>(s.current&&s.current.addEventListener("d",y,{once:!0}),i(t.onOpen)&&t.onOpen((0,e.isValidElement)(t.children)&&t.children.props),()=>{const t=c.current;i(t.onClose)&&t.onClose((0,e.isValidElement)(t.children)&&t.children.props)})),[]),(0,e.useEffect)((()=>(t.pauseOnFocusLoss&&(document.hasFocus()||v(),window.addEventListener("focus",y),window.addEventListener("blur",v)),()=>{t.pauseOnFocusLoss&&(window.removeEventListener("focus",y),window.removeEventListener("blur",v))})),[t.pauseOnFocusLoss]);const _={onMouseDown:f,onTouchStart:f,onMouseUp:w,onTouchEnd:w};return d&&u&&(_.onMouseEnter=v,_.onMouseLeave=y),h&&(_.onClick=e=>{m&&m(e),l.canCloseOnClick&&p()}),{playToast:y,pauseToast:v,isRunning:o,preventExitTransition:r,toastRef:s,eventHandlers:_}}function y(t){let{closeToast:o,theme:n,ariaLabel:r="close"}=t;return e.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),o(e)},"aria-label":r},e.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},e.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function v(t){let{delay:o,isRunning:n,closeToast:a,type:s="default",hide:l,className:c,style:d,controlledProgress:u,progress:p,rtl:m,isIn:h,theme:f}=t;const g=l||u&&0===p,b={...d,animationDuration:`${o}ms`,animationPlayState:n?"running":"paused",opacity:g?0:1};u&&(b.transform=`scaleX(${p})`);const w=r("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${f}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":m}),y=i(c)?c({rtl:m,type:s,defaultClassName:w}):r(w,c);return e.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:y,style:b,[u&&p>=1?"onTransitionEnd":"onAnimationEnd"]:u&&p<1?null:()=>{h&&a()}})}const k=t=>{const{isRunning:o,preventExitTransition:n,toastRef:a,eventHandlers:s}=w(t),{closeButton:l,children:c,autoClose:d,onClick:u,type:p,hideProgressBar:m,closeToast:h,transition:f,position:g,className:b,style:k,bodyClassName:x,bodyStyle:_,progressClassName:C,progressStyle:E,updateId:T,role:S,progress:A,rtl:P,toastId:O,deleteToast:L,isIn:I,isLoading:N,iconOut:B,closeOnClick:M,theme:D}=t,z=r("Toastify__toast",`Toastify__toast-theme--${D}`,`Toastify__toast--${p}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":M}),j=i(b)?b({rtl:P,position:g,type:p,defaultClassName:z}):r(z,b),R=!!A||!d,q={closeToast:h,type:p,theme:D};let H=null;return!1===l||(H=i(l)?l(q):(0,e.isValidElement)(l)?(0,e.cloneElement)(l,q):y(q)),e.createElement(f,{isIn:I,done:L,position:g,preventExitTransition:n,nodeRef:a},e.createElement("div",{id:O,onClick:u,className:j,...s,style:k,ref:a},e.createElement("div",{...I&&{role:S},className:i(x)?x({type:p}):r("Toastify__toast-body",x),style:_},null!=B&&e.createElement("div",{className:r("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},B),e.createElement("div",null,c)),H,e.createElement(v,{...T&&!R?{key:`pb-${T}`}:{},rtl:P,theme:D,delay:d,isRunning:o,isIn:I,closeToast:h,hide:m,type:p,style:E,className:C,controlledProgress:R,progress:A||0})))},x=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},_=d(x("bounce",!0)),C=(d(x("slide",!0)),d(x("zoom")),d(x("flip")),(0,e.forwardRef)(((t,o)=>{const{getToastToRender:n,containerRef:a,isToastActive:s}=f(t),{className:c,style:d,rtl:u,containerId:p}=t;function m(e){const t=r("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":u});return i(c)?c({position:e,rtl:u,defaultClassName:t}):r(t,l(c))}return(0,e.useEffect)((()=>{o&&(o.current=a.current)}),[]),e.createElement("div",{ref:a,className:"Toastify",id:p},n(((t,o)=>{const n=o.length?{...d}:{...d,pointerEvents:"none"};return e.createElement("div",{className:m(t),style:n,key:`container-${t}`},o.map(((t,n)=>{let{content:r,props:a}=t;return e.createElement(k,{...a,isIn:s(a.toastId),style:{...a.style,"--nth":n+1,"--len":o.length},key:`toast-${a.key}`},r)})))})))})));C.displayName="ToastContainer",C.defaultProps={position:"top-right",transition:_,autoClose:5e3,closeButton:y,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let E,T=new Map,S=[],A=1;function P(){return""+A++}function O(e){return e&&(s(e.toastId)||a(e.toastId))?e.toastId:P()}function L(e,t){return T.size>0?p.emit(0,e,t):S.push({content:e,options:t}),t.toastId}function I(e,t){return{...t,type:t&&t.type||e,toastId:O(t)}}function N(e){return(t,o)=>L(t,I(e,o))}function B(e,t){return L(e,I("default",t))}B.loading=(e,t)=>L(e,I("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),B.promise=function(e,t,o){let n,{pending:r,error:a,success:l}=t;r&&(n=s(r)?B.loading(r,o):B.loading(r.render,{...o,...r}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},d=(e,t,r)=>{if(null==t)return void B.dismiss(n);const a={type:e,...c,...o,data:r},i=s(t)?{render:t}:t;return n?B.update(n,{...a,...i}):B(i.render,{...a,...i}),r},u=i(e)?e():e;return u.then((e=>d("success",l,e))).catch((e=>d("error",a,e))),u},B.success=N("success"),B.info=N("info"),B.error=N("error"),B.warning=N("warning"),B.warn=B.warning,B.dark=(e,t)=>L(e,I("default",{theme:"dark",...t})),B.dismiss=e=>{T.size>0?p.emit(1,e):S=S.filter((t=>null!=e&&t.options.toastId!==e))},B.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},B.isActive=e=>{let t=!1;return T.forEach((o=>{o.isToastActive&&o.isToastActive(e)&&(t=!0)})),t},B.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const o=function(e,t){let{containerId:o}=t;const n=T.get(o||E);return n&&n.getToast(e)}(e,t);if(o){const{props:n,content:r}=o,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:P()};a.toastId!==e&&(a.staleId=e);const s=a.render||r;delete a.render,L(s,a)}}),0)},B.done=e=>{B.update(e,{progress:1})},B.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),B.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},B.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,(e=>{E=e.containerId||e,T.set(E,e),S.forEach((e=>{p.emit(0,e.content,e.options)})),S=[]})).on(3,(e=>{T.delete(e.containerId||e),0===T.size&&p.off(0).off(1).off(5)}));var M=window.wp.apiFetch,D=o.n(M),z=class{constructor(){this.config=window?.wpdeveloperLicenseManagerConfig}post=async(e,t={})=>await this.request({endpoint:e,method:"POST",...t});delete=async(e,t={})=>await this.request({endpoint:e,method:"DELETE",...t});get=async(e,t={})=>await this.request({endpoint:e,method:"GET",...t});getPath=(e,t="GET")=>"ajax"===this.config.apiType?`${this.config?.api_url}?action=${this?.config?.action}/${e}`:`${this.config?.api_url}${e}`;request=async({endpoint:e,...t})=>{if(t.url=this.getPath(e,t?.method),"ajax"===this.config.apiType&&"GET"!==t?.method){let n=null!=t?.data?{...t?.data}:{};n={...n,action:`${this?.config?.action}/${e}`,_nonce:this?.config?.nonce},t.headers={};const r=new FormData;for(var o in n)r.append(o,n[o]);t.body=r,delete t.data}return await D()(t).catch((e=>console.error("Licensing Error: ",e)))};useQuery=e=>new URLSearchParams(e);getParam=(e,t=null)=>this.useQuery(location?.search).get(e)||t},j=window.wp.i18n,R=o(7429),q=(R.domToReact,R.htmlToDOM,R.attributesToProps,R.Comment,R.Element,R.ProcessingInstruction,R.Text,R);const H={position:"bottom-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,icon:!1};var F=(e,t,o)=>(e=e||null,t=t||null,new Promise(((n,r)=>{o=o||{};const a={...H,...o,onClose:n};"success"==e&&B.success(t,a),"error"==e&&B.error(t,a),"info"==e&&B.info(t,a),"warning"==e&&B.warning(t,a),e||r()})));o(4353);var V=window.wp.element,$=({email:t,submitOTP:o,resendOTP:n,isRequestSending:r,isSendingResendRequest:a})=>{const[s,i]=(0,V.useState)("");return(0,e.createElement)("div",{className:"wpdeveloper-verification-msg"},(0,e.createElement)("p",null,(0,j.__)("License Verification code has been sent to this ","betterdocs-pro")," ",(0,e.createElement)("strong",null,t),(0,j.__)(". Please check your email for the code & insert it below","betterdocs-pro")),(0,e.createElement)("div",{className:"wpdeveloper-verification-input-container"},(0,e.createElement)("div",{className:"wpdeveloper-verification-input"},(0,e.createElement)("input",{type:"text",value:s,onChange:e=>i(e.target.value),placeholder:(0,j.__)("Enter Your Verification Code","betterdocs-pro")}),(0,e.createElement)("button",{type:"button",disabled:0===s.length,className:0===s.length?"disabled":"verify",onClick:()=>o(s)},r?(0,j.__)("Verifying...","betterdocs-pro"):(0,j.__)("Verify","betterdocs-pro"))),(0,e.createElement)("div",{className:"wpdeveloper-verification-note"},(0,e.createElement)("p",null,(0,j.__)("Haven’t received an email? Retry clicking on ")," ",(0,e.createElement)("a",{onClick:n,style:{cursor:"pointer",margin:0}},a?(0,j.__)("Resending...","betterdocs-pro"):(0,j.__)("Resend","betterdocs-pro")),(0,j.__)(" button. Please note that this verification code will expire after 15 minutes.","betterdocs-pro"),(0,e.createElement)("a",{target:"_blank",href:"https://betterdocs.co/docs/veirfy-authenticate-betterdocs-pro-license-key/",className:"info-btn"},(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 26 26",fill:"none"},(0,e.createElement)("circle",{cx:"12.5137",cy:"13.4902",r:"8.51367",fill:"#12B76A"}),(0,e.createElement)("circle",{cx:"12.5137",cy:"13.4902",r:"10.5137",stroke:"#12B76A",strokeOpacity:"0.2",strokeWidth:"4"}),(0,e.createElement)("mask",{id:"mask0_2664_21361",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"7",y:"8",width:"11",height:"11"},(0,e.createElement)("rect",{x:"7.40625",y:"8.38281",width:"10.2164",height:"10.2164",fill:"#D9D9D9"})),(0,e.createElement)("g",{mask:"url(#mask0_2664_21361)"},(0,e.createElement)("path",{d:"M12.5115 11.359C12.2774 11.359 12.077 11.2756 11.9102 11.1089C11.7435 10.9422 11.6602 10.7417 11.6602 10.5076C11.6602 10.2735 11.7435 10.0731 11.9102 9.90634C12.077 9.73961 12.2774 9.65625 12.5115 9.65625C12.7456 9.65625 12.9461 9.73961 13.1128 9.90634C13.2795 10.0731 13.3629 10.2735 13.3629 10.5076C13.3629 10.7417 13.2795 10.9422 13.1128 11.1089C12.9461 11.2756 12.7456 11.359 12.5115 11.359ZM11.873 17.3186V12.2104H13.15V17.3186H11.873Z",fill:"white"}))))))))},U=({licenseData:t,setIsLicenseActive:o,isActive:n,className:r=""})=>{const[a,s]=(0,e.useState)(!1),[i,l]=(0,e.useState)(localStorage.getItem("betterdocs_temp_key"));(0,e.useEffect)((()=>{("true"==localStorage.getItem("betterdocs_is_valid")||n)&&l(t?.license_key)}),[]),(0,e.useEffect)((()=>{localStorage.getItem("betterdocs_is_valid")||(async e=>D()({path:"betterdocs-pro/v1/license/get-license",method:"POST",data:{}}).then((e=>e)))().then((e=>{localStorage.setItem("betterdocs_is_valid",e?.status),localStorage.setItem("betterdocs_temp_key",e?.key),d(e?.status),l(e?.key)}))}),[]);const[c,d]=(0,e.useState)(localStorage.getItem("betterdocs_is_valid")),[u,p]=(0,e.useState)(null),[m,h]=(0,e.useState)(!1),[f,g]=(0,e.useState)(!1),[b,w]=(0,e.useState)(""),[y,v]=(0,e.useState)(""),[k,x]=(0,e.useState)(""),[_,C]=(0,e.useState)(!1);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:`wpdeveloper-licensing-form ${n?"activated":"deactivated"} ${"pending"===_?"pending":""}`},(0,e.createElement)("label",{className:`${r} wpdeveloper-licensing-form-inner`},(0,e.createElement)("div",{className:"betterdocs-license-icon"},(0,e.createElement)("i",{className:"btd-icon btd-key"})),i&&"valid"==c?(0,e.createElement)("input",{id:"wp-scheduled-posts-pro-license-key",className:"wpdeveloper-licensing-form-input activated",placeholder:"Place Your License Key and Activate",onChange:e=>{l(e.target.value),s(!0)},value:i,disabled:!0}):(0,e.createElement)("input",{id:"wp-scheduled-posts-pro-license-key",className:"wpdeveloper-licensing-form-input",placeholder:"Place Your License Key and Activate",onChange:e=>{l(e.target.value),s(!0),C(!1)},value:i||""}),"true"==c||"valid"==c||n?(0,e.createElement)("button",{id:"submit",type:"button",className:a?"wpdeveloper-licensing-form-button activated changed":"wpdeveloper-licensing-form-button activated",onClick:()=>(p(!0),void(async()=>D()({path:"betterdocs-pro/v1/license/deactivate",method:"POST"}).then((e=>e)))().then((e=>{if(p(null),s(!1),!0===e.success)localStorage.removeItem("betterdocs_is_valid"),localStorage.removeItem("betterdocs_temp_key"),d(e?.license),o(!1),C(!1),l(""),F("success",(0,j.__)("Your License is Successfully Deactivated.","betterdocs-pro"));else{let t=e.data;F("error",(0,j.__)(t,"betterdocs-pro"))}})).catch((e=>{p(null),F("error",(0,j.__)(e?.message,"betterdocs-pro"))})))},1==u?"Request Sending...":"Deactivate License"):(0,e.createElement)("button",{id:"submit",type:"button",className:a?"wpdeveloper-licensing-form-button deactivated changed":"wpdeveloper-licensing-form-button disabled",onClick:()=>(()=>{p(!0),C("true");let e={license_key:i};p(null),s(!1),(async e=>D()({path:"betterdocs-pro/v1/license/activate",method:"POST",data:e}).then((e=>e)))(e).then((e=>{if(p(null),s(!1),!0===e.success)w(e?.license),x(e?.customer_email),v(i),C("pending"),F("info",(0,j.__)("License Verification Required.","betterdocs-pro"));else{C(!1);let t=e.data;F("error",(0,j.__)(t,"betterdocs-pro"))}})).catch((e=>{C(!1),F("error",(0,j.__)(e.message,"betterdocs"))}))})(),disabled:!i||"pending"===_},"true"===_?"Request Sending...":"pending"===_?"Verification Required":"Activate License"))),"required_otp"===b&&(0,e.createElement)($,{email:k,submitOTP:e=>{let t={otp:e,license:y,license_key:y};h(!0),(async e=>D()({path:"betterdocs-pro/v1/license/submit-otp",method:"POST",data:e}).then((e=>e)))(t).then((e=>{h(!1),localStorage.setItem("betterdocs_is_valid",e?.license),localStorage.setItem("betterdocs_temp_key",e?.license_key),l(e?.license_key),w(e?.license),d(e?.license),o(!0),F("success",(0,j.__)("Your License is Successfully Activated.","betterdocs-pro"))})).catch((e=>{h(!1),F("error",(0,j.__)(e?.message,"betterdocs-pro"))}))},resendOTP:()=>{let e={license_key:y,license:y};g(!0),(async e=>D()({path:"betterdocs-pro/v1/license/resend-otp",method:"POST",data:e}).then((e=>e)))(e).then((e=>{g(!1),w(e?.license),v(i),F("success",(0,j.__)("Successfully Resent","betterdocs-pro"))})).catch((e=>{g(!1),F("error",(0,j.__)(e?.message,"betterdocs-pro"))}))},isRequestSending:m,isSendingResendRequest:f}))};const Z=[(0,e.createElement)(e.Fragment,null,q(sprintf((0,j.__)("Log in to <a href='%s' target='_blank'>your account</a> to get your license key.","betterdocs"),"https://store.wpdeveloper.com/"))),(0,e.createElement)(e.Fragment,null,q(sprintf((0,j.__)("If you don't yet have a license key, get <a href='%s' target='_blank'>BetterDocs Pro</a> now.","betterdocs"),"https://betterdocs.co/upgrade"))),(0,e.createElement)(e.Fragment,null,(0,j.__)("Copy the license key from your account and paste it below.","betterdocs")),(0,e.createElement)(e.Fragment,null,(0,j.__)('Click on "Activate License" button.',"betterdocs"))];var Y=({apiFetch:t,licenseData:o,config:n,...r})=>{var a;const[s,i]=(0,e.useState)("valid"===o?.license_status),[l,c]=(0,e.useState)(!1);return(0,e.createElement)("div",{className:`wpdeveloper-licensing-wrapper ${null!==(a=r?.className)&&void 0!==a?a:""}`},(0,e.createElement)("div",{className:"wpdeveloper-licensing-header"},(0,e.createElement)("div",{className:"wpdeveloper-licensing-left-container"},(0,e.createElement)("div",{className:"icon "+(s?"activated":"deactivated")},(0,e.createElement)("i",{className:"btd-icon btd-"+(s?"lock-open":"lock")})),(0,e.createElement)("div",{className:"content"},(0,e.createElement)("h3",{className:"heading"},s?(0,j.__)("You Have Activated BetterDocs PRO","betterdocs-pro"):(0,j.__)("Unlock With Your License Key","betterdocs-pro")),(0,e.createElement)("p",{className:"description"},s?(0,j.__)("Congratulations! Enjoy premium features, and get automatic updates & priority support!","betterdocs-pro"):(0,j.__)("Enter your license key in the input field below to activate BetterDocs PRO to unlock all the premium features.","betterdocs-pro")))),(0,e.createElement)("div",{className:"wpdeveloper-licensing-right-container"},s?(0,e.createElement)("p",{className:"active-badge"},(0,e.createElement)("i",{className:"btd-icon btd-tick"}),(0,j.__)("Activated","betterdocs-pro")):(0,e.createElement)("p",{className:"step-button "+(l?"show":"hide"),onClick:()=>c(!l)},(0,e.createElement)("span",{className:"text"},(0,j.__)("How to get license key?","betterdocs-pro")),(0,e.createElement)("span",{className:"icon"},(0,e.createElement)("i",{className:"btd-icon btd-arrow-up"}))))),(0,e.createElement)("div",{className:`wpdeveloper-licensing-steps-wrapper ${l?"show":"hide"} ${s?"hidden":""}`},(0,e.createElement)("ul",{className:"wpdeveloper-licensing-steps"},Z?.map(((t,o)=>(0,e.createElement)("li",{key:o,className:"wpdeveloper-licensing-step"},(0,e.createElement)("span",{className:"wpdeveloper-licensing-step-count"},++o),(0,e.createElement)("span",{className:"wpdeveloper-licensing-step-content"},t)))))),(0,e.createElement)(U,{licenseData:o,setIsLicenseActive:i,isActive:s}))};class W{constructor(e){var t;this.config={...window?.wpdeveloperLicenseManagerConfig,...e},this.licenseData=null!==(t=window?.wpdeveloperLicenseData)&&void 0!==t?t:{},this.api=new z}render=()=>{var t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(C,{position:"bottom-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"colored",limit:4}),(0,e.createElement)(Y,{className:null!==(t=this.config?.classes?.wrapper)&&void 0!==t?t:"",licenseData:this.licenseData,config:this.config,apiFetch:this.api}))}}const X={ia_luncher_bg:{settings:[{selector:".betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher",property:"backgroundColor"},{selector:".betterdocs-ia-common-header",property:"backgroundColor"},{selector:".betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-icon",property:"backgroundColor"},{selector:".betterdocs-ia-docs-content .content-icon svg path",property:"fill"},{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header .content-icon-back svg path",property:"fill"},{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header .content-icon-expand svg path",property:"fill"},{selector:".betterdocs-ia-tabs li.active svg g path",property:"fill"},{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-submit button",property:"backgroundColor"},{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback",property:"backgroundColor"},{selector:".betterdocs-ia-tabs .active p",property:"color"}]},ia_accent_color:{settings:[{selector:".betterdocs-conversation-container, .betterdocs-footer-wrapper, .betterdocs-launcher, .betterdocs-ask-wrapper .betterdocs-ask-submit",property:"backgroundColor"},{selector:".betterdocs-footer-wrapper .bd-ia-feedback-wrap, .betterdocs-footer-wrapper .bd-ia-feedback-response",property:"backgroundColor"},{selector:".betterdocs-header-wrapper .betterdocs-header .inner-container.betterdocs-active-answer .toggle:first-of-type > p, .betterdocs-header-wrapper .betterdocs-header .inner-container.betterdocs-active-ask .toggle:last-of-type > p",property:"color"},{selector:".betterdocs-header-wrapper .betterdocs-header .inner-container.betterdocs-active-answer .toggle:first-of-type svg, .betterdocs-header-wrapper .betterdocs-header .inner-container.betterdocs-active-ask .toggle:last-of-type svg",property:"fill"}]},ia_sub_accent_color:{settings:[{selector:".betterdocs-header-wrapper .betterdocs-header .inner-container, .betterdocs-footer-wrapper .betterdocs-footer-emo > div",property:"background-color"}]},ia_heading_font_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-header-wrapper .betterdocs-sub-header.betterdocs-ans-header > h3, .betterdocs-header-wrapper .betterdocs-sub-header.betterdocs-ask-header > h3",property:"font-size"}]},ia_sub_heading_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-header-wrapper .betterdocs-sub-header.betterdocs-ans-header > p, .betterdocs-header-wrapper .betterdocs-sub-header.betterdocs-ask-header > p",property:"font-size"}]},ia_searchbox_text:{settings:[{selector:".betterdocs-tab-content-wrapper .bdc-search-box input",property:"color"}]},ia_searc_icon_color:{settings:[{selector:".betterdocs-tab-content-wrapper .bdc-search-box .search-button svg",property:"fill"}]},iac_article_bg:{settings:[{selector:".betterdocs-messages-container .betterdocs-card-link",property:"background-color"}]},iac_article_title:{settings:[{selector:".betterdocs-messages-container .betterdocs-card-link .betterdocs-card-title-wrapper .betterdocs-card-title",property:"color"}]},iac_article_title_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-card-link .betterdocs-card-title-wrapper .betterdocs-card-title",property:"font-size"}]},iac_article_content:{settings:[{selector:".betterdocs-messages-container .betterdocs-card-link .betterdocs-card-body-wrapper .betterdocs-card-body",property:"color"}]},iac_article_content_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-card-link .betterdocs-card-body-wrapper .betterdocs-card-body",property:"font-size"}]},ia_feedback_title_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-footer-wrapper .betterdocs-footer-label p",property:"font-size"}]},ia_feedback_title_color:{settings:[{selector:".betterdocs-footer-wrapper .betterdocs-footer-label p",property:"color"}]},ia_feedback_icon_color:{settings:[{selector:".betterdocs-footer-wrapper .betterdocs-emo",property:"fill"}]},ia_feedback_icon_size:{suffix:"px",settings:[{selector:".betterdocs-footer-wrapper .betterdocs-footer-emo > div",property:"width",multiple:2},{selector:".betterdocs-footer-wrapper .betterdocs-footer-emo > div",property:"height",multiple:2},{selector:".betterdocs-footer-wrapper .betterdocs-emo",property:"width"},{selector:".betterdocs-footer-wrapper .betterdocs-emo",property:"height"}]},ia_response_icon_size:{suffix:"px",settings:[{selector:".betterdocs-footer-wrapper .bd-ia-feedback-response .feedback-success-icon",property:"width"}]},ia_response_icon_color:{settings:[{selector:".betterdocs-footer-wrapper .bd-ia-feedback-response .feedback-success-icon",property:"fill"}]},ia_response_title_size:{suffix:"px",settings:[{selector:".betterdocs-footer-wrapper .bd-ia-feedback-response .feedback-success-title",property:"font-size"}]},ia_response_title_color:{settings:[{selector:".betterdocs-footer-wrapper .bd-ia-feedback-response .feedback-success-title",property:"color"}]},ia_ask_bg_color:{settings:[{selector:'.betterdocs-tab-ask .betterdocs-ask-wrapper input[type="text"], .betterdocs-tab-ask .betterdocs-ask-wrapper input[type="email"], .betterdocs-tab-ask .betterdocs-ask-wrapper textarea',property:"background-color"}]},ia_ask_input_foreground:{settings:[{selector:'.betterdocs-ask-wrapper input:not([type="submit"]), .betterdocs-ask-wrapper textarea, .betterdocs-ask-wrapper .betterdocs-attach-button',property:"color"}]},ia_ask_send_disable_button_bg:{settings:[{selector:".betterdocs-ask-wrapper .betterdocs-ask-submit button:disabled",property:"background-color"}]},ia_ask_send_disable_button_hover_bg:{settings:[{selector:".betterdocs-ask-wrapper .betterdocs-ask-submit button:disabled:hover",property:"background-color"}]},ia_ask_send_button_bg:{settings:[{selector:".betterdocs-ask-wrapper .betterdocs-ask-submit button",property:"background-color"}]},ia_ask_send_button_bg:{settings:[{selector:".betterdocs-ask-wrapper .betterdocs-ask-submit button:hover",property:"background-color"}]},ia_ask_send_button_color:{settings:[{selector:".betterdocs-ask-wrapper .betterdocs-ask-submit button",property:"color"}]},ia_luncher_bg_hover:{settings:[{selector:".betterdocs-ia-launcher-wrapper",property:"background-color",type:"html",callback:(e,t)=>{if(null==t.querySelector("style")){let o=document.createElement("style");o.textContent=`.betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher:hover{background-color:${e};}`,t.prepend(o)}else t.querySelector("style").textContent=`.betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher:hover{background-color:${e};}`}}]},iac_docs_title_font_size:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-modal-content-container .betterdocs-entry-title .betterdocs-entry-title-link",property:"font-size"}]},iac_article_content:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h1",property:"font-size"}]},iac_article_content_h1:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h1",property:"font-size"}]},iac_article_content_h2:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h2",property:"font-size"}]},iac_article_content_h3:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h3",property:"font-size"}]},iac_article_content_h4:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h4",property:"font-size"}]},iac_article_content_h5:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h5",property:"font-size"}]},iac_article_content_h6:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content h6",property:"font-size"}]},iac_article_content_p:{event:"keyup",suffix:"px",settings:[{selector:".betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content, .betterdocs-messages-container .betterdocs-modal-wrapper .betterdocs-modal-content-container .betterdocs-ia-content p",property:"font-size"}]},ia_heading_color:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-title:not(:last-child)",property:"color"},{selector:".betterdocs-ia-common-header h2",property:"color"}]},ia_sub_heading_color:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-info",property:"color"}]},header_background_image:{settings:[{selector:".betterdocs-ia-common-header",property:"backgroundImage",callback:e=>""==e?.url?"none":`url(${e?.url})`}]},ia_card_title_color:{settings:[{selector:".betterdocs-ia-docs .betterdocs-ia-docs-heading .doc-title",property:"color"}]},ia_card_title_background_color:{settings:[{selector:".betterdocs-ia-docs .betterdocs-ia-docs-heading",property:"background-color"}]},ia_card_title_list_color:{settings:[{selector:".betterdocs-ia-docs-content .content-item h4",property:"color"}]},ia_card_list_description_color:{settings:[{selector:".betterdocs-ia-docs-content .content-item p",property:"color"}]},ia_card_list_background_color:{settings:[{selector:".betterdocs-ia-docs-content",property:"background-color"}]},ia_searchbox_bg:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-ia-search, .betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field",property:"background-color"}]},ia_search_box_placeholder_text_color:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field",property:"color",type:"html",callback:(e,t)=>{if(null==t.parentElement.querySelector("style")){let o=document.createElement("style");o.textContent=`.betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field::placeholder{color:${e};}`,t.parentElement.append(o)}else t.parentElement.querySelector("style").textContent=`.betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field::placeholder{color:${e};}`}}]},ia_search_box_input_text_color:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-field",property:"color"}]},ia_searc_icon_color:{settings:[{selector:".betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-icon svg",property:"fill"}]},ia_launcher_tabs_background_color:{settings:[{selector:".betterdocs-ia-tabs",property:"background-color"}]},ia_launcher_tabs_text_color:{settings:[{selector:".betterdocs-ia-tabs li p",property:"color"}]},upload_home_icon:{settings:[{selector:".betterdocs-ia-home",property:"backgroundImage",type:"html",callback:(e,t)=>{const o=document.createElement("img");if(o.src=e?.url,o.width=24,o.height=24,null!=e){if(null!=t.querySelector("svg"))t.querySelector("svg").remove(),t.prepend(o);else if(null!=t.querySelector("img"))return}else{if(null!=t.querySelector("svg"))return;if(null!=t.querySelector("img")){t.querySelector("img").remove();let e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><g clip-path="url(#a)"><path fill="#000" d="m23.4 10.392-.002-.002L13.608.6a2.194 2.194 0 0 0-1.562-.647c-.59 0-1.145.23-1.563.647L.698 10.385a2.212 2.212 0 0 0-.006 3.13 2.197 2.197 0 0 0 1.535.648h.39v7.204a2.589 2.589 0 0 0 2.586 2.586h3.83a.703.703 0 0 0 .703-.703v-5.648c0-.651.53-1.18 1.18-1.18h2.26c.65 0 1.18.529 1.18 1.18v5.648c0 .388.314.703.702.703h3.83a2.589 2.589 0 0 0 2.586-2.586v-7.204h.362c.59 0 1.145-.23 1.563-.648.86-.86.86-2.261.001-3.123Zm-.996 2.13a.798.798 0 0 1-.568.235h-1.065a.703.703 0 0 0-.703.703v7.907c0 .65-.529 1.18-1.18 1.18h-3.127v-4.945a2.589 2.589 0 0 0-2.586-2.586h-2.259a2.59 2.59 0 0 0-2.586 2.586v4.945H5.203c-.65 0-1.18-.53-1.18-1.18V13.46a.703.703 0 0 0-.703-.703H2.273a.797.797 0 0 1-.586-.236.804.804 0 0 1 0-1.136h.001l9.79-9.79a.797.797 0 0 1 .568-.236c.214 0 .416.084.568.236l9.787 9.787a.805.805 0 0 1 .003 1.14Z"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs></svg>'+t.innerHTML;t.innerHTML=e}}return`url(${e?.url})`}}]},upload_sendmessage_icon:{settings:[{selector:".betterdocs-ia-message",property:"backgroundImage",type:"html",callback:(e,t)=>{const o=document.createElement("img");if(o.src=e?.url,o.width=24,o.height=24,null!=e){if(null!=t.querySelector("svg"))t.querySelector("svg").remove(),t.prepend(o);else if(null!=t.querySelector("img"))return}else{if(null!=t.querySelector("svg"))return;if(null!=t.querySelector("img")){t.querySelector("img").remove();let e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><g fill="#000" clip-path="url(#a)"><path d="M2.768 18.719a4.668 4.668 0 0 1-2.296-.603.723.723 0 0 1-.288-1.013c.725-1.16.987-2.576.655-3.908C.495 11.815-.003 10.651 0 9.19.013 4.06 4.282-.098 9.406.002c4.949.1 9.027 4.26 9.027 9.21 0 6.465-6.775 11.004-12.757 8.508-.824.647-1.86.999-2.908.999Zm-.975-1.579c1.127.35 2.394.07 3.263-.77a.713.713 0 0 1 .803-.13c5.121 2.449 11.149-1.39 11.149-7.028 0-4.208-3.424-7.7-7.631-7.785-4.336-.086-7.94 3.426-7.951 7.766-.003 1.388.538 2.498.834 3.814a6.362 6.362 0 0 1-.467 4.133Z"></path><path d="M21.232 24a4.734 4.734 0 0 1-2.908-1c-3.181 1.328-6.965.724-9.573-1.529a.713.713 0 0 1 .931-1.079c2.314 1.998 5.702 2.447 8.459 1.13a.713.713 0 0 1 .803.13 3.305 3.305 0 0 0 3.263.77 6.335 6.335 0 0 1-.248-4.892c.41-.968.618-1.996.615-3.056-.004-1.87-.626-3.599-1.798-5.001a.713.713 0 1 1 1.094-.914A9.26 9.26 0 0 1 24 14.47a9.15 9.15 0 0 1-.719 3.594c-.503 1.459-.272 3.02.535 4.32a.723.723 0 0 1-.288 1.013 4.67 4.67 0 0 1-2.296.603ZM9.217 10.375a1.128 1.128 0 1 0 0-2.255 1.128 1.128 0 0 0 0 2.255ZM5.061 10.375a1.128 1.128 0 1 0 0-2.255 1.128 1.128 0 0 0 0 2.255ZM13.373 10.375a1.128 1.128 0 1 0 0-2.255 1.128 1.128 0 0 0 0 2.255Z"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs></svg>'+t.innerHTML;t.innerHTML=e}}return`url(${e?.url})`}}]},upload_resource_icon:{settings:[{selector:".betterdocs-ia-faq",property:"backgroundImage",type:"html",callback:(e,t)=>{const o=document.createElement("img");if(o.src=e?.url,o.width=24,o.height=24,null!=e){if(null!=t.querySelector("svg"))t.querySelector("svg").remove(),t.prepend(o);else if(null!=t.querySelector("img"))return}else{if(null!=t.querySelector("svg"))return;if(null!=t.querySelector("img")){t.querySelector("img").remove();let e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><g clip-path="url(#a)"><mask id="b" width="24" height="24" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type: luminance;"><path fill="#fff" d="M0 0h24v24H0V0Z"></path></mask><g fill="#202223" mask="url(#b)"><path fill-rule="evenodd" d="M16.242 22.547a6.307 6.307 0 0 1-6.183-5.07l-1.472.292a7.807 7.807 0 0 0 11.61 5.203l3.837 1.061-1.062-3.837A7.807 7.807 0 0 0 17.77 8.587l-.292 1.472a6.307 6.307 0 0 1 4.056 9.613l-.184.283.533 1.927-1.927-.533-.283.184a6.271 6.271 0 0 1-3.43 1.014Z" clip-rule="evenodd"></path><path fill-rule="evenodd" d="M-.047 9.164A9.211 9.211 0 1 1 4.5 17.108L-.033 18.36 1.22 13.83A9.172 9.172 0 0 1-.047 9.164Zm9.211-7.71A7.711 7.711 0 0 0 2.662 13.31l.18.281-.724 2.618 2.618-.724.281.18A7.71 7.71 0 1 0 9.164 1.453Z" clip-rule="evenodd"></path><path d="M9.867 14.11H8.461v-1.407h1.406v1.406Z"></path><path fill-rule="evenodd" d="M9.914 10.22v1.077h-1.5V9.56l1.667-1.525a1.36 1.36 0 1 0-2.276-1.003h-1.5a2.86 2.86 0 1 1 4.789 2.11l-1.18 1.079Z" clip-rule="evenodd"></path></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs></svg>'+t.innerHTML;t.innerHTML=e}}return`url(${e?.url})`}}]},launcher_open_icon:{settings:[{selector:".betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher",property:"backgroundImage",type:"html",callback:(e,o)=>{(0,t.doAction)("openIconPreviewAction",{img_url:e?.url,preview:!0})}}]},launcher_close_icon:{settings:[{selector:".betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher",property:"backgroundImage",type:"html",callback:(e,o)=>{(0,t.doAction)("closeIconPreviewAction",{img_url:e?.url,preview:!0})}}]},ia_message_tab_title_font_color:{settings:[{selector:".betterdocs-ia-tab-message-container .message__header .header__content h4",property:"color"}]},ia_message_tab_subtitle_font_color:{settings:[{selector:".betterdocs-ia-tab-message-container .message__header .header__content p",property:"color"}]},ia_message_button_text_color:{settings:[{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-submit button",property:"color"}]},ia_ask_bg_color:{settings:[{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-group .ia-input, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-group > textarea",property:"background-color"}]},ia_message_input_label_text_color:{settings:[{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-email-group p, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-name-group p, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-subject-group p, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-message-group p",property:"color"}]},ia_message_upload_button_background_color:{settings:[{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-attachments-group button",property:"background-color"}]},ia_message_upload_text_color:{settings:[{selector:".betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-attachments-group p",property:"color"}]},ia_single_doc_title_font_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-content .doc-title",property:"color"}]},ia_single_title_header_font_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header.on-scroll h2",property:"color"}]},ia_single_doc_title_header_bg_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header",property:"background-color"}]},ia_single_icons_bg_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header .content-icon-back",property:"backgroundColor"},{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-header .content-icon-expand",property:"backgroundColor"}]},ia_reaction_primary_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback .betterdocs-ia-reaction-group .ia-reaction",property:"backgroundColor"}]},ia_reaction_secondary_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback .betterdocs-ia-reaction-group .ia-reaction .betterdocs-emo",property:"fill"}]},ia_reaction_title_color:{settings:[{selector:".betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback p",property:"color"}]}};(0,t.addFilter)("betterdocs_settings_licnese","BetterDocs",(()=>{const t=new W({logo:betterdocsAdminSettings?.logoURL});return(0,e.createElement)("div",null,t.render())})),(0,t.addAction)("quickBuilder_setFieldValue","betterdocsPro",((e,t,o)=>{"multiple_kb"===e&&(0==t?jQuery("#toplevel_page_betterdocs-admin .wp-submenu li:last-of-type").remove():jQuery("#toplevel_page_betterdocs-admin .wp-submenu").append(`<li><a href="${betterdocsProAdminSettings?.multiple_kb_url}">Multiple KB</a></li>`)),null!=X?.[e]&&((e,t)=>{const o=t;let n=X?.[e];if(null==n)return;let r=!0,{settings:a,suffix:s}=n;s=null==s?"":s,a.map((function(e,n){let{multiple:a,property:i,selector:l,type:c,callback:d}=e;a=null!=a?a:1,1===a&&(t=o),"px"===s&&r&&(t*=a,r=!1);let u=document.querySelectorAll(l);u?.length>0&&u.forEach((e=>{null!=c&&"function"==typeof d?d(t,e):e.style[i]="function"==typeof d?d(t):t+s}))}))})(e,t),"ia_enable_preview"===e&&(t?jQuery("#betterdocs-ia").show():jQuery("#betterdocs-ia").hide())}))}()}();