vendor: 87,533 bytes, lines 1-2
1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
vendor: 903 bytes, lines 3-6
3; 4jQuery.migrateMute=true;; 5/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 6"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]}
6,n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
6,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); 7//# sourceMappingURL=jquery-migrate.min.map; 8jQuery.noConflict();jQuery.UNSAFE_restoreLegacyHtmlPrefilter();;
9/*! elementQuery | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */ 10(function(e,j,d){var m=e.Sizzle||jQuery.find;var q={};var f=null;var p=function(){if(j.styleSheets[0]){f=(j.styleSheets[0].cssRules!==d)?"cssRules":"rules"}};var o=function(r,s,w,t,u){r=c(r);if(r!=""){var v;if(!t&&!u){v=/^([0-9]*.?[0-9]+)(px|em|%)$/.exec(w);if(v!=null){t=Number(v[1]);if(t+""!="NaN"){u=v[2]}}}if(u){if(m.compile){m.compile(r)}if(q[r]===d){q[r]={}}if(q[r][s]===d){q[r][s]={}}q[r][s][w]=[t,u]}}};var l=function(u,v){var t,s,r;for(t in u){for(s in u[t]){if(typeof u[t][s]=="string"){o(t,s,u[t][s])}else{if(typeof u[t][s]=="object"){for(r=0;r<u[t][s].length;r++){o(t,s,u[t][s][r])}}}}}if(v==true){g()}};var i=function(r){if(r){var z=/(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em|%)(\'|\")\])(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em|%)(\'|\")\])?/gi;var A=r.split(",");var x,u,C,w,s,v,y,B;for(x=0;x<A.length;x++){u=null;s=0;v=0;while(v==0||C!=null){C=z.exec(A[x]);if(C!=null){w=Number(C[4]);if(w+""!="NaN"){if(u==null){u=A[x].substring(s,C.index);y=A[x].substring(C.index+C[1].length);if(y.length>0){B=y.indexOf(" ");if(B!=0){if(B>0){y=y.substring(0,B)}y=y.replace(/(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em|%)(\'|\")\])/gi,"");u+=y}}}o(u,C[2],C[4]+C[5],w,C[5])}if(C[7]===d||C[7]==""){s=C.index+C[1].length;u=null}else{z.lastIndex=C.index+C[1].length}}v++}}}};var b=function(x,u){if(f==null){p()}try{if(x&&x[f]&&x[f].length>0){var w=x.ownerNode||x.owningElement;if(u||(w.getAttribute("data-elementquery-bypass")===null&&w.getAttribute("data-elementquery-processed")===null)){var t,s,v;for(t=0;t<x[f].length;t++){v=x[f][t];if(v[f]&&v[f].length>0){for(s=0;s<v[f].length;s++){i(v[f][s].selectorText)}}else{i(v.selectorText)}}w.setAttribute("data-elementquery-processed","")}}}catch(r){jQuery.console.log("Couldn't read cssRules for styleSheet : "+x.href,x)}};var c=function(s){if(s==null){return""}else{var r="".trim;if(r&&!r.call("\uFEFF\xA0")){return r.call(s)}else{return(s+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}};var h=function(s,r){var t=s.getAttribute(r);return t?(" "+t+" ").replace(/[\t\r\n]/g," "):" "};var a=function(s,r,t){if(s.nodeType===1){var v=c(t);if(v!=""){var u=h(s,r);if(u.indexOf(" "+v+" ")<0){s.setAttribute(r,c(u+v))}}}};var k=function(t,r,u){if(t.nodeType===1){var w=c(u);if(w!=""){var v=h(t,r);var s=false;while(v.indexOf(" "+w+" ")>=0){v=v.replace(" "+w+" "," ");s=true}if(s){t.setAttribute(r,c(v))}}}};var n=function(){var r;for(r=0;r<j.styleSheets.length;r++){b(j.styleSheets[r])}g()};var g=function(){var w,t,v,u,r,x,s;for(w in q){r=m(w);if(r.length>0){for(t=0;t<r.length;t++){x=r[t];for(v in q[w]){for(u in q[w][v]){s=q[w][v][u][0];if(q[w][v][u][1]=="em"){s=s*(e.getEmPixels?getEmPixels(x):16)}var y=((x.offsetWidth/x.parentNode.offsetWidth)*100);var A=((x.offsetHeight/x.parentNode.offsetHeight)*100);if((q[w][v][u][1]=="px"||q[w][v][u][1]=="em")&&((v=="min-width"&&x.offsetWidth>=s)||(v=="max-width"&&x.offsetWidth<=s)||(v=="min-height"&&x.offsetHeight>=s)||(v=="max-height"&&x.offsetHeight<=s))){a(x,v,u)}else{if(q[w][v][u][1]=="%"&&((v=="min-width"&&y>=s)||(v=="max-width"&&y<=s)||(v=="min-height"&&A>=s)||(v=="max-height"&&A<=s))){a(x,v,u)}else{k(x,v,u)}}}}}}}if(!e.addEventListener&&e.attachEvent){var z=j.documentElement.className;j.documentElement.className=" "+z;j.documentElement.className=z}};e.elementQuery=function(s,r){if(s&&typeof s=="object"){if(s.cssRules||s.rules){b(s,true);if(r==true){g()}}else{l(s,r)}}else{if(!s&&!r){g()}}};e.elementQuery.selectors=function(){var u={};var t,s,r;for(t in q){for(s in q[t]){for(r in q[t][s]){if(u[t]===d){u[t]={}}if(u[t][s]===d){u[t][s]=[]}u[t][s][u[t][s].length]=r}}}return u};if(e.addEventListener){e.addEventListener("resize",g,false);e.addEventListener("DOMContentLoaded",n,false);e.addEventListener("load",n,false)}else{if(e.attachEvent){e.attachEvent("onresize",g);e.attachEvent("onload",n)}}}(this,document,undefined)); 11/*! getEmPixels | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */ 12(function(a,d){var b="!important;";var c="position:absolute"+b+"visibility:hidden"+b+"width:1em"+b+"font-size:1em"+b+"padding:0"+b;window.getEmPixels=function(e){var h;if(!e){e=h=a.createElement("body");h.style.cssText="font-size:1em"+b;d.insertBefore(h,a.body)}var g=a.createElement("i");g.style.cssText=c;e.appendChild(g);var f=g.clientWidth;if(h){d.removeChild(h)}else{e.removeChild(g)}return f}}(document,document.documentElement));; 13/*! jQuery UI - v1.13.2 - 2022-07-14 14* http://jqueryui.com 15* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js 16* Copyright jQuery Foundation and other contributors; Licensed MIT */
17(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}})(function(az){az.ui=az.ui||{};var E=az.ui.version="1.13.2"; 18/*! 19* jQuery UI Widget 1.13.2 20* http://jqueryui.com 21* 22* Copyright jQuery Foundation and other contributors 23* Released under the MIT license. 24* http://jquery.org/license 25*/ 26;var O=0;var aw=Array.prototype.hasOwnProperty;var aA=Array.prototype.slice;az.cleanData=(function(aM){return function(aN){var aP,aQ,aO;for(aO=0;(aQ=aN[aO])!=null;aO++){aP=az._data(aQ,"events");if(aP&&aP.remove){az(aQ).triggerHandler("remove")}}aM(aN)}})(az.cleanData);az.widget=function(aM,aN,aU){var aS,aP,aT;var aO={};var aR=aM.split(".")[0];aM=aM.split(".")[1];var aQ=aR+"-"+aM;if(!aU){aU=aN;aN=az.Widget}if(Array.isArray(aU)){aU=az.extend.apply(null,[{}].concat(aU))}az.expr.pseudos[aQ.toLowerCase()]=function(aV){return !!az.data(aV,aQ)};az[aR]=az[aR]||{};aS=az[aR][aM];aP=az[aR][aM]=function(aV,aW){if(!this||!this._createWidget){return new aP(aV,aW)}if(arguments.length){this._createWidget(aV,aW)}};az.extend(aP,aS,{version:aU.version,_proto:az.extend({},aU),_childConstructors:[]});aT=new aN();aT.options=az.widget.extend({},aT.options);az.each(aU,function(aW,aV){if(typeof aV!=="function"){aO[aW]=aV;return}aO[aW]=(function(){function aX(){return aN.prototype[aW].apply(this,arguments)}function aY(aZ){return aN.prototype[aW].apply(this,aZ)}return function(){var a1=this._super;var aZ=this._superApply;var a0;this._super=aX;this._superApply=aY;a0=aV.apply(this,arguments);this._super=a1;this._superApply=aZ;return a0}})()});aP.prototype=az.widget.extend(aT,{widgetEventPrefix:aS?(aT.widgetEventPrefix||aM):aM},aO,{constructor:aP,namespace:aR,widgetName:aM,widgetFullName:aQ});if(aS){az.each(aS._childConstructors,function(aW,aX){var aV=aX.prototype;az.widget(aV.namespace+"."+aV.widgetName,aP,aX._proto)});delete aS._childConstructors}else{aN._childConstructors.push(aP)}az.widget.bridge(aM,aP);return aP};az.widget.extend=function(aR){var aN=aA.call(arguments,1);var aQ=0;var aM=aN.length;var aO;var aP;for(;aQ<aM;aQ++){for(aO in aN[aQ]){aP=aN[aQ][aO];if(aw.call(aN[aQ],aO)&&aP!==undefined){if(az.isPlainObject(aP)){aR[aO]=az.isPlainObject(aR[aO])?az.widget.extend({},aR[aO],aP):az.widget.extend({},aP)}else{aR[aO]=aP}}}}return aR};az.widget.bridge=function(aN,aM){var aO=aM.prototype.widgetFullName||aN;az.fn[aN]=function(aR){var aP=typeof aR==="string";var aQ=aA.call(arguments,1);var aS=this;if(aP){if(!this.length&&aR==="instance"){aS=undefined}else{this.each(function(){var aU;var aT=az.data(this,aO);if(aR==="instance"){aS=aT;return false}if(!aT){return az.error("cannot call methods on "+aN+" prior to initialization; attempted to call method '"+aR+"'")}if(typeof aT[aR]!=="function"||aR.charAt(0)==="_"){return az.error("no such method '"+aR+"' for "+aN+" widget instance")}aU=aT[aR].apply(aT,aQ);if(aU!==aT&&aU!==undefined){aS=aU&&aU.jquery?aS.pushStack(aU.get()):aU;return false}})}}else{if(aQ.length){aR=az.widget.extend.apply(null,[aR].concat(aQ))}this.each(function(){var aT=az.data(this,aO);if(aT){aT.option(aR||{});if(aT._init){aT._init()}}else{az.data(this,aO,new aM(aR,this))}})}return aS}};az.Widget=function(){};az.Widget._childConstructors=[];az.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:false,create:null},_createWidget:function(aM,aN){aN=az(aN||this.defaultElement||this)[0];this.element=az(aN);this.uuid=O++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=az();this.hoverable=az();this.focusable=az();this.classesElementLookup={};if(aN!==this){az.data(aN,this.widgetFullName,this);this._on(true,this.element,{remove:function(aO){if(aO.target===aN){this.destroy()}}});this.document=az(aN.style?aN.ownerDocument:aN.document||aN);this.window=az(this.document[0].defaultView||this.document[0].parentWindow)}this.options=az.widget.extend({},this.options,this._getCreateOptions(),aM);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)}this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:az.noop,_create:az.noop,_init:az.noop,destroy:function(){var aM=this;this._destroy();az.each(this.classesElementLookup,function(aN,aO){aM._removeClass(aO,aN)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:az.noop,widget:function(){return this.element},option:function(aP,aQ){var aM=aP;var aR;var aO;var aN;if(arguments.length===0){return az.widget.extend({},this.options)}if(typeof aP==="string"){aM={};aR=aP.split(".");aP=aR.shift();if(aR.length){aO=aM[aP]=az.widget.extend({},this.options[aP]);for(aN=0;aN<aR.length-1;aN++){aO[aR[aN]]=aO[aR[aN]]||{};aO=aO[aR[aN]]}aP=aR.pop();if(arguments.length===1){return aO[aP]===undefined?null:aO[aP]}aO[aP]=aQ}else{if(arguments.length===1){return this.options[aP]===undefined?null:this.options[aP]}aM[aP]=aQ}}this._setOptions(aM);return this},_setOptions:function(aM){var aN;for(aN in aM){this._setOption(aN,aM[aN])}return this},_setOption:function(aM,aN){if(aM==="classes"){this._setOptionClasses(aN)}this.options[aM]=aN;if(aM==="disabled"){this._setOptionDisabled(aN)}return this},_setOptionClasses:function(aP){var aM,aO,aN;for(aM in aP){aN=this.classesElementLookup[aM];if(aP[aM]===this.options.classes[aM]||!aN||!aN.length){continue}aO=az(aN.get());this._removeClass(aN,aM);aO.addClass(this._classes({element:aO,keys:aM,classes:aP,add:true}))}},_setOptionDisabled:function(aM){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!aM);if(aM){this._removeClass(this.hoverable,null,"ui-state-hover");this._removeClass(this.focusable,null,"ui-state-focus")}},enable:function(){return this._setOptions({disabled:false})},disable:function(){return this._setOptions({disabled:true})},_classes:function(aN){var aO=[];var aP=this;aN=az.extend({element:this.element,classes:this.options.classes||{}},aN);function aM(){var aR=[];aN.element.each(function(aT,aU){var aS=az.map(aP.classesElementLookup,function(aV){return aV}).some(function(aV){return aV.is(aU)});if(!aS){aR.push(aU)}});aP._on(az(aR),{remove:"_untrackClassesElement"})}function aQ(aS,aU){var aT,aR;for(aR=0;aR<aS.length;aR++){aT=aP.classesElementLookup[aS[aR]]||az();if(aN.add){aM();aT=az(az.uniqueSort(aT.get().concat(aN.element.get())))}else{aT=az(aT.not(aN.element).get())}aP.classesElementLookup[aS[aR]]=aT;aO.push(aS[aR]);if(aU&&aN.classes[aS[aR]]){aO.push(aN.classes[aS[aR]])}}}if(aN.keys){aQ(aN.keys.match(/\S+/g)||[],true)}if(aN.extra){aQ(aN.extra.match(/\S+/g)||[])}return aO.join(" ")},_untrackClassesElement:function(aN){var aM=this;az.each(aM.classesElementLookup,function(aO,aP){if(az.inArray(aN.target,aP)!==-1){aM.classesElementLookup[aO]=az(aP.not(aN.target).get())}});this._off(az(aN.target))},_removeClass:function(aN,aO,aM){return this._toggleClass(aN,aO,aM,false)},_addClass:function(aN,aO,aM){return this._toggleClass(aN,aO,aM,true)},_toggleClass:function(aP,aQ,aM,aR){aR=(typeof aR==="boolean")?aR:aM;var aN=(typeof aP==="string"||aP===null),aO={extra:aN?aQ:aM,keys:aN?aP:aQ,element:aN?this.element:aP,add:aR};aO.element.toggleClass(this._classes(aO),aR);return this},_on:function(aP,aO,aN){var aQ;var aM=this;if(typeof aP!=="boolean"){aN=aO;aO=aP;aP=false}if(!aN){aN=aO;aO=this.element;aQ=this.widget()}else{aO=aQ=az(aO);this.bindings=this.bindings.add(aO)}az.each(aN,function(aW,aV){function aT(){if(!aP&&(aM.options.disabled===true||az(this).hasClass("ui-state-disabled"))){return}return(typeof aV==="string"?aM[aV]:aV).apply(aM,arguments)}
26if(typeof aV!=="string"){aT.guid=aV.guid=aV.guid||aT.guid||az.guid++}var aU=aW.match(/^([\w:-]*)\s*(.*)$/);var aS=aU[1]+aM.eventNamespace;var aR=aU[2];if(aR){aQ.on(aS,aR,aT)}else{aO.on(aS,aT)}})},_off:function(aN,aM){aM=(aM||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;aN.off(aM);this.bindings=az(this.bindings.not(aN).get());this.focusable=az(this.focusable.not(aN).get());this.hoverable=az(this.hoverable.not(aN).get())},_delay:function(aP,aO){function aN(){return(typeof aP==="string"?aM[aP]:aP).apply(aM,arguments)}var aM=this;return setTimeout(aN,aO||0)},_hoverable:function(aM){this.hoverable=this.hoverable.add(aM);this._on(aM,{mouseenter:function(aN){this._addClass(az(aN.currentTarget),null,"ui-state-hover")},mouseleave:function(aN){this._removeClass(az(aN.currentTarget),null,"ui-state-hover")}})},_focusable:function(aM){this.focusable=this.focusable.add(aM);this._on(aM,{focusin:function(aN){this._addClass(az(aN.currentTarget),null,"ui-state-focus")},focusout:function(aN){this._removeClass(az(aN.currentTarget),null,"ui-state-focus")}})},_trigger:function(aM,aN,aO){var aR,aQ;var aP=this.options[aM];aO=aO||{};aN=az.Event(aN);aN.type=(aM===this.widgetEventPrefix?aM:this.widgetEventPrefix+aM).toLowerCase();aN.target=this.element[0];aQ=aN.originalEvent;if(aQ){for(aR in aQ){if(!(aR in aN)){aN[aR]=aQ[aR]}}}this.element.trigger(aN,aO);return !(typeof aP==="function"&&aP.apply(this.element[0],[aN].concat(aO))===false||aN.isDefaultPrevented())}};az.each({show:"fadeIn",hide:"fadeOut"},function(aN,aM){az.Widget.prototype["_"+aN]=function(aQ,aP,aS){if(typeof aP==="string"){aP={effect:aP}}var aR;var aO=!aP?aN:aP===true||typeof aP==="number"?aM:aP.effect||aM;aP=aP||{};if(typeof aP==="number"){aP={duration:aP}}else{if(aP===true){aP={}}}aR=!az.isEmptyObject(aP);aP.complete=aS;if(aP.delay){aQ.delay(aP.delay)}if(aR&&az.effects&&az.effects.effect[aO]){aQ[aN](aP)}else{if(aO!==aN&&aQ[aO]){aQ[aO](aP.duration,aP.easing,aS)}else{aQ.queue(function(aT){az(this)[aN]();if(aS){aS.call(aQ[0])}aT()})}}}});var l=az.widget; 27/*! 28* jQuery UI Position 1.13.2 29* http://jqueryui.com 30* 31* Copyright jQuery Foundation and other contributors 32* Released under the MIT license. 33* http://jquery.org/license 34* 35* http://api.jqueryui.com/position/ 36*/ 37(function(){var aU,aV=Math.max,aY=Math.abs,aP=/left|center|right/,aS=/top|center|bottom/,aN=/[\+\-]\d+(\.[\d]+)?%?/,aW=/^\w+/,aO=/%$/,aR=az.fn.position;function aX(a1,a0,aZ){return[parseFloat(a1[0])*(aO.test(a1[0])?a0/100:1),parseFloat(a1[1])*(aO.test(a1[1])?aZ/100:1)]}function aT(aZ,a0){return parseInt(az.css(aZ,a0),10)||0}function aM(aZ){return aZ!=null&&aZ===aZ.window}function aQ(a0){var aZ=a0[0];if(aZ.nodeType===9){return{width:a0.width(),height:a0.height(),offset:{top:0,left:0}}}
37if(aM(aZ)){return{width:a0.width(),height:a0.height(),offset:{top:a0.scrollTop(),left:a0.scrollLeft()}}}if(aZ.preventDefault){return{width:0,height:0,offset:{top:aZ.pageY,left:aZ.pageX}}}return{width:a0.outerWidth(),height:a0.outerHeight(),offset:a0.offset()}}az.position={scrollbarWidth:function(){if(aU!==undefined){return aU}var a0,aZ,a2=az("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),a1=a2.children()[0];az("body").append(a2);a0=a1.offsetWidth;a2.css("overflow","scroll");aZ=a1.offsetWidth;if(a0===aZ){aZ=a2[0].clientWidth}a2.remove();return(aU=a0-aZ)},getScrollInfo:function(a3){var a2=a3.isWindow||a3.isDocument?"":a3.element.css("overflow-x"),a1=a3.isWindow||a3.isDocument?"":a3.element.css("overflow-y"),a0=a2==="scroll"||(a2==="auto"&&a3.width<a3.element[0].scrollWidth),aZ=a1==="scroll"||(a1==="auto"&&a3.height<a3.element[0].scrollHeight);return{width:aZ?az.position.scrollbarWidth():0,height:a0?az.position.scrollbarWidth():0}},getWithinInfo:function(a0){var a2=az(a0||window),a1=aM(a2[0]),a3=!!a2[0]&&a2[0].nodeType===9,aZ=!a1&&!a3;return{element:a2,isWindow:a1,isDocument:a3,offset:aZ?az(a0).offset():{left:0,top:0},scrollLeft:a2.scrollLeft(),scrollTop:a2.scrollTop(),width:a2.outerWidth(),height:a2.outerHeight()}}};az.fn.position=function(a9){if(!a9||!a9.of){return aR.apply(this,arguments)}a9=az.extend({},a9);var ba,a6,a4,a8,a3,aZ,a5=typeof a9.of==="string"?az(document).find(a9.of):az(a9.of),a2=az.position.getWithinInfo(a9.within),a0=az.position.getScrollInfo(a2),a7=(a9.collision||"flip").split(" "),a1={};aZ=aQ(a5);if(a5[0].preventDefault){a9.at="left top"}a6=aZ.width;a4=aZ.height;a8=aZ.offset;a3=az.extend({},a8);az.each(["my","at"],function(){var bd=(a9[this]||"").split(" "),bc,bb;if(bd.length===1){bd=aP.test(bd[0])?bd.concat(["center"]):aS.test(bd[0])?["center"].concat(bd):["center","center"]}bd[0]=aP.test(bd[0])?bd[0]:"center";bd[1]=aS.test(bd[1])?bd[1]:"center";bc=aN.exec(bd[0]);bb=aN.exec(bd[1]);a1[this]=[bc?bc[0]:0,bb?bb[0]:0];a9[this]=[aW.exec(bd[0])[0],aW.exec(bd[1])[0]]});if(a7.length===1){a7[1]=a7[0]}if(a9.at[0]==="right"){a3.left+=a6}else{if(a9.at[0]==="center"){a3.left+=a6/2}}if(a9.at[1]==="bottom"){a3.top+=a4}else{if(a9.at[1]==="center"){a3.top+=a4/2}}ba=aX(a1.at,a6,a4);a3.left+=ba[0];a3.top+=ba[1];return this.each(function(){var bc,bl,be=az(this),bg=be.outerWidth(),bd=be.outerHeight(),bf=aT(this,"marginLeft"),bb=aT(this,"marginTop"),bk=bg+bf+aT(this,"marginRight")+a0.width,bj=bd+bb+aT(this,"marginBottom")+a0.height,bh=az.extend({},a3),bi=aX(a1.my,be.outerWidth(),be.outerHeight());if(a9.my[0]==="right"){bh.left-=bg}else{if(a9.my[0]==="center"){bh.left-=bg/2}}if(a9.my[1]==="bottom"){bh.top-=bd}else{if(a9.my[1]==="center"){bh.top-=bd/2}}bh.left+=bi[0];bh.top+=bi[1];bc={marginLeft:bf,marginTop:bb};az.each(["left","top"],function(bn,bm){if(az.ui.position[a7[bn]]){az.ui.position[a7[bn]][bm](bh,{targetWidth:a6,targetHeight:a4,elemWidth:bg,elemHeight:bd,collisionPosition:bc,collisionWidth:bk,collisionHeight:bj,offset:[ba[0]+bi[0],ba[1]+bi[1]],my:a9.my,at:a9.at,within:a2,elem:be})}});if(a9.using){bl=function(bp){var br=a8.left-bh.left,bo=br+a6-bg,bq=a8.top-bh.top,bn=bq+a4-bd,bm={target:{element:a5,left:a8.left,top:a8.top,width:a6,height:a4},element:{element:be,left:bh.left,top:bh.top,width:bg,height:bd},horizontal:bo<0?"left":br>0?"right":"center",vertical:bn<0?"top":bq>0?"bottom":"middle"};if(a6<bg&&aY(br+bo)<a6){bm.horizontal="center"}if(a4<bd&&aY(bq+bn)<a4){bm.vertical="middle"}if(aV(aY(br),aY(bo))>aV(aY(bq),aY(bn))){bm.important="horizontal"}else{bm.important="vertical"}a9.using.call(this,bp,bm)}}be.offset(az.extend(bh,{using:bl}))})};az.ui.position={fit:{left:function(a3,a2){var a1=a2.within,a5=a1.isWindow?a1.scrollLeft:a1.offset.left,a7=a1.width,a4=a3.left-a2.collisionPosition.marginLeft,a6=a5-a4,a0=a4+a2.collisionWidth-a7-a5,aZ;if(a2.collisionWidth>a7){if(a6>0&&a0<=0){aZ=a3.left+a6+a2.collisionWidth-a7-a5;a3.left+=a6-aZ}else{if(a0>0&&a6<=0){a3.left=a5}else{if(a6>a0){a3.left=a5+a7-a2.collisionWidth}else{a3.left=a5}}}}else{if(a6>0){a3.left+=a6}else{if(a0>0){a3.left-=a0}else{a3.left=aV(a3.left-a4,a3.left)}}}},top:function(a2,a1){var a0=a1.within,a6=a0.isWindow?a0.scrollTop:a0.offset.top,a7=a1.within.height,a4=a2.top-a1.collisionPosition.marginTop,a5=a6-a4,a3=a4+a1.collisionHeight-a7-a6,aZ;if(a1.collisionHeight>a7){if(a5>0&&a3<=0){aZ=a2.top+a5+a1.collisionHeight-a7-a6;a2.top+=a5-aZ}else{if(a3>
370&&a5<=0){a2.top=a6}else{if(a5>a3){a2.top=a6+a7-a1.collisionHeight}else{a2.top=a6}}}}else{if(a5>0){a2.top+=a5}else{if(a3>0){a2.top-=a3}else{a2.top=aV(a2.top-a4,a2.top)}}}}},flip:{left:function(a5,a4){var a3=a4.within,a9=a3.offset.left+a3.scrollLeft,bc=a3.width,a1=a3.isWindow?a3.scrollLeft:a3.offset.left,a6=a5.left-a4.collisionPosition.marginLeft,ba=a6-a1,a0=a6+a4.collisionWidth-bc-a1,a8=a4.my[0]==="left"?-a4.elemWidth:a4.my[0]==="right"?a4.elemWidth:0,bb=a4.at[0]==="left"?a4.targetWidth:a4.at[0]==="right"?-a4.targetWidth:0,a2=-2*a4.offset[0],aZ,a7;if(ba<0){aZ=a5.left+a8+bb+a2+a4.collisionWidth-bc-a9;if(aZ<0||aZ<aY(ba)){a5.left+=a8+bb+a2}}else{if(a0>0){a7=a5.left-a4.collisionPosition.marginLeft+a8+bb+a2-a1;if(a7>0||aY(a7)<a0){a5.left+=a8+bb+a2}}}},top:function(a4,a3){var a2=a3.within,bb=a2.offset.top+a2.scrollTop,bc=a2.height,aZ=a2.isWindow?a2.scrollTop:a2.offset.top,a6=a4.top-a3.collisionPosition.marginTop,a8=a6-aZ,a5=a6+a3.collisionHeight-bc-aZ,a9=a3.my[1]==="top",a7=a9?-a3.elemHeight:a3.my[1]==="bottom"?a3.elemHeight:0,bd=a3.at[1]==="top"?a3.targetHeight:a3.at[1]==="bottom"?-a3.targetHeight:0,a1=-2*a3.offset[1],ba,a0;if(a8<0){a0=a4.top+a7+bd+a1+a3.collisionHeight-bc-bb;if(a0<0||a0<aY(a8)){a4.top+=a7+bd+a1}}else{if(a5>0){ba=a4.top-a3.collisionPosition.marginTop+a7+bd+a1-aZ;if(ba>0||aY(ba)<a5){a4.top+=a7+bd+a1}}}}},flipfit:{left:function(){az.ui.position.flip.left.apply(this,arguments);az.ui.position.fit.left.apply(this,arguments)},top:function(){az.ui.position.flip.top.apply(this,arguments);az.ui.position.fit.top.apply(this,arguments)}}}})();var ar=az.ui.position; 38/*! 39* jQuery UI :data 1.13.2 40* http://jqueryui.com 41* 42* Copyright jQuery Foundation and other contributors 43* Released under the MIT license. 44* http://jquery.org/license 45*/ 46;var s=az.extend(az.expr.pseudos,{data:az.expr.createPseudo?az.expr.createPseudo(function(aM){return function(aN){return !!az.data(aN,aM)}}):function(aO,aN,aM){return !!az.data(aO,aM[3])}}); 47/*! 48* jQuery UI Disable Selection 1.13.2 49* http://jqueryui.com 50* 51* Copyright jQuery Foundation and other contributors 52* Released under the MIT license. 53* http://jquery.org/license 54*/ 55;var o=az.fn.extend({disableSelection:(function(){var aM="onselectstart" in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(aM+".ui-disableSelection",function(aN){aN.preventDefault()})}})(),enableSelection:function(){return this.off(".ui-disableSelection")}});var b=az; 56/*! 57* jQuery Color Animations v2.2.0 58* https://github.com/jquery/jquery-color 59* 60* Copyright OpenJS Foundation and other contributors 61* Released under the MIT license. 62* http://jquery.org/license 63* 64* Date: Sun May 10 09:02:36 2020 +0200 65*/ 66;var Q="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",ay={},am=ay.toString,z=/^([\-+])=\s*(\d+\.?\d*)/,af=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(aM){return[aM[1],aM[2],aM[3],aM[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(aM){return[aM[1]*2.55,aM[2]*2.55,aM[3]*2.55,aM[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2}
66)?/,parse:function(aM){return[parseInt(aM[1],16),parseInt(aM[2],16),parseInt(aM[3],16),aM[4]?(parseInt(aM[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(aM){return[parseInt(aM[1]+aM[1],16),parseInt(aM[2]+aM[2],16),parseInt(aM[3]+aM[3],16),aM[4]?(parseInt(aM[4]+aM[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(aM){return[aM[1],aM[2]/100,aM[3]/100,aM[4]]}}],u=b.Color=function(aN,aO,aM,aP){return new b.Color.fn.parse(aN,aO,aM,aP)},A={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},n={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},aF=u.support={},ac=b("<p>")[0],au,aJ=b.each;ac.style.cssText="background-color:rgba(1,1,1,.5)";aF.rgba=ac.style.backgroundColor.indexOf("rgba")>-1;aJ(A,function(aM,aN){aN.cache="_"+aM;aN.props.alpha={idx:3,type:"percent",def:1}});b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(aN,aM){ay["[object "+aM+"]"]=aM.toLowerCase()});function v(aM){if(aM==null){return aM+""}return typeof aM==="object"?ay[am.call(aM)]||"object":typeof aM}function aC(aN,aP,aO){var aM=n[aP.type]||{};if(aN==null){return(aO||!aP.def)?null:aP.def}aN=aM.floor?~~aN:parseFloat(aN);if(isNaN(aN)){return aP.def}if(aM.mod){return(aN+aM.mod)%aM.mod}return Math.min(aM.max,Math.max(0,aN))}function D(aM){var aO=u(),aN=aO._rgba=[];aM=aM.toLowerCase();aJ(af,function(aT,aU){var aR,aS=aU.re.exec(aM),aQ=aS&&aU.parse(aS),aP=aU.space||"rgba";if(aQ){aR=aO[aP](aQ);aO[A[aP].cache]=aR[A[aP].cache];aN=aO._rgba=aR._rgba;return false}});if(aN.length){if(aN.join()==="0,0,0,0"){b.extend(aN,au.transparent)}return aO}return au[aM]}u.fn=b.extend(u.prototype,{parse:function(aS,aQ,aM,aR){if(aS===undefined){this._rgba=[null,null,null,null];return this}if(aS.jquery||aS.nodeType){aS=b(aS).css(aQ);aQ=undefined}var aP=this,aO=v(aS),aN=this._rgba=[];if(aQ!==undefined){aS=[aS,aQ,aM,aR];aO="array"}if(aO==="string"){return this.parse(D(aS)||au._default)}if(aO==="array"){aJ(A.rgba.props,function(aT,aU){aN[aU.idx]=aC(aS[aU.idx],aU)});return this}if(aO==="object"){if(aS instanceof u){aJ(A,function(aT,aU){if(aS[aU.cache]){aP[aU.cache]=aS[aU.cache].slice()}})}else{aJ(A,function(aU,aV){var aT=aV.cache;aJ(aV.props,function(aW,aX){if(!aP[aT]&&aV.to){if(aW==="alpha"||aS[aW]==null){return}aP[aT]=aV.to(aP._rgba)}aP[aT][aX.idx]=aC(aS[aW],aX,true)});if(aP[aT]&&b.inArray(null,aP[aT].slice(0,3))<0){if(aP[aT][3]==null){aP[aT][3]=1}if(aV.from){aP._rgba=aV.from(aP[aT])}}})}return this}},is:function(aO){var aM=u(aO),aP=true,aN=this;aJ(A,function(aQ,aS){var aT,aR=aM[aS.cache];if(aR){aT=aN[aS.cache]||aS.to&&aS.to(aN._rgba)||[];aJ(aS.props,function(aU,aV){if(aR[aV.idx]!=null){aP=(aR[aV.idx]===aT[aV.idx]);return aP}})}return aP});return aP},_space:function(){var aM=[],aN=this;aJ(A,function(aO,aP){if(aN[aP.cache]){aM.push(aO)}});return aM.pop()},transition:function(aN,aT){var aO=u(aN),aP=aO._space(),aQ=A[aP],aR=this.alpha()===0?u("transparent"):this,aS=aR[aQ.cache]||aQ.to(aR._rgba),aM=aS.slice();aO=aO[aQ.cache];aJ(aQ.props,function(aY,aZ){var aW=aZ.idx,aV=aS[aW],aU=aO[aW],aX=n[aZ.type]||{};if(aU===null){return}if(aV===null){aM[aW]=aU}else{if(aX.mod){if(aU-aV>aX.mod/2){aV+=aX.mod}else{if(aV-aU>aX.mod/2){aV-=aX.mod}}}aM[aW]=aC((aU-aV)*aT+aV,aZ)}});return this[aP](aM)},blend:function(aP){if(this._rgba[3]===1){return this}var aO=this._rgba.slice(),aN=aO.pop(),aM=u(aP)._rgba;return u(b.map(aO,function(aQ,aR){return(1-aN)*aM[aR]+aN*aQ}))},toRgbaString:function(){var aN="rgba(",aM=b.map(this._rgba,function(aO,aP){if(aO!=null){return aO}return aP>2?1:0});if(aM[3]===1){aM.pop();aN="rgb("}return aN+aM.join()+")"},toHslaString:function(){var aN="hsla(",aM=b.map(this.hsla(),function(aO,aP){if(aO==null){aO=aP>2?1:0}if(aP&&aP<3){aO=Math.round(aO*100)+"%"}return aO});if(aM[3]===1){aM.pop();aN="hsl("}return aN+aM.join()+")"},toHexString:function(aM){var aN=this._rgba.slice(),aO=aN.pop();if(aM){aN.push(~~(aO*255))}return"#"+b.map(aN,function(aP){aP=(aP||0).toString(16);return aP.length===1?"0"+aP:aP}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});u.fn.parse.prototype=u.fn;function k(aO,aN,aM){aM=(aM+1)%1;if(aM*6<1){return aO+(aN-aO)*aM*6}if(aM*2<1){return aN}if(aM*3<2){return aO+(aN-aO)*((2/3)-aM)*6}return aO}A.hsla.to=function(aO){if(aO[0]==null||aO[1]==null||aO[2]==null){return[null,
66null,null,aO[3]]}var aM=aO[0]/255,aR=aO[1]/255,aS=aO[2]/255,aU=aO[3],aT=Math.max(aM,aR,aS),aP=Math.min(aM,aR,aS),aV=aT-aP,aW=aT+aP,aN=aW*0.5,aQ,aX;if(aP===aT){aQ=0}else{if(aM===aT){aQ=(60*(aR-aS)/aV)+360}else{if(aR===aT){aQ=(60*(aS-aM)/aV)+120}else{aQ=(60*(aM-aR)/aV)+240}}}if(aV===0){aX=0}else{if(aN<=0.5){aX=aV/aW}else{aX=aV/(2-aW)}}return[Math.round(aQ)%360,aX,aN,aU==null?1:aU]};A.hsla.from=function(aQ){if(aQ[0]==null||aQ[1]==null||aQ[2]==null){return[null,null,null,aQ[3]]}var aP=aQ[0]/360,aO=aQ[1],aN=aQ[2],aM=aQ[3],aR=aN<=0.5?aN*(1+aO):aN+aO-aN*aO,aS=2*aN-aR;return[Math.round(k(aS,aR,aP+(1/3))*255),Math.round(k(aS,aR,aP)*255),Math.round(k(aS,aR,aP-(1/3))*255),aM]};aJ(A,function(aN,aP){var aO=aP.props,aM=aP.cache,aR=aP.to,aQ=aP.from;u.fn[aN]=function(aW){if(aR&&!this[aM]){this[aM]=aR(this._rgba)}if(aW===undefined){return this[aM].slice()}var aT,aV=v(aW),aS=(aV==="array"||aV==="object")?aW:arguments,aU=this[aM].slice();aJ(aO,function(aX,aZ){var aY=aS[aV==="object"?aX:aZ.idx];if(aY==null){aY=aU[aZ.idx]}aU[aZ.idx]=aC(aY,aZ)});if(aQ){aT=u(aQ(aU));aT[aM]=aU;return aT}else{return u(aU)}};aJ(aO,function(aS,aT){if(u.fn[aS]){return}u.fn[aS]=function(aX){var aV,aZ,aU,aW,aY=v(aX);if(aS==="alpha"){aW=this._hsla?"hsla":"rgba"}else{aW=aN}aV=this[aW]();aZ=aV[aT.idx];if(aY==="undefined"){return aZ}if(aY==="function"){aX=aX.call(this,aZ);aY=v(aX)}if(aX==null&&aT.empty){return this}if(aY==="string"){aU=z.exec(aX);if(aU){aX=aZ+parseFloat(aU[2])*(aU[1]==="+"?1:-1)}}aV[aT.idx]=aX;return this[aW](aV)}})});u.hook=function(aN){var aM=aN.split(" ");aJ(aM,function(aP,aO){b.cssHooks[aO]={set:function(aT,aU){var aR,aS,aQ="";if(aU!=="transparent"&&(v(aU)!=="string"||(aR=D(aU)))){aU=u(aR||aU);if(!aF.rgba&&aU._rgba[3]!==1){aS=aO==="backgroundColor"?aT.parentNode:aT;while((aQ===""||aQ==="transparent")&&aS&&aS.style){try{aQ=b.css(aS,"backgroundColor");aS=aS.parentNode}catch(aV){}}aU=aU.blend(aQ&&aQ!=="transparent"?aQ:"_default")}aU=aU.toRgbaString()}try{aT.style[aO]=aU}catch(aV){}}};b.fx.step[aO]=function(aQ){if(!aQ.colorInit){aQ.start=u(aQ.elem,aO);aQ.end=u(aQ.end);aQ.colorInit=true}b.cssHooks[aO].set(aQ.elem,aQ.start.transition(aQ.end,aQ.pos))}})};u.hook(Q);b.cssHooks.borderColor={expand:function(aN){var aM={};aJ(["Top","Right","Bottom","Left"],function(aP,aO){aM["border"+aO+"Color"]=aN});return aM}};au=b.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}; 67/*! 68* jQuery UI Effects 1.13.2 69* http://jqueryui.com 70* 71* Copyright jQuery Foundation and other contributors 72* Released under the MIT license. 73* http://jquery.org/license 74*/ 75;var w="ui-effects-",an="ui-effects-style",aG="ui-effects-animated";az.effects={effect:{}};(function(){var aN=["add","remove","toggle"],aP={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};az.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(aR,aS){az.fx.step[aS]=function(aT){if(aT.end!=="none"&&!aT.setAttr||aT.pos===1&&!aT.setAttr){b.style(aT.elem,aS,aT.end);aT.setAttr=true}}});function aO(aR){return aR.replace(/-([\da-z])/gi,function(aS,aT){return aT.toUpperCase()})}function aQ(aV){var aS,aR,aT=aV.ownerDocument.defaultView?aV.ownerDocument.defaultView.getComputedStyle(aV,null):aV.currentStyle,aU={};if(aT&&aT.length&&aT[0]&&aT[aT[0]]){aR=aT.length;while(aR--){aS=aT[aR];if(typeof aT[aS]==="string"){aU[aO(aS)]=aT[aS]}}}else{for(aS in aT){if(typeof aT[aS]==="string"){aU[aS]=aT[aS]}}}return aU}function aM(aR,aT){var aV={},aS,aU;for(aS in aT){aU=aT[aS];if(aR[aS]!==aU){if(!aP[aS]){if(az.fx.step[aS]||!isNaN(parseFloat(aU))){aV[aS]=aU}}}}return aV}if(!az.fn.addBack){az.fn.addBack=function(aR){return this.add(aR==null?this.prevObject:this.prevObject.filter(aR))}}az.effects.animateClass=function(aR,aS,aV,aU){var aT=az.speed(aS,aV,aU);return this.queue(function(){var aY=az(this),aW=aY.attr("class")||"",aX,aZ=aT.children?aY.find("*").addBack():aY;aZ=aZ.map(function(){var a0=az(this);return{el:a0,start:aQ(this)}});aX=function(){az.each(aN,function(a0,a1){if(aR[a1]){aY[a1+"Class"](aR[a1])}})};aX();aZ=aZ.map(function(){this.end=aQ(this.el[0]);this.diff=aM(this.start,this.end);return this});aY.attr("class",aW);aZ=aZ.map(function(){var a2=this,a0=az.Deferred(),a1=az.extend({},aT,{queue:false,complete:function(){a0.resolve(a2)}});this.el.animate(this.diff,a1);return a0.promise()});az.when.apply(az,aZ.get()).done(function(){aX();az.each(arguments,function(){var a0=this.el;az.each(this.diff,function(a1){a0.css(a1,"")})});aT.complete.call(aY[0])})})};az.fn.extend({addClass:(function(aR){return function(aT,aS,aV,aU){return aS?az.effects.animateClass.call(this,{add:aT},aS,aV,aU):aR.apply(this,arguments)}})(az.fn.addClass),removeClass:(function(aR){return function(aT,aS,aV,aU){return arguments.length>1?az.effects.animateClass.call(this,{remove:aT},aS,aV,aU):aR.apply(this,arguments)}})(az.fn.removeClass),toggleClass:(function(aR){return function(aU,aT,aS,aW,aV){if(typeof aT
75==="boolean"||aT===undefined){if(!aS){return aR.apply(this,arguments)}else{return az.effects.animateClass.call(this,(aT?{add:aU}:{remove:aU}),aS,aW,aV)}}else{return az.effects.animateClass.call(this,{toggle:aU},aT,aS,aW)}}})(az.fn.toggleClass),switchClass:function(aR,aT,aS,aV,aU){return az.effects.animateClass.call(this,{add:aT,remove:aR},aS,aV,aU)}})})();(function(){if(az.expr&&az.expr.pseudos&&az.expr.pseudos.animated){az.expr.pseudos.animated=(function(aP){return function(aQ){return !!az(aQ).data(aG)||aP(aQ)}})(az.expr.pseudos.animated)}if(az.uiBackCompat!==false){az.extend(az.effects,{save:function(aQ,aS){var aP=0,aR=aS.length;for(;aP<aR;aP++){if(aS[aP]!==null){aQ.data(w+aS[aP],aQ[0].style[aS[aP]])}}},restore:function(aQ,aT){var aS,aP=0,aR=aT.length;for(;aP<aR;aP++){if(aT[aP]!==null){aS=aQ.data(w+aT[aP]);aQ.css(aT[aP],aS)}}},setMode:function(aP,aQ){if(aQ==="toggle"){aQ=aP.is(":hidden")?"show":"hide"}return aQ},createWrapper:function(aQ){if(aQ.parent().is(".ui-effects-wrapper")){return aQ.parent()}var aR={width:aQ.outerWidth(true),height:aQ.outerHeight(true),"float":aQ.css("float")},aU=az("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),aP={width:aQ.width(),height:aQ.height()},aT=document.activeElement;try{aT.id}catch(aS){aT=document.body}aQ.wrap(aU);if(aQ[0]===aT||az.contains(aQ[0],aT)){az(aT).trigger("focus")}aU=aQ.parent();if(aQ.css("position")==="static"){aU.css({position:"relative"});aQ.css({position:"relative"})}else{az.extend(aR,{position:aQ.css("position"),zIndex:aQ.css("z-index")});az.each(["top","left","bottom","right"],function(aV,aW){aR[aW]=aQ.css(aW);if(isNaN(parseInt(aR[aW],10))){aR[aW]="auto"}});aQ.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}aQ.css(aP);return aU.css(aR).show()},removeWrapper:function(aP){var aQ=document.activeElement;if(aP.parent().is(".ui-effects-wrapper")){aP.parent().replaceWith(aP);if(aP[0]===aQ||az.contains(aP[0],aQ)){az(aQ).trigger("focus")}}return aP}})}az.extend(az.effects,{version:"1.13.2",define:function(aP,aR,aQ){if(!aQ){aQ=aR;aR="effect"}az.effects.effect[aP]=aQ;az.effects.effect[aP].mode=aR;return aQ},scaledDimensions:function(aQ,aR,aS){if(aR===0){return{height:0,width:0,outerHeight:0,outerWidth:0}}var aP=aS!=="horizontal"?((aR||100)/100):1,aT=aS!=="vertical"?((aR||100)/100):1;return{height:aQ.height()*aT,width:aQ.width()*aP,outerHeight:aQ.outerHeight()*aT,outerWidth:aQ.outerWidth()*aP}},clipToBox:function(aP){return{width:aP.clip.right-aP.clip.left,height:aP.clip.bottom-aP.clip.top,left:aP.clip.left,top:aP.clip.top}},unshift:function(aQ,aS,aR){var aP=aQ.queue();if(aS>1){aP.splice.apply(aP,[1,0].concat(aP.splice(aS,aR)))}aQ.dequeue()},saveStyle:function(aP){aP.data(an,aP[0].style.cssText)},restoreStyle:function(aP){aP[0].style.cssText=aP.data(an)||"";aP.removeData(an)},mode:function(aP,aR){var aQ=aP.is(":hidden");if(aR==="toggle"){aR=aQ?"show":"hide"}if(aQ?aR==="hide":aR==="show"){aR="none"}return aR},getBaseline:function(aQ,aR){var aS,aP;switch(aQ[0]){case"top":aS=0;break;case"middle":aS=0.5;break;case"bottom":aS=1;break;default:aS=aQ[0]/aR.height}switch(aQ[1]){case"left":aP=0;break;case"center":aP=0.5;break;case"right":aP=1;break;default:aP=aQ[1]/aR.width}return{x:aP,y:aS}},createPlaceholder:function(aQ){var aS,aR=aQ.css("position"),aP=aQ.position();aQ.css({marginTop:aQ.css("marginTop"),marginBottom:aQ.css("marginBottom"),marginLeft:aQ.css("marginLeft"),marginRight:aQ.css("marginRight")}).outerWidth(aQ.outerWidth()).outerHeight(aQ.outerHeight());if(/^(static|relative)/.test(aR)){aR="absolute";aS=az("<"+aQ[0].nodeName+">").insertAfter(aQ).css({display:/^(inline|ruby)/.test(aQ.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:aQ.css("marginTop"),marginBottom:aQ.css("marginBottom"),marginLeft:aQ.css("marginLeft"),marginRight:aQ.css("marginRight"),"float":aQ.css("float")}).outerWidth(aQ.outerWidth()).outerHeight(aQ.outerHeight()).addClass("ui-effects-placeholder");aQ.data(w+"placeholder",aS)}aQ.css({position:aR,left:aP.left,top:aP.top});return aS},removePlaceholder:function(aP){var aR=w+"placeholder",aQ=aP.data(aR);if(aQ){aQ.remove();aP.removeData(aR)}},cleanUp:function(aP){az.effects.restoreStyle(aP);az.effects.removePlaceholder(aP)},setTransition:function(aQ,aS,aP,aR){aR=aR||{};az.each(aS,function(aU,aT){var aV=aQ.cssUnit(aT);if(aV[0]>0){aR[aT]=aV[0]*aP+aV[1]}});return aR}});function aN(aQ,aP,aR,aS){if(az.isPlainObject(aQ)){aP=aQ;aQ=aQ.effect}aQ={effect:aQ};if(aP==null){aP={}}if(typeof aP==="function"){aS=aP;aR=null;aP={}}if(typeof aP==="number"||az.fx.speeds[aP]){aS=aR;aR=aP;aP={}}if(typeof aR==="function"){aS=aR;aR=null}if(aP){az.extend(aQ,aP)}aR=aR||aP.duration;aQ.duration=az.fx.off?0:typeof aR==="number"?aR:aR in az.fx.speeds?az.fx.speeds[aR]:az.fx.speeds._default;aQ.complete=aS||aP.complete;return aQ}function aO(aP){if(!aP||typeof aP==="number"||az.fx.speeds[aP]){return true}if(typeof aP==="string"&&!az.effects.effect[aP]){return true}if(typeof aP==="function"){return true}if(typeof aP==="object"&&!aP.effect){return true}return false}az.fn.extend({effect:function(){var aX=aN.apply(this,arguments),aW=az.effects.effect[aX.effect],aT=aW.mode,aV=aX.queue,aS=aV||"fx",aP=aX.complete,aU=aX.mode,aQ=[],aY=function(a1){var a0=az(this),aZ=az.effects.mode(a0,aU)||aT;a0.data(aG,true);aQ.push(aZ);if(aT&&(aZ==="show"||(aZ===aT&&aZ==="hide"))){a0.show()}if(!aT||aZ!=="none"){az.effects.saveStyle(a0)}if(typeof a1==="function"){a1()}};if(az.fx.off||!aW){if(aU){return this[aU](aX.duration,aP)}else{return this.each(function(){if(aP){aP.call(this)}})}}function aR(a1){var a2=az(this);function a0(){a2.removeData(aG);az.effects.cleanUp(a2);if(aX.mode==="hide"){a2.hide()}aZ()}
75function aZ(){if(typeof aP==="function"){aP.call(a2[0])}if(typeof a1==="function"){a1()}}aX.mode=aQ.shift();if(az.uiBackCompat!==false&&!aT){if(a2.is(":hidden")?aU==="hide":aU==="show"){a2[aU]();aZ()}else{aW.call(a2[0],aX,aZ)}}else{if(aX.mode==="none"){a2[aU]();aZ()}else{aW.call(a2[0],aX,a0)}}}return aV===false?this.each(aY).each(aR):this.queue(aS,aY).queue(aS,aR)},show:(function(aP){return function(aR){if(aO(aR)){return aP.apply(this,arguments)}else{var aQ=aN.apply(this,arguments);aQ.mode="show";return this.effect.call(this,aQ)}}})(az.fn.show),hide:(function(aP){return function(aR){if(aO(aR)){return aP.apply(this,arguments)}else{var aQ=aN.apply(this,arguments);aQ.mode="hide";return this.effect.call(this,aQ)}}})(az.fn.hide),toggle:(function(aP){return function(aR){if(aO(aR)||typeof aR==="boolean"){return aP.apply(this,arguments)}else{var aQ=aN.apply(this,arguments);aQ.mode="toggle";return this.effect.call(this,aQ)}}})(az.fn.toggle),cssUnit:function(aP){var aQ=this.css(aP),aR=[];az.each(["em","px","%","pt"],function(aS,aT){if(aQ.indexOf(aT)>0){aR=[parseFloat(aQ),aT]}});return aR},cssClip:function(aP){if(aP){return this.css("clip","rect("+aP.top+"px "+aP.right+"px "+aP.bottom+"px "+aP.left+"px)")}return aM(this.css("clip"),this)},transfer:function(a0,aS){var aU=az(this),aW=az(a0.to),aZ=aW.css("position")==="fixed",aV=az("body"),aX=aZ?aV.scrollTop():0,aY=aZ?aV.scrollLeft():0,aP=aW.offset(),aR={top:aP.top-aX,left:aP.left-aY,height:aW.innerHeight(),width:aW.innerWidth()},aT=aU.offset(),aQ=az("<div class='ui-effects-transfer'></div>");aQ.appendTo("body").addClass(a0.className).css({top:aT.top-aX,left:aT.left-aY,height:aU.innerHeight(),width:aU.innerWidth(),position:aZ?"fixed":"absolute"}).animate(aR,a0.duration,a0.easing,function(){aQ.remove();if(typeof aS==="function"){aS()}})}});function aM(aU,aR){var aT=aR.outerWidth(),aS=aR.outerHeight(),aQ=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,aP=aQ.exec(aU)||["",0,aT,aS,0];return{top:parseFloat(aP[1])||0,right:aP[2]==="auto"?aT:parseFloat(aP[2]),bottom:aP[3]==="auto"?aS:parseFloat(aP[3]),left:parseFloat(aP[4])||0}}az.fx.step.clip=function(aP){if(!aP.clipInit){aP.start=az(aP.elem).cssClip();
75if(typeof aP.end==="string"){aP.end=aM(aP.end,aP.elem)}aP.clipInit=true}az(aP.elem).cssClip({top:aP.pos*(aP.end.top-aP.start.top)+aP.start.top,right:aP.pos*(aP.end.right-aP.start.right)+aP.start.right,bottom:aP.pos*(aP.end.bottom-aP.start.bottom)+aP.start.bottom,left:aP.pos*(aP.end.left-aP.start.left)+aP.start.left})}})();(function(){var aM={};az.each(["Quad","Cubic","Quart","Quint","Expo"],function(aO,aN){aM[aN]=function(aP){return Math.pow(aP,aO+2)}});az.extend(aM,{Sine:function(aN){return 1-Math.cos(aN*Math.PI/2)},Circ:function(aN){return 1-Math.sqrt(1-aN*aN)},Elastic:function(aN){return aN===0||aN===1?aN:-Math.pow(2,8*(aN-1))*Math.sin(((aN-1)*80-7.5)*Math.PI/15)},Back:function(aN){return aN*aN*(3*aN-2)},Bounce:function(aP){var aN,aO=4;while(aP<((aN=Math.pow(2,--aO))-1)/11){}return 1/Math.pow(4,3-aO)-7.5625*Math.pow((aN*3-2)/22-aP,2)}});az.each(aM,function(aO,aN){az.easing["easeIn"+aO]=aN;az.easing["easeOut"+aO]=function(aP){return 1-aN(1-aP)};az.easing["easeInOut"+aO]=function(aP){return aP<0.5?aN(aP*2)/2:1-aN(aP*-2+2)/2}})})();var N=az.effects; 76/*! 77* jQuery UI Effects Blind 1.13.2 78* http://jqueryui.com 79* 80* Copyright jQuery Foundation and other contributors 81* Released under the MIT license. 82* http://jquery.org/license 83*/ 84;var K=az.effects.define("blind","hide",function(aO,aM){var aR={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},aP=az(this),aQ=aO.direction||"up",aT=aP.cssClip(),aN={clip:az.extend({},aT)},aS=az.effects.createPlaceholder(aP);aN.clip[aR[aQ][0]]=aN.clip[aR[aQ][1]];if(aO.mode==="show"){aP.cssClip(aN.clip);if(aS){aS.css(az.effects.clipToBox(aN))}aN.clip=aT}if(aS){aS.animate(az.effects.clipToBox(aN),aO.duration,aO.easing)}aP.animate(aN,{queue:false,duration:aO.duration,easing:aO.easing,complete:aM})}); 85/*! 86* jQuery UI Effects Bounce 1.13.2 87* http://jqueryui.com 88* 89* Copyright jQuery Foundation and other contributors 90* Released under the MIT license. 91* http://jquery.org/license 92*/ 93;var F=az.effects.define("bounce",function(aN,aU){var aQ,aY,a1,aM=az(this),aT=aN.mode,aS=aT==="hide",a2=aT==="show",a3=aN.direction||"up",aO=aN.distance,aR=aN.times||5,a4=aR*2+(a2||aS?1:0),a0=aN.duration/a4,aW=aN.easing,aP=(a3==="up"||a3==="down")?"top":"left",aV=(a3==="up"||a3==="left"),aZ=0,aX=aM.queue().length;az.effects.createPlaceholder(aM);a1=aM.css(aP);if(!aO){aO=aM[aP==="top"?"outerHeight":"outerWidth"]()/3}if(a2){aY={opacity:1};aY[aP]=a1;aM.css("opacity",0).css(aP,aV?-aO*2:aO*2).animate(aY,a0,aW)}if(aS){aO=aO/Math.pow(2,aR-1)}aY={};aY[aP]=a1;for(;aZ<aR;aZ++){aQ={};aQ[aP]=(aV?"-=":"+=")+aO;aM.animate(aQ,a0,aW).animate(aY,a0,aW);aO=aS?aO*2:aO/2}if(aS){aQ={opacity:0};aQ[aP]=(aV?"-=":"+=")+aO;aM.animate(aQ,a0,aW)}aM.queue(aU);az.effects.unshift(aM,aX,a4+1)}); 94/*! 95* jQuery UI Effects Clip 1.13.2 96* http://jqueryui.com 97* 98* Copyright jQuery Foundation and other contributors 99* Released under the MIT license. 100* http://jquery.org/license 101*/ 102;var ao=az.effects.define("clip","hide",function(aU,aQ){var aN,aO={},aR=az(this),aT=aU.direction||"vertical",aS=aT==="both",aM=aS||aT==="horizontal",aP=aS||aT==="vertical";aN=aR.cssClip();aO.clip={top:aP?(aN.bottom-aN.top)/2:aN.top,right:aM?(aN.right-aN.left)/2:aN.right,bottom:aP?(aN.bottom-aN.top)/2:aN.bottom,left:aM?(aN.right-aN.left)/2:aN.left};az.effects.createPlaceholder(aR);if(aU.mode==="show"){aR.cssClip(aO.clip);aO.clip=aN}aR.animate(aO,{queue:false,duration:aU.duration,easing:aU.easing,complete:aQ})}); 103/*! 104* jQuery UI Effects Drop 1.13.2 105* http://jqueryui.com 106* 107* Copyright jQuery Foundation and other contributors 108* Released under the MIT license. 109* http://jquery.org/license 110*/ 111;var ad=az.effects.define("drop","hide",function(aW,aP){var aM,aQ=az(this),aS=aW.mode,aU=aS==="show",aT=aW.direction||"left",aN=(aT==="up"||aT==="down")?"top":"left",aV=(aT==="up"||aT==="left")?"-=":"+=",aR=(aV==="+=")?"-=":"+=",aO={opacity:0};az.effects.createPlaceholder(aQ);aM=aW.distance||aQ[aN==="top"?"outerHeight":"outerWidth"](true)/2;aO[aN]=aV+aM;if(aU){aQ.css(aO);aO[aN]=aR+aM;aO.opacity=1}aQ.animate(aO,{queue:false,duration:aW.duration,easing:aW.easing,complete:aP})}); 112/*! 113* jQuery UI Effects Explode 1.13.2 114* http://jqueryui.com 115* 116* Copyright jQuery Foundation and other contributors 117* Released under the MIT license. 118* http://jquery.org/license 119*/ 120;var aK=az.effects.define("explode","hide",function(aN,aZ){var a2,a1,aP,aX,aW,aU,aT=aN.pieces?Math.round(Math.sqrt(aN.pieces)):3,aO=aT,aM=az(this),aV=aN.mode,a3=aV==="show",aR=aM.show().css("visibility","hidden").offset(),a0=Math.ceil(aM.outerWidth()/aO),aY=Math.ceil(aM.outerHeight()/aT),aS=[];function a4(){aS.push(this);if(aS.length===aT*aO){aQ()}}for(a2=0;a2<aT;a2++){aX=aR.top+a2*aY;aU=a2-(aT-1)/2;for(a1=0;a1<aO;a1++){aP=aR.left+a1*a0;aW=a1-(aO-1)/2;aM.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a1*a0,top:-a2*aY}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",
120width:a0,height:aY,left:aP+(a3?aW*a0:0),top:aX+(a3?aU*aY:0),opacity:a3?0:1}).animate({left:aP+(a3?0:aW*a0),top:aX+(a3?0:aU*aY),opacity:a3?1:0},aN.duration||500,aN.easing,a4)}}function aQ(){aM.css({visibility:"visible"});az(aS).remove();aZ()}}); 121/*! 122* jQuery UI Effects Fade 1.13.2 123* http://jqueryui.com 124* 125* Copyright jQuery Foundation and other contributors 126* Released under the MIT license. 127* http://jquery.org/license 128*/ 129;var aL=az.effects.define("fade","toggle",function(aO,aN){var aM=aO.mode==="show";az(this).css("opacity",aM?0:1).animate({opacity:aM?1:0},{queue:false,duration:aO.duration,easing:aO.easing,complete:aN})}); 130/*! 131* jQuery UI Effects Fold 1.13.2 132* http://jqueryui.com 133* 134* Copyright jQuery Foundation and other contributors 135* Released under the MIT license. 136* http://jquery.org/license 137*/ 138;var x=az.effects.define("fold","hide",function(a2,aR){var aS=az(this),aT=a2.mode,aZ=aT==="show",aU=aT==="hide",a1=a2.size||15,aV=/([0-9]+)%/.exec(a1),a0=!!a2.horizFirst,aP=a0?["right","bottom"]:["bottom","right"],aQ=a2.duration/2,aY=az.effects.createPlaceholder(aS),aN=aS.cssClip(),aX={clip:az.extend({},aN)},aW={clip:az.extend({},aN)},aM=[aN[aP[0]],aN[aP[1]]],aO=aS.queue().length;if(aV){a1=parseInt(aV[1],10)/100*aM[aU?0:1]}aX.clip[aP[0]]=a1;aW.clip[aP[0]]=a1;aW.clip[aP[1]]=0;if(aZ){aS.cssClip(aW.clip);if(aY){aY.css(az.effects.clipToBox(aW))}aW.clip=aN}aS.queue(function(a3){if(aY){aY.animate(az.effects.clipToBox(aX),aQ,a2.easing).animate(az.effects.clipToBox(aW),aQ,a2.easing)}a3()}).animate(aX,aQ,a2.easing).animate(aW,aQ,a2.easing).queue(aR);az.effects.unshift(aS,aO,4)}); 139/*! 140* jQuery UI Effects Highlight 1.13.2 141* http://jqueryui.com 142* 143* Copyright jQuery Foundation and other contributors 144* Released under the MIT license. 145* http://jquery.org/license 146*/ 147;var P=az.effects.define("highlight","show",function(aN,aM){var aO=az(this),aP={backgroundColor:aO.css("backgroundColor")};if(aN.mode==="hide"){aP.opacity=0}az.effects.saveStyle(aO);aO.css({backgroundImage:"none",backgroundColor:aN.color||"#ffff99"}).animate(aP,{queue:false,duration:aN.duration,easing:aN.easing,complete:aM})}); 148/*! 149* jQuery UI Effects Size 1.13.2 150* http://jqueryui.com 151* 152* Copyright jQuery Foundation and other contributors 153* Released under the MIT license. 154* http://jquery.org/license 155*/ 156;var aa=az.effects.define("size",function(aP,aV){var aT,aU,aZ,aM=az(this),aR=["fontSize"],a0=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],aO=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],aS=aP.mode,aY=aS!=="effect",a3=aP.scale||"both",a1=aP.origin||["middle","center"],a2=aM.css("position"),aQ=aM.position(),aW=az.effects.scaledDimensions(aM),aX=aP.from||aW,aN=aP.to||az.effects.scaledDimensions(aM,0);az.effects.createPlaceholder(aM);if(aS==="show"){aZ=aX;aX=aN;aN=aZ}aU={from:{y:aX.height/aW.height,x:aX.width/aW.width},to:{y:aN.height/aW.height,x:aN.width/aW.width}};if(a3==="box"||a3==="both"){if(aU.from.y!==aU.to.y){aX=az.effects.setTransition(aM,a0,aU.from.y,aX);aN=az.effects.setTransition(aM,a0,aU.to.y,aN)}if(aU.from.x!==aU.to.x){aX=az.effects.setTransition(aM,aO,aU.from.x,aX);aN=az.effects.setTransition(aM,aO,aU.to.x,aN)}}if(a3==="content"||a3==="both"){if(aU.from.y!==aU.to.y){aX=az.effects.setTransition(aM,aR,aU.from.y,aX);aN=az.effects.setTransition(aM,aR,aU.to.y,aN)}}if(a1){aT=az.effects.getBaseline(a1,aW);aX.top=(aW.outerHeight-aX.outerHeight)*aT.y+aQ.top;aX.left=(aW.outerWidth-aX.outerWidth)*aT.x+aQ.left;aN.top=(aW.outerHeight-aN.outerHeight)*aT.y+aQ.top;aN.left=(aW.outerWidth-aN.outerWidth)*aT.x+aQ.left}delete aX.outerHeight;delete aX.outerWidth;aM.css(aX);if(a3==="content"||a3==="both"){a0=a0.concat(["marginTop","marginBottom"]).concat(aR);aO=aO.concat(["marginLeft","marginRight"]);aM.find("*[width]").each(function(){var a7=az(this),a4=az.effects.scaledDimensions(a7),a6={height:a4.height*aU.from.y,width:a4.width*aU.from.x,outerHeight:a4.outerHeight*aU.from.y,outerWidth:a4.outerWidth*aU.from.x},a5={height:a4.height*aU.to.y,width:a4.width*aU.to.x,outerHeight:a4.height*aU.to.y,outerWidth:a4.width*aU.to.x};if(aU.from.y!==aU.to.y){a6=az.effects.setTransition(a7,a0,aU.from.y,a6);a5=az.effects.setTransition(a7,a0,aU.to.y,a5)}if(aU.from.x!==aU.to.x){a6=az.effects.setTransition(a7,aO,aU.from.x,a6);a5=az.effects.setTransition(a7,aO,aU.to.x,a5)}if(aY){az.effects.saveStyle(a7)}a7.css(a6);a7.animate(a5,aP.duration,aP.easing,function(){if(aY){az.effects.restoreStyle(a7)}})})}aM.animate(aN,{queue:false,duration:aP.duration,easing:aP.easing,complete:function(){var a4=aM.offset();if(aN.opacity===0){aM.css("opacity",aX.opacity)}if(!aY){aM.css("position",a2==="static"?"relative":a2).offset(a4);az.effects.saveStyle(aM)}aV()}})}); 157/*! 158* jQuery UI Effects Scale 1.13.2 159* http://jqueryui.com 160* 161* Copyright jQuery Foundation and other contributors 162* Released under the MIT license. 163* http://jquery.org/license 164*/ 165;var W=az.effects.define("scale",function(aN,aM){var aO=az(this),aR=aN.mode,aP=parseInt(aN.percent,10)||(parseInt(aN.percent,10)===0?0:(aR!=="effect"?0:100)),aQ=az.extend(true,{from:az.effects.scaledDimensions(aO),to:az.effects.scaledDimensions(aO,aP,aN.direction||"both"),origin:aN.origin||["middle","center"]},aN);if(aN.fade){aQ.from.opacity=1;aQ.to.opacity=0}az.effects.effect.size.call(this,aQ,aM)}); 166/*! 167* jQuery UI Effects Puff 1.13.2 168* http://jqueryui.com 169* 170* Copyright jQuery Foundation and other contributors 171* Released under the MIT license. 172* http://jquery.org/license 173*/ 174;var G=az.effects.define("puff","hide",function(aN,aM){var aO=az.extend(true,{},aN,{fade:true,percent:parseInt(aN.percent,10)||150});az.effects.effect.scale.call(this,aO,aM)}); 175/*! 176* jQuery UI Effects Pulsate 1.13.2 177* http://jqueryui.com 178* 179* Copyright jQuery Foundation and other contributors 180* Released under the MIT license. 181* http://jquery.org/license 182*/ 183;var C=az.effects.define("pulsate","show",function(aX,aO){var aQ=az(this),aR=aX.mode,aV=aR==="show",aS=aR==="hide",aW=aV||aS,aT=((aX.times||5)*2)+(aW?1:0),aN=aX.duration/aT,aU=0,aP=1,aM=aQ.queue().length;if(aV||!aQ.is(":visible")){aQ.css("opacity",0).show();aU=1}for(;aP<aT;aP++){aQ.animate({opacity:aU},aN,aX.easing);aU=1-aU}aQ.animate({opacity:aU},aN,aX.easing);aQ.queue(aO);az.effects.unshift(aQ,aM,aT+1)}); 184/*! 185* jQuery UI Effects Shake 1.13.2 186* http://jqueryui.com 187* 188* Copyright jQuery Foundation and other contributors 189* Released under the MIT license. 190* http://jquery.org/license 191*/ 192;var av=az.effects.define("shake",function(a0,aT){var aU=1,aV=az(this),aX=a0.direction||"left",aM=a0.distance||20,aN=a0.times||3,aY=
192aN*2+1,aR=Math.round(a0.duration/aY),aQ=(aX==="up"||aX==="down")?"top":"left",aO=(aX==="up"||aX==="left"),aS={},aZ={},aW={},aP=aV.queue().length;az.effects.createPlaceholder(aV);aS[aQ]=(aO?"-=":"+=")+aM;aZ[aQ]=(aO?"+=":"-=")+aM*2;aW[aQ]=(aO?"-=":"+=")+aM*2;aV.animate(aS,aR,a0.easing);for(;aU<aN;aU++){aV.animate(aZ,aR,a0.easing).animate(aW,aR,a0.easing)}aV.animate(aZ,aR,a0.easing).animate(aS,aR/2,a0.easing).queue(aT);az.effects.unshift(aV,aP,aY+1)}); 193/*! 194* jQuery UI Effects Slide 1.13.2 195* http://jqueryui.com 196* 197* Copyright jQuery Foundation and other contributors 198* Released under the MIT license. 199* http://jquery.org/license 200*/ 201;var at=az.effects.define("slide","show",function(aX,aT){var aQ,aN,aU=az(this),aO={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},aV=aX.mode,aW=aX.direction||"left",aR=(aW==="up"||aW==="down")?"top":"left",aP=(aW==="up"||aW==="left"),aM=aX.distance||aU[aR==="top"?"outerHeight":"outerWidth"](true),aS={};az.effects.createPlaceholder(aU);aQ=aU.cssClip();aN=aU.position()[aR];aS[aR]=(aP?-1:1)*aM+aN;aS.clip=aU.cssClip();aS.clip[aO[aW][1]]=aS.clip[aO[aW][0]];if(aV==="show"){aU.cssClip(aS.clip);aU.css(aR,aS[aR]);aS.clip=aQ;aS[aR]=aN}aU.animate(aS,{queue:false,duration:aX.duration,easing:aX.easing,complete:aT})}); 202/*! 203* jQuery UI Effects Transfer 1.13.2 204* http://jqueryui.com 205* 206* Copyright jQuery Foundation and other contributors 207* Released under the MIT license. 208* http://jquery.org/license 209*/ 210;var N;if(az.uiBackCompat!==false){N=az.effects.define("transfer",function(aN,aM){az(this).transfer(aN,aM)})}var U=N; 211/*! 212* jQuery UI Focusable 1.13.2 213* http://jqueryui.com 214* 215* Copyright jQuery Foundation and other contributors 216* Released under the MIT license. 217* http://jquery.org/license 218*/ 219;az.ui.focusable=function(aP,aN){var aS,aQ,aO,aR,aM,aT=aP.nodeName.toLowerCase();if("area"===aT){aS=aP.parentNode;aQ=aS.name;if(!aP.href||!aQ||aS.nodeName.toLowerCase()!=="map"){return false}aO=az("img[usemap='#"+aQ+"']");return aO.length>0&&aO.is(":visible")}if(/^(input|select|textarea|button|object)$/.test(aT)){aR=!aP.disabled;if(aR){aM=az(aP).closest("fieldset")[0];if(aM){aR=!aM.disabled}}}else{if("a"===aT){aR=aP.href||aN}else{aR=aN}}return aR&&az(aP).is(":visible")&&q(az(aP))};function q(aN){var aM=aN.css("visibility");while(aM==="inherit"){aN=aN.parent();aM=aN.css("visibility")}return aM==="visible"}az.extend(az.expr.pseudos,{focusable:function(aM){return az.ui.focusable(aM,az.attr(aM,"tabindex")!=null)}});var aI=az.ui.focusable;var h=az.fn._form=function(){return typeof this[0].form==="string"?this.closest("form"):az(this[0].form)}; 220/*! 221* jQuery UI Form Reset Mixin 1.13.2 222* http://jqueryui.com 223* 224* Copyright jQuery Foundation and other contributors 225* Released under the MIT license. 226* http://jquery.org/license 227*/ 228;var V=az.ui.formResetMixin={_formResetHandler:function(){var aM=az(this);setTimeout(function(){var aN=aM.data("ui-form-reset-instances");az.each(aN,function(){this.refresh()})})},_bindFormResetHandler:function(){this.form=this.element._form();if(!this.form.length){return}var aM=this.form.data("ui-form-reset-instances")||[];if(!aM.length){this.form.on("reset.ui-form-reset",this._formResetHandler)}aM.push(this);this.form.data("ui-form-reset-instances",aM)},_unbindFormResetHandler:function(){if(!this.form.length){return}var aM=this.form.data("ui-form-reset-instances");aM.splice(az.inArray(this,aM),1);if(aM.length){this.form.data("ui-form-reset-instances",aM)}else{this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}; 229/*! 230* jQuery UI Support for jQuery core 1.8.x and newer 1.13.2 231* http://jqueryui.com 232* 233* Copyright jQuery Foundation and other contributors 234* Released under the MIT license. 235* http://jquery.org/license 236* 237*/ 238;if(!az.expr.pseudos){az.expr.pseudos=az.expr[":"]}if(!az.uniqueSort){az.uniqueSort=az.unique}if(!az.escapeSelector){var ax=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;var S=function(aN,aM){if(aM){if(aN==="\0"){return"\uFFFD"}return aN.slice(0,-1)+"\\"+aN.charCodeAt(aN.length-1).toString(16)+" "}return"\\"+aN};az.escapeSelector=function(aM){return(aM+"").replace(ax,S)}}if(!az.fn.even||!az.fn.odd){az.fn.extend({even:function(){return this.filter(function(aM){return aM%2===0})},odd:function(){return this.filter(function(aM){return aM%2===1})}})} 239/*!
240* jQuery UI Keycode 1.13.2 241* http://jqueryui.com 242* 243* Copyright jQuery Foundation and other contributors 244* Released under the MIT license. 245* http://jquery.org/license 246*/ 247;var p=az.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}; 248/*! 249* jQuery UI Labels 1.13.2 250* http://jqueryui.com 251* 252* Copyright jQuery Foundation and other contributors 253* Released under the MIT license. 254* http://jquery.org/license 255*/ 256;var aB=az.fn.labels=function(){var aN,aM,aQ,aP,aO;if(!this.length){return this.pushStack([])}if(this[0].labels&&this[0].labels.length){return this.pushStack(this[0].labels)}aP=this.eq(0).parents("label");aQ=this.attr("id");if(aQ){aN=this.eq(0).parents().last();aO=aN.add(aN.length?aN.siblings():this.siblings());aM="label[for='"+az.escapeSelector(aQ)+"']";aP=aP.add(aO.find(aM).addBack(aM))}return this.pushStack(aP)}; 257/*! 258* jQuery UI Scroll Parent 1.13.2 259* http://jqueryui.com 260* 261* Copyright jQuery Foundation and other contributors 262* Released under the MIT license. 263* http://jquery.org/license 264*/ 265;var ai=az.fn.scrollParent=function(aO){var aN=this.css("position"),aM=aN==="absolute",aP=aO?/(auto|scroll|hidden)/:/(auto|scroll)/,aQ=this.parents().filter(function(){var aR=az(this);if(aM&&aR.css("position")==="static"){return false}return aP.test(aR.css("overflow")+aR.css("overflow-y")+aR.css("overflow-x"))}).eq(0);return aN==="fixed"||!aQ.length?az(this[0].ownerDocument||document):aQ}; 266/*! 267* jQuery UI Tabbable 1.13.2 268* http://jqueryui.com 269* 270* Copyright jQuery Foundation and other contributors 271* Released under the MIT license. 272* http://jquery.org/license 273*/ 274;var f=az.extend(az.expr.pseudos,{tabbable:function(aO){var aN=az.attr(aO,"tabindex"),aM=aN!=null;return(!aM||aN>=0)&&az.ui.focusable(aO,aM)}}); 275/*! 276* jQuery UI Unique ID 1.13.2 277* http://jqueryui.com 278* 279* Copyright jQuery Foundation and other contributors 280* Released under the MIT license. 281* http://jquery.org/license 282*/ 283;var aj=az.fn.extend({uniqueId:(function(){var aM=0;return function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++aM)}})}})(),removeUniqueId:function(){return this.each(function(){if(/^ui-id-\d+$/.test(this.id)){az(this).removeAttr("id")}})}}); 284/*! 285* jQuery UI Accordion 1.13.2 286* http://jqueryui.com 287* 288* Copyright jQuery Foundation and other contributors 289* Released under the MIT license. 290* http://jquery.org/license 291*/ 292;var d=az.widget("ui.accordion",{version:"1.13.2",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:false,event:"click",header:function(aM){return aM.find("> li > :first-child").add(aM.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var aM=this.options;this.prevShow=this.prevHide=az();this._addClass("ui-accordion","ui-widget ui-helper-reset");this.element.attr("role","tablist");if(!aM.collapsible&&(aM.active===false||aM.active==null)){aM.active=0}this._processPanels();if(aM.active<0){aM.active+=this.headers.length}this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:!this.active.length?az():this.active.next()}},_createIcons:function(){var aO,aN,aM=this.options.icons;if(aM){aO=az("<span>");this._addClass(aO,"ui-accordion-header-icon","ui-icon "+aM.header);aO.prependTo(this.headers);aN=this.active.children(".ui-accordion-header-icon");this._removeClass(aN,aM.header)._addClass(aN,null,aM.activeHeader)._addClass(this.headers,"ui-accordion-icons")}},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons");this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var aM;this.element.removeAttr("role");this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId();this._destroyIcons();aM=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId();if(this.options.heightStyle!=="content"){aM.css("height","")}},_setOption:function(aM,aN){if(aM==="active"){this._activate(aN);return}if(aM==="event"){if(this.options.event){this._off(this.headers,this.options.event)}this._setupEvents(aN)}this._super(aM,aN);if(aM==="collapsible"&&!aN&&this.options.active===false){this._activate(0)}
292if(aM==="icons"){this._destroyIcons();if(aN){this._createIcons()}}},_setOptionDisabled:function(aM){this._super(aM);this.element.attr("aria-disabled",aM);this._toggleClass(null,"ui-state-disabled",!!aM);this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!aM)},_keydown:function(aP){if(aP.altKey||aP.ctrlKey){return}var aQ=az.ui.keyCode,aO=this.headers.length,aM=this.headers.index(aP.target),aN=false;switch(aP.keyCode){case aQ.RIGHT:case aQ.DOWN:aN=this.headers[(aM+1)%aO];break;case aQ.LEFT:case aQ.UP:aN=this.headers[(aM-1+aO)%aO];break;case aQ.SPACE:case aQ.ENTER:this._eventHandler(aP);break;case aQ.HOME:aN=this.headers[0];break;case aQ.END:aN=this.headers[aO-1];break}if(aN){az(aP.target).attr("tabIndex",-1);az(aN).attr("tabIndex",0);az(aN).trigger("focus");aP.preventDefault()}},_panelKeyDown:function(aM){if(aM.keyCode===az.ui.keyCode.UP&&aM.ctrlKey){az(aM.currentTarget).prev().trigger("focus")}},refresh:function(){var aM=this.options;this._processPanels();if((aM.active===false&&aM.collapsible===true)||!this.headers.length){aM.active=false;this.active=az()}else{if(aM.active===false){this._activate(0)}else{if(this.active.length&&!az.contains(this.element[0],this.active[0])){if(this.headers.length===this.headers.find(".ui-state-disabled").length){aM.active=false;this.active=az()}else{this._activate(Math.max(0,aM.active-1))}}else{aM.active=this.headers.index(this.active)}}}this._destroyIcons();this._refresh()},_processPanels:function(){var aN=this.headers,aM=this.panels;if(typeof this.options.header==="function"){this.headers=this.options.header(this.element)}else{this.headers=this.element.find(this.options.header)}this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default");this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide();this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content");if(aM){this._off(aN.not(this.headers));this._off(aM.not(this.panels))}},_refresh:function(){var aP,aN=this.options,aM=aN.heightStyle,aO=this.element.parent();this.active=this._findActive(aN.active);this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed");this._addClass(this.active.next(),"ui-accordion-content-active");this.active.next().show();this.headers.attr("role","tab").each(function(){var aT=az(this),aS=aT.uniqueId().attr("id"),aQ=aT.next(),aR=aQ.uniqueId().attr("id");aT.attr("aria-controls",aR);aQ.attr("aria-labelledby",aS)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"})}this._createIcons();this._setupEvents(aN.event);if(aM==="fill"){aP=aO.height();this.element.siblings(":visible").each(function(){var aR=az(this),aQ=aR.css("position");if(aQ==="absolute"||aQ==="fixed"){return}aP-=aR.outerHeight(true)});this.headers.each(function(){aP-=az(this).outerHeight(true)});this.headers.next().each(function(){az(this).height(Math.max(0,aP-az(this).innerHeight()+az(this).height()))}).css("overflow","auto")}else{if(aM==="auto"){aP=0;this.headers.next().each(function(){var aQ=az(this).is(":visible");if(!aQ){az(this).show()}aP=Math.max(aP,az(this).css("height","").height());if(!aQ){az(this).hide()}}).height(aP)}}},_activate:function(aM){var aN=this._findActive(aM)[0];if(aN===this.active[0]){return}aN=aN||this.active[0];this._eventHandler({target:aN,currentTarget:aN,preventDefault:az.noop})},_findActive:function(aM){return typeof aM==="number"?this.headers.eq(aM):az()},_setupEvents:function(aN){var aM={keydown:"_keydown"};if(aN){az.each(aN.split(" "),function(aP,aO){aM[aO]="_eventHandler"})}this._off(this.headers.add(this.headers.next()));this._on(this.headers,aM);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(aN){var aO,aP,aW=this.options,aR=this.active,aS=az(aN.currentTarget),aU=aS[0]===aR[0],aQ=aU&&aW.collapsible,aM=aQ?az():aS.next(),aT=aR.next(),aV={oldHeader:aR,oldPanel:aT,newHeader:aQ?az():aS,newPanel:aM};aN.preventDefault();if((aU&&!aW.collapsible)||(this._trigger("beforeActivate",aN,aV)===false)){return}aW.active=aQ?false:this.headers.index(aS);this.active=aU?az():aS;this._toggle(aV);this._removeClass(aR,"ui-accordion-header-active","ui-state-active");if(aW.icons){aO=aR.children(".ui-accordion-header-icon");this._removeClass(aO,null,aW.icons.activeHeader)._addClass(aO,null,aW.icons.header)}if(!aU){this._removeClass(aS,"ui-accordion-header-collapsed")._addClass(aS,"ui-accordion-header-active","ui-state-active");if(aW.icons){aP=aS.children(".ui-accordion-header-icon");this._removeClass(aP,null,aW.icons.header)._addClass(aP,null,aW.icons.activeHeader)}this._addClass(aS.next(),"ui-accordion-content-active")}},_toggle:function(aO){var aM=aO.newPanel,aN=this.prevShow.length?this.prevShow:aO.oldPanel;this.prevShow.add(this.prevHide).stop(true,true);this.prevShow=aM;this.prevHide=aN;if(this.options.animate){this._animate(aM,aN,aO)}else{aN.hide();aM.show();this._toggleComplete(aO)}aN.attr({"aria-hidden":"true"});aN.prev().attr({"aria-selected":"false","aria-expanded":"false"});if(aM.length&&aN.length){aN.prev().attr({tabIndex:-1,"aria-expanded":"false"})}else{if(aM.length){this.headers.filter(function(){return parseInt(az(this).attr("tabIndex"),10)===0}).attr("tabIndex",-1)}}aM.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(aM,aV,aR){var aU,aT,aQ,aS=this,aW=0,aP=aM.css("box-sizing"),aX=aM.length&&(!aV.length||(aM.index()<aV.index())),aO=this.options.animate||{},aY=aX&&aO.down||aO,aN=function(){aS._toggleComplete(aR)};if(typeof aY==="number"){aQ=aY}if(typeof aY==="string"){aT=aY}aT=aT||aY.easing||aO.easing;aQ=aQ||aY.duration||aO.duration;if(!aV.length){return aM.animate(this.showProps,aQ,aT,aN)}if(!aM.length){return aV.animate(this.hideProps,aQ,aT,aN)}aU=aM.show().outerHeight();aV.animate(this.hideProps,{duration:aQ,easing:aT,step:function(aZ,a0){a0.now=Math.round(aZ)}});aM.hide().animate(this.showProps,{duration:aQ,easing:aT,complete:aN,step:function(aZ,a0){a0.now=Math.round(aZ);if(a0.prop!=="height"){if(aP==="content-box"){aW+=a0.now}}else{if(aS.options.heightStyle!=="content"){a0.now=Math.round(aU-aV.outerHeight()-aW);aW=0}}}})},_toggleComplete:function(aO){var aM=aO.oldPanel,aN=aM.prev();this._removeClass(aM,"ui-accordion-content-active");this._removeClass(aN,"ui-accordion-header-active")._addClass(aN,"ui-accordion-header-collapsed");if(aM.length){aM.parent()[0].className=aM.parent()[0].className}this._trigger("activate",null,aO)}});var i=az.ui.safeActiveElement=function(aM){var aO;try{aO=aM.activeElement}catch(aN){aO=aM.body}if(!aO){aO=aM.body}if(!aO.nodeName){aO=aM.body}return aO}; 293/*! 294* jQuery UI Menu 1.13.2 295* http://jqueryui.com 296* 297* Copyright jQuery Foundation and other contributors 298* Released under the MIT license. 299* http://jquery.org/license 300*/ 301;var r=az.widget("ui.menu",{version:"1.13.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"}
301,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=false;this.lastMousePosition={x:null,y:null};this.element.uniqueId().attr({role:this.options.role,tabIndex:0});this._addClass("ui-menu","ui-widget ui-widget-content");this._on({"mousedown .ui-menu-item":function(aM){aM.preventDefault();this._activateItem(aM)},"click .ui-menu-item":function(aM){var aO=az(aM.target);var aN=az(az.ui.safeActiveElement(this.document[0]));if(!this.mouseHandled&&aO.not(".ui-state-disabled").length){this.select(aM);if(!aM.isPropagationStopped()){this.mouseHandled=true}if(aO.has(".ui-menu").length){this.expand(aM)}else{if(!this.element.is(":focus")&&aN.closest(".ui-menu").length){this.element.trigger("focus",[true]);if(this.active&&this.active.parents(".ui-menu").length===1){clearTimeout(this.timer)}}}}},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(aO,aM){var aN=this.active||this._menuItems().first();if(!aM){this.focus(aO,aN)}},blur:function(aM){this._delay(function(){var aN=!az.contains(this.element[0],az.ui.safeActiveElement(this.document[0]));if(aN){this.collapseAll(aM)}})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(aM){if(this._closeOnDocumentClick(aM)){this.collapseAll(aM,true)}this.mouseHandled=false}})},_activateItem:function(aM){if(this.previousFilter){return}if(aM.clientX===this.lastMousePosition.x&&aM.clientY===this.lastMousePosition.y){return}this.lastMousePosition={x:aM.clientX,y:aM.clientY};var aN=az(aM.target).closest(".ui-menu-item"),aO=az(aM.currentTarget);if(aN[0]!==aO[0]){return}if(aO.is(".ui-state-active")){return}this._removeClass(aO.siblings().children(".ui-state-active"),null,"ui-state-active");this.focus(aM,aO)},_destroy:function(){var aN=this.element.find(".ui-menu-item").removeAttr("role aria-disabled"),aM=aN.children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show();aM.children().each(function(){var aO=az(this);if(aO.data("ui-menu-submenu-caret")){aO.remove()}})},_keydown:function(aQ){var aN,aP,aR,aO,aM=true;switch(aQ.keyCode){case az.ui.keyCode.PAGE_UP:this.previousPage(aQ);break;case az.ui.keyCode.PAGE_DOWN:this.nextPage(aQ);break;case az.ui.keyCode.HOME:this._move("first","first",aQ);break;case az.ui.keyCode.END:this._move("last","last",aQ);break;case az.ui.keyCode.UP:this.previous(aQ);break;case az.ui.keyCode.DOWN:this.next(aQ);break;case az.ui.keyCode.LEFT:this.collapse(aQ);break;case az.ui.keyCode.RIGHT:if(this.active&&!this.active.is(".ui-state-disabled")){this.expand(aQ)}break;case az.ui.keyCode.ENTER:case az.ui.keyCode.SPACE:this._activate(aQ);break;case az.ui.keyCode.ESCAPE:this.collapse(aQ);break;default:aM=false;aP=this.previousFilter||"";aO=false;aR=aQ.keyCode>=96&&aQ.keyCode<=105?(aQ.keyCode-96).toString():String.fromCharCode(aQ.keyCode);clearTimeout(this.filterTimer);if(aR===aP){aO=true}else{aR=aP+aR}aN=this._filterMenuItems(aR);aN=aO&&aN.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):aN;if(!aN.length){aR=String.fromCharCode(aQ.keyCode);aN=this._filterMenuItems(aR)}if(aN.length){this.focus(aQ,aN);this.previousFilter=aR;this.filterTimer=this._delay(function(){delete this.previousFilter},1000)}else{delete this.previousFilter}}if(aM){aQ.preventDefault()}},_activate:function(aM){if(this.active&&!this.active.is(".ui-state-disabled")){if(this.active.children("[aria-haspopup='true']").length){this.expand(aM)}else{this.select(aM)}}},refresh:function(){var aT,aO,aR,aP,aM,aS=this,aQ=this.options.icons.submenu,aN=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length);aR=aN.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var aW=az(this),aU=aW.prev(),aV=az("<span>").data("ui-menu-submenu-caret",true);aS._addClass(aV,"ui-menu-icon","ui-icon "+aQ);aU.attr("aria-haspopup","true").prepend(aV);aW.attr("aria-labelledby",aU.attr("id"))});this._addClass(aR,"ui-menu","ui-widget ui-widget-content ui-front");aT=aN.add(this.element);aO=aT.find(this.options.items);aO.not(".ui-menu-item").each(function(){var aU=az(this);if(aS._isDivider(aU)){aS._addClass(aU,"ui-menu-divider","ui-widget-content")}});aP=aO.not(".ui-menu-item, .ui-menu-divider");aM=aP.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()});this._addClass(aP,"ui-menu-item")._addClass(aM,"ui-menu-item-wrapper");aO.filter(".ui-state-disabled").attr("aria-disabled","true");
301if(this.active&&!az.contains(this.element[0],this.active[0])){this.blur()}},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(aN,aO){if(aN==="icons"){var aM=this.element.find(".ui-menu-icon");this._removeClass(aM,null,this.options.icons.submenu)._addClass(aM,null,aO.submenu)}this._super(aN,aO)},_setOptionDisabled:function(aM){this._super(aM);this.element.attr("aria-disabled",String(aM));this._toggleClass(null,"ui-state-disabled",!!aM)},focus:function(aO,aN){var aQ,aP,aM;this.blur(aO,aO&&aO.type==="focus");this._scrollIntoView(aN);this.active=aN.first();aP=this.active.children(".ui-menu-item-wrapper");this._addClass(aP,null,"ui-state-active");if(this.options.role){this.element.attr("aria-activedescendant",aP.attr("id"))}aM=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper");this._addClass(aM,null,"ui-state-active");if(aO&&aO.type==="keydown"){this._close()}else{this.timer=this._delay(function(){this._close()},this.delay)}aQ=aN.children(".ui-menu");if(aQ.length&&aO&&(/^mouse/.test(aO.type))){this._startOpening(aQ)}this.activeMenu=aN.parent();this._trigger("focus",aO,{item:aN})},_scrollIntoView:function(aP){var aS,aO,aQ,aM,aN,aR;if(this._hasScroll()){aS=parseFloat(az.css(this.activeMenu[0],"borderTopWidth"))||0;aO=parseFloat(az.css(this.activeMenu[0],"paddingTop"))||0;aQ=aP.offset().top-this.activeMenu.offset().top-aS-aO;aM=this.activeMenu.scrollTop();aN=this.activeMenu.height();aR=aP.outerHeight();if(aQ<0){this.activeMenu.scrollTop(aM+aQ)}else{if(aQ+aR>aN){this.activeMenu.scrollTop(aM+aQ-aN+aR)}}}},blur:function(aN,aM){if(!aM){clearTimeout(this.timer)}if(!this.active){return}this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active");this._trigger("blur",aN,{item:this.active});this.active=null},_startOpening:function(aM){clearTimeout(this.timer);if(aM.attr("aria-hidden")!=="true"){return}this.timer=this._delay(function(){this._close();this._open(aM)},this.delay)},_open:function(aN){var aM=az.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(aN.parents(".ui-menu")).hide().attr("aria-hidden","true");aN.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(aM)},collapseAll:function(aN,aM){clearTimeout(this.timer);this.timer=this._delay(function(){var aO=aM?this.element:az(aN&&aN.target).closest(this.element.find(".ui-menu"));if(!aO.length){aO=this.element}this._close(aO);this.blur(aN);this._removeClass(aO.find(".ui-state-active"),null,"ui-state-active");this.activeMenu=aO},aM?0:this.delay)},_close:function(aM){if(!aM){aM=this.active?this.active.parent():this.element}aM.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(aM){return !az(aM.target).closest(".ui-menu").length},_isDivider:function(aM){return !/[^\-\u2014\u2013\s]/.test(aM.text())},collapse:function(aN){var aM=this.active&&this.active.parent().closest(".ui-menu-item",this.element);if(aM&&aM.length){this._close();this.focus(aN,aM)}},expand:function(aN){var aM=this.active&&this._menuItems(this.active.children(".ui-menu")).first();if(aM&&aM.length){this._open(aM.parent());this._delay(function(){this.focus(aN,aM)})}},next:function(aM){this._move("next","first",aM)},previous:function(aM){this._move("prev","last",aM)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(aM){return(aM||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(aP,aN,aO){var aM;if(this.active){if(aP==="first"||aP==="last"){aM=this.active[aP==="first"?"prevAll":"nextAll"](".ui-menu-item").last()}else{aM=this.active[aP+"All"](".ui-menu-item").first()}}if(!aM||!aM.length||!this.active){aM=this._menuItems(this.activeMenu)[aN]()}this.focus(aO,aM)},nextPage:function(aO){var aN,aP,aM;if(!this.active){this.next(aO);return}if(this.isLastItem()){return}if(this._hasScroll()){aP=this.active.offset().top;
301aM=this.element.innerHeight();if(az.fn.jquery.indexOf("3.2.")===0){aM+=this.element[0].offsetHeight-this.element.outerHeight()}this.active.nextAll(".ui-menu-item").each(function(){aN=az(this);return aN.offset().top-aP-aM<0});this.focus(aO,aN)}else{this.focus(aO,this._menuItems(this.activeMenu)[!this.active?"first":"last"]())}},previousPage:function(aO){var aN,aP,aM;if(!this.active){this.next(aO);return}if(this.isFirstItem()){return}if(this._hasScroll()){aP=this.active.offset().top;aM=this.element.innerHeight();if(az.fn.jquery.indexOf("3.2.")===0){aM+=this.element[0].offsetHeight-this.element.outerHeight()}this.active.prevAll(".ui-menu-item").each(function(){aN=az(this);return aN.offset().top-aP+aM>0});this.focus(aO,aN)}else{this.focus(aO,this._menuItems(this.activeMenu).first())}},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(aM){this.active=this.active||az(aM.target).closest(".ui-menu-item");var aN={item:this.active};if(!this.active.has(".ui-menu").length){this.collapseAll(aM,true)}this._trigger("select",aM,aN)},_filterMenuItems:function(aO){var aM=aO.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),aN=new RegExp("^"+aM,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return aN.test(String.prototype.trim.call(az(this).children(".ui-menu-item-wrapper").text()))})}}); 302/*! 303* jQuery UI Autocomplete 1.13.2 304* http://jqueryui.com 305* 306* Copyright jQuery Foundation and other contributors 307* Released under the MIT license. 308* http://jquery.org/license 309*/ 310;az.widget("ui.autocomplete",{version:"1.13.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var aO,aM,aP,aR=this.element[0].nodeName.toLowerCase(),aQ=aR==="textarea",aN=aR==="input";this.isMultiLine=aQ||!aN&&this._isContentEditable(this.element);this.valueMethod=this.element[aQ||aN?"val":"text"];this.isNewMenu=true;this._addClass("ui-autocomplete-input");this.element.attr("autocomplete","off");this._on(this.element,{keydown:function(aS){if(this.element.prop("readOnly")){aO=true;aP=true;aM=true;return}aO=false;aP=false;aM=false;var aT=az.ui.keyCode;switch(aS.keyCode){case aT.PAGE_UP:aO=true;this._move("previousPage",aS);break;case aT.PAGE_DOWN:aO=true;this._move("nextPage",aS);break;case aT.UP:aO=true;this._keyEvent("previous",aS);break;case aT.DOWN:aO=true;this._keyEvent("next",aS);break;case aT.ENTER:if(this.menu.active){aO=true;aS.preventDefault();this.menu.select(aS)}break;case aT.TAB:if(this.menu.active){this.menu.select(aS)}break;case aT.ESCAPE:if(this.menu.element.is(":visible")){if(!this.isMultiLine){this._value(this.term)}this.close(aS);aS.preventDefault()}break;default:aM=true;this._searchTimeout(aS);break}},keypress:function(aS){if(aO){aO=false;if(!this.isMultiLine||this.menu.element.is(":visible")){aS.preventDefault()}return}if(aM){return}var aT=az.ui.keyCode;switch(aS.keyCode){case aT.PAGE_UP:this._move("previousPage",aS);break;case aT.PAGE_DOWN:this._move("nextPage",aS);break;case aT.UP:this._keyEvent("previous",aS);break;case aT.DOWN:this._keyEvent("next",aS);break}},input:function(aS){if(aP){aP=false;aS.preventDefault();return}this._searchTimeout(aS)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(aS){clearTimeout(this.searching);this.close(aS);this._change(aS)}});this._initSource();this.menu=az("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance");this._addClass(this.menu.element,"ui-autocomplete","ui-front");this._on(this.menu.element,{mousedown:function(aS){aS.preventDefault()},menufocus:function(aU,aV){var aS,aT;if(this.isNewMenu){this.isNewMenu=false;if(aU.originalEvent&&/^mouse/.test(aU.originalEvent.type)){this.menu.blur();this.document.one("mousemove",function(){az(aU.target).trigger(aU.originalEvent)});return}}aT=aV.item.data("ui-autocomplete-item");if(false!==this._trigger("focus",aU,{item:aT}
310)){if(aU.originalEvent&&/^key/.test(aU.originalEvent.type)){this._value(aT.value)}}aS=aV.item.attr("aria-label")||aT.value;if(aS&&String.prototype.trim.call(aS).length){clearTimeout(this.liveRegionTimer);this.liveRegionTimer=this._delay(function(){this.liveRegion.html(az("<div>").text(aS))},100)}},menuselect:function(aU,aV){var aT=aV.item.data("ui-autocomplete-item"),aS=this.previous;if(this.element[0]!==az.ui.safeActiveElement(this.document[0])){this.element.trigger("focus");this.previous=aS;this._delay(function(){this.previous=aS;this.selectedItem=aT})}if(false!==this._trigger("select",aU,{item:aT})){this._value(aT.value)}this.term=this._value();this.close(aU);this.selectedItem=aT}});this.liveRegion=az("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(aM,aN){this._super(aM,aN);if(aM==="source"){this._initSource()}if(aM==="appendTo"){this.menu.element.appendTo(this._appendTo())}if(aM==="disabled"&&aN&&this.xhr){this.xhr.abort()}},_isEventTargetInWidget:function(aM){var aN=this.menu.element[0];return aM.target===this.element[0]||aM.target===aN||az.contains(aN,aM.target)},_closeOnClickOutside:function(aM){if(!this._isEventTargetInWidget(aM)){this.close()}},_appendTo:function(){var aM=this.options.appendTo;if(aM){aM=aM.jquery||aM.nodeType?az(aM):this.document.find(aM).eq(0)}if(!aM||!aM[0]){aM=this.element.closest(".ui-front, dialog")}if(!aM.length){aM=this.document[0].body}return aM},_initSource:function(){var aO,aM,aN=this;if(Array.isArray(this.options.source)){aO=this.options.source;this.source=function(aQ,aP){aP(az.ui.autocomplete.filter(aO,aQ.term))}}else{if(typeof this.options.source==="string"){aM=this.options.source;this.source=function(aQ,aP){if(aN.xhr){aN.xhr.abort()}aN.xhr=az.ajax({url:aM,data:aQ,dataType:"json",success:function(aR){aP(aR)},error:function(){aP([])}})}}else{this.source=this.options.source}}},_searchTimeout:function(aM){clearTimeout(this.searching);this.searching=this._delay(function(){var aO=this.term===this._value(),aN=this.menu.element.is(":visible"),aP=aM.altKey||aM.ctrlKey||aM.metaKey||aM.shiftKey;if(!aO||(aO&&!aN&&!aP)){this.selectedItem=null;this.search(null,aM)}},this.options.delay)},search:function(aN,aM){aN=aN!=null?aN:this._value();this.term=this._value();if(aN.length<this.options.minLength){return this.close(aM)}if(this._trigger("search",aM)===false){return}return this._search(aN)},_search:function(aM){this.pending++;this._addClass("ui-autocomplete-loading");this.cancelSearch=false;this.source({term:aM},this._response())},_response:function(){var aM=++this.requestIndex;return function(aN){if(aM===this.requestIndex){this.__response(aN)}this.pending--;if(!this.pending){this._removeClass("ui-autocomplete-loading")}}.bind(this)},__response:function(aM){if(aM){aM=this._normalize(aM)}this._trigger("response",null,{content:aM});if(!this.options.disabled&&aM&&aM.length&&!this.cancelSearch){this._suggest(aM);this._trigger("open")}else{this._close()}},close:function(aM){this.cancelSearch=true;this._close(aM)},_close:function(aM){this._off(this.document,"mousedown");if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=true;this._trigger("close",aM)}},_change:function(aM){if(this.previous!==this._value()){this._trigger("change",aM,{item:this.selectedItem})}},_normalize:function(aM){if(aM.length&&aM[0].label&&aM[0].value){return aM}return az.map(aM,function(aN){if(typeof aN==="string"){return{label:aN,value:aN}}return az.extend({},aN,{label:aN.label||aN.value,value:aN.value||aN.label})})},_suggest:function(aM){var aN=this.menu.element.empty();this._renderMenu(aN,aM);this.isNewMenu=true;this.menu.refresh();aN.show();this._resizeMenu();aN.position(az.extend({of:this.element},this.options.position));if(this.options.autoFocus){this.menu.next()}this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var aM=this.menu.element;aM.outerWidth(Math.max(aM.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(aN,aM){var aO=this;az.each(aM,function(aP,aQ){aO._renderItemData(aN,aQ)})},_renderItemData:function(aM,aN){return this._renderItem(aM,aN).data("ui-autocomplete-item",aN)},_renderItem:function(aM,aN){return az("<li>").append(az("<div>").text(aN.label)).appendTo(aM)},_move:function(aN,aM){if(!this.menu.element.is(":visible")){this.search(null,aM);return}if(this.menu.isFirstItem()&&/^previous/.test(aN)||this.menu.isLastItem()&&/^next/.test(aN)){if(!this.isMultiLine){this._value(this.term)}this.menu.blur();return}this.menu[aN](aM)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(aN,aM){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(aN,aM);aM.preventDefault()}},_isContentEditable:function(aN){if(!aN.length){return false}var aM=aN.prop("contentEditable");if(aM==="inherit"){return this._isContentEditable(aN.parent())}return aM==="true"}});az.extend(az.ui.autocomplete,{escapeRegex:function(aM){return aM.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(aO,aM){var aN=new RegExp(az.ui.autocomplete.escapeRegex(aM),"i");return az.grep(aO,function(aP){return aN.test(aP.label||aP.value||aP)})}});az.widget("ui.autocomplete",az.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(aM){return aM+(aM>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(aN){var aM;this._superApply(arguments);if(this.options.disabled||this.cancelSearch){return}if(aN&&aN.length){aM=this.options.messages.results(aN.length)}else{aM=this.options.messages.noResults}clearTimeout(this.liveRegionTimer);this.liveRegionTimer=this._delay(function(){this.liveRegion.html(az("<div>").text(aM))},100)}});var aD=az.ui.autocomplete; 311/*! 312* jQuery UI Controlgroup 1.13.2 313* http://jqueryui.com 314* 315* Copyright jQuery Foundation and other contributors 316* Released under the MIT license. 317* http://jquery.org/license 318*/ 319;var g=/ui-corner-([a-z]){2,6}/g;var y=az.widget("ui.controlgroup",{version:"1.13.2",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:true,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");
319if(this.options.items.controlgroupLabel){this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()}},_initWidgets:function(){var aN=this,aM=[];az.each(this.options.items,function(aQ,aO){var aR;var aP={};if(!aO){return}if(aQ==="controlgroupLabel"){aR=aN.element.find(aO);aR.each(function(){var aS=az(this);if(aS.children(".ui-controlgroup-label-contents").length){return}aS.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")});aN._addClass(aR,null,"ui-widget ui-widget-content ui-state-default");aM=aM.concat(aR.get());return}if(!az.fn[aQ]){return}if(aN["_"+aQ+"Options"]){aP=aN["_"+aQ+"Options"]("middle")}else{aP={classes:{}}}aN.element.find(aO).each(function(){var aT=az(this);var aS=aT[aQ]("instance");var aU=az.widget.extend({},aP);if(aQ==="button"&&aT.parent(".ui-spinner").length){return}if(!aS){aS=aT[aQ]()[aQ]("instance")}if(aS){aU.classes=aN._resolveClassesValues(aU.classes,aS)}aT[aQ](aU);var aV=aT[aQ]("widget");az.data(aV[0],"ui-controlgroup-data",aS?aS:aT[aQ]("instance"));aM.push(aV[0])})});this.childWidgets=az(az.uniqueSort(aM));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(aM){this.childWidgets.each(function(){var aN=az(this),aO=aN.data("ui-controlgroup-data");if(aO&&aO[aM]){aO[aM]()}})},_updateCornerClass:function(aO,aN){var aM="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all";var aP=this._buildSimpleOptions(aN,"label").classes.label;this._removeClass(aO,null,aM);this._addClass(aO,null,aP)},_buildSimpleOptions:function(aN,aO){var aP=this.options.direction==="vertical";var aM={classes:{}};aM.classes[aO]={middle:"",first:"ui-corner-"+(aP?"top":"left"),last:"ui-corner-"+(aP?"bottom":"right"),only:"ui-corner-all"}[aN];return aM},_spinnerOptions:function(aM){var aN=this._buildSimpleOptions(aM,"ui-spinner");aN.classes["ui-spinner-up"]="";aN.classes["ui-spinner-down"]="";return aN},_buttonOptions:function(aM){return this._buildSimpleOptions(aM,"ui-button")},_checkboxradioOptions:function(aM){return this._buildSimpleOptions(aM,"ui-checkboxradio-label")},_selectmenuOptions:function(aM){var aN=this.options.direction==="vertical";return{width:aN?"auto":false,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(aN?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(aN?"top":"left")},last:{"ui-selectmenu-button-open":aN?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(aN?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[aM]}},_resolveClassesValues:function(aO,aN){var aM={};az.each(aO,function(aP){var aQ=aN.options.classes[aP]||"";aQ=String.prototype.trim.call(aQ.replace(g,""));aM[aP]=(aQ+" "+aO[aP]).replace(/\s+/g," ")});return aM},_setOption:function(aM,aN){if(aM==="direction"){this._removeClass("ui-controlgroup-"+this.options.direction)}this._super(aM,aN);if(aM==="disabled"){this._callChildMethod(aN?"disable":"enable");return}this.refresh()},refresh:function(){var aM,aN=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);if(this.options.direction==="horizontal"){this._addClass(null,"ui-helper-clearfix")}this._initWidgets();aM=this.childWidgets;if(this.options.onlyVisible){aM=aM.filter(":visible")}if(aM.length){az.each(["first","last"],function(aQ,aR){var aO=aM[aR]().data("ui-controlgroup-data");if(aO&&aN["_"+aO.widgetName+"Options"]){var aP=aN["_"+aO.widgetName+"Options"](aM.length===1?"only":aR);aP.classes=aN._resolveClassesValues(aP.classes,aO);aO.element[aO.widgetName](aP)}else{aN._updateCornerClass(aM[aR](),aR)}});this._callChildMethod("refresh")}}}); 320/*! 321* jQuery UI Checkboxradio 1.13.2 322* http://jqueryui.com 323* 324* Copyright jQuery Foundation and other contributors 325* Released under the MIT license. 326* http://jquery.org/license 327*/ 328;az.widget("ui.checkboxradio",[az.ui.formResetMixin,{version:"1.13.2",options:{disabled:null,label:null,icon:true,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var aO,aP,aN;var aM=this._super()||{};this._readType();aP=this.element.labels();this.label=az(aP[aP.length-1]);if(!this.label.length){az.error("No label found for checkboxradio widget")}this.originalLabel="";aN=this.label.contents().not(this.element[0]);if(aN.length){this.originalLabel+=aN.clone().wrapAll("<div></div>").parent().html()}if(this.originalLabel){aM.label=this.originalLabel}aO=this.element[0].disabled;if(aO!=null){aM.disabled=aO}return aM},_create:function(){var aM=this.element[0].checked;this._bindFormResetHandler();if(this.options.disabled==null){this.options.disabled=this.element[0].disabled}this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");
328if(this.type==="radio"){this._addClass(this.label,"ui-checkboxradio-radio-label")}if(this.options.label&&this.options.label!==this.originalLabel){this._updateLabel()}else{if(this.originalLabel){this.options.label=this.originalLabel}}this._enhance();if(aM){this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active")}this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var aM=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;if(aM!=="input"||!/radio|checkbox/.test(this.type)){az.error("Can't create checkboxradio on element.nodeName="+aM+" and element.type="+this.type)}},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var aO;var aM=this.element[0].name;var aN="input[name='"+az.escapeSelector(aM)+"']";if(!aM){return az([])}if(this.form.length){aO=az(this.form[0].elements).filter(aN)}else{aO=az(aN).filter(function(){return az(this)._form().length===0})}return aO.not(this.element)},_toggleClasses:function(){var aM=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",aM);if(this.options.icon&&this.type==="checkbox"){this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",aM)._toggleClass(this.icon,null,"ui-icon-blank",!aM)}if(this.type==="radio"){this._getRadioGroup().each(function(){var aN=az(this).checkboxradio("instance");if(aN){aN._removeClass(aN.label,"ui-checkboxradio-checked","ui-state-active")}})}},_destroy:function(){this._unbindFormResetHandler();if(this.icon){this.icon.remove();this.iconSpace.remove()}},_setOption:function(aM,aN){if(aM==="label"&&!aN){return}this._super(aM,aN);if(aM==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",aN);this.element[0].disabled=aN;return}this.refresh()},_updateIcon:function(aN){var aM="ui-icon ui-icon-background ";if(this.options.icon){if(!this.icon){this.icon=az("<span>");this.iconSpace=az("<span> </span>");
328this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")}if(this.type==="checkbox"){aM+=aN?"ui-icon-check ui-state-checked":"ui-icon-blank";this._removeClass(this.icon,null,aN?"ui-icon-blank":"ui-icon-check")}else{aM+="ui-icon-blank"}this._addClass(this.icon,"ui-checkboxradio-icon",aM);if(!aN){this._removeClass(this.icon,null,"ui-icon-check ui-state-checked")}this.icon.prependTo(this.label).after(this.iconSpace)}else{if(this.icon!==undefined){this.icon.remove();this.iconSpace.remove();delete this.icon}}},_updateLabel:function(){var aM=this.label.contents().not(this.element[0]);if(this.icon){aM=aM.not(this.icon[0])}if(this.iconSpace){aM=aM.not(this.iconSpace[0])}aM.remove();this.label.append(this.options.label)},refresh:function(){var aN=this.element[0].checked,aM=this.element[0].disabled;this._updateIcon(aN);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",aN);if(this.options.label!==null){this._updateLabel()}if(aM!==this.options.disabled){this._setOptions({disabled:aM})}}}]);var aE=az.ui.checkboxradio; 329/*! 330* jQuery UI Button 1.13.2 331* http://jqueryui.com 332* 333* Copyright jQuery Foundation and other contributors 334* Released under the MIT license. 335* http://jquery.org/license 336*/ 337;az.widget("ui.button",{version:"1.13.2",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:true},_getCreateOptions:function(){var aN,aM=this._super()||{};this.isInput=this.element.is("input");aN=this.element[0].disabled;if(aN!=null){aM.disabled=aN}this.originalLabel=this.isInput?this.element.val():this.element.html();if(this.originalLabel){aM.label=this.originalLabel}return aM},_create:function(){if(!this.option.showLabel&!this.options.icon){this.options.showLabel=true}if(this.options.disabled==null){this.options.disabled=this.element[0].disabled||false}this.hasTitle=!!this.element.attr("title");if(this.options.label&&this.options.label!==this.originalLabel){if(this.isInput){this.element.val(this.options.label)}else{this.element.html(this.options.label)}}this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);this._enhance();if(this.element.is("a")){this._on({keyup:function(aM){if(aM.keyCode===az.ui.keyCode.SPACE){aM.preventDefault();if(this.element[0].click){this.element[0].click()}else{this.element.trigger("click")}}}})}},_enhance:function(){if(!this.element.is("button")){this.element.attr("role","button")}if(this.options.icon){this._updateIcon("icon",this.options.icon);this._updateTooltip()}},_updateTooltip:function(){this.title=this.element.attr("title");if(!this.options.showLabel&&!this.title){this.element.attr("title",this.options.label)}},_updateIcon:function(aO,aQ){var aN=aO!=="iconPosition",aM=aN?this.options.iconPosition:aQ,aP=aM==="top"||aM==="bottom";if(!this.icon){this.icon=az("<span>");this._addClass(this.icon,"ui-button-icon","ui-icon");if(!this.options.showLabel){this._addClass("ui-button-icon-only")}}else{if(aN){this._removeClass(this.icon,null,this.options.icon)}}if(aN){this._addClass(this.icon,null,aQ)}this._attachIcon(aM);if(aP){this._addClass(this.icon,null,"ui-widget-icon-block");if(this.iconSpace){this.iconSpace.remove()}}else{if(!this.iconSpace){this.iconSpace=az("<span> </span>");
337this._addClass(this.iconSpace,"ui-button-icon-space")}this._removeClass(this.icon,null,"ui-wiget-icon-block");this._attachIconSpace(aM)}},_destroy:function(){this.element.removeAttr("role");if(this.icon){this.icon.remove()}if(this.iconSpace){this.iconSpace.remove()}if(!this.hasTitle){this.element.removeAttr("title")}},_attachIconSpace:function(aM){this.icon[/^(?:end|bottom)/.test(aM)?"before":"after"](this.iconSpace)},_attachIcon:function(aM){this.element[/^(?:end|bottom)/.test(aM)?"append":"prepend"](this.icon)},_setOptions:function(aN){var aO=aN.showLabel===undefined?this.options.showLabel:aN.showLabel,aM=aN.icon===undefined?this.options.icon:aN.icon;if(!aO&&!aM){aN.showLabel=true}this._super(aN)},_setOption:function(aM,aN){if(aM==="icon"){if(aN){this._updateIcon(aM,aN)}else{if(this.icon){this.icon.remove();if(this.iconSpace){this.iconSpace.remove()}}}}if(aM==="iconPosition"){this._updateIcon(aM,aN)}if(aM==="showLabel"){this._toggleClass("ui-button-icon-only",null,!aN);this._updateTooltip()}if(aM==="label"){if(this.isInput){this.element.val(aN)}else{this.element.html(aN);if(this.icon){this._attachIcon(this.options.iconPosition);this._attachIconSpace(this.options.iconPosition)}}}this._super(aM,aN);if(aM==="disabled"){this._toggleClass(null,"ui-state-disabled",aN);this.element[0].disabled=aN;if(aN){this.element.trigger("blur")}}},refresh:function(){var aM=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");if(aM!==this.options.disabled){this._setOptions({disabled:aM})}this._updateTooltip()}});if(az.uiBackCompat!==false){az.widget("ui.button",az.ui.button,{options:{text:true,icons:{primary:null,secondary:null}},_create:function(){if(this.options.showLabel&&!this.options.text){this.options.showLabel=this.options.text}if(!this.options.showLabel&&this.options.text){this.options.text=this.options.showLabel}if(!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)){if(this.options.icons.primary){this.options.icon=this.options.icons.primary}else{this.options.icon=this.options.icons.secondary;this.options.iconPosition="end"}}else{if(this.options.icon){this.options.icons.primary=this.options.icon}}this._super()},_setOption:function(aM,aN){if(aM==="text"){this._super("showLabel",aN);return}if(aM==="showLabel"){this.options.text=aN}if(aM==="icon"){this.options.icons.primary=aN}if(aM==="icons"){if(aN.primary){this._super("icon",aN.primary);this._super("iconPosition","beginning")}else{if(aN.secondary){this._super("icon",aN.secondary);this._super("iconPosition","end")}}}this._superApply(arguments)}});az.fn.button=(function(aM){return function(aP){var aN=typeof aP==="string";var aO=Array.prototype.slice.call(arguments,1);var aQ=this;if(aN){if(!this.length&&aP==="instance"){aQ=undefined}else{this.each(function(){var aU;var aT=az(this).attr("type");var aS=aT!=="checkbox"&&aT!=="radio"?"button":"checkboxradio";var aR=az.data(this,"ui-"+aS);if(aP==="instance"){aQ=aR;return false}if(!aR){return az.error("cannot call methods on button prior to initialization; attempted to call method '"+aP+"'")}if(typeof aR[aP]!=="function"||aP.charAt(0)==="_"){return az.error("no such method '"+aP+"' for button widget instance")}aU=aR[aP].apply(aR,aO);if(aU!==aR&&aU!==undefined){aQ=aU&&aU.jquery?aQ.pushStack(aU.get()):aU;return false}})}}else{if(aO.length){aP=az.widget.extend.apply(null,[aP].concat(aO))}this.each(function(){var aT=az(this).attr("type");var aS=aT!=="checkbox"&&aT!=="radio"?"button":"checkboxradio";var aR=az.data(this,"ui-"+aS);if(aR){aR.option(aP||{});if(aR._init){aR._init()}}else{if(aS==="button"){aM.call(az(this),aP);return}az(this).checkboxradio(az.extend({icon:false},aP))}})}return aQ}})(az.fn.button);az.fn.buttonset=function(){if(!az.ui.controlgroup){az.error("Controlgroup widget missing")}if(arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]){return this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]])}if(arguments[0]==="option"&&arguments[1]==="items"){return this.controlgroup.apply(this,[arguments[0],"items.button"])}if(typeof arguments[0]==="object"&&arguments[0].items){arguments[0].items={button:arguments[0].items}}return this.controlgroup.apply(this,arguments)}}var I=az.ui.button; 338/*! 339* jQuery UI Datepicker 1.13.2 340* http://jqueryui.com 341* 342* Copyright jQuery Foundation and other contributors 343* Released under the MIT license. 344* http://jquery.org/license 345*/ 346;az.extend(az.ui,{datepicker:{version:"1.13.2"}});var aH;function aq(aN){var aM,aO;while(aN.length&&aN[0]!==document){aM=aN.css("position");if(aM==="absolute"||aM==="relative"||aM==="fixed"){aO=parseInt(aN.css("zIndex"),10);if(!isNaN(aO)&&aO!==0){return aO}}aN=aN.parent()}return 0}function X(){this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
346ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};az.extend(this._defaults,this.regional[""]);this.regional.en=az.extend(true,{},this.regional[""]);this.regional["en-US"]=az.extend(true,{},this.regional.en);this.dpDiv=ag(az("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}az.extend(X.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(aM){L(this._defaults,aM||{});return this},_attachDatepicker:function(aP,aM){var aQ,aO,aN;aQ=aP.nodeName.toLowerCase();aO=(aQ==="div"||aQ==="span");if(!aP.id){this.uuid+=1;aP.id="dp"+this.uuid}aN=this._newInst(az(aP),aO);aN.settings=az.extend({},aM||{});if(aQ==="input"){this._connectDatepicker(aP,aN)}else{if(aO){this._inlineDatepicker(aP,aN)}}},_newInst:function(aN,aM){var aO=aN[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:aO,input:aN,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:aM,dpDiv:(!aM?this.dpDiv:ag(az("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")))}},_connectDatepicker:function(aO,aN){var aM=az(aO);aN.append=az([]);aN.trigger=az([]);if(aM.hasClass(this.markerClassName)){return}this._attachments(aM,aN);aM.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp);this._autoSize(aN);az.data(aO,"datepicker",aN);if(aN.settings.disabled){this._disableDatepicker(aO)}},_attachments:function(aO,aR){var aN,aQ,aM,aS=this._get(aR,"appendText"),aP=this._get(aR,"isRTL");if(aR.append){aR.append.remove()}if(aS){aR.append=az("<span>").addClass(this._appendClass).text(aS);aO[aP?"before":"after"](aR.append)}aO.off("focus",this._showDatepicker);if(aR.trigger){aR.trigger.remove()}aN=this._get(aR,"showOn");if(aN==="focus"||aN==="both"){aO.on("focus",this._showDatepicker)}if(aN==="button"||aN==="both"){aQ=this._get(aR,"buttonText");aM=this._get(aR,"buttonImage");if(this._get(aR,"buttonImageOnly")){aR.trigger=az("<img>").addClass(this._triggerClass).attr({src:aM,alt:aQ,title:aQ})}else{aR.trigger=az("<button type='button'>").addClass(this._triggerClass);if(aM){aR.trigger.html(az("<img>").attr({src:aM,alt:aQ,title:aQ}))}else{aR.trigger.text(aQ)}}aO[aP?"before":"after"](aR.trigger);aR.trigger.on("click",function(){if(az.datepicker._datepickerShowing&&az.datepicker._lastInput===aO[0]){az.datepicker._hideDatepicker()}else{if(az.datepicker._datepickerShowing&&az.datepicker._lastInput!==aO[0]){az.datepicker._hideDatepicker();az.datepicker._showDatepicker(aO[0])}else{az.datepicker._showDatepicker(aO[0])}}return false})}},_autoSize:function(aS){if(this._get(aS,"autoSize")&&!aS.inline){var aP,aN,aO,aR,aQ=new Date(2009,12-1,20),aM=this._get(aS,"dateFormat");if(aM.match(/[DM]/)){aP=function(aT){aN=0;aO=0;for(aR=0;aR<aT.length;aR++){if(aT[aR].length>aN){aN=aT[aR].length;aO=aR}}return aO};aQ.setMonth(aP(this._get(aS,(aM.match(/MM/)?"monthNames":"monthNamesShort"))));aQ.setDate(aP(this._get(aS,(aM.match(/DD/)?"dayNames":"dayNamesShort")))+20-aQ.getDay())}aS.input.attr("size",this._formatDate(aS,aQ).length)}},_inlineDatepicker:function(aN,aM){var aO=az(aN);if(aO.hasClass(this.markerClassName)){return}aO.addClass(this.markerClassName).append(aM.dpDiv);az.data(aN,"datepicker",aM);this._setDate(aM,this._getDefaultDate(aM),true);this._updateDatepicker(aM);
346this._updateAlternate(aM);if(aM.settings.disabled){this._disableDatepicker(aN)}aM.dpDiv.css("display","block")},_dialogDatepicker:function(aT,aN,aR,aO,aS){var aM,aW,aQ,aV,aU,aP=this._dialogInst;if(!aP){this.uuid+=1;aM="dp"+this.uuid;this._dialogInput=az("<input type='text' id='"+aM+"' style='position: absolute; top: -100px; width: 0px;'/>");this._dialogInput.on("keydown",this._doKeyDown);az("body").append(this._dialogInput);aP=this._dialogInst=this._newInst(this._dialogInput,false);aP.settings={};az.data(this._dialogInput[0],"datepicker",aP)}L(aP.settings,aO||{});aN=(aN&&aN.constructor===Date?this._formatDate(aP,aN):aN);this._dialogInput.val(aN);this._pos=(aS?(aS.length?aS:[aS.pageX,aS.pageY]):null);if(!this._pos){aW=document.documentElement.clientWidth;aQ=document.documentElement.clientHeight;aV=document.documentElement.scrollLeft||document.body.scrollLeft;aU=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(aW/2)-100+aV,(aQ/2)-150+aU]}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");aP.settings.onSelect=aR;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if(az.blockUI){az.blockUI(this.dpDiv)}az.data(this._dialogInput[0],"datepicker",aP);return this},_destroyDatepicker:function(aO){var aP,aM=az(aO),aN=az.data(aO,"datepicker");if(!aM.hasClass(this.markerClassName)){return}aP=aO.nodeName.toLowerCase();az.removeData(aO,"datepicker");if(aP==="input"){aN.append.remove();aN.trigger.remove();aM.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)}else{if(aP==="div"||aP==="span"){aM.removeClass(this.markerClassName).empty()}}if(aH===aN){aH=null;this._curInst=null}},_enableDatepicker:function(aP){var aQ,aO,aM=az(aP),aN=az.data(aP,"datepicker");if(!aM.hasClass(this.markerClassName)){return}aQ=aP.nodeName.toLowerCase();if(aQ==="input"){aP.disabled=false;aN.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else{if(aQ==="div"||aQ==="span"){aO=aM.children("."+this._inlineClass);aO.children().removeClass("ui-state-disabled");aO.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",false)}}this._disabledInputs=az.map(this._disabledInputs,function(aR){return(aR===aP?null:aR)})},_disableDatepicker:function(aP){var aQ,aO,aM=az(aP),aN=az.data(aP,"datepicker");if(!aM.hasClass(this.markerClassName)){return}aQ=aP.nodeName.toLowerCase();if(aQ==="input"){aP.disabled=true;aN.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else{if(aQ==="div"||aQ==="span"){aO=aM.children("."+this._inlineClass);aO.children().addClass("ui-state-disabled");aO.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",true)}}this._disabledInputs=az.map(this._disabledInputs,function(aR){return(aR===aP?null:aR)});this._disabledInputs[this._disabledInputs.length]=aP},_isDisabledDatepicker:function(aN){if(!aN){return false}for(var aM=0;aM<this._disabledInputs.length;aM++){if(this._disabledInputs[aM]===aN){return true}}return false},_getInst:function(aN){try{return az.data(aN,"datepicker")}catch(aM){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(aS,aN,aR){var aO,aM,aQ,aT,aP=this._getInst(aS);if(arguments.length===2&&typeof aN==="string"){return(aN==="defaults"?az.extend({},az.datepicker._defaults):(aP?(aN==="all"?az.extend({},aP.settings):this._get(aP,aN)):null))}aO=aN||{};if(typeof aN==="string"){aO={};aO[aN]=aR}if(aP){if(this._curInst===aP){this._hideDatepicker()}aM=this._getDateDatepicker(aS,true);aQ=this._getMinMaxDate(aP,"min");aT=this._getMinMaxDate(aP,"max");L(aP.settings,aO);if(aQ!==null&&aO.dateFormat!==undefined&&aO.minDate===undefined){aP.settings.minDate=this._formatDate(aP,aQ)}if(aT!==null&&aO.dateFormat!==undefined&&aO.maxDate===undefined){aP.settings.maxDate=this._formatDate(aP,aT)}if("disabled" in aO){if(aO.disabled){this._disableDatepicker(aS)}else{this._enableDatepicker(aS)}}this._attachments(az(aS),aP);this._autoSize(aP);this._setDate(aP,aM);
346this._updateAlternate(aP);this._updateDatepicker(aP)}},_changeDatepicker:function(aO,aM,aN){this._optionDatepicker(aO,aM,aN)},_refreshDatepicker:function(aN){var aM=this._getInst(aN);if(aM){this._updateDatepicker(aM)}},_setDateDatepicker:function(aO,aM){var aN=this._getInst(aO);if(aN){this._setDate(aN,aM);this._updateDatepicker(aN);this._updateAlternate(aN)}},_getDateDatepicker:function(aO,aM){var aN=this._getInst(aO);if(aN&&!aN.inline){this._setDateFromField(aN,aM)}return(aN?this._getDate(aN):null)},_doKeyDown:function(aP){var aN,aM,aR,aQ=az.datepicker._getInst(aP.target),aS=true,aO=aQ.dpDiv.is(".ui-datepicker-rtl");aQ._keyEvent=true;if(az.datepicker._datepickerShowing){switch(aP.keyCode){case 9:az.datepicker._hideDatepicker();aS=false;break;case 13:aR=az("td."+az.datepicker._dayOverClass+":not(."+az.datepicker._currentClass+")",aQ.dpDiv);if(aR[0]){az.datepicker._selectDay(aP.target,aQ.selectedMonth,aQ.selectedYear,aR[0])}aN=az.datepicker._get(aQ,"onSelect");if(aN){aM=az.datepicker._formatDate(aQ);aN.apply((aQ.input?aQ.input[0]:null),[aM,aQ])}else{az.datepicker._hideDatepicker()}return false;case 27:az.datepicker._hideDatepicker();break;case 33:az.datepicker._adjustDate(aP.target,(aP.ctrlKey?-az.datepicker._get(aQ,"stepBigMonths"):-az.datepicker._get(aQ,"stepMonths")),"M");break;case 34:az.datepicker._adjustDate(aP.target,(aP.ctrlKey?+az.datepicker._get(aQ,"stepBigMonths"):+az.datepicker._get(aQ,"stepMonths")),"M");break;case 35:if(aP.ctrlKey||aP.metaKey){az.datepicker._clearDate(aP.target)}aS=aP.ctrlKey||aP.metaKey;break;case 36:if(aP.ctrlKey||aP.metaKey){az.datepicker._gotoToday(aP.target)}aS=aP.ctrlKey||aP.metaKey;break;case 37:if(aP.ctrlKey||aP.metaKey){az.datepicker._adjustDate(aP.target,(aO?+1:-1),"D")}aS=aP.ctrlKey||aP.metaKey;if(aP.originalEvent.altKey){az.datepicker._adjustDate(aP.target,(aP.ctrlKey?-az.datepicker._get(aQ,"stepBigMonths"):-az.datepicker._get(aQ,"stepMonths")),"M")}break;case 38:if(aP.ctrlKey||aP.metaKey){az.datepicker._adjustDate(aP.target,-7,"D")}aS=aP.ctrlKey||aP.metaKey;break;case 39:if(aP.ctrlKey||aP.metaKey){az.datepicker._adjustDate(aP.target,(aO?-1:+1),"D")}aS=aP.ctrlKey||aP.metaKey;if(aP.originalEvent.altKey){az.datepicker._adjustDate(aP.target,(aP.ctrlKey?+az.datepicker._get(aQ,"stepBigMonths"):+az.datepicker._get(aQ,"stepMonths")),"M")}break;case 40:if(aP.ctrlKey||aP.metaKey){az.datepicker._adjustDate(aP.target,+7,"D")}aS=aP.ctrlKey||aP.metaKey;break;default:aS=false}}else{if(aP.keyCode===36&&aP.ctrlKey){az.datepicker._showDatepicker(this)}else{aS=false}}if(aS){aP.preventDefault();aP.stopPropagation()}},_doKeyPress:function(aO){var aN,aM,aP=az.datepicker._getInst(aO.target);if(az.datepicker._get(aP,"constrainInput")){aN=az.datepicker._possibleChars(az.datepicker._get(aP,"dateFormat"));aM=String.fromCharCode(aO.charCode==null?aO.keyCode:aO.charCode);return aO.ctrlKey||aO.metaKey||(aM<" "||!aN||aN.indexOf(aM)>-1)}},_doKeyUp:function(aO){var aM,aP=az.datepicker._getInst(aO.target);if(aP.input.val()!==aP.lastVal){try{aM=az.datepicker.parseDate(az.datepicker._get(aP,"dateFormat"),(aP.input?aP.input.val():null),az.datepicker._getFormatConfig(aP));if(aM){az.datepicker._setDateFromField(aP);az.datepicker._updateAlternate(aP);az.datepicker._updateDatepicker(aP)}}catch(aN){}}return true},_showDatepicker:function(aN){aN=aN.target||aN;if(aN.nodeName.toLowerCase()!=="input"){aN=az("input",aN.parentNode)[0]}if(az.datepicker._isDisabledDatepicker(aN)||az.datepicker._lastInput===aN){return}var aP,aT,aO,aR,aS,aM,aQ;aP=az.datepicker._getInst(aN);if(az.datepicker._curInst&&az.datepicker._curInst!==aP){az.datepicker._curInst.dpDiv.stop(true,true);if(aP&&az.datepicker._datepickerShowing){az.datepicker._hideDatepicker(az.datepicker._curInst.input[0])}}aT=az.datepicker._get(aP,"beforeShow");aO=aT?aT.apply(aN,[aN,aP]):{};if(aO===false){return}L(aP.settings,aO);aP.lastVal=null;az.datepicker._lastInput=aN;az.datepicker._setDateFromField(aP);if(az.datepicker._inDialog){aN.value=""}if(!az.datepicker._pos){az.datepicker._pos=az.datepicker._findPos(aN);az.datepicker._pos[1]+=aN.offsetHeight}aR=false;az(aN).parents().each(function(){aR|=az(this).css("position")==="fixed";return !aR});aS={left:az.datepicker._pos[0],top:az.datepicker._pos[1]};az.datepicker._pos=null;aP.dpDiv.empty();aP.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});az.datepicker._updateDatepicker(aP);aS=az.datepicker._checkOffset(aP,aS,aR);aP.dpDiv.css({position:(az.datepicker._inDialog&&az.blockUI?"static":(aR?"fixed":"absolute")),display:"none",left:aS.left+"px",to
346p:aS.top+"px"});if(!aP.inline){aM=az.datepicker._get(aP,"showAnim");aQ=az.datepicker._get(aP,"duration");aP.dpDiv.css("z-index",aq(az(aN))+1);az.datepicker._datepickerShowing=true;if(az.effects&&az.effects.effect[aM]){aP.dpDiv.show(aM,az.datepicker._get(aP,"showOptions"),aQ)}else{aP.dpDiv[aM||"show"](aM?aQ:null)}if(az.datepicker._shouldFocusInput(aP)){aP.input.trigger("focus")}az.datepicker._curInst=aP}},_updateDatepicker:function(aP){this.maxRows=4;aH=aP;aP.dpDiv.empty().append(this._generateHTML(aP));this._attachHandlers(aP);var aS,aM=this._getNumberOfMonths(aP),aR=aM[1],aO=17,aN=aP.dpDiv.find("."+this._dayOverClass+" a"),aQ=az.datepicker._get(aP,"onUpdateDatepicker");if(aN.length>0){R.apply(aN.get(0))}aP.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");if(aR>1){aP.dpDiv.addClass("ui-datepicker-multi-"+aR).css("width",(aO*aR)+"em")}aP.dpDiv[(aM[0]!==1||aM[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi");aP.dpDiv[(this._get(aP,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(aP===az.datepicker._curInst&&az.datepicker._datepickerShowing&&az.datepicker._shouldFocusInput(aP)){aP.input.trigger("focus")}if(aP.yearshtml){aS=aP.yearshtml;setTimeout(function(){if(aS===aP.yearshtml&&aP.yearshtml){aP.dpDiv.find("select.ui-datepicker-year").first().replaceWith(aP.yearshtml)}aS=aP.yearshtml=null},0)}if(aQ){aQ.apply((aP.input?aP.input[0]:null),[aP])}},_shouldFocusInput:function(aM){return aM.input&&aM.input.is(":visible")&&!aM.input.is(":disabled")&&!aM.input.is(":focus")},_checkOffset:function(aR,aP,aO){var aQ=aR.dpDiv.outerWidth(),aU=aR.dpDiv.outerHeight(),aT=aR.input?aR.input.outerWidth():0,aM=aR.input?aR.input.outerHeight():0,aS=document.documentElement.clientWidth+(aO?0:az(document).scrollLeft()),aN=document.documentElement.clientHeight+(aO?0:az(document).scrollTop());aP.left-=(this._get(aR,"isRTL")?(aQ-aT):0);aP.left-=(aO&&aP.left===aR.input.offset().left)?az(document).scrollLeft():0;aP.top-=(aO&&aP.top===(aR.input.offset().top+aM))?az(document).scrollTop():0;aP.left-=Math.min(aP.left,(aP.left+aQ>aS&&aS>aQ)?Math.abs(aP.left+aQ-aS):0);aP.top-=Math.min(aP.top,(aP.top+aU>aN&&aN>aU)?Math.abs(aU+aM):0);return aP},_findPos:function(aP){var aM,aO=this._getInst(aP),aN=this._get(aO,"isRTL");while(aP&&(aP.type==="hidden"||aP.nodeType!==1||az.expr.pseudos.hidden(aP))){aP=aP[aN?"previousSibling":"nextSibling"]}aM=az(aP).offset();return[aM.left,aM.top]},_hideDatepicker:function(aO){var aN,aR,aQ,aM,aP=this._curInst;if(!aP||(aO&&aP!==az.data(aO,"datepicker"))){return}if(this._datepickerShowing){aN=this._get(aP,"showAnim");aR=this._get(aP,"duration");aQ=function(){az.datepicker._tidyDialog(aP)};if(az.effects&&(az.effects.effect[aN]||az.effects[aN])){aP.dpDiv.hide(aN,az.datepicker._get(aP,"showOptions"),aR,aQ)}else{aP.dpDiv[(aN==="slideDown"?"slideUp":(aN==="fadeIn"?"fadeOut":"hide"))]((aN?aR:null),aQ)}if(!aN){aQ()}this._datepickerShowing=false;aM=this._get(aP,"onClose");if(aM){aM.apply((aP.input?aP.input[0]:null),[(aP.input?aP.input.val():""),aP])}this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(az.blockUI){az.unblockUI();az("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(aM){aM.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(aN){if(!az.datepicker._curInst){return}var aM=az(aN.target),aO=az.datepicker._getInst(aM[0]);if(((aM[0].id!==az.datepicker._mainDivId&&aM.parents("#"+az.datepicker._mainDivId).length===0&&!aM.hasClass(az.datepicker.markerClassName)&&!aM.closest("."+az.datepicker._triggerClass).length&&az.datepicker._datepickerShowing&&!(az.datepicker._inDialog&&az.blockUI)))||(aM.hasClass(az.datepicker.markerClassName)&&az.datepicker._curInst!==aO)){az.datepicker._hideDatepicker()}},_adjustDate:function(aQ,aP,aO){var aN=az(aQ),aM=this._getInst(aN[0]);if(this._isDisabledDatepicker(aN[0])){return}this._adjustInstDate(aM,aP,aO);this._updateDatepicker(aM)},_gotoToday:function(aP){var aM,aO=az(aP),aN=this._getInst(aO[0]);if(this._get(aN,"gotoCurrent")&&aN.currentDay){aN.selectedDay=aN.currentDay;aN.drawMonth=aN.selectedMonth=aN.currentMonth;aN.drawYear=aN.selectedYear=aN.currentYear}else{aM=new Date();aN.selectedDay=aM.getDate();aN.drawMonth=aN.selectedMonth=aM.getMonth();aN.drawYear=aN.selectedYear=aM.getFullYear()}this._notifyChange(aN);this._adjustDate(aO)},_selectMonthYear:function(aQ,aM,aP){var aO=az(aQ),aN=this._getInst(aO[0]);aN["selected"+(aP==="M"?"Month":"Year")]=aN["draw"+(aP==="M"?"Month":"Year")]=parseInt(aM.options[aM.selectedIndex].value,10);this._notifyChange(aN);this._adjustDate(aO)},_selectDay:function(aR,aP,aM,aQ){var aN,aO=az(aR);if(az(aQ).hasClass(this._unselectableClass)||this._isDisabledDatepicker(aO[0])){return}aN=this._getInst(aO[0]);aN.selectedDay=aN.currentDay=parseInt(az("a",aQ).attr("data-date"));aN.selectedMonth=aN.currentMonth=aP;aN.selectedYear=aN.currentYear=aM;this._selectDate(aR,this._formatDate(aN,aN.currentDay,aN.currentMonth,aN.currentYear))},_clearDate:function(aN){var aM=az(aN);this._selectDate(aM,"")},_selectDate:function(aQ,aM){var aN,aP=az(aQ),aO=this._getInst(aP[0]);aM=(aM!=null?aM:this._formatDate(aO));if(aO.input){aO.input.val(aM)}
346this._updateAlternate(aO);aN=this._get(aO,"onSelect");if(aN){aN.apply((aO.input?aO.input[0]:null),[aM,aO])}else{if(aO.input){aO.input.trigger("change")}}if(aO.inline){this._updateDatepicker(aO)}else{this._hideDatepicker();this._lastInput=aO.input[0];if(typeof(aO.input[0])!=="object"){aO.input.trigger("focus")}this._lastInput=null}},_updateAlternate:function(aQ){var aP,aO,aM,aN=this._get(aQ,"altField");if(aN){aP=this._get(aQ,"altFormat")||this._get(aQ,"dateFormat");aO=this._getDate(aQ);aM=this.formatDate(aP,aO,this._getFormatConfig(aQ));az(document).find(aN).val(aM)}},noWeekends:function(aN){var aM=aN.getDay();return[(aM>0&&aM<6),""]},iso8601Week:function(aM){var aN,aO=new Date(aM.getTime());aO.setDate(aO.getDate()+4-(aO.getDay()||7));aN=aO.getTime();aO.setMonth(0);aO.setDate(1);return Math.floor(Math.round((aN-aO)/86400000)/7)+1},parseDate:function(a2,aX,a4){if(a2==null||aX==null){throw"Invalid arguments"}aX=(typeof aX==="object"?aX.toString():aX+"");if(aX===""){return null}var aP,aZ,aN,a3=0,aS=(a4?a4.shortYearCutoff:null)||this._defaults.shortYearCutoff,aO=(typeof aS!=="string"?aS:new Date().getFullYear()%100+parseInt(aS,10)),aV=(a4?a4.dayNamesShort:null)||this._defaults.dayNamesShort,a6=(a4?a4.dayNames:null)||this._defaults.dayNames,aM=(a4?a4.monthNamesShort:null)||this._defaults.monthNamesShort,aQ=(a4?a4.monthNames:null)||this._defaults.monthNames,aR=-1,a7=-1,a1=-1,aU=-1,a0=false,a5,aW=function(a9){var ba=(aP+1<a2.length&&a2.charAt(aP+1)===a9);if(ba){aP++}return ba},a8=function(bb){var a9=aW(bb),bc=(bb==="@"?14:(bb==="!"?20:(bb==="y"&&a9?4:(bb==="o"?3:2)))),be=(bb==="y"?bc:1),bd=new RegExp("^\\d{"+be+","+bc+"}"),ba=aX.substring(a3).match(bd);if(!ba){throw"Missing number at position "+a3}a3+=ba[0].length;return parseInt(ba[0],10)},aT=function(ba,bb,bd){var a9=-1,bc=az.map(aW(ba)?bd:bb,function(bf,be){return[[be,bf]]}).sort(function(bf,be){return -(bf[1].length-be[1].length)});az.each(bc,function(bf,bg){var be=bg[1];if(aX.substr(a3,be.length).toLowerCase()===be.toLowerCase()){a9=bg[0];a3+=be.length;return false}});if(a9!==-1){return a9+1}else{throw"Unknown name at position "+a3}},aY=function(){if(aX.charAt(a3)!==a2.charAt(aP)){throw"Unexpected literal at position "+a3}a3++};for(aP=0;aP<a2.length;aP++){if(a0){if(a2.charAt(aP)==="'"&&!aW("'")){a0=false}else{aY()}}else{switch(a2.charAt(aP)){case"d":a1=a8("d");break;case"D":aT("D",aV,a6);break;case"o":aU=a8("o");break;case"m":a7=a8("m");break;case"M":a7=aT("M",aM,aQ);break;case"y":aR=a8("y");break;case"@":a5=new Date(a8("@"));aR=a5.getFullYear();a7=a5.getMonth()+1;a1=a5.getDate();break;case"!":a5=new Date((a8("!")-this._ticksTo1970)/10000);aR=a5.getFullYear();a7=a5.getMonth()+1;a1=a5.getDate();break;case"'":if(aW("'")){aY()}else{a0=true}break;default:aY()}}}if(a3<aX.length){aN=aX.substr(a3);if(!/^\s+/.test(aN)){throw"Extra/unparsed characters found in date: "+aN}}if(aR===-1){aR=new Date().getFullYear()}else{if(aR<100){aR+=new Date().getFullYear()-new Date().getFullYear()%100+(aR<=aO?0:-100)}}if(aU>-1){a7=1;a1=aU;do{aZ=this._getDaysInMonth(aR,a7-1);if(a1<=aZ){break}a7++;a1-=aZ}while(true)}a5=this._daylightSavingAdjust(new Date(aR,a7-1,a1));if(a5.getFullYear()!==aR||a5.getMonth()+1!==a7||a5.getDate()!==a1){throw"Invalid date"}return a5},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(aV,aP,aQ){if(!aP){return""}var aX,aY=(aQ?aQ.dayNamesShort:null)||this._defaults.dayNamesShort,aN=(aQ?aQ.dayNames:null)||this._defaults.dayNames,aT=(aQ?aQ.monthNamesShort:null)||this._defaults.monthNamesShort,aR=(aQ?aQ.monthNames:null)||this._defaults.monthNames,aW=function(aZ){var a0=(aX+1<aV.length&&aV.charAt(aX+1)===aZ);if(a0){aX++}return a0},aM=function(a1,a2,aZ){var a0=""+a2;if(aW(a1)){while(a0.length<aZ){a0="0"+a0}}return a0},aS=function(aZ,a1,a0,a2){return(aW(aZ)?a2[a1]:a0[a1])},aO="",aU=false;if(aP){for(aX=0;aX<aV.length;aX++){if(aU){if(aV.charAt(aX)==="'"&&!aW("'")){aU=false}else{aO+=aV.charAt(aX)}}else{switch(aV.charAt(aX)){case"d":aO+=aM("d",aP.getDate(),2);break;case"D":aO+=aS("D",aP.getDay(),aY,aN);break;case"o":aO+=aM("o",Math.round((new Date(aP.getFullYear(),aP.getMonth(),aP.getDate()).getTime()-new Date(aP.getFullYear(),0,0).getTime())/86400000),3);break;case"m":aO+=aM("m",aP.getMonth()+1,2);break;case"M":aO+=aS("M",aP.getMonth(),aT,aR);break;case"y":aO+=(aW("y")?aP.getFullYear():(aP.getFullYear()%100<10?"0":"")+aP.getFullYear()%100);break;case"@":aO+=aP.getTime();break;case"!":aO+=aP.getTime()*10000+this._ticksTo1970;break;case"'":if(aW("'")){aO+="'"}else{aU=true}break;default:aO+=aV.charAt(aX)}}}}return aO},_possibleChars:function(aQ){var aP,aO="",aN=false,aM=function(aR){var aS=(aP+1<aQ.length&&aQ.charAt(aP+1)===aR);if(aS){aP++}return aS};for(aP=0;aP<aQ.length;aP++){if(aN){if(aQ.charAt(aP)==="'"&&!aM("'")){aN=false}else{aO+=aQ.charAt(aP)}}else{switch(aQ.charAt(aP)){case"d":case"m":case"y":case"@":aO+="0123456789";break;case"D":case"M":return null;case"'":if(aM("'")){aO+="'"}else{aN=true}break;default:aO+=aQ.charAt(aP)}}}return aO},_get:function(aN,aM){return aN.settings[aM]!==undefined?aN.settings[aM]:this._defaults[aM]}
346,_setDateFromField:function(aR,aO){if(aR.input.val()===aR.lastVal){return}var aM=this._get(aR,"dateFormat"),aT=aR.lastVal=aR.input?aR.input.val():null,aS=this._getDefaultDate(aR),aN=aS,aP=this._getFormatConfig(aR);try{aN=this.parseDate(aM,aT,aP)||aS}catch(aQ){aT=(aO?"":aT)}aR.selectedDay=aN.getDate();aR.drawMonth=aR.selectedMonth=aN.getMonth();aR.drawYear=aR.selectedYear=aN.getFullYear();aR.currentDay=(aT?aN.getDate():0);aR.currentMonth=(aT?aN.getMonth():0);aR.currentYear=(aT?aN.getFullYear():0);this._adjustInstDate(aR)},_getDefaultDate:function(aM){return this._restrictMinMax(aM,this._determineDate(aM,this._get(aM,"defaultDate"),new Date()))},_determineDate:function(aQ,aN,aR){var aP=function(aT){var aS=new Date();aS.setDate(aS.getDate()+aT);return aS},aO=function(aZ){try{return az.datepicker.parseDate(az.datepicker._get(aQ,"dateFormat"),aZ,az.datepicker._getFormatConfig(aQ))}catch(aY){}var aT=(aZ.toLowerCase().match(/^c/)?az.datepicker._getDate(aQ):null)||new Date(),aU=aT.getFullYear(),aX=aT.getMonth(),aS=aT.getDate(),aW=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,aV=aW.exec(aZ);while(aV){switch(aV[2]||"d"){case"d":case"D":aS+=parseInt(aV[1],10);break;case"w":case"W":aS+=parseInt(aV[1],10)*7;break;case"m":case"M":aX+=parseInt(aV[1],10);aS=Math.min(aS,az.datepicker._getDaysInMonth(aU,aX));break;case"y":case"Y":aU+=parseInt(aV[1],10);aS=Math.min(aS,az.datepicker._getDaysInMonth(aU,aX));break}aV=aW.exec(aZ)}return new Date(aU,aX,aS)},aM=(aN==null||aN===""?aR:(typeof aN==="string"?aO(aN):(typeof aN==="number"?(isNaN(aN)?aR:aP(aN)):new Date(aN.getTime()))));aM=(aM&&aM.toString()==="Invalid Date"?aR:aM);if(aM){aM.setHours(0);aM.setMinutes(0);aM.setSeconds(0);aM.setMilliseconds(0)}return this._daylightSavingAdjust(aM)},_daylightSavingAdjust:function(aM){if(!aM){return null}aM.setHours(aM.getHours()>12?aM.getHours()+2:0);return aM},_setDate:function(aS,aP,aR){var aM=!aP,aO=aS.selectedMonth,aQ=aS.selectedYear,aN=this._restrictMinMax(aS,this._determineDate(aS,aP,new Date()));aS.selectedDay=aS.currentDay=aN.getDate();aS.drawMonth=aS.selectedMonth=aS.currentMonth=aN.getMonth();aS.drawYear=aS.selectedYear=aS.currentYear=aN.getFullYear();if((aO!==aS.selectedMonth||aQ!==aS.selectedYear)&&!aR){this._notifyChange(aS)}this._adjustInstDate(aS);if(aS.input){aS.input.val(aM?"":this._formatDate(aS))}},_getDate:function(aN){var aM=(!aN.currentYear||(aN.input&&aN.input.val()==="")?null:this._daylightSavingAdjust(new Date(aN.currentYear,aN.currentMonth,aN.currentDay)));return aM},_attachHandlers:function(aN){var aM=this._get(aN,"stepMonths"),aO="#"+aN.id.replace(/\\\\/g,"\\");aN.dpDiv.find("[data-handler]").map(function(){var aP={prev:function(){az.datepicker._adjustDate(aO,-aM,"M")},next:function(){az.datepicker._adjustDate(aO,+aM,"M")},hide:function(){az.datepicker._hideDatepicker()},today:function(){az.datepicker._gotoToday(aO)},selectDay:function(){az.datepicker._selectDay(aO,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return false},selectMonth:function(){az.datepicker._selectMonthYear(aO,this,"M");return false},selectYear:function(){az.datepicker._selectMonthYear(aO,this,"Y");return false}};az(this).on(this.getAttribute("data-event"),aP[this.getAttribute("data-handler")])})},_generateHTML:function(bs){var a5,a4,bn,bf,aQ,bw,bq,bj,bz,bd,bD,aX,aZ,aY,aN,bv,aV,a8,by,bl,bE,a7,bc,aW,aR,bo,bh,bk,bi,aU,ba,a0,br,bu,aP,bx,bB,bg,a1,bt=new Date(),a6=this._daylightSavingAdjust(new Date(bt.getFullYear(),bt.getMonth(),bt.getDate())),bA=this._get(bs,"isRTL"),bC=this._get(bs,"showButtonPanel"),bm=this._get(bs,"hideIfNoPrevNext"),bb=this._get(bs,"navigationAsDateFormat"),a2=this._getNumberOfMonths(bs),aT=this._get(bs,"showCurrentAtPos"),be=this._get(bs,"stepMonths"),a9=(a2[0]!==1||a2[1]!==1),aO=this._daylightSavingAdjust((!bs.currentDay?new Date(9999,9,9):new Date(bs.currentYear,bs.currentMonth,bs.currentDay))),aS=this._getMinMaxDate(bs,"min"),a3=this._getMinMaxDate(bs,"max"),aM=bs.drawMonth-aT,bp=bs.drawYear;if(aM<0){aM+=12;bp--}if(a3){a5=this._daylightSavingAdjust(new Date(a3.getFullYear(),a3.getMonth()-(a2[0]*a2[1])+1,a3.getDate()));a5=(aS&&a5<aS?aS:a5);while(this._daylightSavingAdjust(new Date(bp,aM,1))>a5){aM--;if(aM<0){aM=11;bp--}}}bs.drawMonth=aM;bs.drawYear=bp;a4=this._get(bs,"prevText");a4=(!bb?a4:this.formatDate(a4,this._daylightSavingAdjust(new Date(bp,aM-be,1)),this._getFormatConfig(bs)));if(this._canAdjustMonth(bs,-1,bp,aM)){bn=az("<a>").attr({"class":"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:a4}).append(az("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(bA?"e":"w")).text(a4))[0].outerHTML}else{if(bm){bn=""}else{bn=az("<a>").attr({"class":"ui-datepicker-prev ui-corner-all ui-state-disabled",title:a4}).append(az("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(bA?"e":"w")).text(a4))[0].outerHTML}}bf=this._get(bs,"nextText");bf=(!bb?bf:this.formatDate(bf,this._daylightSavingAdjust(new Date(bp,aM+be,1)),this._getFormatConfig(bs)));if(this._canAdjustMonth(bs,+1,bp,aM)){aQ=az("<a>").attr({"class":"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:bf}).append(az("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(bA?"w":"e")).text(bf))[0].outerHTML}else{if(bm){aQ=""}else{aQ=az("<a>").attr({"class":"ui-datepicker-next ui-corner-all ui-state-disabled",title:bf}).append(az("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(bA?"w":"e")).text(bf))[0].outerHTML}}bw=this._get(bs,"currentText");bq=(this._get(bs,"gotoCurrent")&&bs.currentDay?aO:a6);bw=(!bb?bw:this.formatDate(bw,bq,this._getFormatConfig(bs)));bj="";if(!bs.inline){bj=az("<button>").attr({type:"button","class":"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(bs,"closeText"))[0].outerHTML}bz="";if(bC){bz=az("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(bA?bj:"").append(this._isInRange(bs,bq)?az("<button>").attr({type:"button","class":"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(bw):"").append(bA?"":bj)[0].outerHTML}bd=parseInt(this._get(bs,"firstDay"),10);bd=(isNaN(bd)?0:bd);bD=this._get(bs,"showWeek");aX=this._get(bs,"dayNames");aZ=this._get(bs,"dayNamesMin");aY=this._get(bs,"monthNames");aN=this._get(bs,"monthNamesShort");bv=this._get(bs,"beforeShowDay");aV=this._get(bs,"showOtherMonths");a8=this._get(bs,"selectOtherMonths");by=this._getDefaultDate(bs);bl="";for(a7=0;a7<a2[0];a7++){bc="";this.maxRows=4;for(aW=0;aW<a2[1];aW++){aR=this._daylightSavingAdjust(new Date(bp,aM,bs.selectedDay));bo=" ui-corner-all";bh="";if(a9){bh+="<div class='ui-datepicker-group";if(a2[1]>1){switch(aW){case 0:bh+=" ui-datepicker-group-first";bo=" ui-corner-"+(bA?"right":"left");break;case a2[1]-1:bh+=" ui-datepicker-group-last";bo=" ui-corner-"+(bA?"left":"right");break;default:bh+=" ui-datepicker-group-middle";bo="";break}}bh+="'>"}bh+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+bo+"'>"+(/all|left/.test(bo)&&a7===0?(bA?aQ:bn):"")+(/all|right/.test(bo)&&a7===0?(bA?bn:aQ):"")+this._generateMonthYearHeader(bs,aM,bp,aS,a3,a7>0||aW>
vendor: 3,828 bytes, line 346
3460,aY,aN)+"</div><table class='ui-datepicker-calendar'><thead><tr>";bk=(bD?"<th class='ui-datepicker-week-col'>"+this._get(bs,"weekHeader")+"</th>":"");for(bE=0;bE<7;bE++){bi=(bE+bd)%7;bk+="<th scope='col'"+((bE+bd+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+aX[bi]+"'>"+aZ[bi]+"</span></th>"}bh+=bk+"</tr></thead><tbody>";aU=this._getDaysInMonth(bp,aM);if(bp===bs.selectedYear&&aM===bs.selectedMonth){bs.selectedDay=Math.min(bs.selectedDay,aU)}ba=(this._getFirstDayOfMonth(bp,aM)-bd+7)%7;a0=Math.ceil((ba+aU)/7);br=(a9?this.maxRows>a0?this.maxRows:a0:a0);this.maxRows=br;bu=this._daylightSavingAdjust(new Date(bp,aM,1-ba));for(aP=0;aP<br;aP++){bh+="<tr>";bx=(!bD?"":"<td class='ui-datepicker-week-col'>"+this._get(bs,"calculateWeek")(bu)+"</td>");for(bE=0;bE<7;bE++){bB=(bv?bv.apply((bs.input?bs.input[0]:null),[bu]):[true,""]);bg=(bu.getMonth()!==aM);a1=(bg&&!a8)||!bB[0]||(aS&&bu<aS)||(a3&&bu>a3);bx+="<td class='"+((bE+bd+6)%7>=5?" ui-datepicker-week-end":"")+(bg?" ui-datepicker-other-month":"")+((bu.getTime()===aR.getTime()&&aM===bs.selectedMonth&&bs._keyEvent)||(by.getTime()===bu.getTime()&&by.getTime()===aR.getTime())?" "+this._dayOverClass:"")+(a1?" "+this._unselectableClass+" ui-state-disabled":"")+(bg&&!aV?"":" "+bB[1]+(bu.getTime()===aO.getTime()?" "+this._currentClass:"")+(bu.getTime()===a6.getTime()?" ui-datepicker-today":""))+"'"+((!bg||aV)&&bB[2]?" title='"+bB[2].replace(/'/g,"'")+"'":"")+(a1?"":" data-handler='selectDay' data-event='click' data-month='"+bu.getMonth()+"' data-year='"+bu.getFullYear()+"'")+">"+(bg&&!aV?" ":(a1?"<span class='ui-state-default'>"+bu.getDate()+"</span>":"<a class='ui-state-default"+(bu.getTime()===a6.getTime()?" ui-state-highlight":"")+(bu.getTime()===aO.getTime()?" ui-state-active":"")+(bg?" ui-priority-secondary":"")+"' href='#' aria-current='"+(bu.getTime()===aO.getTime()?"true":"false")+"' data-date='"+bu.getDate()+"'>"+bu.getDate()+"</a>"))+"</td>";bu.setDate(bu.getDate()+1);bu=this._daylightSavingAdjust(bu)}bh+=bx+"</tr>"}aM++;if(aM>11){aM=0;bp++}bh+="</tbody></table>"+(a9?"</div>"+((a2[0]>0&&aW===a2[1]-1)?"<div class='ui-datepicker-row-break'></div>":""):"");bc+=bh}bl+=bc}bl+=bz;bs._keyEvent=false;return bl},_generateMonthYearHeader:function(aR,aO,aZ,aT,aX,a1,aV,aM){var a5,aN,a6,a3,aS,a2,aY,aU,aP=this._get(aR,"changeMonth"),a7=this._get(aR,"changeYear"),a8=this._get(aR,"showMonthAfterYear"),aQ=this._get(aR,"selectMonthLabel"),a0=this._get(aR,"selectYearLabel"),aW="<div class='ui-datepicker-title'>",a4="";if(a1||!aP){a4+="<span class='ui-datepicker-month'>"+aV[aO]+"</span>"}else{a5=(aT&&aT.getFullYear()===aZ);aN=(aX&&aX.getFullYear()===aZ);a4+="<select class='ui-datepicker-month' aria-label='"+aQ+"' data-handler='selectMonth' data-event='change'>";for(a6=0;a6<12;a6++){if((!a5||a6>=aT.getMonth())&&(!aN||a6<=aX.getMonth())){a4+="<option value='"+a6+"'"+(a6===aO?" selected='selected'":"")+">"+aM[a6]+"</option>"}}a4+="</select>"}if(!a8){aW+=a4+(a1||!(aP&&a7)?" ":"")}if(!aR.yearshtml){aR.yearshtml="";if(a1||!a7){aW+="<span class='ui-datepicker-year'>"+aZ+"</span>"}else{a3=this._get(aR,"yearRange").split(":");aS=new Date().getFullYear();a2=function(ba){var a9=(ba.match(/c[+\-].*/)?aZ+parseInt(ba.substring(1),10):(ba.match(/[+\-].*/)?aS+parseInt(ba,10):parseInt(ba,10)));return(isNaN(a9)?aS:a9)};aY=a2(a3[0]);aU=Math.max(aY,a2(a3[1]||""));aY=(aT?Math.max(aY,aT.getFullYear()):aY);aU=(aX?Math.min(aU,aX.getFullYear()):aU);aR.yearshtml+="<select class='ui-datepicker-year' aria-label='"+a0+"' data-handler='selectYear' data-event='change'>";for(;aY<=aU;aY++){aR.yearshtml+="<option value='"+aY+"'"+(aY===aZ?" selected='selected'":"")+">"+aY+"</option>"}aR.yearshtml+="</select>";aW+=aR.yearshtml;aR.yearshtml=null}}aW+=this._get(aR,"yearSuffix");if(a8){aW+=(a1||!(aP&&a7)?" ":"")+a4}aW+="</div>";return aW}
vendor: 5,691 bytes, lines 346-355
346,_adjustInstDate:function(aP,aS,aR){var aO=aP.selectedYear+(aR==="Y"?aS:0),aQ=aP.selectedMonth+(aR==="M"?aS:0),aM=Math.min(aP.selectedDay,this._getDaysInMonth(aO,aQ))+(aR==="D"?aS:0),aN=this._restrictMinMax(aP,this._daylightSavingAdjust(new Date(aO,aQ,aM)));aP.selectedDay=aN.getDate();aP.drawMonth=aP.selectedMonth=aN.getMonth();aP.drawYear=aP.selectedYear=aN.getFullYear();if(aR==="M"||aR==="Y"){this._notifyChange(aP)}},_restrictMinMax:function(aP,aN){var aO=this._getMinMaxDate(aP,"min"),aQ=this._getMinMaxDate(aP,"max"),aM=(aO&&aN<aO?aO:aN);return(aQ&&aM>aQ?aQ:aM)},_notifyChange:function(aN){var aM=this._get(aN,"onChangeMonthYear");if(aM){aM.apply((aN.input?aN.input[0]:null),[aN.selectedYear,aN.selectedMonth+1,aN])}},_getNumberOfMonths:function(aN){var aM=this._get(aN,"numberOfMonths");return(aM==null?[1,1]:(typeof aM==="number"?[1,aM]:aM))},_getMinMaxDate:function(aN,aM){return this._determineDate(aN,this._get(aN,aM+"Date"),null)},_getDaysInMonth:function(aM,aN){return 32-this._daylightSavingAdjust(new Date(aM,aN,32)).getDate()},_getFirstDayOfMonth:function(aM,aN){return new Date(aM,aN,1).getDay()},_canAdjustMonth:function(aP,aR,aO,aQ){var aM=this._getNumberOfMonths(aP),aN=this._daylightSavingAdjust(new Date(aO,aQ+(aR<0?aR:aM[0]*aM[1]),1));if(aR<0){aN.setDate(this._getDaysInMonth(aN.getFullYear(),aN.getMonth()))}return this._isInRange(aP,aN)},_isInRange:function(aQ,aO){var aN,aT,aP=this._getMinMaxDate(aQ,"min"),aM=this._getMinMaxDate(aQ,"max"),aU=null,aR=null,aS=this._get(aQ,"yearRange");if(aS){aN=aS.split(":");aT=new Date().getFullYear();aU=parseInt(aN[0],10);aR=parseInt(aN[1],10);if(aN[0].match(/[+\-].*/)){aU+=aT}if(aN[1].match(/[+\-].*/)){aR+=aT}}return((!aP||aO.getTime()>=aP.getTime())&&(!aM||aO.getTime()<=aM.getTime())&&(!aU||aO.getFullYear()>=aU)&&(!aR||aO.getFullYear()<=aR))},_getFormatConfig:function(aM){var aN=this._get(aM,"shortYearCutoff");aN=(typeof aN!=="string"?aN:new Date().getFullYear()%100+parseInt(aN,10));return{shortYearCutoff:aN,dayNamesShort:this._get(aM,"dayNamesShort"),dayNames:this._get(aM,"dayNames"),monthNamesShort:this._get(aM,"monthNamesShort"),monthNames:this._get(aM,"monthNames")}},_formatDate:function(aP,aM,aQ,aO){if(!aM){aP.currentDay=aP.selectedDay;aP.currentMonth=aP.selectedMonth;aP.currentYear=aP.selectedYear}var aN=(aM?(typeof aM==="object"?aM:this._daylightSavingAdjust(new Date(aO,aQ,aM))):this._daylightSavingAdjust(new Date(aP.currentYear,aP.currentMonth,aP.currentDay)));return this.formatDate(this._get(aP,"dateFormat"),aN,this._getFormatConfig(aP))}});function ag(aN){var aM="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return aN.on("mouseout",aM,function(){az(this).removeClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){az(this).removeClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!==-1){az(this).removeClass("ui-datepicker-next-hover")}}).on("mouseover",aM,R)}function R(){if(!az.datepicker._isDisabledDatepicker(aH.inline?aH.dpDiv.parent()[0]:aH.input[0])){az(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");az(this).addClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){az(this).addClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!==-1){az(this).addClass("ui-datepicker-next-hover")}}}function L(aO,aN){az.extend(aO,aN);for(var aM in aN){if(aN[aM]==null){aO[aM]=aN[aM]}}return aO}az.fn.datepicker=function(aN){if(!this.length){return this}if(!az.datepicker.initialized){az(document).on("mousedown",az.datepicker._checkExternalClick);az.datepicker.initialized=true}if(az("#"+az.datepicker._mainDivId).length===0){az("body").append(az.datepicker.dpDiv)}var aM=Array.prototype.slice.call(arguments,1);if(typeof aN==="string"&&(aN==="isDisabled"||aN==="getDate"||aN==="widget")){return az.datepicker["_"+aN+"Datepicker"].apply(az.datepicker,[this[0]].concat(aM))}if(aN==="option"&&arguments.length===2&&typeof arguments[1]==="string"){return az.datepicker["_"+aN+"Datepicker"].apply(az.datepicker,[this[0]].concat(aM))}return this.each(function(){if(typeof aN==="string"){az.datepicker["_"+aN+"Datepicker"].apply(az.datepicker,[this].concat(aM))}else{az.datepicker._attachDatepicker(this,aN)}})};az.datepicker=new X();az.datepicker.initialized=false;az.datepicker.uuid=new Date().getTime();az.datepicker.version="1.13.2";var j=az.datepicker;var T=az.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()); 347/*! 348* jQuery UI Mouse 1.13.2 349* http://jqueryui.com 350* 351* Copyright jQuery Foundation and other contributors 352* Released under the MIT license. 353* http://jquery.org/license 354*/ 355;var ak=false;az(document).on("mouseup",function(){ak=false});var a=az.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var aM=this;this.element.on("mousedown."+this.widgetName,function(aN){return aM._mouseDown(aN)}).on("click."+this.widgetName,function(aN){if(true===az.data(aN.target,aM.widgetName+".preventClickEvent")){az.removeData(aN.target,aM.widgetName+".preventClickEvent");aN.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.off("."+this.widgetName);if(this._mouseMoveDelegate){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(aO){if(ak){return}this._mouseMoved=false;if(this._mouseStarted){this._mouseUp(aO)}this._mouseDownEvent=aO;var aN=this,aP=(aO.which===1),aM=(typeof this.options.cancel==="string"&&aO.target.nodeName?az(aO.target).closest(this.options.cancel).length:false);
355if(!aP||aM||!this._mouseCapture(aO)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){aN.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(aO)&&this._mouseDelayMet(aO)){this._mouseStarted=(this._mouseStart(aO)!==false);if(!this._mouseStarted){aO.preventDefault();return true}}if(true===az.data(aO.target,this.widgetName+".preventClickEvent")){az.removeData(aO.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(aQ){return aN._mouseMove(aQ)};this._mouseUpDelegate=function(aQ){return aN._mouseUp(aQ)};this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate);aO.preventDefault();ak=true;return true},_mouseMove:function(aM){if(this._mouseMoved){if(az.ui.ie&&(!document.documentMode||document.documentMode<9)&&!aM.button){return this._mouseUp(aM)}else{if(!aM.which){if(aM.originalEvent.altKey||aM.originalEvent.ctrlKey||aM.originalEvent.metaKey||aM.originalEvent.shiftKey){this.ignoreMissingWhich=true}else{if(!this.ignoreMissingWhich){return this._mouseUp(aM)}}}}}if(aM.which||aM.button){this._mouseMoved=true}if(this._mouseStarted){this._mouseDrag(aM);return aM.preventDefault()}if(this._mouseDistanceMet(aM)&&this._mouseDelayMet(aM)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,aM)!==false);if(this._mouseStarted){this._mouseDrag(aM)}else{this._mouseUp(aM)}}return !this._mouseStarted},_mouseUp:function(aM){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(aM.target===this._mouseDownEvent.target){az.data(aM.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(aM)}if(this._mouseDelayTimer){clearTimeout(this._mouseDelayTimer);delete this._mouseDelayTimer}this.ignoreMissingWhich=false;ak=false;aM.preventDefault()},_mouseDistanceMet:function(aM){return(Math.max(Math.abs(this._mouseDownEvent.pageX-aM.pageX),Math.abs(this._mouseDownEvent.pageY-aM.pageY))>=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}});var M=az.ui.plugin={add:function(aN,aO,aQ){var aM,aP=az.ui[aN].prototype;for(aM in aQ){aP.plugins[aM]=aP.plugins[aM]||[];aP.plugins[aM].push([aO,aQ[aM]])}},call:function(aM,aP,aO,aN){var aQ,aR=aM.plugins[aP];if(!aR){return}if(!aN&&(!aM.element[0].parentNode||aM.element[0].parentNode.nodeType===11)){return}for(aQ=0;aQ<aR.length;aQ++){if(aM.options[aR[aQ][0]]){aR[aQ][1].apply(aM.element,aO)}}}};var c=az.ui.safeBlur=function(aM){if(aM&&aM.nodeName.toLowerCase()!=="body"){az(aM).trigger("blur")}}; 356/*! 357* jQuery UI Draggable 1.13.2 358* http://jqueryui.com 359* 360* Copyright jQuery Foundation and other contributors 361* Released under the MIT license. 362* http://jquery.org/license 363*/ 364;az.widget("ui.draggable",az.ui.mouse,{version:"1.13.2",widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false,drag:null,start:null,stop:null},_create:function(){if(this.options.helper==="original"){this._setPositionRelative()}if(this.options.addClasses){this._addClass("ui-draggable")}this._setHandleClassName();this._mouseInit()},_setOption:function(aM,aN){this._super(aM,aN);if(aM==="handle"){this._removeHandleClassName();this._setHandleClassName()}},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=true;return}this._removeHandleClassName();this._mouseDestroy()},_mouseCapture:function(aM){var aN=this.options;if(this.helper||aN.disabled||az(aM.target).closest(".ui-resizable-handle").length>0){return false}this.handle=this._getHandle(aM);if(!this.handle){return false}this._blurActiveElement(aM);this._blockFrames(aN.iframeFix===true?"iframe":aN.iframeFix);return true},_blockFrames:function(aM){this.iframeBlocks=this.document.find(aM).map(function(){var aN=az(this);return az("<div>").css("position","absolute").appendTo(aN.parent()).outerWidth(aN.outerWidth()).outerHeight(aN.outerHeight()).offset(aN.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_blurActiveElement:function(aN){var aM=az.ui.safeActiveElement(this.document[0]),aO=az(aN.target);if(aO.closest(aM).length){return}az.ui.safeBlur(aM)},_mouseStart:function(aM){var aN=this.options;this.helper=this._createHelper(aM);this._addClass(this.helper,"ui-draggable-dragging");this._cacheHelperProportions();if(az.ui.ddmanager){az.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent(true);this.offsetParent=this.helper.offsetParent();this.hasFixedAncestor=this.helper.parents().filter(function(){return az(this).css("position")==="fixed"}).length>0;this.positionAbs=this.element.offset();this._refreshOffsets(aM);this.originalPosition=this.position=this._generatePosition(aM,false);this.originalPageX=aM.pageX;this.originalPageY=aM.pageY;if(aN.cursorAt){this._adjustOffsetFromHelper(aN.cursorAt)}this._setContainment();if(this._trigger("start",aM)===false){this._clear();return false}this._cacheHelperProportions();if(az.ui.ddmanager&&!aN.dropBehaviour){az.ui.ddmanager.prepareOffsets(this,aM)}this._mouseDrag(aM,true);if(az.ui.ddmanager){az.ui.ddmanager.dragStart(this,aM)}return true},_refreshOffsets:function(aM){this.offset={top:this.positionAbs.top-this.margins.top,left
364:this.positionAbs.left-this.margins.left,scroll:false,parent:this._getParentOffset(),relative:this._getRelativeOffset()};this.offset.click={left:aM.pageX-this.offset.left,top:aM.pageY-this.offset.top}},_mouseDrag:function(aM,aO){if(this.hasFixedAncestor){this.offset.parent=this._getParentOffset()}this.position=this._generatePosition(aM,true);this.positionAbs=this._convertPositionTo("absolute");if(!aO){var aN=this._uiHash();if(this._trigger("drag",aM,aN)===false){this._mouseUp(new az.Event("mouseup",aM));return false}this.position=aN.position}this.helper[0].style.left=this.position.left+"px";this.helper[0].style.top=this.position.top+"px";if(az.ui.ddmanager){az.ui.ddmanager.drag(this,aM)}return false},_mouseStop:function(aN){var aM=this,aO=false;if(az.ui.ddmanager&&!this.options.dropBehaviour){aO=az.ui.ddmanager.drop(this,aN)}if(this.dropped){aO=this.dropped;this.dropped=false}if((this.options.revert==="invalid"&&!aO)||(this.options.revert==="valid"&&aO)||this.options.revert===true||(typeof this.options.revert==="function"&&this.options.revert.call(this.element,aO))){az(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(aM._trigger("stop",aN)!==false){aM._clear()}})}else{if(this._trigger("stop",aN)!==false){this._clear()}}return false},_mouseUp:function(aM){this._unblockFrames();if(az.ui.ddmanager){az.ui.ddmanager.dragStop(this,aM)}if(this.handleElement.is(aM.target)){this.element.trigger("focus")}return az.ui.mouse.prototype._mouseUp.call(this,aM)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp(new az.Event("mouseup",{target:this.element[0]}))}else{this._clear()}return this},_getHandle:function(aM){return this.options.handle?!!az(aM.target).closest(this.element.find(this.options.handle)).length:true},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element;this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(aN){var aP=this.options,aO=typeof aP.helper==="function",aM=aO?az(aP.helper.apply(this.element[0],[aN])):(aP.helper==="clone"?this.element.clone().removeAttr("id"):this.element);if(!aM.parents("body").length){aM.appendTo((aP.appendTo==="parent"?this.element[0].parentNode:aP.appendTo))}if(aO&&aM[0]===this.element[0]){this._setPositionRelative()}if(aM[0]!==this.element[0]&&!(/(fixed|absolute)/).test(aM.css("position"))){aM.css("position","absolute")}return aM},_setPositionRelative:function(){if(!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}},_adjustOffsetFromHelper:function(aM){if(typeof aM==="string"){aM=aM.split(" ")}if(Array.isArray(aM)){aM={left:+aM[0],top:+aM[1]||0}}if("left" in aM){this.offset.click.left=aM.left+this.margins.left}if("right" in aM){this.offset.click.left=this.helperProportions.width-aM.right+this.margins.left}if("top" in aM){this.offset.click.top=aM.top+this.margins.top}if("bottom" in aM){this.offset.click.top=this.helperProportions.height-aM.bottom+this.margins.top}},_isRootNode:function(aM){return(/(html|body)/i).test(aM.tagName)||aM===this.document[0]},_getParentOffset:function(){var aN=this.offsetParent.offset(),aM=this.document[0];if(this.cssPosition==="absolute"&&this.scrollParent[0]!==aM&&az.contains(this.scrollParent[0],this.offsetParent[0])){aN.left+=this.scrollParent.scrollLeft();aN.top+=this.scrollParent.scrollTop()}if(this._isRootNode(this.offsetParent[0])){aN={top:0,left:0}}return{top:aN.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:aN.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative"){return{top:0,left:0}}var aM=this.element.position(),aN=this._isRootNode(this.scrollParent[0]);return{top:aM.top-(parseInt(this.helper.css("top"),10)||0)+(!aN?this.scrollParent.scrollTop():0),left:aM.left-(parseInt(this.helper.css("left"),10)||0)+(!aN?this.scrollParent.scrollLeft():0)}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var aN,aQ,aO,aP=this.options,aM=this.document[0];this.relativeContainer=null;if(!aP.containment){this.containment=null;return}if(aP.containment==="window"){this.containment=[az(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,az(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,az(window).scrollLeft()+az(window).width()-this.helperProportions.width-this.margins.left,az(window).scrollTop()+(az(window).height()||aM.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(aP.containment==="document"){this.containment=[0,0,az(aM).width()-this.helperProportions.width-this.margins.left,(az(aM).height()||aM.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(aP.containment.constructor===Array){this.containment=aP.containment;return}if(aP.containment==="parent"){aP.containment=this.helper[0].parentNode}aQ=az(aP.containment);aO=aQ[0];if(!aO){return}aN=/(scroll|auto)/.test(aQ.css("overflow"));this.containment=[(parseInt(aQ.css("borderLeftWidth"),10)||0)+(parseInt(aQ.css("paddingLeft"),10)||0),(parseInt(aQ.css("borderTopWidth"),
36410)||0)+(parseInt(aQ.css("paddingTop"),10)||0),(aN?Math.max(aO.scrollWidth,aO.offsetWidth):aO.offsetWidth)-(parseInt(aQ.css("borderRightWidth"),10)||0)-(parseInt(aQ.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(aN?Math.max(aO.scrollHeight,aO.offsetHeight):aO.offsetHeight)-(parseInt(aQ.css("borderBottomWidth"),10)||0)-(parseInt(aQ.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relativeContainer=aQ},_convertPositionTo:function(aN,aP){if(!aP){aP=this.position}var aM=aN==="absolute"?1:-1,aO=this._isRootNode(this.scrollParent[0]);return{top:(aP.top+this.offset.relative.top*aM+this.offset.parent.top*aM-((this.cssPosition==="fixed"?-this.offset.scroll.top:(aO?0:this.offset.scroll.top))*aM)),left:(aP.left+this.offset.relative.left*aM+this.offset.parent.left*aM-((this.cssPosition==="fixed"?-this.offset.scroll.left:(aO?0:this.offset.scroll.left))*aM))}},_generatePosition:function(aN,aT){var aM,aU,aV,aP,aO=this.options,aS=this._isRootNode(this.scrollParent[0]),aR=aN.pageX,aQ=aN.pageY;if(!aS||!this.offset.scroll){this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}}if(aT){if(this.containment){if(this.relativeContainer){aU=this.relativeContainer.offset();aM=[this.containment[0]+aU.left,this.containment[1]+aU.top,this.containment[2]+aU.left,this.containment[3]+aU.top]}else{aM=this.containment}if(aN.pageX-this.offset.click.left<aM[0]){aR=aM[0]+this.offset.click.left}if(aN.pageY-this.offset.click.top<aM[1]){aQ=aM[1]+this.offset.click.top}if(aN.pageX-this.offset.click.left>aM[2]){aR=aM[2]+this.offset.click.left}if(aN.pageY-this.offset.click.top>aM[3]){aQ=aM[3]+this.offset.click.top}}if(aO.grid){aV=aO.grid[1]?this.originalPageY+Math.round((aQ-this.originalPageY)/aO.grid[1])*aO.grid[1]:this.originalPageY;aQ=aM?((aV-this.offset.click.top>=aM[1]||aV-this.offset.click.top>aM[3])?aV:((aV-this.offset.click.top>=aM[1])?aV-aO.grid[1]:aV+aO.grid[1])):aV;aP=aO.grid[0]?this.originalPageX+Math.round((aR-this.originalPageX)/aO.grid[0])*aO.grid[0]:this.originalPageX;aR=aM?((aP-this.offset.click.left>=aM[0]||aP-this.offset.click.left>aM[2])?aP:((aP-this.offset.click.left>=aM[0])?aP-aO.grid[0]:aP+aO.grid[0])):aP}if(aO.axis==="y"){aR=this.originalPageX}if(aO.axis==="x"){aQ=this.originalPageY}}return{top:(aQ-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:(aS?0:this.offset.scroll.top))),left:(aR-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:(aS?0:this.offset.scroll.left)))}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging");if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false;if(this.destroyOnClear){this.destroy()}},_trigger:function(aM,aN,aO){aO=aO||this._uiHash();az.ui.plugin.call(this,aM,[aN,aO,this],true);
364if(/^(drag|start|stop)/.test(aM)){this.positionAbs=this._convertPositionTo("absolute");aO.offset=this.positionAbs}return az.Widget.prototype._trigger.call(this,aM,aN,aO)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});az.ui.plugin.add("draggable","connectToSortable",{start:function(aO,aP,aM){var aN=az.extend({},aP,{item:aM.element});aM.sortables=[];az(aM.options.connectToSortable).each(function(){var aQ=az(this).sortable("instance");if(aQ&&!aQ.options.disabled){aM.sortables.push(aQ);aQ.refreshPositions();aQ._trigger("activate",aO,aN)}})},stop:function(aO,aP,aM){var aN=az.extend({},aP,{item:aM.element});aM.cancelHelperRemoval=false;az.each(aM.sortables,function(){var aQ=this;if(aQ.isOver){aQ.isOver=0;aM.cancelHelperRemoval=true;aQ.cancelHelperRemoval=false;aQ._storedCSS={position:aQ.placeholder.css("position"),top:aQ.placeholder.css("top"),left:aQ.placeholder.css("left")};aQ._mouseStop(aO);aQ.options.helper=aQ.options._helper}else{aQ.cancelHelperRemoval=true;aQ._trigger("deactivate",aO,aN)}})},drag:function(aN,aO,aM){az.each(aM.sortables,function(){var aP=false,aQ=this;aQ.positionAbs=aM.positionAbs;aQ.helperProportions=aM.helperProportions;aQ.offset.click=aM.offset.click;if(aQ._intersectsWith(aQ.containerCache)){aP=true;az.each(aM.sortables,function(){this.positionAbs=aM.positionAbs;this.helperProportions=aM.helperProportions;this.offset.click=aM.offset.click;if(this!==aQ&&this._intersectsWith(this.containerCache)&&az.contains(aQ.element[0],this.element[0])){aP=false}return aP})}if(aP){if(!aQ.isOver){aQ.isOver=1;aM._parent=aO.helper.parent();aQ.currentItem=aO.helper.appendTo(aQ.element).data("ui-sortable-item",true);aQ.options._helper=aQ.options.helper;aQ.options.helper=function(){return aO.helper[0]};aN.target=aQ.currentItem[0];aQ._mouseCapture(aN,true);aQ._mouseStart(aN,true,true);aQ.offset.click.top=aM.offset.click.top;aQ.offset.click.left=aM.offset.click.left;aQ.offset.parent.left-=aM.offset.parent.left-aQ.offset.parent.left;aQ.offset.parent.top-=aM.offset.parent.top-aQ.offset.parent.top;aM._trigger("toSortable",aN);aM.dropped=aQ.element;az.each(aM.sortables,function(){this.refreshPositions()});aM.currentItem=aM.element;aQ.fromOutside=aM}if(aQ.currentItem){aQ._mouseDrag(aN);aO.position=aQ.position}}else{if(aQ.isOver){aQ.isOver=0;aQ.cancelHelperRemoval=true;aQ.options._revert=aQ.options.revert;aQ.options.revert=false;aQ._trigger("out",aN,aQ._uiHash(aQ));aQ._mouseStop(aN,true);aQ.options.revert=aQ.options._revert;aQ.options.helper=aQ.options._helper;if(aQ.placeholder){aQ.placeholder.remove()}aO.helper.appendTo(aM._parent);aM._refreshOffsets(aN);aO.position=aM._generatePosition(aN,true);aM._trigger("fromSortable",aN);aM.dropped=false;az.each(aM.sortables,function(){this.refreshPositions()})}}})}});az.ui.plugin.add("draggable","cursor",{start:function(aO,aP,aM){var aN=az("body"),aQ=aM.options;if(aN.css("cursor")){aQ._cursor=aN.css("cursor")}aN.css("cursor",aQ.cursor)},stop:function(aN,aO,aM){var aP=aM.options;if(aP._cursor){az("body").css("cursor",aP._cursor)}}});az.ui.plugin.add("draggable","opacity",{start:function(aO,aP,aM){var aN=az(aP.helper),aQ=aM.options;if(aN.css("opacity")){aQ._opacity=aN.css("opacity")}aN.css("opacity",aQ.opacity)},stop:function(aN,aO,aM){var aP=aM.options;if(aP._opacity){az(aO.helper).css("opacity",aP._opacity)}}});az.ui.plugin.add("draggable","scroll",{start:function(aN,aO,aM){if(!aM.scrollParentNotHidden){aM.scrollParentNotHidden=aM.helper.scrollParent(false)}if(aM.scrollParentNotHidden[0]!==aM.document[0]&&aM.scrollParentNotHidden[0].tagName!=="HTML"){aM.overflowOffset=aM.scrollParentNotHidden.offset()}},drag:function(aP,aQ,aO){var aR=aO.options,aN=false,aS=aO.scrollParentNotHidden[0],aM=aO.document[0];if(aS!==aM&&aS.tagName!=="HTML"){if(!aR.axis||aR.axis!=="x"){if((aO.overflowOffset.top+aS.offsetHeight)-aP.pageY<aR.scrollSensitivity){aS.scrollTop=aN=aS.scrollTop+aR.scrollSpeed}else{if(aP.pageY-aO.overflowOffset.top<aR.scrollSensitivity){aS.scrollTop=aN=aS.scrollTop-aR.scrollSpeed}}}if(!aR.axis||aR.axis!=="y"){if((aO.overflowOffset.left+aS.offsetWidth)-aP.pageX<aR.scrollSensitivity){aS.scrollLeft=aN=aS.scrollLeft+aR.scrollSpeed}else{if(aP.pageX-aO.overflowOffset.left<aR.scrollSensitivity){aS.scrollLeft=aN=aS.scrollLeft-aR.scrollSpeed}}}}else{if(!aR.axis||aR.axis!=="x"){if(aP.pageY-az(aM).scrollTop()<aR.scrollSensitivity){aN=az(aM).scrollTop(az(aM).scrollTop()-aR.scrollSpeed)}else{if(az(window).height()-(aP.pageY-az(aM).scrollTop())<aR.scrollSensitivity){aN=az(aM).scrollTop(az(aM).scrollTop()+aR.scrollSpeed)}}}if(!aR.axis||aR.axis!=="y"){if(aP.pageX-az(aM).scrollLeft()<aR.scrollSensitivity){aN=az(aM).scrollLeft(az(aM).scrollLeft()-aR.scrollSpeed)}else{if(az(window).width()-(aP.pageX-az(aM).scrollLeft())<aR.scrollSensitivity){aN=az(aM).scrollLeft(az(aM).scrollLeft()+aR.scrollSpeed)}}}}if(aN!==false&&az.ui.ddmanager&&!aR.dropBehaviour){az.ui.ddmanager.prepareOffsets(aO,aP)}}});az.ui.plugin.add("draggable","snap",{start:function(aN,aO,aM){var aP=aM.options;aM.snapElements=[];az(aP.snap.constructor!==String?(aP.snap.items||":data(ui-draggable)"):aP.snap).each(function(){var aR=az(this),aQ=aR.offset();if(this!==aM.element[0]){aM.snapElements.push({item:this,width:aR.outerWidth(),height:aR.outerHeight(),top:aQ.top,left
vendor: 6,750 bytes, lines 364-373
364:aQ.left})}})},drag:function(aY,aV,aP){var aM,a3,aR,aS,aX,aU,aT,a4,aZ,aQ,aW=aP.options,a2=aW.snapTolerance,a1=aV.offset.left,a0=a1+aP.helperProportions.width,aO=aV.offset.top,aN=aO+aP.helperProportions.height;for(aZ=aP.snapElements.length-1;aZ>=0;aZ--){aX=aP.snapElements[aZ].left-aP.margins.left;aU=aX+aP.snapElements[aZ].width;aT=aP.snapElements[aZ].top-aP.margins.top;a4=aT+aP.snapElements[aZ].height;if(a0<aX-a2||a1>aU+a2||aN<aT-a2||aO>a4+a2||!az.contains(aP.snapElements[aZ].item.ownerDocument,aP.snapElements[aZ].item)){if(aP.snapElements[aZ].snapping){if(aP.options.snap.release){aP.options.snap.release.call(aP.element,aY,az.extend(aP._uiHash(),{snapItem:aP.snapElements[aZ].item}))}}aP.snapElements[aZ].snapping=false;continue}if(aW.snapMode!=="inner"){aM=Math.abs(aT-aN)<=a2;a3=Math.abs(a4-aO)<=a2;aR=Math.abs(aX-a0)<=a2;aS=Math.abs(aU-a1)<=a2;if(aM){aV.position.top=aP._convertPositionTo("relative",{top:aT-aP.helperProportions.height,left:0}).top}if(a3){aV.position.top=aP._convertPositionTo("relative",{top:a4,left:0}).top}if(aR){aV.position.left=aP._convertPositionTo("relative",{top:0,left:aX-aP.helperProportions.width}).left}if(aS){aV.position.left=aP._convertPositionTo("relative",{top:0,left:aU}).left}}aQ=(aM||a3||aR||aS);if(aW.snapMode!=="outer"){aM=Math.abs(aT-aO)<=a2;a3=Math.abs(a4-aN)<=a2;aR=Math.abs(aX-a1)<=a2;aS=Math.abs(aU-a0)<=a2;if(aM){aV.position.top=aP._convertPositionTo("relative",{top:aT,left:0}).top}if(a3){aV.position.top=aP._convertPositionTo("relative",{top:a4-aP.helperProportions.height,left:0}).top}if(aR){aV.position.left=aP._convertPositionTo("relative",{top:0,left:aX}).left}if(aS){aV.position.left=aP._convertPositionTo("relative",{top:0,left:aU-aP.helperProportions.width}).left}}if(!aP.snapElements[aZ].snapping&&(aM||a3||aR||aS||aQ)){if(aP.options.snap.snap){aP.options.snap.snap.call(aP.element,aY,az.extend(aP._uiHash(),{snapItem:aP.snapElements[aZ].item}))}}aP.snapElements[aZ].snapping=(aM||a3||aR||aS||aQ)}}});az.ui.plugin.add("draggable","stack",{start:function(aO,aP,aM){var aN,aR=aM.options,aQ=az.makeArray(az(aR.stack)).sort(function(aT,aS){return(parseInt(az(aT).css("zIndex"),10)||0)-(parseInt(az(aS).css("zIndex"),10)||0)});if(!aQ.length){return}aN=parseInt(az(aQ[0]).css("zIndex"),10)||0;az(aQ).each(function(aS){az(this).css("zIndex",aN+aS)});this.css("zIndex",(aN+aQ.length))}});az.ui.plugin.add("draggable","zIndex",{start:function(aO,aP,aM){var aN=az(aP.helper),aQ=aM.options;if(aN.css("zIndex")){aQ._zIndex=aN.css("zIndex")}aN.css("zIndex",aQ.zIndex)},stop:function(aN,aO,aM){var aP=aM.options;if(aP._zIndex){az(aO.helper).css("zIndex",aP._zIndex)}}});var B=az.ui.draggable; 365/*! 366* jQuery UI Resizable 1.13.2 367* http://jqueryui.com 368* 369* Copyright jQuery Foundation and other contributors 370* Released under the MIT license. 371* http://jquery.org/license 372*/ 373;az.widget("ui.resizable",az.ui.mouse,{version:"1.13.2",widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(aM){return parseFloat(aM)||0},_isNumber:function(aM){return !isNaN(parseFloat(aM))},_hasScroll:function(aP,aN){if(az(aP).css("overflow")==="hidden"){return false}var aM=(aN&&aN==="left")?"scrollLeft":"scrollTop",aO=false;if(aP[aM]>0){return true}try{aP[aM]=1;aO=(aP[aM]>0);aP[aM]=0}catch(aQ){}return aO},_create:function(){var aN,aO=this.options,aM=this;this._addClass("ui-resizable");az.extend(this,{_aspectRatio:!!(aO.aspectRatio),aspectRatio:aO.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:aO.helper||aO.ghost||aO.animate?aO.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)){this.element.wrap(az("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance"));this.elementIsWrapper=true;aN={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")};this.element.css(aN);this.originalElement.css("margin",0);this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css(aN);this._proportionallyResize()}this._setupHandles();if(aO.autoHide){az(this.element).on("mouseenter",function(){if(aO.disabled){return}aM._removeClass("ui-resizable-autohide");aM._handles.show()}).on("mouseleave",function(){if(aO.disabled){return}if(!aM.resizing){aM._addClass("ui-resizable-autohide");aM._handles.hide()}})}this._mouseInit()},_destroy:function(){this._mouseDestroy();this._addedHandles.remove();var aN,aM=function(aO){az(aO).removeData("resizable").removeData("ui-resizable").off(".resizable")};if(this.elementIsWrapper){aM(this.element);aN=this.element;this.originalElement.css({position:aN.css("position"),width:aN.outerWidth(),height:aN.outerHeight(),top:aN.css("top"),left:aN.css("left")}).insertAfter(aN);aN.remove()}this.originalElement.css("resize",this.originalResizeStyle);aM(this.originalElement);return this},_setOption:function(aM,aN){this._super(aM,aN);switch(aM){case"handles":this._removeHandles();this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!aN;break;default:break}},_setupHandles:function(){var aR=this.options,aQ,aN,aS,aM,aO,aP=this;this.handles=aR.handles||(!az(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});this._handles=az();this._addedHandles=az();if(this.handles.constructor===String){if(this.handles==="all"){this.handles="n,e,s,w,se,sw,ne,nw"}aS=this.handles.split(",");this.handles={};for(aN=0;aN<aS.length;aN++){aQ=String.prototype.trim.call(aS[aN]);aM="ui-resizable-"+aQ;aO=az("<div>");this._addClass(aO,"ui-resizable-handle "+aM);aO.css({zIndex:aR.zIndex});this.handles[aQ]=".ui-resizable-"+aQ;if(!this.element.children(this.handles[aQ]).length){this.element.append(aO);this._addedHandles=this._addedHandles.add(aO)}}}this._renderAxis=function(aX){var aU,aV,aT,aW;aX=aX||this.element;
373for(aU in this.handles){if(this.handles[aU].constructor===String){this.handles[aU]=this.element.children(this.handles[aU]).first().show()}else{if(this.handles[aU].jquery||this.handles[aU].nodeType){this.handles[aU]=az(this.handles[aU]);this._on(this.handles[aU],{mousedown:aP._mouseDown})}}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)){aV=az(this.handles[aU],this.element);aW=/sw|ne|nw|se|n|s/.test(aU)?aV.outerHeight():aV.outerWidth();aT=["padding",/ne|nw|n/.test(aU)?"Top":/se|sw|s/.test(aU)?"Bottom":/^e$/.test(aU)?"Right":"Left"].join("");aX.css(aT,aW);this._proportionallyResize()}this._handles=this._handles.add(this.handles[aU])}};this._renderAxis(this.element);this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));this._handles.disableSelection();this._handles.on("mouseover",function(){if(!aP.resizing){if(this.className){aO=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}aP.axis=aO&&aO[1]?aO[1]:"se"}});if(aR.autoHide){this._handles.hide();this._addClass("ui-resizable-autohide")}},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(aO){var aN,aP,aM=false;for(aN in this.handles){aP=az(this.handles[aN])[0];if(aP===aO.target||az.contains(aP,aO.target)){aM=true}}return !this.options.disabled&&aM},_mouseStart:function(aN){var aR,aO,aQ,aP=this.options,aM=this.element;this.resizing=true;this._renderProxy();aR=this._num(this.helper.css("left"));aO=this._num(this.helper.css("top"));if(aP.containment){aR+=az(aP.containment).scrollLeft()||0;aO+=az(aP.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:aR,top:aO};this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:aM.width(),height:aM.height()};this.originalSize=this._helper?{width:aM.outerWidth(),height:aM.outerHeight()}:{width:aM.width(),height:aM.height()};this.sizeDiff={width:aM.outerWidth()-aM.width(),height:aM.outerHeight()-aM.height()};this.originalPosition={left:aR,top:aO};this.originalMousePosition={left:aN.pageX,top:aN.pageY};this.aspectRatio=(typeof aP.aspectRatio==="number")?aP.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);aQ=az(".ui-resizable-"+this.axis).css("cursor");az("body").css("cursor",aQ==="auto"?this.axis+"-resize":aQ);this._addClass("ui-resizable-resizing");this._propagate("start",aN);return true},_mouseDrag:function(aR){var aS,aQ,aT=this.originalMousePosition,aN=this.axis,aO=(aR.pageX-aT.left)||0,aM=(aR.pageY-aT.top)||0,aP=this._change[aN];this._updatePrevProperties();if(!aP){return false}aS=aP.apply(this,[aR,aO,aM]);this._updateVirtualBoundaries(aR.shiftKey);if(this._aspectRatio||aR.shiftKey){aS=this._updateRatio(aS,aR)}aS=this._respectSize(aS,aR);this._updateCache(aS);this._propagate("resize",aR);aQ=this._applyChanges();if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}if(!az.isEmptyObject(aQ)){this._updatePrevProperties();this._trigger("resize",aR,this.ui());this._applyChanges()}return false},_mouseStop:function(aP){this.resizing=false;var aO,aM,aN,aS,aV,aR,aU,aQ=this.options,aT=this;if(this._helper){aO=this._proportionallyResizeElements;aM=aO.length&&(/textarea/i).test(aO[0].nodeName);aN=aM&&this._hasScroll(aO[0],"left")?0:aT.sizeDiff.height;aS=aM?0:aT.sizeDiff.width;aV={width:(aT.helper.width()-aS),height:(aT.helper.height()-aN)};aR=(parseFloat(aT.element.css("left"))+(aT.position.left-aT.originalPosition.left))||null;aU=(parseFloat(aT.element.css("top"))+(aT.position.top-aT.originalPosition.top))||null;if(!aQ.animate){this.element.css(az.extend(aV,{top:aU,left:aR}))}aT.helper.height(aT.size.height);aT.helper.width(aT.size.width);if(this._helper&&!aQ.animate){this._proportionallyResize()}}az("body").css("cursor","auto");this._removeClass("ui-resizable-resizing");this._propagate("stop",aP);if(this._helper){this.helper.remove()}return false},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left};this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var aM={};if(this.position.top!==this.prevPosition.top){aM.top=this.position.top+"px"}if(this.position.left!==this.prevPosition.left){aM.left=this.position.left+"px"}if(this.size.width!==this.prevSize.width){aM.width=this.size.width+"px"}if(this.size.height!==this.prevSize.height){aM.height=this.size.height+"px"}this.helper.css(aM);return aM},_updateVirtualBoundaries:function(aO){var aQ,aP,aN,aS,aM,aR=this.options;aM={minWidth:this._isNumber(aR.minWidth)?aR.minWidth:0,maxWidth:this._isNumber(aR.maxWidth)?aR.maxWidth:Infinity,minHeight:this._isNumber(aR.minHeight)?aR.minHeight:0,maxHeight:this._isNumber(aR.maxHeight)?aR.maxHeight:Infinity};if(this._aspectRatio||aO){aQ=aM.minHeight*this.aspectRatio;aN=aM.minWidth/this.aspectRatio;aP=aM.maxHeight*this.aspectRatio;aS=aM.maxWidth/this.aspectRatio;if(aQ>aM.minWidth){aM.minWidth=aQ}if(aN>aM.minHeight){aM.minHeight=aN}if(aP<aM.maxWidth){aM.maxWidth=aP}if(aS<aM.maxHeight){aM.maxHeight=aS}}this._vBoundaries=aM},_updateCache:function(aM){this.offset=this.helper.offset();
373if(this._isNumber(aM.left)){this.position.left=aM.left}if(this._isNumber(aM.top)){this.position.top=aM.top}if(this._isNumber(aM.height)){this.size.height=aM.height}if(this._isNumber(aM.width)){this.size.width=aM.width}},_updateRatio:function(aO){var aP=this.position,aN=this.size,aM=this.axis;if(this._isNumber(aO.height)){aO.width=(aO.height*this.aspectRatio)}else{if(this._isNumber(aO.width)){aO.height=(aO.width/this.aspectRatio)}}if(aM==="sw"){aO.left=aP.left+(aN.width-aO.width);aO.top=null}if(aM==="nw"){aO.top=aP.top+(aN.height-aO.height);aO.left=aP.left+(aN.width-aO.width)}return aO},_respectSize:function(aR){var aO=this._vBoundaries,aU=this.axis,aW=this._isNumber(aR.width)&&aO.maxWidth&&(aO.maxWidth<aR.width),aS=this._isNumber(aR.height)&&aO.maxHeight&&(aO.maxHeight<aR.height),aP=this._isNumber(aR.width)&&aO.minWidth&&(aO.minWidth>aR.width),aV=this._isNumber(aR.height)&&aO.minHeight&&(aO.minHeight>aR.height),aN=this.originalPosition.left+this.originalSize.width,aT=this.originalPosition.top+this.originalSize.height,aQ=/sw|nw|w/.test(aU),aM=/nw|ne|n/.test(aU);if(aP){aR.width=aO.minWidth}if(aV){aR.height=aO.minHeight}if(aW){aR.width=aO.maxWidth}if(aS){aR.height=aO.maxHeight}if(aP&&aQ){aR.left=aN-aO.minWidth}if(aW&&aQ){aR.left=aN-aO.maxWidth}if(aV&&aM){aR.top=aT-aO.minHeight}if(aS&&aM){aR.top=aT-aO.maxHeight}if(!aR.width&&!aR.height&&!aR.left&&aR.top){aR.top=null}else{if(!aR.width&&!aR.height&&!aR.top&&aR.left){aR.left=null}}return aR},_getPaddingPlusBorderDimensions:function(aO){var aN=0,aP=[],aQ=[aO.css("borderTopWidth"),aO.css("borderRightWidth"),aO.css("borderBottomWidth"),aO.css("borderLeftWidth")],aM=[aO.css("paddingTop"),aO.css("paddingRight"),aO.css("paddingBottom"),aO.css("paddingLeft")];for(;aN<4;aN++){aP[aN]=(parseFloat(aQ[aN])||0);aP[aN]+=(parseFloat(aM[aN])||0)}return{height:aP[0]+aP[2],width:aP[1]+aP[3]}},_proportionallyResize:function(){if(!this._proportionallyResizeElements.length){return}var aO,aN=0,aM=this.helper||this.element;for(;aN<this._proportionallyResizeElements.length;aN++){aO=this._proportionallyResizeElements[aN];if(!this.outerDimensions){this.outerDimensions=this._getPaddingPlusBorderDimensions(aO)}aO.css({height:(aM.height()-this.outerDimensions.height)||0,width:(aM.width()-this.outerDimensions.width)||0})}},_renderProxy:function(){var aM=this.element,aN=this.options;this.elementOffset=aM.offset();if(this._helper){this.helper=this.helper||az("<div></div>").css({overflow:"hidden"});this._addClass(this.helper,this._helper);this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++aN.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(aN,aM){return{width:this.originalSize.width+aM}},w:function(aO,aM){var aN=this.originalSize,aP=this.originalPosition;return{left:aP.left+aM,width:aN.width-aM}},n:function(aP,aN,aM){var aO=this.originalSize,aQ=this.originalPosition;return{top:aQ.top+aM,height:aO.height-aM}},s:function(aO,aN,aM){return{height:this.originalSize.height+aM}},se:function(aO,aN,aM){return az.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[aO,aN,aM]))},sw:function(aO,aN,aM){return az.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[aO,aN,aM]))},ne:function(aO,aN,aM){return az.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[aO,aN,aM]))},nw:function(aO,aN,aM){return az.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[aO,aN,aM]))}},_propagate:function(aN,aM){az.ui.plugin.call(this,aN,[aM,this.ui()]);if(aN!=="resize"){this._trigger(aN,aM,this.ui())}},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});az.ui.plugin.add("resizable","animate",{stop:function(aP){var aU=az(this).resizable("instance"),aR=aU.options,aO=aU._proportionallyResizeElements,aM=aO.length&&(/textarea/i).test(aO[0].nodeName),aN=aM&&aU._hasScroll(aO[0],"left")?0:aU.sizeDiff.height,aT=aM?0:aU.sizeDiff.width,aQ={width:(aU.size.width-aT),height:(aU.size.height-aN)},aS=(parseFloat(aU.element.css("left"))+(aU.position.left-aU.originalPosition.left))||null,aV=(parseFloat(aU.element.css("top"))+(aU.position.top-aU.originalPosition.top))||null;aU.element.animate(az.extend(aQ,aV&&aS?{top:aV,left:aS}:{}),{duration:aR.animateDuration,easing:aR.animateEasing,step:function(){var aW={width:parseFloat(aU.element.css("width")),height:parseFloat(aU.element.css("height")),top:parseFloat(aU.element.css("top")),left:parseFloat(aU.element.css("left"))};if(aO&&aO.length){az(aO[0]).css({width:aW.width,height:aW.height})}aU._updateCache(aW);aU._propagate("resize",aP)}})}});az.ui.plugin.add("resizable","containment",{start:function(){var aU,aO,aW,aM,aT,aP,aX,aV=az(this).resizable("instance"),aS=aV.options,aR=aV.element,aN=aS.containment,aQ=(aN instanceof az)?aN.get(0):(/parent/.test(aN))?aR.parent().get(0):aN;if(!aQ){return}aV.containerElement=az(aQ);if(/document/.test(aN)||aN===document){aV.containerOffset={left:0,top:0};aV.containerPosition={left:0,top:0};aV.parentData={element:az(document),left:0,top:0,width:az(document).width(),height:az(document).height()||document.body.parentNode.scrollHeight}}else{aU=az(aQ);aO=[];az(["Top","Right","Left","Bottom"]).each(function(aZ,aY){aO[aZ]=aV._num(aU.css("padding"+aY))});aV.containerOffset=aU.offset();aV.containerPosition=aU.position();aV.containerSize={height:(aU.innerHeight()-aO[3]),width:(aU.innerWidth()-aO[1])};aW=aV.containerOffset;aM=aV.containerSize.height;aT=aV.containerSize.width;aP=(aV._hasScroll(aQ,"left")?aQ.scrollWidth:aT);aX=(aV._hasScroll(aQ)?aQ.scrollHeight:aM);aV.parentData={element:aQ,left:aW.left,top:aW.top,width:aP,height:aX}}},resize:function(aN){var aT,aY,aS,aQ,aU=az(this).resizable("instance"),aP=aU.options,aW=aU.containerOffset,aV=aU.position,aX=aU._aspectRatio||aN.shiftKey,aM={top:0,left:0},aO=aU.containerElement,aR=true;if(aO[0]!==document&&(/static/).test(aO.css("position"))){aM=aW}if(aV.left<(aU._helper?aW.left:0)){aU.size.width=aU.size.width+(aU._helper?(aU.position.left-aW.left):(aU.position.left-aM.left));if(aX){aU.size.height=aU.size.width/aU.aspectRatio;aR=false}
373aU.position.left=aP.helper?aW.left:0}if(aV.top<(aU._helper?aW.top:0)){aU.size.height=aU.size.height+(aU._helper?(aU.position.top-aW.top):aU.position.top);if(aX){aU.size.width=aU.size.height*aU.aspectRatio;aR=false}aU.position.top=aU._helper?aW.top:0}aS=aU.containerElement.get(0)===aU.element.parent().get(0);aQ=/relative|absolute/.test(aU.containerElement.css("position"));if(aS&&aQ){aU.offset.left=aU.parentData.left+aU.position.left;aU.offset.top=aU.parentData.top+aU.position.top}else{aU.offset.left=aU.element.offset().left;aU.offset.top=aU.element.offset().top}aT=Math.abs(aU.sizeDiff.width+(aU._helper?aU.offset.left-aM.left:(aU.offset.left-aW.left)));aY=Math.abs(aU.sizeDiff.height+(aU._helper?aU.offset.top-aM.top:(aU.offset.top-aW.top)));if(aT+aU.size.width>=aU.parentData.width){aU.size.width=aU.parentData.width-aT;if(aX){aU.size.height=aU.size.width/aU.aspectRatio;aR=false}}if(aY+aU.size.height>=aU.parentData.height){aU.size.height=aU.parentData.height-aY;if(aX){aU.size.width=aU.size.height*aU.aspectRatio;aR=false}}if(!aR){aU.position.left=aU.prevPosition.left;aU.position.top=aU.prevPosition.top;aU.size.width=aU.prevSize.width;aU.size.height=aU.prevSize.height}},stop:function(){var aR=az(this).resizable("instance"),aN=aR.options,aS=aR.containerOffset,aM=aR.containerPosition,aO=aR.containerElement,aP=az(aR.helper),aU=aP.offset(),aT=aP.outerWidth()-aR.sizeDiff.width,aQ=aP.outerHeight()-aR.sizeDiff.height;if(aR._helper&&!aN.animate&&(/relative/).test(aO.css("position"))){az(this).css({left:aU.left-aM.left-aS.left,width:aT,height:aQ})}if(aR._helper&&!aN.animate&&(/static/).test(aO.css("position"))){az(this).css({left:aU.left-aM.left-aS.left,width:aT,height:aQ})}}});az.ui.plugin.add("resizable","alsoResize",{start:function(){var aM=az(this).resizable("instance"),aN=aM.options;az(aN.alsoResize).each(function(){var aO=az(this);aO.data("ui-resizable-alsoresize",{width:parseFloat(aO.width()),height:parseFloat(aO.height()),left:parseFloat(aO.css("left")),top:parseFloat(aO.css("top"))})})},resize:function(aN,aP){var aM=az(this).resizable("instance"),aQ=aM.options,aO=aM.originalSize,aS=aM.originalPosition,aR={height:(aM.size.height-aO.height)||0,width:(aM.size.width-aO.width)||0,top:(aM.position.top-aS.top)||0,left
373:(aM.position.left-aS.left)||0};az(aQ.alsoResize).each(function(){var aV=az(this),aW=az(this).data("ui-resizable-alsoresize"),aU={},aT=aV.parents(aP.originalElement[0]).length?["width","height"]:["width","height","top","left"];az.each(aT,function(aX,aZ){var aY=(aW[aZ]||0)+(aR[aZ]||0);if(aY&&aY>=0){aU[aZ]=aY||null}});aV.css(aU)})},stop:function(){az(this).removeData("ui-resizable-alsoresize")}});az.ui.plugin.add("resizable","ghost",{start:function(){var aN=az(this).resizable("instance"),aM=aN.size;aN.ghost=aN.originalElement.clone();aN.ghost.css({opacity:0.25,display:"block",position:"relative",height:aM.height,width:aM.width,margin:0,left:0,top:0});aN._addClass(aN.ghost,"ui-resizable-ghost");if(az.uiBackCompat!==false&&typeof aN.options.ghost==="string"){aN.ghost.addClass(this.options.ghost)}aN.ghost.appendTo(aN.helper)},resize:function(){var aM=az(this).resizable("instance");if(aM.ghost){aM.ghost.css({position:"relative",height:aM.size.height,width:aM.size.width})}},stop:function(){var aM=az(this).resizable("instance");if(aM.ghost&&aM.helper){aM.helper.get(0).removeChild(aM.ghost.get(0))}}});az.ui.plugin.add("resizable","grid",{resize:function(){var aP,aU=az(this).resizable("instance"),aY=aU.options,aS=aU.size,aT=aU.originalSize,aV=aU.originalPosition,a3=aU.axis,aM=typeof aY.grid==="number"?[aY.grid,aY.grid]:aY.grid,a1=(aM[0]||1),a0=(aM[1]||1),aR=Math.round((aS.width-aT.width)/a1)*a1,aQ=Math.round((aS.height-aT.height)/a0)*a0,aW=aT.width+aR,aZ=aT.height+aQ,aO=aY.maxWidth&&(aY.maxWidth<aW),aX=aY.maxHeight&&(aY.maxHeight<aZ),a2=aY.minWidth&&(aY.minWidth>aW),aN=aY.minHeight&&(aY.minHeight>aZ);aY.grid=aM;if(a2){aW+=a1}if(aN){aZ+=a0}if(aO){aW-=a1}if(aX){aZ-=a0}if(/^(se|s|e)$/.test(a3)){aU.size.width=aW;aU.size.height=aZ}else{if(/^(ne)$/.test(a3)){aU.size.width=aW;aU.size.height=aZ;aU.position.top=aV.top-aQ}else{if(/^(sw)$/.test(a3)){aU.size.width=aW;aU.size.height=aZ;aU.position.left=aV.left-aR}else{if(aZ-a0<=0||aW-a1<=0){aP=aU._getPaddingPlusBorderDimensions(this)}if(aZ-a0>0){aU.size.height=aZ;aU.position.top=aV.top-aQ}else{aZ=a0-aP.height;aU.size.height=aZ;aU.position.top=aV.top+aT.height-aZ}if(aW-a1>0){aU.size.width=aW;aU.position.left=aV.left-aR}else{aW=a1-aP.width;aU.size.width=aW;aU.position.left=aV.left+aT.width-aW}}}}}});var H=az.ui.resizable; 374/*! 375* jQuery UI Dialog 1.13.2 376* http://jqueryui.com 377* 378* Copyright jQuery Foundation and other contributors 379* Released under the MIT license. 380* http://jquery.org/license 381*/ 382;az.widget("ui.dialog",{version:"1.13.2",options:{appendTo:"body",autoOpen:true,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:true,closeText:"Close",draggable:true,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",of:window,collision:"fit",using:function(aN){var aM=az(this).css(aN).offset().top;if(aM<0){az(this).css("top",aN.top-aM)}}},resizable:true,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},resizableRelatedOptions:{maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");if(this.options.title==null&&this.originalTitle!=null){this.options.title=this.originalTitle}if(this.options.disabled){this.options.disabled=false}this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog);this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();if(this.options.draggable&&az.fn.draggable){this._makeDraggable()}if(this.options.resizable&&az.fn.resizable){this._makeResizable()}this._isOpen=false;this._trackFocus()},_init:function(){if(this.options.autoOpen){this.open()}},_appendTo:function(){var aM=this.options.appendTo;if(aM&&(aM.jquery||aM.nodeType)){return az(aM)}return this.document.find(aM||"body").eq(0)},_destroy:function(){var aN,aM=this.originalPosition;this._untrackInstance();this._destroyOverlay();this.element.removeUniqueId().css(this.originalCss).detach();this.uiDialog.remove();if(this.originalTitle){this.element.attr("title",this.originalTitle)}aN=aM.parent.children().eq(aM.index);if(aN.length&&aN[0]!==this.element[0]){aN.before(this.element)}else{aM.parent.append(this.element)}},widget:function(){return this.uiDialog},disable:az.noop,enable:az.noop,close:function(aN){var aM=this;if(!this._isOpen||this._trigger("beforeClose",aN)===false){return}this._isOpen=false;this._focusedElement=null;this._destroyOverlay();this._untrackInstance();if(!this.opener.filter(":focusable").trigger("focus").length){az.ui.safeBlur(az.ui.safeActiveElement(this.document[0]))}this._hide(this.uiDialog,this.options.hide,function(){aM._trigger("close",aN)})},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(aQ,aM){var aP=false,aO=this.uiDialog.siblings(".ui-front:visible").map(function(){return +az(this).css("z-index")}).get(),aN=Math.max.apply(null,aO);if(aN>=+this.uiDialog.css("z-index")){this.uiDialog.css("z-index",aN+1);aP=true}if(aP&&!aM){this._trigger("focus",aQ)}return aP},open:function(){var aM=this;if(this._isOpen){if(this._moveToTop()){this._focusTabbable()}return}this._isOpen=true;this.opener=az(az.ui.safeActiveElement(this.document[0]));this._size();this._position();this._createOverlay();this._moveToTop(null,true);if(this.overlay){this.overlay.css("z-index",this.uiDialog.css("z-index")-1)}this._show(this.uiDialog,this.options.show,function(){aM._focusTabbable();aM._trigger("focus")});this._makeFocusTarget();this._trigger("open")},_focusTabbable:function(){var aM=this._focusedElement;if(!aM){aM=this.element.find("[autofocus]")}if(!aM.length){aM=this.element.find(":tabbable")}if(!aM.length){aM=this.uiDialogButtonPane.find(":tabbable")}if(!aM.length){aM=this.uiDialogTitlebarClose.filter(":tabbable")}if(!aM.length){aM=this.uiDialog}aM.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var aN=az.ui.safeActiveElement(this.document[0]),aM=this.uiDialog[0]===aN||az.contains(this.uiDialog[0],aN);if(!aM){this._focusTabbable()}},_keepFocus:function(aM){aM.preventDefault();this._restoreTabbableFocus();this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=az("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front");this._on(this.uiDialog,{keydown:function(aO){if(this.options.closeOnEscape&&!aO.isDefaultPrevented()&&aO.keyCode&&aO.keyCode===az.ui.keyCode.ESCAPE){aO.preventDefault();this.close(aO);return}if(aO.keyCode!==az.ui.keyCode.TAB||aO.isDefaultPrevented()){return}var aN=this.uiDialog.find(":tabbable"),aP=aN.first(),aM=aN.last();if((aO.target===aM[0]||aO.target===this.uiDialog[0])&&!aO.shiftKey){this._delay(function(){aP.trigger("focus")});aO.preventDefault()}else{if((aO.target===aP[0]||aO.target===this.uiDialog[0])&&aO.shiftKey){this._delay(function(){aM.trigger("focus")});aO.preventDefault()}}},mousedown:function(aM){if(this._moveToTop(aM)){this._focusTabbable()}}});if(!this.element.find("[aria-describedby]").length){this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})}},_createTitlebar:function(){var aM;this.uiDialogTitlebar=az("<div>");this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix");this._on(this.uiDialogTitlebar,{mousedown:function(aN){if(!az(aN.target).closest(".ui-dialog-titlebar-close")){this.uiDialog.trigger("focus")}}});this.uiDialogTitlebarClose=az("<button type='button'></button>").button({label:az("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:false}).appendTo(this.uiDialogTitlebar);this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close");this._on(this.uiDialogTitlebarClose,{click:function(aN){aN.preventDefault();this.close(aN)}});aM=az("<span>").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(aM,"ui-dialog-title");this._title(aM);
382this.uiDialogTitlebar.prependTo(this.uiDialog);this.uiDialog.attr({"aria-labelledby":aM.attr("id")})},_title:function(aM){if(this.options.title){aM.text(this.options.title)}else{aM.html(" ")}},_createButtonPane:function(){this.uiDialogButtonPane=az("<div>");this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix");this.uiButtonSet=az("<div>").appendTo(this.uiDialogButtonPane);this._addClass(this.uiButtonSet,"ui-dialog-buttonset");this._createButtons()},_createButtons:function(){var aN=this,aM=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();if(az.isEmptyObject(aM)||(Array.isArray(aM)&&!aM.length)){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}az.each(aM,function(aO,aP){var aQ,aR;aP=typeof aP==="function"?{click:aP,text:aO}:aP;aP=az.extend({type:"button"},aP);aQ=aP.click;aR={icon:aP.icon,iconPosition:aP.iconPosition,showLabel:aP.showLabel,icons:aP.icons,text:aP.text};delete aP.click;delete aP.icon;delete aP.iconPosition;delete aP.showLabel;delete aP.icons;if(typeof aP.text==="boolean"){delete aP.text}az("<button></button>",aP).button(aR).appendTo(aN.uiButtonSet).on("click",function(){aQ.apply(aN.element[0],arguments)})});this._addClass(this.uiDialog,"ui-dialog-buttons");this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var aO=this,aN=this.options;function aM(aP){return{position:aP.position,offset:aP.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(aP,aQ){aO._addClass(az(this),"ui-dialog-dragging");aO._blockFrames();aO._trigger("dragStart",aP,aM(aQ))},drag:function(aP,aQ){aO._trigger("drag",aP,aM(aQ))},stop:function(aP,aQ){var aS=aQ.offset.left-aO.document.scrollLeft(),aR=aQ.offset.top-aO.document.scrollTop();aN.position={my:"left top",at:"left"+(aS>=0?"+":"")+aS+" top"+(aR>=0?"+":"")+aR,of:aO.window};aO._removeClass(az(this),"ui-dialog-dragging");aO._unblockFrames();aO._trigger("dragStop",aP,aM(aQ))}})},_makeResizable:function(){var aR=this,aP=this.options,aQ=aP.resizable,aM=this.uiDialog.css("position"),aO=typeof aQ==="string"?aQ:"n,e,s,w,se,sw,ne,nw";function aN(aS){return{originalPosition:aS.originalPosition,originalSize:aS.originalSize,position:aS.position,size:aS.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:aP.maxWidth,maxHeight:aP.maxHeight,minWidth:aP.minWidth,minHeight:this._minHeight(),handles:aO,start:function(aS,aT){aR._addClass(az(this),"ui-dialog-resizing");aR._blockFrames();aR._trigger("resizeStart",aS,aN(aT))},resize:function(aS,aT){aR._trigger("resize",aS,aN(aT))},stop:function(aS,aT){var aW=aR.uiDialog.offset(),aV=aW.left-aR.document.scrollLeft(),aU=aW.top-aR.document.scrollTop();aP.height=aR.uiDialog.height();aP.width=aR.uiDialog.width();aP.position={my:"left top",at:"left"+(aV>=0?"+":"")+aV+" top"+(aU>=0?"+":"")+aU,of:aR.window};aR._removeClass(az(this),"ui-dialog-resizing");aR._unblockFrames();aR._trigger("resizeStop",aS,aN(aT))}}).css("position",aM)},_trackFocus:function(){this._on(this.widget(),{focusin:function(aM){this._makeFocusTarget();this._focusedElement=az(aM.target)}})},_makeFocusTarget:function(){this._untrackInstance();this._trackingInstances().unshift(this)},_untrackInstance:function(){var aN=this._trackingInstances(),aM=az.inArray(this,aN);if(aM!==-1){aN.splice(aM,1)}},_trackingInstances:function(){var aM=this.document.data("ui-dialog-instances");if(!aM){aM=[];this.document.data("ui-dialog-instances",aM)}return aM},_minHeight:function(){var aM=this.options;return aM.height==="auto"?aM.minHeight:Math.min(aM.minHeight,aM.height)},_position:function(){var aM=this.uiDialog.is(":visible");if(!aM){this.uiDialog.show()}this.uiDialog.position(this.options.position);if(!aM){this.uiDialog.hide()}},_setOptions:function(aO){var aP=this,aN=false,aM={};az.each(aO,function(aQ,aR){aP._setOption(aQ,aR);if(aQ in aP.sizeRelatedOptions){aN=true}if(aQ in aP.resizableRelatedOptions){aM[aQ]=aR}});if(aN){this._size();this._position()}if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option",aM)}},_setOption:function(aO,aP){var aN,aQ,aM=this.uiDialog;if(aO==="disabled"){return}this._super(aO,aP);if(aO==="appendTo"){this.uiDialog.appendTo(this._appendTo())}if(aO==="buttons"){this._createButtons()}if(aO==="closeText"){this.uiDialogTitlebarClose.button({label:az("<a>").text(""+this.options.closeText).html()})}
382if(aO==="draggable"){aN=aM.is(":data(ui-draggable)");if(aN&&!aP){aM.draggable("destroy")}if(!aN&&aP){this._makeDraggable()}}if(aO==="position"){this._position()}if(aO==="resizable"){aQ=aM.is(":data(ui-resizable)");if(aQ&&!aP){aM.resizable("destroy")}if(aQ&&typeof aP==="string"){aM.resizable("option","handles",aP)}if(!aQ&&aP!==false){this._makeResizable()}}if(aO==="title"){this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))}},_size:function(){var aM,aO,aP,aN=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});if(aN.minWidth>aN.width){aN.width=aN.minWidth}aM=this.uiDialog.css({height:"auto",width:aN.width}).outerHeight();aO=Math.max(0,aN.minHeight-aM);aP=typeof aN.maxHeight==="number"?Math.max(0,aN.maxHeight-aM):"none";if(aN.height==="auto"){this.element.css({minHeight:aO,maxHeight:aP,height:"auto"})}else{this.element.height(Math.max(0,aN.height-aM))}if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var aM=az(this);return az("<div>").css({position:"absolute",width:aM.outerWidth(),height:aM.outerHeight()}).appendTo(aM.parent()).offset(aM.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_allowInteraction:function(aM){if(az(aM.target).closest(".ui-dialog").length){return true}return !!az(aM.target).closest(".ui-datepicker").length},_createOverlay:function(){if(!this.options.modal){return}var aM=az.fn.jquery.substring(0,4);var aN=true;this._delay(function(){aN=false});if(!this.document.data("ui-dialog-overlays")){this.document.on("focusin.ui-dialog",function(aP){if(aN){return}var aO=this._trackingInstances()[0];if(!aO._allowInteraction(aP)){aP.preventDefault();aO._focusTabbable();if(aM==="3.4."||aM==="3.5."){aO._delay(aO._restoreTabbableFocus)}}}.bind(this))}this.overlay=az("<div>").appendTo(this._appendTo());this._addClass(this.overlay,null,"ui-widget-overlay ui-front");this._on(this.overlay,{mousedown:"_keepFocus"});this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)},_destroyOverlay:function(){if(!this.options.modal){return}if(this.overlay){var aM=this.document.data("ui-dialog-overlays")-1;if(!aM){this.document.off("focusin.ui-dialog");this.document.removeData("ui-dialog-overlays")}else{this.document.data("ui-dialog-overlays",aM)}this.overlay.remove();this.overlay=null}}});if(az.uiBackCompat!==false){az.widget("ui.dialog",az.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super();this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(aM,aN){if(aM==="dialogClass"){this.uiDialog.removeClass(this.options.dialogClass).addClass(aN)}this._superApply(arguments)}})}var al=az.ui.dialog; 383/*! 384* jQuery UI Droppable 1.13.2 385* http://jqueryui.com 386* 387* Copyright jQuery Foundation and other contributors 388* Released under the MIT license. 389* http://jquery.org/license 390*/ 391;az.widget("ui.droppable",{version:"1.13.2",widgetEventPrefix:"drop",options:{accept:"*",addClasses:true,greedy:false,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var aN,aO=this.options,aM=aO.accept;this.isover=false;this.isout=true;this.accept=typeof aM==="function"?aM:function(aP){return aP.is(aM)};this.proportions=function(){if(arguments.length){aN=arguments[0]}else{return aN?aN:aN={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}}};this._addToManager(aO.scope);if(aO.addClasses){this._addClass("ui-droppable")}},_addToManager:function(aM){az.ui.ddmanager.droppables[aM]=az.ui.ddmanager.droppables[aM]||[];az.ui.ddmanager.droppables[aM].push(this)},_splice:function(aM){var aN=0;for(;aN<aM.length;aN++){if(aM[aN]===this){aM.splice(aN,1)}}},_destroy:function(){var aM=az.ui.ddmanager.droppables[this.options.scope];this._splice(aM)},_setOption:function(aN,aO){if(aN==="accept"){this.accept=typeof aO==="function"?aO:function(aP){return aP.is(aO)}}else{if(aN==="scope"){var aM=az.ui.ddmanager.droppables[this.options.scope];this._splice(aM);this._addToManager(aO)}}this._super(aN,aO)},_activate:function(aN){var aM=az.ui.ddmanager.current;this._addActiveClass();if(aM){this._trigger("activate",aN,this.ui(aM))}},_deactivate:function(aN){var aM=az.ui.ddmanager.current;this._removeActiveClass();if(aM){this._trigger("deactivate",aN,this.ui(aM))}},_over:function(aN){var aM=az.ui.ddmanager.current;if(!aM||(aM.currentItem||aM.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],(aM.currentItem||aM.element))){this._addHoverClass();this._trigger("over",aN,this.ui(aM))}},_out:function(aN){var aM=az.ui.ddmanager.current;if(!aM||(aM.currentItem||aM.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],(aM.currentItem||aM.element))){this._removeHoverClass();this._trigger("out",aN,this.ui(aM))}},_drop:function(aN,aO){var aM=aO||az.ui.ddmanager.current,aP=false;if(!aM||(aM.currentItem||aM.element)[0]===this.element[0]){return false}this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var aQ=az(this).droppable("instance");if(aQ.options.greedy&&!aQ.options.disabled&&aQ.options.scope===aM.options.scope&&aQ.accept.call(aQ.element[0],(aM.currentItem||aM.element))&&az.ui.intersect(aM,az.extend(aQ,{offset:aQ.element.offset()}),aQ.options.tolerance,aN)){aP=true;return false}});if(aP){return false}if(this.accept.call(this.element[0],(aM.currentItem||aM.element))){this._removeActiveClass();this._removeHoverClass();this._trigger("drop",aN,this.ui(aM));return this.element}return false},ui:function(aM){return{draggable:(aM.currentItem||aM.element),helper:aM.helper,position:aM.position,offset:aM.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});az.ui.intersect=(function(){function aM(aO,aN,aP){return(aO>=aN)&&(aO<(aN+aP))}return function(aY,aS,aW,aO){if(!aS.offset){return false}var aQ=(aY.positionAbs||aY.position.absolute).left+aY.margins.left,aV=(aY.positionAbs||aY.position.absolute).top+aY.margins.top,aP=aQ+aY.helperProportions.width,aU=aV+aY.helperProportions.height,aR=aS.offset.left,aX=aS.offset.top,aN=aR+aS.proportions().width,aT=aX+aS.proportions().height;switch(aW){case"fit":return(aR<=aQ&&aP<=aN&&aX<=aV&&aU<=aT);case"intersect":return(aR<aQ+(aY.helperProportions.width/2)&&aP-(aY.helperProportions.width/2)<aN&&aX<aV+(aY.helperProportions.height/2)&&aU-(aY.helperProportions.height/2)<aT);case"pointer":return aM(aO.pageY,aX,aS.proportions().height)&&aM(aO.pageX,aR,aS.proportions().width);case"touch":return((aV>=aX&&aV<=aT)||(aU>=aX&&aU<=aT)||(aV<aX&&aU>aT))&&((aQ>=aR&&aQ<=aN)||(aP>=aR&&aP<=aN)||(aQ<aR&&aP>aN));default:return false}}})();az.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(aP,aR){var aO,aN,aM=az.ui.ddmanager.droppables[aP.options.scope]||[],aQ=aR?aR.type:null,aS=(aP.currentItem||aP.element).find(":data(ui-droppable)").addBack();droppablesLoop:for(aO=0;aO<aM.length;
vendor: 7,875 bytes, lines 391-409
391aO++){if(aM[aO].options.disabled||(aP&&!aM[aO].accept.call(aM[aO].element[0],(aP.currentItem||aP.element)))){continue}for(aN=0;aN<aS.length;aN++){if(aS[aN]===aM[aO].element[0]){aM[aO].proportions().height=0;continue droppablesLoop}}aM[aO].visible=aM[aO].element.css("display")!=="none";if(!aM[aO].visible){continue}if(aQ==="mousedown"){aM[aO]._activate.call(aM[aO],aR)}aM[aO].offset=aM[aO].element.offset();aM[aO].proportions({width:aM[aO].element[0].offsetWidth,height:aM[aO].element[0].offsetHeight})}},drop:function(aM,aN){var aO=false;az.each((az.ui.ddmanager.droppables[aM.options.scope]||[]).slice(),function(){if(!this.options){return}if(!this.options.disabled&&this.visible&&az.ui.intersect(aM,this,this.options.tolerance,aN)){aO=this._drop.call(this,aN)||aO}if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],(aM.currentItem||aM.element))){this.isout=true;this.isover=false;this._deactivate.call(this,aN)}});return aO},dragStart:function(aM,aN){aM.element.parentsUntil("body").on("scroll.droppable",function(){if(!aM.options.refreshPositions){az.ui.ddmanager.prepareOffsets(aM,aN)}})},drag:function(aM,aN){if(aM.options.refreshPositions){az.ui.ddmanager.prepareOffsets(aM,aN)}az.each(az.ui.ddmanager.droppables[aM.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible){return}var aR,aP,aO,aQ=az.ui.intersect(aM,this,this.options.tolerance,aN),aS=!aQ&&this.isover?"isout":(aQ&&!this.isover?"isover":null);if(!aS){return}if(this.options.greedy){aP=this.options.scope;aO=this.element.parents(":data(ui-droppable)").filter(function(){return az(this).droppable("instance").options.scope===aP});if(aO.length){aR=az(aO[0]).droppable("instance");aR.greedyChild=(aS==="isover")}}if(aR&&aS==="isover"){aR.isover=false;aR.isout=true;aR._out.call(aR,aN)}this[aS]=true;this[aS==="isout"?"isover":"isout"]=false;this[aS==="isover"?"_over":"_out"].call(this,aN);if(aR&&aS==="isout"){aR.isout=false;aR.isover=true;aR._over.call(aR,aN)}})},dragStop:function(aM,aN){aM.element.parentsUntil("body").off("scroll.droppable");if(!aM.options.refreshPositions){az.ui.ddmanager.prepareOffsets(aM,aN)}}};if(az.uiBackCompat!==false){az.widget("ui.droppable",az.ui.droppable,{options:{hoverClass:false,activeClass:false},_addActiveClass:function(){this._super();if(this.options.activeClass){this.element.addClass(this.options.activeClass)}},_removeActiveClass:function(){this._super();if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}},_addHoverClass:function(){this._super();if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}},_removeHoverClass:function(){this._super();if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}}})}var ae=az.ui.droppable; 392/*! 393* jQuery UI Progressbar 1.13.2 394* http://jqueryui.com 395* 396* Copyright jQuery Foundation and other contributors 397* Released under the MIT license. 398* http://jquery.org/license 399*/ 400;var ah=az.widget("ui.progressbar",{version:"1.13.2",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.attr({role:"progressbar","aria-valuemin":this.min});this._addClass("ui-progressbar","ui-widget ui-widget-content");this.valueDiv=az("<div>").appendTo(this.element);this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header");this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow");this.valueDiv.remove()},value:function(aM){if(aM===undefined){return this.options.value}this.options.value=this._constrainedValue(aM);this._refreshValue()},_constrainedValue:function(aM){if(aM===undefined){aM=this.options.value}this.indeterminate=aM===false;if(typeof aM!=="number"){aM=0}return this.indeterminate?false:Math.min(this.options.max,Math.max(this.min,aM))},_setOptions:function(aM){var aN=aM.value;delete aM.value;this._super(aM);this.options.value=this._constrainedValue(aN);this._refreshValue()},_setOption:function(aM,aN){if(aM==="max"){aN=Math.max(this.min,aN)}this._super(aM,aN)},_setOptionDisabled:function(aM){this._super(aM);this.element.attr("aria-disabled",aM);this._toggleClass(null,"ui-state-disabled",!!aM)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var aN=this.options.value,aM=this._percentage();this.valueDiv.toggle(this.indeterminate||aN>this.min).width(aM.toFixed(0)+"%");this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,aN===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate);if(this.indeterminate){this.element.removeAttr("aria-valuenow");if(!this.overlayDiv){this.overlayDiv=az("<div>").appendTo(this.valueDiv);this._addClass(this.overlayDiv,"ui-progressbar-overlay")}}else{this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":aN});if(this.overlayDiv){this.overlayDiv.remove();this.overlayDiv=null}}if(this.oldValue!==aN){this.oldValue=aN;this._trigger("change")}if(aN===this.options.max){this._trigger("complete")}}}); 401/*! 402* jQuery UI Selectable 1.13.2 403* http://jqueryui.com 404* 405* Copyright jQuery Foundation and other contributors 406* Released under the MIT license. 407* http://jquery.org/license 408*/ 409;var t=az.widget("ui.selectable",az.ui.mouse,{version:"1.13.2",options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var aM=this;this._addClass("ui-selectable");this.dragged=false;this.refresh=function(){aM.elementPos=az(aM.element[0]).offset();aM.selectees=az(aM.options.filter,aM.element[0]);aM._addClass(aM.selectees,"ui-selectee");aM.selectees.each(function(){var aO=az(this),aN=aO.offset(),aP={left:aN.left-aM.elementPos.left,top:aN.top-aM.elementPos.top};az.data(this,"selectable-item",{element:this,$element:aO,left:aP.left,top:aP.top,right:aP.left+aO.outerWidth(),bottom:aP.top+aO.outerHeight(),startselected:false,selected:aO.hasClass("ui-selected"),selecting:aO.hasClass("ui-selecting"),unselecting:aO.hasClass("ui-unselecting")})})};this.refresh();this._mouseInit();this.helper=az("<div>");this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item");this._mouseDestroy()},_mouseStart:function(aO){var aN=this,aM=this.options;this.opos=[aO.pageX,aO.pageY];this.elementPos=az(this.element[0]).offset();if(this.options.disabled){return}this.selectees=az(aM.filter,this.element[0]);this._trigger("start",aO);az(aM.appendTo).append(this.helper);this.helper.css({left:aO.pageX,top:aO.pageY,width:0,height:0});if(aM.autoRefresh){this.refresh()}this.selectees.filter(".ui-selected").each(function(){var aP=az.data(this,"selectable-item");aP.startselected=true;if(!aO.metaKey&&!aO.ctrlKey){aN._removeClass(aP.$element,"ui-selected");aP.selected=false;aN._addClass(aP.$element,"ui-unselecting");aP.unselecting=true;aN._trigger("unselecting",aO,{unselecting:aP.element})}});az(aO.target).parents().addBack().each(function(){var aP,aQ=az.data(this,"selectable-item");if(aQ){aP=(!aO.metaKey&&!aO.ctrlKey)||!aQ.$element.hasClass("ui-selected");aN._removeClass(aQ.$element,aP?"ui-unselecting":"ui-selected")._addClass(aQ.$element,aP?"ui-selecting":"ui-unselecting");aQ.unselecting=!aP;aQ.selecting=aP;aQ.selected=aP;if(aP){aN._trigger("selecting",aO,{selecting:aQ.element})}else{aN._trigger("unselecting",aO,{unselecting:aQ.element})}return false}})},_mouseDrag:function(aT){this.dragged=true;if(this.options.disabled){return}var aQ,aS=this,aO=this.options,aN=this.opos[0],aR=this.opos[1],aM=aT.pageX,aP=aT.pageY;if(aN>aM){aQ=aM;aM=aN;aN=aQ}if(aR>aP){aQ=aP;aP=aR;aR=aQ}
409this.helper.css({left:aN,top:aR,width:aM-aN,height:aP-aR});this.selectees.each(function(){var aU=az.data(this,"selectable-item"),aV=false,aW={};if(!aU||aU.element===aS.element[0]){return}aW.left=aU.left+aS.elementPos.left;aW.right=aU.right+aS.elementPos.left;aW.top=aU.top+aS.elementPos.top;aW.bottom=aU.bottom+aS.elementPos.top;if(aO.tolerance==="touch"){aV=(!(aW.left>aM||aW.right<aN||aW.top>aP||aW.bottom<aR))}else{if(aO.tolerance==="fit"){aV=(aW.left>aN&&aW.right<aM&&aW.top>aR&&aW.bottom<aP)}}if(aV){if(aU.selected){aS._removeClass(aU.$element,"ui-selected");aU.selected=false}if(aU.unselecting){aS._removeClass(aU.$element,"ui-unselecting");aU.unselecting=false}if(!aU.selecting){aS._addClass(aU.$element,"ui-selecting");aU.selecting=true;aS._trigger("selecting",aT,{selecting:aU.element})}}else{if(aU.selecting){if((aT.metaKey||aT.ctrlKey)&&aU.startselected){aS._removeClass(aU.$element,"ui-selecting");aU.selecting=false;aS._addClass(aU.$element,"ui-selected");aU.selected=true}else{aS._removeClass(aU.$element,"ui-selecting");aU.selecting=false;if(aU.startselected){aS._addClass(aU.$element,"ui-unselecting");aU.unselecting=true}aS._trigger("unselecting",aT,{unselecting:aU.element})}}if(aU.selected){if(!aT.metaKey&&!aT.ctrlKey&&!aU.startselected){aS._removeClass(aU.$element,"ui-selected");aU.selected=false;aS._addClass(aU.$element,"ui-unselecting");aU.unselecting=true;aS._trigger("unselecting",aT,{unselecting:aU.element})}}}});return false},_mouseStop:function(aN){var aM=this;this.dragged=false;az(".ui-unselecting",this.element[0]).each(function(){var aO=az.data(this,"selectable-item");aM._removeClass(aO.$element,"ui-unselecting");aO.unselecting=false;aO.startselected=false;aM._trigger("unselected",aN,{unselected:aO.element})});az(".ui-selecting",this.element[0]).each(function(){var aO=az.data(this,"selectable-item");aM._removeClass(aO.$element,"ui-selecting")._addClass(aO.$element,"ui-selected");aO.selecting=false;aO.selected=true;aO.startselected=true;aM._trigger("selected",aN,{selected:aO.element})});this._trigger("stop",aN);this.helper.remove();return false}}); 410/*! 411* jQuery UI Selectmenu 1.13.2 412* http://jqueryui.com 413* 414* Copyright jQuery Foundation and other contributors 415* Released under the MIT license. 416* http://jquery.org/license 417*/ 418;var e=az.widget("ui.selectmenu",[az.ui.formResetMixin,{version:"1.13.2",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:false,change:null,close:null,focus:null,open:null,select:null},_create:function(){var aM=this.element.uniqueId().attr("id");this.ids={element:aM,button:aM+"-button",menu:aM+"-menu"};this._drawButton();this._drawMenu();this._bindFormResetHandler();this._rendered=false;this.menuItems=az()},_drawButton:function(){var aM,aO=this,aN=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button);this._on(this.labels,{click:function(aP){this.button.trigger("focus");aP.preventDefault()}});this.element.hide();this.button=az("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element);this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget");aM=az("<span>").appendTo(this.button);this._addClass(aM,"ui-selectmenu-icon","ui-icon "+this.options.icons.button);this.buttonItem=this._renderButtonItem(aN).appendTo(this.button);if(this.options.width!==false){this._resizeButton()}this._on(this.button,this._buttonEvents);this.button.one("focusin",function(){if(!aO._rendered){aO._refreshMenu()}})},_drawMenu:function(){var aM=this;this.menu=az("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu});this.menuWrap=az("<div>").append(this.menu);this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front");this.menuWrap.appendTo(this._appendTo());this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(aN,aO){aN.preventDefault();aM._setSelection();aM._select(aO.item.data("ui-selectmenu-item"),aN)},focus:function(aO,aP){var aN=aP.item.data("ui-selectmenu-item");if(aM.focusIndex!=null&&aN.index!==aM.focusIndex){aM._trigger("focus",aO,{item:aN});if(!aM.isOpen){aM._select(aN,aO)}}aM.focusIndex=aN.index;aM.button.attr("aria-activedescendant",aM.menuItems.eq(aN.index).attr("id"))}}).menu("instance");this.menuInstance._off(this.menu,"mouseleave");this.menuInstance._closeOnDocumentClick=function(){return false};this.menuInstance._isDivider=function(){return false}},refresh:function(){this._refreshMenu();this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{}));if(this.options.width===null){this._resizeButton()}},_refreshMenu:function(){var aN,aM=this.element.find("option");this.menu.empty();this._parseOptions(aM);this._renderMenu(this.menu,this.items);this.menuInstance.refresh();this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper");this._rendered=true;if(!aM.length){return}aN=this._getSelectedItem();this.menuInstance.focus(null,aN);this._setAria(aN.data("ui-selectmenu-item"));this._setOption("disabled",this.element.prop("disabled"))},open:function(aM){if(this.options.disabled){return}if(!this._rendered){this._refreshMenu()}else{this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active");this.menuInstance.focus(null,this._getSelectedItem())}if(!this.menuItems.length){return}this.isOpen=true;this._toggleAttr();this._resizeMenu();this._position();this._on(this.document,this._documentClick);this._trigger("open",aM)},_position:function(){this.menuWrap.position(az.extend({of:this.button},this.options.position))},close:function(aM){if(!this.isOpen){return}this.isOpen=false;this._toggleAttr();this.range=null;this._off(this.document);this._trigger("close",aM)},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(aN){var aM=az("<span>");this._setText(aM,aN.label);this._addClass(aM,"ui-selectmenu-text");return aM},_renderMenu:function(aO,aN){var aP=this,aM="";az.each(aN,function(aR,aS){var aQ;if(aS.optgroup!==aM){aQ=az("<li>",{text:aS.optgroup});aP._addClass(aQ,"ui-selectmenu-optgroup","ui-menu-divider"+(aS.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""));aQ.appendTo(aO);aM=aS.optgroup}aP._renderItemData(aO,aS)})},_renderItemData:function(aM,aN){return this._renderItem(aM,aN).data("ui-selectmenu-item",aN)},_renderItem:function(aN,aO){var aM=az("<li>"),aP=az("<div>",{title:aO.element.attr("title")});if(aO.disabled){this._addClass(aM,null,"ui-state-disabled")}this._setText(aP,aO.label);return aM.append(aP).appendTo(aN)},_setText:function(aM,aN){if(aN){aM.text(aN)}else{aM.html(" ")}},_move:function(aQ,aP){var aO,aN,aM=".ui-menu-item";if(this.isOpen){aO=this.menuItems.eq(this.focusIndex).parent("li")}else{aO=this.menuItems.eq(this.element[0].selectedIndex).parent("li");aM+=":not(.ui-state-disabled)"}if(aQ==="first"||aQ==="last"){aN=aO[aQ==="first"?"prevAll":"nextAll"](aM).eq(-1)}else{aN=aO[aQ+"All"](aM).eq(0)}
418if(aN.length){this.menuInstance.focus(aP,aN)}},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(aM){this[this.isOpen?"close":"open"](aM)},_setSelection:function(){var aM;if(!this.range){return}if(window.getSelection){aM=window.getSelection();aM.removeAllRanges();aM.addRange(this.range)}else{this.range.select()}this.button.trigger("focus")},_documentClick:{mousedown:function(aM){if(!this.isOpen){return}if(!az(aM.target).closest(".ui-selectmenu-menu, #"+az.escapeSelector(this.ids.button)).length){this.close(aM)}}},_buttonEvents:{mousedown:function(){var aM;if(window.getSelection){aM=window.getSelection();if(aM.rangeCount){this.range=aM.getRangeAt(0)}}else{this.range=document.selection.createRange()}},click:function(aM){this._setSelection();this._toggle(aM)},keydown:function(aN){var aM=true;switch(aN.keyCode){case az.ui.keyCode.TAB:case az.ui.keyCode.ESCAPE:this.close(aN);aM=false;break;case az.ui.keyCode.ENTER:if(this.isOpen){this._selectFocusedItem(aN)}break;case az.ui.keyCode.UP:if(aN.altKey){this._toggle(aN)}else{this._move("prev",aN)}break;case az.ui.keyCode.DOWN:if(aN.altKey){this._toggle(aN)}else{this._move("next",aN)}break;case az.ui.keyCode.SPACE:if(this.isOpen){this._selectFocusedItem(aN)}else{this._toggle(aN)}break;case az.ui.keyCode.LEFT:this._move("prev",aN);break;case az.ui.keyCode.RIGHT:this._move("next",aN);break;case az.ui.keyCode.HOME:case az.ui.keyCode.PAGE_UP:this._move("first",aN);break;case az.ui.keyCode.END:case az.ui.keyCode.PAGE_DOWN:this._move("last",aN);break;default:this.menu.trigger(aN);aM=false}if(aM){aN.preventDefault()}}},_selectFocusedItem:function(aN){var aM=this.menuItems.eq(this.focusIndex).parent("li");if(!aM.hasClass("ui-state-disabled")){this._select(aM.data("ui-selectmenu-item"),aN)}},_select:function(aN,aM){var aO=this.element[0].selectedIndex;this.element[0].selectedIndex=aN.index;this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(aN));this._setAria(aN);this._trigger("select",aM,{item:aN});if(aN.index!==aO){this._trigger("change",aM,{item:aN})}this.close(aM)},_setAria:function(aM){var aN=this.menuItems.eq(aM.index).attr("id");this.button.attr({"aria-labelledby":aN,"aria-activedescendant":aN});this.menu.attr("aria-activedescendant",aN)},_setOption:function(aM,aO){if(aM==="icons"){var aN=this.button.find("span.ui-icon");this._removeClass(aN,null,this.options.icons.button)._addClass(aN,null,aO.button)}this._super(aM,aO);if(aM==="appendTo"){this.menuWrap.appendTo(this._appendTo())}if(aM==="width"){this._resizeButton()}},_setOptionDisabled:function(aM){this._super(aM);this.menuInstance.option("disabled",aM);this.button.attr("aria-disabled",aM);this._toggleClass(this.button,null,"ui-state-disabled",aM);this.element.prop("disabled",aM);if(aM){this.button.attr("tabindex",-1);this.close()}else{this.button.attr("tabindex",0)}},_appendTo:function(){var aM=this.options.appendTo;if(aM){aM=aM.jquery||aM.nodeType?az(aM):this.document.find(aM).eq(0)}if(!aM||!aM[0]){aM=this.element.closest(".ui-front, dialog")}if(!aM.length){aM=this.document[0].body}return aM},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen);this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen);this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var aM=this.options.width;if(aM===false){this.button.css("width","");return}if(aM===null){aM=this.element.show().outerWidth();this.element.hide()}this.button.outerWidth(aM)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var aM=this._super();aM.disabled=this.element.prop("disabled");return aM},_parseOptions:function(aM){var aN=this,aO=[];aM.each(function(aP,aQ){if(aQ.hidden){return}aO.push(aN._parseOption(az(aQ),aP))});this.items=aO},_parseOption:function(aO,aN){var aM=aO.parent("optgroup");return{element:aO,index:aN,value:aO.val(),label:aO.text(),optgroup:aM.attr("label")||"",disabled:aM.prop("disabled")||aO.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler();this.menuWrap.remove();this.button.remove();this.element.show();this.element.removeUniqueId();this.labels.attr("for",this.ids.element)}}]); 419/*! 420* jQuery UI Slider 1.13.2 421* http://jqueryui.com 422* 423* Copyright jQuery Foundation and other contributors 424* Released under the MIT license. 425* http://jquery.org/license 426*/ 427;var Y=az.widget("ui.slider",az.ui.mouse,{version:"1.13.2",widgetEventPrefix:"slide",options:{animate:false,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
427,numPages:5,_create:function(){this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this._calculateNewMax();this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content");this._refresh();this._animateOff=false},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var aP,aM,aN=this.options,aR=this.element.find(".ui-slider-handle"),aQ="<span tabindex='0'></span>",aO=[];aM=(aN.values&&aN.values.length)||1;if(aR.length>aM){aR.slice(aM).remove();aR=aR.slice(0,aM)}for(aP=aR.length;aP<aM;aP++){aO.push(aQ)}this.handles=aR.add(az(aO.join("")).appendTo(this.element));this._addClass(this.handles,"ui-slider-handle","ui-state-default");this.handle=this.handles.eq(0);this.handles.each(function(aS){az(this).data("ui-slider-handle-index",aS).attr("tabIndex",0)})},_createRange:function(){var aM=this.options;if(aM.range){if(aM.range===true){if(!aM.values){aM.values=[this._valueMin(),this._valueMin()]}else{if(aM.values.length&&aM.values.length!==2){aM.values=[aM.values[0],aM.values[0]]}else{if(Array.isArray(aM.values)){aM.values=aM.values.slice(0)}}}}if(!this.range||!this.range.length){this.range=az("<div>").appendTo(this.element);this._addClass(this.range,"ui-slider-range")}else{this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max");this.range.css({left:"",bottom:""})}if(aM.range==="min"||aM.range==="max"){this._addClass(this.range,"ui-slider-range-"+aM.range)}}else{if(this.range){this.range.remove()}this.range=null}},_setupEvents:function(){this._off(this.handles);this._on(this.handles,this._handleEvents);this._hoverable(this.handles);this._focusable(this.handles)},_destroy:function(){this.handles.remove();if(this.range){this.range.remove()}this._mouseDestroy()},_mouseCapture:function(aO){var aS,aV,aN,aQ,aU,aW,aR,aM,aT=this,aP=this.options;if(aP.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();aS={x:aO.pageX,y:aO.pageY};aV=this._normValueFromMouse(aS);aN=this._valueMax()-this._valueMin()+1;this.handles.each(function(aX){var aY=Math.abs(aV-aT.values(aX));if((aN>aY)||(aN===aY&&(aX===aT._lastChangedValue||aT.values(aX)===aP.min))){aN=aY;aQ=az(this);aU=aX}});aW=this._start(aO,aU);if(aW===false){return false}this._mouseSliding=true;this._handleIndex=aU;this._addClass(aQ,null,"ui-state-active");aQ.trigger("focus");aR=aQ.offset();aM=!az(aO.target).parents().addBack().is(".ui-slider-handle");this._clickOffset=aM?{left:0,top:0}:{left:aO.pageX-aR.left-(aQ.width()/2),top:aO.pageY-aR.top-(aQ.height()/2)-(parseInt(aQ.css("borderTopWidth"),10)||0)-(parseInt(aQ.css("borderBottomWidth"),10)||0)+(parseInt(aQ.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(aO,aU,aV)}this._animateOff=true;return true},_mouseStart:function(){return true},_mouseDrag:function(aO){var aM={x:aO.pageX,y:aO.pageY},aN=this._normValueFromMouse(aM);this._slide(aO,this._handleIndex,aN);return false},_mouseStop:function(aM){this._removeClass(this.handles,null,"ui-state-active");this._mouseSliding=false;this._stop(aM,this._handleIndex);this._change(aM,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(aN){var aM,aQ,aP,aO,aR;if(this.orientation==="horizontal"){aM=this.elementSize.width;aQ=aN.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{aM=this.elementSize.height;aQ=aN.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}aP=(aQ/aM);if(aP>1){aP=1}if(aP<0){aP=0}if(this.orientation==="vertical"){aP=1-aP}aO=this._valueMax()-this._valueMin();aR=this._valueMin()+aP*aO;return this._trimAlignValue(aR)},_uiHash:function(aO,aP,aM){var aN={handle:this.handles[aO],handleIndex:aO,value:aP!==undefined?aP:this.value()};if(this._hasMultipleValues()){aN.value=aP!==undefined?aP:this.values(aO);aN.values=aM||this.values()}return aN},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(aN,aM){return this._trigger("start",aN,this._uiHash(aM))},_slide:function(aR,aP,aO){var aS,aM,aQ=this.value(),aN=this.values();if(this._hasMultipleValues()){aM=this.values(aP?0:1);aQ=this.values(aP);if(this.options.values.length===2&&this.options.range===true){aO=aP===0?Math.min(aM,aO):Math.max(aM,aO)}aN[aP]=aO}if(aO===aQ){return}aS=this._trigger("slide",aR,this._uiHash(aP,aO,aN));if(aS===false){return}if(this._hasMultipleValues()){this.values(aP,aO)}else{this.value(aO)}},_stop:function(aN,aM){this._trigger("stop",aN,this._uiHash(aM))},_change:function(aN,aM){if(!this._keySliding&&!this._mouseSliding){this._lastChangedValue=aM;this._trigger("change",aN,this._uiHash(aM))}},value:function(aM){if(arguments.length){this.options.value=this._trimAlignValue(aM);this._refreshValue();this._change(null,0);return}
427return this._value()},values:function(aN,aQ){var aP,aM,aO;if(arguments.length>1){this.options.values[aN]=this._trimAlignValue(aQ);this._refreshValue();this._change(null,aN);return}if(arguments.length){if(Array.isArray(arguments[0])){aP=this.options.values;aM=arguments[0];for(aO=0;aO<aP.length;aO+=1){aP[aO]=this._trimAlignValue(aM[aO]);this._change(null,aO)}this._refreshValue()}else{if(this._hasMultipleValues()){return this._values(aN)}else{return this.value()}}}else{return this._values()}},_setOption:function(aN,aO){var aM,aP=0;if(aN==="range"&&this.options.range===true){if(aO==="min"){this.options.value=this._values(0);this.options.values=null}else{if(aO==="max"){this.options.value=this._values(this.options.values.length-1);this.options.values=null}}}if(Array.isArray(this.options.values)){aP=this.options.values.length}this._super(aN,aO);switch(aN){case"orientation":this._detectOrientation();this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation);this._refreshValue();if(this.options.range){this._refreshRange(aO)}this.handles.css(aO==="horizontal"?"bottom":"left","");break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(aM=aP-1;aM>=0;aM--){this._change(null,aM)}this._animateOff=false;break;case"step":case"min":case"max":this._animateOff=true;this._calculateNewMax();this._refreshValue();this._animateOff=false;break;case"range":this._animateOff=true;this._refresh();this._animateOff=false;break}},_setOptionDisabled:function(aM){this._super(aM);this._toggleClass(null,"ui-state-disabled",!!aM)},_value:function(){var aM=this.options.value;aM=this._trimAlignValue(aM);return aM},_values:function(aM){var aP,aO,aN;if(arguments.length){aP=this.options.values[aM];aP=this._trimAlignValue(aP);return aP}else{if(this._hasMultipleValues()){aO=this.options.values.slice();for(aN=0;aN<aO.length;aN+=1){aO[aN]=this._trimAlignValue(aO[aN])}return aO}else{return[]}}},_trimAlignValue:function(aP){if(aP<=this._valueMin()){return this._valueMin()}if(aP>=this._valueMax()){return this._valueMax()}var aM=(this.options.step>0)?this.options.step:1,aO=(aP-this._valueMin())%aM,aN=aP-aO;if(Math.abs(aO)*2>=aM){aN+=(aO>0)?aM:(-aM)}return parseFloat(aN.toFixed(5))},_calculateNewMax:function(){var aM=this.options.max,aN=this._valueMin(),aO=this.options.step,aP=Math.round((aM-aN)/aO)*aO;aM=aP+aN;if(aM>this.options.max){aM-=aO}this.max=parseFloat(aM.toFixed(this._precision()))},_precision:function(){var aM=this._precisionOf(this.options.step);if(this.options.min!==null){aM=Math.max(aM,this._precisionOf(this.options.min))}return aM},_precisionOf:function(aN){var aO=aN.toString(),aM=aO.indexOf(".");return aM===-1?0:aO.length-aM-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(aM){if(aM==="vertical"){this.range.css({width:"",left:""})}if(aM==="horizontal"){this.range.css({height:"",bottom:""})}},_refreshValue:function(){var aR,aQ,aU,aS,aV,aP=this.options.range,aO=this.options,aT=this,aN=(!this._animateOff)?aO.animate:false,aM={};if(this._hasMultipleValues()){this.handles.each(function(aW){aQ=(aT.values(aW)-aT._valueMin())/(aT._valueMax()-aT._valueMin())*100;aM[aT.orientation==="horizontal"?"left":"bottom"]=aQ+"%";az(this).stop(1,1)[aN?"animate":"css"](aM,aO.animate);if(aT.options.range===true){if(aT.orientation==="horizontal"){if(aW===0){aT.range.stop(1,1)[aN?"animate":"css"]({left:aQ+"%"},aO.animate)}if(aW===1){aT.range[aN?"animate":"css"]({width:(aQ-aR)+"%"},{queue:false,duration:aO.animate})}}else{if(aW===0){aT.range.stop(1,1)[aN?"animate":"css"]({bottom:(aQ)+"%"},aO.animate)}if(aW===1){aT.range[aN?"animate":"css"]({height:(aQ-aR)+"%"},{queue:false,duration:aO.animate})}}}aR=aQ})}else{aU=this.value();aS=this._valueMin();aV=this._valueMax();aQ=(aV!==aS)?(aU-aS)/(aV-aS)*100:0;aM[this.orientation==="horizontal"?"left":"bottom"]=aQ+"%";this.handle.stop(1,1)[aN?"animate":"css"](aM,aO.animate);if(aP==="min"&&this.orientation==="horizontal"){this.range.stop(1,
4271)[aN?"animate":"css"]({width:aQ+"%"},aO.animate)}if(aP==="max"&&this.orientation==="horizontal"){this.range.stop(1,1)[aN?"animate":"css"]({width:(100-aQ)+"%"},aO.animate)}if(aP==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[aN?"animate":"css"]({height:aQ+"%"},aO.animate)}if(aP==="max"&&this.orientation==="vertical"){this.range.stop(1,1)[aN?"animate":"css"]({height:(100-aQ)+"%"},aO.animate)}}},_handleEvents:{keydown:function(aQ){var aR,aO,aN,aP,aM=az(aQ.target).data("ui-slider-handle-index");switch(aQ.keyCode){case az.ui.keyCode.HOME:case az.ui.keyCode.END:case az.ui.keyCode.PAGE_UP:case az.ui.keyCode.PAGE_DOWN:case az.ui.keyCode.UP:case az.ui.keyCode.RIGHT:case az.ui.keyCode.DOWN:case az.ui.keyCode.LEFT:aQ.preventDefault();if(!this._keySliding){this._keySliding=true;this._addClass(az(aQ.target),null,"ui-state-active");aR=this._start(aQ,aM);if(aR===false){return}}break}aP=this.options.step;if(this._hasMultipleValues()){aO=aN=this.values(aM)}else{aO=aN=this.value()}switch(aQ.keyCode){case az.ui.keyCode.HOME:aN=this._valueMin();break;case az.ui.keyCode.END:aN=this._valueMax();break;case az.ui.keyCode.PAGE_UP:aN=this._trimAlignValue(aO+((this._valueMax()-this._valueMin())/this.numPages));break;case az.ui.keyCode.PAGE_DOWN:aN=this._trimAlignValue(aO-((this._valueMax()-this._valueMin())/this.numPages));break;case az.ui.keyCode.UP:case az.ui.keyCode.RIGHT:if(aO===this._valueMax()){return}aN=this._trimAlignValue(aO+aP);break;case az.ui.keyCode.DOWN:case az.ui.keyCode.LEFT:if(aO===this._valueMin()){return}aN=this._trimAlignValue(aO-aP);break}this._slide(aQ,aM,aN)},keyup:function(aN){var aM=az(aN.target).data("ui-slider-handle-index");if(this._keySliding){this._keySliding=false;this._stop(aN,aM);this._change(aN,aM);this._removeClass(az(aN.target),null,"ui-state-active")}}}}); 428/*! 429* jQuery UI Sortable 1.13.2 430* http://jqueryui.com 431* 432* Copyright jQuery Foundation and other contributors 433* Released under the MIT license. 434* http://jquery.org/license 435*/ 436;var ab=az.widget("ui.sortable",az.ui.mouse,{version:"1.13.2",widgetEventPrefix:"sort",ready:false,options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(aN,aM,aO){return(aN>=aM)&&(aN<(aM+aO))},_isFloating:function(aM){return(/left|right/).test(aM.css("float"))||(/inline|table-cell/).test(aM.css("display"))},_create:function(){this.containerCache={};this._addClass("ui-sortable");this.refresh();this.offset=this.element.offset();this._mouseInit();this._setHandleClassName();this.ready=true},_setOption:function(aM,aN){this._super(aM,aN);if(aM==="handle"){this._setHandleClassName()}},_setHandleClassName:function(){var aM=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle");az.each(this.items,function(){aM._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var aM=this.items.length-1;aM>=0;aM--){this.items[aM].item.removeData(this.widgetName+"-item")}return this},_mouseCapture:function(aO,aP){var aM=null,aQ=false,aN=this;if(this.reverting){return false}if(this.options.disabled||this.options.type==="static"){return false}this._refreshItems(aO);az(aO.target).parents().each(function(){if(az.data(this,aN.widgetName+"-item")===aN){aM=az(this);return false}});if(az.data(aO.target,aN.widgetName+"-item")===aN){aM=az(aO.target)}if(!aM){return false}if(this.options.handle&&!aP){az(this.options.handle,aM).find("*").addBack().each(function(){if(this===aO.target){aQ=true}});if(!aQ){return false}}this.currentItem=aM;this._removeCurrentsFromItems();return true},_mouseStart:function(aP,aQ,aN){var aO,aM,aR=this.options;this.currentContainer=this;this.refreshPositions();this.appendTo=az(aR.appendTo!=="parent"?aR.appendTo:this.currentItem.parent());this.helper=this._createHelper(aP);this._cacheHelperProportions();this._cacheMargins();this.offset=this.currentItem.offset();
436this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};az.extend(this.offset,{click:{left:aP.pageX-this.offset.left,top:aP.pageY-this.offset.top},relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");if(aR.cursorAt){this._adjustOffsetFromHelper(aR.cursorAt)}this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();this.scrollParent=this.placeholder.scrollParent();az.extend(this.offset,{parent:this._getParentOffset()});if(aR.containment){this._setContainment()}if(aR.cursor&&aR.cursor!=="auto"){aM=this.document.find("body");this.storedCursor=aM.css("cursor");aM.css("cursor",aR.cursor);this.storedStylesheet=az("<style>*{ cursor: "+aR.cursor+" !important; }</style>").appendTo(aM)}if(aR.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",aR.zIndex)}if(aR.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",aR.opacity)}if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",aP,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!aN){for(aO=this.containers.length-1;aO>=0;aO--){this.containers[aO]._trigger("activate",aP,this._uiHash(this))}}if(az.ui.ddmanager){az.ui.ddmanager.current=this}if(az.ui.ddmanager&&!aR.dropBehaviour){az.ui.ddmanager.prepareOffsets(this,aP)}this.dragging=true;this._addClass(this.helper,"ui-sortable-helper");if(!this.helper.parent().is(this.appendTo)){this.helper.detach().appendTo(this.appendTo);this.offset.parent=this._getParentOffset()}this.position=this.originalPosition=this._generatePosition(aP);this.originalPageX=aP.pageX;this.originalPageY=aP.pageY;this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute");this._mouseDrag(aP);return true},_scroll:function(aN){var aO=this.options,aM=false;if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-aN.pageY<aO.scrollSensitivity){this.scrollParent[0].scrollTop=aM=this.scrollParent[0].scrollTop+aO.scrollSpeed}else{if(aN.pageY-this.overflowOffset.top<aO.scrollSensitivity){this.scrollParent[0].scrollTop=aM=this.scrollParent[0].scrollTop-aO.scrollSpeed}}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-aN.pageX<aO.scrollSensitivity){this.scrollParent[0].scrollLeft=aM=this.scrollParent[0].scrollLeft+aO.scrollSpeed}else{if(aN.pageX-this.overflowOffset.left<aO.scrollSensitivity){this.scrollParent[0].scrollLeft=aM=this.scrollParent[0].scrollLeft-aO.scrollSpeed}}}else{if(aN.pageY-this.document.scrollTop()<aO.scrollSensitivity){aM=this.document.scrollTop(this.document.scrollTop()-aO.scrollSpeed)}else{if(this.window.height()-(aN.pageY-this.document.scrollTop())<aO.scrollSensitivity){aM=this.document.scrollTop(this.document.scrollTop()+aO.scrollSpeed)}}if(aN.pageX-this.document.scrollLeft()<aO.scrollSensitivity){aM=this.document.scrollLeft(this.document.scrollLeft()-aO.scrollSpeed)}else{if(this.window.width()-(aN.pageX-this.document.scrollLeft())<aO.scrollSensitivity){aM=this.document.scrollLeft(this.document.scrollLeft()+aO.scrollSpeed)}}}return aM},_mouseDrag:function(aP){var aN,aO,aM,aR,aQ=this.options;this.position=this._generatePosition(aP);this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"}if(aQ.scroll){if(this._scroll(aP)!==false){this._refreshItemPositions(true);if(az.ui.ddmanager&&!aQ.dropBehaviour){az.ui.ddmanager.prepareOffsets(this,aP)}}}this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()};for(aN=this.items.length-1;aN>=0;aN--){aO=this.items[aN];aM=aO.item[0];aR=this._intersectsWithPointer(aO);if(!aR){continue}if(aO.instance!==this.currentContainer){continue}if(aM!==this.currentItem[0]&&this.placeholder[aR===1?"next":"prev"]()[0]!==aM&&!az.contains(this.placeholder[0],aM)&&(this.options.type==="semi-dynamic"?!az.contains(this.element[0],aM):true)){this.direction=aR===1?"down":"up";if(this.options.tolerance==="pointer"||this._intersectsWithSides(aO)){this._rearrange(aP,aO)}else{break}this._trigger("change",aP,this._uiHash());break}}this._contactContainers(aP);if(az.ui.ddmanager){az.ui.ddmanager.drag(this,aP)}this._trigger("sort",aP,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(aO,aQ){if(!aO){return}if(az.ui.ddmanager&&!this.options.dropBehaviour){az.ui.ddmanager.drop(this,aO)}if(this.options.revert){var aN=this,aR=this.placeholder.offset(),aM=this.options.axis,aP={};if(!aM||aM==="x"){aP.left=aR.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)}if(!aM||aM==="y"){aP.top=aR.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)}this.reverting=true;az(this.helper).animate(aP,parseInt(this.options.revert,10)||500,function(){aN._clear(aO)})}else{this._clear(aO,aQ)}return false},cancel:function(){if(this.dragging){this._mouseUp(new az.Event("mouseup",{target:null}));if(this.options.helper==="original"){this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}for(var aM=this.containers.length-1;aM>=0;aM--){this.containers[aM]._trigger("deactivate",null,this._uiHash(this));if(this.containers[aM].containerCache.over){this.containers[aM]._trigger("out",null,this._uiHash(this));this.containers[aM].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}az.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){az(this.domPosition.prev).after(this.currentItem)}else{az(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(aO){var aM=this._getItemsAsjQuery(aO&&aO.connected),aN=[];aO=aO||{};az(aM).each(function(){var aP=(az(aO.item||this).attr(aO.attribute||"id")||"").match(aO.expression||(/(.+)[\-=_](.+)/));if(aP){aN.push((aO.key||aP[1]+"[]")+"="+(aO.key&&aO.expression?aP[1]:aP[2]))}});if(!aN.length&&aO.key){aN.push(aO.key+"=")}
436return aN.join("&")},toArray:function(aO){var aM=this._getItemsAsjQuery(aO&&aO.connected),aN=[];aO=aO||{};aM.each(function(){aN.push(az(aO.item||this).attr(aO.attribute||"id")||"")});return aN},_intersectsWith:function(aX){var aO=this.positionAbs.left,aN=aO+this.helperProportions.width,aV=this.positionAbs.top,aU=aV+this.helperProportions.height,aP=aX.left,aM=aP+aX.width,aY=aX.top,aT=aY+aX.height,aZ=this.offset.click.top,aS=this.offset.click.left,aR=(this.options.axis==="x")||((aV+aZ)>aY&&(aV+aZ)<aT),aW=(this.options.axis==="y")||((aO+aS)>aP&&(aO+aS)<aM),aQ=aR&&aW;if(this.options.tolerance==="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>aX[this.floating?"width":"height"])){return aQ}else{return(aP<aO+(this.helperProportions.width/2)&&aN-(this.helperProportions.width/2)<aM&&aY<aV+(this.helperProportions.height/2)&&aU-(this.helperProportions.height/2)<aT)}},_intersectsWithPointer:function(aO){var aN,aR,aP=(this.options.axis==="x")||this._isOverAxis(this.positionAbs.top+this.offset.click.top,aO.top,aO.height),aM=(this.options.axis==="y")||this._isOverAxis(this.positionAbs.left+this.offset.click.left,aO.left,aO.width),aQ=aP&&aM;if(!aQ){return false}aN=this.dragDirection.vertical;aR=this.dragDirection.horizontal;return this.floating?((aR==="right"||aN==="down")?2:1):(aN&&(aN==="down"?2:1))},_intersectsWithSides:function(aP){var aN=this._isOverAxis(this.positionAbs.top+this.offset.click.top,aP.top+(aP.height/2),aP.height),aO=this._isOverAxis(this.positionAbs.left+this.offset.click.left,aP.left+(aP.width/2),aP.width),aM=this.dragDirection.vertical,aQ=this.dragDirection.horizontal;if(this.floating&&aQ){return((aQ==="right"&&aO)||(aQ==="left"&&!aO))}else{return aM&&((aM==="down"&&aN)||(aM==="up"&&!aN))}},_getDragVerticalDirection:function(){var aM=this.positionAbs.top-this.lastPositionAbs.top;return aM!==0&&(aM>0?"down":"up")},_getDragHorizontalDirection:function(){var aM=this.positionAbs.left-this.lastPositionAbs.left;return aM!==0&&(aM>0?"right":"left")},refresh:function(aM){this._refreshItems(aM);this._setHandleClassName();this.refreshPositions();return this},_connectWith:function(){var aM=this.options;return aM.connectWith.constructor===String?[aM.connectWith]:aM.connectWith},_getItemsAsjQuery:function(aM){var aO,aN,aT,aQ,aR=[],aP=[],aS=this._connectWith();if(aS&&aM){for(aO=aS.length-1;aO>=0;aO--){aT=az(aS[aO],this.document[0]);for(aN=aT.length-1;aN>=0;aN--){aQ=az.data(aT[aN],this.widgetFullName);if(aQ&&aQ!==this&&!aQ.options.disabled){aP.push([typeof aQ.options.items==="function"?aQ.options.items.call(aQ.element):az(aQ.options.items,aQ.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),aQ])}}}}aP.push([typeof this.options.items==="function"?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):az(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function aU(){aR.push(this)}for(aO=aP.length-1;aO>=0;aO--){aP[aO][0].each(aU)}return az(aR)},_removeCurrentsFromItems:function(){var aM=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=az.grep(this.items,function(aO){for(var aN=0;aN<aM.length;aN++){if(aM[aN]===aO.item[0]){return false}}return true})},_refreshItems:function(aM){this.items=[];this.containers=[this];var aQ,aO,aV,aR,aU,aN,aX,aW,aS=this.items,aP=[[typeof this.options.items==="function"?this.options.items.call(this.element[0],aM,{item:this.currentItem}):az(this.options.items,this.element),this]],aT=this._connectWith();if(aT&&this.ready){for(aQ=aT.length-1;aQ>=0;aQ--){aV=az(aT[aQ],this.document[0]);for(aO=aV.length-1;aO>=0;aO--){aR=az.data(aV[aO],this.widgetFullName);if(aR&&aR!==this&&!aR.options.disabled){aP.push([typeof aR.options.items==="function"?aR.options.items.call(aR.element[0],aM,{item:this.currentItem}):az(aR.options.items,aR.element),aR]);this.containers.push(aR)}}}}for(aQ=aP.length-1;aQ>=0;aQ--){aU=aP[aQ][1];aN=aP[aQ][0];for(aO=0,aW=aN.length;aO<aW;aO++){aX=az(aN[aO]);aX.data(this.widgetName+"-item",aU);aS.push({item:aX,instance:aU,width:0,height:0,left:0,top:0})}}},_refreshItemPositions:function(aM){var aO,aP,aN,aQ;for(aO=this.items.length-1;aO>=0;aO--){aP=this.items[aO];if(this.currentContainer&&aP.instance!==this.currentContainer&&aP.item[0]!==this.currentItem[0]){continue}aN=this.options.toleranceElement?az(this.options.toleranceElement,aP.item):aP.item;if(!aM){aP.width=aN.outerWidth();aP.height=aN.outerHeight()}aQ=aN.offset();aP.left=aQ.left;aP.top=aQ.top}},refreshPositions:function(aM){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):false;if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}this._refreshItemPositions(aM);var aN,aO;
436if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(aN=this.containers.length-1;aN>=0;aN--){aO=this.containers[aN].element.offset();this.containers[aN].containerCache.left=aO.left;this.containers[aN].containerCache.top=aO.top;this.containers[aN].containerCache.width=this.containers[aN].element.outerWidth();this.containers[aN].containerCache.height=this.containers[aN].element.outerHeight()}}return this},_createPlaceholder:function(aN){aN=aN||this;var aM,aP,aO=aN.options;if(!aO.placeholder||aO.placeholder.constructor===String){aM=aO.placeholder;aP=aN.currentItem[0].nodeName.toLowerCase();aO.placeholder={element:function(){var aQ=az("<"+aP+">",aN.document[0]);aN._addClass(aQ,"ui-sortable-placeholder",aM||aN.currentItem[0].className)._removeClass(aQ,"ui-sortable-helper");if(aP==="tbody"){aN._createTrPlaceholder(aN.currentItem.find("tr").eq(0),az("<tr>",aN.document[0]).appendTo(aQ))}else{if(aP==="tr"){aN._createTrPlaceholder(aN.currentItem,aQ)}else{if(aP==="img"){aQ.attr("src",aN.currentItem.attr("src"))}}}if(!aM){aQ.css("visibility","hidden")}return aQ},update:function(aQ,aR){if(aM&&!aO.forcePlaceholderSize){return}if(!aR.height()||(aO.forcePlaceholderSize&&(aP==="tbody"||aP==="tr"))){aR.height(aN.currentItem.innerHe
436ight()-parseInt(aN.currentItem.css("paddingTop")||0,10)-parseInt(aN.currentItem.css("paddingBottom")||0,10))}if(!aR.width()){aR.width(aN.currentItem.innerWidth()-parseInt(aN.currentItem.css("paddingLeft")||0,10)-parseInt(aN.currentItem.css("paddingRight")||0,10))}}}}aN.placeholder=az(aO.placeholder.element.call(aN.element,aN.currentItem));aN.currentItem.after(aN.placeholder);aO.placeholder.update(aN,aN.placeholder)},_createTrPlaceholder:function(aN,aM){var aO=this;aN.children().each(function(){az("<td> </td>",aO.document[0]).attr("colspan",az(this).attr("colspan")||1).appendTo(aM)})},_contactContainers:function(aM){var aR,aP,aV,aS,aT,aX,aY,aQ,aU,aO,aN=null,aW=null;for(aR=this.containers.length-1;aR>=0;aR--){if(az.contains(this.currentItem[0],this.containers[aR].element[0])){continue}if(this._intersectsWith(this.containers[aR].containerCache)){if(aN&&az.contains(this.containers[aR].element[0],aN.element[0])){continue}aN=this.containers[aR];aW=aR}else{if(this.containers[aR].containerCache.over){this.containers[aR]._trigger("out",aM,this._uiHash(this));this.containers[aR].containerCache.over=0}}}if(!aN){return}if(this.containers.length===1){if(!this.containers[aW].containerCache.over){this.containers[aW]._trigger("over",aM,this._uiHash(this));this.containers[aW].containerCache.over=1}}else{aV=10000;aS=null;aU=aN.floating||this._isFloating(this.currentItem);aT=aU?"left":"top";aX=aU?"width":"height";aO=aU?"pageX":"pageY";for(aP=this.items.length-1;aP>=0;aP--){if(!az.contains(this.containers[aW].element[0],this.items[aP].item[0])){continue}if(this.items[aP].item[0]===this.currentItem[0]){continue}aY=this.items[aP].item.offset()[aT];aQ=false;if(aM[aO]-aY>this.items[aP][aX]/2){aQ=true}if(Math.abs(aM[aO]-aY)<aV){aV=Math.abs(aM[aO]-aY);aS=this.items[aP];this.direction=aQ?"up":"down"}}if(!aS&&!this.options.dropOnEmpty){return}if(this.currentContainer===this.containers[aW]){if(!this.currentContainer.containerCache.over){this.containers[aW]._trigger("over",aM,this._uiHash());this.currentContainer.containerCache.over=1}return}if(aS){this._rearrange(aM,aS,null,true)}else{this._rearrange(aM,null,this.containers[aW].element,true)}this._trigger("change",aM,this._uiHash());this.containers[aW]._trigger("change",aM,this._uiHash(this));this.currentContainer=this.containers[aW];this.options.placeholder.update(this.currentContainer,this.placeholder);this.scrollParent=this.placeholder.scrollParent();if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()}this.containers[aW]._trigger("over",aM,this._uiHash(this));this.containers[aW].containerCache.over=1}},_createHelper:function(aN){var aO=this.options,aM=typeof aO.helper==="function"?az(aO.helper.apply(this.element[0],[aN,this.currentItem])):(aO.helper==="clone"?this.currentItem.clone():this.currentItem);if(!aM.parents("body").length){this.appendTo[0].appendChild(aM[0])}if(aM[0]===this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(!aM[0].style.width||aO.forceHelperSize){aM.width(this.currentItem.width())}if(!aM[0].style.height||aO.forceHelperSize){aM.height(this.currentItem.height())}return aM},_adjustOffsetFromHelper:function(aM){if(typeof aM==="string"){aM=aM.split(" ")}if(Array.isArray(aM)){aM={left:+aM[0],top:+aM[1]||0}}if("left" in aM){this.offset.click.left=aM.left+this.margins.left}if("right" in aM){this.offset.click.left=this.helperProportions.width-aM.right+this.margins.left}if("top" in aM){this.offset.click.top=aM.top+this.margins.top}if("bottom" in aM){this.offset.click.top=this.helperProportions.height-aM.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var aM=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&az.contains(this.scrollParent[0],this.offsetParent[0])){aM.left+=this.scrollParent.scrollLeft();aM.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]===this.document[0].body||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&az.ui.ie)){aM={top:0,left:0}}return{top:aM.top+(parseInt(this.offsetParent.css("borderTopWidth"),
vendor: 4,403 bytes, line 436
43610)||0),left:aM.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var aM=this.currentItem.position();return{top:aM.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:aM.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var aN,aP,aM,aO=this.options;if(aO.containment==="parent"){aO.containment=this.helper[0].parentNode}if(aO.containment==="document"||aO.containment==="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,aO.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(aO.containment==="document"?(this.document.height()||document.body.parentNode.scrollHeight):this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(aO.containment)){aN=az(aO.containment)[0];aP=az(aO.containment).offset();aM=(az(aN).css("overflow")!=="hidden");this.containment=[aP.left+(parseInt(az(aN).css("borderLeftWidth"),10)||0)+(parseInt(az(aN).css("paddingLeft"),10)||0)-this.margins.left,aP.top+(parseInt(az(aN).css("borderTopWidth"),10)||0)+(parseInt(az(aN).css("paddingTop"),10)||0)-this.margins.top,aP.left+(aM?Math.max(aN.scrollWidth,aN.offsetWidth):aN.offsetWidth)-(parseInt(az(aN).css("borderLeftWidth"),10)||0)-(parseInt(az(aN).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,aP.top+(aM?Math.max(aN.scrollHeight,aN.offsetHeight):aN.offsetHeight)-(parseInt(az(aN).css("borderTopWidth"),10)||0)-(parseInt(az(aN).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(aO,aQ){if(!aQ){aQ=this.position}var aN=aO==="absolute"?1:-1,aM=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&az.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,aP=(/(html|body)/i).test(aM[0].tagName);return{top:(aQ.top+this.offset.relative.top*aN+this.offset.parent.top*aN-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(aP?0:aM.scrollTop()))*aN)),left:(aQ.left+this.offset.relative.left*aN+this.offset.parent.left*aN-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():aP?0:aM.scrollLeft())*aN))}},_generatePosition:function(aP){var aR,aQ,aS=this.options,aO=aP.pageX,aN=aP.pageY,aM=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&az.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,aT=(/(html|body)/i).test(aM[0].tagName);if(this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}if(this.originalPosition){if(this.containment){if(aP.pageX-this.offset.click.left<this.containment[0]){aO=this.containment[0]+this.offset.click.left}if(aP.pageY-this.offset.click.top<this.containment[1]){aN=this.containment[1]+this.offset.click.top}if(aP.pageX-this.offset.click.left>this.containment[2]){aO=this.containment[2]+this.offset.click.left}if(aP.pageY-this.offset.click.top>this.containment[3]){aN=this.containment[3]+this.offset.click.top}}if(aS.grid){aR=this.originalPageY+Math.round((aN-this.originalPageY)/aS.grid[1])*aS.grid[1];aN=this.containment?((aR-this.offset.click.top>=this.containment[1]&&aR-this.offset.click.top<=this.containment[3])?aR:((aR-this.offset.click.top>=this.containment[1])?aR-aS.grid[1]:aR+aS.grid[1])):aR;aQ=this.originalPageX+Math.round((aO-this.originalPageX)/aS.grid[0])*aS.grid[0];aO=this.containment?((aQ-this.offset.click.left>=this.containment[0]&&aQ-this.offset.click.left<=this.containment[2])?aQ:((aQ-this.offset.click.left>=this.containment[0])?aQ-aS.grid[0]:aQ+aS.grid[0])):aQ}}return{top:(aN-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(aT?0:aM.scrollTop())))),left
436:(aO-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():aT?0:aM.scrollLeft())))}},_rearrange:function(aQ,aP,aN,aO){if(aN){aN[0].appendChild(this.placeholder[0])}else{aP.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction==="down"?aP.item[0]:aP.item[0].nextSibling))}this.counter=this.counter?++this.counter:1;var aM=this.counter;this._delay(function(){if(aM===this.counter){this.refreshPositions(!aO)}})},_clear:function(aN,aP){this.reverting=false;var aM,aQ=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(aM in this._storedCSS){if(this._storedCSS[aM]==="auto"||this._storedCSS[aM]==="static"){this._storedCSS[aM]=""}}this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!aP){aQ.push(function(aR){this._trigger("receive",aR,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!aP){aQ.push(function(aR){this._trigger("update",aR,this._uiHash())})}if(this!==this.currentContainer){if(!aP){aQ.push(function(aR){this._trigger("remove",aR,this._uiHash())});aQ.push((function(aR){return function(aS){aR._trigger("receive",aS,this._uiHash(this))}}).call(this,this.currentContainer));aQ.push((function(aR){return function(aS){aR._trigger("update",aS,this._uiHash(this))}}).call(this,this.currentContainer))}}function aO(aT,aR,aS){return function(aU){aS._trigger(aT,aU,aR._uiHash(aR))}}for(aM=this.containers.length-1;aM>=0;aM--){if(!aP){aQ.push(aO("deactivate",this,this.containers[aM]))}if(this.containers[aM].containerCache.over){aQ.push(aO("out",this,this.containers[aM]));this.containers[aM].containerCache.over=0}}if(this.storedCursor){this.document.find("body").css("cursor",this.storedCursor);this.storedStylesheet.remove()}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)}this.dragging=false;if(!aP){this._trigger("beforeStop",aN,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(!this.cancelHelperRemoval){if(this.helper[0]!==this.currentItem[0]){this.helper.remove()}this.helper=null}if(!aP){for(aM=0;aM<aQ.length;aM++){aQ[aM].call(this,aN)}this._trigger("stop",aN,this._uiHash())}this.fromOutside=false;return !this.cancelHelperRemoval},_trigger:function(){if(az.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(aM){var aN=aM||this;return{helper:aN.helper,placeholder:aN.placeholder||az([]),position:aN.position,originalPosition:aN.originalPosition,offset:aN.positionAbs,item:aN.currentItem,sender:aM?aM.element:null}}}); 437/*! 438* jQuery UI Spinner 1.13.2 439* http://jqueryui.com 440* 441* Copyright jQuery Foundation and other contributors 442* Released under the MIT license. 443* http://jquery.org/license 444*/ 445;function m(aM){return function(){var aN=this.element.val();aM.apply(this,arguments);this._refresh();if(aN!==this.element.val()){this._trigger("change")}}}az.widget("ui.spinner",{version:"1.13.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:true,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);if(this.value()!==""){this._value(this.element.val(),true)}this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var aM=this._super();var aN=this.element;az.each(["min","max","step"],function(aO,aP){var aQ=aN.attr(aP);if(aQ!=null&&aQ.length){aM[aP]=aQ}});return aM}
445,_events:{keydown:function(aM){if(this._start(aM)&&this._keydown(aM)){aM.preventDefault()}},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(aM){if(this.cancelBlur){delete this.cancelBlur;return}this._stop();this._refresh();if(this.previous!==this.element.val()){this._trigger("change",aM)}},mousewheel:function(aO,aP){var aN=az.ui.safeActiveElement(this.document[0]);var aM=this.element[0]===aN;if(!aM||!aP){return}if(!this.spinning&&!this._start(aO)){return false}this._spin((aP>0?1:-1)*this.options.step,aO);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay(function(){if(this.spinning){this._stop(aO)}},100);aO.preventDefault()},"mousedown .ui-spinner-button":function(aN){var aM;aM=this.element[0]===az.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();function aO(){var aP=this.element[0]===az.ui.safeActiveElement(this.document[0]);if(!aP){this.element.trigger("focus");this.previous=aM;this._delay(function(){this.previous=aM})}}aN.preventDefault();aO.call(this);this.cancelBlur=true;this._delay(function(){delete this.cancelBlur;aO.call(this)});if(this._start(aN)===false){return}this._repeat(null,az(aN.currentTarget).hasClass("ui-spinner-up")?1:-1,aN)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(aM){if(!az(aM.currentTarget).hasClass("ui-state-active")){return}if(this._start(aM)===false){return false}this._repeat(null,az(aM.currentTarget).hasClass("ui-spinner-up")?1:-1,aM)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance();this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content");this._addClass("ui-spinner-input");this.element.attr("role","spinbutton");this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",true).button({classes:{"ui-button":""}});this._removeClass(this.buttons,"ui-corner-all");this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up");this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down");this.buttons.first().button({icon:this.options.icons.up,showLabel:false});this.buttons.last().button({icon:this.options.icons.down,showLabel:false});if(this.buttons.height()>Math.ceil(this.uiSpinner.height()*0.5)&&this.uiSpinner.height()>0){this.uiSpinner.height(this.uiSpinner.height())}},_keydown:function(aN){var aM=this.options,aO=az.ui.keyCode;switch(aN.keyCode){case aO.UP:this._repeat(null,1,aN);return true;case aO.DOWN:this._repeat(null,-1,aN);return true;case aO.PAGE_UP:this._repeat(null,aM.page,aN);return true;case aO.PAGE_DOWN:this._repeat(null,-aM.page,aN);return true}return false},_start:function(aM){if(!this.spinning&&this._trigger("start",aM)===false){return false}if(!this.counter){this.counter=1}this.spinning=true;return true},_repeat:function(aN,aM,aO){aN=aN||500;clearTimeout(this.timer);this.timer=this._delay(function(){this._repeat(40,aM,aO)},aN);this._spin(aM*this.options.step,aO)},_spin:function(aN,aM){var aO=this.value()||0;if(!this.counter){this.counter=1}aO=this._adjustValue(aO+aN*this._increment(this.counter));if(!this.spinning||this._trigger("spin",aM,{value:aO})!==false){this._value(aO);this.counter++}},_increment:function(aM){var aN=this.options.incremental;if(aN){return typeof aN==="function"?aN(aM):Math.floor(aM*aM*aM/50000-aM*aM/500+17*aM/200+1)}return 1},_precision:function(){var aM=this._precisionOf(this.options.step);if(this.options.min!==null){aM=Math.max(aM,this._precisionOf(this.options.min))}return aM},_precisionOf:function(aN){var aO=aN.toString(),aM=aO.indexOf(".");return aM===-1?0:aO.length-aM-1},_adjustValue:function(aO){var aN,aP,aM=this.options;aN=aM.min!==null?aM.min:0;aP=aO-aN;aP=Math.round(aP/aM.step)*aM.step;aO=aN+aP;aO=parseFloat(aO.toFixed(this._precision()));if(aM.max!==null&&aO>aM.max){return aM.max}if(aM.min!==null&&aO<aM.min){return aM.min}return aO},_stop:function(aM){if(!this.spinning){return}clearTimeout(this.timer);clearTimeout(this.mousewheelTimer);this.counter=0;this.spinning=false;this._trigger("stop",aM)},_setOption:function(aM,aO){var aP,aQ,aN;if(aM==="culture"||aM==="numberFormat"){aP=this._parse(this.element.val());this.options[aM]=aO;this.element.val(this._format(aP));return}if(aM==="max"||aM==="min"||aM==="step"){if(typeof aO==="string"){aO=this._parse(aO)}}if(aM==="icons"){aQ=this.buttons.first().find(".ui-icon");this._removeClass(aQ,null,this.options.icons.up);this._addClass(aQ,null,aO.up);aN=this.buttons.last().find(".ui-icon");this._removeClass(aN,null,this.options.icons.down);this._addClass(aN,null,aO.down)}this._super(aM,aO)},_setOptionDisabled:function(aM){this._super(aM);this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!aM);this.element.prop("disabled",!!aM);this.buttons.button(aM?"disable":"enable")},_setOptions:m(function(aM){this._super(aM)}
445),_parse:function(aM){if(typeof aM==="string"&&aM!==""){aM=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(aM,10,this.options.culture):+aM}return aM===""||isNaN(aM)?null:aM},_format:function(aM){if(aM===""){return""}return window.Globalize&&this.options.numberFormat?Globalize.format(aM,this.options.numberFormat,this.options.culture):aM},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var aM=this.value();if(aM===null){return false}return aM===this._adjustValue(aM)},_value:function(aO,aM){var aN;if(aO!==""){aN=this._parse(aO);if(aN!==null){if(!aM){aN=this._adjustValue(aN)}aO=this._format(aN)}}this.element.val(aO);this._refresh()},_destroy:function(){this.element.prop("disabled",false).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:m(function(aM){this._stepUp(aM)}),_stepUp:function(aM){if(this._start()){this._spin((aM||1)*this.options.step);this._stop()}},stepDown:m(function(aM){this._stepDown(aM)}),_stepDown:function(aM){if(this._start()){this._spin((aM||1)*-this.options.step);this._stop()}},pageUp:m(function(aM){this._stepUp((aM||1)*this.options.page)}),pageDown:m(function(aM){this._stepDown((aM||1)*this.options.page)}),value:function(aM){if(!arguments.length){return this._parse(this.element.val())}m(this._value).call(this,aM)},widget:function(){return this.uiSpinner}});if(az.uiBackCompat!==false){az.widget("ui.spinner",az.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}})}var ap=az.ui.spinner; 446/*! 447* jQuery UI Tabs 1.13.2 448* http://jqueryui.com 449* 450* Copyright jQuery Foundation and other contributors 451* Released under the MIT license. 452* http://jquery.org/license 453*/ 454;az.widget("ui.tabs",{version:"1.13.2",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:false,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(function(){var aM=/#.*$/;return function(aO){var aQ,aP;aQ=aO.href.replace(aM,"");aP=location.href.replace(aM,"");try{aQ=decodeURIComponent(aQ)}catch(aN){}try{aP=decodeURIComponent(aP)}catch(aN){}return aO.hash.length>1&&aQ===aP}})(),_create:function(){var aN=this,aM=this.options;this.running=false;this._addClass("ui-tabs","ui-widget ui-widget-content");this._toggleClass("ui-tabs-collapsible",null,aM.collapsible);this._processTabs();aM.active=this._initialActive();if(Array.isArray(aM.disabled)){aM.disabled=az.uniqueSort(aM.disabled.concat(az.map(this.tabs.filter(".ui-state-disabled"),function(aO){return aN.tabs.index(aO)}))).sort()}if(this.options.active!==false&&this.anchors.length){this.active=this._findActive(aM.active)}else{this.active=az()}this._refresh();if(this.active.length){this.load(aM.active)}},_initialActive:function(){var aN=this.options.active,aM=this.options.collapsible,aO=location.hash.substring(1);if(aN===null){if(aO){this.tabs.each(function(aP,aQ){if(az(aQ).attr("aria-controls")===aO){aN=aP;return false}})}if(aN===null){aN=this.tabs.index(this.tabs.filter(".ui-tabs-active"))}if(aN===null||aN===-1){aN=this.tabs.length?0:false}}if(aN!==false){aN=this.tabs.index(this.tabs.eq(aN));if(aN===-1){aN=aM?false:0}}if(!aM&&aN===false&&this.anchors.length){aN=0}return aN},_getCreateEventData:function(){return{tab:this.active,panel:!this.active.length?az():this._getPanelForTab(this.active)}},_tabKeydown:function(aO){var aN=az(az.ui.safeActiveElement(this.document[0])).closest("li"),aM=this.tabs.index(aN),aP=true;if(this._handlePageNav(aO)){return}switch(aO.keyCode){case az.ui.keyCode.RIGHT:case az.ui.keyCode.DOWN:aM++;break;case az.ui.keyCode.UP:case az.ui.keyCode.LEFT:aP=false;aM--;break;case az.ui.keyCode.END:aM=this.anchors.length-1;break;
454case az.ui.keyCode.HOME:aM=0;break;case az.ui.keyCode.SPACE:aO.preventDefault();clearTimeout(this.activating);this._activate(aM);return;case az.ui.keyCode.ENTER:aO.preventDefault();clearTimeout(this.activating);this._activate(aM===this.options.active?false:aM);return;default:return}aO.preventDefault();clearTimeout(this.activating);aM=this._focusNextTab(aM,aP);if(!aO.ctrlKey&&!aO.metaKey){aN.attr("aria-selected","false");this.tabs.eq(aM).attr("aria-selected","true");this.activating=this._delay(function(){this.option("active",aM)},this.delay)}},_panelKeydown:function(aM){if(this._handlePageNav(aM)){return}if(aM.ctrlKey&&aM.keyCode===az.ui.keyCode.UP){aM.preventDefault();this.active.trigger("focus")}},_handlePageNav:function(aM){if(aM.altKey&&aM.keyCode===az.ui.keyCode.PAGE_UP){this._activate(this._focusNextTab(this.options.active-1,false));return true}if(aM.altKey&&aM.keyCode===az.ui.keyCode.PAGE_DOWN){this._activate(this._focusNextTab(this.options.active+1,true));return true}},_findNextTab:function(aN,aO){var aM=this.tabs.length-1;function aP(){if(aN>aM){aN=0}if(aN<0){aN=aM}return aN}while(az.inArray(aP(),this.options.disabled)!==-1){aN=aO?aN+1:aN-1}return aN},_focusNextTab:function(aM,aN){aM=this._findNextTab(aM,aN);this.tabs.eq(aM).trigger("focus");return aM},_setOption:function(aM,aN){if(aM==="active"){this._activate(aN);return}this._super(aM,aN);if(aM==="collapsible"){this._toggleClass("ui-tabs-collapsible",null,aN);if(!aN&&this.options.active===false){this._activate(0)}}if(aM==="event"){this._setupEvents(aN)}if(aM==="heightStyle"){this._setupHeightStyle(aN)}},_sanitizeSelector:function(aM){return aM?aM.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var aN=this.options,aM=this.tablist.children(":has(a[href])");aN.disabled=az.map(aM.filter(".ui-state-disabled"),function(aO){return aM.index(aO)});this._processTabs();if(aN.active===false||!this.anchors.length){aN.active=false;this.active=az()}else{if(this.active.length&&!az.contains(this.tablist[0],this.active[0])){if(this.tabs.length===aN.disabled.length){aN.active=false;this.active=az()}else{this._activate(this._findNextTab(Math.max(0,aN.active-1),false))}}else{aN.active=this.tabs.index(this.active)}}this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"});if(!this.active.length){this.tabs.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0});this._addClass(this.active,"ui-tabs-active","ui-state-active");this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})}},_processTabs:function(){var aO=this,aP=this.tabs,aN=this.anchors,aM=this.panels;this.tablist=this._getList().attr("role","tablist");this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header");this.tablist.on("mousedown"+this.eventNamespace,"> li",function(aQ){if(az(this).is(".ui-state-disabled")){aQ.preventDefault()}}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){if(az(this).closest("li").is(".ui-state-disabled")){this.blur()}});this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1});this._addClass(this.tabs,"ui-tabs-tab","ui-state-default");this.anchors=this.tabs.map(function(){return az("a",this)[0]}).attr({tabIndex:-1});this._addClass(this.anchors,"ui-tabs-anchor");this.panels=az();this.anchors.each(function(aV,aT){var aQ,aR,aU,aS=az(aT).uniqueId().attr("id"),aW=az(aT).closest("li"),aX=aW.attr("aria-controls");if(aO._isLocal(aT)){aQ=aT.hash;aU=aQ.substring(1);aR=aO.element.find(aO._sanitizeSelector(aQ))}else{aU=aW.attr("aria-controls")||az({}).uniqueId()[0].id;aQ="#"+aU;aR=aO.element.find(aQ);if(!aR.length){aR=aO._createPanel(aU);aR.insertAfter(aO.panels[aV-1]||aO.tablist)}aR.attr("aria-live","polite")}if(aR.length){aO.panels=aO.panels.add(aR)}if(aX){aW.data("ui-tabs-aria-controls",aX)}aW.attr({"aria-controls":aU,"aria-labelledby":aS});aR.attr("aria-labelledby",aS)});this.panels.attr("role","tabpanel");this._addClass(this.panels,"ui-tabs-panel","ui-widget-content");
454if(aP){this._off(aP.not(this.tabs));this._off(aN.not(this.anchors));this._off(aM.not(this.panels))}},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(aM){return az("<div>").attr("id",aM).data("ui-tabs-destroy",true)},_setOptionDisabled:function(aP){var aO,aM,aN;if(Array.isArray(aP)){if(!aP.length){aP=false}else{if(aP.length===this.anchors.length){aP=true}}}for(aN=0;(aM=this.tabs[aN]);aN++){aO=az(aM);if(aP===true||az.inArray(aN,aP)!==-1){aO.attr("aria-disabled","true");this._addClass(aO,null,"ui-state-disabled")}else{aO.removeAttr("aria-disabled");this._removeClass(aO,null,"ui-state-disabled")}}this.options.disabled=aP;this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,aP===true)},_setupEvents:function(aN){var aM={};if(aN){az.each(aN.split(" "),function(aP,aO){aM[aO]="_eventHandler"})}this._off(this.anchors.add(this.tabs).add(this.panels));this._on(true,this.anchors,{click:function(aO){aO.preventDefault()}});this._on(this.anchors,aM);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(aM){var aO,aN=this.element.parent();if(aM==="fill"){aO=aN.height();aO-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var aQ=az(this),aP=aQ.css("position");if(aP==="absolute"||aP==="fixed"){return}aO-=aQ.outerHeight(true)});this.element.children().not(this.panels).each(function(){aO-=az(this).outerHeight(true)});this.panels.each(function(){az(this).height(Math.max(0,aO-az(this).innerHeight()+az(this).height()))}).css("overflow","auto")}else{if(aM==="auto"){aO=0;this.panels.each(function(){aO=Math.max(aO,az(this).height("").height())}).height(aO)}}},_eventHandler:function(aM){var aV=this.options,aQ=this.active,aR=az(aM.currentTarget),aP=aR.closest("li"),aT=aP[0]===aQ[0],aN=aT&&aV.collapsible,aO=aN?az():this._getPanelForTab(aP),aS=!aQ.length?az():this._getPanelForTab(aQ),aU={oldTab:aQ,oldPanel:aS,newTab:aN?az():aP,newPanel:aO};aM.preventDefault();if(aP.hasClass("ui-state-disabled")||aP.hasClass("ui-tabs-loading")||this.running||(aT&&!aV.collapsible)||(this._trigger("beforeActivate",aM,aU)===false)){return}aV.active=aN?false:this.tabs.index(aP);this.active=aT?az():aP;if(this.xhr){this.xhr.abort()}if(!aS.length&&!aO.length){az.error("jQuery UI Tabs: Mismatching fragment identifier.")}if(aO.length){this.load(this.tabs.index(aP),aM)}this._toggle(aM,aU)},_toggle:function(aS,aR){var aQ=this,aM=aR.newPanel,aP=aR.oldPanel;this.running=true;function aO(){aQ.running=false;aQ._trigger("activate",aS,aR)}function aN(){aQ._addClass(aR.newTab.closest("li"),"ui-tabs-active","ui-state-active");if(aM.length&&aQ.options.show){aQ._show(aM,aQ.options.show,aO)}else{aM.show();aO()}}if(aP.length&&this.options.hide){this._hide(aP,this.options.hide,function(){aQ._removeClass(aR.oldTab.closest("li"),"ui-tabs-active","ui-state-active");aN()})}else{this._removeClass(aR.oldTab.closest("li"),"ui-tabs-active","ui-state-active");aP.hide();aN()}aP.attr("aria-hidden","true");aR.oldTab.attr({"aria-selected":"false","aria-expanded":"false"});if(aM.length&&aP.length){aR.oldTab.attr("tabIndex",-1)}else{if(aM.length){this.tabs.filter(function(){return az(this).attr("tabIndex")===0}).attr("tabIndex",-1)}}aM.attr("aria-hidden","false");aR.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(aN){var aM,aO=this._findActive(aN);if(aO[0]===this.active[0]){return}if(!aO.length){aO=this.active}aM=aO.find(".ui-tabs-anchor")[0];this._eventHandler({target:aM,currentTarget:aM,preventDefault:az.noop})},_findActive:function(aM){return aM===false?az():this.tabs.eq(aM)},_getIndex:function(aM){if(typeof aM==="string"){aM=this.anchors.index(this.anchors.filter("[href$='"+az.escapeSelector(aM)+"']"))}return aM},_destroy:function(){if(this.xhr){this.xhr.abort()}this.tablist.removeAttr("role").off(this.eventNamespace);this.anchors.removeAttr("role tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){if(az.data(this,"ui-tabs-destroy")){az(this).remove()}else{az(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}});this.tabs.each(function(){var aM=az(this),aN=aM.data("ui-tabs-aria-controls");if(aN){aM.attr("aria-controls",aN).removeData("ui-tabs-aria-controls")}else{aM.removeAttr("aria-controls")}});this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(aM){var aN=this.options.disabled;if(aN===false){return}if(aM===undefined){aN=false}else{aM=this._getIndex(aM);if(Array.isArray(aN)){aN=az.map(aN,function(aO){return aO!==aM?aO:null})}else{aN=az.map(this.tabs,function(aO,aP){return aP!==aM?aP:null})}}this._setOptionDisabled(aN)},disable:function(aM){var aN=this.options.disabled;if(aN===true){return}if(aM===undefined){aN=true}else{aM=this._getIndex(aM);if(az.inArray(aM,aN)!==-1){return}if(Array.isArray(aN)){aN=az.merge([aM],aN).sort()}else{aN=[aM]}}this._setOptionDisabled(aN)},load:function(aP,aT){aP=this._getIndex(aP);var aS=this,aQ=this.tabs.eq(aP),aO=aQ.find(".ui-tabs-anchor"),aN=this._getPanelForTab(aQ),aR={tab:aQ,panel:aN},aM=function(aV,aU){if(aU==="abort"){aS.panels.stop(false,true)}aS._removeClass(aQ,"ui-tabs-loading");aN.removeAttr("aria-busy");if(aV===aS.xhr){delete aS.xhr}};if(this._isLocal(aO[0])){return}this.xhr=az.ajax(this._ajaxSettings(aO,aT,aR));if(this.xhr&&this.xhr.statusText!=="canceled"){this._addClass(aQ,"ui-tabs-loading");aN.attr("aria-busy","true");this.xhr.done(function(aV,aU,aW){setTimeout(function(){aN.html(aV);aS._trigger("load",aT,aR);aM(aW,aU)},1)}).fail(function(aV,aU){setTimeout(function(){aM(aV,aU)},1)})}},_ajaxSettings:function(aM,aP,aO){var aN=this;return{url:aM.attr("href").replace(/#.*$/,""),beforeSend:function(aR,aQ){return aN._trigger("beforeLoad",aP,az.extend({jqXHR:aR,ajaxSettings:aQ},aO))}}},_getPanelForTab:function(aM){var aN=az(aM).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+aN))}});if(az.uiBackCompat!==false){az.widget("ui.tabs",az.ui.tabs,{_processTabs:function(){this._superApply(arguments);this._addClass(this.tabs,"ui-tab")}})}var Z=az.ui.tabs; 455/*! 456* jQuery UI Tooltip 1.13.2 457* http://jqueryui.com 458* 459* Copyright jQuery Foundation and other contributors 460* Released under the MIT license. 461* http://jquery.org/license 462*/ 463;az.widget("ui.tooltip",{version:"1.13.2",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var aM=az(this).attr("title");return az("<a>").text(aM).html()},hide:true,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:true,track:false,close:null,open:null},_addDescribedBy:function(aN,aO){var aM=(aN.attr("aria-describedby")||"").split(/\s+/);aM.push(aO);aN.data("ui-tooltip-id",aO).attr("aria-describedby",String.prototype.trim.call(aM.join(" ")))},_removeDescribedBy:function(aO){var aP=aO.data("ui-tooltip-id"),aN=(aO.attr("aria-describedby")||"").split(/\s+/),aM=az.inArray(aP,aN);if(aM!==-1){aN.splice(aM,1)}aO.removeData("ui-tooltip-id");aN=String.prototype.trim.call(aN.join(" "));if(aN){aO.attr("aria-describedby",aN)}else{aO.removeAttr("aria-describedby")}},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=az("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=az([])},_setOption:function(aM,aO){var aN=this;this._super(aM,aO);if(aM==="content"){az.each(this.tooltips,function(aQ,aP){aN._updateContent(aP.element)})}},_setOptionDisabled:function(aM){this[aM?"_disable":"_enable"]()},_disable:function(){var aM=this;az.each(this.tooltips,function(aP,aO){var aN=az.Event("blur");aN.target=aN.currentTarget=aO.element[0];aM.close(aN,true)});this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var aN=az(this);if(aN.is("[title]")){return aN.data("ui-tooltip-title",aN.attr("title")).removeAttr("title")}}))},_enable:function(){this.disabledTitles.each(function(){var aM=az(this);if(aM.data("ui-tooltip-title")){aM.attr("title",aM.data("ui-tooltip-title"))}});this.disabledTitles=az([])},open:function(aN){var aM=this,aO=az(aN?aN.target:this.element).closest(this.options.items);if(!aO.length||aO.data("ui-tooltip-id")){return}if(aO.attr("title")){aO.data("ui-tooltip-title",aO.attr("title"))}aO.data("ui-tooltip-open",true);if(aN&&aN.type==="mouseover"){aO.parents().each(function(){var aQ=az(this),aP;if(aQ.data("ui-tooltip-open")){aP=az.Event("blur");aP.target=aP.currentTarget=this;aM.close(aP,true)}if(aQ.attr("title")){aQ.uniqueId();aM.parents[this.id]={element:this,title:aQ.attr("title")};aQ.attr("title","")}})}this._registerCloseHandlers(aN,aO);this._updateContent(aO,aN)},_updateContent:function(aR,aQ){var aP,aM=this.options.content,aO=this,aN=aQ?aQ.type:null;
463if(typeof aM==="string"||aM.nodeType||aM.jquery){return this._open(aQ,aR,aM)}aP=aM.call(aR[0],function(aS){aO._delay(function(){if(!aR.data("ui-tooltip-open")){return}if(aQ){aQ.type=aN}this._open(aQ,aR,aS)})});if(aP){this._open(aQ,aR,aP)}},_open:function(aN,aQ,aR){var aM,aU,aT,aO,aS=az.extend({},this.options.position);if(!aR){return}aM=this._find(aQ);if(aM){aM.tooltip.find(".ui-tooltip-content").html(aR);return}if(aQ.is("[title]")){if(aN&&aN.type==="mouseover"){aQ.attr("title","")}else{aQ.removeAttr("title")}}aM=this._tooltip(aQ);aU=aM.tooltip;this._addDescribedBy(aQ,aU.attr("id"));aU.find(".ui-tooltip-content").html(aR);this.liveRegion.children().hide();aO=az("<div>").html(aU.find(".ui-tooltip-content").html());aO.removeAttr("name").find("[name]").removeAttr("name");aO.removeAttr("id").find("[id]").removeAttr("id");aO.appendTo(this.liveRegion);function aP(aV){aS.of=aV;if(aU.is(":hidden")){return}aU.position(aS)}if(this.options.track&&aN&&/^mouse/.test(aN.type)){this._on(this.document,{mousemove:aP});aP(aN)}else{aU.position(az.extend({of:aQ},this.options.position))}aU.hide();this._show(aU,this.options.show);if(this.options.track&&this.options.show&&this.options.show.delay){aT=this.delayedShow=setInterval(function(){if(aU.is(":visible")){aP(aS.of);clearInterval(aT)}},13)}this._trigger("open",aN,{tooltip:aU})},_registerCloseHandlers:function(aN,aO){var aM={keyup:function(aP){if(aP.keyCode===az.ui.keyCode.ESCAPE){var aQ=az.Event(aP);aQ.currentTarget=aO[0];this.close(aQ,true)}}};if(aO[0]!==this.element[0]){aM.remove=function(){var aP=this._find(aO);if(aP){this._removeTooltip(aP.tooltip)}}}if(!aN||aN.type==="mouseover"){aM.mouseleave="close"}if(!aN||aN.type==="focusin"){aM.focusout="close"}this._on(true,aO,aM)},close:function(aN){var aP,aM=this,aQ=az(aN?aN.currentTarget:this.element),aO=this._find(aQ);if(!aO){aQ.removeData("ui-tooltip-open");return}aP=aO.tooltip;if(aO.closing){return}clearInterval(this.delayedShow);if(aQ.data("ui-tooltip-title")&&!aQ.attr("title")){aQ.attr("title",aQ.data("ui-tooltip-title"))}this._removeDescribedBy(aQ);aO.hiding=true;aP.stop(true);this._hide(aP,this.options.hide,function(){aM._removeTooltip(az(this))});aQ.removeData("ui-tooltip-open");this._off(aQ,"mouseleave focusout keyup");if(aQ[0]!==this.element[0]){this._off(aQ,"remove")}this._off(this.document,"mousemove");if(aN&&aN.type==="mouseleave"){az.each(this.parents,function(aS,aR){az(aR.element).attr("title",aR.title);delete aM.parents[aS]})}aO.closing=true;this._trigger("close",aN,{tooltip:aP});if(!aO.hiding){aO.closing=false}},_tooltip:function(aM){var aO=az("<div>").attr("role","tooltip"),aN=az("<div>").appendTo(aO),aP=aO.uniqueId().attr("id");this._addClass(aN,"ui-tooltip-content");this._addClass(aO,"ui-tooltip","ui-widget ui-widget-content");aO.appendTo(this._appendTo(aM));return this.tooltips[aP]={element:aM,tooltip:aO}},_find:function(aM){var aN=aM.data("ui-tooltip-id");return aN?this.tooltips[aN]:null},_removeTooltip:function(aM){clearInterval(this.delayedShow);aM.remove();delete this.tooltips[aM.attr("id")]},_appendTo:function(aN){var aM=aN.closest(".ui-front, dialog");if(!aM.length){aM=this.document[0].body}return aM},_destroy:function(){var aM=this;az.each(this.tooltips,function(aQ,aP){var aO=az.Event("blur"),aN=aP.element;aO.target=aO.currentTarget=aN[0];aM.close(aO,true);az("#"+aQ).remove();if(aN.data("ui-tooltip-title")){if(!aN.attr("title")){aN.attr("title",aN.data("ui-tooltip-title"))}aN.removeData("ui-tooltip-title")}});this.liveRegion.remove()}});if(az.uiBackCompat!==false){az.widget("ui.tooltip",az.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var aM=this._superApply(arguments);if(this.options.tooltipClass){aM.tooltip.addClass(this.options.tooltipClass)}return aM}})}var J=az.ui.tooltip});; 464if(!jQuery.browser){jQuery.browser={};(function(){jQuery.browser.msie=false;jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)\./)){jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1}})()};; 465/*! 466* imagesLoaded PACKAGED v5.0.0 467* JavaScript is all like "You images are done yet or what?" 468* MIT License 469*/ 470/** 471* EvEmitter v2.1.1 472* Lil' event emitter 473* MIT License 474*/ 475( function( global, factory ) { 476// universal module definition 477if ( typeof module == 'object' && module.exports ) { 478// CommonJS - Browserify, Webpack 479module.exports = factory(); 480} else { 481// Browser globals 482global.EvEmitter = factory(); 483} 484}( typeof window != 'undefined' ? window : this, function() { 485function EvEmitter() {} 486let proto = EvEmitter.prototype; 487proto.on = function( eventName, listener ) { 488if ( !eventName || !listener ) return this; 489// set events hash 490let events = this._events = this._events || {}; 491// set listeners array 492let listeners = events[ eventName ] = events[ eventName ] || []; 493// only add once 494if ( !listeners.includes( listener ) ) { 495listeners.push( listener ); 496} 497return this; 498};
vendor: 10,697 bytes, lines 499-825
499proto.once = function( eventName, listener ) { 500if ( !eventName || !listener ) return this; 501// add event 502this.on( eventName, listener ); 503// set once flag 504// set onceEvents hash 505let onceEvents = this._onceEvents = this._onceEvents || {}; 506// set onceListeners object 507let onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {}; 508// set flag 509onceListeners[ listener ] = true; 510return this; 511}; 512proto.off = function( eventName, listener ) { 513let listeners = this._events && this._events[ eventName ]; 514if ( !listeners || !listeners.length ) return this; 515let index = listeners.indexOf( listener ); 516if ( index != -1 ) { 517listeners.splice( index, 1 ); 518} 519return this; 520}; 521proto.emitEvent = function( eventName, args ) { 522let listeners = this._events && this._events[ eventName ]; 523if ( !listeners || !listeners.length ) return this; 524// copy over to avoid interference if .off() in listener 525listeners = listeners.slice( 0 ); 526args = args || []; 527// once stuff 528let onceListeners = this._onceEvents && this._onceEvents[ eventName ]; 529for ( let listener of listeners ) { 530let isOnce = onceListeners && onceListeners[ listener ]; 531if ( isOnce ) { 532// remove listener 533// remove before trigger to prevent recursion 534this.off( eventName, listener ); 535// unset once flag 536delete onceListeners[ listener ]; 537} 538// trigger listener 539listener.apply( this, args ); 540} 541return this; 542}; 543proto.allOff = function() { 544delete this._events; 545delete this._onceEvents; 546return this; 547}; 548return EvEmitter; 549} ) ); 550/*! 551* imagesLoaded v5.0.0 552* JavaScript is all like "You images are done yet or what?" 553* MIT License 554*/ 555( function( window, factory ) { 556// universal module definition 557if ( typeof module == 'object' && module.exports ) { 558// CommonJS 559module.exports = factory( window, require('ev-emitter') ); 560} else { 561// browser global 562window.imagesLoaded = factory( window, window.EvEmitter ); 563} 564} )( typeof window !== 'undefined' ? window : this, 565function factory( window, EvEmitter ) { 566let $ = window.jQuery; 567let console = window.console; 568// -------------------------- helpers -------------------------- // 569// turn element or nodeList into an array 570function makeArray( obj ) { 571// use object if already an array 572if ( Array.isArray( obj ) ) return obj; 573let isArrayLike = typeof obj == 'object' && typeof obj.length == 'number'; 574// convert nodeList to array 575if ( isArrayLike ) return [ ...obj ]; 576// array of single index 577return [ obj ]; 578} 579// -------------------------- imagesLoaded -------------------------- // 580/** 581* @param {[Array, Element, NodeList, String]} elem 582* @param {[Object, Function]} options - if function, use as callback 583* @param {Function} onAlways - callback function 584* @returns {ImagesLoaded} 585*/ 586function ImagesLoaded( elem, options, onAlways ) { 587// coerce ImagesLoaded() without new, to be new ImagesLoaded() 588if ( !( this instanceof ImagesLoaded ) ) { 589return new ImagesLoaded( elem, options, onAlways ); 590} 591// use elem as selector string 592let queryElem = elem; 593if ( typeof elem == 'string' ) { 594queryElem = document.querySelectorAll( elem ); 595} 596// bail if bad element 597if ( !queryElem ) { 598console.error(`Bad element for imagesLoaded ${queryElem || elem}`); 599return; 600} 601this.elements = makeArray( queryElem ); 602this.options = {}; 603// shift arguments if no options set 604if ( typeof options == 'function' ) { 605onAlways = options; 606} else { 607Object.assign( this.options, options ); 608} 609if ( onAlways ) this.on( 'always', onAlways ); 610this.getImages(); 611// add jQuery Deferred object 612if ( $ ) this.jqDeferred = new $.Deferred(); 613// HACK check async to allow time to bind listeners 614setTimeout( this.check.bind( this ) ); 615} 616ImagesLoaded.prototype = Object.create( EvEmitter.prototype ); 617ImagesLoaded.prototype.getImages = function() { 618this.images = []; 619// filter & find items if we have an item selector 620this.elements.forEach( this.addElementImages, this ); 621}; 622const elementNodeTypes = [ 1, 9, 11 ]; 623/** 624* @param {Node} elem 625*/ 626ImagesLoaded.prototype.addElementImages = function( elem ) { 627// filter siblings 628if ( elem.nodeName === 'IMG' ) { 629this.addImage( elem ); 630} 631// get background image on element 632if ( this.options.background === true ) { 633this.addElementBackgroundImages( elem ); 634} 635// find children 636// no non-element nodes, #143 637let { nodeType } = elem; 638if ( !nodeType || !elementNodeTypes.includes( nodeType ) ) return; 639let childImgs = elem.querySelectorAll('img'); 640// concat childElems to filterFound array 641for ( let img of childImgs ) { 642this.addImage( img ); 643} 644// get child background images 645if ( typeof this.options.background == 'string' ) { 646let children = elem.querySelectorAll( this.options.background ); 647for ( let child of children ) { 648this.addElementBackgroundImages( child ); 649} 650} 651}; 652const reURL = /url\((['"])?(.*?)\1\)/gi; 653ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) { 654let style = getComputedStyle( elem ); 655// Firefox returns null if in a hidden iframe https://bugzil.la/548397 656if ( !style ) return; 657// get url inside url("...") 658let matches = reURL.exec( style.backgroundImage ); 659while ( matches !== null ) { 660let url = matches && matches[2]; 661if ( url ) { 662this.addBackground( url, elem ); 663} 664matches = reURL.exec( style.backgroundImage ); 665} 666}; 667/** 668* @param {Image} img 669*/ 670ImagesLoaded.prototype.addImage = function( img ) { 671let loadingImage = new LoadingImage( img ); 672this.images.push( loadingImage ); 673}; 674ImagesLoaded.prototype.addBackground = function( url, elem ) { 675let background = new Background( url, elem ); 676this.images.push( background ); 677}; 678ImagesLoaded.prototype.check = function() { 679this.progressedCount = 0; 680this.hasAnyBroken = false; 681// complete if no images 682if ( !this.images.length ) { 683this.complete(); 684return; 685} 686/* eslint-disable-next-line func-style */ 687let onProgress = ( image, elem, message ) => { 688// HACK - Chrome triggers event before object properties have changed. #83 689setTimeout( () => { 690this.progress( image, elem, message ); 691} ); 692}; 693this.images.forEach( function( loadingImage ) { 694loadingImage.once( 'progress', onProgress ); 695loadingImage.check(); 696} ); 697}; 698ImagesLoaded.prototype.progress = function( image, elem, message ) { 699this.progressedCount++; 700this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded; 701// progress event 702this.emitEvent( 'progress', [ this, image, elem ] ); 703if ( this.jqDeferred && this.jqDeferred.notify ) { 704this.jqDeferred.notify( this, image ); 705} 706// check if completed 707if ( this.progressedCount === this.images.length ) { 708this.complete(); 709} 710if ( this.options.debug && console ) { 711console.log( `progress: ${message}`, image, elem ); 712} 713}; 714ImagesLoaded.prototype.complete = function() { 715let eventName = this.hasAnyBroken ? 'fail' : 'done'; 716this.isComplete = true; 717this.emitEvent( eventName, [ this ] ); 718this.emitEvent( 'always', [ this ] ); 719if ( this.jqDeferred ) { 720let jqMethod = this.hasAnyBroken ? 'reject' : 'resolve'; 721this.jqDeferred[ jqMethod ]( this ); 722} 723}; 724// -------------------------- -------------------------- // 725function LoadingImage( img ) { 726this.img = img; 727} 728LoadingImage.prototype = Object.create( EvEmitter.prototype ); 729LoadingImage.prototype.check = function() { 730// If complete is true and browser supports natural sizes, 731// try to check for image status manually. 732let isComplete = this.getIsImageComplete(); 733if ( isComplete ) { 734// report based on naturalWidth 735this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); 736return; 737} 738// If none of the checks above matched, simulate loading on detached element. 739this.proxyImage = new Image(); 740// add crossOrigin attribute. #204 741if ( this.img.crossOrigin ) { 742this.proxyImage.crossOrigin = this.img.crossOrigin; 743} 744this.proxyImage.addEventListener( 'load', this ); 745this.proxyImage.addEventListener( 'error', this ); 746// bind to image as well for Firefox. #191 747this.img.addEventListener( 'load', this ); 748this.img.addEventListener( 'error', this ); 749this.proxyImage.src = this.img.currentSrc || this.img.src; 750}; 751LoadingImage.prototype.getIsImageComplete = function() { 752// check for non-zero, non-undefined naturalWidth 753// fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671 754return this.img.complete && this.img.naturalWidth; 755}; 756LoadingImage.prototype.confirm = function( isLoaded, message ) { 757this.isLoaded = isLoaded; 758let { parentNode } = this.img; 759// emit progress with parent <picture> or self <img> 760let elem = parentNode.nodeName === 'PICTURE' ? parentNode : this.img; 761this.emitEvent( 'progress', [ this, elem, message ] ); 762}; 763// ----- events ----- // 764// trigger specified handler for event type 765LoadingImage.prototype.handleEvent = function( event ) { 766let method = 'on' + event.type; 767if ( this[ method ] ) { 768this[ method ]( event ); 769} 770}; 771LoadingImage.prototype.onload = function() { 772this.confirm( true, 'onload' ); 773this.unbindEvents(); 774}; 775LoadingImage.prototype.onerror = function() { 776this.confirm( false, 'onerror' ); 777this.unbindEvents(); 778}; 779LoadingImage.prototype.unbindEvents = function() { 780this.proxyImage.removeEventListener( 'load', this ); 781this.proxyImage.removeEventListener( 'error', this ); 782this.img.removeEventListener( 'load', this ); 783this.img.removeEventListener( 'error', this ); 784}; 785// -------------------------- Background -------------------------- // 786function Background( url, element ) { 787this.url = url; 788this.element = element; 789this.img = new Image(); 790} 791// inherit LoadingImage prototype 792Background.prototype = Object.create( LoadingImage.prototype ); 793Background.prototype.check = function() { 794this.img.addEventListener( 'load', this ); 795this.img.addEventListener( 'error', this ); 796this.img.src = this.url; 797// check if image is already complete 798let isComplete = this.getIsImageComplete(); 799if ( isComplete ) { 800this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); 801this.unbindEvents(); 802} 803}; 804Background.prototype.unbindEvents = function() { 805this.img.removeEventListener( 'load', this ); 806this.img.removeEventListener( 'error', this ); 807}; 808Background.prototype.confirm = function( isLoaded, message ) { 809this.isLoaded = isLoaded; 810this.emitEvent( 'progress', [ this, this.element, message ] ); 811}; 812// -------------------------- jQuery -------------------------- // 813ImagesLoaded.makeJQueryPlugin = function( jQuery ) { 814jQuery = jQuery || window.jQuery; 815if ( !jQuery ) return; 816// set local variable 817$ = jQuery; 818// $().imagesLoaded() 819$.fn.imagesLoaded = function( options, onAlways ) { 820let instance = new ImagesLoaded( this, options, onAlways ); 821return instance.jqDeferred.promise( $( this ) ); 822}; 823}; 824// try making plugin 825ImagesLoaded.makeJQueryPlugin();
vendor: 123,538 bytes, lines 826-5707
826// -------------------------- -------------------------- // 827return ImagesLoaded; 828} );; 829//! moment.js 830//! version : 2.29.4 831//! authors : Tim Wood, Iskren Chernev, Moment.js contributors 832//! license : MIT 833//! momentjs.com 834;(function (global, factory) { 835typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 836typeof define === 'function' && define.amd ? define(factory) : 837global.moment = factory() 838}(this, (function () { 'use strict'; 839var hookCallback; 840function hooks() { 841return hookCallback.apply(null, arguments); 842} 843// This is done to register the method called with moment() 844// without creating circular dependencies. 845function setHookCallback(callback) { 846hookCallback = callback; 847} 848function isArray(input) { 849return ( 850input instanceof Array || 851Object.prototype.toString.call(input) === '[object Array]' 852); 853} 854function isObject(input) { 855// IE8 will treat undefined and null as object if it wasn't for 856// input != null 857return ( 858input != null && 859Object.prototype.toString.call(input) === '[object Object]' 860); 861} 862function hasOwnProp(a, b) { 863return Object.prototype.hasOwnProperty.call(a, b); 864} 865function isObjectEmpty(obj) { 866if (Object.getOwnPropertyNames) { 867return Object.getOwnPropertyNames(obj).length === 0; 868} else { 869var k; 870for (k in obj) { 871if (hasOwnProp(obj, k)) { 872return false; 873} 874} 875return true; 876} 877} 878function isUndefined(input) { 879return input === void 0; 880} 881function isNumber(input) { 882return ( 883typeof input === 'number' || 884Object.prototype.toString.call(input) === '[object Number]' 885); 886} 887function isDate(input) { 888return ( 889input instanceof Date || 890Object.prototype.toString.call(input) === '[object Date]' 891); 892} 893function map(arr, fn) { 894var res = [], 895i, 896arrLen = arr.length; 897for (i = 0; i < arrLen; ++i) { 898res.push(fn(arr[i], i)); 899} 900return res; 901} 902function extend(a, b) { 903for (var i in b) { 904if (hasOwnProp(b, i)) { 905a[i] = b[i]; 906} 907} 908if (hasOwnProp(b, 'toString')) { 909a.toString = b.toString; 910} 911if (hasOwnProp(b, 'valueOf')) { 912a.valueOf = b.valueOf; 913} 914return a; 915} 916function createUTC(input, format, locale, strict) { 917return createLocalOrUTC(input, format, locale, strict, true).utc(); 918} 919function defaultParsingFlags() { 920// We need to deep clone this object. 921return { 922empty: false, 923unusedTokens: [], 924unusedInput: [], 925overflow: -2, 926charsLeftOver: 0, 927nullInput: false, 928invalidEra: null, 929invalidMonth: null, 930invalidFormat: false, 931userInvalidated: false, 932iso: false, 933parsedDateParts: [], 934era: null, 935meridiem: null, 936rfc2822: false, 937weekdayMismatch: false, 938}; 939} 940function getParsingFlags(m) { 941if (m._pf == null) { 942m._pf = defaultParsingFlags(); 943} 944return m._pf; 945} 946var some; 947if (Array.prototype.some) { 948some = Array.prototype.some; 949} else { 950some = function (fun) { 951var t = Object(this), 952len = t.length >>> 0, 953i; 954for (i = 0; i < len; i++) { 955if (i in t && fun.call(this, t[i], i, t)) { 956return true; 957} 958} 959return false; 960}; 961} 962function isValid(m) { 963if (m._isValid == null) { 964var flags = getParsingFlags(m), 965parsedParts = some.call(flags.parsedDateParts, function (i) { 966return i != null; 967}), 968isNowValid = 969!isNaN(m._d.getTime()) && 970flags.overflow < 0 && 971!flags.empty && 972!flags.invalidEra && 973!flags.invalidMonth && 974!flags.invalidWeekday && 975!flags.weekdayMismatch && 976!flags.nullInput && 977!flags.invalidFormat && 978!flags.userInvalidated && 979(!flags.meridiem || (flags.meridiem && parsedParts)); 980if (m._strict) { 981isNowValid = 982isNowValid && 983flags.charsLeftOver === 0 && 984flags.unusedTokens.length === 0 && 985flags.bigHour === undefined; 986} 987if (Object.isFrozen == null || !Object.isFrozen(m)) { 988m._isValid = isNowValid; 989} else { 990return isNowValid; 991} 992} 993return m._isValid; 994} 995function createInvalid(flags) { 996var m = createUTC(NaN); 997if (flags != null) { 998extend(getParsingFlags(m), flags); 999} else { 1000getParsingFlags(m).userInvalidated = true; 1001} 1002return m; 1003} 1004// Plugins that add properties should also add the key here (null value), 1005// so we can properly clone ourselves. 1006var momentProperties = (hooks.momentProperties = []), 1007updateInProgress = false; 1008function copyConfig(to, from) { 1009var i, 1010prop, 1011val, 1012momentPropertiesLen = momentProperties.length; 1013if (!isUndefined(from._isAMomentObject)) { 1014to._isAMomentObject = from._isAMomentObject; 1015} 1016if (!isUndefined(from._i)) { 1017to._i = from._i; 1018} 1019if (!isUndefined(from._f)) { 1020to._f = from._f; 1021} 1022if (!isUndefined(from._l)) { 1023to._l = from._l; 1024} 1025if (!isUndefined(from._strict)) { 1026to._strict = from._strict; 1027} 1028if (!isUndefined(from._tzm)) { 1029to._tzm = from._tzm; 1030} 1031if (!isUndefined(from._isUTC)) { 1032to._isUTC = from._isUTC; 1033} 1034if (!isUndefined(from._offset)) { 1035to._offset = from._offset; 1036} 1037if (!isUndefined(from._pf)) { 1038to._pf = getParsingFlags(from); 1039} 1040if (!isUndefined(from._locale)) { 1041to._locale = from._locale; 1042} 1043if (momentPropertiesLen > 0) { 1044for (i = 0; i < momentPropertiesLen; i++) { 1045prop = momentProperties[i]; 1046val = from[prop]; 1047if (!isUndefined(val)) { 1048to[prop] = val; 1049} 1050} 1051} 1052return to; 1053} 1054// Moment prototype object 1055function Moment(config) { 1056copyConfig(this, config); 1057this._d = new Date(config._d != null ? config._d.getTime() : NaN); 1058if (!this.isValid()) { 1059this._d = new Date(NaN); 1060} 1061// Prevent infinite loop in case updateOffset creates new moment 1062// objects. 1063if (updateInProgress === false) { 1064updateInProgress = true; 1065hooks.updateOffset(this); 1066updateInProgress = false; 1067} 1068} 1069function isMoment(obj) { 1070return ( 1071obj instanceof Moment || (obj != null && obj._isAMomentObject != null) 1072); 1073} 1074function warn(msg) { 1075if ( 1076hooks.suppressDeprecationWarnings === false && 1077typeof console !== 'undefined' && 1078console.warn 1079) { 1080console.warn('Deprecation warning: ' + msg); 1081} 1082} 1083function deprecate(msg, fn) { 1084var firstTime = true; 1085return extend(function () { 1086if (hooks.deprecationHandler != null) { 1087hooks.deprecationHandler(null, msg); 1088} 1089if (firstTime) { 1090var args = [], 1091arg, 1092i, 1093key, 1094argLen = arguments.length; 1095for (i = 0; i < argLen; i++) { 1096arg = ''; 1097if (typeof arguments[i] === 'object') { 1098arg += '\n[' + i + '] '; 1099for (key in arguments[0]) { 1100if (hasOwnProp(arguments[0], key)) { 1101arg += key + ': ' + arguments[0][key] + ', '; 1102} 1103} 1104arg = arg.slice(0, -2); // Remove trailing comma and space 1105} else { 1106arg = arguments[i]; 1107} 1108args.push(arg); 1109} 1110warn( 1111msg + 1112'\nArguments: ' + 1113Array.prototype.slice.call(args).join('') + 1114'\n' + 1115new Error().stack 1116); 1117firstTime = false; 1118} 1119return fn.apply(this, arguments); 1120}, fn); 1121} 1122var deprecations = {}; 1123function deprecateSimple(name, msg) { 1124if (hooks.deprecationHandler != null) { 1125hooks.deprecationHandler(name, msg); 1126} 1127if (!deprecations[name]) { 1128warn(msg); 1129deprecations[name] = true; 1130} 1131} 1132hooks.suppressDeprecationWarnings = false; 1133hooks.deprecationHandler = null; 1134function isFunction(input) { 1135return ( 1136(typeof Function !== 'undefined' && input instanceof Function) || 1137Object.prototype.toString.call(input) === '[object Function]' 1138); 1139} 1140function set(config) { 1141var prop, i; 1142for (i in config) { 1143if (hasOwnProp(config, i)) { 1144prop = config[i]; 1145if (isFunction(prop)) { 1146this[i] = prop; 1147} else { 1148this['_' + i] = prop; 1149} 1150} 1151} 1152this._config = config; 1153// Lenient ordinal parsing accepts just a number in addition to 1154// number + (possibly) stuff coming from _dayOfMonthOrdinalParse. 1155// TODO: Remove "ordinalParse" fallback in next major release. 1156this._dayOfMonthOrdinalParseLenient = new RegExp( 1157(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + 1158'|' + 1159/\d{1,2}/.source 1160); 1161} 1162function mergeConfigs(parentConfig, childConfig) { 1163var res = extend({}, parentConfig), 1164prop; 1165for (prop in childConfig) { 1166if (hasOwnProp(childConfig, prop)) { 1167if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { 1168res[prop] = {}; 1169extend(res[prop], parentConfig[prop]); 1170extend(res[prop], childConfig[prop]); 1171} else if (childConfig[prop] != null) { 1172res[prop] = childConfig[prop]; 1173} else { 1174delete res[prop]; 1175} 1176} 1177} 1178for (prop in parentConfig) { 1179if ( 1180hasOwnProp(parentConfig, prop) && 1181!hasOwnProp(childConfig, prop) && 1182isObject(parentConfig[prop]) 1183) { 1184// make sure changes to properties don't modify parent config 1185res[prop] = extend({}, res[prop]); 1186} 1187} 1188return res; 1189} 1190function Locale(config) { 1191if (config != null) { 1192this.set(config); 1193} 1194} 1195var keys; 1196if (Object.keys) { 1197keys = Object.keys; 1198} else { 1199keys = function (obj) { 1200var i, 1201res = []; 1202for (i in obj) { 1203if (hasOwnProp(obj, i)) { 1204res.push(i); 1205} 1206} 1207return res; 1208}; 1209} 1210var defaultCalendar = { 1211sameDay: '[Today at] LT', 1212nextDay: '[Tomorrow at] LT', 1213nextWeek: 'dddd [at] LT', 1214lastDay: '[Yesterday at] LT', 1215lastWeek: '[Last] dddd [at] LT', 1216sameElse: 'L', 1217}; 1218function calendar(key, mom, now) { 1219var output = this._calendar[key] || this._calendar['sameElse']; 1220return isFunction(output) ? output.call(mom, now) : output; 1221} 1222function zeroFill(number, targetLength, forceSign) { 1223var absNumber = '' + Math.abs(number), 1224zerosToFill = targetLength - absNumber.length, 1225sign = number >= 0; 1226return ( 1227(sign ? (forceSign ? '+' : '') : '-') + 1228Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + 1229absNumber 1230); 1231} 1232var formattingTokens = 1233/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, 1234localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, 1235formatFunctions = {}, 1236formatTokenFunctions = {}; 1237// token: 'M' 1238// padded: ['MM', 2] 1239// ordinal: 'Mo' 1240// callback: function () { this.month() + 1 } 1241function addFormatToken(token, padded, ordinal, callback) { 1242var func = callback; 1243if (typeof callback === 'string') { 1244func = function () { 1245return this[callback](); 1246}; 1247} 1248if (token) { 1249formatTokenFunctions[token] = func; 1250} 1251if (padded) { 1252formatTokenFunctions[padded[0]] = function () { 1253return zeroFill(func.apply(this, arguments), padded[1], padded[2]); 1254}; 1255} 1256if (ordinal) { 1257formatTokenFunctions[ordinal] = function () { 1258return this.localeData().ordinal( 1259func.apply(this, arguments), 1260token 1261); 1262}; 1263} 1264} 1265function removeFormattingTokens(input) { 1266if (input.match(/\[[\s\S]/)) { 1267return input.replace(/^\[|\]$/g, ''); 1268} 1269return input.replace(/\\/g, ''); 1270} 1271function makeFormatFunction(format) { 1272var array = format.match(formattingTokens), 1273i, 1274length; 1275for (i = 0, length = array.length; i < length; i++) { 1276if (formatTokenFunctions[array[i]]) { 1277array[i] = formatTokenFunctions[array[i]]; 1278} else { 1279array[i] = removeFormattingTokens(array[i]); 1280} 1281} 1282return function (mom) { 1283var output = '', 1284i; 1285for (i = 0; i < length; i++) { 1286output += isFunction(array[i]) 1287? array[i].call(mom, format) 1288: array[i]; 1289} 1290return output; 1291}; 1292} 1293// format date using native date object 1294function formatMoment(m, format) { 1295if (!m.isValid()) { 1296return m.localeData().invalidDate(); 1297} 1298format = expandFormat(format, m.localeData()); 1299formatFunctions[format] = 1300formatFunctions[format] || makeFormatFunction(format); 1301return formatFunctions[format](m); 1302} 1303function expandFormat(format, locale) { 1304var i = 5; 1305function replaceLongDateFormatTokens(input) { 1306return locale.longDateFormat(input) || input; 1307} 1308localFormattingTokens.lastIndex = 0; 1309while (i >= 0 && localFormattingTokens.test(format)) { 1310format = format.replace( 1311localFormattingTokens, 1312replaceLongDateFormatTokens 1313); 1314localFormattingTokens.lastIndex = 0; 1315i -= 1; 1316} 1317return format; 1318} 1319var defaultLongDateFormat = { 1320LTS: 'h:mm:ss A', 1321LT: 'h:mm A', 1322L: 'MM/DD/YYYY', 1323LL: 'MMMM D, YYYY', 1324LLL: 'MMMM D, YYYY h:mm A', 1325LLLL: 'dddd, MMMM D, YYYY h:mm A', 1326}; 1327function longDateFormat(key) { 1328var format = this._longDateFormat[key], 1329formatUpper = this._longDateFormat[key.toUpperCase()]; 1330if (format || !formatUpper) { 1331return format; 1332} 1333this._longDateFormat[key] = formatUpper 1334.match(formattingTokens) 1335.map(function (tok) { 1336if ( 1337tok === 'MMMM' || 1338tok === 'MM' || 1339tok === 'DD' || 1340tok === 'dddd' 1341) { 1342return tok.slice(1); 1343} 1344return tok; 1345}) 1346.join(''); 1347return this._longDateFormat[key]; 1348} 1349var defaultInvalidDate = 'Invalid date'; 1350function invalidDate() { 1351return this._invalidDate; 1352} 1353var defaultOrdinal = '%d', 1354defaultDayOfMonthOrdinalParse = /\d{1,2}/; 1355function ordinal(number) { 1356return this._ordinal.replace('%d', number); 1357} 1358var defaultRelativeTime = { 1359future: 'in %s', 1360past: '%s ago', 1361s: 'a few seconds', 1362ss: '%d seconds', 1363m: 'a minute', 1364mm: '%d minutes', 1365h: 'an hour', 1366hh: '%d hours', 1367d: 'a day', 1368dd: '%d days', 1369w: 'a week', 1370ww: '%d weeks', 1371M: 'a month', 1372MM: '%d months', 1373y: 'a year', 1374yy: '%d years', 1375}; 1376function relativeTime(number, withoutSuffix, string, isFuture) { 1377var output = this._relativeTime[string]; 1378return isFunction(output) 1379? output(number, withoutSuffix, string, isFuture) 1380: output.replace(/%d/i, number); 1381} 1382function pastFuture(diff, output) { 1383var format = this._relativeTime[diff > 0 ? 'future' : 'past']; 1384return isFunction(format) ? format(output) : format.replace(/%s/i, output); 1385} 1386var aliases = {}; 1387function addUnitAlias(unit, shorthand) { 1388var lowerCase = unit.toLowerCase(); 1389aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; 1390} 1391function normalizeUnits(units) { 1392return typeof units === 'string' 1393? aliases[units] || aliases[units.toLowerCase()] 1394: undefined; 1395} 1396function normalizeObjectUnits(inputObject) { 1397var normalizedInput = {}, 1398normalizedProp, 1399prop; 1400for (prop in inputObject) { 1401if (hasOwnProp(inputObject, prop)) { 1402normalizedProp = normalizeUnits(prop); 1403if (normalizedProp) { 1404normalizedInput[normalizedProp] = inputObject[prop]; 1405} 1406} 1407} 1408return normalizedInput; 1409} 1410var priorities = {}; 1411function addUnitPriority(unit, priority) { 1412priorities[unit] = priority; 1413} 1414function getPrioritizedUnits(unitsObj) { 1415var units = [], 1416u; 1417for (u in unitsObj) { 1418if (hasOwnProp(unitsObj, u)) { 1419units.push({ unit: u, priority: priorities[u] }); 1420} 1421} 1422units.sort(function (a, b) { 1423return a.priority - b.priority; 1424}); 1425return units; 1426} 1427function isLeapYear(year) { 1428return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; 1429} 1430function absFloor(number) { 1431if (number < 0) { 1432// -0 -> 0 1433return Math.ceil(number) || 0; 1434} else { 1435return Math.floor(number); 1436} 1437} 1438function toInt(argumentForCoercion) { 1439var coercedNumber = +argumentForCoercion, 1440value = 0; 1441if (coercedNumber !== 0 && isFinite(coercedNumber)) { 1442value = absFloor(coercedNumber); 1443} 1444return value; 1445} 1446function makeGetSet(unit, keepTime) { 1447return function (value) { 1448if (value != null) { 1449set$1(this, unit, value); 1450hooks.updateOffset(this, keepTime); 1451return this; 1452} else { 1453return get(this, unit); 1454} 1455}; 1456} 1457function get(mom, unit) { 1458return mom.isValid() 1459? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() 1460: NaN; 1461} 1462function set$1(mom, unit, value) { 1463if (mom.isValid() && !isNaN(value)) { 1464if ( 1465unit === 'FullYear' && 1466isLeapYear(mom.year()) && 1467mom.month() === 1 && 1468mom.date() === 29 1469) { 1470value = toInt(value); 1471mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit]( 1472value, 1473mom.month(), 1474daysInMonth(value, mom.month()) 1475); 1476} else { 1477mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); 1478} 1479} 1480} 1481// MOMENTS 1482function stringGet(units) { 1483units = normalizeUnits(units); 1484if (isFunction(this[units])) { 1485return this[units](); 1486} 1487return this; 1488} 1489function stringSet(units, value) { 1490if (typeof units === 'object') { 1491units = normalizeObjectUnits(units); 1492var prioritized = getPrioritizedUnits(units), 1493i, 1494prioritizedLen = prioritized.length; 1495for (i = 0; i < prioritizedLen; i++) { 1496this[prioritized[i].unit](units[prioritized[i].unit]); 1497} 1498} else { 1499units = normalizeUnits(units); 1500if (isFunction(this[units])) { 1501return this[units](value); 1502} 1503} 1504return this; 1505} 1506var match1 = /\d/, // 0 - 9 1507match2 = /\d\d/, // 00 - 99 1508match3 = /\d{3}/, // 000 - 999 1509match4 = /\d{4}/, // 0000 - 9999 1510match6 = /[+-]?\d{6}/, // -999999 - 999999 1511match1to2 = /\d\d?/, // 0 - 99 1512match3to4 = /\d\d\d\d?/, // 999 - 9999 1513match5to6 = /\d\d\d\d\d\d?/, // 99999 - 999999 1514match1to3 = /\d{1,3}/, // 0 - 999 1515match1to4 = /\d{1,4}/, // 0 - 9999 1516match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999 1517matchUnsigned = /\d+/, // 0 - inf 1518matchSigned = /[+-]?\d+/, // -inf - inf 1519matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z 1520matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z 1521matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 1522// any word (or two) characters or numbers including two/three word month in arabic. 1523// includes scottish gaelic two word and hyphenated months 1524matchWord = 1525/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, 1526regexes; 1527regexes = {}; 1528function addRegexToken(token, regex, strictRegex) { 1529regexes[token] = isFunction(regex) 1530? regex 1531: function (isStrict, localeData) { 1532return isStrict && strictRegex ? strictRegex : regex; 1533}; 1534} 1535function getParseRegexForToken(token, config) { 1536if (!hasOwnProp(regexes, token)) { 1537return new RegExp(unescapeFormat(token)); 1538} 1539return regexes[token](config._strict, config._locale); 1540} 1541// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript 1542function unescapeFormat(s) { 1543return regexEscape( 1544s 1545.replace('\\', '') 1546.replace( 1547/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, 1548function (matched, p1, p2, p3, p4) { 1549return p1 || p2 || p3 || p4; 1550} 1551) 1552); 1553} 1554function regexEscape(s) { 1555return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); 1556} 1557var tokens = {}; 1558function addParseToken(token, callback) { 1559var i, 1560func = callback, 1561tokenLen; 1562if (typeof token === 'string') { 1563token = [token]; 1564} 1565if (isNumber(callback)) { 1566func = function (input, array) { 1567array[callback] = toInt(input); 1568}; 1569} 1570tokenLen = token.length; 1571for (i = 0; i < tokenLen; i++) { 1572tokens[token[i]] = func; 1573} 1574} 1575function addWeekParseToken(token, callback) { 1576addParseToken(token, function (input, array, config, token) { 1577config._w = config._w || {}; 1578callback(input, config._w, config, token); 1579}); 1580} 1581function addTimeToArrayFromToken(token, input, config) { 1582if (input != null && hasOwnProp(tokens, token)) { 1583tokens[token](input, config._a, config, token); 1584} 1585} 1586var YEAR = 0, 1587MONTH = 1, 1588DATE = 2, 1589HOUR = 3, 1590MINUTE = 4, 1591SECOND = 5, 1592MILLISECOND = 6, 1593WEEK = 7, 1594WEEKDAY = 8; 1595function mod(n, x) { 1596return ((n % x) + x) % x; 1597} 1598var indexOf; 1599if (Array.prototype.indexOf) { 1600indexOf = Array.prototype.indexOf; 1601} else { 1602indexOf = function (o) { 1603// I know 1604var i; 1605for (i = 0; i < this.length; ++i) { 1606if (this[i] === o) { 1607return i; 1608} 1609} 1610return -1; 1611}; 1612} 1613function daysInMonth(year, month) { 1614if (isNaN(year) || isNaN(month)) { 1615return NaN; 1616} 1617var modMonth = mod(month, 12); 1618year += (month - modMonth) / 12; 1619return modMonth === 1 1620? isLeapYear(year) 1621? 29 1622: 28 1623: 31 - ((modMonth % 7) % 2); 1624} 1625// FORMATTING 1626addFormatToken('M', ['MM', 2], 'Mo', function () { 1627return this.month() + 1; 1628}); 1629addFormatToken('MMM', 0, 0, function (format) { 1630return this.localeData().monthsShort(this, format); 1631}); 1632addFormatToken('MMMM', 0, 0, function (format) { 1633return this.localeData().months(this, format); 1634}); 1635// ALIASES 1636addUnitAlias('month', 'M'); 1637// PRIORITY 1638addUnitPriority('month', 8); 1639// PARSING 1640addRegexToken('M', match1to2); 1641addRegexToken('MM', match1to2, match2); 1642addRegexToken('MMM', function (isStrict, locale) { 1643return locale.monthsShortRegex(isStrict); 1644}); 1645addRegexToken('MMMM', function (isStrict, locale) { 1646return locale.monthsRegex(isStrict); 1647}); 1648addParseToken(['M', 'MM'], function (input, array) { 1649array[MONTH] = toInt(input) - 1; 1650}); 1651addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { 1652var month = config._locale.monthsParse(input, token, config._strict); 1653// if we didn't find a month name, mark the date as invalid. 1654if (month != null) { 1655array[MONTH] = month; 1656} else { 1657getParsingFlags(config).invalidMonth = input; 1658} 1659}); 1660// LOCALES 1661var defaultLocaleMonths = 1662'January_February_March_April_May_June_July_August_September_October_November_December'.split( 1663'_' 1664), 1665defaultLocaleMonthsShort = 1666'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 1667MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, 1668defaultMonthsShortRegex = matchWord, 1669defaultMonthsRegex = matchWord; 1670function localeMonths(m, format) { 1671if (!m) { 1672return isArray(this._months) 1673? this._months 1674: this._months['standalone']; 1675} 1676return isArray(this._months) 1677? this._months[m.month()] 1678: this._months[ 1679(this._months.isFormat || MONTHS_IN_FORMAT).test(format) 1680? 'format' 1681: 'standalone' 1682][m.month()]; 1683} 1684function localeMonthsShort(m, format) { 1685if (!m) { 1686return isArray(this._monthsShort) 1687? this._monthsShort 1688: this._monthsShort['standalone']; 1689} 1690return isArray(this._monthsShort) 1691? this._monthsShort[m.month()] 1692: this._monthsShort[ 1693MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone' 1694][m.month()]; 1695} 1696function handleStrictParse(monthName, format, strict) { 1697var i, 1698ii, 1699mom, 1700llc = monthName.toLocaleLowerCase(); 1701if (!this._monthsParse) { 1702// this is not used 1703this._monthsParse = []; 1704this._longMonthsParse = []; 1705this._shortMonthsParse = []; 1706for (i = 0; i < 12; ++i) { 1707mom = createUTC([2000, i]); 1708this._shortMonthsParse[i] = this.monthsShort( 1709mom, 1710'' 1711).toLocaleLowerCase(); 1712this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); 1713} 1714} 1715if (strict) { 1716if (format === 'MMM') { 1717ii = indexOf.call(this._shortMonthsParse, llc); 1718return ii !== -1 ? ii : null; 1719} else { 1720ii = indexOf.call(this._longMonthsParse, llc); 1721return ii !== -1 ? ii : null; 1722} 1723} else { 1724if (format === 'MMM') { 1725ii = indexOf.call(this._shortMonthsParse, llc); 1726if (ii !== -1) { 1727return ii; 1728} 1729ii = indexOf.call(this._longMonthsParse, llc); 1730return ii !== -1 ? ii : null; 1731} else { 1732ii = indexOf.call(this._longMonthsParse, llc); 1733if (ii !== -1) { 1734return ii; 1735} 1736ii = indexOf.call(this._shortMonthsParse, llc); 1737return ii !== -1 ? ii : null; 1738} 1739} 1740} 1741function localeMonthsParse(monthName, format, strict) { 1742var i, mom, regex; 1743if (this._monthsParseExact) { 1744return handleStrictParse.call(this, monthName, format, strict); 1745} 1746if (!this._monthsParse) { 1747this._monthsParse = []; 1748this._longMonthsParse = []; 1749this._shortMonthsParse = []; 1750} 1751// TODO: add sorting 1752// Sorting makes sure if one month (or abbr) is a prefix of another 1753// see sorting in computeMonthsParse 1754for (i = 0; i < 12; i++) { 1755// make the regex if we don't have it already 1756mom = createUTC([2000, i]); 1757if (strict && !this._longMonthsParse[i]) { 1758this._longMonthsParse[i] = new RegExp( 1759'^' + this.months(mom, '').replace('.', '') + '$', 1760'i' 1761); 1762this._shortMonthsParse[i] = new RegExp( 1763'^' + this.monthsShort(mom, '').replace('.', '') + '$', 1764'i' 1765); 1766} 1767if (!strict && !this._monthsParse[i]) { 1768regex = 1769'^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); 1770this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); 1771} 1772// test the regex 1773if ( 1774strict && 1775format === 'MMMM' && 1776this._longMonthsParse[i].test(monthName) 1777) { 1778return i; 1779} else if ( 1780strict && 1781format === 'MMM' && 1782this._shortMonthsParse[i].test(monthName) 1783) { 1784return i; 1785} else if (!strict && this._monthsParse[i].test(monthName)) { 1786return i; 1787} 1788} 1789} 1790// MOMENTS 1791function setMonth(mom, value) { 1792var dayOfMonth; 1793if (!mom.isValid()) { 1794// No op 1795return mom; 1796} 1797if (typeof value === 'string') { 1798if (/^\d+$/.test(value)) { 1799value = toInt(value); 1800} else { 1801value = mom.localeData().monthsParse(value); 1802// TODO: Another silent failure? 1803if (!isNumber(value)) { 1804return mom; 1805} 1806} 1807} 1808dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); 1809mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); 1810return mom; 1811} 1812function getSetMonth(value) { 1813if (value != null) { 1814setMonth(this, value); 1815hooks.updateOffset(this, true); 1816return this; 1817} else { 1818return get(this, 'Month'); 1819} 1820} 1821function getDaysInMonth() { 1822return daysInMonth(this.year(), this.month()); 1823} 1824function monthsShortRegex(isStrict) { 1825if (this._monthsParseExact) { 1826if (!hasOwnProp(this, '_monthsRegex')) { 1827computeMonthsParse.call(this); 1828} 1829if (isStrict) { 1830return this._monthsShortStrictRegex; 1831} else { 1832return this._monthsShortRegex; 1833} 1834} else { 1835if (!hasOwnProp(this, '_monthsShortRegex')) { 1836this._monthsShortRegex = defaultMonthsShortRegex; 1837} 1838return this._monthsShortStrictRegex && isStrict 1839? this._monthsShortStrictRegex 1840: this._monthsShortRegex; 1841} 1842} 1843function monthsRegex(isStrict) { 1844if (this._monthsParseExact) { 1845if (!hasOwnProp(this, '_monthsRegex')) { 1846computeMonthsParse.call(this); 1847} 1848if (isStrict) { 1849return this._monthsStrictRegex; 1850} else { 1851return this._monthsRegex; 1852} 1853} else { 1854if (!hasOwnProp(this, '_monthsRegex')) { 1855this._monthsRegex = defaultMonthsRegex; 1856} 1857return this._monthsStrictRegex && isStrict 1858? this._monthsStrictRegex 1859: this._monthsRegex; 1860} 1861} 1862function computeMonthsParse() { 1863function cmpLenRev(a, b) { 1864return b.length - a.length; 1865} 1866var shortPieces = [], 1867longPieces = [], 1868mixedPieces = [], 1869i, 1870mom; 1871for (i = 0; i < 12; i++) { 1872// make the regex if we don't have it already 1873mom = createUTC([2000, i]); 1874shortPieces.push(this.monthsShort(mom, '')); 1875longPieces.push(this.months(mom, '')); 1876mixedPieces.push(this.months(mom, '')); 1877mixedPieces.push(this.monthsShort(mom, '')); 1878} 1879// Sorting makes sure if one month (or abbr) is a prefix of another it 1880// will match the longer piece. 1881shortPieces.sort(cmpLenRev); 1882longPieces.sort(cmpLenRev); 1883mixedPieces.sort(cmpLenRev); 1884for (i = 0; i < 12; i++) { 1885shortPieces[i] = regexEscape(shortPieces[i]); 1886longPieces[i] = regexEscape(longPieces[i]); 1887} 1888for (i = 0; i < 24; i++) { 1889mixedPieces[i] = regexEscape(mixedPieces[i]); 1890} 1891this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 1892this._monthsShortRegex = this._monthsRegex; 1893this._monthsStrictRegex = new RegExp( 1894'^(' + longPieces.join('|') + ')', 1895'i' 1896); 1897this._monthsShortStrictRegex = new RegExp( 1898'^(' + shortPieces.join('|') + ')', 1899'i' 1900); 1901} 1902// FORMATTING 1903addFormatToken('Y', 0, 0, function () { 1904var y = this.year(); 1905return y <= 9999 ? zeroFill(y, 4) : '+' + y; 1906}); 1907addFormatToken(0, ['YY', 2], 0, function () { 1908return this.year() % 100; 1909}); 1910addFormatToken(0, ['YYYY', 4], 0, 'year'); 1911addFormatToken(0, ['YYYYY', 5], 0, 'year'); 1912addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); 1913// ALIASES 1914addUnitAlias('year', 'y'); 1915// PRIORITIES 1916addUnitPriority('year', 1); 1917// PARSING 1918addRegexToken('Y', matchSigned); 1919addRegexToken('YY', match1to2, match2); 1920addRegexToken('YYYY', match1to4, match4); 1921addRegexToken('YYYYY', match1to6, match6); 1922addRegexToken('YYYYYY', match1to6, match6); 1923addParseToken(['YYYYY', 'YYYYYY'], YEAR); 1924addParseToken('YYYY', function (input, array) { 1925array[YEAR] = 1926input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); 1927}); 1928addParseToken('YY', function (input, array) { 1929array[YEAR] = hooks.parseTwoDigitYear(input); 1930}); 1931addParseToken('Y', function (input, array) { 1932array[YEAR] = parseInt(input, 10); 1933}); 1934// HELPERS 1935function daysInYear(year) { 1936return isLeapYear(year) ? 366 : 365; 1937} 1938// HOOKS 1939hooks.parseTwoDigitYear = function (input) { 1940return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); 1941}; 1942// MOMENTS 1943var getSetYear = makeGetSet('FullYear', true); 1944function getIsLeapYear() { 1945return isLeapYear(this.year()); 1946} 1947function createDate(y, m, d, h, M, s, ms) { 1948// can't just apply() to create a date: 1949// https://stackoverflow.com/q/181348 1950var date; 1951// the date constructor remaps years 0-99 to 1900-1999 1952if (y < 100 && y >= 0) { 1953// preserve leap years using a full 400 year cycle, then reset 1954date = new Date(y + 400, m, d, h, M, s, ms); 1955if (isFinite(date.getFullYear())) { 1956date.setFullYear(y); 1957} 1958} else { 1959date = new Date(y, m, d, h, M, s, ms); 1960} 1961return date; 1962} 1963function createUTCDate(y) { 1964var date, args; 1965// the Date.UTC function remaps years 0-99 to 1900-1999 1966if (y < 100 && y >= 0) { 1967args = Array.prototype.slice.call(arguments); 1968// preserve leap years using a full 400 year cycle, then reset 1969args[0] = y + 400; 1970date = new Date(Date.UTC.apply(null, args)); 1971if (isFinite(date.getUTCFullYear())) { 1972date.setUTCFullYear(y); 1973} 1974} else { 1975date = new Date(Date.UTC.apply(null, arguments)); 1976} 1977return date; 1978} 1979// start-of-first-week - start-of-year 1980function firstWeekOffset(year, dow, doy) { 1981var // first-week day -- which january is always in the first week (4 for iso, 1 for other) 1982fwd = 7 + dow - doy, 1983// first-week day local weekday -- which local weekday is fwd 1984fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; 1985return -fwdlw + fwd - 1; 1986} 1987// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday 1988function dayOfYearFromWeeks(year, week, weekday, dow, doy) { 1989var localWeekday = (7 + weekday - dow) % 7, 1990weekOffset = firstWeekOffset(year, dow, doy), 1991dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, 1992resYear, 1993resDayOfYear; 1994if (dayOfYear <= 0) { 1995resYear = year - 1; 1996resDayOfYear = daysInYear(resYear) + dayOfYear; 1997} else if (dayOfYear > daysInYear(year)) { 1998resYear = year + 1; 1999resDayOfYear = dayOfYear - daysInYear(year); 2000} else { 2001resYear = year; 2002resDayOfYear = dayOfYear; 2003} 2004return { 2005year: resYear, 2006dayOfYear: resDayOfYear, 2007}; 2008} 2009function weekOfYear(mom, dow, doy) { 2010var weekOffset = firstWeekOffset(mom.year(), dow, doy), 2011week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, 2012resWeek, 2013resYear; 2014if (week < 1) { 2015resYear = mom.year() - 1; 2016resWeek = week + weeksInYear(resYear, dow, doy); 2017} else if (week > weeksInYear(mom.year(), dow, doy)) { 2018resWeek = week - weeksInYear(mom.year(), dow, doy); 2019resYear = mom.year() + 1; 2020} else { 2021resYear = mom.year(); 2022resWeek = week; 2023} 2024return { 2025week: resWeek, 2026year: resYear, 2027}; 2028} 2029function weeksInYear(year, dow, doy) { 2030var weekOffset = firstWeekOffset(year, dow, doy), 2031weekOffsetNext = firstWeekOffset(year + 1, dow, doy); 2032return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; 2033} 2034// FORMATTING 2035addFormatToken('w', ['ww', 2], 'wo', 'week'); 2036addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); 2037// ALIASES 2038addUnitAlias('week', 'w'); 2039addUnitAlias('isoWeek', 'W'); 2040// PRIORITIES 2041addUnitPriority('week', 5); 2042addUnitPriority('isoWeek', 5); 2043// PARSING 2044addRegexToken('w', match1to2); 2045addRegexToken('ww', match1to2, match2); 2046addRegexToken('W', match1to2); 2047addRegexToken('WW', match1to2, match2); 2048addWeekParseToken( 2049['w', 'ww', 'W', 'WW'], 2050function (input, week, config, token) { 2051week[token.substr(0, 1)] = toInt(input); 2052} 2053); 2054// HELPERS 2055// LOCALES 2056function localeWeek(mom) { 2057return weekOfYear(mom, this._week.dow, this._week.doy).week; 2058} 2059var defaultLocaleWeek = { 2060dow: 0, // Sunday is the first day of the week. 2061doy: 6, // The week that contains Jan 6th is the first week of the year. 2062}; 2063function localeFirstDayOfWeek() { 2064return this._week.dow; 2065} 2066function localeFirstDayOfYear() { 2067return this._week.doy; 2068} 2069// MOMENTS 2070function getSetWeek(input) { 2071var week = this.localeData().week(this); 2072return input == null ? week : this.add((input - week) * 7, 'd'); 2073} 2074function getSetISOWeek(input) { 2075var week = weekOfYear(this, 1, 4).week; 2076return input == null ? week : this.add((input - week) * 7, 'd'); 2077} 2078// FORMATTING 2079addFormatToken('d', 0, 'do', 'day'); 2080addFormatToken('dd', 0, 0, function (format) { 2081return this.localeData().weekdaysMin(this, format); 2082}); 2083addFormatToken('ddd', 0, 0, function (format) { 2084return this.localeData().weekdaysShort(this, format); 2085}); 2086addFormatToken('dddd', 0, 0, function (format) { 2087return this.localeData().weekdays(this, format); 2088}); 2089addFormatToken('e', 0, 0, 'weekday'); 2090addFormatToken('E', 0, 0, 'isoWeekday'); 2091// ALIASES 2092addUnitAlias('day', 'd'); 2093addUnitAlias('weekday', 'e'); 2094addUnitAlias('isoWeekday', 'E'); 2095// PRIORITY 2096addUnitPriority('day', 11); 2097addUnitPriority('weekday', 11); 2098addUnitPriority('isoWeekday', 11); 2099// PARSING 2100addRegexToken('d', match1to2); 2101addRegexToken('e', match1to2); 2102addRegexToken('E', match1to2); 2103addRegexToken('dd', function (isStrict, locale) { 2104return locale.weekdaysMinRegex(isStrict); 2105}); 2106addRegexToken('ddd', function (isStrict, locale) { 2107return locale.weekdaysShortRegex(isStrict); 2108}); 2109addRegexToken('dddd', function (isStrict, locale) { 2110return locale.weekdaysRegex(isStrict); 2111}); 2112addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { 2113var weekday = config._locale.weekdaysParse(input, token, config._strict); 2114// if we didn't get a weekday name, mark the date as invalid 2115if (weekday != null) { 2116week.d = weekday; 2117} else { 2118getParsingFlags(config).invalidWeekday = input; 2119} 2120}); 2121addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { 2122week[token] = toInt(input); 2123}); 2124// HELPERS 2125function parseWeekday(input, locale) { 2126if (typeof input !== 'string') { 2127return input; 2128} 2129if (!isNaN(input)) { 2130return parseInt(input, 10); 2131} 2132input = locale.weekdaysParse(input); 2133if (typeof input === 'number') { 2134return input; 2135} 2136return null; 2137} 2138function parseIsoWeekday(input, locale) { 2139if (typeof input === 'string') { 2140return locale.weekdaysParse(input) % 7 || 7; 2141} 2142return isNaN(input) ? null : input; 2143} 2144// LOCALES 2145function shiftWeekdays(ws, n) { 2146return ws.slice(n, 7).concat(ws.slice(0, n)); 2147} 2148var defaultLocaleWeekdays = 2149'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 2150defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 2151defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 2152defaultWeekdaysRegex = matchWord, 2153defaultWeekdaysShortRegex = matchWord, 2154defaultWeekdaysMinRegex = matchWord; 2155function localeWeekdays(m, format) { 2156var weekdays = isArray(this._weekdays) 2157? this._weekdays 2158: this._weekdays[ 2159m && m !== true && this._weekdays.isFormat.test(format) 2160? 'format' 2161: 'standalone' 2162]; 2163return m === true 2164? shiftWeekdays(weekdays, this._week.dow) 2165: m 2166? weekdays[m.day()] 2167: weekdays; 2168} 2169function localeWeekdaysShort(m) { 2170return m === true 2171? shiftWeekdays(this._weekdaysShort, this._week.dow) 2172: m 2173? this._weekdaysShort[m.day()] 2174: this._weekdaysShort; 2175} 2176function localeWeekdaysMin(m) { 2177return m === true 2178? shiftWeekdays(this._weekdaysMin, this._week.dow) 2179: m 2180? this._weekdaysMin[m.day()] 2181: this._weekdaysMin; 2182} 2183function handleStrictParse$1(weekdayName, format, strict) { 2184var i, 2185ii, 2186mom, 2187llc = weekdayName.toLocaleLowerCase(); 2188if (!this._weekdaysParse) { 2189this._weekdaysParse = []; 2190this._shortWeekdaysParse = []; 2191this._minWeekdaysParse = []; 2192for (i = 0; i < 7; ++i) { 2193mom = createUTC([2000, 1]).day(i); 2194this._minWeekdaysParse[i] = this.weekdaysMin( 2195mom, 2196'' 2197).toLocaleLowerCase(); 2198this._shortWeekdaysParse[i] = this.weekdaysShort( 2199mom, 2200'' 2201).toLocaleLowerCase(); 2202this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); 2203} 2204} 2205if (strict) { 2206if (format === 'dddd') { 2207ii = indexOf.call(this._weekdaysParse, llc); 2208return ii !== -1 ? ii : null; 2209} else if (format === 'ddd') { 2210ii = indexOf.call(this._shortWeekdaysParse, llc); 2211return ii !== -1 ? ii : null; 2212} else { 2213ii = indexOf.call(this._minWeekdaysParse, llc); 2214return ii !== -1 ? ii : null; 2215} 2216} else { 2217if (format === 'dddd') { 2218ii = indexOf.call(this._weekdaysParse, llc); 2219if (ii !== -1) { 2220return ii; 2221} 2222ii = indexOf.call(this._shortWeekdaysParse, llc); 2223if (ii !== -1) { 2224return ii; 2225} 2226ii = indexOf.call(this._minWeekdaysParse, llc); 2227return ii !== -1 ? ii : null; 2228} else if (format === 'ddd') { 2229ii = indexOf.call(this._shortWeekdaysParse, llc); 2230if (ii !== -1) { 2231return ii; 2232} 2233ii = indexOf.call(this._weekdaysParse, llc); 2234if (ii !== -1) { 2235return ii; 2236} 2237ii = indexOf.call(this._minWeekdaysParse, llc); 2238return ii !== -1 ? ii : null; 2239} else { 2240ii = indexOf.call(this._minWeekdaysParse, llc); 2241if (ii !== -1) { 2242return ii; 2243} 2244ii = indexOf.call(this._weekdaysParse, llc); 2245if (ii !== -1) { 2246return ii; 2247} 2248ii = indexOf.call(this._shortWeekdaysParse, llc); 2249return ii !== -1 ? ii : null; 2250} 2251} 2252} 2253function localeWeekdaysParse(weekdayName, format, strict) { 2254var i, mom, regex; 2255if (this._weekdaysParseExact) { 2256return handleStrictParse$1.call(this, weekdayName, format, strict); 2257} 2258if (!this._weekdaysParse) { 2259this._weekdaysParse = []; 2260this._minWeekdaysParse = []; 2261this._shortWeekdaysParse = []; 2262this._fullWeekdaysParse = []; 2263} 2264for (i = 0; i < 7; i++) { 2265// make the regex if we don't have it already 2266mom = createUTC([2000, 1]).day(i); 2267if (strict && !this._fullWeekdaysParse[i]) { 2268this._fullWeekdaysParse[i] = new RegExp( 2269'^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 2270'i' 2271); 2272this._shortWeekdaysParse[i] = new RegExp( 2273'^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 2274'i' 2275); 2276this._minWeekdaysParse[i] = new RegExp( 2277'^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 2278'i' 2279); 2280} 2281if (!this._weekdaysParse[i]) { 2282regex = 2283'^' + 2284this.weekdays(mom, '') + 2285'|^' + 2286this.weekdaysShort(mom, '') + 2287'|^' + 2288this.weekdaysMin(mom, ''); 2289this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); 2290} 2291// test the regex 2292if ( 2293strict && 2294format === 'dddd' && 2295this._fullWeekdaysParse[i].test(weekdayName) 2296) { 2297return i; 2298} else if ( 2299strict && 2300format === 'ddd' && 2301this._shortWeekdaysParse[i].test(weekdayName) 2302) { 2303return i; 2304} else if ( 2305strict && 2306format === 'dd' && 2307this._minWeekdaysParse[i].test(weekdayName) 2308) { 2309return i; 2310} else if (!strict && this._weekdaysParse[i].test(weekdayName)) { 2311return i; 2312} 2313} 2314} 2315// MOMENTS 2316function getSetDayOfWeek(input) { 2317if (!this.isValid()) { 2318return input != null ? this : NaN; 2319} 2320var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); 2321if (input != null) { 2322input = parseWeekday(input, this.localeData()); 2323return this.add(input - day, 'd'); 2324} else { 2325return day; 2326} 2327} 2328function getSetLocaleDayOfWeek(input) { 2329if (!this.isValid()) { 2330return input != null ? this : NaN; 2331} 2332var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; 2333return input == null ? weekday : this.add(input - weekday, 'd'); 2334} 2335function getSetISODayOfWeek(input) { 2336if (!this.isValid()) { 2337return input != null ? this : NaN; 2338} 2339// behaves the same as moment#day except 2340// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) 2341// as a setter, sunday should belong to the previous week. 2342if (input != null) { 2343var weekday = parseIsoWeekday(input, this.localeData()); 2344return this.day(this.day() % 7 ? weekday : weekday - 7); 2345} else { 2346return this.day() || 7; 2347} 2348} 2349function weekdaysRegex(isStrict) { 2350if (this._weekdaysParseExact) { 2351if (!hasOwnProp(this, '_weekdaysRegex')) { 2352computeWeekdaysParse.call(this); 2353} 2354if (isStrict) { 2355return this._weekdaysStrictRegex; 2356} else { 2357return this._weekdaysRegex; 2358} 2359} else { 2360if (!hasOwnProp(this, '_weekdaysRegex')) { 2361this._weekdaysRegex = defaultWeekdaysRegex; 2362} 2363return this._weekdaysStrictRegex && isStrict 2364? this._weekdaysStrictRegex 2365: this._weekdaysRegex; 2366} 2367} 2368function weekdaysShortRegex(isStrict) { 2369if (this._weekdaysParseExact) { 2370if (!hasOwnProp(this, '_weekdaysRegex')) { 2371computeWeekdaysParse.call(this); 2372} 2373if (isStrict) { 2374return this._weekdaysShortStrictRegex; 2375} else { 2376return this._weekdaysShortRegex; 2377} 2378} else { 2379if (!hasOwnProp(this, '_weekdaysShortRegex')) { 2380this._weekdaysShortRegex = defaultWeekdaysShortRegex; 2381} 2382return this._weekdaysShortStrictRegex && isStrict 2383? this._weekdaysShortStrictRegex 2384: this._weekdaysShortRegex; 2385} 2386} 2387function weekdaysMinRegex(isStrict) { 2388if (this._weekdaysParseExact) { 2389if (!hasOwnProp(this, '_weekdaysRegex')) { 2390computeWeekdaysParse.call(this); 2391} 2392if (isStrict) { 2393return this._weekdaysMinStrictRegex; 2394} else { 2395return this._weekdaysMinRegex; 2396} 2397} else { 2398if (!hasOwnProp(this, '_weekdaysMinRegex')) { 2399this._weekdaysMinRegex = defaultWeekdaysMinRegex; 2400} 2401return this._weekdaysMinStrictRegex && isStrict 2402? this._weekdaysMinStrictRegex 2403: this._weekdaysMinRegex; 2404} 2405} 2406function computeWeekdaysParse() { 2407function cmpLenRev(a, b) { 2408return b.length - a.length; 2409} 2410var minPieces = [], 2411shortPieces = [], 2412longPieces = [], 2413mixedPieces = [], 2414i, 2415mom, 2416minp, 2417shortp, 2418longp; 2419for (i = 0; i < 7; i++) { 2420// make the regex if we don't have it already 2421mom = createUTC([2000, 1]).day(i); 2422minp = regexEscape(this.weekdaysMin(mom, '')); 2423shortp = regexEscape(this.weekdaysShort(mom, '')); 2424longp = regexEscape(this.weekdays(mom, '')); 2425minPieces.push(minp); 2426shortPieces.push(shortp); 2427longPieces.push(longp); 2428mixedPieces.push(minp); 2429mixedPieces.push(shortp); 2430mixedPieces.push(longp); 2431} 2432// Sorting makes sure if one weekday (or abbr) is a prefix of another it 2433// will match the longer piece. 2434minPieces.sort(cmpLenRev); 2435shortPieces.sort(cmpLenRev); 2436longPieces.sort(cmpLenRev); 2437mixedPieces.sort(cmpLenRev); 2438this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 2439this._weekdaysShortRegex = this._weekdaysRegex; 2440this._weekdaysMinRegex = this._weekdaysRegex; 2441this._weekdaysStrictRegex = new RegExp( 2442'^(' + longPieces.join('|') + ')', 2443'i' 2444); 2445this._weekdaysShortStrictRegex = new RegExp( 2446'^(' + shortPieces.join('|') + ')', 2447'i' 2448); 2449this._weekdaysMinStrictRegex = new RegExp( 2450'^(' + minPieces.join('|') + ')', 2451'i' 2452); 2453} 2454// FORMATTING 2455function hFormat() { 2456return this.hours() % 12 || 12; 2457} 2458function kFormat() { 2459return this.hours() || 24; 2460} 2461addFormatToken('H', ['HH', 2], 0, 'hour'); 2462addFormatToken('h', ['hh', 2], 0, hFormat); 2463addFormatToken('k', ['kk', 2], 0, kFormat); 2464addFormatToken('hmm', 0, 0, function () { 2465return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); 2466}); 2467addFormatToken('hmmss', 0, 0, function () { 2468return ( 2469'' + 2470hFormat.apply(this) + 2471zeroFill(this.minutes(), 2) + 2472zeroFill(this.seconds(), 2) 2473); 2474}); 2475addFormatToken('Hmm', 0, 0, function () { 2476return '' + this.hours() + zeroFill(this.minutes(), 2); 2477}); 2478addFormatToken('Hmmss', 0, 0, function () { 2479return ( 2480'' + 2481this.hours() + 2482zeroFill(this.minutes(), 2) + 2483zeroFill(this.seconds(), 2) 2484); 2485}); 2486function meridiem(token, lowercase) { 2487addFormatToken(token, 0, 0, function () { 2488return this.localeData().meridiem( 2489this.hours(), 2490this.minutes(), 2491lowercase 2492); 2493}); 2494} 2495meridiem('a', true); 2496meridiem('A', false); 2497// ALIASES 2498addUnitAlias('hour', 'h'); 2499// PRIORITY 2500addUnitPriority('hour', 13); 2501// PARSING 2502function matchMeridiem(isStrict, locale) { 2503return locale._meridiemParse; 2504} 2505addRegexToken('a', matchMeridiem); 2506addRegexToken('A', matchMeridiem); 2507addRegexToken('H', match1to2); 2508addRegexToken('h', match1to2); 2509addRegexToken('k', match1to2); 2510addRegexToken('HH', match1to2, match2); 2511addRegexToken('hh', match1to2, match2); 2512addRegexToken('kk', match1to2, match2); 2513addRegexToken('hmm', match3to4); 2514addRegexToken('hmmss', match5to6); 2515addRegexToken('Hmm', match3to4); 2516addRegexToken('Hmmss', match5to6); 2517addParseToken(['H', 'HH'], HOUR); 2518addParseToken(['k', 'kk'], function (input, array, config) { 2519var kInput = toInt(input); 2520array[HOUR] = kInput === 24 ? 0 : kInput; 2521}); 2522addParseToken(['a', 'A'], function (input, array, config) { 2523config._isPm = config._locale.isPM(input); 2524config._meridiem = input; 2525}); 2526addParseToken(['h', 'hh'], function (input, array, config) { 2527array[HOUR] = toInt(input); 2528getParsingFlags(config).bigHour = true; 2529}); 2530addParseToken('hmm', function (input, array, config) { 2531var pos = input.length - 2; 2532array[HOUR] = toInt(input.substr(0, pos)); 2533array[MINUTE] = toInt(input.substr(pos)); 2534getParsingFlags(config).bigHour = true; 2535}); 2536addParseToken('hmmss', function (input, array, config) { 2537var pos1 = input.length - 4, 2538pos2 = input.length - 2; 2539array[HOUR] = toInt(input.substr(0, pos1)); 2540array[MINUTE] = toInt(input.substr(pos1, 2)); 2541array[SECOND] = toInt(input.substr(pos2)); 2542getParsingFlags(config).bigHour = true; 2543}); 2544addParseToken('Hmm', function (input, array, config) { 2545var pos = input.length - 2; 2546array[HOUR] = toInt(input.substr(0, pos)); 2547array[MINUTE] = toInt(input.substr(pos)); 2548}); 2549addParseToken('Hmmss', function (input, array, config) { 2550var pos1 = input.length - 4, 2551pos2 = input.length - 2; 2552array[HOUR] = toInt(input.substr(0, pos1)); 2553array[MINUTE] = toInt(input.substr(pos1, 2)); 2554array[SECOND] = toInt(input.substr(pos2)); 2555}); 2556// LOCALES 2557function localeIsPM(input) { 2558// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays 2559// Using charAt should be more compatible. 2560return (input + '').toLowerCase().charAt(0) === 'p'; 2561} 2562var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, 2563// Setting the hour should keep the time, because the user explicitly 2564// specified which hour they want. So trying to maintain the same hour (in 2565// a new timezone) makes sense. Adding/subtracting hours does not follow 2566// this rule. 2567getSetHour = makeGetSet('Hours', true); 2568function localeMeridiem(hours, minutes, isLower) { 2569if (hours > 11) { 2570return isLower ? 'pm' : 'PM'; 2571} else { 2572return isLower ? 'am' : 'AM'; 2573} 2574} 2575var baseConfig = { 2576calendar: defaultCalendar, 2577longDateFormat: defaultLongDateFormat, 2578invalidDate: defaultInvalidDate, 2579ordinal: defaultOrdinal, 2580dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, 2581relativeTime: defaultRelativeTime, 2582months: defaultLocaleMonths, 2583monthsShort: defaultLocaleMonthsShort, 2584week: defaultLocaleWeek, 2585weekdays: defaultLocaleWeekdays, 2586weekdaysMin: defaultLocaleWeekdaysMin, 2587weekdaysShort: defaultLocaleWeekdaysShort, 2588meridiemParse: defaultLocaleMeridiemParse, 2589}; 2590// internal storage for locale config files 2591var locales = {}, 2592localeFamilies = {}, 2593globalLocale; 2594function commonPrefix(arr1, arr2) { 2595var i, 2596minl = Math.min(arr1.length, arr2.length); 2597for (i = 0; i < minl; i += 1) { 2598if (arr1[i] !== arr2[i]) { 2599return i; 2600} 2601} 2602return minl; 2603} 2604function normalizeLocale(key) { 2605return key ? key.toLowerCase().replace('_', '-') : key; 2606} 2607// pick the locale from the array 2608// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each 2609// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root 2610function chooseLocale(names) { 2611var i = 0, 2612j, 2613next, 2614locale, 2615split; 2616while (i < names.length) { 2617split = normalizeLocale(names[i]).split('-'); 2618j = split.length; 2619next = normalizeLocale(names[i + 1]); 2620next = next ? next.split('-') : null; 2621while (j > 0) { 2622locale = loadLocale(split.slice(0, j).join('-')); 2623if (locale) { 2624return locale; 2625} 2626if ( 2627next && 2628next.length >= j && 2629commonPrefix(split, next) >= j - 1 2630) { 2631//the next array item is better than a shallower substring of this one 2632break; 2633} 2634j--; 2635} 2636i++; 2637} 2638return globalLocale; 2639} 2640function isLocaleNameSane(name) { 2641// Prevent names that look like filesystem paths, i.e contain '/' or '\' 2642return name.match('^[^/\\\\]*$') != null; 2643} 2644function loadLocale(name) { 2645var oldLocale = null, 2646aliasedRequire; 2647// TODO: Find a better way to register and load all the locales in Node 2648if ( 2649locales[name] === undefined && 2650typeof module !== 'undefined' && 2651module && 2652module.exports && 2653isLocaleNameSane(name) 2654) { 2655try { 2656oldLocale = globalLocale._abbr; 2657aliasedRequire = require; 2658aliasedRequire('./locale/' + name); 2659getSetGlobalLocale(oldLocale); 2660} catch (e) { 2661// mark as not found to avoid repeating expensive file require call causing high CPU 2662// when trying to find en-US, en_US, en-us for every format call 2663locales[name] = null; // null means not found 2664} 2665} 2666return locales[name]; 2667} 2668// This function will load locale and then set the global locale. If 2669// no arguments are passed in, it will simply return the current global 2670// locale key. 2671function getSetGlobalLocale(key, values) { 2672var data; 2673if (key) { 2674if (isUndefined(values)) { 2675data = getLocale(key); 2676} else { 2677data = defineLocale(key, values); 2678} 2679if (data) { 2680// moment.duration._locale = moment._locale = data; 2681globalLocale = data; 2682} else { 2683if (typeof console !== 'undefined' && console.warn) { 2684//warn user if arguments are passed but the locale could not be set 2685console.warn( 2686'Locale ' + key + ' not found. Did you forget to load it?' 2687); 2688} 2689} 2690} 2691return globalLocale._abbr; 2692} 2693function defineLocale(name, config) { 2694if (config !== null) { 2695var locale, 2696parentConfig = baseConfig; 2697config.abbr = name; 2698if (locales[name] != null) { 2699deprecateSimple( 2700'defineLocaleOverride', 2701'use moment.updateLocale(localeName, config) to change ' + 2702'an existing locale. moment.defineLocale(localeName, ' + 2703'config) should only be used for creating a new locale ' + 2704'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' 2705); 2706parentConfig = locales[name]._config; 2707} else if (config.parentLocale != null) { 2708if (locales[config.parentLocale] != null) { 2709parentConfig = locales[config.parentLocale]._config; 2710} else { 2711locale = loadLocale(config.parentLocale); 2712if (locale != null) { 2713parentConfig = locale._config; 2714} else { 2715if (!localeFamilies[config.parentLocale]) { 2716localeFamilies[config.parentLocale] = []; 2717} 2718localeFamilies[config.parentLocale].push({ 2719name: name, 2720config: config, 2721}); 2722return null; 2723} 2724} 2725} 2726locales[name] = new Locale(mergeConfigs(parentConfig, config)); 2727if (localeFamilies[name]) { 2728localeFamilies[name].forEach(function (x) { 2729defineLocale(x.name, x.config); 2730}); 2731} 2732// backwards compat for now: also set the locale 2733// make sure we set the locale AFTER all child locales have been 2734// created, so we won't end up with the child locale set. 2735getSetGlobalLocale(name); 2736return locales[name]; 2737} else { 2738// useful for testing 2739delete locales[name]; 2740return null; 2741} 2742} 2743function updateLocale(name, config) { 2744if (config != null) { 2745var locale, 2746tmpLocale, 2747parentConfig = baseConfig; 2748if (locales[name] != null && locales[name].parentLocale != null) { 2749// Update existing child locale in-place to avoid memory-leaks 2750locales[name].set(mergeConfigs(locales[name]._config, config)); 2751} else { 2752// MERGE 2753tmpLocale = loadLocale(name); 2754if (tmpLocale != null) { 2755parentConfig = tmpLocale._config; 2756} 2757config = mergeConfigs(parentConfig, config); 2758if (tmpLocale == null) { 2759// updateLocale is called for creating a new locale 2760// Set abbr so it will have a name (getters return 2761// undefined otherwise). 2762config.abbr = name; 2763} 2764locale = new Locale(config); 2765locale.parentLocale = locales[name]; 2766locales[name] = locale; 2767} 2768// backwards compat for now: also set the locale 2769getSetGlobalLocale(name); 2770} else { 2771// pass null for config to unupdate, useful for tests 2772if (locales[name] != null) { 2773if (locales[name].parentLocale != null) { 2774locales[name] = locales[name].parentLocale; 2775if (name === getSetGlobalLocale()) { 2776getSetGlobalLocale(name); 2777} 2778} else if (locales[name] != null) { 2779delete locales[name]; 2780} 2781} 2782} 2783return locales[name]; 2784} 2785// returns locale data 2786function getLocale(key) { 2787var locale; 2788if (key && key._locale && key._locale._abbr) { 2789key = key._locale._abbr; 2790} 2791if (!key) { 2792return globalLocale; 2793} 2794if (!isArray(key)) { 2795//short-circuit everything else 2796locale = loadLocale(key); 2797if (locale) { 2798return locale; 2799} 2800key = [key]; 2801} 2802return chooseLocale(key); 2803} 2804function listLocales() { 2805return keys(locales); 2806} 2807function checkOverflow(m) { 2808var overflow, 2809a = m._a; 2810if (a && getParsingFlags(m).overflow === -2) { 2811overflow = 2812a[MONTH] < 0 || a[MONTH] > 11 2813? MONTH 2814: a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) 2815? DATE 2816: a[HOUR] < 0 || 2817a[HOUR] > 24 || 2818(a[HOUR] === 24 && 2819(a[MINUTE] !== 0 || 2820a[SECOND] !== 0 || 2821a[MILLISECOND] !== 0)) 2822? HOUR 2823: a[MINUTE] < 0 || a[MINUTE] > 59 2824? MINUTE 2825: a[SECOND] < 0 || a[SECOND] > 59 2826? SECOND 2827: a[MILLISECOND] < 0 || a[MILLISECOND] > 999 2828? MILLISECOND 2829: -1; 2830if ( 2831getParsingFlags(m)._overflowDayOfYear && 2832(overflow < YEAR || overflow > DATE) 2833) { 2834overflow = DATE; 2835} 2836if (getParsingFlags(m)._overflowWeeks && overflow === -1) { 2837overflow = WEEK; 2838} 2839if (getParsingFlags(m)._overflowWeekday && overflow === -1) { 2840overflow = WEEKDAY; 2841} 2842getParsingFlags(m).overflow = overflow; 2843} 2844return m; 2845} 2846// iso 8601 regex 2847// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) 2848var extendedIsoRegex = 2849/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, 2850basicIsoRegex = 2851/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, 2852tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, 2853isoDates = [ 2854['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], 2855['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], 2856['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], 2857['GGGG-[W]WW', /\d{4}-W\d\d/, false], 2858['YYYY-DDD', /\d{4}-\d{3}/], 2859['YYYY-MM', /\d{4}-\d\d/, false], 2860['YYYYYYMMDD', /[+-]\d{10}/], 2861['YYYYMMDD', /\d{8}/], 2862['GGGG[W]WWE', /\d{4}W\d{3}/], 2863['GGGG[W]WW', /\d{4}W\d{2}/, false], 2864['YYYYDDD', /\d{7}/], 2865['YYYYMM', /\d{6}/, false], 2866['YYYY', /\d{4}/, false], 2867], 2868// iso time formats and regexes 2869isoTimes = [ 2870['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], 2871['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], 2872['HH:mm:ss', /\d\d:\d\d:\d\d/], 2873['HH:mm', /\d\d:\d\d/], 2874['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], 2875['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], 2876['HHmmss', /\d\d\d\d\d\d/], 2877['HHmm', /\d\d\d\d/], 2878['HH', /\d\d/], 2879], 2880aspNetJsonRegex = /^\/?Date\((-?\d+)/i, 2881// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 2882rfc2822 = 2883/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, 2884obsOffsets = { 2885UT: 0, 2886GMT: 0, 2887EDT: -4 * 60, 2888EST: -5 * 60, 2889CDT: -5 * 60, 2890CST: -6 * 60, 2891MDT: -6 * 60, 2892MST: -7 * 60, 2893PDT: -7 * 60, 2894PST: -8 * 60, 2895}; 2896// date from iso format 2897function configFromISO(config) { 2898var i, 2899l, 2900string = config._i, 2901match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), 2902allowTime, 2903dateFormat, 2904timeFormat, 2905tzFormat, 2906isoDatesLen = isoDates.length, 2907isoTimesLen = isoTimes.length; 2908if (match) { 2909getParsingFlags(config).iso = true; 2910for (i = 0, l = isoDatesLen; i < l; i++) { 2911if (isoDates[i][1].exec(match[1])) { 2912dateFormat = isoDates[i][0]; 2913allowTime = isoDates[i][2] !== false; 2914break; 2915} 2916} 2917if (dateFormat == null) { 2918config._isValid = false; 2919return; 2920} 2921if (match[3]) { 2922for (i = 0, l = isoTimesLen; i < l; i++) { 2923if (isoTimes[i][1].exec(match[3])) { 2924// match[2] should be 'T' or space 2925timeFormat = (match[2] || ' ') + isoTimes[i][0]; 2926break; 2927} 2928} 2929if (timeFormat == null) { 2930config._isValid = false; 2931return; 2932} 2933} 2934if (!allowTime && timeFormat != null) { 2935config._isValid = false; 2936return; 2937} 2938if (match[4]) { 2939if (tzRegex.exec(match[4])) { 2940tzFormat = 'Z'; 2941} else { 2942config._isValid = false; 2943return; 2944} 2945} 2946config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); 2947configFromStringAndFormat(config); 2948} else { 2949config._isValid = false; 2950} 2951} 2952function extractFromRFC2822Strings( 2953yearStr, 2954monthStr, 2955dayStr, 2956hourStr, 2957minuteStr, 2958secondStr 2959) { 2960var result = [ 2961untruncateYear(yearStr), 2962defaultLocaleMonthsShort.indexOf(monthStr), 2963parseInt(dayStr, 10), 2964parseInt(hourStr, 10), 2965parseInt(minuteStr, 10), 2966]; 2967if (secondStr) { 2968result.push(parseInt(secondStr, 10)); 2969} 2970return result; 2971} 2972function untruncateYear(yearStr) { 2973var year = parseInt(yearStr, 10); 2974if (year <= 49) { 2975return 2000 + year; 2976} else if (year <= 999) { 2977return 1900 + year; 2978} 2979return year; 2980} 2981function preprocessRFC2822(s) { 2982// Remove comments and folding whitespace and replace multiple-spaces with a single space 2983return s 2984.replace(/\([^()]*\)|[\n\t]/g, ' ') 2985.replace(/(\s\s+)/g, ' ') 2986.replace(/^\s\s*/, '') 2987.replace(/\s\s*$/, ''); 2988} 2989function checkWeekday(weekdayStr, parsedInput, config) { 2990if (weekdayStr) { 2991// TODO: Replace the vanilla JS Date object with an independent day-of-week check. 2992var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), 2993weekdayActual = new Date( 2994parsedInput[0], 2995parsedInput[1], 2996parsedInput[2] 2997).getDay(); 2998if (weekdayProvided !== weekdayActual) { 2999getParsingFlags(config).weekdayMismatch = true; 3000config._isValid = false; 3001return false; 3002} 3003} 3004return true; 3005} 3006function calculateOffset(obsOffset, militaryOffset, numOffset) { 3007if (obsOffset) { 3008return obsOffsets[obsOffset]; 3009} else if (militaryOffset) { 3010// the only allowed military tz is Z 3011return 0; 3012} else { 3013var hm = parseInt(numOffset, 10), 3014m = hm % 100, 3015h = (hm - m) / 100; 3016return h * 60 + m; 3017} 3018} 3019// date and time from ref 2822 format 3020function configFromRFC2822(config) { 3021var match = rfc2822.exec(preprocessRFC2822(config._i)), 3022parsedArray; 3023if (match) { 3024parsedArray = extractFromRFC2822Strings( 3025match[4], 3026match[3], 3027match[2], 3028match[5], 3029match[6], 3030match[7] 3031); 3032if (!checkWeekday(match[1], parsedArray, config)) { 3033return; 3034} 3035config._a = parsedArray; 3036config._tzm = calculateOffset(match[8], match[9], match[10]); 3037config._d = createUTCDate.apply(null, config._a); 3038config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); 3039getParsingFlags(config).rfc2822 = true; 3040} else { 3041config._isValid = false; 3042} 3043} 3044// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict 3045function configFromString(config) { 3046var matched = aspNetJsonRegex.exec(config._i); 3047if (matched !== null) { 3048config._d = new Date(+matched[1]); 3049return; 3050} 3051configFromISO(config); 3052if (config._isValid === false) { 3053delete config._isValid; 3054} else { 3055return; 3056} 3057configFromRFC2822(config); 3058if (config._isValid === false) { 3059delete config._isValid; 3060} else { 3061return; 3062} 3063if (config._strict) { 3064config._isValid = false; 3065} else { 3066// Final attempt, use Input Fallback 3067hooks.createFromInputFallback(config); 3068} 3069} 3070hooks.createFromInputFallback = deprecate( 3071'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 3072'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 3073'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', 3074function (config) { 3075config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); 3076} 3077); 3078// Pick the first defined of two or three arguments. 3079function defaults(a, b, c) { 3080if (a != null) { 3081return a; 3082} 3083if (b != null) { 3084return b; 3085} 3086return c; 3087} 3088function currentDateArray(config) { 3089// hooks is actually the exported moment object 3090var nowValue = new Date(hooks.now()); 3091if (config._useUTC) { 3092return [ 3093nowValue.getUTCFullYear(), 3094nowValue.getUTCMonth(), 3095nowValue.getUTCDate(), 3096]; 3097} 3098return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; 3099} 3100// convert an array to a date. 3101// the array should mirror the parameters below 3102// note: all values past the year are optional and will default to the lowest possible value. 3103// [year, month, day , hour, minute, second, millisecond] 3104function configFromArray(config) { 3105var i, 3106date, 3107input = [], 3108currentDate, 3109expectedWeekday, 3110yearToUse; 3111if (config._d) { 3112return; 3113} 3114currentDate = currentDateArray(config); 3115//compute day of the year from weeks and weekdays 3116if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { 3117dayOfYearFromWeekInfo(config); 3118} 3119//if the day of the year is set, figure out what it is 3120if (config._dayOfYear != null) { 3121yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); 3122if ( 3123config._dayOfYear > daysInYear(yearToUse) || 3124config._dayOfYear === 0 3125) { 3126getParsingFlags(config)._overflowDayOfYear = true; 3127} 3128date = createUTCDate(yearToUse, 0, config._dayOfYear); 3129config._a[MONTH] = date.getUTCMonth(); 3130config._a[DATE] = date.getUTCDate(); 3131} 3132// Default to current date. 3133// * if no year, month, day of month are given, default to today 3134// * if day of month is given, default month and year 3135// * if month is given, default only year 3136// * if year is given, don't default anything 3137for (i = 0; i < 3 && config._a[i] == null; ++i) { 3138config._a[i] = input[i] = currentDate[i]; 3139} 3140// Zero out whatever was not defaulted, including time 3141for (; i < 7; i++) { 3142config._a[i] = input[i] = 3143config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i]; 3144} 3145// Check for 24:00:00.000 3146if ( 3147config._a[HOUR] === 24 && 3148config._a[MINUTE] === 0 && 3149config._a[SECOND] === 0 && 3150config._a[MILLISECOND] === 0 3151) { 3152config._nextDay = true; 3153config._a[HOUR] = 0; 3154} 3155config._d = (config._useUTC ? createUTCDate : createDate).apply( 3156null, 3157input 3158); 3159expectedWeekday = config._useUTC 3160? config._d.getUTCDay() 3161: config._d.getDay(); 3162// Apply timezone offset from input. The actual utcOffset can be changed 3163// with parseZone. 3164if (config._tzm != null) { 3165config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); 3166} 3167if (config._nextDay) { 3168config._a[HOUR] = 24; 3169} 3170// check for mismatching day of week 3171if ( 3172config._w && 3173typeof config._w.d !== 'undefined' && 3174config._w.d !== expectedWeekday 3175) { 3176getParsingFlags(config).weekdayMismatch = true; 3177} 3178} 3179function dayOfYearFromWeekInfo(config) { 3180var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek; 3181w = config._w; 3182if (w.GG != null || w.W != null || w.E != null) { 3183dow = 1; 3184doy = 4; 3185// TODO: We need to take the current isoWeekYear, but that depends on 3186// how we interpret now (local, utc, fixed offset). So create 3187// a now version of current config (take local/utc/offset flags, and 3188// create now). 3189weekYear = defaults( 3190w.GG, 3191config._a[YEAR], 3192weekOfYear(createLocal(), 1, 4).year 3193); 3194week = defaults(w.W, 1); 3195weekday = defaults(w.E, 1); 3196if (weekday < 1 || weekday > 7) { 3197weekdayOverflow = true; 3198} 3199} else { 3200dow = config._locale._week.dow; 3201doy = config._locale._week.doy; 3202curWeek = weekOfYear(createLocal(), dow, doy); 3203weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); 3204// Default to current week. 3205week = defaults(w.w, curWeek.week); 3206if (w.d != null) { 3207// weekday -- low day numbers are considered next week 3208weekday = w.d; 3209if (weekday < 0 || weekday > 6) { 3210weekdayOverflow = true; 3211} 3212} else if (w.e != null) { 3213// local weekday -- counting starts from beginning of week 3214weekday = w.e + dow; 3215if (w.e < 0 || w.e > 6) { 3216weekdayOverflow = true; 3217} 3218} else { 3219// default to beginning of week 3220weekday = dow; 3221} 3222} 3223if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { 3224getParsingFlags(config)._overflowWeeks = true; 3225} else if (weekdayOverflow != null) { 3226getParsingFlags(config)._overflowWeekday = true; 3227} else { 3228temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); 3229config._a[YEAR] = temp.year; 3230config._dayOfYear = temp.dayOfYear; 3231} 3232} 3233// constant that refers to the ISO standard 3234hooks.ISO_8601 = function () {}; 3235// constant that refers to the RFC 2822 form 3236hooks.RFC_2822 = function () {}; 3237// date from string and format string 3238function configFromStringAndFormat(config) { 3239// TODO: Move this to another part of the creation flow to prevent circular deps 3240if (config._f === hooks.ISO_8601) { 3241configFromISO(config); 3242return; 3243} 3244if (config._f === hooks.RFC_2822) { 3245configFromRFC2822(config); 3246return; 3247} 3248config._a = []; 3249getParsingFlags(config).empty = true; 3250// This array is used to make a Date, either with `new Date` or `Date.UTC` 3251var string = '' + config._i, 3252i, 3253parsedInput, 3254tokens, 3255token, 3256skipped, 3257stringLength = string.length, 3258totalParsedInputLength = 0, 3259era, 3260tokenLen; 3261tokens = 3262expandFormat(config._f, config._locale).match(formattingTokens) || []; 3263tokenLen = tokens.length; 3264for (i = 0; i < tokenLen; i++) { 3265token = tokens[i]; 3266parsedInput = (string.match(getParseRegexForToken(token, config)) || 3267[])[0]; 3268if (parsedInput) { 3269skipped = string.substr(0, string.indexOf(parsedInput)); 3270if (skipped.length > 0) { 3271getParsingFlags(config).unusedInput.push(skipped); 3272} 3273string = string.slice( 3274string.indexOf(parsedInput) + parsedInput.length 3275); 3276totalParsedInputLength += parsedInput.length; 3277} 3278// don't parse if it's not a known token 3279if (formatTokenFunctions[token]) { 3280if (parsedInput) { 3281getParsingFlags(config).empty = false; 3282} else { 3283getParsingFlags(config).unusedTokens.push(token); 3284} 3285addTimeToArrayFromToken(token, parsedInput, config); 3286} else if (config._strict && !parsedInput) { 3287getParsingFlags(config).unusedTokens.push(token); 3288} 3289} 3290// add remaining unparsed input length to the string 3291getParsingFlags(config).charsLeftOver = 3292stringLength - totalParsedInputLength; 3293if (string.length > 0) { 3294getParsingFlags(config).unusedInput.push(string); 3295} 3296// clear _12h flag if hour is <= 12 3297if ( 3298config._a[HOUR] <= 12 && 3299getParsingFlags(config).bigHour === true && 3300config._a[HOUR] > 0 3301) { 3302getParsingFlags(config).bigHour = undefined; 3303} 3304getParsingFlags(config).parsedDateParts = config._a.slice(0); 3305getParsingFlags(config).meridiem = config._meridiem; 3306// handle meridiem 3307config._a[HOUR] = meridiemFixWrap( 3308config._locale, 3309config._a[HOUR], 3310config._meridiem 3311); 3312// handle era 3313era = getParsingFlags(config).era; 3314if (era !== null) { 3315config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]); 3316} 3317configFromArray(config); 3318checkOverflow(config); 3319} 3320function meridiemFixWrap(locale, hour, meridiem) { 3321var isPm; 3322if (meridiem == null) { 3323// nothing to do 3324return hour; 3325} 3326if (locale.meridiemHour != null) { 3327return locale.meridiemHour(hour, meridiem); 3328} else if (locale.isPM != null) { 3329// Fallback 3330isPm = locale.isPM(meridiem); 3331if (isPm && hour < 12) { 3332hour += 12; 3333} 3334if (!isPm && hour === 12) { 3335hour = 0; 3336} 3337return hour; 3338} else { 3339// this is not supposed to happen 3340return hour; 3341} 3342} 3343// date from string and array of format strings 3344function configFromStringAndArray(config) { 3345var tempConfig, 3346bestMoment, 3347scoreToBeat, 3348i, 3349currentScore, 3350validFormatFound, 3351bestFormatIsValid = false, 3352configfLen = config._f.length; 3353if (configfLen === 0) { 3354getParsingFlags(config).invalidFormat = true; 3355config._d = new Date(NaN); 3356return; 3357} 3358for (i = 0; i < configfLen; i++) { 3359currentScore = 0; 3360validFormatFound = false; 3361tempConfig = copyConfig({}, config); 3362if (config._useUTC != null) { 3363tempConfig._useUTC = config._useUTC; 3364} 3365tempConfig._f = config._f[i]; 3366configFromStringAndFormat(tempConfig); 3367if (isValid(tempConfig)) { 3368validFormatFound = true; 3369} 3370// if there is any input that was not parsed add a penalty for that format 3371currentScore += getParsingFlags(tempConfig).charsLeftOver; 3372//or tokens 3373currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; 3374getParsingFlags(tempConfig).score = currentScore; 3375if (!bestFormatIsValid) { 3376if ( 3377scoreToBeat == null || 3378currentScore < scoreToBeat || 3379validFormatFound 3380) { 3381scoreToBeat = currentScore; 3382bestMoment = tempConfig; 3383if (validFormatFound) { 3384bestFormatIsValid = true; 3385} 3386} 3387} else { 3388if (currentScore < scoreToBeat) { 3389scoreToBeat = currentScore; 3390bestMoment = tempConfig; 3391} 3392} 3393} 3394extend(config, bestMoment || tempConfig); 3395} 3396function configFromObject(config) { 3397if (config._d) { 3398return; 3399} 3400var i = normalizeObjectUnits(config._i), 3401dayOrDate = i.day === undefined ? i.date : i.day; 3402config._a = map( 3403[i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], 3404function (obj) { 3405return obj && parseInt(obj, 10); 3406} 3407); 3408configFromArray(config); 3409} 3410function createFromConfig(config) { 3411var res = new Moment(checkOverflow(prepareConfig(config))); 3412if (res._nextDay) { 3413// Adding is smart enough around DST 3414res.add(1, 'd'); 3415res._nextDay = undefined; 3416} 3417return res; 3418} 3419function prepareConfig(config) { 3420var input = config._i, 3421format = config._f; 3422config._locale = config._locale || getLocale(config._l); 3423if (input === null || (format === undefined && input === '')) { 3424return createInvalid({ nullInput: true }); 3425} 3426if (typeof input === 'string') { 3427config._i = input = config._locale.preparse(input); 3428} 3429if (isMoment(input)) { 3430return new Moment(checkOverflow(input)); 3431} else if (isDate(input)) { 3432config._d = input; 3433} else if (isArray(format)) { 3434configFromStringAndArray(config); 3435} else if (format) { 3436configFromStringAndFormat(config); 3437} else { 3438configFromInput(config); 3439} 3440if (!isValid(config)) { 3441config._d = null; 3442} 3443return config; 3444} 3445function configFromInput(config) { 3446var input = config._i; 3447if (isUndefined(input)) { 3448config._d = new Date(hooks.now()); 3449} else if (isDate(input)) { 3450config._d = new Date(input.valueOf()); 3451} else if (typeof input === 'string') { 3452configFromString(config); 3453} else if (isArray(input)) { 3454config._a = map(input.slice(0), function (obj) { 3455return parseInt(obj, 10); 3456}); 3457configFromArray(config); 3458} else if (isObject(input)) { 3459configFromObject(config); 3460} else if (isNumber(input)) { 3461// from milliseconds 3462config._d = new Date(input); 3463} else { 3464hooks.createFromInputFallback(config); 3465} 3466} 3467function createLocalOrUTC(input, format, locale, strict, isUTC) { 3468var c = {}; 3469if (format === true || format === false) { 3470strict = format; 3471format = undefined; 3472} 3473if (locale === true || locale === false) { 3474strict = locale; 3475locale = undefined; 3476} 3477if ( 3478(isObject(input) && isObjectEmpty(input)) || 3479(isArray(input) && input.length === 0) 3480) { 3481input = undefined; 3482} 3483// object construction must be done this way. 3484// https://github.com/moment/moment/issues/1423 3485c._isAMomentObject = true; 3486c._useUTC = c._isUTC = isUTC; 3487c._l = locale; 3488c._i = input; 3489c._f = format; 3490c._strict = strict; 3491return createFromConfig(c); 3492} 3493function createLocal(input, format, locale, strict) { 3494return createLocalOrUTC(input, format, locale, strict, false); 3495} 3496var prototypeMin = deprecate( 3497'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', 3498function () { 3499var other = createLocal.apply(null, arguments); 3500if (this.isValid() && other.isValid()) { 3501return other < this ? this : other; 3502} else { 3503return createInvalid(); 3504} 3505} 3506), 3507prototypeMax = deprecate( 3508'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', 3509function () { 3510var other = createLocal.apply(null, arguments); 3511if (this.isValid() && other.isValid()) { 3512return other > this ? this : other; 3513} else { 3514return createInvalid(); 3515} 3516} 3517); 3518// Pick a moment m from moments so that m[fn](other) is true for all 3519// other. This relies on the function fn to be transitive. 3520// 3521// moments should either be an array of moment objects or an array, whose 3522// first element is an array of moment objects. 3523function pickBy(fn, moments) { 3524var res, i; 3525if (moments.length === 1 && isArray(moments[0])) { 3526moments = moments[0]; 3527} 3528if (!moments.length) { 3529return createLocal(); 3530} 3531res = moments[0]; 3532for (i = 1; i < moments.length; ++i) { 3533if (!moments[i].isValid() || moments[i][fn](res)) { 3534res = moments[i]; 3535} 3536} 3537return res; 3538} 3539// TODO: Use [].sort instead? 3540function min() { 3541var args = [].slice.call(arguments, 0); 3542return pickBy('isBefore', args); 3543} 3544function max() { 3545var args = [].slice.call(arguments, 0); 3546return pickBy('isAfter', args); 3547} 3548var now = function () { 3549return Date.now ? Date.now() : +new Date(); 3550}; 3551var ordering = [ 3552'year', 3553'quarter', 3554'month', 3555'week', 3556'day', 3557'hour', 3558'minute', 3559'second', 3560'millisecond', 3561]; 3562function isDurationValid(m) { 3563var key, 3564unitHasDecimal = false, 3565i, 3566orderLen = ordering.length; 3567for (key in m) { 3568if ( 3569hasOwnProp(m, key) && 3570!( 3571indexOf.call(ordering, key) !== -1 && 3572(m[key] == null || !isNaN(m[key])) 3573) 3574) { 3575return false; 3576} 3577} 3578for (i = 0; i < orderLen; ++i) { 3579if (m[ordering[i]]) { 3580if (unitHasDecimal) { 3581return false; // only allow non-integers for smallest unit 3582} 3583if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { 3584unitHasDecimal = true; 3585} 3586} 3587} 3588return true; 3589} 3590function isValid$1() { 3591return this._isValid; 3592} 3593function createInvalid$1() { 3594return createDuration(NaN); 3595} 3596function Duration(duration) { 3597var normalizedInput = normalizeObjectUnits(duration), 3598years = normalizedInput.year || 0, 3599quarters = normalizedInput.quarter || 0, 3600months = normalizedInput.month || 0, 3601weeks = normalizedInput.week || normalizedInput.isoWeek || 0, 3602days = normalizedInput.day || 0, 3603hours = normalizedInput.hour || 0, 3604minutes = normalizedInput.minute || 0, 3605seconds = normalizedInput.second || 0, 3606milliseconds = normalizedInput.millisecond || 0; 3607this._isValid = isDurationValid(normalizedInput); 3608// representation for dateAddRemove 3609this._milliseconds = 3610+milliseconds + 3611seconds * 1e3 + // 1000 3612minutes * 6e4 + // 1000 * 60 3613hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 3614// Because of dateAddRemove treats 24 hours as different from a 3615// day when working around DST, we need to store them separately 3616this._days = +days + weeks * 7; 3617// It is impossible to translate months into days without knowing 3618// which months you are are talking about, so we have to store 3619// it separately. 3620this._months = +months + quarters * 3 + years * 12; 3621this._data = {}; 3622this._locale = getLocale(); 3623this._bubble(); 3624} 3625function isDuration(obj) { 3626return obj instanceof Duration; 3627} 3628function absRound(number) { 3629if (number < 0) { 3630return Math.round(-1 * number) * -1; 3631} else { 3632return Math.round(number); 3633} 3634} 3635// compare two arrays, return the number of differences 3636function compareArrays(array1, array2, dontConvert) { 3637var len = Math.min(array1.length, array2.length), 3638lengthDiff = Math.abs(array1.length - array2.length), 3639diffs = 0, 3640i; 3641for (i = 0; i < len; i++) { 3642if ( 3643(dontConvert && array1[i] !== array2[i]) || 3644(!dontConvert && toInt(array1[i]) !== toInt(array2[i])) 3645) { 3646diffs++; 3647} 3648} 3649return diffs + lengthDiff; 3650} 3651// FORMATTING 3652function offset(token, separator) { 3653addFormatToken(token, 0, 0, function () { 3654var offset = this.utcOffset(), 3655sign = '+'; 3656if (offset < 0) { 3657offset = -offset; 3658sign = '-'; 3659} 3660return ( 3661sign + 3662zeroFill(~~(offset / 60), 2) + 3663separator + 3664zeroFill(~~offset % 60, 2) 3665); 3666}); 3667} 3668offset('Z', ':'); 3669offset('ZZ', ''); 3670// PARSING 3671addRegexToken('Z', matchShortOffset); 3672addRegexToken('ZZ', matchShortOffset); 3673addParseToken(['Z', 'ZZ'], function (input, array, config) { 3674config._useUTC = true; 3675config._tzm = offsetFromString(matchShortOffset, input); 3676}); 3677// HELPERS 3678// timezone chunker 3679// '+10:00' > ['10', '00'] 3680// '-1530' > ['-15', '30'] 3681var chunkOffset = /([\+\-]|\d\d)/gi; 3682function offsetFromString(matcher, string) { 3683var matches = (string || '').match(matcher), 3684chunk, 3685parts, 3686minutes; 3687if (matches === null) { 3688return null; 3689} 3690chunk = matches[matches.length - 1] || []; 3691parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; 3692minutes = +(parts[1] * 60) + toInt(parts[2]); 3693return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes; 3694} 3695// Return a moment from input, that is local/utc/zone equivalent to model. 3696function cloneWithOffset(input, model) { 3697var res, diff; 3698if (model._isUTC) { 3699res = model.clone(); 3700diff = 3701(isMoment(input) || isDate(input) 3702? input.valueOf() 3703: createLocal(input).valueOf()) - res.valueOf(); 3704// Use low-level api, because this fn is low-level api. 3705res._d.setTime(res._d.valueOf() + diff); 3706hooks.updateOffset(res, false); 3707return res; 3708} else { 3709return createLocal(input).local(); 3710} 3711} 3712function getDateOffset(m) { 3713// On Firefox.24 Date#getTimezoneOffset returns a floating point. 3714// https://github.com/moment/moment/pull/1871 3715return -Math.round(m._d.getTimezoneOffset()); 3716} 3717// HOOKS 3718// This function will be called whenever a moment is mutated. 3719// It is intended to keep the offset in sync with the timezone. 3720hooks.updateOffset = function () {}; 3721// MOMENTS 3722// keepLocalTime = true means only change the timezone, without 3723// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> 3724// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset 3725// +0200, so we adjust the time as needed, to be valid. 3726// 3727// Keeping the time actually adds/subtracts (one hour) 3728// from the actual represented time. That is why we call updateOffset 3729// a second time. In case it wants us to change the offset again 3730// _changeInProgress == true case, then we have to adjust, because 3731// there is no such time in the given timezone. 3732function getSetOffset(input, keepLocalTime, keepMinutes) { 3733var offset = this._offset || 0, 3734localAdjust; 3735if (!this.isValid()) { 3736return input != null ? this : NaN; 3737} 3738if (input != null) { 3739if (typeof input === 'string') { 3740input = offsetFromString(matchShortOffset, input); 3741if (input === null) { 3742return this; 3743} 3744} else if (Math.abs(input) < 16 && !keepMinutes) { 3745input = input * 60; 3746} 3747if (!this._isUTC && keepLocalTime) { 3748localAdjust = getDateOffset(this); 3749} 3750this._offset = input; 3751this._isUTC = true; 3752if (localAdjust != null) { 3753this.add(localAdjust, 'm'); 3754} 3755if (offset !== input) { 3756if (!keepLocalTime || this._changeInProgress) { 3757addSubtract( 3758this, 3759createDuration(input - offset, 'm'), 37601, 3761false 3762); 3763} else if (!this._changeInProgress) { 3764this._changeInProgress = true; 3765hooks.updateOffset(this, true); 3766this._changeInProgress = null; 3767} 3768} 3769return this; 3770} else { 3771return this._isUTC ? offset : getDateOffset(this); 3772} 3773} 3774function getSetZone(input, keepLocalTime) { 3775if (input != null) { 3776if (typeof input !== 'string') { 3777input = -input; 3778} 3779this.utcOffset(input, keepLocalTime); 3780return this; 3781} else { 3782return -this.utcOffset(); 3783} 3784} 3785function setOffsetToUTC(keepLocalTime) { 3786return this.utcOffset(0, keepLocalTime); 3787} 3788function setOffsetToLocal(keepLocalTime) { 3789if (this._isUTC) { 3790this.utcOffset(0, keepLocalTime); 3791this._isUTC = false; 3792if (keepLocalTime) { 3793this.subtract(getDateOffset(this), 'm'); 3794} 3795} 3796return this; 3797} 3798function setOffsetToParsedOffset() { 3799if (this._tzm != null) { 3800this.utcOffset(this._tzm, false, true); 3801} else if (typeof this._i === 'string') { 3802var tZone = offsetFromString(matchOffset, this._i); 3803if (tZone != null) { 3804this.utcOffset(tZone); 3805} else { 3806this.utcOffset(0, true); 3807} 3808} 3809return this; 3810} 3811function hasAlignedHourOffset(input) { 3812if (!this.isValid()) { 3813return false; 3814} 3815input = input ? createLocal(input).utcOffset() : 0; 3816return (this.utcOffset() - input) % 60 === 0; 3817} 3818function isDaylightSavingTime() { 3819return ( 3820this.utcOffset() > this.clone().month(0).utcOffset() || 3821this.utcOffset() > this.clone().month(5).utcOffset() 3822); 3823} 3824function isDaylightSavingTimeShifted() { 3825if (!isUndefined(this._isDSTShifted)) { 3826return this._isDSTShifted; 3827} 3828var c = {}, 3829other; 3830copyConfig(c, this); 3831c = prepareConfig(c); 3832if (c._a) { 3833other = c._isUTC ? createUTC(c._a) : createLocal(c._a); 3834this._isDSTShifted = 3835this.isValid() && compareArrays(c._a, other.toArray()) > 0; 3836} else { 3837this._isDSTShifted = false; 3838} 3839return this._isDSTShifted; 3840} 3841function isLocal() { 3842return this.isValid() ? !this._isUTC : false; 3843} 3844function isUtcOffset() { 3845return this.isValid() ? this._isUTC : false; 3846} 3847function isUtc() { 3848return this.isValid() ? this._isUTC && this._offset === 0 : false; 3849} 3850// ASP.NET json date format regex 3851var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, 3852// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html 3853// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere 3854// and further modified to allow for strings containing both week and day 3855isoRegex = 3856/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; 3857function createDuration(input, key) { 3858var duration = input, 3859// matching against regexp is expensive, do it on demand 3860match = null, 3861sign, 3862ret, 3863diffRes; 3864if (isDuration(input)) { 3865duration = { 3866ms: input._milliseconds, 3867d: input._days, 3868M: input._months, 3869}; 3870} else if (isNumber(input) || !isNaN(+input)) { 3871duration = {}; 3872if (key) { 3873duration[key] = +input; 3874} else { 3875duration.milliseconds = +input; 3876} 3877} else if ((match = aspNetRegex.exec(input))) { 3878sign = match[1] === '-' ? -1 : 1; 3879duration = { 3880y: 0, 3881d: toInt(match[DATE]) * sign, 3882h: toInt(match[HOUR]) * sign, 3883m: toInt(match[MINUTE]) * sign, 3884s: toInt(match[SECOND]) * sign, 3885ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match 3886}; 3887} else if ((match = isoRegex.exec(input))) { 3888sign = match[1] === '-' ? -1 : 1; 3889duration = { 3890y: parseIso(match[2], sign), 3891M: parseIso(match[3], sign), 3892w: parseIso(match[4], sign), 3893d: parseIso(match[5], sign), 3894h: parseIso(match[6], sign), 3895m: parseIso(match[7], sign), 3896s: parseIso(match[8], sign), 3897}; 3898} else if (duration == null) { 3899// checks for null or undefined 3900duration = {}; 3901} else if ( 3902typeof duration === 'object' && 3903('from' in duration || 'to' in duration) 3904) { 3905diffRes = momentsDifference( 3906createLocal(duration.from), 3907createLocal(duration.to) 3908); 3909duration = {}; 3910duration.ms = diffRes.milliseconds; 3911duration.M = diffRes.months; 3912} 3913ret = new Duration(duration); 3914if (isDuration(input) && hasOwnProp(input, '_locale')) { 3915ret._locale = input._locale; 3916} 3917if (isDuration(input) && hasOwnProp(input, '_isValid')) { 3918ret._isValid = input._isValid; 3919} 3920return ret; 3921} 3922createDuration.fn = Duration.prototype; 3923createDuration.invalid = createInvalid$1; 3924function parseIso(inp, sign) { 3925// We'd normally use ~~inp for this, but unfortunately it also 3926// converts floats to ints. 3927// inp may be undefined, so careful calling replace on it. 3928var res = inp && parseFloat(inp.replace(',', '.')); 3929// apply sign while we're at it 3930return (isNaN(res) ? 0 : res) * sign; 3931} 3932function positiveMomentsDifference(base, other) { 3933var res = {}; 3934res.months = 3935other.month() - base.month() + (other.year() - base.year()) * 12; 3936if (base.clone().add(res.months, 'M').isAfter(other)) { 3937--res.months; 3938} 3939res.milliseconds = +other - +base.clone().add(res.months, 'M'); 3940return res; 3941} 3942function momentsDifference(base, other) { 3943var res; 3944if (!(base.isValid() && other.isValid())) { 3945return { milliseconds: 0, months: 0 }; 3946} 3947other = cloneWithOffset(other, base); 3948if (base.isBefore(other)) { 3949res = positiveMomentsDifference(base, other); 3950} else { 3951res = positiveMomentsDifference(other, base); 3952res.milliseconds = -res.milliseconds; 3953res.months = -res.months; 3954} 3955return res; 3956} 3957// TODO: remove 'name' arg after deprecation is removed 3958function createAdder(direction, name) { 3959return function (val, period) { 3960var dur, tmp; 3961//invert the arguments, but complain about it 3962if (period !== null && !isNaN(+period)) { 3963deprecateSimple( 3964name, 3965'moment().' + 3966name + 3967'(period, number) is deprecated. Please use moment().' + 3968name + 3969'(number, period). ' + 3970'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' 3971); 3972tmp = val; 3973val = period; 3974period = tmp; 3975} 3976dur = createDuration(val, period); 3977addSubtract(this, dur, direction); 3978return this; 3979}; 3980} 3981function addSubtract(mom, duration, isAdding, updateOffset) { 3982var milliseconds = duration._milliseconds, 3983days = absRound(duration._days), 3984months = absRound(duration._months); 3985if (!mom.isValid()) { 3986// No op 3987return; 3988} 3989updateOffset = updateOffset == null ? true : updateOffset; 3990if (months) { 3991setMonth(mom, get(mom, 'Month') + months * isAdding); 3992} 3993if (days) { 3994set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); 3995} 3996if (milliseconds) { 3997mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); 3998} 3999if (updateOffset) { 4000hooks.updateOffset(mom, days || months); 4001} 4002} 4003var add = createAdder(1, 'add'), 4004subtract = createAdder(-1, 'subtract'); 4005function isString(input) { 4006return typeof input === 'string' || input instanceof String; 4007} 4008// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined 4009function isMomentInput(input) { 4010return ( 4011isMoment(input) || 4012isDate(input) || 4013isString(input) || 4014isNumber(input) || 4015isNumberOrStringArray(input) || 4016isMomentInputObject(input) || 4017input === null || 4018input === undefined 4019); 4020} 4021function isMomentInputObject(input) { 4022var objectTest = isObject(input) && !isObjectEmpty(input), 4023propertyTest = false, 4024properties = [ 4025'years', 4026'year', 4027'y', 4028'months', 4029'month', 4030'M', 4031'days', 4032'day', 4033'd', 4034'dates', 4035'date', 4036'D', 4037'hours', 4038'hour', 4039'h', 4040'minutes', 4041'minute', 4042'm', 4043'seconds', 4044'second', 4045's', 4046'milliseconds', 4047'millisecond', 4048'ms', 4049], 4050i, 4051property, 4052propertyLen = properties.length; 4053for (i = 0; i < propertyLen; i += 1) { 4054property = properties[i]; 4055propertyTest = propertyTest || hasOwnProp(input, property); 4056} 4057return objectTest && propertyTest; 4058} 4059function isNumberOrStringArray(input) { 4060var arrayTest = isArray(input), 4061dataTypeTest = false; 4062if (arrayTest) { 4063dataTypeTest = 4064input.filter(function (item) { 4065return !isNumber(item) && isString(input); 4066}).length === 0; 4067} 4068return arrayTest && dataTypeTest; 4069} 4070function isCalendarSpec(input) { 4071var objectTest = isObject(input) && !isObjectEmpty(input), 4072propertyTest = false, 4073properties = [ 4074'sameDay', 4075'nextDay', 4076'lastDay', 4077'nextWeek', 4078'lastWeek', 4079'sameElse', 4080], 4081i, 4082property; 4083for (i = 0; i < properties.length; i += 1) { 4084property = properties[i]; 4085propertyTest = propertyTest || hasOwnProp(input, property); 4086} 4087return objectTest && propertyTest; 4088} 4089function getCalendarFormat(myMoment, now) { 4090var diff = myMoment.diff(now, 'days', true); 4091return diff < -6 4092? 'sameElse' 4093: diff < -1 4094? 'lastWeek' 4095: diff < 0 4096? 'lastDay' 4097: diff < 1 4098? 'sameDay' 4099: diff < 2 4100? 'nextDay' 4101: diff < 7 4102? 'nextWeek' 4103: 'sameElse'; 4104} 4105function calendar$1(time, formats) { 4106// Support for single parameter, formats only overload to the calendar function 4107if (arguments.length === 1) { 4108if (!arguments[0]) { 4109time = undefined; 4110formats = undefined; 4111} else if (isMomentInput(arguments[0])) { 4112time = arguments[0]; 4113formats = undefined; 4114} else if (isCalendarSpec(arguments[0])) { 4115formats = arguments[0]; 4116time = undefined; 4117} 4118} 4119// We want to compare the start of today, vs this. 4120// Getting start-of-today depends on whether we're local/utc/offset or not. 4121var now = time || createLocal(), 4122sod = cloneWithOffset(now, this).startOf('day'), 4123format = hooks.calendarFormat(this, sod) || 'sameElse', 4124output = 4125formats && 4126(isFunction(formats[format]) 4127? formats[format].call(this, now) 4128: formats[format]); 4129return this.format( 4130output || this.localeData().calendar(format, this, createLocal(now)) 4131); 4132} 4133function clone() { 4134return new Moment(this); 4135} 4136function isAfter(input, units) { 4137var localInput = isMoment(input) ? input : createLocal(input); 4138if (!(this.isValid() && localInput.isValid())) { 4139return false; 4140} 4141units = normalizeUnits(units) || 'millisecond'; 4142if (units === 'millisecond') { 4143return this.valueOf() > localInput.valueOf(); 4144} else { 4145return localInput.valueOf() < this.clone().startOf(units).valueOf(); 4146} 4147} 4148function isBefore(input, units) { 4149var localInput = isMoment(input) ? input : createLocal(input); 4150if (!(this.isValid() && localInput.isValid())) { 4151return false; 4152} 4153units = normalizeUnits(units) || 'millisecond'; 4154if (units === 'millisecond') { 4155return this.valueOf() < localInput.valueOf(); 4156} else { 4157return this.clone().endOf(units).valueOf() < localInput.valueOf(); 4158} 4159} 4160function isBetween(from, to, units, inclusivity) { 4161var localFrom = isMoment(from) ? from : createLocal(from), 4162localTo = isMoment(to) ? to : createLocal(to); 4163if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { 4164return false; 4165} 4166inclusivity = inclusivity || '()'; 4167return ( 4168(inclusivity[0] === '(' 4169? this.isAfter(localFrom, units) 4170: !this.isBefore(localFrom, units)) && 4171(inclusivity[1] === ')' 4172? this.isBefore(localTo, units) 4173: !this.isAfter(localTo, units)) 4174); 4175} 4176function isSame(input, units) { 4177var localInput = isMoment(input) ? input : createLocal(input), 4178inputMs; 4179if (!(this.isValid() && localInput.isValid())) { 4180return false; 4181} 4182units = normalizeUnits(units) || 'millisecond'; 4183if (units === 'millisecond') { 4184return this.valueOf() === localInput.valueOf(); 4185} else { 4186inputMs = localInput.valueOf(); 4187return ( 4188this.clone().startOf(units).valueOf() <= inputMs && 4189inputMs <= this.clone().endOf(units).valueOf() 4190); 4191} 4192} 4193function isSameOrAfter(input, units) { 4194return this.isSame(input, units) || this.isAfter(input, units); 4195} 4196function isSameOrBefore(input, units) { 4197return this.isSame(input, units) || this.isBefore(input, units); 4198} 4199function diff(input, units, asFloat) { 4200var that, zoneDelta, output; 4201if (!this.isValid()) { 4202return NaN; 4203} 4204that = cloneWithOffset(input, this); 4205if (!that.isValid()) { 4206return NaN; 4207} 4208zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; 4209units = normalizeUnits(units); 4210switch (units) { 4211case 'year': 4212output = monthDiff(this, that) / 12; 4213break; 4214case 'month': 4215output = monthDiff(this, that); 4216break; 4217case 'quarter': 4218output = monthDiff(this, that) / 3; 4219break; 4220case 'second': 4221output = (this - that) / 1e3; 4222break; // 1000 4223case 'minute': 4224output = (this - that) / 6e4; 4225break; // 1000 * 60 4226case 'hour': 4227output = (this - that) / 36e5; 4228break; // 1000 * 60 * 60 4229case 'day': 4230output = (this - that - zoneDelta) / 864e5; 4231break; // 1000 * 60 * 60 * 24, negate dst 4232case 'week': 4233output = (this - that - zoneDelta) / 6048e5; 4234break; // 1000 * 60 * 60 * 24 * 7, negate dst 4235default: 4236output = this - that; 4237} 4238return asFloat ? output : absFloor(output); 4239} 4240function monthDiff(a, b) { 4241if (a.date() < b.date()) { 4242// end-of-month calculations work correct when the start month has more 4243// days than the end month. 4244return -monthDiff(b, a); 4245} 4246// difference in months 4247var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), 4248// b is in (anchor - 1 month, anchor + 1 month) 4249anchor = a.clone().add(wholeMonthDiff, 'months'), 4250anchor2, 4251adjust; 4252if (b - anchor < 0) { 4253anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); 4254// linear across the month 4255adjust = (b - anchor) / (anchor - anchor2); 4256} else { 4257anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); 4258// linear across the month 4259adjust = (b - anchor) / (anchor2 - anchor); 4260} 4261//check for negative zero, return zero if negative zero 4262return -(wholeMonthDiff + adjust) || 0; 4263} 4264hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; 4265hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; 4266function toString() { 4267return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); 4268} 4269function toISOString(keepOffset) { 4270if (!this.isValid()) { 4271return null; 4272} 4273var utc = keepOffset !== true, 4274m = utc ? this.clone().utc() : this; 4275if (m.year() < 0 || m.year() > 9999) { 4276return formatMoment( 4277m, 4278utc 4279? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' 4280: 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' 4281); 4282} 4283if (isFunction(Date.prototype.toISOString)) { 4284// native implementation is ~50x faster, use it when we can 4285if (utc) { 4286return this.toDate().toISOString(); 4287} else { 4288return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) 4289.toISOString() 4290.replace('Z', formatMoment(m, 'Z')); 4291} 4292} 4293return formatMoment( 4294m, 4295utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' 4296); 4297} 4298/** 4299* Return a human readable representation of a moment that can 4300* also be evaluated to get a new moment which is the same 4301* 4302* @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects 4303*/ 4304function inspect() { 4305if (!this.isValid()) { 4306return 'moment.invalid(/* ' + this._i + ' */)'; 4307} 4308var func = 'moment', 4309zone = '', 4310prefix, 4311year, 4312datetime, 4313suffix; 4314if (!this.isLocal()) { 4315func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; 4316zone = 'Z'; 4317} 4318prefix = '[' + func + '("]'; 4319year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'; 4320datetime = '-MM-DD[T]HH:mm:ss.SSS'; 4321suffix = zone + '[")]'; 4322return this.format(prefix + year + datetime + suffix); 4323} 4324function format(inputString) { 4325if (!inputString) { 4326inputString = this.isUtc() 4327? hooks.defaultFormatUtc 4328: hooks.defaultFormat; 4329} 4330var output = formatMoment(this, inputString); 4331return this.localeData().postformat(output); 4332} 4333function from(time, withoutSuffix) { 4334if ( 4335this.isValid() && 4336((isMoment(time) && time.isValid()) || createLocal(time).isValid()) 4337) { 4338return createDuration({ to: this, from: time }) 4339.locale(this.locale()) 4340.humanize(!withoutSuffix); 4341} else { 4342return this.localeData().invalidDate(); 4343} 4344} 4345function fromNow(withoutSuffix) { 4346return this.from(createLocal(), withoutSuffix); 4347} 4348function to(time, withoutSuffix) { 4349if ( 4350this.isValid() && 4351((isMoment(time) && time.isValid()) || createLocal(time).isValid()) 4352) { 4353return createDuration({ from: this, to: time }) 4354.locale(this.locale()) 4355.humanize(!withoutSuffix); 4356} else { 4357return this.localeData().invalidDate(); 4358} 4359} 4360function toNow(withoutSuffix) { 4361return this.to(createLocal(), withoutSuffix); 4362} 4363// If passed a locale key, it will set the locale for this 4364// instance. Otherwise, it will return the locale configuration 4365// variables for this instance. 4366function locale(key) { 4367var newLocaleData; 4368if (key === undefined) { 4369return this._locale._abbr; 4370} else { 4371newLocaleData = getLocale(key); 4372if (newLocaleData != null) { 4373this._locale = newLocaleData; 4374} 4375return this; 4376} 4377} 4378var lang = deprecate( 4379'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', 4380function (key) { 4381if (key === undefined) { 4382return this.localeData(); 4383} else { 4384return this.locale(key); 4385} 4386} 4387); 4388function localeData() { 4389return this._locale; 4390} 4391var MS_PER_SECOND = 1000, 4392MS_PER_MINUTE = 60 * MS_PER_SECOND, 4393MS_PER_HOUR = 60 * MS_PER_MINUTE, 4394MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; 4395// actual modulo - handles negative numbers (for dates before 1970): 4396function mod$1(dividend, divisor) { 4397return ((dividend % divisor) + divisor) % divisor; 4398} 4399function localStartOfDate(y, m, d) { 4400// the date constructor remaps years 0-99 to 1900-1999 4401if (y < 100 && y >= 0) { 4402// preserve leap years using a full 400 year cycle, then reset 4403return new Date(y + 400, m, d) - MS_PER_400_YEARS; 4404} else { 4405return new Date(y, m, d).valueOf(); 4406} 4407} 4408function utcStartOfDate(y, m, d) { 4409// Date.UTC remaps years 0-99 to 1900-1999 4410if (y < 100 && y >= 0) { 4411// preserve leap years using a full 400 year cycle, then reset 4412return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; 4413} else { 4414return Date.UTC(y, m, d); 4415} 4416} 4417function startOf(units) { 4418var time, startOfDate; 4419units = normalizeUnits(units); 4420if (units === undefined || units === 'millisecond' || !this.isValid()) { 4421return this; 4422} 4423startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; 4424switch (units) { 4425case 'year': 4426time = startOfDate(this.year(), 0, 1); 4427break; 4428case 'quarter': 4429time = startOfDate( 4430this.year(), 4431this.month() - (this.month() % 3), 44321 4433); 4434break; 4435case 'month': 4436time = startOfDate(this.year(), this.month(), 1); 4437break; 4438case 'week': 4439time = startOfDate( 4440this.year(), 4441this.month(), 4442this.date() - this.weekday() 4443); 4444break; 4445case 'isoWeek': 4446time = startOfDate( 4447this.year(), 4448this.month(), 4449this.date() - (this.isoWeekday() - 1) 4450); 4451break; 4452case 'day': 4453case 'date': 4454time = startOfDate(this.year(), this.month(), this.date()); 4455break; 4456case 'hour': 4457time = this._d.valueOf(); 4458time -= mod$1( 4459time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), 4460MS_PER_HOUR 4461); 4462break; 4463case 'minute': 4464time = this._d.valueOf(); 4465time -= mod$1(time, MS_PER_MINUTE); 4466break; 4467case 'second': 4468time = this._d.valueOf(); 4469time -= mod$1(time, MS_PER_SECOND); 4470break; 4471} 4472this._d.setTime(time); 4473hooks.updateOffset(this, true); 4474return this; 4475} 4476function endOf(units) { 4477var time, startOfDate; 4478units = normalizeUnits(units); 4479if (units === undefined || units === 'millisecond' || !this.isValid()) { 4480return this; 4481} 4482startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; 4483switch (units) { 4484case 'year': 4485time = startOfDate(this.year() + 1, 0, 1) - 1; 4486break; 4487case 'quarter': 4488time = 4489startOfDate( 4490this.year(), 4491this.month() - (this.month() % 3) + 3, 44921 4493) - 1; 4494break; 4495case 'month': 4496time = startOfDate(this.year(), this.month() + 1, 1) - 1; 4497break; 4498case 'week': 4499time = 4500startOfDate( 4501this.year(), 4502this.month(), 4503this.date() - this.weekday() + 7 4504) - 1; 4505break; 4506case 'isoWeek': 4507time = 4508startOfDate( 4509this.year(), 4510this.month(), 4511this.date() - (this.isoWeekday() - 1) + 7 4512) - 1; 4513break; 4514case 'day': 4515case 'date': 4516time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; 4517break; 4518case 'hour': 4519time = this._d.valueOf(); 4520time += 4521MS_PER_HOUR - 4522mod$1( 4523time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), 4524MS_PER_HOUR 4525) - 45261; 4527break; 4528case 'minute': 4529time = this._d.valueOf(); 4530time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; 4531break; 4532case 'second': 4533time = this._d.valueOf(); 4534time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; 4535break; 4536} 4537this._d.setTime(time); 4538hooks.updateOffset(this, true); 4539return this; 4540} 4541function valueOf() { 4542return this._d.valueOf() - (this._offset || 0) * 60000; 4543} 4544function unix() { 4545return Math.floor(this.valueOf() / 1000); 4546} 4547function toDate() { 4548return new Date(this.valueOf()); 4549} 4550function toArray() { 4551var m = this; 4552return [ 4553m.year(), 4554m.month(), 4555m.date(), 4556m.hour(), 4557m.minute(), 4558m.second(), 4559m.millisecond(), 4560]; 4561} 4562function toObject() { 4563var m = this; 4564return { 4565years: m.year(), 4566months: m.month(), 4567date: m.date(), 4568hours: m.hours(), 4569minutes: m.minutes(), 4570seconds: m.seconds(), 4571milliseconds: m.milliseconds(), 4572}; 4573} 4574function toJSON() { 4575// new Date(NaN).toJSON() === null 4576return this.isValid() ? this.toISOString() : null; 4577} 4578function isValid$2() { 4579return isValid(this); 4580} 4581function parsingFlags() { 4582return extend({}, getParsingFlags(this)); 4583} 4584function invalidAt() { 4585return getParsingFlags(this).overflow; 4586} 4587function creationData() { 4588return { 4589input: this._i, 4590format: this._f, 4591locale: this._locale, 4592isUTC: this._isUTC, 4593strict: this._strict, 4594}; 4595} 4596addFormatToken('N', 0, 0, 'eraAbbr'); 4597addFormatToken('NN', 0, 0, 'eraAbbr'); 4598addFormatToken('NNN', 0, 0, 'eraAbbr'); 4599addFormatToken('NNNN', 0, 0, 'eraName'); 4600addFormatToken('NNNNN', 0, 0, 'eraNarrow'); 4601addFormatToken('y', ['y', 1], 'yo', 'eraYear'); 4602addFormatToken('y', ['yy', 2], 0, 'eraYear'); 4603addFormatToken('y', ['yyy', 3], 0, 'eraYear'); 4604addFormatToken('y', ['yyyy', 4], 0, 'eraYear'); 4605addRegexToken('N', matchEraAbbr); 4606addRegexToken('NN', matchEraAbbr); 4607addRegexToken('NNN', matchEraAbbr); 4608addRegexToken('NNNN', matchEraName); 4609addRegexToken('NNNNN', matchEraNarrow); 4610addParseToken( 4611['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], 4612function (input, array, config, token) { 4613var era = config._locale.erasParse(input, token, config._strict); 4614if (era) { 4615getParsingFlags(config).era = era; 4616} else { 4617getParsingFlags(config).invalidEra = input; 4618} 4619} 4620); 4621addRegexToken('y', matchUnsigned); 4622addRegexToken('yy', matchUnsigned); 4623addRegexToken('yyy', matchUnsigned); 4624addRegexToken('yyyy', matchUnsigned); 4625addRegexToken('yo', matchEraYearOrdinal); 4626addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR); 4627addParseToken(['yo'], function (input, array, config, token) { 4628var match; 4629if (config._locale._eraYearOrdinalRegex) { 4630match = input.match(config._locale._eraYearOrdinalRegex); 4631} 4632if (config._locale.eraYearOrdinalParse) { 4633array[YEAR] = config._locale.eraYearOrdinalParse(input, match); 4634} else { 4635array[YEAR] = parseInt(input, 10); 4636} 4637}); 4638function localeEras(m, format) { 4639var i, 4640l, 4641date, 4642eras = this._eras || getLocale('en')._eras; 4643for (i = 0, l = eras.length; i < l; ++i) { 4644switch (typeof eras[i].since) { 4645case 'string': 4646// truncate time 4647date = hooks(eras[i].since).startOf('day'); 4648eras[i].since = date.valueOf(); 4649break; 4650} 4651switch (typeof eras[i].until) { 4652case 'undefined': 4653eras[i].until = +Infinity; 4654break; 4655case 'string': 4656// truncate time 4657date = hooks(eras[i].until).startOf('day').valueOf(); 4658eras[i].until = date.valueOf(); 4659break; 4660} 4661} 4662return eras; 4663} 4664function localeErasParse(eraName, format, strict) { 4665var i, 4666l, 4667eras = this.eras(), 4668name, 4669abbr, 4670narrow; 4671eraName = eraName.toUpperCase(); 4672for (i = 0, l = eras.length; i < l; ++i) { 4673name = eras[i].name.toUpperCase(); 4674abbr = eras[i].abbr.toUpperCase(); 4675narrow = eras[i].narrow.toUpperCase(); 4676if (strict) { 4677switch (format) { 4678case 'N': 4679case 'NN': 4680case 'NNN': 4681if (abbr === eraName) { 4682return eras[i]; 4683} 4684break; 4685case 'NNNN': 4686if (name === eraName) { 4687return eras[i]; 4688} 4689break; 4690case 'NNNNN': 4691if (narrow === eraName) { 4692return eras[i]; 4693} 4694break; 4695} 4696} else if ([name, abbr, narrow].indexOf(eraName) >= 0) { 4697return eras[i]; 4698} 4699} 4700} 4701function localeErasConvertYear(era, year) { 4702var dir = era.since <= era.until ? +1 : -1; 4703if (year === undefined) { 4704return hooks(era.since).year(); 4705} else { 4706return hooks(era.since).year() + (year - era.offset) * dir; 4707} 4708} 4709function getEraName() { 4710var i, 4711l, 4712val, 4713eras = this.localeData().eras(); 4714for (i = 0, l = eras.length; i < l; ++i) { 4715// truncate time 4716val = this.clone().startOf('day').valueOf(); 4717if (eras[i].since <= val && val <= eras[i].until) { 4718return eras[i].name; 4719} 4720if (eras[i].until <= val && val <= eras[i].since) { 4721return eras[i].name; 4722} 4723} 4724return ''; 4725} 4726function getEraNarrow() { 4727var i, 4728l, 4729val, 4730eras = this.localeData().eras(); 4731for (i = 0, l = eras.length; i < l; ++i) { 4732// truncate time 4733val = this.clone().startOf('day').valueOf(); 4734if (eras[i].since <= val && val <= eras[i].until) { 4735return eras[i].narrow; 4736} 4737if (eras[i].until <= val && val <= eras[i].since) { 4738return eras[i].narrow; 4739} 4740} 4741return ''; 4742} 4743function getEraAbbr() { 4744var i, 4745l, 4746val, 4747eras = this.localeData().eras(); 4748for (i = 0, l = eras.length; i < l; ++i) { 4749// truncate time 4750val = this.clone().startOf('day').valueOf(); 4751if (eras[i].since <= val && val <= eras[i].until) { 4752return eras[i].abbr; 4753} 4754if (eras[i].until <= val && val <= eras[i].since) { 4755return eras[i].abbr; 4756} 4757} 4758return ''; 4759} 4760function getEraYear() { 4761var i, 4762l, 4763dir, 4764val, 4765eras = this.localeData().eras(); 4766for (i = 0, l = eras.length; i < l; ++i) { 4767dir = eras[i].since <= eras[i].until ? +1 : -1; 4768// truncate time 4769val = this.clone().startOf('day').valueOf(); 4770if ( 4771(eras[i].since <= val && val <= eras[i].until) || 4772(eras[i].until <= val && val <= eras[i].since) 4773) { 4774return ( 4775(this.year() - hooks(eras[i].since).year()) * dir + 4776eras[i].offset 4777); 4778} 4779} 4780return this.year(); 4781} 4782function erasNameRegex(isStrict) { 4783if (!hasOwnProp(this, '_erasNameRegex')) { 4784computeErasParse.call(this); 4785} 4786return isStrict ? this._erasNameRegex : this._erasRegex; 4787} 4788function erasAbbrRegex(isStrict) { 4789if (!hasOwnProp(this, '_erasAbbrRegex')) { 4790computeErasParse.call(this); 4791} 4792return isStrict ? this._erasAbbrRegex : this._erasRegex; 4793} 4794function erasNarrowRegex(isStrict) { 4795if (!hasOwnProp(this, '_erasNarrowRegex')) { 4796computeErasParse.call(this); 4797} 4798return isStrict ? this._erasNarrowRegex : this._erasRegex; 4799} 4800function matchEraAbbr(isStrict, locale) { 4801return locale.erasAbbrRegex(isStrict); 4802} 4803function matchEraName(isStrict, locale) { 4804return locale.erasNameRegex(isStrict); 4805} 4806function matchEraNarrow(isStrict, locale) { 4807return locale.erasNarrowRegex(isStrict); 4808} 4809function matchEraYearOrdinal(isStrict, locale) { 4810return locale._eraYearOrdinalRegex || matchUnsigned; 4811} 4812function computeErasParse() { 4813var abbrPieces = [], 4814namePieces = [], 4815narrowPieces = [], 4816mixedPieces = [], 4817i, 4818l, 4819eras = this.eras(); 4820for (i = 0, l = eras.length; i < l; ++i) { 4821namePieces.push(regexEscape(eras[i].name)); 4822abbrPieces.push(regexEscape(eras[i].abbr)); 4823narrowPieces.push(regexEscape(eras[i].narrow)); 4824mixedPieces.push(regexEscape(eras[i].name)); 4825mixedPieces.push(regexEscape(eras[i].abbr)); 4826mixedPieces.push(regexEscape(eras[i].narrow)); 4827} 4828this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 4829this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i'); 4830this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i'); 4831this._erasNarrowRegex = new RegExp( 4832'^(' + narrowPieces.join('|') + ')', 4833'i' 4834); 4835} 4836// FORMATTING 4837addFormatToken(0, ['gg', 2], 0, function () { 4838return this.weekYear() % 100; 4839}); 4840addFormatToken(0, ['GG', 2], 0, function () { 4841return this.isoWeekYear() % 100; 4842}); 4843function addWeekYearFormatToken(token, getter) { 4844addFormatToken(0, [token, token.length], 0, getter); 4845} 4846addWeekYearFormatToken('gggg', 'weekYear'); 4847addWeekYearFormatToken('ggggg', 'weekYear'); 4848addWeekYearFormatToken('GGGG', 'isoWeekYear'); 4849addWeekYearFormatToken('GGGGG', 'isoWeekYear'); 4850// ALIASES 4851addUnitAlias('weekYear', 'gg'); 4852addUnitAlias('isoWeekYear', 'GG'); 4853// PRIORITY 4854addUnitPriority('weekYear', 1); 4855addUnitPriority('isoWeekYear', 1); 4856// PARSING 4857addRegexToken('G', matchSigned); 4858addRegexToken('g', matchSigned); 4859addRegexToken('GG', match1to2, match2); 4860addRegexToken('gg', match1to2, match2); 4861addRegexToken('GGGG', match1to4, match4); 4862addRegexToken('gggg', match1to4, match4); 4863addRegexToken('GGGGG', match1to6, match6); 4864addRegexToken('ggggg', match1to6, match6); 4865addWeekParseToken( 4866['gggg', 'ggggg', 'GGGG', 'GGGGG'], 4867function (input, week, config, token) { 4868week[token.substr(0, 2)] = toInt(input); 4869} 4870); 4871addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { 4872week[token] = hooks.parseTwoDigitYear(input); 4873}); 4874// MOMENTS 4875function getSetWeekYear(input) { 4876return getSetWeekYearHelper.call( 4877this, 4878input, 4879this.week(), 4880this.weekday(), 4881this.localeData()._week.dow, 4882this.localeData()._week.doy 4883); 4884} 4885function getSetISOWeekYear(input) { 4886return getSetWeekYearHelper.call( 4887this, 4888input, 4889this.isoWeek(), 4890this.isoWeekday(), 48911, 48924 4893); 4894} 4895function getISOWeeksInYear() { 4896return weeksInYear(this.year(), 1, 4); 4897} 4898function getISOWeeksInISOWeekYear() { 4899return weeksInYear(this.isoWeekYear(), 1, 4); 4900} 4901function getWeeksInYear() { 4902var weekInfo = this.localeData()._week; 4903return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); 4904} 4905function getWeeksInWeekYear() { 4906var weekInfo = this.localeData()._week; 4907return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy); 4908} 4909function getSetWeekYearHelper(input, week, weekday, dow, doy) { 4910var weeksTarget; 4911if (input == null) { 4912return weekOfYear(this, dow, doy).year; 4913} else { 4914weeksTarget = weeksInYear(input, dow, doy); 4915if (week > weeksTarget) { 4916week = weeksTarget; 4917} 4918return setWeekAll.call(this, input, week, weekday, dow, doy); 4919} 4920} 4921function setWeekAll(weekYear, week, weekday, dow, doy) { 4922var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), 4923date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); 4924this.year(date.getUTCFullYear()); 4925this.month(date.getUTCMonth()); 4926this.date(date.getUTCDate()); 4927return this; 4928} 4929// FORMATTING 4930addFormatToken('Q', 0, 'Qo', 'quarter'); 4931// ALIASES 4932addUnitAlias('quarter', 'Q'); 4933// PRIORITY 4934addUnitPriority('quarter', 7); 4935// PARSING 4936addRegexToken('Q', match1); 4937addParseToken('Q', function (input, array) { 4938array[MONTH] = (toInt(input) - 1) * 3; 4939}); 4940// MOMENTS 4941function getSetQuarter(input) { 4942return input == null 4943? Math.ceil((this.month() + 1) / 3) 4944: this.month((input - 1) * 3 + (this.month() % 3)); 4945} 4946// FORMATTING 4947addFormatToken('D', ['DD', 2], 'Do', 'date'); 4948// ALIASES 4949addUnitAlias('date', 'D'); 4950// PRIORITY 4951addUnitPriority('date', 9); 4952// PARSING 4953addRegexToken('D', match1to2); 4954addRegexToken('DD', match1to2, match2); 4955addRegexToken('Do', function (isStrict, locale) { 4956// TODO: Remove "ordinalParse" fallback in next major release. 4957return isStrict 4958? locale._dayOfMonthOrdinalParse || locale._ordinalParse 4959: locale._dayOfMonthOrdinalParseLenient; 4960}); 4961addParseToken(['D', 'DD'], DATE); 4962addParseToken('Do', function (input, array) { 4963array[DATE] = toInt(input.match(match1to2)[0]); 4964}); 4965// MOMENTS 4966var getSetDayOfMonth = makeGetSet('Date', true); 4967// FORMATTING 4968addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); 4969// ALIASES 4970addUnitAlias('dayOfYear', 'DDD'); 4971// PRIORITY 4972addUnitPriority('dayOfYear', 4); 4973// PARSING 4974addRegexToken('DDD', match1to3); 4975addRegexToken('DDDD', match3); 4976addParseToken(['DDD', 'DDDD'], function (input, array, config) { 4977config._dayOfYear = toInt(input); 4978}); 4979// HELPERS 4980// MOMENTS 4981function getSetDayOfYear(input) { 4982var dayOfYear = 4983Math.round( 4984(this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 4985) + 1; 4986return input == null ? dayOfYear : this.add(input - dayOfYear, 'd'); 4987} 4988// FORMATTING 4989addFormatToken('m', ['mm', 2], 0, 'minute'); 4990// ALIASES 4991addUnitAlias('minute', 'm'); 4992// PRIORITY 4993addUnitPriority('minute', 14); 4994// PARSING 4995addRegexToken('m', match1to2); 4996addRegexToken('mm', match1to2, match2); 4997addParseToken(['m', 'mm'], MINUTE); 4998// MOMENTS 4999var getSetMinute = makeGetSet('Minutes', false); 5000// FORMATTING 5001addFormatToken('s', ['ss', 2], 0, 'second'); 5002// ALIASES 5003addUnitAlias('second', 's'); 5004// PRIORITY 5005addUnitPriority('second', 15); 5006// PARSING 5007addRegexToken('s', match1to2); 5008addRegexToken('ss', match1to2, match2); 5009addParseToken(['s', 'ss'], SECOND); 5010// MOMENTS 5011var getSetSecond = makeGetSet('Seconds', false); 5012// FORMATTING 5013addFormatToken('S', 0, 0, function () { 5014return ~~(this.millisecond() / 100); 5015}); 5016addFormatToken(0, ['SS', 2], 0, function () { 5017return ~~(this.millisecond() / 10); 5018}); 5019addFormatToken(0, ['SSS', 3], 0, 'millisecond'); 5020addFormatToken(0, ['SSSS', 4], 0, function () { 5021return this.millisecond() * 10; 5022}); 5023addFormatToken(0, ['SSSSS', 5], 0, function () { 5024return this.millisecond() * 100; 5025}); 5026addFormatToken(0, ['SSSSSS', 6], 0, function () { 5027return this.millisecond() * 1000; 5028}); 5029addFormatToken(0, ['SSSSSSS', 7], 0, function () { 5030return this.millisecond() * 10000; 5031}); 5032addFormatToken(0, ['SSSSSSSS', 8], 0, function () { 5033return this.millisecond() * 100000; 5034}); 5035addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { 5036return this.millisecond() * 1000000; 5037}); 5038// ALIASES 5039addUnitAlias('millisecond', 'ms'); 5040// PRIORITY 5041addUnitPriority('millisecond', 16); 5042// PARSING 5043addRegexToken('S', match1to3, match1); 5044addRegexToken('SS', match1to3, match2); 5045addRegexToken('SSS', match1to3, match3); 5046var token, getSetMillisecond; 5047for (token = 'SSSS'; token.length <= 9; token += 'S') { 5048addRegexToken(token, matchUnsigned); 5049} 5050function parseMs(input, array) { 5051array[MILLISECOND] = toInt(('0.' + input) * 1000); 5052} 5053for (token = 'S'; token.length <= 9; token += 'S') { 5054addParseToken(token, parseMs); 5055} 5056getSetMillisecond = makeGetSet('Milliseconds', false); 5057// FORMATTING 5058addFormatToken('z', 0, 0, 'zoneAbbr'); 5059addFormatToken('zz', 0, 0, 'zoneName'); 5060// MOMENTS 5061function getZoneAbbr() { 5062return this._isUTC ? 'UTC' : ''; 5063} 5064function getZoneName() { 5065return this._isUTC ? 'Coordinated Universal Time' : ''; 5066} 5067var proto = Moment.prototype; 5068proto.add = add; 5069proto.calendar = calendar$1; 5070proto.clone = clone; 5071proto.diff = diff; 5072proto.endOf = endOf; 5073proto.format = format; 5074proto.from = from; 5075proto.fromNow = fromNow; 5076proto.to = to; 5077proto.toNow = toNow; 5078proto.get = stringGet; 5079proto.invalidAt = invalidAt; 5080proto.isAfter = isAfter; 5081proto.isBefore = isBefore; 5082proto.isBetween = isBetween; 5083proto.isSame = isSame; 5084proto.isSameOrAfter = isSameOrAfter; 5085proto.isSameOrBefore = isSameOrBefore; 5086proto.isValid = isValid$2; 5087proto.lang = lang; 5088proto.locale = locale; 5089proto.localeData = localeData; 5090proto.max = prototypeMax; 5091proto.min = prototypeMin; 5092proto.parsingFlags = parsingFlags; 5093proto.set = stringSet; 5094proto.startOf = startOf; 5095proto.subtract = subtract; 5096proto.toArray = toArray; 5097proto.toObject = toObject; 5098proto.toDate = toDate; 5099proto.toISOString = toISOString; 5100proto.inspect = inspect; 5101if (typeof Symbol !== 'undefined' && Symbol.for != null) { 5102proto[Symbol.for('nodejs.util.inspect.custom')] = function () { 5103return 'Moment<' + this.format() + '>'; 5104}; 5105} 5106proto.toJSON = toJSON; 5107proto.toString = toString; 5108proto.unix = unix; 5109proto.valueOf = valueOf; 5110proto.creationData = creationData; 5111proto.eraName = getEraName; 5112proto.eraNarrow = getEraNarrow; 5113proto.eraAbbr = getEraAbbr; 5114proto.eraYear = getEraYear; 5115proto.year = getSetYear; 5116proto.isLeapYear = getIsLeapYear; 5117proto.weekYear = getSetWeekYear; 5118proto.isoWeekYear = getSetISOWeekYear; 5119proto.quarter = proto.quarters = getSetQuarter; 5120proto.month = getSetMonth; 5121proto.daysInMonth = getDaysInMonth; 5122proto.week = proto.weeks = getSetWeek; 5123proto.isoWeek = proto.isoWeeks = getSetISOWeek; 5124proto.weeksInYear = getWeeksInYear; 5125proto.weeksInWeekYear = getWeeksInWeekYear; 5126proto.isoWeeksInYear = getISOWeeksInYear; 5127proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear; 5128proto.date = getSetDayOfMonth; 5129proto.day = proto.days = getSetDayOfWeek; 5130proto.weekday = getSetLocaleDayOfWeek; 5131proto.isoWeekday = getSetISODayOfWeek; 5132proto.dayOfYear = getSetDayOfYear; 5133proto.hour = proto.hours = getSetHour; 5134proto.minute = proto.minutes = getSetMinute; 5135proto.second = proto.seconds = getSetSecond; 5136proto.millisecond = proto.milliseconds = getSetMillisecond; 5137proto.utcOffset = getSetOffset; 5138proto.utc = setOffsetToUTC; 5139proto.local = setOffsetToLocal; 5140proto.parseZone = setOffsetToParsedOffset; 5141proto.hasAlignedHourOffset = hasAlignedHourOffset; 5142proto.isDST = isDaylightSavingTime; 5143proto.isLocal = isLocal; 5144proto.isUtcOffset = isUtcOffset; 5145proto.isUtc = isUtc; 5146proto.isUTC = isUtc; 5147proto.zoneAbbr = getZoneAbbr; 5148proto.zoneName = getZoneName; 5149proto.dates = deprecate( 5150'dates accessor is deprecated. Use date instead.', 5151getSetDayOfMonth 5152); 5153proto.months = deprecate( 5154'months accessor is deprecated. Use month instead', 5155getSetMonth 5156); 5157proto.years = deprecate( 5158'years accessor is deprecated. Use year instead', 5159getSetYear 5160); 5161proto.zone = deprecate( 5162'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', 5163getSetZone 5164); 5165proto.isDSTShifted = deprecate( 5166'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', 5167isDaylightSavingTimeShifted 5168); 5169function createUnix(input) { 5170return createLocal(input * 1000); 5171} 5172function createInZone() { 5173return createLocal.apply(null, arguments).parseZone(); 5174} 5175function preParsePostFormat(string) { 5176return string; 5177} 5178var proto$1 = Locale.prototype; 5179proto$1.calendar = calendar; 5180proto$1.longDateFormat = longDateFormat; 5181proto$1.invalidDate = invalidDate; 5182proto$1.ordinal = ordinal; 5183proto$1.preparse = preParsePostFormat; 5184proto$1.postformat = preParsePostFormat; 5185proto$1.relativeTime = relativeTime; 5186proto$1.pastFuture = pastFuture; 5187proto$1.set = set; 5188proto$1.eras = localeEras; 5189proto$1.erasParse = localeErasParse; 5190proto$1.erasConvertYear = localeErasConvertYear; 5191proto$1.erasAbbrRegex = erasAbbrRegex; 5192proto$1.erasNameRegex = erasNameRegex; 5193proto$1.erasNarrowRegex = erasNarrowRegex; 5194proto$1.months = localeMonths; 5195proto$1.monthsShort = localeMonthsShort; 5196proto$1.monthsParse = localeMonthsParse; 5197proto$1.monthsRegex = monthsRegex; 5198proto$1.monthsShortRegex = monthsShortRegex; 5199proto$1.week = localeWeek; 5200proto$1.firstDayOfYear = localeFirstDayOfYear; 5201proto$1.firstDayOfWeek = localeFirstDayOfWeek; 5202proto$1.weekdays = localeWeekdays; 5203proto$1.weekdaysMin = localeWeekdaysMin; 5204proto$1.weekdaysShort = localeWeekdaysShort; 5205proto$1.weekdaysParse = localeWeekdaysParse; 5206proto$1.weekdaysRegex = weekdaysRegex; 5207proto$1.weekdaysShortRegex = weekdaysShortRegex; 5208proto$1.weekdaysMinRegex = weekdaysMinRegex; 5209proto$1.isPM = localeIsPM; 5210proto$1.meridiem = localeMeridiem; 5211function get$1(format, index, field, setter) { 5212var locale = getLocale(), 5213utc = createUTC().set(setter, index); 5214return locale[field](utc, format); 5215} 5216function listMonthsImpl(format, index, field) { 5217if (isNumber(format)) { 5218index = format; 5219format = undefined; 5220} 5221format = format || ''; 5222if (index != null) { 5223return get$1(format, index, field, 'month'); 5224} 5225var i, 5226out = []; 5227for (i = 0; i < 12; i++) { 5228out[i] = get$1(format, i, field, 'month'); 5229} 5230return out; 5231} 5232// () 5233// (5) 5234// (fmt, 5) 5235// (fmt) 5236// (true) 5237// (true, 5) 5238// (true, fmt, 5) 5239// (true, fmt) 5240function listWeekdaysImpl(localeSorted, format, index, field) { 5241if (typeof localeSorted === 'boolean') { 5242if (isNumber(format)) { 5243index = format; 5244format = undefined; 5245} 5246format = format || ''; 5247} else { 5248format = localeSorted; 5249index = format; 5250localeSorted = false; 5251if (isNumber(format)) { 5252index = format; 5253format = undefined; 5254} 5255format = format || ''; 5256} 5257var locale = getLocale(), 5258shift = localeSorted ? locale._week.dow : 0, 5259i, 5260out = []; 5261if (index != null) { 5262return get$1(format, (index + shift) % 7, field, 'day'); 5263} 5264for (i = 0; i < 7; i++) { 5265out[i] = get$1(format, (i + shift) % 7, field, 'day'); 5266} 5267return out; 5268} 5269function listMonths(format, index) { 5270return listMonthsImpl(format, index, 'months'); 5271} 5272function listMonthsShort(format, index) { 5273return listMonthsImpl(format, index, 'monthsShort'); 5274} 5275function listWeekdays(localeSorted, format, index) { 5276return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); 5277} 5278function listWeekdaysShort(localeSorted, format, index) { 5279return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); 5280} 5281function listWeekdaysMin(localeSorted, format, index) { 5282return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); 5283} 5284getSetGlobalLocale('en', { 5285eras: [ 5286{ 5287since: '0001-01-01', 5288until: +Infinity, 5289offset: 1, 5290name: 'Anno Domini', 5291narrow: 'AD', 5292abbr: 'AD', 5293}, 5294{ 5295since: '0000-12-31', 5296until: -Infinity, 5297offset: 1, 5298name: 'Before Christ', 5299narrow: 'BC', 5300abbr: 'BC', 5301}, 5302], 5303dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, 5304ordinal: function (number) { 5305var b = number % 10, 5306output = 5307toInt((number % 100) / 10) === 1 5308? 'th' 5309: b === 1 5310? 'st' 5311: b === 2 5312? 'nd' 5313: b === 3 5314? 'rd' 5315: 'th'; 5316return number + output; 5317}, 5318}); 5319// Side effect imports 5320hooks.lang = deprecate( 5321'moment.lang is deprecated. Use moment.locale instead.', 5322getSetGlobalLocale 5323); 5324hooks.langData = deprecate( 5325'moment.langData is deprecated. Use moment.localeData instead.', 5326getLocale 5327); 5328var mathAbs = Math.abs; 5329function abs() { 5330var data = this._data; 5331this._milliseconds = mathAbs(this._milliseconds); 5332this._days = mathAbs(this._days); 5333this._months = mathAbs(this._months); 5334data.milliseconds = mathAbs(data.milliseconds); 5335data.seconds = mathAbs(data.seconds); 5336data.minutes = mathAbs(data.minutes); 5337data.hours = mathAbs(data.hours); 5338data.months = mathAbs(data.months); 5339data.years = mathAbs(data.years); 5340return this; 5341} 5342function addSubtract$1(duration, input, value, direction) { 5343var other = createDuration(input, value); 5344duration._milliseconds += direction * other._milliseconds; 5345duration._days += direction * other._days; 5346duration._months += direction * other._months; 5347return duration._bubble(); 5348} 5349// supports only 2.0-style add(1, 's') or add(duration) 5350function add$1(input, value) { 5351return addSubtract$1(this, input, value, 1); 5352} 5353// supports only 2.0-style subtract(1, 's') or subtract(duration) 5354function subtract$1(input, value) { 5355return addSubtract$1(this, input, value, -1); 5356} 5357function absCeil(number) { 5358if (number < 0) { 5359return Math.floor(number); 5360} else { 5361return Math.ceil(number); 5362} 5363} 5364function bubble() { 5365var milliseconds = this._milliseconds, 5366days = this._days, 5367months = this._months, 5368data = this._data, 5369seconds, 5370minutes, 5371hours, 5372years, 5373monthsFromDays; 5374// if we have a mix of positive and negative values, bubble down first 5375// check: https://github.com/moment/moment/issues/2166 5376if ( 5377!( 5378(milliseconds >= 0 && days >= 0 && months >= 0) || 5379(milliseconds <= 0 && days <= 0 && months <= 0) 5380) 5381) { 5382milliseconds += absCeil(monthsToDays(months) + days) * 864e5; 5383days = 0; 5384months = 0; 5385} 5386// The following code bubbles up values, see the tests for 5387// examples of what that means. 5388data.milliseconds = milliseconds % 1000; 5389seconds = absFloor(milliseconds / 1000); 5390data.seconds = seconds % 60; 5391minutes = absFloor(seconds / 60); 5392data.minutes = minutes % 60; 5393hours = absFloor(minutes / 60); 5394data.hours = hours % 24; 5395days += absFloor(hours / 24); 5396// convert days to months 5397monthsFromDays = absFloor(daysToMonths(days)); 5398months += monthsFromDays; 5399days -= absCeil(monthsToDays(monthsFromDays)); 5400// 12 months -> 1 year 5401years = absFloor(months / 12); 5402months %= 12; 5403data.days = days; 5404data.months = months; 5405data.years = years; 5406return this; 5407} 5408function daysToMonths(days) { 5409// 400 years have 146097 days (taking into account leap year rules) 5410// 400 years have 12 months === 4800 5411return (days * 4800) / 146097; 5412} 5413function monthsToDays(months) { 5414// the reverse of daysToMonths 5415return (months * 146097) / 4800; 5416} 5417function as(units) { 5418if (!this.isValid()) { 5419return NaN; 5420} 5421var days, 5422months, 5423milliseconds = this._milliseconds; 5424units = normalizeUnits(units); 5425if (units === 'month' || units === 'quarter' || units === 'year') { 5426days = this._days + milliseconds / 864e5; 5427months = this._months + daysToMonths(days); 5428switch (units) { 5429case 'month': 5430return months; 5431case 'quarter': 5432return months / 3; 5433case 'year': 5434return months / 12; 5435} 5436} else { 5437// handle milliseconds separately because of floating point math errors (issue #1867) 5438days = this._days + Math.round(monthsToDays(this._months)); 5439switch (units) { 5440case 'week': 5441return days / 7 + milliseconds / 6048e5; 5442case 'day': 5443return days + milliseconds / 864e5; 5444case 'hour': 5445return days * 24 + milliseconds / 36e5; 5446case 'minute': 5447return days * 1440 + milliseconds / 6e4; 5448case 'second': 5449return days * 86400 + milliseconds / 1000; 5450// Math.floor prevents floating point math errors here 5451case 'millisecond': 5452return Math.floor(days * 864e5) + milliseconds; 5453default: 5454throw new Error('Unknown unit ' + units); 5455} 5456} 5457} 5458// TODO: Use this.as('ms')? 5459function valueOf$1() { 5460if (!this.isValid()) { 5461return NaN; 5462} 5463return ( 5464this._milliseconds + 5465this._days * 864e5 + 5466(this._months % 12) * 2592e6 + 5467toInt(this._months / 12) * 31536e6 5468); 5469} 5470function makeAs(alias) { 5471return function () { 5472return this.as(alias); 5473}; 5474} 5475var asMilliseconds = makeAs('ms'), 5476asSeconds = makeAs('s'), 5477asMinutes = makeAs('m'), 5478asHours = makeAs('h'), 5479asDays = makeAs('d'), 5480asWeeks = makeAs('w'), 5481asMonths = makeAs('M'), 5482asQuarters = makeAs('Q'), 5483asYears = makeAs('y'); 5484function clone$1() { 5485return createDuration(this); 5486} 5487function get$2(units) { 5488units = normalizeUnits(units); 5489return this.isValid() ? this[units + 's']() : NaN; 5490} 5491function makeGetter(name) { 5492return function () { 5493return this.isValid() ? this._data[name] : NaN; 5494}; 5495} 5496var milliseconds = makeGetter('milliseconds'), 5497seconds = makeGetter('seconds'), 5498minutes = makeGetter('minutes'), 5499hours = makeGetter('hours'), 5500days = makeGetter('days'), 5501months = makeGetter('months'), 5502years = makeGetter('years'); 5503function weeks() { 5504return absFloor(this.days() / 7); 5505} 5506var round = Math.round, 5507thresholds = { 5508ss: 44, // a few seconds to seconds 5509s: 45, // seconds to minute 5510m: 45, // minutes to hour 5511h: 22, // hours to day 5512d: 26, // days to month/week 5513w: null, // weeks to month 5514M: 11, // months to year 5515}; 5516// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize 5517function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { 5518return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); 5519} 5520function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) { 5521var duration = createDuration(posNegDuration).abs(), 5522seconds = round(duration.as('s')), 5523minutes = round(duration.as('m')), 5524hours = round(duration.as('h')), 5525days = round(duration.as('d')), 5526months = round(duration.as('M')), 5527weeks = round(duration.as('w')), 5528years = round(duration.as('y')), 5529a = 5530(seconds <= thresholds.ss && ['s', seconds]) || 5531(seconds < thresholds.s && ['ss', seconds]) || 5532(minutes <= 1 && ['m']) || 5533(minutes < thresholds.m && ['mm', minutes]) || 5534(hours <= 1 && ['h']) || 5535(hours < thresholds.h && ['hh', hours]) || 5536(days <= 1 && ['d']) || 5537(days < thresholds.d && ['dd', days]); 5538if (thresholds.w != null) { 5539a = 5540a || 5541(weeks <= 1 && ['w']) || 5542(weeks < thresholds.w && ['ww', weeks]); 5543} 5544a = a || 5545(months <= 1 && ['M']) || 5546(months < thresholds.M && ['MM', months]) || 5547(years <= 1 && ['y']) || ['yy', years]; 5548a[2] = withoutSuffix; 5549a[3] = +posNegDuration > 0; 5550a[4] = locale; 5551return substituteTimeAgo.apply(null, a); 5552} 5553// This function allows you to set the rounding function for relative time strings 5554function getSetRelativeTimeRounding(roundingFunction) { 5555if (roundingFunction === undefined) { 5556return round; 5557} 5558if (typeof roundingFunction === 'function') { 5559round = roundingFunction; 5560return true; 5561} 5562return false; 5563} 5564// This function allows you to set a threshold for relative time strings 5565function getSetRelativeTimeThreshold(threshold, limit) { 5566if (thresholds[threshold] === undefined) { 5567return false; 5568} 5569if (limit === undefined) { 5570return thresholds[threshold]; 5571} 5572thresholds[threshold] = limit; 5573if (threshold === 's') { 5574thresholds.ss = limit - 1; 5575} 5576return true; 5577} 5578function humanize(argWithSuffix, argThresholds) { 5579if (!this.isValid()) { 5580return this.localeData().invalidDate(); 5581} 5582var withSuffix = false, 5583th = thresholds, 5584locale, 5585output; 5586if (typeof argWithSuffix === 'object') { 5587argThresholds = argWithSuffix; 5588argWithSuffix = false; 5589} 5590if (typeof argWithSuffix === 'boolean') { 5591withSuffix = argWithSuffix; 5592} 5593if (typeof argThresholds === 'object') { 5594th = Object.assign({}, thresholds, argThresholds); 5595if (argThresholds.s != null && argThresholds.ss == null) { 5596th.ss = argThresholds.s - 1; 5597} 5598} 5599locale = this.localeData(); 5600output = relativeTime$1(this, !withSuffix, th, locale); 5601if (withSuffix) { 5602output = locale.pastFuture(+this, output); 5603} 5604return locale.postformat(output); 5605} 5606var abs$1 = Math.abs; 5607function sign(x) { 5608return (x > 0) - (x < 0) || +x; 5609} 5610function toISOString$1() { 5611// for ISO strings we do not use the normal bubbling rules: 5612// * milliseconds bubble up until they become hours 5613// * days do not bubble at all 5614// * months bubble up until they become years 5615// This is because there is no context-free conversion between hours and days 5616// (think of clock changes) 5617// and also not between days and months (28-31 days per month) 5618if (!this.isValid()) { 5619return this.localeData().invalidDate(); 5620} 5621var seconds = abs$1(this._milliseconds) / 1000, 5622days = abs$1(this._days), 5623months = abs$1(this._months), 5624minutes, 5625hours, 5626years, 5627s, 5628total = this.asSeconds(), 5629totalSign, 5630ymSign, 5631daysSign, 5632hmsSign; 5633if (!total) { 5634// this is the same as C#'s (Noda) and python (isodate)... 5635// but not other JS (goog.date) 5636return 'P0D'; 5637} 5638// 3600 seconds -> 60 minutes -> 1 hour 5639minutes = absFloor(seconds / 60); 5640hours = absFloor(minutes / 60); 5641seconds %= 60; 5642minutes %= 60; 5643// 12 months -> 1 year 5644years = absFloor(months / 12); 5645months %= 12; 5646// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js 5647s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : ''; 5648totalSign = total < 0 ? '-' : ''; 5649ymSign = sign(this._months) !== sign(total) ? '-' : ''; 5650daysSign = sign(this._days) !== sign(total) ? '-' : ''; 5651hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : ''; 5652return ( 5653totalSign + 5654'P' + 5655(years ? ymSign + years + 'Y' : '') + 5656(months ? ymSign + months + 'M' : '') + 5657(days ? daysSign + days + 'D' : '') + 5658(hours || minutes || seconds ? 'T' : '') + 5659(hours ? hmsSign + hours + 'H' : '') + 5660(minutes ? hmsSign + minutes + 'M' : '') + 5661(seconds ? hmsSign + s + 'S' : '') 5662); 5663} 5664var proto$2 = Duration.prototype; 5665proto$2.isValid = isValid$1; 5666proto$2.abs = abs; 5667proto$2.add = add$1; 5668proto$2.subtract = subtract$1; 5669proto$2.as = as; 5670proto$2.asMilliseconds = asMilliseconds; 5671proto$2.asSeconds = asSeconds; 5672proto$2.asMinutes = asMinutes; 5673proto$2.asHours = asHours; 5674proto$2.asDays = asDays; 5675proto$2.asWeeks = asWeeks; 5676proto$2.asMonths = asMonths; 5677proto$2.asQuarters = asQuarters; 5678proto$2.asYears = asYears; 5679proto$2.valueOf = valueOf$1; 5680proto$2._bubble = bubble; 5681proto$2.clone = clone$1; 5682proto$2.get = get$2; 5683proto$2.milliseconds = milliseconds; 5684proto$2.seconds = seconds; 5685proto$2.minutes = minutes; 5686proto$2.hours = hours; 5687proto$2.days = days; 5688proto$2.weeks = weeks; 5689proto$2.months = months; 5690proto$2.years = years; 5691proto$2.humanize = humanize; 5692proto$2.toISOString = toISOString$1; 5693proto$2.toString = toISOString$1; 5694proto$2.toJSON = toISOString$1; 5695proto$2.locale = locale; 5696proto$2.localeData = localeData; 5697proto$2.toIsoString = deprecate( 5698'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', 5699toISOString$1 5700); 5701proto$2.lang = lang; 5702// FORMATTING 5703addFormatToken('X', 0, 0, 'unix'); 5704addFormatToken('x', 0, 0, 'valueOf'); 5705// PARSING 5706addRegexToken('x', matchSigned); 5707addRegexToken('X', matchTimestamp);
vendor: 19,309 bytes, lines 5708-6371
5708addParseToken('X', function (input, array, config) { 5709config._d = new Date(parseFloat(input) * 1000); 5710}); 5711addParseToken('x', function (input, array, config) { 5712config._d = new Date(toInt(input)); 5713}); 5714//! moment.js 5715hooks.version = '2.29.4'; 5716setHookCallback(createLocal); 5717hooks.fn = proto; 5718hooks.min = min; 5719hooks.max = max; 5720hooks.now = now; 5721hooks.utc = createUTC; 5722hooks.unix = createUnix; 5723hooks.months = listMonths; 5724hooks.isDate = isDate; 5725hooks.locale = getSetGlobalLocale; 5726hooks.invalid = createInvalid; 5727hooks.duration = createDuration; 5728hooks.isMoment = isMoment; 5729hooks.weekdays = listWeekdays; 5730hooks.parseZone = createInZone; 5731hooks.localeData = getLocale; 5732hooks.isDuration = isDuration; 5733hooks.monthsShort = listMonthsShort; 5734hooks.weekdaysMin = listWeekdaysMin; 5735hooks.defineLocale = defineLocale; 5736hooks.updateLocale = updateLocale; 5737hooks.locales = listLocales; 5738hooks.weekdaysShort = listWeekdaysShort; 5739hooks.normalizeUnits = normalizeUnits; 5740hooks.relativeTimeRounding = getSetRelativeTimeRounding; 5741hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; 5742hooks.calendarFormat = getCalendarFormat; 5743hooks.prototype = proto; 5744// currently HTML5 input type only supports 24-hour formats 5745hooks.HTML5_FMT = { 5746DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" /> 5747DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" /> 5748DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" /> 5749DATE: 'YYYY-MM-DD', // <input type="date" /> 5750TIME: 'HH:mm', // <input type="time" /> 5751TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" /> 5752TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" /> 5753WEEK: 'GGGG-[W]WW', // <input type="week" /> 5754MONTH: 'YYYY-MM', // <input type="month" /> 5755}; 5756return hooks; 5757})));; 5758//! moment-timezone.js 5759//! version : 0.5.45 5760//! Copyright (c) JS Foundation and other contributors 5761//! license : MIT 5762//! github.com/moment/moment-timezone 5763(function (root, factory) { 5764"use strict"; 5765/*global define*/ 5766if (typeof module === 'object' && module.exports) { 5767module.exports = factory(require('moment')); // Node 5768} else if (typeof define === 'function' && define.amd) { 5769define(['moment'], factory); // AMD 5770} else { 5771factory(root.moment); // Browser 5772} 5773}(this, function (moment) { 5774"use strict"; 5775// Resolves es6 module loading issue 5776if (moment.version === undefined && moment.default) { 5777moment = moment.default; 5778} 5779// Do not load moment-timezone a second time. 5780// if (moment.tz !== undefined) { 5781// logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion); 5782// return moment; 5783// } 5784var VERSION = "0.5.45", 5785zones = {}, 5786links = {}, 5787countries = {}, 5788names = {}, 5789guesses = {}, 5790cachedGuess; 5791if (!moment || typeof moment.version !== 'string') { 5792logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/'); 5793} 5794var momentVersion = moment.version.split('.'), 5795major = +momentVersion[0], 5796minor = +momentVersion[1]; 5797// Moment.js version check 5798if (major < 2 || (major === 2 && minor < 6)) { 5799logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com'); 5800} 5801/************************************ 5802Unpacking 5803************************************/ 5804function charCodeToInt(charCode) { 5805if (charCode > 96) { 5806return charCode - 87; 5807} else if (charCode > 64) { 5808return charCode - 29; 5809} 5810return charCode - 48; 5811} 5812function unpackBase60(string) { 5813var i = 0, 5814parts = string.split('.'), 5815whole = parts[0], 5816fractional = parts[1] || '', 5817multiplier = 1, 5818num, 5819out = 0, 5820sign = 1; 5821// handle negative numbers 5822if (string.charCodeAt(0) === 45) { 5823i = 1; 5824sign = -1; 5825} 5826// handle digits before the decimal 5827for (i; i < whole.length; i++) { 5828num = charCodeToInt(whole.charCodeAt(i)); 5829out = 60 * out + num; 5830} 5831// handle digits after the decimal 5832for (i = 0; i < fractional.length; i++) { 5833multiplier = multiplier / 60; 5834num = charCodeToInt(fractional.charCodeAt(i)); 5835out += num * multiplier; 5836} 5837return out * sign; 5838} 5839function arrayToInt (array) { 5840for (var i = 0; i < array.length; i++) { 5841array[i] = unpackBase60(array[i]); 5842} 5843} 5844function intToUntil (array, length) { 5845for (var i = 0; i < length; i++) { 5846array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds 5847} 5848array[length - 1] = Infinity; 5849} 5850function mapIndices (source, indices) { 5851var out = [], i; 5852for (i = 0; i < indices.length; i++) { 5853out[i] = source[indices[i]]; 5854} 5855return out; 5856} 5857function unpack (string) { 5858var data = string.split('|'), 5859offsets = data[2].split(' '), 5860indices = data[3].split(''), 5861untils = data[4].split(' '); 5862arrayToInt(offsets); 5863arrayToInt(indices); 5864arrayToInt(untils); 5865intToUntil(untils, indices.length); 5866return { 5867name : data[0], 5868abbrs : mapIndices(data[1].split(' '), indices), 5869offsets : mapIndices(offsets, indices), 5870untils : untils, 5871population : data[5] | 0 5872}; 5873} 5874/************************************ 5875Zone object 5876************************************/ 5877function Zone (packedString) { 5878if (packedString) { 5879this._set(unpack(packedString)); 5880} 5881} 5882function closest (num, arr) { 5883var len = arr.length; 5884if (num < arr[0]) { 5885return 0; 5886} else if (len > 1 && arr[len - 1] === Infinity && num >= arr[len - 2]) { 5887return len - 1; 5888} else if (num >= arr[len - 1]) { 5889return -1; 5890} 5891var mid; 5892var lo = 0; 5893var hi = len - 1; 5894while (hi - lo > 1) { 5895mid = Math.floor((lo + hi) / 2); 5896if (arr[mid] <= num) { 5897lo = mid; 5898} else { 5899hi = mid; 5900} 5901} 5902return hi; 5903} 5904Zone.prototype = { 5905_set : function (unpacked) { 5906this.name = unpacked.name; 5907this.abbrs = unpacked.abbrs; 5908this.untils = unpacked.untils; 5909this.offsets = unpacked.offsets; 5910this.population = unpacked.population; 5911}, 5912_index : function (timestamp) { 5913var target = +timestamp, 5914untils = this.untils, 5915i; 5916i = closest(target, untils); 5917if (i >= 0) { 5918return i; 5919} 5920}, 5921countries : function () { 5922var zone_name = this.name; 5923return Object.keys(countries).filter(function (country_code) { 5924return countries[country_code].zones.indexOf(zone_name) !== -1; 5925}); 5926}, 5927parse : function (timestamp) { 5928var target = +timestamp, 5929offsets = this.offsets, 5930untils = this.untils, 5931max = untils.length - 1, 5932offset, offsetNext, offsetPrev, i; 5933for (i = 0; i < max; i++) { 5934offset = offsets[i]; 5935offsetNext = offsets[i + 1]; 5936offsetPrev = offsets[i ? i - 1 : i]; 5937if (offset < offsetNext && tz.moveAmbiguousForward) { 5938offset = offsetNext; 5939} else if (offset > offsetPrev && tz.moveInvalidForward) { 5940offset = offsetPrev; 5941} 5942if (target < untils[i] - (offset * 60000)) { 5943return offsets[i]; 5944} 5945} 5946return offsets[max]; 5947}, 5948abbr : function (mom) { 5949return this.abbrs[this._index(mom)]; 5950}, 5951offset : function (mom) { 5952logError("zone.offset has been deprecated in favor of zone.utcOffset"); 5953return this.offsets[this._index(mom)]; 5954}, 5955utcOffset : function (mom) { 5956return this.offsets[this._index(mom)]; 5957} 5958}; 5959/************************************ 5960Country object 5961************************************/ 5962function Country (country_name, zone_names) { 5963this.name = country_name; 5964this.zones = zone_names; 5965} 5966/************************************ 5967Current Timezone 5968************************************/ 5969function OffsetAt(at) { 5970var timeString = at.toTimeString(); 5971var abbr = timeString.match(/\([a-z ]+\)/i); 5972if (abbr && abbr[0]) { 5973// 17:56:31 GMT-0600 (CST) 5974// 17:56:31 GMT-0600 (Central Standard Time) 5975abbr = abbr[0].match(/[A-Z]/g); 5976abbr = abbr ? abbr.join('') : undefined; 5977} else { 5978// 17:56:31 CST 5979// 17:56:31 GMT+0800 (å°åæ¨æºæé) 5980abbr = timeString.match(/[A-Z]{3,5}/g); 5981abbr = abbr ? abbr[0] : undefined; 5982} 5983if (abbr === 'GMT') { 5984abbr = undefined; 5985} 5986this.at = +at; 5987this.abbr = abbr; 5988this.offset = at.getTimezoneOffset(); 5989} 5990function ZoneScore(zone) { 5991this.zone = zone; 5992this.offsetScore = 0; 5993this.abbrScore = 0; 5994} 5995ZoneScore.prototype.scoreOffsetAt = function (offsetAt) { 5996this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset); 5997if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) { 5998this.abbrScore++; 5999} 6000}; 6001function findChange(low, high) { 6002var mid, diff; 6003while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) { 6004mid = new OffsetAt(new Date(low.at + diff)); 6005if (mid.offset === low.offset) { 6006low = mid; 6007} else { 6008high = mid; 6009} 6010} 6011return low; 6012} 6013function userOffsets() { 6014var startYear = new Date().getFullYear() - 2, 6015last = new OffsetAt(new Date(startYear, 0, 1)), 6016lastOffset = last.offset, 6017offsets = [last], 6018change, next, nextOffset, i; 6019for (i = 1; i < 48; i++) { 6020nextOffset = new Date(startYear, i, 1).getTimezoneOffset(); 6021if (nextOffset !== lastOffset) { 6022// Create OffsetAt here to avoid unnecessary abbr parsing before checking offsets 6023next = new OffsetAt(new Date(startYear, i, 1)); 6024change = findChange(last, next); 6025offsets.push(change); 6026offsets.push(new OffsetAt(new Date(change.at + 6e4))); 6027last = next; 6028lastOffset = nextOffset; 6029} 6030} 6031for (i = 0; i < 4; i++) { 6032offsets.push(new OffsetAt(new Date(startYear + i, 0, 1))); 6033offsets.push(new OffsetAt(new Date(startYear + i, 6, 1))); 6034} 6035return offsets; 6036} 6037function sortZoneScores (a, b) { 6038if (a.offsetScore !== b.offsetScore) { 6039return a.offsetScore - b.offsetScore; 6040} 6041if (a.abbrScore !== b.abbrScore) { 6042return a.abbrScore - b.abbrScore; 6043} 6044if (a.zone.population !== b.zone.population) { 6045return b.zone.population - a.zone.population; 6046} 6047return b.zone.name.localeCompare(a.zone.name); 6048} 6049function addToGuesses (name, offsets) { 6050var i, offset; 6051arrayToInt(offsets); 6052for (i = 0; i < offsets.length; i++) { 6053offset = offsets[i]; 6054guesses[offset] = guesses[offset] || {}; 6055guesses[offset][name] = true; 6056} 6057} 6058function guessesForUserOffsets (offsets) { 6059var offsetsLength = offsets.length, 6060filteredGuesses = {}, 6061out = [], 6062checkedOffsets = {}, 6063i, j, offset, guessesOffset; 6064for (i = 0; i < offsetsLength; i++) { 6065offset = offsets[i].offset; 6066if (checkedOffsets.hasOwnProperty(offset)) { 6067continue; 6068} 6069guessesOffset = guesses[offset] || {}; 6070for (j in guessesOffset) { 6071if (guessesOffset.hasOwnProperty(j)) { 6072filteredGuesses[j] = true; 6073} 6074} 6075checkedOffsets[offset] = true; 6076} 6077for (i in filteredGuesses) { 6078if (filteredGuesses.hasOwnProperty(i)) { 6079out.push(names[i]); 6080} 6081} 6082return out; 6083} 6084function rebuildGuess () { 6085// use Intl API when available and returning valid time zone 6086try { 6087var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone; 6088if (intlName && intlName.length > 3) { 6089var name = names[normalizeName(intlName)]; 6090if (name) { 6091return name; 6092} 6093logError("Moment Timezone found " + intlName + " from the Intl api, but did not have that data loaded."); 6094} 6095} catch (e) { 6096// Intl unavailable, fall back to manual guessing. 6097} 6098var offsets = userOffsets(), 6099offsetsLength = offsets.length, 6100guesses = guessesForUserOffsets(offsets), 6101zoneScores = [], 6102zoneScore, i, j; 6103for (i = 0; i < guesses.length; i++) { 6104zoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength); 6105for (j = 0; j < offsetsLength; j++) { 6106zoneScore.scoreOffsetAt(offsets[j]); 6107} 6108zoneScores.push(zoneScore); 6109} 6110zoneScores.sort(sortZoneScores); 6111return zoneScores.length > 0 ? zoneScores[0].zone.name : undefined; 6112} 6113function guess (ignoreCache) { 6114if (!cachedGuess || ignoreCache) { 6115cachedGuess = rebuildGuess(); 6116} 6117return cachedGuess; 6118} 6119/************************************ 6120Global Methods 6121************************************/ 6122function normalizeName (name) { 6123return (name || '').toLowerCase().replace(/\//g, '_'); 6124} 6125function addZone (packed) { 6126var i, name, split, normalized; 6127if (typeof packed === "string") { 6128packed = [packed]; 6129} 6130for (i = 0; i < packed.length; i++) { 6131split = packed[i].split('|'); 6132name = split[0]; 6133normalized = normalizeName(name); 6134zones[normalized] = packed[i]; 6135names[normalized] = name; 6136addToGuesses(normalized, split[2].split(' ')); 6137} 6138} 6139function getZone (name, caller) { 6140name = normalizeName(name); 6141var zone = zones[name]; 6142var link; 6143if (zone instanceof Zone) { 6144return zone; 6145} 6146if (typeof zone === 'string') { 6147zone = new Zone(zone); 6148zones[name] = zone; 6149return zone; 6150} 6151// Pass getZone to prevent recursion more than 1 level deep 6152if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) { 6153zone = zones[name] = new Zone(); 6154zone._set(link); 6155zone.name = names[name]; 6156return zone; 6157} 6158return null; 6159} 6160function getNames () { 6161var i, out = []; 6162for (i in names) { 6163if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) { 6164out.push(names[i]); 6165} 6166} 6167return out.sort(); 6168} 6169function getCountryNames () { 6170return Object.keys(countries); 6171} 6172function addLink (aliases) { 6173var i, alias, normal0, normal1; 6174if (typeof aliases === "string") { 6175aliases = [aliases]; 6176} 6177for (i = 0; i < aliases.length; i++) { 6178alias = aliases[i].split('|'); 6179normal0 = normalizeName(alias[0]); 6180normal1 = normalizeName(alias[1]); 6181links[normal0] = normal1; 6182names[normal0] = alias[0]; 6183links[normal1] = normal0; 6184names[normal1] = alias[1]; 6185} 6186} 6187function addCountries (data) { 6188var i, country_code, country_zones, split; 6189if (!data || !data.length) return; 6190for (i = 0; i < data.length; i++) { 6191split = data[i].split('|'); 6192country_code = split[0].toUpperCase(); 6193country_zones = split[1].split(' '); 6194countries[country_code] = new Country( 6195country_code, 6196country_zones 6197); 6198} 6199} 6200function getCountry (name) { 6201name = name.toUpperCase(); 6202return countries[name] || null; 6203} 6204function zonesForCountry(country, with_offset) { 6205country = getCountry(country); 6206if (!country) return null; 6207var zones = country.zones.sort(); 6208if (with_offset) { 6209return zones.map(function (zone_name) { 6210var zone = getZone(zone_name); 6211return { 6212name: zone_name, 6213offset: zone.utcOffset(new Date()) 6214}; 6215}); 6216} 6217return zones; 6218} 6219function loadData (data) { 6220addZone(data.zones); 6221addLink(data.links); 6222addCountries(data.countries); 6223tz.dataVersion = data.version; 6224} 6225function zoneExists (name) { 6226if (!zoneExists.didShowError) { 6227zoneExists.didShowError = true; 6228logError("moment.tz.zoneExists('" + name + "') has been deprecated in favor of !moment.tz.zone('" + name + "')"); 6229} 6230return !!getZone(name); 6231} 6232function needsOffset (m) { 6233var isUnixTimestamp = (m._f === 'X' || m._f === 'x'); 6234return !!(m._a && (m._tzm === undefined) && !isUnixTimestamp); 6235} 6236function logError (message) { 6237if (typeof console !== 'undefined' && typeof console.error === 'function') { 6238console.error(message); 6239} 6240} 6241/************************************ 6242moment.tz namespace 6243************************************/ 6244function tz (input) { 6245var args = Array.prototype.slice.call(arguments, 0, -1), 6246name = arguments[arguments.length - 1], 6247out = moment.utc.apply(null, args), 6248zone; 6249if (!moment.isMoment(input) && needsOffset(out) && (zone = getZone(name))) { 6250out.add(zone.parse(out), 'minutes'); 6251} 6252out.tz(name); 6253return out; 6254} 6255tz.version = VERSION; 6256tz.dataVersion = ''; 6257tz._zones = zones; 6258tz._links = links; 6259tz._names = names; 6260tz._countries = countries; 6261tz.add = addZone; 6262tz.link = addLink; 6263tz.load = loadData; 6264tz.zone = getZone; 6265tz.zoneExists = zoneExists; // deprecated in 0.1.0 6266tz.guess = guess; 6267tz.names = getNames; 6268tz.Zone = Zone; 6269tz.unpack = unpack; 6270tz.unpackBase60 = unpackBase60; 6271tz.needsOffset = needsOffset; 6272tz.moveInvalidForward = true; 6273tz.moveAmbiguousForward = false; 6274tz.countries = getCountryNames; 6275tz.zonesForCountry = zonesForCountry; 6276/************************************ 6277Interface with Moment.js 6278************************************/ 6279var fn = moment.fn; 6280moment.tz = tz; 6281moment.defaultZone = null; 6282moment.updateOffset = function (mom, keepTime) { 6283var zone = moment.defaultZone, 6284offset; 6285if (mom._z === undefined) { 6286if (zone && needsOffset(mom) && !mom._isUTC && mom.isValid()) { 6287mom._d = moment.utc(mom._a)._d; 6288mom.utc().add(zone.parse(mom), 'minutes'); 6289} 6290mom._z = zone; 6291} 6292if (mom._z) { 6293offset = mom._z.utcOffset(mom); 6294if (Math.abs(offset) < 16) { 6295offset = offset / 60; 6296} 6297if (mom.utcOffset !== undefined) { 6298var z = mom._z; 6299mom.utcOffset(-offset, keepTime); 6300mom._z = z; 6301} else { 6302mom.zone(offset, keepTime); 6303} 6304} 6305}; 6306fn.tz = function (name, keepTime) { 6307if (name) { 6308if (typeof name !== 'string') { 6309throw new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']'); 6310} 6311this._z = getZone(name); 6312if (this._z) { 6313moment.updateOffset(this, keepTime); 6314} else { 6315logError("Moment Timezone has no data for " + name + ". See http://momentjs.com/timezone/docs/#/data-loading/."); 6316} 6317return this; 6318} 6319if (this._z) { return this._z.name; } 6320}; 6321function abbrWrap (old) { 6322return function () { 6323if (this._z) { return this._z.abbr(this); } 6324return old.call(this); 6325}; 6326} 6327function resetZoneWrap (old) { 6328return function () { 6329this._z = null; 6330return old.apply(this, arguments); 6331}; 6332} 6333function resetZoneWrap2 (old) { 6334return function () { 6335if (arguments.length > 0) this._z = null; 6336return old.apply(this, arguments); 6337}; 6338} 6339fn.zoneName = abbrWrap(fn.zoneName); 6340fn.zoneAbbr = abbrWrap(fn.zoneAbbr); 6341fn.utc = resetZoneWrap(fn.utc); 6342fn.local = resetZoneWrap(fn.local); 6343fn.utcOffset = resetZoneWrap2(fn.utcOffset); 6344moment.tz.setDefault = function(name) { 6345if (major < 2 || (major === 2 && minor < 9)) { 6346logError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.'); 6347} 6348moment.defaultZone = name ? getZone(name) : null; 6349return moment; 6350}; 6351// Cloning a moment should include the _z property. 6352var momentProperties = moment.momentProperties; 6353if (Object.prototype.toString.call(momentProperties) === '[object Array]') { 6354// moment 2.8.1+ 6355momentProperties.push('_z'); 6356momentProperties.push('_a'); 6357} else if (momentProperties) { 6358// moment 2.7.0 6359momentProperties._z = null; 6360} 6361loadData({ 6362"version": "2024a", 6363"zones": [ 6364"Africa/Abidjan|GMT|0|0||48e5", 6365"Africa/Nairobi|EAT|-30|0||47e5", 6366"Africa/Algiers|WET WEST CET CEST|0 -10 -10 -20|01012320102|3bX0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5", 6367"Africa/Lagos|WAT|-10|0||17e6", 6368"Africa/Bissau|-01 GMT|10 0|01|cap0|39e4", 6369"Africa/Maputo|CAT|-20|0||26e5", 6370"Africa/Cairo|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|LX0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0 kSp0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0|15e6", 6371"Africa/Casablanca|+00 +01|0 -10|01010101010101010101010101010101010101010101010101010101010101010101010|aS00 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e
637100 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600|32e5", 6372"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|0101010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|aS00 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|85e3", 6373"Africa/El_Aaiun|-01 +00 +01|10 0 -10|01212121212121212121212121212121212121212121212121212121212121212121|fi10 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e
637300 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600|20e4", 6374"Africa/Johannesburg|SAST|-20|0||84e5", 6375"Africa/Juba|CAT CAST EAT|-20 -30 -30|01010101010101010101010101010101020|LW0 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|", 6376"Africa/Khartoum|CAT CAST EAT|-20 -30 -30|01010101010101010101010101010101020|LW0 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5", 6377"Africa/Monrovia|MMT GMT|I.u 0|01|4SoI.u|11e5", 6378"Africa/Ndjamena|WAT WAST|-10 -20|010|nNb0 Wn0|13e5", 6379"Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|", 6380"Africa/Tripoli|EET CET CEST|-20 -10 -20|0121212121212121210120120|tda0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5", 6381"Africa/Tunis|CET CEST|-10 -20|0101010101010101010|hOn0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5", 6382"Africa/Windhoek|SAST CAT WAT|-20 -20 -10|01212121212121212121212121212121212121212121212121|Ndy0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4", 6383"America/Adak|BST BDT AHST HST HDT|b0 a0 a0 a0 90|0101010101010101010101010101234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|Kd0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326", 6384"America/Anchorage|AHST AHDT YST AKST AKDT|a0 90 90 90 80|0101010101010101010101010101234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|Kc0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4", 6385"America/Puerto_Rico|AST|40|0||24e5", 6386"America/Araguaina|-03 -02|30 20|01010101010101010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4", 6387"America/Argentina/Buenos_Aires|-03 -02|30 20|01010101010101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|", 6388"America/Argentina/Catamarca|-03 -02 -04|30 20 40|01010101210102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|", 6389"America/Argentina/Cordoba|-03 -02 -04|30 20 40|01010101210101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|", 6390"America/Argentina/Jujuy|-03 -02 -04|30 20 40|010101202101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|", 6391"America/Argentina/La_Rioja|-03 -02 -04|30 20 40|010101012010102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|", 6392"America/Argentina/Mendoza|-03 -02 -04|30 20 40|01010120202102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|", 6393"America/Argentina/Rio_Gallegos|-03 -02 -04|30 20 40|01010101010102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|", 6394"America/Argentina/Salta|-03 -02 -04|30 20 40|010101012101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|", 6395"America/Argentina/San_Juan|-03 -02 -04|30 20 40|010101012010102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|", 6396"America/Argentina/San_Luis|-03 -02 -04|30 20 40|010101202020102020|9Rf0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|", 6397"America/Argentina/Tucuman|-03 -02 -04|30 20 40|0101010121010201010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|", 6398"America/Argentina/Ushuaia|-03 -02 -04|30 20 40|01010101010102010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|", 6399"America/Asuncion|-04 -03|40 30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|6FE0 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0|28e5", 6400"America/Panama|EST|50|0||15e5", 6401"America/Bahia_Banderas|PST MST MDT CDT CST|80 70 60 50 60|01212121212121212121212121212134343434343434343434343434|80 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|84e3",
6402"America/Bahia|-03 -02|30 20|010101010101010101010101010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5", 6403"America/Barbados|AST ADT|40 30|010101010|i7G0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4", 6404"America/Belem|-03 -02|30 20|0101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0|20e5", 6405"America/Belize|CST CDT|60 50|01010|9xG0 qn0 lxB0 mn0|57e3", 6406"America/Boa_Vista|-04 -03|40 30|01010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2", 6407"America/Bogota|-05 -04|50 40|010|Snh0 1PX0|90e5", 6408"America/Boise|MST MDT|70 60|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K90 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4", 6409"America/Cambridge_Bay|MST MDT CST CDT EST|70 60 60 50 50|010101010101010101010101010101010101010101010101010101012342101010101010101010101010101010101010101010101010101010101010|5E90 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2", 6410"America/Campo_Grande|-04 -03|40 30|010101010101010101010101010101010101010101010101010101010101010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4", 6411"America/Cancun|CST EST EDT CDT|60 50 40 50|012121230303030303030303030303030303030301|t9G0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4", 6412"America/Caracas|-04 -0430|40 4u|010|1wmv0 kqo0|29e5", 6413"America/Cayenne|-03|30|0||58e3", 6414"America/Chicago|CST CDT|60 50|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K80 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5", 6415"America/Chihuahua|CST CDT MDT MST|60 50 60 70|0101023232323232323232323232323232323232323232323232320|13Vk0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4", 6416"America/Ciudad_Juarez|CST CDT MDT MST|60 50 60 70|010102323232323232323232323232323232323232323232323232032323232323232323|13Vk0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6417"America/Costa_Rica|CST CDT|60 50|010101010|mgS0 Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5", 6418"America/Phoenix|MST|70|0||42e5", 6419"America/Cuiaba|-04 -03|40 30|0101010101010101010101010101010101010101010101010101010101010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4", 6420"America/Danmarkshavn|-03 -02 GMT|30 20 0|0101010101010101010101010101010102|oXh0 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8",
6421"America/Dawson_Creek|PST PDT MST|80 70 70|0101012|Ka0 1cL0 1cN0 1fz0 1cN0 ML0|12e3", 6422"America/Dawson|YST PST PDT MST|90 80 70 70|012121212121212121212121212121212121212121212121212121212121212121212121212121212123|9ix0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2", 6423"America/Denver|MST MDT|70 60|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K90 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5", 6424"America/Detroit|EST EDT|50 40|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|85H0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5", 6425"America/Edmonton|MST MDT|70 60|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|5E90 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5", 6426"America/Eirunepe|-05 -04|50 40|01010101010|CxF0 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3", 6427"America/El_Salvador|CST CDT|60 50|01010|Gcu0 WL0 1qN0 WL0|11e5", 6428"America/Tijuana|PST PDT|80 70|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|fmy0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5", 6429"America/Fort_Nelson|PST PDT MST|80 70 70|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010102|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2", 6430"America/Fort_Wayne|EST EDT|50 40|01010101010101010101010101010101010101010101010101010|K70 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6431"America/Fortaleza|-03 -02|30 20|01010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5", 6432"America/Glace_Bay|AST ADT|40 30|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|5E60 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3", 6433"America/Godthab|-03 -02 -01|30 20 10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010121212121212121|oXh0 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|17e3", 6434"America/Goose_Bay|AST ADT ADDT|40 30 20|010101010101010101010101010101010101020101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K60 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2", 6435"America/Grand_Turk|EST EDT AST|50 40 40|0101010101010101010101010101010101010101010101010101010101010101010101010210101010101010101010101010|mG70 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2", 6436"America/Guatemala|CST CDT|60 50|010101010|9tG0 An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5", 6437"America/Guayaquil|-05 -04|50 40|010|TKR0 rz0|27e5", 6438"America/Guyana|-0345 -03 -04|3J 30 40|012|dzfJ Ey0f|80e4", 6439"America/Halifax|AST ADT|40 30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K60 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4", 6440"America/Havana|CST CDT|50 40|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K50 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5", 6441"America/Hermosillo|PST MST MDT|80 70 60|01212121|80 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4", 6442"America/Indiana/Knox|CST CDT EST|60 50 50|01010101010101010101010101010101010101010101210101010101010101010101010101010101010101010101010|K80 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6443"America/Indiana/Marengo|EST EDT CDT|50 40 50|010101010201010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6444"America/Indiana/Petersburg|CST CDT EST EDT|60 50 50 40|0101010101010101210123232323232323232323232323232323232323232323232|K80 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6445"America/Indiana/Tell_City|EST EDT CDT CST|50 40 50 60|01023232323232323232323232323232323232323232323232323|K70 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6446"America/Indiana/Vevay|EST EDT|50 40|010101010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6447"America/Indiana/Vincennes|EST EDT CDT CST|50 40 50 60|01023201010101010101010101010101010101010101010101010|K70 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6448"America/Indiana/Winamac|EST EDT CDT CST|50 40 50 60|01023101010101010101010101010101010101010101010101010|K70 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6449"America/Inuvik|PST PDT MDT MST|80 70 60 70|01010101010101023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|5Ea0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2", 6450"America/Iqaluit|EST EDT CST CDT|50 40 60 50|01010101010101010101010101010101010101010101010101010101230101010101010101010101010101010101010101010101010101010101010|5E70 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2", 6451"America/Jamaica|EST EDT|50 40|010101010101010101010|9Kv0 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4", 6452"America/Juneau|PST PDT YDT YST AKST AKDT|80 70 80 90 90 80|0101010101010101010102010101345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3", 6453"America/Kentucky/Louisville|EST EDT CDT|50 40 50|010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6454"America/Kentucky/Monticello|CST CDT EST EDT|60 50 50 40|010101010101010101010101010101010101010101010101010101010101012323232323232323232323232323232323232323232323232323232323232|K80 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6455"America/La_Paz|-04|40|0||19e5", 6456"America/Lima|-05 -04|50 40|010101010|CVF0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6", 6457"America/Los_Angeles|PST PDT|80 70|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a1
64570 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6", 6458"America/Maceio|-03 -02|30 20|0101010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4", 6459"America/Managua|CST EST CDT|60 50 50|010202010102020|86u0 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5", 6460"America/Manaus|-04 -03|40 30|010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5", 6461"America/Martinique|AST ADT|40 30|010|oXg0 19X0|39e4", 6462"America/Matamoros|CST CDT|60 50|0101010101010101010101010101010101010101010101010101010101010101010101010|IqU0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4", 6463"America/Mazatlan|PST MST MDT|80 70 60|01212121212121212121212121212121212121212121212121212121|80 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4", 6464"America/Menominee|EST CDT CST|50 50 60|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|85H0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2",
6465"America/Merida|CST EST CDT|60 50 50|010202020202020202020202020202020202020202020202020202020|t9G0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|11e5", 6466"America/Metlakatla|PST PDT AKST AKDT|80 70 90 80|0101010101010101010101010101023232302323232323232323232323232|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2", 6467"America/Mexico_City|CST CDT|60 50|0101010101010101010101010101010101010101010101010101010|13Vk0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6", 6468"America/Miquelon|AST -03 -02|40 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|p9g0 gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2", 6469"America/Moncton|AST ADT|40 30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K60 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3", 6470"America/Monterrey|CST CDT|60 50|010101010101010101010101010101010101010101010101010101010|IqU0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|41e5", 6471"America/Montevideo|-03 -02 -0130 -0230|30 20 1u 2u|0101023010101010101010101010101010101010101010101010|JD0 jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5", 6472"America/Toronto|EST EDT|50 40|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5", 6473"America/New_York|EST EDT|50 40|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6", 6474"America/Nome|BST BDT YST AKST AKDT|b0 a0 90 90 80|0101010101010101010101010101234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|Kd0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2", 6475"America/Noronha|-02 -01|20 10|01010101010101010|CxC0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2", 6476"America/North_Dakota/Beulah|MST MDT CST CDT|70 60 60 50|010101010101010101010101010101010101010101010101010101010101010101010101010101010123232323232323232323232323232323232323232|K90 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6477"America/North_Dakota/Center|MST MDT CST CDT|70 60 60 50|010101010101010101010101010101010101010101010123232323232323232323232323232323232323232323232323232323232323232323232323232|K90 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6478"America/North_Dakota/New_Salem|MST MDT CST CDT|70 60 60 50|010101010101010101010101010101010101010101010101010101010101010101012323232323232323232323232323232323232323232323232323232|K90 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|", 6479"America/Ojinaga|CST CDT MDT MST|60 50 60 70|01010232323232323232323232323232323232323232323232323201010101010101010|13Vk0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3", 6480"America/Paramaribo|-0330 -03|3u 30|01|zSPu|24e4", 6481"America/Port-au-Prince|EST EDT|50 40|01010101010101010101010101010101010101010101010101010101010101010101010|wu50 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5", 6482"America/Rio_Branco|-05 -04|50 40|010101010|CxF0 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4", 6483"America/Porto_Velho|-04 -03|40 30|0101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0|37e4", 6484"America/Punta_Arenas|-03 -04|30 40|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|yP0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|", 6485"America/Winnipeg|CST CDT|60 50|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K80 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4", 6486"America/Rankin_Inlet|CST CDT EST|60 50 50|01010101010101010101010101010101010101010101010101010101012101010101010101010101010101010101010101010101010101010101010|5E80 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2", 6487"America/Recife|-03 -02|30 20|01010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5", 6488"America/Regina|CST|60|0||19e4", 6489"America/Resolute|CST CDT EST|60 50 50|01010101010101010101010101010101010101010101010101010101012101010101012101010101010101010101010101010101010101010101010|5E80 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229", 6490"America/Santarem|-04 -03|40 30|01010101|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4", 6491"America/Santiago|-03 -04|30 40|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|yP0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0|62e5", 6492"America/Santo_Domingo|-0430 EST AST|4u 50 40|0101010101212|ksu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5", 6493"America/Sao_Paulo|-03 -02|30 20|010101010101010101010101010101010101010101010101010101010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6", 6494"America/Scoresbysund|-02 -01 +00|20 10 0|010212121212121212121212121212121212121212121212121212121212121212121212121212121212121210101010101010|oXg0 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 2pA0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|452", 6495"America/Sitka|PST PDT YST AKST AKDT|80 70 90 90 80|0101010101010101010101010101234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2", 6496"America/St_Johns|NST NDT NDDT|3u 2u 1u|010101010101010101010101010101010101020101010101010101010101010101010101010101010101010101010101010101010101010101010101010|K5u 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4", 6497"America/Swift_Current|MST CST|70 60|01|5E90|16e3", 6498"America/Tegucigalpa|CST CDT|60 50|0101010|Gcu0 WL0 1qN0 WL0 GRd0 AL0|11e5", 6499"America/Thule|AST ADT|40 30|010101010101010101010101010101010101010101010101010101010101010101010101010101010|PHG0 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656", 6500"America/Vancouver|PST PDT|80 70|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|Ka0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1c
6500L0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5", 6501"America/Whitehorse|PST PDT MST|80 70 70|01010101010101010101010101010101010101010101010101010101010101010101010101010101012|p7K0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3", 6502"America/Yakutat|YST YDT AKST AKDT|90 80 90 80|0101010101010101010101010101023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|Kb0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642", 6503"Antarctica/Casey|+08 +11|-80 -b0|01010101010101010|1ARS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01 14kX 1lf1 14kX 1lf1 13bX|10", 6504"Antarctica/Davis|+07 +05|-70 -50|01010|1ART0 VB0 3Wn0 KN0|70", 6505"Pacific/Port_Moresby|+10|-a0|0||25e4", 6506"Antarctica/Macquarie|AEDT AEST|-b0 -a0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|qg0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|1", 6507"Antarctica/Mawson|+06 +05|-60 -50|01|1ARU0|60", 6508"Pacific/Auckland|NZST NZDT|-c0 -d0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|bKC0 IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00|14e5",
6509"Antarctica/Palmer|-03 -02 -04|30 20 40|01020202020202020202020202020202020202020202020202020202020202020202020|9Rf0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40", 6510"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130", 6511"Asia/Riyadh|+03|-30|0||57e5", 6512"Antarctica/Troll|-00 +00 +02|0 0 -20|012121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|40", 6513"Antarctica/Vostok|+07 -00 +05|-70 0 -50|0102|WCF0 1Nj0 1aTv0|25", 6514"Europe/Berlin|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|oXd0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|41e5", 6515"Asia/Almaty|+06 +07 +05|-60 -70 -50|01010101010101010101020101010101010101010101010102|rn60 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 L4m0|15e5", 6516"Asia/Amman|EET EEST +03|-20 -30 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101012|8kK0 KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5",
6517"Asia/Anadyr|+13 +14 +12 +11|-d0 -e0 -c0 -b0|010202020202020202023202020202020202020202020202020202020232|rmX0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3", 6518"Asia/Aqtau|+05 +06 +04|-50 -60 -40|0101010101010101010201010120202020202020202020|sAj0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4", 6519"Asia/Aqtobe|+05 +06 +04|-50 -60 -40|01010101010101010102010101010101010101010101010|rn70 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4", 6520"Asia/Ashgabat|+05 +06 +04|-50 -60 -40|01010101010101010101020|rn70 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4", 6521"Asia/Atyrau|+05 +06 +04|-50 -60 -40|010101010101010101020101010101010102020202020|sAj0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|", 6522"Asia/Baghdad|+03 +04|-30 -40|01010101010101010101010101010101010101010101010101010|u190 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5", 6523"Asia/Qatar|+04 +03|-40 -30|01|5QI0|96e4", 6524"Asia/Baku|+04 +05 +03|-40 -50 -30|010101010101010101010201010101010101010101010101010101010101010|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5", 6525"Asia/Bangkok|+07|-70|0||15e6", 6526"Asia/Barnaul|+07 +08 +06|-70 -80 -60|01010101010101010101020101010102020202020202020202020202020202020|rn50 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|", 6527"Asia/Beirut|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|61a0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0|22e5", 6528"Asia/Bishkek|+06 +07 +05|-60 -70 -50|0101010101010101010102020202020202020202020202020|rn60 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4", 6529"Asia/Brunei|+08|-80|0||42e4", 6530"Asia/Kolkata|IST|-5u|0||15e6", 6531"Asia/Chita|+09 +10 +08|-90 -a0 -80|0101010101010101010102010101010101010101010101010101010101010120|rn30 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4", 6532"Asia/Choibalsan|+07 +08 +10 +09|-70 -80 -a0 -90|012323232323232323232323232323232323232323232313131|jsF0 cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3", 6533"Asia/Shanghai|CST CDT|-80 -90|0101010101010|DKG0 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6", 6534"Asia/Colombo|+0530 +0630 +06|-5u -6u -60|0120|14giu 11zu n3cu|22e5", 6535"Asia/Dhaka|+06 +07|-60 -70|010|1A5R0 1i00|16e6", 6536"Asia/Damascus|EET EEST +03|-20 -30 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101012|M00 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5", 6537"Asia/Dili|+09 +08|-90 -80|010|fpr0 Xld0|19e4", 6538"Asia/Dubai|+04|-40|0||39e5", 6539"Asia/Dushanbe|+06 +07 +05|-60 -70 -50|0101010101010101010102|rn60 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4", 6540"Asia/Famagusta|EET EEST +03|-20 -30 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101012010101010101010101010101010|cPa0 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|", 6541"Asia/Gaza|IST IDT EET EEST|-20 -30 -20 -30|010101010101010101010101010101023232323232323232323232323232323232323232323232323232323232323232323232|aXa0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18
6541N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 1a10 1fz0 17d0 1in0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0|18e5", 6542"Asia/Hebron|IST IDT EET EEST|-20 -30 -20 -30|01010101010101010101010101010102323232323232323232323232323232323232323232323232323232323232323232323232|aXa0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 1a10 1fz0 17d0 1in0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0|25e4", 6543"Asia/Ho_Chi_Minh|+08 +07|-80 -70|01|dfs0|90e5", 6544"Asia/Hong_Kong|HKT HKST|-80 -90|01010101010101010|H7u 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5", 6545"Asia/Hovd|+06 +07 +08|-60 -70 -80|01212121212121212121212121212121212121212121212121|jsG0 cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3", 6546"Asia/Irkutsk|+08 +09 +07|-80 -90 -70|010101010101010101010201010101010101010101010101010101010101010|rn40 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4", 6547"Europe/Istanbul|EET EEST +03 +04|-20 -30 -30 -40|01010101010123201010101010101010101010101010101010101010101010101010101010101012|8jz0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6", 6548"Asia/Jakarta|WIB|-70|0||31e6", 6549"Asia/Jayapura|WIT|-90|0||26e4", 6550"Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|aXa0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0|81e4", 6551"Asia/Kabul|+0430|-4u|0||46e5", 6552"Asia/Kamchatka|+12 +13 +11|-c0 -d0 -b0|0101010101010101010102010101010101010101010101010101010101020|rn00 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4", 6553"Asia/Karachi|+05 PKT PKST|-50 -50 -60|01212121|2Xv0 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6", 6554"Asia/Urumqi|+06|-60|0||32e5", 6555"Asia/Kathmandu|+0530 +0545|-5u -5J|01|CVuu|12e5", 6556"Asia/Khandyga|+09 +10 +08 +11|-90 -a0 -80 -b0|01010101010101010101020101010101010101010101010131313131313131310|rn30 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2", 6557"Asia/Krasnoyarsk|+07 +08 +06|-70 -80 -60|010101010101010101010201010101010101010101010101010101010101010|rn50 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5", 6558"Asia/Kuala_Lumpur|+0730 +08|-7u -80|01|td40|71e5", 6559"Asia/Macau|CST CDT|-80 -90|01010101010101010|H7u 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4", 6560"Asia/Magadan|+11 +12 +10|-b0 -c0 -a0|0101010101010101010102010101010101010101010101010101010101010120|rn10 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3", 6561"Asia/Makassar|WITA|-80|0||15e5", 6562"Asia/Manila|PST PDT|-80 -90|010|k0E0 1db0|24e6", 6563"Asia/Nicosia|EET EEST|-20 -30|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|cPa0 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|32e4", 6564"Asia/Novokuznetsk|+07 +08 +06|-70 -80 -60|0101010101010101010102010101010101010101010101010101010101020|rn50 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4", 6565"Asia/Novosibirsk|+07 +08 +06|-70 -80 -60|010101010101010101010201010202020202
656502020202020202020202020202020|rn50 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5", 6566"Asia/Omsk|+06 +07 +05|-60 -70 -50|010101010101010101010201010101010101010101010101010101010101010|rn60 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5", 6567"Asia/Oral|+05 +06 +04|-50 -60 -40|010101010101010202020202020202020202020202020|rn70 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4", 6568"Asia/Pontianak|WITA WIB|-80 -70|01|HNs0|23e4", 6569"Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5", 6570"Asia/Qostanay|+05 +06 +04|-50 -60 -40|01010101010101010102010101010101010101010101010|rn70 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 Mv90|", 6571"Asia/Qyzylorda|+05 +06|-50 -60|010101010101010101010101010101010101010101010|rn70 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4", 6572"Asia/Rangoon|+0630|-6u|0||48e5", 6573"Asia/Sakhalin|+11 +12 +10|-b0 -c0 -a0|010101010101010101010201010101010202020202020202020202020202020|rn10 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4", 6574"Asia/Samarkand|+05 +06|-50 -60|010101010101010101010|rn70 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4", 6575"Asia/Seoul|KST KDT|-90 -a0|01010|Gf50 11A0 1o00 11A0|23e6", 6576"Asia/Srednekolymsk|+11 +12 +10|-b0 -c0 -a0|010101010101010101010201010101010101010101010101010101010101010|rn10 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2", 6577"Asia/Taipei|CST CDT|-80 -90|0101010|akg0 1db0 1cN0 1db0 97B0 AL0|74e5", 6578"Asia/Tashkent|+06 +07 +05|-60 -70 -50|0101010101010101010102|rn60 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5", 6579"Asia/Tbilisi|+04 +05 +03|-40 -50 -30|01010101010101010101020202010101010101010101020|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5", 6580"Asia/Tehran|+0330 +0430 +04 +05|-3u -4u -40 -50|0123201010101010101010101010101010101010101010101010101010101010101010|hyHu 1pc0 120u Rc0 XA0 Wou JX0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6", 6581"Asia/Thimphu|+0530 +06|-5u -60|01|HcGu|79e3", 6582"Asia/Tokyo|JST|-90|0||38e6", 6583"Asia/Tomsk|+07 +08 +06|-70 -80 -60|01010101010101010101020101010101010101010101020202020202020202020|rn50 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5", 6584"Asia/Ulaanbaatar|+07 +08 +09|-70 -80 -90|01212121212121212121212121212121212121212121212121|jsF0 cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5", 6585"Asia/Ust-Nera|+09 +12 +11 +10|-90 -c0 -b0 -a0|0121212121212121212123212121212121212121212121212121212121212123|rn30 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2", 6586"Asia/Vladivostok|+10 +11 +09|-a0 -b0 -90|010101010101010101010201010101010101010101010101010101010101010|rn20 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4", 6587"Asia/Yakutsk|+09 +10 +08|-90 -a0 -80|010101010101010101010201010101010101010101010101010101010101010|rn30 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4", 6588"Asia/Yekaterinburg|+05 +06 +04|-50 -60 -40|010101010101010101010201010101010101010101010101010101010101010|rn70 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5", 6589"Asia/Yerevan|+04 +05 +03|-40 -50 -30|01010101010101010101020202020101010101010101010101010101010|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5", 6590"Atlantic/Azores|-01 +00 WET|10 0 0|0101010101010101010101010101010121010101010101010101010101010101010101010101010101010101010101010101010101010|hAN0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|25e4", 6591"Atlantic/Bermuda|AST ADT|40 30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|avi0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3",
6592"Atlantic/Canary|WET WEST|0 -10|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|oXc0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|54e4", 6593"Atlantic/Cape_Verde|-02 -01|20 10|01|elE0|50e4", 6594"Atlantic/Faroe|WET WEST|0 -10|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|rm10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|49e3", 6595"Atlantic/Madeira|WET WEST|0 -10|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hAM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|27e4", 6596"Atlantic/South_Georgia|-02|20|0||30", 6597"Atlantic/Stanley|-04 -03 -02|40 30 20|01212101010101010101010101010101010101010101010101010101|wrg0 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2", 6598"Australia/Sydney|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4r40 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|40e5", 6599"Australia/Adelaide|ACST ACDT|-9u -au|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4r4u LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|11e5", 6600"Australia/Brisbane|AEST AEDT|-a0 -b0|010101010|4r40 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5", 6601"Australia/Broken_Hill|ACST ACDT|-9u -au|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4r4u LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|18e3", 6602"Australia/Hobart|AEDT AEST|-b0 -a0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|qg0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|21e4", 6603"Australia/Darwin|ACST|-9u|0||12e4", 6604"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010|bHRf Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368", 6605"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|01212121213131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu
66051cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu|347", 6606"Australia/Lindeman|AEST AEDT|-a0 -b0|0101010101010|4r40 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10", 6607"Australia/Melbourne|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4r40 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|39e5", 6608"Australia/Perth|AWST AWDT|-80 -90|0101010101010|bHS0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5", 6609"Europe/Brussels|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|21e5", 6610"Pacific/Easter|-06 -07 -05|60 70 50|010101010101010101010101020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202|yP0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0|30e2", 6611"EET|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|", 6612"Europe/Dublin|IST GMT|-10 0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4re0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|12e5", 6613"Etc/GMT-1|+01|-10|0||", 6614"Pacific/Guadalcanal|+11|-b0|0||11e4", 6615"Pacific/Tarawa|+12|-c0|0||29e3", 6616"Etc/GMT-13|+13|-d0|0||", 6617"Etc/GMT-14|+14|-e0|0||", 6618"Etc/GMT-2|+02|-20|0||", 6619"Indian/Maldives|+05|-50|0||35e4", 6620"Pacific/Palau|+09|-90|0||21e3", 6621"Etc/GMT+1|-01|10|0||", 6622"Pacific/Tahiti|-10|a0|0||18e4", 6623"Pacific/Niue|-11|b0|0||12e2", 6624"Etc/GMT+12|-12|c0|0||", 6625"Etc/GMT+5|-05|50|0||", 6626"Etc/GMT+6|-06|60|0||", 6627"Etc/GMT+7|-07|70|0||", 6628"Etc/GMT+8|-08|80|0||", 6629"Pacific/Gambier|-09|90|0||125", 6630"Etc/UTC|UTC|0|0||", 6631"Europe/Andorra|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|B7d0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|79e3", 6632"Europe/Astrakhan|+04 +05 +03|-40 -50 -30|01010101010101010202020202
663202020202020202020202020202020202020|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5", 6633"Europe/Athens|EET EEST|-20 -30|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|cOK0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|35e5", 6634"Europe/London|BST GMT|-10 0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|4re0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|10e6", 6635"Europe/Belgrade|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|wdd0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|12e5", 6636"Europe/Prague|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|muN0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|13e5", 6637"Europe/Bucharest|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|mRa0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|19e5", 6638"Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|oXb0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|17e5", 6639"Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|rm10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|38e4", 6640"Europe/Chisinau|MSK MSD EEST EET|-30 -40 -30 -20|010101010101010101012323232323232323232323232323232323232323232323232323232323232323232323232323232323|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|67e4", 6641"Europe/Gibraltar|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|tLB0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|30e3", 6642"Europe/Helsinki|EET EEST|-20 -30|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|rm00 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|12e5", 6643"Europe/Kaliningrad|MSK MSD EEST EET +03|-30 -40 -30 -20 -30|010101010101010102323232323232323232323232323232323232323232343|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4", 6644"Europe/Kiev|MSK MSD EEST EET|-30 -40 -30 -20|0101010101010101010123232323232323232323232323232323232323232323232323232323232323232323232323232323|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o10 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|34e5", 6645"Europe/Kirov|+04 +05 MSD MSK MSK|-40 -50 -40 -30 -40|01010101010101010232302323232323232323232323232323232323232343|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4", 6646"Europe/Lisbon|CET WET WEST CEST|-10 0 -10 -20|01212121212121212121212121212121203030302121212121212121212121212121212121212121212121212121212121212121212121|go00 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|27e5", 6647"Europe/Madrid|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|apy0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|62e5", 6648"Europe/Malta|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|XX0 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|42e4", 6649"Europe/Minsk|MSK MSD EEST EET +03|-30 -40 -30 -20 -30|010101010101010101023232323232323232323232323232323232323234|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5", 6650"Europe/Paris|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|fbc0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|11e6", 6651"Europe/Moscow|MSK MSD EEST EET MSK|-30 -40 -30 -20 -40|0101010101010101010102301010101010101010101010101010101010101040|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6", 6652"Europe/Riga|MSK MSD EEST EET|-30 -40 -30 -20|010101010101010102323232323232323232323232323232323232323232323232323232323232323232323232323232323|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|64e4", 6653"Europe/Rome|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|XX0 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|39e5", 6654"Europe/Samara|+04 +05 +03|-40 -50 -30|01010101010101010202010101010101010101010101010101010101020|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5", 6655"Europe/Saratov|+04 +05 +03|-40 -50 -30|010101010101010202020202
66550202020202020202020202020202020202020|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|", 6656"Europe/Simferopol|MSK MSD EET EEST MSK|-30 -40 -20 -30 -40|0101010101010101010232323101010323232323232323232323232323232323240|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eN0 1cM0 1cM0 1cM0 1cM0 dV0 WO0 1cM0 1cM0 1fy0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4", 6657"Europe/Sofia|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|muJ0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|12e5", 6658"Europe/Tallinn|MSK MSD EEST EET|-30 -40 -30 -20|0101010101010101023232323232323232323232323232323232323232323232323232323232323232323232323232323|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|41e4", 6659"Europe/Tirane|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|axz0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|42e4", 6660"Europe/Ulyanovsk|+04 +05 +03 +02|-40 -50 -30 -20|010101010101010102023202020202020202020202020202020202020202020|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5", 6661"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|oXb0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|18e5", 6662"Europe/Vilnius|MSK MSD EEST EET CEST CET|-30 -40 -30 -20 -20 -10|01010101010101010232323232323232323454323232323232323232323232323232323232323232323232323232323|rn90 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|54e4", 6663"Europe/Volgograd|+04 +05 MSD MSK MSK|-40 -50 -40 -30 -40|0101010101010102323230232323232323232323232323232323232323234303|rn80 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5", 6664"Europe/Warsaw|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|17e5", 6665"Pacific/Honolulu|HST|a0|0||37e4", 6666"Indian/Chagos|+05 +06|-50 -60|01|13ij0|30e2", 6667"Indian/Mauritius|+04 +05|-40 -50|01010|v5U0 14L0 12kr0 11z0|15e4", 6668"Pacific/Kwajalein|-12 +12|c0 -c0|01|Vxo0|14e3", 6669"MET|MET MEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|", 6670"Pacific/Chatham|+1245 +1345|-cJ -dJ|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|bKC0 IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00|600", 6671"Pacific/Apia|-11 -10 +14 +13|b0 a0 -e0 -d0|010123232323232323232323|1Dbn0 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3", 6672"Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4", 6673"Pacific/Efate|+11 +12|-b0 -c0|01010101010101010101010|9EA0 Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3",
6674"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1", 6675"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483", 6676"Pacific/Fiji|+12 +13|-c0 -d0|01010101010101010101010101010|1ace0 LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0|88e4", 6677"Pacific/Galapagos|-05 -06|50 60|0101|CVF0 gNd0 rz0|25e3", 6678"Pacific/Guam|GST GDT ChST|-a0 -b0 -a0|010101010102|JQ0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4", 6679"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2", 6680"Pacific/Kosrae|+12 +11|-c0 -b0|01|1aAA0|66e2", 6681"Pacific/Marquesas|-0930|9u|0||86e2", 6682"Pacific/Pago_Pago|SST|b0|0||37e2", 6683"Pacific/Nauru|+1130 +12|-bu -c0|01|maCu|10e3", 6684"Pacific/Norfolk|+1130 +1230 +11 +12|-bu -cu -b0 -c0|010232323232323232323232323|bHOu Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|25e4", 6685"Pacific/Noumea|+11 +12|-b0 -c0|0101010|jhp0 xX0 1PB0 yn0 HeP0 Ao0|98e3", 6686"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56", 6687"Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3", 6688"Pacific/Tongatapu|+13 +14|-d0 -e0|010101010|1csd0 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3", 6689"WET|WET WEST|0 -10|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00|" 6690], 6691"links": [ 6692"Africa/Abidjan|Africa/Accra", 6693"Africa/Abidjan|Africa/Bamako", 6694"Africa/Abidjan|Africa/Banjul", 6695"Africa/Abidjan|Africa/Conakry", 6696"Africa/Abidjan|Africa/Dakar", 6697"Africa/Abidjan|Africa/Freetown", 6698"Africa/Abidjan|Africa/Lome", 6699"Africa/Abidjan|Africa/Nouakchott", 6700"Africa/Abidjan|Africa/Ouagadougou", 6701"Africa/Abidjan|Africa/Timbuktu", 6702"Africa/Abidjan|Atlantic/Reykjavik", 6703"Africa/Abidjan|Atlantic/St_Helena", 6704"Africa/Abidjan|Etc/GMT", 6705"Africa/Abidjan|Etc/GMT+0", 6706"Africa/Abidjan|Etc/GMT-0", 6707"Africa/Abidjan|Etc/GMT0", 6708"Africa/Abidjan|Etc/Greenwich", 6709"Africa/Abidjan|GMT", 6710"Africa/Abidjan|GMT+0", 6711"Africa/Abidjan|GMT-0", 6712"Africa/Abidjan|GMT0", 6713"Africa/Abidjan|Greenwich", 6714"Africa/Abidjan|Iceland", 6715"Africa/Cairo|Egypt", 6716"Africa/Johannesburg|Africa/Maseru", 6717"Africa/Johannesburg|Africa/Mbabane", 6718"Africa/Lagos|Africa/Bangui", 6719"Africa/Lagos|Africa/Brazzaville", 6720"Africa/Lagos|Africa/Douala", 6721"Africa/Lagos|Africa/Kinshasa", 6722"Africa/Lagos|Africa/Libreville", 6723"Africa/Lagos|Africa/Luanda", 6724"Africa/Lagos|Africa/Malabo", 6725"Africa/Lagos|Africa/Niamey", 6726"Africa/Lagos|Africa/Porto-Novo", 6727"Africa/Maputo|Africa/Blantyre", 6728"Africa/Maputo|Africa/Bujumbura", 6729"Africa/Maputo|Africa/Gaborone", 6730"Africa/Maputo|Africa/Harare", 6731"Africa/Maputo|Africa/Kigali", 6732"Africa/Maputo|Africa/Lubumbashi", 6733"Africa/Maputo|Africa/Lusaka", 6734"Africa/Nairobi|Africa/Addis_Ababa", 6735"Africa/Nairobi|Africa/Asmara", 6736"Africa/Nairobi|Africa/Asmera", 6737"Africa/Nairobi|Africa/Dar_es_Salaam", 6738"Africa/Nairobi|Africa/Djibouti", 6739"Africa/Nairobi|Africa/Kampala", 6740"Africa/Nairobi|Africa/Mogadishu", 6741"Africa/Nairobi|Indian/Antananarivo", 6742"Africa/Nairobi|Indian/Comoro", 6743"Africa/Nairobi|Indian/Mayotte", 6744"Africa/Tripoli|Libya", 6745"America/Adak|America/Atka", 6746"America/Adak|US/Aleutian", 6747"America/Anchorage|US/Alaska", 6748"America/Argentina/Buenos_Aires|America/Buenos_Aires", 6749"America/Argentina/Catamarca|America/Argentina/ComodRivadavia", 6750"America/Argentina/Catamarca|America/Catamarca", 6751"America/Argentina/Cordoba|America/Cordoba", 6752"America/Argentina/Cordoba|America/Rosario", 6753"America/Argentina/Jujuy|America/Jujuy", 6754"America/Argentina/Mendoza|America/Mendoza", 6755"America/Cayenne|Etc/GMT+3", 6756"America/Chicago|CST6CDT", 6757"America/Chicago|US/Central", 6758"America/Denver|America/Shiprock", 6759"America/Denver|MST7MDT", 6760"America/Denver|Navajo", 6761"America/Denver|US/Mountain", 6762"America/Detroit|US/Michigan", 6763"America/Edmonton|America/Yellowknife",
6764"America/Edmonton|Canada/Mountain", 6765"America/Fort_Wayne|America/Indiana/Indianapolis", 6766"America/Fort_Wayne|America/Indianapolis", 6767"America/Fort_Wayne|US/East-Indiana", 6768"America/Godthab|America/Nuuk", 6769"America/Halifax|Canada/Atlantic", 6770"America/Havana|Cuba", 6771"America/Indiana/Knox|America/Knox_IN", 6772"America/Indiana/Knox|US/Indiana-Starke", 6773"America/Iqaluit|America/Pangnirtung", 6774"America/Jamaica|Jamaica", 6775"America/Kentucky/Louisville|America/Louisville", 6776"America/La_Paz|Etc/GMT+4", 6777"America/Los_Angeles|PST8PDT", 6778"America/Los_Angeles|US/Pacific", 6779"America/Manaus|Brazil/West", 6780"America/Mazatlan|Mexico/BajaSur", 6781"America/Mexico_City|Mexico/General", 6782"America/New_York|EST5EDT", 6783"America/New_York|US/Eastern", 6784"America/Noronha|Brazil/DeNoronha", 6785"America/Panama|America/Atikokan", 6786"America/Panama|America/Cayman", 6787"America/Panama|America/Coral_Harbour", 6788"America/Panama|EST", 6789"America/Phoenix|America/Creston", 6790"America/Phoenix|MST", 6791"America/Phoenix|US/Arizona", 6792"America/Puerto_Rico|America/Anguilla", 6793"America/Puerto_Rico|America/Antigua", 6794"America/Puerto_Rico|America/Aruba", 6795"America/Puerto_Rico|America/Blanc-Sablon", 6796"America/Puerto_Rico|America/Curacao", 6797"America/Puerto_Rico|America/Dominica", 6798"America/Puerto_Rico|America/Grenada", 6799"America/Puerto_Rico|America/Guadeloupe", 6800"America/Puerto_Rico|America/Kralendijk", 6801"America/Puerto_Rico|America/Lower_Princes", 6802"America/Puerto_Rico|America/Marigot", 6803"America/Puerto_Rico|America/Montserrat", 6804"America/Puerto_Rico|America/Port_of_Spain", 6805"America/Puerto_Rico|America/St_Barthelemy", 6806"America/Puerto_Rico|America/St_Kitts", 6807"America/Puerto_Rico|America/St_Lucia", 6808"America/Puerto_Rico|America/St_Thomas", 6809"America/Puerto_Rico|America/St_Vincent", 6810"America/Puerto_Rico|America/Tortola", 6811"America/Puerto_Rico|America/Virgin", 6812"America/Regina|Canada/Saskatchewan", 6813"America/Rio_Branco|America/Porto_Acre", 6814"America/Rio_Branco|Brazil/Acre", 6815"America/Santiago|Chile/Continental", 6816"America/Sao_Paulo|Brazil/East",
6817"America/St_Johns|Canada/Newfoundland", 6818"America/Tijuana|America/Ensenada", 6819"America/Tijuana|America/Santa_Isabel", 6820"America/Tijuana|Mexico/BajaNorte", 6821"America/Toronto|America/Montreal", 6822"America/Toronto|America/Nassau", 6823"America/Toronto|America/Nipigon", 6824"America/Toronto|America/Thunder_Bay", 6825"America/Toronto|Canada/Eastern", 6826"America/Vancouver|Canada/Pacific", 6827"America/Whitehorse|Canada/Yukon", 6828"America/Winnipeg|America/Rainy_River", 6829"America/Winnipeg|Canada/Central", 6830"Asia/Ashgabat|Asia/Ashkhabad", 6831"Asia/Bangkok|Asia/Phnom_Penh", 6832"Asia/Bangkok|Asia/Vientiane", 6833"Asia/Bangkok|Etc/GMT-7", 6834"Asia/Bangkok|Indian/Christmas", 6835"Asia/Brunei|Asia/Kuching", 6836"Asia/Brunei|Etc/GMT-8", 6837"Asia/Dhaka|Asia/Dacca", 6838"Asia/Dubai|Asia/Muscat", 6839"Asia/Dubai|Etc/GMT-4", 6840"Asia/Dubai|Indian/Mahe", 6841"Asia/Dubai|Indian/Reunion", 6842"Asia/Ho_Chi_Minh|Asia/Saigon", 6843"Asia/Hong_Kong|Hongkong", 6844"Asia/Jerusalem|Asia/Tel_Aviv", 6845"Asia/Jerusalem|Israel", 6846"Asia/Kathmandu|Asia/Katmandu", 6847"Asia/Kolkata|Asia/Calcutta", 6848"Asia/Kuala_Lumpur|Asia/Singapore", 6849"Asia/Kuala_Lumpur|Singapore", 6850"Asia/Macau|Asia/Macao", 6851"Asia/Makassar|Asia/Ujung_Pandang", 6852"Asia/Nicosia|Europe/Nicosia", 6853"Asia/Qatar|Asia/Bahrain", 6854"Asia/Rangoon|Asia/Yangon", 6855"Asia/Rangoon|Indian/Cocos", 6856"Asia/Riyadh|Antarctica/Syowa", 6857"Asia/Riyadh|Asia/Aden", 6858"Asia/Riyadh|Asia/Kuwait", 6859"Asia/Riyadh|Etc/GMT-3", 6860"Asia/Seoul|ROK", 6861"Asia/Shanghai|Asia/Chongqing", 6862"Asia/Shanghai|Asia/Chungking", 6863"Asia/Shanghai|Asia/Harbin", 6864"Asia/Shanghai|PRC", 6865"Asia/Taipei|ROC", 6866"Asia/Tehran|Iran", 6867"Asia/Thimphu|Asia/Thimbu", 6868"Asia/Tokyo|Japan", 6869"Asia/Ulaanbaatar|Asia/Ulan_Bator", 6870"Asia/Urumqi|Asia/Kashgar",
6871"Asia/Urumqi|Etc/GMT-6", 6872"Atlantic/Faroe|Atlantic/Faeroe", 6873"Atlantic/South_Georgia|Etc/GMT+2", 6874"Australia/Adelaide|Australia/South", 6875"Australia/Brisbane|Australia/Queensland", 6876"Australia/Broken_Hill|Australia/Yancowinna", 6877"Australia/Darwin|Australia/North", 6878"Australia/Hobart|Australia/Currie", 6879"Australia/Hobart|Australia/Tasmania", 6880"Australia/Lord_Howe|Australia/LHI", 6881"Australia/Melbourne|Australia/Victoria", 6882"Australia/Perth|Australia/West", 6883"Australia/Sydney|Australia/ACT", 6884"Australia/Sydney|Australia/Canberra", 6885"Australia/Sydney|Australia/NSW", 6886"Etc/UTC|Etc/UCT", 6887"Etc/UTC|Etc/Universal", 6888"Etc/UTC|Etc/Zulu", 6889"Etc/UTC|UCT", 6890"Etc/UTC|UTC", 6891"Etc/UTC|Universal", 6892"Etc/UTC|Zulu", 6893"Europe/Belgrade|Europe/Ljubljana", 6894"Europe/Belgrade|Europe/Podgorica", 6895"Europe/Belgrade|Europe/Sarajevo", 6896"Europe/Belgrade|Europe/Skopje", 6897"Europe/Belgrade|Europe/Zagreb", 6898"Europe/Berlin|Arctic/Longyearbyen", 6899"Europe/Berlin|Atlantic/Jan_Mayen", 6900"Europe/Berlin|Europe/Copenhagen", 6901"Europe/Berlin|Europe/Oslo", 6902"Europe/Berlin|Europe/Stockholm", 6903"Europe/Brussels|CET", 6904"Europe/Brussels|Europe/Amsterdam", 6905"Europe/Brussels|Europe/Luxembourg", 6906"Europe/Chisinau|Europe/Tiraspol", 6907"Europe/Dublin|Eire", 6908"Europe/Helsinki|Europe/Mariehamn", 6909"Europe/Istanbul|Asia/Istanbul", 6910"Europe/Istanbul|Turkey", 6911"Europe/Kiev|Europe/Kyiv", 6912"Europe/Kiev|Europe/Uzhgorod", 6913"Europe/Kiev|Europe/Zaporozhye", 6914"Europe/Lisbon|Portugal", 6915"Europe/London|Europe/Belfast", 6916"Europe/London|Europe/Guernsey", 6917"Europe/London|Europe/Isle_of_Man", 6918"Europe/London|Europe/Jersey", 6919"Europe/London|GB", 6920"Europe/London|GB-Eire", 6921"Europe/Moscow|W-SU", 6922"Europe/Paris|Europe/Monaco", 6923"Europe/Prague|Europe/Bratislava", 6924"Europe/Rome|Europe/San_Marino", 6925"Europe/Rome|Europe/Vatican", 6926"Europe/Warsaw|Poland", 6927"Europe/Zurich|Europe/Busingen", 6928"Europe/Zurich|Europe/Vaduz", 6929"Indian/Maldives|Etc/GMT-5", 6930"Indian/Maldives|Indian/Kerguelen", 6931"Pacific/Auckland|Antarctica/McMurdo", 6932"Pacific/Auckland|Antarctica/South_Pole", 6933"Pacific/Auckland|NZ", 6934"Pacific/Chatham|NZ-CHAT", 6935"Pacific/Easter|Chile/EasterIsland", 6936"Pacific/Enderbury|Pacific/Kanton", 6937"Pacific/Gambier|Etc/GMT+9", 6938"Pacific/Guadalcanal|Etc/GMT-11", 6939"Pacific/Guadalcanal|Pacific/Pohnpei", 6940"Pacific/Guadalcanal|Pacific/Ponape", 6941"Pacific/Guam|Pacific/Saipan", 6942"Pacific/Honolulu|HST", 6943"Pacific/Honolulu|Pacific/Johnston", 6944"Pacific/Honolulu|US/Hawaii", 6945"Pacific/Kwajalein|Kwajalein", 6946"Pacific/Niue|Etc/GMT+11", 6947"Pacific/Pago_Pago|Pacific/Midway", 6948"Pacific/Pago_Pago|Pacific/Samoa", 6949"Pacific/Pago_Pago|US/Samoa", 6950"Pacific/Palau|Etc/GMT-9", 6951"Pacific/Port_Moresby|Antarctica/DumontDUrville", 6952"Pacific/Port_Moresby|Etc/GMT-10", 6953"Pacific/Port_Moresby|Pacific/Chuuk", 6954"Pacific/Port_Moresby|Pacific/Truk", 6955"Pacific/Port_Moresby|Pacific/Yap", 6956"Pacific/Tahiti|Etc/GMT+10", 6957"Pacific/Tarawa|Etc/GMT-12", 6958"Pacific/Tarawa|Pacific/Funafuti", 6959"Pacific/Tarawa|Pacific/Majuro", 6960"Pacific/Tarawa|Pacific/Wake", 6961"Pacific/Tarawa|Pacific/Wallis" 6962], 6963"countries": [ 6964"AD|Europe/Andorra", 6965"AE|Asia/Dubai", 6966"AF|Asia/Kabul", 6967"AG|America/Puerto_Rico America/Antigua", 6968"AI|America/Puerto_Rico America/Anguilla", 6969"AL|Europe/Tirane", 6970"AM|Asia/Yerevan", 6971"AO|Africa/Lagos Africa/Luanda", 6972"AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Antarctica/Vostok Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa", 6973"AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia", 6974"AS|Pacific/Pago_Pago", 6975"AT|Europe/Vienna", 6976"AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla", 6977"AW|America/Puerto_Rico America/Aruba", 6978"AX|Europe/Helsinki Europe/Mariehamn", 6979"AZ|Asia/Baku", 6980"BA|Europe/Belgrade Europe/Sarajevo", 6981"BB|America/Barbados", 6982"BD|Asia/Dhaka", 6983"BE|Europe/Brussels", 6984"BF|Africa/Abidjan Africa/Ouagadougou", 6985"BG|Europe/Sofia", 6986"BH|Asia/Qatar Asia/Bahrain", 6987"BI|Africa/Maputo Africa/Bujumbura", 6988"BJ|Africa/Lagos Africa/Porto-Novo", 6989"BL|America/Puerto_Rico America/St_Barthelemy", 6990"BM|Atlantic/Bermuda", 6991"BN|Asia/Kuching Asia/Brunei", 6992"BO|America/La_Paz", 6993"BQ|America/Puerto_Rico America/Kralendijk", 6994"BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco", 6995"BS|America/Toronto America/Nassau", 6996"BT|Asia/Thimphu", 6997"BW|Africa/Maputo Africa/Gaborone", 6998"BY|Europe/Minsk", 6999"BZ|America/Belize", 7000"CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston", 7001"CC|Asia/Yangon Indian/Cocos", 7002"CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi", 7003"CF|Africa/Lagos Africa/Bangui", 7004"CG|Africa/Lagos Africa/Brazzaville", 7005"CH|Europe/Zurich", 7006"CI|Africa/Abidjan", 7007"CK|Pacific/Rarotonga", 7008"CL|America/Santiago America/Punta_Arenas Pacific/Easter", 7009"CM|Africa/Lagos Africa/Douala", 7010"CN|Asia/Shanghai Asia/Urumqi", 7011"CO|America/Bogota", 7012"CR|America/Costa_Rica", 7013"CU|America/Havana", 7014"CV|Atlantic/Cape_Verde", 7015"CW|America/Puerto_Rico America/Curacao", 7016"CX|Asia/Bangkok Indian/Christmas", 7017"CY|Asia/Nicosia Asia/Famagusta", 7018"CZ|Europe/Prague", 7019"DE|Europe/Zurich Europe/Berlin Europe/Busingen", 7020"DJ|Africa/Nairobi Africa/Djibouti", 7021"DK|Europe/Berlin Europe/Copenhagen", 7022"DM|America/Puerto_Rico America/Dominica", 7023"DO|America/Santo_Domingo", 7024"DZ|Africa/Algiers", 7025"EC|America/Guayaquil Pacific/Galapagos", 7026"EE|Europe/Tallinn", 7027"EG|Africa/Cairo", 7028"EH|Africa/El_Aaiun", 7029"ER|Africa/Nairobi Africa/Asmara", 7030"ES|Europe/Madrid Africa/Ceuta Atlantic/Canary", 7031"ET|Africa/Nairobi Africa/Addis_Ababa", 7032"FI|Europe/Helsinki", 7033"FJ|Pacific/Fiji", 7034"FK|Atlantic/Stanley", 7035"FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei", 7036"FO|Atlantic/Faroe", 7037"FR|Europe/Paris", 7038"GA|Africa/Lagos Africa/Libreville", 7039"GB|Europe/London", 7040"GD|America/Puerto_Rico America/Grenada", 7041"GE|Asia/Tbilisi", 7042"GF|America/Cayenne",
7043"GG|Europe/London Europe/Guernsey", 7044"GH|Africa/Abidjan Africa/Accra", 7045"GI|Europe/Gibraltar", 7046"GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule", 7047"GM|Africa/Abidjan Africa/Banjul", 7048"GN|Africa/Abidjan Africa/Conakry", 7049"GP|America/Puerto_Rico America/Guadeloupe", 7050"GQ|Africa/Lagos Africa/Malabo", 7051"GR|Europe/Athens", 7052"GS|Atlantic/South_Georgia", 7053"GT|America/Guatemala", 7054"GU|Pacific/Guam", 7055"GW|Africa/Bissau", 7056"GY|America/Guyana", 7057"HK|Asia/Hong_Kong", 7058"HN|America/Tegucigalpa", 7059"HR|Europe/Belgrade Europe/Zagreb", 7060"HT|America/Port-au-Prince", 7061"HU|Europe/Budapest", 7062"ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura", 7063"IE|Europe/Dublin", 7064"IL|Asia/Jerusalem", 7065"IM|Europe/London Europe/Isle_of_Man", 7066"IN|Asia/Kolkata", 7067"IO|Indian/Chagos", 7068"IQ|Asia/Baghdad", 7069"IR|Asia/Tehran", 7070"IS|Africa/Abidjan Atlantic/Reykjavik", 7071"IT|Europe/Rome", 7072"JE|Europe/London Europe/Jersey", 7073"JM|America/Jamaica", 7074"JO|Asia/Amman", 7075"JP|Asia/Tokyo", 7076"KE|Africa/Nairobi", 7077"KG|Asia/Bishkek", 7078"KH|Asia/Bangkok Asia/Phnom_Penh", 7079"KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati", 7080"KM|Africa/Nairobi Indian/Comoro", 7081"KN|America/Puerto_Rico America/St_Kitts", 7082"KP|Asia/Pyongyang", 7083"KR|Asia/Seoul", 7084"KW|Asia/Riyadh Asia/Kuwait", 7085"KY|America/Panama America/Cayman", 7086"KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral", 7087"LA|Asia/Bangkok Asia/Vientiane", 7088"LB|Asia/Beirut", 7089"LC|America/Puerto_Rico America/St_Lucia", 7090"LI|Europe/Zurich Europe/Vaduz", 7091"LK|Asia/Colombo", 7092"LR|Africa/Monrovia", 7093"LS|Africa/Johannesburg Africa/Maseru", 7094"LT|Europe/Vilnius", 7095"LU|Europe/Brussels Europe/Luxembourg", 7096"LV|Europe/Riga", 7097"LY|Africa/Tripoli", 7098"MA|Africa/Casablanca", 7099"MC|Europe/Paris Europe/Monaco", 7100"MD|Europe/Chisinau", 7101"ME|Europe/Belgrade Europe/Podgorica", 7102"MF|America/Puerto_Rico America/Marigot", 7103"MG|Africa/Nairobi Indian/Antananarivo", 7104"MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro", 7105"MK|Europe/Belgrade Europe/Skopje", 7106"ML|Africa/Abidjan Africa/Bamako", 7107"MM|Asia/Yangon", 7108"MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan", 7109"MO|Asia/Macau", 7110"MP|Pacific/Guam Pacific/Saipan", 7111"MQ|America/Martinique", 7112"MR|Africa/Abidjan Africa/Nouakchott", 7113"MS|America/Puerto_Rico America/Montserrat", 7114"MT|Europe/Malta", 7115"MU|Indian/Mauritius", 7116"MV|Indian/Maldives", 7117"MW|Africa/Maputo Africa/Blantyre", 7118"MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana", 7119"MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur", 7120"MZ|Africa/Maputo", 7121"NA|Africa/Windhoek", 7122"NC|Pacific/Noumea", 7123"NE|Africa/Lagos Africa/Niamey", 7124"NF|Pacific/Norfolk", 7125"NG|Africa/Lagos", 7126"NI|America/Managua", 7127"NL|Europe/Brussels Europe/Amsterdam", 7128"NO|Europe/Berlin Europe/Oslo", 7129"NP|Asia/Kathmandu", 7130"NR|Pacific/Nauru", 7131"NU|Pacific/Niue", 7132"NZ|Pacific/Auckland Pacific/Chatham", 7133"OM|Asia/Dubai Asia/Muscat", 7134"PA|America/Panama", 7135"PE|America/Lima", 7136"PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier", 7137"PG|Pacific/Port_Moresby Pacific/Bougainville", 7138"PH|Asia/Manila", 7139"PK|Asia/Karachi", 7140"PL|Europe/Warsaw", 7141"PM|America/Miquelon", 7142"PN|Pacific/Pitcairn", 7143"PR|America/Puerto_Rico", 7144"PS|Asia/Gaza Asia/Hebron", 7145"PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores", 7146"PW|Pacific/Palau", 7147"PY|America/Asuncion", 7148"QA|Asia/Qatar", 7149"RE|Asia/Dubai Indian/Reunion", 7150"RO|Europe/Bucharest", 7151"RS|Europe/Belgrade", 7152"RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr", 7153"RW|Africa/Maputo Africa/Kigali", 7154"SA|Asia/Riyadh", 7155"SB|Pacific/Guadalcanal", 7156"SC|Asia/Dubai Indian/Mahe", 7157"SD|Africa/Khartoum", 7158"SE|Europe/Berlin Europe/Stockholm", 7159"SG|Asia/Singapore", 7160"SH|Africa/Abidjan Atlantic/St_Helena", 7161"SI|Europe/Belgrade Europe/Ljubljana", 7162"SJ|Europe/Berlin Arctic/Longyearbyen", 7163"SK|Europe/Prague Europe/Bratislava", 7164"SL|Africa/Abidjan Africa/Freetown", 7165"SM|Europe/Rome Europe/San_Marino", 7166"SN|Africa/Abidjan Africa/Dakar", 7167"SO|Africa/Nairobi Africa/Mogadishu", 7168"SR|America/Paramaribo", 7169"SS|Africa/Juba", 7170"ST|Africa/Sao_Tome", 7171"SV|America/El_Salvador", 7172"SX|America/Puerto_Rico America/Lower_Princes", 7173"SY|Asia/Damascus", 7174"SZ|Africa/Johannesburg Africa/Mbabane", 7175"TC|America/Grand_Turk", 7176"TD|Africa/Ndjamena", 7177"TF|Asia/Dubai Indian/Maldives Indian/Kerguelen", 7178"TG|Africa/Abidjan Africa/Lome", 7179"TH|Asia/Bangkok", 7180"TJ|Asia/Dushanbe", 7181"TK|Pacific/Fakaofo", 7182"TL|Asia/Dili", 7183"TM|Asia/Ashgabat", 7184"TN|Africa/Tunis", 7185"TO|Pacific/Tongatapu", 7186"TR|Europe/Istanbul", 7187"TT|America/Puerto_Rico America/Port_of_Spain", 7188"TV|Pacific/Tarawa Pacific/Funafuti", 7189"TW|Asia/Taipei", 7190"TZ|Africa/Nairobi Africa/Dar_es_Salaam", 7191"UA|Europe/Simferopol Europe/Kyiv", 7192"UG|Africa/Nairobi Africa/Kampala", 7193"UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake",
7194"US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu", 7195"UY|America/Montevideo", 7196"UZ|Asia/Samarkand Asia/Tashkent", 7197"VA|Europe/Rome Europe/Vatican", 7198"VC|America/Puerto_Rico America/St_Vincent", 7199"VE|America/Caracas", 7200"VG|America/Puerto_Rico America/Tortola", 7201"VI|America/Puerto_Rico America/St_Thomas", 7202"VN|Asia/Bangkok Asia/Ho_Chi_Minh", 7203"VU|Pacific/Efate", 7204"WF|Pacific/Tarawa Pacific/Wallis", 7205"WS|Pacific/Apia", 7206"YE|Asia/Riyadh Asia/Aden", 7207"YT|Africa/Nairobi Indian/Mayotte", 7208"ZA|Africa/Johannesburg", 7209"ZM|Africa/Maputo Africa/Lusaka", 7210"ZW|Africa/Maputo Africa/Harare" 7211] 7212}); 7213return moment; 7214}));; 7215var escapeJSONChar=function(){var a=["\b","\t","\n","\f","\r"];return function(d){if(d=='"'||d=="\\"){return"\\"+d}if(d.charCodeAt(0)>=32){return d}for(var b=0;b<a.length;b++){if(d==a[b]){return"\\"+d}}return d}}();function escapeJSONString(b){var c=b.split("");for(var a=0;a<c.length;a++){c[a]=escapeJSONChar(c[a])}return'"'+c.join("")+'"'}function toJSON(f){var a="$_$jabsorbed$813492";var h;var e=[];function c(){var i;while(h){i=h[a].prev;delete h[a];h=i}}var g={};var b;function d(k,j,l){var u=[],n,m,t,r,q;if(k===null||k===undefined){return"null"}else{if(typeof k==="string"){return escapeJSONString(k)}else{if(typeof k==="number"){return k.toString()}else{if(typeof k==="boolean"){return k.toString()}else{if(k[a]){n=[l];t=j;while(t){if(m){m.unshift(t[a].ref)}if(t===k){r=t;m=[r[a].ref]}n.unshift(t[a].ref);t=t[a].parent}if(r){if(JSONRpcClient.fixupCircRefs){n.shift();m.shift();e.push([n,m]);return g}else{c();throw new Error("circular reference detected!")}}else{if(JSONRpcClient.fixupDuplicates){m=[k[a].ref];t=k[a].parent;while(t){m.unshift(t[a].ref);t=t[a].parent}n.shift();m.shift();e.push([n,m]);return g}}}else{k[a]={parent:j,prev:h,ref:l};h=k}if(k.constructor===Date){return'{javaClass: "java.util.Date", time: '+k.valueOf()+"}"}else{if(k.constructor===Array){for(q=0;q<k.length;q++){b=d(k[q],k,q);u.push(b===g?null:b)}return"["+u.join(", ")+"]"}
7215else{for(var s in k){if(s===a){}else{if(k[s]===null||k[s]===undefined){u.push('"'+s+'": null')}else{if(typeof k[s]=="function"){}else{b=d(k[s],k,s);if(b!==g){u.push(escapeJSONString(s)+": "+b)}}}}}return"{"+u.join(", ")+"}"}}}}}}}b=d(f,null,"root");c();if(e.length){return{json:b,fixups:e}}else{return{json:b}}}function JSONRpcClient(){var b=0,f,a,d,c;if(typeof arguments[0]=="function"){this.readyCB=arguments[0];b++}this.serverURL=arguments[b];this.user=arguments[b+1];this.pass=arguments[b+2];this.objectID=arguments[b+3];this.javaClass=arguments[b+4];this.JSONRPCType=arguments[b+5];if(JSONRpcClient.knownClasses[this.javaClass]&&(this.JSONRPCType=="CallableReference")){for(var e in JSONRpcClient.knownClasses[this.javaClass]){a=JSONRpcClient.knownClasses[this.javaClass][e];this[e]=JSONRpcClient.bind(a,this)}}else{if(this.objectID){this._addMethods(["listMethods"],this.javaClass);f=this._makeRequest("listMethods",[])}else{this._addMethods(["system.listMethods"],this.javaClass);f=this._makeRequest("system.listMethods",[])}if(this.readyCB){c=this;f.cb=function(g,h){if(!h){c._addMethods(g)}c.readyCB(g,h)}}d=this._sendRequest(f);if(!this.readyCB){this._addMethods(d,this.javaClass)}}}JSONRpcClient.knownClasses={};
7215JSONRpcClient.Exception=function(e,d,c){this.code=e;var b,a;if(c){this.javaStack=c;a=c.match(/^([^:]*)/);if(a){b=a[0]}}if(b){this.name=b}else{this.name="JSONRpcClientException"}this.message=d};JSONRpcClient.Exception.CODE_REMOTE_EXCEPTION=490;JSONRpcClient.Exception.CODE_ERR_CLIENT=550;JSONRpcClient.Exception.CODE_ERR_PARSE=590;JSONRpcClient.Exception.CODE_ERR_NOMETHOD=591;JSONRpcClient.Exception.CODE_ERR_UNMARSHALL=592;JSONRpcClient.Exception.CODE_ERR_MARSHALL=593;JSONRpcClient.Exception.prototype=new Error();JSONRpcClient.Exception.prototype.toString=function(a,b){return this.name+": "+this.message};JSONRpcClient.default_ex_handler=function(a){alert(a)};JSONRpcClient.toplevel_ex_handler=JSONRpcClient.default_ex_handler;JSONRpcClient.profile_async=false;JSONRpcClient.max_req_active=1;JSONRpcClient.requestId=1;JSONRpcClient.fixupCircRefs=true;JSONRpcClient.fixupDuplicates=true;JSONRpcClient.bind=function(b,a){return function(){return b.apply(a,arguments)}};JSONRpcClient.prototype._createMethod=function(b){var a=function(){var c=[],f;for(var d=0;d<arguments.length;d++){c.push(arguments[d])}if(typeof c[0]=="function"){f=c.shift()}var e=this._makeRequest.call(this,b,c,f);if(!f){return this._sendRequest.call(this,e)}else{JSONRpcClient.async_requests.push(e);JSONRpcClient.kick_async();return e.requestId}};return a};JSONRpcClient.prototype._addMethods=function(c,h){var a,e,d,g,f;if(h){JSONRpcClient.knownClasses[h]={}}for(var b=0;b<c.length;b++){e=this;d=c[b].split(".");for(g=0;g<d.length-1;g++){a=d[g];if(e[a]){e=e[a]}else{e[a]={};e=e[a]}}a=d[d.length-1];if(!e[a]){f=this._createMethod(c[b]);e[a]=JSONRpcClient.bind(f,this);if(h&&(a!="listMethods")){JSONRpcClient.knownClasses[h][a]=f}}}};JSONRpcClient._getCharsetFromHeaders=function(a){var f,d,b;try{f=a.getResponseHeader("Content-type");d=f.split(/\s*;\s*/);for(b=0;b<d.length;b++){if(d[b].substring(0,8)=="charset="){return d[b].substring(8,d[b].length)}}}catch(c){}return"UTF-8"};JSONRpcClient.async_requests=[];JSONRpcClient.async_inflight={};JSONRpcClient.async_responses=[];JSONRpcClient.async_timeout=null;JSONRpcClient.num_req_active=0;JSONRpcClient._async_handler=function(){var a,b;JSONRpcClient.async_timeout=null;while(JSONRpcClient.async_responses.length>0){a=JSONRpcClient.async_responses.shift();if(a.canceled){continue}if(a.profile){a.profile.dispatch=new Date()}try{a.cb(a.result,a.ex,a.profile)}catch(c){JSONRpcClient.toplevel_ex_handler(c)}}while(JSONRpcClient.async_requests.length>0&&JSONRpcClient.num_req_active<JSONRpcClient.max_req_active){b=JSONRpcClient.async_requests.shift();if(b.canceled){continue}b.client._sendRequest.call(b.client,b)}};JSONRpcClient.kick_async=function(){if(!JSONRpcClient.async_timeout){JSONRpcClient.async_timeout=setTimeout(JSONRpcClient._async_handler,0)}};JSONRpcClient.cancelRequest=function(b){if(JSONRpcClient.async_inflight[b]){JSONRpcClient.async_inflight[b].canceled=true;return true}var a;for(a in JSONRpcClient.async_requests){if(JSONRpcClient.async_requests[a].requestId==b){JSONRpcClient.async_requests[a].canceled=true;return true}}for(a in JSONRpcClient.async_responses){if(JSONRpcClient.async_responses[a].requestId==b){JSONRpcClient.async_responses[a].canceled=true;return true}}return false};JSONRpcClient.prototype._makeRequest=function(b,d,a){var e={};e.client=this;e.requestId=JSONRpcClient.requestId++;var f='{"id":'+e.requestId+',"method":';if(this.objectID){f+='".obj#'+this.objectID+"."+b+'"'}else{f+='"'+b+'"'}if(a){e.cb=a}if(JSONRpcClient.profile_async){e.profile={submit:new Date()}}var c=toJSON(d);f+=',"params":'+c.json;if(c.fixups){f+=',"fixups":'+toJSON(c.fixups).json}e.data=f+"}";return e};JSONRpcClient.prototype._sendRequest=function(c){var b,a;if(c.profile){c.profile.start=new Date()}b=JSONRpcClient.poolGetHTTPRequest();JSONRpcClient.num_req_active++;b.open("POST",this.serverURL,!!c.cb,this.user,this.pass);try{b.setRequestHeader("Content-type","text/plain")}catch(d){}if(c.cb){a=this;b.onreadystatechange=function(){var f;if(b.readyState==4){b.onreadystatechange=function(){};f={cb:c.cb,result:null,ex:null};if(c.profile){f.profile=c.profile;f.profile.end=new Date()}else{f.profile=false}try{f.result=a._handleResponse(b)}catch(g){f.ex=g}if(!JSONRpcClient.async_inflight[c.requestId].canceled){JSONRpcClient.async_responses.push(f)}
7215delete JSONRpcClient.async_inflight[c.requestId];JSONRpcClient.kick_async()}}}else{b.onreadystatechange=function(){}}JSONRpcClient.async_inflight[c.requestId]=c;try{b.send(c.data)}catch(d){JSONRpcClient.poolReturnHTTPRequest(b);JSONRpcClient.num_req_active--;throw new JSONRpcClient.Exception(JSONRpcClient.Exception.CODE_ERR_CLIENT,"Connection failed")}if(!c.cb){delete JSONRpcClient.async_inflight[c.requestId];return this._handleResponse(b)}return null};JSONRpcClient.prototype._handleResponse=function(http){function applyFixups(obj,fixups){function findOriginal(ob,original){for(var i=0,j=original.length;i<j;i++){ob=ob[original[i]]}return ob}function applyFixup(ob,fixups,value){var j=fixups.length-1;for(var i=0;i<j;i++){ob=ob[fixups[i]]}ob[fixups[j]]=value}for(var i=0,j=fixups.length;i<j;i++){applyFixup(obj,fixups[i][0],findOriginal(obj,fixups[i][1]))}}if(!this.charset){this.charset=JSONRpcClient._getCharsetFromHeaders(http)}var status,statusText,data;try{status=http.status;statusText=http.statusText;data=http.responseText}catch(e){JSONRpcClient.poolReturnHTTPRequest(http);JSONRpcClient.num_req_active--;JSONRpcClient.kick_async();throw new JSONRpcClient.Exception(JSONRpcClient.Exception.CODE_ERR_CLIENT,"Connection failed")}JSONRpcClient.poolReturnHTTPRequest(http);JSONRpcClient.num_req_active--;if(status!=200){throw new JSONRpcClient.Exception(status,statusText)}var obj;try{eval("obj = "+data)}catch(e){throw new JSONRpcClient.Exception(550,"error parsing result")}if(obj.error){throw new JSONRpcClient.Exception(obj.error.code,obj.error.msg,obj.error.trace)}var r=obj.result;var i,tmp;if(r){if(r.objectID&&r.JSONRPCType=="CallableReference"){return new JSONRpcClient(this.serverURL,this.user,this.pass,r.objectID,r.javaClass,r.JSONRPCType)}r=JSONRpcClient.extractCallableReferences(this,r)}if(obj.fixups){applyFixups(r,obj.fixups)}return r};JSONRpcClient.extractCallableReferences=function(b,a){var d,c,e;for(d in a){if(typeof(a[d])=="object"){c=JSONRpcClient.makeCallableReference(b,a[d]);if(c){a[d]=c}else{c=JSONRpcClient.extractCallableReferences(b,a[d]);a[d]=c}}if(typeof(d)=="object"){c=JSONRpcClient.makeCallableReference(b,d);if(c){e=a[d];delete a[d];a[c]=e}else{c=JSONRpcClient.extractCallableReferences(b,d);e=a[d];delete a[d];a[c]=e}}}return a};JSONRpcClient.makeCallableReference=function(a,b){if(b&&b.objectID&&b.javaClass&&b.JSONRPCType=="CallableReference"){return new JSONRpcClient(a.serverURL,a.user,a.pass,b.objectID,b.javaClass,b.JSONRPCType)}return null};JSONRpcClient.http_spare=[];JSONRpcClient.http_max_spare=8;JSONRpcClient.poolGetHTTPRequest=function(){if(JSONRpcClient.http_spare.length>0){return JSONRpcClient.http_spare.pop()}return JSONRpcClient.getHTTPRequest()};JSONRpcClient.poolReturnHTTPRequest=function(a){if(JSONRpcClient.http_spare.length>=JSONRpcClient.http_max_spare){delete a}else{JSONRpcClient.http_spare.push(a)}};JSONRpcClient.msxmlNames=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","Microsoft.XMLHTTP"];JSONRpcClient.getHTTPRequest=function(){try{JSONRpcClient.httpObjectName="XMLHttpRequest";return new XMLHttpRequest()}catch(b){}for(var a=0;a<JSONRpcClient.msxmlNames.length;a++){try{JSONRpcClient.httpObjectName=JSONRpcClient.msxmlNames[a];return new ActiveXObject(JSONRpcClient.msxmlNames[a])}catch(b){}}JSONRpcClient.httpObjectName=null;throw new JSONRpcClient.Exception(0,"Can't create XMLHttpRequest object")};; 7216var Prototype={Version:"1.7.3",Browser:(function(){var b=navigator.userAgent;var a=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!a,Opera:a,WebKit:b.indexOf("AppleWebKit/")>-1,Gecko:b.indexOf("Gecko")>-1&&b.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile/.test(b)}})(),BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:(function(){var a=window.Element||window.HTMLElement;return !!(a&&a.prototype)})(),SpecificElementExtensions:(function(){if(typeof window.HTMLDivElement!=="undefined"){return true}var c=document.createElement("div"),b=document.createElement("form"),a=false;if(c.__proto__&&(c.__proto__!==b.__proto__)){a=true}c=b=null;return a})()},ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script\\s*>",JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(a){return a}};if(Prototype.Browser.MobileSafari){Prototype.BrowserFeatures.SpecificElementExtensions=false}var Class=(function(){var d=(function(){for(var e in {toString:1}){if(e==="toString"){return false}}return true})();function a(){}function b(){var h=null,g=$A(arguments);if(Object.isFunction(g[0])){h=g.shift()}function e(){this.initialize.apply(this,arguments)}Object.extend(e,Class.Methods);e.superclass=h;e.subclasses=[];if(h){a.prototype=h.prototype;e.prototype=new a;h.subclasses.push(e)}for(var f=0,j=g.length;f<j;f++){e.addMethods(g[f])}if(!e.prototype.initialize){e.prototype.initialize=Prototype.emptyFunction}e.prototype.constructor=e;return e}function c(l){var g=this.superclass&&this.superclass.prototype,f=Object.keys(l);if(d){if(l.toString!=Object.prototype.toString){f.push("toString")}if(l.valueOf!=Object.prototype.valueOf){f.push("valueOf")}}for(var e=0,h=f.length;e<h;e++){var k=f[e],j=l[k];if(g&&Object.isFunction(j)&&j.argumentNames()[0]=="$super"){var m=j;j=(function(i){return function(){return g[i].apply(this,arguments)}})(k).wrap(m);j.valueOf=(function(i){return function(){return i.valueOf.call(i)}})(m);j.toString=(function(i){return function(){return i.toString.call(i)}})(m)}this.prototype[k]=j}return this}return{create:b,Methods:{addMethods:c}}})();(function(){var y=Object.prototype.toString,k=Object.prototype.hasOwnProperty,z="Null",B="Undefined",K="Boolean",w="Number",v="String",I="Object",i="[object Function]",d="[object Boolean]",j="[object Number]",f="[object String]",b="[object Array]",H="[object Date]",e=window.JSON&&typeof JSON.stringify==="function"&&JSON.stringify(0)==="0"&&typeof JSON.stringify(Prototype.K)==="undefined";
7216var q=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var a=(function(){for(var L in {toString:1}){if(L==="toString"){return false}}return true})();function D(M){switch(M){case null:return z;case (void 0):return B}var L=typeof M;switch(L){case"boolean":return K;case"number":return w;case"string":return v}return I}function h(L,N){for(var M in N){L[M]=N[M]}return L}function l(L){try{if(o(L)){return"undefined"}if(L===null){return"null"}return L.inspect?L.inspect():String(L)}catch(M){if(M instanceof RangeError){return"..."}throw M}}function A(L){return m("",{"":L},[])}function m(U,R,S){var T=R[U];if(D(T)===I&&typeof T.toJSON==="function"){T=T.toJSON(U)}var N=y.call(T);switch(N){case j:case d:case f:T=T.valueOf()}switch(T){case null:return"null";case true:return"true";case false:return"false"}var Q=typeof T;switch(Q){case"string":return T.inspect(true);case"number":return isFinite(T)?String(T):"null";case"object":for(var M=0,L=S.length;M<L;M++){if(S[M]===T){throw new TypeError("Cyclic reference to '"+T+"' in object")}}S.push(T);var P=[];if(N===b){for(var M=0,L=T.length;M<L;M++){var O=m(M,T,S);P.push(typeof O==="undefined"?"null":O)}P="["+P.join(",")+"]"}else{var V=Object.keys(T);for(var M=0,L=V.length;M<L;M++){var U=V[M],O=m(U,T,S);if(typeof O!=="undefined"){P.push(U.inspect(true)+":"+O)}}P="{"+P.join(",")+"}"}S.pop();return P}}function J(L){return JSON.stringify(L)}function C(L){return $H(L).toQueryString()}function p(L){return L&&L.toHTML?L.toHTML():String.interpret(L)}function x(L){if(D(L)!==I){throw new TypeError()}var N=[];for(var O in L){if(k.call(L,O)){N.push(O)}}if(a){for(var M=0;O=q[M];M++){if(k.call(L,O)){N.push(O)}}}return N}function G(L){var M=[];for(var N in L){M.push(L[N])}return M}function s(L){return h({},L)}function E(L){return !!(L&&L.nodeType==1)}function u(L){return y.call(L)===b}var c=(typeof Array.isArray=="function")&&Array.isArray([])&&!Array.isArray({});if(c){u=Array.isArray}function r(L){return L instanceof Hash}function n(L){return y.call(L)===i}function g(L){return y.call(L)===f}function F(L){return y.call(L)===j}function t(L){return y.call(L)===H}function o(L){return typeof L==="undefined"}h(Object,{extend:h,inspect:l,toJSON:e?J:A,toQueryString:C,toHTML:p,keys:Object.keys||x,values:G,clone:s,isElement:E,isArray:u,isHash:r,isFunction:n,isString:g,isNumber:F,isDate:t,isUndefined:o})})();Object.extend(Function.prototype,(function(){var l=Array.prototype.slice;function d(p,m){var o=p.length,n=m.length;while(n--){p[o+n]=m[n]}return p}function j(n,m){n=l.call(n,0);return d(n,m)}function g(){var m=this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return m.length==1&&!m[0]?[]:m}function h(o){if(arguments.length<2&&Object.isUndefined(arguments[0])){return this}if(!Object.isFunction(this)){throw new TypeError("The object is not callable.")}var q=function(){};var m=this,n=l.call(arguments,1);var p=function(){var r=j(n,arguments);var s=this instanceof p?this:o;return m.apply(s,r)};q.prototype=this.prototype;p.prototype=new q();return p}function f(o){var m=this,n=l.call(arguments,1);return function(q){var p=d([q||window.event],n);return m.apply(o,p)}}function k(){if(!arguments.length){return this}var m=this,n=l.call(arguments,0);return function(){var o=j(n,arguments);return m.apply(this,o)}}function e(o){var m=this,n=l.call(arguments,1);o=o*1000;return window.setTimeout(function(){return m.apply(m,n)},o)}function a(){var m=d([0.01],arguments);return this.delay.apply(this,m)}function c(n){var m=this;return function(){var o=d([m.bind(this)],arguments);return n.apply(this,o)}}function b(){if(this._methodized){return this._methodized}var m=this;return this._methodized=function(){var n=d([this],arguments);return m.apply(null,n)}}var i={argumentNames:g,bindAsEventListener:f,curry:k,delay:e,defer:a,wrap:c,methodize:b};if(!Function.prototype.bind){i.bind=h}return i})());(function(c){function b(){return this.getUTCFullYear()+"-"+(this.getUTCMonth()+1).toPaddedString(2)+"-"+this.getUTCDate().toPaddedString(2)+"T"+this.getUTCHours().toPaddedString(2)+":"+this.getUTCMinutes().toPaddedString(2)+":"+this.getUTCSeconds().toPaddedString(2)+"Z"}function a(){return this.toISOString()}if(!c.toISOString){c.toISOString=b}if(!c.toJSON){c.toJSON=a}})(Date.prototype);RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(a){return String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var PeriodicalExecuter=Class.create({initialize:function(b,a){this.callback=b;this.frequency=a;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute();this.currentlyExecuting=false}catch(a){this.currentlyExecuting=false;throw a}}}});Object.extend(String,{interpret:function(a){return a==null?"":String(a)},specialChar:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\\":"\\\\"}});Object.extend(String.prototype,(function(){var NATIVE_JSON_PARSE_SUPPORT=window.JSON&&typeof JSON.parse==="function"&&JSON.parse('{"test": true}').test;function prepareReplacement(replacement){if(Object.isFunction(replacement)){return replacement}var template=new Template(replacement);return function(match){return template.evaluate(match)}}function isNonEmptyRegExp(regexp){return regexp.source&®exp.source!=="(?:)"}function gsub(pattern,replacement){var result="",source=this,match;replacement=prepareReplacement(replacement);if(Object.isString(pattern)){pattern=RegExp.escape(pattern)}if(!(pattern.length||isNonEmptyRegExp(pattern))){replacement=replacement("");return replacement+source.split("").join(replacement)+replacement}while(source.length>0){match=source.match(pattern);if(match&&match[0].length>0){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length)}else{result+=source,source=""}}return result}function sub(pattern,replacement,count){replacement=prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;
7216return this.gsub(pattern,function(match){if(--count<0){return match[0]}return replacement(match)})}function scan(pattern,iterator){this.gsub(pattern,iterator);return String(this)}function truncate(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?"...":truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)}function strip(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}function stripTags(){return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?(\/)?>|<\/\w+>/gi,"")}function stripScripts(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"")}function extractScripts(){var matchAll=new RegExp(Prototype.ScriptFragment,"img"),matchOne=new RegExp(Prototype.ScriptFragment,"im");return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||["",""])[1]})}function evalScripts(){return this.extractScripts().map(function(script){return eval(script)})}function escapeHTML(){return this.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function unescapeHTML(){return this.stripTags().replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}function toQueryParams(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match){return{}}return match[1].split(separator||"&").inject({},function(hash,pair){if((pair=pair.split("="))[0]){var key=decodeURIComponent(pair.shift()),value=pair.length>1?pair.join("="):pair[0];if(value!=undefined){value=value.gsub("+"," ");value=decodeURIComponent(value)}if(key in hash){if(!Object.isArray(hash[key])){hash[key]=[hash[key]]}hash[key].push(value)}else{hash[key]=value}}return hash})}function toArray(){return this.split("")}function succ(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)}function times(count){return count<1?"":new Array(count+1).join(this)}function camelize(){return this.replace(/-+(.)?/g,function(match,chr){return chr?chr.toUpperCase():""})}function capitalize(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()}function underscore(){return this.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/-/g,"_").toLowerCase()}function dasherize(){return this.replace(/_/g,"-")}function inspect(useDoubleQuotes){var escapedString=this.replace(/[\x00-\x1f\\]/g,function(character){if(character in String.specialChar){return String.specialChar[character]}return"\\u00"+character.charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes){return'"'+escapedString.replace(/"/g,'\\"')+'"'}return"'"+escapedString.replace(/'/g,"\\'")+"'"}function unfilterJSON(filter){return this.replace(filter||Prototype.JSONFilter,"$1")}function isJSON(){var str=this;if(str.blank()){return false}str=str.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@");str=str.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");str=str.replace(/(?:^|:|,)(?:\s*\[)+/g,"");return(/^[\],:{}\s]*$/).test(str)}function evalJSON(sanitize){var json=this.unfilterJSON(),cx=/[\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff\u0000]/g;if(cx.test(json)){json=json.replace(cx,function(a){return"\\u"+("0000"+a.charCo
7216deAt(0).toString(16)).slice(-4)})}try{if(!sanitize||json.isJSON()){return eval("("+json+")")}}catch(e){}throw new SyntaxError("Badly formed JSON string: "+this.inspect())}function parseJSON(){var json=this.unfilterJSON();return JSON.parse(json)}function include(pattern){return this.indexOf(pattern)>-1}function startsWith(pattern,position){position=Object.isNumber(position)?position:0;return this.lastIndexOf(pattern,position)===position}function endsWith(pattern,position){pattern=String(pattern);position=Object.isNumber(position)?position:this.length;if(position<0){position=0}if(position>this.length){position=this.length}var d=position-pattern.length;return d>=0&&this.indexOf(pattern,d)===d}function empty(){return this==""}function blank(){return/^\s*$/.test(this)}function interpolate(object,pattern){return new Template(this,pattern).evaluate(object)}return{gsub:gsub,sub:sub,scan:scan,truncate:truncate,strip:String.prototype.trim||strip,stripTags:stripTags,stripScripts:stripScripts,extractScripts:extractScripts,evalScripts:evalScripts,escapeHTML:escapeHTML,unescapeHTML:unescapeHTML,toQueryParams:toQueryParams,parseQuery:toQueryParams,toArray:toArray,succ:succ,times:times,camelize:camelize,capitalize:capitalize,underscore:underscore,dasherize:dasherize,inspect:inspect,unfilterJSON:unfilterJSON,isJSON:isJSON,evalJSON:NATIVE_JSON_PARSE_SUPPORT?parseJSON:evalJSON,include:include,startsWith:String.prototype.startsWith||startsWith,endsWith:String.prototype.endsWith||endsWith,empty:empty,blank:blank,interpolate:interpolate}})());var Template=Class.create({initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(a){if(a&&Object.isFunction(a.toTemplateReplacements)){a=a.toTemplateReplacements()}return this.template.gsub(this.pattern,function(d){if(a==null){return(d[1]+"")}var f=d[1]||"";if(f=="\\"){return d[2]}var b=a,g=d[3],e=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;d=e.exec(g);if(d==null){return f}while(d!=null){var c=d[1].startsWith("[")?d[2].replace(/\\\\]/g,"]"):d[1];b=b[c];if(null==b||""==d[3]){break}g=g.substring("["==d[3]?d[1].length:d[0].length);d=e.exec(g)}return f+String.interpret(b)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable=(function(){function c(x,w){try{this._each(x,w)}catch(y){if(y!=$break){throw y}}return this}function r(z,y,x){var w=-z,A=[],B=this.toArray();if(z<1){return B}while((w+=z)<B.length){A.push(B.slice(w,w+z))}return A.collect(y,x)}function b(y,x){y=y||Prototype.K;var w=true;this.each(function(A,z){w=w&&!!y.call(x,A,z,this);if(!w){throw $break}},this);return w}function i(y,x){y=y||Prototype.K;var w=false;this.each(function(A,z){if(w=!!y.call(x,A,z,this)){throw $break}},this);return w}function j(y,x){y=y||Prototype.K;var w=[];this.each(function(A,z){w.push(y.call(x,A,z,this))},this);return w}function t(y,x){var w;this.each(function(A,z){if(y.call(x,A,z,this)){w=A;throw $break}},this);return w}function h(y,x){var w=[];this.each(function(A,z){if(y.call(x,A,z,this)){w.push(A)}},this);return w}function g(z,y,x){y=y||Prototype.K;var w=[];if(Object.isString(z)){z=new RegExp(RegExp.escape(z))}this.each(function(B,A){if(z.match(B)){w.push(y.call(x,B,A,this))}},this);return w}function a(w){if(Object.isFunction(this.indexOf)&&this.indexOf(w)!=-1){return true}var x=false;this.each(function(y){if(y==w){x=true;throw $break}});return x}function q(x,w){w=Object.isUndefined(w)?null:w;return this.eachSlice(x,function(y){while(y.length<x){y.push(w)}return y})}function l(w,y,x){this.each(function(A,z){w=y.call(x,w,A,z,this)},this);return w}function v(x){var w=$A(arguments).slice(1);return this.map(function(y){return y[x].apply(y,w)})}function p(y,x){y=y||Prototype.K;var w;this.each(function(A,z){A=y.call(x,A,z,this);if(w==null||A>=w){w=A}},this);return w}function n(y,x){y=y||Prototype.K;var w;this.each(function(A,z){A=y.call(x,A,z,this);if(w==null||A<w){w=A}},this);return w}function e(z,x){z=z||Prototype.K;var y=[],w=[];this.each(function(B,A){(z.call(x,B,A,this)?y:w).push(B)},this);return[y,w]}function f(x){var w=[];this.each(function(y){w.push(y[x])});return w}function d(y,x){var w=[];this.each(function(A,z){if(!y.call(x,A,z,this)){w.push(A)}},this);return w}function m(x,w){return this.map(function(z,y){return{value:z,criteria:x.call(w,z,y,this)}},this).sort(function(B,A){var z=B.criteria,y=A.criteria;return z<y?-1:z>y?1:0}).pluck("value")}function o(){return this.map()}function s(){var x=Prototype.K,w=$A(arguments);if(Object.isFunction(w.last())){x=w.pop()}var y=[this].concat(w).map($A);return this.map(function(A,z){return x(y.pluck(z))})}function k(){return this.toArray().length}function u(){return"#<Enumerable:"+this.toArray().inspect()+">"}return{each:c,eachSlice:r,all:b,every:b,any:i,some:i,collect:j,map:j,detect:t,findAll:h,select:h,filter:h,grep:g,include:a,member:a,inGroupsOf:q,inject:l,invoke:v,max:p,min:n,partition:e,pluck:f,reject:d,sortBy:m,toArray:o,entries:o,zip:s,size:k,inspect:u,find:t}})();function $A(c){if(!c){return[]}if("toArray" in Object(c)){return c.toArray()}var b=c.length||0,a=new Array(b);while(b--){a[b]=c[b]}return a}function $w(a){if(!Object.isString(a)){return[]}a=a.strip();return a?a.split(/\s+/):[]}Array.from=$A;(function(){var v=Array.prototype,o=v.slice,q=v.forEach;function b(B,A){for(var z=0,C=this.length>>>0;z<C;z++){if(z in this){B.call(A,this[z],z,this)}}}if(!q){q=b}function n(){this.length=0;return this}function d(){return this[0]}function g(){return this[this.length-1]}function k(){return this.select(function(z){return z!=null})}function y(){return this.inject([],function(A,z){if(Object.isArray(z)){return A.concat(z.flatten())}A.push(z);return A})}function j(){var z=o.call(arguments,0);return this.select(function(A){return !z.include(A)})}function f(z){return(z===false?this.toArray():this)._reverse()}function m(z){return this.inject([],function(C,B,A){if(0==A||(z?C.last()!=B:!C.include(B))){C.push(B)}return C})}function r(z){return this.uniq().findAll(function(A){return z.indexOf(A)!==-1})}function t(){return o.call(this,0)}function l(){return this.length}function w(){return"["+this.map(Object.inspect).join(", ")+"]"}function a(C,A){if(this==null){throw new TypeError()}var D=Object(this),B=D.length>>>0;if(B===0){return -1}A=Number(A);
7216if(isNaN(A)){A=0}else{if(A!==0&&isFinite(A)){A=(A>0?1:-1)*Math.floor(Math.abs(A))}}if(A>B){return -1}var z=A>=0?A:Math.max(B-Math.abs(A),0);for(;z<B;z++){if(z in D&&D[z]===C){return z}}return -1}function p(C,A){if(this==null){throw new TypeError()}var D=Object(this),B=D.length>>>0;if(B===0){return -1}if(!Object.isUndefined(A)){A=Number(A);if(isNaN(A)){A=0}else{if(A!==0&&isFinite(A)){A=(A>0?1:-1)*Math.floor(Math.abs(A))}}}else{A=B}var z=A>=0?Math.min(A,B-1):B-Math.abs(A);for(;z>=0;z--){if(z in D&&D[z]===C){return z}}return -1}function c(G){var E=[],F=o.call(arguments,0),H,A=0;F.unshift(this);for(var D=0,z=F.length;D<z;D++){H=F[D];if(Object.isArray(H)&&!("callee" in H)){for(var C=0,B=H.length;C<B;C++){if(C in H){E[A]=H[C]}A++}}else{E[A++]=H}}E.length=A;return E}function s(z){return function(){if(arguments.length===0){return z.call(this,Prototype.K)}else{if(arguments[0]===undefined){var A=o.call(arguments,1);A.unshift(Prototype.K);return z.apply(this,A)}else{return z.apply(this,arguments)}}}}function u(D){if(this==null){throw new TypeError()}D=D||Prototype.K;var z=Object(this);var C=[],B=arguments[1],F=0;for(var A=0,E=z.length>>>0;A<E;A++){if(A in z){C[F]=D.call(B,z[A],A,z)}F++}C.length=F;return C}if(v.map){u=s(Array.prototype.map)}function h(D){if(this==null||!Object.isFunction(D)){throw new TypeError()}var z=Object(this);var C=[],B=arguments[1],F;for(var A=0,E=z.length>>>0;A<E;A++){if(A in z){F=z[A];if(D.call(B,F,A,z)){C.push(F)}}}return C}if(v.filter){h=Array.prototype.filter}function i(C){if(this==null){throw new TypeError()}C=C||Prototype.K;var B=arguments[1];var z=Object(this);for(var A=0,D=z.length>>>0;A<D;A++){if(A in z&&C.call(B,z[A],A,z)){return true}}return false}if(v.some){i=s(Array.prototype.some)}function x(C){if(this==null){throw new TypeError()}C=C||Prototype.K;var B=arguments[1];var z=Object(this);for(var A=0,D=z.length>>>0;A<D;A++){if(A in z&&!C.call(B,z[A],A,z)){return false}}return true}if(v.every){x=s(Array.prototype.every)}Object.extend(v,Enumerable);if(v.entries===Enumerable.entries){delete v.entries}if(!v._reverse){v._reverse=v.reverse}Object.extend(v,{_each:q,map:u,collect:u,select:h,filter:h,findAll:h,some:i,any:i,every:x,all:x,clear:n,first:d,last:g,compact:k,flatten:y,without:j,reverse:f,uniq:m,intersect:r,clone:t,toArray:t,size:l,inspect:w});var e=(function(){return[].concat(arguments)[0][0]!==1})(1,2);if(e){v.concat=c}if(!v.indexOf){v.indexOf=a}if(!v.lastIndexOf){v.lastIndexOf=p}})();function $H(a){return new Hash(a)}var Hash=Class.create(Enumerable,(function(){function e(p){this._object=Object.isHash(p)?p.toObject():Object.clone(p)}function f(s,r){var q=0;for(var p in this._object){var t=this._object[p],u=[p,t];u.key=p;u.value=t;s.call(r,u,q);q++}}function j(p,q){return this._object[p]=q}function c(p){if(this._object[p]!==Object.prototype[p]){return this._object[p]}}function m(p){var q=this._object[p];delete this._object[p];return q}function o(){return Object.clone(this._object)}function n(){return this.pluck("key")}function l(){return this.pluck("value")}function g(q){var p=this.detect(function(r){return r.value===q});return p&&p.key}function i(p){return this.clone().update(p)}function d(p){return new Hash(p).inject(this,function(q,r){q.set(r.key,r.value);return q})}function b(p,q){if(Object.isUndefined(q)){return p}q=String.interpret(q);q=q.gsub(/(\r)?\n/,"\r\n");q=encodeURIComponent(q);q=q.gsub(/%20/,"+");return p+"="+q}function a(){return this.inject([],function(t,w){var s=encodeURIComponent(w.key),q=w.value;if(q&&typeof q=="object"){if(Object.isArray(q)){var v=[];for(var r=0,p=q.length,u;r<p;r++){u=q[r];v.push(b(s,u))}return t.concat(v)}}else{t.push(b(s,q))}return t}).join("&")}function k(){return"#<Hash:{"+this.map(function(p){return p.map(Object.inspect).join(": ")}).join(", ")+"}>"}function h(){return new Hash(this)}return{initialize:e,_each:f,set:j,get:c,unset:m,toObject:o,toTemplateReplacements:o,keys:n,values:l,index:g,merge:i,update:d,toQueryString:a,inspect:k,toJSON:o,clone:h}})());Hash.from=$H;Object.extend(Number.prototype,(function(){function d(){return this.toPaddedString(2,16)}function b(){return this+1}function h(j,i){$R(0,this,true).each(j,i);return this}function g(k,j){var i=this.toString(j||10);return"0".times(k-i.length)+i}function a(){return Math.abs(this)}function c(){return Math.round(this)}function e(){return Math.ceil(this)}function f(){return Math.floor(this)}return{toColorPart:d,succ:b,times:h,toPaddedString:g,abs:a,round:c,ceil:e,floor:f}})());function $R(c,a,b){return new ObjectRange(c,a,b)}var ObjectRange=Class.create(Enumerable,(function(){function b(f,d,e){this.start=f;this.end=d;this.exclusive=e}function c(f,e){var g=this.start,d;for(d=0;this.include(g);d++){f.call(e,g,d);g=g.succ()}}
7216function a(d){if(d<this.start){return false}if(this.exclusive){return d<this.end}return d<=this.end}return{initialize:b,_each:c,include:a}})());var Abstract={};var Try={these:function(){var c;for(var b=0,d=arguments.length;b<d;b++){var a=arguments[b];try{c=a();break}catch(f){}}return c}};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(b,a){this.responders._each(b,a)},register:function(a){if(!this.include(a)){this.responders.push(a)}},unregister:function(a){this.responders=this.responders.without(a)},dispatch:function(d,b,c,a){this.each(function(f){if(Object.isFunction(f[d])){try{f[d].apply(f,[b,c,a])}catch(g){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(a){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:"",evalJSON:true,evalJS:true};Object.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();if(Object.isHash(this.options.parameters)){this.options.parameters=this.options.parameters.toObject()}}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,b,a){$super(a);this.transport=Ajax.getTransport();this.request(b)},request:function(b){this.url=b;this.method=this.options.method;var d=Object.isString(this.options.parameters)?this.options.parameters:Object.toQueryString(this.options.parameters);if(!["get","post"].include(this.method)){d+=(d?"&":"")+"_method="+this.method;this.method="post"}if(d&&this.method==="get"){this.url+=(this.url.include("?")?"&":"?")+d}this.parameters=d.toQueryParams();try{var a=new Ajax.Response(this);if(this.options.onCreate){this.options.onCreate(a)}Ajax.Responders.dispatch("onCreate",this,a);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){this.respondToReadyState.bind(this).defer(1)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=="post"?(this.options.postBody||d):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType){this.onStateChange()}}catch(c){this.dispatchException(c)}},onStateChange:function(){var a=this.transport.readyState;if(a>1&&!((a==4)&&this._complete)){this.respondToReadyState(this.transport.readyState)}},setRequestHeaders:function(){var e={"X-Requested-With":"XMLHttpRequest","X-Prototype-Version":Prototype.Version,Accept:"text/javascript, text/html, application/xml, text/xml, */*"};if(this.method=="post"){e["Content-type"]=this.options.contentType+(this.options.encoding?"; charset="+this.options.encoding:"");if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005){e.Connection="close"}}if(typeof this.options.requestHeaders=="object"){var c=this.options.requestHeaders;if(Object.isFunction(c.push)){for(var b=0,d=c.length;b<d;b+=2){e[c[b]]=c[b+1]}}else{$H(c).each(function(f){e[f.key]=f.value})}}for(var a in e){if(e[a]!=null){this.transport.setRequestHeader(a,e[a])}}},success:function(){var a=this.getStatus();return !a||(a>=200&&a<300)||a==304},getStatus:function(){try{if(this.transport.status===1223){return 204}return this.transport.status||0}catch(a){return 0}},respondToReadyState:function(a){var c=Ajax.Request.Events[a],b=new Ajax.Response(this);if(c=="Complete"){try{this._complete=true;(this.options["on"+b.status]||this.options["on"+(this.success()?"Success":"Failure")]||Prototype.emptyFunction)(b,b.headerJSON)}catch(d){this.dispatchException(d)}var f=b.getHeader("Content-type");if(this.options.evalJS=="force"||(this.options.evalJS&&this.isSameOrigin()&&f&&f.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))){this.evalResponse()}}try{(this.options["on"+c]||Prototype.emptyFunction)(b,b.headerJSON);Ajax.Responders.dispatch("on"+c,this,b,b.headerJSON)}catch(d){this.dispatchException(d)}if(c=="Complete"){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var a=this.url.match(/^\s*https?:\/\/[^\/]*/);return !a||(a[0]=="#{protocol}//#{domain}#{port}".interpolate({protocol:location.protocol,domain:document.domain,port:location.port?":"+location.port:""}))},getHeader:function(a){try{return this.transport.getResponseHeader(a)||null}catch(b){return null}},evalResponse:function(){try{return eval((this.transport.responseText||"").unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,a);Ajax.Responders.dispatch("onException",this,a)}});
7216Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Response=Class.create({initialize:function(c){this.request=c;var d=this.transport=c.transport,a=this.readyState=d.readyState;if((a>2&&!Prototype.Browser.IE)||a==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(d.responseText);this.headerJSON=this._getHeaderJSON()}if(a==4){var b=d.responseXML;this.responseXML=Object.isUndefined(b)?null:b;this.responseJSON=this._getResponseJSON()}},status:0,statusText:"",getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||""}catch(a){return""}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(a){return null}},getResponseHeader:function(a){return this.transport.getResponseHeader(a)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var a=this.getHeader("X-JSON");if(!a){return null}try{a=decodeURIComponent(escape(a))}catch(b){}try{return a.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}},_getResponseJSON:function(){var a=this.request.options;if(!a.evalJSON||(a.evalJSON!="force"&&!(this.getHeader("Content-type")||"").include("application/json"))||this.responseText.blank()){return null}try{return this.responseText.evalJSON(a.sanitizeJSON||!this.request.isSameOrigin())}catch(b){this.request.dispatchException(b)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,a,c,b){this.container={success:(a.success||a),failure:(a.failure||(a.success?null:a))};b=Object.clone(b);var d=b.onComplete;b.onComplete=(function(e,f){this.updateContent(e.responseText);if(Object.isFunction(d)){d(e,f)}}).bind(this);$super(c,b)},updateContent:function(d){var c=this.container[this.success()?"success":"failure"],a=this.options;if(!a.evalScripts){d=d.stripScripts()}if(c=$(c)){if(a.insertion){if(Object.isString(a.insertion)){var b={};b[a.insertion]=d;c.insert(b)}else{a.insertion(c,d)}}else{c.update(d)}}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,a,c,b){$super(b);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=a;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});(function(a8){var aE;var a1=Array.prototype.slice;var av=document.createElement("div");function aZ(bp){if(arguments.length>1){for(var F=0,br=[],bq=arguments.length;F<bq;F++){br.push(aZ(arguments[F]))}return br}if(Object.isString(bp)){bp=document.getElementById(bp)}return aF.extend(bp)}a8.$=aZ;if(!a8.Node){a8.Node={}}if(!a8.Node.ELEMENT_NODE){Object.extend(a8.Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}var r={};function aQ(F,i){if(F==="select"){return false}if("type" in i){return false}return true}var d=(function(){try{var i=document.createElement('<input name="x">');return i.tagName.toLowerCase()==="input"&&i.name==="x"}catch(F){return false}})();var aI=a8.Element;function aF(F,i){i=i||{};F=F.toLowerCase();if(d&&i.name){F="<"+F+' name="'+i.name+'">';delete i.name;return aF.writeAttribute(document.createElement(F),i)}if(!r[F]){r[F]=aF.extend(document.createElement(F))}var bp=aQ(F,i)?r[F].cloneNode(false):document.createElement(F);return aF.writeAttribute(bp,i)}a8.Element=aF;Object.extend(a8.Element,aI||{});if(aI){a8.Element.prototype=aI.prototype}aF.Methods={ByTag:{},Simulated:{}};var a3={};var H={id:"id",className:"class"};function ba(F){F=aZ(F);var i="<"+F.tagName.toLowerCase();var bp,br;for(var bq in H){bp=H[bq];br=(F[bq]||"").toString();if(br){i+=" "+bp+"="+br.inspect(true)}}return i+">"}a3.inspect=ba;function v(i){return aZ(i).getStyle("display")!=="none"}function ax(F,i){F=aZ(F);if(typeof i!=="boolean"){i=!aF.visible(F)}aF[i?"show":"hide"](F);return F}function aH(i){i=aZ(i);i.style.display="none";return i}function j(i){i=aZ(i);i.style.display="";return i}Object.extend(a3,{visible:v,toggle:ax,hide:aH,show:j});
7216function ad(i){i=aZ(i);i.parentNode.removeChild(i);return i}var aT=(function(){var i=document.createElement("select"),F=true;i.innerHTML='<option value="test">test</option>';if(i.options&&i.options[0]){F=i.options[0].nodeName.toUpperCase()!=="OPTION"}i=null;return F})();var I=(function(){try{var i=document.createElement("table");if(i&&i.tBodies){i.innerHTML="<tbody><tr><td>test</td></tr></tbody>";var bp=typeof i.tBodies[0]=="undefined";i=null;return bp}}catch(F){return true}})();var a2=(function(){try{var i=document.createElement("div");i.innerHTML="<link />";var bp=(i.childNodes.length===0);i=null;return bp}catch(F){return true}})();var x=aT||I||a2;var aq=(function(){var i=document.createElement("script"),bp=false;try{i.appendChild(document.createTextNode(""));bp=!i.firstChild||i.firstChild&&i.firstChild.nodeType!==3}catch(F){bp=true}i=null;return bp})();function O(br,bt){br=aZ(br);var bu=br.getElementsByTagName("*"),bq=bu.length;while(bq--){Z(bu[bq])}if(bt&&bt.toElement){bt=bt.toElement()}if(Object.isElement(bt)){return br.update().insert(bt)}bt=Object.toHTML(bt);var bp=br.tagName.toUpperCase();if(bp==="SCRIPT"&&aq){br.text=bt;return br}if(x){if(bp in L.tags){while(br.firstChild){br.removeChild(br.firstChild)}var F=t(bp,bt.stripScripts());for(var bq=0,bs;bs=F[bq];bq++){br.appendChild(bs)}}else{if(a2&&Object.isString(bt)&&bt.indexOf("<link")>-1){while(br.firstChild){br.removeChild(br.firstChild)}var F=t(bp,bt.stripScripts(),true);for(var bq=0,bs;bs=F[bq];bq++){br.appendChild(bs)}}else{br.innerHTML=bt.stripScripts()}}}else{br.innerHTML=bt.stripScripts()}bt.evalScripts.bind(bt).defer();return br}function ah(F,bp){F=aZ(F);if(bp&&bp.toElement){bp=bp.toElement()}else{if(!Object.isElement(bp)){bp=Object.toHTML(bp);var i=F.ownerDocument.createRange();i.selectNode(F);bp.evalScripts.bind(bp).defer();bp=i.createContextualFragment(bp.stripScripts())}}F.parentNode.replaceChild(bp,F);return F}var L={before:function(i,F){i.parentNode.insertBefore(F,i)},top:function(i,F){i.insertBefore(F,i.firstChild)},bottom:function(i,F){i.appendChild(F)},after:function(i,F){i.parentNode.insertBefore(F,i.nextSibling)},tags:{TABLE:["<table>","</table>",1],TBODY:["<table><tbody>","</tbody></table>",2],TR:["<table><tbody><tr>","</tr></tbody></table>",3],TD:["<table><tbody><tr><td>","</td></tr></tbody></table>",4],SELECT:["<select>","</select>",1]}};var aJ=L.tags;Object.extend(aJ,{THEAD:aJ.TBODY,TFOOT:aJ.TBODY,TH:aJ.TD});function ao(bp,bs){bp=aZ(bp);if(bs&&bs.toElement){bs=bs.toElement()}if(Object.isElement(bs)){bp.parentNode.replaceChild(bs,bp);return bp}bs=Object.toHTML(bs);var br=bp.parentNode,F=br.tagName.toUpperCase();if(F in L.tags){var bt=aF.next(bp);var i=t(F,bs.stripScripts());br.removeChild(bp);var bq;if(bt){bq=function(bu){br.insertBefore(bu,bt)}}else{bq=function(bu){br.appendChild(bu)}}i.each(bq)}else{bp.outerHTML=bs.stripScripts()}bs.evalScripts.bind(bs).defer();return bp}if("outerHTML" in document.documentElement){ah=ao}function a7(i){if(Object.isUndefined(i)||i===null){return false}if(Object.isString(i)||Object.isNumber(i)){return true}if(Object.isElement(i)){return true}if(i.toElement||i.toHTML){return true}return false}function bn(br,bt,F){F=F.toLowerCase();var bv=L[F];if(bt&&bt.toElement){bt=bt.toElement()}if(Object.isElement(bt)){bv(br,bt);return br}bt=Object.toHTML(bt);var bq=((F==="before"||F==="after")?br.parentNode:br).tagName.toUpperCase();var bu=t(bq,bt.stripScripts());if(F==="top"||F==="after"){bu.reverse()}for(var bp=0,bs;bs=bu[bp];bp++){bv(br,bs)}bt.evalScripts.bind(bt).defer()}function Q(F,bp){F=aZ(F);if(a7(bp)){bp={bottom:bp}}for(var i in bp){bn(F,bp[i],i)}return F}function u(F,bp,i){F=aZ(F);if(Object.isElement(bp)){aZ(bp).writeAttribute(i||{})}else{if(Object.isString(bp)){bp=new aF(bp,i)}else{bp=new aF("div",bp)}}if(F.parentNode){F.parentNode.replaceChild(bp,F)}bp.appendChild(F);return bp}function w(F){F=aZ(F);var bp=F.firstChild;while(bp){var i=bp.nextSibling;if(bp.nodeType===Node.TEXT_NODE&&!/\S/.test(bp.nodeValue)){F.removeChild(bp)}bp=i}return F}function a4(i){return aZ(i).innerHTML.blank()}function t(bs,br,bt){var bq=L.tags[bs],bu=av;var F=!!bq;if(!F&&bt){F=true;bq=["","",0]}if(F){bu.innerHTML=" "+bq[0]+br+bq[1];bu.removeChild(bu.firstChild);for(var bp=bq[2];bp--;){bu=bu.firstChild}}else{bu.innerHTML=br}return $A(bu.childNodes)}function E(bq,F){if(!(bq=aZ(bq))){return}var bs=bq.cloneNode(F);if(!aY){bs._prototypeUID=aE;if(F){var br=aF.select(bs,"*"),bp=br.length;while(bp--){br[bp]._prototypeUID=aE}}}return aF.extend(bs)}function Z(F){var i=M(F);if(i){aF.stopObserving(F);if(!aY){F._prototypeUID=aE}delete aF.Storage[i]}}function bl(bp){var F=bp.length;while(F--){Z(bp[F])}}function at(br){var bq=br.length,bp,F;while(bq--){bp=br[bq];F=M(bp);delete aF.Storage[F];delete Event.cache[F]}}
7216if(aY){bl=at}function m(bp){if(!(bp=aZ(bp))){return}Z(bp);var bq=bp.getElementsByTagName("*"),F=bq.length;while(F--){Z(bq[F])}return null}Object.extend(a3,{remove:ad,update:O,replace:ah,insert:Q,wrap:u,cleanWhitespace:w,empty:a4,clone:E,purge:m});function am(i,bp,bq){i=aZ(i);bq=bq||-1;var F=[];while(i=i[bp]){if(i.nodeType===Node.ELEMENT_NODE){F.push(aF.extend(i))}if(F.length===bq){break}}return F}function aL(i){return am(i,"parentNode")}function bm(i){return aF.select(i,"*")}function X(i){i=aZ(i).firstChild;while(i&&i.nodeType!==Node.ELEMENT_NODE){i=i.nextSibling}return aZ(i)}function bi(F){var i=[],bp=aZ(F).firstChild;while(bp){if(bp.nodeType===Node.ELEMENT_NODE){i.push(aF.extend(bp))}bp=bp.nextSibling}return i}function p(i){return am(i,"previousSibling")}function bh(i){return am(i,"nextSibling")}function aV(i){i=aZ(i);var bp=p(i),F=bh(i);return bp.reverse().concat(F)}function aR(F,i){F=aZ(F);if(Object.isString(i)){return Prototype.Selector.match(F,i)}return i.match(F)}function aW(F,bp,bq,i){F=aZ(F),bq=bq||0,i=i||0;if(Object.isNumber(bq)){i=bq,bq=null}while(F=F[bp]){if(F.nodeType!==1){continue}if(bq&&!Prototype.Selector.match(F,bq)){continue}if(--i>=0){continue}return aF.extend(F)}}function aa(F,bp,i){F=aZ(F);if(arguments.length===1){return aZ(F.parentNode)}return aW(F,"parentNode",bp,i)}function y(F,bq,i){if(arguments.length===1){return X(F)}F=aZ(F),bq=bq||0,i=i||0;if(Object.isNumber(bq)){i=bq,bq="*"}var bp=Prototype.Selector.select(bq,F)[i];return aF.extend(bp)}function h(F,bp,i){return aW(F,"previousSibling",bp,i)}function aB(F,bp,i){return aW(F,"nextSibling",bp,i)}function bb(i){i=aZ(i);var F=a1.call(arguments,1).join(", ");return Prototype.Selector.select(F,i)}function aD(bq){bq=aZ(bq);var bs=a1.call(arguments,1).join(", ");var bt=aF.siblings(bq),bp=[];for(var F=0,br;br=bt[F];F++){if(Prototype.Selector.match(br,bs)){bp.push(br)}}return bp}function D(F,i){F=aZ(F),i=aZ(i);if(!F||!i){return false}while(F=F.parentNode){if(F===i){return true}}return false}function B(F,i){F=aZ(F),i=aZ(i);if(!F||!i){return false}if(!i.contains){return D(F,i)}return i.contains(F)&&i!==F}function J(F,i){F=aZ(F),i=aZ(i);if(!F||!i){return false}return(F.compareDocumentPosition(i)&8)===8}var aM;if(av.compareDocumentPosition){aM=J}else{if(av.contains){aM=B}else{aM=D}}Object.extend(a3,{recursivelyCollect:am,ancestors:aL,descendants:bm,firstDescendant:X,immediateDescendants:bi,previousSiblings:p,nextSiblings:bh,siblings:aV,match:aR,up:aa,down:y,previous:h,next:aB,select:bb,adjacent:aD,descendantOf:aM,getElementsBySelector:bb,childElements:bi});var T=1;function aU(i){i=aZ(i);var F=aF.readAttribute(i,"id");if(F){return F}do{F="anonymous_element_"+T++}while(aZ(F));aF.writeAttribute(i,"id",F);return F}function a9(F,i){return aZ(F).getAttribute(i)}function K(F,i){F=aZ(F);var bp=aG.read;if(bp.values[i]){return bp.values[i](F,i)}if(bp.names[i]){i=bp.names[i]}if(i.include(":")){if(!F.attributes||!F.attributes[i]){return null}return F.attributes[i].value}return F.getAttribute(i)}function e(F,i){if(i==="title"){return F.title}return F.getAttribute(i)}var U=(function(){av.setAttribute("onclick",[]);var i=av.getAttribute("onclick");var F=Object.isArray(i);av.removeAttribute("onclick");return F})();if(U){a9=K}else{if(Prototype.Browser.Opera){a9=e}}function a0(bq,bp,bs){bq=aZ(bq);var F={},br=aG.write;if(typeof bp==="object"){F=bp}else{F[bp]=Object.isUndefined(bs)?true:bs}for(var i in F){bp=br.names[i]||i;bs=F[i];if(br.values[i]){bs=br.values[i](bq,bs);if(Object.isUndefined(bs)){continue}}if(bs===false||bs===null){bq.removeAttribute(bp)}else{if(bs===true){bq.setAttribute(bp,bp)}else{bq.setAttribute(bp,bs)}}}return bq}var a=(function(){if(!d){return false}var F=document.createElement('<input type="checkbox">');F.checked=true;var i=F.getAttributeNode("checked");return !i||!i.specified})();function Y(i,bp){bp=aG.has[bp]||bp;var F=aZ(i).getAttributeNode(bp);return !!(F&&F.specified)}function bg(i,F){if(F==="checked"){return i.checked}return Y(i,F)}a8.Element.Methods.Simulated.hasAttribute=a?bg:Y;function k(i){return new aF.ClassNames(i)}var V={};function f(F){if(V[F]){return V[F]}var i=new RegExp("(^|\\s+)"+F+"(\\s+|$)");V[F]=i;return i}function al(i,F){if(!(i=aZ(i))){return}var bp=i.className;if(bp.length===0){return false}if(bp===F){return true}return f(F).test(bp)}function o(i,F){if(!(i=aZ(i))){return}if(!al(i,F)){i.className+=(i.className?" ":"")+F}return i}function au(i,F){if(!(i=aZ(i))){return}i.className=i.className.replace(f(F)," ").strip();return i}function ae(F,bp,i){if(!(F=aZ(F))){return}if(Object.isUndefined(i)){i=!al(F,bp)}var bq=aF[i?"addClassName":"removeClassName"];return bq(F,bp)}var aG={};var aP="className",ar="for";av.setAttribute(aP,"x");
7216if(av.className!=="x"){av.setAttribute("class","x");if(av.className==="x"){aP="class"}}var aK=document.createElement("label");aK.setAttribute(ar,"x");if(aK.htmlFor!=="x"){aK.setAttribute("htmlFor","x");if(aK.htmlFor==="x"){ar="htmlFor"}}aK=null;function ac(i,F){return i.getAttribute(F)}function g(i,F){return i.getAttribute(F,2)}function A(i,bp){var F=i.getAttributeNode(bp);return F?F.value:""}function bj(i,F){return aZ(i).hasAttribute(F)?F:null}av.onclick=Prototype.emptyFunction;var P=av.getAttribute("onclick");var aw;if(String(P).indexOf("{")>-1){aw=function(i,F){var bp=i.getAttribute(F);if(!bp){return null}bp=bp.toString();bp=bp.split("{")[1];bp=bp.split("}")[0];return bp.strip()}}else{if(P===""){aw=function(i,F){var bp=i.getAttribute(F);if(!bp){return null}return bp.strip()}}}aG.read={names:{"class":aP,className:aP,"for":ar,htmlFor:ar},values:{style:function(i){return i.style.cssText.toLowerCase()},title:function(i){return i.title}}};aG.write={names:{className:"class",htmlFor:"for",cellpadding:"cellPadding",cellspacing:"cellSpacing"},values:{checked:function(i,F){F=!!F;i.checked=F;return F?"checked":null},style:function(i,F){i.style.cssText=F?F:""}}};aG.has={names:{}};Object.extend(aG.write.names,aG.read.names);var a6=$w("colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc frameBorder");for(var af=0,ag;ag=a6[af];af++){aG.write.names[ag.toLowerCase()]=ag;aG.has.names[ag.toLowerCase()]=ag}Object.extend(aG.read.values,{href:g,src:g,type:ac,action:A,disabled:bj,checked:bj,readonly:bj,multiple:bj,onload:aw,onunload:aw,onclick:aw,ondblclick:aw,onmousedown:aw,onmouseup:aw,onmouseover:aw,onmousemove:aw,onmouseout:aw,onfocus:aw,onblur:aw,onkeypress:aw,onkeydown:aw,onkeyup:aw,onsubmit:aw,onreset:aw,onselect:aw,onchange:aw});Object.extend(a3,{identify:aU,readAttribute:a9,writeAttribute:a0,classNames:k,hasClassName:al,addClassName:o,removeClassName:au,toggleClassName:ae});function W(i){if(i==="float"||i==="styleFloat"){return"cssFloat"}return i.camelize()}function bo(i){if(i==="float"||i==="cssFloat"){return"styleFloat"}return i.camelize()}function C(bp,bq){bp=aZ(bp);var bt=bp.style,F;if(Object.isString(bq)){bt.cssText+=";"+bq;if(bq.include("opacity")){var i=bq.match(/opacity:\s*(\d?\.?\d*)/)[1];aF.setOpacity(bp,i)}return bp}for(var bs in bq){if(bs==="opacity"){aF.setOpacity(bp,bq[bs])}else{var br=bq[bs];if(bs==="float"||bs==="cssFloat"){bs=Object.isUndefined(bt.styleFloat)?"cssFloat":"styleFloat"}bt[bs]=br}}return bp}function aO(F,bp){F=aZ(F);bp=W(bp);var bq=F.style[bp];if(!bq||bq==="auto"){var i=document.defaultView.getComputedStyle(F,null);bq=i?i[bp]:null}if(bp==="opacity"){return bq?parseFloat(bq):1}return bq==="auto"?null:bq}function s(i,F){switch(F){case"height":case"width":if(!aF.visible(i)){return null}var bp=parseInt(aO(i,F),10);if(bp!==i["offset"+F.capitalize()]){return bp+"px"}return aF.measure(i,F);default:return aO(i,F)}}function aj(i,F){i=aZ(i);F=bo(F);var bp=i.style[F];if(!bp&&i.currentStyle){bp=i.currentStyle[F]}if(F==="opacity"){if(!N){return be(i)}else{return bp?parseFloat(bp):1}}if(bp==="auto"){if((F==="width"||F==="height")&&aF.visible(i)){return aF.measure(i,F)+"px"}return null}return bp}function aA(i){return(i||"").replace(/alpha\([^\)]*\)/gi,"")}function ab(i){if(!i.currentStyle||!i.currentStyle.hasLayout){i.style.zoom=1}return i}var N=(function(){av.style.cssText="opacity:.55";return/^0.55/.test(av.style.opacity)})();function z(i,F){i=aZ(i);if(F==1||F===""){F=""}else{if(F<0.00001){F=0}}i.style.opacity=F;return i}function bf(i,bq){if(N){return z(i,bq)}i=ab(aZ(i));var bp=aF.getStyle(i,"filter"),F=i.style;if(bq==1||bq===""){bp=aA(bp);if(bp){F.filter=bp}else{F.removeAttribute("filter")}return i}if(bq<0.00001){bq=0}F.filter=aA(bp)+" alpha(opacity="+(bq*100)+")";return i}function bd(i){return aF.getStyle(i,"opacity")}function be(F){if(N){return bd(F)}var bp=aF.getStyle(F,"filter");if(bp.length===0){return 1}var i=(bp||"").match(/alpha\(opacity=(.*)\)/i);if(i&&i[1]){return parseFloat(i[1])/100}return 1}Object.extend(a3,{setStyle:C,getStyle:aO,setOpacity:z,getOpacity:bd});if("styleFloat" in av.style){a3.getStyle=aj;a3.setOpacity=bf;a3.getOpacity=be}var l=0;a8.Element.Storage={UID:1};function M(i){if(i===window){return 0}if(typeof i._prototypeUID==="undefined"){i._prototypeUID=aF.Storage.UID++}return i._prototypeUID}
7216function c(i){if(i===window){return 0}if(i==document){return 1}return i.uniqueID}var aY=("uniqueID" in av);if(aY){M=c}function b(F){if(!(F=aZ(F))){return}var i=M(F);if(!aF.Storage[i]){aF.Storage[i]=$H()}return aF.Storage[i]}function a5(F,i,bp){if(!(F=aZ(F))){return}var bq=b(F);if(arguments.length===2){bq.update(i)}else{bq.set(i,bp)}return F}function aN(bp,F,i){if(!(bp=aZ(bp))){return}var br=b(bp),bq=br.get(F);if(Object.isUndefined(bq)){br.set(F,i);bq=i}return bq}Object.extend(a3,{getStorage:b,store:a5,retrieve:aN});var an={},aX=aF.Methods.ByTag,aC=Prototype.BrowserFeatures;if(!aC.ElementExtensions&&("__proto__" in av)){a8.HTMLElement={};a8.HTMLElement.prototype=av.__proto__;aC.ElementExtensions=true}function bc(i){if(typeof window.Element==="undefined"){return false}if(!d){return false}var bp=window.Element.prototype;if(bp){var br="_"+(Math.random()+"").slice(2),F=document.createElement(i);bp[br]="x";var bq=(F[br]!=="x");delete bp[br];F=null;return bq}return false}var ap=bc("object");function ak(F,i){for(var bq in i){var bp=i[bq];if(Object.isFunction(bp)&&!(bq in F)){F[bq]=bp.methodize()}}}var bk={};function ay(F){var i=M(F);return(i in bk)}function az(bp){if(!bp||ay(bp)){return bp}if(bp.nodeType!==Node.ELEMENT_NODE||bp==window){return bp}var i=Object.clone(an),F=bp.tagName.toUpperCase();if(aX[F]){Object.extend(i,aX[F])}ak(bp,i);bk[M(bp)]=true;return bp}function aS(F){if(!F||ay(F)){return F}var i=F.tagName;if(i&&(/^(?:object|applet|embed)$/i.test(i))){ak(F,aF.Methods);ak(F,aF.Methods.Simulated);ak(F,aF.Methods.ByTag[i.toUpperCase()])}return F}if(aC.SpecificElementExtensions){az=ap?aS:Prototype.K}function S(F,i){F=F.toUpperCase();if(!aX[F]){aX[F]={}}Object.extend(aX[F],i)}function q(F,bp,i){if(Object.isUndefined(i)){i=false}for(var br in bp){var bq=bp[br];if(!Object.isFunction(bq)){continue}if(!i||!(br in F)){F[br]=bq.methodize()}}}function ai(bq){var i;var bp={OPTGROUP:"OptGroup",TEXTAREA:"TextArea",P:"Paragraph",FIELDSET:"FieldSet",UL:"UList",OL:"OList",DL:"DList",DIR:"Directory",H1:"Heading",H2:"Heading",H3:"Heading",H4:"Heading",H5:"Heading",H6:"Heading",Q:"Quote",INS:"Mod",DEL:"Mod",A:"Anchor",IMG:"Image",CAPTION:"TableCaption",COL:"TableCol",COLGROUP:"TableCol",THEAD:"TableSection",TFOOT:"TableSection",TBODY:"TableSection",TR:"TableRow",TH:"TableCell",TD:"TableCell",FRAMESET:"FrameSet",IFRAME:"IFrame"};if(bp[bq]){i="HTML"+bp[bq]+"Element"}if(window[i]){return window[i]}i="HTML"+bq+"Element";if(window[i]){return window[i]}i="HTML"+bq.capitalize()+"Element";if(window[i]){return window[i]}var F=document.createElement(bq),br=F.__proto__||F.constructor.prototype;F=null;return br}function R(br){if(arguments.length===0){G()}if(arguments.length===2){var bt=br;br=arguments[1]}if(!bt){Object.extend(aF.Methods,br||{})}else{if(Object.isArray(bt)){for(var bs=0,bq;bq=bt[bs];bs++){S(bq,br)}}else{S(bt,br)}}var bp=window.HTMLElement?HTMLElement.prototype:aF.prototype;if(aC.ElementExtensions){q(bp,aF.Methods);q(bp,aF.Methods.Simulated,true)}if(aC.SpecificElementExtensions){for(var bq in aF.Methods.ByTag){var F=ai(bq);if(Object.isUndefined(F)){continue}q(F.prototype,aX[bq])}}Object.extend(aF,aF.Methods);Object.extend(aF,aF.Methods.Simulated);delete aF.ByTag;delete aF.Simulated;aF.extend.refresh();r={}}Object.extend(a8.Element,{extend:az,addMethods:R});if(az===Prototype.K){a8.Element.extend.refresh=Prototype.emptyFunction}else{a8.Element.extend.refresh=function(){if(Prototype.BrowserFeatures.ElementExtensions){return}Object.extend(an,aF.Methods);Object.extend(an,aF.Methods.Simulated);bk={}}}function G(){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(aF.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods),BUTTON:Object.clone(Form.Element.Methods)})}aF.addMethods(a3);function n(){av=null;r=null}if(window.attachEvent){window.attachEvent("onunload",n)}})(this);(function(){function k(G){var F=G.match(/^(\d+)%?$/i);if(!F){return null}return(Number(F[1])/100)}function y(G,H){G=$(G);var I=G.style[H];if(!I||I==="auto"){var F=document.defaultView.getComputedStyle(G,null);I=F?F[H]:null}if(H==="opacity"){return I?parseFloat(I):1}return I==="auto"?null:I}function B(F,G){var H=F.style[G];if(!H&&F.currentStyle){H=F.currentStyle[G]}return H}function r(H,G){var J=H.offsetWidth;
7216var L=u(H,"borderLeftWidth",G)||0;var F=u(H,"borderRightWidth",G)||0;var I=u(H,"paddingLeft",G)||0;var K=u(H,"paddingRight",G)||0;return J-L-F-I-K}if(!Object.isUndefined(document.documentElement.currentStyle)&&!Prototype.Browser.Opera){y=B}function u(P,Q,G){var J=null;if(Object.isElement(P)){J=P;P=y(J,Q)}if(P===null||Object.isUndefined(P)){return null}if((/^(?:-)?\d+(\.\d+)?(px)?$/i).test(P)){return window.parseFloat(P)}var K=P.include("%"),H=(G===document.viewport);if(/\d/.test(P)&&J&&J.runtimeStyle&&!(K&&H)){var F=J.style.left,O=J.runtimeStyle.left;J.runtimeStyle.left=J.currentStyle.left;J.style.left=P||0;P=J.style.pixelLeft;J.style.left=F;J.runtimeStyle.left=O;return P}if(J&&K){G=G||J.parentNode;var I=k(P),L=null;var N=Q.include("left")||Q.include("right")||Q.include("width");var M=Q.include("top")||Q.include("bottom")||Q.include("height");if(G===document.viewport){if(N){L=document.viewport.getWidth()}else{if(M){L=document.viewport.getHeight()}}}else{if(N){L=$(G).measure("width")}else{if(M){L=$(G).measure("height")}}}return(L===null)?0:L*I}return 0}function j(F){if(Object.isString(F)&&F.endsWith("px")){return F}return F+"px"}function m(F){while(F&&F.parentNode){var G=F.getStyle("display");if(G==="none"){return false}F=$(F.parentNode)}return true}var g=Prototype.K;if("currentStyle" in document.documentElement){g=function(F){if(!F.currentStyle.hasLayout){F.style.zoom=1}return F}}function i(F){if(F.include("border")){F=F+"-width"}return F.camelize()}Element.Layout=Class.create(Hash,{initialize:function($super,G,F){$super();this.element=$(G);Element.Layout.PROPERTIES.each(function(H){this._set(H,null)},this);if(F){this._preComputing=true;this._begin();Element.Layout.PROPERTIES.each(this._compute,this);this._end();this._preComputing=false}},_set:function(G,F){return Hash.prototype.set.call(this,G,F)},set:function(G,F){throw"Properties of Element.Layout are read-only."},get:function($super,G){var F=$super(G);return F===null?this._compute(G):F},_begin:function(){if(this._isPrepared()){return}var J=this.element;if(m(J)){this._setPrepared(true);return}var L={position:J.style.position||"",width:J.style.width||"",visibility:J.style.visibility||"",dis
7216play:J.style.display||""};J.store("prototype_original_styles",L);var M=y(J,"position"),F=J.offsetWidth;if(F===0||F===null){J.style.display="block";F=J.offsetWidth}var G=(M==="fixed")?document.viewport:J.parentNode;var N={visibility:"hidden",display:"block"};if(M!=="fixed"){N.position="absolute"}J.setStyle(N);var H=J.offsetWidth,I;if(F&&(H===F)){I=r(J,G)}else{if(M==="absolute"||M==="fixed"){I=r(J,G)}else{var O=J.parentNode,K=$(O).getLayout();I=K.get("width")-this.get("margin-left")-this.get("border-left")-this.get("padding-left")-this.get("padding-right")-this.get("border-right")-this.get("margin-right")}}J.setStyle({width:I+"px"});this._setPrepared(true)},_end:function(){var G=this.element;var F=G.retrieve("prototype_original_styles");G.store("prototype_original_styles",null);G.setStyle(F);this._setPrepared(false)},_compute:function(G){var F=Element.Layout.COMPUTATIONS;if(!(G in F)){throw"Property not found."}return this._set(G,F[G].call(this,this.element))},_isPrepared:function(){return this.element.retrieve("prototype_element_layout_prepared",false)},_setPrepared:function(F){return this.element.store("prototype_element_layout_prepared",F)},toObject:function(){var F=$A(arguments);var G=(F.length===0)?Element.Layout.PROPERTIES:F.join(" ").split(" ");var H={};G.each(function(I){if(!Element.Layout.PROPERTIES.include(I)){return}var J=this.get(I);if(J!=null){H[I]=J}},this);return H},toHash:function(){var F=this.toObject.apply(this,arguments);return new Hash(F)},toCSS:function(){var F=$A(arguments);var H=(F.length===0)?Element.Layout.PROPERTIES:F.join(" ").split(" ");var G={};H.each(function(I){if(!Element.Layout.PROPERTIES.include(I)){return}if(Element.Layout.COMPOSITE_PROPERTIES.include(I)){return}var J=this.get(I);if(J!=null){G[i(I)]=J+"px"}},this);return G},inspect:function(){return"#<Element.Layout>"}});Object.extend(Element.Layout,{PROPERTIES:$w("height width top left right bottom border-left border-right border-top border-bottom padding-left padding-right padding-top padding-bottom margin-top margin-bottom margin-left margin-right padding-box-width padding-box-height border-box-width border-box-height margin-box-width margin-box-height"),COMPOSITE_PROPERTIES:$w("padding-box-width padding-box-height margin-box-width margin-box-height border-box-width border-box-height"),COMPUTATIONS:{height:function(H){if(!this._preComputing){this._begin()}var F=this.get("border-box-height");if(F<=0){if(!this._preComputing){this._end()}return 0}var I=this.get("border-top"),G=this.get("border-bottom");var K=this.get("padding-top"),J=this.get("padding-bottom");if(!this._preComputing){this._end()}return F-I-G-K-J},width:function(H){if(!this._preComputing){this._begin()}var G=this.get("border-box-width");if(G<=0){if(!this._preComputing){this._end()}return 0}var K=this.get("border-left"),F=this.get("border-right");var I=this.get("padding-left"),J=this.get("padding-right");if(!this._preComputing){this._end()}return G-K-F-I-J},"padding-box-height":function(G){var F=this.get("height"),I=this.get("padding-top"),H=this.get("padding-bottom");return F+I+H},"padding-box-width":function(F){var G=this.get("width"),H=this.get("padding-left"),I=this.get("padding-right");return G+H+I},"border-box-height":function(G){if(!this._preComputing){this._begin()}var F=G.offsetHeight;if(!this._preComputing){this._end()}return F},"border-box-width":function(F){if(!this._preComputing){this._begin()}var G=F.offsetWidth;if(!this._preComputing){this._end()}return G},"margin-box-height":function(G){var F=this.get("border-box-height"),H=this.get("margin-top"),I=this.get("margin-bottom");if(F<=0){return 0}return F+H+I},"margin-box-width":function(H){var G=this.get("border-box-width"),I=this.get("margin-left"),F=this.get("margin-right");if(G<=0){return 0}return G+I+F},top:function(F){var G=F.positionedOffset();return G.top},bottom:function(F){var I=F.positionedOffset(),G=F.getOffsetParent(),H=G.measure("height");var J=this.get("border-box-height");return H-J-I.top},left:function(F){var G=F.positionedOffset();return G.left},right:function(H){var J=H.positionedOffset(),I=H.getOffsetParent(),F=I.measure("width");var G=this.get("border-box-width");return F-G-J.left},"padding-top":function(F){return u(F,"paddingTop")},"padding-bottom":function(F){return u(F,"paddingBottom")},"padding-left":function(F){return u(F,"paddingLeft")},"padding-right":function(F){return u(F,"paddingRight")},"border-top":function(F){return u(F,"borderTopWidth")},"border-bottom":function(F){return u(F,"borderBottomWidth")},"border-left":function(F){return u(F,"borderLeftWidth")},"border-right":function(F){return u(F,"borderRightWidth")},"margin-top":function(F){return u(F,"marginTop")},"margin-bottom":function(F){return u(F,"marginBottom")},"margin-left":function(F){return u(F,"marginLeft")},"margin-right":function(F){return u(F,"marginRight")}}});if("getBoundingClientRect" in document.documentElement){Object.extend(Element.Layout.COMPUTATIONS,{right:function(G){var H=g(G.getOffsetParent());var I=G.getBoundingClientRect(),F=H.getBoundingClientRect();return(F.right-I.right).round()},bottom:function(G){var H=g(G.getOffsetParent());var I=G.getBoundingClientRect(),F=H.getBoundingClientRect();return(F.bottom-I.bottom).round()}})}Element.Offset=Class.create({initialize:function(G,F){this.left=G.round();this.top=F.round();this[0]=this.left;this[1]=this.top},relativeTo:function(F){return new Element.Offset(this.left-F.left,this.top-F.top)},inspect:function(){return"#<Element.Offset left: #{left} top: #{top}>".interpolate(this)},toString:function(){return"[#{left}, #{top}]".interpolate(this)},toArray:function(){return[this.left,this.top]}});function z(G,F){return new Element.Layout(G,F)}function d(F,G){return $(F).getLayout().get(G)}function q(F){return Element.getDimensions(F).height}function c(F){return Element.getDimensions(F).width}function s(G){G=$(G);var K=Element.getStyle(G,"display");if(K&&K!=="none"){return{width:G.offsetWidth,height:G.offsetHeight}}var H=G.style;var F={visibility:H.visibility,position:H.position,display:H.display};var J={visibility:"hidden",display:"block"};if(F.position!=="fixed"){J.position="absolute"}Element.setStyle(G,J);var I={width:G.offsetWidth,height:G.offsetHeight};Element.setStyle(G,F);return I}
7216function p(F){F=$(F);function H(I){return n(I)?$(document.body):$(I)}if(h(F)||f(F)||o(F)||n(F)){return $(document.body)}var G=(Element.getStyle(F,"display")==="inline");if(!G&&F.offsetParent){return H(F.offsetParent)}while((F=F.parentNode)&&F!==document.body){if(Element.getStyle(F,"position")!=="static"){return H(F)}}return $(document.body)}function C(G){G=$(G);var F=0,H=0;if(G.parentNode){do{F+=G.offsetTop||0;H+=G.offsetLeft||0;G=G.offsetParent}while(G)}return new Element.Offset(H,F)}function w(G){G=$(G);var H=G.getLayout();var F=0,J=0;do{F+=G.offsetTop||0;J+=G.offsetLeft||0;G=G.offsetParent;if(G){if(o(G)){break}var I=Element.getStyle(G,"position");if(I!=="static"){break}}}while(G);J-=H.get("margin-left");F-=H.get("margin-top");return new Element.Offset(J,F)}function b(G){var F=0,H=0;do{if(G===document.body){var I=document.documentElement||document.body.parentNode||document.body;F+=!Object.isUndefined(window.pageYOffset)?window.pageYOffset:I.scrollTop||0;H+=!Object.isUndefined(window.pageXOffset)?window.pageXOffset:I.scrollLeft||0;break}else{F+=G.scrollTop||0;H+=G.scrollLeft||0;G=G.parentNode}}while(G);return new Element.Offset(H,F)}function A(J){var F=0,I=0,H=document.body;J=$(J);var G=J;do{F+=G.offsetTop||0;I+=G.offsetLeft||0;if(G.offsetParent==H&&Element.getStyle(G,"position")=="absolute"){break}}while(G=G.offsetParent);G=J;do{if(G!=H){F-=G.scrollTop||0;I-=G.scrollLeft||0}}while(G=G.parentNode);return new Element.Offset(I,F)}function x(F){F=$(F);if(Element.getStyle(F,"position")==="absolute"){return F}var J=p(F);var I=F.viewportOffset(),G=J.viewportOffset();var K=I.relativeTo(G);var H=F.getLayout();F.store("prototype_absolutize_original_styles",{position:F.getStyle("position"),left:F.getStyle("left"),top:F.getStyle("top"),width:F.getStyle("width"),height:F.getStyle("height")});F.setStyle({position:"absolute",top:K.top+"px",left:K.left+"px",width:H.get("width")+"px",height:H.get("height")+"px"});return F}function l(G){G=$(G);if(Element.getStyle(G,"position")==="relative"){return G}var F=G.retrieve("prototype_absolutize_original_styles");if(F){G.setStyle(F)}return G}function a(F){F=$(F);var G=Element.cumulativeOffset(F);window.scrollTo(G.left,G.top);return F}function v(G){G=$(G);var F=Element.getStyle(G,"position"),H={};if(F==="static"||!F){H.position="relative";if(Prototype.Browser.Opera){H.top=0;H.left=0}Element.setStyle(G,H);Element.store(G,"prototype_made_positioned",true)}return G}function t(F){F=$(F);var H=Element.getStorage(F),G=H.get("prototype_made_positioned");if(G){H.unset("prototype_made_positioned");Element.setStyle(F,{position:"",top:"",bottom:"",left:"",right:""})}return F}function e(G){G=$(G);var I=Element.getStorage(G),F=I.get("prototype_made_clipping");if(Object.isUndefined(F)){var H=Element.getStyle(G,"overflow");I.set("prototype_made_clipping",H);if(H!=="hidden"){G.style.overflow="hidden"}}return G}function D(F){F=$(F);var H=Element.getStorage(F),G=H.get("prototype_made_clipping");if(!Object.isUndefined(G)){H.unset("prototype_made_clipping");F.style.overflow=G||""}return F}function E(I,F,Q){Q=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},Q||{});var H=document.documentElement;F=$(F);I=$(I);var G,O,K,P={};if(Q.setLeft||Q.setTop){G=Element.viewportOffset(F);O=[0,0];if(Element.getStyle(I,"position")==="absolute"){var N=Element.getOffsetParent(I);if(N!==document.body){O=Element.viewportOffset(N)}}}function L(){var R=0,S=0;if(Object.isNumber(window.pageXOffset)){R=window.pageXOffset;S=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){R=document.body.scrollLeft;S=document.body.scrollTop}else{if(H&&(H.scrollLeft||H.scrollTop)){R=H.scrollLeft;S=H.scrollTop}}}return{x:R,y:S}}var J=L();if(Q.setWidth||Q.setHeight){K=Element.getLayout(F)}if(Q.setLeft){P.left=(G[0]+J.x-O[0]+Q.offsetLeft)+"px"}if(Q.setTop){P.top=(G[1]+J.y-O[1]+Q.offsetTop)+"px"}var M=I.getLayout();if(Q.setWidth){P.width=K.get("width")+"px"}if(Q.setHeight){P.height=K.get("height")+"px"}return Element.setStyle(I,P)}if(Prototype.Browser.IE){p=p.wrap(function(H,G){G=$(G);if(h(G)||f(G)||o(G)||n(G)){return $(document.body)}var F=G.getStyle("position");if(F!=="static"){return H(G)}G.setStyle({position:"relative"});var I=H(G);G.setStyle({position:F});return I});w=w.wrap(function(I,G){G=$(G);if(!G.parentNode){return new Element.Offset(0,0)}var F=G.getStyle("position");if(F!=="static"){return I(G)}var H=G.getOffsetParent();if(H&&H.getStyle("position")==="fixed"){g(H)}G.setStyle({position:"relative"});var J=I(G);G.setStyle({position:F});return J})}else{if(Prototype.Browser.Webkit){C=function(G){G=$(G);var F=0,H=0;do{F+=G.offsetTop||0;H+=G.offsetLeft||0;if(G.offsetParent==document.body){if(Element.getStyle(G,"position")=="absolute"){break}}G=G.offsetParent}while(G);return new Element.Offset(H,F)}}}Element.addMethods({getLayout:z,measure:d,getWidth:c,getHeight:q,getDimensions:s,getOffsetParent:p,cumulativeOffset:C,positionedOffset:w,cumulativeScrollOffset:b,viewportOffset:A,absolutize:x,relativize:l,scrollTo:a,makePositioned:v,undoPositioned:t,makeClipping:e,undoClipping:D,clonePosition:E});function o(F){return F.nodeName.toUpperCase()==="BODY"}function n(F){return F.nodeName.toUpperCase()==="HTML"}function h(F){return F.nodeType===Node.DOCUMENT_NODE}function f(F){return F!==document.body&&!Element.descendantOf(F,document.body)}if("getBoundingClientRect" in document.documentElement){Element.addMethods({viewportOffset:function(F){F=$(F);if(f(F)){return new Element.Offset(0,0)}var G=F.getBoundingClientRect(),H=document.documentElement;return new Element.Offset(G.left-H.clientLeft,G.top-H.clientTop)}})}})();(function(){var c=Prototype.Browser.Opera&&(window.parseFloat(window.opera.version())<9.5);var f=null;function b(){if(f){return f}f=c?document.body:document.documentElement;return f}function d(){return{width:this.getWidth(),height:this.getHeight()}}function a(){return b().clientWidth}function g(){return b().clientHeight}function e(){var h=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft;var i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;return new Element.Offset(h,i)}document.viewport={getDimensions:d,getWidth:a,getHeight:g,getScrollOffsets:e}})();window.$$=function(){var a=$A(arguments).join(", ");return Prototype.Selector.select(a,document)};Prototype.Selector=(function(){function a(){throw new Error('Method "Prototype.Selector.select" must be defined.')}function c(){throw new Error('Method "Prototype.Selector.match" must be defined.')}function d(l,m,h){h=h||0;var g=Prototype.Selector.match,k=l.length,f=0,j;for(j=0;j<k;j++){if(g(l[j],m)&&h==f++){return Element.extend(l[j])}}}function e(h){for(var f=0,g=h.length;f<g;f++){Element.extend(h[f])}return h}var b=Prototype.K;return{select:a,match:c,find:d,extendElements:(Element.extend===b)?b:e,extendElement:Element.extend}})();Prototype._original_property=window.Sizzle;(function(){function a(b){Prototype._actual_sizzle=b()}a.amd=true;if(typeof define!=="undefined"&&define.amd){Prototype._original_define=define;Prototype._actual_sizzle=null;window.define=a}})(); 7217/*! 7218* Sizzle CSS Selector Engine v1.10.18 7219* http://sizzlejs.com/ 7220* 7221* Copyright 2013 jQuery Foundation, Inc. and other contributors 7222* Released under the MIT license 7223* http://jquery.org/license 7224* 7225* Date: 2014-02-05 7226*/ 7227(function(av){var D,ay,t,M,P,ab,ax,aC,N,ac,ae,H,u,an,ai,aw,k,K,ap="sizzle"+-(new Date()),O=av.document,az=0,aj=0,d=F(),ao=F(),L=F(),J=function(i,e){if(i===e){ac=true}return 0},au=typeof undefined,V=1<<31,T=({}).hasOwnProperty,ar=[],at=ar.pop,R=ar.push,b=ar.push,s=ar.slice,j=ar.indexOf||function(aE){var aD=0,e=this.length;for(;aD<e;aD++){if(this[aD]===aE){return aD}}return -1},c="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",v="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Q=a.replace("w","w#"),al="\\["+v+"*("+a+")"+v+"*(?:([*^$|!~]?=)"+v+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+Q+")|)|)"+v+"*\\]",q=":("+a+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+al.replace(3,8)+")*)|.*)\\)|)",x=new RegExp("^"+v+"+|((?:^|[^\\\\])(?:\\\\.)*)"+v+"+$","g"),A=new RegExp("^"+v+"*,"+v+"*"),G=new RegExp("^"+v+"*([>+~]|"+v+")"+v+"*"),z=new RegExp("="+v+"*([^\\]'\"]*?)"+v+"*\\]","g"),X=new RegExp(q),Z=new RegExp("^"+Q+"$"),ah={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a.replace("w","w*")+")"),ATTR:new RegExp("^"+al),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+v+"*(even|odd|(([+-]|)(\\d*)n|)"+v+"*(?:([+-]|)"+v+"*(\\d+)|))"+v+"*\\)|)","i"),bool:new RegExp("^(?:"+c+")$","i"),needsContext:new RegExp("^"+v+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+v+"*((?:-\\d)?\\d*)"+v+"*\\)|)(?=[^-]|$)","i")},h=/^(?:input|select|textarea|button)$/i,r=/^h\d$/i,U=/^[^{]+\{\s*\[native \w/,W=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ag=/[+~]/,S=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}
7227"+v+"?|("+v+")|.)","ig"),ak=function(e,aE,i){var aD="0x"+aE-65536;return aD!==aD||i?aE:aD<0?String.fromCharCode(aD+65536):String.fromCharCode(aD>>10|55296,aD&1023|56320)};try{b.apply((ar=s.call(O.childNodes)),O.childNodes);ar[O.childNodes.length].nodeType}catch(I){b={apply:ar.length?function(i,e){R.apply(i,s.call(e))}:function(aF,aE){var e=aF.length,aD=0;while((aF[e++]=aE[aD++])){}aF.length=e-1}}}function B(aK,aD,aO,aQ){var aP,aH,aI,aM,aN,aG,aF,e,aE,aL;if((aD?aD.ownerDocument||aD:O)!==H){ae(aD)}aD=aD||H;aO=aO||[];if(!aK||typeof aK!=="string"){return aO}if((aM=aD.nodeType)!==1&&aM!==9){return[]}if(an&&!aQ){if((aP=W.exec(aK))){if((aI=aP[1])){if(aM===9){aH=aD.getElementById(aI);if(aH&&aH.parentNode){if(aH.id===aI){aO.push(aH);return aO}}else{return aO}}else{if(aD.ownerDocument&&(aH=aD.ownerDocument.getElementById(aI))&&K(aD,aH)&&aH.id===aI){aO.push(aH);return aO}}}else{if(aP[2]){b.apply(aO,aD.getElementsByTagName(aK));return aO}else{if((aI=aP[3])&&ay.getElementsByClassName&&aD.getElementsByClassName){b.apply(aO,aD.getElementsByClassName(aI));return aO}}}}if(ay.qsa&&(!ai||!ai.test(aK))){e=aF=ap;aE=aD;aL=aM===9&&aK;if(aM===1&&aD.nodeName.toLowerCase()!=="object"){aG=n(aK);if((aF=aD.getAttribute("id"))){e=aF.replace(S,"\\$&")}else{aD.setAttribute("id",e)}e="[id='"+e+"'] ";aN=aG.length;while(aN--){aG[aN]=e+o(aG[aN])}aE=ag.test(aK)&&Y(aD.parentNode)||aD;aL=aG.join(",")}if(aL){try{b.apply(aO,aE.querySelectorAll(aL));return aO}catch(aJ){}finally{if(!aF){aD.removeAttribute("id")}}}}}return ax(aK.replace(x,"$1"),aD,aO,aQ)}function F(){var i=[];function e(aD,aE){if(i.push(aD+" ")>t.cacheLength){delete e[i.shift()]}return(e[aD+" "]=aE)}return e}function p(e){e[ap]=true;return e}function l(i){var aE=H.createElement("div");try{return !!i(aE)}catch(aD){return false}finally{if(aE.parentNode){aE.parentNode.removeChild(aE)}aE=null}}function aA(aD,aF){var e=aD.split("|"),aE=aD.length;while(aE--){t.attrHandle[e[aE]]=aF}}function f(i,e){var aE=e&&i,aD=aE&&i.nodeType===1&&e.nodeType===1&&(~e.sourceIndex||V)-(~i.sourceIndex||V);if(aD){return aD}if(aE){while((aE=aE.nextSibling)){if(aE===e){return -1}}}return i?1:-1}function C(e){return function(aD){var i=aD.nodeName.toLowerCase();return i==="input"&&aD.type===e}}function g(e){return function(aD){var i=aD.nodeName.toLowerCase();return(i==="input"||i==="button")&&aD.type===e}}function am(e){return p(function(i){i=+i;return p(function(aD,aH){var aF,aE=e([],aD.length,i),aG=aE.length;while(aG--){if(aD[(aF=aE[aG])]){aD[aF]=!(aH[aF]=aD[aF])}}})})}function Y(e){return e&&typeof e.getElementsByTagName!==au&&e}ay=B.support={};P=B.isXML=function(e){var i=e&&(e.ownerDocument||e).documentElement;return i?i.nodeName!=="HTML":false};ae=B.setDocument=function(aD){var e,aE=aD?aD.ownerDocument||aD:O,i=aE.defaultView;if(aE===H||aE.nodeType!==9||!aE.documentElement){return H}H=aE;u=aE.documentElement;an=!P(aE);if(i&&i!==i.top){if(i.addEventListener){i.addEventListener("unload",function(){ae()},false)}else{if(i.attachEvent){i.attachEvent("onunload",function(){ae()})}}}ay.attributes=l(function(aF){aF.className="i";return !aF.getAttribute("className")});ay.getElementsByTagName=l(function(aF){aF.appendChild(aE.createComment(""));return !aF.getElementsByTagName("*").length});ay.getElementsByClassName=U.test(aE.getElementsByClassName)&&l(function(aF){aF.innerHTML="<div class='a'></div><div class='a i'></div>";aF.firstChild.className="i";return aF.getElementsByClassName("i").length===2});ay.getById=l(function(aF){u.appendChild(aF).id=ap;return !aE.getElementsByName||!aE.getElementsByName(ap).length});if(ay.getById){t.find.ID=function(aH,aG){if(typeof aG.getElementById!==au&&an){var aF=aG.getElementById(aH);return aF&&aF.parentNode?[aF]:[]}};t.filter.ID=function(aG){var aF=aG.replace(y,ak);return function(aH){return aH.getAttribute("id")===aF}}}else{delete t.find.ID;t.filter.ID=function(aG){var aF=aG.replace(y,ak);return function(aI){var aH=typeof aI.getAttributeNode!==au&&aI.getAttributeNode("id");return aH&&aH.value===aF}}}t.find.TAG=ay.getElementsByTagName?function(aF,aG){if(typeof aG.getElementsByTagName!==au){return aG.getElementsByTagName(aF)}}:function(aF,aJ){var aK,aI=[],aH=0,aG=aJ.getElementsByTagName(aF);if(aF==="*"){while((aK=aG[aH++])){if(aK.nodeType===1){aI.push(aK)}}return aI}return aG};t.find.CLASS=ay.getElementsByClassName&&function(aG,aF){if(typeof aF.getElementsByClassName!==au&&an){return aF.getElementsByClassName(aG)}};aw=[];ai=[];if((ay.qsa=U.test(aE.querySelectorAll))){l(function(aF){aF.innerHTML="<select t=''><option selected=''></option></select>";if(aF.querySelectorAll("[t^='']").length){ai.push("[*^$]="+v+"*(?:''|\"\")")}if(!aF.querySelectorAll("[selected]").length){ai.push("\\["+v+"*(?:value|"+c+")")}if(!aF.querySelectorAll(":checked").length){ai.push(":checked")}});l(function(aG){var aF=aE.createElement("input");aF.setAttribute("type","hidden");aG.appendChild(aF).setAttribute("name","D");if(aG.querySelectorAll("[name=d]").length){ai.push("name"+v+"*[*^$|!~]?=")}if(!aG.querySelectorAll(":enabled").length){ai.push(":enabled",":disabled")}aG.querySelectorAll("*,:x");ai.push(",.*:")})}if((ay.matchesSelector=U.test((k=u.webkitMatchesSelector||u.mozMatchesSelector||u.oMatchesSelector||u.msMatchesSelector)))){l(function(aF){ay.disconnectedMatch=k.call(aF,"div");k.call(aF,"[s!='']:x");aw.push("!=",q)})}ai=ai.length&&new RegExp(ai.join("|"));aw=aw.length&&new RegExp(aw.join("|"));e=U.test(u.compareDocumentPosition);K=e||U.test(u.contains)?function(aG,aF){var aI=aG.nodeType===9?aG.documentElement:aG,aH=aF&&aF.parentNode;return aG===aH||!!(aH&&aH.nodeType===1&&(aI.contains?aI.contains(aH):aG.compareDocumentPosition&&aG.compareDocumentPosition(aH)&16))}:function(aG,aF){if(aF){while((aF=aF.parentNode)){if(aF===aG){return true}}}return false};J=e?function(aG,aF){if(aG===aF){ac=true;return 0}var aH=!aG.compareDocumentPosition-!aF.compareDocumentPosition;if(aH){return aH}aH=(aG.ownerDocument||aG)===(aF.ownerDocument||aF)?aG.compareDocumentPosition(aF):1;if(aH&1||(!ay.sortDetached&&aF.compareDocumentPosition(aG)===aH)){if(aG===aE||aG.ownerDocument===O&&K(O,aG)){return -1}if(aF===aE||aF.ownerDocument===O&&K(O,aF)){return 1}return N?(j.call(N,aG)-j.call(N,aF)):0}return aH&4?-1:1}:function(aG,aF){if(aG===aF){ac=true;return 0}var aM,aJ=0,aL=aG.parentNode,aI=aF.parentNode,aH=[aG],aK=[aF];if(!aL||!aI){return aG===aE?-1:aF===aE?1:aL?-1:aI?1:N?(j.call(N,aG)-j.call(N,aF)):0}else{if(aL===aI){return f(aG,aF)}}aM=aG;while((aM=aM.parentNode)){aH.unshift(aM)}aM=aF;while((aM=aM.parentNode)){aK.unshift(aM)}while(aH[aJ]===aK[aJ]){aJ++}return aJ?f(aH[aJ],aK[aJ]):aH[aJ]===O?-1:aK[aJ]===O?1:0};return aE};B.matches=function(i,e){return B(i,null,null,e)};B.matchesSelector=function(aD,aF){if((aD.ownerDocument||aD)!==H){ae(aD)}aF=aF.replace(z,"='$1']");if(ay.matchesSelector&&an&&(!aw||!aw.test(aF))&&(!ai||!ai.test(aF))){try{var i=k.call(aD,aF);if(i||ay.disconnectedMatch||aD.document&&aD.document.nodeType!==11){return i}}catch(aE){}}return B(aF,H,null,[aD]).length>0};B.contains=function(e,i){if((e.ownerDocument||e)!==H){ae(e)}return K(e,i)};B.attr=function(aD,e){if((aD.ownerDocument||aD)!==H){ae(aD)}var i=t.attrHandle[e.toLowerCase()],aE=i&&T.call(t.attrHandle,e.toLowerCase())?i(aD,e,!an):undefined;return aE!==undefined?aE:ay.attributes||!an?aD.getAttribute(e):(aE=aD.getAttributeNode(e))&&aE.specified?aE.value:null};B.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};B.uniqueSort=function(aE){var aF,aG=[],e=0,aD=0;ac=!ay.detectDuplicates;N=!ay.sortStable&&aE.slice(0);aE.sort(J);
7227if(ac){while((aF=aE[aD++])){if(aF===aE[aD]){e=aG.push(aD)}}while(e--){aE.splice(aG[e],1)}}N=null;return aE};M=B.getText=function(aG){var aF,aD="",aE=0,e=aG.nodeType;if(!e){while((aF=aG[aE++])){aD+=M(aF)}}else{if(e===1||e===9||e===11){if(typeof aG.textContent==="string"){return aG.textContent}else{for(aG=aG.firstChild;aG;aG=aG.nextSibling){aD+=M(aG)}}}else{if(e===3||e===4){return aG.nodeValue}}}return aD};t=B.selectors={cacheLength:50,createPseudo:p,match:ah,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(y,ak);e[3]=(e[4]||e[5]||"").replace(y,ak);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){B.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){B.error(e[0])}}return e},PSEUDO:function(i){var e,aD=!i[5]&&i[2];if(ah.CHILD.test(i[0])){return null}if(i[3]&&i[4]!==undefined){i[2]=i[4]}else{if(aD&&X.test(aD)&&(e=n(aD,true))&&(e=aD.indexOf(")",aD.length-e)-aD.length)){i[0]=i[0].slice(0,e);i[2]=aD.slice(0,e)}}return i.slice(0,3)}},filter:{TAG:function(i){var e=i.replace(y,ak).toLowerCase();return i==="*"?function(){return true}:function(aD){return aD.nodeName&&aD.nodeName.toLowerCase()===e}},CLASS:function(e){var i=d[e+" "];return i||(i=new RegExp("(^|"+v+")"+e+"("+v+"|$)"))&&d(e,function(aD){return i.test(typeof aD.className==="string"&&aD.className||typeof aD.getAttribute!==au&&aD.getAttribute("class")||"")})},ATTR:function(aD,i,e){return function(aF){var aE=B.attr(aF,aD);if(aE==null){return i==="!="}if(!i){return true}aE+="";return i==="="?aE===e:i==="!="?aE!==e:i==="^="?e&&aE.indexOf(e)===0:i==="*="?e&&aE.indexOf(e)>-1:i==="$="?e&&aE.slice(-e.length)===e:i==="~="?(" "+aE+" ").indexOf(e)>-1:i==="|="?aE===e||aE.slice(0,e.length+1)===e+"-":false}},CHILD:function(i,aF,aE,aG,aD){var aI=i.slice(0,3)!=="nth",e=i.slice(-4)!=="last",aH=aF==="of-type";return aG===1&&aD===0?function(aJ){return !!aJ.parentNode}:function(aP,aN,aS){var aJ,aV,aQ,aU,aR,aM,aO=aI!==e?"nextSibling":"previousSibling",aT=aP.parentNode,aL=aH&&aP.nodeName.toLowerCase(),aK=!aS&&!aH;if(aT){if(aI){while(aO){aQ=aP;while((aQ=aQ[aO])){if(aH?aQ.nodeName.toLowerCase()===aL:aQ.nodeType===1){return false}}aM=aO=i==="only"&&!aM&&"nextSibling"}return true}aM=[e?aT.firstChild:aT.lastChild];if(e&&aK){aV=aT[ap]||(aT[ap]={});aJ=aV[i]||[];aR=aJ[0]===az&&aJ[1];aU=aJ[0]===az&&aJ[2];aQ=aR&&aT.childNodes[aR];while((aQ=++aR&&aQ&&aQ[aO]||(aU=aR=0)||aM.pop())){if(aQ.nodeType===1&&++aU&&aQ===aP){aV[i]=[az,aR,aU];break}}}else{if(aK&&(aJ=(aP[ap]||(aP[ap]={}))[i])&&aJ[0]===az){aU=aJ[1]}else{while((aQ=++aR&&aQ&&aQ[aO]||(aU=aR=0)||aM.pop())){if((aH?aQ.nodeName.toLowerCase()===aL:aQ.nodeType===1)&&++aU){if(aK){(aQ[ap]||(aQ[ap]={}))[i]=[az,aU]}if(aQ===aP){break}}}}}aU-=aD;return aU===aG||(aU%aG===0&&aU/aG>=0)}}},PSEUDO:function(aE,aD){var e,i=t.pseudos[aE]||t.setFilters[aE.toLowerCase()]||B.error("unsupported pseudo: "+aE);if(i[ap]){return i(aD)}if(i.length>1){e=[aE,aE,"",aD];return t.setFilters.hasOwnProperty(aE.toLowerCase())?p(function(aH,aJ){var aG,aF=i(aH,aD),aI=aF.length;while(aI--){aG=j.call(aH,aF[aI]);aH[aG]=!(aJ[aG]=aF[aI])}}):function(aF){return i(aF,0,e)}}return i}},pseudos:{not:p(function(e){var i=[],aD=[],aE=ab(e.replace(x,"$1"));return aE[ap]?p(function(aG,aL,aJ,aH){var aK,aF=aE(aG,null,aH,[]),aI=aG.length;while(aI--){if((aK=aF[aI])){aG[aI]=!(aL[aI]=aK)}}}):function(aH,aG,aF){i[0]=aH;aE(i,null,aF,aD);return !aD.pop()}}),has:p(function(e){return function(i){return B(e,i).length>0}}),contains:p(function(e){return function(i){return(i.textContent||i.innerText||M(i)).indexOf(e)>-1}}),lang:p(function(e){if(!Z.test(e||"")){B.error("unsupported lang: "+e)}e=e.replace(y,ak).toLowerCase();return function(aD){var i;do{if((i=an?aD.lang:aD.getAttribute("xml:lang")||aD.getAttribute("lang"))){i=i.toLowerCase();return i===e||i.indexOf(e+"-")===0}}while((aD=aD.parentNode)&&aD.nodeType===1);return false}}),target:function(e){var i=av.location&&av.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var i=e.nodeName.toLowerCase();return(i==="input"&&!!e.checked)||(i==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return !t.pseudos.empty(e)},header:function(e){return r.test(e.nodeName)}
7227,input:function(e){return h.test(e.nodeName)},button:function(i){var e=i.nodeName.toLowerCase();return e==="input"&&i.type==="button"||e==="button"},text:function(i){var e;return i.nodeName.toLowerCase()==="input"&&i.type==="text"&&((e=i.getAttribute("type"))==null||e.toLowerCase()==="text")},first:am(function(){return[0]}),last:am(function(e,i){return[i-1]}),eq:am(function(e,aD,i){return[i<0?i+aD:i]}),even:am(function(e,aE){var aD=0;for(;aD<aE;aD+=2){e.push(aD)}return e}),odd:am(function(e,aE){var aD=1;for(;aD<aE;aD+=2){e.push(aD)}return e}),lt:am(function(e,aF,aE){var aD=aE<0?aE+aF:aE;for(;--aD>=0;){e.push(aD)}return e}),gt:am(function(e,aF,aE){var aD=aE<0?aE+aF:aE;for(;++aD<aF;){e.push(aD)}return e})}};t.pseudos.nth=t.pseudos.eq;for(D in {radio:true,checkbox:true,file:true,password:true,image:true}){t.pseudos[D]=C(D)}for(D in {submit:true,reset:true}){t.pseudos[D]=g(D)}function aa(){}aa.prototype=t.filters=t.pseudos;t.setFilters=new aa();function n(aF,aK){var i,aG,aI,aJ,aH,aD,e,aE=ao[aF+" "];if(aE){return aK?0:aE.slice(0)}aH=aF;aD=[];e=t.preFilter;while(aH){if(!i||(aG=A.exec(aH))){if(aG){aH=aH.slice(aG[0].length)||aH}aD.push((aI=[]))}i=false;if((aG=G.exec(aH))){i=aG.shift();aI.push({value:i,type:aG[0].replace(x," ")});aH=aH.slice(i.length)}for(aJ in t.filter){if((aG=ah[aJ].exec(aH))&&(!e[aJ]||(aG=e[aJ](aG)))){i=aG.shift();aI.push({value:i,type:aJ,matches:aG});aH=aH.slice(i.length)}}if(!i){break}}return aK?aH.length:aH?B.error(aF):ao(aF,aD).slice(0)}function o(aF){var aE=0,aD=aF.length,e="";for(;aE<aD;aE++){e+=aF[aE].value}return e}function w(aF,aD,aE){var e=aD.dir,aG=aE&&e==="parentNode",i=aj++;return aD.first?function(aJ,aI,aH){while((aJ=aJ[e])){if(aJ.nodeType===1||aG){return aF(aJ,aI,aH)}}}:function(aL,aJ,aI){var aM,aK,aH=[az,i];if(aI){while((aL=aL[e])){if(aL.nodeType===1||aG){if(aF(aL,aJ,aI)){return true}}}}else{while((aL=aL[e])){if(aL.nodeType===1||aG){aK=aL[ap]||(aL[ap]={});if((aM=aK[e])&&aM[0]===az&&aM[1]===i){return(aH[2]=aM[2])}else{aK[e]=aH;if((aH[2]=aF(aL,aJ,aI))){return true}}}}}}}function aB(e){return e.length>1?function(aG,aF,aD){var aE=e.length;while(aE--){if(!e[aE](aG,aF,aD)){return false}}return true}:e[0]}function E(aD,aG,aF){var aE=0,e=aG.length;for(;aE<e;aE++){B(aD,aG[aE],aF)}return aF}function af(e,aD,aE,aF,aI){var aG,aL=[],aH=0,aJ=e.length,aK=aD!=null;for(;aH<aJ;aH++){if((aG=e[aH])){if(!aE||aE(aG,aF,aI)){aL.push(aG);if(aK){aD.push(aH)}}}}return aL}function m(aD,i,aF,aE,aG,e){if(aE&&!aE[ap]){aE=m(aE)}if(aG&&!aG[ap]){aG=m(aG,e)}return p(function(aR,aO,aJ,aQ){var aT,aP,aL,aK=[],aS=[],aI=aO.length,aH=aR||E(i||"*",aJ.nodeType?[aJ]:aJ,[]),aM=aD&&(aR||!i)?af(aH,aK,aD,aJ,aQ):aH,aN=aF?aG||(aR?aD:aI||aE)?[]:aO:aM;if(aF){aF(aM,aN,aJ,aQ)}if(aE){aT=af(aN,aS);aE(aT,[],aJ,aQ);aP=aT.length;while(aP--){if((aL=aT[aP])){aN[aS[aP]]=!(aM[aS[aP]]=aL)}}}if(aR){if(aG||aD){if(aG){aT=[];aP=aN.length;while(aP--){if((aL=aN[aP])){aT.push((aM[aP]=aL))}}aG(null,(aN=[]),aT,aQ)}aP=aN.length;while(aP--){if((aL=aN[aP])&&(aT=aG?j.call(aR,aL):aK[aP])>-1){aR[aT]=!(aO[aT]=aL)}}}}else{aN=af(aN===aO?aN.splice(aI,aN.length):aN);if(aG){aG(null,aO,aN,aQ)}else{b.apply(aO,aN)}}})}function aq(aI){var aD,aG,aE,aH=aI.length,aL=t.relative[aI[0].type],aM=aL||t.relative[" "],aF=aL?1:0,aJ=w(function(i){return i===aD},aM,true),aK=w(function(i){return j.call(aD,i)>-1},aM,true),e=[function(aO,aN,i){return(!aL&&(i||aN!==aC))||((aD=aN).nodeType?aJ(aO,aN,i):aK(aO,aN,i))}];for(;aF<aH;aF++){if((aG=t.relative[aI[aF].type])){e=[w(aB(e),aG)]}else{aG=t.filter[aI[aF].type].apply(null,aI[aF].matches);if(aG[ap]){aE=++aF;for(;aE<aH;aE++){if(t.relative[aI[aE].type]){break}}return m(aF>1&&aB(e),aF>1&&o(aI.slice(0,aF-1).concat({value:aI[aF-2].type===" "?"*":""})).replace(x,"$1"),aG,aF<aE&&aq(aI.slice(aF,aE)),aE<aH&&aq((aI=aI.slice(aE))),aE<aH&&o(aI))}e.push(aG)}}return aB(e)}function ad(aE,aD){var e=aD.length>0,aF=aE.length>0,i=function(aP,aJ,aO,aN,aS){var aK,aL,aQ,aU=0,aM="0",aG=aP&&[],aV=[],aT=aC,aI=aP||aF&&t.find.TAG("*",aS),aH=(az+=aT==null?1:Math.random()||0.1),aR=aI.length;if(aS){aC=aJ!==H&&aJ}for(;aM!==aR&&(aK=aI[aM])!=null;aM++){if(aF&&aK){aL=0;while((aQ=aE[aL++])){if(aQ(aK,aJ,aO)){aN.push(aK);break}}if(aS){az=aH}}if(e){if((aK=!aQ&&aK)){aU--}if(aP){aG.push(aK)}}}aU+=aM;if(e&&aM!==aU){aL=0;while((aQ=aD[aL++])){aQ(aG,aV,aJ,aO)}if(aP){if(aU>0){while(aM--){if(!(aG[aM]||aV[aM])){aV[aM]=at.call(aN)}}}aV=af(aV)}b.apply(aN,aV);if(aS&&!aP&&aV.length>0&&(aU+aD.length)>1){B.uniqueSort(aN)}}if(aS){az=aH;aC=aT}return aG};return e?p(i):i}ab=B.compile=function(e,aE){var aF,aD=[],aH=[],aG=L[e+" "];if(!aG){if(!aE){aE=n(e)}aF=aE.length;while(aF--){aG=aq(aE[aF]);if(aG[ap]){aD.push(aG)}else{aH.push(aG)}}aG=L(e,ad(aH,aD));aG.selector=e}return aG};ax=B.select=function(aE,e,aF,aI){var aG,aL,aD,aM,aJ,aK=typeof aE==="function"&&aE,aH=!aI&&n((aE=aK.selector||aE));aF=aF||[];
7227if(aH.length===1){aL=aH[0]=aH[0].slice(0);if(aL.length>2&&(aD=aL[0]).type==="ID"&&ay.getById&&e.nodeType===9&&an&&t.relative[aL[1].type]){e=(t.find.ID(aD.matches[0].replace(y,ak),e)||[])[0];if(!e){return aF}else{if(aK){e=e.parentNode}}aE=aE.slice(aL.shift().value.length)}aG=ah.needsContext.test(aE)?0:aL.length;while(aG--){aD=aL[aG];if(t.relative[(aM=aD.type)]){break}if((aJ=t.find[aM])){if((aI=aJ(aD.matches[0].replace(y,ak),ag.test(aL[0].type)&&Y(e.parentNode)||e))){aL.splice(aG,1);aE=aI.length&&o(aL);if(!aE){b.apply(aF,aI);return aF}break}}}}(aK||ab(aE,aH))(aI,e,!an,aF,ag.test(aE)&&Y(e.parentNode)||e);return aF};ay.sortStable=ap.split("").sort(J).join("")===ap;ay.detectDuplicates=!!ac;ae();ay.sortDetached=l(function(e){return e.compareDocumentPosition(H.createElement("div"))&1});if(!l(function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"})){aA("type|href|height|width",function(i,e,aD){if(!aD){return i.getAttribute(e,e.toLowerCase()==="type"?1:2)}})}if(!ay.attributes||!l(function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""})){aA("value",function(i,e,aD){if(!aD&&i.nodeName.toLowerCase()==="input"){return i.defaultValue}})}if(!l(function(e){return e.getAttribute("disabled")==null})){aA(c,function(i,e,aE){var aD;if(!aE){return i[e]===true?e.toLowerCase():(aD=i.getAttributeNode(e))&&aD.specified?aD.value:null}})}if(typeof define==="function"&&define.amd){define(function(){return B})}else{if(typeof module!=="undefined"&&module.exports){module.exports=B}else{av.Sizzle=B}}})(window);(function(){if(typeof Sizzle!=="undefined"){return}if(typeof define!=="undefined"&&define.amd){window.Sizzle=Prototype._actual_sizzle;window.define=Prototype._original_define;delete Prototype._actual_sizzle;delete Prototype._original_define}else{if(typeof module!=="undefined"&&module.exports){window.Sizzle=module.exports;module.exports={}}}})();(function(c){var d=Prototype.Selector.extendElements;function a(e,f){return d(c(e,f||document))}function b(f,e){return c.matches(e,[f]).length==1}Prototype.Selector.engine=c;Prototype.Selector.select=a;Prototype.Selector.match=b})(Sizzle);window.Sizzle=Prototype._original_property;delete Prototype._original_property;var Form={reset:function(a){a=$(a);a.reset();return a},serializeElements:function(h,d){if(typeof d!="object"){d={hash:!!d}}else{if(Object.isUndefined(d.hash)){d.hash=true}}var e,g,a=false,f=d.submit,b,c;if(d.hash){c={};b=function(i,j,k){if(j in i){if(!Object.isArray(i[j])){i[j]=[i[j]]}i[j]=i[j].concat(k)}else{i[j]=k}return i}}else{c="";b=function(i,k,j){if(!Object.isArray(j)){j=[j]}if(!j.length){return i}var l=encodeURIComponent(k).gsub(/%20/,"+");return i+(i?"&":"")+j.map(function(m){m=m.gsub(/(\r)?\n/,"\r\n");m=encodeURIComponent(m);m=m.gsub(/%20/,"+");return l+"="+m}).join("&")}}return h.inject(c,function(i,j){if(!j.disabled&&j.name){e=j.name;g=$(j).getValue();if(g!=null&&j.type!="file"&&(j.type!="submit"||(!a&&f!==false&&(!f||e==f)&&(a=true)))){i=b(i,e,g)}}return i})}};Form.Methods={serialize:function(b,a){return Form.serializeElements(Form.getElements(b),a)},getElements:function(e){var f=$(e).getElementsByTagName("*");var d,c=[],b=Form.Element.Serializers;for(var a=0;d=f[a];a++){if(b[d.tagName.toLowerCase()]){c.push(Element.extend(d))}}return c},getInputs:function(g,c,d){g=$(g);var a=g.getElementsByTagName("input");if(!c&&!d){return $A(a).map(Element.extend)}for(var e=0,h=[],f=a.length;e<f;e++){var b=a[e];if((c&&b.type!=c)||(d&&b.name!=d)){continue}h.push(Element.extend(b))}return h},disable:function(a){a=$(a);Form.getElements(a).invoke("disable");return a},enable:function(a){a=$(a);Form.getElements(a).invoke("enable");return a},findFirstElement:function(b){var c=$(b).getElements().findAll(function(d){return"hidden"!=d.type&&!d.disabled});var a=c.findAll(function(d){return d.hasAttribute("tabIndex")&&d.tabIndex>=0}).sortBy(function(d){return d.tabIndex}).first();return a?a:c.find(function(d){return/^(?:input|select|textarea)$/i.test(d.tagName)})},focusFirstElement:function(b){b=$(b);var a=b.findFirstElement();if(a){a.activate()}return b},request:function(b,a){b=$(b),a=Object.clone(a||{});var d=a.parameters,c=b.readAttribute("action")||"";if(c.blank()){c=window.location.href}a.parameters=b.serialize(true);if(d){if(Object.isString(d)){d=d.toQueryParams()}Object.extend(a.parameters,d)}if(b.hasAttribute("method")&&!a.method){a.method=b.method}return new Ajax.Request(c,a)}};Form.Element={focus:function(a){$(a).focus();return a},select:function(a){$(a).select();return a}};Form.Element.Methods={serialize:function(a){a=$(a);if(!a.disabled&&a.name){var b=a.getValue();if(b!=undefined){var c={};c[a.name]=b;return Object.toQueryString(c)}}return""},getValue:function(a){a=$(a);var b=a.tagName.toLowerCase();return Form.Element.Serializers[b](a)},setValue:function(a,b){a=$(a);var c=a.tagName.toLowerCase();Form.Element.Serializers[c](a,b);return a},clear:function(a){$(a).value="";return a},present:function(a){return $(a).value!=""},activate:function(a){a=$(a);try{a.focus();if(a.select&&(a.tagName.toLowerCase()!="input"||!(/^(?:button|reset|submit)$/i.test(a.type)))){a.select()}}catch(b){}return a},disable:function(a){a=$(a);a.disabled=true;return a},enable:function(a){a=$(a);a.disabled=false;return a}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers=(function(){function b(h,i){switch(h.type.toLowerCase()){case"checkbox":case"radio":return f(h,i);default:return e(h,i)}}function f(h,i){if(Object.isUndefined(i)){return h.checked?h.value:null}else{h.checked=!!i}}function e(h,i){if(Object.isUndefined(i)){return h.value}else{h.value=i}}
7227function a(k,n){if(Object.isUndefined(n)){return(k.type==="select-one"?c:d)(k)}var j,l,o=!Object.isArray(n);for(var h=0,m=k.length;h<m;h++){j=k.options[h];l=this.optionValue(j);if(o){if(l==n){j.selected=true;return}}else{j.selected=n.include(l)}}}function c(i){var h=i.selectedIndex;return h>=0?g(i.options[h]):null}function d(l){var h,m=l.length;if(!m){return null}for(var k=0,h=[];k<m;k++){var j=l.options[k];if(j.selected){h.push(g(j))}}return h}function g(h){return Element.hasAttribute(h,"value")?h.value:h.text}return{input:b,inputSelector:f,textarea:e,select:a,selectOne:c,selectMany:d,optionValue:g,button:e}})();Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,a,b,c){$super(c,b);this.element=$(a);this.lastValue=this.getValue()},execute:function(){var a=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(a)?this.lastValue!=a:String(this.lastValue)!=String(a)){this.callback(this.element,a);this.lastValue=a}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=="form"){this.registerFormCallbacks()}else{this.registerCallback(this.element)}},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(a){if(a.type){switch(a.type.toLowerCase()){case"checkbox":case"radio":Event.observe(a,"click",this.onElementEvent.bind(this));break;default:Event.observe(a,"change",this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});(function(D){var u=document.createElement("div");var d=document.documentElement;var k="onmouseenter" in d&&"onmouseleave" in d;var L={KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45};var A=function(X){return false};if(window.attachEvent){if(window.addEventListener){A=function(X){return !(X instanceof window.Event)}}else{A=function(X){return true}}}var O;function M(Y,X){return Y.which?(Y.which===X+1):(Y.button===X)}var W={0:1,1:4,2:2};function S(Y,X){return Y.button===W[X]}function P(Y,X){switch(X){case 0:return Y.which==1&&!Y.metaKey;case 1:return Y.which==2||(Y.which==1&&Y.metaKey);case 2:return Y.which==3;default:return false}}if(window.attachEvent){if(!window.addEventListener){O=S}else{O=function(Y,X){return A(Y)?S(Y,X):M(Y,X)}}}else{if(Prototype.Browser.WebKit){O=P}else{O=M}}function B(X){return O(X,0)}function i(X){return O(X,1)}function e(X){return O(X,2)}function o(X){return Element.extend(K(X))}function K(Z){Z=L.extend(Z);var Y=Z.target,X=Z.type,aa=Z.currentTarget;if(aa&&aa.tagName){if(X==="load"||X==="error"||(X==="click"&&aa.tagName.toLowerCase()==="input"&&aa.type==="radio")){Y=aa}}return Y.nodeType==Node.TEXT_NODE?Y.parentNode:Y}function j(Z,aa){var Y=K(Z),X=Prototype.Selector;if(!aa){return Element.extend(Y)}while(Y){if(Object.isElement(Y)&&X.match(Y,aa)){return Element.extend(Y)}Y=Y.parentNode}}function t(X){return{x:U(X),y:T(X)}}function U(Z){var Y=document.documentElement,X=document.body||{scrollLeft:0};return Z.pageX||(Z.clientX+(Y.scrollLeft||X.scrollLeft)-(Y.clientLeft||0))}function T(Z){var Y=document.documentElement,X=document.body||{scrollTop:0};return Z.pageY||(Z.clientY+(Y.scrollTop||X.scrollTop)-(Y.clientTop||0))}function r(X){L.extend(X);X.preventDefault();X.stopPropagation();X.stopped=true}L.Methods={isLeftClick:B,isMiddleClick:i,isRightClick:e,element:o,findElement:j,pointer:t,pointerX:U,pointerY:T,stop:r};var H=Object.keys(L.Methods).inject({},function(X,Y){X[Y]=L.Methods[Y].methodize();return X});if(window.attachEvent){function V(Y){var X;switch(Y.type){case"mouseover":case"mouseenter":X=Y.fromElement;break;case"mouseout":case"mouseleave":X=Y.toElement;break;default:return null}return Element.extend(X)}var Q={stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}};L.extend=function(Y,X){if(!Y){return false}if(!A(Y)){return Y}if(Y._extendedByPrototype){return Y}Y._extendedByPrototype=Prototype.emptyFunction;var Z=L.pointer(Y);Object.extend(Y,{target:Y.srcElement||X,relatedTarget:V(Y),pageX:Z.x,pageY:Z.y});Object.extend(Y,H);Object.extend(Y,Q);return Y}}else{L.extend=Prototype.K}if(window.addEventListener){L.prototype=window.Event.prototype||document.createEvent("HTMLEvents").__proto__;Object.extend(L.prototype,H)}
7227var v={mouseenter:"mouseover",mouseleave:"mouseout"};function f(X){return v[X]||X}if(k){f=Prototype.K}function R(X){if(X===window){return 0}if(typeof X._prototypeUID==="undefined"){X._prototypeUID=Element.Storage.UID++}return X._prototypeUID}function I(X){if(X===window){return 0}if(X==document){return 1}return X.uniqueID}if("uniqueID" in u){R=I}function x(X){return X.include(":")}L._isCustomEvent=x;function z(Z,Y){var X=D.Event.cache;if(Object.isUndefined(Y)){Y=R(Z)}if(!X[Y]){X[Y]={element:Z}}return X[Y]}function E(Y,X){if(Object.isUndefined(X)){X=R(Y)}delete D.Event.cache[X]}function h(Z,ac,af){var X=z(Z);if(!X[ac]){X[ac]=[]}var ab=X[ac];var aa=ab.length;while(aa--){if(ab[aa].handler===af){return null}}var ad=R(Z);var Y=D.Event._createResponder(ad,ac,af);var ae={responder:Y,handler:af};ab.push(ae);return ae}function s(ac,Z,ad){var Y=z(ac);var X=Y[Z]||[];var ab=X.length,ae;while(ab--){if(X[ab].handler===ad){ae=X[ab];break}}if(ae){var aa=X.indexOf(ae);X.splice(aa,1)}if(X.length===0){delete Y[Z];if(Object.keys(Y).length===1&&("element" in Y)){E(ac)}}return ae}function c(Z,Y,aa){Z=$(Z);var ab=h(Z,Y,aa);if(ab===null){return Z}var X=ab.responder;if(x(Y)){p(Z,Y,X)}else{m(Z,Y,X)}return Z}function m(aa,Z,Y){var X=f(Z);if(aa.addEventListener){aa.addEventListener(X,Y,false)}else{aa.attachEvent("on"+X,Y)}}function p(Z,Y,X){if(Z.addEventListener){Z.addEventListener("dataavailable",X,false)}else{Z.attachEvent("ondataavailable",X);Z.attachEvent("onlosecapture",X)}}function J(Y,X,Z){Y=$(Y);var ab=!Object.isUndefined(Z),ac=!Object.isUndefined(X);if(!ac&&!ab){y(Y);return Y}if(!ab){G(Y,X);return Y}var aa=s(Y,X,Z);if(!aa){return Y}a(Y,X,aa.responder);return Y}function C(aa,Z,Y){var X=f(Z);if(aa.removeEventListener){aa.removeEventListener(X,Y,false)}else{aa.detachEvent("on"+X,Y)}}function b(Z,Y,X){if(Z.removeEventListener){Z.removeEventListener("dataavailable",X,false)}else{Z.detachEvent("ondataavailable",X);Z.detachEvent("onlosecapture",X)}}function y(ac){var ab=R(ac),Z=D.Event.cache[ab];if(!Z){return}E(ac,ab);var X,aa;for(var Y in Z){if(Y==="element"){continue}X=Z[Y];aa=X.length;while(aa--){a(ac,Y,X[aa].responder)}}}function G(ac,Z){var Y=z(ac);var X=Y[Z];if(X){delete Y[Z]}X=X||[];var ab=X.length;while(ab--){a(ac,Z,X[ab].responder)}for(var aa in Y){if(aa==="element"){continue}return}E(ac)}function a(Y,X,Z){if(x(X)){b(Y,X,Z)}else{C(Y,X,Z)}}function g(X){if(X!==document){return X}if(document.createEvent&&!X.dispatchEvent){return document.documentElement}return X}function w(aa,Z,Y,X){aa=g($(aa));if(Object.isUndefined(X)){X=true}Y=Y||{};var ab=N(aa,Z,Y,X);return L.extend(ab)}function l(aa,Z,Y,X){var ab=document.createEvent("HTMLEvents");ab.initEvent("dataavailable",X,true);ab.eventName=Z;ab.memo=Y;aa.dispatchEvent(ab);return ab}function n(aa,Z,Y,X){var ab=document.createEventObject();ab.eventType=X?"ondataavailable":"onlosecapture";ab.eventName=Z;ab.memo=Y;aa.fireEvent(ab.eventType,ab);return ab}var N=document.createEvent?l:n;L.Handler=Class.create({initialize:function(Z,Y,X,aa){this.element=$(Z);this.eventName=Y;this.selector=X;this.callback=aa;this.handler=this.handleEvent.bind(this)},start:function(){L.observe(this.element,this.eventName,this.handler);return this},stop:function(){L.stopObserving(this.element,this.eventName,this.handler);return this},handleEvent:function(Y){var X=L.findElement(Y,this.selector);if(X){this.callback.call(this.element,Y,X)}}});function F(Z,Y,X,aa){Z=$(Z);if(Object.isFunction(X)&&Object.isUndefined(aa)){aa=X,X=null}return new L.Handler(Z,Y,X,aa).start()}Object.extend(L,L.Methods);Object.extend(L,{fire:w,observe:c,stopObserving:J,on:F});Element.addMethods({fire:w,observe:c,stopObserving:J,on:F});Object.extend(document,{fire:w.methodize(),observe:c.methodize(),stopObserving:J.methodize(),on:F.methodize(),loaded:false});if(D.Event){Object.extend(window.Event,L)}else{D.Event=L}D.Event.cache={};function q(){D.Event.cache=null}if(window.attachEvent){window.attachEvent("onunload",q)}u=null;d=null})(this);(function(c){var g=document.documentElement;var b="onmouseenter" in g&&"onmouseleave" in g;function f(h){return !b&&(h==="mouseenter"||h==="mouseleave")}function d(i,h,j){if(Event._isCustomEvent(h)){return e(i,h,j)}if(f(h)){return a(i,h,j)}return function(l){if(!Event.cache){return}var k=Event.cache[i].element;Event.extend(l,k);j.call(k,l)}}function e(i,h,j){return function(m){var k=Event.cache[i];var l=k&&k.element;if(Object.isUndefined(m.eventName)){return false}if(m.eventName!==h){return false}Event.extend(m,l);
7227j.call(l,m)}}function a(i,h,j){return function(m){var k=Event.cache[i].element;Event.extend(m,k);var l=m.relatedTarget;while(l&&l!==k){try{l=l.parentNode}catch(n){l=k}}if(l===k){return}j.call(k,m)}}c.Event._createResponder=d;g=null})(this);(function(a){var e;function b(){if(document.loaded){return}if(e){window.clearTimeout(e)}document.loaded=true;document.fire("dom:loaded")}function d(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",d);b()}}function c(){try{document.documentElement.doScroll("left")}catch(f){e=c.defer();return}b()}if(document.readyState==="complete"){b();return}if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false)}else{document.attachEvent("onreadystatechange",d);if(window==top){e=c.defer()}}Event.observe(window,"load",b)})(this);Element.addMethods();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.addMethods({childOf:Element.Methods.descendantOf});var Insertion={Before:function(a,b){return Element.insert(a,{before:b})},Top:function(a,b){return Element.insert(a,{top:b})},Bottom:function(a,b){return Element.insert(a,{bottom:b})},After:function(a,b){return Element.insert(a,{after:b})}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(b,a,c){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(b,a,c)}this.xcomp=a;this.ycomp=c;this.offset=Element.cumulativeOffset(b);return(c>=this.offset[1]&&c<this.offset[1]+b.offsetHeight&&a>=this.offset[0]&&a<this.offset[0]+b.offsetWidth)},withinIncludingScrolloffsets:function(b,a,d){var c=Element.cumulativeScrollOffset(b);this.xcomp=a+c[0]-this.deltaX;this.ycomp=d+c[1]-this.deltaY;this.offset=Element.cumulativeOffset(b);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+b.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+b.offsetWidth)},overlap:function(b,a){if(!b){return 0}if(b=="vertical"){return((this.offset[1]+a.offsetHeight)-this.ycomp)/a.offsetHeight}if(b=="horizontal"){return((this.offset[0]+a.offsetWidth)-this.xcomp)/a.offsetWidth}},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(a){Position.prepare();return Element.absolutize(a)},relativize:function(a){Position.prepare();return Element.relativize(a)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(b,c,a){a=a||{};return Element.clonePosition(c,b,a)}};if(!document.getElementsByClassName){document.getElementsByClassName=function(b){function a(c){return c.blank()?null:"[contains(concat(' ', @class, ' '), ' "+c+" ')]"}b.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(c,e){e=e.toString().strip();var d=/\s/.test(e)?$w(e).map(a).join(""):a(e);return d?document._getElementsByXPath(".//*"+d,c):[]}:function(e,f){f=f.toString().strip();var g=[],h=(/\s/.test(f)?$w(f):null);if(!h&&!f){return g}var c=$(e).getElementsByTagName("*");f=" "+f+" ";for(var d=0,k,j;k=c[d];d++){if(k.className&&(j=" "+k.className+" ")&&(j.include(f)||(h&&h.all(function(i){return !i.toString().blank()&&j.include(" "+i+" ")})))){g.push(Element.extend(k))}}return g};return function(d,c){return $(c||document.body).getElementsByClassName(d)}}(Element.Methods)}Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(b,a){this.element.className.split(/\s+/).select(function(c){return c.length>0})._each(b,a)},set:function(a){this.element.className=a},add:function(a){if(this.include(a)){return}this.set($A(this).concat(a).join(" "))},remove:function(a){if(!this.include(a)){return}this.set($A(this).without(a).join(" "))},toString:function(){return $A(this).join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);(function(){window.Selector=Class.create({initialize:function(a){this.expression=a.strip()},findElements:function(a){return Prototype.Selector.select(this.expression,a)},match:function(a){return Prototype.Selector.match(a,this.expression)},toString:function(){return this.expression},inspect:function(){return"#<Selector: "+this.expression+">"}});Object.extend(Selector,{matchElements:function(f,g){var a=Prototype.Selector.match,d=[];for(var c=0,e=f.length;c<e;c++){var b=f[c];if(a(b,g)){d.push(Element.extend(b))}}return d},findElement:function(f,g,b){b=b||0;var a=0,d;for(var c=0,e=f.length;c<e;c++){d=f[c];if(Prototype.Selector.match(d,g)&&b===a++){return Element.extend(d)}}},findChildElements:function(b,c){var a=c.toArray().join(", ");return Prototype.Selector.select(a,b||document)}})})();; 7228(function(b,d){var a=b.History=b.History||{},c=b.jQuery;if(typeof a.Adapter!=="undefined"){throw new Error("History.js Adapter has already been loaded...")}a.Adapter={bind:function(e,f,g){c(e).bind(f,g)},trigger:function(f,g,e){c(f).trigger(g,e)},extractEventData:function(g,h,f){var e=(h&&h.originalEvent&&h.originalEvent[g])||(f&&f[g])||d;return e},onDomLoad:function(e){c(e)}};if(typeof a.init!=="undefined"){a.init()}})(window);; 7229(function(i,a){var d=i.console||a,k=i.document,n=i.navigator,m=false,c=i.setTimeout,l=i.clearTimeout,f=i.setInterval,p=i.clearInterval,o=i.JSON,j=i.alert,b=i.History=i.History||{},h=i.history;try{m=i.sessionStorage;m.setItem("TEST","1");m.removeItem("TEST")}catch(g){m=false}o.stringify=o.stringify||o.encode;o.parse=o.parse||o.decode;if(typeof b.init!=="undefined"){throw new Error("History.js Core has already been loaded...")}b.init=function(e){if(typeof b.Adapter==="undefined"){return false}if(typeof b.initCore!=="undefined"){b.initCore()}if(typeof b.initHtml4!=="undefined"){b.initHtml4()}return true};b.initCore=function(e){if(typeof b.initCore.initialized!=="undefined"){return false}else{b.initCore.initialized=true}b.options=b.options||{};b.options.hashChangeInterval=b.options.hashChangeInterval||100;b.options.safariPollInterval=b.options.safariPollInterval||500;b.options.doubleCheckInterval=b.options.doubleCheckInterval||500;b.options.disableSuid=b.options.disableSuid||false;b.options.storeInterval=b.options.storeInterval||1000;b.options.busyDelay=b.options.busyDelay||250;b.options.debug=b.options.debug||false;b.options.initialTitle=b.options.initialTitle||k.title;b.options.html4Mode=b.options.html4Mode||false;b.options.delayInit=b.options.delayInit||false;b.intervalList=[];b.clearAllIntervals=function(){var t,s=b.intervalList;if(typeof s!=="undefined"&&s!==null){for(t=0;t<s.length;t++){p(s[t])}b.intervalList=null}};b.debug=function(){if((b.options.debug||false)){b.log.apply(b,arguments)}};b.log=function(){var y=!(typeof d==="undefined"||typeof d.log==="undefined"||typeof d.log.a
7229pply==="undefined"),t=k.getElementById("log"),x,w,z,u,s;if(y){u=Array.prototype.slice.call(arguments);x=u.shift();if(typeof d.debug!=="undefined"){d.debug.apply(d,[x,u])}else{d.log.apply(d,[x,u])}}else{x=("\n"+arguments[0]+"\n")}for(w=1,z=arguments.length;w<z;++w){s=arguments[w];if(typeof s==="object"&&typeof o!=="undefined"){try{s=o.stringify(s)}catch(v){}}x+="\n"+s+"\n"}if(t){t.value+=x+"\n-----\n";t.scrollTop=t.scrollHeight-t.clientHeight}else{if(!y){j(x)}}return true};b.getInternetExplorerMajorVersion=function(){var s=b.getInternetExplorerMajorVersion.cached=(typeof b.getInternetExplorerMajorVersion.cached!=="undefined")?b.getInternetExplorerMajorVersion.cached:(function(){var t=3,w=k.createElement("div"),u=w.getElementsByTagName("i");while((w.innerHTML="<!--[if gt IE "+(++t)+"]><i></i><![endif]-->")&&u[0]){}return(t>4)?t:false})();return s};b.isInternetExplorer=function(){var s=b.isInternetExplorer.cached=(typeof b.isInternetExplorer.cached!=="undefined")?b.isInternetExplorer.cached:Boolean(b.getInternetExplorerMajorVersion());return s};if(b.options.html4Mode){b.emulated={pushState:true,hashChange:true}}
7229else{b.emulated={pushState:!Boolean(i.history&&i.history.pushState&&i.history.replaceState&&!((/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i).test(n.userAgent)||(/AppleWebKit\/5([0-2]|3[0-2])/i).test(n.userAgent))),hashChange:Boolean(!(("onhashchange" in i)||("onhashchange" in k))||(b.isInternetExplorer()&&b.getInternetExplorerMajorVersion()<8))}}b.enabled=!b.emulated.pushState;b.bugs={setHash:Boolean(!b.emulated.pushState&&n.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(n.userAgent)),safariPoll:Boolean(!b.emulated.pushState&&n.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(n.userAgent)),ieDoubleCheck:Boolean(b.isInternetExplorer()&&b.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(b.isInternetExplorer()&&b.getInternetExplorerMajorVersion()<7)};b.isEmptyObject=function(t){for(var s in t){if(t.hasOwnProperty(s)){return false}}return true};b.cloneObject=function(u){var t,s;if(u){t=o.stringify(u);s=o.parse(t)}else{s={}}return s};b.getRootUrl=function(){var s=k.location.protocol+"//"+(k.location.hostname||k.location.host);if(k.location.port||false){s+=":"+k.location.port}s+="/";return s};b.getBaseHref=function(){var s=k.getElementsByTagName("base"),u=null,t="";if(s.length===1){u=s[0];t=u.href.replace(/[^\/]+$/,"")}t=t.replace(/\/+$/,"");if(t){t+="/"}return t};b.getBaseUrl=function(){var s=b.getBaseHref()||b.getBasePageUrl()||b.getRootUrl();return s};b.getPageUrl=function(){var s=b.getState(false,false),u=(s||{}).url||b.getLocationHref(),t;t=u.replace(/\/+$/,"").replace(/[^\/]+$/,function(x,w,v){return(/\./).test(x)?x:x+"/"});return t};b.getBasePageUrl=function(){var s=(b.getLocationHref()).replace(/[#\?].*/,"").replace(/[^\/]+$/,function(v,u,t){return(/[^\/]$/).test(v)?"":v}).replace(/\/+$/,"")+"/";return s};b.getFullUrl=function(t,v){var s=t,u=t.substring(0,1);v=(typeof v==="undefined")?true:v;if(/[a-z]+\:\/\//.test(t)){}else{if(u==="/"){s=b.getRootUrl()+t.replace(/^\/+/,"")}else{if(u==="#"){s=b.getPageUrl().replace(/#.*/,"")+t}else{if(u==="?"){s=b.getPageUrl().replace(/[\?#].*/,"")+t}else{if(v){s=b.getBaseUrl()+t.replace(/^(\.\/)+/,"")}else{s=b.getBasePageUrl()+t.replace(/^(\.\/)+/,"")}}}}}return s.replace(/\#$/,"")};b.getShortUrl=function(u){var t=u,v=b.getBaseUrl(),s=b.getRootUrl();if(b.emulated.pushState){t=t.replace(v,"")}t=t.replace(s,"/");if(b.isTraditionalAnchor(t)){t="./"+t}t=t.replace(/^(\.\/)+/g,"./").replace(/\#$/,"");return t};b.getLocationHref=function(s){s=s||k;if(s.URL===s.location.href){return s.location.href}if(s.location.href===decodeURIComponent(s.URL)){return s.URL}if(s.location.hash&&decodeURIComponent(s.location.href.replace(/^[^#]+/,""))===s.location.hash){return s.location.href}if(s.URL.indexOf("#")==-1&&s.location.href.indexOf("#")!=-1){return s.location.href}return s.URL||s.location.href};b.store={};b.idToState=b.idToState||{};b.stateToId=b.stateToId||{};b.urlToId=b.urlToId||{};b.storedStates=b.storedStates||[];b.savedStates=b.savedStates||[];b.normalizeStore=function(){b.store.idToState=b.store.idToState||{};b.store.urlToId=b.store.urlToId||{};b.store.stateToId=b.store.stateToId||{}};b.getState=function(u,t){if(typeof u==="undefined"){u=true}if(typeof t==="undefined"){t=true}var s=b.getLastSavedState();if(!s&&t){s=b.createStateObject()}if(u){s=b.cloneObject(s);s.url=s.cleanUrl||s.url}return s};b.getIdByState=function(s){var u=b.extractId(s.url),t;if(!u){t=b.getStateString(s);if(typeof b.stateToId[t]!=="undefined"){u=b.stateToId[t]}else{if(typeof b.store.stateToId[t]!=="undefined"){u=b.store.stateToId[t]}else{while(true){u=(new Date()).getTime()+String(Math.random()).replace(/\D/g,"");if(typeof b.idToState[u]==="undefined"&&typeof b.store.idToState[u]==="undefined"){break}}b.stateToId[t]=u;b.idToState[u]=s}}}return u};b.normalizeState=function(t){var u,s;if(!t||(typeof t!=="object")){t={}}if(typeof t.normalized!=="undefined"){return t}if(!t.data||(typeof t.data!=="object")){t.data={}}u={};u.normalized=true;u.title=t.title||"";u.url=b.getFullUrl(t.url?t.url:(b.getLocationHref()));u.hash=b.getShortUrl(u.url);u.data=b.cloneObject(t.data);u.id=b.getIdByState(u);u.cleanUrl=u.url.replace(/\??\&_suid.*/,"");u.url=u.cleanUrl;s=!b.isEmptyObject(u.data);if((u.title||s)&&b.options.disableSuid!==true){u.hash=b.getShortUrl(u.url).replace(/\??\&_suid.*/,"");if(!/\?/.test(u.hash)){u.hash+="?"}u.hash+="&_suid="+u.id}u.hashedUrl=b.getFullUrl(u.hash);if((b.emulated.pushState||b.bugs.safariPoll)&&b.hasUrlDuplicate(u)){u.url=u.hashedUrl}return u};b.createStateObject=function(u,v,t){var s={data:u,title:v,url:t};s=b.normalizeState(s);return s};b.getStateById=function(t){t=String(t);var s=b.idToState[t]||b.store.idToState[t]||a;return s};b.getStateString=function(t){var s,u,v;s=b.normalizeState(t);u={data:s.data,title:t.title,url:t.url};v=o.stringify(u);return v};b.getStateId=function(t){var s,u;s=b.normalizeState(t);u=s.id;return u};b.getHashByState=function(t){var s,u;s=b.normalizeState(t);u=s.hash;return u};b.extractId=function(v){var w,u,s,t;if(v.indexOf("#")!=-1){t=v.split("#")[0]}else{t=v}u=/(.*)\&_suid=([0-9]+)$/.exec(t);s=u?(u[1]||v):v;w=u?String(u[2]||""):"";return w||false};b.isTraditionalAnchor=function(t){var s=!(/[\/\?\.]/.test(t));return s};b.extractState=function(v,u){var s=null,w,t;u=u||false;w=b.extractId(v);if(w){s=b.getStateById(w)}if(!s){t=b.getFullUrl(v);w=b.getIdByUrl(t)||false;if(w){s=b.getStateById(w)}if(!s&&u&&!b.isTraditionalAnchor(v)){s=b.createStateObject(null,null,t)}}return s};b.getIdByUrl=function(s){var t=b.urlToId[s]||b.store.urlToId[s]||a;return t};b.getLastSavedState=function(){return b.savedStates[b.savedStates.length-1]||a};b.getLastStoredState=function(){return b.storedStates[b.storedStates.length-1]||a};b.hasUrlDuplicate=function(u){var t=false,s;s=b.extractState(u.url);t=s&&s.id!==u.id;return t};b.storeState=function(s){b.urlToId[s.url]=s.id;b.storedStates.push(b.cloneObject(s));return s};b.isLastSavedState=function(v){var u=false,t,s,w;if(b.savedStates.length){t=v.id;s=b.getLastSavedState();w=s.id;u=(t===w)}return u};b.saveState=function(s){if(b.isLastSavedState(s)){return false}b.savedStates.push(b.cloneObject(s));return true};b.getStateByIndex=function(t){var s=null;if(typeof t==="undefined"){s=b.savedStates[b.savedStates.length-1]}
7229else{if(t<0){s=b.savedStates[b.savedStates.length+t]}else{s=b.savedStates[t]}}return s};b.getCurrentIndex=function(){var s=null;if(b.savedStates.length<1){s=0}else{s=b.savedStates.length-1}return s};b.getHash=function(u){var s=b.getLocationHref(u),t;t=b.getHashByUrl(s);return t};b.unescapeHash=function(t){var s=b.normalizeHash(t);s=decodeURIComponent(s);return s};b.normalizeHash=function(t){var s=t.replace(/[^#]*#/,"").replace(/#.*/,"");return s};b.setHash=function(v,s){var t,u;if(s!==false&&b.busy()){b.pushQueue({scope:b,callback:b.setHash,args:arguments,queue:s});return false}b.busy(true);t=b.extractState(v,true);if(t&&!b.emulated.pushState){b.pushState(t.data,t.title,t.url,false)}else{if(b.getHash()!==v){if(b.bugs.setHash){u=b.getPageUrl();b.pushState(null,null,u+"#"+v,false)}else{k.location.hash=v}}}return b};b.escapeHash=function(t){var s=b.normalizeHash(t);s=i.encodeURIComponent(s);if(!b.bugs.hashEscape){s=s.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")}return s};b.getHashByUrl=function(s){var t=String(s).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");t=b.unescapeHash(t);return t};b.setTitle=function(u){var v=u.title,t;if(!v){t=b.getStateByIndex(0);if(t&&t.url===u.url){v=t.title||b.options.initialTitle}}try{k.getElementsByTagName("title")[0].innerHTML=v.replace("<","<").replace(">",">").replace(" & "," & ")}catch(s){}k.title=v;return b};b.queues=[];b.busy=function(t){if(typeof t!=="undefined"){b.busy.flag=t}else{if(typeof b.busy.flag==="undefined"){b.busy.flag=false}}if(!b.busy.flag){l(b.busy.timeout);var s=function(){var v,u,w;if(b.busy.flag){return}for(v=b.queues.length-1;v>=0;--v){u=b.queues[v];if(u.length===0){continue}w=u.shift();b.fireQueueItem(w);b.busy.timeout=c(s,b.options.busyDelay)}};b.busy.timeout=c(s,b.options.busyDelay)}return b.busy.flag};b.busy.flag=false;b.fireQueueItem=function(s){return s.callback.apply(s.scope||b,s.args||[])};b.pushQueue=function(s){b.queues[s.queue||0]=b.queues[s.queue||0]||[];b.queues[s.queue||0].push(s);return b};b.queue=function(t,s){if(typeof t==="function"){t={callback:t}}if(typeof s!=="undefined"){t.queue=s}if(b.busy()){b.pushQueue(t)}else{b.fireQueueItem(t)}return b};b.clearQueue=function(){b.busy.flag=false;b.queues=[];return b};b.stateChanged=false;b.doubleChecker=false;b.doubleCheckComplete=function(){b.stateChanged=true;b.doubleCheckClear();return b};b.doubleCheckClear=function(){if(b.doubleChecker){l(b.doubleChecker);b.doubleChecker=false}return b};b.doubleCheck=function(s){b.stateChanged=false;b.doubleCheckClear();if(b.bugs.ieDoubleCheck){b.doubleChecker=c(function(){b.doubleCheckClear();if(!b.stateChanged){s()}return true},b.options.doubleCheckInterval)}return b};b.safariStatePoll=function(){var t=b.extractState(b.getLocationHref()),s;if(!b.isLastSavedState(t)){s=t}else{return}if(!s){s=b.createStateObject()}b.Adapter.trigger(i,"popstate");return b};b.back=function(s){if(s!==false&&b.busy()){b.pushQueue({scope:b,callback:b.back,args:arguments,queue:s});return false}b.busy(true);b.doubleCheck(function(){b.back(false)});h.go(-1);return true};b.forward=function(s){if(s!==false&&b.busy()){b.pushQueue({scope:b,callback:b.forward,args:arguments,queue:s});return false}b.busy(true);b.doubleCheck(function(){b.forward(false)});h.go(1);return true};b.go=function(t,s){var u;if(t>0){for(u=1;u<=t;++u){b.forward(s)}}else{if(t<0){for(u=-1;u>=t;--u){b.back(s)}}else{throw new Error("History.go: History.go requires a positive or negative integer passed.")}}return b};if(b.emulated.pushState){var r=function(){};b.pushState=b.pushState||r;b.replaceState=b.replaceState||r}else{b.onPopState=function(v,s){var x=false,w=false,u,t;b.doubleCheckComplete();u=b.getHash();if(u){t=b.extractState(u||b.getLocationHref(),true);if(t){b.replaceState(t.data,t.title,t.url,false)}else{b.Adapter.trigger(i,"anchorchange");b.busy(false)}b.expectedStateId=false;return false}x=b.Adapter.extractEventData("state",v,s)||false;if(x){w=b.getStateById(x)}else{if(b.expectedStateId){w=b.getStateById(b.expectedStateId)}else{w=b.extractState(b.getLocationHref())}}if(!w){w=b.createStateObject(null,null,b.getLocationHref())}b.expectedStateId=false;if(b.isLastSavedState(w)){b.busy(false);return false}b.storeState(w);b.saveState(w);b.setTitle(w);b.Adapter.trigger(i,"statechange");b.busy(false);return true};b.Adapter.bind(i,"popstate",b.onPopState);b.pushState=function(u,w,t,s){if(b.getHashByUrl(t)&&b.emulated.pushState){throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).")}if(s!==false&&b.busy()){b.pushQueue({scope:b,callback:b.pushState,args:arguments,queue:s});return false}b.busy(true);var v=b.createStateObject(u,w,t);if(b.isLastSavedState(v)){b.busy(false)}else{b.storeState(v);b.expectedStateId=v.id;h.pushState(v.id,v.title,v.url);b.Adapter.trigger(i,"popstate")}return true};b.replaceState=function(u,w,t,s){if(b.getHashByUrl(t)&&b.emulated.pushState){throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).")}if(s!==false&&b.busy()){b.pushQueue({scope:b,callback:b.replaceState,args:arguments,queue:s});return false}b.busy(true);var v=b.createStateObject(u,w,t);if(b.isLastSavedState(v)){b.busy(false)}else{b.storeState(v);b.expectedStateId=v.id;h.replaceState(v.id,v.title,v.url);b.Adapter.trigger(i,"popstate")}return true}}if(m){try{b.store=o.parse(m.getItem("History.store"))||{}}catch(q){b.store={}}
7229b.normalizeStore()}else{b.store={};b.normalizeStore()}b.Adapter.bind(i,"unload",b.clearAllIntervals);b.saveState(b.storeState(b.extractState(b.getLocationHref(),true)));if(m){b.onUnload=function(){var s,u,w;try{s=o.parse(m.getItem("History.store"))||{}}catch(t){s={}}s.idToState=s.idToState||{};s.urlToId=s.urlToId||{};s.stateToId=s.stateToId||{};for(u in b.idToState){if(!b.idToState.hasOwnProperty(u)){continue}s.idToState[u]=b.idToState[u]}for(u in b.urlToId){if(!b.urlToId.hasOwnProperty(u)){continue}s.urlToId[u]=b.urlToId[u]}for(u in b.stateToId){if(!b.stateToId.hasOwnProperty(u)){continue}s.stateToId[u]=b.stateToId[u]}b.store=s;b.normalizeStore();w=o.stringify(s);try{m.setItem("History.store",w)}catch(v){if(v.code===DOMException.QUOTA_EXCEEDED_ERR){if(m.length){m.removeItem("History.store");m.setItem("History.store",w)}else{}}else{throw v}}};b.intervalList.push(f(b.onUnload,b.options.storeInterval));b.Adapter.bind(i,"beforeunload",b.onUnload);b.Adapter.bind(i,"unload",b.onUnload)}if(!b.emulated.pushState){if(b.bugs.safariPoll){b.intervalList.push(f(b.safariStatePoll,b.options.safariPollInterval))}if(n.vendor==="Apple Computer, Inc."||(n.appCodeName||"")==="Mozilla"){b.Adapter.bind(i,"hashchange",function(){b.Adapter.trigger(i,"popstate")});if(b.getHash()){b.Adapter.onDomLoad(function(){b.Adapter.trigger(i,"hashchange")})}}}};if(!b.options||!b.options.delayInit){b.init()}})(window);; 7230String.prototype._namespace=function(a){Object.extend(this.split(".").inject(window,function(b,c){return(b[c]=b[c]||{})}),a||{})};String.prototype.fastStrip=function(){var c=this.replace(/^\s\s*/,""),a=/\s/,b=c.length;while(a.test(c.charAt(--b))){}return c.slice(0,b+1)};if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}}Array.prototype.addAll=function(){for(var c=0;c<arguments.length;c++){var b=arguments[c];for(var d=0;d<b.length;d++){this.push(b[d])}}};Object.extend(Element,(function(){function a(d,b,c){if(b&&b.indexOf(d.tagName)==-1){return false}if(c&&(!d.className||d.className.indexOf(c)<0)){return false}if(c&&!$(d).hasClassName(c)){return false}return d}return{_fastMatch:a}})());Element.addMethods({getJcmsId:function(c,d){var d=d?d:"ID_";var a=d.length;var b=$w(c.className).find(function(e){return e.startsWith(d)});return b&&b.substring(a)},getJcmsIds:function(b,d){var d=d?d:"ID_";var a=d.length;var c=$w(b.className).findAll(function(e){return e.startsWith(d)}).collect(function(e){return e.substring(a)});return c},findJcmsId:function(c){var b=c.getJcmsId();if(b){return b}var a=c.parentNode;return a&&$(a).findJcmsId()},fastUp:function(d,c,e,f,a){var b=(!c||Object.isArray(c))?c:[c];a=a||100;for(var g=f?d:d.parentNode;g;g=g.parentNode){if(a<=0){return}a--;if(Element._fastMatch(g,b,e)){return $(g)}}},fastNext:function(d,c,e,f,a){var b=(!c||Object.isArray(c))?c:[c];a=a||100;for(var g=f?d:d.nextSibling;g;g=g.nextSibling){if(g.nodeType!=1){continue}if(a<=0){return}a--;if(Element._fastMatch(g,b,e)){return $(g)}}},fastPrevious:function(d,c,e,f,a){var b=(!c||Object.isArray(c))?c:[c];a=a||100;for(var g=f?d:d.previousSibling;g;g=g.previousSibling){if(g.nodeType!=1){continue}if(a<=0){return}a--;if(Element._fastMatch(g,b,e)){return $(g)}}},fastLastChild:function(b,a,c){return Element.fastChild(b,a,c,100000)},fastChild:function(d,c,e,g){var b=(!c||Object.isArray(c))?c:[c];var f=false;var a=g==100000;var g=g||0;for(var h=d.firstChild;h;h=h.nextSibling){if(h.nodeType!=1){continue}if(Element._fastMatch(h,b,e)){g--;f=h}if(g<0){return $(h)}}if(f&&a){return $(f)}},fastSiblings:function(b,a,c,d){return Element.fastEach(b.parentNode,a,c,d,b)},fastEach:function(d,b,f,c,e){var h=(!b||Object.isArray(b))?b:[b];var g=0;var i=$A([]);for(var a=d.firstChild;a;a=a.nextSibling){if(a.nodeType!=1){continue}if(e&&a==e){continue}if(Element._fastMatch(a,h,f)){i.push(c($(a),++g))}}return i},fastVisible:function(a){return a.offsetWidth>0||a.offsetHeight>0},fastClassMatch:function(b,c,d){var d=d||1;if(!b.className){return false}var a=b.className.match(c);if(!a){return false}if(a.length<=d){return false}return a[d]}});JcmsAjaxRequest=Class.create();JcmsAjaxRequest.prototype={initialize:function(a){this.elm=a;this.effect=null;this.exception=null;this.callback=null;this.rpc=null;this._periodexec=null;this.waitState=true;this.timeout=20000;this.quiet=false;this.isOk=false;this.isDone=false;this.isUpdate=false;this.isEffect=false;this.isTimeout=false},asyncJsonCall:function(){this.isOk=false;this.isDone=false;this.isUpdate=false;this.isEffect=false;this.isTimeout=false;if(this.waitState){Ajax.setWaitState(true,this.elm)}
7230try{if(this.effect){this.effect()}else{this.isEffect=true}if(this._timeoutFunc){clearTimeout(this._timeoutFunc)}this._timeoutFunc=setTimeout(function(){this.isTimeout=true;this._asyncResponseCallBack()}.bind(this),this.timeout);if(this.rpc){this.rpc()}}catch(a){this._handleException(a)}},asyncJsonCallPeriodical:function(b){var a=function(){if(this.isDone){return}if(JcmsJsContext&&!JcmsJsContext.hasFocus){return}this.asyncJsonCall.bind(this).defer()};this._periodexec=new PeriodicalExecuter(a.bind(this),b)},stopPeriodical:function(){if(this._periodexec){this._periodexec.stop()}this.dispose()},asyncJsonCallBack:function(b,a){if(b){this.returnValue=b}else{this.isOk=true}if(a){this.returnException=a}this.isDone=true;this._asyncResponseCallBack();if(this._periodexec){this.isDone=false}},asyncEffectCallBack:function(a){this.isEffect=true;this.workingEffect=a;this._asyncResponseCallBack()},_asyncResponseCallBack:function(){if(this.isTimeout){if(!this._timeoutFunc){return}this._handleException();return}if(!this.isDone){return}if(this.isUpdate){return}if(!this.isEffect){return}if(this.returnException){JcmsLogger.error("JcmsAjaxRequest",this.returnException.message," Error: ["+this.returnException.code+"]",this.returnException.name,"\n"+this.returnException.javaStack);this._handleException();return}if(this._timeoutFunc){clearTimeout(this._timeoutFunc)}this.isUpdate=true;try{if(this.callback){this.callback(this.returnValue,this.workingEffect)}}catch(a){JcmsLogger.error("JcmsAjaxRequest",a)}this._disposeResponse()},_disposeResponse:function(){if(this.waitState){Ajax.setWaitState(false,this.elm)}if(!this._periodexec){this.dispose()}},_handleException:function(a){if(!this.quiet){alert(I18N.glp("warn.json.sessiontimeout"));var b="";Object.keys(a).each(function(c){b+=c+": "+a[c]+"; "});JcmsLogger.warn("JcmsAjaxRequest",b)}if(this.exception){this.exception(this.returnException)}this._disposeResponse()},dispose:function(){this.elm=null;this.effect=null;this.exception=null;this.callback=null;this.rpc=null;this._timeoutFunc=null;this._periodexec=null;this.timeout=20000;this.quiet=false}};JcmsJsonRequest=Class.create();Object.extend(JcmsJsonRequest.prototype,JcmsAjaxRequest.prototype);if(!window.Ajax){var Ajax=new Object()}Object.extend(Ajax,{setWaitState:function(a,b){jQuery.jalios.Ajax.wait(a,b)},performAjaxRequest:function(e,f,h){var c=e;var g=c.indexOf("?");if(g>=0){e=c.substr(0,g);f=c.substr(g+1)}var a=new JcmsAjaxRequest();var b=function(){new Ajax.Request(e,{parameters:f,onComplete:a.asyncJsonCallBack.bind(a),onException:a._handleException.bind(a),onFailure:a._handleException.bind(a)})};var d=h||function(j,i){};a.rpc=b;a.callback=d;a.asyncJsonCall()},_styleSheetsAdded:$H(),_javaScriptsAdded:$H(),loadStyleSheet:function(f,e,c){var e=e?e:"all";if(Ajax._styleSheetsAdded.get(f)===true){JcmsLogger.debug("Ajax","StyleSheet already imported: ",f);return}JcmsLogger.info("Ajax","Import StyleSheet",f,c);Ajax.markStyleSheetLoaded(f);var b=document.getElementsByTagName("head")[0];var d=document.createElement("link");d.type="text/css";d.rel="stylesheet";d.media=e;d.href=f+(c?("?v="+c):"");b.appendChild(d);if(Prototype.Browser.IE){var a=function(){$(document.body).toggleClassName("fixIERenderingBugOnDynamicCssLoad")};a.defer()}},markStyleSheetLoaded:function(a){JcmsLogger.debug("Ajax","Mark StyleSheet loaded: ",a);Ajax._styleSheetsAdded.set(a,true)},markStyleSheetsLoaded:function(){$A(arguments).each(function(a){Ajax.markStyleSheetLoaded(a)})},loadJavaScript:function(d,b){if(Ajax._javaScriptsAdded.get(d)===true){JcmsLogger.debug("Ajax","JavaScript already imported: ",d);return}JcmsLogger.info("Ajax","Import JavaScript",d,b);Ajax.markJavaScriptLoaded(d);var a=document.getElementsByTagName("head")[0];var c=document.createElement("script");c.type="text/javascript";
7230c.src=d+(b?("?v="+b):"");a.appendChild(c)},markJavaScriptLoaded:function(a){JcmsLogger.debug("Ajax","Mark JavaScript loaded: ",a);Ajax._javaScriptsAdded.set(a,true)},markJavaScriptsLoaded:function(){$A(arguments).each(function(a){Ajax.markJavaScriptLoaded(a)})}});Ajax.Responders.register({onException:function(b,a){alert(I18N.glp("warn.json.sessiontimeout"))}});if(!window.InputUtil){var InputUtil=new Object()}Object.extend(InputUtil,{focus:function(a){if(a.type&&a.type.toLowerCase()=="file"){return}if(a.focus){try{a.focus()}catch(b){}}if(a.value){a.value=a.value}},blur:function(a){if(a.type&&a.type.toLowerCase()=="file"){return}if(a.blur){try{a.blur()}catch(b){}}},getMeasurer:function(a){var c=$("tx-measurer");if(!c){c=new Element("div",{id:"tx-measurer"});InputUtil._measurer=c}a.parentNode.appendChild(c);c.style.width=a.getWidth()+"px";c.style.height=a.getHeight()+"px";c.style.overflow="auto";c.style.whiteSpace="normal";c.style.position="absolute";var b=Util.getCSS(a,["font-family","font-size","margin","padding"]);c.setStyle({visibility:"hidden",fontFamily:b.fontFamily,fontSize:b.fontSize,margin:b.margin,padding:b.padding});c.style.marginTop="-"+(a.getHeight()+24)+"px";c.style.marginBottom="24px";return $(InputUtil._measurer)},htmlEncode:function(a){return document.createElement("a").appendChild(document.createTextNode(a)).parentNode.innerHTML},getCharacterCoords:function(c,g){var f=InputUtil.getMeasurer(c);var e=InputUtil.htmlEncode(c.value);var d=e.substring(0,g)+"<i>|</i>";d=(d||"").replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").join("<br />");f.innerHTML=d;var b=f.down("I");var a=b.positionedOffset();return{left:a.left-(c.scrollLeft||0),top:a.top-(c.scrollTop||0)}},getSelection:function(l,c){var g=new Object();g.input=l;if(l.setSelectionRange){g.start=l.selectionStart;g.end=l.selectionEnd;g.value=l.value.substring(l.selectionStart,l.selectionEnd);g.gecko=true;g.scrolltop=l.scrollTop;g.scrollleft=l.scrollLeft}else{if(l.createTextRange){if(!l.ownerDocument){l.ownerDocument=document}var n=l.ownerDocument.selection.createRange();if(n.parentElement().tagName!="TEXTAREA"){g.start=0;g.end=0}else{if(n.text.length==0){var h=l.value;var j="~JCMSwiki~";n.text=j;var m=l.value;var i=m.indexOf(j);l.value=h;var q=m.substr(0,i).replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").length-1;g.value="";InputUtil._setSelection(g,i,i);g.start=i;g.end=i}else{var j=n.getBookmark();var f=l.createTextRange();var b=l.createTextRange();var k=f.text;b.moveToBookmark(j);var p=b.text;f.setEndPoint("EndToStart",b);var a=f.text.length;var i=k.indexOf(p,a);var e=i+p.length;var d=k.substring(0,i).replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").length-1;var o=d+p.replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").length-1;a=i;e=e;g.start=a;g.end=e;g.value=b.text;InputUtil._setSelection(g,a,e)}}}}if(JcmsLogger.isDebug&&JcmsLogger.InputUtil){JcmsLogger.debug("InputUtil","getSelection: "+g.start+","+g.end+": "+g.value+"("+g.scrolltop+","+g.scrollleft+")")}return c?InputUtil._trimSelection(g):g},replaceSelection:function(g,a,b,h,i){g.focus();i=(i==undefined)?0:i;var h=h||InputUtil.getSelection(g,b);var c=g.value;if(h.gecko){g.value=c.substring(0,h.start+i)+a+c.substring(h.end);var f=h.value?h.value.length:0;InputUtil._setSelection(h,h.start+i,h.end+(a.length+i-f))}else{var e=g.ownerDocument.selection.createRange();var d=(e.text.length==0);e.moveStart("character",i);e.text=a;e.moveStart("character",-a.length+i);e.moveEnd("character",i);e.select()}},replaceRegexp:function(f,d,a,i,c,e,g){var g=g||InputUtil.getSelection(f,c);var h=g.value;if(!h&&!e){return}var b=h;if(!h){b=i.replace(/\$1/g,"")}else{if(h.match(d)){b=h.replace(d,a)}else{b=h.replace(/\s*([\S ]+)(\s*)/g,i+"$2")}}if(b==h){return}InputUtil.replaceSelection(f,b,c,g)},_setSelection:function(e,g,a){e.input.focus();if(e.gecko){if(e.scrollleft){e.input.scrollLeft=e.scrollleft}if(e.scrolltop){e.input.scrollTop=e.scrolltop}else{Element.fire(e.input,"keypress")}e.input.setSelectionRange(a,a)}else{if(e.input.createTextRange){var c=e.input.createTextRange();var f=e.input.value;var d=f.substring(0,g).replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").length-1;var b=f.substring(g,a).replace(/\r\n/g,"\n").replace(/\n\r/g,"\n").split("\n").length-1;c.move("character",g-d);c.moveEnd("character",a-g);c.select()}}e.value=e.input.value.substring(g,a);e.start=g;e.end=a},_trimSelection:function(b){if(b.start>=b.end||!b.value){return b}var c=0;var a=0;while(b.value.charAt(c)==" "){c++}while(b.value.charAt(b.value.length-a-1)==" "){a++}if((c==0)&&(a==0)){return b}InputUtil._setSelection(b,b.start+c,b.end-a);return b}});
7230"JCMS.util.StyleSheet"._namespace({_ss:false,_getStyleSheet:function(){var b=JCMS.util.StyleSheet._ss;if(b){return b}if(document.createStyleSheet){JCMS.util.StyleSheet._ss=document.createStyleSheet()}else{var a=document.getElementsByTagName("head")[0];var c=document.createElement("style");c.type="text/css";a.appendChild(c);JCMS.util.StyleSheet._ss=c.sheet}return JCMS.util.StyleSheet._ss},_addRule:function(c,b){var a=JCMS.util.StyleSheet._getStyleSheet();if(a.addRule){a.addRule(c,b)}else{a.insertRule(c+"{"+b+"}",a.cssRules.length)}},putRule:function(d,c){var b=JCMS.util.StyleSheet._getStyleSheet();var e=$A(b.rules||b.cssRules);var a=e.find(function(g,f){if(g.selectorText!=d){return false}if(!c){if(b.deleteRule){b.deleteRule(f)}else{b.removeRule(f)}return true}if(g.style.cssText){g.style.cssText=c}else{g.cssText=c}return true});if(!a&&c){JCMS.util.StyleSheet._addRule(d,c)}},removeRule:function(a){JCMS.util.StyleSheet.putRule(a,false)}});if(!window.FormUtil){var FormUtil=new Object()}Object.extend(FormUtil,{toggleInputs:function(c,a,b){$A(a).each(function(e,d){Form.getInputs(c,false,e).each(function(f){f.disabled=!b})})},setInputValues:function(a,b){Form.getInputs(a,"text",false).each(function(c){var d=b[c.name];if(d!=undefined){c.value=d}})},imposeMaxLength:function(b,a){if(b.value.length<a){return true}else{if(b.value.length>a){b.value="";return false}else{b.value=b.value.substr(0,a-1);return false}}},submit:function(d){var d=$(d);var a=false;var c=false;if(d.hasClassName("ajax-refresh")){JCMS.ajax.Refresh.refreshFromElement(d);return false}if(d.tagName=="FORM"){a=d}else{if(d.form){a=$(d.form);if(d.type=="submit"){c=""+d.value}}else{a=d.fastUp("FORM");if(!a){return false}}}if(!c.blank()){var b=a.elements.action;if(b){$(b).name=c}else{var b=$(document.createElement("INPUT"));b.name=c;b.value="true";b.type="hidden";a.appendChild(b)}}if(a.onsubmit){a.onsubmit()}a.submit();return true},clearFields:function(a){var b=Event.element(a);if(!b){return}b.previousSiblings().findAll(function(c){return c.clear}).invoke("clear")},getCheckedValues:function(b,d){var c=$(document.forms[b]);if(!c){return null}var a=c.getInputs("checkbox",d).concat(c.getInputs("radio",d));a=a.findAll(function(e){return e.checked});
7230return a.pluck("value").compact()},getRadioValue:function(b,a){if($(b).type&&$(b).type.toLowerCase()=="radio"){var a=$(b).name;var b=$(b).form}else{if($(b).tagName.toLowerCase()!="form"){return false}}var c=$(b).getInputs("radio",a).find(function(d){return d.checked});return(c)?$F(c):null},activatePlaceholders:function(){var b=navigator.userAgent.toLowerCase();if(b.indexOf("safari")>0){return false}var a=document.getElementsByTagName("input");for(var c=0;c<a.length;c++){FormUtil.activatePlaceholderWithoutBrowserCheck(a[c])}},activatePlaceholder:function(b){var a=navigator.userAgent.toLowerCase();if(a.indexOf("safari")>0){return false}FormUtil.activatePlaceholderWithoutBrowserCheck(b)},activatePlaceholderWithoutBrowserCheck:function(a){a=$(a);if(a.readAttribute("type")=="text"){if(a.readAttribute("placeholder")&&a.readAttribute("placeholder").length>0){if(a.value==""){a.value=a.readAttribute("placeholder")}a.onclick=function(){if(this.value==this.readAttribute("placeholder")){this.value="";this.removeClassName("inactivePlaceHolder")}return false};a.onblur=function(){if(this.value.length<1){this.value=this.readAttribute("placeholder");this.addClassName("inactivePlaceHolder")}}}}},retrieveBooleanValue:function(f,e){var b=$(f).getInputs(null,e);var c=$A(b);for(var a=0;a<c.length;++a){var d=c[a];if(d.checked==true){return d.value}}return false}});if(!window.Util){var Util=new Object()}Object.extend(Util,{isInIFrame:function(){jQuery.jalios.DOM.isInIFrame()},shakeIE:function(){if(Prototype.Browser.IE){$(document.body).toggleClassName("fixIERenderingBug");JcmsLogger.debug("ShakeIE","Warning slow IE6 ! Use instead CSS (position: relative; zoom:1)")}},isIE78:function(){var a=$(document.body);if(!a){return false}if(a.hasClassName("browser-IE7")){return true}if(a.hasClassName("browser-IE8")){return true}return false},cleanDOMElements:function(g,b,d,c){var e=$A([]);for(var f=g.firstChild;f;f=f.nextSibling){if(f.nodeType!=1){continue}var a=c||!d||f.className.indexOf(d)>=0;if(b){Util.cleanDOMElements(f,b,d,a)}var f=$(f);f.removeAttribute("id");f.stopObserving();if(a){f.removeAttribute("onclick");e.push(f)}}e.each(function(i,h){g.removeChild(i)})},isLeftClick:function(a){return JcmsJsContext.isIE||Event.isLeftClick(a)}
7230,replaceHtml:function(c,b){var a=(typeof c==="string"?document.getElementById(c):c);var d=document.createElement(a.nodeName);d.id=a.id;d.className=a.className;d.innerHTML=b;a.parentNode.replaceChild(d,a);return d},getViewportBounds:function(f){var b=0;var d=0;var a=0;var c=0;if(!f){f=self}var e=f.document;if(f.screenTop){a=f.screenLeft;c=f.screenTop}else{if(f.screenX){a=f.screenX;c=f.screenY}}if(f.innerHeight){b=f.innerWidth;d=f.innerHeight}else{if(e.documentElement&&f.document.documentElement.clientHeight){b=e.documentElement.clientWidth;d=e.documentElement.clientHeight}else{if(document.body){b=e.body.clientWidth;d=e.body.clientHeight}}}return{x:a,y:c,width:b,height:d}},observeDocument:function(a,b){if(Prototype.Browser.IE||Prototype.Browser.Chrome){Event.observe(document,a,b)}else{Event.observe(window,a,b)}},observeFocus:function(a,b){if(document.addEventListener){document.addEventListener("focus",a,true);document.addEventListener("blur",b,true)}else{document.observe("focusin",a);document.observe("focusout",b)}},_classToCallBack:$H(),_tagToCallBack:$H(),_focusToCallBack:$H(),_onLoadCB:function(){var c=Util._onClickCB.bindAsEventListener(this);Util.observeDocument("click",c);Util.observeDocument("jcms:click",c);var b=Util._onFocusCB.bindAsEventListener(this,"focus:in");var a=Util._onFocusCB.bindAsEventListener(this,"focus:out");Util.observeFocus(b,a)},_onFocusCB:function(b,a){var d=Event.element(b);if(!d||!d.fastUp){return}var d=d.fastUp(["INPUT","TEXTAREA","SELECT"],null,true,2);if(!d){return}if(d.type&&d.type=="hidden"){return}if(!d._init){d._init=true;document.fire("jcms:init-focus",{elmId:d.identify()})}var c=$w(d.className);c.each(function(g,f){var e=Util._focusToCallBack.get(g);if(Object.isFunction(e)){e(b,d,g,a)}}.bind(this))},_onClickCB:function(a){if(!(a.eventName==="jcms:click"||Util.isLeftClick(a))){return}var b=Event.element(a);if(!b||!b.fastUp){return}if(b.tagName=="IMG"){if(Util._onClickDispatch(b,a)){return}}b=b.fastUp(["A","LABEL","BUTTON","INPUT","TEXTAREA","SELECT"],null,true,2);if(!b){return}Util._onClickDispatch(b,a)},_onClickDispatch:function(d,b){if(!d._init){d._init=true;document.fire("jcms:init",{elmId:d.identify()})}var a=false;var c=$w(d.className);c.each(function(g,f){var e=Util._classToCallBack.get(g);if(Object.isFunction(e)){e(b,d,g);a=true}}.bind(this));return a},observeClass:function(a,b){Util._classToCallBack.set(a,b)},observeFocusClass:function(a,b){Util._focusToCallBack.set(a,b)},getCSS:function(u,y,c){var h,o={},q,a,w=y instanceof Array;var d=document.defaultView&&document.defaultView.getComputedStyle;var f=/^-?\d+(?:px)?$/i,k=/^-?\d(?:\.\d+)?/,j=/\d$/,x,b;var p=w?y:[y];for(var r=0,m=p.length;r<m;r++){q=p[r];a=q.camelize();if(!c&&u.style[a]){o[q]=o[a]=u.style[a]}else{if(d){if(!h){h=window.getComputedStyle(u,"")}o[q]=o[a]=h&&h.getPropertyValue(q)}else{if(u.currentStyle){x=u.currentStyle[q]||u.currentStyle[a];var s=u.style||u;if(!f.test(x)&&k.test(x)){var g=s.left,l=u.runtimeStyle.left;u.runtimeStyle.left=u.currentStyle.left;b=j.test(x)?"em":"";var v=(a==="fontSize")?"1em":(x+b||0);try{s.left=v}catch(t){}x=s.pixelLeft+"px";s.left=g;u.runtimeStyle.left=l}o[q]=o[a]=x}}}}return w?o:o[y.camelize()]}});Event.observe(window,"load",Util._onLoadCB);var Notifier=Class.create({_events:[[document,"mousemove"],[document,"keydown"]],_timer:null,_idleTime:null,active:false,initialize:function(d,a,c,b){this.time=d;this.eventName=a||"state";this.active=c||false;this.className=$A(b);this.initObservers();this.setTimer();this._lastIdle=false},initObservers:function(){this._events.each(function(a){Event.observe(a[0],a[1],this.onInterrupt.bindAsEventListener(this))}.bind(this))},onInterrupt:function(c){var e=Event.element(c);var b=Event.pointerX(c);var a=Event.pointerY(c);clearTimeout(this._timer);if(this._lastIdle!=e){this._lastIdle=false}if(!this._matchClassName(e)&&(e.parentNode&&!this._matchClassName(e.parentNode))){return}if(this.active){var d=new Date()-this._idleTime;if(d>200){document.fire(this.eventName+":active",{idleTime:d,target:e,eX:b,eY:a})}}this.setTimer(e,b,a)},setTimer:function(c,b,a){this._idleTime=new Date();this._timer=setTimeout(function(){if(this._lastIdle==c){return}document.fire(this.eventName+":idle",{target:c,eX:b,eY:a});this._lastIdle=c}.bind(this),this.time)}
7230,_matchClassName:function(a){if(!this.className||!a||!this.className.any){return true}if(!a.className||!a.className.indexOf){return false}return this.className.any(function(b){return a.className.indexOf(b)>=0})}});var JcmsLogger={LEVEL_INFO:"info",LEVEL_DEBUG:"debug",LEVEL_WARN:"warn",LEVEL_ERROR:"error",isDebug:true&&window.console&&window.console.debug,Ajax:false,CtxMenuManager:false,CtxMenu:false,CtxMenuTrace:false,WikiToolbar:false,InputUtil:false,Autochooser:false,JcmsJsContext:false,Table:false,DocChooser:false,TreeCat:false,Modal:false,JcmsAjaxRequest:false,AjaxRefresh:false,ShakeIE:true,Widget:false,Plupload:true,EditFriendlyURL:false,_log:function(d,a){var b=a[0];var c=a[1];if(!window.console&&document.URL.indexOf("debug=true")>0&&d==JcmsLogger.LEVEL_INFO){alert($A(a).inspect())}if(!JcmsLogger._checkScope(d,b,c)){return}d=(typeof(d)=="undefined")?JcmsLogger.LEVEL_DEBUG:d;a[1]="["+d+"]["+b+"] "+c;a=$A(a).slice(1,a.length);if(window.console&&d&&window.console[d]&&typeof(window.console[d].apply)!="unknown"){window.console[d].apply(window.console,a)}},_checkScope:function(c,a,b){if((!b)||!JcmsLogger.isDebug){return false}c=(typeof(c)=="undefined")?JcmsLogger.LEVEL_DEBUG:c;if((!a)||(!JcmsLogger[a]&&c==JcmsLogger.LEVEL_DEBUG)){return false}return true},info:function(a,b){JcmsLogger._log(JcmsLogger.LEVEL_INFO,arguments)},debug:function(a,b){JcmsLogger._log(JcmsLogger.LEVEL_DEBUG,arguments)},warn:function(a,b){JcmsLogger._log(JcmsLogger.LEVEL_WARN,arguments)},error:function(a,b){JcmsLogger._log(JcmsLogger.LEVEL_ERROR,arguments)}};document.getElementsBySelector=function(a){return $$(a)};var cbSplit;if(!cbSplit){cbSplit=function(i,f,e){if(Object.prototype.toString.call(f)!=="[object RegExp]"){return cbSplit._nativeSplit.call(i,f,e)}var c=[],a=0,d=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.sticky?"y":""),f=RegExp(f.source,d+"g"),b,g,h,j;i=i+"";if(!cbSplit._compliantExecNpcg){b=RegExp("^"+f.source+"$(?!\\s)",d)}if(e===undefined||+e<0){e=Infinity}else{e=Math.floor(+e);if(!e){return[]}}while(g=f.exec(i)){h=g.index+g[0].length;if(h>a){c.push(i.slice(a,g.index));if(!cbSplit._compliantExecNpcg&&g.length>1){g[0].replace(b,function(){for(var k=1;k<arguments.length-2;k++){if(arguments[k]===undefined){g[k]=undefined}}})}if(g.length>1&&g.index<i.length){Array.prototype.push.apply(c,g.slice(1))}j=g[0].length;a=h;if(c.length>=e){break}}if(f.lastIndex===g.index){f.lastIndex++}}if(a===i.length){if(j||!f.test("")){c.push("")}}else{c.push(i.slice(a))}return c.length>e?c.slice(0,e):c};cbSplit._compliantExecNpcg=/()??/.exec("")[1]===undefined;cbSplit._nativeSplit=String.prototype.split}String.prototype.split=function(b,a){return cbSplit(this,b,a)};; 7231var isIE=document.all?true:false;var isNN4=document.layers?true:false;var isNN7=(document.all&&document.getElementById)?true:false;var isOPERA=(navigator.userAgent.indexOf("Opera")!=-1&&document.getElementById)?true:false;var isSafari=(navigator.userAgent.indexOf("Safari")!=-1);var JcmsJsContext={_contextPath:null,_baseUrl:null,_jsonRPC:null,getContextPath:function(){if(!this._contextPath){this._init()}return this._contextPath},getBaseUrl:function(){if(!this._baseUrl){this._init()}return this._baseUrl},getSecuredBaseUrl:function(){if(!this._securedBaseUrl){this._init()}return this._securedBaseUrl},getJsonRPC:function(){this._jsonRPC=new JSONRpcClient(JcmsJsContext.getContextPath()+"/JSON-RPC");return this._jsonRPC},redirect:function(a){if(a){a=(a.indexOf("http")==0)?a:(JcmsJsContext.getBaseUrl()+a);document.location=JCMS.Security.getUrlWithCSRFToken(a);return true}return false},_init:function(){if(!this._baseUrl){JcmsJsContext._baseUrl=document.getElementsByTagName("base")[0].href}if(!this._securedBaseUrl){JcmsJsContext._securedBaseUrl=document.getElementsByTagName("base")[0].getAttribute("data-secured-href")||JcmsJsContext._baseUrl;JcmsLogger.debug("JcmsJsContext",JcmsJsContext._securedBaseUrl)}if(!this._contextPath){JcmsJsContext._contextPath=document._contextPath}},_handleAjaxCreate:function(b,e){b.options.requestHeaders=b.options.requestHeaders||{};var a=document.body.id;if(a){b.options.requestHeaders["X-Jcms-Ajax-Id"]=a}var d=$("AjaxCtxtDeflate");if(d&&!Prototype.Browser.MobileSafari){b.options.requestHeaders["X-Jcms-Ajax-Deflate"]=d.innerHTML}var c=$("CSRFTokenElm");if(c){b.options.requestHeaders[JCMS.Security.CSRF_TOKEN_HEADER_NAME]=c.innerHTML}},isIE:Prototype.Browser.IE,isNN4:document.layers?true:false,isNN7:(document.all&&document.getElementById)?true:false,isOPERA:Prototype.Browser.Opera,isWebKit:Prototype.Browser.WebKit,isIE8:document.body.className.indexOf("browser-IE8")>=0,isIE7:document.body.className.indexOf("browser-IE7")>=0,isIE6:document.body.className.indexOf("browser-IE6")>=0,isFirefox:document.body.className.indexOf("browser-Firefox")>=0,hasFocus:true,handleFocusInCB:function(a){JcmsJsContext.handleFocus(a,true)},handleFocusOutCB:function(a){JcmsJsContext.handleFocus(a,false)},handleFocus:function(b,a){JcmsJsContext.hasFocus=a;document.fire("page:focus",{focus:a})}};Ajax.Responders.register({onCreate:JcmsJsContext._handleAjaxCreate});function getFormElementPos(c,a){elms=c.elements;for(var b=0;b<elms.length;b++){if(elms[b].name==a){return b}}return -1}function updateOptionMenu(a,b,c){for(m=b.length-1;m>0;m--){b[m]=null}for(i=0;i<c[a].length;i++){b[i]=new Option(c[a][i].text,c[a][i].value)}b[0].selected=true}function setField(b,a){if(b!=null){b.value=a}}function clearField(d,c,b,a){if(d!=null){d.value="";if(d.selectedIndex){d.selectedIndex=0}}if(c!=null){c.value="";if(c.selectedIndex){c.selectedIndex=0}}if(b!=null){b.value="";if(b.selectedIndex){b.selectedIndex=0}}if(a!=null){a.value="";if(a.selectedIndex){a.selectedIndex=0}}}function blankField(d,c,b,a){if(d!=null){d.value=" "}if(c!=null){c.value=" "}
7231if(b!=null){b.value=" "}if(a!=null){a.value=" "}}function uncheckElement(d,c,b,a){if(c!=null&&c>=0){d.elements[c].checked=false}if(b!=null&&b>=0){d.elements[b].checked=false}if(a!=null&&a>=0){d.elements[a].checked=false}}function uncheckAll(b,a,d){if(a!=null){var c=b.elements[a];for(i=0;i<c.length;i++){if(c[i]!=d){c[i].checked=false}}}}function checkAll(b,a,c){checkAllwithId(b,a,c,null,null)}function checkAllwithId(b,a,c,d){_checkAllwithId(b.elements,a,c,d)}function checkAllwithParentId(e,a,c,d){var b=$$("#"+e+" INPUT[type=checkbox]");if(b){_checkAllwithId(b.toArray(),a,c,d)}}function _checkAllwithId(c,a,d,e){for(var b=0;b<c.length;b++){if(c[b].name!=a){continue}if(e!=null&&c[b].id.indexOf(e)<0){continue}checkIt=!c[b].checked;break}for(var b=0;b<c.length;b++){if(c[b].name!=a){continue}if(e!=null&&c[b].id.indexOf(e)<0){continue}c[b].checked=checkIt}d.checked=checkIt}function selectAll(b,a){selectAllwithId(b,a,null)}function selectAllwithId(c,a,d){elms=c.elements;for(var b=0;b<elms.length;b++){if(elms[b].name!=a){continue}if(d!=null&&elms[b].id.indexOf(d)<0){continue}selectIt=elms[b].selectedIndex;break}for(var b=0;b<elms.length;b++){if(elms[b].name!=a){continue}if(d!=null&&elms[b].id.indexOf(d)<0){continue}elms[b].selectedIndex=selectIt}}function checkAndSubmitForm(b,a,e,d,c){if(a&&a.value==""){alert(d);return}if(e&&e.value==""){alert(c);return}if(b.onsubmit){b.onsubmit()}b.submit()}function moveFormOption(b,e,d,c,a){array=b.elements;if(d=="up"){if(e>c){tmp=array[e].selectedIndex;array[e].selectedIndex=array[e-1].selectedIndex;array[e-1].selectedIndex=tmp}else{tmp=array[c].selectedIndex;for(i=c;i<a;i++){array[i].selectedIndex=array[i+1].selectedIndex}array[a].selectedIndex=tmp}}else{if(d=="down"){if(e<a){tmp=array[e].selectedIndex;array[e].selectedIndex=array[e+1].selectedIndex;array[e+1].selectedIndex=tmp}else{tmp=array[a].selectedIndex;for(i=a;i>=c;i--){array[i].selectedIndex=array[i-1].selectedIndex}array[c].selectedIndex=tmp}}else{if(d=="remove"){for(i=e;i<a;i++){array[i].selectedIndex=array[i+1].selectedIndex}array[a].selectedIndex=0}}}}function moveFormElement(b,e,d,c,a){array=b.elements;if(d=="up"){if(e>c){tmp=array[e].value;array[e].value=array[e-1].value;array[e-1].value=tmp}else{tmp=array[c].value;for(i=c;i<a;i++){array[i].value=array[i+1].value}array[a].value=tmp}}else{if(d=="down"){if(e<a){tmp=array[e].value;array[e].value=array[e+1].value;array[e+1].value=tmp}else{tmp=array[a].value;for(i=a;i>=c;i--){array[i].value=array[i-1].value}array[c].value=tmp}}else{if(d=="remove"){for(i=e;i<a;i++){array[i].value=array[i+1].value}array[a].value=""}}}}function move2FormElement(b,e,d,c,a){array=b.elements;if(d=="up"){if(e>(c+1)){tmp=array[e].value;array[e].value=array[e-2].value;array[e-2].value=tmp;tmp=array[e-1].value;array[e-1].value=array[e-3].value;array[e-3].value=tmp}else{tmp1=array[c].value;tmp2=array[c+1].value;for(i=c;i<a;i++){array[i].value=array[i+2].value}array[a-1].value=tmp1;array[a].value=tmp2}}else{if(d=="down"){if(e<a){tmp=array[e].value;array[e].value=array[e+2].value;array[e+2].value=tmp;tmp=array[e-1].value;array[e-1].value=array[e+1].value;array[e+1].value=tmp}else{tmp1=array[a].value;tmp2=array[a-1].value;for(i=a;i>=c;i--){array[i].value=array[i-2].value}array[c+1].value=tmp1;array[c].value=tmp2}}else{if(d=="remove"){for(i=e-1;i<a;i++){array[i].value=array[i+2].value}array[a-1].value="";array[a].value=""}}}}function getUrlWithUpdatedParam(b,d,c){var a=b.toString();re1=new RegExp("([^?]*\\?.*)("+d+"=[^&]*&?)(.*)","i");re2=new RegExp("([^?]*\\?)(.*)","i");re3=new RegExp("([^?]*)","i");if(a.search(re1)!=-1){if(c){a=a.replace(re1,"$1"+d+"="+c+"&$3")}else{a=a.replace(re1,"$1$3")}}else{if(a.search(re2)!=-1){if(c){a=a.replace(re2,"$1"+d+"="+c+"&$2")}else{a=a.replace(re2,"$1$2")}}else{if(c){a=a.replace(re3,"$1?"+d+"="+c)}else{a=a.replace(re3,"$1")}}}return a}function popupWindow(b,g,k,e,d,a,f,j,c){Popup.popupWindow(b,g,k,e,d,a,f,j,c)}function pause(b){var a=new Date();var c=a.getTime()+b;while(true){a=new Date();if(a.getTime()>c){return}}}"JCMS.Thumbnail"._namespace({load:function(a){try{JcmsJsContext.getJsonRPC().ThumbnailTag.createThumbnailFromSessionAttribute(function(c,e){if(e){return}if(c){var d=$(a);if(d){d.hide();d.src=c;d.show()}}},a)}catch(b){}}});"JCMS.Security"._namespace({CSRF_TOKEN_HEADER_NAME:"X-Jcms-CSRF-Token",CSRF_TOKEN_PARAMETER_NAME:"csrftoken",currentToken:null,init:function(){var a=$("CSRFTokenElm");if(!a){return}JcmsLogger.info("Channel","Init CSRF prevention token");this.currentToken=a.innerHTML;this._addCSRFTokenToAllForms();Event.observe(document,"refresh:after",function(){JCMS.Security._addCSRFTokenToAllForms.defer()})},_addCSRFTokenToAllForms:function(){var g=document.getElementsByTagName("form");for(var c=0;c<g.length;c++){var e=g[c];if(e.id==="rshStorageForm"){continue}var d=e.getAttribute("method");var f=d&&d.toUpperCase()==="POST";if(!f){continue}var a=e.getAttribute("action");var b=a&&a.match("^(https?:)?//.*$")&&!a.startsWith(JcmsJsContext.getBaseUrl())&&!a.startsWith(JcmsJsContext.getSecuredBaseUrl());if(b){continue}JCMS.Security._addCSRFToken(e)}},_addCSRFToken:function(b){if(!b){return}var a=$(b).getInputs("hidden",JCMS.Security.CSRF_TOKEN_PARAMETER_NAME);if(a.length>0){return}a=document.createElement("input");a.type="hidden";a.name=JCMS.Security.CSRF_TOKEN_PARAMETER_NAME;a.value=JCMS.Security.currentToken;b.appendChild(a)}
7231,getUrlWithCSRFToken:function(a){if(!JCMS.Security.currentToken){return a}var b=a+((a.indexOf("?")==-1)?"?":"&")+JCMS.Security.CSRF_TOKEN_PARAMETER_NAME+"="+encodeURIComponent(JCMS.Security.currentToken);return b}});function doOnLoad(){var a=$("popupEdition");if(a&&a.id=="popupEdition"){Popup.autoResize(a,jQuery("#edit-topbar").height()+18*4)}if(JcmsJsContext.isIE){document.onfocusin=JcmsJsContext.handleFocusInCB;document.onfocusout=JcmsJsContext.handleFocusOutCB}else{window.onfocus=JcmsJsContext.handleFocusInCB;window.onblur=JcmsJsContext.handleFocusOutCB}}if(document.loaded){JCMS.Security.init()}else{Event.observe(document,"dom:loaded",function(){JCMS.Security.init()})}Event.observe(window,"load",function(){if(window.setupAllTabs){setupAllTabs()}doOnLoad.defer()});; 7232"JCMS.form.Widget"._namespace({init:function(){Util.observeFocusClass("formTextfield",JCMS.form.Widget._handleBlurFocus);Util.observeFocusClass("formTextarea",JCMS.form.Widget._handleBlurFocus);Util.observeDocument("click",JCMS.form.Widget._handleTagsClick)},_handleTagsClick:function(c){if(!(c.eventName==="jcms:click"||Util.isLeftClick(c))){return}var f=Event.element(c);if(!f||!f.fastUp){return}var a=f.fastUp("OL","wdg-list",true,2);if(!a){return}var e=a.fastUp("DIV","keyword",true,4);if(!e){return}var d=a.fastLastChild("LI");var b=d.hasClassName("placeholder")?d.fastPrevious("LI").fastChild("INPUT"):d.fastChild("INPUT");if(!b||!b.value.blank()){JCMS.form.Widget.add(f);return}JCMS.form.Widget._list("_handlePlaceholder",f)},_handlePlaceholder:function(b){var c=b.fastLastChild("LI");var a=c.hasClassName("placeholder")?c.fastPrevious("LI").fastChild("INPUT"):c.fastChild("INPUT");if(a&&a.value.blank()){a.fastUp("LI").show();InputUtil.focus(a)}},_initResizer:function(a){var b=$(a.memo.elmId);if(!b||b.tagName!="TEXTAREA"||$(b.parentNode).hasClassName("noresize")){return}JCMS.form.Widget.autoResize(b);if(b.retrieve("resizable",false)){return}b.addClassName("resizable");b.store("resizable",true);Event.observe(b,"mousedown",JCMS.form.Widget.dragStart);Event.observe(b,"keypress",function(d){var c=d.which||d.keyCode;if(!c||c!=Event.KEY_RETURN){return}JCMS.form.Widget.autoResize(Event.element(d))})},_drag:false,_dragX:0,_dragY:0,_dragW:0,_dragH:0,dragStart:function(a){var e=Event.element(a);if(e.tagName!="DIV"&&e.tagName!="TEXTAREA"){return}var j=Event.pointerX(a)-10;var h=Event.pointerY(a)-10;var b=e.cumulativeOffset();var g=e.getWidth();var c=e.getHeight();var f=b.left;var d=b.top;if((j>f+g)||(h>d+c)||(j<f+g-32)||(h<d+c-32)){return}e.style.cursor="se-resize";if(e.hasClassName("wikitoolbar")){e=e.previous("TEXTAREA");g=e.getWidth();c=e.getHeight()}JCMS.form.Widget._drag=e.identify();JCMS.form.Widget._dragX=j;JCMS.form.Widget._dragY=h;JCMS.form.Widget._dragW=g;JCMS.form.Widget._dragH=c;Event.observe(document,"mousemove",JCMS.form.Widget.dragMove);Event.observe(document,"mouseup",JCMS.form.Widget.dragEnd)},dragEnd:function(a){var c=$(JCMS.form.Widget._drag);if(!c){return}c.style.cursor="";var b=c.next("DIV.wikitoolbar");if(b){b.style.cursor=""}JCMS.form.Widget._drag=false;Event.stopObserving(document,"mousemove",JCMS.form.Widget.dragMove);Event.stopObserving(document,"mouseup",JCMS.form.Widget.dragEnd)},dragMove:function(d){var j=$(JCMS.form.Widget._drag);var a=Event.pointerX(d);var g=Event.pointerY(d);var b=JCMS.form.Widget._dragW+(a-JCMS.form.Widget._dragX);var c=JCMS.form.Widget._dragH+(g-JCMS.form.Widget._dragY);if(b>15){j.style.width=b+"px"}if(c>15){j.style.height=c+"px"}var f=j.fastNext("DIV","wikitoolbar");if(b>15&&f){f.style.width=b+6+"px"}var e=j.fastNext("DIV","wikipreview");if(b>15&&e){e.style.width=(b-7)+"px"}if(c>15&&e){e.style.marginTop="-"+(c+6)+"px"}if(c>15&&e){e.style.height=(c-5)+"px"}},autoResize:function(b){var a=b.value.split("\n");var c=1;for(i=0;i<a.length;i++){if(a[i].length>=b.cols){c+=Math.floor(a[i].length/b.cols)}}c+=a.length;if(c>b.rows){b.rows=Math.min(c,20)}},_lastFocusId:false,_handleBlurFocus:function(c,d,b,a){var d=$(d);if(a==="focus:in"){JCMS.form.Widget.fireFocus.delay(0.1,c,d,b)}else{if(a==="focus:out"){JCMS.form.Widget.fireBlur.delay(0.1,c,d,b)}}},fireBlur:function(b,a){var c=JCMS.form.Widget.getWidget(a);if(!c||c.hasClassName("disabled")){return}document.fire("jcms:blur",{elmId:a.identify()})},fireFocus:function(b,a){var c=JCMS.form.Widget._lastFocusId;if(!JCMS.form.Widget._focusClasses(a,$(c))){return}document.fire("jcms:focus",{elmId:a.identify(),lastId:c})},_focusClasses:function(c,d){if(c==d){return false}var b=JCMS.form.Widget.getWrapper(c);var a=JCMS.form.Widget.getWidget(c);if(a&&a.hasClassName("disabled")){return false}JCMS.form.Widget.clearFocusClasses(d);if(!c){return false}JCMS.form.Widget._lastFocusId=c.identify();if(b&&!b.hasClassName("tab-page")){b.addClassName("focus-field")}if(a&&!a.hasClassName("tab-page")){a.addClassName("focus-widget")}return true},clearFocusClasses:function(b){var b=b||$(JCMS.form.Widget._lastFocusId);if(!b){return}JCMS.form.Widget._lastFocusId=false;var c=JCMS.form.Widget.getWrapper(b);if(c){c.removeClassName("focus-field")}var a=JCMS.form.Widget.getWidget(b);if(a){a.removeClassName("focus-widget")}},toggleUploadField:function(a){var a=$(a)||$(CtxMenuManager.latestElement);return JCMS.form.Widget._toggleUpload(a)},_toggleUpload:function(f,d){var e=JCMS.form.Widget.getWrapper(f);var a=e.down("INPUT.formUploadfield");if(!a||(a.disabled&&d)){return}var c=e.down("INPUT.formChooserLabelfield");var b=e.down("INPUT.formChooserfield");if(!a.disabled){a.disable();a.hide();c.show();c.enable();b.enable()}else{c.disable();b.disable();c.hide();b.hide();a.show();a.enable()}return false},UI_EDITOR_COLORCHOOSER:"F",UI_EDITOR_IMAGEPATH:"I",UI_EDITOR_SIMPLEIMAGEPATH:"I",UI_EDITOR_MEDIAPATH:"M",UI_EDITOR_SIMPLEMEDIAPATH:"M",UI_EDITOR_DATECHOOSER:"V",UI_EDITOR_MEMBERCHOOSER:"EHJY",UI_EDITOR_GROUPCHOOSER:"EGY",UI_EDITOR_PUBLICATIONCHOOSER:"ELXMSCcY",UI_EDITOR_PUBLICATIONSCHOOSER:"ELXMSCcY",UI_EDITOR_CATEGORYCHOOSER:"EZY",UI_EDITOR_CATEGORIESCHOOSER:"EZY",UI_EDITOR_WORKSPACECHOOSER:"EOY",UI_EDITOR_QUERYCHOOSER:"QY",UI_EDITOR_ACLCHOOSER:"Y",UI_EDITOR_SQLQUERY:"",UI_EDITOR_DBRECORDCHOOSER:"",getWidget:function(b){var a=jQuery.jalios.ui.Widget.getWidget(b);return a.exists()?$(a[0]):false},getWrapper:function(b){var a=jQuery.jalios.ui.Widget.getWrapper(b);return a.exists()?$(a[0]):false},fillCtxMenuHook:function(k,c){try{var k=$(k);var j="";var a=JCMS.form.Widget.getWrapper(k);var g=JCMS.form.Widget.getWidget(k);var e=k.fastUp(["DIV"],"wdglang",true,10);if(!a){return}var d=e&&e.className.match(/wdglang-(\S+)/);if(d){d=d[1]}if(g&&g.className){$w(g.className).each(function(m){if(JCMS.form.Widget[m]){j+=JCMS.form.Widget[m]}})}if(a.tagName=="LI"){j=(a.parentNode.tagName=="OL"&&!g.hasClassName("nodnd"))?("R"+j+"-ATUD-"):(j+"-AT-")}else{j="R"+j}if(g.hasClassName("ml")){j+="y"}var l=a.down("INPUT.formChooserfield");if(!l){return j+"','"+d+"','','"}var b="";if(l.value){b=l.value}var f=g.className.match(/super_([\w\.]+)/);f=(f&&f.length>1)?f[1]:"";return j+"t','"+d+"','"+f+"','"+b}catch(h){alert(h||h.message)}},isInKeyword:function(a){return jQuery.jalios.ui.Widget.Keyword.isInKeyword(a)},showChooserId:function(c){var c=$(c)||$(CtxMenuManager.latestElement);var d=JCMS.form.Widget.getWrapper(c);var a=d.down("INPUT");var b=a.next("INPUT");JCMS.form.Widget._toggleUpload(c,true);
7232b.toggle();return false},_initKeypress:function(a){var c=$(a.memo.elmId);if(!c||c.type!="text"||c.retrieve("_keyField",false)||c.hasClassName("autocomplete")){return}var b=JCMS.form.Widget.getWrapper(c);if(!b||b.tagName!="LI"){return}c.store("_keyField",true);Event.observe(c,"keypress",function(f){var e=f.which||f.keyCode;if(!e||e!=Event.KEY_RETURN){return}var d=Event.element(f);if(!d.value){Event.stop(f);return}if($(d).hasClassName("formChooserLabelfield")){return}if(JCMS.form.Widget.add(d)){Event.stop(f)}})},_popupCallback:function(d){if(!d.memo){return}var c=$(d.memo.linkId);if(!JCMS.form.Widget.getWidget(c)){c=$(CtxMenuManager.latestElement);if(!JCMS.form.Widget.getWidget(c)){return}}var e=JCMS.form.Widget.getWrapper(c);var a=e.down("INPUT");var b=[a.identify()].concat($A(d.memo.args));JCMS.form.Widget._chooserCallback.apply(this,b);JCMS.form.Widget._toggleUpload(a,true)},_chooserCallback:function(b,g,f,e,c){var a=$(b);var d=a.next("INPUT");if(d){d.value=g||"";a.value=g?f:"";a.fire("JCMS:widgetChange",{elmId:a.identify()})}else{a.value=c;a.fire("JCMS:widgetChange",{elmId:a.identify()})}},openColorChooser:function(d){var d=$(d)||$(CtxMenuManager.latestElement);var f=JCMS.form.Widget.getWrapper(d);var b=f.down("INPUT");var c=JcmsJsContext.getContextPath()+"/work/colorChooser.jsp?color="+b.value.slice(1);var a=b.identify();var e=function(h){var g=$(a);g.value=h;g.fire("JCMS:widgetChange",{elmId:g.identify()});g.style.backgroundColor=h};return Popup.popupWindow(c,"ColorChooser",235,220,"no","no","yes",false,false,e)},openDocChooser:function(f,l,e){var f=$(f)||$(CtxMenuManager.latestElement);var d=JCMS.form.Widget.getWidget(f);var b=Element.getJcmsId(document.body,"WS_");e=e?e.replace("&","&"):"";if(!d){var k=JcmsJsContext.getContextPath()+"/work/docChooser.jsp?nbElt=1&ws="+b+"&"+e;var j=function(m,n){Popup.reload()};return Popup.popupWindow(k,"DocChooser",640,600,"no","yes","yes",false,false,j)}var a=JCMS.form.Widget.getWrapper(f);var g=a.down("INPUT.formChooserfield");var c=a.hasClassName("wdglang")?1:(a.nextSiblings().size()+1);var k=JcmsJsContext.getContextPath()+"/work/docChooser.jsp?nbElt="+c+"&hideUnzip=true&ws="+b+"&"+e;if(l){k=JcmsJsContext.getContextPath()+"/work/docChooser.jsp?nbElt=1&hideUnzip=true&ws="+b+"&id="+g.value+"&"+e}var h=a.identify();var j=function(n,p){n=Object.isString(n)?[n]:n;p=Object.isString(p)?[p]:p;var o=$(h);var m=[o].concat(o.nextSiblings());m.each(function(s,q){if(q>=n.size()){return}var r=s.down("INPUT.formChooserLabelfield");var t=s.down("INPUT.formChooserfield");r.value=p[q];t.value=n[q];JCMS.form.Widget._toggleUpload(r,true)})};return Popup.popupWindow(k,"DocChooser",640,600,"no","yes","yes",false,false,j)},_closeDateChooser:function(b){var a=$("calendar-container");if(!a||!a.visible()){return false}if(b&&b.identify&&a.inputId!=b.identify()){return false}a.hide();return true},openDataChooser:function(g,d,b,f,h,e,c,k){var j=getFormName(g.document,b);var a=getFormElementPos(b,f)+h;var l=d+e+"targetInput=document."+j+".elements["+a+"].value&targetLabel=document."+j+".elements["+(a-1)+"].value";popupWindow(l,"DataChooser",c,k,"no","yes","yes",false)},toggle:function(){return JCMS.form.Widget._list.apply(this,["_toggle"].concat($A(arguments)))},add:function(){return JCMS.form.Widget._list.apply(this,["_add"].concat($A(arguments)))},remove:function(){return JCMS.form.Widget._list.apply(this,["_remove"].concat($A(arguments)))},up:function(){return JCMS.form.Widget._list.apply(this,["_up"].concat($A(arguments)))},down:function(){return JCMS.form.Widget._list.apply(this,["_down"].concat($A(arguments)))},reorder:function(){return JCMS.form.Widget._list.apply(this,["_reorder"].concat($A(arguments)))},_add:function(e,a,f){var c=$(e.childElements()[a]);if(!c){return}var b=c.clone(true);jQuery(b).find("*").off().removeData();Util.cleanDOMElements(b,true,"generated");b.removeAttribute("id");var g=jQuery(".typeahead-menu",b);if(g){g.remove()}b.stopObserving();Element.removeClassName(b,"showPrev");var d=c.fastNext("LI");if(d){e.insertBefore(b,d)}else{e.appendChild(b)}jQuery.jalios.ui.Widget.clear(b,true);JCMS.form.Widget._renumber(e,true,a+1);JCMS.form.Widget._retoggle(e,a+1,f);if(e.className.indexOf("wdg-tab-grp")<0){document.fire("refresh:widget",{wrapper:b.identify()})}if(f){JCMS.form.Widget._focus.defer(b)}},_remove:function(e,b,f){if(e.hasClassName("tab-content")){return}var a=$(e.childElements()[b]);var g=a.siblings();if(g.length<=0){jQuery.jalios.ui.Widget.clear(a,true);return}if(g.length==1&&g[0].hasClassName("placeholder")){jQuery.jalios.ui.Widget.clear(a,true);a.hide();jQuery.jalios.ui.Widget.clearFocusClasses(a);return}var h=b-1;var d=a.fastPrevious("LI");if(!d){d=$(a.parentNode).firstDescendant();h=0}$li=jQuery(a);var c=jQuery.Event("jalios:field");c.target=$li;c.field={};c.field.type="removedField";c.field.index=b;c.field.wrapper=$li;jQuery(document).trigger(c);a.remove();JCMS.form.Widget._renumber(e,true,h);JCMS.form.Widget._retoggle(e,h,false);
7232if(f){JCMS.form.Widget._focus.defer(d)}},_focus:function(b){if(!b){return}var b=$(b);var a=b.down("INPUT,TEXTAREA,SELECT");if(a){InputUtil.focus(a)}},_blur:function(b){if(!b){return}var b=$(b);var a=b.down("INPUT,TEXTAREA,SELECT");if(a){InputUtil.blur(a)}},_up:function(e,a,f){var g=$(e).hasClassName("wdg-tab")?2:1;var d=e.childElements();var c=d[a];var b=a-1<0?d[d.length-g]:d[a-1];e.insertBefore(c,b);if(a-1<0){e.insertBefore(b,c)}JCMS.form.Widget._renumber(e,true)},_down:function(e,a,f){var g=$(e).hasClassName("wdg-tab")?1:0;var d=e.childElements();var c=$(d[a]);var b=a+1>=d.length-g?d[0]:d[a+1];if(a+1>=d.length-g){e.insertBefore(c,b)}else{e.insertBefore(b,c)}JCMS.form.Widget._renumber(e,true)},_toggle:function(b,a,c){JCMS.form.Widget._renumber(b,false,a);JCMS.form.Widget._retoggle(b,a,c)},_reorder:function(e,b,f,a){if(e._skip){JCMS.form.Widget._renumber(e,true);return}var e=$(e);var d=e.childElements();var c=$A();a.each(function(g){c.push(d[g])});e.childElements().each(function(h,g){e.removeChild(h);if(c.indexOf(h)<0){c.push(h)}});c.each(function(h,g){if(!h){return}e.appendChild(h)});JCMS.form.Widget._renumber(e,true)},_renumber:function(f,c,d){if(!f.hasClassName("wdg-tab-grp")){return}var a=$(f);var e=0;var h=0;for(var j=a.firstChild;j;j=j.nextSibling){if(j.nodeType!=1){continue}var j=$(j);if(c){var g=j.fastChild("A");if(g&&g.innerHTML*1!=h+1){g.innerHTML=h+1}}if(j.className.indexOf("selected")>=0){e=h;j.removeClassName("selected")}h++}if(d!=undefined){e=d}var b=a.fastChild("LI",false,e);if(b){b.addClassName("selected")}return e},_retoggle:function(e,c,g){if(!e.hasClassName("wdg-tabpane")){return}var d=JCMS.form.Widget.isInKeyword(e);var f=$(e);var b=0;for(var a=f.firstChild;a;a=a.nextSibling){if(a.nodeType!=1){continue}if(d){$(a).removeClassName("focus-field")}else{if(b++!=c){$(a).hide()}}}if(c!="undefined"){index=c}var h=f.fastChild("LI",false,index);if(!h){return}if(d){h.addClassName("focus-field");return}h.show();if(h.fastVisible()){document.fire("tabwdg:change",{tabPage:$(h).identify()})}},_list:function(g,f,c){var f=$(f)||$(CtxMenuManager.latestElement);var h=JCMS.form.Widget.getWidget(f);if(!h){return false}var b=f.fastUp("LI",null,true,10);if(!b){b=$(f.parentNode).down(".wdg-list > LI:last-child")}if(!b){return}if(b.hasClassName("placeholder")){b=b.fastPrevious("LI")}if(!b){return}var d=$(b.parentNode);var a=d.childElements().indexOf(b);if(h.hasClassName("wdg-group")){JCMS.form.Widget._listGroup(g,h,a,c)}else{if(h.hasClassName("ml")){JCMS.form.Widget._listML(g,d,a,c)}else{var e=d.fastNext("OL","wdg-list");if(e){JCMS.form.Widget[g](e,a,true,c)}JCMS.form.Widget[g](d,a,true,c)}}return true},_listML:function(c,d,a,b){if(d.tagName=="UL"){var e=d.fastNext("DIV","wdglang",true,4);if(!e){return}JCMS.form.Widget[c]($(d),a,false,b);d=e}var e=d.fastUp("DIV","wdglang",true,4);if(!e){return}$(e.parentNode).fastEach("DIV","wdglang",function(g){var f=$(g).fastChild(["OL","UL"]);if(!f){return}JCMS.form.Widget[c](f,a,f.fastVisible(),b)})},_listGroup:function(f,g,a,d){var h=g.className.match(/wdggrp-(\S+)/);var b="DIV."+h[0];var e=g.fastUp("FORM",null,false,20);var c=e.retrieve(b);if(!c){c=$A([]);e.store(b,c);e.select(b).each(function(j){var k=j.select(["UL.wdg-list","OL.wdg-list"]);c.addAll(k)})}c.each(function(j){var k=j.fastVisible()&&JCMS.form.Widget.getWidget(j)==g;JCMS.form.Widget[f](j,a,k,d)})},_toggleKeyword:function(b){var a=$(b.memo.elmId);JCMS.form.Widget.toggle(a)}});Event.observe(window,"load",function(){JCMS.form.Widget.init.defer()});Event.observe(document,"jcms:focus",JCMS.form.Widget._initResizer);Event.observe(document,"jcms:focus",JCMS.form.Widget._initKeypress);Event.observe(document,"jcms:focus",JCMS.form.Widget._closeDateChooser);Event.observe(document,"jcms:focus",JCMS.form.Widget._toggleKeyword);Event.observe(document,"jcms:blur",JCMS.form.Widget._formatDate);Event.observe(document,"popup:callback",JCMS.form.Widget._popupCallback);function fillOpenerField(d,c,e,g,f,a){var b=getFormElementPos(c,e)+g;c.elements[b].value=f;c.elements[b-1].value=a;d.close()}function getFormElementPos(d,a,e){var c=d.elements;for(var b=0;b<c.length;b++){if(c[b].name!=a){continue}if(!e){return b}if((c[b].id==e)||(c[b].id==e+"0")||(c[b].id&&c[b].id.startsWith(e))){return b}}return -1}function getFormElementLastPos(e,a,f,g){var c=e.elements;var d=-1;for(var b=0;b<c.length;
7232b++){if(c[b].name!=a){if(d>0&&f){break}continue}if(!g){d=b;continue}if(c[b].id.indexOf(g)>-1){d=b;continue}if(d>0&&f){break}}return d}function simpleSubmitForm(g,k,c,f,j,a){if(j&&k.anchor){k.anchor.value=j}var b=c;if(jQuery.isArray(c)){b=c[0];for(var d=1;d<c.length;d++){var h=new Element("input",{type:"hidden",name:c[1],value:"true"});k.appendChild(h)}}var e=k.elements.action;if(b&&!e){e=new Element("input",{type:"hidden",name:"action",value:"true"});k.appendChild(e)}if(b&&e){e.name=b;if(a){e.value=a}}jQuery(k).submit()}function confirmSubmitForm(c,b,d,f,g,a,e){if(top.confirm(f)){simpleSubmitForm(c,b,d,g,a,e)}}function confirmSubmitFormLightBox(c,b,d,f,g,a,e){JCMS.window.Modal.confirm(f,function(h){if(h){simpleSubmitForm(c,b,d,g,a,e)}})}function getFormName(a,b){if(a.all){if(b.attributes){if(b.attributes.getNamedItem){return b.attributes.getNamedItem("NAME").value}else{if(b.attributes.name){return b.attributes.name}else{if(b.attributes.NAME){return b.attributes.NAME}else{return"editForm"}}}}else{return"editForm"}}else{return b.getAttribute("NAME")}}function restrictToNumerics(a){var b=new RegExp("[^0-9]");var d=a.value;var c=d.replace(b,"");a.value=c}function submitForm(c,b,a){simpleSubmitForm(window,window.document.editForm,c,"Error",b,a)}function confirmSubmit(d,c,b,a){confirmSubmitForm(window,window.document.editForm,c,d,b,a)}function submitAction(b,a){simpleSubmitForm(window,window.document.editForm,b,"Error",null,a)};; 7233(function(b){var a=b({});b.ajaxQueue=function(g){var e,c=b.Deferred(),f=c.promise();function d(h){e=b.ajax(g);e.done(c.resolve).fail(c.reject).then(h,h)}a.queue(d);f.abort=function(j){if(e){return e.abort(j)}var h=a.queue(),i=b.inArray(d,h);if(i>-1){h.splice(i,1)}c.rejectWith(g.context||g,[f,j,""]);return f};return f}})(jQuery);; 7234(function($){function isEnable(type){return window.console&&window.console.log&&(type==null?true:enabled[type])}function name2fn(name){var names=name.split(".");var func=window;$.each(names,function(i,n){func=func[n]});return func}function reassign(name,fn){eval("window."+name+" = fn;")}var hookedList={};function hooked(name){var fn=name2fn(name);hookedList[name]=fn}function unhooked(name){hookedList[name]=null}function fn(name){return hookedList[name]}function has(name){return hookedList[name]!=null}$.console={};$.fn.console={};$.log=function(){if(isEnable("log")){$.console.log.apply(this,arguments)}};$.fn.log=function(){$.log(this);return this};$.console.hook=function(name){var func=name2fn(name);if(typeof func==typeof{}){var obj=func;for(var var_name in obj){if(typeof obj[var_name]==typeof function(){}){$.console.hook(name+"."+var_name)}}return}else{if(!$.isFunction(func)){return}else{if(!has(name)){hooked(name);reassign(name,function(){if(isEnable("call")){console.groupCollapsed("Call %s",name);console.log("with arguments %o",arguments);console.groupEnd()}var ret=func.apply(func,arguments);return ret})}}}};$.console.unhook=function(name){var func=name2fn(name);if(typeof func==typeof{}){var obj=func;for(var var_name in obj){if(typeof obj[var_name]==typeof function(){}){$.console.unhook(name+"."+var_name)}}return}else{if(!$.isFunction(func)){return}else{if(has(name)){reassign(name,fn(name));unhooked(name)}}}};$.console.enable=function(type){if(type==null){for(var i in enabled){enabled[i]=true}return}enabled[type]=true};$.console.only=function(type){$.console.disable();$.console.enable(type)};$.console.disable=function(type){if(type==null){for(var i in enabled){enabled[i]=false}return}enabled[type]=false};$.console.stacktrace=function(){if(window.printStackTrace){var trace=window.printStackTrace();for(var i=0;i<trace.length;i++){$.console.debug("[STACKTRACE] "+trace[i])}}};var fns=["debug","info","log","warn","error","assert","group","groupCollapsed","groupEnd","trace"];var enabled={call:true};$.each(fns,function(i,fnName){enabled[fnName]=true;$.console[fnName]=function(){if(isEnable(fnName)){try{console[fnName].apply(window.console,arguments)}catch(e){if(console){console.log(arguments[0])}}}};$.fn.console[fnName]=function(){$.console[fnName](this);return this}})})(jQuery);; 7235/*! 7236* jQuery idleTimer plugin 7237* version 0.9.100511 => JCMS:FIX PATCH 7238* by Paul Irish. 7239* http://github.com/paulirish/yui-misc/tree/ 7240* MIT license 7241* adapted from YUI idle timer by nzakas: 7242* http://github.com/nzakas/yui-misc/ 7243*/ 7244(function(a){a.idleTimer=function(c,g,f){f=a.extend({startImmediately:true,idle:false,enabled:true,timeout:30000,name:"idleTimer",events:"mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove"},f);g=g||document;var b=function(l){if(typeof l==="number"){l=undefined}var k=a.data(l||g,f.name+"Obj");k.idle=!k.idle;var i=+new Date()-k.olddate;k.olddate=+new Date();if(k.idle&&i<f.timeout){k.idle=false;clearTimeout(a.idleTimer.tId);if(f.enabled){a.idleTimer.tId=setTimeout(b,f.timeout)}return}var j=jQuery.Event(f.name+"."+a.data(g,f.name,k.idle?"idle":"active"));j.timer={target:k.target,activeElement:k.activeElement};a(g).trigger(j)},e=function(i){var j=a.data(i,f.name+"Obj")||{};j.enabled=false;clearTimeout(j.tId);a(i).off(".idleTimer")},d=function(i){var j=a.data(this,f.name+"Obj");j.target=a(i.target);j.activeElement=i.target===document.activeElement&&i.type!=="mousemove";clearTimeout(j.tId);if(j.enabled){if(j.idle){b(this)}j.tId=setTimeout(b,j.timeout)}};var h=a.data(g,f.name+"Obj")||{};h.olddate=h.olddate||+new Date();if(typeof c==="number"){f.timeout=c}else{if(c==="destroy"){e(g);return this}else{if(c==="getElapsedTime"){return +new Date()-h.olddate}}}a(g).on(a.trim((f.events+" ").split(" ").join(".idleTimer ")),d);h.idle=f.idle;h.enabled=f.enabled;h.timeout=f.timeout;if(f.startImmediately){h.tId=setTimeout(b,h.timeout)}a.data(g,f.name,"active");a.data(g,f.name+"Obj",h)};a.fn.idleTimer=function(b,c){if(!c){c={}}if(this[0]){a.idleTimer(b,this[0],c)}return this}})(jQuery);; 7245/*! 7246* jQuery Cookie Plugin v1.4.1 7247* https://github.com/carhartl/jquery-cookie 7248* 7249* Copyright 2013 Klaus Hartl 7250* Released under the MIT license 7251*/
7252(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(f){var a=/\+/g;function d(i){return b.raw?i:encodeURIComponent(i)}function g(i){return b.raw?i:decodeURIComponent(i)}function h(i){return d(b.json?JSON.stringify(i):String(i))}function c(i){if(i.indexOf('"')===0){i=i.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{i=decodeURIComponent(i.replace(a," "));return b.json?JSON.parse(i):i}catch(j){}}function e(j,i){var k=b.raw?j:c(j);return f.isFunction(i)?i(k):k}var b=f.cookie=function(q,p,v){if(p!==undefined&&!f.isFunction(p)){v=f.extend({},b.defaults,v);if(typeof v.expires==="number"){var r=v.expires,u=v.expires=new Date();u.setTime(+u+r*86400000)}return(document.cookie=[d(q),"=",h(p),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join(""))}var w=q?undefined:{};var s=document.cookie?document.cookie.split("; "):[];for(var o=0,m=s.length;o<m;o++){var n=s[o].split("=");var j=g(n.shift());var k=n.join("=");if(q&&q===j){w=e(k,p);break}if(!q&&(k=e(k))!==undefined){w[j]=k}}return w};b.defaults={};f.removeCookie=function(j,i){if(f.cookie(j)===undefined){return false}f.cookie(j,"",f.extend({},i,{expires:-1}));return !f.cookie(j)}}));; 7253!function(f){if(!f.jalios){f.jalios={}}var l=/ID_([^ ]+)/;var g=/USAGE_([^ ]+)/;var a=f.Callbacks();var k=function(){f(document).idleTimer(8000,{name:"Notifier"});f(document).on("Notifier.idle",function(){f.jalios.Common.idle=true});f(document).on("Notifier.active",function(){f.jalios.Common.idle=false;a.fire();a.empty()})};var h=function(){f(document).on("focusin",function(){f.jalios.DOM.hasFocus=true});f(document).on("focusout",function(){f.jalios.DOM.hasFocus=false})};var j=false;var c=false;var e=function(){if(typeof(elementQuery)==="undefined"){return}f(document).on("jalios:refresh",function(o){var n=f.jalios.Event.match(o,"refresh","after");if(!n){return}if(!n.target){return}elementQuery()});f(document).on("show.bs.collapse",function(n){setTimeout(elementQuery,200)});f(document).on("shown.bs.tab",function(n){setTimeout(elementQuery,200)});f(document).on("shown.bs.modal",function(n){setTimeout(elementQuery,200)});f(document).on("jalios:broker",function(o){var n=f.jalios.Event.match(o,"broker",/toggle/i,true);if(!n){return}var p=n.source.currentTarget;if(f(p).is(":visible")){setTimeout(elementQuery,200)}});elementQuery()};var i=function(){f(document).on("click","A",function(p){var o=f(p.currentTarget);var n=o.attr("href");if(n&&n.endsWith("#")){p.preventDefault()}})};window.namespace=function(p,q,s,o){var r=o||window;p.split(s||".").forEach(function(t){if(t==="$"){t="jQuery"}r=r[t]=r[t]||{}});if(q){for(var n in q){if(q.hasOwnProperty(n)){r[n]=q[n]}}}return r};Function.prototype.defer=function(){var n=this,o=Array.prototype.slice.call(arguments,0);return window.setTimeout(function(){return n.apply(n,o)},0.01)};Function.prototype.delay=function(p){var n=this,o=Array.prototype.slice.call(arguments,1);var q=function(){return n.apply(n,o)};return window.setTimeout(q,p*1000)};Function.prototype.postpone=function(p){var n=this,o=Array.prototype.slice.call(arguments,1);var q=function(){return n.apply(n,o)};if(!f.jalios.DOM.hasFocus){a.add(q);return}if(f.jalios.Common.idle){a.add(q);return}return window.setTimeout(q,p*1000)};if(typeof String.prototype.endsWith!=="function"){String.prototype.endsWith=function(n){return this.indexOf(n,this.length-n.length)!==-1}}navigator.sendBeacon=navigator.sendBeacon||function(o,p){var n=new XMLHttpRequest();n.open("POST",o,false);n.setRequestHeader("Content-Type","text/plain;charset=UTF-8");n.send(p)};f.jalios.Common={idle:false,strip:function(o,n){o=o.replace(/^\s+|\s+$/g,"");if(!n){o=o.replace(/(\s)\s*/g,"$1")}return o},blank:function(n){return !n||!/\S/.test(n)},inject:function(o,n,p){f.each(o,function(q,r){n=p(n,r,q)});return n},toBoolean:function(o,n){if(typeof o=="boolean"){return o}if(o=="false"||o=="no"){return false}if(o=="true"||o=="yes"){return true}return n},size:function(p){var o=0;if(typeof p=="object"){if(Object.keys){o=Object.keys(p).length}else{if(jQuery){o=jQuery.map(p,function(){return 1}).length}else{if(window._){o=_.keys(p).length}else{for(var n in p){if(p.hasOwnProperty(n)){o++}}}}}}return o},shakeIE:function(){},escapeRegExp:function(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},replaceAll:function(p,o,n){return p.replace(new RegExp(escapeRegExp(o),"g"),n)}};f.jalios.Properties={get:function(n){if(!JCMS_Properties){return null}return JCMS_Properties[n]}};f.jalios.Event={match:function(p,n,r,o,s){if(!p||!p[n]){return false}var q=p[n];if(r){if(!q.type){return false}if(!q.type.match(r)){return false}}if(o){p.stopPropagation()}if(s){p.stopImmediatePropagation()}return q}};f.jalios.Http={buildUrl:function(o,r){var w=f.jalios.Http.toQueryParams(o);if(typeof r==="string"){r=r.length>0?f.jalios.Http.toQueryParams(r):null}w=f.extend({},w,r);for(key in w){var s=w[key];if(!s){delete w[key]}}var q=(o!=null?o:"");var v;var t;var n=q.indexOf("?");var p=q.indexOf("#");if(p>=0){t=q.substring(p+1)}if(n>=0){v=q.substring(0,n)}else{if(p>=0){v=q.substring(0,p)}else{v=q}}var u=w?f.param(w,true):null;if(u!=null&&u.length>0){v+="?"+u}if(t!=null){v+="#"+t}return v},decode:function(n){return decodeURIComponent(n.replace(/\+/g," "))},encode:function(n){return encodeURIComponent(n)},toQueryParams:function(p,o){if(!p){return{}}p=f.jalios.Common.strip(p);if(p.indexOf("=")<0){return{}}var n=p.match(/([^?#]*)(#.*)?$/);if(!n){return{}}return f.jalios.Common.inject(n[1].split(o||"&"),{},function(s,t){if((t=t.split("="))[0]){var q=decodeURIComponent(t.shift()),r=t.length>1?t.join("="):t[0];if(r!=undefined){r=f.jalios.Http.decode(r)}if(q in s){if(!f.isArray(s[q])){s[q]=[s[q]]}s[q].push(r)}else{s[q]=r}}return s})},getBaseUrl:function(){if(!j){j=f("BASE").prop("href")}return j||""},getContextPath:function(){if(!c){c=document._contextPath}return c||""}
7253,getUrlWithUpdatedParam:function(p,r,q){var o=p.toString();re1=new RegExp("([^?]*\\?.*)("+r+"=[^&]*&?)(.*)","i");re2=new RegExp("([^?]*\\?)(.*)","i");re3=new RegExp("([^?]*)","i");var n=q;if(n){n=f.jalios.Http.encode(n)}if(o.search(re1)!=-1){if(q){o=o.replace(re1,"$1"+r+"="+n+"&$3")}else{o=o.replace(re1,"$1$3")}}else{if(o.search(re2)!=-1){if(q){o=o.replace(re2,"$1"+r+"="+n+"&$2")}else{o=o.replace(re2,"$1$2")}}else{if(q){o=o.replace(re3,"$1?"+r+"="+n)}else{o=o.replace(re3,"$1")}}}return o}};f.jalios.Ajax={_fixHeader:function(o){if(o.crossDomain){return}o.headers=o.headers||{};var n=document.body.id;if(n){o.headers["X-Jcms-Ajax-Id"]=n}var q=f("#AjaxCtxtDeflate");if(q.exists()&&!f.jalios.Browser.isMobileSafari()){o.headers["X-Jcms-Ajax-Deflate"]=q.html()}var p=f("#CSRFTokenElm");if(p.exists()){o.headers["X-Jcms-CSRF-Token"]=p.html()}},_fixWait:function(n,q,o){var p=n.beforeSend;var r=n.complete;n.beforeSend=function(){f.jalios.Ajax.wait(true);if(p){p.apply(this,arguments)}};n.complete=function(){f.jalios.Ajax.wait(false);if(r){r.apply(this,arguments)}}},wait:function(u,n){var o=parent?parent:window;var t="";var q="";var p=f("BODY");var s=f("#ajax-wait");if(!s.exists()){var v=f("#ajaxWaitIconWrapper").html();f("#ajaxWaitIconWrapper").remove();s=f('<div id="ajax-wait" class="hide">'+v+"</div>").appendTo(p)}if(u){t="wait";q=I18N.glp("info.msg.loading");s.removeClass("hide")}else{s.addClass("hide")}try{if(o.status){o.status=q}}catch(r){}if(n){f(n).css("cursor",t)}p.css("cursor",t)},_history:function(){if(typeof(History)=="undefined"||typeof(History.getState)=="undefined"){return}if(typeof(window.history)=="undefined"||typeof(window.history.pushState)=="undefined"){f.console.debug("[Common] [History] No History. Stop using outdated browser without modern feature.");return}f.console.debug("[Common] [History] Initializing History");f.jalios.Ajax._histIntercept=true;f.jalios.Ajax._histIdx=0;var o=function(s){if(!s){f.console.debug("[Common] [History] Skip statechange missing state data");return}if(!f.jalios.Ajax._histIntercept){f.console.debug("[Common] [History] Skip statechange we triggered",s);f.jalios.Ajax._histIntercept=true;return}if(!s.data||!s.data.url||!s.data.target){let initialState=History.getStateByIndex(0);var q=f(initialState.data.target);if(q.exists()){f.console.debug("[Common] [History] Revert to initial state, by refreshing target",q,s);let initialUrl=initialState.url;let params={historyRevertToInitialState:true};if(initialUrl){const p=f.jalios.Http.toQueryParams(initialUrl);params=f.extend({},params,p)}q.refresh({params:params,nohistory:true,noscroll:true});return}f.console.debug("[Common] [History] Skip statechange without original first history target",s);return}var r=jQuery.Event("jalios:history");r.history={};r.history.data=s.data;f(document).trigger(r);f.console.debug("[Common] [History] Revert to state by refreshing target",s.data.target,s);f.jalios.AjaxRefresh.refresh(s.data.url,s.data.target,f.extend({},s.data.options,{nohistory:true,noscroll:true}))};var n=History.getState();if(n&&n.data&&n.data.target){f.console.debug("[Common] [History] Revert to last state in previous page",n);o(n)}History.Adapter.bind(window,"statechange",function(){var p=History.getState();o(p)});f(document).on("jalios:refresh",function(r){var q=f.jalios.Event.match(r,"refresh","success");if(!q){return}if(q.options.nohistory){return}if(q.callback){return}q.options.nohistory=true;q.options.target=false;var s={url:q.url,target:q.target.identify().map(function(){return"#"+f(this).attr("id")}).get().join(","),options:q.options};var p=History.getStateByIndex(0);if(p&&p.data&&!p.data.target){f.console.debug("[Common] [History] Update initial state with first portlet being modified",s.target);p.data.target=s.target}f.jalios.Ajax.addHistory(s)})},addHistory:function(o){if(typeof(History)=="undefined"||typeof(History.getState)=="undefined"){return}f.jalios.Ajax._histIdx++;var n=document.location.href.replace(document.location.hash,"");var p=f.jalios.Http.getUrlWithUpdatedParam(n,"histstate",f.jalios.Ajax._histIdx);f.jalios.Ajax._histIntercept=false;f.console.debug("[Common] [History] Adding History Entry",o,p);o&&o.options&&delete o.options.brokerTrigger;History.pushState(o,document.title,p)}};var d=/^\W*return\W*false\W*$/i;var m=function(p,q){q=q||"all";f.console.info("Load CSS with DOM injection...",p,q);var n=document.getElementsByTagName("head")[0];var o=document.createElement("link");o.href=p;if(q=="prefetch"){o.rel="prerender prefetch"}else{o.type="text/css";o.rel="stylesheet";o.media=q}n.appendChild(o)};f.jalios.DOM={_resources:{},markResource:function(n){if(f.jalios.DOM._resources[n]){return false}f.jalios.DOM._resources[n]=true;return true},markResources:function(){f.each(arguments,function(n,o){f.jalios.DOM.markResource(o)})},loadStyleSheets:function(A,p,o,r){var t={all:[],print:[],screen:[],speech:[]};var C={all:[],print:[],screen:[],speech:[]};for(var B=0;B<A.length;B++){var y=A[B];var q=p[B]||"all";if(!f.jalios.DOM.markResource(y)){f.console.debug("StyleSheet already imported: ",y)}else{var z=(y.indexOf("http")==0);(z?C:t)[q].push(y)}}for(q in C){var n=C[q];if(n.length!=0){f.console.info("Import StyleSheets (absolute URL)",q,n,o);for(var B=0;B<n.length;B++){var v=n[B];jQuery.jalios.DOM.loadStyleSheet(v,q,o)}}}var F=r||1800;var w=JcmsJsContext.getBaseUrl()+"css/csspacker.jsp?v="+o+"&css=";var G=function(I,J){if(I.length==0){return}var H=w+I.join("&css=");m(H,J)};for(q in t){var D=t[q];if(D.length!=0){f.console.info("Import StyleSheets",q,D,o);var u=[];var x=0;while((relativePath=D.shift())!==undefined){var E=encodeURIComponent(relativePath);var s=w.length+x+E.length+((u.length+1)*"&css=".length);if(s>=F){G(u,q);u=[];x=0}
7253u.push(E);x+=E.length}G(u,q)}}return true},loadStyleSheet:function(p,o,n){if(!f.jalios.DOM.markResource(p)){f.console.info("StyleSheet already imported: ",p);return false}f.console.info("Import StyleSheet",p,n);p+=n?("?v="+n):"";m(p,o);return true},loadJavaScripts:function(C,y,q){f.jalios.DOM._loaded++;var r=[];var s=[];for(var v=0;v<C.length;v++){var D=C[v];if(!f.jalios.DOM.markResource(D)){f.console.debug("JavaScript already imported: ",D)}else{var x=(D.indexOf("http")==0);(x?s:r).push(D)}}var p=false;if(s.length!=0){f.console.info("Import JavaScripts (absolute URL)",s,y);for(var v=0;v<s.length;v++){var n=s[v];p|=jQuery.jalios.DOM.loadJavaScript(n,y)}}var z=q||1800;var o=JcmsJsContext.getBaseUrl()+"js/jspacker.jsp";var w=function(E){f.console.info("Load JS with jQuery...",E);f.ajaxQueue({url:o,traditional:true,data:{v:y,js:E},dataType:"script",cache:true}).always(function(F){f.jalios.DOM._loadReady.defer(E)})};if(r.length!=0){f.jalios.DOM._loaded++;f.console.info("Import JavaScripts",r,y);var t=[];var B=0;while((relativePath=r.shift())!==undefined){var u=encodeURIComponent(relativePath);var A=o.length+B+u.length+((t.length+1)*"&js=".length);if(A>=z){w(t);t=[];B=0}t.push(relativePath);B+=u.length}w(t);p|=true}f.jalios.DOM._loadReady.defer(r);return p},loadJavaScript:function(o,n){f.jalios.DOM._loaded++;if(!f.jalios.DOM.markResource(o)){f.console.info("JavaScript already imported: ",o);f.jalios.DOM._loadReady.defer(o);return false}f.console.info("Import JavaScript",o,n);f.ajaxQueue({url:o,data:{v:n},dataType:"script",cache:true}).always(function(p){f.jalios.DOM._loadReady.defer(o)});return true},_loaded:0,_loadTrigger:f.Callbacks(),_loadReady:function(o){f.jalios.DOM._loaded--;if(f.jalios.DOM._loaded>0){return}f.jalios.DOM._loadTrigger.fire();f.jalios.DOM._loadTrigger.empty();var n=jQuery.Event("jalios:ready");f(document).trigger(n)},_loadRegister:function(n){f.jalios.DOM._loadTrigger.add(n)},hasFocus:true,follow:function(q,s,u,r){if(!q){return}var o=f(q);if(!o.exists()){return}var v=f.Event("click");v.which=1;v.skip=s;var t=o.attr("onclick");if(t&&d.test(t)){o.prop("onclick",null)}if(!u||!r){o.trigger(v);if(v.isDefaultPrevented()){return}}var n=o.prop("href");if(n&&u&&r){o.attr("href",f.jalios.Http.getUrlWithUpdatedParam(n,u,r))}var w=o.closest("FORM");if(w.exists()){}o.trigger(v);if(v.isDefaultPrevented()){return}var n=o.prop("href");if(n){var p=o.attr("target");if(p){f.jalios.Browser.popup(n,o.attr("title"))}else{f.jalios.Browser.redirect(n)}return}if(o.attr("type")=="submit"){var w=o.closest("FORM");w.append('<input type="hidden" name="'+o.attr("name")+'" value="'+o.attr("value")+'" />');w.submit()}},isInIFrame:function(){return window!=top},registerIFrame:function(){f.jalios.DOM.setupIFrame();f(document).on("jalios:refresh",f.jalios.DOM.setupIFrame)},setupIFrame:function(p){var n=f(document);if(p){var o=f.jalios.Event.match(p,"refresh","after");if(!o||!o.$target){return}n=o.$target}n.find('IFRAME[height="100%"]').each(function(){f.jalios.DOM.resizeIframeToViewport.defer(f(this))}).on("load",function(){f.jalios.DOM.resizeIframeToViewport.defer(f(this))})},resizeIframeToViewport:function(p,o){if(!p||!p.exists()){return}var r=o||400;var n=r;try{n=p.contents().find("BODY").css("height","auto").outerHeight()+20}catch(q){}n=r!==-1?Math.min(r,n):n;p.css("height",n+"px")}};f.fn.exists=function(){return this.length>0};f.fn.identify=function(p,o){var n=0;p=p||"jq";return this.each(function(){if(f(this).attr("id")){if(o){var q=new Date().getTime();f(this).attr("id",p+"_"+q)}return}do{n++;var r=p+"_"+n}while(f("#"+r).length>0);f(this).attr("id",r)})};f.fn.findNext=function(n){return this.nextAll().find(n)};f.fn.findPrev=function(n){return this.prevAll().find(n)};f.fn.matchClass=function(o,p){var p=p||1;var n=[];this.each(function(){var r=f(this).attr("class");if(!r){return}var t=r.split(/\s+/);for(var s=0;s<t.length;s++){o.compile(o);var q=o.exec(t[s]);if(q&&q.length>p){n.push(q[p])}}});return n};f.fn.updateClass=function(n){if(!n){return}var n=n.split(" ");return this.each(function(){var s=f(this);var p=s.attr("class");for(var q=0;q<n.length;q++){if(b.test(n[q])){var o=b.exec(n[q]);var r=new RegExp(o[1]+"\\d+");var t=p.match(r);s.removeClass(""+t)}s.addClass(n[q])}})};var b=/(([\w_-])+(-+))(\d)+/;f.fn.serializeObject=function(p){var q={};var n=this.serializeArray();f.each(n,function(){if(p&&p[this.name]===undefined){return}if(q[this.name]!==undefined){if(!q[this.name].push){q[this.name]=[q[this.name]]}q[this.name].push(this.value||"")}else{q[this.name]=this.value||""}});return f.extend(true,{},p,q)};f.fn.populate=function(n){var o=f(this);f.each(n,function(p,q){f("[name="+p+"]",o).val(q)})};f.fn.named=function(o){var n="[name="+o.join("],[name=")+"]";return f(this).find(n)};f.fn.isPortlet=function(){if(!f(this).hasClass("Portlet")&&!f(this).hasClass("PortalJspCollection")&&!f(this).hasClass("JPortal")){return false}var o=0,n=this.length;for(;o<n;o++){if(this[o].className=="Portlet"||this[o].className=="PortalJspCollection"||this[o].className=="JPortal"){continue}if(this[o].className.match(l)){return true}}return false};f.fn.getJcmsId=function(n){var r=0,o=this.length;for(;r<o;r++){var s=f(this[r]);if(s.attr("data-jalios-id")){return s.attr("data-jalios-id")}if(n){return}var q=s.attr("class");if(!q){continue}var p=q.match(l);if(p){return p[1]}}return false};f.fn.getUsage=function(){var q=0,n=this.length;for(;q<n;q++){var p=this[q].className;if(!p){continue}var o=p.match(g);if(o){return o[1]}}return false};f.fn.bounds=function(){var n=this,o=n[0];if(!o){return}var p=n.offset(),q={width:o.offsetWidth,height:o.offsetHeight,left:0,top:0,right:0,bottom:0,x:0,y:0};q.left=p.left;q.top=p.top;q.right=(q.left+q.width);q.bottom=(q.top+q.height);q.x=q.left;q.y=q.top;q.inner={width:n.width(),height:n.height()};f.extend(q,{toString:function(){var r=this;return"x: "+r.x+" y: "+r.y+" width: "+r.width+" height: "+r.height+" right: "+r.right+" bottom: "+r.bottom}});return q};f.fn.max=function(n){return Math.max.apply(null,this.map(function(o,p){return n.apply(
7253p)}).get())};f.fn.getOriginalContext=function(){var o;var n=this;while(n){var o=n.context;n=n.prevObject}return o};f(document).ready(function(n){k();h();e();n.ajaxPrefilter(n.jalios.Ajax._fixHeader);n.ajaxPrefilter(n.jalios.Ajax._fixWait);i();n.jalios.DOM.registerIFrame();n.jalios.Ajax._history()})}(window.jQuery);; 7254!function(b){if(!b.jalios){b.jalios={}}var a=function(){b(document).on("click","A.lang-trigger",function(f){var e=b(f.currentTarget);f.preventDefault();var d=e.attr("lang")||e[0].lang;b.jalios.I18N.toggleLang(d)});b(document).on("jalios:refresh",function(e){var d=b.jalios.Event.match(e,"refresh","after");if(!d||!d.target){return}c(d.target)});c()};var c=function(e){var d=b(e||document);d.find("FORM.lang-trigger").each(function(){var f=b(this);b.jalios.I18N.toggleScope(f.attr("lang"),f)});d.find("A.lang-fix").each(function(){var f=b(this);b.jalios.I18N.toggleLang(f.attr("lang"),f)})};b.jalios.I18N={glp:function(d){if(typeof I18N==="undefined"){return d}return I18N.glp.apply(this,arguments)},toggleLang:function(g,e){if(!g||g===""){return}var d=b(e||"#"+CtxMenuManager.latestElement);var f=d.data("jalios-target")?d.data("jalios-target"):d.closest("FORM");return b.jalios.I18N.toggleScope(g,f)},toggleScope:function(g,i){var f=b(i);if(!f.exists()){return}var h=f.identify("jq").attr("id");var e=f.data("jalios.lang.stamp");if(!e){e="lang-"+new Date().getTime();f.addClass(e);f.data("jalios.lang.stamp",e)}if(f.data("jalios.lang")){JCMS.util.StyleSheet.removeRule(".js ."+e+" .wdglang-"+f.data("jalios.lang"))}JCMS.util.StyleSheet.putRule(".js ."+e+" .wdglang","display: none;");JCMS.util.StyleSheet.putRule(".js ."+e+" .wdglang-"+g,"display: block;");f.data("jalios.lang",g);f.attr("lang",g);var d=b("#ctxLangForm SPAN.iso-639-visual[data-jalios-lang="+g+"]").first();f.find(".ctxLangForm SPAN.iso-639-visual").each(function(){b(this).replaceWith(d.clone())});document.fire("tabwdg:change",{tabPage:f.identify()})}};b(document).ready(function(d){a()})}(window.jQuery);; 7255!function(e){const d=32;const b=13;var f=function(k){var h=e(k.currentTarget);var j=h.attr("data-jalios-event");if(k.type=="click"&&k.which&&k.which>1){return}if(k.type=="click"&&k.which&&k.which===1&&k.ctrlKey){return}if(j&&j!=k.type&&((j==="input"&&k.type!=="change")||j!=="input")){return}if(!j&&k.type=="contextmenu"){return}var l=h.is(":button")||h.is(":submit")||h.is(":image");if(!j&&l&&k.type!="click"){return}var g=!(h.attr("type")=="radio"||h.attr("type")=="checkbox"||h.prop("tagName")=="SELECT");if(!j&&g&&k.type=="change"){return}if(!j&&!g&&k.type!="change"){return}var i=e.jalios.DataBroker.trigger(h,k);if(!i){return}if(h.is("A, :submit")){k.preventDefault()}k.stopPropagation();k.stopImmediatePropagation()};var a=function(k,j,l,g,i){if(j.currentTarget){if(e(j.currentTarget).attr("disabled")){return}}var h=jQuery.Event("jalios:broker");h.broker={};h.broker.type=k;h.broker.source=j;h.broker.target=l==="this"?j.currentTarget:l;h.broker.position=g;h.broker.options=i||{};h.broker.options.brokerTrigger=j.currentTarget;h.skip=j.skip;e(document).trigger(h);return h};var c=function(){e(document).on("click","A[data-jalios-action]",f);e(document).on("contextmenu","A[data-jalios-action]",f);e(document).on("click",":button[data-jalios-action], :submit[data-jalios-action], :image[data-jalios-action]",f);e(document).on("click",".broker[data-jalios-action]",f);e(document).on("keydown",function(g){if(!e(document.activeElement).is("A[data-jalios-action], :button[data-jalios-action], :submit[data-jalios-action], :image[data-jalios-action], .broker[data-jalios-action]")){return}if(g.keyCode===d||g.keyCode===b){e(document.activeElement).trigger("click");g.preventDefault()}});e(document).on("focusin focusout change input propertychange",":input[data-jalios-action]",f);e(document).on("datechange",':input[data-jalios-event="datechange"]',f)};if(!e.jalios){e.jalios={}}e.jalios.DataBroker={trigger:function(h,g,p){var k=h.attr("data-jalios-action");var m=h.attr("data-jalios-target");var l=h.attr("data-jalios-target-position");var j=h.attr("data-jalios-options");if(!k){return false}k=k.replace(/[\s]+/g," ");
7255if(j){try{j=e.parseJSON(j)}catch(n){try{j=e.jalios.Http.toQueryParams(j)}catch(n){}}p=e.extend(true,p||{},j)}m=m?m.split("|"):false;l=l?l.split("|"):false;var i=false;var o=false;e.each(k.split(" "),function(q,v){if(o){return}try{var u=!m?false:m.length==1?m[0]:(m.length>q?m[q]:"");var w=!l?false:l.length==1?l[0]:(m.length>q?l[q]:"");var r=a(v,g,u,w,p);o=o||r.isImmediatePropagationStopped();i=o||i||r.isPropagationStopped()}catch(s){e.console.log(s);i=true}});return i}};e(document).ready(function(g){c()})}(window.jQuery);; 7256!function(g){if(!g.jalios){g.jalios={}}var f=/(toggle|add|remove|sync|run):([\w-]+)/i;function a(j,k,i){this.target=k;this.swtch=j;this.position=i;this.self=true;this.clazz=true;this.attr=false;this.previous="";this.sync=true}a.prototype={constructor:a,getTarget:function(j){if(!this.target){return g(j)}var i=false;if(this.position){i=g(j)[this.position].apply(g(j),[this.target])}else{i=g(this.target)}if(!this.self){i=i.not(j)}return i},getAttribute:function(k,j){if(this.attr){return this.attr}var i=g(k).attr("data-jalios-target-attribute");return i?i:j}};var b=function(m,l,k){var j=g(m);var i=k.getTarget(m);if("add"==k.swtch){i.toggleClass(l,true)}else{if("remove"==k.swtch){i.toggleClass(l,false)}else{if("toggle"==k.swtch){i.removeClass(k.previous);i.toggleClass(l)}else{if("sync"==k.swtch){i.removeClass(k.previous);i.toggleClass(l,k.sync)}}}}};var e=function(n,k,j){var i=j.getTarget(n);var m=j.getAttribute(n,k);if("add"==j.swtch){i.attr(m,true)}else{if("remove"==j.swtch){i.attr(m,false)}else{if("toggle"==j.swtch){i.attr(m,function(p,o){return !o})}else{if("sync"==j.swtch){var l=g(n).is(":checked");i.prop(m,l)}}}}};var d=function(p,l,k){var j=g(p);var n=j.attr(l);var m=k.getAttribute(p,l);if(n===undefined){n=j.find("["+l+"]:selected").attr(l)}if(n===undefined){n=j.find("["+l+"]:checked").attr(l)}if(n===undefined){n=l}if("class"==m){b(p,n,k);return}var o="";if("add"==k.swtch){o=n}else{if("toggle"==k.swtch){o=function(r,q){return q==n?o:n}}else{if("sync"==k.swtch){o=n}}}var i=k.getTarget(p);if(g.fn[m]){g.fn[m].apply(i,o.split("|"))}else{g.fn.attr.apply(i,[m,o])}};var h=function(n){var j=g.jalios.Event.match(n,"broker");if(!j){return}var m=j.type.match(f);if(!m){return}var m=j.type.match(f);var l=m[1];var i=m[2];if(!l||!i){return}n.stopPropagation();var o=j.source.currentTarget;if(l=="run"){return window[i](o)}var k=g.jalios.ToggleManager.getOption(l,j.target,j.position);g.jalios.ToggleManager.toggle(o,i,k)};var c=function(){g(document).on("jalios:broker",h)};g.jalios.ToggleManager={getOption:function(j,k,i){return new a(j,k,i)},toggle:function(m,i,k){if(g.jalios.ToggleManager[i]){k.clazz=false;g.jalios.ToggleManager[i].apply(this,[m,k])}else{if(i.indexOf("data-")==0){k.clazz=false;d(m,i,k)}else{if(k.getAttribute(m,false)){k.clazz=false;d(m,i,k)}}}if(k.clazz){const j=g(m);const l=j.attr("aria-expanded");if(j.is("[aria-expanded]")){j.attr("aria-expanded",!JSON.parse(l))}k.sync=j.hasClass(k.clazz)||j.is(":checked");b(m,i,k)}},checked:function(j,i){i.self=false;i.clazz=true;e(j,"checked",i)},disabled:function(j,i){i.clazz=true;e(j,"disabled",i)},title:function(j,i){d(j,"title",i)},longdesc:function(j,i){d(j,"longdesc",i)},value:function(k,j){var i=g(k);if(i.is("SELECT")){g.each(k.options,function(){j.previous+=" "+g(this).attr("value")})}else{if(i.is("INPUT[type=radio]")){j.previous=g("input[name="+i.attr("name")+"]",k.form).map(function(){return g(this).attr("value")}).get().join(" ")}}d(k,"value",j)}};g(document).ready(function(i){c()})}(window.jQuery);; 7257!function(e){var d=function(){a();e(document).on("jalios:refresh",f)};var f=function(h){var g=e.jalios.Event.match(h,"refresh","after");if(!g){return}if(!g.target){return}a(g.target)};var a=function(h){h=h||e(document);h.find("UL.sortable, OL.sortable").each(function(){e.jalios.Sortable.buildSortable(this,{connectWith:e(this).attr("data-jalios-sortable-connect")})});var g="sortable-active";h.find("DIV.dnd-container").each(function(){var j=e(this);var i=j.hasClass("dnd-horizontal")?"x":j.hasClass("dnd-vertical")?"y":false;e.jalios.Sortable.buildSortable(this,{items:"> DIV",axis:i,revert:true,handle:".dnd-header, .dnd-handle",placeholder:"dnd-placeholder",connectWith:j.hasClass("dnd-single")||i?false:"DIV.dnd-container"})})};var c=function(i,g){var h=e(i);if(g&&h.hasClass("sortable-active")){return}if(!g&&!h.hasClass("sortable-active")){return}h.toggleClass("sortable-active",g)};var b=function(l,m){var g=e(l);
7257if(g.hasClass("dnd-debug")){if(l===m.item.parent()[0]){if(m.sender!==null){jQuery.console.log("[jalios-sortable]"," item",m.item," moved from container",m.sender," to ",g)}else{jQuery.console.log("[jalios-sortable]"," item ",m.item," moved inside container",g)}}}var j=g.hasClass("dnd-single-update");if(j&&l!==m.item.parent()[0]){return}var k=jQuery.Event("jalios:sortable");k.sortable={container:g,ui:m};e(document).trigger(k);var i=e.jalios.Sortable.serialize(g,g.hasClass("dnd-container")?"dnd-sortable":false);if(j&&m.sender!==null){var h=e.jalios.Sortable.serialize(m.sender,e(m.sender).hasClass("dnd-container")?"dnd-sortable-sender":"sortable-sender");i=e.extend(i,h)}k.currentTarget=l;e.jalios.DataBroker.trigger(g,k,{params:i})};if(!e.jalios){e.jalios={}}e.jalios.Sortable={serialize:function(g,k){var k=k||"sortable";var m=e(g);var i=m.children().map(function(){var q=e(this);var p=q.attr("data-value")||q.getJcmsId();if(p){return p}var o=q.children(":first");p=o.attr("data-value")||o.getJcmsId();if(p){return p}return q.attr("id")}).get();var n=e.jalios.Sortable.getSortableKey(m);var l={};var j=m.attr("data-sortable-params");try{l=e.extend(l,j&&JSON.parse(j))}catch(h){jQuery.console.error("Error parsing data-sortable-params on ",m,h)}l[k||"sortable"]=n;l[n]=i;return l},getSortableKey:function(g){return g.attr("data-value")||g.attr("id")||g.getJcmsId()||"sortitem"},buildSortable:function(i,h){var g=e(i);var h=h||{};g.sortable({items:h.items||"> LI",cancel:h.cancel||".sortable-disable, :input",axis:h.axis||(g.hasClass("sortable-x")?"x":g.hasClass("sortable-y")?"y":false),revert:h.revert||true,handle:h.handle||(g.hasClass("sortable-handle")?".sortable-handle":false),connectWith:h.connectWith||false,tolerance:h.tolerance||"intersect",placeholder:h.placeholder,update:function(j,k){b(this,k)},stop:function(j,k){c(this,false)},sort:function(j,k){c(this,true)},out:function(j,k){c(this,false)},over:function(j,k){c(this,true)}})}};e.fn.sortable=e.fn.sortable||{};e.fn.sortable.add=function(i){var h=e(i);if(!h.exists()){var g=e(this).hasClass("sortable")?"li":"div";h=e("<"+g+' data-value="'+i+'"></'+g+">")}return this.each(function(){e(this).append(h);b(this)})};e.fn.sortable.remove=function(g){e(g).remove();return this.each(function(){b(this)})};e(document).ready(function(g){d()})}(window.jQuery);var Sortable={};Sortable.create=function(){jQuery.console.warn("[Deprecated] JCMS requires the new Sortable framework");jQuery.console.stacktrace()};Sortable.destroy=function(){jQuery.console.warn("[Deprecated] JCMS requires the new Sortable framework");jQuery.console.stacktrace()};var Droppables={};Droppables.add=function(){jQuery.console.warn("[Deprecated] JCMS requires the new Sortable framework");jQuery.console.stacktrace()};var PortalSortable={};PortalSortable.create=function(){jQuery.console.warn("[Deprecated] JCMS requires the new Sortable framework");jQuery.console.stacktrace()};; 7258!function(b){var a=function(){b(document).on("jalios:sortable",d)};var d=function(e){var g=b.jalios.Event.match(e,"sortable");if(!g){return}c(g.container,false,false,e.sortable.ui.sender);var f=b(g.container);if(f.children().length==0){f.css("padding-bottom","50px")}};var c=function(e,l,g,m){var p=b(e);if(!p||!p.hasClass("dnd-container")){return}var h=p.hasClass("dnd-single-update");var o=false;if(!l&&m&&!h){o=function(){p.refresh({noscroll:true,nohistory:true})}}var f=b.jalios.Sortable.serialize(p,"dnd-sortable",m);if(h&&m!==null){var k=b.jalios.Sortable.serialize(m,"dnd-sortable-sender");f=b.extend(f,k)}if(l&&!g){var n=b.jalios.Sortable.getSortableKey(p);f[n].push(l)}else{if(l&&g){var n=b.jalios.Sortable.getSortableKey(p);var i=f[n];i.splice(b.inArray(l,i),1)}}var j=p.hasClass("dnd-noresponse")||!l;p.refresh({noscroll:true,nohistory:true,noresponse:j,callback:o,params:f})};if(!b.jalios){b.jalios={}}if(!b.jalios.Sortable){b.jalios.Sortable={}}b.jalios.Sortable.Portal={add:function(f,e){return c(f,e)},remove:function(f,e){return c(f,e,true)},insert:function(f,g,e){if(!f){return}var h=b.jalios.Sortable.Portal.$container;if(!h||!h.exists()){return}b.jalios.Sortable.Portal.add(h,f)},$container:false,openPubChooser:function(g){var e=b(g);var h=e.closest("DIV.dnd-container");var f=g.href;if(!h.exists()){JcmsLogger.warn("Sortable.Portal","openPubChooser(): cannot find container",e,h);return false}b.jalios.Sortable.Portal.$container=h;return Popup.popupWindow(f,"pubChooser",900,500,false,true,true,false)}};b(document).ready(function(e){a()})}(window.jQuery);; 7259!function(b){var a=function(){b(document).on("focusin",".sortable-lazy :input",function(){var d=b(this).closest(".sortable-lazy");b.jalios.Sortable.buildSortable(d);d.children().each(function(e){b(this).data("jalios.sortable",e)})});b(document).on("jalios:sortable",c)};var c=function(f){var j=b.jalios.Event.match(f,"sortable");if(!j){return}var i=b(j.container);if(!i||!i.hasClass("tab-group-list")){return}var e=j.ui.item;var d=i.children(".tab-group-list-item").index(e);var g=e.children();var h=g.data("jalios-fieldgroup");b(h?"A[data-jalios-fieldgroup="+h+"]":g).each(function(){var q=b(this);var l=q.closest(".tab-pane.wdglang");var m=l.exists()?l:b.jalios.ui.Widget.getWidget(q);var p=m.find(".tab-group-list");var o=q.closest(".tab-group-list-item");var t=p.find(".tab-group-list-item");var r=t.get(d);
7259if(r!==o[0]){if(t.index(o)>d){o.insertBefore(r)}else{o.insertAfter(r)}}var u=m.find(".input-group-list");var n=u.find(q.attr("href"));var s=u.find(".input-group-list-item");var k=s.get(d);if(k!==n[0]){n.find(".form-control").each(function(){var v=b(this);if(v.hasClass("control-wysiwyg")){v.removeWysiwyg()}});if(s.index(n)>d){n.insertBefore(k)}else{n.insertAfter(k)}n.find(".form-control").each(function(){var v=b(this);if(v.hasClass("control-wysiwyg")){v.initWysiwyg()}})}b.jalios.ui.renumberTabs(p,u)})};b(document).ready(function(d){a()})}(window.jQuery);; 7260!function(h){var p=function(){h(document).on("click","IMG.note",d);h(document).idleTimer(500,{name:"Hover"});h(document).on("Hover.idle",function(s){var r=h(s.timer.target);if(r.closest("DIV.popover.tt").exists()){return}if(r.closest(".dropdown-menu").exists()){return}i(r);b(r)});h(document).on("click",".ctxTooltipMenu",function(s){var r=h(s.currentTarget);b(r,true)});h(document).on("click",".ctxTooltipCard",function(s){var r=h(s.currentTarget);i(r,true)});h(document).on("mouseup",g);h(document).on("jalios:refresh",k);h(document).on("jalios:refresh",e)};var e=function(s){var r=h.jalios.Event.match(s,"refresh","after");if(!r){return}h(".tt-member2 .profile-contact-channel").tooltip()};var g=function(s){var r=h(s.target);if(!r.is("BUTTON.close")&&r.closest("DIV.popover.tt").exists()){return}if(r.data("bs.popover")){return}h("DIV.popover.tt").not(".tt-static").removeClass("in").hide()};var k=function(s){var r=h.jalios.Event.match(s,"refresh","before");if(!r){return}h("DIV.popover.tt").not(r.$target).removeClass("in").hide()};var c='<div class="popover popover-note tt-card tt no-focus"><div class="arrow"></div><button class="close icomoon-cross2 jalios-icon" type="button"></div></button><div class="popover-content ajax-refresh-div"></div></div>';var d=function(t){var r=h(t.target);var s=r.next("DIV.note").html();r.popover({html:true,template:c,container:"body",placement:"auto",content:s}).popover("show")};var m='<div class="popover tt-card tt no-focus"><div class="arrow"></div><button class="close icomoon-cross2 jalios-icon" type="button"></button><div class="popover-content ajax-refresh-div"></div></div>';var i=function(s,z){if(!s){return}if(h("BODY").hasClass("jcms-ttcard-disabled")){return}if(!s.is(".ctxTooltipCard")){var s=s.closest("A.ctxTooltipCard");if(!s.exists()){return}}if(s.prop("tagName")=="A"&&z){return}if(l(s,z)){return}if(s.closest(".noTooltipCard").exists()){return}var y=s.data("bs.popover");var x=s.data("popover-html");var w=y?y.tip():null;h("DIV.popover.tt").not(w).removeClass("in").hide();var u=(new Date()).getTime();if(x&&j+2000>u){s.popover({trigger:"manual",html:true,container:"body",delay:{show:500,hide:10000},template:m,content:x}).popover("show");return}j=u;var t=s.getJcmsId();var v=s.attr("class").replace("ID_"+t,"").replace("ctxTooltipCard","").replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|");var r="jcore/tooltip/ttCard.jsp?ttId="+encodeURIComponent(t)+"&ttContext="+encodeURIComponent(v);h.ajax({url:r,dataType:"html",cache:true,success:function(A){var B=h("<DIV/>").html(A);let popoverCss=B.find("[data-jalios-ttcard-class]").data("jalios-ttcard-class");B.imagesLoaded(function(){s.popover({trigger:"manual",html:true,container:"body",delay:{show:500,hide:10000},template:m,placement:"auto",content:A});s.popover("show");y=s.data("bs.popover");y.refreshInProgress=true;y.$tip.addClass(popoverCss);s.data("popover-html",x);if(!A){y.refreshInProgress=false;w.hide();return}y.refreshInProgress=false;h.jalios.AjaxRefresh.triggerRefreshEvent(h.jalios.AjaxRefresh.RefreshEventType.AFTER,r,y.$tip)})}})};var j=0;var o=function(){var r=h(this);return r.data("popover-html")||m};var f='<div class="popover tt tip no-focus"><div class="arrow"></div><div class="popover-content ajax-refresh-div"></div></div>';var b=function(r,s){if(!r){return}if(!r.is(".ctxTooltipMenu")){return}if(r.prop("tagName")=="A"&&s){return}if(l(r,s)){return}var t=r.offset();if(t.top==0&&t.left==0){return}r.popover({trigger:"manual",html:true,container:"body",delay:{show:1000,hide:5000},template:f,placement:"auto left",content:q});
7260a.call(r[0]);r.popover("show")};var q=function(){var r=h(this);return r.data("popover-html")||f};var a=function(){var w=h(this);var u=w.data("popover-html");var v=w.data("bs.popover");var y=w.data("bs.popover").tip();if(v.refreshInProgress==true){return u}h("DIV.popover.tt").not(y).removeClass("in").hide();var s=(new Date()).getTime();if(u&&j+2000>s){return n(w,y,u)}j=s;var r=w.attr("data-jalios-longdesc")||w.attr("data-jalios-tt-url");if(!r){r=w.attr("longDesc")}if(r){r+=(r.indexOf("?")>0?"&":"?")+"d="+(new Date()).getTime();w.refresh({url:r,target:y.find(".popover-content"),nohistory:true,noscroll:true,callback:function(z,A){if(!A){v.refreshInProgress=false;y.hide();return}v.refreshInProgress=true;n(w,y,A,true);v.show();v.refreshInProgress=false}})}else{if(w.attr("title")){var x='<p class="tip-content">'+w.attr("title")+"</p>";w.removeAttr("title");n(w,y,x);return x}else{if(w.attr("data-original-title")){var x='<p class="tip-content">'+w.attr("data-original-title")+"</p>";w.removeAttr("data-original-title");n(w,y,x);return x}else{if(u){n(w,y,u);return u}else{var t=w.nextAll(".ctxTooltip");if(!t.exists()){t=w.parent().nextAll(".ctxTooltip")}n(w,y,t.first().html());v.show()}}}}return"..."};var n=function(t,u,r,s){if(!r){u.hide();return}if(!s){u.find(".popover-content").html(r)}t.data("popover-html",r);return r};var l=function(s,t){if(!s.data("bs.popover")){return false}var u=s.data("bs.popover").$tip;if(u.hasClass("in")){if(t){u.removeClass("in").hide()}return true}var r=(new Date()).getTime();if(j+10000<r){return false}h("DIV.popover.tt").removeClass("in").hide();s.popover("show");return true};h(document).ready(function(r){p()})}(window.jQuery);; 7261!function(d){var b=function(){d(document).on("jalios:broker",f);d(document).on("click",".popup-lg",e)};var c=/popup-lg/i;var f=function(h){var g=d.jalios.Event.match(h,"broker",c,true,true);if(!g){return}var i=g.source.currentTarget;a(i,g.options)};var e=function(g){g.preventDefault();g.stopPropagation();g.stopImmediatePropagation();a(g.currentTarget)};var a=function(k,i){var h=d(k);var g=h.attr("data-jalios-url")||h.prop("href");var j=h.attr("title")||"Popup";d.jalios.Browser.popupWindow(g,j,900,600,true,true,true,false)};if(!d.jalios){d.jalios={}}d.jalios.Browser={isIE:function(g){if(!g){return d.browser.msie}return d.browser.msie&&g<=parseInt(d.browser.version,10)},isMobileSafari:function(){return/Apple.*Mobile/.test(navigator.userAgent)},reload:function(g){return d.jalios.Browser.redirect(false,g)},redirect:function(g,m,i){try{var k=m?window.opener:window;try{if(k.parent&&!k.parent.skipJsRedirect){k.parent.document;k=k.parent}}catch(h){}var j=k.document;var l=j.location;if(!g||l.href==g){l.reload(true)}else{if(typeof i==="undefined"||i){g=JCMS.Security.getUrlWithCSRFToken(g)}l.href=g}}catch(h){d.console.warn("Popup.redirect",h,h.message)}},popup:function(h,g,i){if(g){g=g.replace(new RegExp("[^a-zA-Z0-9_]+","img"),"");g=g.substr(0,48)}window.open(h,g,i);return false},updateUrl:function(g,h){if(h){document.title=h+" - "+d("body").data("channel-name")}else{document.title=d("body").data("channel-name")}window.history.replaceState(history.state,null,g)},popupWindow:function(j,u,t,n,m,i,p,r,k,v){if(!m){m="no"}if(!t){t=320}if(!n){n=260}i="resizable="+(d.jalios.Common.toBoolean(i,true)?"yes":"no");p="scrollbars="+(d.jalios.Common.toBoolean(p,true)?"yes":"no");if(r==undefined){r=true}if(!navigator.jalios){navigator.jalios=new Object()}var g=navigator.jalios.popupWindow;if(!k){k=window}if(u){u=u.replace(new RegExp("[^a-zA-Z0-9_]+","img"),"");u=u.substr(0,48)}var x=function(w){if(w&&w.opener){try{w.opener.name}catch(h){return false}return true}return false};if(!u&&!x(k)){u="_blank"}else{if(!r){if(g||k.name.indexOf(u)===0){var s=k.name.lastIndexOf("_");navigator.jalios.popupCounter=s>0?parseInt(k.name.substring(s+1))+1:(navigator.jalios.popupCounter?navigator.jalios.popupCounter+1:1);u=u+"_"+navigator.jalios.popupCounter}else{if(x(k)){var o=k.opener;while(o){u=o.name+"_"+u;o=x(o)?o.opener:null}}}}}if(r&&g&&g.close){g.close()}try{var l="status="+m+",width="+t+",height="+n+",menubar=no,"+i+","+p;navigator.jalios.popupWindow=k.open(j,u,l);d.console.debug("Popup","popupWindow",j,l);g=navigator.jalios.popupWindow;if(!g){alert(I18N.glp("warn.popup.blocker"))}}catch(q){alert(I18N.glp("warn.popup.blocker"))}k.callback=v?function(h){v.apply(this,$A(h))}:false;k.callbackLinkId=this.tagName?d(this).identify():false;
7261if(g&&g.focus){g.focus()}return false},callback:function(){var h=window.opener||window.parent;if(!h){return false}if(h.callback){h.callback(arguments);return true}if(!h.callbackLinkId){return false}var g=d.Event("jalios:popup");g.popup={};g.popup.type="callback";g.popup.args=arguments;d(h.document).trigger(g);return true},autoResize:function(j,i,o){if(!i){i=55}if(!o){o=50}var k=window.screenLeft?window.screenLeft:window.screenX;var m=window.screenTop?window.screenTop:window.screenY;var h=d(window);var l=h.height();var g=d(j).bounds();var n=g.height+i;n=Math.min(n,self.screen.availHeight);if(m&&(n+m>self.screen.availHeight)){n=self.screen.availHeight-m}window.resizeTo(h.width(),Math.max(o,n))},isInPopup:function(){return !(opener==undefined)}};d(document).ready(function(g){b()})}(window.jQuery);window.Popup={reload:jQuery.jalios.Browser.reload,redirect:jQuery.jalios.Browser.redirect,encode:jQuery.jalios.Http.encode,callback:jQuery.jalios.Browser.callback,popupWindow:jQuery.jalios.Browser.popupWindow,popupEvent:function(){jQuery.console.error("[Deprecated] popupEvent() Should use jQuery.jalios.Browser.popup")},autoResize:jQuery.jalios.Browser.autoResize,isInPopup:jQuery.jalios.Browser.isInPopup};; 7262!function(d){var c=/submit/i;var e=function(i){var h=d.jalios.Event.match(i,"broker",c,true);if(!h){return}var f=d(h.source.currentTarget);var g=f.closest("FORM");if(f.is("option")){f=f.parent()}if(f.data("jalios-submit-data")){d.each(f.data("jalios-submit-data"),function(j,k){a(g,j,k)})}if(g.exists()){g.submit()}};var b=function(){d(document).on("jalios:broker",e)};d(document).ready(function(f){b()});var a=function(f,g,h){var i=d('<input type="hidden" name="'+g+'" />');i.val(h);f.append(i)}}(window.jQuery);; 7263!function ($) { 7264let isCtrlKeyPressed = false; 7265const CTRL_KEY = 17; 7266const LEFT_CLICK = 1; 7267const MIDDLE_CLICK = 2; 7268const callback = function(event) { 7269// Listening on "click" and "mouseup" 7270// If "click" event, continue 7271// If "mouseup" event, only continue if it is a middleclick (which == 2) 7272// Else, return now. 7273let isMiddleClick = event.which === MIDDLE_CLICK; 7274const isFocusedClick = $.jalios.a11y.isFocusedClick(event); 7275if (event.type === "mouseup" && !isMiddleClick) { 7276return; 7277} 7278if (!isFocusedClick && !isMiddleClick) { 7279return; 7280} 7281const $elm = $(event.currentTarget); 7282const $target = $(event.target); 7283// Prevent link inside a clickable container to be handled by clickable event 7284if($target.data("jalios-action") && $target.data("jalios-action") != "clickable"){ 7285return; 7286} 7287if ($target.is("A") || $target.is(":input")) { 7288return true; 7289} 7290event.stopPropagation(); 7291event.stopImmediatePropagation(); 7292event.preventDefault(); 7293let url = null; 7294const $links = $("A", $elm); 7295const dataUrl = $elm.data("jalios-url"); 7296if (dataUrl) { 7297url = dataUrl; 7298} else if ($links.exists()) { // fallback to the first link found 7299url = $links.first().prop("href"); 7300} 7301if (url) { 7302const options = $elm.data("jalios-options"); 7303const eventWhich = event.which === undefined ? 1 : event.which; 7304const isLeftClick = eventWhich === LEFT_CLICK; 7305if(!options || !options.mode || options.mode === 'normal') { 7306// IE do not allow new tab to be opened through javascript 7307// Firefox does allow it, but needs the user to accept Firefox to open popups from the domain 7308let isBrowserHandleNewTab = $("BODY").hasClass("browser-Chrome"); 7309isBrowserHandleNewTab |= $("BODY").hasClass("browser-Firefox"); 7310if (isLeftClick || isFocusedClick) { 7311if (isBrowserHandleNewTab && (options && options.target === "_blank" || isCtrlKeyPressed)) { 7312// Handle options.target = "_blank" 7313const win = window.open(url, '_blank'); 7314} else { 7315document.location.href = url.startsWith("http") ? url : document.getElementsByTagName('base')[0].href + url; 7316} 7317} else if (isBrowserHandleNewTab && eventWhich === MIDDLE_CLICK) { 7318event.preventDefault(); 7319const win = parent.window.open(url, '_blank'); 7320} 7321} else if(options.mode === 'modal') { 7322if (isLeftClick || isFocusedClick) { 7323$.jalios.ui.Modal.openFromUrl(url, options); 7324} 7325} else if(options.mode === 'ajax') { 7326if (isLeftClick || isFocusedClick) { 7327// If there is no ajax options defined (just the mode option defined), add the url in o
7327ptions 7328if($.jalios.Common.size(options) === 1) { 7329options.url = url; 7330} 7331$elm.refresh(options); 7332} 7333} 7334} 7335}; 7336var onKeyDown = function(event) { 7337if (event.which === CTRL_KEY) { 7338isCtrlKeyPressed = true; 7339} 7340}; 7341var register = function() { 7342$(document).on("mouseup click keydown", ".clickable[data-jalios-url], [data-jalios-action='clickable']", callback); 7343$(document).keydown(onKeyDown); 7344$(document).keyup( function() { 7345isCtrlKeyPressed = false; 7346}); 7347}; 7348// Plugin initialization on DOM ready 7349$(document).ready(function($) { 7350register(); 7351}); 7352}(window.jQuery);; 7353!function(a){window.Typeahead=function(c,b){this.$element=a(c);this.options=a.extend({},a.fn.typeahead.defaults,b);this.matcher=this.options.matcher||this.matcher;this.sorter=this.options.sorter||this.sorter;this.highlighter=this.options.highlighter||this.highlighter;this.updater=this.options.updater||this.updater;this.$menu=a(this.options.menu).appendTo("body");this.source=this.options.source;this.shown=false;this.listen()};Typeahead.prototype={constructor:Typeahead,select:function(){var b=this.$menu.find(".active").attr("data-value");this.$element.val(this.updater(b)).change();return this.hide()},updater:function(b){return b},show:function(){var b=a.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});this.$menu.css({top:b.top+b.height,left:b.left});this.$menu.show();this.shown=true;return this},hide:function(){this.$menu.hide();this.shown=false;return this},lookup:function(c){var b;this.query=this.$element.val();if(!this.query||this.query.length<this.options.minLength){return this.shown?this.hide():this}b=a.isFunction(this.source)?this.source(this.query,a.proxy(this.process,this)):this.source;return b?this.process(b):this},process:function(b){var c=this;b=a.grep(b,function(d){return c.matcher(d)});b=this.sorter(b);if(!b.length){return this.shown?this.hide():this}return this.render(b.slice(0,this.options.items)).show()},matcher:function(b){return ~b.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(d){var e=[],c=[],b=[],f;while(f=d.shift()){if(!f.toLowerCase().indexOf(this.query.toLowerCase())){e.push(f)}else{if(~f.indexOf(this.query)){c.push(f)}else{b.push(f)}}}return e.concat(c,b)},highlighter:function(b){var c=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return b.replace(new RegExp("("+c+")","ig"),function(d,e){return"<strong>"+e+"</strong>"})},render:function(b){var c=this;b=a(b).map(function(d,e){d=a(c.options.item).attr("data-value",e);d.find("a").html(c.highlighter(e));return d[0]});b.first().addClass("active");this.$menu.html(b);return this},next:function(c){var d=this.$menu.find(".active").removeClass("active"),b=d.next();if(!b.length){b=a(this.$menu.find("li")[0])}b.addClass("active")},prev:function(c){var d=this.$menu.find(".active").removeClass("active"),b=d.prev();if(!b.length){b=this.$menu.find("li").last()}b.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this));if(this.eventSupported("keydown")){this.$element.on("keydown",a.proxy(this.keydown,this))}this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},eventSupported:function(b){var c=b in this.$element;if(!c){this.$element.setAttribute(b,"return;");c=typeof this.$element[b]==="function"}return c},move:function(b){if(!this.shown){return}switch(b.keyCode){case 9:case 13:case 27:b.preventDefault();break;case 38:b.preventDefault();this.prev();break;case 40:b.preventDefault();this.next();break}b.stopPropagation()},keydown:function(b){this.suppressKeyPressRepeat=~a.inArray(b.keyCode,[40,38,9,13,27]);this.move(b)},keypress:function(b){if(this.suppressKeyPressRepeat){return}this.move(b)},keyup:function(b){switch(b.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown){return}this.select();break;case 27:if(!this.shown){return}this.hide();break;default:this.lookup()}b.stopPropagation();b.preventDefault()},blur:function(c){var b=this;setTimeout(function(){b.hide()},150)},click:function(b){b.stopPropagation();b.preventDefault();this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active");a(b.currentTarget).addClass("active")}};a.fn.typeahead=function(b){return this.each(function(){var e=a(this),d=e.data("typeahead"),c=typeof b=="object"&&b;if(!d){e.data("typeahead",(d=new Typeahead(this,c)))}if(typeof b=="string"){d[b]()}})};a.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1};a.fn.typeahead.Constructor=Typeahead;a(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(c){var b=a(this);if(b.data("typeahead")){return}c.preventDefault();b.typeahead(b.data())})}(window.jQuery);; 7354!function(c){var b=(function(){var h=[];var d=false;var g;var e=function(i){clearTimeout(g);g=setTimeout(f,100)};var f=function(){for(var k=0,j=h.length;k<j;k++){h[k].apply()}};return{register:function(i){h.push(i);if(d===false){c(window).bind("resize",e);d=true}},unregister:function(l){for(var k=0,j=h.length;k<j;k++){if(h[k]==l){delete h[k];break}}}}}());var a=function(f,d){this.element=c(f);var e=c(f).find("li.tabdrop");if(e.exists()){this.dropdown=e;this.dropdown.find("li").addClass("tabdrop-fixed")}else{this.dropdown=c('<li class="dropdown hide pull-right tabdrop"><a class="dropdown-toggle" data-toggle="dropdown" href="#">'+d.text+' <b class="caret"></b></a><ul class="dropdown-menu"></ul></li>').prependTo(this.element)}if(this.element.parent().is(".tabs-below")){this.dropdown.addClass("dropup")}b.register(c.proxy(this.layout,this));this.layout()};a.prototype={constructor:a,layout:function(){var d=[];this.dropdown.removeClass("hide");this.element.append(this.dropdown.find("li")).find(">li").not(".tabdrop").each(function(){if(this.offsetTop>0||c(this).hasClass("tabdrop-fixed")){d.push(this)}});if(d.length>0){d=c(d);this.dropdown.find("ul").empty().append(d);if(this.dropdown.find(".active").length==1){this.dropdown.addClass("active")}else{this.dropdown.removeClass("active")}}else{this.dropdown.addClass("hide")}}};c.fn.tabdrop=function(d){return this.each(function(){var g=c(this),f=g.data("tabdrop"),e=typeof d==="object"&&d;if(!f){g.data("tabdrop",(f=new a(this,c.extend({},c.fn.tabdrop.defaults,e))))}
7354if(typeof d=="string"){f[d]()}})};c.fn.tabdrop.defaults={text:'<i class="icon-align-justify"></i>'};c.fn.tabdrop.Constructor=a}(window.jQuery);; 7355if(Prototype.BrowserFeatures.ElementExtensions){var disablePrototypeJS=function(c,b){var a=function(d){d.target[c]=undefined;setTimeout(function(){delete d.target[c]},0)};b.each(function(d){jQuery(window).on(c+".bs."+d,a);jQuery(window).on(c+".spectrum."+d,a)})},pluginsToDisable=["collapse","dropdown","modal","tooltip","popover","tab"];disablePrototypeJS("show",pluginsToDisable);disablePrototypeJS("hide",pluginsToDisable)};; 7356!(function(d){var a="objectFit" in document.documentElement.style;const c=function(){if(!a){d("IMG.is-object-fit").each(function(e,f){let $element=d(f);let imgUrl=$element.prop("src");if(imgUrl&&!$element.hasClass("object-fit-compat")){$element.css("backgroundImage","url("+imgUrl+")").addClass("object-fit-compat").attr("alt","").attr("src","")}})}};const b=function(e){if(e.refresh.type!=="after"){return}c()};d(document).ready(function(){if(!a){c();d(document).on("jalios:refresh",b)}})})(window.jQuery);; 7357!function(b){if(!b.jalios){b.jalios={}}if(!b.jalios.ui){b.jalios.ui={}}var h=function(){b(document).on("click",".nav-tabs > LI > A, .nav-tabs .tabdrop .dropdown-menu > LI > A",j);b(document).on("click",".widget .nav-pills > LI > A, .widget .nav-pills .tabdrop .dropdown-menu > LI > A",a);b(document).on("jalios:refresh",e);i();b(document).on("jalios:field",d)};var e=function(l){var k=b.jalios.Event.match(l,"refresh","after");if(!k){return}if(!k.target){return}k.target.each(function(){i(this)})};var j=function(m){var n=b(m.currentTarget);if(n.attr("href")&&(n.attr("href").indexOf("#")<0||n.attr("href")==="#")){return}if(n.is("button, [role=button]")){return}var l=n.closest(".nav-tabs");if(l.hasClass("nav-static")){return}m.preventDefault();n.tab("show");var k=n.attr("href");k=k&&k.replace(/.*(?=#[^\s]*$)/,"");var o=jQuery.Event("jalios:tab");o.tab={trigger:n,pane:b(k)};b(document).trigger(o)};const d=function(k){if(!k.field||!k.field.type){return}if(k.field.type!=="addedField"){return}if(k.field&&k.field.clones&&k.field.clones[1]){g(b(k.field.clones[1]))}};const f=function(k){if(b(k.currentTarget).closest(".ui-sortable-helper").length>0){return}const l=b(k.currentTarget).closest(".tab-group-list-item >a").data("jalios-fieldgroup");if(!l){return}let futureGroupFieldToActivate=undefined;b("A[data-jalios-fieldgroup="+l+"]").each(function(m,p){const o=b(p).closest(".tab-group-list");const n=b(p).closest(".widget-content").find(".input-group-list");const q=b(p).closest(".widget-content").find("li.active");if(!futureGroupFieldToActivate){let $futureTabToActivate=q.next();if($futureTabToActivate.length===0){$futureTabToActivate=q.prev().first();futureGroupFieldToActivate=$futureTabToActivate.find(" >a").data("jalios-fieldgroup")}else{futureGroupFieldToActivate=l}}q.remove();b.jalios.ui.renumberTabs(o,n)});c(futureGroupFieldToActivate)};b.jalios.ui.renumberTabs=function(l,k){l.find(".tab-group-list-item").each(function(p,q){const t=b(this);const n=t.children();const m=n.attr("href");const o=m.substring(0,m.lastIndexOf("_")+1)+p;n.attr("href",o).html(p+1);const s=n.data("jalios-fieldgroup");if(s){const r=s.substring(0,s.lastIndexOf("_")+1)+p;n.data("jalios-fieldgroup",r);n.attr("data-jalios-fieldgroup",r)}});g(l.find(".tab-group-list-item.active"));k.find(".input-group-list-item").each(function(n){const o=b(this);const p=o.attr("id");const m=p.substring(0,p.lastIndexOf("_")+1)+n;o.attr("id",m)})};const g=function(k){if(k.closest(".tab-group-list").find(">li").length===1){return}const o=k.find(" >a").data("jalios-fieldgroup");if(!o){return}const l=k.closest(".tab-group-list");if(l.length===0){return}l.find(".tab-group-list-item__delete").remove();if(b("#hb-tab-group-list-item__delete").length>0){const n=Handlebars.compile(b("#hb-tab-group-list-item__delete").html());const m=b(n());l.find(".tab-group-list-item.active > a").append(m);m.on("click",f)}};const c=function(k){b("A[data-jalios-fieldgroup="+k+"]").each(function(l,m){b(m).tab("show");g(b(m).closest(".tab-group-list-item"))})};const a=function(k){k.preventDefault();const l=b(k.currentTarget);const m=l.data("jalios-fieldgroup");if(m){c(m)}else{l.tab("show")}};var i=function(k){b(k||document).find(".nav-pills, .nav-tabs").not(".no-tab-drop").tabdrop({text:'<span class="fa fa-bars"></span>'});b(k||document).find(".tab-pane").each(function(){var m=b(this);var l=b(this).children(".tab-page").children(".tab");if(!l.exists()){return}m.addClass("tab-content").removeClass("tab-pane");l.each(function(n){var p=n==0?" active":"";var r=b(this).closest(".tab-page").addClass("tab-pane").addClass(p).removeClass("tab-page").identify().attr("id");var o='<a href="#'+r+'">'+this.innerHTML+"</a>";var q=b(this).find("A").first();if(q.exists()){q.attr("href","#"+r);o=this.innerHTML}b(this).replaceWith(b('<li class="tab'+p+'">'+o+"</li>"))});if(m.hasClass("tab-old-style")){l=b('<ul class="nav nav-tabs br"></ul>').insertBefore(m).append(b(".tab-pane > .tab",this))}else{l=b('<ul class="nav nav-tabs nav-tabs-underlined is-left-aligned br"></ul>').insertBefore(m).append(b(".tab-pane > .tab",this))}if(m.attr("id")=="mainTab"&&b("#tab-pane-anchor").exists()){b("#tab-pane-anchor").append(l)}});b(".inner-tabs",k||document).each(function(){b(this).find("> UL").addClass("nav nav-tabs nav-static").find("LI").addClass("tab").filter(".enabled").removeClass("enabled").addClass("active")});b(".tab-group-list-item.active").each(function(l,m){g(b(m))})};b.jalios.ui.Tab={upgrade:i};b(document).ready(function(k){h()})}(window.jQuery);function setSelectedTab(c,b){var a=jQuery("#"+c);var d;if(a.hasClass("tab-content")){d=a.parent().find("> UL.nav-tabs")}else{d=a.find("UL.nav-tabs")}if(!d.exists()){d=a.closest("FORM").find("UL.nav-tabs")}availableLi=d.find(">LI");availableLi.filter(function(e){return !(jQuery(this).hasClass("dropdown"))}).filter(function(e){return e===b}).find("A").tab("show")}if(Event.observe){Event.observe(document,"refresh:after",function(a){if
7357(a&&a.memo&&a.memo.wrapper){var b=document.getElementById(a.memo.wrapper);jQuery.jalios.ui.Tab.upgrade(b)}})}jQuery(document).on("jalios:tab",function(a){document.fire("tabpane:change",{tabPage:a.tab.trigger.identify().attr("id")})});; 7358!(function ($) { 7359// ------------------------------------------ 7360// PRIVATE: Register 7361// ------------------------------------------ 7362const SPACE_KEY = 32; 7363const ENTER_KEY = 13; 7364const CONFIRM_MODAL_OPTIONS = { 7365title: I18N.glp('confirm-danger.lbl.confirm-delete'), 7366message: I18N.glp('confirm-danger.lbl.confirm-delete.message'), 7367btnCancel: I18N.glp('confirm-danger.lbl.cancel'), 7368btnDelete: I18N.glp('confirm-danger.lbl.delete') 7369}; 7370// Action regexp 7371var pattern = /modal/i; 7372// Debug function 7373var callback = function (event) { 7374// Skip loop event 7375if (event && event.skip == 'modal') { 7376return; 7377} 7378// Check event 7379var broker = $.jalios.Event.match(event, 'broker', pattern, true, true); 7380if (!broker) { 7381return; 7382} 7383// Element 7384var elm = broker.source.currentTarget; 7385// Call show() function 7386$.jalios.ui.Modal.open(elm, broker.options); 7387}; 7388var fallback = function (event) { 7389// Skip loop event 7390if (event.skip == 'modal') { 7391return; 7392} 7393// Prevent click 7394event.preventDefault(); 7395// Prevent propagation 7396event.stopPropagation(); 7397// Prevent other handlers 7398event.stopImmediatePropagation(); 7399// Call show() function 7400$.jalios.ui.Modal.open(event.currentTarget); 7401// Hide CtxMenu 7402$.jalios.ui.CtxMenu.hide(); 7403}; 7404var previousModalIdx = 0; 7405var restorePreviousModal = function (event) { 7406var $previousModal = $('#jalios-previous-modal-' + previousModalIdx); 7407if ($previousModal.exists()) { 7408$previousModal.prop('id', 'jalios-modal'); 7409$previousModal.modal('show'); 7410previousModalIdx--; 7411} 7412}; 7413// Focus opener element when modal closes 7414const handleFocusOnClose = function (event) { 7415const preventFocus = $(event.target).data("jalios-modal-prevent-focus"); 7416if (preventFocus) { 7417return; 7418} 7419const $elementToFocusOnClose = $($(event.target).data("jalios-modal-focus")); 7420if ($elementToFocusOnClose.exists()) { 7421$elementToFocusOnClose.focusElement(); 7422} else { 7423const $trigger = $($(event.target).data("jalios-modal-trigger")); 7424if ($trigger.exists()) { 7425$trigger.focusElement(); 7426} 7427} 7428$(event.target).removeData("jalios-modal-trigger"); 7429} 7430var backupPreviousModal = function ($trigger) { 7431var $closestModal = $trigger ? $trigger.closest('DIV.modal') : $('#jalios-modal'); 7432if ($closestModal.exists() && $closestModal.is(':visible')) { 7433previousModalIdx++; 7434$.jalios.ui.Modal.close(false); 7435$('#jalios-modal').prop('id', 'jalios-previous-modal-' + previousModalIdx); 7436} 7437}; 7438const registerModalElementQuery = function() { 7439if (typeof(elementQuery) === 'undefined') { 7440return; 7441} 7442$(document).on('shown.bs.modal', function(event) { 7443setTimeout(function() { 7444elementQuery(); 7445},200); 7446}) 7447$(document).on('jalios:refresh', function(event) { 7448let refresh = $.jalios.Event.match(event, 'refresh', 'after'); 7449if (!refresh || !refresh.target){ 7450return; 7451} 7452if ($(refresh.target).closest(".modal").exists()) { 7453setTimeout(function() { 7454elementQuery(); 7455},200); 7456} 7457}); 7458} 7459var register = function () { 7460// Register to broker 7461$(document).on('jalios:broker', callback); 7462$(document).on('modal:redirect', $.jalios.ui.Modal.handleModalRedirect); 7463// Register fallback 7464$(document).on('click', 'A.modal', fallback); 7465$(document).on('click', ':button.modal', fallback); 7466$(document).on('click', ':submit.modal', fallback); 7467$(document).on('click', 'area.modal', fallback); 7468$(document).on('keydown', 'A.modal', function(event) { 7469if(!$(document.activeElement).is('.modal')) { 7470return; 7471} 7472if(event.keyCode === SPACE_KEY || event.keycode === ENTER_KEY) { 7473$(document.activeElement).trigger("click"); 7474event.preventDefault(); 7475} 7476}); 7477$(document).on('hide.bs.modal', restorePreviousModal); 7478$(document).on("hide.bs.modal", handleFocusOnClose); 7479registerModalElementQuery(); 7480// Smart submit 7481$(document).on('keydown', function (event) { 7482if (event.which != 13) { 7483return; 7484} // Carriage return 7485var $body = $(document.body); 7486if (!$body.hasClass('modal-open')) { 7487return; 7488} 7489var $target = $(event.target); 7490if ($target.prop('tagName') == 'TEXTAREA') { 7491return; 7492} 7493if ($target.is('[class^=mce-]')) { 7494// skip validation of TinyMCE popin forms 7495return; 7496}
7497if ($target.parent().is('.modal-footer')) { 7498// do not automatically submit if inside the modal's footer (JCMS-6588) 7499return; 7500} 7501if ($target.is('a')) { 7502return; 7503} 7504if ($target.is(':input:not(.select2-search__field)')) { 7505var $primary = $body.find('.modal-content .modal-footer .btn-primary[type=submit]').last(); 7506if (!$primary.exists()) { 7507return; 7508} 7509var evt = $.Event('click'); 7510evt.which = 1; 7511$primary.trigger(evt); 7512event.preventDefault(); 7513} 7514}); 7515}; 7516// ------------------------------------------ 7517// PUBLIC 7518// ------------------------------------------ 7519// Namespace 7520if (!$.jalios) { 7521$.jalios = {}; 7522} 7523if (!$.jalios.ui) { 7524$.jalios.ui = {}; 7525} 7526/** 7527* Manage Jalios Modals using Bootstrap framework. 7528* <br/><br/> 7529* 7530* <h5>Trigger</h5> 7531* The trigger will be treadted as an Ajax-Refresh trigger for a given Modal. All ajax-refresh features applies. 7532* <ul> 7533* <li>Must have class <code>modal</code> or attribute <code>data-jalios-action="modal"</code></li> 7534* <li>Classes <code>alert</code>, <code>confirm</code>, <code>prompt</code>, <code>warning</code> open a custom modal</li> 7535* <li>FIXME: data-jalios-modal="keyboard, static, ..."</li> 7536* <li>FIXME: prompt.jsp vs enter key</li> 7537* <li>FIXME; Resize on ajax-refresh </li> 7538* </ul> 7539* 7540* <h5>Data</h5> 7541* <code>$.jalios.ui.Modal.latest</code> is an object with latest modal information. 7542* <ul> 7543* <li>trigger: the trigger opening the modal</li> 7544* <li>value: information given by <code>$.jalios.ui.Modal.close()</code></li> 7545* </ul> 7546* 7547* <h5>Events</h5> 7548* An event <code>jalios:modal</code> is trigged when a modal is closed with the following information. 7549* <ul> 7550* <li>modal.type: closed is the event type</li> 7551* <li>modal.latest: references to <code>$.jalios.ui.Modal.latest</code></li> 7552* </ul> 7553* 7554* @namespace $.jalios.ui.Modal 7555* @copyright Jalios SA 7556* @see $.jalios.DataBroker 7557* @see $.jalios.AjaxRefresh 7558* 7559* @example 7560* 7561* <%@ include file='/jcore/doInitPage.jspf' %> 7562* 7563* <% if (hasParameter("opSubmit")) { %> 7564* <%-- request.setAttribute("modal.redirect", "customRedirect.jsp"); --%> 7565* <%@ include file="/jcore/modal/modalRedirect.jspf" %> 7566* <% } %> 7567* 7568* <% 7569* if (hasParameter("opRefresh")) { 7570* String text = getUntrustedStringParameter("text", ""); 7571* jcmsContext.setInfoMsg("Your text: " + encodeForHTML(text)); 7572* } 7573* %> 7574* 7575* <div class="ajax-refresh-div"> 7576* <a href="debug/modal.jsp" class="ajax-refresh-url" style="display:none"></a> 7577* <form action="debug/modal.jsp" method="post" name="editForm"> 7578* <div class="modal-form" style="width:500px;"> 7579* 7580* <div class="modal-header"> 7581* <img src="images/jalios/logos/powered-by-jalios.gif" class="visual"/> 7582* <h3>Example of form modal</h3> 7583* </div> 7584* 7585* <%-- 7586* int step = formHandler.getFormStep(); 7587* int stepCount = formHandler.getFormStepCount(); 7588* String stepPrefixProp = "jcmsplugin...steps."; 7589* %><%@ include file='/jcore/doSteps.jspf' --%> 7590* 7591* <div class="modal-body"> 7592* <%@ include file='/jcore/doMessageBox.jspf' %> 7593* <div class="info">The introduction...</div> 7594* 7595* <input name="text" value="Enter some text" /> 7596* </div> 7597* 7598* <div class="modal-footer"> 7599* <%-- @ include file='/jcore/doStepButtons.jspf' --%> 7600* <a href="#" class="ajax-refresh">Refresh Link</a> 7601* <input type="submit" class="btn" name="opCancel" onclick="return JCMS.window.Modal.close(false);" value="<%= glp("ui.com.btn.cancel") %>"/> 7602* <input type="submit" class="btn ajax-refresh" name="opRefresh" value="<%= glp("ui.com.btn.refresh") %>" /> 7603* <input type="submit" class="btn btn-primary ajax-refresh" name="opSubmit" value="<%= glp("ui.com.btn.save") %>" /> 7604* </div> 7605* </div> 7606* </form> 7607* 7608* <%@ include file='/jcore/doAjaxFooter.jspf' %> 7609* </div> 7610* 7611*/ 7612$.jalios.ui.Modal = { 7613latest: {}, 7614/** 7615* Open a modal to a given URL 7616* <ul> 7617* <li>A common modal is created or reused</li> 7618* <li>An Ajax-Refresh is performed on modal with the given URL</li> 7619* </ul> 7620* 7621* Options 7622* <ul> 7623* <li>callback</li> 7624* </ul> 7625* 7626* @param {string} url the url to access 7627* @param {object} options (optional) 7628*/ 7629openFromUrl: function (url, options) { 7630backupPreviousModal(); 7631// Build modal if needed 7632var $modal = $.jalios.ui.Modal.getModal(); 7633if (!$modal || !$modal.exists()) { 7634return; 7635}
7636// Reset modal's data 7637$.jalios.ui.Modal.latest = options || {}; 7638// Show modal 7639$modal.modal('show'); 7640// Show perform ajax-refresh 7641var opts = $.extend( 7642true, 7643{}, 7644{ 7645url: url, 7646noscroll: true, 7647nohistory: true 7648}, 7649options 7650); 7651opts.callback = false; 7652$modal.refresh(opts); 7653// Hide CtxMenu 7654$.jalios.ui.CtxMenu.hide(); 7655}, 7656/** 7657* Open a modal to a given Trigger 7658* <ul> 7659* <li>A common modal is created or reused</li> 7660* <li>An Ajax-Refresh is performed on modal with the given trigger</li> 7661* </ul> 7662* 7663* <h5>Custom classes:</h5> 7664* <ul> 7665* <li><code>alert</code>: simple alert (ok)</li> 7666* <li><code>confirm</code>: simple confirm (ok/cancel)</li> 7667* <li><code>prompt</code>: simple prompt (ok/cancel/input)</li> 7668* <li><code>warning</code>: simple warnint (ok/cancel)</li> 7669* </ul> 7670* These custom class append a <code>msg-box</code> class to modal. 7671* 7672* <h5>Images:</h5> 7673* IMG source ending with jpg|jpeg|gif|png|bmp will open a custom modal (image.jsp). 7674* The class <code>ajax-lazy-chunk</code> on a refreshed content trigger resize of the modal after loading. 7675* 7676* <h5>data-*</h5> 7677* The attribute <code>data-jalios-modal-url</code> is a workaround when <code>data-jalios-ajax-refresh-url</code> can't be used. 7678* (Modal could be opened on DIV's clicks) 7679* 7680* <ul> 7681* <li>FIXME: Handle CtxMenu Trigger</li> 7682* </ul> 7683* 7684* @param {element} trigger the trigger 7685* @param {object} options (optional) 7686*/ 7687open: function (trigger, options) { 7688let that = this; 7689if (!trigger) { 7690return false; 7691} 7692var $trigger = $(trigger); 7693// Do not handle action in .disabled 7694if ($trigger.is('.disabled') || $trigger.closest('LI').is('.disabled')) { 7695return false; 7696} 7697backupPreviousModal($trigger); 7698$.jalios.ui.Modal.latest = options || {}; 7699$.jalios.ui.Modal.latest.trigger = $trigger; 7700// Build modal 7701let $modal; 7702if ($trigger.hasClass('confirm-danger')) { 7703// Remove any previous modal from DOM before getting the danger modal 7704if ($('#jalios-modal').length > 0) { 7705$('#jalios-modal').remove(); 7706} 7707//Build the modal 7708$modal = that.getDangerModal($trigger, function (event) { 7709that.closeAndFollow(true); 7710}); 7711} else { 7712$modal = that.getModal(); 7713} 7714if (!$modal || !$modal.exists()) { 7715return; 7716} 7717// Case 1: Dialog Message 7718var url = false; 7719var helper = false; 7720if ($trigger.hasClass('alert')) { 7721url = 'jcore/modal/alert.jsp'; 7722helper = true; 7723} else if ($trigger.hasClass('confirm')) { 7724url = 'jcore/modal/confirm.jsp'; 7725helper = true; 7726} else if ($trigger.hasClass('prompt')) { 7727url = 'jcore/modal/prompt.jsp'; 7728helper = true; 7729} else if ($trigger.hasClass('warning')) { 7730url = 'jcore/modal/warning.jsp'; 7731helper = true; 7732} else if ($trigger.hasClass('permalink')) { 7733url = 'jcore/modal/permalink.jsp'; 7734helper = true; 7735} 7736// Set helper data 7737if (helper) { 7738if ($trigger.attr('data-jalios-confirm-url')) { 7739url = $trigger.attr('data-jalios-confirm-url'); 7740} 7741if (url.indexOf('?') !== -1) { 7742url += '&'; 7743} else { 7744url += '?'; 7745} 7746// Custom modal message 7747var msg = $trigger.attr('data-jalios-text') || $trigger.attr('title'); 7748url += msg ? 'msg=' + $.jalios.Http.encode(msg) + '&' : ''; 7749$modal.addClass('modal-msg'); 7750// Custom title (currently only for prompt modal) 7751const title = $trigger.data('jalios-modal-title'); 7752title && (url += 'title='+$.jalios.Http.encode(title)+'&'); 7753var def = $trigger.attr('data-jalios-modal-default'); 7754if (!def && $trigger.hasClass('permalink')) { 7755def = $trigger[0].href; 7756} 7757url += def ? '&defValue=' + $.jalios.Http.encode(def) + '&' : ''; 7758} 7759// Case 2: Modal images 7760var href = $trigger.get(0).href; // fix bug DEVJCMS-5 : DO NOT use $elm.attr('href') 7761if (href && href.match(new RegExp('(jpg|jpeg|gif|png|bmp)([?][^?]+)*$', 'img'))) { 7762url = 'jcore/modal/image.jsp?url=' + $.jalios.Http.encode(href); 7763// In Iframe, display image in a popup 7764// FIXME if Util.isInIFrame() Popup.popupWindow(tag.href, tag.readAttribute('title') || tag.href, 640, 480); 7765} 7766// Case 3: Handle data-jalios-modal-url hack when data-jalios-ajax-refresh-url is not available 7767var href = $trigger.attr('data-jalios-modal-url'); 7768if (href) { 7769url = href; 7770} 7771// Case 4: Url has been forced and override value 7772if (options && options.url) { 7773url = options.url; 7774} 7775// Show modal 7776$modal.modal('show'); 7777$modal.data("jalios-modal-trigger", trigger); 7778// Show perform ajax-refresh 7779var opts = $.extend( 7780true, 7781{}, 7782{ 7783target: '#jalios-modal', 7784url: url, 7785noscroll: true, 7786nohistory: true, 7787waiting: $trigger.hasClass('modal-waiting') 7788}, 7789options 7790); 7791opts.callback = false;
7792$trigger.refresh(opts); 7793// Hide CtxMenu 7794$.jalios.ui.CtxMenu.hide(); 7795}, 7796/** 7797* Open a prompt dialog with given message and call the callback with the given value. 7798* 7799* @param {string} msg the message to display 7800* @param {string} callback the callback to call (optional) 7801* @param {string} defvalue the default value to fill prompt (optional) 7802* @param {string} title to display (can be null) 7803*/ 7804prompt: function (msg, callback, defvalue, title) { 7805// Build URL 7806var url = 'jcore/modal/prompt.jsp?msg=' + $.jalios.Http.encode(msg); 7807// Append default value to url 7808if (defvalue) { 7809url += '&defValue=' + defvalue; 7810} 7811// Custom title 7812title && (url += '&title='+$.jalios.Http.encode(title)); 7813// Open a modal to the given URL 7814$.jalios.ui.Modal.openFromUrl(url, { 7815callback: callback, 7816value: defvalue 7817}); 7818return false; 7819}, 7820/** 7821* Open a confirm dialog with given message and call the callback with the given value. 7822* 7823* @param {string} msg the message to display 7824* @param {string} callback the callback to call (optional) 7825* @param {boolean} reverse the condition (optional) 7826*/ 7827confirm: function (msg, callback, reverse) { 7828// Build URL 7829var url = 'jcore/modal/confirm.jsp'; 7830let message; 7831if (typeof msg === 'string') { 7832message = msg; 7833} else if ($(msg).exists()) { 7834// if first param is not a string but an element 7835let $trigger = $(msg); 7836message = $trigger.attr('data-jalios-text') || $trigger.attr('title'); 7837url = $trigger.attr('data-jalios-confirm-url') || url; 7838} 7839if (url.indexOf('?') !== -1) { 7840url += '&'; 7841} else { 7842url += '?'; 7843} 7844// Custom modal message 7845url += message ? 'msg=' + $.jalios.Http.encode(message) : ''; 7846// Open a modal to the given URL 7847$.jalios.ui.Modal.openFromUrl(url, { 7848params: { 7849modalConfirm: true 7850}, 7851callback: function (value) { 7852if (value && !reverse) { 7853callback(value); 7854} 7855if (!value && reverse) { 7856callback(value); 7857} 7858} 7859}); 7860return false; 7861}, 7862/** 7863* Open an alert dialog with given message and call the callback with the given value. 7864* 7865* @param {string} msg the message to display 7866* @param {string} callback the callback to call (optional) 7867*/ 7868alert: function (msg, callback) { 7869// Build URL 7870var url = 'jcore/modal/alert.jsp?msg=' + $.jalios.Http.encode(msg); 7871var opts = {}; 7872if (callback) { 7873opts['callback'] = function (value) { 7874callback(value); 7875}; 7876} 7877// Open a modal to the given URL 7878$.jalios.ui.Modal.openFromUrl(url, opts); 7879return false; 7880}, 7881confirmDangerModalWithOptions: function(callback, options = CONFIRM_MODAL_OPTIONS){ 7882// todo options or data 7883const $confirmDangerModal = this.getDangerModalWithOptions(callback, options) 7884// Show the modal 7885$confirmDangerModal.modal({ keyboard: true, backdrop: 'static' }); 7886}, 7887confirmDanger: function (trigger, callback) { 7888// Create the modal 7889let $confirmDangerModal = this.getDangerModal($(trigger), callback); 7890// Show the modal 7891$confirmDangerModal.modal({ keyboard: true, backdrop: 'static' }); 7892}, 7893confirmInModal: function (trigger, callback) { 7894const $trigger = $(trigger); 7895const $modalFooter = $trigger.closest('DIV.modal .modal-content .modal-footer'); 7896const $modalSteps = $trigger.closest('DIV.modal').find('.modal-steps'); 7897const $modalContent = $trigger.closest('DIV.modal .modal-content'); 7898var $modalDialog = $trigger.closest('DIV.modal .modal-dialog'); 7899var text = $trigger.attr('data-jalios-text') || $trigger.attr('title') || I18N.glp('msg.js.confirm'); 7900var confirmText = $trigger.attr('data-jalios-text-confirm') || I18N.glp('com.lbl.ok'); 7901var html = 7902'<div class="modal-footer modal-confirm">' + 7903'<div class="flex">' + 7904'<div class="confirm-message">' + 7905text + 7906'</div>' + 7907'<div class="confirm-buttons">' + 7908'<button class="btn btn-danger btn-confirm">' + 7909confirmText + 7910'</button>' + 7911'<button class="btn btn-default btn-cancel-confirm">' + 7912I18N.glp('com.lbl.cancel') + 7913'</button>' + 7914'</div>' + 7915'</div>' + 7916'</div>'; 7917var $html = $(html).hide(); 7918$html 7919.appendTo($modalContent) 7920.delay(100) 7921.queue(function (next) { 7922$trigger.closest('DIV.modal .modal-content').find('.modal-body').hide(); 7923$modalFooter.hide(); 7924$modalSteps.hide(); 7925$(this).fadeIn(); 7926//$modalDialog.addClass('modal-confirm-danger'); 7927next(); 7928}); 7929// OK - Cancel 7930$html.find('.btn-cancel-confirm, .btn-danger').on('click', function (event) { 7931event.preventDefault(); 7932var $target = $(event.target); 7933var $w = $target.closest('.modal-confirm'); 7934var $that = $(this); 7935let showingModalFooter = false;
7936if ($target.hasClass('btn-confirm')) { 7937$('.modal-footer', $w).hide(); 7938$('.modal-body', $w).show(); 7939var source = document.getElementById('jalios-loading-wave').innerHTML; 7940var template = Handlebars.compile(source); 7941$('.modal-body',$w).addClass('text-center').html(template()); 7942} else if ($target.hasClass('btn-cancel-confirm')) { 7943$trigger.closest('DIV.modal .modal-content').find('.modal-body').show(0); 7944// The double confirm cancel button has a dismiss="modal" 7945// In case of trash, we may want to select a previous option 7946// So we prevent the modal to be closed 7947event.preventDefault(); 7948event.stopPropagation(); 7949$modalDialog.removeClass('modal-confirm-danger'); 7950showingModalFooter = true; 7951$w.remove(); 7952$modalFooter.fadeIn(0); 7953} 7954$w.removeClass('in') 7955.queue(function (next) { 7956callback($that.hasClass('btn-danger')); 7957next(); 7958}); 7959}); 7960}, 7961/** 7962* Close the current modal and store in <code>$.jalios.ui.Modal.latest.value</code> the given value. 7963* 7964* @param value the value to store. 7965* 7966* @example 7967* <button onClick="$.jalios.ui.Modal.close(true)" /> 7968*/ 7969close: function (value) { 7970$.jalios.ui.Modal.latest.value = value; 7971$('#jalios-modal').modal('hide'); 7972return false; 7973}, 7974/** 7975* Close the current modal and reload the page. 7976* @param {string} url to use for reload (optional) 7977*/ 7978closeAndReload: function (url) { 7979$.jalios.ui.Modal.close(); 7980if (url) { 7981$.jalios.Browser.redirect(url); 7982} else { 7983$.jalios.Browser.reload(); 7984} 7985return false; 7986}, 7987/** 7988* Hides current visible modal 7989*/ 7990hideCurrentModal: function() { 7991$("#jalios-modal.fade.in").data("bs.modal").hide(); 7992}, 7993/** 7994* Triggers an event when modalRedirect.jspf is called in a modal submit 7995* @param {string} redirectUrl the redirect url (Can be empty, if so, browser will be reloaded instead of redirecting user) 7996* @param {boolean} backgroundProcess to define wether a background process is running or not 7997*/ 7998triggerModalRedirectEvent: function (redirectUrl, backgroundProcess) { 7999const event = $.Event('modal:redirect'); 8000event.modal = {}; 8001event.modal.redirectUrl = redirectUrl; 8002event.modal.backgroundProcess = backgroundProcess; 8003event.modal.latest = $.jalios.ui.Modal.latest; 8004if ($(event.modal.latest.brokerTrigger).exists()) { 8005$(event.modal.latest.brokerTrigger).trigger(event); 8006} else if ($(event.modal.latest.trigger).exists()) { 8007$(event.modal.latest.trigger).trigger(event); 8008} else { 8009$(document).trigger(event); 8010} 8011}, 8012/** 8013* Display a toastr message and close modal 8014* @param {string} message the message to display in a toastr 8015* @param {toastType} toastLevel the type of toast to display (info by default) 8016* @param {string} toastUrl (optional) an url which will be followed if user click on toastr 8017*/ 8018displayMessageAndCloseModal: function (message, toastLevel = $.jalios.toastr.Level.INFO, toastrUrl) { 8019const toastrOptions = {}; 8020if (toastrUrl) { 8021toastrOptions.onclick = function(){ 8022window.location.href = toastrUrl; 8023} 8024} 8025$.jalios.toastr.displayMessage(message, toastLevel, toastrOptions); 8026$.jalios.ui.Modal.hideCurrentModal(); 8027}, 8028/** 8029* Default handler for modal redirect event 8030* @param {object} event the redirect modal event 8031*/ 8032handleModalRedirect: function (event) { 8033if (event.modal.backgroundProcess) { 8034return; 8035} 8036if (event.modal.redirectUrl) { 8037$.jalios.Browser.redirect(event.modal.redirectUrl, false, false); 8038} else { 8039jQuery.jalios.Browser.reload(); 8040} 8041}, 8042/** 8043* Close the current modal and trigger an ajax-refresh on the wrapper. 8044* Should use closeAndFollow() that will trigger a click on trigger (with skip modal and call to next actions (like ajax-refresh) 8045*/ 8046closeAndRefresh: function () { 8047$.jalios.ui.Modal.close(); 8048$.jalios.AjaxRefresh.refreshTarget($.jalios.ui.Modal.latest.trigger); 8049return false; 8050}, 8051/** 8052* Close the current modal and follow link/button event. 8053* <ul> 8054* <li>Link are called with parameter value=...</li> 8055* <li>Input/Button 'submit' are submited with their name and input hidden value</li> 8056* <li>Form are submited with their name and input hidden value</li> 8057* </ul> 8058* 8059* @param {string} value the value to set (optional) 8060*/ 8061closeAndFollow: function (value) { 8062$.jalios.ui.Modal.close(value); 8063// Do not follow if it is an ajax-refresh confirm (kludge) 8064if ($.jalios.ui.Modal.latest.callback) { 8065return false;
8066} 8067$.jalios.DOM.follow($.jalios.ui.Modal.latest.trigger, 'modal', 'value', value); 8068return false; 8069}, 8070/** 8071* Returns the Common Modal 8072* @return modal 8073*/ 8074getModal: function () { 8075var $modal = $('#jalios-modal'); 8076if ($modal.exists()) { 8077// Do not open a modal when already open 8078if ($modal.data('bs.modal').isShown) { 8079$.console.warn('[Modal]', 'Cannot open a Modal when a modal is already opened'); 8080return; 8081} 8082// Hide elements before refresh 8083$modal.children().hide().remove('A.ajax-refresh-url'); 8084// Clean modal (used as targer) 8085$modal 8086.prop('class', 'modal fade ajax-refresh-div') 8087.css('width', '') 8088.css('marginLeft', '') 8089.removeAttr('data-jalios-ajax-refresh-url'); 8090return $modal; 8091} 8092// hide fade 8093$modal = $( 8094'<div id="jalios-modal" class="modal fade ajax-refresh-div" aria-modal="true" role="dialog"></div>' 8095).appendTo('BODY'); 8096$modal.modal({ keyboard: true, backdrop: 'static' }); 8097$modal.on('hidden.bs.modal', function (event) { 8098// Fire to the callback 8099if ($.jalios.ui.Modal.latest.callback) { 8100$.jalios.ui.Modal.latest.callback($.jalios.ui.Modal.latest.value); 8101} 8102}); 8103$modal.on('click', '.modal-steps .clickable-step', function (event) { 8104$.jalios.ui.Modal.goToStep(event, $(this)); 8105}); 8106return $modal; 8107}, 8108getDangerModalWithOptions: function(callback, options){ 8109try{ 8110const newOptions = {...CONFIRM_MODAL_OPTIONS, ...options}; 8111return this.buildDangerModal(callback, newOptions) 8112} catch (err) { 8113$.console.error(err); 8114return undefined; 8115} 8116}, 8117buildDangerModal: function(callback, options){ 8118try{ 8119const that = this; 8120let $confirmDangerModal = $('#confirm-danger-modal'); 8121let confirmModalHtml = $( 8122Handlebars.compile( 8123$( 8124'<script id="jalios-confirm-danger-modal" type="text/x-handlebars-template"><div class="modal fade modal-confirm" id="confirm-danger-modal"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header"><h4 class="modal-title">{{title}}</h4></div><div class="modal-body"><p>{{{message}}}</p></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">{{btnCancel}}</button><a class="btn btn-danger btn-confirm" data-jalios-confirm="true" href="#">{{btnDelete}}</a></div></div></div></div</script>' 8125).html() 8126)(options) 8127); 8128if ($confirmDangerModal.length === 0) { 8129$('body').append(confirmModalHtml); 8130$confirmDangerModal = $('#confirm-danger-modal'); 8131// Destroy modal from DOM when hidden 8132$confirmDangerModal.on('hidden.bs.modal', function (event) { 8133$confirmDangerModal.remove(); 8134}); 8135$confirmDangerModal.find('.btn-danger').on('click', function (event) { 8136that.confirmInModal(event.target, function (confirmed) { 8137if (confirmed) { 8138callback(true); 8139$confirmDangerModal.modal('hide'); 8140} 8141}); 8142}); 8143} 8144return $confirmDangerModal; 8145} catch (err) { 8146$.console.error(err); 8147return undefined; 8148} 8149}, 8150/** 8151* Build a danger modal 8152* @param {*} $trigger the element that trigger the modal and contains the data options 8153* @param {*} callback 8154*/ 8155getDangerModal: function ($trigger, callback) { 8156try { 8157// Handle Custom options 8158const options = { 8159title: $trigger.data('jalios-confirm-title') || CONFIRM_MODAL_OPTIONS.title, 8160message: $trigger.data('jalios-confirm-message') || CONFIRM_MODAL_OPTIONS.message, 8161btnCancel: $trigger.data('jalios-cancel-button-label') || CONFIRM_MODAL_OPTIONS.btnCancel, 8162btnDelete: $trigger.data('jalios-delete-button-label')|| CONFIRM_MODAL_OPTIONS.btnDelete, 8163}; 8164return this.buildDangerModal(callback, options); 8165} catch (err) { 8166$.console.error(err); 8167return undefined; 8168} 8169}, 8170fixWidth: function (context) { 8171var $modal = $(context || '.modal'); 8172var $this = $modal.children('div, form').first(); 8173var width = $this.width() || $modal.width(); 8174// Handle iFrame case 8175var $iframe = $this.find('IFRAME'); 8176if ($iframe.exists()) { 8177try { 8178width = $iframe[0].contentWindow.document.body.offsetWidth; 8179} catch (ex) { 8180$iframe = false; 8181$.console.warn("[modal] Can't read iFrame properties", ex); 8182} 8183} 8184// Set margin and width 8185var margin = width / 2; 8186var winW = $(window).width(); 8187if (winW / 2 < margin) { 8188margin = 0; 8189} 8190var $modal = $this.closest('.modal').css('marginLeft', -margin + 'px'); 8191if ($iframe && $iframe.exists()) { 8192$modal.css('width', width + 18 + 'px'); 8193} 8194}, 8195goToStep: function (event, elm) { 8196event.stopImmediatePropagation(); 8197// Get the selected step 8198var selectedStep = parseInt(elm.data('step')); 8199// Get the formStep input 8200var form = $(elm.closest('form')); 8201var $formStep = $(form.find('input[name=formStep]')); 8202// Get the current step 8203var currentStep = parseInt($formStep.val()); 8204// Compute the targetStep and the button to click 8205var targetStep; 8206var button; 8207if (selectedStep > currentStep) {
8208targetStep = selectedStep - 1; 8209button = $(form.find('button[name=opNext]')); 8210} else { 8211targetStep = selectedStep + 1; 8212button = $(form.find('button[name=opPrevious]')); 8213} 8214// Set the formStep and click on the button 8215$formStep.val(targetStep); 8216button.trigger('click'); 8217} 8218}; 8219// Plugin initialization on DOM ready 8220$(document).ready(function ($) { 8221register(); 8222}); 8223})(window.jQuery); 8224// ------------------------------------------ 8225// DEPRECATED 8226// ------------------------------------------ 8227var deprecatedModal = function (fctn) { 8228jQuery.console.warn('[Deprecated] ' + fctn + ': JCMS requires the new Modal framework'); 8229jQuery.console.stacktrace(); 8230}; 8231JCMS = window.JCMS || {}; 8232JCMS.window = JCMS.window || {}; 8233JCMS.window.Modal = JCMS.window.Modal || {}; 8234JCMS.window.Modal.close = jQuery.jalios.ui.Modal.close; 8235JCMS.window.Modal.relocate = function () { 8236deprecatedModal('Modal.relocate'); 8237}; 8238JCMS.window.Modal.showJSP = function (jsp, callback, params) { 8239deprecatedModal('Modal.showJSP'); 8240if (typeof params == 'object') { 8241jsp += '?' + jQuery.param(params, true); 8242} 8243jQuery.jalios.ui.Modal.openFromUrl(jsp, { callback: callback }); 8244}; 8245JCMS.window.Modal.confirm = function (msg, func, usage) { 8246deprecatedModal('Modal.confirm'); 8247jQuery.jalios.ui.Modal.confirm(msg, func); 8248}; 8249// 8250// This function prompts the given message and provide a text input. 8251// Then, if the user confirms (OK button), it execute a javascript 8252// function. 8253// 8254// @param msg the message to prompt. 8255// @param func the function to execute. 8256// @param defvalue the default value of the text input. 8257// @deprecated use isntead jQuery.jalios.ui.Modal 8258// 8259function promptJSAction(msg, func, defvalue) { 8260deprecatedModal('promptJSAction'); 8261jQuery.jalios.ui.Modal.prompt(msg, func, defvalue); 8262} 8263// 8264// This function prompts the given message and provide a text input. 8265// Then, if the user confirms (OK button), it redirect on the given 8266// URL with the input value bound to the given parameter. 8267// 8268// @param msg the message to prompt. 8269// @param url the url to redirect on. 8270// @param param the name of the parameter used to provide the input value 8271// @param defvalue the default value of the text input. 8272// @deprecated use isntead jQuery.jalios.ui.Modal 8273// 8274function promptAction(msg, url, param, defvalue) { 8275deprecatedModal('promptAction'); 8276jQuery.jalios.ui.Modal.prompt( 8277msg, 8278function (value) { 8279if (value === false) { 8280return; 8281} 8282jQuery.jalios.Browser.redirect(jQuery.jalios.Http.getUrlWithUpdatedParam(url, param, value)); 8283}, 8284defvalue 8285); 8286} 8287// 8288// This function prompts the given message and execute given function if the user confirms (OK button) 8289// @param msg the message to prompt. 8290// @param func the function to run. 8291// @deprecated use isntead jQuery.jalios.ui.Modal 8292// 8293function confirmJSAction(msg, func) { 8294deprecatedModal('confirmJSAction'); 8295jQuery.jalios.ui.Modal.confirm(msg, func); 8296} 8297// 8298// This function prompts the given message and redirect on the given URL if the user confirms (OK button) 8299// @param msg the message to prompt. 8300// @param url the url to redirect on. 8301// @deprecated use isntead jQuery.jalios.ui.Modal 8302// 8303function confirmAction(msg, url) { 8304deprecatedModal('confirmAction'); 8305jQuery.jalios.ui.Modal.confirm(msg, function () { 8306jQuery.jalios.Browser.redirect(url); 8307}); 8308return false; 8309} 8310// 8311// This function prompts the given message and redirect on the given URL if the user does not confirm (Cancel button) 8312// @param msg the message to prompt. 8313// @param url the url to redirect on. 8314// @deprecated use isntead JCMS.window.Modal 8315// 8316function confirmNoAction(msg, url) { 8317deprecatedModal('confirmNoAction'); 8318jQuery.jalios.ui.Modal.confirm( 8319msg, 8320function () { 8321jQuery.jalios.Browser.redirect(url); 8322}, 8323true 8324); 8325} 8326; 8327!function(c){if(!c.jalios){c.jalios={}}if(!c.jalios.ui){c.jalios.ui={}}var b=/popin/i;var e=function(g){var f=c.jalios.Event.match(g,"broker",b,true);if(!f){return}var h=f.source.currentTarget;c.jalios.ui.Popin.open(h)};var a=function(){c(document).on("jalios:broker",e)};var d=function(){$popin=c("#PopinBottomLeft");if($popin.exists()){$popin.remove();$popin=c("#PopinBottomLeft")}if(!$popin.exists()){$popin=c('<div id="PopinBottomLeft" class="popin in fade bottom-left"></div>').appendTo("BODY")}var g={message:{html:'<div class="ajax-refresh-div"></div>'},type:"popin",fadeOut:{enabled:true,delay:3000}};var f=$popin.notify(g);f.show();return f.$note.find(".ajax-refresh-div").first()};c.jalios.ui.Popin={openFromUrl:function(h,g){var f=d();
8327f.refresh({url:h,noscroll:true,nohistory:true,waiting:g?g.waiting:false})},open:function(i,h){if(!i){return false}var f=c(i);var g=d();f.refresh({target:g,noscroll:true,nohistory:true,waiting:h?h.waiting:false})}};c(document).ready(function(f){a()})}(window.jQuery);; 8328!(function(g){const l=32;if(!g.jalios){g.jalios={}}var u=/ajax-refresh/i;var v=g.jalios.Properties.get("ajax-refresh-setup");var b=function(A,B){if(!B){A.removeClass("ajax-refresh-debug");return}if(g(document.location).prop("href").indexOf("debug=true")>=0){A.addClass("ajax-refresh-debug")}};var s=function(C,A,B){if(B.nofocus||B.noscroll){return}let oTop=A.offset().top;let $window=g(window);let $topbarPlaceholder=g(".topbar-placeholder");let topbarHeight=$topbarPlaceholder.exists()?$topbarPlaceholder.height():0;let wTop=$window.scrollTop()+topbarHeight;let wHeight=$window.height();if(wTop<oTop&&oTop<wTop+$window.height()){return}let newPosition=oTop-10;if(topbarHeight){newPosition-=topbarHeight}g("html,body").animate({scrollTop:newPosition},"fast")};const w=function(A,C,B){if(!C){A.removeData("ajax-refresh:job");if(B&&B.waiting){A.removeClass("ajax-refresh-job")}return true}if(A.data("ajax-refresh:job")){return false}A.data("ajax-refresh:job",true);if(B.waiting&&g.fn.displayLoadingWaves){A.addClass("ajax-refresh-job")}return true};const z=function(A,B){this.message=A;this.name="AjaxRefreshException";console.debug(B)};var n='<div class="ajax-lazy-load">';var a=function(D,E){D=g.jalios.Common.strip(D,true);var H="";var C=D.indexOf(n);if(C>0){H=D.substring(C+n.length,D.lastIndexOf("</div>"));D=D.substring(0,C)}var B;try{B=g(D).find("script.hdb-template");if(B.exists()){B.each(function(J,K){let scriptId=g(K).attr("id");if(g(".handlebar-templates script#"+scriptId).exists()){g(K).remove()}else{g(".handlebar-templates").append(K)}})}}catch(F){console.debug(F)}if(!E){var I=false;var A=new RegExp("^(<div[^>]*ajax-refresh[^>]*>)(.*)","gi");var G=A.exec(D);if(G){I=g(G[1]+"</div>");D=D.replace(A,"$2");D=D.substring(0,D.lastIndexOf("</div>"))}}D+=H;return{html:D,$wrap:I}};var m=function(B,A){var C=B.attr("data-jalios-ajax-refresh-timeout");if(C){A.timeout=parseInt(C)}};const x=function(C,B){var A=C.attr("data-jalios-ajax-refresh-focus-element");if(A){B.focusElement=A}};const i=function(B,A){var C=B.attr("data-jalios-ajax-refresh-autofocus");if(C){A.autofocus=C}};const t=function(C,B){var A=C.attr("data-jalios-ajax-refresh-focus-target");if(A){B.focusTarget=A}};var f=function(A,B){var C=A.attr("data-jalios-ajax-refresh-waiting");if(!C){C=(A.attr("class")||"").match(/ajax-waiting-([\d\.]+)/);if(C){C=C[1]}else{return}}B.waiting=parseFloat(C)};var d=function(A,B){var C=A.attr("data-jalios-ajax-refresh-periodical");if(!C){C=(A.attr("class")||"").match(/ajax-periodical-(\d+)/);if(C){C=C[1]}else{return}}B.nohistory=true;B.nofocus=true;B.noscroll=true;B.periodical=parseInt(C)};var j=function(C,B){var A=C.attr("data-jalios-ajax-refresh-inner");if(A){B.inner=A;B.nohistory=true}};var y=function(C,B){if(B&&B.target){if(B.position&&B.brokerTrigger){return g(B.brokerTrigger)[B.position].apply(g(B.brokerTrigger),[B.target])}else{return g(B.target)}}var F=C.attr("data-jalios-target");if(F){var A=C.attr("data-jalios-target-position");if(A){return C[this.position].apply(C,[F])}return g(F)}var E=C.closest("DIV.ajax-refresh-div");if(!E.exists()){var D=g.Event("jalios:refresh");D.refresh={};D.refresh.type="helper:target";D.refresh.$e=C;D.refresh.$target=false;g(document).trigger(D);E=D.refresh.$target}return E};var k=function(D,B,C){var E={};if(D.is("UL,OL")){E.nohistory=true;E.noscroll=true}d(B,E);d(D,E);m(B,E);m(D,E);j(B,E);j(D,E);f(B,E);f(D,E);t(D,E);x(D,E);i(D,E);E.trigger="#"+D.identify("jqid").attr("id");var F=D.prop("form");if(C.isform||E.isform){F=D.closest("FORM")}if(F){E.method=g(F).attr("method");E.noscroll=true;E.isform="#"+g(F).identify("jqid").attr("id")}E=g.extend(true,{},v,E,C);if(E.method&&"POST"==E.method.toUpperCase()){E.nohistory=true}var A=D.attr("data-jalios-ajax-refresh");if(A&&A.match(/nohistory/)){E.nohistory=true}if(A&&A.match(/nofocus/)){E.nofocus=true}else{if(A&&A.match(/focus/)){E.nofocus=false}}if(A&&A.match(/noscroll/)){E.noscroll=true}else{if(A&&A.match(/scroll/)){E.noscroll=false}}if(A&&A.match(/noerror/)){E.noerror=true}if(A&&A.match(/isform/)){E.isform=true}if(A&&A.match(/noresponse/)){E.noresponse=true}return E};var q=function(A,D,I){var B="";if(I.url){return I.url}if(A.attr("href")){B=A.prop("href");
8328g.extend(true,I.params,g.jalios.Http.toQueryParams(B));B=B.split("?").shift()}var C=A.prop("form");if(I.isform){C=A.closest("FORM")}if(C){var J=g(C);B=J.attr("action");g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.SERIALIZE,B,D,I);g.extend(true,I.params,J.serializeObject());if(I.trigger){var F=g(I.trigger);if(F.is('BUTTON, INPUT[type="submit"], INPUT[type="image"]')){I.params[F.prop("name")]=F.prop("value")}}}if(D.isPortlet()){B="jcore/portal/ajaxPortal.jsp";I.params.portletId=D.getJcmsId();I.params.portletDomId=D.identify().attr("id");var E=D.getUsage();if(E){I.params.usage=E}}var G=D.children("A.ajax-refresh-url").first();if(G.exists()){B=G.prop("href")}var H=D.attr("data-jalios-ajax-refresh-url");if(H){B=H}var H=A.attr("data-jalios-ajax-refresh-url");if(H){B=H}return B};var e=function(F,D){var D=g.extend(true,{},D);var C=g(F);if(!C.exists()){return false}if(C.hasClass("disabled")){return false}var A=y(C,D);if(!A||!A.exists()){return false}D=k(C,A,D);var B=q(C,A,D);if(g.jalios.AjaxRefreshPropagation){if(g.jalios.AjaxRefreshPropagation.noCssPack===true){g.extend(true,D.params,{"no-css-pack":""})}if(g.jalios.AjaxRefreshPropagation.noJsPack===true){g.extend(true,D.params,{"no-js-pack":""})}}if(!D.confirm&&(C.hasClass("confirm")||C.hasClass("confirm-danger"))&&D._broked){var E=function(G){if(!G){return}D.confirm=true;if(C.attr("data-jalios-confirm")==="true"&&g.jalios.ui.Modal.latest&&g.jalios.ui.Modal.latest.trigger){g.jalios.DOM.follow(g.jalios.ui.Modal.latest.trigger,"modal","value",G)}else{if(C.data("jalios-confirm-callback")&&typeof C.data("jalios-confirm-callback")==="function"){let E=C.data("jalios-confirm-callback");E(G)}else{g.jalios.AjaxRefresh.refresh(B,A,D)}}};if(C.closest("DIV.modal").exists()){g.jalios.ui.Modal.confirmInModal(C,E)}else{if(C.hasClass("confirm-danger")){g.jalios.ui.Modal.confirmDanger(C,E)}else{g.jalios.ui.Modal.open(C,{confirm:true,callback:E})}}return true}return g.jalios.AjaxRefresh.refresh(B,A,D)};var h=function(B){var A=g.jalios.Event.match(B,"broker",u,true);if(!A){return}var C=A.source.currentTarget;A.options._broked=true;if(!A.options.target){A.options.target=A.target}if(!A.options.position){A.options.position=A.position}g(C).refresh(A.options)};var p=function(B){var A=g(B.currentTarget);if(!e(A,{_broked:true})){return}B.preventDefault();B.stopPropagation();B.stopImmediatePropagation()};var c=function(){var B=g(document);var A=g(document.body);B.on("jalios:broker",h);B.on("click","A.ajax-refresh, button.ajax-refresh",p);B.on("click",":button.ajax-refresh, :submit.ajax-refresh, :image.ajax-refresh",p);g(document).on("keydown",function(C){if(!g(document.activeElement).is("button.ajax-refresh")&&!g(document.activeElement).is("a.ajax-refresh")){return}if(C.keyCode===l){g(document.activeElement).trigger("click");C.preventDefault()}});g("DIV.ajax-refresh-div.ajax-lazy").refresh({nohistory:true,noscroll:true});B.idleTimer(20000,{name:"LiveRefresh"});B.on("LiveRefresh.active",function(){g("DIV.ajax-refresh-div.ajax-live").refresh({nohistory:true,noscroll:true,noerror:true})});r(B)};var r=function(A){A.find("A.ajax-include").each(function(){var B=g(this).removeClass("ajax-include");if(B.closest(".popover").exists()){return}var C=g('<div class="ajax-include-div"></div>');B.refresh({target:C,noscroll:true,nohistory:true,callback:function(){B.replaceWith(C)}})})};const o=function(F,C,E,D,A,B){if(F||(C===0||!E)){g.console.warn(E)}else{toastr.options={positionClass:"toast-top-right"};toastr.options.onclick=function(){window.location.href=document.URL};
8328toastr.error(g("body").is(".is-dev-mode")?D.slice(0,500):E)}w(A,false);b(A);if(A.is("#jalios-modal")){g.jalios.ui.Modal.close(true)}document.body.style.cursor="auto";throw new z(D,B)};g.jalios.AjaxRefresh={RefreshEventType:{SERIALIZE:"serialize",BEFORE:"before",AFTER:"after",SUCCESS:"success",FAIL:"fail"},triggerRefreshEvent:function(E,C,A,B,D){var F=g.Event("jalios:refresh");F.refresh={};if(!E){throw"Type is required"}F.refresh.type=E;F.refresh.url=C;F.refresh.target=A;F.refresh.options=B?B:{};F.refresh.html=D;g(document).trigger(F);return F},refreshPortlet:function(B,E,D,C){if(!D){D={}}if(!C){C={}}var A={nohistory:true,callback:E,params:D,replaceTarget:true};C=g.extend(true,{},A,C);return !g("DIV.ajax-refresh-div.ID_"+B).refresh(C)},refreshTarget:function(B){var A=y(g(B));if(A){A.refresh()}},refresh:function(E,G,D){if(!E){return false}var B=g(G);if(!B.exists()){return false}D=g.extend(true,{},v,D);var H=E.indexOf("?");if(H>0){var A=E.substring(H+1);E=E.substring(0,H);g.extend(true,D.params,g.jalios.Http.toQueryParams(A))}let event=g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.BEFORE,E,B,D);g.jalios.AjaxRefresh.LastRefresh=event;if(event.isPropagationStopped()){return true}if(!D.noresponse){if(!w(B,true,D)){if((!D||!D.fieldAutocomplete)&&(!D||!D.params||!D.params.topbarSearch)){return true}}}b(B,true);let backupUrl=E;if(event.refresh.url.indexOf("http")!=0){E=g.jalios.Http.getBaseUrl()+event.refresh.url}const C=B.data("previous-xhr");C&&C.abort();const F=g.ajax({url:E,type:D.method===undefined?"POST":D.method,data:D.params,traditional:true,cache:D.cache,timeout:D.timeout});B.data("previous-xhr",F);F.done(function(N){let event=g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.SUCCESS,backupUrl,B,D,N);if(D.noresponse){b(B);if(D.callback){D.callback(B,false)}return true}var L=function(O){if(!O){return false}var P=O.indexOf("<html");return P!=-1&&P<200};if(L(event.refresh.html)){g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.FAIL,backupUrl,B,D);o(D.noerror,undefined,I18N.glp("warn.json.sessiontimeout"),"Full html page, an ajax refresh page shouldn't have any HTML or Body tag",B,event.refresh.html)}var K=a(event.refresh.html,D.replaceTarget);var J=K.html;event.refresh.html=J;if(g.jalios.Common.blank(J)){b(B);if(D.callback){D.callback(B,false)}w(B,false,D);return false}var M=function(){if(D.replaceTarget){B.after(J).remove()}else{if(D.inner){g(D.inner).after(J).remove()}else{if(D.append){B.append(J)}else{B.html(J)}}}B.find("script.hdb-template").remove();if(K.$wrap){var P=K.$wrap[0];for(var O=0;O<P.attributes.length;O++){var R=P.attributes[O];if(!R.specified){continue}if(R.name=="class"){continue}B.attr(R.name,R.value)}B.updateClass(P.className);d(B,D)}s(E,B,D);b(B);w(B,false,D);r(B);g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.AFTER,backupUrl,B,D);if(D.callback){D.callback(B,J)}if(D.periodical&&D.periodical>0){var S=D.periodical;D.periodical=undefined;var Q=function(){var T=g(D.trigger);D.noerror=true;e(T.exists()?T:B,D)};S<30?Q.delay(S):Q.postpone(S)}};D.waiting&&g("HTML").hasClass("mdn-cssanimations")?M.delay(D.waiting):M();if(D.focusTarget){let focusInformation=g.jalios.a11y.getFocusInformation(D.focusTarget);g.jalios.a11y.focus(focusInformation.firstFocusableElement)}else{if(g(D.focusElement).exists()){const I=g(D.focusElement);if(!I.attr("tabindex")&&!I.is("a, button, [role=button]")){I.attr("tabindex","-1")}g.jalios.a11y.focus(D.focusElement)}else{if(D.autoFocus){let focusInformation=g.jalios.a11y.getFocusInformation(B);g.jalios.a11y.focus(focusInformation.firstFocusableElement)}}}});F.fail(function(J,K){let isTimeout=K==="timeout";var I=J&&!isTimeout&&!J.getAllResponseHeaders();if(I){return}event.refresh.type="fail";g(document).trigger(event);o(D.noerror,J.status,I18N.glp("warn.json.sessiontimeout"),J.status+" - "+J.responseText,B,J.responseText)});return true}};g.fn.refresh=function(A){return this.each(function(){e(g(this),A)})};g(document).ready(function(A){c()})})(window.jQuery);jQuery(document).on("jalios:refresh",function(b){if(!b||!b.refresh){return false}if(!Event.observe){return false}var c=b.refresh;try{if(c.type=="before"){var d=b.refresh.target.first().identify().attr("id");$(document).fire("refresh:before",{wrapper:d})}else{if(c.type=="after"){var d=b.refresh.target.first().identify().attr("id");$(document).fire("refresh:after",{wrapper:d})}}}catch(a){jQuery.console.error("AjaxRefresh","Exception while firing refresh:after",a)}});JCMS=JCMS||{};
8328JCMS.ajax=JCMS.ajax||{};JCMS.ajax.Refresh=JCMS.ajax.Refresh||{};JCMS.ajax.Refresh.getFragment=function(b){jQuery.console.warn("[Deprecated] getFragment() Should use new Ajax-Refresh");jQuery.console.stacktrace();var a=$(document.body);if(b&&b.refresh){return $(b.refresh.target[0])}return a};JCMS.ajax.Refresh.refreshDIV=function(b,a){jQuery.console.warn("[Deprecated] refreshDIV() Should use new Ajax-Refresh");jQuery.console.stacktrace();jQuery(b).refresh({url:a})};JCMS.ajax.Refresh._request=function(c,b,a){jQuery.console.warn("[Deprecated] _request Should use new Ajax-Refresh",c);jQuery.console.stacktrace();a.url=b;a.target=c;jQuery(c).refresh(a)};JCMS.ajax.Refresh.refreshFromInput=function(a,b,c){jQuery.console.warn("[Deprecated] refreshFromInput() Should use new Ajax-Refresh");jQuery.console.stacktrace();jQuery(a).refresh({target:b,callback:c})};; 8329!function(c){if(!c.jalios){c.jalios={}}if(!c.jalios.form){c.jalios.form={}}var h=function(j){c(".disabled, :disabled").each(function(k){var l=c(this);l.addClass("excludeSingleSubmit")})};var e=function(l){var k=l.refresh;if(!k){return}if(k.type=="before"){if(!k.options||!k.options.isform){return}var j=c(k.options.isform);if(!j.exists()){return}var m=j.hasClass("wysiwyg-init-in-progress");if(m){l.preventDefault();l.stopPropagation();l.stopImmediatePropagation();return}c.jalios.form.SingleSubmit.ajaxRefreshing=true;if(j.hasClass("noSingleSubmitButton")){return}if(c.jalios.form.SingleSubmit.processing){l.preventDefault();l.stopPropagation();l.stopImmediatePropagation();return}c.jalios.form.SingleSubmit.disable()}else{if(k.type=="success"||k.type=="fail"){c.jalios.form.SingleSubmit.enable();c.jalios.form.SingleSubmit.ajaxRefreshing=false}}};var d=function(k){var j=c(k.currentTarget);if(!j.exists()){return}if(c.jalios.form.SingleSubmit.ajaxRefreshing){k.preventDefault();k.stopPropagation();k.stopImmediatePropagation();return}var l=j.hasClass("wysiwyg-init-in-progress");if(l){k.preventDefault();k.stopPropagation();k.stopImmediatePropagation();return}if(j.hasClass("noSingleSubmitButton")){return}if(c.jalios.form.SingleSubmit.processing){k.preventDefault();k.stopPropagation();k.stopImmediatePropagation();return}c.jalios.form.SingleSubmit.disable();window.onbeforeunload=null};var f=function(){c(document).ready(h);c(document).on("jalios:refresh",e);c(document).on("submit","FORM",d)};var g=function(j){if(j.keyCode==116){return}c(j.target).attr("data-jalios-dirty-input","true")};var i=function(){var j=c(document).find('[data-jalios-dirty-input="true"]').length;if(j){return true}if(typeof(tinyMCE)!=="undefined"){var k=false;jQuery.each(tinyMCE.editors,function(l,m){k|=m.isDirty()});if(k){return true}}return false};var b=function(){window.onbeforeunload=a;c(document).on("keypress",":input",g)};var a=function(){if(window.disableOnBeforeUnloadMessage){return}if(!i()){return}return I18N.glp("warn.edit.contentlost")};c.jalios.form.SingleSubmit={processing:false,enable:function(){c.jalios.form.SingleSubmit.toggle(true)},disable:function(){c.jalios.form.SingleSubmit.toggle(false)},toggle:function(j){c.jalios.form.SingleSubmit.processing=!j;c("INPUT.formButton, BUTTON.formButton, A.formButton, INPUT.btn, BUTTON.btn, A.btn").each(function(l){var m=c(this);var k=c(m.prop("form")||m.closest("FORM"));if(k.hasClass("noSingleSubmitButton")){return}if(m.hasClass("excludeSingleSubmit")){return}m.toggleClass("disabled",!j)})},initUnload:b};c(document).ready(function(j){f()})}(window.jQuery);function initUnloadMessage(){jQuery.jalios.form.SingleSubmit.initUnload()};; 8330!function(g){var a=false;var b=Typeahead.prototype.lookup;Typeahead.prototype.lookup=function(r){if(!this.options.ajax){return g.proxy(b,this)()}if(this.$element.data("autocomplete-lookup-event")){var v={typeahead:this,explicit:r,stop:false};g(this.$element).trigger(this.$element.data("autocomplete-lookup-event"),[v]);if(v.stop){return this}}else{if(this.$element.prop("tagName")=="TEXTAREA"){var t={type:"lookup",typeahead:this,explicit:r};Typeahead.hooks.fire(t);if(t.stop){return this}}else{this.query=this.$element.val()||"";var u=this.$element.attr("data-ac-lookup-empty")||false;if(this.query===""&&!u){return this.shown?this.hide():this}var q=this.$element.attr("data-ac-min-length")||g.jalios.Properties.get("autocomplete-min-chars");if(!u&&(this.query.length<q)){return this.hide()}}}var s=this;if(a){clearTimeout(a)}a=setTimeout(function(){k(s);a=false},g.jalios.Properties.get("autocomplete-chooser-timeout"));var p=this.$element.data("ac-lookup-pending-refresh");if(p){return this.show()}return this.hide()};var k=function(q){var p={url:q.options.ajax,params:{autocomplete:q.query}
8330,noscroll:true,nohistory:true,waiting:false,noerror:true,callback:function(){q.show()}};g.extend(true,p,q.options.ajaxOptions);q.$menu.refresh(p)};var o=Typeahead.prototype.click;Typeahead.prototype.click=function(p){if(p.target&&g(p.target).data("already-clicked")){return true}p.stopPropagation();p.preventDefault();this.select(undefined,p)};var j=Typeahead.prototype.select;Typeahead.prototype.select=function(u,z){if(a){clearTimeout(a)}if(this.$element.data("autocomplete-select-event")){var A={active:u,event:z,typeahead:this};g(document).trigger(this.$element.data("autocomplete-select-event"),[A]);return}var s=this.$element;var C=u||this.$menu.find(".active");var B=C.attr("data-value");if(z){var t=g(z.target);var D=t.hasClass("typeahead-ajax-refresh")?t:t.closest(".typeahead-ajax-refresh");if(D.exists()){var F={params:D.data("jalios-typeahead-options-params")};this.$menu.refresh(F);return}}if(C.hasClass("typeahead-layout")){return}if(C.is(".nomatch")){return this.hide()}var x=this;if(C.hasClass("ajax-refresh")){s.focus();C.find("A").refresh({noscroll:true,nohistory:true,callback:g.proxy(function(){var G=x.$menu.find("LI.select").first();if(G.exists()){x.select(G)}},x)});return this.show()}
8330var r={type:"select",typeahead:this,$active:C};Typeahead.hooks.fire(r);if(!r.stop){if(B){g.proxy(j,this)()}else{if(C.exists()||(t&&t.closest(".typeahead-link").exists())){var y;if(z&&g(z.target).is("A")){y=g(z.target)}else{var w=z?g(z.target).closest("A.typeahead-link"):undefined;if(w&&w.exists()){y=w}else{y=C.find("A")}}if(!y){return}var q=y.prop("href");var E=y[0].protocol;if(!E){q=g(document).find("base").prop("href")+q}else{if(E.indexOf("http")<0){y.data("already-clicked",true);y.click()}}if(z&&z.which===2){var v=window.open(q,"_blank")}else{g.jalios.Browser.redirect(q,false,false)}}else{if(s[0]&&s[0].form){var p=s[0].form;if(p&&!g(p).hasClass("nosubmit-on-autocomplete")){p.submit()}}}}}var r=g.Event("jalios:autocomplete");r.autocomplete=this;r.autocomplete.value=B;g(document).trigger(r);return this.hide()};var f=Typeahead.prototype.keydown;Typeahead.prototype.keydown=function(p){if(p.keyCode!=9){this.$element.data("autocomplete-update",true)}if(p.keyCode==32&&p.ctrlKey){this.lookup(true);p.preventDefault();p.stopPropagation();return}g.proxy(f,this)(p)};var l=Typeahead.prototype.show;Typeahead.prototype.show=function(s){g.proxy(l,this)(s);if(!this.$element.is(":visible")){return this.hide()}if(this.$element.prop("tagName")!="TEXTAREA"){var r=this.$menu;var t=r.offset().left;var p=g(window).width()+g(window).scrollLeft();if(t+r.width()>p){r.find("UL").css("width",(p-t-20)+"px")}return this}var q={type:"show",typeahead:this};Typeahead.hooks.fire(q);return this};var c=Typeahead.prototype.blur;Typeahead.prototype.blur=function(q){var p=this;q.stopPropagation();q.preventDefault();setTimeout(function(){if(!p.$element.is(":focus")&&!p.$menu.is(":hover")){p.hide()}},150)};Typeahead.prototype.clear=function(p){};var h=Typeahead.prototype.next;Typeahead.prototype.next=function(p){g.proxy(h,this)(p);if(!this.$menu.find(".active").is(".typeahead-layout")){return}g.proxy(h,this)(p)};var e=Typeahead.prototype.prev;Typeahead.prototype.prev=function(p){g.proxy(e,this)(p);if(!this.$menu.find(".active").is(".typeahead-layout")){return}g.proxy(e,this)(p)};Typeahead.hooks=g.Callbacks();var m=function(){g(document).on("focusin",".typeahead[data-jalios-ajax-refresh-url]",n);g(document).on("jalios:refresh",i);g(document).on("click",d)};var d=function(q){var p=g(q.target);if(p.exists&&(p.hasClass("typeahead-menu")||p.hasClass("typeahead-input")||p.hasClass("typeahead-label")||p.parent().hasClass("typeahead-container"))){return}var r=g(".typeahead-menu");if(r.is(":visible")){r.hide()}};var i=function(q){var p=g.jalios.Event.match(q,"refresh","success");if(!p){return}if(p.target&&p.target.hasClass("typeahead-menu")){return}var r=g(".typeahead-menu");if(r.is(":visible")){r.hide()}};var n=function(s){var q=g(s.currentTarget);if(q.data("typeahead")){return}var r=g(q.data("ac-typeahead-menu"));if(!r.exists()){r=g('<div class="typeahead-menu ajax-refresh-div"></div>')}var p=q.attr("data-jalios-ajax-refresh-url");if(p){q.attr("autocomplete","off");q.typeahead({menu:r,ajax:p,ajaxOptions:q.data("jalios-options")})}};g(document).ready(function(p){m()})}(window.jQuery);; 8331!function(d){var g={publication:"jcore/autocomplete/acpublication.jsp?",member:"jcore/autocomplete/acmember.jsp?",group:"jcore/autocomplete/acgroup.jsp?",category:"jcore/autocomplete/accategory.jsp?",workspace:"jcore/autocomplete/acworkspace.jsp?",country:"jcore/autocomplete/accountry.jsp?",acl:"jcore/autocomplete/acacl.jsp?"};var i=function(){d(document).on("focusin",".form-control-autocomplete",j);Typeahead.hooks.add(h);d(document).on("click",".typeahead-container",c);d(document).mouseup(f)};var j=function(l){var k=d(l.currentTarget);e(k)};var e=function(n){if(n.data("typeahead")){return}var o=d('<div class="typeahead-menu ajax-refresh-div"></div>');var r=n.closest(".widget");if(!r.exists()){return}var q=r.find('INPUT[data-jalios-ac-action^="acChooser:"]').first();if(!q.exists()){return}var k=false;var p=q.attr("data-jalios-ac-action");p=p.substring(p.indexOf(":")+1);var m=q.attr("data-jalios-ac-options");var l=g[p]+m;if(p=="country"){k=function(s){var u=s.matchClass(/([A-Z]{2}-flag)/g);if(u.length>0){s.removeClass(u[0])}var t=s.next(".form-control").val();if(t){s.addClass(t+"-flag")}}}if(p=="publication"){k=function(s){var t=d.jalios.ui.Widget.Keyword.isInKeyword(s);if(!t){var u=s.parent();
8331var v=u.find(".input-group-btn .dropdown-toggle");if(v.exists()){v.removeClass("hide");u.find(".input-group-btn .btn-remove").addClass("hide")}}}}if(r.hasClass("keyword")){k=function(s){JCMS.form.Widget.add(s[0])}}n.attr("autocomplete","off");n.typeahead({menu:o,ajax:l,selectCB:k})};var h=function(n){if(n.type!="select"){return}var m=n.typeahead.$element;if(!m.hasClass("form-control-autocomplete")){return}var l=n.$active;var p=l.attr("data-value");var o=l.attr("data-placeholder");m.data("autocomplete-update",false);m.val(o);m.next(".form-control").val(p).change();m.change();var k=n.typeahead.options.selectCB;if(k){k(m)}n.stop=true};var a=function(l){l.find(".typeahead-label").animate({opacity:"0"},100).hide();l.find(".typeahead-input").show().animate({opacity:"1"},100);l.addClass("active");var m=l.find("INPUT.typeahead");e(m);m.focus();var k=m.data("typeahead");if(k){if(m.data("ac-typeahead-menu")){k.show()}else{k.lookup()}}};var b=function(k){k.find(".typeahead-input").animate({opacity:"0"},100).hide();k.find(".typeahead-label").show().animate({opacity:"1"},100);k.removeClass("active")};var c=function(k){if(d(k.target).hasClass("typeahead")){return}var l=d(k.target).parents(".typeahead-container");if(d(k.target).hasClass("typeahead-close")){b(l);return}if(l.hasClass("active")){b(l)}else{a(l)}};var f=function(m){var k=d(m.target);if(k.hasClass("typeahead-input")||k.hasClass("typeahead-menu")||k.closest(".typeahead-container").exists()||k.closest(".dropdown-menu").exists()){return}var l=d(".typeahead-container");if(l.exists()){b(l)}};Typeahead.prototype.blur=function(l){var k=this;l.stopPropagation();l.preventDefault();if(!k.$element.hasClass("form-control-autocomplete")){return}setTimeout(function(){if(!k.$element.is(":focus")&&!k.$menu.is(":hover")){k.hide();k.clear()}},150)};Typeahead.prototype.clear=function(l){var k=this.$element;if(!k.hasClass("form-control-autocomplete")){return}if(k.data("autocomplete-update")){k.val("");k.next(".form-control").val("");k.data("autocomplete-update",false)}};d(document).ready(function(k){i()})}(window.jQuery);; 8332!function(f){var c=true;var e=function(){f(document).on("focusin","TEXTAREA.wikiarea",h);Typeahead.hooks.add(g);Typeahead.hooks.add(a);Typeahead.hooks.add(b)};var h=function(l){var j=f(l.currentTarget);if(j.data("typeahead")){return}var k=f('<div class="typeahead-menu ajax-refresh-div"></div>');var i="jcore/autocomplete/acwiki.jsp";j.typeahead({menu:k,ajax:i})};var d=false;var a=function(k){if(k.type!="select"){return}var j=k.typeahead.$element;if(j.prop("tagName")!="TEXTAREA"){return}var n=WikiToolbar._word(d);var m=k.$active.attr("data-value");var l=d.start-d.end;var o=k.$active.attr("data-placeholder");var i=k.$active.attr("data-mention-email-prefix");if(i){m="@"+i}else{if(o){m="[["+m+"]["+(o||n)+"]]"}}if(i&&n.lastIndexOf("@",0)!==0){InputUtil.replaceSelection(j[0],m,fal
8332se,d,l?0:(-n.length+1))}else{InputUtil.replaceSelection(j[0],m,false,d,l?0:-n.length)}j.change();k.stop=true};var g=function(k){if(k.type!="lookup"){return}var j=k.typeahead;var i=j.$element;d=InputUtil.getSelection(i[0],false);var l=WikiToolbar._word(d);if(!i.hasClass("mention-disabled")&&c&&l&&l.length>1&&l.indexOf(" ")<0&&((l.indexOf("@")==0)||(l.indexOf("@")==1))){j.query=l;j.show()}else{if(k.explicit){j.query=l;j.show()}else{j.hide();k.stop=true}}};var b=function(m){var k=m.typeahead.$element;if(k.prop("tagName")!="TEXTAREA"){return}var l=m.typeahead.$menu;var i=k[0];var j=InputUtil.getCharacterCoords(i,d.start);var n=l.offset();l.css({top:n.top+j.top-i.offsetHeight+18,left:n.left+j.left})};f(document).ready(function(i){c=i("BODY").hasClass("jcms-mention-disabled")?false:true;e()})}(window.jQuery);; 8333!function(a){let ready=function(){setup()};let setup=function(){let adjustCollapsingClasses=function(){let $selector=a('[data-toggle="collapse"]:not(.collapsed)');if(!$selector.has(".dropup")){$selector.addClass("dropup")}$selector=a("ul.collapse li.active").children(".app-sidebar-menu-node:not(.collapsed)");$selector.addClass("dropup");let $collapsedMenuItem=a("ul.collapse .app-sidebar-menu-node").closest(".app-sidebar-menu").find("li.active");if($collapsedMenuItem.length){do{$collapsedMenuItem=$collapsedMenuItem.closest(".app-sidebar-menu").siblings(".app-sidebar-menu-node:not(.collapsed)");$collapsedMenuItem.addClass("dropup")}while($collapsedMenuItem.length!==0)}};a(document).on("shown.bs.collapse hidden.bs.collapse",function(b){let $trigger=a('[data-toggle="collapse"][href="#'+b.target.id+'"], [data-toggle="collapse"][data-target="#'+b.target.id+'"]');let $element=a($trigger.data("parent"));if($element.length<=0){$element=$trigger}let $collapsIcon=$trigger.find(".jalios-icon.caret");$collapsIcon.parent().toggleClass("dropup");adjustCollapsingClasses();let toggleClass=$element.data("jalios-collapse-toggle");if(toggleClass){$collapsIcon.toggleClass(toggleClass)}});a(document).on("jalios:refresh",function(b){let refresh=a.jalios.Event.match(b,"refresh","after");if(!refresh){return}adjustCollapsingClasses()});adjustCollapsingClasses()};a(document).ready(ready)}(window.jQuery);; 8334!function(h){if(!h.jalios){h.jalios={}}if(!h.jalios.ui){h.jalios.ui={}}var o=function(){h(document).on("click","[data-jalios-synchronize-option-index-origin]",function(s){const u=h(s.currentTarget).data("jalios-synchronize-option-index-origin");const t=h(s.currentTarget).data("jalios-synchronize-option-target");const r=h(u).prop("selectedIndex");h(t).each(function(v,w){h(w).find("option").eq(r).prop("selected",true)});h(t).trigger("change")});h(document).on("focusin","DIV.widget INPUT,DIV.widget SELECT",function(s){var r=h(s.currentTarget);r.getWidget().addClass("focus-widget")});h(document).on("focusout","DIV.widget INPUT,DIV.widget SELECT",function(s){var r=h(s.currentTarget);r.getWidget().removeClass("focus-widget")});h(document).on("input propertychange","DIV.widget INPUT.form-control-autocomplete",function(r){var v=h(this);if(!v.val()){v.next(".form-control").val("");var t=h.jalios.ui.Widget.getWrapper(v);var u=t.find(".input-group-btn .dropdown-toggle");if(u.exists()){var s=t.find(".input-group-btn .btn-remove");if(s.exists()){u.addClass("hide");t.find(".input-group-btn .btn-remove").removeClass("hide")}}}});h(document).on("click","DIV.widget .add-field",g);h(document).on("click","DIV.widget .insert-field",c);h(document).on("click",".js-reveal-password",q);h(document).on("change","DIV.widget.keyword INPUT",function(r){h.jalios.ui.Widget.Keyword.resizeKeyword(h(this));h.jalios.ui.Widget.Keyword.toggleClear.defer(h(this))});h(document).on("keydown input","DIV.widget.keyword INPUT",function(r){h.jalios.ui.Widget.Keyword.resizeKeyword(h(this))});h(document).on("jalios:refresh",function(s){var r=h.jalios.Event.match(s,"refresh","after");if(!r){return}if(r.options&&r.options.fieldAutocomplete){return}if(r.target){e(r.target,!r.options.noscroll)}});h(document).on("jalios:refresh",function(t){var s=h.jalios.Event.match(t,"refresh","before");if(!s||!s.options){return}var r=h(s.options.trigger);if(r.getJcmsId()!="CtxWidget"){return}m(r,s.options.params)})};var e=function(v,A){if(!v){return}var r=h(v);if(r.hasClass("modal")&&!r.is(":visible")){return}
8334if(r.closest(".no-focus").exists()){return}if(r.hasClass("tab-group-list-item")){return}if(r.hasClass("input-group-list-item")){r.blur();return}var C=r.find(".focus");if(C.exists()){r=C}var x=r.find("input[type=text]:visible, TEXTAREA");var B=h(x[0]);if(B.hasClass("control-wysiwyg")&&!B.closest(".no-focus").exists()){var t=B.closest(".form-group.multilingual");var z=B.closest(".form-group.multivalued");if(t.exists()){var w=z.exists()?t.find(".tab-content > .tab-pane.active .input-group-list-item.active"):t.find(".tab-content > .tab-pane.active");if(w.exists()){B=h(w.find("TEXTAREA"))}}var s=B.closest(".wysiwyg-editor");if(s.find(".mce-tinymce,.tox-tinymce").exists()){var u=B.tinymce();if(u){u.focus()}return}else{B.closest(".wysiwyg-editor").addClass("focus")}}var y=r.find(":input:visible:first");if(y.closest(".no-focus").exists()){return}if(!y.exists()){return}if(A){y.focusElement();h("html,body").animate({scrollTop:y.offset().top-h(window).height()/2},"fast")}else{y.focusWithoutScrolling()}};var i=function(B,t){var A=B||h.jalios.ui.CtxMenu.$latest;var x=h.jalios.ui.Widget.getWrapper(A);j(x);var y=h.jalios.ui.Widget.Keyword.isInKeyword(A);var D=h.jalios.ui.Widget.getWidget(A).hasClass("multivalued");if(!t&&(y||D)){var z=h(A.getOriginalContext());var w=z.closest(".keep-open").exists();if(w){z.data("dropdown-keep-open",w);z.children().data("dropdown-keep-open",w);A.data("dropdown-keep-open",w)}var r=h.jalios.ui.Widget.getWidget(A);var v=h.jalios.ui.Widget.getWidget(A).hasClass("multilingual");if(v){var C=A.attr("id");var u=parseInt(C.substring(C.lastIndexOf("_")+1));r.find("LI.jalios-input-group INPUT").each(function(){var E=h(this).attr("id");var F=parseInt(E.substring(C.lastIndexOf("_")+1));F=F||0;if(F===u&&h(this).attr("value")===""){JCMS.form.Widget.remove(h(this)[0])}})}else{JCMS.form.Widget.remove(A[0])}return false}else{var s=jQuery.Event("jalios:field");s.target=B;s.field={};s.field.type="clearField";s.field.wrapper=x;jQuery(document).trigger(s)}};var j=function(t){t.find("INPUT, SELECT, TEXTAREA").each(function(){var w=h(this);if(w.prop("checked")){w.prop("checked",false)}else{if(w.prop("selectedIndex")){w.prop("selectedIndex",0)}else{if(w.is(":not(:radio)")&&w.is(":not(:checkbox)")&&w.is(":not(.wysiwyg-editor-infos)")){w.val("").change();if(w.is(":file")){var v=w.closest(".jalios-publication-filebrowser");if(v.exists()){if(v.is(":input")){}else{var x=v.data("plupload");h.each(x.files,function(z,y){x.removeFile(y)})}}else{var v=w.closest(".control-file.plupload");if(v.exists()){var x=v.data("plupload");h.each(x.files,function(z,y){x.removeFile(y)})}}}}}}});var s=t.find(".input-group-btn");var u=s.find(".dropdown-toggle");if(u.exists()){h.fn.dropdown.clearMenus();var r=s.find(".dropdown-menu");r.find(".edit-item").addClass("hide");r.find(".upload-new-version-item").addClass("hide");r.find(".add-item").removeClass("hide")}t.find(".color-preview").css("background","")};var k=function(t,r){var s=0;t.find("LI.jalios-input-group INPUT").each(function(){if(s===r){JCMS.form.Widget.remove(h(this).closest(".jalios-input-group")[0])}s++})};const q=function(r){let $target=h(r.currentTarget);let $passwordInput=$target.closest(".input-group").find(".form-control-password");let type=$passwordInput[0].type;let toggleTitle=$target.data("jalios-toggle-title");$target.data("jalios-toggle-title",$target.attr("title"));$target.attr("title",toggleTitle);$passwordInput.closest(".input-group").toggleClass("is-password-revealed");if(type==="text"){$passwordInput[0].type="password"}else{if(type==="password"){$passwordInput[0].type="text"}}};var c=function(s){s.preventDefault();var r=h(s.currentTarget);g(s,null)};var g=function(t,s){t.preventDefault();var r=h(t.currentTarget);var u=h.jalios.ui.Widget.getWidget(r);f(u,s)};var f=function(w,s){var t=w.find(".jalios-nav-pills");var r=t.children().last();var u=r.children();var v=u.data("jalios-fieldgroup");if(v){h("A[data-jalios-fieldgroup="+v+"]").each(function(){var z=h(this);var y=z.closest(".tab-pane.wdglang");var x=y.exists()?y:h.jalios.ui.Widget.getWidget(z);n(x,s)})}else{n(w,s)}};var n=function(s,r){if(h.jalios.Wiki){h.jalios.Wiki.hideWikiToolbar(s)}var t=s.find(".tab-pane.wdglang");if(t.exists()){t.each(function(){b(h(this),r)})}else{b(s,r)}};var b=function(B,C){var z=B.find("OL.input-group-list, UL.input-group-list");
8334var E=h.isNumeric(C)?z.children().eq(C):z.children().last();var x=E.clone();x.removeClass("active");x.insertAfter(E);var r=p(x);x.find(".form-control").each(function(){var F=h(this);p(F,x);if(F.hasClass("control-wysiwyg")){F.css("display","");F.closest(".wysiwyg-editor").find(".mce-tinymce,.tox-tinymce").remove();F.initWysiwyg()}});var y=x.find(".jalios-publication-filebrowser");if(y.exists()){p(y,x);if(y.is(":input")){y.prop("disabled",B.hasClass("disabled"))}else{y.empty();y.jcmsPlupload()}y.removeClass("hide");x.find("INPUT.form-control-display").addClass("hide").prop("disabled",true);x.find("INPUT.form-control-value").addClass("hide").prop("disabled",true)}else{var y=x.find(".control-file.plupload");if(y.exists()){p(y);y.empty();y.jcmsPlupload()}}j(x);var D=B.find(".jalios-nav-pills");var v=D.children().last().clone();v.removeClass("active");D.append(v);if(r){var w=v.children();var A=parseInt(r.substring(r.lastIndexOf("_")+1));w.attr("href","#"+r).html(A+1);var u=w.data("jalios-fieldgroup");if(u){var t=u.substring(0,u.lastIndexOf("_")+1)+A;w.data("jalios-fieldgroup",t);w.attr("data-jalios-fieldgroup",t)}}let firstFocusableElement=h.jalios.a11y.getFocusInformation(x).firstFocusableElement;if(firstFocusableElement){firstFocusableElement.focus()}var s=h.Event("jalios:field");s.field={};s.field.type="addedField";s.field.wrapper=B;s.field.clones=[x,v];h(document).trigger(s)};var p=function(t,v){var u=h(t);var y=u.attr("id");if(y){var w=y.substring(0,y.lastIndexOf("_")+1);var x=parseInt(y.substring(y.lastIndexOf("_")+1))+1;if(v){var r=h(v).attr("id");if(r){x=parseInt(r.substring(r.lastIndexOf("_")+1))}}var s=w+x;u.attr("id",s);return s}return false};var d={UI_EDITOR_COLORCHOOSER:"F",UI_EDITOR_IMAGEPATH:"I",UI_EDITOR_SIMPLEIMAGEPATH:"I",UI_EDITOR_MEDIAPATH:"M",UI_EDITOR_SIMPLEMEDIAPATH:"M",UI_EDITOR_DATECHOOSER:"V",UI_EDITOR_MEMBERCHOOSER:"EHJY",UI_EDITOR_GROUPCHOOSER:"EGY",UI_EDITOR_PUBLICATIONCHOOSER:"ELXMSCcY",UI_EDITOR_PUBLICATIONSCHOOSER:"ELXMSCcY",UI_EDITOR_CATEGORYCHOOSER:"EZY",UI_EDITOR_CATEGORIESCHOOSER:"EZY",UI_EDITOR_WORKSPACECHOOSER:"EOY",UI_EDITOR_QUERYCHOOSER:"QY",UI_EDITOR_ACLCHOOSER:"Y",UI_EDITOR_SQLQUERY:"",UI_EDITOR_DBRECORDCHOOSER:""};var m=function(r,t){var x=r.getWidget();var w=h.jalios.ui.Widget.getWrapper(r);t.items="";var v=x.attr("class").split(/\s+/);for(var u=0;u<v.length;u++){if(!d[v[u]]){continue}t.items+=d[v[u]]}if(w.is("LI")){t.items=(w.parent().is("OL")&&!x.hasClass("nodnd"))?("R"+t.items+"-ATUD-"):(t.items+"-AT-")}else{t.items="R"+t.items}if(x.is("ml")){t.items+="y"}t.lang=h.jalios.ui.Widget.getLanguage(r);var s=w.find("INPUT.formChooserfield");if(!s.exists()){return}t.chooserId=s.val();t.chooserType=x.matchClass(/super_([\w\.]+)/,1)||false};h.jalios.ui.Widget={getWidget:function(s){if(!s){return}var r=h(s);return r.closest("DIV.widget, SPAN.widget")},getWrapper:function(t){if(!t){return}var r=h(t);var s=r.closest("LI, DIV");return s.is(".input-group-btn")?s.parent():s},getLanguage:function(s){if(!s){return}var r=h(s);return r.closest("DIV.wdglang").matchClass(/wdglang-(\S+)/,1)||false},smartFocus:e,clear:i,addField:f,removeField:k};h.jalios.ui.Widget.Keyword={isInKeyword:function(r){return h.jalios.ui.Widget.getWidget(r).hasClass("keyword")},resizeKeyword:function(r){if(!h.jalios.ui.Widget.Keyword.isInKeyword(r)){return}var s=h(r);s.attr("size",s.val().length||1)},toggleClear:function(r){if(!h.jalios.ui.Widget.Keyword.isInKeyword(r)){return}var s=h(r)}};h.fn.getWidget=function(){return h.jalios.ui.Widget.getWidget(this)};h.fn.smartFocus=function(){return h.jalios.ui.Widget.smartFocus(this)};h.fn.focusWithoutScrolling=function(){if(!this.exists()){return}var r=window.scrollX,t=window.scrollY,s=h(window);this.parents("DIV").each(function(){if(h(this).css("overflow")!="auto"){return}s=h(this);t=s.scrollTop();r=s.scrollLeft();return false});this.focus();s.scrollTop(t);s.scrollLeft(r)};h.fn.toggleDisabledField=function(){h(this).toggleClass("disabled");h(this).find(":input").prop("disabled",function(r,s){return !s});h(this).find("A.ctxLangForm").toggleClass("disabled")};var l=h.fn.addClass;h.fn.addClass=function(s){var t=l.apply(this,arguments);if(this.exists()&&(s=="active"||s=="in")){e(this)}return t};var a=h.fn.removeClass;h.fn.removeClass=function(s){var t=a.apply(this,arguments);if(this.exists()&&(s=="hide"||s=="hide-scroll")){e(this,s=="hide-scroll")}return t};h(document).ready(function(r){o()})}(window.jQuery);; 8335!(function(g){var a=/(chooser):([\w-]+)/i;var n=/(widget):([\w-]+)/i;var m={acl:{path:g.jalios.Http.buildUrl("work/chooser/aclChooser.jsp"),name:"ACL"},category:{path:g.jalios.Http.buildUrl("work/categoryChooser.jsp?cids={value}"),name:"Category"},country:{path:g.jalios.Http.buildUrl("work/chooser/countryChooser.jsp"),name:"Country"},dbrecord:{path:g.jalios.Http.buildUrl("work/dbrecordChooser.jsp"),name:"DBRecord"},document:{path:g.jalios.Http.buildUrl("work/docChooser.jsp",{nbElt:"1"}),name:"Document"},group:{path:g.jalios.Http.buildUrl("work/chooser/groupChooser.jsp"),name:"Group"},image:{path:g.jalios.Http.buildUrl("work/mediaBrowser.jsp",{selectMode:"true",medias:"image"}),name:"Image",ref:"mediabrowser"},language:{path:g.jalios.Http.buildUrl("work/langChooser.jsp"),name:"Language"},media:{path:g.jalios.Http.buildUrl("work/mediaBrowser.jsp",{selectMode:"true"}),name:"Media",ref:"mediabrowser"},member:{path:g.jalios.Http.buildUrl("work/chooser/memberChooser.jsp"),name:"Member"},publication:{path:g.jalios.Http.buildUrl("work/pubChooser.jsp"),name:"Publication"},query:{path:g.jalios.Http.buildUrl("work/queryChooser.jsp",{qs:"{value}"}),name:"Query"},workspace:{path:g.jalios.Http.buildUrl("work/workspace/workspaceChooser.jsp"),name:"Workspace"},unifiedinsert:{path:"work/unifiedinsert/unifiedinsert.jsp?",name:"UnifiedInsert"}};var l=function(){g(document).on("jalios:broker",b);g(document).on("keyup",".duration_user",function(p){var o=g(p.currentTarget);f(o,1000)});g(document).on("change",".duration_unit",function(p){var o=g(p.currentTarget);f(o,1000)});g(document).on("change",".jalios-country",function(p){var o=g(p.currentTarget);o.prev("INPUT.jalios-country-display").removeClass(p.previousValue+"-flag").addClass(p.currentVal+"-flag")});g(document).on("change",".control-date",function(q){var p=g(q.currentTarget);j(p);var o={event:"change"};p.trigger(jQuery.Event("jalios.date.change",o))});g(document).on("focusout",':input[data-jalios-event="datechange"]',function(s){var u=g(this);var t=u.val();if(t){var o=u.closest(".datepicker-wrapper");var v=jQuery.jalios.I18N.glp("lang.datepicker");var p=o.closest(".widget").hasClass("jalios-date-time");var q=i(t,p,v);if(q){var r=i(o.data("date"),p,v);if(!r||r.getTime()!==q.getTime()){setTimeout(function(){var w={date:moment(q),event:"focusout"};u.trigger(jQuery.Event("datechange",w))},100)}}}});g(document).on("change",".form-control-value.jalios-workspace",function(p){var o=g(p.currentTarget);var s=o.closest(".widget");if(!s||!s.exists()){return}var r=s.find(".triggerWsChangeRefresh");if(!r||!r.exists()){return}var q=s.find(".workspaceChangeEvent");
8335if(!q||!q.exists()){return}q.val(true);o.refresh()})};var b=function(C){var F=g.jalios.Event.match(C,"broker");if(!F){return}var v=F.type.match(a);var u=F.type.match(n);if(!(v||u)){return}var r=v?F.type.match(a):F.type.match(n);var w=r[1];var A=r[2];if(!w||!A){return}var B=g(F.source.currentTarget);var z=B.closest(".input-group-btn").find(".dropdown-menu");while(z.exists()&&z.hasClass("dropdown-menu")){z=z.parent();if(z.hasClass("dropdown-submenu")){z=z.parent()}}if(!z.exists()){z=B.parent()}var E=z.prevAll("INPUT.form-control-value");if(!E.exists()){E=z.prevAll("INPUT.form-control.control-file")}if(!E.exists()){E=B.closest(".control-file.plupload")}var q=F.options;if(m[A]){k(E,A,q,B)}else{if(A=="color"){try{if(!B.is("INPUT")){let $spectrumInput=B.closest(".input-group").find(".spectrum");$spectrumInput.spectrum("show")}}catch(s){g.console.log(s)}}else{if(A=="duration"){}else{if(A=="date"){if(!E.exists()&&B.is("INPUT")){E=B}c(B,E)}else{if(A=="clear"){g.jalios.ui.Widget.clear(E);try{if(!B.is("INPUT")){let $spectrumInput=B.closest(".input-group").find(".spectrum");if($spectrumInput.length){$spectrumInput.spectrum("set","");$spectrumInput.trigger("change",{currentVal:""})}}}catch(s){g.console.log(s)}if(E.hasClass("jalios-country")&&!E.val()){var p=E.prev(".control-country");var x=p[0].className.match(/\w*-flag/g);if(x){for(var D=0;D<x.length;D++){p.removeClass(x[D])}p.addClass("-flag")}}if(E.data("jalios-event")==="datechange"){var q={event:"clear"};E.trigger(jQuery.Event("datechange",q))}if(E.hasClass("jalios-publication")){var y=g.jalios.ui.Widget.getWidget(E);if(y.exists()){var o=E.closest(".jalios-input-group");var t=o.find(".jalios-publication-filebrowser");if(t.exists()){t.prop("disabled",y.hasClass("disabled"));t.attr("disabled",null);t.removeClass("hide");o.find("INPUT.form-control-display").addClass("hide").prop("disabled",true);o.find("INPUT.form-control-value").addClass("hide").prop("disabled",true)}}}}else{if(B.attr("data-jalios-chooser")){q.customId=A;k(E,B.attr("data-jalios-chooser"),q,B)}}}}}}};var k=function(q,u,t,o){var v=function(z,K,A,y){var G=q.parent();var J=G.find("INPUT.form-control-display");if(J.exists()){var F=q.val();q.val(z||"").trigger(jQuery.Event("change",{previousValue:F,currentVal:z}));var B=J.val();J.val(K||"").trigger(jQuery.Event("change",{previousValue:B,currentVal:K}))}else{var E=q.val();q.val(y||"").trigger(jQuery.Event("change",{previousValue:E,currentVal:y}))}var D=G.find(".jalios-publication-filebrowser");if(D.exists()){D.addClass("hide");if(D.is(":input")){D.prop("disabled",true)}else{D.find('INPUT[type="file"]').prop("disabled",true)}J.removeClass("hide");J.prop("disabled",false);q.prop("disabled",false)}if(q.hasClass("jalios-publication")&&z){var x=g.jalios.ui.Widget.Keyword.isInKeyword(q);if(!x){var H=G.find(".input-group-btn");var I=H.find(".dropdown-toggle");if(I.exists()){g.fn.dropdown.clearMenus();var C=H.find(".dropdown-menu");C.find(".edit-item").removeClass("hide");C.find(".add-item").addClass("hide")}}}var w=q.closest(".widget");if(w.exists()&&w.hasClass("keyword")){JCMS.form.Widget.add(J[0])}};var p={currentValue:q.val(),params:t,popup:{}};if(o.data("jalios-chooser-popup-width")){p.popup.width=o.data("jalios-chooser-popup-width")}if(o.data("jalios-chooser-popup-height")){p.popup.height=o.data("jalios-chooser-popup-height")}var s=q.closest(".edit-pub,#jalios-modal,form");if(!p.params.ws&&!p.params.workspaceFilter&&s.exists()&&u!=="group"&&u!=="member"){var r=s.find(':input[name="ws"]');if(r.exists()){p.params.ws=r.val()}}if(p.params.customId==="edit"){delete p.params.ws}g.jalios.ui.Widget.Chooser.openDataChooser(u,v,p)};var c=function(o,r){var p=o.closest(".datepicker-wrapper");if(!p.data("DateTimePicker")){var s=jQuery.jalios.I18N.glp("lang.datepicker");var q=p.closest(".widget").hasClass("jalios-date-time");p.datetimepicker({locale:s,format:d(!q),calendarWeeks:true,stepping:1,widgetParent:g(document.body),keyBinds:{left:null,right:null,"delete":null},icons:{time:"glyphicons-clock",date:"glyphicons-calendar",up:"glyphicons-chevron-up",down:"glyphicons-chevron-down",previous:"glyphicons-chevron-left",next:"glyphicons-chevron-right",today:"glyphicons-screenshot",clear:"glyphicons-trash"}}).on("dp.change",function(u){var t={date:u.date,oldDate:u.oldDate,event:"change"};j(p);r.trigger(jQuery.Event("jalios.date.change",t))}).on("dp.hide",function(u){var t={date:u.date,event:"hide"};j(p);if(u.date){r.trigger(jQuery.Event("datechange",t))}})}p.data("DateTimePicker").show()};g.jalios.ui.Widget.Chooser={openDataChooser:function(p,v,s){var s=s||{};s.currentValue=s.currentValue||"";s.params=s.params||{};var v=v||function(w){};var r,u,q;if(m[p]){r=m[p]["ref"]||p;u=m[p].path;q=m[p].name}else{r=s.params.customId||"custom";u=p;q="Custom"}u=u.replace(new RegExp(encodeURIComponent("{value}")),encodeURIComponent(s.currentValue));u=g.jalios.Http.buildUrl(u,s.params);u=g.jalios.Http.getContextPath()+"/"+u;s=g.extend(true,{popup:{width:1080,height:600}},s);var t=s.popup.width;var o=s.popup.height;g.jalios.Browser.popupWindow(u,q,t,o,false,true,true,false,false,v)}};var j=function(u){var q=jQuery.jalios.I18N.glp("lang.datepicker");var r=jQuery(u).closest(".datepicker-wrapper").addBack(".datepicker-wrapper");var y=r.closest(".widget");var A=y.hasClass("jalios-date-time");var z=r.find(".form-control-display");var p=r.find(".form-control-value");if(!z.exists()){return}var x=z.data("timezone");var o=p.data("timezone");var s=z.val();var t=moment.tz(s,d(!A),x);if(t.isValid()){var v=t.clone().tz(o);var w=v.format(d(!A));p.val(w)}};var i=function(s,o,r){var p;if(s){var q=moment(s,d(!o),r||I18N["lang.datepicker"],true);if(q.isValid()){p=q.toDate()}}return p};var e=function(p,o,r){var q;if(p){q=moment(p).locale(r||I18N["lang.datepicker"]).format(d(!o))}return q};var d=function(o){return I18N.glp(o?"datechooser.js.date-format":"datechooser.js.date-time-format")};var h=function(q){var r=q.closest(".widget").hasClass("jalios-date-time");var s=q.val();if(!s){return}var o=parseInt(s);var p=new Date(o);q.val(e(p,r))};var f=function(o,q){var u=g.jalios.ui.Widget.getWrapper(o);var s=u.find("INPUT.duration");var r=u.find("INPUT.duration_user");var p=u.find("SELECT.duration_unit");if(!r.exists()){return}r.val(r.val().replace(/[^0-9\.]/,""));var t=r.val()?parseInt(Math.round(r.val()))*parseInt(p.val()):"";s.val(t)};g.jalios.ui.Widget.Date={stringToDate:i,dateToString:e,getDateFormat:d,updateDuration:f,updateDate:h,openDateChooser:c};g(document).ready(function(o){l()})})(window.jQuery);; 8336!function(b){var a=function(){b(document).on("jalios:refresh",c)};var c=function(e){var d=b.jalios.Event.match(e,"refresh","before");if(d&&b(d.options.trigger).hasClass("caddyUpdate")){var f=d.options.params||{};f.elmIds=b(".caddyUpdate").identify().map(function(){var i=b(this).attr("id");var g=b.jalios.Http.toQueryParams(b(this).attr("data-jalios-caddy-params"));for(var h in g){f[i+h]=g[h]}return i}).get();f.ws=Element.getJcmsId(document.body,"WS_")}var d=b.jalios.Event.match(e,"refresh","after");if(d&&b(d.options.trigger).hasClass("caddyUpdate")){var f=d.options.params;if(!f){return}f.elmIds.each(function(i){var g=b("#"+i);var h=b("#"+i+"Replacement > *:first-child");g.replaceWith(h);h.attr("id",i)});b(".topbar-caddy-menu").refresh();var e=jQuery.Event("jalios:caddy");b(document).trigger(e)}b("#caddyPopinAjaxReplacements").remove()};b(document).ready(function(d){a()})}(window.jQuery);; 8337!function(c){var h=function(){c.jalios.ui.TreeView.upgrade();a(c(document));c(document).on("jalios:refresh",function(l){var k=c.jalios.Event.match(l,"refresh","after");if(!k){return}if(!k.target){return}k.target.each(function(){c.jalios.ui.TreeView.upgrade(this)});a(k.target)});c(document).on("jalios:autocomplete",f);c(document).on("click","UL.treeview .icon-treeview",e);c(document).on("click",".js-unselect-radio",function(k){let $radioInput=c(k.currentTarget);if($radioInput.attr("previousValue")=="true"){$radioInput.prop("checked",false)}else{$radioInput.attr("previousValue",false)}$radioInput.closest(".treeview").find(".js-unselect-radio").each(function(l,m){c(m).attr("previousValue",false)});$radioInput.attr("previousValue",$radioInput.is(":checked"))});c(document).on("change",".js-unselect-radio",function(k){let $radioInput=c(k.currentTarget);$radioInput.attr("previousValue",$radioInput.is(":checked"))});c(document).on("mouseover","UL.treeview.dragdrop .treeview-item-icon",d)};var a=function(k){k.find("UL.treeview.autocomplete").each(function(){var o=c(this);if(o.children("LI").exists()){var n="jcore/autocomplete/accategory.jsp?acadd=false";n+=o.hasClass("filter-manage")?"&filter=MANAGE":o.hasClass("filter-use")?"&filter=USE":o.hasClass("filter-read")?"&filter=READ":"";n+=o.hasClass("selectable")?"&selectable=true":"";n+="&rootCids="+o.matchClass(/ID_(\w+)/g).join("&rootCids=");n+="&rm="+o.matchClass(/RM_(\w+)/g).join("&rm=");var m="form-control typeahead treecatcomplete hidden-print"+(o.hasClass("hide")?" hide":"");var p=o.data("jalios-categorytree-search-input-context")&&o.data("jalios-categorytree-search-input-context").placeholder?o.data("jalios-categorytree-search-input-context").placeholder:I18N.glp("info.msg.autocomplete");var l=o.data("jalios-categorytree-search-input-context")&&o.data("jalios-categorytree-search-input-context").ariaLabel?o.data("jalios-categorytree-search-input-context").ariaLabel:I18N.glp("info.msg.autocomplete.search-category");var q=o.attr("id");o.before('<input type="text" class="'+m+'" data-jalios-treecat="'+q+'" aria-label="'+l+'" data-jalios-ajax-refresh-url="'+n+'" placeholder="'+p+'"/>')}
8337else{var m="alert alert-info"+(o.hasClass("hide")?" hide":"");o.before('<div class="'+m+'"><p>'+I18N.glp("treecat.no-item")+"</p></div>")}});c(document).on("keydown",".treecatcomplete",function(l){if(l.which==13&&c(this).val().trim()===""){l.preventDefault();return false}})};var f=function(o){var q=jQuery.jalios.Event.match(o,"autocomplete");var k=q.$element.attr("data-jalios-treecat");if(!k){return}q.$element.val("");var p=q.$menu.find(".active").attr("data-value");var m=q.$element.next("UL.treeview");var n=[];if(m.hasClass("treeview-checkbox")){m.find("INPUT[type=checkbox]:checked").each(function(){n.push(c(this).val())})}if(m.hasClass("treeinput")){n.push(p)}var l={params:{}};l.url=m.attr("data-jalios-ajax-refresh-url");l.params.treeHint=m.attr("data-jalios-treeview-hint");l.target=m;l.scroll=false;var r=m.find("A[data-jalios-id="+p+"].treeview-name");if(r.exists()){if(!r.hasClass("treeview-hl")){l.callback=function(){if(m.hasClass("treeinput")){return}c.jalios.DOM.follow(r)}}}else{l.callback=function(){if(m.hasClass("treeinput")){return}var s=m.find("A[data-jalios-id="+p+"].treeview-name");c.jalios.DOM.follow(s)}}l.params.treeOpened=n.length>0?n:p;l.params.treeChecked=n;l.params.treeHighlighted=n;l.nohistory=true;m.refresh(l)};var d=function(l){var k=c(l.currentTarget);k.closest("UL[data-jalios-ajax-refresh-url].treeview-root.dragdrop").find("LI").each(function(){c(this).droppable({tolerance:"pointer",greedy:true,drop:b,accept:"LI",hoverClass:"sortable-active"})});k.closest("LI").draggable({axis:"y",cursor:"move",revert:"invalid",handle:".treeview-item-icon"})};var b=function(o,p){var k=c(p.helper);var q=c(this);var m={params:{drag:k.getJcmsId(),drop:q.getJcmsId()}};var l=q.closest("UL[data-jalios-ajax-refresh-url].treeview");if(!l.exists()){return}var n=[];l.find("INPUT[type=checkbox]:checked").each(function(){n.push(c(this).val())});m.url=l.attr("data-jalios-ajax-refresh-url");m.params.treeOpened=q.getJcmsId();m.params.treeHighlighted=q.getJcmsId();m.params.treeHint=l.attr("data-jalios-treeview-hint");m.target=l;m.scroll=false;m.params.treeChecked=n;l.refresh(m)};var i=function(m){var k=c(".treeview",m||document);if(m&&c(m).is(".treeview")){k=k.add(m)}var l=new Date().getTime();k.each(function(){c(this).children("LI").each(function(){var o=c(this);if(!o.hasClass("treeview-open")&&!o.hasClass("treeview-close")){var n=o.children("UL.treeview");if(n.exists()){if(n.children("LI").html()){o.addClass("treeview-open")}else{o.addClass("treeview-close")}}}if(!o.hasClass("treecat-msg")&&!o.children(":first-child").is(".icon-treeview")){o.prepend('<span class="icon-treeview"></span> ')}o.children("INPUT").attr("id",function(q,p){if(p){return p}p="treev_"+(l++);c(this).siblings("LABEL").attr("for",p);return p})})})};var e=function(k){var l=c(this).parent();if(l.hasClass("treeview-open")){l.removeClass("treeview-open").addClass("treeview-close")}else{if(l.hasClass("treeview-close")){l.removeClass("treeview-close").addClass("treeview-open");g(l)}}};var g=function(o,n){var k=o.is("UL")?o:o.find("> UL");var l={url:"jcore/treeview/treeview.jsp",target:k,params:{treeId:o.getJcmsId(true),treeChecked:[],treeHighlighted:[],treeOpened:[],treeCollection:[]},nohistory:true};o.find("INPUT[type=checkbox]:checked").each(function(){l.params.treeChecked.push(c(this).val());l.params.treeHighlighted.push(c(this).val())});var m=l.target.closest("UL[data-jalios-ajax-refresh-url].treeview");if(m.exists()){l.url=m.attr("data-jalios-ajax-refresh-url");l.params.treeHint=m.attr("data-jalios-treeview-hint")}if(m.length){let $treeRoot=m.closest("UL.treeview-root");if($treeRoot.length){let originalQueryStringJSON=$treeRoot.attr("data-jalios-treeview-original-qs");if(originalQueryStringJSON){let originalParams=JSON.parse(originalQueryStringJSON);if(originalParams){for(let key in originalParams){if(Object.prototype.hasOwnProperty.call(originalParams,key)){l.params[key]=originalParams[key]}}}}}}if(n){if(c.isArray(n)){c.merge(l.params.treeOpened,n);c.merge(l.params.treeCollection,n)}else{l.params.treeOpened.push(n);l.params.treeCollection.push(n)}}if(l.params.treeId){o.refresh(l)}else{if(l.url){o.refresh(l)}else{c.jalios.Browser.reload()}}};var j=function(k){let $refreshingElement=c('LI[data-jalios-id="'+k.nodeId+'"]');let $treeview;if(k.refreshRoot==="true"){$treeview=$refreshingElement.closest("UL[data-jalios-ajax-refresh-url].treeview-root")}else{$treeview=$refreshingElement.closest("UL[data-jalios-ajax-refresh-url].treeview")}jQuery.jalios.ui.TreeView.refresh($treeview,false);jQuery.jalios.ui.CtxMenu.hide()};if(!c.jalios){c.jalios={}}if(!c.jalios.ui){c.jalios.ui={}}
8337c.jalios.ui.TreeView={upgrade:i,refresh:g,refreshNode:j};c(document).ready(function(k){h()})}(window.jQuery);; 8338!function(b){var a=function(){c();b(document).on("jalios:refresh",c)};var c=function(){b(".table-data th .sort-link").each(function(d){var f=b(this).closest("th");var e=b(this).find(".pager-sort-active").exists();f.addClass("th-sort").addClass(e?"th-sort-active":"th-sort-inactive")})};b(document).ready(function(d){a()})}(window.jQuery);; 8339!function(b){var a=function(){b(document).on("shown.bs.dropdown",function(k){var f=false;var i=b(k.target).hasClass("dropdown-menu")?b(k.target):b(k.target).find(".dropdown-menu").first();if(!i.exists()){return}if(!i.parents("#jalios-modal").length){var h=d(i[0]);if(!h){f=true}}else{var j=c(i);var n=b("#jalios-modal .modal-dialog");var m=c(n);var l=m.left+n.outerWidth();var g=j.left+i.outerWidth()*2;if(l<g){f=true}}if(f){i.addClass("dropdown-overflow");i.find(".dropdown-submenu").addClass("pull-left");i.addClass("pull-right")}});var d=function(f){var g=f.offsetLeft;var e=f.offsetWidth;while(f.offsetParent){f=f.offsetParent;g+=f.offsetLeft}return(g>=window.pageXOffset&&(g+e)<=(window.pageXOffset+window.innerWidth))};var c=function(e){return{top:e.offset().top,left:e.offset().left}}};b(document).ready(function(c){a()})}(window.jQuery);; 8340!function(b){var a=function(){b(".modal .forbidden-message .alert-warning BUTTON.close").on("click",function(){var c=b(this).closest(".modal");c.modal("hide")})};b(window).ready(function(){a()});b(document).on("jalios:refresh",function(c){if(c.refresh.type=="after"){a()}})}(window.jQuery);; 8341(function(e,h,i,b){const g="jaliosDirtyFormControlPlugin",f="plugin_"+g,d={config:{}};function j(k){this.$element=e(k);this._defaults=d;this._name=g;this.init()}j.prototype={init:function(){this.registerFormChange()},registerFormChange:function(){let that=this;if(!this.$element.is("form")){e.console.log("Jalios dirty form control only works on FORM element")}this.$element.find(":input").on("jalios.date.change change input",function(){that.$element.data("is-form-dirty",true)})},isFormDirty:function(){let isDirty=this.$element.data("is-form-dirty");if(isDirty){return true}if(typeof tinyMCE!=="undefined"){var k=false;e.each(tinyMCE.editors,function(l,m){if(e(m.formElement).hasClass("jalios-dirty-form-control")){k|=m.isDirty()}});if(k){return true}}return false}};e.fn[g]=function(l){var k=arguments;if(l===b||typeof l==="object"){return this.each(function(){if(!e.data(this,f)){var n=e(this).data();e.data(this,f,new j(this,l,n))}})}else{if(typeof l==="string"&&l[0]!=="_"&&l!=="init"){var m;this.each(function(){var n=e.data(this,f);if(n instanceof j&&typeof n[l]==="function"){m=n[l].apply(n,Array.prototype.slice.call(k,1))}if(l==="destroy"){e.data(this,f,null)}});return m!==b?m:this}}};const c=function(){if(e(".jalios-dirty-form-control").length>0){h.onbeforeunload=a;e(".jalios-dirty-form-control").each(function(k,l){if(!e(l).data("jalios-dirty-form-control-initialized")){e(l).data("jalios-dirty-form-control-initialized",true);e(l).jaliosDirtyFormControlPlugin()}})}};const a=function(k){if(h.disableOnBeforeUnloadMessage){return}let isAnyFormDirtry=false;e(".jalios-dirty-form-control").each(function(l,m){if(e(m).data(f).isFormDirty()){isAnyFormDirtry=true}});if(isAnyFormDirtry){return I18N.glp("warn.edit.contentlost")}return};e(i).ready(function(){c();e(i).on("jalios:refresh",function(k){let refresh=e.jalios.Event.match(k,"refresh","after");if(refresh){c()}})})})(jQuery,window,document);; 8342!(function(b){const a=function(e){this.$element=b(e);this.init()};a.prototype.init=function(){this.$focusableElements=this.$element.find(b.jalios.a11y.focusableElementsSelector).filter(function(e,f){return !b(f).closest(".hide").exists()});this.firstFocusableElement=this.$focusableElements[0];this.lastFocusableElement=this.$focusableElements[this.$focusableElements.length-1]};if(!b.jalios){b.jalios={}}if(!b.jalios.a11y){b.jalios.a11y={}}b.jalios.a11y={lastFocusedElement:null,focusableElementsSelector:"a[href], area[href], *[role=button], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed,*[contenteditable]",getFocusInformation:function(e){return new a(e)},uniqueId:function(e){return(e||"ui-id")+"-"+Math.floor((Math.random()*1000)+1)},handleKeydownTabEvent:function(e,f){if(e.keyCode===9){let focusInformation=b.jalios.a11y.getFocusInformation(b(f));let $focusableElements=focusInformation.$focusableElements.filter(function(g,h){return b(h).is("A")});let firstFocusableElement=$focusableElements[0];let lastFocusableElement=$focusableElements[$focusableElements.length-1];let focusedElement=document.activeElement;if(focusedElement===lastFocusableElement&&!(e.shiftKey|e.ctrlKey|e.metaKey|e.altKey)){e.preventDefault();b(firstFocusableElement).focus()}else{if(focusedElement===firstFocusableElement&&e.shiftKey){e.preventDefault();b(lastFocusableElement).focus()}}}},prefersReducedMotion:function(){let mediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)");
8342if(!mediaQuery){return false}return mediaQuery.matches},isFocusedClick:function(e){if(e.type==="click"){return true}else{if(e.type==="keydown"){let code=e.charCode||e.keyCode;if((code===32)||(code===13)){return true}}else{return false}}},focus:function(e){b(e).addClass("js-focused");b(e)[0].focus({focusVisible:false})}};b.fn.focusElement=function(){if(!this.exists()){return}b.jalios.a11y.focus(this)};b(document).ready(function(e){e(document).on("click keydown",function(){e(".js-focused").removeClass("js-focused")})});b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(e){return function(f){return !!b.data(f,e)}}):function(g,f,e){return !!b.data(g,e[3])},focusable:function(e){return d(e,!isNaN(b.attr(e,"tabindex")))},tabbable:function(g){var e=b.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&d(g,!f)}});var d=function(g,e){var i,h,f,j=g.nodeName.toLowerCase();if("area"===j){i=g.parentNode;h=i.name;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=b("img[usemap='#"+h+"']")[0];return !!f&&c(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"===j?g.href||e:e)&&c(g)};var c=function(e){return b.expr.filters.visible(e)&&!b(e).parents().addBack().filter(function(){return b.css(this,"visibility")==="hidden"}).length}})(jQuery,window,document);;
vendor: 17,437 bytes, lines 8343-8344
8343/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */ 8344var twemoji=function(){"use strict";var twemoji={base:"https://twemoji.maxcdn.com/v/14.0.2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function onerror(){if(this.parentNode){this.parentNode.replaceChild(createText(this.alt,false),this)}},parse:parse,replace:replace,test:test},escaper={"&":"&","<":"<",">":">","'":"'",'"':"""},re=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,UFE0Fg=/\uFE0F/g,U200D=String.fromCharCode(8205),rescaper=/[&<>'"]/g,shouldntBeParsed=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,fromCharCode=String.fromCharCode;return twemoji;function createText(text,clean){return document.createTextNode(clean?text.replace(UFE0Fg,""):text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return"".concat(options.base,options.size,"/",icon,options.ext)}function grabAllTextNodes(node,allText){var childNodes=node.childNodes,length=childNodes.length,subnode,nodeType;while(length--){subnode=childNodes[length];nodeType=subnode.nodeType;if(nodeType===3){allText.push(subnode)}else if(nodeType===1&&!("ownerSVGElement"in subnode)&&!shouldntBeParsed.test(subnode.nodeName.toLowerCase())){grabAllTextNodes(subnode,allText)}}return allText}function grabTheRightIcon(rawText){return toCodePoint(rawText.indexOf(U200D)<0?rawText.replace(UFE0Fg,""):rawText)}function parseNode(node,options){var allText=grabAllTextNodes(node,[]),length=allText.length,attrib,attrname,modified,fragment,subnode,text,match,i,index,img,rawText,iconId,src;while(length--){modified=false;fragment=document.createDocumentFragment();subnode=allText[length];text=subnode.nodeValue;i=0;while(match=re.exec(text)){index=match.index;if(index!==i){fragment.appendChild(createText(text.slice(i,index),true))}rawText=match[0];iconId=grabTheRightIcon(rawText);i=index+rawText.length;src=options.callback(iconId,options);if(iconId&&src){img=new Image;img.onerror=options.onerror;img.setAttribute("draggable","false");attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf("on")!==0&&!img.hasAttribute(attrname)){img.setAttribute(attrname,attrib[attrname])}}img.className=options.className;img.alt=rawText;img.src=src;modified=true;fragment.appendChild(img)}if(!img)fragment.appendChild(createText(rawText,false));img=null}if(modified){if(i<text.length){fragment.appendChild(createText(text.slice(i),true))}subnode.parentNode.replaceChild(fragment,subnode)}}return node}function parseString(str,options){return replace(str,function(rawText){var ret=rawText,iconId=grabTheRightIcon(rawText),src=options.callback(iconId,options),attrib,attrname;if(iconId&&src){ret="<img ".concat('class="',options.className,'" ','draggable="false" ','alt="',rawText,'"',' src="',src,'"');attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf("on")!==0&&ret.indexOf(" "+attrname+"=")===-1){ret=ret.concat(" ",attrname,'="',escapeHTML(attrib[attrname]),'"')}}ret=ret.concat("/>")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return typeof value==="number"?value+"x"+value:value}function fromCodePoint(codepoint){var code=typeof codepoint==="string"?parseInt(codepoint,16):codepoint;if(code<65536){return fromCharCode(code)}code-=65536;return fromCharCode(55296+(code>>10),56320+(code&1023))}function parse(what,how){if(!how||typeof how==="function"){how={callback:how}}return(typeof what==="string"?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:typeof how.attributes==="function"?how.attributes:returnNull,base:typeof how.base==="string"?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className,onerror:how.onerror||twemoji.onerror})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);re.lastIndex=0;return result}function toCodePoint(unicodeSurrogates,sep){var r=[],c=0,p=0,i=0;while(i<unicodeSurrogates.length){c=unicodeSurrogates.charCodeAt(i++);if(p){r.push((65536+(p-55296<<10)+(c-56320)).toString(16));p=0}else if(55296<=c&&c<=56319){p=c}else{r.push(c.toString(16))}}return r.join(sep||"-")}}();
8344; 8345(function(c){if(!c.jalios){c.jalios={}}c.jalios.Emoji={parse:function(e,d){return a(e,d)},defaults:{base:c.jalios.Properties.get("twemoji.base")||(c.jalios.Properties.get("twemoji.use-cdn")?null:(JcmsJsContext.getBaseUrl()+"js/lib/twemoji/")),attributes:c.jalios.Properties.get("twemoji.attributes"),ext:c.jalios.Properties.get("twemoji.ext")||twemoji.ext,className:c.jalios.Properties.get("twemoji.className")||twemoji.className,size:c.jalios.Properties.get("twemoji.size")||twemoji.size,folder:c.jalios.Properties.get("twemoji.folder"),callback:c.jalios.Properties.get("twemoji.callback")||function(g,e,f){var d=c.jalios.Properties.get("twemoji.excludedIconRegExp")||/^(a9|ae|2122)$/;if(d instanceof RegExp&&d.exec(g)){return false}return"".concat(e.base,e.size,"/",g,e.ext)}}};var a=function(e,d){if(typeof twemoji=="undefined"){return}var d=c.extend({},c.jalios.Emoji.defaults,d);return twemoji.parse(e,d)};var b=function(){if(typeof twemoji=="undefined"){return}a(document.body);c(document).on("jalios:refresh",function(e){var d=c.jalios.Event.match(e,"refresh","after");if(!d||!d.target){return}var f=c(d.target);a(f[0])})};c(document).ready(function(){b()})}(jQuery));; 8346!function(a){if(!a.jalios){a.jalios={}}a.jalios.Rippler={ripple:function(g,f){var c=a(f);if(c.find(".ripple").length==0){c.append("<span class='ripple'></span>")}var e=c.find(".ripple");e.removeClass("animate");if(!e.height()&&!e.width()){var h=Math.max(c.outerWidth(),c.outerHeight());e.css({height:h,width:h})}var b=0;var i=0;if(g&&g.type==="click"){b=g.pageX-c.offset().left-e.width()/2;i=g.pageY-c.offset().top-e.height()/2}else{e.addClass("is-centered")}e.css({top:i+"px",left:b+"px"}).addClass("animate")}};a.fn.ripple=function(b){return this.each(function(){a.jalios.Rippler.ripple(null,this)})};a(document).ready(function(){a(document).on("click",".js-ripple",function(b){a.jalios.Rippler.ripple(b,b.currentTarget)})})}(window.jQuery);; 8347!function(d,c){"object"==typeof exports&&"object"==typeof module?module.exports=c():"function"==typeof define&&define.amd?define([],c):"object"==typeof exports?exports.Handlebars=c():d.Handlebars=c()}(this,function(){return function(e){function d(b){if(f[b]){return f[b].exports}var a=f[b]={exports:{},id:b,loaded:!1};return e[b].call(a.exports,a,a.exports,d),a.loaded=!0,a.exports}var f={};return d.m=e,d.c=f,d.p="",d(0)}([function(L,K,J){function I(){var b=u();return b.compile=function(a,d){return B.compile(a,d,b)},b.precompile=function(a,d){return B.precompile(a,d,b)},b.AST=D["default"],b.Compiler=B.Compiler,b.JavaScriptCompiler=z["default"],b.Parser=C.parser,b.parse=C.parse,b.parseWithoutProcessing=C.parseWithoutProcessing,b}var H=J(1)["default"];K.__esModule=!0;var G=J(2),F=H(G),E=J(84),D=H(E),C=J(85),B=J(90),A=J(91),z=H(A),y=J(88),x=H(y),w=J(83),v=H(w),u=F["default"].create,t=I();t.create=I,v["default"](t),t.Visitor=x["default"],t["default"]=t,K["default"]=t,L.exports=K["default"]},function(d,c){c["default"]=function(b){return b&&b.__esModule?b:{"default":b}},c.__esModule=!0},function(L,K,J){function I(){var b=new E.HandlebarsEnvironment;return y.extend(b,E),b.SafeString=C["default"],b.Exception=A["default"],b.Utils=y,b.escapeExpression=y.escapeExpression,b.VM=w,b.template=function(a){return w.template(a,b)},b}var H=J(3)["default"],G=J(1)["default"];K.__esModule=!0;var F=J(4),E=H(F),D=J(77),C=G(D),B=J(6),A=G(B),z=J(5),y=H(z),x=J(78),w=H(x),v=J(83),u=G(v),t=I();t.create=I,u["default"](t),t["default"]=t,K["default"]=t,L.exports=K["default"]},function(d,c){c["default"]=function(f){if(f&&f.__esModule){return f}var e={};if(null!=f){for(var g in f){Object.prototype.hasOwnProperty.call(f,g)&&(e[g]=f[g])}}return e["default"]=f,e},c.__esModule=!0},function(L,K,J){function I(e,d,f){this.helpers=e||{},this.partials=d||{},this.decorators=f||{},D.registerDefaultHelpers(this),C.registerDefaultDecorators(this)}var H=J(1)["default"];K.__esModule=!0,K.HandlebarsEnvironment=I;var G=J(5),F=J(6),E=H(F),D=J(10),C=J(70),B=J(72),A=H(B),z=J(73),y="4.7.8";K.VERSION=y;var x=8;K.COMPILER_REVISION=x;var w=7;K.LAST_COMPATIBLE_COMPILER_REVISION=w;var v={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">
8347= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};K.REVISION_CHANGES=v;var u="[object Object]";I.prototype={constructor:I,logger:A["default"],log:A["default"].log,registerHelper:function(d,c){if(G.toString.call(d)===u){if(c){throw new E["default"]("Arg not supported with multiple helpers")}G.extend(this.helpers,d)}else{this.helpers[d]=c}},unregisterHelper:function(b){delete this.helpers[b]},registerPartial:function(d,c){if(G.toString.call(d)===u){G.extend(this.partials,d)}else{if("undefined"==typeof c){throw new E["default"]('Attempting to register a partial called "'+d+'" as undefined')}this.partials[d]=c}},unregisterPartial:function(b){delete this.partials[b]},registerDecorator:function(d,c){if(G.toString.call(d)===u){if(c){throw new E["default"]("Arg not supported with multiple decorators")}G.extend(this.decorators,d)}else{this.decorators[d]=c}},unregisterDecorator:function(b){delete this.decorators[b]},resetLoggedPropertyAccesses:function(){z.resetLoggedProperties()}};var t=A["default"].log;K.log=t,K.createFrame=G.createFrame,K.logger=A["default"]},function(F,E){function D(b){return v[b]}function C(e){for(var d=1;d<arguments.length;d++){for(var f in arguments[d]){Object.prototype.hasOwnProperty.call(arguments[d],f)&&(e[f]=arguments[d][f])}}return e}function B(f,e){for(var h=0,g=f.length;h<g;h++){if(f[h]===e){return h}}return -1}function A(b){if("string"!=typeof b){if(b&&b.toHTML){return b.toHTML()}if(null==b){return""}if(!b){return b+""}b=""+b}return t.test(b)?b.replace(u,D):b}function z(b){return !b&&0!==b||!(!q(b)||0!==b.length)}function y(d){var c=C({},d);return c._parent=d,c}function x(d,c){return d.path=c,d}function w(d,c){return(d?d+".":"")+c}E.__esModule=!0,E.extend=C,E.indexOf=B,E.escapeExpression=A,E.isEmpty=z,E.createFrame=y,E.blockParams=x,E.appendContextPath=w;var v={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},u=/[&<>"'`=]/g,t=/[&<>"'`=]/,s=Object.prototype.toString;E.toString=s;var r=function(b){return"function"==typeof b};r(/x/)&&(E.isFunction=r=function(b){return"function"==typeof b&&"[object Function]"===s.call(b)}),E.isFunction=r;var q=Array.isArray||function(b){return !(!b||"object"!=typeof b)&&"[object Array]"===s.call(b)};E.isArray=q},function(h,g,l){function k(t,s){var r=s&&s.loc,q=void 0,p=void 0,o=void 0,n=void 0;r&&(q=r.start.line,p=r.end.line,o=r.start.column,n=r.end.column,t+=" - "+q+":"+o);for(var f=Error.prototype.constructor.call(this,t),e=0;e<i.length;e++){this[i[e]]=f[i[e]]}Error.captureStackTrace&&Error.captureStackTrace(this,k);try{r&&(this.lineNumber=q,this.endLineNumber=p,j?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:n,enumerable:!0})):(this.column=o,this.endColumn=n))}catch(d){}}var j=l(7)["default"];g.__esModule=!0;var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];k.prototype=new Error,g["default"]=k,h.exports=g["default"]},function(e,d,f){e.exports={"default":f(8),__esModule:!0}},function(f,e,h){var g=h(9);f.exports=function(i,d,j){return g.setDesc(i,d,j)}},function(e,d){var f=Object;e.exports={create:f.create,getProto:f.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:f.getOwnPropertyDescriptor,setDesc:f.defineProperty,setDescs:f.defineProperties,getKeys:f.keys,getNames:f.getOwnPropertyNames,getSymbols:f.getOwnPropertySymbols,each:[].forEach}},function(N,M,L){function K(b){G["default"](b),E["default"](b),C["default"](b),A["default"](b),y["default"](b),w["default"](b),u["default"](b)}function J(e,d,f){e.helpers[d]&&(e.hooks[d]=e.helpers[d],f||delete e.helpers[d])}var I=L(1)["default"];M.__esModule=!0,M.registerDefaultHelpers=K,M.moveHelperToHooks=J;var H=L(11),G=I(H),F=L(12),E=I(F),D=L(65),C=I(D),B=L(66),A=I(B),z=L(67),y=I(z),x=L(68),w=I(x),v=L(69),u=I(v)}
vendor: 15,391 bytes, line 8347
8347,function(f,e,h){e.__esModule=!0;var g=h(5);e["default"]=function(b){b.registerHelper("blockHelperMissing",function(a,k){var j=k.inverse,i=k.fn;if(a===!0){return i(this)}if(a===!1||null==a){return j(this)}if(g.isArray(a)){return a.length>0?(k.ids&&(k.ids=[k.name]),b.helpers.each(a,k)):j(this)}if(k.data&&k.ids){var d=g.createFrame(k.data);d.contextPath=g.appendContextPath(k.data.contextPath,k.name),k={data:d}}return i(a,k)})},f.exports=e["default"]},function(v,u,t){var s=t(13)["default"],r=t(43)["default"],q=t(55)["default"],p=t(60)["default"],o=t(1)["default"];u.__esModule=!0;var n=t(5),m=t(6),l=o(m);u["default"]=function(b){b.registerHelper("each",function(B,A){function z(a,j,h){i&&(i.key=a,i.index=j,i.first=0===j,i.last=!!h,g&&(i.contextPath=g+a)),k+=y(B[a],{data:i,blockParams:n.blockParams([B[a],a],[g+a,null])})}if(!A){throw new l["default"]("Must pass iterator to #each")}var y=A.fn,x=A.inverse,w=0,k="",i=void 0,g=void 0;if(A.data&&A.ids&&(g=n.appendContextPath(A.data.contextPath,A.ids[0])+"."),n.isFunction(B)&&(B=B.call(this)),A.data&&(i=n.createFrame(A.data)),B&&"object"==typeof B){if(n.isArray(B)){for(var f=B.length;w<f;w++){w in B&&z(w,w,w===B.length-1)}}else{if("function"==typeof s&&B[r]){for(var e=[],d=q(B),C=d.next();!C.done;C=d.next()){e.push(C.value)}B=e;for(var f=B.length;w<f;w++){z(w,w,w===B.length-1)}}else{!function(){var a=void 0;p(B).forEach(function(c){void 0!==a&&z(a,w-1),a=c,w++}),void 0!==a&&z(a,w-1,!0)}()}}}return 0===w&&(k=x(this)),k})},v.exports=u["default"]},function(e,d,f){e.exports={"default":f(14),__esModule:!0}},function(e,d,f){f(15),f(42),e.exports=f(21).Symbol},function(aS,aR,aQ){var aP=aQ(9),aO=aQ(16),aN=aQ(17),aM=aQ(18),aL=aQ(20),aK=aQ(24),aJ=aQ(19),aI=aQ(27),aH=aQ(28),aG=aQ(30),aF=aQ(29),aE=aQ(31),aD=aQ(36),aC=aQ(37),aB=aQ(38),aA=aQ(39),az=aQ(32),ay=aQ(26),ax=aP.getDesc,aw=aP.setDesc,av=aP.create,au=aD.get,at=aO.Symbol,ar=aO.JSON,aq=ar&&ar.stringify,ap=!1,ao=aF("_hidden"),an=aP.isEnum,am=aI("symbol-registry"),al=aI("symbols"),ak="function"==typeof at,aj=Object.prototype,ai=aM&&aJ(function(){return 7!=av(aw({},"a",{get:function(){return aw(this,"a",{value:7}).a}})).a})?function(f,e,h){var g=ax(aj,e);g&&delete aj[e],aw(f,e,h),g&&f!==aj&&aw(aj,e,g)}:aw,ah=function(d){var c=al[d]=av(at.prototype);return c._k=d,aM&&ap&&ai(aj,d,{configurable:!0,set:function(a){aN(this,ao)&&aN(this[ao],d)&&(this[ao][d]=!1),ai(this,d,ay(1,a))}}),c},ag=function(b){return"symbol"==typeof b},af=function(e,d,f){return f&&aN(al,d)?(f.enumerable?(aN(e,ao)&&e[ao][d]&&(e[ao][d]=!1),f=av(f,{enumerable:ay(0,!1)})):(aN(e,ao)||aw(e,ao,ay(1,{})),e[ao][d]=!0),ai(e,d,f)):aw(e,d,f)},ae=function(h,g){aA(h);for(var l,k=aC(g=az(g)),j=0,i=k.length;i>j;){af(h,l=k[j++],g[l])}return h},ad=function(d,c){return void 0===c?av(d):ae(av(d),c)},ac=function(d){var c=an.call(this,d);return !(c||!aN(this,d)||!aN(al,d)||aN(this,ao)&&this[ao][d])||c},ab=function(e,d){var f=ax(e=az(e),d);return !f||!aN(al,d)||aN(e,ao)&&e[ao][d]||(f.enumerable=!0),f},aa=function(g){for(var f,j=au(az(g)),i=[],h=0;j.length>h;){aN(al,f=j[h++])||f==ao||i.push(f)}return i},Z=function(g){for(var f,j=au(az(g)),i=[],h=0;j.length>h;){aN(al,f=j[h++])&&i.push(al[f])}return i},Y=function(h){if(void 0!==h&&!ag(h)){for(var g,l,k=[h],j=1,i=arguments;i.length>j;){k.push(i[j++])}return g=k[1],"function"==typeof g&&(l=g),!l&&aB(g)||(g=function(d,c){if(l&&(c=l.call(this,d,c)),!ag(c)){return c}}),k[1]=g,aq.apply(ar,k)}},X=aJ(function(){var b=at();return"[null]"!=aq([b])||"{}"!=aq({a:b})||"{}"!=aq(Object(b))});ak||(at=function(){if(ag(this)){throw TypeError("Symbol is not a constructor")}return ah(aG(arguments.length>0?arguments[0]:void 0))},aK(at.prototype,"toString",function(){return this._k}),ag=function(b){return b instanceof at},aP.create=ad,aP.isEnum=ac,aP.getDesc=ab,aP.setDesc=af,aP.setDescs=ae,aP.getNames=aD.get=aa,aP.getSymbols=Z,aM&&!aQ(41)&&aK(aj,"propertyIsEnumerable",ac,!0));var W={"for":function(b){return aN(am,b+="")?am[b]:am[b]=at(b)},keyFor:function(b){return aE(am,b)},useSetter:function(){ap=!0},useSimple:function(){ap=!1}};aP.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(d){var c=aF(d);W[d]=ak?c:ah(c)}),ap=!0,aL(aL.G+aL.W,{Symbol:at}),aL(aL.S,"Symbol",W),aL(aL.S+aL.F*!ak,"Object",{create:ad,defineProperty:af,defineProperties:ae,getOwnPropertyDescriptor:ab,getOwnPropertyNames:aa,getOwnPropertySymbols:Z}),ar&&aL(aL.S+aL.F*(!ak||X),"JSON",{stringify:Y}),aH(at,"Symbol"),aH(Math,"Math",!0),aH(aO.JSON,"JSON",!0)},function(e,d){var f=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=f)},function(e,d){var f={}.hasOwnProperty;e.exports=function(g,c){return f.call(g,c)}},function(e,d,f){e.exports=!f(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(d,c){d.exports=function(f){try{return !!f()}catch(e){return !0}}},function(j,i,p){var o=p(16),n=p(21),m=p(22),l="prototype",k=function(A,z,y){var x,w,v,u=A&k.F,t=A&k.G,h=A&k.S,g=A&k.P,f=A&k.B,e=A&k.W,d=t?n:n[z]||(n[z]={}),B=t?o:h?o[z]:(o[z]||{})[l];t&&(y=z);for(x in y){w=!u&&B&&x in B,w&&x in d||(v=w?B[x]:y[x],d[x]=t&&"function"!=typeof B[x]?y[x]:f&&w?m(v,o):e&&B[x]==v?function(q){var c=function(a){return this instanceof q?new q(a):q(a)};return c[l]=q[l],c}(v):g&&"function"==typeof v?m(Function.call,v):v,g&&((d[l]||(d[l]={}))[x]=v))}};k.F=1,k.G=2,k.S=4,k.P=8,k.B=16,k.W=32,j.exports=k},function(e,d){var f=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=f)},function(f,e,h){var g=h(23);f.exports=function(i,d,j){if(g(i),void 0===d){return i}switch(j){case 1:return function(a){return i.call(d,a)};case 2:return function(b,a){return i.call(d,b,a)};case 3:return function(k,b,a){return i.call(d,k,b,a)}}return function(){return i.apply(d,arguments)}}},function(d,c){d.exports=function(b){if("function"!=typeof b){throw TypeError(b+" is not a function!")}return b}},function(e,d,f){e.exports=f(25)},function(g,f,j){var i=j(9),h=j(26);g.exports=j(18)?function(e,d,k){return i.setDesc(e,d,h(1,k))}:function(e,d,k){return e[d]=k,e}},function(d,c){d.exports=function(f,e){return{enumerable:!(1&f),configurable:!(2&f),writable:!(4&f),value:e}}},function(h,g,l){var k=l(16),j="__core-js_shared__",i=k[j]||(k[j]={});h.exports=function(b){return i[b]||(i[b]={})}},function(h,g,l){var k=l(9).setDesc,j=l(17),i=l(29)("toStringTag");h.exports=function(e,d,f){e&&!j(e=f?e:e.prototype,i)&&k(e,i,{configurable:!0,value:d})}},function(h,g,l){var k=l(27)("wks"),j=l(30),i=l(16).Symbol;h.exports=function(b){return k[b]||(k[b]=i&&i[b]||(i||j)("Symbol."+b))}},function(f,e){var h=0,g=Math.random();f.exports=function(b){return"Symbol(".concat(void 0===b?"":b,")_",(++h+g).toString(36))}},function(g,f,j){var i=j(9),h=j(32);g.exports=function(e,d){for(var o,n=h(e),m=i.getKeys(n),l=m.length,k=0;l>k;){if(n[o=m[k++]]===d){return o}}}},function(g,f,j){var i=j(33),h=j(35);g.exports=function(b){return i(h(b))}},function(f,e,h){var g=h(34);f.exports=Object("z").propertyIsEnumerable(0)?Object:function(b){return"String"==g(b)?b.split(""):Object(b)}},function(e,d){var f={}.toString;e.exports=function(b){return f.call(b).slice(8,-1)}},function(d,c){d.exports=function(b){if(void 0==b){throw TypeError("Can't call method on "+b)}return b}},function(j,i,p){var o=p(32),n=p(9).getNames,m={}.toString,l="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],k=function(d){try{return n(d)}catch(c){return l.slice()}};j.exports.get=function(b){return l&&"[object Window]"==m.call(b)?k(b):n(o(b))}},function(f,e,h){var g=h(9);f.exports=function(i){var d=g.getKeys(i),n=g.getSymbols;if(n){for(var m,l=n(i),k=g.isEnum,j=0;l.length>j;){k.call(i,m=l[j++])&&d.push(m)}}return d}},function(f,e,h){var g=h(34);f.exports=Array.isArray||function(b){return"Array"==g(b)}},function(f,e,h){var g=h(40);f.exports=function(b){if(!g(b)){throw TypeError(b+" is not an object!")}return b}},function(d,c){d.exports=function(b){return"object"==typeof b?null!==b:"function"==typeof b}},function(d,c){d.exports=!0},function(d,c){},function(e,d,f){e.exports={"default":f(44),__esModule:!0}},function(e,d,f){f(45),f(51),e.exports=f(29)("iterator")},function(f,e,h){var g=h(46)(!0);h(48)(String,"String",function(b){this._t=String(b),this._i=0},function(){var i,d=this._t,j=this._i;return j>=d.length?{value:void 0,done:!0}:(i=g(d,j),this._i+=i.length,{value:i,done:!1})})},function(g,f,j){var i=j(47),h=j(35);g.exports=function(b){return function(a,n){var m,l,k=String(h(a)),e=i(n),d=k.length;return e<0||e>=d?b?"":void 0:(m=k.charCodeAt(e),m<55296||m>56319||e+1===d||(l=k.charCodeAt(e+1))<56320||l>57343?b?k.charAt(e):m:b?k.slice(e,e+2):(m-55296<<10)+(l-56320)+65536)}}},function(f,e){var h=Math.ceil,g=Math.floor;f.exports=function(b){return isNaN(b=+b)?0:(b>0?g:h)(b)}},function(J,I,H){var G=H(41),F=H(20),E=H(24),D=H(25),C=H(17),B=H(49),A=H(50),z=H(28),y=H(9).getProto,x=H(29)("iterator"),w=!([].keys&&"next" in [].keys()),v="@@iterator",u="keys",t="values",s=function(){return this};J.exports=function(m,k,i,L,r,p,o){A(i,k,L);var n,l,j=function(b){if(!w&&b in e){return e[b]}switch(b){case u:return function(){return new i(this,b)};case t:return function(){return new i(this,b)}}return function(){return new i(this,b)}},h=k+" Iterator",g=r==t,f=!1,e=m.prototype,d=e[x]||e[v]||r&&e[r],K=d||j(r);if(d){var q=y(K.call(new m));z(q,h,!0),!G&&C(e,v)&&D(q,x,s),g&&d.name!==t&&(f=!0,K=function(){return d.call(this)})}if(G&&!o||!w&&!f&&e[x]||D(e,x,K),B[k]=K,B[h]=s,r){if(n={values:g?K:j(t),keys:p?K:j(u),entries:g?j("entries"):K},o){for(l in n){l in e||E(e,l,n[l])}}else{F(F.P+F.F*(w||f),k,n)}}return n}},function(d,c){d.exports={}},function(i,h,n){var m=n(9),l=n(26),k=n(28),j={};n(25)(j,n(29)("iterator"),function(){return this}),i.exports=function(e,d,f){e.prototype=m.create(j,{next:l(1,f)}),k(e,d+" Iterator")}},function(f,e,h){h(52);var g=h(49);g.NodeList=g.HTMLCollection=g.Array},function(i,h,n){var m=n(53),l=n(54),k=n(49),j=n(32);i.exports=n(48)(Array,"Array",function(d,c){this._t=j(d),this._i=0,this._k=c},function(){var e=this._t,d=this._k,f=this._i++;return !e||f>=e.length?(this._t=void 0,l(1)):"keys"==d?l(0,f):"values"==d?l(0,e[f]):l(0,[f,e[f]])},"values"),k.Arguments=k.Array,m("keys"),m("values"),m("entries")},function(d,c){d.exports=function(){}},function(d,c){d.exports=function(f,e){return{value:e,done:!!f}}},function(e,d,f){e.exports={"default":f(56),__esModule:!0}},function(e,d,f){f(51),f(45),e.exports=f(57)},function(g,f,j){var i=j(39),h=j(58);g.exports=j(21).getIterator=function(d){var c=h(d);if("function"!=typeof c){throw TypeError(d+" is not iterable!")}return i(c.call(d))}},function(h,g,l){var k=l(59),j=l(29)("iterator"),i=l(49);h.exports=l(21).getIteratorMethod=function(b){if(void 0!=b){return b[j]||b["@@iterator"]||i[k(b)]}}},function(h,g,l){var k=l(34),j=l(29)("toStringTag"),i="Arguments"==k(function(){return arguments}());h.exports=function(e){var d,m,f;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(m=(d=Object(e))[j])?m:i?k(d):"Object"==(f=k(d))&&"function"==typeof d.callee?"Arguments":f}},function(e,d,f){e.exports={"default":f(61),__esModule:!0}},function(e,d,f){f(62),e.exports=f(21).Object.keys},function(f,e,h){var g=h(63);h(64)("keys",function(b){return function(a){return b(g(a))}})},function(f,e,h){var g=h(35);f.exports=function(b){return Object(g(b))}},function(h,g,l){var k=l(20),j=l(21),i=l(19);h.exports=function(e,d){var m=(j.Object||{})[e]||Object[e],f={};f[e]=d(m),k(k.S+k.F*i(function(){m(1)}),"Object",f)}},function(h,g,l){var k=l(1)["default"];g.__esModule=!0;var j=l(6),i=k(j);g["default"]=function(b){b.registerHelper("helperMissing",function(){if(1!==arguments.length){throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}})},h.exports=g["default"]},function(i,h,n){var m=n(1)["default"];h.__esModule=!0;var l=n(5),k=n(6),j=m(k);h["default"]=function(b){b.registerHelper("if",function(d,c){if(2!=arguments.length){throw new j["default"]("#if requires exactly one argument")}return l.isFunction(d)&&(d=d.call(this)),!c.hash.includeZero&&!d||l.isEmpty(d)?c.inverse(this):c.fn(this)}),b.registerHelper("unless",function(a,d){if(2!=arguments.length){throw new j["default"]("#unless requires exactly one argument")}return b.helpers["if"].call(this,a,{fn:d.inverse,inverse:d.fn,hash:d.hash})})},i.exports=h["default"]},function(d,c){c.__esModule=!0,c["default"]=function(b){b.registerHelper("log",function(){for(var a=[void 0],h=arguments[arguments.length-1],g=0;g<arguments.length-1;g++){a.push(arguments[g])}var f=1;null!=h.hash.level?f=h.hash.level:h.data&&null!=h.data.level&&(f=h.data.level),a[0]=f,b.log.apply(b,a)})},d.exports=c["default"]},function(d,c){c.__esModule=!0,c["default"]=function(b){b.registerHelper("lookup",function(f,e,g){return f?g.lookupProperty(f,e):f})},d.exports=c["default"]},function(i,h,n){var m=n(1)["default"];h.__esModule=!0;var l=n(5),k=n(6),j=m(k);h["default"]=function(b){b.registerHelper("with",function(f,e){if(2!=arguments.length){throw new j["default"]("#with requires exactly one argument")}l.isFunction(f)&&(f=f.call(this));var o=e.fn;if(l.isEmpty(f)){return e.inverse(this)}var g=e.data;return e.data&&e.ids&&(g=l.createFrame(e.data),g.contextPath=l.appendContextPath(e.data.contextPath,e.ids[0])),o(f,{data:g,blockParams:l.blockParams([f],[g&&g.contextPath])})})},i.exports=h["default"]},function(i,h,n){function m(b){j["default"](b)}var l=n(1)["default"];h.__esModule=!0,h.registerDefaultDecorators=m;var k=n(71),j=l(k)},function(f,e,h){e.__esModule=!0;var g=h(5);e["default"]=function(b){b.registerDecorator("inline",function(i,d,l,k){var j=i;return d.partials||(d.partials={},j=function(n,m){var c=l.partials;l.partials=g.extend({},c,d.partials);var a=i(n,m);return l.partials=c,a}),d.partials[k.args[0]]=k.fn,j})},f.exports=e["default"]},function(g,f,j){f.__esModule=!0;var i=j(5),h={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(d){if("string"==typeof d){var c=i.indexOf(h.methodMap,d.toLowerCase());d=c>=0?c:parseInt(d,10)}return d},log:function(k){if(k=h.lookupLevel(k),"undefined"!=typeof console&&h.lookupLevel(h.level)<=k){var e=h.methodMap[k];console[e]||(e="log");for(var n=arguments.length,m=Array(n>1?n-1:0),l=1;l<n;l++){m[l-1]=arguments[l]}console[e].apply(console,m)}}};f["default"]=h,g.exports=f["default"]},function(D,C,B){function A(e){var d=v(null);d.constructor=!1,d.__defineGetter__=!1,d.__defineSetter__=!1,d.__lookupGetter__=!1;var f=v(null);return f.__proto__=!1,{properties:{whitelist:s.createNewLookupObject(f,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:s.createNewLookupObject(d,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function z(e,d,f){return"function"==typeof e?y(d.methods,f):y(d.properties,f)}function y(d,c){return void 0!==d.whitelist[c]?d.whitelist[c]===!0:void 0!==d.defaultValue?d.defaultValue:(x(c),!1)}function x(b){p[b]!==!0&&(p[b]=!0,q["default"].log("error",'Handlebars: Access has been denied to resolve the property "'+b+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}
8347function w(){u(p).forEach(function(b){delete p[b]})}var v=B(74)["default"],u=B(60)["default"],t=B(1)["default"];C.__esModule=!0,C.createProtoAccessControl=A,C.resultIsAllowed=z,C.resetLoggedProperties=w;var s=B(76),r=B(72),q=t(r),p=v(null)},function(e,d,f){e.exports={"default":f(75),__esModule:!0}},function(f,e,h){var g=h(9);f.exports=function(d,c){return g.create(d,c)}},function(h,g,l){function k(){for(var e=arguments.length,d=Array(e),f=0;f<e;f++){d[f]=arguments[f]}return i.extend.apply(void 0,[j(null)].concat(d))}var j=l(74)["default"];g.__esModule=!0,g.createNewLookupObject=k;var i=l(5)},function(e,d){function f(b){this.string=b}d.__esModule=!0,f.prototype.toString=f.prototype.toHTML=function(){return""+this.string},d["default"]=f,e.exports=d["default"]},function(X,W,V){function U(g){var f=g&&g[0]||1,j=C.COMPILER_REVISION;if(!(f>=C.LAST_COMPATIBLE_COMPILER_REVISION&&f<=C.COMPILER_REVISION)){if(f<C.LAST_COMPATIBLE_COMPILER_REVISION){var i=C.REVISION_CHANGES[j],h=C.REVISION_CHANGES[f];throw new D["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+h+").")}throw new D["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+g[1]+").")}}function T(h,f){function l(r,q,p){p.hash&&(q=F.extend({},q,p.hash),p.ids&&(p.ids[0]=!0)),r=f.VM.resolvePartial.call(this,r,q,p);var o=F.extend({},p,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),n=f.VM.invokePartial.call(this,r,q,o);if(null==n&&f.compile&&(p.partials[p.name]=f.compile(r,h.compilerOptions,f),n=p.partials[p.name](q,o)),null!=n){if(p.indent){for(var m=n.split("\n"),b=0,a=m.length;b<a&&(m[b]||b+1!==a);b++){m[b]=p.indent+m[b]}n=m.join("\n")}return n}throw new D["default"]("The partial "+p.name+" could not be compiled when running in runtime-only mode")}function k(a){function o(c){return""+h.main(i,c,i.helpers,i.partials,m,d,g)}var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],m=n.data;k._setup(n),!n.partial&&h.useData&&(m=O(a,m));var g=void 0,d=h.useBlockParams?[]:void 0;return h.useDepths&&(g=n.depths?a!=n.depths[0]?[a].concat(n.depths):n.depths:[a]),(o=N(h.main,o,i,n.depths||[],m,d))(a,n)}if(!f){throw new D["default"]("No environment passed to template")}if(!h||!h.main){throw new D["default"]("Unknown template object: "+typeof h)}h.main.decorator=h.main_d,f.VM.checkRevision(h.compiler);var j=h.compiler&&7===h.compiler[0],i={strict:function(e,d,g){if(!(e&&d in e)){throw new D["default"]('"'+d+'" not defined in '+e,{loc:g})}return i.lookupProperty(e,d)},lookupProperty:function(e,d){var g=e[d];return null==g?g:Object.prototype.hasOwnProperty.call(e,d)?g:z.resultIsAllowed(g,i.protoAccessControl,d)?g:void 0},lookup:function(m,g){for(var p=m.length,o=0;o<p;o++){var n=m[o]&&i.lookupProperty(m[o],g);if(null!=n){return m[o][g]}}},lambda:function(d,c){return"function"==typeof d?d.call(c):d},escapeExpression:F.escapeExpression,invokePartial:l,fn:function(a){var d=h[a];return d.decorator=h[a+"_d"],d},programs:[],program:function(n,m,s,r,q){var p=this.programs[n],o=this.fn(n);return m||q||r||s?p=S(this,n,o,m,s,r,q):p||(p=this.programs[n]=S(this,n,o)),p},data:function(d,c){for(;d&&c--;){d=d._parent}return d},mergeIfNeeded:function(e,d){var g=e||d;return e&&d&&e!==d&&(g=F.extend({},d,e)),g},nullContext:K({}),noop:f.VM.noop,compilerInfo:h.compiler};return k.isTop=!0,k._setup=function(e){if(e.partial){i.protoAccessControl=e.protoAccessControl,i.helpers=e.helpers,i.partials=e.partials,i.decorators=e.decorators,i.hooks=e.hooks}else{var b=F.extend({},f.helpers,e.helpers);M(b,i),i.helpers=b,h.usePartial&&(i.partials=i.mergeIfNeeded(e.partials,f.partials)),(h.usePartial||h.useDecorators)&&(i.decorators=F.extend({},f.decorators,e.decorators)),i.hooks={},i.protoAccessControl=z.createProtoAccessControl(e);var a=e.allowCallsToHelperMissing||j;B.moveHelperToHooks(i,"helperMissing",a),B.moveHelperToHooks(i,"blockHelperMissing",a)}},k._child=function(a,n,m,g){if(h.useBlockParams&&!m){throw new D["default"]("must pass block params")}if(h.useDepths&&!g){throw new D["default"]("must pass parent depths")}return S(i,a,h[a],n,0,m,g)},k}function S(j,i,p,o,n,m,l){function k(a){var d=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],c=l;return !l||a==l[0]||a===j.nullContext&&null===l[0]||(c=[a].concat(l)),p(j,a,j.helpers,j.partials,d.data||o,m&&[d.blockParams].concat(m),c)}return k=N(p,k,j,l,o,m),k.program=i,k.depth=l?l.length:0,k.blockParams=n||0,k}function R(e,d,f){return e?e.call||f.name||(f.name=e,e=f.partials[e]):e="@partial-block"===f.name?f.data["partial-block"]:f.partials[f.name],e}function Q(g,f,j){var i=j.data&&j.data["partial-block"];j.partial=!0,j.ids&&(j.data.contextPath=j.ids[0]||j.data.contextPath);var h=void 0;if(j.fn&&j.fn!==P&&!function(){j.data=C.createFrame(j.data);var b=j.fn;h=j.data["partial-block"]=function(a){var d=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return d.data=C.createFrame(d.data),d.data["partial-block"]=i,b(a,d)},b.partials&&(j.partials=F.extend({},j.partials,b.partials))}(),void 0===g&&h&&(g=h),void 0===g){throw new D["default"]("The partial "+j.name+" could not be found")}if(g instanceof Function){return g(f,j)}}function P(){return""}function O(d,c){return c&&"root" in c||(c=c?C.createFrame(c):{}
vendor: 3,547 bytes, line 8347
8347,c.root=d),c}function N(i,h,n,m,l,k){if(i.decorator){var j={};h=i.decorator(h,j,n,m&&m[0],l,k,m),F.extend(h,j)}return h}function M(d,c){J(d).forEach(function(b){var a=d[b];d[b]=L(a,c)})}function L(e,d){var f=d.lookupProperty;return A.wrapHelper(e,function(b){return F.extend({lookupProperty:f},b)})}var K=V(79)["default"],J=V(60)["default"],I=V(3)["default"],H=V(1)["default"];W.__esModule=!0,W.checkRevision=U,W.template=T,W.wrapProgram=S,W.resolvePartial=R,W.invokePartial=Q,W.noop=P;var G=V(5),F=I(G),E=V(6),D=H(E),C=V(4),B=V(10),A=V(82),z=V(73)},function(e,d,f){e.exports={"default":f(80),__esModule:!0}},function(e,d,f){f(81),e.exports=f(21).Object.seal},function(f,e,h){var g=h(40);h(64)("seal",function(b){return function(a){return b&&g(a)?b(a):a}})},function(e,d){function f(h,g){if("function"!=typeof h){return h}var i=function(){var a=arguments[arguments.length-1];return arguments[arguments.length-1]=g(a),h.apply(this,arguments)};return i}d.__esModule=!0,d.wrapHelper=f},function(d,c){c.__esModule=!0,c["default"]=function(f){!function(){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)}();var e=globalThis.Handlebars;f.noConflict=function(){return globalThis.Handlebars===f&&(globalThis.Handlebars=e),f}},d.exports=c["default"]},function(e,d){d.__esModule=!0;var f={helpers:{helperExpression:function(b){return"SubExpression"===b.type||("MustacheStatement"===b.type||"BlockStatement"===b.type)&&!!(b.params&&b.params.length||b.hash)},scopedId:function(b){return/^\.|this\b/.test(b.original)},simpleId:function(b){return 1===b.parts.length&&!f.helpers.scopedId(b)&&!b.depth}}};d["default"]=f,e.exports=d["default"]},function(D,C,B){function A(e,d){if("Program"===e.type){return e}v["default"].yy=p,p.locInfo=function(b){return new p.SourceLocation(d&&d.srcName,b)};var f=v["default"].parse(e);return f}function z(f,d){var h=A(f,d),g=new t["default"](d);return g.accept(h)}var y=B(1)["default"],x=B(3)["default"];C.__esModule=!0,C.parseWithoutProcessing=A,C.parse=z;var w=B(86),v=y(w),u=B(87),t=y(u),s=B(89),r=x(s),q=B(5);C.parser=v["default"];var p={};q.extend(p,r)},function(e,d){d.__esModule=!0;var f=function(){function h(){this.yy={}}var g={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,
vendor: 5,325 bytes, line 8347
8347EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,s,r,q,p,o,n){var m=o.length-1;switch(p){case 1:return o[m-1];case 2:this.$=q.prepareProgram(o[m]);break;case 3:this.$=o[m];break;case 4:this.$=o[m];break;case 5:this.$=o[m];break;case 6:this.$=o[m];break;case 7:this.$=o[m];break;case 8:this.$=o[m];break;case 9:this.$={type:"CommentStatement",value:q.stripComment(o[m]),strip:q.stripFlags(o[m],o[m]),loc:q.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[m],value:o[m],loc:q.locInfo(this._$)};break;case 11:this.$=q.prepareRawBlock(o[m-2],o[m-1],o[m],this._$);break;case 12:this.$={path:o[m-3],params:o[m-2],hash:o[m-1]};break;case 13:this.$=q.prepareBlock(o[m-3],o[m-2],o[m-1],o[m],!1,this._$);break;case 14:this.$=q.prepareBlock(o[m-3],o[m-2],o[m-1],o[m],!0,this._$);break;case 15:this.$={open:o[m-5],path:o[m-4],params:o[m-3],hash:o[m-2],blockParams:o[m-1],strip:q.stripFlags(o[m-5],o[m])};break;case 16:this.$={path:o[m-4],params:o[m-3],hash:o[m-2],blockParams:o[m-1],strip:q.stripFlags(o[m-5],o[m])};break;case 17:this.$={path:o[m-4],params:o[m-3],hash:o[m-2],blockParams:o[m-1],strip:q.stripFlags(o[m-5],o[m])};break;case 18:this.$={strip:q.stripFlags(o[m-1],o[m-1]),program:o[m]};break;case 19:var l=q.prepareBlock(o[m-2],o[m-1],o[m],o[m],!1,this._$),k=q.prepareProgram([l],o[m-1].loc);k.chained=!0,this.$={strip:o[m-2].strip,program:k,chain:!0};break;case 20:this.$=o[m];break;case 21:this.$={path:o[m-1],strip:q.stripFlags(o[m-2],o[m])};break;case 22:this.$=q.prepareMustache(o[m-3],o[m-2],o[m-1],o[m-4],q.stripFlags(o[m-4],o[m]),this._$);break;case 23:this.$=q.prepareMustache(o[m-3],o[m-2],o[m-1],o[m-4],q.stripFlags(o[m-4],o[m]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[m-3],params:o[m-2],hash:o[m-1],indent:"",strip:q.stripFlags(o[m-4],o[m]),loc:q.locInfo(this._$)};break;case 25:this.$=q.preparePartialBlock(o[m-2],o[m-1],o[m],this._$);break;case 26:this.$={path:o[m-3],params:o[m-2],hash:o[m-1],strip:q.stripFlags(o[m-4],o[m])};break;case 27:this.$=o[m];break;case 28:this.$=o[m];break;case 29:this.$={type:"SubExpression",path:o[m-3],params:o[m-2],hash:o[m-1],loc:q.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[m],loc:q.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:q.id(o[m-2]),value:o[m],loc:q.locInfo(this._$)};break;case 32:this.$=q.id(o[m-1]);break;case 33:this.$=o[m];break;case 34:this.$=o[m];break;case 35:this.$={type:"StringLiteral",value:o[m],original:o[m],loc:q.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[m]),original:Number(o[m]),loc:q.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===o[m],original:"true"===o[m],loc:q.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:q.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:q.locInfo(this._$)};break;case 40:this.$=o[m];break;case 41:this.$=o[m];break;case 42:this.$=q.preparePath(!0,o[m],this._$);break;case 43:this.$=q.preparePath(!1,o[m],this._$);break;case 44:o[m-2].push({part:q.id(o[m]),original:o[m],separator:o[m-1]}),this.$=o[m-2];break;case 45:this.$=[{part:q.id(o[m]),original:o[m]}];break;case 46:this.$=[];break;case 47:o[m-1].push(o[m]);break;case 48:this.$=[];break;case 49:o[m-1].push(o[m]);break;case 50:this.$=[];break;case 51:o[m-1].push(o[m]);break;case 58:this.$=[];break;case 59:o[m-1].push(o[m]);break;case 64:this.$=[];break;case 65:o[m-1].push(o[m]);break;case 70:this.$=[];break;case 71:o[m-1].push(o[m]);break;case 78:this.$=[];break;case 79:o[m-1].push(o[m]);break;case 82:this.$=[];break;case 83:o[m-1].push(o[m]);break;case 86:this.$=[];break;case 87:o[m-1].push(o[m]);break;case 90:this.$=[];break;case 91:o[m-1].push(o[m]);break;case 94:this.$=[];break;case 95:o[m-1].push(o[m]);break;case 98:this.$=[o[m]];break;case 99:o[m-1].push(o[m]);break;case 100:this.$=[o[m]];break;case 101:o[m-1].push(o[m
vendor: 11,482 bytes, line 8347
8347])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(
vendor: 2,516 bytes, line 8347
8347j,c){throw new Error(j)},parse:function(V){function U(){var b;return b=T.lexer.lex()||1,"number"!=typeof b&&(b=T.symbols_[b]||b),b}var T=this,S=[0],R=[null],Q=[],P=this.table,O="",N=0,M=0,L=0;this.lexer.setInput(V),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var K=this.lexer.yylloc;Q.push(K);var J=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var I,H,G,F,E,D,C,B,A,z={};;){if(G=S[S.length-1],this.defaultActions[G]?F=this.defaultActions[G]:(null!==I&&"undefined"!=typeof I||(I=U()),F=P[G]&&P[G][I]),"undefined"==typeof F||!F.length||!F[0]){var y="";if(!L){A=[];for(D in P[G]){this.terminals_[D]&&D>2&&A.push("'"+this.terminals_[D]+"'")}y=this.lexer.showPosition?"Parse error on line "+(N+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[I]||I)+"'":"Parse error on line "+(N+1)+": Unexpected "+(1==I?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(y,{text:this.lexer.match,token:this.terminals_[I]||I,line:this.lexer.yylineno,loc:K,expected:A})}}if(F[0] instanceof Array&&F.length>1){throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+I)}switch(F[0]){case 1:S.push(I),R.push(this.lexer.yytext),Q.push(this.lexer.yylloc),S.push(F[1]),I=null,H?(I=H,H=null):(M=this.lexer.yyleng,O=this.lexer.yytext,N=this.lexer.yylineno,K=this.lexer.yylloc,L>0&&L--);break;case 2:if(C=this.productions_[F[1]][1],z.$=R[R.length-C],z._$={first_line:Q[Q.length-(C||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(C||1)].first_column,last_column:Q[Q.length-1].last_column},J&&(z._$.range=[Q[Q.length-(C||1)].range[0],Q[Q.length-1].range[1]]),E=this.performAction.call(z,O,M,N,this.yy,F[1],R,Q),"undefined"!=typeof E){return E}C&&(S=S.slice(0,-1*C*2),R=R.slice(0,-1*C),Q=Q.slice(0,-1*C)),S.push(this.productions_[F[1]][0]),R.push(z.$),Q.push(z._$),B=P[S[S.length-2]][S[S.length-1]],S.push(B);break;case 3:return !0}}return !0}},i=function(){var b={EOF:1,parseError:function(j,c){if(!this.yy.parser){throw new Error(j)}this.yy.parser.parseError(j,c)},setInput:function(c){return this._input=c,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 12,410 bytes, line 8347
8347,input:function(){var j=this._input[0];this.yytext+=j,this.yyleng++,this.offset++,this.match+=j,this.matched+=j;var c=j.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),j},unput:function(k){var j=k.length,n=k.split(/(?:\r\n?|\n)/g);this._input=k+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-j-1),this.offset-=j;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===m.length?this.yylloc.first_column:0)+m[m.length-n.length].length-n[0].length:this.yylloc.first_column-j},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-j]),this},more:function(){return this._more=!0,this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var j=this.pastInput(),c=new Array(j.length+1).join("-");return j+this.upcomingInput()+"\n"+c+"^"},next:function(){if(this.done){return this.EOF}this._input||(this.done=!0);var k,j,p,o,n;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),l=0;l<m.length&&(p=this._input.match(this.rules[m[l]]),!p||j&&!(p[0].length>j[0].length)||(j=p,o=l,this.options.flex));l++){}return j?(n=j[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+j[0].length},this.yytext+=j[0],this.match+=j[0],this.matches=j,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(j[0].length),this.matched+=j[0],k=this.performAction.call(this,this.yy,this,m[o],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k?k:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var c=this.next();return"undefined"!=typeof c?c:this.lex()},begin:function(c){this.conditionStack.push(c)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(c){this.begin(c)}};return b.options={},b.performAction=function(k,j,n,m){function l(o,p){return j.yytext=j.yytext.substring(o,j.yyleng-p+o)}switch(n){case 0:if("\\\\"===j.yytext.slice(-2)?(l(0,1),this.begin("mu")):"\\"===j.yytext.slice(-1)?(l(0,1),this.begin("emu")):this.begin("mu"),j.yytext){return 15}break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(j.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return j.yytext=l(1,2).replace(/\\"/g,'"'),80;case 32:return j.yytext=l(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return j.yytext=j.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},b.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],b.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},b}();return g.lexer=i,h.prototype=g,g.Parser=h,new h}();d["default"]=f,e.exports=d["default"]},function(v,u,t){function s(){var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=b}function r(g,f,j){void 0===f&&(f=g.length);var i=g[f-1],h=g[f-2];return i?"ContentStatement"===i.type?(h||!j?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(i.original):void 0:j}function q(g,f,j){void 0===f&&(f=-1);var i=g[f+1],h=g[f+2];return i?"ContentStatement"===i.type?(h||!j?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(i.original):void 0:j}function p(g,f,j){var i=g[null==f?0:f+1];if(i&&"ContentStatement"===i.type&&(j||!i.rightStripped)){var h=i.value;i.value=i.value.replace(j?/^\s+/:/^[ \t]*\r?\n?/,""),i.rightStripped=i.value!==h}}function o(g,f,j){var i=g[null==f?g.length-1:f-1];if(i&&"ContentStatement"===i.type&&(j||!i.leftStripped)){var h=i.value;return i.value=i.value.replace(j?/\s+$/:/[ \t]+$/,""),i.leftStripped=i.value!==h,i.leftStripped}}var n=t(1)["default"];u.__esModule=!0;var m=t(88),l=n(m);s.prototype=new l["default"],s.prototype.Program=function(E){var D=!this.options.ignoreStandalone,C=!this.isRootSeen;this.isRootSeen=!0;for(var B=E.body,A=0,z=B.length;A<z;A++){var y=B[A],x=this.accept(y);if(x){var w=r(B,A,C),h=q(B,A,C),g=x.openStandalone&&w,f=x.closeStandalone&&h,e=x.inlineStandalone&&w&&h;x.close&&p(B,A,!0),x.open&&o(B,A,!0),D&&e&&(p(B,A),o(B,A)&&"PartialStatement"===y.type&&(y.indent=/([ \t]+$)/.exec(B[A-1].original)[1])),D&&g&&(p((y.program||y.inverse).body),o(B,A)),D&&f&&(p(B,A),o((y.inverse||y.program).body))}}return E},s.prototype.BlockStatement=s.prototype.DecoratorBlock=s.prototype.PartialBlockStatement=function(f){this.accept(f.program),this.accept(f.inverse);var e=f.program||f.inverse,y=f.program&&f.inverse,x=y,w=y;if(y&&y.chained){for(x=y.body[0].program;w.chained;){w=w.body[w.body.length-1].program}}var h={open:f.openStrip.open,close:f.closeStrip.close,openStandalone:q(e.body),closeStandalone:r((x||e).body)};if(f.openStrip.close&&p(e.body,null,!0),y){var g=f.inverseStrip;g.open&&o(e.body,null,!0),g.close&&p(x.body,null,!0),f.closeStrip.open&&o(w.body,null,!0),!this.options.ignoreStandalone&&r(e.body)&&q(x.body)&&(o(e.body),p(x.body))}else{f.closeStrip.open&&o(e.body,null,!0)}return h},s.prototype.Decorator=s.prototype.MustacheStatement=function(b){return b.strip},s.prototype.PartialStatement=s.prototype.CommentStatement=function(d){var c=d.strip||{};return{inlineStandalone:!0,open:c.open,close:c.close}},u["default"]=s,v.exports=u["default"]},function(t,s,r){function q(){this.parents=[]}function p(b){this.acceptRequired(b,"path"),this.acceptArray(b.params),this.acceptKey(b,"hash")}function o(b){p.call(this,b),this.acceptKey(b,"program"),this.acceptKey(b,"inverse")}function n(b){this.acceptRequired(b,"name"),this.acceptArray(b.params),this.acceptKey(b,"hash")}var m=r(1)["default"];s.__esModule=!0;var l=r(6),k=m(l);q.prototype={constructor:q,mutating:!1,acceptKey:function(e,d){var f=this.accept(e[d]);if(this.mutating){if(f&&!q.prototype[f.type]){throw new k["default"]('Unexpected node type "'+f.type+'" found when accepting '+d+" on "+e.type)}e[d]=f}},acceptRequired:function(d,c){if(this.acceptKey(d,c),!d[c]){throw new k["default"](d.type+" requires "+c)}},acceptArray:function(e){for(var d=0,f=e.length;d<f;d++){this.acceptKey(e,d),e[d]||(e.splice(d,1),d--,f--)}},accept:function(d){if(d){if(!this[d.type]){throw new k["default"]("Unknown type: "+d.type,d)}this.current&&this.parents.unshift(this.current),this.current=d;var c=this[d.type](d);return this.current=this.parents.shift(),!this.mutating||c?c:c!==!1?d:void 0}},Program:function(b){this.acceptArray(b.body)},MustacheStatement:p,Decorator:p,BlockStatement:o,DecoratorBlock:o,PartialStatement:n,PartialBlockStatement:function(b){n.call(this,b),this.acceptKey(b,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:p,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(b){this.acceptArray(b.pairs)},HashPair:function(b){this.acceptRequired(b,"value")}},s["default"]=q,t.exports=s["default"]},function(H,G,F){function E(e,d){if(d=d.path?d.path.original:d,e.path.original!==d){var f={loc:e.path.loc};throw new r["default"](e.path.original+" doesn't match "+d,f)}}function D(d,c){this.source=d,this.start={line:c.first_line,column:c.first_column},this.end={line:c.last_line,column:c.last_column}}function C(b){return/^\[.*\]$/.test(b)?b.substring(1,b.length-1):b}function B(d,c){return{open:"~"===d.charAt(2),close:"~"===c.charAt(c.length-3)}}function A(b){return b.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function z(K,J,I){I=this.locInfo(I);for(var q=K?"@":"",p=[],o=0,n=0,m=J.length;n<m;n++){var l=J[n].part,k=J[n].original!==l;if(q+=(J[n].separator||"")+l,k||".."!==l&&"."!==l&&"this"!==l){p.push(l)}else{if(p.length>0){throw new r["default"]("Invalid path: "+q,{loc:I})}".."===l&&o++}}return{type:"PathExpression",data:K,depth:o,parts:p,original:q,loc:I}}function y(I,q,p,o,n,m){var l=o.charAt(3)||o.charAt(2),k="{"!==l&&"&"!==l,j=/\*/.test(o);return{type:j?"Decorator":"MustacheStatement",path:I,params:q,hash:p,escaped:k,strip:n,loc:this.locInfo(m)}}function x(g,d,j,i){E(g,j),i=this.locInfo(i);var h={type:"Program",body:d,strip:{},loc:i};return{type:"BlockStatement",path:g.path,params:g.params,hash:g.hash,program:h,openStrip:{},inverseStrip:{},closeStrip:{},loc:i}}function w(I,q,p,o,n,m){o&&o.path&&E(I,o);var l=/\*/.test(I.open);q.blockParams=I.blockParams;var k=void 0,d=void 0;if(p){if(l){throw new r["default"]("Unexpected inverse block on decorator",p)}p.chain&&(p.program.body[0].closeStrip=o.strip),d=p.strip,k=p.program}return n&&(n=k,k=q,q=n),{type:l?"DecoratorBlock":"BlockStatement",path:I.path,params:I.params,hash:I.hash,program:q,inverse:k,openStrip:I.strip,inverseStrip:d,closeStrip:o&&o.strip,loc:this.locInfo(m)}}function v(f,e){if(!e&&f.length){var h=f[0].loc,g=f[f.length-1].loc;h&&g&&(e={source:h.source,start:{line:h.start.line,column:h.start.column},end:{line:g.end.line,column:g.end.column}})}return{type:"Program",body:f,strip:{},loc:e}}function u(f,d,h,g){return E(f,h),{type:"PartialBlockStatement",name:f.path,params:f.params,hash:f.hash,program:d,openStrip:f.strip,closeStrip:h&&h.strip,loc:this.locInfo(g)}}var t=F(1)["default"];G.__esModule=!0,G.SourceLocation=D,G.id=C,G.stripFlags=B,G.stripComment=A,G.preparePath=z,G.prepareMustache=y,G.prepareRawBlock=x,G.prepareBlock=w,G.prepareProgram=v,G.prepareParti
8347alBlock=u;var s=F(6),r=t(s)},function(F,E,D){function C(){}function B(g,f,j){if(null==g||"string"!=typeof g&&"Program"!==g.type){throw new u["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+g)}f=f||{},"data" in f||(f.data=!0),f.compat&&(f.useDepths=!0);var i=j.parse(g,f),h=(new j.Compiler).compile(i,f);return(new j.JavaScriptCompiler).compile(h,f)}function A(h,g,l){function k(){var c=l.parse(h,g),b=(new l.Compiler).compile(c,g),a=(new l.JavaScriptCompiler).compile(b,g,void 0,!0);return l.template(a)}function j(d,c){return i||(i=k()),i.call(this,d,c)}if(void 0===g&&(g={}),null==h||"string"!=typeof h&&"Program"!==h.type){throw new u["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+h)}g=t.extend({},g),"data" in g||(g.data=!0),g.compat&&(g.useDepths=!0);var i=void 0;return j._setup=function(b){return i||(i=k()),i._setup(b)},j._child=function(f,d,n,m){return i||(i=k()),i._child(f,d,n,m)},j}function z(e,d){if(e===d){return !0}if(t.isArray(e)&&t.isArray(d)&&e.length===d.length){for(var f=0;f<e.length;f++){if(!z(e[f],d[f])){return !1}}return !0}}function y(d){if(!d.path.parts){var c=d.path;d.path={type:"PathExpression",data:!1,depth:0,parts:[c.original+""],original:c.original+"",loc:c.loc}}}var x=D(74)["default"],w=D(1)["default"];E.__esModule=!0,E.Compiler=C,E.precompile=B,E.compile=A;var v=D(6),u=w(v),t=D(5),s=D(84),r=w(s),q=[].slice;C.prototype={compiler:C,equals:function(g){var f=this.opcodes.length;if(g.opcodes.length!==f){return !1}for(var j=0;j<f;j++){var i=this.opcodes[j],h=g.opcodes[j];if(i.opcode!==h.opcode||!z(i.args,h.args)){return !1}}f=this.children.length;for(var j=0;j<f;j++){if(!this.children[j].equals(g.children[j])){return !1}}return !0},guid:0,compile:function(d,c){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=c,this.stringParams=c.stringParams,this.trackIds=c.trackIds,c.blockParams=c.blockParams||[],c.knownHelpers=t.extend(x(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},c.knownHelpers),this.accept(d)},compileProgram:function(f){var e=new this.compiler,h=e.compile(f,this.options),g=this.guid++;return this.usePartial=this.usePartial||h.usePartial,this.children[g]=h,this.useDepths=this.useDepths||h.useDepths,g},accept:function(d){if(!this[d.type]){throw new u["default"]("Unknown type: "+d.type,d)}this.sourceNode.unshift(d);var c=this[d.type](d);return this.sourceNode.shift(),c},Program:function(f){this.options.blockParams.unshift(f.blockParams);for(var e=f.body,h=e.length,g=0;g<h;g++){this.accept(e[g])}return this.options.blockParams.shift(),this.isSimple=1===h,this.blockParams=f.blockParams?f.blockParams.length:0,this},BlockStatement:function(f){y(f);var e=f.program,h=f.inverse;e=e&&this.compileProgram(e),h=h&&this.compileProgram(h);var g=this.classifySexpr(f);"helper"===g?this.helperSexpr(f,e,h):"simple"===g?(this.simpleSexpr(f),this.opcode("pushProgram",e),this.opcode("pushProgram",h),this.opcode("emptyHash"),this.opcode("blockValue",f.path.original)):(this.ambiguousSexpr(f,e,h),this.opcode("pushProgram",e),this.opcode("pushProgram",h),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(f){var e=f.program&&this.compileProgram(f.program),h=this.setupFullMustacheParams(f,e,void 0),g=f.path;this.useDecorators=!0,this.opcode("registerDecorator",h.length,g.original)},PartialStatement:function(h){this.usePartial=!0;var g=h.program;g&&(g=this.compileProgram(h.program));var l=h.params;if(l.length>1){throw new u["default"]("Unsupported number of partial arguments: "+l.length,h)}l.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):l.push({type:"PathExpression",parts:[],depth:0}));var k=h.name.original,j="SubExpression"===h.name.type;j&&this.accept(h.name),this.setupFullMustacheParams(h,g,void 0,!0);var i=h.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i=""),this.opcode("invokePartial",j,k,i),this.opcode("append")}
vendor: 10,242 bytes, line 8347
8347,PartialBlockStatement:function(b){this.PartialStatement(b)},MustacheStatement:function(b){this.SubExpression(b),b.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(b){this.DecoratorBlock(b)},ContentStatement:function(b){b.value&&this.opcode("appendContent",b.value)},CommentStatement:function(){},SubExpression:function(d){y(d);var c=this.classifySexpr(d);"simple"===c?this.simpleSexpr(d):"helper"===c?this.helperSexpr(d):this.ambiguousSexpr(d)},ambiguousSexpr:function(h,g,l){var k=h.path,j=k.parts[0],i=null!=g||null!=l;this.opcode("getContext",k.depth),this.opcode("pushProgram",g),this.opcode("pushProgram",l),k.strict=!0,this.accept(k),this.opcode("invokeAmbiguous",j,i)},simpleSexpr:function(d){var c=d.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(h,g,l){var k=this.setupFullMustacheParams(h,g,l),j=h.path,i=j.parts[0];if(this.options.knownHelpers[i]){this.opcode("invokeKnownHelper",k.length,i)}else{if(this.options.knownHelpersOnly){throw new u["default"]("You specified knownHelpersOnly, but used the unknown helper "+i,h)}j.strict=!0,j.falsy=!0,this.accept(j),this.opcode("invokeHelper",k.length,j.original,r["default"].helpers.simpleId(j))}},PathExpression:function(f){this.addDepth(f.depth),this.opcode("getContext",f.depth);var e=f.parts[0],h=r["default"].helpers.scopedId(f),g=!f.depth&&!h&&this.blockParamIndex(e);g?this.opcode("lookupBlockParam",g,f.parts):e?f.data?(this.options.data=!0,this.opcode("lookupData",f.depth,f.parts,f.strict)):this.opcode("lookupOnContext",f.parts,f.falsy,f.strict,h):this.opcode("pushContext")},StringLiteral:function(b){this.opcode("pushString",b.value)},NumberLiteral:function(b){this.opcode("pushLiteral",b.value)},BooleanLiteral:function(b){this.opcode("pushLiteral",b.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(f){var e=f.pairs,h=0,g=e.length;for(this.opcode("pushHash");h<g;h++){this.pushParam(e[h].value)}for(;h--;){this.opcode("assignToHash",e[h].key)}this.opcode("popHash")},opcode:function(b){this.opcodes.push({opcode:b,args:q.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(b){b&&(this.useDepths=!0)},classifySexpr:function(i){var h=r["default"].helpers.simpleId(i.path),n=h&&!!this.blockParamIndex(i.path.parts[0]),m=!n&&r["default"].helpers.helperExpression(i),l=!n&&(m||h);if(l&&!m){var k=i.path.parts[0],j=this.options;j.knownHelpers[k]?m=!0:j.knownHelpersOnly&&(l=!1)}return m?"helper":l?"ambiguous":"simple"},pushParams:function(e){for(var d=0,f=e.length;d<f;d++){this.pushParam(e[d])}},pushParam:function(f){var e=null!=f.value?f.value:f.original||"";if(this.stringParams){e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),f.depth&&this.addDepth(f.depth),this.opcode("getContext",f.depth||0),this.opcode("pushStringParam",e,f.type),"SubExpression"===f.type&&this.accept(f)}else{if(this.trackIds){var h=void 0;if(!f.parts||r["default"].helpers.scopedId(f)||f.depth||(h=this.blockParamIndex(f.parts[0])),h){var g=f.parts.slice(1).join(".");this.opcode("pushId","BlockParam",h,g)}else{e=f.original||e,e.replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",f.type,e)}}this.accept(f)}},setupFullMustacheParams:function(g,f,j,i){var h=g.params;return this.pushParams(h),this.opcode("pushProgram",f),this.opcode("pushProgram",j),g.hash?this.accept(g.hash):this.opcode("emptyHash",i),h},blockParamIndex:function(g){for(var f=0,j=this.options.blockParams.length;f<j;f++){var i=this.options.blockParams[f],h=i&&t.indexOf(i,g);if(i&&h>=0){return[f,h]}}}}},function(B,A,z){function y(b){this.value=b}function x(){}function w(i,h,n,m,l){var k=h.popStack(),j=n.length;for(i&&j--;m<j;m++){k=h.nameLookup(k,n[m],l)}return i?[h.aliasable("container.strict"),"(",k,", ",h.quotedString(n[m]),", ",JSON.stringify(h.source.currentLocation)," )"]:k}var v=z(60)["default"],u=z(1)["default"];A.__esModule=!0;var t=z(4),s=z(6),r=u(s),q=z(5),p=z(92),o=u(p);x.prototype={nameLookup:function(d,c){return this.internalNameLookup(d,c)},depthedLookup:function(b){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(b),")"]},compilerInfo:function(){var d=t.COMPILER_REVISION,c=t.REVISION_CHANGES[d];return[d,c]},appendToBuffer:function(e,d,f){return q.isArray(e)||(e=[e]),e=this.source.wrap(e,d),this.environment.isSimple?["return ",e,";"]:f?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(d,c){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",d,",",JSON.stringify(c),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(O,N,M,L){this.environment=O,this.options=N,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!L,this.name=this.environment.name,this.isChild=!!M,this.context=M||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(O,N),this.useDepths=this.useDepths||O.useDepths||O.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||O.useBlockParams;var K=O.opcodes,J=void 0,I=void 0,H=void 0,G=void 0;for(H=0,G=K.length;H<G;H++){J=K[H],this.source.currentLocation=J.loc,I=I||J.loc,this[J.opcode].apply(this,J.args)}if(this.source.currentLocation=I,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length){throw new r["default"]("Compile completed with content left on stack")}this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),L?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var F=this.createFunctionContext(L);if(this.isChild){return F}var E={compiler:this.compilerInfo(),main:F};this.decorators&&(E.main_d=this.decorators,E.useDecorators=!0);var D=this.context,C=D.programs,k=D.decorators;for(H=0,G=C.length;H<G;H++){C[H]&&(E[H]=C[H],k[H]&&(E[H+"_d"]=k[H],E.useDecorators=!0))}return this.environment.usePartial&&(E.usePartial=!0),this.options.data&&(E.useData=!0),this.useDepths&&(E.useDepths=!0),this.useBlockParams&&(E.useBlockParams=!0),this.options.compat&&(E.compat=!0),L?E.compilerOptions=this.options:(E.compiler=JSON.stringify(E.compiler),this.source.currentLocation={start:{line:1,column:0}},E=this.objectLiteral(E),N.srcName?(E=E.toStringWithSourceMap({file:N.destName}),E.map=E.map&&E.map.toString()):E=E.toString()),E},preamble:function(){this.lastContext=0,this.source=new o["default"](this.options.srcName),this.decorators=new o["default"](this.options.srcName)},createFunctionContext:function(i){var g=this,n="",m=this.stackVars.concat(this.registers.list);m.length>0&&(n+=", "+m.join(", "));var l=0;v(this.aliases).forEach(function(b){var c=g.aliases[b];c.children&&c.referenceCount>1&&(n+=", alias"+ ++l+"="+b,c.children[0]="alias"+l)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var k=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&k.push("blockParams"),this.useDepths&&k.push("depths");var j=this.mergeSource(n);return i?(k.push(j),Function.apply(this,k)):this.source.wrap(["function(",k.join(","),") {\n ",j,"}"])},mergeSource:function(i){var h=this.environment.isSimple,n=!this.forceBuffer,m=void 0,l=void 0,k=void 0,j=void 0;return this.source.each(function(b){b.appendToBuffer?(k?b.prepend(" + "):k=b,j=b):(k&&(l?k.prepend("buffer += "):m=!0,j.add(";"),k=j=void 0),l=!0,h||(n=!1))}),n?k?(k.prepend("return "),j.add(";")):l||this.source.push('return "";'):(i+=", buffer = "+(m?"":this.initializeBuffer()),k?(k.prepend("return buffer + "),j.add(";")):this.source.push("return buffer;")),i&&this.source.prepend("var "+i.substring(2)+(m?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(f){var e=this.aliasable("container.hooks.blockHelperMissing"),h=[this.contextName(0)];this.setupHelperArgs(f,0,h);var g=this.popStack();h.splice(1,0,g),this.push(this.source.functionCall(e,"call",h))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),d=[this.contextName(0)];this.setupHelperArgs("",0,d,!0),this.flushInline();var f=this.topStack();d.splice(1,0,f),this.pushSource(["if (!",this.lastHelper,") { ",f," = ",this.source.functionCall(e,"call",d),"}"])},appendContent:function(b){this.pendingContent?b=this.pendingContent+b:this.pendingLocation=this.source.currentLocation,this.pendingContent=b},append:function(){if(this.isInline()){this.replaceStack(function(c){return[" != null ? ",c,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()))}else{var b=this.popStack();this.pushSource(["if (",b," != null) { ",this.appendToBuffer(b,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(b){this.lastContext=b},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(g,f,j,i){var h=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(g[h++])),this.resolvePath("context",g,h,f,j)},lookupBlockParam:function(d,c){this.useBlockParams=!0,this.push(["blockParams[",d[0],"][",d[1],"]"]),this.resolvePath("context",c,1
vendor: 5,031 bytes, line 8347
8347)},lookupData:function(e,d,f){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",d,0,!0,f)},resolvePath:function(i,f,n,m,l){var k=this;if(this.options.strict||this.options.assumeObjects){return void this.push(w(this.options.strict&&l,this,f,n,i))}for(var j=f.length;n<j;n++){this.replaceStack(function(b){var a=k.nameLookup(b,f[n],i);return m?[" && ",a]:[" != null ? ",a," : ",b]})}},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(d,c){this.pushContext(),this.pushString(c),"SubExpression"!==c&&("string"==typeof d?this.pushString(d):this.pushStackLiteral(d))},emptyHash:function(b){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(b?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var b=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(b.ids)),this.stringParams&&(this.push(this.objectLiteral(b.contexts)),this.push(this.objectLiteral(b.types))),this.push(this.objectLiteral(b.values))},pushString:function(b){this.pushStackLiteral(this.quotedString(b))},pushLiteral:function(b){this.pushStackLiteral(b)},pushProgram:function(b){null!=b?this.pushStackLiteral(this.programExpression(b)):this.pushStackLiteral(null)},registerDecorator:function(f,e){var h=this.nameLookup("decorators",e,"decorator"),g=this.setupHelperArgs(e,f);this.decorators.push(["fn = ",this.decorators.functionCall(h,"",["fn","props","container",g])," || fn;"])},invokeHelper:function(j,i,D){var C=this.popStack(),n=this.setupHelper(j,i),m=[];D&&m.push(n.name),m.push(C),this.options.strict||m.push(this.aliasable("container.hooks.helperMissing"));var l=["(",this.itemsSeparatedBy(m,"||"),")"],k=this.source.functionCall(l,"call",n.callParams);this.push(k)},itemsSeparatedBy:function(f,e){var h=[];h.push(f[0]);for(var g=1;g<f.length;g++){h.push(e,f[g])}return h},invokeKnownHelper:function(e,d){var f=this.setupHelper(e,d);this.push(this.source.functionCall(f.name,"call",f.callParams))},invokeAmbiguous:function(h,g){this.useRegister("helper");var l=this.popStack();this.emptyHash();var k=this.setupHelper(0,h,g),j=this.lastHelper=this.nameLookup("helpers",h,"helper"),i=["(","(helper = ",j," || ",l,")"];this.options.strict||(i[0]="(helper = ",i.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",i,k.paramsInit?["),(",k.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",k.callParams)," : helper))"])},invokePartial:function(g,f,j){var i=[],h=this.setupParams(f,1,i);g&&(f=this.popStack(),delete h.name),j&&(h.indent=JSON.stringify(j)),h.helpers="helpers",h.partials="partials",h.decorators="container.decorators",g?i.unshift(f):i.unshift(this.nameLookup("partials",f,"partial")),this.options.compat&&(h.depths="depths"),h=this.objectLiteral(h),i.push(h),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(h){var g=this.popStack(),l=void 0,k=void 0,j=void 0;this.trackIds&&(j=this.popStack()),this.stringParams&&(k=this.popStack(),l=this.popStack());var i=this.hash;l&&(i.contexts[h]=l),k&&(i.types[h]=k),j&&(i.ids[h]=j),i.values[h]=g},pushId:function(e,d,f){"BlockParam"===e?this.pushStackLiteral("blockParams["+d[0]+"].path["+d[1]+"]"+(f?" + "+JSON.stringify("."+f):"")):"PathExpression"===e?this.pushString(d):"SubExpression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:x,compileChildren:function(F,E){for(var D=F.children,C=void 0,n=void 0,m=0,l=D.length;m<l;m++){C=D[m],n=new this.compiler;var k=this.matchExistingProgram(C);if(null==k){this.context.programs.push("");var j=this.context.programs.length;C.index=j,C.name="program"+j,this.context.programs[j]=n.compile(C,E,this.context,!this.precompile),this.context.decorators[j]=n.decorators,this.context.environments[j]=C,this.useDepths=this.useDepths||n.useDepths,this.useBlockParams=this.useBlockParams||n.useBlockParams,C.useDepths=this.useDepths,C.useBlockParams=this.useBlockParams}else{C.index=k.index,C.name="program"+k.index,this.useDepths=this.useDepths||k.useDepths,this.useBlockParams=this.useBlockParams||k.useBlockParams}}},matchExistingProgram:function(f){for(var e=0,h=this.context.environments.length;e<h;e++){var g=this.context.environments[e];if(g&&g.equals(f)){return g}}},programExpression:function(e){var d=this.environment.children[e],f=[d.index,"data",d.blockParams];return(this.useBlockParams||this.useDepths)&&f.push("blockParams"),this.useDepths&&f.push("depths"),"container.program("+f.join(", ")+")"},useRegister:function(b){this.registers[b]||(this.registers[b]=!0,this.registers.list.push(b))},push:function(b){return b instanceof y||(b=this.source.wrap(b)),this.inlineStack.push(b),b},pushStackLiteral:function(b){this.push(new y(b))}
vendor: 4,439 bytes, line 8347
8347,pushSource:function(b){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),b&&this.source.push(b)},replaceStack:function(j){var d=["("],D=void 0,C=void 0,n=void 0;if(!this.isInline()){throw new r["default"]("replaceStack on non-inline")}var m=this.popStack(!0);if(m instanceof y){D=[m.value],d=["(",D],n=!0}else{C=!0;var l=this.incrStack();d=["((",this.push(l)," = ",m,")"],D=this.topStack()}var k=j.call(this,D);n||this.popStack(),C&&this.stackSlot--,this.push(d.concat(k,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var g=this.inlineStack;this.inlineStack=[];for(var d=0,j=g.length;d<j;d++){var i=g[d];if(i instanceof y){this.compileStack.push(i)}else{var h=this.incrStack();this.pushSource([h," = ",i,";"]),this.compileStack.push(h)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var d=this.isInline(),f=(d?this.inlineStack:this.compileStack).pop();if(!e&&f instanceof y){return f.value}if(!d){if(!this.stackSlot){throw new r["default"]("Invalid stack pop")}this.stackSlot--}return f},topStack:function(){var d=this.isInline()?this.inlineStack:this.compileStack,c=d[d.length-1];return c instanceof y?c.value:c},contextName:function(b){return this.useDepths&&b?"depths["+b+"]":"depth"+b},quotedString:function(b){return this.source.quotedString(b)},objectLiteral:function(b){return this.source.objectLiteral(b)},aliasable:function(d){var c=this.aliases[d];return c?(c.referenceCount++,c):(c=this.aliases[d]=this.source.wrap(d),c.aliasable=!0,c.referenceCount=1,c)},setupHelper:function(i,h,n){var m=[],l=this.setupHelperArgs(h,i,m,n),k=this.nameLookup("helpers",h,"helper"),j=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:m,paramsInit:l,name:k,callParams:[j].concat(m)}},setupParams:function(L,K,J){var I={},H=[],G=[],F=[],E=!J,D=void 0;E&&(J=[]),I.name=this.quotedString(L),I.hash=this.popStack(),this.trackIds&&(I.hashIds=this.popStack()),this.stringParams&&(I.hashTypes=this.popStack(),I.hashContexts=this.popStack());var C=this.popStack(),n=this.popStack();(n||C)&&(I.fn=n||"container.noop",I.inverse=C||"container.noop");for(var m=K;m--;){D=this.popStack(),J[m]=D,this.trackIds&&(F[m]=this.popStack()),this.stringParams&&(G[m]=this.popStack(),H[m]=this.popStack())}return E&&(I.args=this.source.generateArray(J)),this.trackIds&&(I.ids=this.source.generateArray(F)),this.stringParams&&(I.types=this.source.generateArray(G),I.contexts=this.source.generateArray(H)),this.options.data&&(I.data="data"),this.useBlockParams&&(I.blockParams="blockParams"),I},setupHelperArgs:function(g,f,j,i){var h=this.setupParams(g,f,j);return h.loc=JSON.stringify(this.source.currentLocation),h=this.objectLiteral(h),i?(this.useRegister("options"),j.push("options"),["options=",h]):j?(j.push(h),""):h}},function(){for(var f="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=x.RESERVED_WORDS={},h=0,g=f.length;h<g;h++){e[f[h]]=!0}}(),x.isValidJavaScriptVariableName=function(b){return !x.RESERVED_WORDS[b]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(b)},A["default"]=x,B.exports=A["default"]},function(r,q,p){function o(h,g,u){if(l.isArray(h)){for(var t=[],s=0,i=h.length;s<i;s++){t.push(g.wrap(h[s],u))}return t}return"boolean"==typeof h||"number"==typeof h?h+"":h}function n(b){this.srcFile=b,this.source=[]}var m=p(60)["default"];q.__esModule=!0;var l=p(5),k=void 0;try{}catch(j){}k||(k=function(f,e,h,g){this.src="",g&&this.add(g)},k.prototype={add:function(b){l.isArray(b)&&(b=b.join("")),this.src+=b},prepend:function(b){l.isArray(b)&&(b=b.join("")),this.src=b+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),n.prototype={isEmpty:function(){return !this.source.length},prepend:function(d,c){this.source.unshift(this.wrap(d,c))}
8347,push:function(d,c){this.source.push(this.wrap(d,c))},merge:function(){var b=this.empty();return this.each(function(a){b.add([" ",a,"\n"])}),b},each:function(e){for(var d=0,f=this.source.length;d<f;d++){e(this.source[d])}},empty:function(){var b=this.currentLocation||{start:{}};return new k(b.start.line,b.start.column,this.srcFile)},wrap:function(d){var c=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return d instanceof k?d:(d=o(d,this,c),new k(c.start.line,c.start.column,this.srcFile,d))},functionCall:function(e,d,f){return f=this.generateList(f),this.wrap([e,d?"."+d+"(":"(",f,")"])},quotedString:function(b){return'"'+(b+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(f){var d=this,h=[];m(f).forEach(function(b){var a=o(f[b],d);"undefined"!==a&&h.push([d.quotedString(b),":",a])});var g=this.generateList(h);return g.prepend("{"),g.add("}"),g},generateList:function(f){for(var d=this.empty(),h=0,g=f.length;h<g;h++){h&&d.add(","),d.add(o(f[h],this))}return d},generateArray:function(d){var c=this.generateList(d);return c.prepend("["),c.add("]"),c}},q["default"]=n,r.exports=q["default"]}])});; 8348(function(a){a(["jquery"],function(b){return(function(){var o;var d;var x=0;var c={error:"error",info:"info",success:"success",warning:"warning"};var v={clear:m,remove:w,error:q,getContainer:s,info:u,options:{},subscribe:h,success:f,version:"2.1.4",warning:p};var g;return v;function q(z,A,y){return l({type:c.error,iconClass:j().iconClasses.error,message:z,optionsOverride:y,title:A})}function s(y,z){if(!y){y=j()}o=b("#"+y.containerId);if(o.length){return o}if(z){o=e(y)}return o}function u(z,A,y){return l({type:c.info,iconClass:j().iconClasses.info,message:z,optionsOverride:y,title:A})}function h(y){d=y}function f(z,A,y){return l({type:c.success,iconClass:j().iconClasses.success,message:z,optionsOverride:y,title:A})}function p(z,A,y){return l({type:c.warning,iconClass:j().iconClasses.warning,message:z,optionsOverride:y,title:A})}function m(y,A){var z=j();if(!o){s(z)}if(!t(y,z,A)){n(z)}}function w(y){var z=j();if(!o){s(z)}if(y&&b(":focus",y).length===0){k(y);return}if(o.children().length){o.remove()}}function n(y){var A=o.children();for(var z=A.length-1;z>=0;z--){t(b(A[z]),y)}}function t(y,z,A){var B=A&&A.force?A.force:false;if(y&&(B||b(":focus",y).length===0)){y[z.hideMethod]({duration:z.hideDuration,easing:z.hideE
8348asing,complete:function(){k(y)}});return true}return false}function e(y){o=b("<div/>").attr("id",y.containerId).addClass(y.positionClass);o.appendTo(b(y.target));return o}function i(){return{tapToDismiss:true,toastClass:"toast",containerId:"toast-container",debug:false,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:undefined,hideMethod:"fadeOut",hideDuration:1000,hideEasing:"swing",onHidden:undefined,closeMethod:false,closeDuration:false,closeEasing:false,closeOnHover:true,extendedTimeOut:1000,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5000,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:false,target:"body",closeHtml:'<button type="button">×</button>',closeClass:"toast-close-button",newestOnTop:true,preventDuplicates:false,progressBar:false,progressClass:"toast-progress",rtl:false}}function r(y){if(!d){return}d(y)}function l(Y){var K=j();var A=Y.iconClass||K.iconClass;if(typeof(Y.optionsOverride)!=="undefined"){K=b.extend(K,Y.optionsOverride);A=Y.optionsOverride.iconClass||A}if(N(K,Y)){return}x++;o=s(K,true);var Z=null;var I=b("<div/>");var S=b("<div/>");var X=b("<div/>");var P=b("<div/>");var y=b(K.closeHtml);var V={intervalId:null,hideEta:null,maxHideTime:null};var B={toastId:x,state:"visible",startTime:new Date(),options:K,map:Y};L();D();H();r(B);if(K.debug&&console){console.log(B)}return I;function U(aa){if(aa==null){aa=""}return aa.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function L(){G();Q();F();W();M();C();T();R()}function R(){var aa="";switch(Y.iconClass){case"toast-success":case"toast-info":aa="polite";break;default:aa="assertive"}I.attr("aria-live",aa)}function H(){if(K.closeOnHover){I.hover(J,E)}if(!K.onclick&&K.tapToDismiss){I.click(z)}if(K.closeButton&&y){y.click(function(aa){if(aa.stopPropagation){aa.stopPropagation()}else{if(aa.cancelBubble!==undefined&&aa.cancelBubble!==true){aa.cancelBubble=true}}if(K.onCloseClick){K.onCloseClick(aa)}z(true)})}if(K.onclick){I.click(function(aa){K.onclick(aa);z()})}}function D(){I.hide();I[K.showMethod]({duration:K.showDuration,easing:K.showEasing,complete:K.onShown});if(K.timeOut>0){Z=setTimeout(z,K.timeOut);V.maxHideTime=parseFloat(K.timeOut);V.hideEta=new Date().getTime()+V.maxHideTime;if(K.progressBar){V.intervalId=setInterval(O,10)}}}function G(){if(Y.iconClass){I.addClass(K.toastClass).addClass(A)}}function T(){if(K.newestOnTop){o.prepend(I)}else{o.append(I)}}function Q(){if(Y.title){var aa=Y.title;if(K.escapeHtml){aa=U(Y.title)}S.append(aa).addClass(K.titleClass);I.append(S)}}function F(){if(Y.message){var aa=Y.message;if(K.escapeHtml){aa=U(Y.message)}X.append(aa).addClass(K.messageClass);I.append(X)}}function W(){if(K.closeButton){y.addClass(K.closeClass).attr("role","button");I.prepend(y)}}function M(){if(K.progressBar){P.addClass(K.progressClass);I.prepend(P)}}function C(){if(K.rtl){I.addClass("rtl")}}function N(aa,ab){if(aa.preventDuplicates){if(ab.message===g){return true}else{g=ab.message}}return false}function z(aa){var ad=aa&&K.closeMethod!==false?K.closeMethod:K.hideMethod;var ab=aa&&K.closeDuration!==false?K.closeDuration:K.hideDuration;var ac=aa&&K.closeEasing!==false?K.closeEasing:K.hideEasing;if(b(":focus",I).length&&!aa){return}clearTimeout(V.intervalId);return I[ad]({duration:ab,easing:ac,complete:function(){k(I);clearTimeout(Z);if(K.onHidden&&B.state!=="hidden"){K.onHidden()}B.state="hidden";B.endTime=new Date();r(B)}})}function E(){if(K.timeOut>0||K.extendedTimeOut>0){Z=setTimeout(z,K.extendedTimeOut);V.maxHideTime=parseFloat(K.extendedTimeOut);V.hideEta=new Date().getTime()+V.maxHideTime}}function J(){clearTimeout(Z);V.hideEta=0;I.stop(true,true)[K.showMethod]({duration:K.showDuration,easing:K.showEasing})}function O(){var aa=((V.hideEta-(new Date().getTime()))/V.maxHideTime)*100;P.width(aa+"%")}}function j(){return b.extend({},i(),v.options)}function k(y){if(!o){o=s()}if(y.is(":visible")){return}y.remove();y=null;if(o.children().length===0){o.remove();g=undefined}}})()})}(typeof define==="function"&&define.amd?define:function(b,a){if(typeof module!=="undefined"&&module.exports){module.exports=a(require("jquery"))}else{window.toastr=a(window.jQuery)}}));; 8349!(function ($) { 8350/* global toastr */ 8351if (!$.jalios) { 8352$.jalios = {}; 8353} 8354if (!$.jalios.toastr) { 8355$.jalios.toastr = {}; 8356} 8357/** 8358* Enum for position toast options. 8359* @readonly 8360* @enum {string} 8361*/ 8362const Position = { 8363TOP_RIGHT: "toast-top-right", 8364BOTTOM_RIGHT: "toast-bottom-right", 8365BOTTOM_LEFT: "toast-bottom-left", 8366TOP_LEFT: "toast-top-left", 8367TOP_FULL_WIDTH: "toast-top-full-width", 8368BOTTOM_FULL_WIDTH: "toast-bottom-full-width", 8369TOP_CENTER: "toast-top-center", 8370BOTTOM_CENTER: "toast-bottom-center" 8371};
8372/** 8373* Enum for toast level. 8374* @readonly 8375* @enum {string} 8376*/ 8377const Level = { 8378SUCCESS: "success", 8379INFO: "info", 8380WARNING: "warning", 8381ERROR: "error" 8382}; 8383const defaultOptions = { 8384positionClass: Position.TOP_CENTER 8385}; 8386$.jalios.toastr = { 8387Level, 8388Position, 8389/** 8390* Displays a message using Toastr. 8391* @param {string} message - The message to be displayed. 8392* @param {Level} level - The toast level. 8393* @param {object} [options=defaultOptions] - Additional options for the toast. 8394* @throws {Error} Throws an error if the specified level is not valid. 8395*/ 8396displayMessage(message, level = Level.INFO, options = defaultOptions) { 8397const mergedOptions = $.extend({}, defaultOptions, options); 8398const validTypes = Object.values(Level).join(", "); 8399if (typeof toastr[level] !== "function") { 8400throw new Error(`toastr.${level} is not a function, valid function are: ${validTypes}`); 8401} 8402toastr[level](message, null, mergedOptions); 8403}, 8404remove() { 8405toastr.remove(); 8406}, 8407subscribe(callback) { 8408toastr.subscribe(callback); 8409}, 8410clear() { 8411toastr.clear(); 8412}, 8413getContainer(options, create) { 8414return toastr.getContainer(options, create); 8415} 8416}; 8417})(window.jQuery); 8418; 8419jQuery(document).ready(function(a){var b=jQuery("#choixEspace").width();jQuery(".espace .dropdown-menu BUTTON A").css("width",b)});var videos=document.querySelectorAll("video");videos.forEach(function(a){a.addEventListener("click",function(){if(a.paused){a.play()}else{a.pause()}})});; 8420!function(a){a(document).ready(function(){const d="aria-label";const c='DIV.wysiwyg A[target="_blank"]';a(c).each(function(){const g=a(this);const e=g.attr(d);const h=g.attr("title");const f=a.jalios.I18N.glp("jcmsplugin.arkeaa11yplugin.link.blank.suffix.label");if(e!==undefined&&!e.includes(f)){g.attr(d,e+" "+f)}if(h!==undefined&&!h.includes(f)){g.attr("title",h+" "+f);g.attr(d,h+" "+f)}});const b=a(' <svg aria-hidden="true" class="js-container c-svg" width="40" height="40" part="ux-svg" viewBox="0 0 28 28"> <path d="m23.93,14.39V5.85c.1-1.02-.64-1.92-1.65-2.04h-8.15"/> <path d="m14.85,13.54l8.54-9.19"/> <path d="m9.22,7.82h-.01c-2.95,0-5.34,2.39-5.34,5.34h0v5.36c0,2.95,2.39,5.34,5.34,5.34h5.36c2.95,0,5.34-2.39,5.34-5.34h0"/> <rect class="svg-rectangle-hidden" x=".5" y=".5" width="27" height="27"/> </svg> ');a(c).addClass("ux-target-blank");a(c).append(b);a('A[target="_blank"]').attr("rel","noopener noreferrer");a("DIV.wysiwyg A").each(function(){const e=a(this).attr("title");if(e!==undefined){a(this).attr(d,e)}})})}(window.jQuery);; 8421document.addEventListener("DOMContentLoaded",function(){let mainElement=document.querySelector("main");if(mainElement){mainElement.setAttribute("tabindex","-1")}});; 8422!function($) { 8423// Gestion des dropdown 8424$(document).ready(function() { 8425const dropdowns = document.getElementsByClassName('dropdown'); 8426// Gestion de l'attribut "aria-expanded" 8427// Fonction modifiant l'attribut "aria-expanded" des boutons 8428// en fonction de la classe "open" des dropdowns 8429const observer = new MutationObserver((mutations) => { 8430for (const mutation of mutations) { 8431const dropdown = mutation.target; 8432// Sélectionner uniquement le premier enfant ayant l'attribut data-toggle="dropdown" 8433const btn = dropdown.querySelector('[data-toggle="dropdown"]'); 8434if (btn) { 8435// Mettre à jour l'attribut aria-expanded en fonction de la classe open 8436btn.setAttribute('aria-expanded', dropdown.classList.contains('open') ? 'true' : 'false'); 8437} 8438} 8439}); 8440// Déclaration de l'Observer sur tous les dropdowns 8441Array.from(dropdowns).forEach((dropdown) => { 8442observer.observe(dropdown, { 8443attributes: true, 8444class: true, 8445childList: false, 8446subtree: false 8447}); 8448}); 8449// Gestion de la fermeture du menu avec la navigation clavier 8450Array.from(dropdowns).forEach(function(dropdown) { 8451let keyDownTab = false; 8452let keyDownShiftTab = false; 8453const dropdownMenuItems = $("UL.dropdown-menu LI", dropdown); 8454const focusableItems = $("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]", dropdownMenuItems); 8455// On vérifie si l'événement est une tabulation 8456dropdown.addEventListener("keydown", (event) => { 8457keyDownTab = !event.shiftKey && event.keyCode == 9; 8458keyDownShiftTab = event.shiftKey && event.keyCode == 9; 8459}); 8460// On ferme le menu si on fait un ShitTab depuis le bouton d'affichage du dropdown 8461$('*[data-toggle="dropdown"]', dropdown).on('focusout', (event) => { 8462if (keyDownShiftTab) { 8463dropdown.classList.remove('open'); 8464} 8465}); 8466// On ferme le menu si on est sur le premier ou le dernier élément et qu'on sort du menu 8467dropdown.addEventListener("focusout", (event) => { 8468if ((event.target === focusableItems[focusableItems.length - 1] && keyDownTab) 8469|| (event.target === focusableItems[0] && keyDownShiftTab) ) { 8470dropdown.classList.remove('open'); 8471} 8472}); 8473}); 8474}); // Fin $(document).ready 8475}(window.jQuery);; 8476!function(h){if(h("#a11yPager").length>0){const b=" - Page ";const d=" / ";let oldSuffix;function e(){h("TITLE").text(g(h("TITLE")));h("H1").text(g(h("H1")))}function g(i){let text=i.text();let suffix=b+h("#a11yPager").data("currentPage")+d+h("#a11yPager").data("pagesNbr");if(oldSuffix&&c(text)){let lengthToSub=text.length-oldSuffix.length;text=text.substring(0,lengthToSub)}oldSuffix=suffix;return text+suffix}function c(i){return i.match("^.*-.*Page.*/.*$")}function f(i){return/(.*)(\s-.*Page.*\/.*)/.exec(i)[2]}function a(){h("H1").attr("tabindex","-1");h("H1").focus()}e();h(document).on("jalios:refresh",function(i){if(i.refresh.type!=="after"){return}e();a()})}}(window.jQuery);; 8477!function($) { 8478// Fonction d'initialisation principale pour les éléments UX-INPUT-A11Y 8479function initializeUxInput() {
8480getAllUxInputA11Y().forEach((element) => { 8481if (isUXCheckbox(element)) { 8482processUxCheckboxA11Y(element); 8483} else { 8484processUxInputA11Y(element); 8485} 8486}); 8487} 8488// Gère les éléments de type UX-INPUT-A11Y-CHECKBOX 8489function processUxCheckboxA11Y(element) { 8490// Si la case est cochée au chargement, ajouter un input hidden 8491if (element.checked) { 8492appendInputHidden(element); 8493} 8494// Ajouter un gestionnaire d'événement pour les changements d'état 8495$(element).change(() => { 8496handleStateChange(element); 8497}); 8498} 8499// Gère le changement d'état des éléments UX-INPUT-A11Y-CHECKBOX 8500function handleStateChange(inputUX) { 8501if (inputUX.checked) { 8502appendInputHidden(inputUX); 8503} else { 8504removeInputHidden(inputUX); 8505} 8506} 8507// Gère les éléments UX-INPUT-A11Y autres que les checkboxes 8508function processUxInputA11Y(element) { 8509let inputValue = $(element).val(); 8510// Si l'élément a une valeur au chargement, ajouter un input hidden 8511if (inputValue !== undefined && inputValue !== "") { 8512appendInputHidden(element); 8513} 8514// Ajouter un gestionnaire d'événement pour les changements de valeur 8515$(element).change(() => { 8516const inputHidden = $(element).parent().find('INPUT[type="hidden"][name="' + $(element).attr('name') + '"]'); 8517if (inputHidden.length > 0) { 8518setInputHidden(inputHidden, element); 8519} else { 8520appendInputHidden(element); 8521} 8522}); 8523} 8524// Retourne tous les éléments UX-INPUT-A11Y présents dans le document 8525function getAllUxInputA11Y() { 8526return Array.from(document.querySelectorAll('*')).filter((e) => { 8527return e.tagName.match(/^UX-INPUT-A11Y-(?!CHECKBOX-GROUP)/i); 8528}); 8529} 8530// Ajoute un input hidden correspondant à l'élément UX-INPUT-A11Y donné 8531function appendInputHidden(inputUX) { 8532const value = $(inputUX).attr('value'); 8533const name = $(inputUX).attr('name'); 8534const id = 'hidden-' + value.replace(/[^a-zA-Z0-9-_:.]/g, ''); 8535// Si l'input hidden n'existe pas déjà , le créer 8536if ($('#' + id).length === 0) { 8537$('<input>', { 8538type: 'hidden', 8539id: id, 8540name: name, 8541value: value 8542}).appendTo($(inputUX).parent()); 8543} 8544} 8545// Supprime l'input hidden correspondant à l'élément UX-INPUT-A11Y donné 8546function removeInputHidden(inputUX) { 8547const value = $(inputUX).attr('value'); 8548const id = 'hidden-' + value.replace(/[^a-zA-Z0-9-_:.]/g, ''); 8549$('#' + id).remove(); 8550} 8551// Met à jour la valeur de l'input hidden en fonction de l'élément UX-INPUT-A11Y donné 8552function setInputHidden(inputHidden, inputUX) { 8553if (isUXCheckbox(inputUX)) { 8554inputHidden.val(inputUX.checked); 8555} else { 8556inputHidden.val(inputUX.value); 8557} 8558} 8559// Vérifie si l'élément donné est de type UX-INPUT-A11Y-CHECKBOX ou UX-INPUT-A11Y-CHECKBOX-GROUP 8560function isUXCheckbox(inputUX) { 8561const tagName = $(inputUX).prop('tagName'); 8562return tagName === 'UX-INPUT-A11Y-CHECKBOX'; 8563} 8564// Appeler la fonction d'initialisation après le chargement du document 8565$(document).ready(() => { 8566initializeUxInput(); 8567}); 8568// Appeler la fonction d'initialisation après un rafraîchissement AJAX 8569$(document).ajaxComplete(() => { 8570initializeUxInput(); 8571}); 8572}(window.jQuery); 8573; 8574/* 8575Copyright (C) Federico Zivolo 2017 8576Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). 8577*/(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}
vendor: 2,287 bytes, line 8577
8577function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll)/.test(r+s+p)?e:n(o(e))}function r(e){var o=e&&e.offsetParent,i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===t(o,'position')?r(o):o:e?e.ownerDocument.documentElement:document.documentElement}function p(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||r(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(n,0);var l=a.commonAncestorContainer;if(e!==l&&t!==l||i.contains(n))return p(l)?l:r(l);var f=s(e);return f.host?d(f.host,t):d(e,s(t).host)}function a(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||n;return r[o]}return e[o]}function l(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=a(t,'top'),n=a(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function f(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+i+'Width'],10)}function m(e,t,o,i){return J(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],ie()?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function h(){var e=document.body,t=document.documentElement,o=ie()&&getComputedStyle(t);return{height:m('Height',e,t,o),width:m('Width',e,t,o)}}function c(e){return se({},e,{right:e.left+e.width,bottom:e.top+e.height})}function g(e){var o={};if(ie())try{o=e.getBoundingClientRect();var i=a(e,'top'),n=a(e,'left');o.top+=i,o.left+=n,o.bottom+=i,o.right+=n}catch(e){}else o=e.getBoundingClientRect();var r={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top}
vendor: 5,196 bytes, line 8577
8577,p='HTML'===e.nodeName?h():{},s=p.width||e.clientWidth||r.right-r.left,d=p.height||e.clientHeight||r.bottom-r.top,l=e.offsetWidth-s,m=e.offsetHeight-d;if(l||m){var g=t(e);l-=f(g,'x'),m-=f(g,'y'),r.width-=l,r.height-=m}return c(r)}function u(e,o){var i=ie(),r='HTML'===o.nodeName,p=g(e),s=g(o),d=n(e),a=t(o),f=parseFloat(a.borderTopWidth,10),m=parseFloat(a.borderLeftWidth,10),h=c({top:p.top-s.top-f,left:p.left-s.left-m,width:p.width,height:p.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var u=parseFloat(a.marginTop,10),b=parseFloat(a.marginLeft,10);h.top-=f-u,h.bottom-=f-u,h.left-=m-b,h.right-=m-b,h.marginTop=u,h.marginLeft=b}return(i?o.contains(d):o===d&&'BODY'!==d.nodeName)&&(h=l(h,o)),h}function b(e){var t=e.ownerDocument.documentElement,o=u(e,t),i=J(t.clientWidth,window.innerWidth||0),n=J(t.clientHeight,window.innerHeight||0),r=a(t),p=a(t,'left'),s={top:r-o.top+o.marginTop,left:p-o.left+o.marginLeft,width:i,height:n};return c(s)}function w(e){var i=e.nodeName;return'BODY'===i||'HTML'===i?!1:'fixed'===t(e,'position')||w(o(e))}function y(e,t,i,r){var p={top:0,left:0},s=d(e,t);if('viewport'===r)p=b(s);else{var a;'scrollParent'===r?(a=n(o(t)),'BODY'===a.nodeName&&(a=e.ownerDocument.documentElement)):'window'===r?a=e.ownerDocument.documentElement:a=r;var l=u(a,s);if('HTML'===a.nodeName&&!w(s)){var f=h(),m=f.height,c=f.width;p.top+=l.top-l.marginTop,p.bottom=m+l.top,p.left+=l.left-l.marginLeft,p.right=c+l.left}else p=l}return p.left+=i,p.top+=i,p.right-=i,p.bottom-=i,p}function E(e){var t=e.width,o=e.height;return t*o}function v(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=y(o,i,r,n),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return se({key:e},s[e],{area:E(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function O(e,t,o){var i=d(t,o);return u(o,i)}function L(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function x(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function S(e,t,o){o=o.split('-')[0];var i=L(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return n[p]=t[p]+t[d]/2-i[d]/2,n[s]=o===s?t[s]-i[a]:t[x(s)],n}function T(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function D(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=T(e,function(e){return e[t]===o});return e.indexOf(i)}function C(t,o,i){var n=void 0===i?t:t.slice(0,D(t,'name',i));return n.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var i=t['function']||t.fn;t.enabled&&e(i)&&(o.offsets.popper=c(o.offsets.popper),o.offsets.reference=c(o.offsets.reference),o=i(o,t))}),o}function N(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference),e.placement=v(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=S(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='absolute',e=C(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function k(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function W(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length-1;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function P(){return this.state.isDestroyed=!0,k(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[W('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function B(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||H(n(p.parentNode),t,o,i),i.push(p)}function A(e,t,o,i){o.updateBound=i,B(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return H(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.state=A(this.reference,this.options,this.state,this.scheduleUpdate))}function M(e,t){return B(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEac
vendor: 4,402 bytes, line 8577
8577h(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function R(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=M(this.reference,this.state))}function U(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&U(t[o])&&(i='px'),e.style[o]=t[o]+i})}function j(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function F(e,t,o){var i=T(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function K(e){return'end'===e?'start':'start'===e?'end':e}function q(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=ae.indexOf(e),i=ae.slice(o+1).concat(ae.slice(0,o));return t?i.reverse():i}function V(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],p=n[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=i;}var d=c(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?J(document.documentElement.clientHeight,window.innerHeight||0):J(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function z(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(T(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,i){var n=(1===i?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return V(e,n,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,i){U(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}function G(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=n.split('-')[0];return o=U(+i)?[+i,0]:z(i,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(var _=Math.min,X=Math.floor,J=Math.max,Q='undefined'!=typeof window&&'undefined'!=typeof document,Z=['Edge','Trident','Firefox'],$=0,ee=0;ee<Z.length;ee+=1)if(Q&&0<=navigator.userAgent.indexOf(Z[ee])){$=1;break}var i,te=Q&&window.Promise,oe=te?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},$))}},ie=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},ne=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},re=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),pe=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},se=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},de=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ae=de.slice(3),le={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},fe=function(){function t(o,i){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ne(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=oe(this.update.bind(this)),this.options=se({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(se({}
8577,t.Defaults.modifiers,r.modifiers)).forEach(function(e){n.options.modifiers[e]=se({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return se({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return re(t,[{key:'update',value:function(){return N.call(this)}},{key:'destroy',value:function(){return P.call(this)}},{key:'enableEventListeners',value:function(){return I.call(this)}},{key:'disableEventListeners',value:function(){return R.call(this)}}]),t}();return fe.Utils=('undefined'==typeof window?global:window).PopperUtils,fe.placements=de,fe.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,p=n.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:pe({},d,r[d]),end:pe({},d,r[d]+r[a]-p[a])};e.offsets.popper=se({},p,l[i])}return e}},offset:{order:200,enabled:!0,fn:G,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||r(e.instance.popper);e.instance.reference===o&&(o=r(o));var i=y(e.instance.popper,e.instance.reference,t.padding,o);t.boundaries=i;var n=t.priority,p=e.offsets.popper,s={primary:function(e){var o=p[e];return p[e]<i[e]&&!t.escapeWithReference&&(o=J(p[e],i[e])),pe({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=p[o];return p[e]>i[e]&&!t.escapeWithReference&&(n=_(p[o],i[e]-('right'===e?p.width:p.height))),pe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';p=se({},p,s[t](e))}),e.offsets.popper=p,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=X,p=-1!==['top','bottom'].indexOf(n),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(i[d])&&(e.offsets.popper[d]=r(i[d])-o[a]),o[d]>r(i[s])&&(e.offsets.popper[d]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var i;if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var n=o.element;if('string'==typeof n){if(n=e.instance.popper.querySelector(n),!n)return e;}else if(!e.instance.popper.contains(n))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',g=a?'bottom':'right',u=L(n)[l];d[g]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[g]-u)),d[m]+u>s[g]&&(e.offsets.popper[m]+=d[m]+u-s[g]),e.offsets.popper=c(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=J(_(s[l]-u,v),0),e.arrowElement=n,e.offsets.arrow=(i={},pe(i,m,Math.round(v)),pe(i,h,''),i),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(k(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=y(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split('-')[0],n=x(i),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case le.FLIP:p=[i,n];break;case le.CLOCKWISE:p=q(i);break;case le.COUNTERCLOCKWISE:p=q(i,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(i!==s||p.length===d+1)return e;i=e.placement.split('-')[0],n=x(i);var a=e.offsets.popper,l=e.offsets.reference,f=X,m='left'===i&&f(a.right)>f(l.left)||'right'===i&&f(a.left)<f(l.right)||'top'===i&&f(a.bottom)>f(l.top)||'bottom'===i&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===i&&h||'right'===i&&c||'top'===i&&g||'bottom'===i&&u,w=-1!==['top','bottom'].indexOf(i),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(i=p[d+1]),y&&(r=K(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=se({},e.offsets.popper,S(e.instance.popper,e.offsets.reference,e.placement)),e=C(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[p?'left':'top']=r[o]-(s?n[p?'width':'height']:0),e.placement=x(t),e.offsets.popper=c(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=T(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,i=t.y,n=e.offsets.popper,p=T(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==p&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===p?t.gpuAcceleration:p,l=r(e.instance.popper),f=g(l),m={position:n.position},h={left:X(n.left),top:X(n.top),bottom:X(n.bottom),right:X(n.right)},c='bottom'===o?'top':'bottom',u='right'===i?'left':'right',b=W('transform');if(d='bottom'==c?-f.height+h.bottom:h.top,s='right'==u?-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[u]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==u?-1:1;m[c]=d*w,m[u]=s*y,m.willChange=c+', '+u}var E={"x-placement":e.placement};return e.attributes=se({},E,e.attributes),e.styles=se({},m,e.styles),e.arrowStyles=se({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return Y(e.instance.popper,e.styles),j(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,i,n){var r=O(n,t,e),p=v(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),Y(t,{position:'absolute'}),o},gpuAcceleration:void 0}}},fe}); 8578//# sourceMappingURL=popper.min.js.map 8579; 8580/*! 8581* Bootstrap v4.3.1 (https://getbootstrap.com/) 8582* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 8583* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 8584*/ 8585!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,g,u){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,n,i;e=o,i=r[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return o}g=g&&g.hasOwnProperty("default")?g.default:g,u=u&&u.hasOwnProperty("default")?u.default:u;var e="transitionend";function n(t){var e=this,n=!1;return g(this).one(_.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||_.triggerTransitionEnd(e)},t),this}var _={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=g(t).css("transition-duration"),n=g(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){g(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&_.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?_.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};g.fn.emulateTransitionEnd=n,g.event.special[_.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(g(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var o="alert",r="bs.alert",a="."+r,c=g.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},f="alert",d="fade",m="show",p=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}
8585,t.dispose=function(){g.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=_.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=g(t).closest("."+f)[0]),n},t._triggerCloseEvent=function(t){var e=g.Event(h.CLOSE);return g(t).trigger(e),e},t._removeElement=function(e){var n=this;if(g(e).removeClass(m),g(e).hasClass(d)){var t=_.getTransitionDurationFromElement(e);g(e).one(_.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){g(t).detach().trigger(h.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();g(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),g.fn[o]=p._jQueryInterface,g.fn[o].Constructor=p,g.fn[o].noConflict=function(){return g.fn[o]=c,p._jQueryInterface};var v="button",y="bs.button",E="."+y,C=".data-api",T=g.fn[v],S="active",b="btn",I="focus",D='[data-toggle^="button"]',w='[data-toggle="buttons"]',A='input:not([type="hidden"])',N=".active",O=".btn",k={CLICK_DATA_API:"click"+E+C,FOCUS_BLUR_DATA_API:"focus"+E+C+" blur"+E+C},P=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=g(this._element).closest(w)[0];if(n){var i=this._element.querySelector(A);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(S))t=!1;else{var o=n.querySelector(N);o&&g(o).removeClass(S)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(S),g(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(S)),t&&g(this._element).toggleClass(S)},t.dispose=function(){g.removeData(this._element,y),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=g(this).data(y);t||(t=new n(this),g(this).data(y,t)),"toggle"===e&&t[e]()})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();g(document).on(k.CLICK_DATA_API,D,function(t){t.preventDefault();var e=t.target;g(e).hasClass(b)||(e=g(e).closest(O)),P._jQueryInterface.call(g(e),"toggle")}).on(k.FOCUS_BLUR_DATA_API,D,function(t){var e=g(t.target).closest(O)[0];g(e).toggleClass(I,/^focus(in)?$/.test(t.type))}),g.fn[v]=P._jQueryInterface,g.fn[v].Constructor=P,g.fn[v].noConflict=function(){return g.fn[v]=T,P._jQueryInterface};var L="carousel",j="bs.carousel",H="."+j,R=".data-api",x=g.fn[L],F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},W="next",q="prev",M="left",K="right",Q={SLIDE:"slide"+H,SLID:"slid"+H,KEYDOWN:"keydown"+H,MOUSEENTER:"mouseenter"+H,MOUSELEAVE:"mouseleave"+H,TOUCHSTART:"touchstart"+H,TOUCHMOVE:"touchmove"+H,TOUCHEND:"touchend"+H,POINTERDOWN:"pointerdown"+H,POINTERUP:"pointerup"+H,DRAG_START:"dragstart"+H,LOAD_DATA_API:"load"+H+R,CLICK_DATA_API:"click"+H+R},B="carousel",V="active",Y="slide",z="carousel-item-right",X="carousel-item-left",$="carousel-item-next",G="carousel-item-prev",J="pointer-event",Z=".active",tt=".active.carousel-item",et=".carousel-item",nt=".carousel-item img",it=".carousel-item-next, .carousel-item-prev",ot=".carousel-indicators",rt="[data-slide], [data-slide-to]",st='[data-ride="carousel"]',at={TOUCH:"touch",PEN:"pen"},lt=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(ot),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(W)},t.nextWhenVisible=function(){!document.hidden&&g(this._element).is(":visible")&&"hidden"
8585!==g(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(q)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(it)&&(_.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(tt);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)g(this._element).one(Q.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?W:q;this._slide(i,this._items[t])}},t.dispose=function(){g(this._element).off(H),g.removeData(this._element,j),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},F,t),_.typeCheckConfig(L,t,U),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&g(this._element).on(Q.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&g(this._element).on(Q.MOUSEENTER,function(t){return e.pause(t)}).on(Q.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var e=function(t){n._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){n._pointerEvent&&at[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))};g(this._element.querySelectorAll(nt)).on(Q.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(g(this._element).on(Q.POINTERDOWN,function(t){return e(t)}),g(this._element).on(Q.POINTERUP,function(t){return i(t)}),this._element.classList.add(J)):(g(this._element).on(Q.TOUCHSTART,function(t){return e(t)}),g(this._element).on(Q.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX}),g(this._element).on(Q.TOUCHEND,function(t){return i(t)}))}},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(et)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===W,i=t===q,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===q?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(tt)),o=g.Event(Q.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return g(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(Z));g(e).removeClass(V);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&g(n).addClass(V)}},t._slide=function(t,e){var n,i,o,r=this,s=this._element.querySelector(tt),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=t===W?(n=X,i=$,M):(n=z,i=G,K),l&&g(l).hasClass(V))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=g.Event(Q.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(g(this._element).hasClass(Y)){g(l).addClass(i),_.reflow(l),g(s).addClass(n),g(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);this._config.interval=f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,f):this._config.defaultInterval||this._config.interval;var d=_.getTransitionDurationFromElement(s);g(s).one(_.TRANSITION_END,function(){g(l).removeClass(n+" "+i).addClass(V),g(s).removeClass(V+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return g(r._element).trigger(u)},0)}).emulateTransitionEnd(d)}else g(s).removeClass(V),g(l).addClass(V),this._isSliding=!1,g(this._element).trigger(u);h&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=g(this).data(j),e=l({},F,g(this).data());"object"==typeof i&&(e=l({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),g(this).data(j,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method n
8585amed "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=_.getSelectorFromElement(this);if(e){var n=g(e)[0];if(n&&g(n).hasClass(B)){var i=l({},g(n).data(),g(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(g(n),i),o&&g(n).data(j).to(o),t.preventDefault()}}},s(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return F}}]),r}();g(document).on(Q.CLICK_DATA_API,rt,lt._dataApiClickHandler),g(window).on(Q.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(st)),e=0,n=t.length;e<n;e++){var i=g(t[e]);lt._jQueryInterface.call(i,i.data())}}),g.fn[L]=lt._jQueryInterface,g.fn[L].Constructor=lt,g.fn[L].noConflict=function(){return g.fn[L]=x,lt._jQueryInterface};var ct="collapse",ht="bs.collapse",ut="."+ht,ft=g.fn[ct],dt={toggle:!0,parent:""},gt={toggle:"boolean",parent:"(string|element)"},_t={SHOW:"show"+ut,SHOWN:"shown"+ut,HIDE:"hide"+ut,HIDDEN:"hidden"+ut,CLICK_DATA_API:"click"+ut+".data-api"},mt="show",pt="collapse",vt="collapsing",yt="collapsed",Et="width",Ct="height",Tt=".show, .collapsing",St='[data-toggle="collapse"]',bt=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(St)),i=0,o=n.length;i<o;i++){var r=n[i],s=_.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){g(this._element).hasClass(mt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!g(this._element).hasClass(mt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(Tt)).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(pt)})).length&&(t=null),!(t&&(e=g(t).not(this._selector).data(ht))&&e._isTransitioning))){var i=g.Event(_t.SHOW);if(g(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(g(t).not(this._selector),"hide"),e||g(t).data(ht,null));var o=this._getDimension();g(this._element).removeClass(pt).addClass(vt),this._element.style[o]=0,this._triggerArray.length&&g(this._triggerArray).removeClass(yt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),s=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,function(){g(n._element).removeClass(vt).addClass(pt).addClass(mt),n._element.style[o]="",n.setTransitioning(!1),g(n._element).trigger(_t.SHOWN)}).emulateTransitionEnd(s),this._element.style[o]=this._element[r]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&g(this._element).hasClass(mt)){var e=g.Event(_t.HIDE);if(g(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",_.reflow(this._element),g(this._element).addClass(vt).removeClass(pt).removeClass(mt);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var r=this._triggerArray[o],s=_.getSelectorFromElement(r);if(null!==s)g([].slice.call(document.querySelectorAll(s))).hasClass(mt)||g(r).addClass(yt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var a=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,function(){t.setTransitioning(!1),g(t._element).removeClass(vt).addClass(pt).trigger(_t.HIDDEN)}).emulateTransitionEnd(a)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){g.removeData(this._element,ht),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},dt,t)).toggle=Boolean(t.toggle),_.typeCheckConfig(ct,t,gt),t},t._getDimension=function(){return g(this._element).hasClass(Et)?Et:Ct},t._getParent=function(){var t,n=this;_.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(e));return g(i).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){var n=g(t).hasClass(mt);e.length&&g(e).toggleClass(yt,!n).attr("aria-expanded",n)},a._getTargetFromElement=function(t){var e=_.getSelectorFromElement(t);return e?document.querySelector(e):null},a._jQueryInterface=function(i){return this.each(function(){var t=g(this),e=t.data(ht),n=l({},dt,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(ht,e)),"string"==typeof i){if("undefined"==typeof e[i])throw new TypeError('No method n
8585amed "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return dt}}]),a}();g(document).on(_t.CLICK_DATA_API,St,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=g(this),e=_.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(e));g(i).each(function(){var t=g(this),e=t.data(ht)?"toggle":n.data();bt._jQueryInterface.call(t,e)})}),g.fn[ct]=bt._jQueryInterface,g.fn[ct].Constructor=bt,g.fn[ct].noConflict=function(){return g.fn[ct]=ft,bt._jQueryInterface};var It="dropdown",Dt="bs.dropdown",wt="."+Dt,At=".data-api",Nt=g.fn[It],Ot=new RegExp("38|40|27"),kt={HIDE:"hide"+wt,HIDDEN:"hidden"+wt,SHOW:"show"+wt,SHOWN:"shown"+wt,CLICK:"click"+wt,CLICK_DATA_API:"click"+wt+At,KEYDOWN_DATA_API:"keydown"+wt+At,KEYUP_DATA_API:"keyup"+wt+At},Pt="disabled",Lt="show",jt="dropup",Ht="dropright",Rt="dropleft",xt="dropdown-menu-right",Ft="position-static",Ut='[data-toggle="dropdown"]',Wt=".dropdown form",qt=".dropdown-menu",Mt=".navbar-nav",Kt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Qt="top-start",Bt="top-end",Vt="bottom-start",Yt="bottom-end",zt="right-start",Xt="left-start",$t={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Gt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Jt=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!g(this._element).hasClass(Pt)){var t=c._getParentFromElement(this._element),e=g(this._menu).hasClass(Lt);if(c._clearMenus(),!e){var n={relatedTarget:this._element},i=g.Event(kt.SHOW,n);if(g(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if("undefined"==typeof u)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=t:_.isElement(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&g(t).addClass(Ft),this._popper=new u(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===g(t).closest(Mt).length&&g(document.body).children().on("mouseover",null,g.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),g(this._menu).toggleClass(Lt),g(t).toggleClass(Lt).trigger(g.Event(kt.SHOWN,n))}}}},t.show=function(){if(!(this._element.disabled||g(this._element).hasClass(Pt)||g(this._menu).hasClass(Lt))){var t={relatedTarget:this._element},e=g.Event(kt.SHOW,t),n=c._getParentFromElement(this._element);g(n).trigger(e),e.isDefaultPrevented()||(g(this._menu).toggleClass(Lt),g(n).toggleClass(Lt).trigger(g.Event(kt.SHOWN,t)))}},t.hide=function(){if(!this._element.disabled&&!g(this._element).hasClass(Pt)&&g(this._menu).hasClass(Lt)){var t={relatedTarget:this._element},e=g.Event(kt.HIDE,t),n=c._getParentFromElement(this._element);g(n).trigger(e),e.isDefaultPrevented()||(g(this._menu).toggleClass(Lt),g(n).toggleClass(Lt).trigger(g.Event(kt.HIDDEN,t)))}},t.dispose=function(){g.removeData(this._element,Dt),g(this._element).off(wt),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;g(this._element).on(kt.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,g(this._element).data(),t),_.typeCheckConfig(It,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(qt))}return this._menu},t._getPlacement=function(){var t=g(this._element.parentNode),e=Vt;return t.hasClass(jt)?(e=Qt,g(this._menu).hasClass(xt)&&(e=Bt)):t.hasClass(Ht)?e=zt:t.hasClass(Rt)?e=Xt:g(this._menu).hasClass(xt)&&(e=Yt),e},t._detectNavbar=function(){return 0<g(this._element).closest(".
8585navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},c._jQueryInterface=function(e){return this.each(function(){var t=g(this).data(Dt);if(t||(t=new c(this,"object"==typeof e?e:null),g(this).data(Dt,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(Ut)),n=0,i=e.length;n<i;n++){var o=c._getParentFromElement(e[n]),r=g(e[n]).data(Dt),s={relatedTarget:e[n]};if(t&&"click"===t.type&&(s.clickEvent=t),r){var a=r._menu;if(g(o).hasClass(Lt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&g.contains(o,t.target))){var l=g.Event(kt.HIDE,s);g(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),e[n].setAttribute("aria-expanded","false"),g(a).removeClass(Lt),g(o).removeClass(Lt).trigger(g.Event(kt.HIDDEN,s)))}}}},c._getParentFromElement=function(t){var e,n=_.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||g(t.target).closest(qt).length)):Ot.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!g(this).hasClass(Pt))){var e=c._getParentFromElement(this),n=g(e).hasClass(Lt);if(n&&(!n||27!==t.which&&32!==t.which)){var i=[].slice.call(e.querySelectorAll(Kt));if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===t.which){var r=e.querySelector(Ut);g(r).trigger("focus")}g(this).trigger("click")}}},s(c,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return $t}},{key:"DefaultType",get:function(){return Gt}}]),c}();g(document).on(kt.KEYDOWN_DATA_API,Ut,Jt._dataApiKeydownHandler).on(kt.KEYDOWN_DATA_API,qt,Jt._dataApiKeydownHandler).on(kt.CLICK_DATA_API+" "+kt.KEYUP_DATA_API,Jt._clearMenus).on(kt.CLICK_DATA_API,Ut,function(t){t.preventDefault(),t.stopPropagation(),Jt._jQueryInterface.call(g(this),"toggle")}).on(kt.CLICK_DATA_API,Wt,function(t){t.stopPropagation()}),g.fn[It]=Jt._jQueryInterface,g.fn[It].Constructor=Jt,g.fn[It].noConflict=function(){return g.fn[It]=Nt,Jt._jQueryInterface};var Zt="modal",te="bs.modal",ee="."+te,ne=g.fn[Zt],ie={backdrop:!0,keyboard:!0,focus:!0,show:!0},oe={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},re={HIDE:"hide"+ee,HIDDEN:"hidden"+ee,SHOW:"show"+ee,SHOWN:"shown"+ee,FOCUSIN:"focusin"+ee,RESIZE:"resize"+ee,CLICK_DISMISS:"click.dismiss"+ee,KEYDOWN_DISMISS:"keydown.dismiss"+ee,MOUSEUP_DISMISS:"mouseup.dismiss"+ee,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ee,CLICK_DATA_API:"click"+ee+".data-api"},se="modal-dialog-scrollable",ae="modal-scrollbar-measure",le="modal-backdrop",ce="modal-open",he="fade",ue="show",fe=".modal-dialog",de=".modal-body",ge='[data-toggle="modal"]',_e='[data-dismiss="modal"]',me=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",pe=".sticky-top",ve=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(fe),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){g(this._element).hasClass(he)&&(this._isTransitioning=!0);var n=g.Event(re.SHOW,{relatedTarget:t});g(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),g(this._element).on(re.CLICK_DISMISS,_e,function(t){return e.hide(t)}),g(this._dialog).on(re.MOUSEDOWN_DISMISS,function(){g(e._element).one(re.MOUSEUP_DISMISS,function(t){g(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=g.Event(re.HIDE);if(g(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=g(this._element).hasClass(he);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),g(document).off(re.FOCUSIN),g(this._element).removeClass(ue),g(this._element).off(re.CLICK_DISMISS),g(this._dialog).off(re.MOUSEDOWN_DISMISS),i){var o=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return g(t).off(ee)}),g(document).off(re.FOCUSIN),g.removeData(this._element,te),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},ie,t),_.typeCheckConfig(Zt,t,oe),t},t._showElement=function(t){var e=this,n=g(this._element).hasClass(he);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),g(this._dialog).hasClass(se)?this._dialog.querySelector(de).scrollTop=0:this._element.scrollTop=0,n&&_.reflow(this._element),g(this._element).addClass(ue),this._config.focus&&this._enforceFocus();
8585var i=g.Event(re.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,g(e._element).trigger(i)};if(n){var r=_.getTransitionDurationFromElement(this._dialog);g(this._dialog).one(_.TRANSITION_END,o).emulateTransitionEnd(r)}else o()},t._enforceFocus=function(){var e=this;g(document).off(re.FOCUSIN).on(re.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===g(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?g(this._element).on(re.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||g(this._element).off(re.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?g(window).on(re.RESIZE,function(t){return e.handleUpdate(t)}):g(window).off(re.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){g(document.body).removeClass(ce),t._resetAdjustments(),t._resetScrollbar(),g(t._element).trigger(re.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(g(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=g(this._element).hasClass(he)?he:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=le,n&&this._backdrop.classList.add(n),g(this._backdrop).appendTo(document.body),g(this._element).on(re.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&_.reflow(this._backdrop),g(this._backdrop).addClass(ue),!t)return;if(!n)return void t();var i=_.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(_.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){g(this._backdrop).removeClass(ue);var o=function(){e._removeBackdrop(),t&&t()};if(g(this._element).hasClass(he)){var r=_.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(_.TRANSITION_END,o).emulateTransitionEnd(r)}else o()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.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<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(me)),e=[].slice.call(document.querySelectorAll(pe));g(t).each(function(t,e){var n=e.style.paddingRight,i=g(e).css("padding-right");g(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),g(e).each(function(t,e){var n=e.style.marginRight,i=g(e).css("margin-right");g(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=g(document.body).css("padding-right");g(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}g(document.body).addClass(ce)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(me));g(t).each(function(t,e){var n=g(e).data("padding-right");g(e).removeData("padding-right"),e.style.paddingRight=n||""});var e=[].slice.call(document.querySelectorAll(""+pe));g(e).each(function(t,e){var n=g(e).data("margin-right");"undefined"!=typeof n&&g(e).css("margin-right",n).removeData("margin-right")});var n=g(document.body).data("padding-right");g(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=ae,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=g(this).data(te),e=l({},ie,g(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),g(this).data(te,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method n
8585amed "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ie}}]),o}();g(document).on(re.CLICK_DATA_API,ge,function(t){var e,n=this,i=_.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=g(e).data(te)?"toggle":l({},g(e).data(),g(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=g(e).one(re.SHOW,function(t){t.isDefaultPrevented()||r.one(re.HIDDEN,function(){g(n).is(":visible")&&n.focus()})});ve._jQueryInterface.call(g(e),o,this)}),g.fn[Zt]=ve._jQueryInterface,g.fn[Zt].Constructor=ve,g.fn[Zt].noConflict=function(){return g.fn[Zt]=ne,ve._jQueryInterface};var ye=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ee={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ce=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Te=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Se(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function(t,e){var n=l[t],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),r=[].concat(s["*"]||[],s[i]||[]);o.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===ye.indexOf(n)||Boolean(t.nodeValue.match(Ce)||t.nodeValue.match(Te));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,r)||n.removeAttribute(t.nodeName)})},o=0,r=l.length;o<r;o++)i(o);return n.body.innerHTML}var be="tooltip",Ie="bs.tooltip",De="."+Ie,we=g.fn[be],Ae="bs-tooltip",Ne=new RegExp("(^|\\s)"+Ae+"\\S+","g"),Oe=["sanitize","whiteList","sanitizeFn"],ke={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Pe={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Le={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:Ee},je="show",He="out",Re={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,INSERTED:"inserted"+De,CLICK:"click"+De,FOCUSIN:"focusin"+De,FOCUSOUT:"focusout"+De,MOUSEENTER:"mouseenter"+De,MOUSELEAVE:"mouseleave"+De},xe="fade",Fe="show",Ue=".tooltip-inner",We=".arrow",qe="hover",Me="focus",Ke="click",Qe="manual",Be=function(){function i(t,e){if("undefined"==typeof u)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=i.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,n=g(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(g(this.getTipElement()).hasClass(Fe))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),g.removeData(this.element,this.constructor.DATA_KEY),g(this.element).off(this.constructor.EVENT_KEY),g(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&g(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"===g(this.element).css("display"))throw new Error("Please use show on visible elements");var t=g.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){g(this.element).trigger(t);var n=_.findShadowRoot(this.element),i=g.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),r=_.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&g(o).addClass(xe);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();g(o).data(this.constructor.DATA_KEY,this),g.contains(this.element.ownerDocument.documentElement,this.tip)||g(o).appendTo(l),g(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:We}
8585,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),g(o).addClass(Fe),"ontouchstart"in document.documentElement&&g(document.body).children().on("mouseover",null,g.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,g(e.element).trigger(e.constructor.Event.SHOWN),t===He&&e._leave(null,e)};if(g(this.tip).hasClass(xe)){var h=_.getTransitionDurationFromElement(this.tip);g(this.tip).one(_.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=g.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==je&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),g(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(g(this.element).trigger(i),!i.isDefaultPrevented()){if(g(n).removeClass(Fe),"ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),this._activeTrigger[Ke]=!1,this._activeTrigger[Me]=!1,this._activeTrigger[qe]=!1,g(this.tip).hasClass(xe)){var r=_.getTransitionDurationFromElement(n);g(n).one(_.TRANSITION_END,o).emulateTransitionEnd(r)}else o();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){g(this.getTipElement()).addClass(Ae+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(g(t.querySelectorAll(Ue)),this.getTitle()),g(t).removeClass(xe+" "+Fe)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Se(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?g(e).parent().is(t)||t.empty().append(e):t.text(g(e).text())},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._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:_.isElement(this.config.container)?g(this.config.container):g(document).find(this.config.container)},t._getAttachment=function(t){return Pe[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)g(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==Qe){var e=t===qe?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===qe?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;g(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}}),g(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.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 n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Me:qe]=!0),g(e.getTipElement()).hasClass(Fe)||e._hoverState===je?e._hoverState=je:(clearTimeout(e._timeout),e._hoverState=je,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===je&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Me:qe]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=He,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===He&&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){var e=g(this.element).data();return Object.keys(e).forEach(function(t){-1!==Oe.indexOf(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.Default,e,"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()),_.typeCheckConfig(be,t,this.constructor.DefaultType),t.sanitize&&(t.template=Se(t.template,t.whiteList,t.sanitizeFn)),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=g(this.getTipElement()),e=t.attr("class").match(Ne);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")&&(g(t).removeClass(xe),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=g(this).data(Ie),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),g(this).data(Ie,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method n
8585amed "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Le}},{key:"NAME",get:function(){return be}},{key:"DATA_KEY",get:function(){return Ie}},{key:"Event",get:function(){return Re}},{key:"EVENT_KEY",get:function(){return De}},{key:"DefaultType",get:function(){return ke}}]),i}();g.fn[be]=Be._jQueryInterface,g.fn[be].Constructor=Be,g.fn[be].noConflict=function(){return g.fn[be]=we,Be._jQueryInterface};var Ve="popover",Ye="bs.popover",ze="."+Ye,Xe=g.fn[Ve],$e="bs-popover",Ge=new RegExp("(^|\\s)"+$e+"\\S+","g"),Je=l({},Be.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ze=l({},Be.DefaultType,{content:"(string|element|function)"}),tn="fade",en="show",nn=".popover-header",on=".popover-body",rn={HIDE:"hide"+ze,HIDDEN:"hidden"+ze,SHOW:"show"+ze,SHOWN:"shown"+ze,INSERTED:"inserted"+ze,CLICK:"click"+ze,FOCUSIN:"focusin"+ze,FOCUSOUT:"focusout"+ze,MOUSEENTER:"mouseenter"+ze,MOUSELEAVE:"mouseleave"+ze},sn=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){g(this.getTipElement()).addClass($e+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},o.setContent=function(){var t=g(this.getTipElement());this.setElementContent(t.find(nn),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(on),e),t.removeClass(tn+" "+en)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=g(this.getTipElement()),e=t.attr("class").match(Ge);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=g(this).data(Ye),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),g(this).data(Ye,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Je}},{key:"NAME",get:function(){return Ve}},{key:"DATA_KEY",get:function(){return Ye}},{key:"Event",get:function(){return rn}},{key:"EVENT_KEY",get:function(){return ze}},{key:"DefaultType",get:function(){return Ze}}]),i}(Be);g.fn[Ve]=sn._jQueryInterface,g.fn[Ve].Constructor=sn,g.fn[Ve].noConflict=function(){return g.fn[Ve]=Xe,sn._jQueryInterface};var an="scrollspy",ln="bs.scrollspy",cn="."+ln,hn=g.fn[an],un={offset:10,method:"auto",target:""},fn={offset:"number",method:"string",target:"(string|element)"},dn={ACTIVATE:"activate"+cn,SCROLL:"scroll"+cn,LOAD_DATA_API:"load"+cn+".data-api"},gn="dropdown-item",_n="active",mn='[data-spy="scroll"]',pn=".nav, .list-group",vn=".nav-link",yn=".nav-item",En=".list-group-item",Cn=".dropdown",Tn=".dropdown-item",Sn=".dropdown-toggle",bn="offset",In="position",Dn=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+vn+","+this._config.target+" "+En+","+this._config.target+" "+Tn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,g(this._scrollElement).on(dn.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?bn:In,o="auto"===this._config.method?t:this._config.method,r=o===In?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=_.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[g(e)[o]().top+r,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}
8585).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){g.removeData(this._element,ln),g(this._scrollElement).off(cn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=l({},un,"object"==typeof t&&t?t:{})).target){var e=g(t.target).attr("id");e||(e=_.getUID(an),g(t.target).attr("id",e)),t.target="#"+e}return _.typeCheckConfig(an,t,fn),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=g([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(gn)?(n.closest(Cn).find(Sn).addClass(_n),n.addClass(_n)):(n.addClass(_n),n.parents(pn).prev(vn+", "+En).addClass(_n),n.parents(pn).prev(yn).children(vn).addClass(_n)),g(this._scrollElement).trigger(dn.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(_n)}).forEach(function(t){return t.classList.remove(_n)})},n._jQueryInterface=function(e){return this.each(function(){var t=g(this).data(ln);if(t||(t=new n(this,"object"==typeof e&&e),g(this).data(ln,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return un}}]),n}();g(window).on(dn.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(mn)),e=t.length;e--;){var n=g(t[e]);Dn._jQueryInterface.call(n,n.data())}}),g.fn[an]=Dn._jQueryInterface,g.fn[an].Constructor=Dn,g.fn[an].noConflict=function(){return g.fn[an]=hn,Dn._jQueryInterface};var wn="bs.tab",An="."+wn,Nn=g.fn.tab,On={HIDE:"hide"+An,HIDDEN:"hidden"+An,SHOW:"show"+An,SHOWN:"shown"+An,CLICK_DATA_API:"click"+An+".data-api"},kn="dropdown-menu",Pn="active",Ln="disabled",jn="fade",Hn="show",Rn=".dropdown",xn=".nav, .list-group",Fn=".active",Un="> li > .active",Wn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',qn=".dropdown-toggle",Mn="> .dropdown-menu .active",Kn=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&g(this._element).hasClass(Pn)||g(this._element).hasClass(Ln))){var t,i,e=g(this._element).closest(xn)[0],o=_.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?Un:Fn;i=(i=g.makeArray(g(e).find(r)))[i.length-1]}var s=g.Event(On.HIDE,{relatedTarget:this._element}),a=g.Event(On.SHOW,{relatedTarget:i});if(i&&g(i).trigger(s),g(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=g.Event(On.HIDDEN,{relatedTarget:n._element}),e=g.Event(On.SHOWN,{relatedTarget:i});g(i).trigger(t),g(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){g.removeData(this._element,wn),this._element=null},t._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?g(e).children(Fn):g(e).find(Un))[0],r=n&&o&&g(o).hasClass(jn),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=_.getTransitionDurationFromElement(o);g(o).removeClass(Hn).one(_.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},t._transitionComplete=function(t,e,n){if(e){g(e).removeClass(Pn);var i=g(e.parentNode).find(Mn)[0];i&&g(i).removeClass(Pn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(g(t).addClass(Pn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),_.reflow(t),t.classList.contains(jn)&&t.classList.add(Hn),t.parentNode&&g(t.parentNode).hasClass(kn)){var o=g(t).closest(Rn)[0];if(o){var r=[].slice.call(o.querySelectorAll(qn));g(r).addClass(Pn)}t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(wn);if(e||(e=new i(this),t.data(wn,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method n
vendor: 4,468 bytes, lines 8585-8588
8585amed "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();g(document).on(On.CLICK_DATA_API,Wn,function(t){t.preventDefault(),Kn._jQueryInterface.call(g(this),"show")}),g.fn.tab=Kn._jQueryInterface,g.fn.tab.Constructor=Kn,g.fn.tab.noConflict=function(){return g.fn.tab=Nn,Kn._jQueryInterface};var Qn="toast",Bn="bs.toast",Vn="."+Bn,Yn=g.fn[Qn],zn={CLICK_DISMISS:"click.dismiss"+Vn,HIDE:"hide"+Vn,HIDDEN:"hidden"+Vn,SHOW:"show"+Vn,SHOWN:"shown"+Vn},Xn="fade",$n="hide",Gn="show",Jn="showing",Zn={animation:"boolean",autohide:"boolean",delay:"number"},ti={animation:!0,autohide:!0,delay:500},ei='[data-dismiss="toast"]',ni=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=i.prototype;return t.show=function(){var t=this;g(this._element).trigger(zn.SHOW),this._config.animation&&this._element.classList.add(Xn);var e=function(){t._element.classList.remove(Jn),t._element.classList.add(Gn),g(t._element).trigger(zn.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove($n),this._element.classList.add(Jn),this._config.animation){var n=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},t.hide=function(t){var e=this;this._element.classList.contains(Gn)&&(g(this._element).trigger(zn.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Gn)&&this._element.classList.remove(Gn),g(this._element).off(zn.CLICK_DISMISS),g.removeData(this._element,Bn),this._element=null,this._config=null},t._getConfig=function(t){return t=l({},ti,g(this._element).data(),"object"==typeof t&&t?t:{}),_.typeCheckConfig(Qn,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;g(this._element).on(zn.CLICK_DISMISS,ei,function(){return t.hide(!0)})},t._close=function(){var t=this,e=function(){t._element.classList.add($n),g(t._element).trigger(zn.HIDDEN)};if(this._element.classList.remove(Gn),this._config.animation){var n=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},i._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(Bn);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Bn,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Zn}},{key:"Default",get:function(){return ti}}]),i}();g.fn[Qn]=ni._jQueryInterface,g.fn[Qn].Constructor=ni,g.fn[Qn].noConflict=function(){return g.fn[Qn]=Yn,ni._jQueryInterface},function(){if("undefined"==typeof g)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=g.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=_,t.Alert=p,t.Button=P,t.Carousel=lt,t.Collapse=bt,t.Dropdown=Jt,t.Modal=ve,t.Popover=sn,t.Scrollspy=Dn,t.Tab=Kn,t.Toast=ni,t.Tooltip=Be,Object.defineProperty(t,"__esModule",{value:!0})}); 8586//# sourceMappingURL=bootstrap.min.js.map; 8587/*! npm.im/object-fit-images 3.2.4 */ 8588var objectFitImages=function(){"use strict";function t(t,e){return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+t+"' height='"+e+"'%3E%3C/svg%3E"}function e(t){if(t.srcset&&!p&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}function i(t){for(var e,i=getComputedStyle(t).fontFamily,r={};null!==(e=u.exec(i));)r[e[1]]=e[2];return r}function r(e,i,r){var n=t(i||1,r||0);b.call(e,"src")!==n&&h.call(e,"src",n)}function n(t,e){t.naturalWidth?e(t):setTimeout(n,100,t,e)}function c(t){var c=i(t),o=t[l];if(c["object-fit"]=c["object-fit"]||"fill",!o.img){if("fill"===c["object-fit"])return;if(!o.skipTest&&f&&!c["object-position"])return}if(!o.img){o.img=new Image(t.width,t.height),o.img.srcset=b.call(t,"data-ofi-srcset")||t.srcset,o.img.src=b.call(t,"data-ofi-src")||t.src,h.call(t,"data-ofi-src",t.src),t.srcset&&h.call(t,"data-ofi-srcset",t.srcset),r(t,t.naturalWi
8588dth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{s(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}e(o.img),t.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=c["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(c["object-fit"])?n(o.img,function(){o.img.naturalWidth>t.width||o.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"}):t.style.backgroundSize=c["object-fit"].replace("none","auto").replace("fill","100% 100%"),n(o.img,function(e){r(t,e.naturalWidth,e.naturalHeight)})}function s(t){var e={get:function(e){return t[l].img[e?e:"src"]},set:function(e,i){return t[l].img[i?i:"src"]=e,h.call(t,"data-ofi-"+i,e),c(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}function o(){function t(t,e){return t[l]&&t[l].img&&("src"===e||"srcset"===e)?t[l].img:t}d||(HTMLImageElement.prototype.getAttribute=function(e){return b.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,i){return h.call(t(this,e),e,String(i))})}function a(t,e){var i=!y&&!t;if(e=e||{},t=t||"img",d&&!e.skipTest||!m)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var r=0;r<t.length;r++)t[r][l]=t[r][l]||{skipTest:e.skipTest},c(t[r]);i&&(document.body.addEventListener("load",function(t){"IMG"===t.target.tagName&&a(t.target,{skipTest:e.skipTest})},!0),y=!0,t="img"),e.watchMQ&&window.addEventListener("resize",a.bind(null,t,{skipTest:e.skipTest}))}var l="bfred-it:object-fit-images",u=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,g="undefined"==typeof Image?{style:{"object-position":1}}:new Image,f="object-fit"in g.style,d="object-position"in g.style,m="background-size"in g.style,p="string"==typeof g.currentSrc,b=g.getAttribute,h=g.setAttribute,y=!1;return a.supportsObjectFit=f,a.supportsObjectPosition=d,o(),a}(); 8589; 8590var tns = (function (){ 8591// Object.keys 8592if (!Object.keys) { 8593Object.keys = function(object) { 8594var keys = []; 8595for (var name in object) { 8596if (Object.prototype.hasOwnProperty.call(object, name)) { 8597keys.push(name); 8598} 8599} 8600return keys; 8601}; 8602} 8603// ChildNode.remove 8604if(!("remove" in Element.prototype)){ 8605Element.prototype.remove = function(){ 8606if(this.parentNode) { 8607this.parentNode.removeChild(this); 8608} 8609}; 8610} 8611var win = window; 8612var raf = win.requestAnimationFrame 8613|| win.webkitRequestAnimationFrame 8614|| win.mozRequestAnimationFrame 8615|| win.msRequestAnimationFrame 8616|| function(cb) { return setTimeout(cb, 16); }; 8617var win$1 = window; 8618var caf = win$1.cancelAnimationFrame 8619|| win$1.mozCancelAnimationFrame 8620|| function(id){ clearTimeout(id); }; 8621function extend() { 8622var obj, name, copy, 8623target = arguments[0] || {}, 8624i = 1, 8625length = arguments.length; 8626for (; i < length; i++) { 8627if ((obj = arguments[i]) !== null) { 8628for (name in obj) { 8629copy = obj[name]; 8630if (target === copy) { 8631continue; 8632} else if (copy !== undefined) { 8633target[name] = copy; 8634} 8635} 8636} 8637} 8638return target; 8639} 8640function checkStorageValue (value) { 8641return ['true', 'false'].indexOf(value) >= 0 ? JSON.parse(value) : value; 8642} 8643function setLocalStorage(storage, key, value, access) { 8644if (access) { 8645try { storage.setItem(key, value); } catch (e) {} 8646} 8647return value; 8648} 8649function getSlideId() { 8650var id = window.tnsId; 8651window.tnsId = !id ? 1 : id + 1; 8652return 'tns' + window.tnsId; 8653} 8654function getBody () { 8655var doc = document, 8656body = doc.body; 8657if (!body) { 8658body = doc.createElement('body'); 8659body.fake = true; 8660} 8661return body; 8662} 8663var docElement = document.documentElement; 8664function setFakeBody (body) { 8665var docOverflow = ''; 8666if (body.fake) { 8667docOverflow = docElement.style.overflow; 8668//avoid crashing IE8, if background image is used 8669body.style.background = ''; 8670//Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible 8671body.style.overflow = docElement.style.overflow = 'hidden'; 8672docElement.appendChild(body); 8673} 8674return docOverflow; 8675} 8676function resetFakeBody (body, docOverflow) { 8677if (body.fake) { 8678body.remove(); 8679docElement.style.overflow = docOverflow; 8680// Trigger layout so kinetic scrolling isn't disabled in iOS6+ 8681// eslint-disable-next-line 8682docElement.offsetHeight; 8683} 8684} 8685// get css-calc 8686function calc() { 8687var doc = document, 8688body = getBody(), 8689docOverflow = setFakeBody(body), 8690div = doc.createElement('div'), 8691result = false;
vendor: 9,072 bytes, lines 8692-9008
8692body.appendChild(div); 8693try { 8694var str = '(10px * 10)', 8695vals = ['calc' + str, '-moz-calc' + str, '-webkit-calc' + str], 8696val; 8697for (var i = 0; i < 3; i++) { 8698val = vals[i]; 8699div.style.width = val; 8700if (div.offsetWidth === 100) { 8701result = val.replace(str, ''); 8702break; 8703} 8704} 8705} catch (e) {} 8706body.fake ? resetFakeBody(body, docOverflow) : div.remove(); 8707return result; 8708} 8709// get subpixel support value 8710function percentageLayout() { 8711// check subpixel layout supporting 8712var doc = document, 8713body = getBody(), 8714docOverflow = setFakeBody(body), 8715wrapper = doc.createElement('div'), 8716outer = doc.createElement('div'), 8717str = '', 8718count = 70, 8719perPage = 3, 8720supported = false; 8721wrapper.className = "tns-t-subp2"; 8722outer.className = "tns-t-ct"; 8723for (var i = 0; i < count; i++) { 8724str += '<div></div>'; 8725} 8726outer.innerHTML = str; 8727wrapper.appendChild(outer); 8728body.appendChild(wrapper); 8729supported = Math.abs(wrapper.getBoundingClientRect().left - outer.children[count - perPage].getBoundingClientRect().left) < 2; 8730body.fake ? resetFakeBody(body, docOverflow) : wrapper.remove(); 8731return supported; 8732} 8733function mediaquerySupport () { 8734var doc = document, 8735body = getBody(), 8736docOverflow = setFakeBody(body), 8737div = doc.createElement('div'), 8738style = doc.createElement('style'), 8739rule = '@media all and (min-width:1px){.tns-mq-test{position:absolute}}', 8740position; 8741style.type = 'text/css'; 8742div.className = 'tns-mq-test'; 8743body.appendChild(style); 8744body.appendChild(div); 8745if (style.styleSheet) { 8746style.styleSheet.cssText = rule; 8747} else { 8748style.appendChild(doc.createTextNode(rule)); 8749} 8750position = window.getComputedStyle ? window.getComputedStyle(div).position : div.currentStyle['position']; 8751body.fake ? resetFakeBody(body, docOverflow) : div.remove(); 8752return position === "absolute"; 8753} 8754// create and append style sheet 8755function createStyleSheet (media) { 8756// Create the <style> tag 8757var style = document.createElement("style"); 8758// style.setAttribute("type", "text/css"); 8759// Add a media (and/or media query) here if you'd like! 8760// style.setAttribute("media", "screen") 8761// style.setAttribute("media", "only screen and (max-width : 1024px)") 8762if (media) { style.setAttribute("media", media); } 8763// WebKit hack :( 8764// style.appendChild(document.createTextNode("")); 8765// Add the <style> element to the page 8766document.querySelector('head').appendChild(style); 8767return style.sheet ? style.sheet : style.styleSheet; 8768} 8769// cross browsers addRule method 8770function addCSSRule(sheet, selector, rules, index) { 8771// return raf(function() { 8772'insertRule' in sheet ? 8773sheet.insertRule(selector + '{' + rules + '}', index) : 8774sheet.addRule(selector, rules, index); 8775// }); 8776} 8777// cross browsers addRule method 8778function removeCSSRule(sheet, index) { 8779// return raf(function() { 8780'deleteRule' in sheet ? 8781sheet.deleteRule(index) : 8782sheet.removeRule(index); 8783// }); 8784} 8785function getCssRulesLength(sheet) { 8786var rule = ('insertRule' in sheet) ? sheet.cssRules : sheet.rules; 8787return rule.length; 8788} 8789function toDegree (y, x) { 8790return Math.atan2(y, x) * (180 / Math.PI); 8791} 8792function getTouchDirection(angle, range) { 8793var direction = false, 8794gap = Math.abs(90 - Math.abs(angle)); 8795if (gap >= 90 - range) { 8796direction = 'horizontal'; 8797} else if (gap <= range) { 8798direction = 'vertical'; 8799} 8800return direction; 8801} 8802// https://toddmotto.com/ditch-the-array-foreach-call-nodelist-hack/ 8803function forEach (arr, callback, scope) { 8804for (var i = 0, l = arr.length; i < l; i++) { 8805callback.call(scope, arr[i], i); 8806} 8807} 8808var classListSupport = 'classList' in document.createElement('_'); 8809var hasClass = classListSupport ? 8810function (el, str) { return el.classList.contains(str); } : 8811function (el, str) { return el.className.indexOf(str) >= 0; }; 8812var addClass = classListSupport ? 8813function (el, str) { 8814if (!hasClass(el, str)) { el.classList.add(str); } 8815} : 8816function (el, str) { 8817if (!hasClass(el, str)) { el.className += ' ' + str; } 8818}; 8819var removeClass = classListSupport ? 8820function (el, str) { 8821if (hasClass(el, str)) { el.classList.remove(str); } 8822} : 8823function (el, str) { 8824if (hasClass(el, str)) { el.className = el.className.replace(str, ''); } 8825}; 8826function hasAttr(el, attr) { 8827return el.hasAttribute(attr); 8828} 8829function getAttr(el, attr) { 8830return el.getAttribute(attr); 8831} 8832function isNodeList(el) { 8833// Only NodeList has the "item()" function 8834return typeof el.item !== "undefined"; 8835} 8836function setAttrs(els, attrs) { 8837els = (isNodeList(els) || els instanceof Array) ? els : [els]; 8838if (Object.prototype.toString.call(attrs) !== '[object Object]') { return; } 8839for (var i = els.length; i--;) { 8840for(var key in attrs) { 8841els[i].setAttribute(key, attrs[key]); 8842} 8843} 8844} 8845function removeAttrs(els, attrs) { 8846els = (isNodeList(els) || els instanceof Array) ? els : [els]; 8847attrs = (attrs instanceof Array) ? attrs : [attrs]; 8848var attrLength = attrs.length; 8849for (var i = els.length; i--;) { 8850for (var j = attrLength; j--;) { 8851els[i].removeAttribute(attrs[j]); 8852} 8853} 8854} 8855function arrayFromNodeList (nl) { 8856var arr = []; 8857for (var i = 0, l = nl.length; i < l; i++) { 8858arr.push(nl[i]); 8859} 8860return arr; 8861} 8862function hideElement(el, forceHide) { 8863if (el.style.display !== 'none') { el.style.display = 'none'; } 8864} 8865function showElement(el, forceHide) { 8866if (el.style.display === 'none') { el.style.display = ''; } 8867} 8868function isVisible(el) { 8869return window.getComputedStyle(el).display !== 'none'; 8870} 8871function whichProperty(props){ 8872if (typeof props === 'string') { 8873var arr = [props], 8874Props = props.charAt(0).toUpperCase() + props.substr(1), 8875prefixes = ['Webkit', 'Moz', 'ms', 'O']; 8876prefixes.forEach(function(prefix) { 8877if (prefix !== 'ms' || props === 'transform') { 8878arr.push(prefix + Props); 8879} 8880}); 8881props = arr; 8882} 8883var el = document.createElement('fakeelement'), 8884len = props.length; 8885for(var i = 0; i < props.length; i++){ 8886var prop = props[i]; 8887if( el.style[prop] !== undefined ){ return prop; } 8888} 8889return false; // explicit for ie9- 8890} 8891function has3DTransforms(tf){ 8892if (!tf) { return false; } 8893if (!window.getComputedStyle) { return false; } 8894var doc = document, 8895body = getBody(), 8896docOverflow = setFakeBody(body), 8897el = doc.createElement('p'), 8898has3d, 8899cssTF = tf.length > 9 ? '-' + tf.slice(0, -9).toLowerCase() + '-' : ''; 8900cssTF += 'transform'; 8901// Add it to the body to get the computed style 8902body.insertBefore(el, null); 8903el.style[tf] = 'translate3d(1px,1px,1px)'; 8904has3d = window.getComputedStyle(el).getPropertyValue(cssTF); 8905body.fake ? resetFakeBody(body, docOverflow) : el.remove(); 8906return (has3d !== undefined && has3d.length > 0 && has3d !== "none"); 8907} 8908// get transitionend, animationend based on transitionDuration 8909// @propin: string 8910// @propOut: string, first-letter uppercase 8911// Usage: getEndProperty('WebkitTransitionDuration', 'Transition') => webkitTransitionEnd 8912function getEndProperty(propIn, propOut) { 8913var endProp = false; 8914if (/^Webkit/.test(propIn)) { 8915endProp = 'webkit' + propOut + 'End'; 8916} else if (/^O/.test(propIn)) { 8917endProp = 'o' + propOut + 'End'; 8918} else if (propIn) { 8919endProp = propOut.toLowerCase() + 'end'; 8920} 8921return endProp; 8922} 8923// Test via a getter in the options object to see if the passive property is accessed 8924var supportsPassive = false; 8925try { 8926var opts = Object.defineProperty({}, 'passive', { 8927get: function() { 8928supportsPassive = true; 8929} 8930}); 8931window.addEventListener("test", null, opts); 8932} catch (e) {} 8933var passiveOption = supportsPassive ? { passive: true } : false; 8934function addEvents(el, obj, preventScrolling) { 8935for (var prop in obj) { 8936var option = ['touchstart', 'touchmove'].indexOf(prop) >= 0 && !preventScrolling ? passiveOption : false; 8937el.addEventListener(prop, obj[prop], option); 8938} 8939} 8940function removeEvents(el, obj) { 8941for (var prop in obj) { 8942var option = ['touchstart', 'touchmove'].indexOf(prop) >= 0 ? passiveOption : false; 8943el.removeEventListener(prop, obj[prop], option); 8944} 8945} 8946function Events() { 8947return { 8948topics: {}, 8949on: function (eventName, fn) { 8950this.topics[eventName] = this.topics[eventName] || []; 8951this.topics[eventName].push(fn); 8952}, 8953off: function(eventName, fn) { 8954if (this.topics[eventName]) { 8955for (var i = 0; i < this.topics[eventName].length; i++) { 8956if (this.topics[eventName][i] === fn) { 8957this.topics[eventName].splice(i, 1); 8958break; 8959} 8960} 8961} 8962}, 8963emit: function (eventName, data) { 8964data.type = eventName; 8965if (this.topics[eventName]) { 8966this.topics[eventName].forEach(function(fn) { 8967fn(data, eventName); 8968}); 8969} 8970} 8971}; 8972} 8973function jsTransform(element, attr, prefix, postfix, to, duration, callback) { 8974var tick = Math.min(duration, 10), 8975unit = (to.indexOf('%') >= 0) ? '%' : 'px', 8976to = to.replace(unit, ''), 8977from = Number(element.style[attr].replace(prefix, '').replace(postfix, '').replace(unit, '')), 8978positionTick = (to - from) / duration * tick, 8979running; 8980setTimeout(moveElement, tick); 8981function moveElement() { 8982duration -= tick; 8983from += positionTick; 8984element.style[attr] = prefix + from + unit + postfix; 8985if (duration > 0) { 8986setTimeout(moveElement, tick); 8987} else { 8988callback(); 8989} 8990} 8991} 8992var tns = function(options) { 8993options = extend({ 8994container: '.slider', 8995mode: 'carousel', 8996axis: 'horizontal', 8997items: 1, 8998gutter: 0, 8999edgePadding: 0, 9000fixedWidth: false, 9001autoWidth: false, 9002viewportMax: false, 9003slideBy: 1, 9004center: false, 9005controls: true, 9006controlsPosition: 'top', 9007controlsText: ['prev', 'next'], 9008controlsContainer: false,
9009prevButton: false, 9010nextButton: false, 9011nav: true, 9012navPosition: 'top', 9013navContainer: false, 9014navAsThumbnails: false, 9015arrowKeys: false, 9016speed: 300, 9017autoplay: false, 9018autoplayPosition: 'top', 9019autoplayTimeout: 5000, 9020autoplayDirection: 'forward', 9021autoplayText: ['start', 'stop'], 9022autoplayHoverPause: false, 9023autoplayButton: false, 9024autoplayButtonOutput: true, 9025autoplayResetOnVisibility: true, 9026animateIn: 'tns-fadeIn', 9027animateOut: 'tns-fadeOut', 9028animateNormal: 'tns-normal', 9029animateDelay: false, 9030loop: true, 9031rewind: false, 9032autoHeight: false, 9033responsive: false, 9034lazyload: false, 9035lazyloadSelector: '.tns-lazy-img', 9036touch: true, 9037mouseDrag: false, 9038swipeAngle: 15, 9039nested: false, 9040preventActionWhenRunning: false, 9041preventScrollOnTouch: false, 9042freezable: true, 9043onInit: false, 9044useLocalStorage: true 9045}, options || {}); 9046function updateArrowStyles() { 9047document.querySelectorAll('.arrow').forEach(button => { 9048if (button.hasAttribute('disabled')) { 9049button.style.pointerEvents = 'none'; 9050button.style.cursor = 'not-allowed'; 9051} else { 9052button.style.pointerEvents = 'auto'; 9053button.style.cursor = 'pointer'; 9054} 9055}); 9056} 9057// Observer pour surveiller les changements d'attributs sur les flèches 9058const observer = new MutationObserver(updateArrowStyles); 9059document.querySelectorAll('.arrow').forEach(button => { 9060observer.observe(button, { attributes: true, attributeFilter: ['disabled'] }); 9061}); 9062// Appel initial pour s'assurer que le style est appliqué au chargement 9063updateArrowStyles(); 9064var doc = document, 9065win = window, 9066KEYS = { 9067ENTER: 13, 9068SPACE: 32, 9069LEFT: 37, 9070RIGHT: 39 9071}, 9072tnsStorage = {}, 9073localStorageAccess = options.useLocalStorage; 9074if (localStorageAccess) { 9075// check browser version and local storage access 9076var browserInfo = navigator.userAgent; 9077var uid = new Date; 9078try { 9079tnsStorage = win.localStorage; 9080if (tnsStorage) { 9081tnsStorage.setItem(uid, uid); 9082localStorageAccess = tnsStorage.getItem(uid) == uid; 9083tnsStorage.removeItem(uid); 9084} else { 9085localStorageAccess = false; 9086} 9087if (!localStorageAccess) { tnsStorage = {}; } 9088} catch(e) { 9089localStorageAccess = false; 9090} 9091if (localStorageAccess) { 9092// remove storage when browser version changes 9093if (tnsStorage['tnsApp'] && tnsStorage['tnsApp'] !== browserInfo) { 9094['tC', 'tPL', 'tMQ', 'tTf', 't3D', 'tTDu', 'tTDe', 'tADu', 'tADe', 'tTE', 'tAE'].forEach(function(item) { tnsStorage.removeItem(item); }); 9095} 9096// update browserInfo 9097localStorage['tnsApp'] = browserInfo; 9098} 9099} 9100var CALC = tnsStorage['tC'] ? checkStorageValue(tnsStorage['tC']) : setLocalStorage(tnsStorage, 'tC', calc(), localStorageAccess), 9101PERCENTAGELAYOUT = tnsStorage['tPL'] ? checkStorageValue(tnsStorage['tPL']) : setLocalStorage(tnsStorage, 'tPL', percentageLayout(), localStorageAccess), 9102CSSMQ = tnsStorage['tMQ'] ? checkStorageValue(tnsStorage['tMQ']) : setLocalStorage(tnsStorage, 'tMQ', mediaquerySupport(), localStorageAccess), 9103TRANSFORM = tnsStorage['tTf'] ? checkStorageValue(tnsStorage['tTf']) : setLocalStorage(tnsStorage, 'tTf', whichProperty('transform'), localStorageAccess), 9104HAS3DTRANSFORMS = tnsStorage['t3D'] ? checkStorageValue(tnsStorage['t3D']) : setLocalStorage(tnsStorage, 't3D', has3DTransforms(TRANSFORM), localStorageAccess), 9105TRANSITIONDURATION = tnsStorage['tTDu'] ? checkStorageValue(tnsStorage['tTDu']) : setLocalStorage(tnsStorage, 'tTDu', whichProperty('transitionDuration'), localStorageAccess), 9106TRANSITIONDELAY = tnsStorage['tTDe'] ? checkStorageValue(tnsStorage['tTDe']) : setLocalStorage(tnsStorage, 'tTDe', whichProperty('transitionDelay'), localStorageAccess), 9107ANIMATIONDURATION = tnsStorage['tADu'] ? checkStorageValue(tnsStorage['tADu']) : setLocalStorage(tnsStorage, 'tADu', whichProperty('animationDuration'), localStorageAccess), 9108ANIMATIONDELAY = tnsStorage['tADe'] ? checkStorageValue(tnsStorage['tADe']) : setLocalStorage(tnsStorage, 'tADe', whichProperty('animationDelay'), localStorageAccess), 9109TRANSITIONEND = tnsStorage['tTE'] ? checkStorageValue(tnsStorage['tTE']) : setLocalStorage(tnsStorage, 'tTE', getEndProperty(TRANSITIONDURATION, 'Transition'), localStorageAccess), 9110ANIMATIONEND = tnsStorage['tAE'] ? checkStorageValue(tnsStorage['tAE']) : setLocalStorage(tnsStorage, 'tAE', getEndProperty(ANIMATIONDURATION, 'Animation'), localStorageAccess); 9111// get element nodes from selectors 9112var supportConsoleWarn = win.console && typeof win.console.warn === "function", 9113tnsList = ['container', 'controlsContainer', 'prevButton', 'nextButton', 'navContainer', 'autoplayButton'], 9114optionsElements = {}; 9115tnsList.forEach(function(item) { 9116if (typeof options[item] === 'string') { 9117var str = options[item], 9118el = doc.querySelector(str); 9119optionsElements[item] = str; 9120if (el && el.nodeName) { 9121options[item] = el; 9122} else { 9123if (supportConsoleWarn) { console.warn('Can\'t find', options[item]); } 9124return; 9125} 9126} 9127}); 9128// make sure at least 1 slide 9129if (options.container.children.length < 1) { 9130if (supportConsoleWarn) { console.warn('No slides found in', options.container); } 9131return; 9132} 9133// update options 9134var responsive = options.responsive, 9135nested = options.nested, 9136carousel = options.mode === 'carousel' ? true : false;
vendor: 13,705 bytes, lines 9137-9572
9137if (responsive) { 9138// apply responsive[0] to options and remove it 9139if (0 in responsive) { 9140options = extend(options, responsive[0]); 9141delete responsive[0]; 9142} 9143var responsiveTem = {}; 9144for (var key in responsive) { 9145var val = responsive[key]; 9146// update responsive 9147// from: 300: 2 9148// to: 9149// 300: { 9150// items: 2 9151// } 9152val = typeof val === 'number' ? {items: val} : val; 9153responsiveTem[key] = val; 9154} 9155responsive = responsiveTem; 9156responsiveTem = null; 9157} 9158// update options 9159function updateOptions (obj) { 9160for (var key in obj) { 9161if (!carousel) { 9162if (key === 'slideBy') { obj[key] = 'page'; } 9163if (key === 'edgePadding') { obj[key] = false; } 9164if (key === 'autoHeight') { obj[key] = false; } 9165} 9166// update responsive options 9167if (key === 'responsive') { updateOptions(obj[key]); } 9168} 9169} 9170if (!carousel) { updateOptions(options); } 9171// === define and set variables === 9172if (!carousel) { 9173options.axis = 'horizontal'; 9174options.slideBy = 'page'; 9175options.edgePadding = false; 9176var animateIn = options.animateIn, 9177animateOut = options.animateOut, 9178animateDelay = options.animateDelay, 9179animateNormal = options.animateNormal; 9180} 9181var horizontal = options.axis === 'horizontal' ? true : false, 9182outerWrapper = doc.createElement('div'), 9183innerWrapper = doc.createElement('div'), 9184middleWrapper, 9185container = options.container, 9186containerParent = container.parentNode, 9187containerHTML = container.outerHTML, 9188slideItems = container.children, 9189slideCount = slideItems.length, 9190breakpointZone, 9191windowWidth = getWindowWidth(), 9192isOn = false; 9193if (responsive) { setBreakpointZone(); } 9194if (carousel) { container.className += ' tns-vpfix'; } 9195// fixedWidth: viewport > rightBoundary > indexMax 9196var autoWidth = options.autoWidth, 9197fixedWidth = getOption('fixedWidth'), 9198edgePadding = getOption('edgePadding'), 9199gutter = getOption('gutter'), 9200viewport = getViewportWidth(), 9201center = getOption('center'), 9202items = !autoWidth ? Math.floor(getOption('items')) : 1, 9203slideBy = getOption('slideBy'), 9204viewportMax = options.viewportMax || options.fixedWidthViewportWidth, 9205arrowKeys = getOption('arrowKeys'), 9206speed = getOption('speed'), 9207rewind = options.rewind, 9208loop = rewind ? false : options.loop, 9209autoHeight = getOption('autoHeight'), 9210controls = getOption('controls'), 9211controlsText = getOption('controlsText'), 9212nav = getOption('nav'), 9213touch = getOption('touch'), 9214mouseDrag = getOption('mouseDrag'), 9215autoplay = getOption('autoplay'), 9216autoplayTimeout = getOption('autoplayTimeout'), 9217autoplayText = getOption('autoplayText'), 9218autoplayHoverPause = getOption('autoplayHoverPause'), 9219autoplayResetOnVisibility = getOption('autoplayResetOnVisibility'), 9220sheet = createStyleSheet(), 9221lazyload = options.lazyload, 9222lazyloadSelector = options.lazyloadSelector, 9223slidePositions, // collection of slide positions 9224slideItemsOut = [], 9225cloneCount = loop ? getCloneCountForLoop() : 0, 9226slideCountNew = !carousel ? slideCount + cloneCount : slideCount + cloneCount * 2, 9227hasRightDeadZone = (fixedWidth || autoWidth) && !loop ? true : false, 9228rightBoundary = fixedWidth ? getRightBoundary() : null, 9229updateIndexBeforeTransform = (!carousel || !loop) ? true : false, 9230// transform 9231transformAttr = horizontal ? 'left' : 'top', 9232transformPrefix = '', 9233transformPostfix = '', 9234// index 9235getIndexMax = (function () { 9236if (fixedWidth) { 9237return function() { return center && !loop ? slideCount - 1 : Math.ceil(- rightBoundary / (fixedWidth + gutter)); }; 9238} else if (autoWidth) { 9239return function() { 9240for (var i = slideCountNew; i--;) { 9241if (slidePositions[i] >= - rightBoundary) { return i; } 9242} 9243}; 9244} else { 9245return function() { 9246if (center && carousel && !loop) { 9247return slideCount - 1; 9248} else { 9249return loop || carousel ? Math.max(0, slideCountNew - Math.ceil(items)) : slideCountNew - 1; 9250} 9251}; 9252} 9253})(), 9254index = getStartIndex(getOption('startIndex')), 9255indexCached = index, 9256displayIndex = getCurrentSlide(), 9257indexMin = 0, 9258indexMax = !autoWidth ? getIndexMax() : null, 9259// resize 9260resizeTimer, 9261preventActionWhenRunning = options.preventActionWhenRunning, 9262swipeAngle = options.swipeAngle, 9263moveDirectionExpected = swipeAngle ? '?' : true, 9264running = false, 9265onInit = options.onInit, 9266events = new Events(), 9267// id, class 9268newContainerClasses = ' tns-slider tns-' + options.mode, 9269slideId = container.id || getSlideId(), 9270disable = getOption('disable'), 9271disabled = false, 9272freezable = options.freezable, 9273freeze = freezable && !autoWidth ? getFreeze() : false, 9274frozen = false, 9275controlsEvents = { 9276'click': onControlsClick, 9277'keydown': onControlsKeydown 9278}, 9279navEvents = { 9280'click': onNavClick, 9281'keydown': onNavKeydown 9282}, 9283hoverEvents = { 9284'mouseover': mouseoverPause, 9285'mouseout': mouseoutRestart 9286}, 9287visibilityEvent = {'visibilitychange': onVisibilityChange}, 9288docmentKeydownEvent = {'keydown': onDocumentKeydown}, 9289touchEvents = { 9290'touchstart': onPanStart, 9291'touchmove': onPanMove, 9292'touchend': onPanEnd, 9293'touchcancel': onPanEnd 9294}, dragEvents = { 9295'mousedown': onPanStart, 9296'mousemove': onPanMove, 9297'mouseup': onPanEnd, 9298'mouseleave': onPanEnd 9299}, 9300hasControls = hasOption('controls'), 9301hasNav = hasOption('nav'), 9302navAsThumbnails = autoWidth ? true : options.navAsThumbnails, 9303hasAutoplay = hasOption('autoplay'), 9304hasTouch = hasOption('touch'), 9305hasMouseDrag = hasOption('mouseDrag'), 9306slideActiveClass = 'tns-slide-active', 9307imgCompleteClass = 'tns-complete', 9308imgEvents = { 9309'load': onImgLoaded, 9310'error': onImgFailed 9311}, 9312imgsComplete, 9313liveregionCurrent, 9314preventScroll = options.preventScrollOnTouch === 'force' ? true : false; 9315// controls 9316if (hasControls) { 9317var controlsContainer = options.controlsContainer, 9318controlsContainerHTML = options.controlsContainer ? options.controlsContainer.outerHTML : '', 9319prevButton = options.prevButton, 9320nextButton = options.nextButton, 9321prevButtonHTML = options.prevButton ? options.prevButton.outerHTML : '', 9322nextButtonHTML = options.nextButton ? options.nextButton.outerHTML : '', 9323prevIsButton, 9324nextIsButton; 9325} 9326// nav 9327if (hasNav) { 9328var navContainer = options.navContainer, 9329navContainerHTML = options.navContainer ? options.navContainer.outerHTML : '', 9330navItems, 9331pages = autoWidth ? slideCount : getPages(), 9332pagesCached = 0, 9333navClicked = -1, 9334navCurrentIndex = getCurrentNavIndex(), 9335navCurrentIndexCached = navCurrentIndex, 9336navActiveClass = 'tns-nav-active', 9337navStr = 'Carousel Page ', 9338navStrCurrent = ' (Current Slide)'; 9339} 9340// autoplay 9341if (hasAutoplay) { 9342var autoplayDirection = options.autoplayDirection === 'forward' ? 1 : -1, 9343autoplayButton = options.autoplayButton, 9344autoplayButtonHTML = options.autoplayButton ? options.autoplayButton.outerHTML : '', 9345autoplayHtmlStrings = ['<span class=\'tns-visually-hidden\'>', ' l\'animation</span>'], 9346autoplayTimer, 9347animating, 9348autoplayHoverPaused, 9349autoplayUserPaused, 9350autoplayVisibilityPaused; 9351} 9352if (hasTouch || hasMouseDrag) { 9353var initPosition = {}, 9354lastPosition = {}, 9355translateInit, 9356disX, 9357disY, 9358panStart = false, 9359rafIndex, 9360getDist = horizontal ? 9361function(a, b) { return a.x - b.x; } : 9362function(a, b) { return a.y - b.y; }; 9363} 9364// disable slider when slidecount <= items 9365if (!autoWidth) { resetVariblesWhenDisable(disable || freeze); } 9366if (TRANSFORM) { 9367transformAttr = TRANSFORM; 9368transformPrefix = 'translate'; 9369if (HAS3DTRANSFORMS) { 9370transformPrefix += horizontal ? '3d(' : '3d(0px, '; 9371transformPostfix = horizontal ? ', 0px, 0px)' : ', 0px)'; 9372} else { 9373transformPrefix += horizontal ? 'X(' : 'Y('; 9374transformPostfix = ')'; 9375} 9376} 9377if (carousel) { container.className = container.className.replace('tns-vpfix', ''); } 9378initStructure(); 9379initSheet(); 9380initSliderTransform(); 9381// === COMMON FUNCTIONS === // 9382function resetVariblesWhenDisable (condition) { 9383if (condition) { 9384controls = nav = touch = mouseDrag = arrowKeys = autoplay = autoplayHoverPause = autoplayResetOnVisibility = false; 9385} 9386} 9387function getCurrentSlide () { 9388var tem = carousel ? index - cloneCount : index; 9389while (tem < 0) { tem += slideCount; } 9390return tem%slideCount + 1; 9391} 9392function getStartIndex (ind) { 9393ind = ind ? Math.max(0, Math.min(loop ? slideCount - 1 : slideCount - items, ind)) : 0; 9394return carousel ? ind + cloneCount : ind; 9395} 9396function getAbsIndex (i) { 9397if (i == null) { i = index; } 9398if (carousel) { i -= cloneCount; } 9399while (i < 0) { i += slideCount; } 9400return Math.floor(i%slideCount); 9401} 9402function getCurrentNavIndex () { 9403var absIndex = getAbsIndex(), 9404result; 9405result = navAsThumbnails ? absIndex : 9406fixedWidth || autoWidth ? Math.ceil((absIndex + 1) * pages / slideCount - 1) : 9407Math.floor(absIndex / items); 9408// set active nav to the last one when reaches the right edge 9409if (!loop && carousel && index === indexMax) { result = pages - 1; } 9410return result; 9411} 9412function getItemsMax () { 9413// fixedWidth or autoWidth while viewportMax is not available 9414if (autoWidth || (fixedWidth && !viewportMax)) { 9415return slideCount - 1; 9416// most cases 9417} else { 9418var str = fixedWidth ? 'fixedWidth' : 'items', 9419arr = []; 9420if (fixedWidth || options[str] < slideCount) { arr.push(options[str]); } 9421if (responsive) { 9422for (var bp in responsive) { 9423var tem = responsive[bp][str]; 9424if (tem && (fixedWidth || tem < slideCount)) { arr.push(tem); } 9425} 9426} 9427if (!arr.length) { arr.push(0); } 9428return Math.ceil(fixedWidth ? viewportMax / Math.min.apply(null, arr) : Math.max.apply(null, arr)); 9429} 9430} 9431function getCloneCountForLoop () { 9432var itemsMax = getItemsMax(), 9433result = carousel ? Math.ceil((itemsMax * 5 - slideCount)/2) : (itemsMax * 4 - slideCount); 9434result = Math.max(itemsMax, result); 9435return hasOption('edgePadding') ? result + 1 : result; 9436} 9437function getWindowWidth () { 9438return win.innerWidth || doc.documentElement.clientWidth || doc.body.clientWidth; 9439} 9440function getInsertPosition (pos) { 9441return pos === 'top' ? 'afterbegin' : 'beforeend'; 9442} 9443function getClientWidth (el) { 9444var div = doc.createElement('div'), rect, width; 9445el.appendChild(div); 9446rect = div.getBoundingClientRect(); 9447width = rect.right - rect.left; 9448div.remove(); 9449return width || getClientWidth(el.parentNode); 9450} 9451function getViewportWidth () { 9452var gap = edgePadding ? edgePadding * 2 - gutter : 0; 9453return getClientWidth(containerParent) - gap; 9454} 9455function hasOption (item) { 9456if (options[item]) { 9457return true; 9458} else { 9459if (responsive) { 9460for (var bp in responsive) { 9461if (responsive[bp][item]) { return true; } 9462} 9463} 9464return false; 9465} 9466} 9467// get option: 9468// fixed width: viewport, fixedWidth, gutter => items 9469// others: window width => all variables 9470// all: items => slideBy 9471function getOption (item, ww) { 9472if (ww == null) { ww = windowWidth; } 9473if (item === 'items' && fixedWidth) { 9474return Math.floor((viewport + gutter) / (fixedWidth + gutter)) || 1; 9475} else { 9476var result = options[item]; 9477if (responsive) { 9478for (var bp in responsive) { 9479// bp: convert string to number 9480if (ww >= parseInt(bp)) { 9481if (item in responsive[bp]) { result = responsive[bp][item]; } 9482} 9483} 9484} 9485if (item === 'slideBy' && result === 'page') { result = getOption('items'); } 9486if (!carousel && (item === 'slideBy' || item === 'items')) { result = Math.floor(result); } 9487return result; 9488} 9489} 9490function getSlideMarginLeft (i) { 9491return CALC ? 9492CALC + '(' + i * 100 + '% / ' + slideCountNew + ')' : 9493i * 100 / slideCountNew + '%'; 9494} 9495function getInnerWrapperStyles (edgePaddingTem, gutterTem, fixedWidthTem, speedTem, autoHeightBP) { 9496var str = ''; 9497if (edgePaddingTem !== undefined) { 9498var gap = edgePaddingTem; 9499if (gutterTem) { gap -= gutterTem; } 9500str = horizontal ? 9501'margin: 0 ' + gap + 'px 0 ' + edgePaddingTem + 'px;' : 9502'margin: ' + edgePaddingTem + 'px 0 ' + gap + 'px 0;'; 9503} else if (gutterTem && !fixedWidthTem) { 9504var gutterTemUnit = '-' + gutterTem + 'px', 9505dir = horizontal ? gutterTemUnit + ' 0 0' : '0 ' + gutterTemUnit + ' 0'; 9506str = 'margin: 0 ' + dir + ';'; 9507} 9508if (!carousel && autoHeightBP && TRANSITIONDURATION && speedTem) { str += getTransitionDurationStyle(speedTem); } 9509return str; 9510} 9511function getContainerWidth (fixedWidthTem, gutterTem, itemsTem) { 9512if (fixedWidthTem) { 9513return (fixedWidthTem + gutterTem) * slideCountNew + 'px'; 9514} else { 9515return CALC ? 9516CALC + '(' + slideCountNew * 100 + '% / ' + itemsTem + ')' : 9517slideCountNew * 100 / itemsTem + '%'; 9518} 9519} 9520function getSlideWidthStyle (fixedWidthTem, gutterTem, itemsTem) { 9521var width; 9522if (fixedWidthTem) { 9523width = (fixedWidthTem + gutterTem) + 'px'; 9524} else { 9525if (!carousel) { itemsTem = Math.floor(itemsTem); } 9526var dividend = carousel ? slideCountNew : itemsTem; 9527width = CALC ? 9528CALC + '(100% / ' + dividend + ')' : 9529100 / dividend + '%'; 9530} 9531width = 'width:' + width; 9532// inner slider: overwrite outer slider styles 9533return nested !== 'inner' ? width + ';' : width + ' !important;'; 9534} 9535function getSlideGutterStyle (gutterTem) { 9536var str = ''; 9537// gutter maybe interger || 0 9538// so can't use 'if (gutter)' 9539if (gutterTem !== false) { 9540var prop = horizontal ? 'padding-' : 'margin-', 9541dir = horizontal ? 'right' : 'bottom'; 9542str = prop + dir + ': ' + gutterTem + 'px;'; 9543} 9544return str; 9545} 9546function getCSSPrefix (name, num) { 9547var prefix = name.substring(0, name.length - num).toLowerCase(); 9548if (prefix) { prefix = '-' + prefix + '-'; } 9549return prefix; 9550} 9551function getTransitionDurationStyle (speed) { 9552return getCSSPrefix(TRANSITIONDURATION, 18) + 'transition-duration:' + speed / 1000 + 's;'; 9553} 9554function getAnimationDurationStyle (speed) { 9555return getCSSPrefix(ANIMATIONDURATION, 17) + 'animation-duration:' + speed / 1000 + 's;'; 9556} 9557function initStructure () { 9558var classOuter = 'tns-outer', 9559classInner = 'tns-inner', 9560hasGutter = hasOption('gutter'); 9561outerWrapper.className = classOuter; 9562innerWrapper.className = classInner; 9563outerWrapper.id = slideId + '-ow'; 9564innerWrapper.id = slideId + '-iw'; 9565// set container properties 9566if (container.id === '') { container.id = slideId; } 9567newContainerClasses += PERCENTAGELAYOUT || autoWidth ? ' tns-subpixel' : ' tns-no-subpixel'; 9568newContainerClasses += CALC ? ' tns-calc' : ' tns-no-calc'; 9569if (autoWidth) { newContainerClasses += ' tns-autowidth'; } 9570newContainerClasses += ' tns-' + options.axis; 9571container.className += newContainerClasses; 9572// add constrain layer for carousel
9573if (carousel) { 9574middleWrapper = doc.createElement('div'); 9575middleWrapper.id = slideId + '-mw'; 9576middleWrapper.className = 'tns-ovh'; 9577outerWrapper.appendChild(middleWrapper); 9578middleWrapper.appendChild(innerWrapper); 9579} else { 9580outerWrapper.appendChild(innerWrapper); 9581} 9582if (autoHeight) { 9583var wp = middleWrapper ? middleWrapper : innerWrapper; 9584wp.className += ' tns-ah'; 9585} 9586containerParent.insertBefore(outerWrapper, container); 9587innerWrapper.appendChild(container); 9588// add id, class, aria attributes 9589// before clone slides 9590forEach(slideItems, function(item, i) { 9591addClass(item, 'tns-item'); 9592if (!item.id) { item.id = slideId + '-item' + i; } 9593if (!carousel && animateNormal) { addClass(item, animateNormal); } 9594}); 9595// ## clone slides 9596// carousel: n + slides + n 9597// gallery: slides + n 9598if (cloneCount) { 9599var fragmentBefore = doc.createDocumentFragment(), 9600fragmentAfter = doc.createDocumentFragment(); 9601for (var j = cloneCount; j--;) { 9602var num = j%slideCount, 9603cloneFirst = slideItems[num].cloneNode(true); 9604removeAttrs(cloneFirst, 'id'); 9605fragmentAfter.insertBefore(cloneFirst, fragmentAfter.firstChild); 9606if (carousel) { 9607var cloneLast = slideItems[slideCount - 1 - num].cloneNode(true); 9608removeAttrs(cloneLast, 'id'); 9609fragmentBefore.appendChild(cloneLast); 9610} 9611} 9612container.insertBefore(fragmentBefore, container.firstChild); 9613container.appendChild(fragmentAfter); 9614slideItems = container.children; 9615} 9616} 9617function initSliderTransform () { 9618// ## images loaded/failed 9619if (hasOption('autoHeight') || autoWidth || !horizontal) { 9620var imgs = container.querySelectorAll('img'); 9621// add complete class if all images are loaded/failed 9622forEach(imgs, function(img) { 9623var src = img.src; 9624if (src && src.indexOf('data:image') < 0) { 9625addEvents(img, imgEvents); 9626img.src = ''; 9627img.src = src; 9628addClass(img, 'loading'); 9629} else if (!lazyload) { 9630imgLoaded(img); 9631} 9632}); 9633// All imgs are completed 9634raf(function(){ imgsLoadedCheck(arrayFromNodeList(imgs), function() { imgsComplete = true; }); }); 9635// Check imgs in window only for auto height 9636if (!autoWidth && horizontal) { imgs = getImageArray(index, Math.min(index + items - 1, slideCountNew - 1)); } 9637lazyload ? initSliderTransformStyleCheck() : raf(function(){ imgsLoadedCheck(arrayFromNodeList(imgs), initSliderTransformStyleCheck); }); 9638} else { 9639// set container transform property 9640if (carousel) { doContainerTransformSilent(); } 9641// update slider tools and events 9642initTools(); 9643initEvents(); 9644} 9645} 9646function initSliderTransformStyleCheck () { 9647if (autoWidth) { 9648// check styles application 9649var num = loop ? index : slideCount - 1; 9650(function stylesApplicationCheck() { 9651slideItems[num - 1].getBoundingClientRect().right.toFixed(2) === slideItems[num].getBoundingClientRect().left.toFixed(2) ? 9652initSliderTransformCore() : 9653setTimeout(function(){ stylesApplicationCheck(); }, 16); 9654})(); 9655} else { 9656initSliderTransformCore(); 9657} 9658} 9659function initSliderTransformCore () { 9660// run Fn()s which are rely on image loading 9661if (!horizontal || autoWidth) { 9662setSlidePositions(); 9663if (autoWidth) { 9664rightBoundary = getRightBoundary(); 9665if (freezable) { freeze = getFreeze(); } 9666indexMax = getIndexMax(); // <= slidePositions, rightBoundary <= 9667resetVariblesWhenDisable(disable || freeze); 9668} else { 9669updateContentWrapperHeight(); 9670} 9671} 9672// set container transform property 9673if (carousel) { doContainerTransformSilent(); } 9674// update slider tools and events 9675initTools(); 9676initEvents(); 9677} 9678function initSheet () { 9679// gallery: 9680// set animation classes and left value for gallery slider 9681if (!carousel) { 9682for (var i = index, l = index + Math.min(slideCount, items); i < l; i++) { 9683var item = slideItems[i]; 9684item.style.left = (i - index) * 100 / items + '%'; 9685addClass(item, animateIn); 9686removeClass(item, animateNormal); 9687} 9688} 9689// #### LAYOUT 9690// ## INLINE-BLOCK VS FLOAT 9691// ## PercentageLayout: 9692// slides: inline-block 9693// remove blank space between slides by set font-size: 0 9694// ## Non PercentageLayout: 9695// slides: float 9696// margin-right: -100% 9697// margin-left: ~ 9698// Resource: https://docs.google.com/spreadsheets/d/147up245wwTXeQYve3BRSAD4oVcvQmuGsFteJOeA5xNQ/edit?usp=sharing 9699if (horizontal) { 9700if (PERCENTAGELAYOUT || autoWidth) { 9701addCSSRule(sheet, '#' + slideId + ' > .tns-item', 'font-size:' + win.getComputedStyle(slideItems[0]).fontSize + ';', getCssRulesLength(sheet)); 9702addCSSRule(sheet, '#' + slideId, 'font-size:0;', getCssRulesLength(sheet)); 9703} else if (carousel) {
vendor: 5,886 bytes, lines 9704-9846
9704forEach(slideItems, function (slide, i) { 9705slide.style.marginLeft = getSlideMarginLeft(i); 9706}); 9707} 9708} 9709// ## BASIC STYLES 9710if (CSSMQ) { 9711// middle wrapper style 9712if (TRANSITIONDURATION) { 9713var str = middleWrapper && options.autoHeight ? getTransitionDurationStyle(options.speed) : ''; 9714addCSSRule(sheet, '#' + slideId + '-mw', str, getCssRulesLength(sheet)); 9715} 9716// inner wrapper styles 9717str = getInnerWrapperStyles(options.edgePadding, options.gutter, options.fixedWidth, options.speed, options.autoHeight); 9718addCSSRule(sheet, '#' + slideId + '-iw', str, getCssRulesLength(sheet)); 9719// container styles 9720if (carousel) { 9721str = horizontal && !autoWidth ? 'width:' + getContainerWidth(options.fixedWidth, options.gutter, options.items) + ';' : ''; 9722if (TRANSITIONDURATION) { str += getTransitionDurationStyle(speed); } 9723addCSSRule(sheet, '#' + slideId, str, getCssRulesLength(sheet)); 9724} 9725// slide styles 9726str = horizontal && !autoWidth ? getSlideWidthStyle(options.fixedWidth, options.gutter, options.items) : ''; 9727if (options.gutter) { str += getSlideGutterStyle(options.gutter); } 9728// set gallery items transition-duration 9729if (!carousel) { 9730if (TRANSITIONDURATION) { str += getTransitionDurationStyle(speed); } 9731if (ANIMATIONDURATION) { str += getAnimationDurationStyle(speed); } 9732} 9733if (str) { addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet)); } 9734// non CSS mediaqueries: IE8 9735// ## update inner wrapper, container, slides if needed 9736// set inline styles for inner wrapper & container 9737// insert stylesheet (one line) for slides only (since slides are many) 9738} else { 9739// middle wrapper styles 9740update_carousel_transition_duration(); 9741// inner wrapper styles 9742innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, autoHeight); 9743// container styles 9744if (carousel && horizontal && !autoWidth) { 9745container.style.width = getContainerWidth(fixedWidth, gutter, items); 9746} 9747// slide styles 9748var str = horizontal && !autoWidth ? getSlideWidthStyle(fixedWidth, gutter, items) : ''; 9749if (gutter) { str += getSlideGutterStyle(gutter); } 9750// append to the last line 9751if (str) { addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet)); } 9752} 9753// ## MEDIAQUERIES 9754if (responsive && CSSMQ) { 9755for (var bp in responsive) { 9756// bp: convert string to number 9757bp = parseInt(bp); 9758var opts = responsive[bp], 9759str = '', 9760middleWrapperStr = '', 9761innerWrapperStr = '', 9762containerStr = '', 9763slideStr = '', 9764itemsBP = !autoWidth ? getOption('items', bp) : null, 9765fixedWidthBP = getOption('fixedWidth', bp), 9766speedBP = getOption('speed', bp), 9767edgePaddingBP = getOption('edgePadding', bp), 9768autoHeightBP = getOption('autoHeight', bp), 9769gutterBP = getOption('gutter', bp); 9770// middle wrapper string 9771if (TRANSITIONDURATION && middleWrapper && getOption('autoHeight', bp) && 'speed' in opts) { 9772middleWrapperStr = '#' + slideId + '-mw{' + getTransitionDurationStyle(speedBP) + '}'; 9773} 9774// inner wrapper string 9775if ('edgePadding' in opts || 'gutter' in opts) { 9776innerWrapperStr = '#' + slideId + '-iw{' + getInnerWrapperStyles(edgePaddingBP, gutterBP, fixedWidthBP, speedBP, autoHeightBP) + '}'; 9777} 9778// container string 9779if (carousel && horizontal && !autoWidth && ('fixedWidth' in opts || 'items' in opts || (fixedWidth && 'gutter' in opts))) { 9780containerStr = 'width:' + getContainerWidth(fixedWidthBP, gutterBP, itemsBP) + ';'; 9781} 9782if (TRANSITIONDURATION && 'speed' in opts) { 9783containerStr += getTransitionDurationStyle(speedBP); 9784} 9785if (containerStr) { 9786containerStr = '#' + slideId + '{' + containerStr + '}'; 9787} 9788// slide string 9789if ('fixedWidth' in opts || (fixedWidth && 'gutter' in opts) || !carousel && 'items' in opts) { 9790slideStr += getSlideWidthStyle(fixedWidthBP, gutterBP, itemsBP); 9791} 9792if ('gutter' in opts) { 9793slideStr += getSlideGutterStyle(gutterBP); 9794} 9795// set gallery items transition-duration 9796if (!carousel && 'speed' in opts) { 9797if (TRANSITIONDURATION) { slideStr += getTransitionDurationStyle(speedBP); } 9798if (ANIMATIONDURATION) { slideStr += getAnimationDurationStyle(speedBP); } 9799} 9800if (slideStr) { slideStr = '#' + slideId + ' > .tns-item{' + slideStr + '}'; } 9801// add up 9802str = middleWrapperStr + innerWrapperStr + containerStr + slideStr; 9803if (str) { 9804sheet.insertRule('@media (min-width: ' + bp / 16 + 'em) {' + str + '}', sheet.cssRules.length); 9805} 9806} 9807} 9808} 9809function initTools () { 9810// == slides == 9811updateSlideStatus(); 9812// == live region == 9813outerWrapper.insertAdjacentHTML('afterbegin', '<div class="tns-liveregion tns-visually-hidden" aria-hidden="true">slide <span class="current">' + getLiveRegionStr() + '</span> of ' + slideCount + '</div>'); 9814liveregionCurrent = outerWrapper.querySelector('.tns-liveregion .current'); 9815// outerWrapper.insertAdjacentHTML('afterbegin', '<div class="tns-liveregion tns-visually-hidden" aria-hidden="true"></div>'); 9816// liveregionCurrent = outerWrapper.querySelector('.tns-liveregion .current'); 9817// == autoplayInit == 9818if (hasAutoplay) { 9819var txt = autoplay ? 'arrêter' : 'activer'; 9820if (autoplayButton) { 9821setAttrs(autoplayButton, {'data-action': txt}); 9822} else if (options.autoplayButtonOutput) { 9823outerWrapper.insertAdjacentHTML(getInsertPosition(options.autoplayPosition), '<button data-action="' + txt + '">' + autoplayHtmlStrings[0] + txt + autoplayHtmlStrings[1] + autoplayText[0] + '</button>'); 9824autoplayButton = outerWrapper.querySelector('[data-action]'); 9825} 9826// add event 9827if (autoplayButton) { 9828addEvents(autoplayButton, {'click': toggleAutoplay}); 9829} 9830if (autoplay) { 9831startAutoplay(); 9832if (autoplayHoverPause) { addEvents(container, hoverEvents); } 9833if (autoplayResetOnVisibility) { addEvents(container, visibilityEvent); } 9834} 9835} 9836// == navInit == 9837if (hasNav) { 9838var initIndex = !carousel ? 0 : cloneCount; 9839// customized nav 9840// will not hide the navs in case they're thumbnails 9841if (navContainer) { 9842setAttrs(navContainer, {'aria-label': 'Carousel Pagination'}); 9843navItems = navContainer.children; 9844forEach(navItems, function(item, i) { 9845setAttrs(item, { 9846'data-nav': i,
9847'aria-label': navStr + (i + 1), 9848'aria-controls': slideId, 9849}); 9850}); 9851// generated nav 9852} else { 9853var navHtml = '', 9854hiddenStr = navAsThumbnails ? '' : 'style="display:none"'; 9855for (var i = 0; i < slideCount; i++) { 9856// hide nav items by default 9857navHtml += '<button data-nav="' + i +'" aria-controls="' + slideId + '" ' + hiddenStr + ' aria-label="' + navStr + (i + 1) +'"></button>'; 9858} 9859navHtml = '<div class="tns-nav" aria-label="Carousel Pagination">' + navHtml + '</div>'; 9860outerWrapper.insertAdjacentHTML(getInsertPosition(options.navPosition), navHtml); 9861navContainer = outerWrapper.querySelector('.tns-nav'); 9862navItems = navContainer.children; 9863} 9864updateNavVisibility(); 9865// add transition 9866if (TRANSITIONDURATION) { 9867var prefix = TRANSITIONDURATION.substring(0, TRANSITIONDURATION.length - 18).toLowerCase(), 9868str = 'transition: all ' + speed / 1000 + 's'; 9869if (prefix) { 9870str = '-' + prefix + '-' + str; 9871} 9872addCSSRule(sheet, '[aria-controls^=' + slideId + '-item]', str, getCssRulesLength(sheet)); 9873} 9874setAttrs(navItems[navCurrentIndex], {'aria-label': navStr + (navCurrentIndex + 1) + navStrCurrent}); 9875// removeAttrs(navItems[navCurrentIndex], 'tabindex'); 9876addClass(navItems[navCurrentIndex], navActiveClass); 9877// add events 9878addEvents(navContainer, navEvents); 9879} 9880// == controlsInit == 9881if (hasControls) { 9882if (!controlsContainer && (!prevButton || !nextButton)) { 9883outerWrapper.insertAdjacentHTML(getInsertPosition(options.controlsPosition), '<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button data-controls="prev" aria-controls="' + slideId +'">' + controlsText[0] + '</button><button data-controls="next" aria-controls="' + slideId +'">' + controlsText[1] + '</button></div>'); 9884controlsContainer = outerWrapper.querySelector('.tns-controls'); 9885} 9886if (!prevButton || !nextButton) { 9887prevButton = controlsContainer.children[0]; 9888nextButton = controlsContainer.children[1]; 9889} 9890if (options.controlsContainer) { 9891setAttrs(controlsContainer, { 9892'aria-label': 'Carousel Navigation', 9893}); 9894} 9895if (options.controlsContainer || (options.prevButton && options.nextButton)) { 9896setAttrs([prevButton, nextButton], { 9897'aria-controls': slideId, 9898}); 9899} 9900if (options.controlsContainer || (options.prevButton && options.nextButton)) { 9901setAttrs(prevButton, {'data-controls' : 'prev'}); 9902setAttrs(nextButton, {'data-controls' : 'next'}); 9903} 9904prevIsButton = isButton(prevButton); 9905nextIsButton = isButton(nextButton); 9906updateControlsStatus(); 9907// add events
vendor: 38,812 bytes, lines 9908-11127
9908if (controlsContainer) { 9909addEvents(controlsContainer, controlsEvents); 9910} else { 9911addEvents(prevButton, controlsEvents); 9912addEvents(nextButton, controlsEvents); 9913} 9914} 9915// hide tools if needed 9916disableUI(); 9917} 9918function initEvents () { 9919// add events 9920if (carousel && TRANSITIONEND) { 9921var eve = {}; 9922eve[TRANSITIONEND] = onTransitionEnd; 9923addEvents(container, eve); 9924} 9925if (touch) { addEvents(container, touchEvents, options.preventScrollOnTouch); } 9926if (mouseDrag) { addEvents(container, dragEvents); } 9927if (arrowKeys) { addEvents(doc, docmentKeydownEvent); } 9928if (nested === 'inner') { 9929events.on('outerResized', function () { 9930resizeTasks(); 9931events.emit('innerLoaded', info()); 9932}); 9933} else if (responsive || fixedWidth || autoWidth || autoHeight || !horizontal) { 9934addEvents(win, {'resize': onResize}); 9935} 9936if (autoHeight) { 9937if (nested === 'outer') { 9938events.on('innerLoaded', doAutoHeight); 9939} else if (!disable) { doAutoHeight(); } 9940} 9941doLazyLoad(); 9942if (disable) { disableSlider(); } else if (freeze) { freezeSlider(); } 9943events.on('indexChanged', additionalUpdates); 9944if (nested === 'inner') { events.emit('innerLoaded', info()); } 9945if (typeof onInit === 'function') { onInit(info()); } 9946isOn = true; 9947} 9948function destroy () { 9949// sheet 9950sheet.disabled = true; 9951if (sheet.ownerNode) { sheet.ownerNode.remove(); } 9952// remove win event listeners 9953removeEvents(win, {'resize': onResize}); 9954// arrowKeys, controls, nav 9955if (arrowKeys) { removeEvents(doc, docmentKeydownEvent); } 9956if (controlsContainer) { removeEvents(controlsContainer, controlsEvents); } 9957if (navContainer) { removeEvents(navContainer, navEvents); } 9958// autoplay 9959removeEvents(container, hoverEvents); 9960removeEvents(container, visibilityEvent); 9961if (autoplayButton) { removeEvents(autoplayButton, {'click': toggleAutoplay}); } 9962if (autoplay) { clearInterval(autoplayTimer); } 9963// container 9964if (carousel && TRANSITIONEND) { 9965var eve = {}; 9966eve[TRANSITIONEND] = onTransitionEnd; 9967removeEvents(container, eve); 9968} 9969if (touch) { removeEvents(container, touchEvents); } 9970if (mouseDrag) { removeEvents(container, dragEvents); } 9971// cache Object values in options && reset HTML 9972var htmlList = [containerHTML, controlsContainerHTML, prevButtonHTML, nextButtonHTML, navContainerHTML, autoplayButtonHTML]; 9973tnsList.forEach(function(item, i) { 9974var el = item === 'container' ? outerWrapper : options[item]; 9975if (typeof el === 'object') { 9976var prevEl = el.previousElementSibling ? el.previousElementSibling : false, 9977parentEl = el.parentNode; 9978el.outerHTML = htmlList[i]; 9979options[item] = prevEl ? prevEl.nextElementSibling : parentEl.firstElementChild; 9980} 9981}); 9982// reset variables 9983tnsList = animateIn = animateOut = animateDelay = animateNormal = horizontal = outerWrapper = innerWrapper = container = containerParent = containerHTML = slideItems = slideCount = breakpointZone = windowWidth = autoWidth = fixedWidth = edgePadding = gutter = viewport = items = slideBy = viewportMax = arrowKeys = speed = rewind = loop = autoHeight = sheet = lazyload = slidePositions = slideItemsOut = cloneCount = slideCountNew = hasRightDeadZone = rightBoundary = updateIndexBeforeTransform = transformAttr = transformPrefix = transformPostfix = getIndexMax = index = indexCached = indexMin = indexMax = resizeTimer = swipeAngle = moveDirectionExpected = running = onInit = events = newContainerClasses = slideId = disable = disabled = freezable = freeze = frozen = controlsEvents = navEvents = hoverEvents = visibilityEvent = docmentKeydownEvent = touchEvents = dragEvents = hasControls = hasNav = navAsThumbnails = hasAutoplay = hasTouch = hasMouseDrag = slideActiveClass = imgCompleteClass = imgEvents = imgsComplete = controls = controlsText = controlsContainer = controlsContainerHTML = prevButton = nextButton = prevIsButton = nextIsButton = nav = navContainer = navContainerHTML = navItems = pages = pagesCached = navClicked = navCurrentIndex = navCurrentIndexCached = navActiveClass = navStr = navStrCurrent = autoplay = autoplayTimeout = autoplayDirection = autoplayText = autoplayHoverPause = autoplayButton = autoplayButtonHTML = autoplayResetOnVisibility = autoplayHtmlStrings = autoplayTimer = animating = autoplayHoverPaused = autoplayUserPaused = autoplayVisibilityPaused = initPosition = lastPosition = translateInit = disX = disY = panStart = rafIndex = getDist = touch = mouseDrag = null; 9984// check variables 9985// [animateIn, animateOut, animateDelay, animateNormal, horizontal, outerWrapper, innerWrapper, container, containerParent, containerHTML, slideItems, slideCount, breakpointZone, windowWidth, autoWidth, fixedWidth, edgePadding, gutter, viewport, items, slideBy, viewportMax, arrowKeys, speed, rewind, loop, autoHeight, sheet, lazyload, slidePositions, slideItemsOut, cloneCount, slideCountNew, hasRightDeadZone, rightBoundary, updateIndexBeforeTransform, transformAttr, transformPrefix, transformPostfix, getIndexMax, index, indexCached, indexMin, indexMax, resizeTimer, swipeAngle, moveDirectionExpected, running, onInit, events, newContainerClasses, slideId, disable, disabled, freezable, freeze, frozen, controlsEvents, navEvents, hoverEvents, visibilityEvent, docmentKeydownEvent, touchEvents, dragEvents, hasControls, hasNav, navAsThumbnails, hasAutoplay, hasTouch, hasMouseDrag, slideActiveClass, imgCompleteClass, imgEvents, imgsComplete, controls, controlsText, controlsContainer, controlsContainerHTML, prevButton, nextButton, prevIsButton, nextIsButton, nav, navContainer, navContainerHTML, navItems, pages, pagesCached, navClicked, navCurrentIndex, navCurrentIndexCached, navActiveClass, navStr, navStrCurrent, autoplay, autoplayTimeout, autoplayDirection, autoplayText, autoplayHoverPause, autoplayButton, autoplayButtonHTML, autoplayResetOnVisibility, autoplayHtmlStrings, autoplayTimer, animating, autoplayHoverPaused, autoplayUserPaused, autoplayVisibilityPaused, initPosition, lastPosition, translateInit, disX, disY, panStart, rafIndex, getDist, touch, mouseDrag ].forEach(function(item) { if (item !== null) { console.log(item); } }); 9986for (var a in this) { 9987if (a !== 'rebuild') { this[a] = null; } 9988} 9989isOn = false; 9990} 9991// === ON RESIZE === 9992// responsive || fixedWidth || autoWidth || !horizontal 9993function onResize (e) { 9994raf(function(){ resizeTasks(getEvent(e)); }); 9995} 9996function resizeTasks (e) { 9997if (!isOn) { return; } 9998if (nested === 'outer') { events.emit('outerResized', info(e)); } 9999windowWidth = getWindowWidth(); 10000var bpChanged, 10001breakpointZoneTem = breakpointZone, 10002needContainerTransform = false; 10003if (responsive) { 10004setBreakpointZone(); 10005bpChanged = breakpointZoneTem !== breakpointZone; 10006// if (hasRightDeadZone) { needContainerTransform = true; } // *? 10007if (bpChanged) { events.emit('newBreakpointStart', info(e)); } 10008} 10009var indChanged, 10010itemsChanged, 10011itemsTem = items, 10012disableTem = disable, 10013freezeTem = freeze, 10014arrowKeysTem = arrowKeys, 10015controlsTem = controls, 10016navTem = nav, 10017touchTem = touch, 10018mouseDragTem = mouseDrag, 10019autoplayTem = autoplay, 10020autoplayHoverPauseTem = autoplayHoverPause, 10021autoplayResetOnVisibilityTem = autoplayResetOnVisibility, 10022indexTem = index; 10023if (bpChanged) { 10024var fixedWidthTem = fixedWidth, 10025autoHeightTem = autoHeight, 10026controlsTextTem = controlsText, 10027centerTem = center, 10028autoplayTextTem = autoplayText; 10029if (!CSSMQ) { 10030var gutterTem = gutter, 10031edgePaddingTem = edgePadding; 10032} 10033} 10034// get option: 10035// fixed width: viewport, fixedWidth, gutter => items 10036// others: window width => all variables 10037// all: items => slideBy 10038arrowKeys = getOption('arrowKeys'); 10039controls = getOption('controls'); 10040nav = getOption('nav'); 10041touch = getOption('touch'); 10042center = getOption('center'); 10043mouseDrag = getOption('mouseDrag'); 10044autoplay = getOption('autoplay'); 10045autoplayHoverPause = getOption('autoplayHoverPause'); 10046autoplayResetOnVisibility = getOption('autoplayResetOnVisibility'); 10047if (bpChanged) { 10048disable = getOption('disable'); 10049fixedWidth = getOption('fixedWidth'); 10050speed = getOption('speed'); 10051autoHeight = getOption('autoHeight'); 10052controlsText = getOption('controlsText'); 10053autoplayText = getOption('autoplayText'); 10054autoplayTimeout = getOption('autoplayTimeout'); 10055if (!CSSMQ) { 10056edgePadding = getOption('edgePadding'); 10057gutter = getOption('gutter'); 10058} 10059} 10060// update options 10061resetVariblesWhenDisable(disable); 10062viewport = getViewportWidth(); // <= edgePadding, gutter 10063if ((!horizontal || autoWidth) && !disable) { 10064setSlidePositions(); 10065if (!horizontal) { 10066updateContentWrapperHeight(); // <= setSlidePositions 10067needContainerTransform = true; 10068} 10069} 10070if (fixedWidth || autoWidth) { 10071rightBoundary = getRightBoundary(); // autoWidth: <= viewport, slidePositions, gutter 10072// fixedWidth: <= viewport, fixedWidth, gutter 10073indexMax = getIndexMax(); // autoWidth: <= rightBoundary, slidePositions 10074// fixedWidth: <= rightBoundary, fixedWidth, gutter 10075} 10076if (bpChanged || fixedWidth) { 10077items = getOption('items'); 10078slideBy = getOption('slideBy'); 10079itemsChanged = items !== itemsTem; 10080if (itemsChanged) { 10081if (!fixedWidth && !autoWidth) { indexMax = getIndexMax(); } // <= items 10082// check index before transform in case 10083// slider reach the right edge then items become bigger 10084updateIndex(); 10085} 10086} 10087if (bpChanged) { 10088if (disable !== disableTem) { 10089if (disable) { 10090disableSlider(); 10091} else { 10092enableSlider(); // <= slidePositions, rightBoundary, indexMax 10093} 10094} 10095} 10096if (freezable && (bpChanged || fixedWidth || autoWidth)) { 10097freeze = getFreeze(); // <= autoWidth: slidePositions, gutter, viewport, rightBoundary 10098// <= fixedWidth: fixedWidth, gutter, rightBoundary 10099// <= others: items 10100if (freeze !== freezeTem) { 10101if (freeze) { 10102doContainerTransform(getContainerTransformValue(getStartIndex(0))); 10103freezeSlider(); 10104} else { 10105unfreezeSlider(); 10106needContainerTransform = true; 10107} 10108} 10109} 10110resetVariblesWhenDisable(disable || freeze); // controls, nav, touch, mouseDrag, arrowKeys, autoplay, autoplayHoverPause, autoplayResetOnVisibility 10111if (!autoplay) { autoplayHoverPause = autoplayResetOnVisibility = false; } 10112if (arrowKeys !== arrowKeysTem) { 10113arrowKeys ? 10114addEvents(doc, docmentKeydownEvent) : 10115removeEvents(doc, docmentKeydownEvent); 10116} 10117if (controls !== controlsTem) { 10118if (controls) { 10119if (controlsContainer) { 10120showElement(controlsContainer); 10121} else { 10122if (prevButton) { showElement(prevButton); } 10123if (nextButton) { showElement(nextButton); } 10124} 10125} else { 10126if (controlsContainer) { 10127hideElement(controlsContainer); 10128} else { 10129if (prevButton) { hideElement(prevButton); } 10130if (nextButton) { hideElement(nextButton); } 10131} 10132} 10133} 10134if (nav !== navTem) { 10135nav ? 10136showElement(navContainer) : 10137hideElement(navContainer); 10138} 10139if (touch !== touchTem) { 10140touch ? 10141addEvents(container, touchEvents, options.preventScrollOnTouch) : 10142removeEvents(container, touchEvents); 10143} 10144if (mouseDrag !== mouseDragTem) { 10145mouseDrag ? 10146addEvents(container, dragEvents) : 10147removeEvents(container, dragEvents); 10148} 10149if (autoplay !== autoplayTem) { 10150if (autoplay) { 10151if (autoplayButton) { showElement(autoplayButton); } 10152if (!animating && !autoplayUserPaused) { startAutoplay(); } 10153} else { 10154if (autoplayButton) { hideElement(autoplayButton); } 10155if (animating) { stopAutoplay(); } 10156} 10157} 10158if (autoplayHoverPause !== autoplayHoverPauseTem) { 10159autoplayHoverPause ? 10160addEvents(container, hoverEvents) : 10161removeEvents(container, hoverEvents); 10162} 10163if (autoplayResetOnVisibility !== autoplayResetOnVisibilityTem) { 10164autoplayResetOnVisibility ? 10165addEvents(doc, visibilityEvent) : 10166removeEvents(doc, visibilityEvent); 10167} 10168if (bpChanged) { 10169if (fixedWidth !== fixedWidthTem || center !== centerTem) { needContainerTransform = true; } 10170if (autoHeight !== autoHeightTem) { 10171if (!autoHeight) { innerWrapper.style.height = ''; } 10172} 10173if (controls && controlsText !== controlsTextTem) { 10174prevButton.innerHTML = controlsText[0]; 10175nextButton.innerHTML = controlsText[1]; 10176} 10177if (autoplayButton && autoplayText !== autoplayTextTem) { 10178var i = autoplay ? 1 : 0, 10179html = autoplayButton.innerHTML, 10180len = html.length - autoplayTextTem[i].length; 10181if (html.substring(len) === autoplayTextTem[i]) { 10182autoplayButton.innerHTML = html.substring(0, len) + autoplayText[i]; 10183} 10184} 10185} else { 10186if (center && (fixedWidth || autoWidth)) { needContainerTransform = true; } 10187} 10188if (itemsChanged || fixedWidth && !autoWidth) { 10189pages = getPages(); 10190updateNavVisibility(); 10191} 10192indChanged = index !== indexTem; 10193if (indChanged) { 10194events.emit('indexChanged', info()); 10195needContainerTransform = true; 10196} else if (itemsChanged) { 10197if (!indChanged) { additionalUpdates(); } 10198} else if (fixedWidth || autoWidth) { 10199doLazyLoad(); 10200updateSlideStatus(); 10201updateLiveRegion(); 10202} 10203if (itemsChanged && !carousel) { updateGallerySlidePositions(); } 10204if (!disable && !freeze) { 10205// non-meduaqueries: IE8 10206if (bpChanged && !CSSMQ) { 10207// middle wrapper styles 10208if (autoHeight !== autoheightTem || speed !== speedTem) { 10209update_carousel_transition_duration(); 10210} 10211// inner wrapper styles 10212if (edgePadding !== edgePaddingTem || gutter !== gutterTem) { 10213innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, speed, autoHeight); 10214} 10215if (horizontal) { 10216// container styles 10217if (carousel) { 10218container.style.width = getContainerWidth(fixedWidth, gutter, items); 10219} 10220// slide styles 10221var str = getSlideWidthStyle(fixedWidth, gutter, items) + 10222getSlideGutterStyle(gutter); 10223// remove the last line and 10224// add new styles 10225removeCSSRule(sheet, getCssRulesLength(sheet) - 1); 10226addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet)); 10227} 10228} 10229// auto height 10230if (autoHeight) { doAutoHeight(); } 10231if (needContainerTransform) { 10232doContainerTransformSilent(); 10233indexCached = index; 10234} 10235} 10236if (bpChanged) { events.emit('newBreakpointEnd', info(e)); } 10237} 10238// === INITIALIZATION FUNCTIONS === // 10239function getFreeze () { 10240if (!fixedWidth && !autoWidth) { 10241var a = center ? items - (items - 1) / 2 : items; 10242return slideCount <= a; 10243} 10244var width = fixedWidth ? (fixedWidth + gutter) * slideCount : slidePositions[slideCount], 10245vp = edgePadding ? viewport + edgePadding * 2 : viewport + gutter; 10246if (center) { 10247vp -= fixedWidth ? (viewport - fixedWidth) / 2 : (viewport - (slidePositions[index + 1] - slidePositions[index] - gutter)) / 2; 10248} 10249return width <= vp; 10250} 10251function setBreakpointZone () { 10252breakpointZone = 0; 10253for (var bp in responsive) { 10254bp = parseInt(bp); // convert string to number 10255if (windowWidth >= bp) { breakpointZone = bp; } 10256} 10257} 10258// (slideBy, indexMin, indexMax) => index 10259var updateIndex = (function () { 10260return loop ? 10261carousel ? 10262// loop + carousel 10263function () { 10264var leftEdge = indexMin, 10265rightEdge = indexMax; 10266leftEdge += slideBy; 10267rightEdge -= slideBy; 10268// adjust edges when has edge paddings 10269// or fixed-width slider with extra space on the right side 10270if (edgePadding) { 10271leftEdge += 1; 10272rightEdge -= 1; 10273} else if (fixedWidth) { 10274if ((viewport + gutter)%(fixedWidth + gutter)) { rightEdge -= 1; } 10275} 10276if (cloneCount) { 10277if (index > rightEdge) { 10278index -= slideCount; 10279} else if (index < leftEdge) { 10280index += slideCount; 10281} 10282} 10283} : 10284// loop + gallery 10285function() { 10286if (index > indexMax) { 10287while (index >= indexMin + slideCount) { index -= slideCount; } 10288} else if (index < indexMin) { 10289while (index <= indexMax - slideCount) { index += slideCount; } 10290} 10291} : 10292// non-loop 10293function() { 10294index = Math.max(indexMin, Math.min(indexMax, index)); 10295}; 10296})(); 10297function disableUI () { 10298if (!autoplay && autoplayButton) { hideElement(autoplayButton); } 10299if (!nav && navContainer) { hideElement(navContainer); } 10300if (!controls) { 10301if (controlsContainer) { 10302hideElement(controlsContainer); 10303} else { 10304if (prevButton) { hideElement(prevButton); } 10305if (nextButton) { hideElement(nextButton); } 10306} 10307} 10308} 10309function enableUI () { 10310if (autoplay && autoplayButton) { showElement(autoplayButton); } 10311if (nav && navContainer) { showElement(navContainer); } 10312if (controls) { 10313if (controlsContainer) { 10314showElement(controlsContainer); 10315} else { 10316if (prevButton) { showElement(prevButton); } 10317if (nextButton) { showElement(nextButton); } 10318} 10319} 10320} 10321function freezeSlider () { 10322if (frozen) { return; } 10323// remove edge padding from inner wrapper 10324if (edgePadding) { innerWrapper.style.margin = '0px'; } 10325// add class tns-transparent to cloned slides 10326if (cloneCount) { 10327var str = 'tns-transparent'; 10328for (var i = cloneCount; i--;) { 10329if (carousel) { addClass(slideItems[i], str); } 10330addClass(slideItems[slideCountNew - i - 1], str); 10331} 10332} 10333// update tools 10334disableUI(); 10335frozen = true; 10336} 10337function unfreezeSlider () { 10338if (!frozen) { return; } 10339// restore edge padding for inner wrapper 10340// for mordern browsers 10341if (edgePadding && CSSMQ) { innerWrapper.style.margin = ''; } 10342// remove class tns-transparent to cloned slides 10343if (cloneCount) { 10344var str = 'tns-transparent'; 10345for (var i = cloneCount; i--;) { 10346if (carousel) { removeClass(slideItems[i], str); } 10347removeClass(slideItems[slideCountNew - i - 1], str); 10348} 10349} 10350// update tools 10351enableUI(); 10352frozen = false; 10353} 10354function disableSlider () { 10355if (disabled) { return; } 10356sheet.disabled = true; 10357container.className = container.className.replace(newContainerClasses.substring(1), ''); 10358removeAttrs(container, ['style']); 10359if (loop) { 10360for (var j = cloneCount; j--;) { 10361if (carousel) { hideElement(slideItems[j]); } 10362hideElement(slideItems[slideCountNew - j - 1]); 10363} 10364} 10365// vertical slider 10366if (!horizontal || !carousel) { removeAttrs(innerWrapper, ['style']); } 10367// gallery 10368if (!carousel) { 10369for (var i = index, l = index + slideCount; i < l; i++) { 10370var item = slideItems[i]; 10371removeAttrs(item, ['style']); 10372removeClass(item, animateIn); 10373removeClass(item, animateNormal); 10374} 10375} 10376// update tools 10377disableUI(); 10378disabled = true; 10379} 10380function enableSlider () { 10381if (!disabled) { return; } 10382sheet.disabled = false; 10383container.className += newContainerClasses; 10384doContainerTransformSilent(); 10385if (loop) { 10386for (var j = cloneCount; j--;) { 10387if (carousel) { showElement(slideItems[j]); } 10388showElement(slideItems[slideCountNew - j - 1]); 10389} 10390} 10391// gallery 10392if (!carousel) { 10393for (var i = index, l = index + slideCount; i < l; i++) { 10394var item = slideItems[i], 10395classN = i < index + items ? animateIn : animateNormal; 10396item.style.left = (i - index) * 100 / items + '%'; 10397addClass(item, classN); 10398} 10399} 10400// update tools 10401enableUI(); 10402disabled = false; 10403} 10404function updateLiveRegion () { 10405var str = getLiveRegionStr(); 10406if (liveregionCurrent.innerHTML !== str) { liveregionCurrent.innerHTML = str; } 10407} 10408function getLiveRegionStr () { 10409var arr = getVisibleSlideRange(), 10410start = arr[0] + 1, 10411end = arr[1] + 1; 10412return start === end ? start + '' : start + ' to ' + end; 10413} 10414function getVisibleSlideRange (val) { 10415if (val == null) { val = getContainerTransformValue(); } 10416var start = index, end, rangestart, rangeend; 10417// get range start, range end for autoWidth and fixedWidth 10418if (center || edgePadding) { 10419if (autoWidth || fixedWidth) { 10420rangestart = - (parseFloat(val) + edgePadding); 10421rangeend = rangestart + viewport + edgePadding * 2; 10422} 10423} else { 10424if (autoWidth) { 10425rangestart = slidePositions[index]; 10426rangeend = rangestart + viewport; 10427} 10428} 10429// get start, end 10430// - check auto width 10431if (autoWidth) { 10432slidePositions.forEach(function(point, i) { 10433if (i < slideCountNew) { 10434if ((center || edgePadding) && point <= rangestart + 0.5) { start = i; } 10435if (rangeend - point >= 0.5) { end = i; } 10436} 10437}); 10438// - check percentage width, fixed width 10439} else { 10440if (fixedWidth) { 10441var cell = fixedWidth + gutter; 10442if (center || edgePadding) { 10443start = Math.floor(rangestart/cell); 10444end = Math.ceil(rangeend/cell - 1); 10445} else { 10446end = start + Math.ceil(viewport/cell) - 1; 10447} 10448} else { 10449if (center || edgePadding) { 10450var a = items - 1; 10451if (center) { 10452start -= a / 2; 10453end = index + a / 2; 10454} else { 10455end = index + a; 10456} 10457if (edgePadding) { 10458var b = edgePadding * items / viewport; 10459start -= b; 10460end += b; 10461} 10462start = Math.floor(start); 10463end = Math.ceil(end); 10464} else { 10465end = start + items - 1; 10466} 10467} 10468start = Math.max(start, 0); 10469end = Math.min(end, slideCountNew - 1); 10470} 10471return [start, end]; 10472} 10473function doLazyLoad () { 10474if (lazyload && !disable) { 10475getImageArray.apply(null, getVisibleSlideRange()).forEach(function (img) { 10476if (!hasClass(img, imgCompleteClass)) { 10477// stop propagation transitionend event to container 10478var eve = {}; 10479eve[TRANSITIONEND] = function (e) { e.stopPropagation(); }; 10480addEvents(img, eve); 10481addEvents(img, imgEvents); 10482// update src 10483img.src = getAttr(img, 'data-src'); 10484// update srcset 10485var srcset = getAttr(img, 'data-srcset'); 10486if (srcset) { img.srcset = srcset; } 10487addClass(img, 'loading'); 10488} 10489}); 10490} 10491} 10492function onImgLoaded (e) { 10493imgLoaded(getTarget(e)); 10494} 10495function onImgFailed (e) { 10496imgFailed(getTarget(e)); 10497} 10498function imgLoaded (img) { 10499addClass(img, 'loaded'); 10500imgCompleted(img); 10501} 10502function imgFailed (img) { 10503addClass(img, 'failed'); 10504imgCompleted(img); 10505} 10506function imgCompleted (img) { 10507addClass(img, 'tns-complete'); 10508removeClass(img, 'loading'); 10509removeEvents(img, imgEvents); 10510} 10511function getImageArray (start, end) { 10512var imgs = []; 10513while (start <= end) { 10514forEach(slideItems[start].querySelectorAll('img'), function (img) { imgs.push(img); }); 10515start++; 10516} 10517return imgs; 10518} 10519// check if all visible images are loaded 10520// and update container height if it's done 10521function doAutoHeight () { 10522var imgs = getImageArray.apply(null, getVisibleSlideRange()); 10523raf(function(){ imgsLoadedCheck(imgs, updateInnerWrapperHeight); }); 10524} 10525function imgsLoadedCheck (imgs, cb) { 10526// directly execute callback function if all images are complete 10527if (imgsComplete) { return cb(); } 10528// check selected image classes otherwise 10529imgs.forEach(function (img, index) { 10530if (hasClass(img, imgCompleteClass)) { imgs.splice(index, 1); } 10531}); 10532// execute callback function if selected images are all complete 10533if (!imgs.length) { return cb(); } 10534// otherwise execute this functiona again 10535raf(function(){ imgsLoadedCheck(imgs, cb); }); 10536} 10537function additionalUpdates () { 10538doLazyLoad(); 10539updateSlideStatus(); 10540updateLiveRegion(); 10541updateControlsStatus(); 10542updateNavStatus(); 10543} 10544function update_carousel_transition_duration () { 10545if (carousel && autoHeight) { 10546middleWrapper.style[TRANSITIONDURATION] = speed / 1000 + 's'; 10547} 10548} 10549function getMaxSlideHeight (slideStart, slideRange) { 10550var heights = []; 10551for (var i = slideStart, l = Math.min(slideStart + slideRange, slideCountNew); i < l; i++) { 10552heights.push(slideItems[i].offsetHeight); 10553} 10554return Math.max.apply(null, heights); 10555} 10556// update inner wrapper height 10557// 1. get the max-height of the visible slides 10558// 2. set transitionDuration to speed 10559// 3. update inner wrapper height to max-height 10560// 4. set transitionDuration to 0s after transition done 10561function updateInnerWrapperHeight () { 10562var maxHeight = autoHeight ? getMaxSlideHeight(index, items) : getMaxSlideHeight(cloneCount, slideCount), 10563wp = middleWrapper ? middleWrapper : innerWrapper; 10564if (wp.style.height !== maxHeight) { wp.style.height = maxHeight + 'px'; } 10565} 10566// get the distance from the top edge of the first slide to each slide 10567// (init) => slidePositions 10568function setSlidePositions () { 10569slidePositions = [0]; 10570var attr = horizontal ? 'left' : 'top', 10571attr2 = horizontal ? 'right' : 'bottom', 10572base = slideItems[0].getBoundingClientRect()[attr]; 10573forEach(slideItems, function(item, i) { 10574// skip the first slide 10575if (i) { slidePositions.push(item.getBoundingClientRect()[attr] - base); } 10576// add the end edge 10577if (i === slideCountNew - 1) { slidePositions.push(item.getBoundingClientRect()[attr2] - base); } 10578}); 10579} 10580// update slide 10581function updateSlideStatus () { 10582var range = getVisibleSlideRange(), 10583start = range[0], 10584end = range[1]; 10585forEach(slideItems, function(item, i) { 10586// show slides 10587if (i >= start && i <= end) { 10588if (hasAttr(item, 'aria-hidden')) { 10589removeAttrs(item, ['aria-hidden', 'tabindex']); 10590addClass(item, slideActiveClass); 10591} 10592// hide slides 10593} else { 10594if (!hasAttr(item, 'aria-hidden')) { 10595setAttrs(item, { 10596'aria-hidden': 'true', 10597'tabindex': '-1' 10598}); 10599removeClass(item, slideActiveClass); 10600} 10601} 10602}); 10603} 10604// gallery: update slide position 10605function updateGallerySlidePositions () { 10606var l = index + Math.min(slideCount, items); 10607for (var i = slideCountNew; i--;) { 10608var item = slideItems[i]; 10609if (i >= index && i < l) { 10610// add transitions to visible slides when adjusting their positions 10611addClass(item, 'tns-moving'); 10612item.style.left = (i - index) * 100 / items + '%'; 10613addClass(item, animateIn); 10614removeClass(item, animateNormal); 10615} else if (item.style.left) { 10616item.style.left = ''; 10617addClass(item, animateNormal); 10618removeClass(item, animateIn); 10619} 10620// remove outlet animation 10621removeClass(item, animateOut); 10622} 10623// removing '.tns-moving' 10624setTimeout(function() { 10625forEach(slideItems, function(el) { 10626removeClass(el, 'tns-moving'); 10627}); 10628}, 300); 10629} 10630// set tabindex on Nav 10631function updateNavStatus () { 10632// get current nav 10633if (nav) { 10634navCurrentIndex = navClicked >= 0 ? navClicked : getCurrentNavIndex(); 10635navClicked = -1; 10636if (navCurrentIndex !== navCurrentIndexCached) { 10637var navPrev = navItems[navCurrentIndexCached], 10638navCurrent = navItems[navCurrentIndex]; 10639setAttrs(navPrev, { 10640'tabindex': '-1', 10641'aria-label': navStr + (navCurrentIndexCached + 1) 10642}); 10643removeClass(navPrev, navActiveClass); 10644setAttrs(navCurrent, {'aria-label': navStr + (navCurrentIndex + 1) + navStrCurrent}); 10645removeAttrs(navCurrent, 'tabindex'); 10646addClass(navCurrent, navActiveClass); 10647navCurrentIndexCached = navCurrentIndex; 10648} 10649} 10650} 10651function getLowerCaseNodeName (el) { 10652return el.nodeName.toLowerCase(); 10653} 10654function isButton (el) { 10655return getLowerCaseNodeName(el) === 'button'; 10656} 10657function isAriaDisabled (el) { 10658return el.getAttribute('aria-disabled') === 'true'; 10659} 10660function disEnableElement (isButton, el, val) { 10661if (isButton) { 10662el.disabled = val; 10663} else { 10664el.setAttribute('aria-disabled', val.toString()); 10665} 10666} 10667// set 'disabled' to true on controls when reach the edges 10668function updateControlsStatus () { 10669if (!controls || rewind || loop) { return; } 10670var prevDisabled = (prevIsButton) ? prevButton.disabled : isAriaDisabled(prevButton), 10671nextDisabled = (nextIsButton) ? nextButton.disabled : isAriaDisabled(nextButton), 10672disablePrev = (index <= indexMin) ? true : false, 10673disableNext = (!rewind && index >= indexMax) ? true : false; 10674if (disablePrev && !prevDisabled) { 10675disEnableElement(prevIsButton, prevButton, true); 10676} 10677if (!disablePrev && prevDisabled) { 10678disEnableElement(prevIsButton, prevButton, false); 10679} 10680if (disableNext && !nextDisabled) { 10681disEnableElement(nextIsButton, nextButton, true); 10682} 10683if (!disableNext && nextDisabled) { 10684disEnableElement(nextIsButton, nextButton, false); 10685} 10686} 10687// set duration 10688function resetDuration (el, str) { 10689if (TRANSITIONDURATION) { el.style[TRANSITIONDURATION] = str; } 10690} 10691function getSliderWidth () { 10692return fixedWidth ? (fixedWidth + gutter) * slideCountNew : slidePositions[slideCountNew]; 10693} 10694function getCenterGap (num) { 10695if (num == null) { num = index; } 10696var gap = edgePadding ? gutter : 0; 10697return autoWidth ? ((viewport - gap) - (slidePositions[num + 1] - slidePositions[num] - gutter))/2 : 10698fixedWidth ? (viewport - fixedWidth) / 2 : 10699(items - 1) / 2; 10700} 10701function getRightBoundary () { 10702var gap = edgePadding ? gutter : 0, 10703result = (viewport + gap) - getSliderWidth(); 10704if (center && !loop) { 10705result = fixedWidth ? - (fixedWidth + gutter) * (slideCountNew - 1) - getCenterGap() : 10706getCenterGap(slideCountNew - 1) - slidePositions[slideCountNew - 1]; 10707} 10708if (result > 0) { result = 0; } 10709return result; 10710} 10711function getContainerTransformValue (num) { 10712if (num == null) { num = index; } 10713var val; 10714if (horizontal && !autoWidth) { 10715if (fixedWidth) { 10716val = - (fixedWidth + gutter) * num; 10717if (center) { val += getCenterGap(); } 10718} else { 10719var denominator = TRANSFORM ? slideCountNew : items; 10720if (center) { num -= getCenterGap(); } 10721val = - num * 100 / denominator; 10722} 10723} else { 10724val = - slidePositions[num]; 10725if (center && autoWidth) { 10726val += getCenterGap(); 10727} 10728} 10729if (hasRightDeadZone) { val = Math.max(val, rightBoundary); } 10730val += (horizontal && !autoWidth && !fixedWidth) ? '%' : 'px'; 10731return val; 10732} 10733function doContainerTransformSilent (val) { 10734resetDuration(container, '0s'); 10735doContainerTransform(val); 10736} 10737function doContainerTransform (val) { 10738if (val == null) { val = getContainerTransformValue(); } 10739container.style[transformAttr] = transformPrefix + val + transformPostfix; 10740} 10741function animateSlide (number, classOut, classIn, isOut) { 10742var l = number + items; 10743if (!loop) { l = Math.min(l, slideCountNew); } 10744for (var i = number; i < l; i++) { 10745var item = slideItems[i]; 10746// set item positions 10747if (!isOut) { item.style.left = (i - index) * 100 / items + '%'; } 10748if (animateDelay && TRANSITIONDELAY) { 10749item.style[TRANSITIONDELAY] = item.style[ANIMATIONDELAY] = animateDelay * (i - number) / 1000 + 's'; 10750} 10751removeClass(item, classOut); 10752addClass(item, classIn); 10753if (isOut) { slideItemsOut.push(item); } 10754} 10755} 10756// make transfer after click/drag: 10757// 1. change 'transform' property for mordern browsers 10758// 2. change 'left' property for legacy browsers 10759var transformCore = (function () { 10760return carousel ? 10761function () { 10762resetDuration(container, ''); 10763if (TRANSITIONDURATION || !speed) { 10764// for morden browsers with non-zero duration or 10765// zero duration for all browsers 10766doContainerTransform(); 10767// run fallback function manually 10768// when duration is 0 / container is hidden 10769if (!speed || !isVisible(container)) { onTransitionEnd(); } 10770} else { 10771// for old browser with non-zero duration 10772jsTransform(container, transformAttr, transformPrefix, transformPostfix, getContainerTransformValue(), speed, onTransitionEnd); 10773} 10774if (!horizontal) { updateContentWrapperHeight(); } 10775} : 10776function () { 10777slideItemsOut = []; 10778var eve = {}; 10779eve[TRANSITIONEND] = eve[ANIMATIONEND] = onTransitionEnd; 10780removeEvents(slideItems[indexCached], eve); 10781addEvents(slideItems[index], eve); 10782animateSlide(indexCached, animateIn, animateOut, true); 10783animateSlide(index, animateNormal, animateIn); 10784// run fallback function manually 10785// when transition or animation not supported / duration is 0 10786if (!TRANSITIONEND || !ANIMATIONEND || !speed || !isVisible(container)) { onTransitionEnd(); } 10787}; 10788})(); 10789function render (e, sliderMoved) { 10790if (updateIndexBeforeTransform) { updateIndex(); } 10791// render when slider was moved (touch or drag) even though index may not change 10792if (index !== indexCached || sliderMoved) { 10793// events 10794events.emit('indexChanged', info()); 10795events.emit('transitionStart', info()); 10796if (autoHeight) { doAutoHeight(); } 10797// pause autoplay when click or keydown from user 10798if (animating && e && ['click', 'keydown'].indexOf(e.type) >= 0) { stopAutoplay(); } 10799running = true; 10800transformCore(); 10801} 10802} 10803/* 10804* Transfer prefixed properties to the same format 10805* CSS: -Webkit-Transform => webkittransform 10806* JS: WebkitTransform => webkittransform 10807* @param {string} str - property 10808* 10809*/ 10810function strTrans (str) { 10811return str.toLowerCase().replace(/-/g, ''); 10812} 10813// AFTER TRANSFORM 10814// Things need to be done after a transfer: 10815// 1. check index 10816// 2. add classes to visible slide 10817// 3. disable controls buttons when reach the first/last slide in non-loop slider 10818// 4. update nav status 10819// 5. lazyload images 10820// 6. update container height 10821function onTransitionEnd (event) { 10822// check running on gallery mode 10823// make sure trantionend/animationend events run only once 10824if (carousel || running) { 10825events.emit('transitionEnd', info(event)); 10826if (!carousel && slideItemsOut.length > 0) { 10827for (var i = 0; i < slideItemsOut.length; i++) { 10828var item = slideItemsOut[i]; 10829// set item positions 10830item.style.left = ''; 10831if (ANIMATIONDELAY && TRANSITIONDELAY) { 10832item.style[ANIMATIONDELAY] = ''; 10833item.style[TRANSITIONDELAY] = ''; 10834} 10835removeClass(item, animateOut); 10836addClass(item, animateNormal); 10837} 10838} 10839/* update slides, nav, controls after checking ... 10840* => legacy browsers who don't support 'event' 10841* have to check event first, otherwise event.target will cause an error 10842* => or 'gallery' mode: 10843* + event target is slide item 10844* => or 'carousel' mode: 10845* + event target is container, 10846* + event.property is the same with transform attribute 10847*/ 10848if (!event || 10849!carousel && event.target.parentNode === container || 10850event.target === container && strTrans(event.propertyName) === strTrans(transformAttr)) { 10851if (!updateIndexBeforeTransform) { 10852var indexTem = index; 10853updateIndex(); 10854if (index !== indexTem) { 10855events.emit('indexChanged', info()); 10856doContainerTransformSilent(); 10857} 10858} 10859if (nested === 'inner') { events.emit('innerLoaded', info()); } 10860running = false; 10861indexCached = index; 10862} 10863} 10864} 10865// # ACTIONS 10866function goTo (targetIndex, e) { 10867if (freeze) { return; } 10868// prev slideBy 10869if (targetIndex === 'prev') { 10870onControlsClick(e, -1); 10871// next slideBy 10872} else if (targetIndex === 'next') { 10873onControlsClick(e, 1); 10874// go to exact slide 10875} else { 10876if (running) { 10877if (preventActionWhenRunning) { return; } else { onTransitionEnd(); } 10878} 10879var absIndex = getAbsIndex(), 10880indexGap = 0; 10881if (targetIndex === 'first') { 10882indexGap = - absIndex; 10883} else if (targetIndex === 'last') { 10884indexGap = carousel ? slideCount - items - absIndex : slideCount - 1 - absIndex; 10885} else { 10886if (typeof targetIndex !== 'number') { targetIndex = parseInt(targetIndex); } 10887if (!isNaN(targetIndex)) { 10888// from directly called goTo function 10889if (!e) { targetIndex = Math.max(0, Math.min(slideCount - 1, targetIndex)); } 10890indexGap = targetIndex - absIndex; 10891} 10892} 10893// gallery: make sure new page won't overlap with current page 10894if (!carousel && indexGap && Math.abs(indexGap) < items) { 10895var factor = indexGap > 0 ? 1 : -1; 10896indexGap += (index + indexGap - slideCount) >= indexMin ? slideCount * factor : slideCount * 2 * factor * -1; 10897} 10898index += indexGap; 10899// make sure index is in range 10900if (carousel && loop) { 10901if (index < indexMin) { index += slideCount; } 10902if (index > indexMax) { index -= slideCount; } 10903} 10904// if index is changed, start rendering 10905if (getAbsIndex(index) !== getAbsIndex(indexCached)) { 10906render(e); 10907} 10908} 10909} 10910// on controls click 10911function onControlsClick (e, dir) { 10912if (running) { 10913if (preventActionWhenRunning) { return; } else { onTransitionEnd(); } 10914} 10915var passEventObject; 10916if (!dir) { 10917e = getEvent(e); 10918var target = getTarget(e); 10919while (target !== controlsContainer && [prevButton, nextButton].indexOf(target) < 0) { target = target.parentNode; } 10920var targetIn = [prevButton, nextButton].indexOf(target); 10921if (targetIn >= 0) { 10922passEventObject = true; 10923dir = targetIn === 0 ? -1 : 1; 10924} 10925} 10926if (rewind) { 10927if (index === indexMin && dir === -1) { 10928goTo('last', e); 10929return; 10930} else if (index === indexMax && dir === 1) { 10931goTo('first', e); 10932return; 10933} 10934} 10935if (dir) { 10936index += slideBy * dir; 10937if (autoWidth) { index = Math.floor(index); } 10938// pass e when click control buttons or keydown 10939render((passEventObject || (e && e.type === 'keydown')) ? e : null); 10940} 10941} 10942// on nav click 10943function onNavClick (e) { 10944if (running) { 10945if (preventActionWhenRunning) { return; } else { onTransitionEnd(); } 10946} 10947e = getEvent(e); 10948var target = getTarget(e), navIndex; 10949// find the clicked nav item 10950while (target !== navContainer && !hasAttr(target, 'data-nav')) { target = target.parentNode; } 10951if (hasAttr(target, 'data-nav')) { 10952var navIndex = navClicked = Number(getAttr(target, 'data-nav')), 10953targetIndexBase = fixedWidth || autoWidth ? navIndex * slideCount / pages : navIndex * items, 10954targetIndex = navAsThumbnails ? navIndex : Math.min(Math.ceil(targetIndexBase), slideCount - 1); 10955goTo(targetIndex, e); 10956if (navCurrentIndex === navIndex) { 10957if (animating) { stopAutoplay(); } 10958navClicked = -1; // reset navClicked 10959} 10960} 10961} 10962// autoplay functions 10963function setAutoplayTimer () { 10964autoplayTimer = setInterval(function () { 10965onControlsClick(null, autoplayDirection); 10966}, autoplayTimeout); 10967animating = true; 10968} 10969function stopAutoplayTimer () { 10970clearInterval(autoplayTimer); 10971animating = false; 10972} 10973function updateAutoplayButton (action, txt) { 10974setAttrs(autoplayButton, {'data-action': action}); 10975autoplayButton.innerHTML = autoplayHtmlStrings[0] + action + autoplayHtmlStrings[1] + txt; 10976} 10977function startAutoplay () { 10978setAutoplayTimer(); 10979if (autoplayButton) { updateAutoplayButton('arrêter', autoplayText[1]); } 10980} 10981function stopAutoplay () { 10982stopAutoplayTimer(); 10983if (autoplayButton) { updateAutoplayButton('activer', autoplayText[0]); } 10984} 10985// programaitcally play/pause the slider 10986function play () { 10987if (autoplay && !animating) { 10988startAutoplay(); 10989autoplayUserPaused = false; 10990} 10991} 10992function pause () { 10993if (animating) { 10994stopAutoplay(); 10995autoplayUserPaused = true; 10996} 10997} 10998function toggleAutoplay () { 10999if (animating) { 11000stopAutoplay(); 11001autoplayUserPaused = true; 11002} else { 11003startAutoplay(); 11004autoplayUserPaused = false; 11005} 11006} 11007function onVisibilityChange () { 11008if (doc.hidden) { 11009if (animating) { 11010stopAutoplayTimer(); 11011autoplayVisibilityPaused = true; 11012} 11013} else if (autoplayVisibilityPaused) { 11014setAutoplayTimer(); 11015autoplayVisibilityPaused = false; 11016} 11017} 11018function mouseoverPause () { 11019if (animating) { 11020stopAutoplayTimer(); 11021autoplayHoverPaused = true; 11022} 11023} 11024function mouseoutRestart () { 11025if (autoplayHoverPaused) { 11026setAutoplayTimer(); 11027autoplayHoverPaused = false; 11028} 11029} 11030// keydown events on document 11031function onDocumentKeydown (e) { 11032e = getEvent(e); 11033var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode); 11034if (keyIndex >= 0) { 11035onControlsClick(e, keyIndex === 0 ? -1 : 1); 11036} 11037} 11038// on key control 11039function onControlsKeydown (e) { 11040e = getEvent(e); 11041var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode); 11042if (keyIndex >= 0) { 11043if (keyIndex === 0) { 11044if (!prevButton.disabled) { onControlsClick(e, -1); } 11045} else if (!nextButton.disabled) { 11046onControlsClick(e, 1); 11047} 11048} 11049} 11050// set focus 11051function setFocus (el) { 11052el.focus(); 11053} 11054// on key nav 11055function onNavKeydown (e) { 11056e = getEvent(e); 11057var curElement = doc.activeElement; 11058if (!hasAttr(curElement, 'data-nav')) { return; } 11059// var code = e.keyCode, 11060var keyIndex = [KEYS.LEFT, KEYS.RIGHT, KEYS.ENTER, KEYS.SPACE].indexOf(e.keyCode), 11061navIndex = Number(getAttr(curElement, 'data-nav')); 11062if (keyIndex >= 0) { 11063if (keyIndex === 0) { 11064if (navIndex > 0) { setFocus(navItems[navIndex - 1]); } 11065} else if (keyIndex === 1) { 11066if (navIndex < pages - 1) { setFocus(navItems[navIndex + 1]); } 11067} else { 11068navClicked = navIndex; 11069goTo(navIndex, e); 11070} 11071} 11072} 11073function getEvent (e) { 11074e = e || win.event; 11075return isTouchEvent(e) ? e.changedTouches[0] : e; 11076} 11077function getTarget (e) { 11078return e.target || win.event.srcElement; 11079} 11080function isTouchEvent (e) { 11081return e.type.indexOf('touch') >= 0; 11082} 11083function preventDefaultBehavior (e) { 11084e.preventDefault ? e.preventDefault() : e.returnValue = false; 11085} 11086function getMoveDirectionExpected () { 11087return getTouchDirection(toDegree(lastPosition.y - initPosition.y, lastPosition.x - initPosition.x), swipeAngle) === options.axis; 11088} 11089function onPanStart (e) { 11090if (running) { 11091if (preventActionWhenRunning) { return; } else { onTransitionEnd(); } 11092} 11093if (autoplay && animating) { stopAutoplayTimer(); } 11094panStart = true; 11095if (rafIndex) { 11096caf(rafIndex); 11097rafIndex = null; 11098} 11099var $ = getEvent(e); 11100events.emit(isTouchEvent(e) ? 'touchStart' : 'dragStart', info(e)); 11101if (!isTouchEvent(e) && ['img', 'a'].indexOf(getLowerCaseNodeName(getTarget(e))) >= 0) { 11102preventDefaultBehavior(e); 11103} 11104lastPosition.x = initPosition.x = $.clientX; 11105lastPosition.y = initPosition.y = $.clientY; 11106if (carousel) { 11107translateInit = parseFloat(container.style[transformAttr].replace(transformPrefix, '')); 11108resetDuration(container, '0s'); 11109} 11110} 11111function onPanMove (e) { 11112if (panStart) { 11113var $ = getEvent(e); 11114lastPosition.x = $.clientX; 11115lastPosition.y = $.clientY; 11116if (carousel) { 11117if (!rafIndex) { rafIndex = raf(function(){ panUpdate(e); }); } 11118} else { 11119if (moveDirectionExpected === '?') { moveDirectionExpected = getMoveDirectionExpected(); } 11120if (moveDirectionExpected) { preventScroll = true; } 11121} 11122if (preventScroll) { e.preventDefault(); } 11123} 11124} 11125function panUpdate (e) { 11126if (!moveDirectionExpected) { 11127panStart = false;
11128return; 11129} 11130caf(rafIndex); 11131if (panStart) { rafIndex = raf(function(){ panUpdate(e); }); } 11132if (moveDirectionExpected === '?') { moveDirectionExpected = getMoveDirectionExpected(); } 11133if (moveDirectionExpected) { 11134if (!preventScroll && isTouchEvent(e)) { preventScroll = true; } 11135try { 11136if (e.type) { events.emit(isTouchEvent(e) ? 'touchMove' : 'dragMove', info(e)); } 11137} catch(err) {} 11138var x = translateInit, 11139dist = getDist(lastPosition, initPosition); 11140if (!horizontal || fixedWidth || autoWidth) { 11141x += dist; 11142x += 'px'; 11143} else { 11144var percentageX = TRANSFORM ? dist * items * 100 / ((viewport + gutter) * slideCountNew): dist * 100 / (viewport + gutter); 11145x += percentageX; 11146x += '%'; 11147} 11148container.style[transformAttr] = transformPrefix + x + transformPostfix; 11149} 11150} 11151function onPanEnd (e) { 11152if (panStart) { 11153if (rafIndex) { 11154caf(rafIndex); 11155rafIndex = null; 11156} 11157if (carousel) { resetDuration(container, ''); } 11158panStart = false; 11159var $ = getEvent(e); 11160lastPosition.x = $.clientX; 11161lastPosition.y = $.clientY; 11162var dist = getDist(lastPosition, initPosition); 11163if (Math.abs(dist)) { 11164// drag vs click 11165if (!isTouchEvent(e)) { 11166// prevent "click" 11167var target = getTarget(e); 11168addEvents(target, {'click': function preventClick (e) { 11169preventDefaultBehavior(e); 11170removeEvents(target, {'click': preventClick}); 11171}}); 11172} 11173if (carousel) { 11174rafIndex = raf(function() { 11175if (horizontal && !autoWidth) { 11176var indexMoved = - dist * items / (viewport + gutter); 11177indexMoved = dist > 0 ? Math.floor(indexMoved) : Math.ceil(indexMoved); 11178index += indexMoved; 11179} else { 11180var moved = - (translateInit + dist); 11181if (moved <= 0) { 11182index = indexMin; 11183} else if (moved >= slidePositions[slideCountNew - 1]) { 11184index = indexMax; 11185} else { 11186var i = 0; 11187while (i < slideCountNew && moved >= slidePositions[i]) { 11188index = i; 11189if (moved > slidePositions[i] && dist < 0) { index += 1; } 11190i++; 11191} 11192} 11193} 11194render(e, dist); 11195events.emit(isTouchEvent(e) ? 'touchEnd' : 'dragEnd', info(e)); 11196}); 11197} else { 11198if (moveDirectionExpected) { 11199onControlsClick(e, dist > 0 ? -1 : 1); 11200} 11201} 11202} 11203} 11204// reset 11205if (options.preventScrollOnTouch === 'auto') { preventScroll = false; } 11206if (swipeAngle) { moveDirectionExpected = '?'; } 11207if (autoplay && !animating) { setAutoplayTimer(); } 11208} 11209// === RESIZE FUNCTIONS === // 11210// (slidePositions, index, items) => vertical_conentWrapper.height 11211function updateContentWrapperHeight () { 11212var wp = middleWrapper ? middleWrapper : innerWrapper; 11213wp.style.height = slidePositions[index + items] - slidePositions[index] + 'px'; 11214} 11215function getPages () { 11216var rough = fixedWidth ? (fixedWidth + gutter) * slideCount / viewport : slideCount / items; 11217return Math.min(Math.ceil(rough), slideCount); 11218} 11219/* 11220* 1. update visible nav items list 11221* 2. add "hidden" attributes to previous visible nav items 11222* 3. remove "hidden" attrubutes to new visible nav items 11223*/ 11224function updateNavVisibility () { 11225if (!nav || navAsThumbnails) { return; } 11226if (pages !== pagesCached) { 11227var min = pagesCached, 11228max = pages, 11229fn = showElement; 11230if (pagesCached > pages) { 11231min = pages; 11232max = pagesCached; 11233fn = hideElement; 11234} 11235while (min < max) { 11236fn(navItems[min]); 11237min++; 11238} 11239// cache pages 11240pagesCached = pages; 11241} 11242} 11243function info (e) { 11244return { 11245container: container, 11246slideItems: slideItems, 11247navContainer: navContainer, 11248navItems: navItems, 11249controlsContainer: controlsContainer, 11250hasControls: hasControls, 11251prevButton: prevButton, 11252nextButton: nextButton, 11253items: items, 11254slideBy: slideBy, 11255cloneCount: cloneCount, 11256slideCount: slideCount, 11257slideCountNew: slideCountNew, 11258index: index, 11259indexCached: indexCached, 11260displayIndex: getCurrentSlide(), 11261navCurrentIndex: navCurrentIndex, 11262navCurrentIndexCached: navCurrentIndexCached, 11263pages: pages, 11264pagesCached: pagesCached, 11265sheet: sheet, 11266isOn: isOn, 11267event: e || {}, 11268}; 11269} 11270return { 11271version: '2.9.1', 11272getInfo: info, 11273events: events, 11274goTo: goTo, 11275play: play, 11276pause: pause, 11277isOn: isOn, 11278updateSliderHeight: updateInnerWrapperHeight, 11279refresh: initSliderTransform, 11280destroy: destroy, 11281rebuild: function() { 11282return tns(extend(options, optionsElements)); 11283} 11284}; 11285}; 11286return tns; 11287})();; 11288/** 11289* SimpleBar.js - v4.2.0 11290* Scrollbars, simpler. 11291* https://grsmto.github.io/simplebar/ 11292* 11293* Made by Adrien Denat from a fork by Jonathan Nicol 11294* Under MIT License 11295*/ 11296!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},e=function(t){try{return!!t()}catch(t){return!0}},i={}.toString,r=function(t){return i.call(t).slice(8,-1)},n="".split,s=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==r(t)?n.call(t,""):Object(t)}:Object,o=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},a=function(t){return Object(o(t))},l=Math.ceil,c=Math.floor,u=function(t){return isNaN(t=+t)?0:(t>0?c:l)(t)},h=Math.min,f=function(t){return t>0?h(u(t),9007199254740991):0},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},p=Array.isArray||function(t){return"Array"==r(t)},v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(t,e){return t(e={exports:{}},e.exports),e.exports}var b,m,y,x,E="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")(),w=!e(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),O=E.document,_=d(O)&&d(O.createElement),S=!w&&!e(function(){return 7!=Object.defineProperty((t="div",_?O.createElement(t):{}),"a",{get:function(){return 7}}).a;var t}),L=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},A=function(t,e){if(!d(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!d(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!d(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!d(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}
11296,k=Object.defineProperty,M={f:w?k:function(t,e,i){if(L(t),e=A(e,!0),L(i),S)try{return k(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},W=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},T=w?function(t,e,i){return M.f(t,e,W(1,i))}:function(t,e,i){return t[e]=i,t},R=function(t,e){try{T(E,t,e)}catch(i){E[t]=e}return e},j=g(function(t){var e=E["__core-js_shared__"]||R("__core-js_shared__",{});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:"3.0.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),C=0,N=Math.random(),z=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++C+N).toString(36))},D=!e(function(){return!String(Symbol())}),V=j("wks"),B=E.Symbol,I=function(t){return V[t]||(V[t]=D&&B[t]||(D?B:z)("Symbol."+t))},P=I("species"),H=function(t,e){var i;return p(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!p(i.prototype)?d(i)&&null===(i=i[P])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)},q=function(e,i){var r=1==e,n=2==e,o=3==e,l=4==e,c=6==e,u=5==e||c,h=i||H;return function(i,d,p){for(var v,g,b=a(i),m=s(b),y=function(e,i,r){if(t(e),void 0===i)return e;switch(r){case 0:return function(){return e.call(i)};case 1:return function(t){return e.call(i,t)};case 2:return function(t,r){return e.call(i,t,r)};case 3:return function(t,r,n){return e.call(i,t,r,n)}}return function(){return e.apply(i,arguments)}}(d,p,3),x=f(m.length),E=0,w=r?h(i,x):n?h(i,0):void 0;x>E;E++)if((u||E in m)&&(g=y(v=m[E],E,b),e))if(r)w[E]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:w.push(v)}else if(l)return!1;return c?-1:o||l?l:w}},F=I("species"),$={}.propertyIsEnumerable,Y=Object.getOwnPropertyDescriptor,X={f:Y&&!$.call({1:2},1)?function(t){var e=Y(this,t);return!!e&&e.enumerable}:$},G=function(t){return s(o(t))},K={}.hasOwnProperty,U=function(t,e){return K.call(t,e)},J=Object.getOwnPropertyDescriptor,Q={f:w?J:function(t,e){if(t=G(t),e=A(e,!0),S)try{return J(t,e)}catch(t){}if(U(t,e))return W(!X.f.call(t,e),t[e])}},Z=j("native-function-to-string",Function.toString),tt=E.WeakMap,et="function"==typeof tt&&/native code/.test(Z.call(tt)),it=j("keys"),rt={},nt=E.WeakMap;if(et){var st=new nt,ot=st.get,at=st.has,lt=st.set;b=function(t,e){return lt.call(st,t,e),e},m=function(t){return ot.call(st,t)||{}},y=function(t){return at.call(st,t)}}else{var ct=it[x="state"]||(it[x]=z(x));rt[ct]=!0,b=function(t,e){return T(t,ct,e),e},m=function(t){return U(t,ct)?t[ct]:{}},y=function(t){return U(t,ct)}}var ut,ht,ft={set:b,get:m,has:y,enforce:function(t){return y(t)?m(t):b(t,{})},getterFor:function(t){return function(e){var i;if(!d(e)||(i=m(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},dt=g(function(t){var e=ft.get,i=ft.enforce,r=String(Z).split("toString");j("inspectSource",function(t){return Z.call(t)}),(t.exports=function(t,e,n,s){var o=!!s&&!!s.unsafe,a=!!s&&!!s.enumerable,l=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||U(n,"name")||T(n,"name",e),i(n).source=r.join("string"==typeof e?e:"")),t!==E?(o?!l&&t[e]&&(a=!0):delete t[e],a?t[e]=n:T(t,e,n)):a?t[e]=n:R(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||Z.call(this)})}),pt=Math.max,vt=Math.min,gt=(ut=!1,function(t,e,i){var r,n=G(t),s=f(n.length),o=function(t,e){var i=u(t);return i<0?pt(i+e,0):vt(i,e)}(i,s);if(ut&&e!=e){for(;s>o;)if((r=n[o++])!=r)return!0}else for(;s>o;o++)if((ut||o in n)&&n[o]===e)return ut||o||0;return!ut&&-1}),bt=function(t,e){var i,r=G(t),n=0,s=[];for(i in r)!U(rt,i)&&U(r,i)&&s.push(i);for(;e.length>n;)U(r,i=e[n++])&&(~gt(s,i)||s.push(i));return s},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yt=mt.concat("length","prototype"),xt={f:Object.getOwnPropertyNames||function(t){return bt(t,yt)}},Et={f:Object.getOwnPropertySymbols},wt=E.Reflect,Ot=wt&&wt.ownKeys||function(t){var e=xt.f(L(t)),i=Et.f;return i?e.concat(i(t)):e},_t=function(t,e){for(var i=Ot(e),r=M.f,n=Q.f,s=0;s<i.length;s++){var o=i[s];U(t,o)||r(t,o,n(e,o))}},St=/#|\.prototype\./,Lt=function(t,i){var r=kt[At(t)];return r==Wt||r!=Mt&&("function"==typeof i?e(i):!!i)},At=Lt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},kt=Lt.data={},Mt=Lt.NATIVE="N",Wt=Lt.POLYFILL="P",Tt=Lt,Rt=Q.f,jt=function(t,e){var i,r,n,s,o,a=t.target,l=t.global,c=t.stat;if(i=l?E:c?E[a]||R(a,{}):(E[a]||{}).prototype)for(r in e){if(s=e[r],n=t.noTargetGet?(o=Rt(i,r))&&o.value:i[r],!Tt(l?r:a+(c?".":"#")+r,t.forced)&&void 0!==n){
11296if(typeof s==typeof n)continue;_t(s,n)}(t.sham||n&&n.sham)&&T(s,"sham",!0),dt(i,r,s,t)}},Ct=q(2);jt({target:"Array",proto:!0,forced:!(ht="filter",!e(function(){var t=[];return(t.constructor={})[F]=function(){return{foo:1}},1!==t[ht](Boolean).foo}))},{filter:function(t){return Ct(this,t,arguments[1])}});var Nt=function(t,i){var r=[][t];return!r||!e(function(){r.call(null,i||function(){throw 1},1)})},zt=[].forEach,Dt=q(0),Vt=Nt("forEach")?function(t){return Dt(this,t,arguments[1])}:zt;jt({target:"Array",proto:!0,forced:[].forEach!=Vt},{forEach:Vt});jt({target:"Array",proto:!0,forced:Nt("reduce")},{reduce:function(e){return function(e,i,r,n,o){t(i);var l=a(e),c=s(l),u=f(l.length),h=o?u-1:0,d=o?-1:1;if(r<2)for(;;){if(h in c){n=c[h],h+=d;break}if(h+=d,o?h<0:u<=h)throw TypeError("Reduce of empty array with no initial value")}for(;o?h>=0:u>h;h+=d)h in c&&(n=i(n,c[h],h,l));return n}(this,e,arguments.length,arguments[1],!1)}});var Bt=M.f,It=Function.prototype,Pt=It.toString,Ht=/^\s*function ([^ (]*)/;!w||"name"in It||Bt(It,"name",{configurable:!0,get:function(){try{return Pt.call(this).match(Ht)[1]}catch(t){return""}}});var qt=Object.keys||function(t){return bt(t,mt)},Ft=Object.assign,$t=!Ft||e(function(){var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=Ft({},t)[i]||"abcdefghijklmnopqrst"!=qt(Ft({},e)).join("")})?function(t,e){for(var i=a(t),r=arguments.length,n=1,o=Et.f,l=X.f;r>n;)for(var c,u=s(arguments[n++]),h=o?qt(u).concat(o(u)):qt(u),f=h.length,d=0;f>d;)l.call(u,c=h[d++])&&(i[c]=u[c]);return i}:Ft;jt({target:"Object",stat:!0,forced:Object.assign!==$t},{assign:$t});var Yt="\t\n\v\f\r áââââââ
ââââââ¯âã\u2028\u2029\ufeff",Xt="["+Yt+"]",Gt=RegExp("^"+Xt+Xt+"*"),Kt=RegExp(Xt+Xt+"*$"),Ut=E.parseInt,Jt=/^[-+]?0[xX]/,Qt=8!==Ut(Yt+"08")||22!==Ut(Yt+"0x16")?function(t,e){var i=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(Gt,"")),2&e&&(t=t.replace(Kt,"")),t}(String(t),3);return Ut(i,e>>>0||(Jt.test(i)?16:10))}:Ut;jt({global:!0,forced:parseInt!=Qt},{parseInt:Qt});var Zt,te,ee=RegExp.prototype.exec,ie=String.prototype.replace,re=ee,ne=(Zt=/a/,te=/b*/g,ee.call(Zt,"a"),ee.call(te,"a"),0!==Zt.lastIndex||0!==te.lastIndex),se=void 0!==/()??/.exec("")[1];(ne||se)&&(re=function(t){var e,i,r,n,s=this;return se&&(i=new RegExp("^"+s.source+"$(?!\\s)",function(){var t=L(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}.call(s))),ne&&(e=s.lastIndex),r=ee.call(s,t),ne&&r&&(s.lastIndex=s.global?r.index+r[0].length:e),se&&r&&r.length>1&&ie.call(r[0],i,function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(r[n]=void 0)}),r});var oe=re;jt({target:"RegExp",proto:!0,forced:/./.exec!==oe},{exec:oe});var ae=function(t,e,i){return e+(i?function(t,e,i){var r,n,s=String(o(t)),a=u(e),l=s.length;return a<0||a>=l?i?"":void 0:(r=s.charCodeAt(a))<55296||r>56319||a+1===l||(n=s.charCodeAt(a+1))<56320||n>57343?i?s.charAt(a):r:i?s.slice(a,a+2):n-56320+(r-55296<<10)+65536}(t,e,!0).length:1)},le=function(t,e){var i=t.exec;if("function"==typeof i){var n=i.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return oe.call(t,e)},ce=I("species"),ue=!e(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),he=!e(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}),fe=function(t,i,r,n){var s=I(t),o=!e(function(){var e={};return e[s]=function(){return 7},7!=""[t](e)}),a=o&&!e(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[ce]=function(){return i}),i[s](""),!e});if(!o||!a||"replace"===t&&!ue||"split"===t&&!he){var l=/./[s],c=r(s,""[t],function(t,e,i,r,n){return e.exec===oe?o&&!n?{done:!0,value:l.call(e,i,r)}:{done:!0,value:t.call(i,e,r)}:{done:!1}}),u=c[0],h=c[1];dt(String.prototype,t,u),dt(RegExp.prototype,s,2==i?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),n&&T(RegExp.prototype[s],"sham",!0)}};
11296fe("match",1,function(t,e,i){return[function(e){var i=o(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,i):new RegExp(e)[t](String(i))},function(t){var r=i(e,t,this);if(r.done)return r.value;var n=L(t),s=String(this);if(!n.global)return le(n,s);var o=n.unicode;n.lastIndex=0;for(var a,l=[],c=0;null!==(a=le(n,s));){var u=String(a[0]);l[c]=u,""===u&&(n.lastIndex=ae(s,f(n.lastIndex),o)),c++}return 0===c?null:l}]});var de=Math.max,pe=Math.min,ve=Math.floor,ge=/\$([$&`']|\d\d?|<[^>]*>)/g,be=/\$([$&`']|\d\d?)/g;fe("replace",2,function(t,e,i){return[function(i,r){var n=o(this),s=null==i?void 0:i[t];return void 0!==s?s.call(i,n,r):e.call(String(n),i,r)},function(t,n){var s=i(e,t,this,n);if(s.done)return s.value;var o=L(t),a=String(this),l="function"==typeof n;l||(n=String(n));var c=o.global;if(c){var h=o.unicode;o.lastIndex=0}for(var d=[];;){var p=le(o,a);if(null===p)break;if(d.push(p),!c)break;""===String(p[0])&&(o.lastIndex=ae(a,f(o.lastIndex),h))}for(var v,g="",b=0,m=0;m<d.length;m++){p=d[m];for(var y=String(p[0]),x=de(pe(u(p.index),a.length),0),E=[],w=1;w<p.length;w++)E.push(void 0===(v=p[w])?v:String(v));var O=p.groups;if(l){var _=[y].concat(E,x,a);void 0!==O&&_.push(O);var S=String(n.apply(void 0,_))}else S=r(y,a,x,E,O,n);x>=b&&(g+=a.slice(b,x)+S,b=x+y.length)}return g+a.slice(b)}];function r(t,i,r,n,s,o){var l=r+t.length,c=n.length,u=be;return void 0!==s&&(s=a(s),u=ge),e.call(o,u,function(e,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,r);case"'":return i.slice(l);case"<":a=s[o.slice(1,-1)];break;default:var u=+o;if(0===u)return e;if(u>c){var h=ve(u/10);return 0===h?e:h<=c?void 0===n[h-1]?o.charAt(1):n[h-1]+o.charAt(1):e}a=n[u-1]}return void 0===a?"":a})}});for(var me in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var ye=E[me],xe=ye&&ye.prototype;if(xe&&xe.forEach!==Vt)try{T(xe,"forEach",Vt)}catch(t){xe.forEach=Vt}}var Ee="Expected a function",we=NaN,Oe="[object Symbol]",_e=/^\s+|\s+$/g,Se=/^[-+]0x[0-9a-f]+$/i,Le=/^0b[01]+$/i,Ae=/^0o[0-7]+$/i,ke=parseInt,Me="object"==typeof v&&v&&v.Object===Object&&v,We="object"==typeof self&&self&&self.Object===Object&&self,Te=Me||We||Function("return this")(),Re=Object.prototype.toString,je=Math.max,Ce=Math.min,Ne=function(){return Te.Date.now()};function ze(t,e,i){var r,n,s,o,a,l,c=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Ee);function d(e){var i=r,s=n;return r=n=void 0,c=e,o=t.apply(s,i)}function p(t){var i=t-l;return void 0===l||i>=e||i<0||h&&t-c>=s}function v(){var t=Ne();if(p(t))return g(t);a=setTimeout(v,function(t){var i=e-(t-l);return h?Ce(i,s-(t-c)):i}(t))}function g(t){return a=void 0,f&&r?d(t):(r=n=void 0,o)}function b(){var t=Ne(),i=p(t);if(r=arguments,n=this,l=t,i){if(void 0===a)return function(t){return c=t,a=setTimeout(v,e),u?d(t):o}(l);if(h)return a=setTimeout(v,e),d(l)}return void 0===a&&(a=setTimeout(v,e)),o}return e=Ve(e)||0,De(i)&&(u=!!i.leading,s=(h="maxWait"in i)?je(Ve(i.maxWait)||0,e):s,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=n=a=void 0},b.flush=function(){return void 0===a?o:g(Ne())},b}function De(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Ve(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Re.call(t)==Oe}(t))return we;if(De(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=De(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(_e,"");var i=Le.test(t);return i||Ae.test(t)?ke(t.slice(2),i?2:8):Se.test(t)?we:+t}var Be=function(t,e,i){var r=!0,n=!0;if("function"!=typeof t)throw new TypeError(Ee);return De(i)&&(r="leading"in i?!!i.leading:r,n="trailing"in i?!!i.trailing:n),ze(t,e,{leading:r,maxWait:e,trailing:n})},Ie="Expected a function",Pe=NaN,He="[object Symbol]",qe=/^\s+|\s+$/g,Fe=/^[-+]0x[0-9a-f]+$/i,$e=/^0b[01]+$/i,Ye=/^0o[0-7]+$/i,Xe=parseInt,Ge="object"==typeof v&&v&&v.Object===Object&&v,Ke="object"==typeof self&&self&&self.Object===Object&&self,Ue=Ge||Ke||Function("return this")(),Je=Object.prototype.toString,Qe=Math.max,Ze=Math.min,ti=function(){return Ue.Date.now()};function ei(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ii(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&Je.call(t)==He}(t))return Pe;if(ei(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ei(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(qe,"");var i=$e.test(t);return i||Ye.test(t)?Xe(t.slice(2),i?2:8):Fe.test(t)?Pe:+t}
11296var ri=function(t,e,i){var r,n,s,o,a,l,c=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Ie);function d(e){var i=r,s=n;return r=n=void 0,c=e,o=t.apply(s,i)}function p(t){var i=t-l;return void 0===l||i>=e||i<0||h&&t-c>=s}function v(){var t=ti();if(p(t))return g(t);a=setTimeout(v,function(t){var i=e-(t-l);return h?Ze(i,s-(t-c)):i}(t))}function g(t){return a=void 0,f&&r?d(t):(r=n=void 0,o)}function b(){var t=ti(),i=p(t);if(r=arguments,n=this,l=t,i){if(void 0===a)return function(t){return c=t,a=setTimeout(v,e),u?d(t):o}(l);if(h)return a=setTimeout(v,e),d(l)}return void 0===a&&(a=setTimeout(v,e)),o}return e=ii(e)||0,ei(i)&&(u=!!i.leading,s=(h="maxWait"in i)?Qe(ii(i.maxWait)||0,e):s,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=n=a=void 0},b.flush=function(){return void 0===a?o:g(ti())},b},ni="Expected a function",si="__lodash_hash_undefined__",oi="[object Function]",ai="[object GeneratorFunction]",li=/^\[object .+?Constructor\]$/,ci="object"==typeof v&&v&&v.Object===Object&&v,ui="object"==typeof self&&self&&self.Object===Object&&self,hi=ci||ui||Function("return this")();var fi=Array.prototype,di=Function.prototype,pi=Object.prototype,vi=hi["__core-js_shared__"],gi=function(){var t=/[^.]+$/.exec(vi&&vi.keys&&vi.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),bi=di.toString,mi=pi.hasOwnProperty,yi=pi.toString,xi=RegExp("^"+bi.call(mi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ei=fi.splice,wi=Wi(hi,"Map"),Oi=Wi(Object,"create");function _i(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function Si(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function Li(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var r=t[e];this.set(r[0],r[1])}}function Ai(t,e){for(var i,r,n=t.length;n--;)if((i=t[n][0])===(r=e)||i!=i&&r!=r)return n;return-1}function ki(t){return!(!Ri(t)||(e=t,gi&&gi in e))&&(function(t){var e=Ri(t)?yi.call(t):"";return e==oi||e==ai}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?xi:li).test(function(t){if(null!=t){try{return bi.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Mi(t,e){var i,r,n=t.__data__;return("string"==(r=typeof(i=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==i:null===i)?n["string"==typeof e?"string":"hash"]:n.map}function Wi(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return ki(i)?i:void 0}function Ti(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(ni);var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],s=i.cache;if(s.has(n))return s.get(n);var o=t.apply(this,r);return i.cache=s.set(n,o),o};return i.cache=new(Ti.Cache||Li),i}function Ri(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}_i.prototype.clear=function(){this.__data__=Oi?Oi(null):{}},_i.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},_i.prototype.get=function(t){var e=this.__data__;if(Oi){var i=e[t];return i===si?void 0:i}return mi.call(e,t)?e[t]:void 0},_i.prototype.has=function(t){var e=this.__data__;return Oi?void 0!==e[t]:mi.call(e,t)},_i.prototype.set=function(t,e){return this.__data__[t]=Oi&&void 0===e?si:e,this},Si.prototype.clear=function(){this.__data__=[]},Si.prototype.delete=function(t){var e=this.__data__,i=Ai(e,t);return!(i<0||(i==e.length-1?e.pop():Ei.call(e,i,1),0))},Si.prototype.get=function(t){var e=this.__data__,i=Ai(e,t);return i<0?void 0:e[i][1]},Si.prototype.has=function(t){return Ai(this.__data__,t)>-1},Si.prototype.set=function(t,e){var i=this.__data__,r=Ai(i,t);return r<0?i.push([t,e]):i[r][1]=e,this},Li.prototype.clear=function(){this.__data__={hash:new _i,map:new(wi||Si),string:new _i}},Li.prototype.delete=function(t){return Mi(this,t).delete(t)},Li.prototype.get=function(t){return Mi(this,t).get(t)},Li.prototype.has=function(t){return Mi(this,t).has(t)},Li.prototype.set=function(t,e){return Mi(this,t).set(t,e),this},Ti.Cache=Li;var ji=Ti,Ci=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some(function(t,r){return t[0]===e&&(i=r,!0)}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),r=this.__entries__[i];return r&&r[1]},e.prototype.set=function(e,i){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,r=t(i,e);~r&&i.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,r=this.__entries__;i<r.length;i++){var n=r[i];t.call(e,n[1],n[0])}},e}()}(),Ni="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,zi="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Di="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(zi):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},Vi=2;var Bi=20,Ii=["top","right","bottom","left","width","height","size","weight"],Pi="undefined"!=typeof MutationObserver,Hi=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var i=!1,r=!1,n=0;function s(){i&&(i=!1,t()),r&&a()}function o(){Di(s)}function a(){var t=Date.now();if(i){if(t-n<Vi)return;r=!0}else i=!0,r=!1,setTimeout(o,e);n=t}return a}(this.refresh.bind(this),Bi)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,i=e.indexOf(t);~i&&e.splice(i,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){Ni&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Pi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Ni&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;Ii.some(function(t){return!!~i.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=ne
11296w t),this.instance_},t.instance_=null,t}(),qi=function(t,e){for(var i=0,r=Object.keys(e);i<r.length;i++){var n=r[i];Object.defineProperty(t,n,{value:e[n],enumerable:!1,writable:!1,configurable:!0})}return t},Fi=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||zi},$i=Ji(0,0,0,0);function Yi(t){return parseFloat(t)||0}function Xi(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return e.reduce(function(e,i){return e+Yi(t["border-"+i+"-width"])},0)}function Gi(t){var e=t.clientWidth,i=t.clientHeight;if(!e&&!i)return $i;var r=Fi(t).getComputedStyle(t),n=function(t){for(var e={},i=0,r=["top","right","bottom","left"];i<r.length;i++){var n=r[i],s=t["padding-"+n];e[n]=Yi(s)}return e}(r),s=n.left+n.right,o=n.top+n.bottom,a=Yi(r.width),l=Yi(r.height);if("border-box"===r.boxSizing&&(Math.round(a+s)!==e&&(a-=Xi(r,"left","right")+s),Math.round(l+o)!==i&&(l-=Xi(r,"top","bottom")+o)),!function(t){return t===Fi(t).document.documentElement}(t)){var c=Math.round(a+s)-e,u=Math.round(l+o)-i;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return Ji(n.left,n.top,a,l)}var Ki="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof Fi(t).SVGGraphicsElement}:function(t){return t instanceof Fi(t).SVGElement&&"function"==typeof t.getBBox};function Ui(t){return Ni?Ki(t)?function(t){var e=t.getBBox();return Ji(0,0,e.width,e.height)}(t):Gi(t):$i}function Ji(t,e,i,r){return{x:t,y:e,width:i,height:r}}var Qi=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ji(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=Ui(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),Zi=function(){return function(t,e){var i,r,n,s,o,a,l,c=(r=(i=e).x,n=i.y,s=i.width,o=i.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),qi(l,{x:r,y:n,width:s,height:o,top:n,right:r+s,bottom:o+n,left:r}),l);qi(this,{target:t,contentRect:c})}}(),tr=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new Ci,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Fi(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Qi(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Fi(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new Zi(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),er="undefined"!=typeof WeakMap?new WeakMap:new Ci,ir=function(){return function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=Hi.getInstance(),r=new tr(e,i,this);er.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(t){ir.prototype[t]=function(){var e;return(e=er.get(this))[t].apply(e,arguments)}});var rr=void 0!==zi.ResizeObserver?zi.ResizeObserver:ir,nr=!("undefined"==typeof window||!window.document||!window.document.createElement);function sr(){if("undefined"==typeof document)return 0;var t=document.body,e=document.createElement("div"),i=e.style;i.position="fixed",i.left=0,i.visibility="hidden",i.overflowY="scroll",t.appendChild(e);var r=e.getBoundingClientRect().right;return t.removeChild(e),r}var or=function(){function t(e,i){var r=this;this.onScroll=function(){r.scrollXTicking||(window.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(window.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=sr(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,i;r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(i=r.isWithinBounds(r.axis.x.scrollbar.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(e=r.isWithinBounds(r.axis.y.scrollbar.rect)),(e||i)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&r.onDragStart(t,"y"),i&&r.onDragStart(t,"x")))},this.drag=function(e){var i=r.axis[r.draggedAxis].track,n=i.rect[r.axis[r.draggedAxis].sizeAttr],s=r.axis[r.draggedAxis].scrollbar;e.preventDefault(),e.stopPropagation();var o=(("y"===r.draggedAxis?e.pageY:e.pageX)-i.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/i.rect[r.axis[r.draggedAxis].sizeAttr]*r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr];"x"===r.draggedAxis&&(o=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?o-(n+s.size):o,o=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-o:o),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=o},this.onEndDrag=function(t){t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),document.removeEventListener("mousemove",r.drag,!0),document.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=window.setTimeout(function(){document.removeEventListener("click",r.preventClick,!0),document.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.flashTimeout,this.contentEl,this.contentWrapperEl,this.offsetEl,this.maskEl,this.globalObserver,this.mutationObserver,this.resizeObserver,this.scrollbarWidth,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,i),this.classNames=Object.assign({},t.defaultOptions.classNames,this.options.classNames),this.isRtl,this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,this.el.SimpleBar||(this.recalculate=Be(this.recalculate.bind(this),64),this.onMouseMove=Be(this.onMouseMove.bind(this),64),this.hideScrollbars=ri(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ri(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=ji(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var i=e.firstElementChild;document.body.appendChild(i);var r=i.firstElementChild;i.scrollLeft=0;var n=t.getOffset(i),s=t.getOffset(r);i.scrollLeft=999;var o=t.getOffset(r);return{isRtlScrollingInverted:n.left!==s.left&&s.left-o.left!=0,isRtlScrollbarInverted:n.left!==s.left}},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(function(e){e.forEach(function(e){Array.prototype.forEach.call(e.addedNodes,function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!e.SimpleBar&&new t(e,t.getElOptions(e)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),function(e){!e.SimpleBar&&new t(e,t.getElOptions(e))}))}),Array.prototype.forEach.call(e.removedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?t.SimpleBar&&t.SimpleBar.unMount():Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){t.SimpleBar&&t.SimpleBar.unMount()}
11296))})})}),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.getElOptions=function(t){return Array.prototype.reduce.call(t.attributes,function(t,e){var i=e.name.match(/data-simplebar-(.+)/);if(i){var r=i[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t},{})},t.removeObserver=function(){this.globalObserver.disconnect()},t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.SimpleBar||new t(e,t.getElOptions(e))})},t.getOffset=function(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){this.el.SimpleBar=this,nr&&(this.initDOM(),this.scrollbarWidth=sr(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.el.querySelector("."+this.classNames.contentWrapper),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.contentEl=this.el.querySelector("."+this.classNames.contentEl),this.placeholderEl=this.el.querySelector("."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.el.querySelector("."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),i=document.createElement("div");e.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),e.appendChild(i),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onWindowResize),this.resizeObserver=new rr(this.recalculate),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl)},e.recalculate=function(){var t=this.heightAutoObserverEl.offsetHeight<=1,e=this.heightAutoObserverEl.offsetWidth<=1;this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction,this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft,this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=e?this.contentEl.offsetWidth+"px":"auto",this.placeholderEl.style.height=this.contentEl.scrollHeight+"px",this.axis.x.isOverflowing=this.contentWrapperEl.scrollWidth>this.contentWrapperEl.offsetWidth,this.axis.y.isOverflowing=this.contentWrapperEl.scrollHeight>this.contentWrapperEl.offsetHeight,this.axis.x.isOverflowing="hidden"!==this.elStyles.overflowX&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==this.elStyles.overflowY&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar(),this.axis.x.track.rect=this.axis.x.track.el.getBoundingClientRect(),this.axis.y.track.rect=this.axis.y.track.el.getBoundingClientRect(),this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){void 0===t&&(t="y");var e,i=this.scrollbarWidth?this.contentWrapperEl[this.axis[t].scrollSizeAttr]:this.contentWrapperEl[this.axis[t].scrollSizeAttr]-this.minScrollbarWidth,r=this.axis[t].track.rect[this.axis[t].sizeAttr];if(this.axis[t].isOverflowing){var n=r/i;return e=Math.max(~~(n*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e}},e.positionScrollbar=function(e){void 0===e&&(e="y");var i=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.rect[this.axis[e].sizeAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.axis[e].scrollbar,o=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],a=(o="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-o:o)/(i-n),l=~~((r-s.size)*a);l="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?l+(r-s.size):l,s.el.style.transform="x"===e?"translate3d("+l+"px, 0, 0)":"translate3d(0, "+l+"px, 0)"},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,i=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none"},e.hideNativeScrollbar=function(){if(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+(this.scrollbarWidth||this.minScrollbarWidth)+"px":0,!this.scrollbarWidth){var t=[this.isRtl?"paddingLeft":"paddingRight"];this.contentWrapperEl.style[t]=this.axis.y.isOverflowing||this.axis.y.forceVisible?this.minScrollbarWidth+"px":0,this.contentWrapperEl.style.paddingBottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?this.minScrollbarWidth+"px":0}},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var i=this.axis[e].scrollbar.el,r="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=r-i.getBoundingClientRect()[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.removeListeners=function(){var t=this;this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick","touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),this.el.SimpleBar=null},e.isChildNode=function(t){return null!==t&&(t===this.el||this.isChildNode(t.parentNode))},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},t}();
11296return or.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},nr&&or.initHtmlApi(),or});; 11297/* 11298########################################## 11299Fichier JS injecté dans tout le site en FO 11300Déclaré dans le plugin.prop 11301########################################## 11302*/ 11303jQuery(document).ready(function($) { 11304// Supprime la balise <jalios:link class="restricted-access"p> qui ne peut être affiché dans le contexte courant (avec le texte '(Lien en accès restreint)') dans les wysiwyg en FO 11305// Concerne les liens que l'utilisateur n'a pas le droit de consulter 11306jQuery('.wysiwyg .restricted-access').remove(); 11307// Ajout classe noSingleSubmitButton balise form FAQ Dynamique 11308// Afin de palier le fait de mettre un disable à tous les balises qui ont la classe btn lors du submit du formulaire 11309jQuery("#st-faq FORM").addClass("noSingleSubmitButton"); 11310// Jquery récupéré de la maquette html de landing page 11311// Ajout custom de [class*="btn"] pour ne cibler que les liens avec "#" pour les cta de lien/application 11312// On n'impacte pas les liens ancres des notes. 11313// Ce code permet d'avoir une transition douce vers l'élément ciblé 11314jQuery('a[href*="#"][class*="btn"]:not([href="#"])').click(function() { 11315if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 11316var target = jQuery(this.hash); 11317target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']'); 11318if (target.length) { 11319jQuery('html,body').animate({ 11320scrollTop: target.offset().top - 100 11321}, 800); 11322return false; 11323} 11324} 11325}); 11326// A11Y - Méthode ajoutant l'attribut aria-hidden="true" sur les iframes GTM 11327setTimeout(() => { 11328const iframes = $('IFRAME[name="__tcfapiLocator"], IFRAME[id^="universal_pixel"]'); 11329// Vérifier si des éléments ont été trouvés 11330if (iframes.length > 0) { 11331iframes.each(function() { 11332$(this).attr('aria-hidden', 'true'); 11333}); 11334} else { 11335console.warn('Aucun iframe correspondant trouvé.'); 11336} 11337}, 3000); 11338});// End jQuery(document).ready; 11339(function( $ ){ 11340window.initMainJS = function() { 11341///////////////////////// 11342// sticky menu 11343///////////////////////// 11344// Hide Header on on scroll down 11345var didScroll; 11346var lastScrollTop = 0; 11347var delta = 5; 11348var navbarHeight = $('header').outerHeight(); 11349$(window).scroll(function(event){ 11350didScroll = true; 11351}); 11352setInterval(function(e) { 11353if (didScroll) { 11354hasScrolled(); 11355didScroll = false; 11356} 11357}, 250); 11358function hasScrolled() { 11359var st = $(this).scrollTop(); 11360// Make sure they scroll more than delta 11361if(Math.abs(lastScrollTop - st) <= delta) 11362return; 11363if (st > lastScrollTop && st > navbarHeight){ 11364// Scroll Down 11365$('header').removeClass('nav_down').addClass('nav_up'); 11366if($('.main_li').hasClass('show')){ 11367$('.main_li').removeClass('show'); 11368$('.main_li').find('.main_drop').removeClass('show'); 11369} 11370// if($('header .dropdown').hasClass('show')){ 11371// $('header .dropdown').removeClass('show'); 11372// $('header .dropdown').find('.dropdown-menu').removeClass('show'); 11373// } 11374if($('header .d_espace').hasClass('show')){ 11375$('header .d_espace').dropdown('toggle'); 11376} 11377} else { 11378// Scroll Up 11379$('header').removeClass('nav_up').addClass('nav_down'); 11380if(st + $(window).height() <= $(document).height()) { 11381$('header').removeClass('nav_up').addClass('nav_down'); 11382} 11383} 11384lastScrollTop = st; 11385} 11386///////////////////////// 11387// mobile menu & megamenu 11388///////////////////////// 11389// $('.mobile_menu_inner .dropdown').on({ 11390// "shown.bs.dropdown": function() { this.closable = false; }, 11391// "click": function() { this.closable = true; }, 11392// "hide.bs.dropdown": function() { return this.closable; } 11393// }); 11394$('.main_li.dropdown').on({ 11395"shown.bs.dropdown": function() { 11396$('body').addClass('no_scroll'); 11397}, 11398"hide.bs.dropdown": function() { 11399$('body').removeClass('no_scroll'); 11400} 11401}); 11402/// prevent dropdown close when clicking on link 11403$('.dropdown-menu a').on("click", function(event) { 11404event.stopPropagation(); 11405}); 11406/// open first level dropdown 11407$('.level_one_drop').on('click', function(){ 11408var fullHeight = $(this).next().innerHeight(), 11409secDrop = $(this).next().find('.secondary_drop'); 11410$(secDrop).css('height', fullHeight); 11411}); 11412/// open 2nd level dropdowns 11413$('.sec_drop_toggle').on('click', function(e){ 11414var elementOffset = $(this).offset().top, 11415headerHeight = $('header').innerHeight(); 11416distance = (elementOffset - headerHeight);
11417$(this).parent().addClass('active'); 11418$(this).next().css('top', '-'+distance+'px'); 11419}); 11420// Gestion du clic sur un bouton de menu de premier niveau 11421$('.level_one_drop').on('click', function() { 11422var $button = $(this); 11423var $mainLi = $button.closest('.main_li'); 11424// Ajoute ou retire la classe 'open' sur le li parent 11425$mainLi.toggleClass('open'); 11426// Vérifie s'il y a des sous-éléments de menu 11427var $subMenu = $mainLi.find('.dropdown-menu:first'); 11428if ($subMenu.length) { 11429var $firstLi = $subMenu.find('li:first'); 11430// Ajoute les classes 'open' et 'active' au premier élément s'il n'y a aucun élément actif 11431if (!$subMenu.find('li.open').length) { 11432$subMenu.find('li').removeClass('active'); 11433$subMenu.find('li').removeClass('open'); 11434$firstLi.addClass('active'); 11435$firstLi.addClass('open'); 11436} 11437} 11438}); 11439// Gestion du clic sur un bouton de sous-menu (deuxième niveau) 11440$('.sec_drop_toggle').on('click', function() { 11441var $button = $(this); 11442var $currentLi = $button.closest('li'); 11443var $parentMenu = $button.closest('.dropdown-menu'); 11444// Vérifie si l'élément actuel a déjà les classes 'active' et 'open' 11445if (!$currentLi.hasClass('open')) { 11446// Ajoute ou retire la classe 'active' et 'open' sur le li parent 11447$currentLi.toggleClass('open'); 11448$currentLi.toggleClass('active'); 11449} 11450// Enlève les classes 'active' et 'open' des autres éléments frères 11451$parentMenu.find('li').not($currentLi).removeClass('active'); 11452$parentMenu.find('li').not($currentLi).removeClass('open'); 11453}); 11454// Observer les changements de classe sur .main_li.dropdown.megamenu 11455function observeDropdownChanges() { 11456$('.main_li.dropdown.megamenu').each(function() { 11457let targetNode = this; 11458let observer = new MutationObserver((mutationsList) => { 11459mutationsList.forEach((mutation) => { 11460if (mutation.attributeName === "class") { 11461let $element = $(mutation.target); 11462if ($element.hasClass('show')) { 11463$element.addClass('open'); 11464} else { 11465$element.removeClass('open'); 11466} 11467} 11468}); 11469}); 11470observer.observe(targetNode, { attributes: true }); 11471}); 11472} 11473// Lancer l'observer au chargement 11474observeDropdownChanges(); 11475/// nested dropdown 11476$(".dropdown-menu [data-toggle='dropdown']").on("click", function(event) { 11477event.preventDefault(); 11478event.stopPropagation(); 11479if($(this).next().hasClass('show')){ 11480event.preventDefault(); 11481event.stopPropagation(); 11482}else{ 11483if($(this).parent().parent().find('.show') && $(this).parent().parent().find('.active') ){ 11484$(this).parent().parent().find('.show').removeClass('show'); 11485$(this).parent().parent().find('.active').removeClass('active'); 11486} 11487$(this).parent().addClass('active'); 11488$(this).siblings().toggleClass("show"); 11489} 11490$(this).parents('.main_drop.dropdown.show').on('hidden.bs.dropdown', function(e) { 11491$('.dropdown-submenu .show').removeClass("show"); 11492}); 11493}); 11494///////////////////////// 11495// Menu - Choix de l'espace 11496///////////////////////// 11497// Ajout / Suppression de la classe 'open' si la classe 'show' est ajoutée / supprimée 11498const observerSelectSpace = new MutationObserver((mutations) => { 11499for (const mutation of mutations) { 11500const dropdown = mutation.target; 11501if (dropdown.classList.contains('show') && !dropdown.classList.contains('open')) { 11502dropdown.classList.add('open'); 11503} 11504if (!dropdown.classList.contains('show') && dropdown.classList.contains('open')) { 11505dropdown.classList.remove('open'); 11506} 11507} 11508}); 11509// Déclaration pour desktop 11510if ($('.dropdown.d_espace')[0]) { 11511observerSelectSpace.observe($('.dropdown.d_espace')[0], { 11512attributes: true, 11513class: true, 11514childList: false, 11515subtree: false 11516}); 11517} 11518// Déclaration pour mobile 11519if ($('.dropdown.espace_drop_wrapper')[0]) { 11520observerSelectSpace.observe($('.dropdown.espace_drop_wrapper')[0], { 11521attributes: true, 11522class: true, 11523childList: false, 11524subtree: false 11525}); 11526} 11527function closeEspaceMobileDrop(){ 11528$('.btn_drop_espace').removeClass('active'); 11529$('.btn_drop_espace').parent().parent().find('.container').removeClass('hide'); 11530} 11531// espace pro dropdown 11532$('.btn_drop_espace').on('click', function(){ 11533if(!$('.btn_drop_espace').hasClass('active')){ 11534$('.btn_drop_espace').addClass('active'); 11535$('.btn_drop_espace').parent().parent().find('.container').addClass('hide'); 11536}else{ 11537closeEspaceMobileDrop(); 11538} 11539});
11540///////////////////////// 11541// Fin - Menu - Choix de l'espace 11542///////////////////////// 11543///////////////////////// 11544// mobile burger menu 11545///////////////////////// 11546// A11Y : "display: none;" obligatoire pour ne pas accéder au clavier 11547// - Affichage / Masquage en 2 temps pour garder l'animation (CSS display puis classe active) 11548// - Utilisation du setTimeout que le changement de display n'affecte pas la transition 11549$('.menu_wrapper').click(function(){ 11550closeEspaceMobileDrop(); 11551if(!$(this).hasClass('active')){ 11552$('.mobile_menu_wrapper').css('display', 'block'); 11553setTimeout(() => { 11554$('body').addClass('no_scroll'); 11555$('.menu_wrapper , .mobile_menu_wrapper').addClass('active'); 11556$('.top_bar').addClass('push'); 11557}, "50"); 11558}else{ 11559$('body').removeClass('no_scroll'); 11560$('.menu_wrapper , .mobile_menu_wrapper').removeClass('active'); 11561$('.top_bar').removeClass('push'); 11562setTimeout(() => { $('.mobile_menu_wrapper').css('display', 'none') }, "50"); 11563} 11564}); 11565///////////////////////// 11566// mobile menu 11567///////////////////////// 11568// fit height for dropdown menus 11569$('.mobile_nav .dropright .dropdown-toggle').on('click', function(){ 11570var height = $(this).next().innerHeight(); 11571if($(this).attr('aria-expanded','false')){ 11572$('.mobile_nav').height(height); 11573} 11574else{ 11575$('.mobile_nav').height('100%'); 11576} 11577}); 11578/// navigate back in dropdown menu 11579$('.dropdown-menu .bck_btn').on('click', function(){ 11580var height = $(this).closest('ul').parent().innerHeight(); 11581event.preventDefault(); 11582event.stopPropagation(); 11583$(this).parent().removeClass('show'); 11584$(this).parent().parent().removeClass('show'); 11585if($(this).closest('ul').parent().hasClass('mobile_nav')){ 11586$('.mobile_nav').height('100%'); 11587}else{ 11588$('.mobile_nav').height(height); 11589} 11590}); 11591///////////////////////// 11592// footer popup 11593///////////////////////// 11594$(window).scroll(function(){ 11595if ($(this).scrollTop() > 80){ 11596$('.contact_bubble_wrapper').addClass("show"); 11597} 11598else{ 11599$('.contact_bubble_wrapper').removeClass("show"); 11600} 11601}); 11602$('.contact_cta_bubble').click(function(){ 11603if(!$(this).parent().hasClass('active')){ 11604$(this).parent().addClass('active'); 11605$('.close_msg').parent().addClass('hide'); 11606}else{ 11607$(this).parent().removeClass('active'); 11608} 11609}); 11610$('.close_msg').click(function(){ 11611if(!$(this).parent().hasClass('hide')){ 11612$(this).parent().addClass('hide'); 11613// $(this).parent().next().children('.msg_count').addClass('show'); 11614} 11615}); 11616///////////////////////////////// 11617// Check if mobile 11618///////////////////////////////// 11619function isMobile(){ 11620var checkScreen = window.innerWidth; 11621if(checkScreen < 768){ 11622return true; 11623}else{ 11624return false; 11625} 11626} 11627///////////////////////// 11628// filter categories 11629///////////////////////// 11630$('.btn_filter').on('click', function(){ 11631var target = $(this).attr('data-target'), 11632items = $('.filter_item'), 11633headerHeight = $('.main_nav').height(), 11634targetOffset = headerHeight + 20, 11635dataTargetName = $(this).attr('data-target-name'), 11636dataTargetDefaultName = $(this).attr('data-target-default-name'); 11637if(!$(this).hasClass('active')){ 11638$('.btn_filter').removeClass('active'); 11639$(this).addClass('active'); 11640items.each(function(i, el) { 11641var el = $(this) 11642if( el.hasClass(target)){ 11643el.removeClass('hide'); 11644}else{ 11645el.addClass('hide'); 11646} 11647}); 11648$('html, body').stop().animate({ 11649scrollTop: $('.filter_wrapper, .box_slider_wrapper').offset().top - targetOffset +'px' 11650}, 500); 11651}else{ 11652$(this).removeClass('active'); 11653items.each(function(i, el) { 11654var el = $(this) 11655el.removeClass('hide') 11656}); 11657} 11658// /!\SURCHARGE/!\ 11659// Ajout d'un texte pour pouvoir vocaliser le choix de categorie lors du clic sur le bouton (ajout var dataTargetName) 11660// Si on defiltre on remet la balise avec le choix par defaut (present dans la div container) 11661if (!$(".btn_choix_categ").hasClass("active")) { 11662$(".containerPhraseFocus").html("<p class='defaultChoice accessi' tabindex='-1'></p>"); 11663$(".defaultChoice").text("Choix par défaut " + dataTargetDefaultName); 11664$(".phraseFocus").remove(); 11665} else { 11666$(".containerPhraseFocus").html("<p class='phraseFocus accessi' tabindex='-1'></p>"); 11667$(".phraseFocus").text("Vous avez choisi " + dataTargetName); 11668$(".phraseFocus").focus(); 11669$(".defaultChoice").remove(); 11670} 11671}); 11672///////////////////////// 11673// Show more items 11674///////////////////////// 11675$.fn.loadedItemIsInViewport = function() { 11676var elementTop = $(this).offset().top; 11677var elementHeight = $(this).outerHeight(true); 11678var elementBottom = elementTop + $(this).outerHeight(true); 11679var viewportTop = $(window).scrollTop(); 11680var viewportBottom = viewportTop + $(window).height(); 11681if(elementBottom > viewportTop && (elementTop + elementHeight) < viewportBottom){ 11682return true; 11683}else if ( (elementTop + elementHeight) < viewportBottom){ 11684return '2'; 11685}else{ 11686return '1'; 11687} 11688}; 11689function checkItemPos(e){ 11690var itemHeight = e.height(), 11691btnTop = e.offset().top, 11692scrollTop = $(window).scrollTop(), 11693windowHeight = $(window).height(), 11694speed = 700, 11695offset; 11696if (itemHeight < windowHeight) { 11697offset = btnTop - ((windowHeight / 2) - (itemHeight / 2)); 11698} 11699else { 11700offset = btnTop; 11701} 11702if(e.loadedItemIsInViewport() === '1'){ 11703$('html, body').animate({scrollTop:offset}, speed); 11704}else if(e.loadedItemIsInViewport() === '2'){ 11705$('html, body').animate({scrollTop:offset}, speed); 11706} 11707}
11708//BADRVCF-835 : Affichage du libelle "Voir plus " lorsqu'il n'y a pas de categorie 11709$('.show_more').on('click', function(e){ 11710var btn = $(this), 11711btnTop = $(this).offset().top, 11712loadMore = $(this).parent().prev(), 11713loadLess = loadMore.prev(), 11714mainItem = loadLess.prev(), 11715loadMoreItems = loadMore.find('.loaded_item'), 11716loadLessItems = loadLess.find('.loaded_item'), 11717srNewItems = $(loadLess).find('.new_items'); 11718category = btn.data('category'); 11719// Mode mobile : 1 élément à la fois 11720if(isMobile() && loadMoreItems.length>1){ 11721$(loadMoreItems[0]).appendTo(loadLess).hide().slideDown('slow'); 11722//checkItemPos($(loadMoreItems[0])); 11723}else if(isMobile() && loadMoreItems.length === 1){ 11724$(loadMoreItems[0]).appendTo(loadLess).hide().slideDown('slow'); 11725//checkItemPos($(loadMoreItems[0])); 11726if(category == null){ 11727$(this).html('Voir moins '); 11728}else{ 11729$(this).html('Afficher moins ' + category); 11730} 11731// Debut Fix maquette: BADRVCF-252: Si un nombre impair d'elements devait etre affiche, le bouton "voir +" ne fonctionnait pas 11732}else if(!isMobile() && loadMoreItems.length === 1){ 11733$(loadMoreItems[0]).appendTo(loadLess).hide().slideDown('slow'); 11734//checkItemPos($(loadMoreItems[0])); 11735srNewItems.attr('aria-hidden','false'); 11736srNewItems.focus(); 11737if(category == null){ 11738$(this).html('Voir moins '); 11739}else{ 11740$(this).html('Afficher moins ' + category); 11741} 11742// Fin fix maquette: BADRVCF-252 11743}else if(!isMobile() && loadMoreItems.length>2){ 11744$(loadMoreItems[0]).appendTo(loadLess).hide().slideDown('slow'); 11745$(loadMoreItems[1]).appendTo(loadLess).hide().slideDown('slow'); 11746//checkItemPos($(loadMoreItems[0])); 11747srNewItems.attr('aria-hidden','false'); 11748srNewItems.focus(); 11749}else if(!isMobile() && loadMoreItems.length === 2){ 11750$(loadMoreItems[0]).appendTo(loadLess).hide().slideDown('slow'); 11751$(loadMoreItems[1]).appendTo(loadLess).hide().slideDown('slow'); 11752//checkItemPos($(loadMoreItems[0])); 11753srNewItems.attr('aria-hidden','false'); 11754srNewItems.focus(); 11755if(category == null){ 11756$(this).html('Voir moins '); 11757}else{ 11758$(this).html('Afficher moins ' + category); 11759} 11760}else{ 11761$(loadLessItems).appendTo(loadMore) 11762if(category == null){ 11763$(this).html('Voir plus '); 11764}else{ 11765$(this).html('Afficher plus ' +category); 11766} 11767srNewItems.attr('aria-hidden','true'); 11768// Remonte au debut (1er item) 11769$('html, body').animate({ 11770scrollTop: $(mainItem).offset().top - 100 11771}, 600); 11772// Leger scroll vers le bas pour masquer la topbar 11773$('html, body').animate({ 11774scrollTop: $(mainItem).offset().top 11775}, 600); 11776} 11777}); 11778///////////////////////////////// 11779// Lazy load + object fit IE fix 11780///////////////////////////////// 11781// --- Lozad library not used anymore --- 11782// const observer = lozad(); // lazy loads elements with default selector as '.lozad' 11783// observer.observe(); 11784objectFitImages(); 11785$('[data-toggle="tooltip"]').tooltip(); 11786} 11787})(jQuery); 11788document.addEventListener('DOMContentLoaded', function () { 11789window.initMainJS(); 11790}); 11791; 11792jQuery(document).ready(function(a){jQuery("span[class~='note']").addClass("exp")});; 11793// Fonction pour lire un cookie par son nom 11794function getCookie(name) { 11795const value = `; ${document.cookie}`; 11796const parts = value.split(`; ${name}=`); 11797if (parts.length === 2) return parts.pop().split(';').shift(); 11798} 11799// Activation de l'opt-out' 11800function optoutActivate(vendor) { 11801if (typeof Didomi !== 'undefined' && typeof Didomi.openTransaction === 'function') { 11802// Open Didomi Transaction 11803const transaction = Didomi.openTransaction(); 11804//Disable a vendor 11805transaction.disableVendor(vendor); 11806transaction.commit(); 11807console.log('Désactivation du vendor ' + vendor); 11808if (typeof pa !== 'undefined' && pa.privacy && typeof pa.privacy.setMode === 'function') { 11809pa.privacy.setMode('optout'); 11810console.log('Mode de confidentialité défini sur "optout".'); 11811} else { 11812console.error('pa.privacy.setMode n\'est pas disponible.'); 11813} 11814} else { 11815console.error('Didomi n\'est pas disponible ou la méthode openTransaction n\'existe pas.'); 11816} 11817} 11818// Desactivation de l'opt-out 11819function optoutDeactivate() { 11820if (typeof pa !== 'undefined' && pa.privacy && typeof pa.privacy.setMode === 'function') { 11821pa.privacy.setMode('exempt'); 11822console.log('Mode de confidentialité défini sur "exempt".'); 11823} else { 11824console.error('pa.privacy.setMode n\'est pas disponible.'); 11825} 11826} 11827// Pour chaque élément avec la classe privacy-div on remplace par une checkbox avec libellé 11828// Le texte de l'élément est mis dans le libellé 11829function createCheckboxes() { 11830const privacyDivs = document.querySelectorAll('.privacy-div'); 11831let counter = 0;
11832privacyDivs.forEach(privacyDiv => { 11833if (privacyDiv) { 11834// Crée un nouvel élément input de type checkbox 11835const checkbox = document.createElement('input'); 11836checkbox.type = 'checkbox'; 11837checkbox.id = 'privacy-checkbox-' + counter; 11838checkbox.classList.add('privacy-checkbox'); 11839// Crée un nouvel élément label 11840const label = document.createElement('label'); 11841label.htmlFor = 'privacy-checkbox-' + counter; 11842label.textContent = privacyDiv.innerHTML; 11843// Vide le contenu du div existant 11844privacyDiv.innerHTML = ''; 11845// Ajoute la checkbox et le label au div existant 11846privacyDiv.appendChild(checkbox); 11847privacyDiv.appendChild(label); 11848counter++; 11849} 11850}); 11851} 11852document.addEventListener('DOMContentLoaded', function() { 11853// Création de <p id="privacy-div"><input type="checkbox" id="privacy-checkbox"><label for="privacy-checkbox">Opt-out</label></p> 11854createCheckboxes(); 11855// Récupère l'état de la checkbox à partir du cookie pa_privacy 11856const pa_privacy = getCookie('pa_privacy'); 11857const privacyCheckboxes = document.querySelectorAll('.privacy-checkbox'); 11858privacyCheckboxes.forEach(paCheckbox => { 11859if (paCheckbox != null) { 11860// Initialisation de la checkbox 11861if (pa_privacy && pa_privacy.includes('optout')) { 11862paCheckbox.checked = true; 11863} 11864// Ajoute un écouteur d'événements sur la case à cocher 11865paCheckbox.addEventListener('change', function() { 11866if (paCheckbox.checked) { 11867optoutActivate(jQuery.jalios.Properties.get('jcmsplugin.ArkeaTagManagerPlugin.tinymce.plugin.optout.piano.vendor')); 11868} else { 11869optoutDeactivate(); 11870} 11871// Mise à jour des autres checkboxes de la page 11872privacyCheckboxes.forEach(otherCheckbox => { 11873if (otherCheckbox !== paCheckbox) { 11874otherCheckbox.checked = paCheckbox.checked; 11875} 11876}); 11877}); 11878} 11879}); 11880}); 11881; 11882; 11883!(function(a){if(!a.jalios){a.jalios={}}if(!a.jalios.jportal){a.jalios.jportal={}}if(!a.jalios.jportal.utils){a.jalios.jportal.utils={}}a.jalios.jportal.utils={getJPortalId:function(){return a(".jportal-wrapper").data("jportal-id")},refreshJPortalCSS:function(){a.ajax({url:"jcore/jportal/action/jportalCSS.jsp?jportal="+a.jalios.jportal.utils.getJPortalId()}).done(function(b){a("style[data-jalios-jportal-style]").html(b)})}};a(document).ready(function(){a(document).on("jalios:refresh",function(b){if(b.refresh.type==="before"&&b.refresh.url=="jcore/portal/ajaxPortal.jsp"){b.refresh.options.params.Portal=a.jalios.jportal.utils.getJPortalId();if(a(b.refresh.target).closest(".jportal-wrapper").exists()){b.refresh.options.params.refreshJPortalPortlet=true}}})})})(window.jQuery);; 11884!(function(b){const a=function(){return b(".jportal-edit-portlet .nav-tabs li.active A").attr("href").slice(1)};b(document).ready(function(){b(document).on("change",".jportal-edit-portlet .template-chooser",function(d){var c=b("<input>",{type:"hidden",name:"currentTab",value:a()});b(".jportal-edit-portlet").append(c);b(d.currentTarget).refresh()})})})(window.jQuery);; 11885(function(h,j,k,d){var b=false;var a="";var f=h(".topbar-search-results-dummy");var c=function(){h(".topbar-search-overlay").addClass("full in");h("BODY").addClass("has-overlay");h("BODY").addClass("has-search-overlay")};var e=function(){h(".topbar-search-overlay").removeClass("full in");h("BODY").removeClass("has-overlay");h("BODY").removeClass("has-search-overlay")};var g=function(){h(".topbar-search-inner").each(function(m,n){var l=h(n);if(!l.find(".ajax-loading-component-waves").exists()){l.html("").displayLoadingWaves()}})};var i=function(){e();f.removeClass("is-searching");f.addClass("hide");h(k).off("keydown.jalios.topbar.search")};h(k).ready(function(){f.prependTo(h("BODY"));h(k).on("click",".topbar-search-close",function(l){i()});h(k).on("keydown",function(l){if(h(k.activeElement).is(".topbar-search-close")&&(l.keyCode===13||l.keyCode===32)){i();l.preventDefault()}});h(k).on("keyup",function(l){switch(l.keyCode){case 27:i();break}});h(k).on("click",".btn-full-search",function(m){var l=h(".topbar-search-wrapper FORM");l.submit()});h(k).on("click",".topbar-search-overlay",function(l){i()});h(k).on("input change propertychange",".topbar-search-query",function(o){var q=h(o.currentTarget);var m=h(o.currentTarget).closest(".topbar-search-wrapper");var n=h(o.currentTarget).data("jalios-ajax-refresh-url");var p=o.target.value;var l=q.attr("data-ac-min-length")||h.jalios.Properties.get("autocomplete-min-chars");if(p.length<l){a=""}if(p===a){return}if(p.length<l){c();f.addClass("is-searching");f.removeClass("hide");setTimeout(function(){g();var r=f.find(".topbar-search-inner .ajax-loading-component-waves");var s=f.find(".topbar-search-inner").data("jalios-loading-label");if(!r.find(".loading-label").exists()){r.append(h("<SPAN/>").addClass("loading-label").text(s))}},400);return}else{c();f.addClass("is-searching");f.removeClass("hide");setTimeout(function(){g()},400)}if(b){clearTimeout(b)}b=setTimeout(function(){h(k).off("keydown.jalios.topbar.search");a=p;
11885h.jalios.AjaxRefresh.refresh(n,h(".topbar-search-results-dummy .search-global"),{params:{autocomplete:p},noscroll:true,nohistory:true,callback:function(){let focusInformation=h.jalios.a11y.getFocusInformation(h(".topbar-search-inner"));h(k).on("keydown.jalios.topbar.search",function(r){if(r.keyCode===9&&!(r.shiftKey|r.ctrlKey|r.metaKey|r.altKey)){if(h(r.target).hasClass("topbar-search-close")){r.preventDefault();h("#a11y-global-search").focus()}else{if(h(r.target).hasClass("topbar-search-query")){r.preventDefault();h(focusInformation.firstFocusableElement).focus()}}}if(r.keyCode===13&&h(r.target).hasClass("topbar-search-close")){i();r.preventDefault();h("#a11y-global-search").focus()}});h(".topbar-search-results-wrapper").each(function(r,s){new PerfectScrollbar(s,{suppressScrollX:true})})}});b=false},h.jalios.Properties.get("autocomplete-chooser-timeout"))})})})(jQuery,window,document);; 11886const prefixIdInputSearch = 'search-input-'; 11887const prefixIdInputSearchSelector = 'INPUT[id^=' + prefixIdInputSearch + ']'; 11888const prefixIdResWrapper = 'topbarSearchResults-'; 11889const prefixIdResWrapperSelector = 'DIV[id^=' + prefixIdResWrapper + ']'; 11890var isResultListVisible = false; 11891// Les deux topbar (mobile & desktop) sont chargées dans le DOM 11892// Il y a un conflit avec les champs de recherche et l'affichage des résultats 11893// Fonction cachant le conteneur des résultats de recherche en double 11894function hideResWrapper() { 11895let topbarWrapperToRemoved = '.mobile_menu_wrapper'; 11896if (window.innerWidth <= 1020) { 11897topbarWrapperToRemoved = '.top_bar'; 11898} 11899// Réinitialisation de tous les wrappers 11900let resWrapperList = document.querySelectorAll(prefixIdResWrapperSelector); 11901Array.from(resWrapperList).forEach((resWrapper) => { 11902resetSearchResults(resWrapper); 11903}); 11904// Récupération de l'id de l'input de recherche à cacher 11905let resWrapper = getLinkedResWrapper(document.querySelector(topbarWrapperToRemoved + ' ' + prefixIdInputSearchSelector)); 11906hideSearchResults(resWrapper); 11907} 11908// Gestion de l'attribut "aria-expanded" & "aria-activedescendant" 11909function initializeSearchObserver() { 11910// Récupération du Wrapper des résultats 11911let resWrapper = document.querySelectorAll(prefixIdResWrapperSelector); 11912// Fonction à exécuter à chaque modification d'affichage des résultats de recherche 11913const observer = new MutationObserver((mutations) => { 11914for (const mutation of mutations) { 11915// Récupération de la balise parent des résultats de recherche 11916let targetWrapper = mutation.target; 11917if (!mutation.target.classList.contains('search-global-wrapper')) { 11918targetWrapper = targetWrapper.closest('.search-global-wrapper'); 11919} 11920if (!targetWrapper.className.includes('hide')) { 11921// On recharge les fonctions car le contenu des résultats est rechargé à chaque nouveau caractère (autocomplete) 11922handleResNav(targetWrapper); 11923handleSearchItemsFocus(); 11924} 11925// Modification de l'input associé en fonction de l'id 11926updateInputSearchAria(getLinkedInputSearch(targetWrapper), targetWrapper); 11927} 11928}); 11929// Déclaration de l'observer 11930Array.from(resWrapper).forEach((resWrapper) => { 11931observer.observe(resWrapper, { 11932attributes: true, 11933class: true, 11934subtree: true 11935}); 11936}); 11937} 11938// Mise à jour des champs 'aria-expanded' et 'aria-activedescendant' de l'input en paramètre' 11939function updateInputSearchAria(inputSearch, resWrapper) { 11940if (inputSearch && resWrapper) { 11941if (resWrapper.checkVisibility()) { 11942inputSearch.setAttribute('aria-expanded', 'true'); 11943} else { 11944inputSearch.setAttribute('aria-expanded', 'false'); 11945inputSearch.setAttribute('aria-activedescendant', ''); 11946} 11947let resultItem = resWrapper.getElementsByClassName('topbar-search-result-item'); 11948Array.from(resultItem).forEach((result) => { 11949result.addEventListener('focus', (event) => { 11950inputSearch.setAttribute('aria-activedescendant', event.target.closest('LI').id); 11951}); 11952}); 11953} 11954} 11955// Gestion des focus entre les inputs de recherche et les résultats de recherche 11956function handleSearchItemsFocus() { 11957// Liste des inputs de recherche 11958let inputSearchList = document.querySelectorAll(prefixIdInputSearchSelector); 11959// Liste des wrappers des résultats de recherche
11960let resWrapperList = document.querySelectorAll(prefixIdResWrapperSelector); 11961// Gestion du focus des inputs vers les résultats de recherche 11962Array.from(inputSearchList).forEach((inputSearch) => { 11963inputSearch.addEventListener('keydown', (event) => { 11964if (event.key === 'ArrowDown' || event.key === 'Tab') { 11965let resWrapper = getLinkedResWrapper(event.target); 11966if (resWrapper && resWrapper.checkVisibility()) { 11967let firstRes = resWrapper.querySelector('*[role="option"] A, .text-one'); 11968// Vérifiez si firstRes est trouvé avant d'essayer de le focaliser 11969if (firstRes) { 11970event.preventDefault(); 11971setTimeout(() => { 11972if (firstRes.classList.contains('text-one')) { 11973firstRes.setAttribute('tabindex', '-1'); 11974} 11975firstRes.focus(); 11976}, 100); 11977} 11978} 11979} 11980}); 11981}); 11982// Gestion du focus des résultats de recherche vers les inputs si : 11983// - appuie sur Echap 11984// - clic sur la croix 11985// - clic sur un autre endroit de la page 11986Array.from(resWrapperList).forEach((resWrapper) => { 11987let inputSearch = getLinkedInputSearch(resWrapper); 11988resWrapper.addEventListener('keydown', (event) => { 11989if (event.key === 'Escape') { 11990focusInput(inputSearch); 11991} 11992}); 11993resWrapper.getElementsByClassName('topbar-search-close')[0].addEventListener('click', (event) => { 11994focusInput(inputSearch); 11995}); 11996resWrapper.getElementsByClassName('topbar-search-close')[0].addEventListener('keydown', (event) => { 11997if (event.key === 'Enter') { 11998focusInput(inputSearch); 11999} 12000}); 12001document.addEventListener('click', (event) => { 12002focusInput(inputSearch); 12003}); 12004}); 12005}// Fin handleFocus(); 12006// Fonction forçant le focus sur l'INPUT en paramètre 12007function focusInput(inputSearch) { 12008if (inputSearch && isResultListVisible) { 12009event.preventDefault(); 12010inputSearch.focus(); 12011isResultListVisible = false; 12012} 12013} 12014// Gestion de la navigation circulaire dans les résultats de recherche 12015function handleResNav(resWrapper) { 12016if (resWrapper) { 12017let focusableItemList = resWrapper.querySelectorAll('A, BUTTON, .text-one'); 12018let resList = resWrapper.querySelectorAll('*[role="option"] A, .text-one'); 12019if (focusableItemList) { 12020// Premier résultat 12021let firstRes = resList[0]; 12022// Dernière résultat 12023let lastRes = resList[resList.length - 1]; 12024// Bouton "Croix" 12025let closingItem = resWrapper.getElementsByClassName('topbar-search-close')[0]; 12026// Bouton "Afficher plus" ou "Faire une recherche globale" si pas de résultats 12027let seeMoreItem = resWrapper.getElementsByClassName('btn_show_more')[0]; 12028if (!itemExists(seeMoreItem)) { 12029seeMoreItem = resWrapper.getElementsByClassName('btn-full-search')[0]; 12030} 12031// LES EVENEMENTS NE SONT PAS DECLARER POUR LE TEXT ONE ET TEXT TWO 12032// METTRE DANS LA LISTE DES ELEMENTS FOCUSABLE OU FAIRE UNE METHODE A PART ? 12033// DEUXIEME PEUT ETRE PLUS SIMPLE 12034Array.from(focusableItemList).forEach((res) => { 12035res.addEventListener('keydown', (event) => { 12036// Si navigation via 'flèche du bas' ou 'tab' 12037if (event.key === 'ArrowDown' || (event.key === 'Tab' && !event.shiftKey)) { 12038event.preventDefault(); 12039// Si on est sur la croix, focus sur le premier résultat 12040if (event.target === closingItem) { 12041if (itemExists(firstRes)) { 12042firstRes.focus(); 12043} 12044// Si on est sur le bouton "Voir plus", focus sur la croix 12045} else if (event.target === seeMoreItem) { 12046closingItem.focus(); 12047// Si on est sur un des résultats, focus sur le prochain résultat ou le bouton "Voir plus" (si existant sinon la croix) 12048} else { 12049let nextItem = jQuery(event.target.closest('LI')).next('LI').find('A'); 12050// S'il y a un autre élément de la liste on le focus 12051if (itemExists(nextItem)) { 12052nextItem[0].focus(); 12053} else { 12054nextItem = jQuery(event.target.closest('.topbar-search-results-container')).next('DIV').find('A'); 12055// S'il y a une autre liste, on focus le premier élément 12056if (itemExists(nextItem)) { 12057nextItem[0].focus(); 12058} else if (itemExists(seeMoreItem)) { 12059seeMoreItem.focus(); 12060} else { 12061closingItem.focus(); 12062} 12063} 12064} 12065// Si navigation via 'flèche du haut' ou 'shift + tab' 12066} else if (event.key === 'ArrowUp' || (event.key === 'Tab' && event.shiftKey)) { 12067event.preventDefault(); 12068// Si on est sur la croix, focus sur le bouton "Voir plus" (si existant sinon dernier résultat) 12069if (event.target === closingItem) { 12070if (itemExists(seeMoreItem)) { 12071seeMoreItem.focus(); 12072} else if (itemExists(lastRes)) { 12073lastRes.focus(); 12074} 12075// Si on est sur le bouton "Voir plus", focus sur le dernier résultat 12076} else if (event.target === seeMoreItem) { 12077if (itemExists(lastRes)) { 12078lastRes.focus(); 12079} 12080// Si on est sur un des résultats, focus sur le résultat précédent ou la croix 12081} else { 12082let prevItem = jQuery(event.target.closest('LI')).prev('LI').find('A'); 12083if (itemExists(prevItem)) { 12084prevItem[0].focus(); 12085} else { 12086prevItem = jQuery(event.target.closest('.topbar-search-results-container')).prev('DIV').find('A').last(); 12087if (itemExists(prevItem)) { 12088prevItem[prevItem.length - 1].focus(); 12089} else { 12090closingItem.focus(); 12091} 12092} 12093} 12094} 12095});// Fin event keydown 12096});// Fin forEach focusableItemList 12097} 12098} 12099} 12100// Fonction pour ne pas afficher la modal si moins de deux caractères entrés 12101function toggleSearchResultsVisibility() { 12102let searchInputs = document.querySelectorAll(prefixIdInputSearchSelector);
12103searchInputs.forEach((input) => { 12104input.addEventListener("input", function () { 12105let topbarWrapperToRemoved = '.mobile_menu_wrapper'; 12106if (window.innerWidth <= 1020) { 12107topbarWrapperToRemoved = '.top_bar'; 12108} 12109// Récupération de l'id de l'input de recherche pour identifier les résultats 12110let idPortlet = this.id.replace(prefixIdInputSearch, ''); 12111let searchResults = document.querySelectorAll('DIV[id=' + prefixIdResWrapper + idPortlet + ']'); 12112if (searchResults.length > 0) { 12113if (this.value.length < 2) { 12114searchResults.forEach((resWrapper) => { 12115hideSearchResults(resWrapper); 12116}); 12117} else { 12118searchResults.forEach((resWrapper) => { 12119showSearchResults(resWrapper); 12120}); 12121} 12122} 12123}); 12124}); 12125} 12126// Fonction cachant le conteneur des résultats de recherche en paramètre 12127function hideSearchResults(resWrapper) { 12128if (resWrapper) { 12129resWrapper.classList.add("hide"); 12130resWrapper.setAttribute("tabindex", "-1"); 12131resWrapper.setAttribute('style', 'display: none!important;'); 12132isResultListVisible = false; 12133} 12134} 12135// Fonction affichant le conteneur des résultats de recherche en paramètre 12136function showSearchResults(resWrapper) { 12137if (resWrapper) { 12138resWrapper.classList.remove("hide"); 12139resWrapper.removeAttribute("tabindex"); 12140resWrapper.removeAttribute("style"); 12141isResultListVisible = true; 12142} 12143} 12144// Fonction réinitialisant le conteneur de résultats à son état d'origine 12145function resetSearchResults(resWrapper) { 12146if (resWrapper) { 12147resWrapper.classList.add('hide'); 12148resWrapper.removeAttribute('style'); 12149resWrapper.removeAttribute('tabindex'); 12150isResultListVisible = false; 12151} 12152} 12153// Fonction récupérant le conteneur de résultats de recherche en fonction de l'INPUT associé 12154function getLinkedResWrapper(input) { 12155if (input) { 12156let idPortlet = input.id.replace(prefixIdInputSearch, ''); 12157return document.getElementById(prefixIdResWrapper + idPortlet); 12158} 12159} 12160// Fonction récupérant l'INPUT de recherche en fonction du conteneur de résultats de recherche associé 12161function getLinkedInputSearch(resWrapper) { 12162if (resWrapper) { 12163let idPortlet = resWrapper.id.replace(prefixIdResWrapper, ''); 12164return document.getElementById(prefixIdInputSearch + idPortlet); 12165} 12166} 12167// Fonction vérifiant l'existance d'une élément 12168function itemExists(item) { 12169return item && item.length != 0; 12170} 12171// A11Y - Fonction cachant les résultats de recherche au clic sur l'INPUT 12172function hideSearchResultsOnClick() { 12173// Récupération de tous les INPUT de recherche 12174const inputSearchList = document.querySelectorAll(prefixIdInputSearchSelector); 12175Array.from(inputSearchList).forEach((inputSearch) => { 12176// Au clic sur l'INPUT, on cache le conteneur de résultats de recherche associé 12177inputSearch.addEventListener('click', function() { 12178let resWrapper = getLinkedResWrapper(inputSearch); 12179hideSearchResults(resWrapper); 12180}); 12181}); 12182} 12183// Initilisation des fonctions 12184initializeSearchObserver(); 12185handleSearchItemsFocus(); 12186toggleSearchResultsVisibility(); 12187hideSearchResultsOnClick(); 12188setTimeout(() => { 12189hideResWrapper(); 12190}, "2000"); 12191window.addEventListener("resize", (event) => { 12192hideResWrapper(); 12193}); 12194; 12195!(function(a){var b;a.fn.displayLoadingWaves=function(){var c=a(this);if(c.find(".ajax-loading-component-waves").length===0){c.prepend("<div class='ajax-loading-component-waves'></div>")}let $ajaxLoadingComponentWaves=c.find(".ajax-loading-component-waves");if($ajaxLoadingComponentWaves.is(":empty")&&b){$ajaxLoadingComponentWaves.append(b())}return c};a(document).ready(function(){b=Handlebars.compile(a("#jalios-loading-wave").html())})})(window.jQuery);; 12196window.initAccordionMobileNav = function() { 12197// Sélectionner tous les éléments nécessaires 12198let btnFirstLvl = document.querySelectorAll('.mobile_nav LI.accordion .accordion-menu'); 12199let btnSecondLvl = document.querySelectorAll('.mobile_nav .sec_ul .accordion-submenu .accordion-menu'); 12200function initializeNavObserver() { 12201const observer = new MutationObserver((mutations) => { 12202for (const mutation of mutations) { 12203let btn = mutation.target; 12204let link = btn.parentElement.querySelector("A, BUTTON"); 12205if (btn.parentElement.classList.contains('show') && !btn.parentElement.classList.contains('open')) { 12206btn.parentElement.classList.add('open'); 12207link.focus(); 12208link.setAttribute('aria-expanded', 'true'); 12209} else if (!btn.parentElement.classList.contains('show') && btn.parentElement.classList.contains('open')) { 12210btn.parentElement.classList.remove('open'); 12211link.focus(); 12212link.setAttribute('aria-expanded', 'false'); 12213} 12214} 12215}); 12216if (btnFirstLvl) { 12217Array.from(btnFirstLvl).forEach((btnFirstLvlItem) => { 12218observer.observe(btnFirstLvlItem, { 12219attributes: true 12220}); 12221}); 12222} 12223if (btnSecondLvl) { 12224Array.from(btnSecondLvl).forEach((btnSecondLvlItem) => { 12225observer.observe(btnSecondLvlItem, { 12226attributes: true 12227}); 12228}); 12229} 12230} 12231// Sélectionner uniquement les <a> et <button> dans les accordéons 12232document.querySelectorAll('.mobile_nav a, .mobile_nav button').forEach(element => { 12233element.addEventListener('click', function (event) { 12234event.preventDefault(); 12235handleButtonClick(this); 12236}); 12237element.addEventListener('keydown', function (event) { 12238// Vérifier si les touches ENTER ou ESPACE sont pressées 12239if (event.key === 'Enter' || event.key === ' ') { 12240event.preventDefault(); 12241handleButtonClick(this); 12242} 12243}); 12244}); 12245// Gestionnaire pour le bouton de premier niveau et link 12246function handleButtonClick(button) { 12247const liElement = button.closest('li'); 12248const subMenu = liElement.querySelector('.accordion-menu'); 12249// Vérifier si l'élément qui a été cliqué est un lien 12250if (button.classList.contains('accordion-toggle')) { 12251// Fermer les autres sous-menus 12252liElement.parentElement.querySelectorAll('li').forEach(function (sibling) { 12253if (sibling !== liElement) { 12254sibling.classList.remove('active'); 12255sibling.classList.remove('show'); 12256const siblingSubMenu = sibling.querySelector('.accordion-menu'); 12257if (siblingSubMenu) { 12258siblingSubMenu.classList.remove('show'); 12259} 12260const siblingLink = sibling.querySelector('A, BUTTON'); 12261if(siblingLink) { 12262siblingLink.setAttribute('aria-expanded', 'false'); 12263} 12264} 12265}); 12266if (liElement.classList.contains('active')) { 12267liElement.classList.remove('active'); 12268liElement.classList.remove('show'); 12269if (subMenu) { 12270subMenu.classList.remove('show'); 12271} 12272} else { 12273liElement.classList.add('active'); 12274liElement.classList.add('show'); 12275if (subMenu) { 12276subMenu.classList.add('show'); 12277} 12278} 12279liElement.focus(); 12280} else { 12281window.location.href = button.href; 12282} 12283} 12284// Debut gestionnaire des onglets pour l'affichage des villes et navigation au clavier 12285// Listes de lettres 12286const tabButtons = document.querySelectorAll('.tab-lists .tab-button'); 12287// Bloc regroupant les villes 12288const tabPanels = document.querySelectorAll('.tab-panels .tab-panel'); 12289// Initialisation : mettre le focus sur le premier onglet 12290if (tabButtons.length > 0) { 12291tabButtons[0].focus(); 12292} 12293// Gérer le clic sur les onglets 12294tabButtons.forEach(button => { 12295button.addEventListener('click', function () { 12296activateTab(this); 12297}); 12298// Gérer la navigation au clavier 12299button.addEventListener('keydown', function (event) { 12300const key = event.key; 12301if (key === 'Enter' || key === ' ') { 12302event.preventDefault(); 12303activateTab(this); 12304} else if (key === 'ArrowRight') { 12305event.preventDefault(); 12306navigateTabs(1); 12307} else if (key === 'ArrowLeft') { 12308event.preventDefault(); 12309navigateTabs(-1); 12310} 12311}); 12312}); 12313// Mettre la classe active et le focus sur la lettre et le bloc des villes associé 12314function activateTab(button) { 12315// Retirer la classe active de tous les boutons et du bloc des villes 12316tabButtons.forEach(btn => { 12317btn.classList.remove('active'); 12318btn.setAttribute('tabindex', '-1'); // Retire le focus 12319btn.setAttribute('aria-selected', 'false'); 12320});
12321tabPanels.forEach(panel => { 12322panel.classList.remove('active'); 12323panel.setAttribute('hidden', true); 12324}); 12325// Ajouter la classe active sur le bouton cliqué et le focus 12326button.classList.add('active'); 12327button.removeAttribute('tabindex'); 12328button.setAttribute('aria-selected', 'true'); 12329// Récupérer l'ID du bloc des villes associé et le rendre visible 12330const panelId = button.getAttribute('aria-controls'); 12331const activePanel = document.getElementById(panelId); 12332if (activePanel) { 12333activePanel.classList.add('active'); 12334activePanel.removeAttribute('hidden'); 12335} 12336// Mettre le focus sur le bouton actif 12337button.focus(); 12338} 12339// Navigation sur les lettres (onglets) 12340function navigateTabs(direction) { 12341const activeButton = document.querySelector('.tab-button.active'); 12342let newIndex = Array.from(tabButtons).indexOf(activeButton) + direction; 12343// Boucler autour des onglets 12344if (newIndex < 0) { 12345newIndex = tabButtons.length - 1; 12346} else if (newIndex >= tabButtons.length) { 12347newIndex = 0; 12348} 12349// Activer le nouvel onglet 12350activateTab(tabButtons[newIndex]); 12351} 12352// Fin gestionnaire des onglets pour l'affichage des villes et navigation au clavier 12353// Initialiser l'observateur de navigation 12354initializeNavObserver(); 12355} 12356document.addEventListener('DOMContentLoaded', function () { 12357window.initAccordionMobileNav(); 12358}) 12359; 12360/*! 12361* perfect-scrollbar v1.5.3 12362* Copyright 2021 Hyunje Jun, MDBootstrap and Contributors 12363* Licensed under MIT 12364*/ 12365(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a():typeof define==="function"&&define.amd?define(a):(b=b||self,b.PerfectScrollbar=a())}(this,(function(){function M(R){return getComputedStyle(R)}function B(S,T){for(var R in T){var U=T[R];if(typeof U==="number"){U=U+"px"}S.style[R]=U}return S}function N(R){var S=document.createElement("div");S.className=R;return S}var v=typeof Element!=="undefined"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function a(R,S){if(!v){throw new Error("No element matching method supported")}return v.call(R,S)}function C(R){if(R.remove){R.remove()}else{if(R.parentNode){R.parentNode.removeChild(R)}}}function x(S,R){return Array.prototype.filter.call(S.children,function(T){return a(T,R)})}var f={main:"ps",rtl:"ps__rtl",element:{thumb:function(R){return("ps__thumb-"+R)},rail:function(R){return("ps__rail-"+R)},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(R){return("ps--active-"+R)},scrolling:function(R){return("ps--scrolling-"+R)}}};var w={x:null,y:null};function F(S,R){var U=S.element.classList;var T=f.state.scrolling(R);if(U.contains(T)){clearTimeout(w[R])}else{U.add(T)}}function P(S,R){w[R]=setTimeout(function(){return S.isAlive&&S.element.classList.remove(f.state.scrolling(R))},S.settings.scrollingThreshold)}function q(S,R){F(S,R);P(S,R)}var J=function J(R){this.element=R;this.handlers={}};var k={isEmpty:{configurable:true}};J.prototype.bind=function h(R,S){if(typeof this.handlers[R]==="undefined"){this.handlers[R]=[]}this.handlers[R].push(S);this.element.addEventListener(R,S,false)};J.prototype.unbind=function u(R,S){var T=this;this.handlers[R]=this.handlers[R].filter(function(U){if(S&&U!==S){return true}T.element.removeEventListener(R,U,false);return false})};J.prototype.unbindAll=function O(){for(var R in this.handlers){this.unbind(R)}};k.isEmpty.get=function(){var R=this;return Object.keys(this.handlers).every(function(S){return R.handlers[S].length===0})};Object.defineProperties(J.prototype,k);var A=function A(){this.eventElements=[]};A.prototype.eventElement=function d(S){var R=this.eventElements.filter(function(T){return T.element===S})[0];if(!R){R=new J(S);this.eventElements.push(R)}return R};A.prototype.bind=function h(S,R,T){this.eventElement(S).bind(R,T)};A.prototype.unbind=function u(T,S,U){var R=this.eventElement(T);R.unbind(S,U);if(R.isEmpty){this.eventElements.splice(this.eventElements.indexOf(R),1)}};A.prototype.unbindAll=function O(){this.eventElements.forEach(function(R){return R.unbindAll()});this.eventElements=[]};A.prototype.once=function y(U,S,V){var R=this.eventElement(U);var T=function(W){R.unbind(S,T);V(W)};R.bind(S,T)};function G(S){if(typeof window.CustomEvent==="function"){return new CustomEvent(S)}else{var R=document.createEvent("CustomEvent");R.initCustomEvent(S,false,false,undefined);return R}}function g(T,U,W,S,V){if(S===void 0){S=true}if(V===void 0){V=false}var R;if(U==="top"){R=["contentHeight","containerHeight","scrollTop","y","up","down"]}else{if(U==="left"){R=["contentWidth","containerWidth","scrollLeft","x","left","right"]}else{throw new Error("A proper axis should be provided")}}n(T,W,R,S,V)}function n(X,Z,T,U,R){var aa=T[0];var ac=T[1];var S=T[2];var Y=T[3];var W=T[4];var ab=T[5];if(U===void 0){U=true}if(R===void 0){R=false}var V=X.element;X.reach[Y]=null;if(V[S]<1){X.reach[Y]="start"}if(V[S]>X[aa]-X[ac]-1){X.reach[Y]="end"}if(Z){V.dispatchEvent(G(("ps-scroll-"+Y)));if(Z<0){V.dispatchEvent(G(("ps-scroll-"+W)))}else{if(Z>0){V.dispatchEvent(G(("ps-scroll-"+ab)))}}if(U){q(X,Y)}}if(X.reach[Y]&&(Z||R)){V.dispatchEvent(G(("ps-"+Y+"-reach-"+(X.reach[Y]))))}}function l(R){return parseInt(R,10)||0}function e(R){return(a(R,"input,[contenteditable]")||a(R,"select,[contenteditable]")||a(R,"textarea,[contenteditable]")||a(R,"button,[contenteditable]"))}function K(R){var S=M(R);return(l(S.width)+l(S.paddingLeft)+l(S.paddingRight)+l(S.borderLeftWidth)+l(S.borderRightWidth))}var j={isWebKit:typeof document!=="undefined"&&"WebkitAppearance" in document.documentElement.style,supportsTouch:typeof window!=="undefined"&&("ontouchstart" in window||("maxTouchPoints" in
12365window.navigator&&window.navigator.maxTouchPoints>0)||(window.DocumentTouch&&document instanceof window.DocumentTouch)),supportsIePointer:typeof navigator!=="undefined"&&navigator.msMaxTouchPoints,isChrome:typeof navigator!=="undefined"&&/Chrome/i.test(navigator&&navigator.userAgent)};function c(S){var R=S.element;var U=Math.floor(R.scrollTop);var T=R.getBoundingClientRect();S.containerWidth=Math.round(T.width);S.containerHeight=Math.round(T.height);S.contentWidth=R.scrollWidth;S.contentHeight=R.scrollHeight;if(!R.contains(S.scrollbarXRail)){x(R,f.element.rail("x")).forEach(function(V){return C(V)});R.appendChild(S.scrollbarXRail)}if(!R.contains(S.scrollbarYRail)){x(R,f.element.rail("y")).forEach(function(V){return C(V)});R.appendChild(S.scrollbarYRail)}if(!S.settings.suppressScrollX&&S.containerWidth+S.settings.scrollXMarginOffset<S.contentWidth){S.scrollbarXActive=true;S.railXWidth=S.containerWidth-S.railXMarginWidth;S.railXRatio=S.containerWidth/S.railXWidth;S.scrollbarXWidth=t(S,l((S.railXWidth*S.containerWidth)/S.contentWidth));S.scrollbarXLeft=l(((S.negativeScrollAdjustment+R.scrollLeft)*(S.railXWidth-S.scrollbarXWidth))/(S.contentWidth-S.containerWidth))}else{S.scrollbarXActive=false}if(!S.settings.suppressScrollY&&S.containerHeight+S.settings.scrollYMarginOffset<S.contentHeight){S.scrollbarYActive=true;S.railYHeight=S.containerHeight-S.railYMarginHeight;S.railYRatio=S.containerHeight/S.railYHeight;S.scrollbarYHeight=t(S,l((S.railYHeight*S.containerHeight)/S.contentHeight));S.scrollbarYTop=l((U*(S.railYHeight-S.scrollbarYHeight))/(S.contentHeight-S.containerHeight))}else{S.scrollbarYActive=false}if(S.scrollbarXLeft>=S.railXWidth-S.scrollbarXWidth){S.scrollbarXLeft=S.railXWidth-S.scrollbarXWidth}if(S.scrollbarYTop>=S.railYHeight-S.scrollbarYHeight){S.scrollbarYTop=S.railYHeight-S.scrollbarYHeight}i(R,S);if(S.scrollbarXActive){R.classList.add(f.state.active("x"))}else{R.classList.remove(f.state.active("x"));S.scrollbarXWidth=0;S.scrollbarXLeft=0;R.scrollLeft=S.isRtl===true?S.contentWidth:0}if(S.scrollbarYActive){R.classList.add(f.state.active("y"))}else{R.classList.remove(f.state.active("y"));S.scrollbarYHeight=0;S.scrollbarYTop=0;R.scrollTop=0}}function t(S,R){if(S.settings.minScrollbarLength){R=Math.max(R,S.settings.minScrollbarLength)}if(S.settings.maxScrollbarLength){R=Math.min(R,S.settings.maxScrollbarLength)}return R}function i(T,S){var R={width:S.railXWidth};var V=Math.floor(T.scrollTop);if(S.isRtl){R.left=S.negativeScrollAdjustment+T.scrollLeft+S.containerWidth-S.contentWidth}else{R.left=T.scrollLeft}if(S.isScrollbarXUsingBottom){R.bottom=S.scrollbarXBottom-V}else{R.top=S.scrollbarXTop+V}B(S.scrollbarXRail,R);var U={top:V,height:S.railYHeight};if(S.isScrollbarYUsingRight){if(S.isRtl){U.right=S.contentWidth-(S.negativeScrollAdjustment+T.scrollLeft)-S.scrollbarYRight-S.scrollbarYOuterWidth-9}else{U.right=S.scrollbarYRight-T.scrollLeft}}else{if(S.isRtl){U.left=S.negativeScrollAdjustment+T.scrollLeft+S.containerWidth*2-S.contentWidth-S.scrollbarYLeft-S.scrollbarYOuterWidth}else{U.left=S.scrollbarYLeft+T.scrollLeft}}B(S.scrollbarYRail,U);B(S.scrollbarX,{left:S.scrollbarXLeft,width:S.scrollbarXWidth-S.railBorderXWidth});B(S.scrollbarY,{top:S.scrollbarYTop,height:S.scrollbarYHeight-S.railBorderYWidth})}function H(S){var R=S.element;S.event.bind(S.scrollbarY,"mousedown",function(T){return T.stopPropagation()});S.event.bind(S.scrollbarYRail,"mousedown",function(V){var T=V.pageY-window.pageYOffset-S.scrollbarYRail.getBoundingClientRect().top;var U=T>S.scrollbarYTop?1:-1;S.element.scrollTop+=U*S.containerHeight;c(S);V.stopPropagation()});S.event.bind(S.scrollbarX,"mousedown",function(T){return T.stopPropagation()});S.event.bind(S.scrollbarXRail,"mousedown",function(V){var T=V.pageX-window.pageXOffset-S.scrollbarXRail.getBoundingClientRect().left;var U=T>S.scrollbarXLeft?1:-1;S.element.scrollLeft+=U*S.containerWidth;c(S);V.stopPropagation()})}function z(R){D(R,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]);D(R,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function D(af,W){var ab=W[0];var ae=W[1];var R=W[2];var ah=W[3];var Z=W[4];var ac=W[5];var S=W[6];var X=W[7];var U=W[8];var T=af.element;var aa=null;var ai=null;var ag=null;function V(aj){if(aj.touches&&aj.touches[0]){aj[R]=aj.touches[0].pageY}T[S]=aa+ag*(aj[R]-ai);F(af,X);c(af);aj.stopPropagation();if(aj.type.startsWith("touch")&&aj.changedTouches.length>1){aj.preventDefault()}}function ad(){P(af,X);af[U].classList.remove(f.state.clicking);af.event.unbind(af.ownerDocument,"mousemove",V)}function Y(ak,aj){aa=T[S];if(aj&&ak.touches){ak[R]=ak.touches[0].pageY}ai=ak[R];ag=(af[ae]-af[ab])/(af[ah]-af[ac]);if(!aj){af.event.bind(af.ownerDocument,"mousemove",V);af.event.once(af.ownerDocument,"mouseup",ad);ak.preventDefault()}else{af.event.bind(af.ownerDocument,"touchmove",V)}af[U].classList.add(f.state.clicking);ak.stopPropagation()}af.event.bind(af[Z],"mousedown",function(aj){Y(aj)});af.event.bind(af[Z],"touchstart",function(aj){Y(aj,true)})}function s(U){var T=U.element;var S=function(){return a(T,":hover")};var R=function(){return a(U.scrollbarX,":focus")||a(U.scrollbarY,":focus")};function V(X,W){var Y=Math.floor(T.scrollTop);if(X===0){if(!U.scrollbarYActive){return false}if((Y===0&&W>0)||(Y>
12365=U.contentHeight-U.containerHeight&&W<0)){return !U.settings.wheelPropagation}}var Z=T.scrollLeft;if(W===0){if(!U.scrollbarXActive){return false}if((Z===0&&X<0)||(Z>=U.contentWidth-U.containerWidth&&X>0)){return !U.settings.wheelPropagation}}return true}U.event.bind(U.ownerDocument,"keydown",function(Z){if((Z.isDefaultPrevented&&Z.isDefaultPrevented())||Z.defaultPrevented){return}if(!S()&&!R()){return}var Y=document.activeElement?document.activeElement:U.ownerDocument.activeElement;if(Y){if(Y.tagName==="IFRAME"){Y=Y.contentDocument.activeElement}else{while(Y.shadowRoot){Y=Y.shadowRoot.activeElement}}if(e(Y)){return}}var X=0;var W=0;switch(Z.which){case 37:if(Z.metaKey){X=-U.contentWidth}else{if(Z.altKey){X=-U.containerWidth}else{X=-30}}break;case 38:if(Z.metaKey){W=U.contentHeight}else{if(Z.altKey){W=U.containerHeight}else{W=30}}break;case 39:if(Z.metaKey){X=U.contentWidth}else{if(Z.altKey){X=U.containerWidth}else{X=30}}break;case 40:if(Z.metaKey){W=-U.contentHeight}else{if(Z.altKey){W=-U.containerHeight}else{W=-30}}break;case 32:if(Z.shiftKey){W=U.containerHeight}else{W=-U.containerHeight}break;case 33:W=U.containerHeight;break;case 34:W=-U.containerHeight;break;case 36:W=U.contentHeight;break;case 35:W=-U.contentHeight;break;default:return}if(U.settings.suppressScrollX&&X!==0){return}if(U.settings.suppressScrollY&&W!==0){return}T.scrollTop-=W;T.scrollLeft+=X;c(U);if(V(X,W)){Z.preventDefault()}})}function r(T){var S=T.element;function W(Y,X){var ac=Math.floor(S.scrollTop);var Z=S.scrollTop===0;var ae=ac+S.offsetHeight===S.scrollHeight;var ad=S.scrollLeft===0;var ab=S.scrollLeft+S.offsetWidth===S.scrollWidth;var aa;if(Math.abs(X)>Math.abs(Y)){aa=Z||ae}else{aa=ad||ab}return aa?!T.settings.wheelPropagation:true}function U(Z){var Y=Z.deltaX;var X=-1*Z.deltaY;if(typeof Y==="undefined"||typeof X==="undefined"){Y=(-1*Z.wheelDeltaX)/6;X=Z.wheelDeltaY/6}if(Z.deltaMode&&Z.deltaMode===1){Y*=10;X*=10}if(Y!==Y&&X!==X){Y=0;X=Z.wheelDelta}if(Z.shiftKey){return[-X,-Y]}return[Y,X]}function V(ac,Y,X){if(!j.isWebKit&&S.querySelector("select:focus")){return true}if(!S.contains(ac)){return false}var ad=ac;while(ad&&ad!==S){if(ad.classList.contains(f.element.consuming)){return true}var Z=M(ad);if(X&&Z.overflowY.match(/(scroll|auto)/)){var ab=ad.scrollHeight-ad.clientHeight;if(ab>0){if((ad.scrollTop>0&&X<0)||(ad.scrollTop<ab&&X>0)){return true}}}if(Y&&Z.overflowX.match(/(scroll|auto)/)){var aa=ad.scrollWidth-ad.clientWidth;if(aa>0){if((ad.scrollLeft>0&&Y<0)||(ad.scrollLeft<aa&&Y>0)){return true}}}ad=ad.parentNode}return false}function R(ab){var aa=U(ab);var Y=aa[0];var X=aa[1];if(V(ab.target,Y,X)){return}var Z=false;if(!T.settings.useBothWheelAxes){S.scrollTop-=X*T.settings.wheelSpeed;S.scrollLeft+=Y*T.settings.wheelSpeed}else{if(T.scrollbarYActive&&!T.scrollbarXActive){if(X){S.scrollTop-=X*T.settings.wheelSpeed}else{S.scrollTop+=Y*T.settings.wheelSpeed}Z=true}else{if(T.scrollbarXActive&&!T.scrollbarYActive){if(Y){S.scrollLeft+=Y*T.settings.wheelSpeed}else{S.scrollLeft-=X*T.settings.wheelSpeed}Z=true}}}c(T);Z=Z||W(Y,X);if(Z&&!ab.ctrlKey){ab.stopPropagation();ab.preventDefault()}}if(typeof window.onwheel!=="undefined"){T.event.bind(S,"wheel",R)}else{if(typeof window.onmousewheel!=="undefined"){T.event.bind(S,"mousewheel",R)}}}function L(X){if(!j.supportsTouch&&!j.supportsIePointer){return}var Y=X.element;function R(ag,af){var aj=Math.floor(Y.scrollTop);var ak=Y.scrollLeft;var ai=Math.abs(ag);var ah=Math.abs(af);if(ah>ai){if((af<0&&aj===X.contentHeight-X.containerHeight)||(af>0&&aj===0)){return window.scrollY===0&&af>0&&j.isChrome}}else{if(ai>ah){if((ag<0&&ak===X.contentWidth-X.containerWidth)||(ag>0&&ak===0)){return true}}}return true}function ae(ag,af){Y.scrollTop-=af;Y.scrollLeft-=ag;c(X)}var aa={};var S=0;var U={};var W=null;function ad(af){if(af.targetTouches){return af.targetTouches[0]}else{return af}}function V(af){if(af.pointerType&&af.pointerType==="pen"&&af.buttons===0){return false}if(af.targetTouches&&af.targetTouches.length===1){return true}if(af.pointerType&&af.pointerType!=="mouse"&&af.pointerType!==af.MSPOINTER_TYPE_MOUSE){return true}return false}function T(af){if(!V(af)){return}var ag=ad(af);aa.pageX=ag.pageX;aa.pageY=ag.pageY;S=new Date().getTime();if(W!==null){clearInterval(W)}}function Z(ak,ag,af){if(!Y.contains(ak)){return false}var al=ak;while(al&&al!==Y){if(al.classList.contains(f.element.consuming)){return true}var ah=M(al);if(af&&ah.overflowY.match(/(scroll|auto)/)){var aj=al.scrollHeight-al.clientHeight;if(aj>0){if((al.scrollTop>0&&af<0)||(al.scrollTop<aj&&af>0)){return true}}}if(ag&&ah.overflowX.match(/(scroll|auto)/)){var ai=al.scrollWidth-al.clientWidth;if(ai>0){if((al.scrollLeft>0&&ag<0)||(al.scrollLeft<ai&&ag>0)){return true}}}al=al.parentNode}return false}function ab(aj){if(V(aj)){var al=ad(aj);var ai={pageX:al.pageX,pageY:al.pageY};var ag=ai.pageX-aa.pageX;var af=ai.pageY-aa.pageY;if(Z(aj.target,ag,af)){return}ae(ag,af);aa=ai;var ah=new Date().getTime();var ak=ah-S;if(ak>0){U.x=ag/ak;U.y=af/ak;S=ah}if(R(ag,af)){aj.preventDefault()}}}function ac(){if(X.settings.swipeEasing){clearInterval(W);W=setInterval(function(){if(X.isInitialized){clearInterval(W);return}if(!U.x&&!U.y){clearInterval(W);return}if(Math.abs(U.x)<0.01&&Math.abs(U.y)<0.01){clearInterval(W);return}if(!X.element){clearInterval(W);return}ae(U.x*30,U.y*30);U.x*=0.8;U.y*=0.8},10)}}if(j.supportsTouch){X.event.bind(Y,"touchstart",T);X.event.bind(Y,"touchmove",ab);X.event.bind(Y,"touchend",ac)}else{if(j.supportsIePointer){if(window.PointerEvent){X.event.bind(Y,"pointerdown",T);X.event.bind(Y,"pointermove",ab);X.event.bind(Y,"pointerup",ac)}else{if(window.MSPointerEvent){X.event.bind(Y,"MSPointerDown",T);X.event.bind(Y,"MSPointerMove",ab);X.event.bind(Y,"MSPointerUp",ac)}}}}}var Q=function(){return({handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1000,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:false,suppressScrollY:false,swipeEasing:true,useBothWheelAxes:false,wheelPropagation:true,wheelSpeed:1})};var b={"click-rail":H,"drag-thumb":z,keyboard:s,wheel:r,touch:L};var p=function p(T,W){var Y=this;if(W===void 0){W={}}if(typeof T==="string"){T=document.querySelector(T)}if(!T||!T.nodeName){throw new Error("no element is specified to initialize PerfectScrollbar")}this.element=T;T.classList.add(f.main);this.settings=Q();for(var S in W){this.settings[S]=W[S]}this.containerWidth=null;this.containerHeight=null;this.contentWidth=null;this.contentHeight=null;var R=function(){return T.classList.add(f.state.focus)};var X=function(){return T.classList.remove(f.state.focus)};this.isRtl=M(T).direction==="rtl";if(this.isRtl===true){T.classList.add(f.rtl)}this.isNegativeScroll=(function(){var aa=T.scrollLeft;var Z=null;T.scrollLeft=-1;Z=T.scrollLeft<0;T.scrollLeft=aa;return Z})();this.negativeScrollAdjustment=this.isNegativeScroll?T.scrollWidth-T.clientWidth:0;this.event=new A();this.ownerDocument=T.ownerDocument||document;this.scrollbarXRail=N(f.element.rail("x"));T.appendChild(this.scrollbarXRail);this.scrollbarX=N(f.element.thumb("x"));this.scrollbarXRail.appendChild(this.scrollbarX);this.scrollbarX.setAttribute("tabindex",0);this.event.bind(this.scrollbarX,"focus",R);this.event.bind(this.scrollbarX,"blur",X);this.scrollbarXActive=null;this.scrollbarXWidth=null;this.scrollbarXLeft=null;var V=M(this.scrollbarXRail);this.scrollbarXBottom=parseInt(V.bottom,10);if(isNaN(this.scrollbarXBottom)){this.isScrollbarXUsingBottom=false;this.scrollbarXTop=l(V.top)}else{this.isScrollbarXUsingBottom=true}this.railBorderXWidth=l(V.borderLeftWidth)+l(V.borderRightWidth);B(this.scrollbarXRail,{display:"block"});this.railXMarginWidth=l(V.marginLeft)+l(V.marginRight);B(this.scrollbarXRail,{display:""});this.railXWidth=null;this.railXRatio=null;this.scrollbarYRail=N(f.element.rail("y"));T.appendChild(this.scrollbarYRail);this.scrollbarY=N(f.element.thumb("y"));this.scrollbarYRail.appendChild(this.scrollbarY);this.scrollbarY.setAttribute("tabindex",0);this.event.bind(this.scrollbarY,"focus",R);this.event.bind(this.scrollbarY,"blur",X);this.scrollbarYActive=null;this.scrollbarYHeight=null;this.scrollbarYTop=null;var U=M(this.scrollbarYRail);this.scrollbarYRight=parseInt(U.right,10);if(isNaN(this.scrollbarYRight)){this.isScrollbarYUsingRight=false;this.scrollbarYLeft=l(U.left)}else{this.isScrollbarYUsingRight=true}this.scrollbarYOuterWidth=this.isRtl?K(this.scrollbarY):null;this.railBorderYWidth=l(U.borderTopWidth)+l(U.borderBottomWidth);B(this.scrollbarYRail,{display:"block"});this.railYMarginHeight=l(U.marginTop)+l(U.marginBottom);B(this.scrollbarYRail,{display:""});this.railYHeight=null;this.railYRatio=null;this.reach={x:T.scrollLeft<=0?"start":T.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:T.scrollTop<=0?"start":T.scrollTop>=this.contentHeight-this.containerHeight?"end":null};this.isAlive=true;
12365this.settings.handlers.forEach(function(Z){return b[Z](Y)});this.lastScrollTop=Math.floor(T.scrollTop);this.lastScrollLeft=T.scrollLeft;this.event.bind(this.element,"scroll",function(Z){return Y.onScroll(Z)});c(this)};p.prototype.update=function E(){if(!this.isAlive){return}this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0;B(this.scrollbarXRail,{display:"block"});B(this.scrollbarYRail,{display:"block"});this.railXMarginWidth=l(M(this.scrollbarXRail).marginLeft)+l(M(this.scrollbarXRail).marginRight);this.railYMarginHeight=l(M(this.scrollbarYRail).marginTop)+l(M(this.scrollbarYRail).marginBottom);B(this.scrollbarXRail,{display:"none"});B(this.scrollbarYRail,{display:"none"});c(this);g(this,"top",0,false,true);g(this,"left",0,false,true);B(this.scrollbarXRail,{display:""});B(this.scrollbarYRail,{display:""})};p.prototype.onScroll=function m(R){if(!this.isAlive){return}c(this);g(this,"top",this.element.scrollTop-this.lastScrollTop);g(this,"left",this.element.scrollLeft-this.lastScrollLeft);this.lastScrollTop=Math.floor(this.element.scrollTop);this.lastScrollLeft=this.element.scrollLeft};p.prototype.destroy=function I(){if(!this.isAlive){return}this.event.unbindAll();C(this.scrollbarX);C(this.scrollbarY);C(this.scrollbarXRail);C(this.scrollbarYRail);this.removePsClasses();this.element=null;this.scrollbarX=null;this.scrollbarY=null;this.scrollbarXRail=null;this.scrollbarYRail=null;this.isAlive=false};p.prototype.removePsClasses=function o(){this.element.className=this.element.className.split(" ").filter(function(R){return !R.match(/^ps([-_].+|)$/)}).join(" ")};return p})));;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.