/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery/license */ "undefined"==typeof migratemute&&(migratemute=!0),function(t){"use strict";"function"==typeof define&&amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&exports?exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=exec(e)||[],o=exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(jquery,e)}migrateversion="3.4.1";var t=create(null);migratedisablepatches=function(){for(var e=0;e\x20\t\r\n\f]*)[^>]*)\/>/gi;unsafe_restoreLegacyHtmlPrefilter=function(){migrateenablepatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),replace(F,"<$1>")},"self-closed-tags"),migratedisablepatches("self-closed-tags");var D,W,_,I=offset;return i(fn,"offset",function(){var e=this[0];return!e||nodetype&&getboundingclientrect?apply(this,arguments):(u("offset-valid-elem","offset() requires a valid DOM element"),length?this:void 0)},"offset-valid-elem"),ajax&&(D=param,i(s,"param",function(e,t){var r=ajaxsettings&&traditional;return void 0===t&&r&&(u("param-ajax-traditional","param() no longer uses traditional"),t=r),call(this,e,t)},"param-ajax-traditional")),c(fn,"andSelf",addback,"andSelf","andself() is deprecated and removed, use addback()"),deferred&&(W=deferred,_=[["resolve","done",callbacks("once memory"),callbacks("once memory"),"resolved"],["reject","fail",callbacks("once memory"),callbacks("once memory"),"rejected"],["notify","progress",callbacks("memory"),callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=promise();function t(){var o=arguments;return deferred(function(n){each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&apply(this,arguments);e&&"function"==typeof promise?promise().done(resolve).fail(reject).progress(notify):n[t[0]+"With"](this===i?promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","pipe() is deprecated"),e&&call(a,a),a},"deferred-pipe"),exceptionhook=exceptionhook),s}); ; function Fingerprint(f){var e=foreach,t=map;each=function(f,t,r){if(null!=f){if(e&&foreach===e)foreach(t,r);else if(length===+length){for(var n=0,h=length;n>>16)*i&65535)<<16)&4294967295)<<15|o>>>17))*a+(((o>>>16)*a&65535)<<16)&4294967295,n=(65535&(h=(65535&(n=n<<13|n>>>19))*5+(((n>>>16)*5&65535)<<16)&4294967295))+27492+(((h>>>16)+58964&65535)<<16);switch(o=0,t){case 3:o^=(255&charcodeat($+2))<<16;case 2:o^=(255&charcodeat($+1))<<8;case 1:o^=255&charcodeat($),n^=o=(65535&(o=(o=(65535&o)*i+(((o>>>16)*i&65535)<<16)&4294967295)<<15|o>>>17))*a+(((o>>>16)*a&65535)<<16)&4294967295}return n^=length,n^=n>>>16,n=(65535&n)*2246822507+(((n>>>16)*2246822507&65535)<<16)&4294967295,n^=n>>>13,n=(65535&n)*3266489909+(((n>>>16)*3266489909&65535)<<16)&4294967295,(n^=n>>>16)>>>0}};; /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github/cure53/DOMPurify/blob/3.1.6/LICENSE */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?exports=t():"function"==typeof define&&amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(foreach),m=b(pop),p=b(push),f=b(tolowercase),d=b(tostring),h=b(match),g=b(replace),T=b(indexof),y=b(trim),E=b(hasownproperty),_=b(test),A=(N=TypeError,function(){for(var e=length,t=new Array(e),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(version="3.1.6",removed=[],!n||!document||nodetype!==ee)return issupported=!1,o;let{document:r}=n;const a=r,c=currentscript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=namednodemap||moznamedattrmap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=prototype,X=C(j,"cloneNode"),$=C(j,"remove"),ne=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=createelement("template");content&&ownerdocument&&(r=ownerdocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};issupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==createhtmldocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $e=null;const Ke=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://w3/1998/Math/MathML",Qe="http://w3/2000/svg",et="http://w3/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=null;const at=["application/xhtml+xml","text/html"];let lt=null,ct=null;const st=createelement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ct||ct!==e){if(e&&"object"==typeof e||(e={}),e=w(e),it=-1===indexof(parser_MEDIA_TYPE)?"text/html":parser_MEDIA_TYPE,lt="application/xhtml+xml"===it?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},allowed_TAGS,lt):be,Se=E(e,"ALLOWED_ATTR")?S({},allowed_ATTR,lt):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},allowed_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),add_URI_SAFE_ATTR,lt):Ze,$e=E(e,"ADD_DATA_URI_TAGS")?S(w(Ke),add_DATA_URI_TAGS,lt):Ke,Xe=E(e,"FORBID_CONTENTS")?S({},forbid_CONTENTS,lt):qe,Ce=E(e,"FORBID_TAGS")?S({},forbid_TAGS,lt):{},Le=E(e,"FORBID_ATTR")?S({},forbid_ATTR,lt):{},je=!!E(e,"USE_PROFILES")&&use_PROFILES,De=!1!==allow_ARIA_ATTR,ve=!1!==allow_DATA_ATTR,Oe=allow_UNKNOWN_PROTOCOLS||!1,xe=!1!==allow_SELF_CLOSE_IN_ATTR,ke=safe_FOR_TEMPLATES||!1,Me=!1!==safe_FOR_XML,Ie=whole_DOCUMENT||!1,Fe=return_DOM||!1,He=return_DOM_FRAGMENT||!1,ze=return_TRUSTED_TYPE||!1,Pe=force_BODY||!1,Be=!1!==sanitize_DOM,We=sanitize_NAMED_PROPS||!1,Ge=!1!==keep_CONTENT,Ye=e_PLACE||!1,Ae=allowed_URI_REGEXP||Y,tt=namespace||et,we=custom_ELEMENT_HANDLING||{},custom_ELEMENT_HANDLING&&ut(tagnamecheck)&&(tagnamecheck=tagnamecheck),custom_ELEMENT_HANDLING&&ut(attributenamecheck)&&(attributenamecheck=attributenamecheck),custom_ELEMENT_HANDLING&&"boolean"==typeof allowcustomizedbuiltinelements&&(allowcustomizedbuiltinelements=allowcustomizedbuiltinelements),ke&&(ve=!1),He&&(Fe=!0),je&&(Ne=S({},M),Se=[],!0===html&&(S(Ne,L),S(Se,I)),!0===svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===svgfilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===mathml&&(S(Ne,x),S(Se,P),S(Se,F))),add_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,add_TAGS,lt)),add_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,add_ATTR,lt)),add_URI_SAFE_ATTR&&S(Ve,add_URI_SAFE_ATTR,lt),forbid_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,forbid_CONTENTS,lt)),Ge&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),table&&(S(Ne,["tbody"]),delete tbody),trusted_TYPES_POLICY){if("function"!=typeof createhtml)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof createscripturl)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=trusted_TYPES_POLICY,ae=createhtml("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof createpolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&hasattribute(o)&&(n=getattribute(o));const r="dompurify"+(n?"#"+n:"");try{return createpolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=createhtml(""));i&&i(e),ct=e}},pt=S({},["mi","mo","mn","ms","mtext"]),ft=S({},["foreignobject","annotation-xml"]),dt=S({},["title","style","font","a","script"]),ht=S({},[...D,...v,...O]),gt=S({},[...x,...k]),Tt=function(e){p(removed,{element:e});try{re(e).removeChild(e)}catch(t){$(e)}},yt=function(e,t){try{p(removed,{attribute:getattributenode(e),from:t})}catch(e){p(removed,{attribute:null,from:t})}if(removeattribute(e),"is"===e&&!Se[e])if(Fe||He)try{Tt(t)}catch(e){}else try{setattribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e=""+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===it&&tt===et&&(e=''+e+"");const o=ie?createhtml(e):e;if(tt===et)try{t=(new W).parseFromString(o,it)}catch(e){}if(!t||!documentelement){t=createdocument(tt,"template",null);try{innerhtml=nt?ae:o}catch(e){}}const i=body||documentelement;return e&&n&&insertbefore(createtextnode(n),childnodes[0]||null),tt===et?call(t,Ie?"html":"body")[0]:Ie?documentelement:i},_t=function(e){return call(ownerdocument||e,e,show_ELEMENT|show_COMMENT|show_TEXT|show_PROCESSING_INSTRUCTION|show_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof nodename||"string"!=typeof textcontent||"function"!=typeof removechild||!(attributes instanceof z)||"function"!=typeof removeattribute||"function"!=typeof setattribute||"string"!=typeof namespaceuri||"function"!=typeof insertbefore||"function"!=typeof haschildnodes)},Nt=function(e){return"function"==typeof b&&e instanceof b},bt=function(e,t,n){pe[e]&&u(pe[e],(e=>{call(o,t,n,ct)}))},St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=lt(nodename);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),haschildnodes()&&!Nt(firstelementchild)&&_(/<[/\w]/g,innerhtml)&&_(/<[/\w]/g,textcontent))return Tt(e),!0;if(nodetype===J)return Tt(e),!0;if(Me&&nodetype===Q&&_(/<[/\w]/g,data))return Tt(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&wt(n)){if(tagnamecheck instanceof RegExp&&_(tagnamecheck,n))return!1;if(tagnamecheck instanceof Function&&tagnamecheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||parentnode,n=oe(e)||childnodes;if(n&&t){for(let o=length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,insertbefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&tagname||(t={namespaceURI:tt,tagName:"template"});const n=f(tagname),o=f(tagname);return!!ot[namespaceuri]&&(namespaceuri===Qe?namespaceuri===et?"svg"===n:namespaceuri===Je?"svg"===n&&("annotation-xml"===o||pt[o]):Boolean(ht[n]):namespaceuri===Je?namespaceuri===et?"math"===n:namespaceuri===Qe?"math"===n&&ft[o]:Boolean(gt[n]):namespaceuri===et?!(namespaceuri===Qe&&!ft[o])&&!(namespaceuri===Je&&!pt[o])&&!gt[n]&&(dt[n]||!ht[n]):!("application/xhtml+xml"!==it||!ot[namespaceuri]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,innerhtml)?(ke&&nodetype===Z&&(t=textcontent,u([fe,de,he],(e=>{t=g(t,e," ")})),textcontent!==t&&(p(removed,{element:clonenode()}),textcontent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in st))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(wt(e)&&(tagnamecheck instanceof RegExp&&_(tagnamecheck,e)||tagnamecheck instanceof Function&&tagnamecheck(e))&&(attributenamecheck instanceof RegExp&&_(attributenamecheck,t)||attributenamecheck instanceof Function&&attributenamecheck(t))||"is"===t&&allowcustomizedbuiltinelements&&(tagnamecheck instanceof RegExp&&_(tagnamecheck,n)||tagnamecheck instanceof Function&&tagnamecheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!$e[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Ct=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=lt(a);let p="value"===a?c:y(c);if(attrname=s,attrvalue=p,keepattr=!0,forcekeepattr=void 0,bt("uponSanitizeAttribute",e,n),p=attrvalue,Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(forcekeepattr)continue;if(yt(a,e),!keepattr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=lt(nodename);if(Rt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),ie&&"object"==typeof G&&"function"==typeof getattributetype)if(l);else switch(getattributetype(f,s)){case"TrustedHTML":p=createhtml(p);break;case"TrustedScriptURL":p=createscripturl(p)}try{l?setattributens(l,a,p):setattribute(a,p),At(e)?Tt(e):m(removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},Lt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=nextnode();)bt("uponSanitizeShadowNode",n,null),St(n)||(content instanceof s&&e(content),Ct(n));bt("afterSanitizeShadowDOM",t,null)};return sanitize=function(e){let t=length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof tostring)throw A("toString is not a function");if("string"!=typeof(e=tostring()))throw A("dirty is not a string, aborting")}if(!issupported)return e;if(Ue||mt(t),removed=[],"string"==typeof e&&(Ye=!1),Ye){if(nodename){const t=lt(nodename);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=importnode(e,!0),nodetype===V&&"BODY"===nodename||"HTML"===nodename?n=r:appendchild(r);else{if(!Fe&&!ke&&!Ie&&-1===indexof("<"))return ie&&ze?createhtml(e):e;if(n=Et(e),!n)return Fe?null:ze?ae:""}n&&Pe&&Tt(firstchild);const c=_t(Ye?e:n);for(;i=nextnode();)St(i)||(content instanceof s&&Lt(content),Ct(i));if(Ye)return e;if(Fe){if(He)for(l=call(ownerdocument);firstchild;)appendchild(firstchild);else l=n;return(shadowroot||shadowrootmode)&&(l=call(a,l,!0)),l}let m=Ie?outerhtml:innerhtml;return Ie&&Ne["!doctype"]&&ownerdocument&&doctype&&name&&_(q,name)&&(m=""+name+"\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?createhtml(m):m},setconfig=function(){mt(length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},clearconfig=function(){ct=null,Ue=!1},isvalidattribute=function(e,t,n){ct||mt({});const o=lt(e),r=lt(t);return Rt(o,r,n)},addhook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},removehook=function(e){if(pe[e])return m(pe[e])},removehooks=function(e){pe[e]&&(pe[e]=[])},removeallhooks=function(){pe={}},o}();return ne})); //# sourceMappingURL=map ;