From 0a6b469536f2becad10f2656ec0b9d16c72e934b Mon Sep 17 00:00:00 2001 From: Bayu Hendra Winata Date: Fri, 17 Apr 2020 15:14:56 +0700 Subject: [PATCH] fix(uploader): disable ajax removal --- public/js/all.js | 2 +- public/mix-manifest.json | 2 +- resources/js/init/ui.js | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/js/all.js b/public/js/all.js index fcb9f5b..8232dfe 100644 --- a/public/js/all.js +++ b/public/js/all.js @@ -1 +1 @@ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],i=e.document,o=Object.getPrototypeOf,r=n.slice,a=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,f=d.toString,p=f.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var o,r,a=(n=n||i).createElement("script");if(a.text=e,t)for(o in v)(r=t[o]||t.getAttribute&&t.getAttribute(o))&&a.setAttribute(o,r);n.head.appendChild(a).parentNode.removeChild(a)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var x="3.4.1",w=function(e,t){return new w.fn.init(e,t)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+z+")"+z+"*"),B=new RegExp(z+"|>"),W=new RegExp(_),Y=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+_),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){f()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(F=R.call(w.childNodes),w.childNodes),F[w.childNodes.length].nodeType}catch(t){L={apply:F.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var r,s,c,u,d,h,v,b=t&&t.ownerDocument,C=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return i;if(!o&&((t?t.ownerDocument||t:w)!==p&&f(t),t=t||p,m)){if(11!==C&&(d=Z.exec(e)))if(r=d[1]){if(9===C){if(!(c=t.getElementById(r)))return i;if(c.id===r)return i.push(c),i}else if(b&&(c=b.getElementById(r))&&y(t,c)&&c.id===r)return i.push(c),i}else{if(d[2])return L.apply(i,t.getElementsByTagName(e)),i;if((r=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===C&&B.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,oe):t.setAttribute("id",u=x),s=(h=a(e)).length;s--;)h[s]="#"+u+" "+ye(h[s]);v=h.join(","),b=ee.test(e)&&ve(t.parentNode)||t}try{return L.apply(i,b.querySelectorAll(v)),i}catch(t){E(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[x]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},r=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement&&(h=(p=a).documentElement,m=!r(p),w!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+z+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",_)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(h.compareDocumentPosition),y=t||J.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===p||e.ownerDocument===w&&y(w,e)?-1:t===p||t.ownerDocument===w&&y(w,t)?1:u?I(u,e)-I(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e===p?-1:t===p?1:o?-1:r?1:u?I(u,e)-I(u,t):0;if(o===r)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?fe(a[i],s[i]):a[i]===w?-1:s[i]===w?1:0}),p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){E(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return m(t)?w.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:P.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),O.test(o[1])&&w.isPlainObject(t))for(o in t)m(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=i.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,M=w(i);var L=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;nx",h.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue;var Ce=/^key/,ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function De(){return!1}function Ee(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Ae(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=De;else if(!o)return e;return 1===r&&(a=o,(o=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,o,i,n)})}function Oe(e,t,n){n?(Q.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,o,a=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=r.call(arguments),Q.set(this,t,a),i=n(this,t),this[t](),a!==(o=Q.get(this,t))||i?Q.set(this,t,!1):o={},a!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else a.length&&(Q.set(this,t,{value:w.event.trigger(w.extend(a[0],w.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&w.event.add(e,t,Se)}w.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,h,m,g=Q.get(e);if(g)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&w.find.matchesSelector(oe,o),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(j)||[""]).length;c--;)p=m=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=w.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=w.event.special[p]||{},u=w.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:h.join(".")},r),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),w.event.global[p]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(p=m=(s=Te.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=w.event.special[p]||{},f=l[p=(i?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=f.length;r--;)u=f[r],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(r,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||w.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[c],n,i,!0);w.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=w.event.fix(e),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[s.type]||[],u=w.event.special[s.type]||{};for(l[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Me=/\s*$/g;function Re(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ze(e,t){var n,i,o,r,a,s,l,c;if(1===t.nodeType){if(Q.hasData(e)&&(r=Q.access(e),a=Q.set(t,r),c=r.events))for(o in delete a.handle,a.events={},c)for(n=0,i=c[o].length;n")},clone:function(e,t,n){var i,o,r,a,s,l,c,u=e.cloneNode(!0),d=re(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ge(u),i=0,o=(r=ge(e)).length;i").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Yt,Xt=[],Gt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||w.expando+"_"+St++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,a,s=!1!==t.jsonp&&(Gt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Gt,"$1"+o):!1!==t.jsonp&&(t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||w.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){a=arguments},i.always(function(){void 0===r?w(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,Xt.push(o)),a&&m(r)&&r(a[0]),a=r=void 0}),"script"}),h.createHTMLDocument=((Yt=i.implementation.createHTMLDocument("").body).innerHTML="
",2===Yt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((o=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(o)):t=i),a=!n&&[],(r=O.exec(e))?[t.createElement(r[1])]:(r=we([e],t,a),a&&a.length&&w(a).remove(),w.merge([],r.childNodes)));var o,r,a},w.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return-1").append(w.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=w.css(e,"position"),u=w(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),m(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),o.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-w.css(i,"marginTop",!0),left:t.left-o.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||oe})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return V(this,function(e,i,o){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=Ue(h.pixelPosition,function(e,n){if(n)return n=Ve(e,t),_e.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){w.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return V(this,function(t,n,o){var r;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?w.css(t,n,s):w.style(t,n,o,s)},t,a?o:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return 0")},fields:function(t){var n=e();return e.each(t,function(e,t){n=n.add(O.get.field(t))}),n},validation:function(t){var n,i;return!!y&&(e.each(y,function(o,r){i=r.identifier||o,e.each(O.get.field(i),function(e,o){if(o==t[0])return r.identifier=i,n=r,!1})}),n||!1)},value:function(e){var t=[];return t.push(e),O.get.values.call(M,t)[e]},values:function(t){var n=Array.isArray(t)?O.get.fields(t):h,o={};return n.each(function(t,n){var r=e(n),a=r.closest(w.uiCalendar),s=r.prop("name"),l=r.val(),c=r.is(w.checkbox),u=r.is(w.radio),d=-1!==s.indexOf("[]"),f=0"}),e(n+="")},prompt:function(t,n){return e("
").addClass(n).html(t[0])}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(e===i||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return 0=t},length:function(e,t){return e!==i&&e.length>=t},exactLength:function(e,t){return e!==i&&e.length==t},maxLength:function(e,t){return e!==i&&e.length<=t},match:function(e,t,n){var o,r;return 0<(r=n.find('[data-validate="'+t+'"]')).length?o=r.val():0<(r=n.find("#"+t)).length?o=r.val():0<(r=n.find('[name="'+t+'"]')).length?o=r.val():0<(r=n.find('[name="'+t+'[]"]')).length&&(o=r),o!==i&&e.toString()==o.toString()},different:function(e,t,n){var o,r;return 0<(r=n.find('[data-validate="'+t+'"]')).length?o=r.val():0<(r=n.find("#"+t)).length?o=r.val():0<(r=n.find('[name="'+t+'"]')).length?o=r.val():0<(r=n.find('[name="'+t+'[]"]')).length&&(o=r),o!==i&&e.toString()!==o.toString()},creditCard:function(t,n){var i,o,r={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},a={},s=!1,l="string"==typeof n&&n.split(",");if("string"==typeof t&&0!==t.length){if(t=t.replace(/[\-]/g,""),l&&(e.each(l,function(n,i){(o=r[i])&&(a={length:-1!==e.inArray(t.length,o.length),pattern:-1!==t.search(o.pattern)}).length&&a.pattern&&(s=!0)}),!s))return!1;if((i={number:-1!==e.inArray(t.length,r.unionPay.length),pattern:-1!==t.search(r.unionPay.pattern)}).number&&i.pattern)return!0;for(var c=t.length,u=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],f=0;c--;)f+=d[u][parseInt(t.charAt(c),10)],u^=1;return f%10==0&&0=t)},exactCount:function(e,t){return 0==t?""===e:1==t?""!==e&&-1===e.search(","):e.split(",").length==t},maxCount:function(e,t){return 0!=t&&(1==t?-1===e.search(","):e.split(",").length<=t)}}}}(jQuery,window,document),function(e,t,n){"use strict";e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.accordion=function(i){var o,r=e(this),a=(new Date).getTime(),s=[],l=i,c="string"==typeof l,u=[].slice.call(arguments,1);return r.each(function(){var d,f,p=e.isPlainObject(i)?e.extend(!0,{},e.fn.accordion.settings,i):e.extend({},e.fn.accordion.settings),h=p.className,m=p.namespace,g=p.selector,v=p.error,b="."+m,y="module-"+m,x=r.selector||"",w=e(this),C=w.find(g.title),k=w.find(g.content),T=this,S=w.data(y);f={initialize:function(){f.debug("Initializing",w),f.bind.events(),p.observeChanges&&f.observeChanges(),f.instantiate()},instantiate:function(){S=f,w.data(y,f)},destroy:function(){f.debug("Destroying previous instance",w),w.off(b).removeData(y)},refresh:function(){C=w.find(g.title),k=w.find(g.content)},observeChanges:function(){"MutationObserver"in t&&((d=new MutationObserver(function(e){f.debug("DOM tree modified, updating selector cache"),f.refresh()})).observe(T,{childList:!0,subtree:!0}),f.debug("Setting up mutation observer",d))},bind:{events:function(){f.debug("Binding delegated events"),w.on(p.on+b,g.trigger,f.event.click)}},event:{click:function(){f.toggle.call(this)}},toggle:function(t){var i=t!==n?"number"==typeof t?C.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=i.next(k),r=o.hasClass(h.animating),a=o.hasClass(h.active),s=a&&!r,l=!a&&r;f.debug("Toggling visibility of content",i),s||l?p.collapsible?f.close.call(i):f.debug("Cannot close accordion content collapsing is disabled"):f.open.call(i)},open:function(t){var i=t!==n?"number"==typeof t?C.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=i.next(k),r=o.hasClass(h.animating);o.hasClass(h.active)||r?f.debug("Accordion already open, skipping",o):(f.debug("Opening accordion content",i),p.onOpening.call(o),p.onChanging.call(o),p.exclusive&&f.closeOthers.call(i),i.addClass(h.active),o.stop(!0,!0).addClass(h.animating),p.animateChildren&&(e.fn.transition!==n&&w.transition("is supported")?o.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration,skipInlineHidden:!0,onComplete:function(){o.children().removeClass(h.transition)}}):o.children().stop(!0,!0).animate({opacity:1},p.duration,f.resetOpacity)),o.slideDown(p.duration,p.easing,function(){o.removeClass(h.animating).addClass(h.active),f.reset.display.call(this),p.onOpen.call(this),p.onChange.call(this)}))},close:function(t){var i=t!==n?"number"==typeof t?C.eq(t):e(t).closest(g.title):e(this).closest(g.title),o=i.next(k),r=o.hasClass(h.animating),a=o.hasClass(h.active);!a&&(a||!r)||a&&r||(f.debug("Closing accordion content",o),p.onClosing.call(o),p.onChanging.call(o),i.removeClass(h.active),o.stop(!0,!0).addClass(h.animating),p.animateChildren&&(e.fn.transition!==n&&w.transition("is supported")?o.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration,skipInlineHidden:!0}):o.children().stop(!0,!0).animate({opacity:0},p.duration,f.resetOpacity)),o.slideUp(p.duration,p.easing,function(){o.removeClass(h.animating).removeClass(h.active),f.reset.display.call(this),p.onClose.call(this),p.onChange.call(this)}))},closeOthers:function(t){var i,o,r,a=t!==n?C.eq(t):e(this).closest(g.title),s=a.parents(g.content).prev(g.title),l=a.closest(g.accordion),c=g.title+"."+h.active+":visible",u=g.content+"."+h.active+":visible";r=p.closeNested?(i=l.find(c).not(s)).next(k):(i=l.find(c).not(s),o=l.find(u).find(c).not(s),(i=i.not(o)).next(k)),0").addClass(m.popup)[n](t)}E.addClass(m.calendar);var o=h.onVisible,r=h.onHidden;D.length||(E.attr("tabindex","0"),o=function(){return p.focus(),h.onVisible.apply(E,arguments)},r=function(){return p.blur(),h.onHidden.apply(E,arguments)});var a=h.on||(D.length?"focus":"click"),s=e.extend({},h.popupOptions,{popup:E,on:a,hoverable:"hover"===a,onShow:function(){return p.set.focusDate(p.get.date()),p.set.mode(h.startMode),h.onShow.apply(E,arguments)},onVisible:o,onHide:h.onHide,onHidden:r});p.popup(s)}else p.error(C.popup)},inline:function(){A.length&&!h.inline||(E=e("
").addClass(m.calendar).appendTo(S),D.length||E.attr("tabindex","0"))},input:function(){h.touchReadonly&&D.length&&r&&D.prop("readonly",!0)},date:function(){var e;h.initialDate?e=y.date(h.initialDate,h):S.data(x.date)!==i?e=y.date(S.data(x.date),h):D.length&&(e=y.date(D.val(),h)),p.set.date(e,h.formatInput,!1)}},create:{calendar:function(){var t,n,i,o,r,a,s,l=p.get.mode(),c=new Date,u=p.get.date(),d=p.get.focusDate(),f=d||u||h.initialDate||c;f=p.helper.dateInRange(f),d||(d=f,p.set.focusDate(d,!1,!1));var g="year"===l,v="month"===l,y="day"===l,C="hour"===l,k="minute"===l,T="time"===h.type,S=Math.max(h.multiMonth,1),D=y?p.get.monthOffset():0,A=f.getMinutes(),O=f.getHours(),F=f.getDate(),M=f.getMonth()+D,P=f.getFullYear(),L=y?h.showWeekNumbers?8:7:C?4:w.column,R=y||C?6:w.row,I=y?S:1,j=E,z=j.hasClass("left")?"right center":"left center";for(j.empty(),1").addClass(m.grid).appendTo(j)),o=0;o").addClass(m.column).appendTo(s));var N=M+o,$=(new Date(P,N,1).getDay()-h.firstDayOfWeek%7+7)%7;if(!h.constantHeight&&y){var _=new Date(P,N+1,0).getDate()+$;R=Math.ceil(_/7)}var q=g?10:v?1:0,H=y?1:0,V=C||k?1:0,U=C||k?F:1,B=new Date(P-q,N-H,U-V,O),W=new Date(P+q,N+H,U+V,O),Y=g?new Date(10*Math.ceil(P/10)-9,0,0):v?new Date(P,0,0):y?new Date(P,N,0):new Date(P,N,F,-1),X=g?new Date(10*Math.ceil(P/10)+1,0,1):v?new Date(P+1,0,1):y?new Date(P,N+1,1):new Date(P,N,F+1),G=l;y&&h.showWeekNumbers&&(G+=" andweek");var Q=e("").addClass(m.table).addClass(G).appendTo(j),K=L;if(!T){var J=e("").appendTo(Q);r=e("").appendTo(J),a=e("").appendTo(J),h.showWeekNumbers&&((a=e("").appendTo(Q);for(t=g?10*Math.ceil(P/10)-9:y?1-$:0,n=0;n").appendTo(oe),y&&h.showWeekNumbers&&((a=e("").appendTo(oe),me=e("
").attr("colspan",""+L).appendTo(r);var Z=g||v?new Date(P,0,1):y?new Date(P,N,1):new Date(P,N,F,O,A),ee=e("").addClass(m.link).appendTo(a);ee.text(b.header(Z,l,h));var te=v?h.disableYear?"day":"year":y?h.disableMonth?"year":"month":"day";if(ee.data(x.mode,te),0===o){var ne=e("").addClass(m.prev).appendTo(a);ne.data(x.focusDate,B),ne.toggleClass(m.disabledCell,!p.helper.isDateInRange(Y,l)),e("").addClass(m.prevIcon).appendTo(ne)}if(o===I-1){var ie=e("").addClass(m.next).appendTo(a);ie.data(x.focusDate,W),ie.toggleClass(m.disabledCell,!p.helper.isDateInRange(X,l)),e("").addClass(m.nextIcon).appendTo(ie)}if(y)for(r=e("
").appendTo(r)).text(h.text.weekNo),a.addClass(m.weekCell),K--),t=0;t").appendTo(r)).text(b.dayColumnHeader((t+h.firstDayOfWeek)%7,h))}var oe=e("
").appendTo(r)).text(p.get.weekOfYear(P,N,t+1-h.firstDayOfWeek)),a.addClass(m.weekCell)),i=0;i").addClass(m.cell).appendTo(r)).text(ae),a.data(x.date,re);var se=y&&re.getMonth()!==(N+12)%12,le=!h.selectAdjacentDays&&se||!p.helper.isDateInRange(re,l)||h.isDisabled(re,l)||p.helper.isDisabled(re,l)||!p.helper.isEnabled(re,l);if(le){var ce=p.helper.findDayAsObject(re,l,h.disabledDates);null!==ce&&ce[x.message]&&(a.attr("data-tooltip",ce[x.message]),a.attr("data-position",z))}else{var ue=p.helper.findDayAsObject(re,l,h.eventDates);null!==ue&&(a.addClass(ue[x.class]||h.eventClass),ue[x.message]&&(a.attr("data-tooltip",ue[x.message]),a.attr("data-position",z)))}var de=p.helper.dateEqual(re,u,l),fe=p.helper.dateEqual(re,c,l);a.toggleClass(m.adjacentCell,se),a.toggleClass(m.disabledCell,le),a.toggleClass(m.activeCell,de&&!se),C||k||a.toggleClass(m.todayCell,!se&&fe);var pe={mode:l,adjacent:se,disabled:le,active:de,today:fe};b.cell(a,re,pe),p.helper.dateEqual(re,d,l)&&p.set.focusDate(re,!1,!1)}if(h.today){var he=e("
").attr("colspan",""+L).addClass(m.today).appendTo(he);me.text(b.today(h)),me.data(x.date,c)}p.update.focus(!1,Q)}}},update:{focus:function(t,n){n=n||E;var i=p.get.mode(),o=p.get.date(),a=p.get.focusDate(),s=p.get.startDate(),l=p.get.endDate(),c=(t?a:null)||o||(r?null:a);n.find("td").each(function(){var t=e(this),n=t.data(x.date);if(n){var o=t.hasClass(m.disabledCell),u=t.hasClass(m.activeCell),d=t.hasClass(m.adjacentCell),f=p.helper.dateEqual(n,a,i),g=!!c&&(!!s&&p.helper.isDateInRange(n,i,s,c)||!!l&&p.helper.isDateInRange(n,i,c,l));t.toggleClass(m.focusCell,f&&(!r||M)&&(!d||h.selectAdjacentDays&&d)&&!o),p.helper.isTodayButton(t)||t.toggleClass(m.rangeCell,g&&!u&&!o)}})}},refresh:function(){p.create.calendar()},bind:{events:function(){p.debug("Binding events"),E.on("mousedown"+k,p.event.mousedown),E.on("touchstart"+k,p.event.mousedown),E.on("mouseup"+k,p.event.mouseup),E.on("touchend"+k,p.event.mouseup),E.on("mouseover"+k,p.event.mouseover),D.length?(D.on("input"+k,p.event.inputChange),D.on("focus"+k,p.event.inputFocus),D.on("blur"+k,p.event.inputBlur),D.on("click"+k,p.event.inputClick),D.on("keydown"+k,p.event.keydown)):E.on("keydown"+k,p.event.keydown)}},unbind:{events:function(){p.debug("Unbinding events"),E.off(k),D.length&&D.off(k)}},event:{mouseover:function(t){var n=e(t.target).data(x.date),i=1===t.buttons;n&&p.set.focusDate(n,!1,!0,i)},mousedown:function(t){D.length&&t.preventDefault(),M=0<=t.type.indexOf("touch");var n=e(t.target).data(x.date);n&&p.set.focusDate(n,!1,!0,!0)},mouseup:function(t){p.focus(),t.preventDefault(),t.stopPropagation(),M=!1;var n=e(t.target);if(!n.hasClass("disabled")){var i=n.parent();(i.data(x.date)||i.data(x.focusDate)||i.data(x.mode))&&(n=i);var o=n.data(x.date),r=n.data(x.focusDate),a=n.data(x.mode);if(o&&!1!==h.onSelect.call(O,o,p.get.mode())){var s=n.hasClass(m.today);p.selectDate(o,s)}else r?p.set.focusDate(r):a&&p.set.mode(a)}},keydown:function(e){var t=e.which;if(27!==t&&9!==t||p.popup("hide"),p.popup("is visible"))if(37===t||38===t||39===t||40===t){var n="day"===(d=p.get.mode())?7:"hour"===d?4:"minute"===d?w.column:3,i=37===t?-1:38===t?-n:39==t?1:n;i*="minute"===d?h.minTimeGap:1;var o=p.get.focusDate()||p.get.date()||new Date,r=o.getFullYear()+("year"===d?i:0),a=o.getMonth()+("month"===d?i:0),s=o.getDate()+("day"===d?i:0),l=o.getHours()+("hour"===d?i:0),c=o.getMinutes()+("minute"===d?i:0),u=new Date(r,a,s,l,c);"time"===h.type&&(u=p.helper.mergeDateTime(o,u)),p.helper.isDateInRange(u,d)&&p.set.focusDate(u)}else if(13===t){var d=p.get.mode(),f=p.get.focusDate();f&&!h.isDisabled(f,d)&&!p.helper.isDisabled(f,d)&&p.helper.isEnabled(f,d)&&p.selectDate(f),e.preventDefault(),e.stopPropagation()}38!==t&&40!==t||(e.preventDefault(),p.popup("show"))},inputChange:function(){var e=D.val(),t=y.date(e,h);p.set.date(t,!1)},inputFocus:function(){E.addClass(m.active)},inputBlur:function(){if(E.removeClass(m.active),h.formatInput){var e=p.get.date(),t=b.datetime(e,h);D.val(t)}},inputClick:function(){p.popup("show")}},get:{weekOfYear:function(e,t,n){var i,o,r;return i=Date.UTC(e,t,n+3)/864e5,o=Math.floor(i/7),r=new Date(6048e5*o).getUTCFullYear(),o-Math.floor(Date.UTC(r,0,7)/6048e5)+1},date:function(){return p.helper.sanitiseDate(S.data(x.date))||null},inputDate:function(){return D.val()},focusDate:function(){return S.data(x.focusDate)||null},startDate:function(){var e=p.get.calendarModule(h.startCalendar);return(e?e.get.date():S.data(x.startDate))||null},endDate:function(){var e=p.get.calendarModule(h.endCalendar);return(e?e.get.date():S.data(x.endDate))||null},minDate:function(){return S.data(x.minDate)||null},maxDate:function(){return S.data(x.maxDate)||null},monthOffset:function(){return S.data(x.monthOffset)||0},mode:function(){var t=S.data(x.mode)||h.startMode,n=p.get.validModes();return 0<=e.inArray(t,n)?t:"time"===h.type?"hour":"month"===h.type?"month":"year"===h.type?"year":"day"},type:function(){return S.data(x.type)||h.type},validModes:function(){var e=[];return"time"!==h.type&&(h.disableYear&&"year"!==h.type||e.push("year"),(h.disableMonth||"year"===h.type)&&"month"!==h.type||e.push("month"),0<=h.type.indexOf("date")&&e.push("day")),0<=h.type.indexOf("time")&&(e.push("hour"),h.disableMinute||e.push("minute")),e},isTouch:function(){try{return n.createEvent("TouchEvent"),!0}catch(e){return!1}},calendarModule:function(t){return t?(t instanceof e||(t=e(t).first()),t.data(T)):null}},set:{date:function(e,t,n){t=!1!==t,n=!1!==n,e=p.helper.sanitiseDate(e),e=p.helper.dateInRange(e);var o=p.get.mode(),r=b.datetime(e,h);if(n&&!1===h.onBeforeChange.call(O,e,r,o))return!1;if(p.set.focusDate(e),h.isDisabled(e,o))return!1;var a=p.get.endDate();a&&e&&a=e?p.verbose("Unable to set maxDate variable lower that minDate variable",e,h.minDate):(p.setting("maxDate",e),p.set.dataKeyValue(x.maxDate,e))},monthOffset:function(e,t){var n=Math.max(h.multiMonth,1);e=Math.max(1-n,Math.min(0,e)),p.set.dataKeyValue(x.monthOffset,e,t)},mode:function(e,t){p.set.dataKeyValue(x.mode,e,t)},dataKeyValue:function(e,t,n){var i=S.data(e),o=i===t||i<=t&&t<=i;return t?S.data(e,t):S.removeData(e),(n=!1!==n&&!o)&&p.refresh(),!o}},selectDate:function(e,t){p.verbose("New date selection",e);var n=p.get.mode();if(t||"minute"===n||h.disableMinute&&"hour"===n||"date"===h.type&&"day"===n||"month"===h.type&&"month"===n||"year"===h.type&&"year"===n){if(!1!==p.set.date(e)&&h.closable){p.popup("hide");var i=p.get.calendarModule(h.endCalendar);i&&(i.popup("show"),i.focus())}}else{var o="year"===n?h.disableMonth?"day":"month":"month"===n?"day":"day"===n?"hour":"minute";p.set.mode(o),"hour"===n||"day"===n&&p.get.date()?p.set.date(e):p.set.focusDate(e)}},changeDate:function(e){p.set.date(e)},clear:function(){p.set.date(i)},popup:function(){return A.popup.apply(A,arguments)},focus:function(){D.length?D.focus():E.focus()},blur:function(){D.length?D.blur():E.blur()},helper:{isDisabled:function(e,t){return"day"===t&&(-1!==h.disabledDaysOfWeek.indexOf(e.getDay())||h.disabledDates.some(function(n){return"string"==typeof n&&(n=p.helper.sanitiseDate(n)),n instanceof Date?p.helper.dateEqual(e,n,t):null!==n&&"object"==typeof n&&n[x.date]?p.helper.dateEqual(e,p.helper.sanitiseDate(n[x.date]),t):void 0}))},isEnabled:function(e,t){return"day"!==t||0===h.enabledDates.length||h.enabledDates.some(function(n){return"string"==typeof n&&(n=p.helper.sanitiseDate(n)),n instanceof Date?p.helper.dateEqual(e,n,t):null!==n&&"object"==typeof n&&n[x.date]?p.helper.dateEqual(e,p.helper.sanitiseDate(n[x.date]),t):void 0})},findDayAsObject:function(e,t,n){if("day"===t)for(var i,o=0,r=n.length;o=n.centuryBreak&&o===x.length-1){r<=99&&(r+=n.currentCentury-100),m=r,x.splice(o,1);break}if(h<0)for(o=0;o adjusting invoked element"),w=w.closest(v.checkbox),p.refresh())}},setup:function(){p.set.initialLoad(),p.is.indeterminate()?(p.debug("Initial value is indeterminate"),p.indeterminate()):p.is.checked()?(p.debug("Initial value is checked"),p.check()):(p.debug("Initial value is unchecked"),p.uncheck()),p.remove.initialLoad()},refresh:function(){C=w.children(v.label),k=w.children(v.input),T=k[0]},hide:{input:function(){p.verbose("Modifying z-index to be unselectable"),k.addClass(m.hidden)}},show:{input:function(){p.verbose("Modifying z-index to be selectable"),k.removeClass(m.hidden)}},observeChanges:function(){"MutationObserver"in t&&((a=new MutationObserver(function(e){p.debug("DOM tree modified, updating selector cache"),p.refresh()})).observe(A,{childList:!0,subtree:!0}),p.debug("Setting up mutation observer",a))},attachEvents:function(t,n){var i=e(t);n=e.isFunction(p[n])?p[n]:p.toggle,0").insertAfter(k),p.debug("Creating label",C))}},has:{label:function(){return 0 .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(t){var n,i=e("
").addClass("ui dimmer");return t.displayLoader&&(n=e("
").addClass(t.className.loader).addClass(t.loaderVariation),t.loaderText&&(n.text(t.loaderText),n.addClass("text")),i.append(n)),i}}}}(jQuery,window,document),function(e,t,n,i){"use strict";e.isFunction=e.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},t=void 0!==t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.dropdown=function(o){var r,a=e(this),s=e(n),l=a.selector||"",c="ontouchstart"in n.documentElement,u=c?"touchstart":"click",d=(new Date).getTime(),f=[],p=o,h="string"==typeof p,m=[].slice.call(arguments,1);return a.each(function(g){var v,b,y,x,w,C,k,T,S,D=e.isPlainObject(o)?e.extend(!0,{},e.fn.dropdown.settings,o):e.extend({},e.fn.dropdown.settings),E=D.className,A=D.message,O=D.fields,F=D.keys,M=D.metadata,P=D.namespace,L=D.regExp,R=D.selector,I=D.error,j=D.templates,z="."+P,N="module-"+P,$=e(this),_=e(D.context),q=$.find(R.text),H=$.find(R.search),V=$.find(R.sizer),U=$.find(R.input),B=$.find(R.icon),W=$.find(R.clearIcon),Y=0<$.prev().find(R.text).length?$.prev().find(R.text):$.prev(),X=$.children(R.menu),G=X.find(R.item),Q=D.hideDividers?G.parent().children(R.divider):e(),K=!1,J=!1,Z=!1,ee=!1,te=this,ne=$.data(N);S={initialize:function(){S.debug("Initializing dropdown",D),S.is.alreadySetup()?S.setup.reference():(D.ignoreDiacritics&&!String.prototype.normalize&&(D.ignoreDiacritics=!1,S.error(I.noNormalize,te)),S.setup.layout(),D.values&&S.change.values(D.values),S.refreshData(),S.save.defaults(),S.restore.selected(),S.create.id(),S.bind.events(),S.observeChanges(),S.instantiate())},instantiate:function(){S.verbose("Storing instance of dropdown",S),ne=S,$.data(N,S)},destroy:function(){S.verbose("Destroying previous dropdown",$),S.remove.tabbable(),S.remove.active(),X.transition("stop all"),X.removeClass(E.visible).addClass(E.hidden),$.off(z).removeData(N),X.off(z),s.off(w),S.disconnect.menuObserver(),S.disconnect.selectObserver()},observeChanges:function(){"MutationObserver"in t&&(k=new MutationObserver(S.event.select.mutation),T=new MutationObserver(S.event.menu.mutation),S.debug("Setting up mutation observer",k,T),S.observe.select(),S.observe.menu())},disconnect:{menuObserver:function(){T&&T.disconnect()},selectObserver:function(){k&&k.disconnect()}},observe:{select:function(){S.has.input()&&k&&k.observe($[0],{childList:!0,subtree:!0})},menu:function(){S.has.menu()&&T&&T.observe(X[0],{childList:!0,subtree:!0})}},create:{id:function(){C=(Math.random().toString(16)+"000000000").substr(2,8),w="."+C,S.verbose("Creating unique id for element",C)},userChoice:function(t){var n,o,r;return!!(t=t||S.get.userValues())&&(t=Array.isArray(t)?t:[t],e.each(t,function(t,a){!1===S.get.item(a)&&(r=D.templates.addition(S.add.variables(A.addResult,a)),o=e("
").html(r).attr("data-"+M.value,a).attr("data-"+M.text,a).addClass(E.addition).addClass(E.item),D.hideAdditions&&o.addClass(E.hidden),n=n===i?o:n.add(o),S.verbose("Creating user choices for value",a,o))}),n)},userLabels:function(t){var n=S.get.userValues();n&&(S.debug("Adding user labels",n),e.each(n,function(e,t){S.verbose("Adding custom user value"),S.add.label(t,t)}))},menu:function(){X=e("
").addClass(E.menu).appendTo($)},sizer:function(){V=e("").addClass(E.sizer).insertAfter(H)}},search:function(e){e=e!==i?e:S.get.query(),S.verbose("Searching for query",e),S.has.minCharacters(e)?S.filter(e):S.hide(null,!0)},select:{firstUnfiltered:function(){S.verbose("Selecting first non-filtered element"),S.remove.selectedItem(),G.not(R.unselectable).not(R.addition+R.hidden).eq(0).addClass(E.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(R.item).not(R.unselectable).eq(0),n=e.prevAll(R.item).not(R.unselectable).eq(0);0").addClass("remove icon").insertBefore(q)),S.is.search()&&!S.has.search()&&(S.verbose("Adding search input"),H=e("").addClass(E.search).prop("autocomplete","off").insertBefore(q)),S.is.multiple()&&S.is.searchSelection()&&!S.has.sizer()&&S.create.sizer(),D.allowTab&&S.set.tabbable()},select:function(){var t=S.get.selectValues();S.debug("Dropdown initialized on a select",t),$.is("select")&&(U=$),0").attr("class",U.attr("class")).addClass(E.selection).addClass(E.dropdown).html(j.dropdown(t,O,D.preserveHTML,D.className)).insertBefore(U),U.hasClass(E.multiple)&&!1===U.prop("multiple")&&(S.error(I.missingMultiple),U.prop("multiple",!0)),U.is("[multiple]")&&S.set.multiple(),U.prop("disabled")&&(S.debug("Disabling dropdown"),$.addClass(E.disabled)),U.removeAttr("required").removeAttr("class").detach().prependTo($)),S.refresh()},menu:function(t){X.html(j.menu(t,O,D.preserveHTML,D.className)),G=X.find(R.item),Q=D.hideDividers?G.parent().children(R.divider):e()},reference:function(){S.debug("Dropdown behavior was called on select, replacing with closest dropdown"),$=$.parent(R.dropdown),ne=$.data(N),te=$.get(0),S.refresh(),S.setup.returnedObject()},returnedObject:function(){var e=a.slice(0,g),t=a.slice(g+1);a=e.add($).add(t)}},refresh:function(){S.refreshSelectors(),S.refreshData()},refreshItems:function(){G=X.find(R.item),Q=D.hideDividers?G.parent().children(R.divider):e()},refreshSelectors:function(){S.verbose("Refreshing selector cache"),q=$.find(R.text),H=$.find(R.search),U=$.find(R.input),B=$.find(R.icon),Y=0<$.prev().find(R.text).length?$.prev().find(R.text):$.prev(),X=$.children(R.menu),G=X.find(R.item),Q=D.hideDividers?G.parent().children(R.divider):e()},refreshData:function(){S.verbose("Refreshing cached metadata"),G.removeData(M.text).removeData(M.value)},clearData:function(){S.verbose("Clearing metadata"),G.removeData(M.text).removeData(M.value),$.removeData(M.defaultText).removeData(M.defaultValue).removeData(M.placeholderText)},toggle:function(){S.verbose("Toggling menu visibility"),S.is.active()?S.hide():S.show()},show:function(t,n){if(t=e.isFunction(t)?t:function(){},!S.can.show()&&S.is.remote()&&(S.debug("No API results retrieved, searching before show"),S.queryRemote(S.get.query(),S.show)),S.can.show()&&!S.is.active()){if(S.debug("Showing dropdown"),!S.has.message()||S.has.maxSelections()||S.has.allResultsFiltered()||S.remove.message(),S.is.allFiltered())return!0;!1!==D.onShow.call(te)&&S.animate.show(function(){S.can.click()&&S.bind.intent(),S.has.search()&&!n&&S.focusSearch(),S.set.visible(),t.call(te)})}},hide:function(t,n){t=e.isFunction(t)?t:function(){},S.is.active()&&!S.is.animatingOutward()?(S.debug("Hiding dropdown"),!1!==D.onHide.call(te)&&S.animate.hide(function(){S.remove.visible(),S.is.focusedOnSearch()&&!0!==n&&H.blur(),t.call(te)})):S.can.click()&&S.unbind.intent()},hideOthers:function(){S.verbose("Finding other dropdowns to hide"),a.not($).has(R.menu+"."+E.visible).dropdown("hide")},hideMenu:function(){S.verbose("Hiding menu instantaneously"),S.remove.active(),S.remove.visible(),X.transition("hide")},hideSubMenus:function(){var e=X.children(R.item).find(R.menu);S.verbose("Hiding sub menus",e),e.transition("hide")},bind:{events:function(){S.bind.keyboardEvents(),S.bind.inputEvents(),S.bind.mouseEvents()},keyboardEvents:function(){S.verbose("Binding keyboard events"),$.on("keydown"+z,S.event.keydown),S.has.search()&&$.on(S.get.inputEvent()+z,R.search,S.event.input),S.is.multiple()&&s.on("keydown"+w,S.event.document.keydown)},inputEvents:function(){S.verbose("Binding input change events"),$.on("change"+z,R.input,S.event.change)},mouseEvents:function(){S.verbose("Binding mouse events"),S.is.multiple()&&$.on(u+z,R.label,S.event.label.click).on(u+z,R.remove,S.event.remove.click),S.is.searchSelection()?($.on("mousedown"+z,S.event.mousedown).on("mouseup"+z,S.event.mouseup).on("mousedown"+z,R.menu,S.event.menu.mousedown).on("mouseup"+z,R.menu,S.event.menu.mouseup).on(u+z,R.icon,S.event.icon.click).on(u+z,R.clearIcon,S.event.clearIcon.click).on("focus"+z,R.search,S.event.search.focus).on(u+z,R.search,S.event.search.focus).on("blur"+z,R.search,S.event.search.blur).on(u+z,R.text,S.event.text.focus),S.is.multiple()&&$.on(u+z,S.event.click)):("click"==D.on?$.on(u+z,R.icon,S.event.icon.click).on(u+z,S.event.test.toggle):"hover"==D.on?$.on("mouseenter"+z,S.delay.show).on("mouseleave"+z,S.delay.hide):$.on(D.on+z,S.toggle),$.on("mousedown"+z,S.event.mousedown).on("mouseup"+z,S.event.mouseup).on("focus"+z,S.event.focus).on(u+z,R.clearIcon,S.event.clearIcon.click),S.has.menuSearch()?$.on("blur"+z,R.search,S.event.search.blur):$.on("blur"+z,S.event.blur)),X.on((c?"touchstart":"mouseenter")+z,R.item,S.event.item.mouseenter).on("mouseleave"+z,R.item,S.event.item.mouseleave).on("click"+z,R.item,S.event.item.click)},intent:function(){S.verbose("Binding hide intent event to document"),c&&s.on("touchstart"+w,S.event.test.touch).on("touchmove"+w,S.event.test.touch),s.on(u+w,S.event.test.hide)}},unbind:{intent:function(){S.verbose("Removing hide intent event from document"),c&&s.off("touchstart"+w).off("touchmove"+w),s.off(u+w)}},filter:function(t){function n(){S.is.multiple()&&S.filterActive(),(t||!t&&0==S.get.activeItem().length)&&S.select.firstUnfiltered(),S.has.allResultsFiltered()?D.onNoResults.call(te,o)?D.allowAdditions?D.hideAdditions&&(S.verbose("User addition with no menu, setting empty style"),S.set.empty(),S.hideMenu()):(S.verbose("All items filtered, showing message",o),S.add.message(A.noResults)):(S.verbose("All items filtered, hiding dropdown",o),S.hideMenu()):(S.remove.empty(),S.remove.message()),D.allowAdditions&&S.add.userSuggestion(S.escape.htmlEntities(t)),S.is.searchSelection()&&S.can.show()&&S.is.focusedOnSearch()&&S.show()}var o=t!==i?t:S.get.query();D.useLabels&&S.has.maxSelections()||(D.apiSettings?S.can.useAPI()?S.queryRemote(o,function(){D.filterRemoteData&&S.filterItems(o);var t=U.val();Array.isArray(t)||(t=t&&""!==t?t.split(D.delimiter):[]),e.each(t,function(e,t){G.filter('[data-value="'+t+'"]').addClass(E.filtered)}),n()}):S.error(I.noAPI):(S.filterItems(o),n()))},queryRemote:function(t,n){var i={errorDuration:!1,cache:"local",throttle:D.throttle,urlData:{query:t},onError:function(){S.add.message(A.serverError),n()},onFailure:function(){S.add.message(A.serverError),n()},onSuccess:function(e){var t=e[O.remoteValues];Array.isArray(t)||(t=[]),S.remove.message(),S.setup.menu({values:t}),0!==t.length||D.allowAdditions||S.add.message(A.noResults),n()}};$.api("get request")||S.setup.api(),i=e.extend(!0,{},i,D.apiSettings),$.api("setting",i).api("query")},filterItems:function(t){var n=S.remove.diacritics(t!==i?t:S.get.query()),o=null,r=S.escape.string(n),a=(D.ignoreSearchCase?"i":"")+"gm",s=new RegExp("^"+r,a);S.has.query()&&(o=[],S.verbose("Searching for matching values",n),G.each(function(){var t,i,r=e(this);if(r.hasClass(E.unfilterable))return o.push(this),!0;if("both"===D.match||"text"===D.match){if(-1!==(t=S.remove.diacritics(String(S.get.choiceText(r,!1)))).search(s))return o.push(this),!0;if("exact"===D.fullTextSearch&&S.exactSearch(n,t))return o.push(this),!0;if(!0===D.fullTextSearch&&S.fuzzySearch(n,t))return o.push(this),!0}if("both"===D.match||"value"===D.match){if(-1!==(i=S.remove.diacritics(String(S.get.choiceValue(r,t)))).search(s))return o.push(this),!0;if("exact"===D.fullTextSearch&&S.exactSearch(n,i))return o.push(this),!0;if(!0===D.fullTextSearch&&S.fuzzySearch(n,i))return o.push(this),!0}})),S.debug("Showing only matched items",n),S.remove.filteredItem(),o&&G.not(o).addClass(E.filtered),S.has.query()?!0===D.hideDividers?Q.addClass(E.hidden):"empty"===D.hideDividers&&Q.removeClass(E.hidden).filter(function(){var t=e(this).nextUntil(R.item);return 0===(t.length?t:e(this)).nextUntil(R.divider).filter(R.item+":not(."+E.filtered+")").length}).addClass(E.hidden):Q.removeClass(E.hidden)},fuzzySearch:function(e,t){var n=t.length,i=e.length;if(e=D.ignoreSearchCase?e.toLowerCase():e,t=D.ignoreSearchCase?t.toLowerCase():t,n"),e.each(t,function(e,t){var n=D.templates.deQuote(t[O.value]),i=D.templates.escape(t[O.name]||"",D.preserveHTML);U.append('")}),S.observe.select())}},event:{change:function(){Z||(S.debug("Input changed, updating selection"),S.set.selected())},focus:function(){D.showOnFocus&&!K&&S.is.hidden()&&!y&&S.show()},blur:function(e){y=n.activeElement===this,K||y||(S.remove.activeLabel(),S.hide())},mousedown:function(){S.is.searchSelection()?x=!0:K=!0},mouseup:function(){S.is.searchSelection()?x=!1:K=!1},click:function(t){e(t.target).is($)&&(S.is.focusedOnSearch()?S.show():S.focusSearch())},search:{focus:function(e){K=!0,S.is.multiple()&&S.remove.activeLabel(),(D.showOnFocus||"focus"!==e.type&&"focusin"!==e.type)&&S.search()},blur:function(e){y=n.activeElement===this,S.is.searchSelection()&&!x&&(J||y||(D.forceSelection?S.forceSelection():D.allowAdditions||S.remove.searchTerm(),S.hide())),x=!1}},clearIcon:{click:function(e){S.clear(),S.is.searchSelection()&&S.remove.searchTerm(),S.hide(),e.stopPropagation()}},icon:{click:function(e){ee=!0,S.has.search()?S.is.active()?S.blurSearch():D.showOnFocus?S.focusSearch():S.toggle():S.toggle()}},text:{focus:function(e){K=!0,S.focusSearch()}},input:function(e){(S.is.multiple()||S.is.searchSelection())&&S.set.filtered(),clearTimeout(S.timer),S.timer=setTimeout(S.search,D.delay.search)},label:{click:function(t){var n=e(this),i=$.find(R.label),o=i.filter("."+E.active),r=n.nextAll("."+E.active),a=n.prevAll("."+E.active),s=0 modified, recreating menu"),S.is.selectMutation(e)&&(S.disconnect.selectObserver(),S.refresh(),S.setup.select(),S.set.selected(),S.observe.select())}},menu:{mutation:function(t){var n=t[0],i=n.addedNodes?e(n.addedNodes[0]):e(!1),o=n.removedNodes?e(n.removedNodes[0]):e(!1),r=i.add(o),a=r.is(R.addition)||0=D.maxSelections?(S.debug("Maximum selection count reached"),D.useLabels&&(G.addClass(E.filtered),S.add.message(A.maxSelections)),!0):(S.verbose("No longer at maximum selection count"),S.remove.message(),S.remove.filteredItem(),S.is.searchSelection()&&S.filterItems(),!1))}},restore:{defaults:function(e){S.clear(e),S.restore.defaultText(),S.restore.defaultValue()},defaultText:function(){var e=S.get.defaultText();e===S.get.placeholderText?(S.debug("Restoring default placeholder text",e),S.set.placeholderText(e)):(S.debug("Restoring default text",e),S.set.text(e))},placeholderText:function(){S.set.placeholderText()},defaultValue:function(){var e=S.get.defaultValue();e!==i&&(S.debug("Restoring default value",e),""!==e?(S.set.value(e),S.set.selected()):(S.remove.activeItem(),S.remove.selectedItem()))},labels:function(){D.allowAdditions&&(D.useLabels||(S.error(I.labels),D.useLabels=!0),S.debug("Restoring selected values"),S.create.userLabels()),S.check.maxSelections()},selected:function(){S.restore.values(),S.is.multiple()?(S.debug("Restoring previously selected values and labels"),S.restore.labels()):S.debug("Restoring previously selected values")},values:function(){S.set.initialLoad(),D.apiSettings&&D.saveRemoteData&&S.get.remoteValues()?S.restore.remoteValues():S.set.selected();var e=S.get.value();!e||""===e||Array.isArray(e)&&0===e.length?U.addClass(E.noselection):U.removeClass(E.noselection),S.remove.initialLoad()},remoteValues:function(){var t=S.get.remoteValues();S.debug("Recreating selected from session data",t),t&&(S.is.single()?e.each(t,function(e,t){S.set.text(t)}):e.each(t,function(e,t){S.add.label(e,t)}))}},read:{remoteData:function(e){var n;if(t.Storage!==i)return(n=sessionStorage.getItem(e))!==i&&n;S.error(I.noStorage)}},save:{defaults:function(){S.save.defaultText(),S.save.placeholderText(),S.save.defaultValue()},defaultValue:function(){var e=S.get.value();S.verbose("Saving default value as",e),$.data(M.defaultValue,e)},defaultText:function(){var e=S.get.text();S.verbose("Saving default text as",e),$.data(M.defaultText,e)},placeholderText:function(){var e;!1!==D.placeholder&&q.hasClass(E.placeholder)&&(e=S.get.text(),S.verbose("Saving placeholder text as",e),$.data(M.placeholderText,e))},remoteData:function(e,n){t.Storage!==i?(S.verbose("Saving remote data to session storage",n,e),sessionStorage.setItem(n,e)):S.error(I.noStorage)}},clear:function(e){S.is.multiple()&&D.useLabels?S.remove.labels():(S.remove.activeItem(),S.remove.selectedItem(),S.remove.filteredItem()),S.set.placeholderText(),S.clearValue(e)},clearValue:function(e){S.set.value("",null,null,e)},scrollPage:function(e,t){var n,i,o=t||S.get.selectedItem(),r=o.closest(R.menu),a=r.outerHeight(),s=r.scrollTop(),l=G.eq(0).outerHeight(),c=Math.floor(a/l),u=(r.prop("scrollHeight"),"up"==e?s-l*c:s+l*c),d=G.not(R.unselectable);i="up"==e?d.index(o)-c:d.index(o)+c,0<(n=("up"==e?0<=i:i").addClass(E.label).attr("data-"+M.value,a).html(j.label(a,n,D.preserveHTML,D.className)),o=D.onLabelCreate.call(o,a,n),S.has.label(t)?S.debug("User selection already exists, skipping",a):(D.label.variation&&o.addClass(D.label.variation),!0===i?(S.debug("Animating in label",o),o.addClass(E.hidden).insertBefore(r).transition({animation:D.label.transition,debug:D.debug,verbose:D.verbose,duration:D.label.duration})):(S.debug("Adding selection label",o),o.insertBefore(r)))},message:function(t){var n=X.children(R.message),i=D.templates.message(S.add.variables(t));0").html(i).addClass(E.message).appendTo(X)},optionValue:function(t){var n=S.escape.value(t);0").prop("value",n).addClass(E.addition).html(t).appendTo(U),S.verbose("Adding user addition as an