UNPKG

@atlassian/aui

Version:

Atlassian User Interface library

52 lines 464 kB
/*!! * @atlassian/aui - Atlassian User Interface library * @version v9.13.2 * @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,((e,t,i)=>(()=>{var n={547:()=>{console.debug("AUI import for WRM I18n not loaded")},581:()=>{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}},672:function(e){ /*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/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},e(t)}function t(e,i){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(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},n.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 _=I(Array.prototype.forEach),x=I(Array.prototype.pop),C=I(Array.prototype.push),T=I(String.prototype.toLowerCase),k=I(String.prototype.toString),E=I(String.prototype.match),A=I(String.prototype.replace),D=I(String.prototype.indexOf),S=I(String.prototype.trim),M=I(RegExp.prototype.test),N=O(TypeError);function I(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 O(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 L(e,t,i){var n;i=null!==(n=i)&&void 0!==n?n:T,d&&d(e,null);for(var s=t.length;s--;){var a=t[s];if("string"==typeof a){var r=i(a);r!==a&&(h(t)||(t[s]=r),a=r)}e[a]=!0}return e}function P(e){var t,i=v(null);for(t in e)!0===y(u,e,[t])&&(i[t]=e[t]);return i}function R(e,t){for(;null!==e;){var i=f(e,t);if(i){if(i.get)return I(i.get);if("function"==typeof i.value)return I(i.value)}e=p(e)}function n(e){return console.warn("fallback value for",e),null}return n}var $=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"]),z=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"]),F=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"]),H=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"]),B=g(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=g(["#text"]),W=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"]),V=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"]),Y=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"]),q=g(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Q=m(/<%[\w\W]*|[\w\W]*%>/gm),G=m(/\${[\w\W]*}/gm),Z=m(/^data-[\-\w.\u00B7-\uFFFF]/),J=m(/^aria-[\-\w]+$/),X=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=m(/^(?:\w+script|data):/i),te=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ie=m(/^html$/i),ne=m(/^[a-z][.\w]*(-[.\w]+)+$/i),se=function(){return"undefined"==typeof window?null:window},ae=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 re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se(),i=function(e){return re(e)};if(i.version="2.5.7",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=R(v,"cloneNode"),y=R(v,"nextSibling"),w=R(v,"childNodes"),I=R(v,"parentNode");if("function"==typeof o){var O=a.createElement("template");O.content&&O.content.ownerDocument&&(a=O.content.ownerDocument)}var oe=ae(m,n),le=oe?oe.createHTML(""):"",ce=a,ue=ce.implementation,de=ce.createNodeIterator,he=ce.createDocumentFragment,pe=ce.getElementsByTagName,fe=n.importNode,ge={};try{ge=P(a).documentMode?a.documentMode:{}}catch(e){}var me={};i.isSupported="function"==typeof I&&ue&&void 0!==ue.createHTMLDocument&&9!==ge;var ve,be,ye=K,we=Q,_e=G,xe=Z,Ce=J,Te=ee,ke=te,Ee=ne,Ae=X,De=null,Se=L({},[].concat(s($),s(j),s(z),s(H),s(U))),Me=null,Ne=L({},[].concat(s(W),s(V),s(Y),s(q))),Ie=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}})),Oe=null,Le=null,Pe=!0,Re=!0,$e=!1,je=!0,ze=!1,Fe=!0,He=!1,Be=!1,Ue=!1,We=!1,Ve=!1,Ye=!1,qe=!0,Ke=!1,Qe="user-content-",Ge=!0,Ze=!1,Je={},Xe=null,et=L({},["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"]),tt=null,it=L({},["audio","video","img","source","image","track"]),nt=null,st=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),at="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",lt=ot,ct=!1,ut=null,dt=L({},[at,rt,ot],k),ht=["application/xhtml+xml","text/html"],pt="text/html",ft=null,gt=a.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},vt=function(t){ft&&ft===t||(t&&"object"===e(t)||(t={}),t=P(t),ve=ve=-1===ht.indexOf(t.PARSER_MEDIA_TYPE)?pt:t.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ve?k:T,De="ALLOWED_TAGS"in t?L({},t.ALLOWED_TAGS,be):Se,Me="ALLOWED_ATTR"in t?L({},t.ALLOWED_ATTR,be):Ne,ut="ALLOWED_NAMESPACES"in t?L({},t.ALLOWED_NAMESPACES,k):dt,nt="ADD_URI_SAFE_ATTR"in t?L(P(st),t.ADD_URI_SAFE_ATTR,be):st,tt="ADD_DATA_URI_TAGS"in t?L(P(it),t.ADD_DATA_URI_TAGS,be):it,Xe="FORBID_CONTENTS"in t?L({},t.FORBID_CONTENTS,be):et,Oe="FORBID_TAGS"in t?L({},t.FORBID_TAGS,be):{},Le="FORBID_ATTR"in t?L({},t.FORBID_ATTR,be):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,Pe=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,$e=t.ALLOW_UNKNOWN_PROTOCOLS||!1,je=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ze=t.SAFE_FOR_TEMPLATES||!1,Fe=!1!==t.SAFE_FOR_XML,He=t.WHOLE_DOCUMENT||!1,We=t.RETURN_DOM||!1,Ve=t.RETURN_DOM_FRAGMENT||!1,Ye=t.RETURN_TRUSTED_TYPE||!1,Ue=t.FORCE_BODY||!1,qe=!1!==t.SANITIZE_DOM,Ke=t.SANITIZE_NAMED_PROPS||!1,Ge=!1!==t.KEEP_CONTENT,Ze=t.IN_PLACE||!1,Ae=t.ALLOWED_URI_REGEXP||Ae,lt=t.NAMESPACE||ot,Ie=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&mt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ie.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&mt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ie.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ie.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(Re=!1),Ve&&(We=!0),Je&&(De=L({},s(U)),Me=[],!0===Je.html&&(L(De,$),L(Me,W)),!0===Je.svg&&(L(De,j),L(Me,V),L(Me,q)),!0===Je.svgFilters&&(L(De,z),L(Me,V),L(Me,q)),!0===Je.mathMl&&(L(De,H),L(Me,Y),L(Me,q))),t.ADD_TAGS&&(De===Se&&(De=P(De)),L(De,t.ADD_TAGS,be)),t.ADD_ATTR&&(Me===Ne&&(Me=P(Me)),L(Me,t.ADD_ATTR,be)),t.ADD_URI_SAFE_ATTR&&L(nt,t.ADD_URI_SAFE_ATTR,be),t.FORBID_CONTENTS&&(Xe===et&&(Xe=P(Xe)),L(Xe,t.FORBID_CONTENTS,be)),Ge&&(De["#text"]=!0),He&&L(De,["html","head","body"]),De.table&&(L(De,["tbody"]),delete Oe.tbody),g&&g(t),ft=t)},bt=L({},["mi","mo","mn","ms","mtext"]),yt=L({},["annotation-xml"]),wt=L({},["title","style","font","a","script"]),_t=L({},j);L(_t,z),L(_t,F);var xt=L({},H);L(xt,B);var Ct=function(e){var t=I(e);t&&t.tagName||(t={namespaceURI:lt,tagName:"template"});var i=T(e.tagName),n=T(t.tagName);return!!ut[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===ot?"svg"===i:t.namespaceURI===at?"svg"===i&&("annotation-xml"===n||bt[n]):Boolean(_t[i]):e.namespaceURI===at?t.namespaceURI===ot?"math"===i:t.namespaceURI===rt?"math"===i&&yt[n]:Boolean(xt[i]):e.namespaceURI===ot?!(t.namespaceURI===rt&&!yt[n])&&!(t.namespaceURI===at&&!bt[n])&&!xt[i]&&(wt[i]||!_t[i]):!("application/xhtml+xml"!==ve||!ut[e.namespaceURI]))},Tt=function(e){C(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=le}catch(t){e.remove()}}},kt=function(e,t){try{C(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){C(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Me[e])if(We||Ve)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){var t,i;if(Ue)e="<remove></remove>"+e;else{var n=E(e,/^[\r\n\t ]+/);i=n&&n[0]}"application/xhtml+xml"===ve&&lt===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var s=oe?oe.createHTML(e):e;if(lt===ot)try{t=(new f).parseFromString(s,ve)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(lt,"template",null);try{t.documentElement.innerHTML=ct?le:s}catch(e){}}var r=t.body||t.documentElement;return e&&i&&r.insertBefore(a.createTextNode(i),r.childNodes[0]||null),lt===ot?pe.call(t,He?"html":"body")[0]:He?t.documentElement:r},At=function(e){return de.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null,!1)},Dt=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||"function"!=typeof e.hasChildNodes)},St=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Mt=function(e,t,n){me[e]&&_(me[e],(function(e){e.call(i,t,n,ft)}))},Nt=function(e){var t;if(Mt("beforeSanitizeElements",e,null),Dt(e))return Tt(e),!0;if(M(/[\u0080-\uFFFF]/,e.nodeName))return Tt(e),!0;var n=be(e.nodeName);if(Mt("uponSanitizeElement",e,{tagName:n,allowedTags:De}),e.hasChildNodes()&&!St(e.firstElementChild)&&(!St(e.content)||!St(e.content.firstElementChild))&&M(/<[/\w]/g,e.innerHTML)&&M(/<[/\w]/g,e.textContent))return Tt(e),!0;if("select"===n&&M(/<template/i,e.innerHTML))return Tt(e),!0;if(7===e.nodeType)return Tt(e),!0;if(Fe&&8===e.nodeType&&M(/<[/\w]/g,e.data))return Tt(e),!0;if(!De[n]||Oe[n]){if(!Oe[n]&&Ot(n)){if(Ie.tagNameCheck instanceof RegExp&&M(Ie.tagNameCheck,n))return!1;if(Ie.tagNameCheck instanceof Function&&Ie.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){var s=I(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&s)for(var r=a.length-1;r>=0;--r){var o=b(a[r],!0);o.__removalCount=(e.__removalCount||0)+1,s.insertBefore(o,y(e))}}return Tt(e),!0}return e instanceof c&&!Ct(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!M(/<\/no(script|embed|frames)/i,e.innerHTML)?(ze&&3===e.nodeType&&(t=e.textContent,t=A(t,ye," "),t=A(t,we," "),t=A(t,_e," "),e.textContent!==t&&(C(i.removed,{element:e.cloneNode()}),e.textContent=t)),Mt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},It=function(e,t,i){if(qe&&("id"===t||"name"===t)&&(i in a||i in gt))return!1;if(Re&&!Le[t]&&M(xe,t));else if(Pe&&M(Ce,t));else if(!Me[t]||Le[t]){if(!(Ot(e)&&(Ie.tagNameCheck instanceof RegExp&&M(Ie.tagNameCheck,e)||Ie.tagNameCheck instanceof Function&&Ie.tagNameCheck(e))&&(Ie.attributeNameCheck instanceof RegExp&&M(Ie.attributeNameCheck,t)||Ie.attributeNameCheck instanceof Function&&Ie.attributeNameCheck(t))||"is"===t&&Ie.allowCustomizedBuiltInElements&&(Ie.tagNameCheck instanceof RegExp&&M(Ie.tagNameCheck,i)||Ie.tagNameCheck instanceof Function&&Ie.tagNameCheck(i))))return!1}else if(nt[t]);else if(M(Ae,A(i,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==D(i,"data:")||!tt[e])if($e&&!M(Te,A(i,ke,"")));else if(i)return!1;return!0},Ot=function(e){return"annotation-xml"!==e&&E(e,Ee)},Lt=function(t){var n,s,a,r;Mt("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Me};for(r=o.length;r--;){var c=n=o[r],u=c.name,d=c.namespaceURI;if(s="value"===u?n.value:S(n.value),a=be(u),l.attrName=a,l.attrValue=s,l.keepAttr=!0,l.forceKeepAttr=void 0,Mt("uponSanitizeAttribute",t,l),s=l.attrValue,!l.forceKeepAttr&&(kt(u,t),l.keepAttr))if(je||!M(/\/>/i,s)){ze&&(s=A(s,ye," "),s=A(s,we," "),s=A(s,_e," "));var h=be(t.nodeName);if(It(h,a,s))if(!Ke||"id"!==a&&"name"!==a||(kt(u,t),s=Qe+s),Fe&&M(/((--!?|])>)|<\/(style|title)/i,s))kt(u,t);else{if(oe&&"object"===e(m)&&"function"==typeof m.getAttributeType)if(d);else switch(m.getAttributeType(h,a)){case"TrustedHTML":s=oe.createHTML(s);break;case"TrustedScriptURL":s=oe.createScriptURL(s)}try{d?t.setAttributeNS(d,u,s):t.setAttribute(u,s),Dt(t)?Tt(t):x(i.removed)}catch(e){}}}else kt(u,t)}Mt("afterSanitizeAttributes",t,null)}},Pt=function e(t){var i,n=At(t);for(Mt("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)Mt("uponSanitizeShadowNode",i,null),Nt(i)||(i.content instanceof r&&e(i.content),Lt(i));Mt("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((ct=!s)&&(s="\x3c!--\x3e"),"string"!=typeof s&&!St(s)){if("function"!=typeof s.toString)throw N("toString is not a function");if("string"!=typeof(s=s.toString()))throw N("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(St(s))return t.toStaticHTML(s.outerHTML)}return s}if(Be||vt(h),i.removed=[],"string"==typeof s&&(Ze=!1),Ze){if(s.nodeName){var p=be(s.nodeName);if(!De[p]||Oe[p])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof l)1===(o=(a=Et("\x3c!----\x3e")).ownerDocument.importNode(s,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!We&&!ze&&!He&&-1===s.indexOf("<"))return oe&&Ye?oe.createHTML(s):s;if(!(a=Et(s)))return We?null:Ye?le:""}a&&Ue&&Tt(a.firstChild);for(var f=At(Ze?s:a);c=f.nextNode();)3===c.nodeType&&c===u||Nt(c)||(c.content instanceof r&&Pt(c.content),Lt(c),u=c);if(u=null,Ze)return s;if(We){if(Ve)for(d=he.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return(Me.shadowroot||Me.shadowrootmod)&&(d=fe.call(n,d,!0)),d}var g=He?a.outerHTML:a.innerHTML;return He&&De["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&M(ie,a.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+g),ze&&(g=A(g,ye," "),g=A(g,we," "),g=A(g,_e," ")),oe&&Ye?oe.createHTML(g):g},i.setConfig=function(e){vt(e),Be=!0},i.clearConfig=function(){ft=null,Be=!1},i.isValidAttribute=function(e,t,i){ft||vt({});var n=be(e),s=be(t);return It(n,s,i)},i.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],C(me[e],t))},i.removeHook=function(e){if(me[e])return x(me[e])},i.removeHooks=function(e){me[e]&&(me[e]=[])},i.removeAllHooks=function(){me={}},i}return re()}()},722: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(687)],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)},746:(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","./plugin","./safe-active-element","./safe-blur","./scroll-parent","./tabbable","./unique-id","./version"])?n.call(t,i,t,e):n)||(e.exports=s)}()},745:(e,t,i)=>{var n,s,a; /*! * jQuery UI :data 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */!function(){"use strict";s=[i(687),i(309)],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)}()},759:(e,t,i)=>{var n,s,a;!function(){"use strict";s=[i(687),i(309)],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)}()},891:(e,t,i)=>{var n,s,a; /*! * jQuery UI Keycode 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */!function(){"use strict";s=[i(687),i(309)],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)}()},786:(e,t,i)=>{var n,s,a;!function(){"use strict";s=[i(687),i(309)],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)}}},void 0===(a="function"==typeof n?n.apply(t,s):n)||(e.exports=a)}()},182:(e,t,i)=>{var n,s,a;!function(){"use strict";s=[i(687),i(309)],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)}()},464:(e,t,i)=>{var n,s,a;!function(){"use strict";s=[i(687),i(309)],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)}()},41:(e,t,i)=>{var n,s,a; /*! * jQuery UI Scroll Parent 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */!function(){"use strict";s=[i(687),i(309)],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)}()},309:(e,t,i)=>{var n,s,a;!function(){"use strict";s=[i(687)],void 0===(a="function"==typeof(n=function(e){return e.ui=e.ui||{},e.ui.version="1.13.3"})?n.apply(t,s):n)||(e.exports=a)}()},229:(e,t,i)=>{var n,s,a; /*! * jQuery UI Widget 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */!function(){"use strict";s=[i(687),i(309)],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},void 0===(a="function"==typeof n?n.apply(t,s):n)||(e.exports=a)}()},253:(e,t,i)=>{var n,s,a; /*! * jQuery UI Datepicker 1.13.3 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */!function(){"use strict";s=[i(687),i(309),i(891)],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.3"}}),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.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var i,n,s=e(t),a=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,a.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,n){var s,a,o,l,c=this._getInst(t);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?e.extend({},e.datepicker._defaults):c?"all"===i?e.extend({},c.settings):this._get(c,i):null;s=i||{},"string"==typeof i&&((s={})[i]=n),c&&(this