/** * Bootstrap Italia è un tema Bootstrap 4 per la creazione di applicazioni web nel pieno rispetto delle Linee guida di design per i servizi web della PA * @version v1.0.0 * @link https://italia.github.io/bootstrap-italia/ * @license BSD-3-Clause */ function _defineProperties(t,e){for(var i=0;iCAPS LOCK inserito')}!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(C,t){"use strict";var e=[],k=C.document,n=Object.getPrototypeOf,a=e.slice,m=e.concat,l=e.push,s=e.indexOf,i={},r=i.toString,g=i.hasOwnProperty,o=g.toString,c=o.call(Object),v={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},h={type:!0,src:!0,noModule:!0};function w(t,e,i){var n,s=(e=e||k).createElement("script");if(s.text=t,i)for(n in h)i[n]&&(s[n]=i[n]);e.head.appendChild(s).parentNode.removeChild(s)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[r.call(t)]||"object":typeof t}var d="3.3.1",E=function t(e,i){return new t.fn.init(e,i)},u=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function p(t){var e=!!t&&"length"in t&&t.length,i=_(t);return!y(t)&&!b(t)&&("array"===i||0===e||"number"==typeof e&&0+~]|"+P+")"+P+"*"),q=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),Y=new RegExp(R),U=new RegExp("^"+j+"$"),K={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),tt=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},nt=function(){x()},st=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{O.apply(e=L.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){O={apply:e.length?function(t,e){A.apply(t,L.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function rt(t,e,i,n){var s,r,o,a,l,c,h,d=e&&e.ownerDocument,u=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==u&&9!==u&&11!==u)return i;if(!n&&((e?e.ownerDocument||e:y)!==C&&x(e),e=e||C,k)){if(11!==u&&(l=X.exec(t)))if(s=l[1]){if(9===u){if(!(o=e.getElementById(s)))return i;if(o.id===s)return i.push(o),i}else if(d&&(o=d.getElementById(s))&&v(e,o)&&o.id===s)return i.push(o),i}else{if(l[2])return O.apply(i,e.getElementsByTagName(t)),i;if((s=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return O.apply(i,e.getElementsByClassName(s)),i}if(p.qsa&&!D[t+" "]&&(!g||!g.test(t))){if(1!==u)d=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(et,it):e.setAttribute("id",a=E),r=(c=f(t)).length;r--;)c[r]="#"+a+" "+vt(c[r]);h=c.join(","),d=Z.test(t)&&mt(e.parentNode)||e}if(h)try{return O.apply(i,d.querySelectorAll(h)),i}catch(t){}finally{a===E&&e.removeAttribute("id")}}}return m(t.replace(z,"$1"),e,i,n)}function ot(){var n=[];return function t(e,i){return n.push(e+" ")>w.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function at(t){return t[E]=!0,t}function lt(t){var e=C.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function ht(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function dt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function pt(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&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(o){return at(function(r){return r=+r,at(function(t,e){for(var i,n=o([],t.length,r),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=rt.support={},s=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},x=rt.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:y;return n!==C&&9===n.nodeType&&n.documentElement&&(o=(C=n).documentElement,k=!s(C),y!==C&&(i=C.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",nt,!1):i.attachEvent&&i.attachEvent("onunload",nt)),p.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=lt(function(t){return t.appendChild(C.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=Q.test(C.getElementsByClassName),p.getById=lt(function(t){return o.appendChild(t).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),p.getById?(w.filter.ID=function(t){var e=t.replace(J,tt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i=e.getElementById(t);return i?[i]:[]}}):(w.filter.ID=function(t){var i=t.replace(J,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===i}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var i,n,s,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(s=e.getElementsByName(t),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),w.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;i=r[s++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},a=[],g=[],(p.qsa=Q.test(C.querySelectorAll))&&(lt(function(t){o.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+M+")"),t.querySelectorAll("[id~="+E+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+E+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=C.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=Q.test(h=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&<(function(t){p.disconnectedMatch=h.call(t,"*"),h.call(t,"[s!='']:x"),a.push("!=",R)}),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),e=Q.test(o.compareDocumentPosition),v=e||Q.test(o.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=e?function(t,e){if(t===e)return c=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===i?t===C||t.ownerDocument===y&&v(y,t)?-1:e===C||e.ownerDocument===y&&v(y,e)?1:l?N(l,t)-N(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,o=[t],a=[e];if(!s||!r)return t===C?-1:e===C?1:s?-1:r?1:l?N(l,t)-N(l,e):0;if(s===r)return ht(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;o[n]===a[n];)n++;return n?ht(o[n],a[n]):o[n]===y?-1:a[n]===y?1:0}),C},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&x(t),e=e.replace(q,"='$1']"),p.matchesSelector&&k&&!D[e+" "]&&(!a||!a.test(e))&&(!g||!g.test(e)))try{var i=h.call(t,e);if(i||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(J,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(J,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&Y.test(i)&&(e=f(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(J,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=u[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&u(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=rt.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,i,n){return y(i)?E.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?E.grep(t,function(t){return t===i!==n}):"string"!=typeof i?E.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,i){var n,s;if(!t)return this;if(i=i||A,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(E):E.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:O.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),I.test(n[1])&&E.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(s=k.getElementById(n[2]))&&(this[0]=s,this.length=1),this}).prototype=E.fn,A=E(k);var L=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function M(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]+)/i,dt=/^$|^module$|\/(?:java|ecma)script/i,ut={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function pt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?E.merge([t],i):i}function ft(t,e){for(var i=0,n=t.length;ix",v.noCloneChecked=!!mt.cloneNode(!0).lastChild.defaultValue;var bt=k.documentElement,wt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function Et(){try{return k.activeElement}catch(t){}}function $t(t,e,i,n,s,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)$t(t,a,i,n,e[a],r);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=kt;else if(!s)return t;return 1===r&&(o=s,(s=function(t){return E().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=E.guid++)),t.each(function(){E.event.add(this,e,s,n,i)})}E.event={global:{},add:function(e,t,i,n,s){var r,o,a,l,c,h,d,u,p,f,m,g=Q.get(e);if(g)for(i.handler&&(i=(r=i).handler,s=r.selector),s&&E.find.matchesSelector(bt,s),i.guid||(i.guid=E.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(P)||[""]).length;c--;)p=m=(a=xt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(d=E.event.special[p]||{},p=(s?d.delegateType:d.bindType)||p,d=E.event.special[p]||{},h=E.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&E.expr.match.needsContext.test(s),namespace:f.join(".")},r),(u=l[p])||((u=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,h),h.handler.guid||(h.handler.guid=i.guid)),s?u.splice(u.delegateCount++,0,h):u.push(h),E.event.global[p]=!0)},remove:function(t,e,i,n,s){var r,o,a,l,c,h,d,u,p,f,m,g=Q.hasData(t)&&Q.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(P)||[""]).length;c--;)if(p=m=(a=xt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=E.event.special[p]||{},u=l[p=(n?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=u.length;r--;)h=u[r],!s&&m!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(u.splice(r,1),h.selector&&u.delegateCount--,d.remove&&d.remove.call(t,h));o&&!u.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||E.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)E.event.remove(t,p+e[c],i,n,!0);E.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,r,o,a=E.event.fix(t),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[a.type]||[],h=E.event.special[a.type]||{};for(l[0]=a,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,Tt=/\s*$/g;function At(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Nt(t,e){var i,n,s,r,o,a,l,c;if(1===e.nodeType){if(Q.hasData(t)&&(r=Q.access(t),o=Q.set(e,r),c=r.events))for(s in delete o.handle,o.events={},c)for(i=0,n=c[s].length;i")},clone:function(t,e,i){var n,s,r,o,a,l,c,h=t.cloneNode(!0),d=E.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(o=pt(h),n=0,s=(r=pt(t)).length;n").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}});var We,qe=[],Ye=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||E.expando+"_"+_e++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,o=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Ye,"$1"+n):!1!==t.jsonp&&(t.url+=(xe.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||E.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=C[n],C[n]=function(){r=arguments},i.always(function(){void 0===s?E(C).removeProp(n):C[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,qe.push(n)),r&&y(s)&&s(r[0]),r=s=void 0}),"script"}),v.createHTMLDocument=((We=k.implementation.createHTMLDocument("").body).innerHTML="
",2===We.childNodes.length),E.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(v.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),r=!i&&[],(s=I.exec(t))?[e.createElement(s[1])]:(s=yt([t],e,r),r&&r.length&&E(r).remove(),E.merge([],s.childNodes)));var n,s,r},E.fn.load=function(t,e,i){var n,s,r,o=this,a=t.indexOf(" ");return-1").append(E.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){E.fn[e]=function(t){return this.on(e,t)}}),E.expr.pseudos.animated=function(e){return E.grep(E.timers,function(t){return e===t.elem}).length},E.offset={setOffset:function(t,e,i){var n,s,r,o,a,l,c=E.css(t,"position"),h=E(t),d={};"static"===c&&(t.style.position="relative"),a=h.offset(),r=E.css(t,"top"),l=E.css(t,"left"),s=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(o=(n=h.position()).top,n.left):(o=parseFloat(r)||0,parseFloat(l)||0),y(e)&&(e=e.call(t,i,E.extend({},a))),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+s),"using"in e?e.using.call(t,d):h.css(d)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){E.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],s={top:0,left:0};if("fixed"===E.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((s=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),s.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-E.css(n,"marginTop",!0),left:e.left-s.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||bt})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;E.fn[e]=function(t){return W(this,function(t,e,i){var n;if(b(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[s]:t[e];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),E.each(["top","left"],function(t,i){E.cssHooks[i]=zt(v.pixelPosition,function(t,e){if(e)return e=Bt(t,i),jt.test(e)?E(t).position()[i]+"px":e})}),E.each({Height:"height",Width:"width"},function(o,a){E.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,r){E.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return W(this,function(t,e,i){var n;return b(t)?0===r.indexOf("outer")?t["inner"+o]:t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?E.css(t,e,s):E.style(t,e,i,s)},a,i?t:void 0,i)}})}),E.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(t,i){E.fn[i]=function(t,e){return 0=n.clientWidth&&i>=n.clientHeight}),h=0l[t]&&!n.escapeWithReference&&(i=Math.min(h[e],l[t]-("right"===t?h.width:h.height))),_({},e,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=O({},h,d[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,s=t.placement.split("-")[0],r=Math.floor,o=-1!==["top","bottom"].indexOf(s),a=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return i[a]r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!F(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],r=t.offsets,o=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(s),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",p=l?"bottom":"right",f=$(n)[c];a[p]-fo[p]&&(t.offsets.popper[d]+=a[d]+f-o[p]),t.offsets.popper=x(t.offsets.popper);var m=a[d]+a[c]/2-f/2,g=w(t.instance.popper),v=parseFloat(g["margin"+h],10),y=parseFloat(g["border"+h+"Width"],10),b=m-t.offsets.popper[d]-v-y;return b=Math.max(Math.min(o[c]-f,b),0),t.arrowElement=n,t.offsets.arrow=(_(i={},d,Math.round(b)),_(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,m){if(S(f.instance.modifiers,"inner"))return f;if(f.flipped&&f.placement===f.originalPlacement)return f;var g=u(f.instance.popper,f.instance.reference,m.padding,m.boundariesElement,f.positionFixed),v=f.placement.split("-")[0],y=D(v),b=f.placement.split("-")[1]||"",w=[];switch(m.behavior){case U:w=[v,y];break;case K:w=Y(v);break;case V:w=Y(v,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(v!==t||w.length===e+1)return f;v=f.placement.split("-")[0],y=D(v);var i,n=f.offsets.popper,s=f.offsets.reference,r=Math.floor,o="left"===v&&r(n.right)>r(s.left)||"right"===v&&r(n.left)r(s.top)||"bottom"===v&&r(n.top)r(g.right),c=r(n.top)r(g.bottom),d="left"===v&&a||"right"===v&&l||"top"===v&&c||"bottom"===v&&h,u=-1!==["top","bottom"].indexOf(v),p=!!m.flipVariations&&(u&&"start"===b&&a||u&&"end"===b&&l||!u&&"start"===b&&c||!u&&"end"===b&&h);(o||d||p)&&(f.flipped=!0,(o||d)&&(v=w[e+1]),p&&(b="end"===(i=b)?"start":"start"===i?"end":i),f.placement=v+(b?"-"+b:""),f.offsets.popper=O({},f.offsets.popper,T(f.instance.popper,f.offsets.reference,f.placement)),f=I(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,s=n.popper,r=n.reference,o=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return s[o?"left":"top"]=r[i]-(a?s[o?"width":"height"]:0),t.placement=D(e),t.offsets.popper=x(s),t}},hide:{order:800,enabled:!0,fn:function(t){if(!F(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomi.right||e.top>i.bottom||e.rightthis._items.length-1||t<0))if(this._isSliding)f(this._element).one(q.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=idocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},$e="show",De="out",Te={HIDE:"hide"+be,HIDDEN:"hidden"+be,SHOW:"show"+be,SHOWN:"shown"+be,INSERTED:"inserted"+be,CLICK:"click"+be,FOCUSIN:"focusin"+be,FOCUSOUT:"focusout"+be,MOUSEENTER:"mouseenter"+be,MOUSELEAVE:"mouseleave"+be},Ie="fade",Se="show",Ae=".tooltip-inner",Oe=".arrow",Le="hover",Ne="focus",Me="click",Pe="manual",je=function(){function n(t,e){if(void 0===d)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=n.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=f(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(f(this.getTipElement()).hasClass(Se))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),f.removeData(this.element,this.constructor.DATA_KEY),f(this.element).off(this.constructor.EVENT_KEY),f(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&f(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===f(this.element).css("display"))throw new Error("Please use show on visible elements");var t=f.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){f(this.element).trigger(t);var i=m.findShadowRoot(this.element),n=f.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var s=this.getTipElement(),r=m.getUID(this.constructor.NAME);s.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&f(s).addClass(Ie);var o="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,a=this._getAttachment(o);this.addAttachmentClass(a);var l=this._getContainer();f(s).data(this.constructor.DATA_KEY,this),f.contains(this.element.ownerDocument.documentElement,this.tip)||f(s).appendTo(l),f(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,s,{placement:a,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Oe},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),f(s).addClass(Se),"ontouchstart"in document.documentElement&&f(document.body).children().on("mouseover",null,f.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,f(e.element).trigger(e.constructor.Event.SHOWN),t===De&&e._leave(null,e)};if(f(this.tip).hasClass(Ie)){var h=m.getTransitionDurationFromElement(this.tip);f(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){var e=this,i=this.getTipElement(),n=f.Event(this.constructor.Event.HIDE),s=function(){e._hoverState!==$e&&i.parentNode&&i.parentNode.removeChild(i),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),f(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(f(this.element).trigger(n),!n.isDefaultPrevented()){if(f(i).removeClass(Se),"ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),this._activeTrigger[Me]=!1,this._activeTrigger[Ne]=!1,this._activeTrigger[Le]=!1,f(this.tip).hasClass(Ie)){var r=m.getTransitionDurationFromElement(i);f(i).one(m.TRANSITION_END,s).emulateTransitionEnd(r)}else s();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){f(this.getTipElement()).addClass(_e+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(f(t.querySelectorAll(Ae)),this.getTitle()),f(t).removeClass(Ie+" "+Se)},t.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?f(e).parent().is(t)||t.empty().append(e):t.text(f(e).text()):t[i?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?f(this.config.container):f(document).find(this.config.container)},t._getAttachment=function(t){return ke[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)f(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==Pe){var e=t===Le?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Le?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;f(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}}),f(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Ne:Le]=!0),f(e.getTipElement()).hasClass(Se)||e._hoverState===$e?e._hoverState=$e:(clearTimeout(e._timeout),e._hoverState=$e,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===$e&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Ne:Le]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=De,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===De&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=l({},this.constructor.Default,f(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(ve,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(xe);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(f(t).removeClass(Ie),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},n._jQueryInterface=function(i){return this.each(function(){var t=f(this).data(ye),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),f(this).data(ye,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(n,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Ee}},{key:"NAME",get:function(){return ve}},{key:"DATA_KEY",get:function(){return ye}},{key:"Event",get:function(){return Te}},{key:"EVENT_KEY",get:function(){return be}},{key:"DefaultType",get:function(){return Ce}}]),n}();f.fn[ve]=je._jQueryInterface,f.fn[ve].Constructor=je,f.fn[ve].noConflict=function(){return f.fn[ve]=we,je._jQueryInterface};var He="popover",Re="bs.popover",Be="."+Re,ze=f.fn[He],Fe="bs-popover",We=new RegExp("(^|\\s)"+Fe+"\\S+","g"),qe=l({},je.Default,{placement:"right",trigger:"click",content:"",template:''}),Ye=l({},je.DefaultType,{content:"(string|element|function)"}),Ue="fade",Ke="show",Ve=".popover-header",Ge=".popover-body",Qe={HIDE:"hide"+Be,HIDDEN:"hidden"+Be,SHOW:"show"+Be,SHOWN:"shown"+Be,INSERTED:"inserted"+Be,CLICK:"click"+Be,FOCUSIN:"focusin"+Be,FOCUSOUT:"focusout"+Be,MOUSEENTER:"mouseenter"+Be,MOUSELEAVE:"mouseleave"+Be},Xe=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){f(this.getTipElement()).addClass(Fe+"-"+t)},s.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},s.setContent=function(){var t=f(this.getTipElement());this.setElementContent(t.find(Ve),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Ge),e),t.removeClass(Ue+" "+Ke)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(We);null!==e&&0=this._offsets[s]&&(void 0===this._offsets[s+1]||t]+>/g,"")),n&&(l=m(l)),l=l.toUpperCase(),r="contains"===i?0<=l.indexOf(e):l.startsWith(e)))break}return r}function I(t){return parseInt(t,10)||0}U.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(s?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function h(t){return o[t]}function m(t){return(t=t.toString())&&t.replace(a,h).replace(l,"")}var d=function(e){var i=function(t){return e[t]},t="(?:"+Object.keys(e).join("|")+")",n=RegExp(t),s=RegExp(t,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(s,i):t}},K=d({"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}),g=d({"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"}),k={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},D=27,T=13,S=32,A=9,O=38,L=40,V={success:!1,major:"3"};try{V.full=(U.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),V.major=V.full[0],V.success=!0}catch(t){console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",t)}var u=0,N=".bs.select",G={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title"},M={MENU:"."+G.MENU};"4"===V.major&&(G.DIVIDER="dropdown-divider",G.SHOW="show",G.BUTTONCLASS="btn-light",G.POPOVERHEADER="popover-header");var P=new RegExp(O+"|"+L),j=new RegExp("^"+A+"$|"+D),p=function t(e,i){var n=this;r.useDefault||(U.valHooks.select.set=r._set,r.useDefault=!0),this.$element=U(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{map:{newIndex:{},originalIndex:{}}},current:{map:{}},search:{map:{}},view:{},keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){n.selectpicker.keydown.keyHistory=""},800)}}}},null===this.options.title&&(this.options.title=this.$element.attr("title"));var s=this.options.windowPadding;"number"==typeof s&&(this.options.windowPadding=[s,s,s,s]),this.val=t.prototype.val,this.render=t.prototype.render,this.refresh=t.prototype.refresh,this.setStyle=t.prototype.setStyle,this.selectAll=t.prototype.selectAll,this.deselectAll=t.prototype.deselectAll,this.destroy=t.prototype.destroy,this.remove=t.prototype.remove,this.show=t.prototype.show,this.hide=t.prototype.hide,this.init()};function f(t){var r,o=arguments,a=t;if([].shift.apply(o),!V.success){try{V.full=(U.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(t){V.full=p.BootstrapVersion.split(" ")[0].split(".")}V.major=V.full[0],V.success=!0,"4"===V.major&&(G.DIVIDER="dropdown-divider",G.SHOW="show",G.BUTTONCLASS="btn-light",p.DEFAULTS.style=G.BUTTONCLASS="btn-light",G.POPOVERHEADER="popover-header")}var e=this.each(function(){var t=U(this);if(t.is("select")){var e=t.data("selectpicker"),i="object"==typeof a&&a;if(e){if(i)for(var n in i)i.hasOwnProperty(n)&&(e.options[n]=i[n])}else{var s=U.extend({},p.DEFAULTS,U.fn.selectpicker.defaults||{},t.data(),i);s.template=U.extend({},p.DEFAULTS.template,U.fn.selectpicker.defaults?U.fn.selectpicker.defaults.template:{},t.data().template,i.template),t.data("selectpicker",e=new p(this,s))}"string"==typeof a&&(r=e[a]instanceof Function?e[a].apply(e,o):e.options[a])}});return void 0!==r?r:e}p.VERSION="1.13.5",p.BootstrapVersion=V.major,p.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:G.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:''},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1},"4"===V.major&&(p.DEFAULTS.style="btn-light",p.DEFAULTS.iconBase="",p.DEFAULTS.tickIcon="bs-ok-default"),p.prototype={constructor:p,init:function(){var i=this,t=this.$element.attr("id");this.selectId=u++,this.$element.addClass("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createDropdown(),this.createLi(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(M.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu.addClass(G.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+N,function(){if(i.isVirtual()){var t=i.$menuInner[0],e=t.firstChild.cloneNode(!1);t.replaceChild(e,t.firstChild),t.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){i.$menuInner.attr("aria-expanded",!1),i.$element.trigger("hide"+N,t)},"hidden.bs.dropdown":function(t){i.$element.trigger("hidden"+N,t)},"show.bs.dropdown":function(t){i.$menuInner.attr("aria-expanded",!0),i.$element.trigger("show"+N,t)},"shown.bs.dropdown":function(t){i.$element.trigger("shown"+N,t)}}),i.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){i.$button.addClass("bs-invalid"),i.$element.on("shown"+N+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+N+".invalid")}).on("rendered"+N,function(){this.validity.valid&&i.$button.removeClass("bs-invalid"),i.$element.off("rendered"+N)}),i.$button.on("blur"+N,function(){i.$element.focus().blur(),i.$button.off("blur"+N)})}),setTimeout(function(){i.$element.trigger("loaded"+N)})},createDropdown:function(){var t,e=this.multiple||this.options.showTick?" show-tick":"",i=this.autofocus?" autofocus":"",n="",s="",r="",o="";return this.options.header&&(n='
'+this.options.header+"
"),this.options.liveSearch&&(s=''),this.multiple&&this.options.actionsBox&&(r='
"),this.multiple&&this.options.doneButton&&(o='
"),t='",U(t)},setPositionData:function(){this.selectpicker.view.canHighlight=[];for(var t=0;t=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(D,t){t=t||0;var T=this;this.selectpicker.current=D?this.selectpicker.search:this.selectpicker.main;var I,S,A=[];function i(t,e){var i,n,s,r,o,a,l,c,h,d,u=T.selectpicker.current.elements.length,p=[],f=!0,m=T.isVirtual();T.selectpicker.view.scrollTop=t,!0===m&&T.sizeInfo.hasScrollBar&&T.$menu[0].offsetWidth>T.sizeInfo.totalMenuWidth&&(T.sizeInfo.menuWidth=T.$menu[0].offsetWidth,T.sizeInfo.totalMenuWidth=T.sizeInfo.menuWidth+T.sizeInfo.scrollBarWidth,T.$menu.css("min-width",T.sizeInfo.menuWidth)),i=Math.ceil(T.sizeInfo.menuInnerHeight/T.sizeInfo.liHeight*1.5),n=Math.round(u/i)||1;for(var g=0;gu-1?0:T.selectpicker.current.data[u-1].position-T.selectpicker.current.data[T.selectpicker.view.position1-1].position,w.firstChild.style.marginTop=y+"px",w.firstChild.style.marginBottom=b+"px"),w.firstChild.appendChild(_)}if(T.prevActiveIndex=T.activeIndex,T.options.liveSearch){if(D&&e){var E,$=0;T.selectpicker.view.canHighlight[$]||($=1+T.selectpicker.view.canHighlight.slice(1).indexOf(!0)),E=T.selectpicker.view.visibleElements[$],T.selectpicker.view.currentActive&&(T.selectpicker.view.currentActive.classList.remove("active"),T.selectpicker.view.currentActive.firstChild&&T.selectpicker.view.currentActive.firstChild.classList.remove("active")),E&&(E.classList.add("active"),E.firstChild&&E.firstChild.classList.add("active")),T.activeIndex=T.selectpicker.current.map.originalIndex[$]}}else T.$menuInner.focus()}this.setPositionData(),i(t,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){T.noScroll||i(this.scrollTop,e),T.noScroll=!1}),U(window).off("resize"+N+"."+this.selectId+".createView").on("resize"+N+"."+this.selectId+".createView",function(){T.$newElement.hasClass(G.SHOW)&&i(T.$menuInner[0].scrollTop)})},createLi:function(){var S,A=this,O=[],L={},N=0,M=0,P=[],j=0,H=0,R=-1;this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option"));var t,B={span:document.createElement("span"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" ")},z=document.createDocumentFragment();(A.options.showTick||A.multiple)&&((t=B.span.cloneNode(!1)).className=A.options.iconBase+" "+A.options.tickIcon+" check-mark",B.a.appendChild(t)),B.a.setAttribute("role","option"),B.subtext.className="text-muted",B.text=B.span.cloneNode(!1),B.text.className="text";var F=function(t,e,i){var n=B.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?n.appendChild(t):n.innerHTML=t),void 0!==e&&""!==e&&(n.className=e),null!=i&&n.classList.add("optgroup-"+i),n},W=function(t,e,i){var n=B.a.cloneNode(!0);return t&&(11===t.nodeType?n.appendChild(t):n.insertAdjacentHTML("beforeend",t)),void 0!==e&&""!==e&&(n.className=e),"4"===V.major&&n.classList.add("dropdown-item"),i&&n.setAttribute("style",i),n},q=function(t){var e,i,n=B.text.cloneNode(!1);if(t.optionContent)n.innerHTML=t.optionContent;else{if(n.textContent=t.text,t.optionIcon){var s=B.whitespace.cloneNode(!1);(i=B.span.cloneNode(!1)).className=A.options.iconBase+" "+t.optionIcon,z.appendChild(i),z.appendChild(s)}t.optionSubtext&&((e=B.subtext.cloneNode(!1)).innerHTML=t.optionSubtext,n.appendChild(e))}return z.appendChild(n),z};if(this.options.title&&!this.multiple){R--;var e=this.$element[0],i=!1,n=!this.selectpicker.view.titleOption.parentNode;if(n)this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",i=void 0===U(e.options[e.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected");(n||0!==this.selectpicker.view.titleOption.index)&&e.insertBefore(this.selectpicker.view.titleOption,e.firstChild),i&&(e.selectedIndex=0)}var Y=this.$element.find("option");Y.each(function(t){var e=U(this);if(R++,!e.hasClass("bs-title-option")){var i,n,s,r,o=e.data(),a=this.className||"",l=K(this.style.cssText),c=o.content,h=this.textContent,d=o.tokens,u=o.subtext,p=o.icon,f=e.parent(),m=f[0],g="OPTGROUP"===m.tagName,v=g&&m.disabled,y=this.disabled||v,b=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName,w=f.data();if(!0===o.hidden||this.hidden||A.options.hideDisabled&&(y||v))return i=o.prevHiddenIndex,e.next().data("prevHiddenIndex",void 0!==i?i:t),R--,L[t]={type:"hidden",data:o},b||void 0!==i&&(r=Y[i].previousElementSibling)&&"OPTGROUP"===r.tagName&&!r.disabled&&(b=!0),void(b&&"divider"!==P[P.length-1].type&&(R++,O.push(F(!1,G.DIVIDER,j+"div")),P.push({type:"divider",optID:j})));if(g&&!0!==o.divider){if(A.options.hideDisabled&&y){if(void 0===w.allOptionsDisabled){var _=f.children();f.data("allOptionsDisabled",_.filter(":disabled").length===_.length)}if(f.data("allOptionsDisabled"))return void R--}var x=" "+m.className||"",C=this.previousElementSibling;if(void 0!==(i=o.prevHiddenIndex)&&(C=Y[i].previousElementSibling),!C){j+=1;var k=m.label,E=K(k),$=w.subtext,D=w.icon;0!==t&&0 li")},render:function(){var t=this.$element.find("option"),e=[],i=[];this.togglePlaceholder(),this.tabIndex();for(var n=0,s=t.length;n ':"";l=this.options.showSubtext&&h.subtext&&!this.multiple?' '+h.subtext+"":"",c=o.title?o.title:h.content&&this.options.showContent?h.content.toString():d+o.innerHTML.trim()+l,i.push(c)}}var u=this.multiple?i.join(this.options.multipleSeparator):i[0];if(50");if(1p[1]||1===p.length&&2<=e.length){var f=this.selectpicker.view.availableOptionsCount;u=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,f):this.options.countSelectedText).replace("{0}",e.length.toString()).replace("{1}",f.toString())}}null==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(u=this.options.title),u||(u=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button[0].title=g(u.replace(/<[^>]*>?/g,"").trim()),this.$button.find(".filter-option-inner-inner")[0].innerHTML=u,this.$element.trigger("rendered"+N)},setStyle:function(t,e){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var i=t||this.options.style;"add"==e?this.$button.addClass(i):"remove"==e?this.$button.removeClass(i):(this.$button.removeClass(this.options.style),this.$button.addClass(i))},liHeight:function(t){if(t||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var e=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),s=document.createElement("ul"),r=document.createElement("li"),o=document.createElement("li"),a=document.createElement("li"),l=document.createElement("a"),c=document.createElement("span"),h=this.options.header&&0this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)s=3this.options.size){for(var v=0;vthis.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth,this.$menu.css("min-width",this.sizeInfo.totalMenuWidth)),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(t){if(this.liHeight(t),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var e,i=this,n=U(window),s=0;this.setMenuSize(),"auto"===this.options.size?(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()}),n.off("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize").on("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()})):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize"),n.off("resize"+N+"."+this.selectId+".setMenuSize scroll"+N+"."+this.selectId+".setMenuSize")),t?s=this.$menuInner[0].scrollTop:i.multiple||"number"==typeof(e=i.selectpicker.main.map.newIndex[i.$element[0].selectedIndex])&&!1!==i.options.size&&(s=(s=i.sizeInfo.liHeight*e)-i.sizeInfo.menuInnerHeight/2+i.sizeInfo.liHeight/2),i.createView(!1,s)}},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.liHeight(),i.setMenuSize();var t=i.$newElement.clone().appendTo("body"),e=t.css("width","auto").children("button").outerWidth();t.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,e),i.$newElement.css("width",i.sizeInfo.selectWidth+"px")}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=U('
');var n,s,r,o=this,a=U(this.options.container),t=function(t){var e={},i=o.options.display||!!U.fn.dropdown.Constructor.Default&&U.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(t.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(G.DROPUP,t.hasClass(G.DROPUP)),n=t.offset(),a.is("body")?s={top:0,left:0}:((s=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),s.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),r=t.hasClass(G.DROPUP)?0:t[0].offsetHeight,(V.major<4||"static"===i)&&(e.top=n.top-s.top+r,e.left=n.left-s.left),e.width=t[0].offsetWidth,o.$bsContainer.css(e)};this.$button.on("click.bs.dropdown.data-api",function(){o.isDisabled()||(t(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(G.SHOW,!o.$button.hasClass(G.SHOW)).append(o.$menu))}),U(window).off("resize"+N+"."+this.selectId+" scroll"+N+"."+this.selectId).on("resize"+N+"."+this.selectId+" scroll"+N+"."+this.selectId,function(){o.$newElement.hasClass(G.SHOW)&&t(o.$newElement)}),this.$element.on("hide"+N,function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setOptionStatus:function(){var t=this.$element.find("option");if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e
');w[2]&&(_=_.replace("{var}",w[2][1"+_+"")),a=!1,k.$element.trigger("maxReached"+N)),f&&g&&(C.append(U("
"+x+"
")),a=!1,k.$element.trigger("maxReachedGrp"+N)),setTimeout(function(){k.setSelected(s,!1)},10),C.delay(750).fadeOut(300,function(){U(this).remove()})}}}else l.prop("selected",!1),c.prop("selected",!0),k.setSelected(s,!0);!k.multiple||k.multiple&&1===k.options.maxOptions?k.$button.focus():k.options.liveSearch&&k.$searchbox.focus(),a&&(r!=E(k.$element[0])&&k.multiple||o!=k.$element.prop("selectedIndex")&&!k.multiple)&&($=[s,c.prop("selected"),r],k.$element.triggerNative("change"))}}),this.$menu.on("click","li."+G.DISABLED+" a, ."+G.POPOVERHEADER+", ."+G.POPOVERHEADER+" :not(.close)",function(t){t.currentTarget==this&&(t.preventDefault(),t.stopPropagation(),k.options.liveSearch&&!U(t.target).hasClass("close")?k.$searchbox.focus():k.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),k.options.liveSearch?k.$searchbox.focus():k.$button.focus()}),this.$menu.on("click","."+G.POPOVERHEADER+" .close",function(){k.$button.click()}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(t){k.options.liveSearch?k.$searchbox.focus():k.$button.focus(),t.preventDefault(),t.stopPropagation(),U(this).hasClass("bs-select-all")?k.selectAll():k.deselectAll()}),this.$element.on({change:function(){k.render(),k.$element.trigger("changed"+N,$),$=null},focus:function(){k.options.mobile||k.$button.focus()}})},liveSearchListener:function(){var p=this,f=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){p.$searchbox.val()&&p.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var t=p.$searchbox.val();if(p.selectpicker.search.map.newIndex={},p.selectpicker.search.map.originalIndex={},p.selectpicker.search.elements=[],p.selectpicker.search.data=[],t){var e=[],i=t.toUpperCase(),n={},s=[],r=p._searchStyle(),o=p.options.liveSearchNormalize;o&&(i=m(i)),p._$lisSelected=p.$menuInner.find(".selected");for(var a=0;a=l.selectpicker.view.canHighlight.length&&(e=0),l.selectpicker.view.canHighlight[e+m]||(e=e+1+l.selectpicker.view.canHighlight.slice(e+m+1).indexOf(!0))),t.preventDefault();var g=m+e;t.which===O?0===m&&e===c.length-1?(l.$menuInner[0].scrollTop=l.$menuInner[0].scrollHeight,g=l.selectpicker.current.elements.length-1):h=(r=(s=l.selectpicker.current.data[g]).position-s.height)p+l.sizeInfo.menuInnerHeight),(n=l.selectpicker.current.elements[v]).classList.add("active"),n.firstChild&&n.firstChild.classList.add("active"),l.activeIndex=b[x],n.firstChild.focus(),h&&(l.$menuInner[0].scrollTop=r),o.focus()}}i&&(t.which===S&&!l.selectpicker.keydown.keyHistory||t.which===T||t.which===A&&l.options.selectOnTab)&&(t.which!==S&&t.preventDefault(),l.options.liveSearch&&t.which===S||(l.$menuInner.find(".active a").trigger("click",!0),o.focus(),l.options.liveSearch||(t.preventDefault(),U(document).data("spaceSelect",!0))))},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){var t=U.extend({},this.options,this.$element.data());this.options=t,this.selectpicker.main.map.newIndex={},this.selectpicker.main.map.originalIndex={},this.createLi(),this.checkDisabled(),this.render(),this.setStyle(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+N)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(N).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),U(window).off(N+"."+this.selectId)}};var v=U.fn.selectpicker;U.fn.selectpicker=f,U.fn.selectpicker.Constructor=p,U.fn.selectpicker.noConflict=function(){return U.fn.selectpicker=v,this},U(document).off("keydown.bs.dropdown.data-api").on("keydown"+N,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',p.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),U(window).on("load"+N+".data-api",function(){U(".selectpicker").each(function(){var t=U(this);f.call(t,t.data())})})}(jQuery),jQuery.fn.selectpicker.defaults={noneSelectedText:"Nessuna selezione",noneResultsText:"Nessun risultato per {0}",countSelectedText:function(t,e){return 1==t?"Selezionato {0} di {1}":"Selezionati {0} di {1}"},maxOptionsText:["Limite raggiunto ({n} {var} max)","Limite del gruppo raggiunto ({n} {var} max)",["elementi","elemento"]],multipleSeparator:", ",selectAllText:"Seleziona Tutto",deselectAllText:"Deseleziona Tutto"},function(l,i,s,a){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,s={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},c.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t",o[t+1]!==a?o[t+1]:e-r)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",o[this.minimum()])?s=i=this.minimum():this.op(i,"<",o[this.maximum()])&&(s=i=this.maximum())),s},c.prototype.animate=function(t){var e=0o/2&&(s+=-1*r*o),(n=(((t=i+s)-a)%o+o)%o+a)!==t&&n-s<=l&&0":return n?t=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,s){var r={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},r,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1
',i=l.lazyLoad?h("
",{class:"owl-video-tn "+a,srcType:t}):h("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(i),e.after('
')};if(e.wrap(h("
",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(o="data-src",a="owl-lazy"),r.length)return c(r.attr(o)),r.remove(),!1;"youtube"===t.type?(n="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",c(n)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e,i=h(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],s=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(e=h('')).attr("height",r),e.attr("width",s),"youtube"===n.type?e.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?e.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&e.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),h(e).wrap('
').insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(o,t,e,i){var n=function t(e){this.core=e,this.core.options=o.extend({},t.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":o.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&o.support.animation&&o.support.transition){this.core.speed(0);var t,e=o.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(o.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&n.one(o.support.animation.end,e).addClass("animated owl-animated-in").addClass(s))}},n.prototype.clear=function(t){o(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(n,s,e,t){var i=function t(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},t.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=s.setTimeout(n.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):s.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=s.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,s.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,s.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(r,t,e,i){"use strict";var n=function t(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+r(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},t.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?r(i.navContainer):r("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=r("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[r('',"\t
",'\t
Click or press the Enter key or the spacebar to open the calendar
','\t
Go to previous month
','\t
Go to next month
','\t
Go to previous year
','\t
Go to next year
','\t
Close the date picker
',"
"],r=function t(e,i){var n=this;this.$target=y(e),this.options=y.extend({},t.DEFAULTS,i),this.locales=Date.dp_locales,this.startview(this.options.startView),"string"==typeof this.options.inputFormat&&(this.options.inputFormat=[this.options.inputFormat]),y.isArray(this.options.datesDisabled)||(this.options.datesDisabled=[this.options.datesDisabled]),y.each(this.options.datesDisabled,function(t,e){if("string"==typeof e){var i=n.parseDate(e);n.options.datesDisabled[t]=null===i?null:n.format(i)}else e instanceof Date&&!isNaN(e.valueOf())?n.options.datesDisabled[t]=n.format(e):n.options.datesDisabled[t]=null}),null!=this.options.min?this.options.min=this.parseDate(this.options.min):this.$target.attr("min")&&(this.options.min=this.parseDate(this.$target.attr("min"))),null!=this.options.max?this.options.max=this.parseDate(this.options.max):this.$target.attr("max")&&(this.options.max=this.parseDate(this.$target.attr("max"))),"string"==typeof this.options.previous?this.options.previous=y(this.options.previous):this.options.previous instanceof jQuery||(this.options.previous=null),"string"==typeof this.options.next?this.options.next=y(this.options.next):this.options.next instanceof jQuery||(this.options.next=null),this.id=this.$target.attr("id")||"datepicker-"+Math.floor(1e5*Math.random());var s=a.join("");s=s.replace(/CALENDARID/g,this.id+""),0==this.$target.parent(".input-group").length&&this.$target.wrap('
'),this.$label=this.$target.parents().find("label[for="+this.id+"]"),this.$group=this.$target.parent(".input-group"),this.$target.attr("aria-autocomplete","none"),this.$target.css("min-width","7em"),this.$target.addClass("form-control"),this.$target.attr("placeholder")||this.$target.attr("placeholder",this.options.inputFormat[0]);var r=o.join("");r=r.replace(/CALENDARID/g,this.id+""),this.$button=y(r),this.$button.addClass(this.options.theme),this.$calendar=y(s),this.$calendar.addClass(this.options.theme),this.$target.after(this.$button),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.find(".datepicker-bn-open-label").html(this.options.buttonLabel),this.$target.attr("id")&&this.$calendar.attr("aria-controls",this.$target.attr("id")),this.$button.find("span").attr("title",this.options.buttonTitle),this.$calendar.css("left",this.$target.parent().position().left+"px"),this.$monthObj=this.$calendar.find(".datepicker-month"),this.$prev=this.$calendar.find(".datepicker-month-prev"),this.$next=this.$calendar.find(".datepicker-month-next"),this.$fastprev=this.$calendar.find(".datepicker-month-fast-prev"),this.$fastnext=this.$calendar.find(".datepicker-month-fast-next"),this.$grid=this.$calendar.find(".datepicker-grid"),"RTL"===this.locales.directionality&&this.$grid.addClass("rtl");this.$grid.find("th.datepicker-day abbr");(this.drawCalendarHeader(),0==this.options.inline&&1==this.options.modal?(this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel)):(this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label"))),0!=this.options.inline)?(this.hideObject(this.$button),("string"==typeof this.options.inline?y("#"+this.options.inline):this.options.inline).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px"}),this.initializeDate()):(this.$calendar.css({display:"none"}),this.$target.parent().after(this.$calendar),this.hide(!this.options.gainFocusOnConstruction));this.keys={tab:9,enter:13,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40},this.bindHandlers(),this.$button.click(function(t){return y(this).hasClass("disabled")||("true"===n.$calendar.attr("aria-hidden")?(n.initializeDate(),n.show()):n.hide(),n.selectGridCell(n.$grid.attr("aria-activedescendant"))),t.stopPropagation(),!1}),this.$button.keydown(function(t){var e=t||event;if(e.keyCode==n.keys.enter||e.keyCode==n.keys.space)return y(this).trigger("click"),!1}),this.$calendar.on("blur",function(t){"false"===n.$calendar.attr("aria-hidden")&&n.hide()})};r.VERSION="2.1.10",r.DEFAULTS={firstDayOfWeek:Date.dp_locales.firstday_of_week,weekDayFormat:"short",startView:0,daysOfWeekDisabled:[],datesDisabled:[],isDateDisabled:null,isMonthDisabled:null,isYearDisabled:null,inputFormat:[Date.dp_locales.short_format],outputFormat:Date.dp_locales.short_format,titleFormat:Date.dp_locales.full_format,buttonTitle:Date.dp_locales.texts.buttonTitle,buttonLabel:Date.dp_locales.texts.buttonLabel,prevButtonLabel:Date.dp_locales.texts.prevButtonLabel,prevMonthButtonLabel:Date.dp_locales.texts.prevMonthButtonLabel,prevYearButtonLabel:Date.dp_locales.texts.prevYearButtonLabel,nextButtonLabel:Date.dp_locales.texts.nextButtonLabel,nextMonthButtonLabel:Date.dp_locales.texts.nextMonthButtonLabel,nextYearButtonLabel:Date.dp_locales.texts.nextYearButtonLabel,changeMonthButtonLabel:Date.dp_locales.texts.changeMonthButtonLabel,changeYearButtonLabel:Date.dp_locales.texts.changeYearButtonLabel,changeRangeButtonLabel:Date.dp_locales.texts.changeRangeButtonLabel,closeButtonTitle:Date.dp_locales.texts.closeButtonTitle,closeButtonLabel:Date.dp_locales.texts.closeButtonLabel,onUpdate:function(t){},previous:null,next:null,theme:"default",modal:!1,inline:!1,gainFocusOnConstruction:!1,min:null,max:null},r.prototype.initializeDate=function(){var t=this.$target.val(),e=""===t?new Date:this.parseDate(t);this.setDate(e,!0)},r.prototype.getDate=function(){var t=this.$target.val();return""===t?new Date:this.parseDate(t)},r.prototype.setDate=function(t,e){switch(this.dateObj=t,e=void 0!==e&&e,null==this.dateObj&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=new Date,this.dateObj.setHours(0,0,0,0)),null!=this.options.min&&this.dateObjthis.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),e&&""==this.$target.val()||this.$target.val(this.format(this.dateObj)),this.curYear=this.dateObj.getFullYear(),this.year=this.curYear,this.curMonth=this.dateObj.getMonth(),this.month=this.curMonth,this.date=this.dateObj.getDate(),this.options.startView){case 1:this.populateMonthsCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curMonth").attr("id"));break;case 2:this.populateYearsCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curYear").attr("id"));break;default:this.populateDaysCalendar(),this.$grid.attr("aria-activedescendant",this.$grid.find(".curDay").attr("id"))}},r.prototype.drawCalendarHeader=function(){for(var t=this.$grid.find("th.datepicker-day"),e=this.options.firstDayOfWeek,i=0;i<7;i++)t.eq(i).attr("aria-label",this.locales.day_names[e]),t.children("abbr").eq(i).attr("title",this.locales.day_names[e]).text("short"===this.options.weekDayFormat?this.locales.day_names_short[e]:this.locales.day_names_narrow[e]),e=(e+1)%7},r.prototype.populateDaysCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextButtonLabel),this.$calendar.find(".datepicker-bn-fast-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-fast-next-label").html(this.options.nextMonthButtonLabel),null!=this.options.min&&(this.year-1this.options.max.getFullYear()||e.year==this.options.max.getFullYear()&&e.month>this.options.max.getMonth())?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled")),null!=this.options.max&&(this.year+1>this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth())?(this.$fastnext.attr("title",""),this.$fastnext.addClass("disabled"),this.$fastnext.removeClass("enabled")):(this.$fastnext.attr("title",this.options.nextMonthButtonLabel),this.$fastnext.addClass("enabled"),this.$fastnext.removeClass("disabled")),this.showObject(this.$fastprev),this.showObject(this.$fastnext);var i=this.getDaysInMonth(this.year,this.month),n=this.getDaysInMonth(t.year,t.month),s=new Date(this.year,this.month,1).getDay(),r=(this.options.firstDayOfWeek+6)%7,o=1,a=1;this.$monthObj.html(this.locales.month_names[this.month]+" "+this.year),this.showObject(this.$grid.find("thead"));for(var l='\t\n',c=0,h=this.options.firstDayOfWeek;h!=s;)c++,h=(h+1)%7;for(;0'+(n-c+1)+"\n";var d=this.options.isYearDisabled&&this.options.isYearDisabled(this.year),u=this.options.isMonthDisabled&&this.options.isMonthDisabled(this.year,this.month+1);for(o=1;o<=i;o++){var p=new Date(this.year,this.month,o,0,0,0,0),f=this.formatDate(p,this.options.titleFormat),m=o==this.date&&this.month==this.curMonth&&this.year==this.curYear?" curDay":"";d||u?l+='\t\tthis.options.max?l+='\t\t'+o+"",l+="",h==r&&o\n\t\n',a++),o'+ ++c+"\n",h=(h+1)%7;l+="\t";var g=this.$grid.find("tbody");g.empty(),g.append(l),this.gridType=0},r.prototype.populateMonthsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevMonthButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextMonthButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-1this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextMonthButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));var t=0,e=1,i=this.$grid.find("tbody");this.$monthObj.html(this.year),this.hideObject(this.$grid.find("thead")),i.empty(),y("#datepicker-err-msg-"+this.id).empty();var n='\t\n',s=this.options.isYearDisabled&&this.options.isYearDisabled(this.year);for(t=0;t<12;t++)s?n+='\t\tthis.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&t>this.options.max.getMonth())?n+='\t\t\n\t\n',e++);n+="\t",i.append(n),this.gridType=1},r.prototype.populateYearsCalendar=function(){this.$calendar.find(".datepicker-bn-prev-label").html(this.options.prevYearButtonLabel),this.$calendar.find(".datepicker-bn-next-label").html(this.options.nextYearButtonLabel),this.hideObject(this.$fastprev),this.hideObject(this.$fastnext),null!=this.options.min&&this.year-20this.options.max.getFullYear()?(this.$next.attr("title",""),this.$next.addClass("disabled"),this.$next.removeClass("enabled")):(this.$next.attr("title",this.options.nextYearButtonLabel),this.$next.addClass("enabled"),this.$next.removeClass("disabled"));var t=10*Math.floor(this.year/10),e=t+19,i=1,n=this.$grid.find("tbody");this.$monthObj.html(t+"-"+e),this.hideObject(this.$grid.find("thead")),n.empty(),y("#datepicker-err-msg-"+this.id).empty();for(var s='\t\n',r=t;r<=e;r++){r==this.year?s+='\t\tthis.options.max.getFullYear()?s+='\t\t\n\t\n',i++)}s+="\t",n.append(s),this.gridType=2},r.prototype.showDaysOfPrevMonth=function(t){var e=this.previousMonth(this.year,this.month);if(null!=this.options.min&&(e.yearthis.options.max.getFullYear()||this.year==this.options.max.getFullYear()&&t>this.options.max.getMonth()))return!1;this.month=t,this.date=Math.min(this.date,this.getDaysInMonth(this.year,this.month)),this.populateDaysCalendar();var e=this.$grid.find("tbody td[data-value='"+this.date+"']");return this.selectGridCell(e.attr("id")),!0},r.prototype.showMonthsOfPrevYear=function(t){if(null!=this.options.min&&this.year-1this.options.max.getFullYear())return!1;this.year=t,this.populateMonthsCalendar();var e=this.$grid.find("tbody td[data-value='"+this.month+"']");return this.$grid.attr("aria-activedescendant",e.attr("id")),this.selectGridCell(e.attr("id")),!0},r.prototype.showYearsOfPrevRange=function(t){if(null!=this.options.min&&this.year-20this.options.max.getFullYear()||e.year==this.options.max.getFullYear()&&e.month>this.options.max.getMonth()))return!1;if(this.month=e.month,this.year=e.year,this.populateDaysCalendar(),null!=t){var i="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",i),this.selectGridCell(i)}return!0},r.prototype.showMonthsOfNextYear=function(t){if(null!=this.options.max&&this.year+1>this.options.max.getFullYear())return!1;if(this.year++,this.populateMonthsCalendar(),null!=t){var e="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showYearsOfNextRange=function(t){if(null!=this.options.max&&this.year+20>this.options.max.getFullYear())return!1;if(this.year+=20,this.populateYearsCalendar(),null!=t){var e="cell"+t+"-"+this.id;this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)}return!0},r.prototype.showDaysOfPrevYear=function(){return(null==this.options.min||!(this.year-1this.options.max.getFullYear()||this.year+1==this.options.max.getFullYear()&&this.month>this.options.max.getMonth()))&&(this.year++,this.populateDaysCalendar(),!0)},r.prototype.bindHandlers=function(){var i=this;this.$fastprev.click(function(t){return i.handleFastPrevClick(t)}),this.$prev.click(function(t){return i.handlePrevClick(t)}),this.$next.click(function(t){return i.handleNextClick(t)}),this.$fastnext.click(function(t){return i.handleFastNextClick(t)}),this.$monthObj.click(function(t){return i.handleMonthClick(t)}),this.$monthObj.keydown(function(t){return i.handleMonthKeyDown(t)}),this.$fastprev.keydown(function(t){return i.handleFastPrevKeyDown(t)}),this.$prev.keydown(function(t){return i.handlePrevKeyDown(t)}),this.$next.keydown(function(t){return i.handleNextKeyDown(t)}),this.$fastnext.keydown(function(t){return i.handleFastNextKeyDown(t)}),1==this.options.modal&&(this.$close.click(function(t){return i.handleCloseClick(t)}),this.$close.keydown(function(t){return i.handleCloseKeyDown(t)})),this.$grid.keydown(function(t){return i.handleGridKeyDown(t)}),this.$grid.keypress(function(t){return i.handleGridKeyPress(t)}),this.$grid.focus(function(t){return i.handleGridFocus(t)}),this.$grid.blur(function(t){return i.handleGridBlur(t)}),this.$grid.delegate("td","click",function(t){return i.handleGridClick(this,t)}),this.$target.change(function(t){var e=i.parseDate(y(this).val());i.updateLinked(e)})},r.prototype.handleFastPrevClick=function(t){if(this.showDaysOfPrevYear()){var e=this.$grid.attr("aria-activedescendant");this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e))}return t.stopPropagation(),!1},r.prototype.handlePrevClick=function(t){var e=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(t.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 1:this.showMonthsOfPrevYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 2:this.showYearsOfPrevRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return t.stopPropagation(),!1},r.prototype.handleMonthClick=function(t){return this.changeGrid(t),t.stopPropagation(),!1},r.prototype.handleNextClick=function(t){var e=this.$grid.attr("aria-activedescendant");switch(this.gridType){case 0:(t.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth())&&(this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 1:this.showMonthsOfNextYear()&&(this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e)));break;case 2:this.showYearsOfNextRange()&&(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id))}return t.stopPropagation(),!1},r.prototype.handleFastNextClick=function(t){if(this.showDaysOfNextYear()){var e=this.$grid.attr("aria-activedescendant");this.month!=this.curMonth||this.year!=this.curYear?(this.$grid.attr("aria-activedescendant","cell1-"+this.id),this.selectGridCell("cell1-"+this.id)):(this.$grid.attr("aria-activedescendant",e),this.selectGridCell(e))}return t.stopPropagation(),!1},r.prototype.handleCloseClick=function(t){return this.hide(),t.stopPropagation(),!1},r.prototype.handleFastPrevKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$close.focus():this.$prev.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return!(!t.shiftKey&&!t.ctrlKey)||(this.showDaysOfPrevYear(),t.stopPropagation(),!1);case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handlePrevKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?0==this.gridType?this.$fastprev.focus():this.$close.focus():this.$monthObj.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:if(t.shiftKey)return!0;switch(this.gridType){case 0:t.ctrlKey?this.showDaysOfPrevYear():this.showDaysOfPrevMonth();break;case 1:this.showMonthsOfPrevYear();break;case 2:this.showYearsOfPrevRange()}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleMonthKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$prev.focus():this.$next.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return this.changeGrid(t),t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleNextKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$monthObj.focus():0==this.gridType?this.$fastnext.focus():this.$grid.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:switch(this.gridType){case 0:t.ctrlKey?this.showDaysOfNextYear():this.showDaysOfNextMonth();break;case 1:this.showMonthsOfNextYear();break;case 2:this.showYearsOfNextRange()}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleFastNextKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!(0!=this.options.modal&&!t.ctrlKey)||(t.shiftKey?this.$next.focus():this.$grid.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.space:return this.showDaysOfNextYear(),t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1}return!0},r.prototype.handleCloseKeyDown=function(t){if(t.altKey)return!0;switch(t.keyCode){case this.keys.tab:return!!t.ctrlKey||(t.shiftKey?this.$grid.focus():0==this.gridType?this.$fastprev.focus():this.$prev.focus(),t.stopPropagation(),!1);case this.keys.enter:case this.keys.esc:case this.keys.space:return!(!t.shiftKey&&!t.ctrlKey)||(this.hide(),t.stopPropagation(),!1)}return!0},r.prototype.handleGridKeyDown=function(t){var e=y("#"+this.$grid.attr("aria-activedescendant")),i=this.$grid.find("td.selectable"),n=this.$grid.find("tbody tr").eq(0).find("td").length;if(t.altKey&&t.keyCode!=this.keys.pageup&&t.keyCode!=this.keys.pagedown)return!0;switch(t.keyCode){case this.keys.tab:return 1==this.options.modal?t.shiftKey?0==this.gridType?this.$fastnext.focus():this.$next.focus():this.$close.focus():(this.hide(),this.handleTabOut(t)),t.stopPropagation(),!1;case this.keys.enter:case this.keys.space:if(t.ctrlKey)return!0;switch(this.gridType){case 0:this.update(),this.hide();break;case 1:this.showDaysOfMonth(parseInt(e.attr("data-value"),10));break;case 2:this.showMonthsOfYear(parseInt(e.attr("data-value"),10))}return t.stopPropagation(),!1;case this.keys.esc:return this.hide(),t.stopPropagation(),!1;case this.keys.left:case this.keys.right:if(t.keyCode==this.keys.left&&"LTR"===this.locales.directionality||t.keyCode==this.keys.right&&"RTL"===this.locales.directionality){if(t.ctrlKey||t.shiftKey)return!0;var s=null;if(0<=(o=i.index(e)-1))s=i.eq(o),this.unSelectGridCell(e.attr("id")),this.$grid.attr("aria-activedescendant",s.attr("id")),this.selectGridCell(s.attr("id"));else switch(this.gridType){case 0:this.showDaysOfPrevMonth(0);break;case 1:this.showMonthsOfPrevYear(0);break;case 2:this.showYearsOfPrevRange(0)}return t.stopPropagation(),!1}if(t.ctrlKey||t.shiftKey)return!0;var r=null;if((o=i.index(e)+1)
'),e=y("#datepicker-overlay")),t?e.fadeIn(100):e.fadeOut(100)},r.prototype.absolutePosition=function(t){var e=0,i=0;if(t.getBoundingClientRect){var n=t.getBoundingClientRect(),s=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||s.scrollTop,a=window.pageXOffset||r.scrollLeft||s.scrollLeft,l=r.clientTop||s.clientTop||0,c=r.clientLeft||s.clientLeft||0;e=Math.round(n.top+o-l),i=Math.round(n.left+a-c)}else for(;t;)e+=parseInt(t.offsetTop,10),i+=parseInt(t.offsetLeft,10),t=t.offsetParent;return{top:e,left:i}},r.prototype.getDaysInMonth=function(t,e){return 32-new Date(t,e,32).getDate()},r.prototype.previousMonth=function(t,e){return 0==e?(e=11,t--):e--,{year:t,month:e}},r.prototype.nextMonth=function(t,e){return 11==e?(e=0,t++):e++,{year:t,month:e}},r.prototype.formatDate=function(t,e){var i,n,s,r,o,a=function(t){return(t<0||9this.options.max&&(this.$target.attr("aria-invalid",!0),this.$target.parents(".form-group").addClass("has-error"),this.dateObj=this.options.max),0!=this.options.inline&&this.refresh()),this.options.max},r.prototype.theme=function(t){return null!=t&&(this.$button.removeClass(this.options.theme),this.$calendar.removeClass(this.options.theme),this.options.theme=t,this.$button.addClass(this.options.theme),this.$calendar.addClass(this.options.theme)),this.options.theme},r.prototype.firstDayOfWeek=function(t){return null!=t&&(this.options.firstDayOfWeek=parseInt(t,10),0==this.options.inline?this.drawCalendarHeader():this.refresh()),this.options.firstDayOfWeek},r.prototype.daysOfWeekDisabled=function(t){if(null!=t){this.options.daysOfWeekDisabled=[],y.isArray(t)||(t=[t]);var i=this;y.each(t,function(t,e){"number"==typeof e?i.options.daysOfWeekDisabled.push(e):"string"==typeof e&&i.options.daysOfWeekDisabled.push(parseInt(e,10))})}return this.options.daysOfWeekDisabled},r.prototype.weekDayFormat=function(t){return null!=t&&(this.options.weekDayFormat=t,this.drawCalendarHeader()),this.options.weekDayFormat},r.prototype.inputFormat=function(t){return null!=t&&(y.isArray(t)||(t=[t]),this.$target.attr("placeholder")==this.options.inputFormat[0]&&this.$target.attr("placeholder",t[0]),this.options.inputFormat=t),this.options.inputFormat},r.prototype.outputFormat=function(t){return null!=t&&(this.options.outputFormat=t),this.options.outputFormat},r.prototype.modal=function(t){if(null!=t)if(this.options.modal=t,1==this.options.modal){0==this.options.inline&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),this.$close=this.$calendar.find(".datepicker-close"),this.$close.html(this.options.closeButtonTitle).attr("title",this.options.closeButtonLabel),this.$calendar.find(".datepicker-bn-close-label").html(this.options.closeButtonLabel);var e=this;this.$close.click(function(t){return e.handleCloseClick(t)}),this.$close.keydown(function(t){return e.handleCloseKeyDown(t)})}else this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label"));return this.options.modal},r.prototype.inline=function(t){null!=t&&(0!=t?(this.hideObject(this.$button),this.hideObject(this.$calendar.find(".datepicker-close-wrap")),this.hideObject(this.$calendar.find(".datepicker-bn-close-label")),("string"==typeof t?y("#"+t):t).append(this.$calendar),this.$calendar.css({position:"relative",left:"0px",top:"0px"}),this.options.inline=t,this.initializeDate(),this.showObject(this.$calendar)):(this.$target.parent().after(this.$calendar),this.showObject(this.$button),1==this.options.modal&&(this.showObject(this.$calendar.find(".datepicker-close-wrap")),this.showObject(this.$calendar.find(".datepicker-bn-close-label"))),"static"===this.$calendar.parent().css("position")&&this.$calendar.parent().css("position","relative"),this.$calendar.css({position:"absolute"}),this.options.inline=t,this.hide()));return this.options.inline},r.prototype.format=function(t){return this.formatDate(t,this.options.outputFormat)},r.prototype.enable=function(){this.$button.removeClass("disabled"),this.$button.attr("aria-disabled",!1),this.$button.attr("tabindex",0)},r.prototype.disable=function(){this.hide(),this.$button.addClass("disabled"),this.$button.attr("aria-disabled",!0),this.$button.attr("tabindex",-1)},r.prototype.datesDisabled=function(t){this.options.datesDisabled=[],y.isArray(t)||(t=[t]);var n=this;y.each(t,function(t,e){if("string"==typeof e){var i=n.parseDate(e);null!==i&&n.options.datesDisabled.push(n.format(i))}else e instanceof Date&&!isNaN(e.valueOf())&&n.options.datesDisabled.push(n.format(e))})},r.prototype.startview=function(t){switch(t){case 1:case"months":this.options.startView=1;break;case 2:case"years":this.options.startView=2;break;default:this.options.startView=0}},r.prototype.setLocales=function(t){this.locales=t,this.options.inputFormat=[this.locales.short_format],this.options.outputFormat=this.locales.short_format,this.options.titleFormat=this.locales.full_format,this.options.firstDayOfWeek=this.locales.firstday_of_week,this.options.buttonTitle=this.locales.texts.buttonTitle,this.$button.find("span").attr("title",this.options.buttonTitle),this.options.buttonLabel=this.locales.texts.buttonLabel,this.options.prevButtonLabel=this.locales.texts.prevButtonLabel,this.options.prevMonthButtonLabel=this.locales.texts.prevMonthButtonLabel,this.options.prevYearButtonLabel=this.locales.texts.prevYearButtonLabel,this.options.nextButtonLabel=this.locales.texts.nextButtonLabel,this.options.nextMonthButtonLabel=this.locales.texts.nextMonthButtonLabel,this.options.nextYearButtonLabel=this.locales.texts.nextYearButtonLabel,this.options.changeMonthButtonLabel=this.locales.texts.changeMonthButtonLabel,this.options.changeYearButtonLabel=this.locales.texts.changeYearButtonLabel,this.options.changeRangeButtonLabel=this.locales.texts.changeRangeButtonLabel,this.options.closeButtonTitle=this.locales.texts.closeButtonTitle,this.options.closeButtonLabel=this.locales.texts.closeButtonLabel,this.options.calendarHelp=this.locales.texts.calendarHelp,this.drawCalendarHeader(),"RTL"===this.locales.directionality?this.$grid.addClass("rtl"):this.$grid.removeClass("rtl")};var t=y.fn.datepicker;y.fn.datepicker=function(n,s){if("string"!=typeof n||1!=y(this).length)return this.each(function(){var t=y(this),e=t.data("ab.datepicker"),i=y.extend({},r.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("ab.datepicker",e=new r(this,i)),"string"==typeof n&&e[n](s)});var t=y(this).eq(0).data("ab.datepicker");return t?t[n](s):void 0},y.fn.datepicker.Constructor=r,y.fn.datepicker.noConflict=function(){return y.fn.datepicker=t,this}}),function(a){var t,e=["","-webkit-","-ms-","-moz-","-o-"],i=document.createElement("div"),n=!1,s=!1,b=!1,w=0,r=["56"],o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,l=0,_=[],c={unstick:function(){for(var t,e,i=a(this).data("sticky-id"),n=_.length-1;0<=n;n--)if(_[n].id==i){t=n;break}return void 0!==t&&(e=_.splice(t,1)),void 0!==e&&a(this).removeAttr("style").next("."+e[0].options.holderClass).remove(),this}};if(!function(){if(!window.chrome)return!1;var t=/Chrom(e|ium)\/(\d+)/.exec(navigator.appVersion);return t&&~r.indexOf(t[2])}())for(var h=0,d=e.length;h