UNPKG

@atlassian/aui

Version:

Atlassian User Interface library

52 lines 443 kB
/*!! * @atlassian/aui - Atlassian User Interface library * @version v9.5.1 * @link https://aui.atlassian.com * @license Apache-2.0 * @author Atlassian Pty Ltd. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("backbone"),require("jquery"),require("underscore")):"function"==typeof define&&define.amd?define("@atlassian/aui",["backbone","jquery","underscore"],t):"object"==typeof exports?exports["@atlassian/aui"]=t(require("backbone"),require("jquery"),require("underscore")):e.AJS=t(e.Backbone,e.jQuery,e._)}(window,(function(e,t,i){return(()=>{var n={42:()=>{!function(e){function t(e){this.num=0,this.timer=e>0&&e}function i(i){if(e.isPlainObject(i.data)||e.isArray(i.data)||"string"==typeof i.data){var s,a=i.handler,r={timer:700,combo:[]};"string"==typeof(s=i.data)?r.combo=[s]:e.isArray(s)?r.combo=s:e.extend(r,s),r.combo=e.map(r.combo,(function(e){return e.toLowerCase()})),i.index=new t(r.timer),i.handler=function(t){if(this===t.target||!/textarea|select|input/i.test(t.target.nodeName)&&"true"!==e(t.target).prop("contenteditable")){var s="keypress"!==t.type?e.hotkeys.specialKeys[t.which]:null,o=String.fromCharCode(t.which).toLowerCase(),l="",c={};t.altKey&&"alt"!==s&&(l+="alt+"),t.ctrlKey&&"ctrl"!==s&&(l+="ctrl+"),t.metaKey&&!t.ctrlKey&&"meta"!==s&&(l+="meta+"),t.shiftKey&&"shift"!==s&&(l+="shift+"),t.metaKey&&"["===o&&(o=null),s&&(c[l+s]=!0),o&&(c[l+o]=!0),/shift+/.test(l)&&(c[l.replace("shift+","")+e.hotkeys.shiftNums[s||o]]=!0);var u=i.index,d=r.combo;if(n(d[u.val()],c)){if(u.val()===d.length-1)return u.reset(),a.apply(this,arguments);u.inc()}else u.reset(),n(d[0],c)&&u.inc()}}}}function n(e,t){for(var i=e.split(" "),n=0,s=i.length;n<s;n++)if(t[i[n]])return!0;return!1}e.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",188:",",190:".",191:"/",224:"meta",219:"[",221:"]"},keypressKeys:["<",">","?"],shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"}},e.each(e.hotkeys.keypressKeys,(function(t,i){e.hotkeys.shiftNums[i]=i})),t.prototype.val=function(){return this.num},t.prototype.inc=function(){this.timer&&(clearTimeout(this.timeout),this.timeout=setTimeout(e.proxy(t.prototype.reset,this),this.timer)),this.num++},t.prototype.reset=function(){this.timer&&clearTimeout(this.timeout),this.num=0},e.each(["keydown","keyup","keypress"],(function(){e.event.special[this]={add:i}}))}(jQuery)},529:()=>{jQuery.fn.moveTo=function(e){var t,i=jQuery.extend({transition:!1,scrollOffset:35},e),n=this,s=n.offset().top;if((jQuery(window).scrollTop()+jQuery(window).height()-this.outerHeight()<s||jQuery(window).scrollTop()+i.scrollOffset>s)&&jQuery(window).height()>i.scrollOffset){if(t=jQuery(window).scrollTop()+i.scrollOffset>s?s-(jQuery(window).height()-this.outerHeight())+i.scrollOffset:s-i.scrollOffset,!jQuery.fn.moveTo.animating&&i.transition)return jQuery(document).trigger("moveToStarted",this),jQuery.fn.moveTo.animating=!0,jQuery("html,body").animate({scrollTop:t},1e3,(function(){jQuery(document).trigger("moveToFinished",n),delete jQuery.fn.moveTo.animating})),this;var a=jQuery("html, body");return a.is(":animated")&&(a.stop(),delete jQuery.fn.moveTo.animating),jQuery(document).trigger("moveToStarted"),jQuery(window).scrollTop(t),setTimeout((function(){jQuery(document).trigger("moveToFinished",n)}),100),this}return jQuery(document).trigger("moveToFinished",this),this}},951:function(e){ /*! @license DOMPurify 2.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.0/LICENSE */ e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,i){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,i)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function n(e,s,a){return(n=i()?Reflect.construct:function(e,i,n){var s=[null];s.push.apply(s,i);var a=new(Function.bind.apply(e,s));return n&&t(a,n.prototype),a}).apply(null,arguments)}function s(e){return a(e)||r(e)||o(e)||c()}function a(e){if(Array.isArray(e))return l(e)}function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function o(e,t){if(e){if("string"==typeof e)return l(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,d=Object.setPrototypeOf,h=Object.isFrozen,p=Object.getPrototypeOf,f=Object.getOwnPropertyDescriptor,g=Object.freeze,m=Object.seal,v=Object.create,b="undefined"!=typeof Reflect&&Reflect,y=b.apply,w=b.construct;y||(y=function(e,t,i){return e.apply(t,i)}),g||(g=function(e){return e}),m||(m=function(e){return e}),w||(w=function(e,t){return n(e,s(t))});var _=N(Array.prototype.forEach),C=N(Array.prototype.pop),x=N(Array.prototype.push),k=N(String.prototype.toLowerCase),T=N(String.prototype.match),D=N(String.prototype.replace),E=N(String.prototype.indexOf),A=N(String.prototype.trim),S=N(RegExp.prototype.test),M=I(TypeError);function N(e){return function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return y(e,t,n)}}function I(e){return function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return w(e,i)}}function O(e,t,i){i=i||k,d&&d(e,null);for(var n=t.length;n--;){var s=t[n];if("string"==typeof s){var a=i(s);a!==s&&(h(t)||(t[n]=a),s=a)}e[s]=!0}return e}function L(e){var t,i=v(null);for(t in e)y(u,e,[t])&&(i[t]=e[t]);return i}function P(e,t){for(;null!==e;){var i=f(e,t);if(i){if(i.get)return N(i.get);if("function"==typeof i.value)return N(i.value)}e=p(e)}function n(e){return console.warn("fallback value for",e),null}return n}var R=g(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),j=g(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$=g(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),z=g(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),F=g(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),H=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=g(["#text"]),U=g(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),W=g(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=g(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Y=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=m(/<%[\w\W]*|[\w\W]*%>/gm),Q=m(/^data-[\-\w.\u00B7-\uFFFF]/),G=m(/^aria-[\-\w]+$/),J=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=m(/^(?:\w+script|data):/i),X=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=m(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ie=function(t,i){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,s="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(s)&&(n=i.currentScript.getAttribute(s));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function ne(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),i=function(e){return ne(e)};if(i.version="2.4.0",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var n=t.document,a=t.document,r=t.DocumentFragment,o=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,p=t.HTMLFormElement,f=t.DOMParser,m=t.trustedTypes,v=c.prototype,b=P(v,"cloneNode"),y=P(v,"nextSibling"),w=P(v,"childNodes"),N=P(v,"parentNode");if("function"==typeof o){var I=a.createElement("template");I.content&&I.content.ownerDocument&&(a=I.content.ownerDocument)}var se=ie(m,n),ae=se?se.createHTML(""):"",re=a,oe=re.implementation,le=re.createNodeIterator,ce=re.createDocumentFragment,ue=re.getElementsByTagName,de=n.importNode,he={};try{he=L(a).documentMode?a.documentMode:{}}catch(e){}var pe={};i.isSupported="function"==typeof N&&oe&&void 0!==oe.createHTMLDocument&&9!==he;var fe,ge,me=q,ve=K,be=Q,ye=G,we=Z,_e=X,Ce=J,xe=null,ke=O({},[].concat(s(R),s(j),s($),s(F),s(B))),Te=null,De=O({},[].concat(s(U),s(W),s(V),s(Y))),Ee=Object.seal(Object.create(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}})),Ae=null,Se=null,Me=!0,Ne=!0,Ie=!1,Oe=!1,Le=!1,Pe=!1,Re=!1,je=!1,$e=!1,ze=!1,Fe=!0,He=!1,Be="user-content-",Ue=!0,We=!1,Ve={},Ye=null,qe=O({},["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"]),Ke=null,Qe=O({},["audio","video","img","source","image","track"]),Ge=null,Je=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ze="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,it=!1,nt=["application/xhtml+xml","text/html"],st="text/html",at=null,rt=a.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},lt=function(t){at&&at===t||(t&&"object"===e(t)||(t={}),t=L(t),fe=fe=-1===nt.indexOf(t.PARSER_MEDIA_TYPE)?st:t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===fe?function(e){return e}:k,xe="ALLOWED_TAGS"in t?O({},t.ALLOWED_TAGS,ge):ke,Te="ALLOWED_ATTR"in t?O({},t.ALLOWED_ATTR,ge):De,Ge="ADD_URI_SAFE_ATTR"in t?O(L(Je),t.ADD_URI_SAFE_ATTR,ge):Je,Ke="ADD_DATA_URI_TAGS"in t?O(L(Qe),t.ADD_DATA_URI_TAGS,ge):Qe,Ye="FORBID_CONTENTS"in t?O({},t.FORBID_CONTENTS,ge):qe,Ae="FORBID_TAGS"in t?O({},t.FORBID_TAGS,ge):{},Se="FORBID_ATTR"in t?O({},t.FORBID_ATTR,ge):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,Me=!1!==t.ALLOW_ARIA_ATTR,Ne=!1!==t.ALLOW_DATA_ATTR,Ie=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=t.SAFE_FOR_TEMPLATES||!1,Le=t.WHOLE_DOCUMENT||!1,je=t.RETURN_DOM||!1,$e=t.RETURN_DOM_FRAGMENT||!1,ze=t.RETURN_TRUSTED_TYPE||!1,Re=t.FORCE_BODY||!1,Fe=!1!==t.SANITIZE_DOM,He=t.SANITIZE_NAMED_PROPS||!1,Ue=!1!==t.KEEP_CONTENT,We=t.IN_PLACE||!1,Ce=t.ALLOWED_URI_REGEXP||Ce,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ot(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ot(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ee.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Oe&&(Ne=!1),$e&&(je=!0),Ve&&(xe=O({},s(B)),Te=[],!0===Ve.html&&(O(xe,R),O(Te,U)),!0===Ve.svg&&(O(xe,j),O(Te,W),O(Te,Y)),!0===Ve.svgFilters&&(O(xe,$),O(Te,W),O(Te,Y)),!0===Ve.mathMl&&(O(xe,F),O(Te,V),O(Te,Y))),t.ADD_TAGS&&(xe===ke&&(xe=L(xe)),O(xe,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Te===De&&(Te=L(Te)),O(Te,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&O(Ge,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ye===qe&&(Ye=L(Ye)),O(Ye,t.FORBID_CONTENTS,ge)),Ue&&(xe["#text"]=!0),Le&&O(xe,["html","head","body"]),xe.table&&(O(xe,["tbody"]),delete Ae.tbody),g&&g(t),at=t)},ct=O({},["mi","mo","mn","ms","mtext"]),ut=O({},["foreignobject","desc","title","annotation-xml"]),dt=O({},["title","style","font","a","script"]),ht=O({},j);O(ht,$),O(ht,z);var pt=O({},F);O(pt,H);var ft=function(e){var t=N(e);t&&t.tagName||(t={namespaceURI:et,tagName:"template"});var i=k(e.tagName),n=k(t.tagName);return e.namespaceURI===Xe?t.namespaceURI===et?"svg"===i:t.namespaceURI===Ze?"svg"===i&&("annotation-xml"===n||ct[n]):Boolean(ht[i]):e.namespaceURI===Ze?t.namespaceURI===et?"math"===i:t.namespaceURI===Xe?"math"===i&&ut[n]:Boolean(pt[i]):e.namespaceURI===et&&!(t.namespaceURI===Xe&&!ut[n])&&!(t.namespaceURI===Ze&&!ct[n])&&!pt[i]&&(dt[i]||!ht[i])},gt=function(e){x(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},mt=function(e,t){try{x(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Te[e])if(je||$e)try{gt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){var t,i;if(Re)e="<remove></remove>"+e;else{var n=T(e,/^[\r\n\t ]+/);i=n&&n[0]}"application/xhtml+xml"===fe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var s=se?se.createHTML(e):e;if(tt===et)try{t=(new f).parseFromString(s,fe)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(tt,"template",null);try{t.documentElement.innerHTML=it?"":s}catch(e){}}var r=t.body||t.documentElement;return e&&i&&r.insertBefore(a.createTextNode(i),r.childNodes[0]||null),tt===et?ue.call(t,Le?"html":"body")[0]:Le?t.documentElement:r},bt=function(e){return le.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},yt=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof h)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},wt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},_t=function(e,t,n){pe[e]&&_(pe[e],(function(e){e.call(i,t,n,at)}))},Ct=function(e){var t;if(_t("beforeSanitizeElements",e,null),yt(e))return gt(e),!0;if(S(/[\u0080-\uFFFF]/,e.nodeName))return gt(e),!0;var n=ge(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:n,allowedTags:xe}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent))return gt(e),!0;if("select"===n&&S(/<template/i,e.innerHTML))return gt(e),!0;if(!xe[n]||Ae[n]){if(!Ae[n]&&kt(n)){if(Ee.tagNameCheck instanceof RegExp&&S(Ee.tagNameCheck,n))return!1;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))return!1}if(Ue&&!Ye[n]){var s=N(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&s)for(var r=a.length-1;r>=0;--r)s.insertBefore(b(a[r],!0),y(e))}return gt(e),!0}return e instanceof c&&!ft(e)?(gt(e),!0):"noscript"!==n&&"noembed"!==n||!S(/<\/no(script|embed)/i,e.innerHTML)?(Oe&&3===e.nodeType&&(t=e.textContent,t=D(t,me," "),t=D(t,ve," "),e.textContent!==t&&(x(i.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(gt(e),!0)},xt=function(e,t,i){if(Fe&&("id"===t||"name"===t)&&(i in a||i in rt))return!1;if(Ne&&!Se[t]&&S(be,t));else if(Me&&S(ye,t));else if(!Te[t]||Se[t]){if(!(kt(e)&&(Ee.tagNameCheck instanceof RegExp&&S(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&S(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||"is"===t&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&S(Ee.tagNameCheck,i)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(i))))return!1}else if(Ge[t]);else if(S(Ce,D(i,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(i,"data:")||!Ke[e])if(Ie&&!S(we,D(i,_e,"")));else if(i)return!1;return!0},kt=function(e){return e.indexOf("-")>0},Tt=function(t){var n,s,a,r;_t("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te};for(r=o.length;r--;){var c=n=o[r],u=c.name,d=c.namespaceURI;if(s="value"===u?n.value:A(n.value),a=ge(u),l.attrName=a,l.attrValue=s,l.keepAttr=!0,l.forceKeepAttr=void 0,_t("uponSanitizeAttribute",t,l),s=l.attrValue,!l.forceKeepAttr&&(mt(u,t),l.keepAttr))if(S(/\/>/i,s))mt(u,t);else{Oe&&(s=D(s,me," "),s=D(s,ve," "));var h=ge(t.nodeName);if(xt(h,a,s)){if(!He||"id"!==a&&"name"!==a||(mt(u,t),s=Be+s),se&&"object"===e(m)&&"function"==typeof m.getAttributeType)if(d);else switch(m.getAttributeType(h,a)){case"TrustedHTML":s=se.createHTML(s);break;case"TrustedScriptURL":s=se.createScriptURL(s)}try{d?t.setAttributeNS(d,u,s):t.setAttribute(u,s),C(i.removed)}catch(e){}}}}_t("afterSanitizeAttributes",t,null)}},Dt=function e(t){var i,n=bt(t);for(_t("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)_t("uponSanitizeShadowNode",i,null),Ct(i)||(i.content instanceof r&&e(i.content),Tt(i));_t("afterSanitizeShadowDOM",t,null)};return i.sanitize=function(s){var a,o,c,u,d,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((it=!s)&&(s="\x3c!--\x3e"),"string"!=typeof s&&!wt(s)){if("function"!=typeof s.toString)throw M("toString is not a function");if("string"!=typeof(s=s.toString()))throw M("dirty is not a string, aborting")}if(!i.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof s)return t.toStaticHTML(s);if(wt(s))return t.toStaticHTML(s.outerHTML)}return s}if(Pe||lt(h),i.removed=[],"string"==typeof s&&(We=!1),We){if(s.nodeName){var p=ge(s.nodeName);if(!xe[p]||Ae[p])throw M("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof l)1===(o=(a=vt("\x3c!----\x3e")).ownerDocument.importNode(s,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!je&&!Oe&&!Le&&-1===s.indexOf("<"))return se&&ze?se.createHTML(s):s;if(!(a=vt(s)))return je?null:ze?ae:""}a&&Re&&gt(a.firstChild);for(var f=bt(We?s:a);c=f.nextNode();)3===c.nodeType&&c===u||Ct(c)||(c.content instanceof r&&Dt(c.content),Tt(c),u=c);if(u=null,We)return s;if(je){if($e)for(d=ce.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return Te.shadowroot&&(d=de.call(n,d,!0)),d}var g=Le?a.outerHTML:a.innerHTML;return Le&&xe["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&S(ee,a.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+g),Oe&&(g=D(g,me," "),g=D(g,ve," ")),se&&ze?se.createHTML(g):g},i.setConfig=function(e){lt(e),Pe=!0},i.clearConfig=function(){at=null,Pe=!1},i.isValidAttribute=function(e,t,i){at||lt({});var n=ge(e),s=ge(t);return xt(n,s,i)},i.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],x(pe[e],t))},i.removeHook=function(e){if(pe[e])return C(pe[e])},i.removeHooks=function(e){pe[e]&&(pe[e]=[])},i.removeAllHooks=function(){pe={}},i}return ne()}()},726:function(e,t,i){var n,s,a; /*! jQuery Fancy File Input plugin - v2.0.4 - 2018-11-23 * Copyright (c) 2018 Atlassian Pty Ltd; Licensed Apache-2.0 */void 0===(a=this)&&void 0!==window&&(a=window),n=[i(472)],void 0===(s=function(e){return a.FancyFileInput=function(e){"use strict";var t=/^.*[\\\/]/,i=/\{0\}/gi,n=function(){var e=3,t=document.createElement("div"),i=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(i[0]);return e>4?e:document.documentMode}();function s(t,i){var n=e(t).data("FancyFileInput");if(n)return n;i=e.extend({},s.defaults,i),this.el=t,this.$el=e(t),this.$label=this.createLabel(i.buttonText),this._addLabelText(),this.$clearButton=e("<button>",{text:this.$label.attr("data-ffi-clearButtonText")||i.clearButtonText,class:"ffi-clear",type:"button",tabindex:"-1"}),this.multipleFileTextPattern=this.$label.attr("data-ffi-multipleFileTextPattern")||i.multipleFileTextPattern,this._eventNamespace=".ffi",this.CLASSES={disabled:"is-disabled",focused:"is-focused",active:"is-active",valid:"is-valid",invalid:"is-invalid"},this[this.isDisabled()?"disable":"enable"](),this.isFocused=!1}return s.defaults={buttonText:"Browse…",clearButtonText:"Clear",multipleFileTextPattern:"{0} files"},s.prototype._addLabelText=function(){var t=e('label[for="'+this.el.id+'"]');t.length&&this.$el.attr("aria-label",t.text())},s.prototype.createLabel=function(t){var i=this.$el.parent(".ffi[data-ffi-button-text]");return i.length||(i=this.$el.wrap(e("<label>",{class:"ffi","data-ffi-button-text":t})).parent()),i},s.prototype.isDisabled=function(){return this.$el.is(":disabled")},s.prototype.formatMultipleFileText=function(e){return this.multipleFileTextPattern.replace(i,e)},s.prototype.bindEvents=function(){this.$el.on("invalid"+this._eventNamespace,e.proxy(this.checkValidity,this)).on("change"+this._eventNamespace,e.proxy(this.change,this)).on("keydown"+this._eventNamespace,e.proxy(this.keydown,this)).on("mousedown"+this._eventNamespace,e.proxy(this.mousedown,this)).on("mouseup"+this._eventNamespace,e.proxy(this.mouseup,this)).on("focus"+this._eventNamespace,e.proxy(this.focus,this)).on("blur"+this._eventNamespace,e.proxy(this.blur,this)),this.$clearButton.on("click"+this._eventNamespace,e.proxy(this.clear,this))},s.prototype.unbindEvents=function(){this.$el.off(this._eventNamespace),this.$clearButton.off(this._eventNamespace)},s.prototype.fireEvent=function(e){this.$el.trigger(e+this._eventNamespace)},s.prototype.enable=function(){this.bindEvents(),this.$el.prop("disabled",!1),this.$label.removeClass(this.CLASSES.disabled)},s.prototype.disable=function(){this.unbindEvents(),this.$el.prop("disabled",!0),this.$label.addClass(this.CLASSES.disabled)},s.prototype.clear=function(){return this.$el.wrap("<form>").closest("form").get(0).reset(),this.$el.unwrap(),this.el.value="",this.change(),!1},s.prototype.focus=function(){var e=this;this.$label.addClass(this.CLASSES.focused),n&&!this.isFocused&&(this.isFocused=!0,setTimeout((function(){e.$el.blur(),e.$el.focus()}),0))},s.prototype.blur=function(){n&&this.isFocused||(this.$label.removeClass(this.CLASSES.focused),this.isFocused=!1)},s.prototype.mousedown=function(){this.$label.addClass(this.CLASSES.active)},s.prototype.mouseup=function(){this.$label.removeClass(this.CLASSES.active)},s.prototype.keydown=function(e){var t=e.which,i=9;if(8!==t&&46!==t||(this.clear(),e.preventDefault()),n&&t===i){var s=this;this.isFocused=!1,this.$el.prop("disabled",!0),setTimeout((function(){s.$el.prop("disabled",!1).blur()}),0)}},s.prototype.checkValidity=function(){if(this.el.required){var e=this.$el.is(":invalid");this.$label.toggleClass(this.CLASSES.invalid,e).toggleClass(this.CLASSES.valid,!e)}},s.prototype.change=function(){var e,i="";this.checkValidity(),(e=this.el.multiple&&this.el.files.length>1?this.formatMultipleFileText(this.el.files.length):this.el.value).length?(i=e.replace(t,""),this.$clearButton.appendTo(this.$label)):this.$clearButton.detach(),this.$el.focus(),this.setFieldText(i),this.fireEvent("value-changed")},s.prototype.setFieldText=function(e){var t="data-ffi-value";e.length?(this.$label.attr(t,e),this.fireEvent("value-added")):(this.$label.removeAttr(t),this.fireEvent("value-cleared"))},e.fn.fancyFileInput=function(t){return this.each((function(){var i=new s(this,t);e(this).data("FancyFileInput",i)}))},s}(e)}.apply(t,n))||(e.exports=s)},251:(e,t,i)=>{var n,s;!function(){"use strict";void 0===(s="function"==typeof(n=["jquery","./data","./disable-selection","./focusable","./form","./ie","./keycode","./labels","./jquery-patch.js","./plugin","./safe-active-element","./safe-blur","./scroll-parent","./tabbable","./unique-id","./version"])?n.call(t,i,t,e):n)||(e.exports=s)}()},736:(e,t,i)=>{var n,s,a; /*! * jQuery UI :data 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(i){return!!e.data(i,t)}})):function(t,i,n){return!!e.data(t,n[3])}})})?n.apply(t,s):n)||(e.exports=a)}()},808:(e,t,i)=>{var n,s,a;!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?n.apply(t,s):n)||(e.exports=a)}()},506:(e,t,i)=>{var n,s,a; /*! * jQuery UI Keycode 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(t,s):n)||(e.exports=a)}()},111:(e,t,i)=>{var n,s,a;!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.ui.plugin={add:function(t,i,n){var s,a=e.ui[t].prototype;for(s in n)a.plugins[s]=a.plugins[s]||[],a.plugins[s].push([i,n[s]])},call:function(e,t,i,n){var s,a=e.plugins[t];if(a&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;s<a.length;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}}})?n.apply(t,s):n)||(e.exports=a)}()},783:(e,t,i)=>{var n,s,a;!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(i){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t}})?n.apply(t,s):n)||(e.exports=a)}()},692:(e,t,i)=>{var n,s,a;!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")}})?n.apply(t,s):n)||(e.exports=a)}()},534:(e,t,i)=>{var n,s,a; /*! * jQuery UI Scroll Parent 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){return e.fn.scrollParent=function(t){var i=this.css("position"),n="absolute"===i,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter((function(){var t=e(this);return(!n||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||document)}})?n.apply(t,s):n)||(e.exports=a)}()},21:(e,t,i)=>{var n,s,a;!function(r){"use strict";s=[i(472)],void 0===(a="function"==typeof(n=function(e){return e.ui=e.ui||{},e.ui.version="1.13.1"})?n.apply(t,s):n)||(e.exports=a)}()},993:(e,t,i)=>{var n,s,a; /*! * jQuery UI Widget 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(r){"use strict";s=[i(472),i(21)],void 0===(a="function"==typeof(n=function(e){var t=0,i=Array.prototype.hasOwnProperty,n=Array.prototype.slice;return e.cleanData=function(t){return function(i){var n,s,a;for(a=0;null!=(s=i[a]);a++)(n=e._data(s,"events"))&&n.remove&&e(s).triggerHandler("remove");t(i)}}(e.cleanData),e.widget=function(t,i,n){var s,a,r,o={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),Array.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr.pseudos[c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},s=e[l][t],a=e[l][t]=function(e,t){if(!this||!this._createWidget)return new a(e,t);arguments.length&&this._createWidget(e,t)},e.extend(a,s,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(r=new i).options=e.widget.extend({},r.options),e.each(n,(function(e,t){o[e]="function"==typeof t?function(){function n(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,a=this._superApply;return this._super=n,this._superApply=s,e=t.apply(this,arguments),this._super=i,this._superApply=a,e}}():t})),a.prototype=e.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||t},o,{constructor:a,namespace:l,widgetName:t,widgetFullName:c}),s?(e.each(s._childConstructors,(function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,a,i._proto)})),delete s._childConstructors):i._childConstructors.push(a),e.widget.bridge(t,a),a},e.widget.extend=function(t){for(var s,a,r=n.call(arguments,1),o=0,l=r.length;o<l;o++)for(s in r[o])a=r[o][s],i.call(r[o],s)&&void 0!==a&&(e.isPlainObject(a)?t[s]=e.isPlainObject(t[s])?e.widget.extend({},t[s],a):e.widget.extend({},a):t[s]=a);return t},e.widget.bridge=function(t,i){var s=i.prototype.widgetFullName||t;e.fn[t]=function(a){var r="string"==typeof a,o=n.call(arguments,1),l=this;return r?this.length||"instance"!==a?this.each((function(){var i,n=e.data(this,s);return"instance"===a?(l=n,!1):n?"function"!=typeof n[a]||"_"===a.charAt(0)?e.error("no such method '"+a+"' for "+t+" widget instance"):(i=n[a].apply(n,o))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+a+"'")})):l=void 0:(o.length&&(a=e.widget.extend.apply(null,[a].concat(o))),this.each((function(){var t=e.data(this,s);t?(t.option(a||{}),t._init&&t._init()):e.data(this,s,new i(a,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,i){t._removeClass(i,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,s,a,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},n=t.split("."),t=n.shift(),n.length){for(s=r[t]=e.widget.extend({},this.options[t]),a=0;a<n.length-1;a++)s[n[a]]=s[n[a]]||{},s=s[n[a]];if(t=n.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];r[t]=i}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,s;for(i in t)s=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&s&&s.length&&(n=e(s.get()),this._removeClass(s,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],n=this;function s(){var i=[];t.element.each((function(t,s){e.map(n.classesElementLookup,(function(e){return e})).some((function(e){return e.is(s)}))||i.push(s)})),n._on(e(i),{remove:"_untrackClassesElement"})}function a(a,r){var o,l;for(l=0;l<a.length;l++)o=n.classesElementLookup[a[l]]||e(),t.add?(s(),o=e(e.uniqueSort(o.get().concat(t.element.get())))):o=e(o.not(t.element).get()),n.classesElementLookup[a[l]]=o,i.push(a[l]),r&&t.classes[a[l]]&&i.push(t.classes[a[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&a(t.keys.match(/\S+/g)||[],!0),t.extra&&a(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,(function(n,s){-1!==e.inArray(t.target,s)&&(i.classesElementLookup[n]=e(s.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var s="string"==typeof e||null===e,a={extra:s?t:i,keys:s?e:t,element:s?this.element:e,add:n};return a.element.toggleClass(this._classes(a),n),this},_on:function(t,i,n){var s,a=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=s=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,s=this.widget()),e.each(n,(function(n,r){function o(){if(t||!0!==a.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof r?a[r]:r).apply(a,arguments)}"string"!=typeof r&&(o.guid=r.guid=r.guid||o.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?s.on(c,u,o):i.on(c,o)}))},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function i(){return("string"==typeof e?n[e]:e).apply(n,arguments)}var n=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var s,a,r=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(s in a)s in i||(i[s]=a[s]);return this.element.trigger(i,n),!("function"==typeof r&&!1===r.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,i){e.Widget.prototype["_"+t]=function(n,s,a){var r;"string"==typeof s&&(s={effect:s});var o=s?!0===s||"number"==typeof s?i:s.effect||i:t;"number"==typeof(s=s||{})?s={duration:s}:!0===s&&(s={}),r=!e.isEmptyObject(s),s.complete=a,s.delay&&n.delay(s.delay),r&&e.effects&&e.effects.effect[o]?n[t](s):o!==t&&n[o]?n[o](s.duration,s.easing,a):n.queue((function(i){e(this)[t](),a&&a.call(n[0]),i()}))}})),e.widget})?n.apply(t,s):n)||(e.exports=a)}()},207:(e,t,i)=>{var n,s,a; /*! * jQuery UI Datepicker 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */!function(r){"use strict";s=[i(472),i(21),i(506)],void 0===(a="function"==typeof(n=function(e){var t;function i(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=s(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function s(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,a)}function a(){e.datepicker._isDisabledDatepicker(t.inline?t.dpDiv.parent()[0]:t.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function r(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}return e.extend(e.ui,{datepicker:{version:"1.13.1"}}),e.extend(n.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return r(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,s,a;s="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(a=this._newInst(e(t),s)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,a):s&&this._inlineDatepicker(t,a)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,s,a,r=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=e("<span>").addClass(this._appendClass).text(r),t[o?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(s=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),this._get(i,"buttonImageOnly")?i.trigger=e("<img>").addClass(this._triggerClass).attr({src:a,alt:s,title:s}):(i.trigger=e("<button type='button'>").addClass(this._triggerClass),a?i.trigger.html(e("<img>").attr({src:a,alt:s,title:s})):i.trigger.text(s)),t[o?"before":"after"](i.trigger),i.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1})))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,s,a=new Date(2009,11,20),r=this._get(e,"dateFormat");r.match(/[DM]/)&&(t=function(e){for(i=0,n=0,s=0;s<e.length;s++)e[s].length>i&&(i=e[s].length,n=s);return n},a.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,s,a){var o,l,c,u,d,h=this._dialogInst;return h||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",h)),r(h.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(i){var n,s=e(i),a=e.data(i,"datepicker");s.hasClass(this.markerClassName)&&(n=i.nodeName.toLowerCase(),e.removeData(i,"datepicker"),"input"===n?(a.append.remove(),a.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||s.removeClass(this.markerClassName).empty(),t===a&&(t=null,this._curInst=null))},_enableDatepicker:function(t){var i,n,s=e(t),a=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,a.tr