PageSourceSearch

https://www.news.uliege.be/js/jspacker.jsp?v=v50000068&js=plugins%…2FJTranslatePlugin%2Fjs%2Fjtranslate-acl.js

js uliege.be collected 2026-09-24 08:27:04 UTC 1,474,277 bytes, 18,060 lines download raw bytes

1/*! modernizr 3.6.0 (Custom Build) | MIT *
2* https://modernizr.com/download/?-cssanimations-input-inputtypes-placeholder-addtest-mq-setclasses-teststyles-cssclassprefix:mdn- !*/
3;!function(at,ad,aj){function af(b,a){return typeof b===a}function ao(){var h,f,k,d,j,g,c;for(var b in F){if(F.hasOwnProperty(b)){if(h=[],f=F[b],f.name&&(h.push(f.name.toLowerCase()),f.options&&f.options.aliases&&f.options.aliases.length)){for(k=0;k<f.options.aliases.length;k++){h.push(f.options.aliases[k].toLowerCase())}}for(d=af(f.fn,"function")?f.fn():f.fn,j=0;j<h.length;j++){g=h[j],c=g.split("."),1===c.length?W[c[0]]=d:(!W[c[0]]||W[c[0]] instanceof Boolean||(W[c[0]]=new Boolean(W[c[0]])),W[c[0]][c[1]]=d),ay.push((d?"":"no-")+c.join("-"))}}}}function ai(c){var a=Z.className,d=W._config.classPrefix||"";if(D&&(a=a.baseVal),W._config.enableJSClass){var b=new RegExp("(^|\\s)"+d+"no-js(\\s|$)");a=a.replace(b,"$1"+d+"js$2")}W._config.enableClasses&&(a+=" "+d+c.join(" "+d),D?Z.className.baseVal=a:Z.className=a)}function ae(d,b){if("object"==typeof d){for(var f in d){aw(d,f)&&ae(f,d[f])}}else{d=d.toLowerCase();var c=d.split("."),a=W[c[0]];if(2==c.length&&(a=a[c[1]]),"undefined"!=typeof a){return W}b="function"==typeof b?b():b,1==c.length?W[c[0]]=b:(!W[c[0]]||W[c[0]] instanceof Boolean||(W[c[0]]=new Boolean(W[c[0]])),W[c[0]][c[1]]=b),ai([(b&&0!=b?"":"no-")+c.join("-")]),W._trigger(d,b)}return W}function al(){return"function"!=typeof ad.createElement?ad.createElement(arguments[0]):D?ad.createElementNS.call(ad,"http://www.w3.org/2000/svg",arguments[0]):ad.createElement.apply(ad,arguments)}function ax(){var a=ad.body;return a||(a=al(D?"svg":"body"),a.fake=!0),a}function ac(l,h,a,j){var g,v,t,k,q="modernizr",b=al("div"),m=ax();if(parseInt(a,10)){for(;a--;){t=al("div"),t.id=j?j[a]:q+(a+1),b.appendChild(t)}}return g=al("style"),g.type="text/css",g.id="s"+q,(m.fake?m:b).appendChild(g),m.appendChild(b),g.styleSheet?g.styleSheet.cssText=l:g.appendChild(ad.createTextNode(l)),b.id=q,m.fake&&(m.style.background="",m.style.overflow="hidden",k=Z.style.overflow,Z.style.overflow="hidden",Z.appendChild(m)),v=h(b,l),m.fake?(m.parentNode.removeChild(m),Z.style.overflow=k,Z.offsetHeight):b.parentNode.removeChild(b),!!v}function ar(b,a){return !!~(""+b).indexOf(a)}function av(a){return a.replace(/([a-z])-([a-z])/g,function(c,b,d){return b+d.toUpperCase()}).replace(/^-/,"")}function ah(b,a){return function(){return b.apply(a,arguments)}}function au(c,b,f){var a;for(var d in c){if(c[d] in b){return f===!1?c[d]:(a=b[c[d]],af(a,"function")?ah(a,f||b):a)}}return !1}function ak(a){return a.replace(/([A-Z])/g,function(c,b){return"-"+b.toLowerCase()}).replace(/^ms-/,"-ms-")}function ap(b,f,d){var a;if("getComputedStyle" in at){a=getComputedStyle.call(at,b,f);var e=at.console;if(null!==a){d&&(a=a.getPropertyValue(d))}else{if(e){var c=e.error?"error":"log";e[c].call(e,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}}else{a=!f&&b.currentStyle&&b.currentStyle[d]}return a}function Y(b,c){var a=b.length;if("CSS" in at&&"supports" in at.CSS){for(;a--;){if(at.CSS.supports(ak(b[a]),c)){return !0}}return !1}if("CSSSupportsRule" in at){for(var d=[];a--;){d.push("("+ak(b[a])+":"+c+")")}return d=d.join(" or "),ac("@supports ("+d+") { #modernizr { position: absolute; } }",function(f){return"absolute"==ap(f,null,"position")})}return aj}function ab(n,y,j,c){function z(){x&&(delete J.style,delete J.modElem)}if(c=af(c,"undefined")?!1:c,!af(j,"undefined")){var r=Y(n,j);if(!af(r,"undefined")){return r}}for(var x,b,q,f,k,w=["modernizr","tspan","samp"];!J.style&&w.length;){x=!0,J.modElem=al(w.shift()),J.style=J.modElem.style}for(q=n.length,b=0;q>b;b++){if(f=n[b],k=J.style[f],ar(f,"-")&&(f=av(f)),J.style[f]!==aj){if(c||af(j,"undefined")){return z(),"pfx"==y?f:!0}try{J.style[f]=j}catch(l){}if(J.style[f]!=k){return z(),"pfx"==y?f:!0}}}return z(),!1}function aq(f,c,h,b,g){var d=f.charAt(0).toUpperCase()+f.slice(1),a=(f+" "+ag.join(d+" ")+d).split(" ");return af(c,"string")||af(c,"undefined")?ab(a,c,b,g):(a=(f+" "+K.join(d+" ")+d).split(" "),au(a,c,h))}function R(c,a,b){return aq(c,aj,aj,a,b)}var ay=[],F=[],aa={_version:"3.6.0",_config:{classPrefix:"mdn-",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(b,a){var c=this;setTimeout(function(){a(c[b])},0)},addTest:function(b,a,c){F.push({name:b,fn:a,options:c})},addAsyncTest:function(a){F.push({name:null,fn:a})}},W=function(){};W.prototype=aa,W=new W;var aw,Z=ad.documentElement,D="svg"===Z.nodeName.toLowerCase();!function(){var a={}.hasOwnProperty;aw=af(a,"undefined")||af(a.call,"undefined")?function(c,b){return b in c&&af(c.constructor.prototype[b],"undefined")}:function(b,c){return a.call(b,c)}}(),aa._l={},aa.on=function(b,a){this._l[b]||(this._l[b]=[]),this._l[b].push(a),W.hasOwnProperty(b)&&setTimeout(function(){W._trigger(b,W[b])},0)},aa._trigger=function(b,a){if(this._l[b]){var c=this._l[b];setTimeout(function(){var f,d;for(f=0;f<c.length;f++){(d=c[f])(a)}},0),delete this._l[b]}},W._q.push(function(){aa.addTest=ae}),W.addTest("placeholder","placeholder" in al("input")&&"placeholder" in al("textarea"));var G=al("input"),am="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),X={};
3W.input=function(a){for(var c=0,b=a.length;b>c;c++){X[a[c]]=!!(a[c] in G)}return X.list&&(X.list=!(!al("datalist")||!at.HTMLDataListElement)),X}(am);var Q="search tel url email datetime date month week time datetime-local number range color".split(" "),I={};W.inputtypes=function(h){for(var g,d,j,f=h.length,c="1)",b=0;f>b;b++){G.setAttribute("type",g=h[b]),j="text"!==G.type&&"style" in G,j&&(G.value=c,G.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(g)&&G.style.WebkitAppearance!==aj?(Z.appendChild(G),d=ad.defaultView,j=d.getComputedStyle&&"textfield"!==d.getComputedStyle(G,null).WebkitAppearance&&0!==G.offsetHeight,Z.removeChild(G)):/^(search|tel)$/.test(g)||(j=/^(url|email)$/.test(g)?G.checkValidity&&G.checkValidity()===!1:G.value!=c)),I[h[b]]=!!j}return I}(Q);var an=function(){var a=at.matchMedia||at.msMatchMedia;return a?function(b){var c=a(b);return c&&c.matches||!1}:function(b){var c=!1;return ac("@media "+b+" { #modernizr { position: absolute; } }",function(d){c="absolute"==(at.getComputedStyle?at.getComputedStyle(d,null):d.currentStyle).position}),c}}();aa.mq=an;var U=(aa.testStyles=ac,"Moz O ms Webkit"),ag=aa._config.usePrefixes?U.split(" "):[];aa._cssomPrefixes=ag;var K=aa._config.usePrefixes?U.toLowerCase().split(" "):[];aa._domPrefixes=K;var B={elem:al("modernizr")};W._q.push(function(){delete B.elem});var J={style:B.elem.style};W._q.unshift(function(){delete J.style}),aa.testAllProps=aq,aa.testAllProps=R,W.addTest("cssanimations",R("animationName","a",!0)),ao(),ai(ay),delete aa.addTest,delete aa.addAsyncTest;for(var H=0;H<W._q.length;H++){W._q[H]()}at.Modernizr=W}(window,document);;
vendor: 87,533 bytes, lines 4-5
4/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
5!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 6-9
6;
7jQuery.migrateMute=true;;
8/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
9"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]}
9,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={}
9,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});
10//# sourceMappingURL=jquery-migrate.min.map;
11jQuery.noConflict();jQuery.UNSAFE_restoreLegacyHtmlPrefilter();;
12/*! elementQuery | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */
13(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));
14/*! getEmPixels  | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */
15(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));;
16/*! jQuery UI - v1.13.2 - 2022-12-14
17* http://jqueryui.com
18* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/mouse.js
19* Copyright jQuery Foundation and other contributors; Licensed MIT */
20!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(y){"use strict";y.ui=y.ui||{};y.ui.version="1.13.2";var o,i=0,r=Array.prototype.hasOwnProperty,h=Array.prototype.slice;y.cleanData=(o=y.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=y._data(i,"events"))&&e.remove&&y(i).triggerHandler("remove");o(t)}),y.widget=function(t,i,e){var s,o,n,r={},h=t.split(".")[0],a=h+"-"+(t=t.split(".")[1]);return e||(e=i,i=y.Widget),Array.isArray(e)&&(e=y.extend.apply(null,[{}].concat(e))),y.expr.pseudos[a.toLowerCase()]=function(t){return!!y.data(t,a)},y[h]=y[h]||{},s=y[h][t],o=y[h][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},y.extend(o,s,{version:e.version,_proto:y.extend({},e),_childConstructors:[]}),(n=new i).options=y.widget.extend({},n.options),y.each(e,function(e,s){function o(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}r[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=n,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),o.prototype=y.widget.extend(n,{widgetEventPrefix:s&&n.widgetEventPrefix||t},r,{constructor:o,namespace:h,widgetName:t,widgetFullName:a}),s?(y.each(s._childConstructors,function(t,e){var i=e.prototype;y.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),y.widget.bridge(t,o),o}
vendor: 52,499 bytes, line 20
20,y.widget.extend=function(t){for(var e,i,s=h.call(arguments,1),o=0,n=s.length;o<n;o++)for(e in s[o])i=s[o][e],r.call(s[o],e)&&void 0!==i&&(y.isPlainObject(i)?t[e]=y.isPlainObject(t[e])?y.widget.extend({},t[e],i):y.widget.extend({},i):t[e]=i);return t},y.widget.bridge=function(n,e){var r=e.prototype.widgetFullName||n;y.fn[n]=function(i){var t="string"==typeof i,s=h.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=y.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?y.error("no such method '"+i+"' for "+n+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:y.error("cannot call methods on "+n+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(s.length&&(i=y.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=y.data(this,r);t?(t.option(i||{}),t._init&&t._init()):y.data(this,r,new e(i,this))})),o}},y.Widget=function(){},y.Widget._childConstructors=[],y.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,o,n=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(n={},t=(i=t.split(".")).shift(),i.length){for(s=n[t]=y.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)s[i[o]]=s[i[o]]||{},s=s[i[o]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];n[t]=e}return this._setOptions(n),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length&&(i=y(s.get()),this._removeClass(s,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var n=[],r=this;function t(t,e){for(var i,s=0;s<t.length;s++)i=r.classesElementLookup[t[s]]||y(),i=o.add?(function(){var i=[];o.element.each(function(t,e){y.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(y(i),{remove:"_untrackClassesElement"})}(),y(y.uniqueSort(i.get().concat(o.element.get())))):y(i.not(o.element).get()),r.classesElementLookup[t[s]]=i,n.push(t[s]),e&&o.classes[t[s]]&&n.push(o.classes[t[s]])}return(o=y.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(i){var s=this;y.each(s.classesElementLookup,function(t,e){-1!==y.inArray(i.target,e)&&(s.classesElementLookup[t]=y(e.not(i.target).get()))}),this._off(y(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){var o="string"==typeof t||null===t,i={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:s="boolean"==typeof s?s:i};return i.element.toggleClass(this._classes(i),s),this},_on:function(o,n,t){var r,h=this;"boolean"!=typeof o&&(t=n,n=o,o=!1),t?(n=r=y(n),this.bindings=this.bindings.add(n)):(t=n,n=this.element,r=this.widget()),y.each(t,function(t,e){function i(){if(o||!0!==h.options.disabled&&!y(this).hasClass("ui-state-disabled"))return("string"==typeof e?h[e]:e).apply(h,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||y.guid++);var s=t.match(/^([\w:-]*)\s*(.*)$/),t=s[1]+h.eventNamespace,s=s[2];s?r.on(t,s,i):n.on(t,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=y(this.bindings.not(t).get()),this.focusable=y(this.focusable.not(t).get()),this.hoverable=y(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(y(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(y(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(y(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(y(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var s,o,n=this.options[t];if(i=i||{},(e=y.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(s in o)s in e||(e[s]=o[s]);return this.element.trigger(e,i),!("function"==typeof n&&!1===n.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},y.each({show:"fadeIn",hide:"fadeOut"},function(n,r){y.Widget.prototype["_"+n]=function(e,t,i){var s,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:n;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),s=!y.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),s&&y.effects&&y.effects.effect[o]?e[n](t):o!==n&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){y(this)[n](),i&&i.call(e[0]),t()})}});var s,C,x,n,a,l,c,p,z;y.widget;function H(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function I(t,e){return parseInt(y.css(t,e),10)||0}function S(t){return null!=t&&t===t.window}C=Math.max,x=Math.abs,n=/left|center|right/,a=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,p=/%$/,z=y.fn.position,y.position={scrollbarWidth:function(){if(void 0!==s)return s;var t,e=y("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?y.position.scrollbarWidth():0,height:e?y.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=y(t||window),i=S(e[0]),s=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:s,offset:!i&&!s?y(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},y.fn.position=function(p){if(!p||!p.of)return z.apply(this,arguments);var f,d,u,g,m,t,_="string"==typeof(p=y.extend({},p)).of?y(document).find(p.of):y(p.of),v=y.position.getWithinInfo(p.within),b=y.position.getScrollInfo(v),w=(p.collision||"flip").split(" "),P={},e=9===(t=(e=_)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:S(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return _[0].preventDefault&&(p.at="left top"),d=e.width,u=e.height,m=y.extend({},g=e.offset),y.each(["my","at"],function(){var t,e,i=(p[this]||"").split(" ");(i=1===i.length?n.test(i[0])?i.concat(["center"]):a.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=n.test(i[0])?i[0]:"center",i[1]=a.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),P[this]=[t?t[0]:0,e?e[0]:0],p[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===p.at[0]?m.left+=d:"center"===p.at[0]&&(m.left+=d/2),"bottom"===p.at[1]?m.top+=u:"center"===p.at[1]&&(m.top+=u/2),f=H(P.at,d,u),m.left+=f[0],m.top+=f[1],this.each(function(){var i,t,r=y(this),h=r.outerWidth(),a=r.outerHeight(),e=I(this,"marginLeft"),s=I(this,"marginTop"),o=h+e+I(this,"marginRight")+b.width,n=a+s+I(this,"marginBottom")+b.height,l=y.extend({},m),c=H(P.my,r.outerWidth(),r.outerHeight());"right"===p.my[0]?l.left-=h:"center"===p.my[0]&&(l.left-=h/2),"bottom"===p.my[1]?l.top-=a:"center"===p.my[1]&&(l.top-=a/2),l.left+=c[0],l.top+=c[1],i={marginLeft:e,marginTop:s},y.each(["left","top"],function(t,e){y.ui.position[w[t]]&&y.ui.position[w[t]][e](l,{targetWidth:d,targetHeight:u,elemWidth:h,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:n,offset:[f[0]+c[0],f[1]+c[1]],my:p.my,at:p.at,within:v,elem:r})}),p.using&&(t=function(t){var e=g.left-l.left,i=e+d-h,s=g.top-l.top,o=s+u-a,n={target:{element:_,left:g.left,top:g.top,width:d,height:u},element:{element:r,left:l.left,top:l.top,width:h,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<s?"bottom":"middle"};d<h&&x(e+i)<d&&(n.horizontal="center"),u<a&&x(s+o)<u&&(n.vertical="middle"),C(x(e),x(i))>C(x(s),x(o))?n.important="horizontal":n.important="vertical",p.using.call(this,t,n)}),r.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,o=i.width,n=t.left-e.collisionPosition.marginLeft,r=s-n,h=n+e.collisionWidth-o-s;e.collisionWidth>o?0<r&&h<=0?(i=t.left+r+e.collisionWidth-o-s,t.left+=r-i):t.left=!(0<h&&r<=0)&&h<r?s+o-e.collisionWidth:s:0<r?t.left+=r:0<h?t.left-=h:t.left=C(t.left-n,t.left)},top:function(t,e){var i=e.within,s=i.isWindow?i.scrollTop:i.offset.top,o=e.within.height,n=t.top-e.collisionPosition.marginTop,r=s-n,h=n+e.collisionHeight-o-s;e.collisionHeight>o?0<r&&h<=0?(i=t.top+r+e.collisionHeight-o-s,t.top+=r-i):t.top=!(0<h&&r<=0)&&h<r?s+o-e.collisionHeight:s:0<r?t.top+=r:0<h?t.top-=h:t.top=C(t.top-n,t.top)}},flip:{left:function(t,e){var i=e.within,s=i.offset.left+i.scrollLeft,o=i.width,n=i.isWindow?i.scrollLeft:i.offset.left,r=t.left-e.collisionPosition.marginLeft,h=r-n,a=r+e.collisionWidth-o-n,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,i="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,r=-2*e.offset[0];h<0?((s=t.left+l+i+r+e.collisionWidth-o-s)<0||s<x(h))&&(t.left+=l+i+r):0<a&&(0<(n=t.left-e.collisionPosition.marginLeft+l+i+r-n)||x(n)<a)&&(t.left+=l+i+r)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,o=i.height,n=i.isWindow?i.scrollTop:i.offset.top,r=t.top-e.collisionPosition.marginTop,h=r-n,a=r+e.collisionHeight-o-n,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,i="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,r=-2*e.offset[1];h<0?((s=t.top+l+i+r+e.collisionHeight-o-s)<0||s<x(h))&&(t.top+=l+i+r):0<a&&(0<(n=t.top-e.collisionPosition.marginTop+l+i+r-n)||x(n)<a)&&(t.top+=l+i+r)}},flipfit:{left:function(){y.ui.position.flip.left.apply(this,arguments),y.ui.position.fit.left.apply(this,arguments)},top:function(){y.ui.position.flip.top.apply(this,arguments),y.ui.position.fit.top.apply(this,arguments)}}};var t;y.ui.position,y.extend(y.expr.pseudos,{data:y.expr.createPseudo?y.expr.createPseudo(function(e){return function(t){return!!y.data(t,e)}}):function(t,e,i){return!!y.data(t,i[3])}}),y.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});y.ui.focusable=function(t,e){var i,s,o,n,r=t.nodeName.toLowerCase();return"area"===r?(s=(i=t.parentNode).name,!(!t.href||!s||"map"!==i.nodeName.toLowerCase())&&(0<(s=y("img[usemap='#"+s+"']")).length&&s.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(o=!t.disabled)&&(n=y(t).closest("fieldset")[0])&&(o=!n.disabled):o="a"===r&&t.href||e,o&&y(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(y(t)))},y.extend(y.expr.pseudos,{focusable:function(t){return y.ui.focusable(t,null!=y.attr(t,"tabindex"))}});var e,f;y.ui.focusable,y.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):y(this[0].form)},y.ui.formResetMixin={_formResetHandler:function(){var e=y(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");y.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(y.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}};y.expr.pseudos||(y.expr.pseudos=y.expr[":"]),y.uniqueSort||(y.uniqueSort=y.unique),y.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,f=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},y.escapeSelector=function(t){return(t+"").replace(e,f)}),y.fn.even&&y.fn.odd||y.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}});y.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},y.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+y.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},y.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=y(this);return(!i||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:y(this[0].ownerDocument||document)},y.extend(y.expr.pseudos,{tabbable:function(t){var e=y.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&y.ui.focusable(t,i)}}),y.fn.extend({uniqueId:(d=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++d)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&y(this).removeAttr("id")})}}),y.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var d,u=!1;y(document).on("mouseup",function(){u=!1});y.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(t){if(!0===y.data(t.target,e.widgetName+".preventClickEvent"))return y.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!u){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,s=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&y(t.target).closest(this.options.cancel).length;return i&&!s&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===y.data(t.target,this.widgetName+".preventClickEvent")&&y.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),u=!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(y.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&y.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,u=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,o=y.ui[t].prototype;for(s in i)o.plugins[s]=o.plugins[s]||[],o.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var o,n=t.plugins[e];if(n&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<n.length;o++)t.options[n[o][0]]&&n[o][1].apply(t.element,i)}},y.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=!(i=i||e.body).nodeName?e.body:i},y.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&y(t).trigger("blur")};y.widget("ui.draggable",y.ui.mouse,{version:"1.13.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<y(t.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=y(this);return y("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=y.ui.safeActiveElement(this.document[0]);y(t.target).closest(e).length||y.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),y.ui.ddmanager&&(y.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===y(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),y.ui.ddmanager&&!e.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),y.ui.ddmanager&&y.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new y.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",y.ui.ddmanager&&y.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,i=!1;return y.ui.ddmanager&&!this.options.dropBehaviour&&(i=y.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?y(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),y.ui.ddmanager&&y.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),y.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new y.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!y(t.target).closest(this.element.find(this.options.handle)).length},_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(t){var e=this.options,i="function"==typeof e.helper,t=i?y(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&y.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_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 t,e,i,s=this.options,o=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(i=(e=y(s.containment))[0])&&(t=/(scroll|auto)/.test(e.css("overflow")),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=e)):this.containment=s.containment:this.containment=[0,0,y(o).width()-this.helperProportions.width-this.margins.left,(y(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[y(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,y(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,y(window).scrollLeft()+y(window).width()-this.helperProportions.width-this.margins.left,y(window).scrollTop()+(y(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,t=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:t?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:t?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s=this.options,o=this._isRootNode(this.scrollParent[0]),n=t.pageX,r=t.pageY;return o&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(i=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,t.pageX-this.offset.click.left<i[0]&&(n=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(r=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(n=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(r=i[3]+this.offset.click.top)),s.grid&&(t=s.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,r=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-s.grid[1]:t+s.grid[1],t=s.grid[0]?this.originalPageX+Math.round((n-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,n=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-s.grid[0]:t+s.grid[0]),"y"===s.axis&&(n=this.originalPageX),"x"===s.axis&&(r=this.originalPageY)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,i){return i=i||this._uiHash(),y.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),y.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),y.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,i){var s=y.extend({},t,{item:i.element});i.sortables=[],y(i.options.connectToSortable).each(function(){var t=y(this).sortable("instance");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,s))})},stop:function(e,t,i){var s=y.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,y.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,s))})},drag:function(i,s,o){y.each(o.sortables,function(){var t=!1,e=this;e.positionAbs=o.positionAbs,e.helperProportions=o.helperProportions,e.offset.click=o.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,y.each(o.sortables,function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,t=this!==e&&this._intersectsWith(this.containerCache)&&y.contains(e.element[0],this.element[0])?!1:t})),t?(e.isOver||(e.isOver=1,o._parent=s.helper.parent(),e.currentItem=s.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return s.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=o.offset.click.top,e.offset.click.left=o.offset.click.left,e.offset.parent.left-=o.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=o.offset.parent.top-e.offset.parent.top,o._trigger("toSortable",i),o.dropped=e.element,y.each(o.sortables,function(){this.refreshPositions()}),o.currentItem=o.element,e.fromOutside=o),e.currentItem&&(e._mouseDrag(i),s.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),s.helper.appendTo(o._parent),o._refreshOffsets(i),s.position=o._generatePosition(i,!0),o._trigger("fromSortable",i),o.dropped=!1,y.each(o.sortables,function(){this.refreshPositions()}))})}}),y.ui.plugin.add("draggable","cursor",{start:function(t,e,i){var s=y("body"),i=i.options;s.css("cursor")&&(i._cursor=s.css("cursor")),s.css("cursor",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&y("body").css("cursor",i._cursor)}}),y.ui.plugin.add("draggable","opacity",{start:function(t,e,i){e=y(e.helper),i=i.options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&y(e.helper).css("opacity",i._opacity)}}),y.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var s=i.options,o=!1,n=i.scrollParentNotHidden[0],r=i.document[0];n!==r&&"HTML"!==n.tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+n.offsetHeight-t.pageY<s.scrollSensitivity?n.scrollTop=o=n.scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(n.scrollTop=o=n.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+n.offsetWidth-t.pageX<s.scrollSensitivity?n.scrollLeft=o=n.scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(n.scrollLeft=o=n.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(t.pageY-y(r).scrollTop()<s.scrollSensitivity?o=y(r).scrollTop(y(r).scrollTop()-s.scrollSpeed):y(window).height()-(t.pageY-y(r).scrollTop())<s.scrollSensitivity&&(o=y(r).scrollTop(y(r).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(t.pageX-y(r).scrollLeft()<s.scrollSensitivity?o=y(r).scrollLeft(y(r).scrollLeft()-s.scrollSpeed):y(window).width()-(t.pageX-y(r).scrollLeft())<s.scrollSensitivity&&(o=y(r).scrollLeft(y(r).scrollLeft()+s.scrollSpeed)))),!1!==o&&y.ui.ddmanager&&!s.dropBehaviour&&y.ui.ddmanager.prepareOffsets(i,t)}}),y.ui.plugin.add("draggable","snap",{start:function(t,e,i){var s=i.options;i.snapElements=[],y(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each(function(){var t=y(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,i){for(var s,o,n,r,h,a,l,c,p,f=i.options,d=f.snapTolerance,u=e.offset.left,g=u+i.helperProportions.width,m=e.offset.top,_=m+i.helperProportions.height,v=i.snapElements.length-1;0<=v;v--)a=(h=i.snapElements[v].left-i.margins.left)+i.snapElements[v].width,c=(l=i.snapElements[v].top-i.margins.top)+i.snapElements[v].height,g<h-d||a+d<u||_<l-d||c+d<m||!y.contains(i.snapElements[v].item.ownerDocument,i.snapElements[v].item)?(i.snapElements[v].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,y.extend(i._uiHash(),{snapItem:i.snapElements[v].item})),i.snapElements[v].snapping=!1):("inner"!==f.snapMode&&(s=Math.abs(l-_)<=d,o=Math.abs(c-m)<=d,n=Math.abs(h-g)<=d,r=Math.abs(a-u)<=d,s&&(e.position.top=i._convertPositionTo("relative",{top:l-i.helperProportions.height,left:0}).top),o&&(e.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),n&&(e.position.left=i._convertPositionTo("relative",{top:0,left:h-i.helperProportions.width}).left),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a}).left)),p=s||o||n||r,"outer"!==f.snapMode&&(s=Math.abs(l-m)<=d,o=Math.abs(c-_)<=d,n=Math.abs(h-u)<=d,r=Math.abs(a-g)<=d,s&&(e.position.top=i._convertPositionTo("relative",{top:l,left:0}).top),o&&(e.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),n&&(e.position.left=i._convertPositionTo("relative",{top:0,left:h}).left),r&&(e.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left)),!i.snapElements[v].snapping&&(s||o||n||r||p)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,y.extend(i._uiHash(),{snapItem:i.snapElements[v].item})),i.snapElements[v].snapping=s||o||n||r||p)}}),y.ui.plugin.add("draggable","stack",{start:function(t,e,i){var s,i=i.options,i=y.makeArray(y(i.stack)).sort(function(t,e){return(parseInt(y(t).css("zIndex"),10)||0)-(parseInt(y(e).css("zIndex"),10)||0)});i.length&&(s=parseInt(y(i[0]).css("zIndex"),10)||0,y(i).each(function(t){y(this).css("zIndex",s+t)}),this.css("zIndex",s+i.length))}}),y.ui.plugin.add("draggable","zIndex",{start:function(t,e,i){e=y(e.helper),i=i.options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e,i){i=i.options;i._zIndex&&y(e.helper).css("zIndex",i._zIndex)}});y.ui.draggable;function g(t,e,i){return e<=t&&t<e+i}y.widget("ui.droppable",{version:"1.13.2",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return t=t||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){y.ui.ddmanager.droppables[t]=y.ui.ddmanager.droppables[t]||[],y.ui.ddmanager.droppables[t].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var t=y.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,e){var i;"accept"===t?this.accept="function"==typeof e?e:function(t){return t.is(e)}:"scope"===t&&(i=y.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(e)),this._super(t,e)},_activate:function(t){var e=y.ui.ddmanager.current;this._addActiveClass(),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=y.ui.ddmanager.current;this._removeActiveClass(),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=y.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=y.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(e)))},_drop:function(e,t){var i=t||y.ui.ddmanager.current,s=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=y(this).droppable("instance");if(t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&y.ui.intersect(i,y.extend(t,{offset:t.element.offset()}),t.options.tolerance,e))return!(s=!0)}),!s&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(i)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.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")}}),y.ui.intersect=function(t,e,i,s){if(!e.offset)return!1;var o=(t.positionAbs||t.position.absolute).left+t.margins.left,n=(t.positionAbs||t.position.absolute).top+t.margins.top,r=o+t.helperProportions.width,h=n+t.helperProportions.height,a=e.offset.left,l=e.offset.top,c=a+e.proportions().width,p=l+e.proportions().height;switch(i){case"fit":return a<=o&&r<=c&&l<=n&&h<=p;case"intersect":return a<o+t.helperProportions.width/2&&r-t.helperProportions.width/2<c&&l<n+t.helperProportions.height/2&&h-t.helperProportions.height/2<p;case"pointer":return g(s.pageY,l,e.proportions().height)&&g(s.pageX,a,e.proportions().width);case"touch":return(l<=n&&n<=p||l<=h&&h<=p||n<l&&p<h)&&(a<=o&&o<=c||a<=r&&r<=c||o<a&&c<r);default:return!1}},!(y.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var i,s,o=y.ui.ddmanager.droppables[t.options.scope]||[],n=e?e.type:null,r=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<o.length;i++)if(!(o[i].options.disabled||t&&!o[i].accept.call(o[i].element[0],t.currentItem||t.element))){for(s=0;s<r.length;s++)if(r[s]===o[i].element[0]){o[i].proportions().height=0;continue t}o[i].visible="none"!==o[i].element.css("display"),o[i].visible&&("mousedown"===n&&o[i]._activate.call(o[i],e),o[i].offset=o[i].element.offset(),o[i].proportions({width:o[i].element[0].offsetWidth,height:o[i].element[0].offsetHeight}))}},drop:function(t,e){var i=!1;return y.each((y.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&y.ui.intersect(t,this,this.options.tolerance,e)&&(i=this._drop.call(this,e)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),i},dragStart:function(t,e){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||y.ui.ddmanager.prepareOffsets(t,e)})},drag:function(o,n){o.options.refreshPositions&&y.ui.ddmanager.prepareOffsets(o,n),y.each(y.ui.ddmanager.droppables[o.options.scope]||[],function(){var t,e,i,s;this.options.disabled||this.greedyChild||!this.visible||(s=!(i=y.ui.intersect(o,this,this.options.tolerance,n))&&this.isover?"isout":i&&!this.isover?"isover":null)&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return y(this).droppable("instance").options.scope===e})).length&&((t=y(i[0]).droppable("instance")).greedyChild="isover"===s)),t&&"isover"===s&&(t.isover=!1,t.isout=!0,t._out.call(t,n)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,n),t&&"isout"===s&&(t.isout=!1,t.isover=!0,t._over.call(t,n)))})},dragStop:function(t,e){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||y.ui.ddmanager.prepareOffsets(t,e)}})!==y.uiBackCompat&&y.widget("ui.droppable",y.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});y.ui.droppable;y.widget("ui.resizable",y.ui.mouse,{version:"1.13.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(t,e){if("hidden"===y(t).css("overflow"))return!1;var i=e&&"left"===e?"scrollLeft":"scrollTop",e=!1;if(0<t[i])return!0;try{t[i]=1,e=0<t[i],t[i]=0}catch(t){}return e},_create:function(){var t,e=this.options,i=this;this._addClass("ui-resizable"),y.extend(this,{_aspectRatio:!!e.aspectRatio,aspectRatio:e.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:e.helper||e.ghost||e.animate?e.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(y("<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=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),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(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,o,n=this.options,r=this;if(this.handles=n.handles||(y(".ui-resizable-handle",this.element).length?{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"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e<i.length;e++)s="ui-resizable-"+(t=String.prototype.trim.call(i[e])),o=y("<div>"),this._addClass(o,"ui-resizable-handle "+s),o.css({zIndex:n.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(o),this._addedHandles=this._addedHandles.add(o));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),n.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,o=this.options,n=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:n.sizeDiff.height,i=e?0:n.sizeDiff.width,e={width:n.helper.width()-i,height:n.helper.height()-s},i=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,s=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null,o.animate||this.element.css(y.extend(e,{top:s,left:i})),n.helper.height(n.size.height),n.helper.width(n.size.width),this._helper&&!o.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_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 t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,o={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,i=o.minWidth/this.aspectRatio,s=o.maxHeight*this.aspectRatio,t=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),i>o.minHeight&&(o.minHeight=i),s<o.maxWidth&&(o.maxWidth=s),t<o.maxHeight&&(o.maxHeight=t)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 5,775 bytes, line 20
20=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,n=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,r=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,a=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return n&&(t.width=e.minWidth),r&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),n&&l&&(t.left=h-e.minWidth),s&&l&&(t.left=h-e.maxWidth),r&&i&&(t.top=a-e.minHeight),o&&i&&(t.top=a-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],o=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(o[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||y("<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:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,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}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,o=s.length&&/textarea/i.test(s[0].nodeName),n=o&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,o={width:i.size.width-r,height:i.size.height-n},r=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,n=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(o,n&&r?{top:n,left:r}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,o=y(this).resizable("instance"),t=o.options,e=o.element,n=t.containment,r=n instanceof y?n.get(0):/parent/.test(n)?e.parent().get(0):n;r&&(o.containerElement=y(r),/document/.test(n)||n===document?(o.containerOffset={left:0,top:0},o.containerPosition={left:0,top:0},o.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(r),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=o._num(i.css("padding"+e))}),o.containerOffset=i.offset(),o.containerPosition=i.position(),o.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=o.containerOffset,e=o.containerSize.height,n=o.containerSize.width,n=o._hasScroll(r,"left")?r.scrollWidth:n,e=o._hasScroll(r)?r.scrollHeight:e,o.parentData={element:r,left:t.left,top:t.top,width:n,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,o=e.position,n=e._aspectRatio||t.shiftKey,r={top:0,left:0},h=e.containerElement,t=!0;h[0]!==document&&/static/.test(h.css("position"))&&(r=s),o.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-r.left),n&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left
vendor: 2,025 bytes, line 20
20=i.helper?s.left:0),o.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),n&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),o=/relative|absolute/.test(e.containerElement.css("position")),i&&o?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),o=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-r.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-r.top:e.offset.top-s.top)),o+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-o,n&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,n&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,o=t.containerElement,n=y(t.helper),r=n.offset(),h=n.outerWidth()-t.sizeDiff.width,n=n.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(o.css("position"))&&y(this).css({left:r.left-s.left-i.left,width:h,height:n}),t._helper&&!e.animate&&/static/.test(o.css("position"))&&y(this).css({left:r.left-s.left-i.left,width:h,height:n})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,o=e.originalSize,n=e.originalPosition,r={height:e.size.height-o.height||0,width:e.size.width-o.width||0,top:e.position.top-n.top||0,left
vendor: 32,760 bytes, lines 20-65
20:e.position.left-n.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),o={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&0<=i&&(o[e]=i||null)}),t.css(o)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,o=e.originalSize,n=e.originalPosition,r=e.axis,h="number"==typeof i.grid?[i.grid,i.grid]:i.grid,a=h[0]||1,l=h[1]||1,c=Math.round((s.width-o.width)/a)*a,p=Math.round((s.height-o.height)/l)*l,f=o.width+c,d=o.height+p,u=i.maxWidth&&i.maxWidth<f,g=i.maxHeight&&i.maxHeight<d,m=i.minWidth&&i.minWidth>f,s=i.minHeight&&i.minHeight>d;i.grid=h,m&&(f+=a),s&&(d+=l),u&&(f-=a),g&&(d-=l),/^(se|s|e)$/.test(r)?(e.size.width=f,e.size.height=d):/^(ne)$/.test(r)?(e.size.width=f,e.size.height=d,e.position.top=n.top-p):/^(sw)$/.test(r)?(e.size.width=f,e.size.height=d,e.position.left=n.left-c):((d-l<=0||f-a<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0<d-l?(e.size.height=d,e.position.top=n.top-p):(d=l-t.height,e.size.height=d,e.position.top=n.top+o.height-d),0<f-a?(e.size.width=f,e.position.left=n.left-c):(f=a-t.width,e.size.width=f,e.position.left=n.left+o.width-f))}});y.ui.resizable,y.widget("ui.selectable",y.ui.mouse,{version:"1.13.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=y(i.element[0]).offset(),i.selectees=y(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var t=y(this),e=t.offset(),e={left:e.left-i.elementPos.left,top:e.top-i.elementPos.top};y.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=y("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var s=this,t=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=y(this.element[0]).offset(),this.options.disabled||(this.selectees=y(t.filter,this.element[0]),this._trigger("start",i),y(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=y.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(s._removeClass(t.$element,"ui-selected"),t.selected=!1,s._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))}),y(i.target).parents().addBack().each(function(){var t,e=y.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),s._removeClass(e.$element,t?"ui-unselecting":"ui-selected")._addClass(e.$element,t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger("selecting",i,{selecting:e.element}):s._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(s){if(this.dragged=!0,!this.options.disabled){var t,o=this,n=this.options,r=this.opos[0],h=this.opos[1],a=s.pageX,l=s.pageY;return a<r&&(t=a,a=r,r=t),l<h&&(t=l,l=h,h=t),this.helper.css({left:r,top:h,width:a-r,height:l-h}),this.selectees.each(function(){var t=y.data(this,"selectable-item"),e=!1,i={};t&&t.element!==o.element[0]&&(i.left=t.left+o.elementPos.left,i.right=t.right+o.elementPos.left,i.top=t.top+o.elementPos.top,i.bottom=t.bottom+o.elementPos.top,"touch"===n.tolerance?e=!(i.left>a||i.right<r||i.top>l||i.bottom<h):"fit"===n.tolerance&&(e=i.left>r&&i.right<a&&i.top>h&&i.bottom<l),e?(t.selected&&(o._removeClass(t.$element,"ui-selected"),t.selected=!1),t.unselecting&&(o._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1),t.selecting||(o._addClass(t.$element,"ui-selecting"),t.selecting=!0,o._trigger("selecting",s,{selecting:t.element}))):(t.selecting&&((s.metaKey||s.ctrlKey)&&t.startselected?(o._removeClass(t.$element,"ui-selecting"),t.selecting=!1,o._addClass(t.$element,"ui-selected"),t.selected=!0):(o._removeClass(t.$element,"ui-selecting"),t.selecting=!1,t.startselected&&(o._addClass(t.$element,"ui-unselecting"),t.unselecting=!0),o._trigger("unselecting",s,{unselecting:t.element}))),t.selected&&(s.metaKey||s.ctrlKey||t.startselected||(o._removeClass(t.$element,"ui-selected"),t.selected=!1,o._addClass(t.$element,"ui-unselecting"),t.unselecting=!0,o._trigger("unselecting",s,{unselecting:t.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,y(".ui-unselecting",this.element[0]).each(function(){var t=y.data(this,"selectable-item");i._removeClass(t.$element,"ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),y(".ui-selecting",this.element[0]).each(function(){var t=y.data(this,"selectable-item");i._removeClass(t.$element,"ui-selecting")._addClass(t.$element,"ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),y.widget("ui.sortable",y.ui.mouse,{version:"1.13.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,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(t,e,i){return e<=t&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),y.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var i=null,s=!1,o=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),y(t.target).parents().each(function(){if(y.data(this,o.widgetName+"-item")===o)return i=y(this),!1}),!!(i=y.data(t.target,o.widgetName+"-item")===o?y(t.target):i)&&(!(this.options.handle&&!e&&(y(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(s=!0)}),!s))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var s,o,n=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=y("parent"!==n.appendTo?n.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),y.extend(this.offset,{parent:this._getParentOffset()}),n.containment&&this._setContainment(),n.cursor&&"auto"!==n.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",n.cursor),this.storedStylesheet=y("<style>*{ cursor: "+n.cursor+" !important; }</style>").appendTo(o)),n.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",n.zIndex)),n.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",n.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger("activate",t,this._uiHash(this));return y.ui.ddmanager&&(y.ui.ddmanager.current=this),y.ui.ddmanager&&!n.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(t){var e=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),i},_mouseDrag:function(t){var e,i,s,o,n=this.options;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n.scroll&&!1!==this._scroll(t)&&(this._refreshItemPositions(!0),y.ui.ddmanager&&!n.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},e=this.items.length-1;0<=e;e--)if(s=(i=this.items[e]).item[0],(o=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===s||y.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&y.contains(this.element[0],s))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),y.ui.ddmanager&&y.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,s,o,n;if(t)return y.ui.ddmanager&&!this.options.dropBehaviour&&y.ui.ddmanager.drop(this,t),this.options.revert?(s=(i=this).placeholder.offset(),n={},(o=this.options.axis)&&"x"!==o||(n.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(n.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,y(this.helper).animate(n,parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp(new y.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),y.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?y(this.domPosition.prev).after(this.currentItem):y(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},y(t).each(function(){var t=(y(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(y(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,o=s+this.helperProportions.height,n=t.left,r=n+t.width,h=t.top,a=h+t.height,l=this.offset.click.top,c=this.offset.click.left,l="x"===this.options.axis||h<s+l&&s+l<a,c="y"===this.options.axis||n<e+c&&e+c<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?l&&c:n<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<r&&h<s+this.helperProportions.height/2&&o-this.helperProportions.height/2<a},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!e||!t)&&(e=this.dragDirection.vertical,t=this.dragDirection.horizontal,this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this.dragDirection.vertical,t=this.dragDirection.horizontal;return this.floating&&t?"right"===t&&i||"left"===t&&!i:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,s,o,n=[],r=[],h=this._connectWith();if(h&&t)for(e=h.length-1;0<=e;e--)for(i=(s=y(h[e],this.document[0])).length-1;0<=i;i--)(o=y.data(s[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&r.push(["function"==typeof o.options.items?o.options.items.call(o.element):y(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function a(){n.push(this)}for(r.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):y(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=r.length-1;0<=e;e--)r[e][0].each(a);return y(n)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=y.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,s,o,n,r,h,a,l=this.items,c=[["function"==typeof this.options.items?this.options.items.call(this.element[0],t,{item:this.currentItem}):y(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(e=p.length-1;0<=e;e--)for(i=(s=y(p[e],this.document[0])).length-1;0<=i;i--)(o=y.data(s[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&(c.push(["function"==typeof o.options.items?o.options.items.call(o.element[0],t,{item:this.currentItem}):y(o.options.items,o.element),o]),this.containers.push(o));for(e=c.length-1;0<=e;e--)for(n=c[e][1],a=(r=c[e][i=0]).length;i<a;i++)(h=y(r[i])).data(this.widgetName+"-item",n),l.push({item:h,instance:n,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(t){for(var e,i,s=this.items.length-1;0<=s;s--)e=this.items[s],this.currentContainer&&e.instance!==this.currentContainer&&e.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?y(this.options.toleranceElement,e.item):e.item,t||(e.width=i.outerWidth(),e.height=i.outerHeight()),i=i.offset(),e.left=i.left,e.top=i.top)},refreshPositions:function(t){var e,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)i=this.containers[e].element.offset(),this.containers[e].containerCache.left=i.left,this.containers[e].containerCache.top=i.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var s,o,n=(i=i||this).options;n.placeholder&&n.placeholder.constructor!==String||(s=n.placeholder,o=i.currentItem[0].nodeName.toLowerCase(),n.placeholder={element:function(){var t=y("<"+o+">",i.document[0]);return i._addClass(t,"ui-sortable-placeholder",s||i.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===o?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),y("<tr>",i.document[0]).appendTo(t)):"tr"===o?i._createTrPlaceholder(i.currentItem,t):"img"===o&&t.attr("src",i.currentItem.attr("src")),s||t.css("visibility","hidden"),t},update:function(t,e){s&&!n.forcePlaceholderSize||(e.height()&&(!n.forcePlaceholderSize||"tbody"!==o&&"tr"!==o)||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=y(n.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),n.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){y("<td>&#160;</td>",i.document[0]).attr("colspan",y(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,s,o,n,r,h,a,l,c=null,p=null,f=this.containers.length-1;0<=f;f--)y.contains(this.currentItem[0],this.containers[f].element[0])||(this._intersectsWith(this.containers[f].containerCache)?c&&y.contains(this.containers[f].element[0],c.element[0])||(c=this.containers[f],p=f):this.containers[f].containerCache.over&&(this.containers[f]._trigger("out",t,this._uiHash(this)),this.containers[f].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(i=1e4,s=null,o=(a=c.floating||this._isFloating(this.currentItem))?"left":"top",n=a?"width":"height",l=a?"pageX":"pageY",e=this.items.length-1;0<=e;e--)y.contains(this.containers[p].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(r=this.items[e].item.offset()[o],h=!1,t[l]-r>this.items[e][n]/2&&(h=!0),Math.abs(t[l]-r)<i&&(i=Math.abs(t[l]-r),s=this.items[e],this.direction=h?"up":"down"));(s||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[p]?(s?this._rearrange(t,s,null,!0):this._rearrange(t,null,this.containers[p].element,!0),this._trigger("change",t,this._uiHash()),this.containers[p]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[p]._trigger("over",t,this._uiHash(this)),this.containers[p].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(t){var e=this.options,t="function"==typeof e.helper?y(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||this.appendTo[0].appendChild(t[0]),t[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")}),t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=Array.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&y.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&y.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_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 t,e,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=y(i.containment)[0],e=y(i.containment).offset(),i="hidden"!==y(t).css("overflow"),this.containment=[e.left+(parseInt(y(t).css("borderLeftWidth"),10)||0)+(parseInt(y(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(y(t).css("borderTopWidth"),10)||0)+(parseInt(y(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(y(t).css("borderLeftWidth"),10)||0)-(parseInt(y(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(y(t).css("borderTopWidth"),10)||0)-(parseInt(y(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,t=/(html|body)/i.test(s[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():t?0:s.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():t?0:s.scrollLeft())*i}},_generatePosition:function(t){var e=this.options,i=t.pageX,s=t.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((s-this.originalPageY)/e.grid[1])*e.grid[1],s=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[0])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0])),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:o.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:o.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(e,i,s){return function(t){s._trigger(e,t,i._uiHash(i))}}for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||s.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<s.length;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===y.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||y([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})});;
21if(!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}})()};;
22/*!
23* imagesLoaded PACKAGED v5.0.0
24* JavaScript is all like "You images are done yet or what?"
25* MIT License
26*/
27/**
28* EvEmitter v2.1.1
29* Lil' event emitter
30* MIT License
31*/
32( function( global, factory ) {
33// universal module definition
34if ( typeof module == 'object' && module.exports ) {
35// CommonJS - Browserify, Webpack
36module.exports = factory();
37} else {
38// Browser globals
39global.EvEmitter = factory();
40}
41}( typeof window != 'undefined' ? window : this, function() {
42function EvEmitter() {}
43let proto = EvEmitter.prototype;
44proto.on = function( eventName, listener ) {
45if ( !eventName || !listener ) return this;
46// set events hash
47let events = this._events = this._events || {};
48// set listeners array
49let listeners = events[ eventName ] = events[ eventName ] || [];
50// only add once
51if ( !listeners.includes( listener ) ) {
52listeners.push( listener );
53}
54return this;
55};
56proto.once = function( eventName, listener ) {
57if ( !eventName || !listener ) return this;
58// add event
59this.on( eventName, listener );
60// set once flag
61// set onceEvents hash
62let onceEvents = this._onceEvents = this._onceEvents || {};
63// set onceListeners object
64let onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};
65// set flag
vendor: 8,647 bytes, lines 66-341
66onceListeners[ listener ] = true;
67return this;
68};
69proto.off = function( eventName, listener ) {
70let listeners = this._events && this._events[ eventName ];
71if ( !listeners || !listeners.length ) return this;
72let index = listeners.indexOf( listener );
73if ( index != -1 ) {
74listeners.splice( index, 1 );
75}
76return this;
77};
78proto.emitEvent = function( eventName, args ) {
79let listeners = this._events && this._events[ eventName ];
80if ( !listeners || !listeners.length ) return this;
81// copy over to avoid interference if .off() in listener
82listeners = listeners.slice( 0 );
83args = args || [];
84// once stuff
85let onceListeners = this._onceEvents && this._onceEvents[ eventName ];
86for ( let listener of listeners ) {
87let isOnce = onceListeners && onceListeners[ listener ];
88if ( isOnce ) {
89// remove listener
90// remove before trigger to prevent recursion
91this.off( eventName, listener );
92// unset once flag
93delete onceListeners[ listener ];
94}
95// trigger listener
96listener.apply( this, args );
97}
98return this;
99};
100proto.allOff = function() {
101delete this._events;
102delete this._onceEvents;
103return this;
104};
105return EvEmitter;
106} ) );
107/*!
108* imagesLoaded v5.0.0
109* JavaScript is all like "You images are done yet or what?"
110* MIT License
111*/
112( function( window, factory ) {
113// universal module definition
114if ( typeof module == 'object' && module.exports ) {
115// CommonJS
116module.exports = factory( window, require('ev-emitter') );
117} else {
118// browser global
119window.imagesLoaded = factory( window, window.EvEmitter );
120}
121} )( typeof window !== 'undefined' ? window : this,
122function factory( window, EvEmitter ) {
123let $ = window.jQuery;
124let console = window.console;
125// -------------------------- helpers -------------------------- //
126// turn element or nodeList into an array
127function makeArray( obj ) {
128// use object if already an array
129if ( Array.isArray( obj ) ) return obj;
130let isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';
131// convert nodeList to array
132if ( isArrayLike ) return [ ...obj ];
133// array of single index
134return [ obj ];
135}
136// -------------------------- imagesLoaded -------------------------- //
137/**
138* @param {[Array, Element, NodeList, String]} elem
139* @param {[Object, Function]} options - if function, use as callback
140* @param {Function} onAlways - callback function
141* @returns {ImagesLoaded}
142*/
143function ImagesLoaded( elem, options, onAlways ) {
144// coerce ImagesLoaded() without new, to be new ImagesLoaded()
145if ( !( this instanceof ImagesLoaded ) ) {
146return new ImagesLoaded( elem, options, onAlways );
147}
148// use elem as selector string
149let queryElem = elem;
150if ( typeof elem == 'string' ) {
151queryElem = document.querySelectorAll( elem );
152}
153// bail if bad element
154if ( !queryElem ) {
155console.error(`Bad element for imagesLoaded ${queryElem || elem}`);
156return;
157}
158this.elements = makeArray( queryElem );
159this.options = {};
160// shift arguments if no options set
161if ( typeof options == 'function' ) {
162onAlways = options;
163} else {
164Object.assign( this.options, options );
165}
166if ( onAlways ) this.on( 'always', onAlways );
167this.getImages();
168// add jQuery Deferred object
169if ( $ ) this.jqDeferred = new $.Deferred();
170// HACK check async to allow time to bind listeners
171setTimeout( this.check.bind( this ) );
172}
173ImagesLoaded.prototype = Object.create( EvEmitter.prototype );
174ImagesLoaded.prototype.getImages = function() {
175this.images = [];
176// filter & find items if we have an item selector
177this.elements.forEach( this.addElementImages, this );
178};
179const elementNodeTypes = [ 1, 9, 11 ];
180/**
181* @param {Node} elem
182*/
183ImagesLoaded.prototype.addElementImages = function( elem ) {
184// filter siblings
185if ( elem.nodeName === 'IMG' ) {
186this.addImage( elem );
187}
188// get background image on element
189if ( this.options.background === true ) {
190this.addElementBackgroundImages( elem );
191}
192// find children
193// no non-element nodes, #143
194let { nodeType } = elem;
195if ( !nodeType || !elementNodeTypes.includes( nodeType ) ) return;
196let childImgs = elem.querySelectorAll('img');
197// concat childElems to filterFound array
198for ( let img of childImgs ) {
199this.addImage( img );
200}
201// get child background images
202if ( typeof this.options.background == 'string' ) {
203let children = elem.querySelectorAll( this.options.background );
204for ( let child of children ) {
205this.addElementBackgroundImages( child );
206}
207}
208};
209const reURL = /url\((['"])?(.*?)\1\)/gi;
210ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {
211let style = getComputedStyle( elem );
212// Firefox returns null if in a hidden iframe https://bugzil.la/548397
213if ( !style ) return;
214// get url inside url("...")
215let matches = reURL.exec( style.backgroundImage );
216while ( matches !== null ) {
217let url = matches && matches[2];
218if ( url ) {
219this.addBackground( url, elem );
220}
221matches = reURL.exec( style.backgroundImage );
222}
223};
224/**
225* @param {Image} img
226*/
227ImagesLoaded.prototype.addImage = function( img ) {
228let loadingImage = new LoadingImage( img );
229this.images.push( loadingImage );
230};
231ImagesLoaded.prototype.addBackground = function( url, elem ) {
232let background = new Background( url, elem );
233this.images.push( background );
234};
235ImagesLoaded.prototype.check = function() {
236this.progressedCount = 0;
237this.hasAnyBroken = false;
238// complete if no images
239if ( !this.images.length ) {
240this.complete();
241return;
242}
243/* eslint-disable-next-line func-style */
244let onProgress = ( image, elem, message ) => {
245// HACK - Chrome triggers event before object properties have changed. #83
246setTimeout( () => {
247this.progress( image, elem, message );
248} );
249};
250this.images.forEach( function( loadingImage ) {
251loadingImage.once( 'progress', onProgress );
252loadingImage.check();
253} );
254};
255ImagesLoaded.prototype.progress = function( image, elem, message ) {
256this.progressedCount++;
257this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;
258// progress event
259this.emitEvent( 'progress', [ this, image, elem ] );
260if ( this.jqDeferred && this.jqDeferred.notify ) {
261this.jqDeferred.notify( this, image );
262}
263// check if completed
264if ( this.progressedCount === this.images.length ) {
265this.complete();
266}
267if ( this.options.debug && console ) {
268console.log( `progress: ${message}`, image, elem );
269}
270};
271ImagesLoaded.prototype.complete = function() {
272let eventName = this.hasAnyBroken ? 'fail' : 'done';
273this.isComplete = true;
274this.emitEvent( eventName, [ this ] );
275this.emitEvent( 'always', [ this ] );
276if ( this.jqDeferred ) {
277let jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';
278this.jqDeferred[ jqMethod ]( this );
279}
280};
281// --------------------------  -------------------------- //
282function LoadingImage( img ) {
283this.img = img;
284}
285LoadingImage.prototype = Object.create( EvEmitter.prototype );
286LoadingImage.prototype.check = function() {
287// If complete is true and browser supports natural sizes,
288// try to check for image status manually.
289let isComplete = this.getIsImageComplete();
290if ( isComplete ) {
291// report based on naturalWidth
292this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
293return;
294}
295// If none of the checks above matched, simulate loading on detached element.
296this.proxyImage = new Image();
297// add crossOrigin attribute. #204
298if ( this.img.crossOrigin ) {
299this.proxyImage.crossOrigin = this.img.crossOrigin;
300}
301this.proxyImage.addEventListener( 'load', this );
302this.proxyImage.addEventListener( 'error', this );
303// bind to image as well for Firefox. #191
304this.img.addEventListener( 'load', this );
305this.img.addEventListener( 'error', this );
306this.proxyImage.src = this.img.currentSrc || this.img.src;
307};
308LoadingImage.prototype.getIsImageComplete = function() {
309// check for non-zero, non-undefined naturalWidth
310// fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671
311return this.img.complete && this.img.naturalWidth;
312};
313LoadingImage.prototype.confirm = function( isLoaded, message ) {
314this.isLoaded = isLoaded;
315let { parentNode } = this.img;
316// emit progress with parent <picture> or self <img>
317let elem = parentNode.nodeName === 'PICTURE' ? parentNode : this.img;
318this.emitEvent( 'progress', [ this, elem, message ] );
319};
320// ----- events ----- //
321// trigger specified handler for event type
322LoadingImage.prototype.handleEvent = function( event ) {
323let method = 'on' + event.type;
324if ( this[ method ] ) {
325this[ method ]( event );
326}
327};
328LoadingImage.prototype.onload = function() {
329this.confirm( true, 'onload' );
330this.unbindEvents();
331};
332LoadingImage.prototype.onerror = function() {
333this.confirm( false, 'onerror' );
334this.unbindEvents();
335};
336LoadingImage.prototype.unbindEvents = function() {
337this.proxyImage.removeEventListener( 'load', this );
338this.proxyImage.removeEventListener( 'error', this );
339this.img.removeEventListener( 'load', this );
340this.img.removeEventListener( 'error', this );
341};
342// -------------------------- Background -------------------------- //
343function Background( url, element ) {
344this.url = url;
345this.element = element;
346this.img = new Image();
347}
348// inherit LoadingImage prototype
349Background.prototype = Object.create( LoadingImage.prototype );
350Background.prototype.check = function() {
351this.img.addEventListener( 'load', this );
352this.img.addEventListener( 'error', this );
353this.img.src = this.url;
354// check if image is already complete
355let isComplete = this.getIsImageComplete();
356if ( isComplete ) {
357this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
358this.unbindEvents();
359}
360};
361Background.prototype.unbindEvents = function() {
362this.img.removeEventListener( 'load', this );
363this.img.removeEventListener( 'error', this );
364};
365Background.prototype.confirm = function( isLoaded, message ) {
366this.isLoaded = isLoaded;
367this.emitEvent( 'progress', [ this, this.element, message ] );
368};
369// -------------------------- jQuery -------------------------- //
370ImagesLoaded.makeJQueryPlugin = function( jQuery ) {
371jQuery = jQuery || window.jQuery;
372if ( !jQuery ) return;
373// set local variable
374$ = jQuery;
375// $().imagesLoaded()
376$.fn.imagesLoaded = function( options, onAlways ) {
377let instance = new ImagesLoaded( this, options, onAlways );
378return instance.jqDeferred.promise( $( this ) );
379};
380};
381// try making plugin
382ImagesLoaded.makeJQueryPlugin();
383// --------------------------  -------------------------- //
384return ImagesLoaded;
385} );;
386//! moment.js
387//! version : 2.30.1
388//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
389//! license : MIT
390//! momentjs.com
391;(function (global, factory) {
392typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
393typeof define === 'function' && define.amd ? define(factory) :
394global.moment = factory()
395}(this, (function () { 'use strict';
396var hookCallback;
397function hooks() {
398return hookCallback.apply(null, arguments);
399}
400// This is done to register the method called with moment()
401// without creating circular dependencies.
402function setHookCallback(callback) {
403hookCallback = callback;
404}
405function isArray(input) {
406return (
407input instanceof Array ||
408Object.prototype.toString.call(input) === '[object Array]'
409);
410}
411function isObject(input) {
412// IE8 will treat undefined and null as object if it wasn't for
413// input != null
414return (
415input != null &&
416Object.prototype.toString.call(input) === '[object Object]'
417);
418}
419function hasOwnProp(a, b) {
420return Object.prototype.hasOwnProperty.call(a, b);
421}
422function isObjectEmpty(obj) {
423if (Object.getOwnPropertyNames) {
424return Object.getOwnPropertyNames(obj).length === 0;
425} else {
426var k;
427for (k in obj) {
428if (hasOwnProp(obj, k)) {
429return false;
430}
431}
432return true;
433}
434}
435function isUndefined(input) {
436return input === void 0;
437}
438function isNumber(input) {
439return (
440typeof input === 'number' ||
441Object.prototype.toString.call(input) === '[object Number]'
442);
443}
444function isDate(input) {
445return (
446input instanceof Date ||
447Object.prototype.toString.call(input) === '[object Date]'
448);
449}
450function map(arr, fn) {
451var res = [],
452i,
453arrLen = arr.length;
454for (i = 0; i < arrLen; ++i) {
455res.push(fn(arr[i], i));
456}
457return res;
458}
459function extend(a, b) {
460for (var i in b) {
461if (hasOwnProp(b, i)) {
462a[i] = b[i];
463}
464}
465if (hasOwnProp(b, 'toString')) {
466a.toString = b.toString;
467}
468if (hasOwnProp(b, 'valueOf')) {
469a.valueOf = b.valueOf;
470}
471return a;
472}
473function createUTC(input, format, locale, strict) {
474return createLocalOrUTC(input, format, locale, strict, true).utc();
475}
476function defaultParsingFlags() {
477// We need to deep clone this object.
478return {
479empty: false,
480unusedTokens: [],
481unusedInput: [],
482overflow: -2,
483charsLeftOver: 0,
484nullInput: false,
485invalidEra: null,
486invalidMonth: null,
487invalidFormat: false,
488userInvalidated: false,
489iso: false,
490parsedDateParts: [],
491era: null,
492meridiem: null,
493rfc2822: false,
494weekdayMismatch: false,
495};
496}
497function getParsingFlags(m) {
498if (m._pf == null) {
499m._pf = defaultParsingFlags();
500}
501return m._pf;
502}
503var some;
504if (Array.prototype.some) {
505some = Array.prototype.some;
506} else {
507some = function (fun) {
508var t = Object(this),
509len = t.length >>> 0,
510i;
511for (i = 0; i < len; i++) {
512if (i in t && fun.call(this, t[i], i, t)) {
513return true;
514}
515}
516return false;
vendor: 6,185 bytes, lines 517-792
517};
518}
519function isValid(m) {
520var flags = null,
521parsedParts = false,
522isNowValid = m._d && !isNaN(m._d.getTime());
523if (isNowValid) {
524flags = getParsingFlags(m);
525parsedParts = some.call(flags.parsedDateParts, function (i) {
526return i != null;
527});
528isNowValid =
529flags.overflow < 0 &&
530!flags.empty &&
531!flags.invalidEra &&
532!flags.invalidMonth &&
533!flags.invalidWeekday &&
534!flags.weekdayMismatch &&
535!flags.nullInput &&
536!flags.invalidFormat &&
537!flags.userInvalidated &&
538(!flags.meridiem || (flags.meridiem && parsedParts));
539if (m._strict) {
540isNowValid =
541isNowValid &&
542flags.charsLeftOver === 0 &&
543flags.unusedTokens.length === 0 &&
544flags.bigHour === undefined;
545}
546}
547if (Object.isFrozen == null || !Object.isFrozen(m)) {
548m._isValid = isNowValid;
549} else {
550return isNowValid;
551}
552return m._isValid;
553}
554function createInvalid(flags) {
555var m = createUTC(NaN);
556if (flags != null) {
557extend(getParsingFlags(m), flags);
558} else {
559getParsingFlags(m).userInvalidated = true;
560}
561return m;
562}
563// Plugins that add properties should also add the key here (null value),
564// so we can properly clone ourselves.
565var momentProperties = (hooks.momentProperties = []),
566updateInProgress = false;
567function copyConfig(to, from) {
568var i,
569prop,
570val,
571momentPropertiesLen = momentProperties.length;
572if (!isUndefined(from._isAMomentObject)) {
573to._isAMomentObject = from._isAMomentObject;
574}
575if (!isUndefined(from._i)) {
576to._i = from._i;
577}
578if (!isUndefined(from._f)) {
579to._f = from._f;
580}
581if (!isUndefined(from._l)) {
582to._l = from._l;
583}
584if (!isUndefined(from._strict)) {
585to._strict = from._strict;
586}
587if (!isUndefined(from._tzm)) {
588to._tzm = from._tzm;
589}
590if (!isUndefined(from._isUTC)) {
591to._isUTC = from._isUTC;
592}
593if (!isUndefined(from._offset)) {
594to._offset = from._offset;
595}
596if (!isUndefined(from._pf)) {
597to._pf = getParsingFlags(from);
598}
599if (!isUndefined(from._locale)) {
600to._locale = from._locale;
601}
602if (momentPropertiesLen > 0) {
603for (i = 0; i < momentPropertiesLen; i++) {
604prop = momentProperties[i];
605val = from[prop];
606if (!isUndefined(val)) {
607to[prop] = val;
608}
609}
610}
611return to;
612}
613// Moment prototype object
614function Moment(config) {
615copyConfig(this, config);
616this._d = new Date(config._d != null ? config._d.getTime() : NaN);
617if (!this.isValid()) {
618this._d = new Date(NaN);
619}
620// Prevent infinite loop in case updateOffset creates new moment
621// objects.
622if (updateInProgress === false) {
623updateInProgress = true;
624hooks.updateOffset(this);
625updateInProgress = false;
626}
627}
628function isMoment(obj) {
629return (
630obj instanceof Moment || (obj != null && obj._isAMomentObject != null)
631);
632}
633function warn(msg) {
634if (
635hooks.suppressDeprecationWarnings === false &&
636typeof console !== 'undefined' &&
637console.warn
638) {
639console.warn('Deprecation warning: ' + msg);
640}
641}
642function deprecate(msg, fn) {
643var firstTime = true;
644return extend(function () {
645if (hooks.deprecationHandler != null) {
646hooks.deprecationHandler(null, msg);
647}
648if (firstTime) {
649var args = [],
650arg,
651i,
652key,
653argLen = arguments.length;
654for (i = 0; i < argLen; i++) {
655arg = '';
656if (typeof arguments[i] === 'object') {
657arg += '\n[' + i + '] ';
658for (key in arguments[0]) {
659if (hasOwnProp(arguments[0], key)) {
660arg += key + ': ' + arguments[0][key] + ', ';
661}
662}
663arg = arg.slice(0, -2); // Remove trailing comma and space
664} else {
665arg = arguments[i];
666}
667args.push(arg);
668}
669warn(
670msg +
671'\nArguments: ' +
672Array.prototype.slice.call(args).join('') +
673'\n' +
674new Error().stack
675);
676firstTime = false;
677}
678return fn.apply(this, arguments);
679}, fn);
680}
681var deprecations = {};
682function deprecateSimple(name, msg) {
683if (hooks.deprecationHandler != null) {
684hooks.deprecationHandler(name, msg);
685}
686if (!deprecations[name]) {
687warn(msg);
688deprecations[name] = true;
689}
690}
691hooks.suppressDeprecationWarnings = false;
692hooks.deprecationHandler = null;
693function isFunction(input) {
694return (
695(typeof Function !== 'undefined' && input instanceof Function) ||
696Object.prototype.toString.call(input) === '[object Function]'
697);
698}
699function set(config) {
700var prop, i;
701for (i in config) {
702if (hasOwnProp(config, i)) {
703prop = config[i];
704if (isFunction(prop)) {
705this[i] = prop;
706} else {
707this['_' + i] = prop;
708}
709}
710}
711this._config = config;
712// Lenient ordinal parsing accepts just a number in addition to
713// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
714// TODO: Remove "ordinalParse" fallback in next major release.
715this._dayOfMonthOrdinalParseLenient = new RegExp(
716(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
717'|' +
718/\d{1,2}/.source
719);
720}
721function mergeConfigs(parentConfig, childConfig) {
722var res = extend({}, parentConfig),
723prop;
724for (prop in childConfig) {
725if (hasOwnProp(childConfig, prop)) {
726if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
727res[prop] = {};
728extend(res[prop], parentConfig[prop]);
729extend(res[prop], childConfig[prop]);
730} else if (childConfig[prop] != null) {
731res[prop] = childConfig[prop];
732} else {
733delete res[prop];
734}
735}
736}
737for (prop in parentConfig) {
738if (
739hasOwnProp(parentConfig, prop) &&
740!hasOwnProp(childConfig, prop) &&
741isObject(parentConfig[prop])
742) {
743// make sure changes to properties don't modify parent config
744res[prop] = extend({}, res[prop]);
745}
746}
747return res;
748}
749function Locale(config) {
750if (config != null) {
751this.set(config);
752}
753}
754var keys;
755if (Object.keys) {
756keys = Object.keys;
757} else {
758keys = function (obj) {
759var i,
760res = [];
761for (i in obj) {
762if (hasOwnProp(obj, i)) {
763res.push(i);
764}
765}
766return res;
767};
768}
769var defaultCalendar = {
770sameDay: '[Today at] LT',
771nextDay: '[Tomorrow at] LT',
772nextWeek: 'dddd [at] LT',
773lastDay: '[Yesterday at] LT',
774lastWeek: '[Last] dddd [at] LT',
775sameElse: 'L',
776};
777function calendar(key, mom, now) {
778var output = this._calendar[key] || this._calendar['sameElse'];
779return isFunction(output) ? output.call(mom, now) : output;
780}
781function zeroFill(number, targetLength, forceSign) {
782var absNumber = '' + Math.abs(number),
783zerosToFill = targetLength - absNumber.length,
784sign = number >= 0;
785return (
786(sign ? (forceSign ? '+' : '') : '-') +
787Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +
788absNumber
789);
790}
791var formattingTokens =
792/(\[[^\[]*\])|(\\)?([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}
vendor: 2,642 bytes, lines 792-908
792|x|X|zz?|ZZ?|.)/g,
793localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
794formatFunctions = {},
795formatTokenFunctions = {};
796// token:    'M'
797// padded:   ['MM', 2]
798// ordinal:  'Mo'
799// callback: function () { this.month() + 1 }
800function addFormatToken(token, padded, ordinal, callback) {
801var func = callback;
802if (typeof callback === 'string') {
803func = function () {
804return this[callback]();
805};
806}
807if (token) {
808formatTokenFunctions[token] = func;
809}
810if (padded) {
811formatTokenFunctions[padded[0]] = function () {
812return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
813};
814}
815if (ordinal) {
816formatTokenFunctions[ordinal] = function () {
817return this.localeData().ordinal(
818func.apply(this, arguments),
819token
820);
821};
822}
823}
824function removeFormattingTokens(input) {
825if (input.match(/\[[\s\S]/)) {
826return input.replace(/^\[|\]$/g, '');
827}
828return input.replace(/\\/g, '');
829}
830function makeFormatFunction(format) {
831var array = format.match(formattingTokens),
832i,
833length;
834for (i = 0, length = array.length; i < length; i++) {
835if (formatTokenFunctions[array[i]]) {
836array[i] = formatTokenFunctions[array[i]];
837} else {
838array[i] = removeFormattingTokens(array[i]);
839}
840}
841return function (mom) {
842var output = '',
843i;
844for (i = 0; i < length; i++) {
845output += isFunction(array[i])
846? array[i].call(mom, format)
847: array[i];
848}
849return output;
850};
851}
852// format date using native date object
853function formatMoment(m, format) {
854if (!m.isValid()) {
855return m.localeData().invalidDate();
856}
857format = expandFormat(format, m.localeData());
858formatFunctions[format] =
859formatFunctions[format] || makeFormatFunction(format);
860return formatFunctions[format](m);
861}
862function expandFormat(format, locale) {
863var i = 5;
864function replaceLongDateFormatTokens(input) {
865return locale.longDateFormat(input) || input;
866}
867localFormattingTokens.lastIndex = 0;
868while (i >= 0 && localFormattingTokens.test(format)) {
869format = format.replace(
870localFormattingTokens,
871replaceLongDateFormatTokens
872);
873localFormattingTokens.lastIndex = 0;
874i -= 1;
875}
876return format;
877}
878var defaultLongDateFormat = {
879LTS: 'h:mm:ss A',
880LT: 'h:mm A',
881L: 'MM/DD/YYYY',
882LL: 'MMMM D, YYYY',
883LLL: 'MMMM D, YYYY h:mm A',
884LLLL: 'dddd, MMMM D, YYYY h:mm A',
885};
886function longDateFormat(key) {
887var format = this._longDateFormat[key],
888formatUpper = this._longDateFormat[key.toUpperCase()];
889if (format || !formatUpper) {
890return format;
891}
892this._longDateFormat[key] = formatUpper
893.match(formattingTokens)
894.map(function (tok) {
895if (
896tok === 'MMMM' ||
897tok === 'MM' ||
898tok === 'DD' ||
899tok === 'dddd'
900) {
901return tok.slice(1);
902}
903return tok;
904})
905.join('');
906return this._longDateFormat[key];
907}
908var defaultInvalidDate = 'Invalid date';
vendor: 21,384 bytes, lines 909-1751
909function invalidDate() {
910return this._invalidDate;
911}
912var defaultOrdinal = '%d',
913defaultDayOfMonthOrdinalParse = /\d{1,2}/;
914function ordinal(number) {
915return this._ordinal.replace('%d', number);
916}
917var defaultRelativeTime = {
918future: 'in %s',
919past: '%s ago',
920s: 'a few seconds',
921ss: '%d seconds',
922m: 'a minute',
923mm: '%d minutes',
924h: 'an hour',
925hh: '%d hours',
926d: 'a day',
927dd: '%d days',
928w: 'a week',
929ww: '%d weeks',
930M: 'a month',
931MM: '%d months',
932y: 'a year',
933yy: '%d years',
934};
935function relativeTime(number, withoutSuffix, string, isFuture) {
936var output = this._relativeTime[string];
937return isFunction(output)
938? output(number, withoutSuffix, string, isFuture)
939: output.replace(/%d/i, number);
940}
941function pastFuture(diff, output) {
942var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
943return isFunction(format) ? format(output) : format.replace(/%s/i, output);
944}
945var aliases = {
946D: 'date',
947dates: 'date',
948date: 'date',
949d: 'day',
950days: 'day',
951day: 'day',
952e: 'weekday',
953weekdays: 'weekday',
954weekday: 'weekday',
955E: 'isoWeekday',
956isoweekdays: 'isoWeekday',
957isoweekday: 'isoWeekday',
958DDD: 'dayOfYear',
959dayofyears: 'dayOfYear',
960dayofyear: 'dayOfYear',
961h: 'hour',
962hours: 'hour',
963hour: 'hour',
964ms: 'millisecond',
965milliseconds: 'millisecond',
966millisecond: 'millisecond',
967m: 'minute',
968minutes: 'minute',
969minute: 'minute',
970M: 'month',
971months: 'month',
972month: 'month',
973Q: 'quarter',
974quarters: 'quarter',
975quarter: 'quarter',
976s: 'second',
977seconds: 'second',
978second: 'second',
979gg: 'weekYear',
980weekyears: 'weekYear',
981weekyear: 'weekYear',
982GG: 'isoWeekYear',
983isoweekyears: 'isoWeekYear',
984isoweekyear: 'isoWeekYear',
985w: 'week',
986weeks: 'week',
987week: 'week',
988W: 'isoWeek',
989isoweeks: 'isoWeek',
990isoweek: 'isoWeek',
991y: 'year',
992years: 'year',
993year: 'year',
994};
995function normalizeUnits(units) {
996return typeof units === 'string'
997? aliases[units] || aliases[units.toLowerCase()]
998: undefined;
999}
1000function normalizeObjectUnits(inputObject) {
1001var normalizedInput = {},
1002normalizedProp,
1003prop;
1004for (prop in inputObject) {
1005if (hasOwnProp(inputObject, prop)) {
1006normalizedProp = normalizeUnits(prop);
1007if (normalizedProp) {
1008normalizedInput[normalizedProp] = inputObject[prop];
1009}
1010}
1011}
1012return normalizedInput;
1013}
1014var priorities = {
1015date: 9,
1016day: 11,
1017weekday: 11,
1018isoWeekday: 11,
1019dayOfYear: 4,
1020hour: 13,
1021millisecond: 16,
1022minute: 14,
1023month: 8,
1024quarter: 7,
1025second: 15,
1026weekYear: 1,
1027isoWeekYear: 1,
1028week: 5,
1029isoWeek: 5,
1030year: 1,
1031};
1032function getPrioritizedUnits(unitsObj) {
1033var units = [],
1034u;
1035for (u in unitsObj) {
1036if (hasOwnProp(unitsObj, u)) {
1037units.push({ unit: u, priority: priorities[u] });
1038}
1039}
1040units.sort(function (a, b) {
1041return a.priority - b.priority;
1042});
1043return units;
1044}
1045var match1 = /\d/, //       0 - 9
1046match2 = /\d\d/, //      00 - 99
1047match3 = /\d{3}/, //     000 - 999
1048match4 = /\d{4}/, //    0000 - 9999
1049match6 = /[+-]?\d{6}/, // -999999 - 999999
1050match1to2 = /\d\d?/, //       0 - 99
1051match3to4 = /\d\d\d\d?/, //     999 - 9999
1052match5to6 = /\d\d\d\d\d\d?/, //   99999 - 999999
1053match1to3 = /\d{1,3}/, //       0 - 999
1054match1to4 = /\d{1,4}/, //       0 - 9999
1055match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999
1056matchUnsigned = /\d+/, //       0 - inf
1057matchSigned = /[+-]?\d+/, //    -inf - inf
1058matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z
1059matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z
1060matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
1061// any word (or two) characters or numbers including two/three word month in arabic.
1062// includes scottish gaelic two word and hyphenated months
1063matchWord =
1064/[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,
1065match1to2NoLeadingZero = /^[1-9]\d?/, //         1-99
1066match1to2HasZero = /^([1-9]\d|\d)/, //           0-99
1067regexes;
1068regexes = {};
1069function addRegexToken(token, regex, strictRegex) {
1070regexes[token] = isFunction(regex)
1071? regex
1072: function (isStrict, localeData) {
1073return isStrict && strictRegex ? strictRegex : regex;
1074};
1075}
1076function getParseRegexForToken(token, config) {
1077if (!hasOwnProp(regexes, token)) {
1078return new RegExp(unescapeFormat(token));
1079}
1080return regexes[token](config._strict, config._locale);
1081}
1082// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
1083function unescapeFormat(s) {
1084return regexEscape(
1085s
1086.replace('\\', '')
1087.replace(
1088/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
1089function (matched, p1, p2, p3, p4) {
1090return p1 || p2 || p3 || p4;
1091}
1092)
1093);
1094}
1095function regexEscape(s) {
1096return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
1097}
1098function absFloor(number) {
1099if (number < 0) {
1100// -0 -> 0
1101return Math.ceil(number) || 0;
1102} else {
1103return Math.floor(number);
1104}
1105}
1106function toInt(argumentForCoercion) {
1107var coercedNumber = +argumentForCoercion,
1108value = 0;
1109if (coercedNumber !== 0 && isFinite(coercedNumber)) {
1110value = absFloor(coercedNumber);
1111}
1112return value;
1113}
1114var tokens = {};
1115function addParseToken(token, callback) {
1116var i,
1117func = callback,
1118tokenLen;
1119if (typeof token === 'string') {
1120token = [token];
1121}
1122if (isNumber(callback)) {
1123func = function (input, array) {
1124array[callback] = toInt(input);
1125};
1126}
1127tokenLen = token.length;
1128for (i = 0; i < tokenLen; i++) {
1129tokens[token[i]] = func;
1130}
1131}
1132function addWeekParseToken(token, callback) {
1133addParseToken(token, function (input, array, config, token) {
1134config._w = config._w || {};
1135callback(input, config._w, config, token);
1136});
1137}
1138function addTimeToArrayFromToken(token, input, config) {
1139if (input != null && hasOwnProp(tokens, token)) {
1140tokens[token](input, config._a, config, token);
1141}
1142}
1143function isLeapYear(year) {
1144return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
1145}
1146var YEAR = 0,
1147MONTH = 1,
1148DATE = 2,
1149HOUR = 3,
1150MINUTE = 4,
1151SECOND = 5,
1152MILLISECOND = 6,
1153WEEK = 7,
1154WEEKDAY = 8;
1155// FORMATTING
1156addFormatToken('Y', 0, 0, function () {
1157var y = this.year();
1158return y <= 9999 ? zeroFill(y, 4) : '+' + y;
1159});
1160addFormatToken(0, ['YY', 2], 0, function () {
1161return this.year() % 100;
1162});
1163addFormatToken(0, ['YYYY', 4], 0, 'year');
1164addFormatToken(0, ['YYYYY', 5], 0, 'year');
1165addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');
1166// PARSING
1167addRegexToken('Y', matchSigned);
1168addRegexToken('YY', match1to2, match2);
1169addRegexToken('YYYY', match1to4, match4);
1170addRegexToken('YYYYY', match1to6, match6);
1171addRegexToken('YYYYYY', match1to6, match6);
1172addParseToken(['YYYYY', 'YYYYYY'], YEAR);
1173addParseToken('YYYY', function (input, array) {
1174array[YEAR] =
1175input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
1176});
1177addParseToken('YY', function (input, array) {
1178array[YEAR] = hooks.parseTwoDigitYear(input);
1179});
1180addParseToken('Y', function (input, array) {
1181array[YEAR] = parseInt(input, 10);
1182});
1183// HELPERS
1184function daysInYear(year) {
1185return isLeapYear(year) ? 366 : 365;
1186}
1187// HOOKS
1188hooks.parseTwoDigitYear = function (input) {
1189return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
1190};
1191// MOMENTS
1192var getSetYear = makeGetSet('FullYear', true);
1193function getIsLeapYear() {
1194return isLeapYear(this.year());
1195}
1196function makeGetSet(unit, keepTime) {
1197return function (value) {
1198if (value != null) {
1199set$1(this, unit, value);
1200hooks.updateOffset(this, keepTime);
1201return this;
1202} else {
1203return get(this, unit);
1204}
1205};
1206}
1207function get(mom, unit) {
1208if (!mom.isValid()) {
1209return NaN;
1210}
1211var d = mom._d,
1212isUTC = mom._isUTC;
1213switch (unit) {
1214case 'Milliseconds':
1215return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();
1216case 'Seconds':
1217return isUTC ? d.getUTCSeconds() : d.getSeconds();
1218case 'Minutes':
1219return isUTC ? d.getUTCMinutes() : d.getMinutes();
1220case 'Hours':
1221return isUTC ? d.getUTCHours() : d.getHours();
1222case 'Date':
1223return isUTC ? d.getUTCDate() : d.getDate();
1224case 'Day':
1225return isUTC ? d.getUTCDay() : d.getDay();
1226case 'Month':
1227return isUTC ? d.getUTCMonth() : d.getMonth();
1228case 'FullYear':
1229return isUTC ? d.getUTCFullYear() : d.getFullYear();
1230default:
1231return NaN; // Just in case
1232}
1233}
1234function set$1(mom, unit, value) {
1235var d, isUTC, year, month, date;
1236if (!mom.isValid() || isNaN(value)) {
1237return;
1238}
1239d = mom._d;
1240isUTC = mom._isUTC;
1241switch (unit) {
1242case 'Milliseconds':
1243return void (isUTC
1244? d.setUTCMilliseconds(value)
1245: d.setMilliseconds(value));
1246case 'Seconds':
1247return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));
1248case 'Minutes':
1249return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));
1250case 'Hours':
1251return void (isUTC ? d.setUTCHours(value) : d.setHours(value));
1252case 'Date':
1253return void (isUTC ? d.setUTCDate(value) : d.setDate(value));
1254// case 'Day': // Not real
1255//    return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
1256// case 'Month': // Not used because we need to pass two variables
1257//     return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
1258case 'FullYear':
1259break; // See below ...
1260default:
1261return; // Just in case
1262}
1263year = value;
1264month = mom.month();
1265date = mom.date();
1266date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;
1267void (isUTC
1268? d.setUTCFullYear(year, month, date)
1269: d.setFullYear(year, month, date));
1270}
1271// MOMENTS
1272function stringGet(units) {
1273units = normalizeUnits(units);
1274if (isFunction(this[units])) {
1275return this[units]();
1276}
1277return this;
1278}
1279function stringSet(units, value) {
1280if (typeof units === 'object') {
1281units = normalizeObjectUnits(units);
1282var prioritized = getPrioritizedUnits(units),
1283i,
1284prioritizedLen = prioritized.length;
1285for (i = 0; i < prioritizedLen; i++) {
1286this[prioritized[i].unit](units[prioritized[i].unit]);
1287}
1288} else {
1289units = normalizeUnits(units);
1290if (isFunction(this[units])) {
1291return this[units](value);
1292}
1293}
1294return this;
1295}
1296function mod(n, x) {
1297return ((n % x) + x) % x;
1298}
1299var indexOf;
1300if (Array.prototype.indexOf) {
1301indexOf = Array.prototype.indexOf;
1302} else {
1303indexOf = function (o) {
1304// I know
1305var i;
1306for (i = 0; i < this.length; ++i) {
1307if (this[i] === o) {
1308return i;
1309}
1310}
1311return -1;
1312};
1313}
1314function daysInMonth(year, month) {
1315if (isNaN(year) || isNaN(month)) {
1316return NaN;
1317}
1318var modMonth = mod(month, 12);
1319year += (month - modMonth) / 12;
1320return modMonth === 1
1321? isLeapYear(year)
1322? 29
1323: 28
1324: 31 - ((modMonth % 7) % 2);
1325}
1326// FORMATTING
1327addFormatToken('M', ['MM', 2], 'Mo', function () {
1328return this.month() + 1;
1329});
1330addFormatToken('MMM', 0, 0, function (format) {
1331return this.localeData().monthsShort(this, format);
1332});
1333addFormatToken('MMMM', 0, 0, function (format) {
1334return this.localeData().months(this, format);
1335});
1336// PARSING
1337addRegexToken('M', match1to2, match1to2NoLeadingZero);
1338addRegexToken('MM', match1to2, match2);
1339addRegexToken('MMM', function (isStrict, locale) {
1340return locale.monthsShortRegex(isStrict);
1341});
1342addRegexToken('MMMM', function (isStrict, locale) {
1343return locale.monthsRegex(isStrict);
1344});
1345addParseToken(['M', 'MM'], function (input, array) {
1346array[MONTH] = toInt(input) - 1;
1347});
1348addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
1349var month = config._locale.monthsParse(input, token, config._strict);
1350// if we didn't find a month name, mark the date as invalid.
1351if (month != null) {
1352array[MONTH] = month;
1353} else {
1354getParsingFlags(config).invalidMonth = input;
1355}
1356});
1357// LOCALES
1358var defaultLocaleMonths =
1359'January_February_March_April_May_June_July_August_September_October_November_December'.split(
1360'_'
1361),
1362defaultLocaleMonthsShort =
1363'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
1364MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
1365defaultMonthsShortRegex = matchWord,
1366defaultMonthsRegex = matchWord;
1367function localeMonths(m, format) {
1368if (!m) {
1369return isArray(this._months)
1370? this._months
1371: this._months['standalone'];
1372}
1373return isArray(this._months)
1374? this._months[m.month()]
1375: this._months[
1376(this._months.isFormat || MONTHS_IN_FORMAT).test(format)
1377? 'format'
1378: 'standalone'
1379][m.month()];
1380}
1381function localeMonthsShort(m, format) {
1382if (!m) {
1383return isArray(this._monthsShort)
1384? this._monthsShort
1385: this._monthsShort['standalone'];
1386}
1387return isArray(this._monthsShort)
1388? this._monthsShort[m.month()]
1389: this._monthsShort[
1390MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'
1391][m.month()];
1392}
1393function handleStrictParse(monthName, format, strict) {
1394var i,
1395ii,
1396mom,
1397llc = monthName.toLocaleLowerCase();
1398if (!this._monthsParse) {
1399// this is not used
1400this._monthsParse = [];
1401this._longMonthsParse = [];
1402this._shortMonthsParse = [];
1403for (i = 0; i < 12; ++i) {
1404mom = createUTC([2000, i]);
1405this._shortMonthsParse[i] = this.monthsShort(
1406mom,
1407''
1408).toLocaleLowerCase();
1409this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
1410}
1411}
1412if (strict) {
1413if (format === 'MMM') {
1414ii = indexOf.call(this._shortMonthsParse, llc);
1415return ii !== -1 ? ii : null;
1416} else {
1417ii = indexOf.call(this._longMonthsParse, llc);
1418return ii !== -1 ? ii : null;
1419}
1420} else {
1421if (format === 'MMM') {
1422ii = indexOf.call(this._shortMonthsParse, llc);
1423if (ii !== -1) {
1424return ii;
1425}
1426ii = indexOf.call(this._longMonthsParse, llc);
1427return ii !== -1 ? ii : null;
1428} else {
1429ii = indexOf.call(this._longMonthsParse, llc);
1430if (ii !== -1) {
1431return ii;
1432}
1433ii = indexOf.call(this._shortMonthsParse, llc);
1434return ii !== -1 ? ii : null;
1435}
1436}
1437}
1438function localeMonthsParse(monthName, format, strict) {
1439var i, mom, regex;
1440if (this._monthsParseExact) {
1441return handleStrictParse.call(this, monthName, format, strict);
1442}
1443if (!this._monthsParse) {
1444this._monthsParse = [];
1445this._longMonthsParse = [];
1446this._shortMonthsParse = [];
1447}
1448// TODO: add sorting
1449// Sorting makes sure if one month (or abbr) is a prefix of another
1450// see sorting in computeMonthsParse
1451for (i = 0; i < 12; i++) {
1452// make the regex if we don't have it already
1453mom = createUTC([2000, i]);
1454if (strict && !this._longMonthsParse[i]) {
1455this._longMonthsParse[i] = new RegExp(
1456'^' + this.months(mom, '').replace('.', '') + '$',
1457'i'
1458);
1459this._shortMonthsParse[i] = new RegExp(
1460'^' + this.monthsShort(mom, '').replace('.', '') + '$',
1461'i'
1462);
1463}
1464if (!strict && !this._monthsParse[i]) {
1465regex =
1466'^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
1467this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
1468}
1469// test the regex
1470if (
1471strict &&
1472format === 'MMMM' &&
1473this._longMonthsParse[i].test(monthName)
1474) {
1475return i;
1476} else if (
1477strict &&
1478format === 'MMM' &&
1479this._shortMonthsParse[i].test(monthName)
1480) {
1481return i;
1482} else if (!strict && this._monthsParse[i].test(monthName)) {
1483return i;
1484}
1485}
1486}
1487// MOMENTS
1488function setMonth(mom, value) {
1489if (!mom.isValid()) {
1490// No op
1491return mom;
1492}
1493if (typeof value === 'string') {
1494if (/^\d+$/.test(value)) {
1495value = toInt(value);
1496} else {
1497value = mom.localeData().monthsParse(value);
1498// TODO: Another silent failure?
1499if (!isNumber(value)) {
1500return mom;
1501}
1502}
1503}
1504var month = value,
1505date = mom.date();
1506date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));
1507void (mom._isUTC
1508? mom._d.setUTCMonth(month, date)
1509: mom._d.setMonth(month, date));
1510return mom;
1511}
1512function getSetMonth(value) {
1513if (value != null) {
1514setMonth(this, value);
1515hooks.updateOffset(this, true);
1516return this;
1517} else {
1518return get(this, 'Month');
1519}
1520}
1521function getDaysInMonth() {
1522return daysInMonth(this.year(), this.month());
1523}
1524function monthsShortRegex(isStrict) {
1525if (this._monthsParseExact) {
1526if (!hasOwnProp(this, '_monthsRegex')) {
1527computeMonthsParse.call(this);
1528}
1529if (isStrict) {
1530return this._monthsShortStrictRegex;
1531} else {
1532return this._monthsShortRegex;
1533}
1534} else {
1535if (!hasOwnProp(this, '_monthsShortRegex')) {
1536this._monthsShortRegex = defaultMonthsShortRegex;
1537}
1538return this._monthsShortStrictRegex && isStrict
1539? this._monthsShortStrictRegex
1540: this._monthsShortRegex;
1541}
1542}
1543function monthsRegex(isStrict) {
1544if (this._monthsParseExact) {
1545if (!hasOwnProp(this, '_monthsRegex')) {
1546computeMonthsParse.call(this);
1547}
1548if (isStrict) {
1549return this._monthsStrictRegex;
1550} else {
1551return this._monthsRegex;
1552}
1553} else {
1554if (!hasOwnProp(this, '_monthsRegex')) {
1555this._monthsRegex = defaultMonthsRegex;
1556}
1557return this._monthsStrictRegex && isStrict
1558? this._monthsStrictRegex
1559: this._monthsRegex;
1560}
1561}
1562function computeMonthsParse() {
1563function cmpLenRev(a, b) {
1564return b.length - a.length;
1565}
1566var shortPieces = [],
1567longPieces = [],
1568mixedPieces = [],
1569i,
1570mom,
1571shortP,
1572longP;
1573for (i = 0; i < 12; i++) {
1574// make the regex if we don't have it already
1575mom = createUTC([2000, i]);
1576shortP = regexEscape(this.monthsShort(mom, ''));
1577longP = regexEscape(this.months(mom, ''));
1578shortPieces.push(shortP);
1579longPieces.push(longP);
1580mixedPieces.push(longP);
1581mixedPieces.push(shortP);
1582}
1583// Sorting makes sure if one month (or abbr) is a prefix of another it
1584// will match the longer piece.
1585shortPieces.sort(cmpLenRev);
1586longPieces.sort(cmpLenRev);
1587mixedPieces.sort(cmpLenRev);
1588this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
1589this._monthsShortRegex = this._monthsRegex;
1590this._monthsStrictRegex = new RegExp(
1591'^(' + longPieces.join('|') + ')',
1592'i'
1593);
1594this._monthsShortStrictRegex = new RegExp(
1595'^(' + shortPieces.join('|') + ')',
1596'i'
1597);
1598}
1599function createDate(y, m, d, h, M, s, ms) {
1600// can't just apply() to create a date:
1601// https://stackoverflow.com/q/181348
1602var date;
1603// the date constructor remaps years 0-99 to 1900-1999
1604if (y < 100 && y >= 0) {
1605// preserve leap years using a full 400 year cycle, then reset
1606date = new Date(y + 400, m, d, h, M, s, ms);
1607if (isFinite(date.getFullYear())) {
1608date.setFullYear(y);
1609}
1610} else {
1611date = new Date(y, m, d, h, M, s, ms);
1612}
1613return date;
1614}
1615function createUTCDate(y) {
1616var date, args;
1617// the Date.UTC function remaps years 0-99 to 1900-1999
1618if (y < 100 && y >= 0) {
1619args = Array.prototype.slice.call(arguments);
1620// preserve leap years using a full 400 year cycle, then reset
1621args[0] = y + 400;
1622date = new Date(Date.UTC.apply(null, args));
1623if (isFinite(date.getUTCFullYear())) {
1624date.setUTCFullYear(y);
1625}
1626} else {
1627date = new Date(Date.UTC.apply(null, arguments));
1628}
1629return date;
1630}
1631// start-of-first-week - start-of-year
1632function firstWeekOffset(year, dow, doy) {
1633var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
1634fwd = 7 + dow - doy,
1635// first-week day local weekday -- which local weekday is fwd
1636fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
1637return -fwdlw + fwd - 1;
1638}
1639// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
1640function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
1641var localWeekday = (7 + weekday - dow) % 7,
1642weekOffset = firstWeekOffset(year, dow, doy),
1643dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
1644resYear,
1645resDayOfYear;
1646if (dayOfYear <= 0) {
1647resYear = year - 1;
1648resDayOfYear = daysInYear(resYear) + dayOfYear;
1649} else if (dayOfYear > daysInYear(year)) {
1650resYear = year + 1;
1651resDayOfYear = dayOfYear - daysInYear(year);
1652} else {
1653resYear = year;
1654resDayOfYear = dayOfYear;
1655}
1656return {
1657year: resYear,
1658dayOfYear: resDayOfYear,
1659};
1660}
1661function weekOfYear(mom, dow, doy) {
1662var weekOffset = firstWeekOffset(mom.year(), dow, doy),
1663week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
1664resWeek,
1665resYear;
1666if (week < 1) {
1667resYear = mom.year() - 1;
1668resWeek = week + weeksInYear(resYear, dow, doy);
1669} else if (week > weeksInYear(mom.year(), dow, doy)) {
1670resWeek = week - weeksInYear(mom.year(), dow, doy);
1671resYear = mom.year() + 1;
1672} else {
1673resYear = mom.year();
1674resWeek = week;
1675}
1676return {
1677week: resWeek,
1678year: resYear,
1679};
1680}
1681function weeksInYear(year, dow, doy) {
1682var weekOffset = firstWeekOffset(year, dow, doy),
1683weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
1684return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
1685}
1686// FORMATTING
1687addFormatToken('w', ['ww', 2], 'wo', 'week');
1688addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
1689// PARSING
1690addRegexToken('w', match1to2, match1to2NoLeadingZero);
1691addRegexToken('ww', match1to2, match2);
1692addRegexToken('W', match1to2, match1to2NoLeadingZero);
1693addRegexToken('WW', match1to2, match2);
1694addWeekParseToken(
1695['w', 'ww', 'W', 'WW'],
1696function (input, week, config, token) {
1697week[token.substr(0, 1)] = toInt(input);
1698}
1699);
1700// HELPERS
1701// LOCALES
1702function localeWeek(mom) {
1703return weekOfYear(mom, this._week.dow, this._week.doy).week;
1704}
1705var defaultLocaleWeek = {
1706dow: 0, // Sunday is the first day of the week.
1707doy: 6, // The week that contains Jan 6th is the first week of the year.
1708};
1709function localeFirstDayOfWeek() {
1710return this._week.dow;
1711}
1712function localeFirstDayOfYear() {
1713return this._week.doy;
1714}
1715// MOMENTS
1716function getSetWeek(input) {
1717var week = this.localeData().week(this);
1718return input == null ? week : this.add((input - week) * 7, 'd');
1719}
1720function getSetISOWeek(input) {
1721var week = weekOfYear(this, 1, 4).week;
1722return input == null ? week : this.add((input - week) * 7, 'd');
1723}
1724// FORMATTING
1725addFormatToken('d', 0, 'do', 'day');
1726addFormatToken('dd', 0, 0, function (format) {
1727return this.localeData().weekdaysMin(this, format);
1728});
1729addFormatToken('ddd', 0, 0, function (format) {
1730return this.localeData().weekdaysShort(this, format);
1731});
1732addFormatToken('dddd', 0, 0, function (format) {
1733return this.localeData().weekdays(this, format);
1734});
1735addFormatToken('e', 0, 0, 'weekday');
1736addFormatToken('E', 0, 0, 'isoWeekday');
1737// PARSING
1738addRegexToken('d', match1to2);
1739addRegexToken('e', match1to2);
1740addRegexToken('E', match1to2);
1741addRegexToken('dd', function (isStrict, locale) {
1742return locale.weekdaysMinRegex(isStrict);
1743});
1744addRegexToken('ddd', function (isStrict, locale) {
1745return locale.weekdaysShortRegex(isStrict);
1746});
1747addRegexToken('dddd', function (isStrict, locale) {
1748return locale.weekdaysRegex(isStrict);
1749});
1750addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
1751var weekday = config._locale.weekdaysParse(input, token, config._strict);
vendor: 5,454 bytes, lines 1752-1978
1752// if we didn't get a weekday name, mark the date as invalid
1753if (weekday != null) {
1754week.d = weekday;
1755} else {
1756getParsingFlags(config).invalidWeekday = input;
1757}
1758});
1759addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
1760week[token] = toInt(input);
1761});
1762// HELPERS
1763function parseWeekday(input, locale) {
1764if (typeof input !== 'string') {
1765return input;
1766}
1767if (!isNaN(input)) {
1768return parseInt(input, 10);
1769}
1770input = locale.weekdaysParse(input);
1771if (typeof input === 'number') {
1772return input;
1773}
1774return null;
1775}
1776function parseIsoWeekday(input, locale) {
1777if (typeof input === 'string') {
1778return locale.weekdaysParse(input) % 7 || 7;
1779}
1780return isNaN(input) ? null : input;
1781}
1782// LOCALES
1783function shiftWeekdays(ws, n) {
1784return ws.slice(n, 7).concat(ws.slice(0, n));
1785}
1786var defaultLocaleWeekdays =
1787'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
1788defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
1789defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
1790defaultWeekdaysRegex = matchWord,
1791defaultWeekdaysShortRegex = matchWord,
1792defaultWeekdaysMinRegex = matchWord;
1793function localeWeekdays(m, format) {
1794var weekdays = isArray(this._weekdays)
1795? this._weekdays
1796: this._weekdays[
1797m && m !== true && this._weekdays.isFormat.test(format)
1798? 'format'
1799: 'standalone'
1800];
1801return m === true
1802? shiftWeekdays(weekdays, this._week.dow)
1803: m
1804? weekdays[m.day()]
1805: weekdays;
1806}
1807function localeWeekdaysShort(m) {
1808return m === true
1809? shiftWeekdays(this._weekdaysShort, this._week.dow)
1810: m
1811? this._weekdaysShort[m.day()]
1812: this._weekdaysShort;
1813}
1814function localeWeekdaysMin(m) {
1815return m === true
1816? shiftWeekdays(this._weekdaysMin, this._week.dow)
1817: m
1818? this._weekdaysMin[m.day()]
1819: this._weekdaysMin;
1820}
1821function handleStrictParse$1(weekdayName, format, strict) {
1822var i,
1823ii,
1824mom,
1825llc = weekdayName.toLocaleLowerCase();
1826if (!this._weekdaysParse) {
1827this._weekdaysParse = [];
1828this._shortWeekdaysParse = [];
1829this._minWeekdaysParse = [];
1830for (i = 0; i < 7; ++i) {
1831mom = createUTC([2000, 1]).day(i);
1832this._minWeekdaysParse[i] = this.weekdaysMin(
1833mom,
1834''
1835).toLocaleLowerCase();
1836this._shortWeekdaysParse[i] = this.weekdaysShort(
1837mom,
1838''
1839).toLocaleLowerCase();
1840this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
1841}
1842}
1843if (strict) {
1844if (format === 'dddd') {
1845ii = indexOf.call(this._weekdaysParse, llc);
1846return ii !== -1 ? ii : null;
1847} else if (format === 'ddd') {
1848ii = indexOf.call(this._shortWeekdaysParse, llc);
1849return ii !== -1 ? ii : null;
1850} else {
1851ii = indexOf.call(this._minWeekdaysParse, llc);
1852return ii !== -1 ? ii : null;
1853}
1854} else {
1855if (format === 'dddd') {
1856ii = indexOf.call(this._weekdaysParse, llc);
1857if (ii !== -1) {
1858return ii;
1859}
1860ii = indexOf.call(this._shortWeekdaysParse, llc);
1861if (ii !== -1) {
1862return ii;
1863}
1864ii = indexOf.call(this._minWeekdaysParse, llc);
1865return ii !== -1 ? ii : null;
1866} else if (format === 'ddd') {
1867ii = indexOf.call(this._shortWeekdaysParse, llc);
1868if (ii !== -1) {
1869return ii;
1870}
1871ii = indexOf.call(this._weekdaysParse, llc);
1872if (ii !== -1) {
1873return ii;
1874}
1875ii = indexOf.call(this._minWeekdaysParse, llc);
1876return ii !== -1 ? ii : null;
1877} else {
1878ii = indexOf.call(this._minWeekdaysParse, llc);
1879if (ii !== -1) {
1880return ii;
1881}
1882ii = indexOf.call(this._weekdaysParse, llc);
1883if (ii !== -1) {
1884return ii;
1885}
1886ii = indexOf.call(this._shortWeekdaysParse, llc);
1887return ii !== -1 ? ii : null;
1888}
1889}
1890}
1891function localeWeekdaysParse(weekdayName, format, strict) {
1892var i, mom, regex;
1893if (this._weekdaysParseExact) {
1894return handleStrictParse$1.call(this, weekdayName, format, strict);
1895}
1896if (!this._weekdaysParse) {
1897this._weekdaysParse = [];
1898this._minWeekdaysParse = [];
1899this._shortWeekdaysParse = [];
1900this._fullWeekdaysParse = [];
1901}
1902for (i = 0; i < 7; i++) {
1903// make the regex if we don't have it already
1904mom = createUTC([2000, 1]).day(i);
1905if (strict && !this._fullWeekdaysParse[i]) {
1906this._fullWeekdaysParse[i] = new RegExp(
1907'^' + this.weekdays(mom, '').replace('.', '\\.?') + '$',
1908'i'
1909);
1910this._shortWeekdaysParse[i] = new RegExp(
1911'^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$',
1912'i'
1913);
1914this._minWeekdaysParse[i] = new RegExp(
1915'^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$',
1916'i'
1917);
1918}
1919if (!this._weekdaysParse[i]) {
1920regex =
1921'^' +
1922this.weekdays(mom, '') +
1923'|^' +
1924this.weekdaysShort(mom, '') +
1925'|^' +
1926this.weekdaysMin(mom, '');
1927this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
1928}
1929// test the regex
1930if (
1931strict &&
1932format === 'dddd' &&
1933this._fullWeekdaysParse[i].test(weekdayName)
1934) {
1935return i;
1936} else if (
1937strict &&
1938format === 'ddd' &&
1939this._shortWeekdaysParse[i].test(weekdayName)
1940) {
1941return i;
1942} else if (
1943strict &&
1944format === 'dd' &&
1945this._minWeekdaysParse[i].test(weekdayName)
1946) {
1947return i;
1948} else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
1949return i;
1950}
1951}
1952}
1953// MOMENTS
1954function getSetDayOfWeek(input) {
1955if (!this.isValid()) {
1956return input != null ? this : NaN;
1957}
1958var day = get(this, 'Day');
1959if (input != null) {
1960input = parseWeekday(input, this.localeData());
1961return this.add(input - day, 'd');
1962} else {
1963return day;
1964}
1965}
1966function getSetLocaleDayOfWeek(input) {
1967if (!this.isValid()) {
1968return input != null ? this : NaN;
1969}
1970var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
1971return input == null ? weekday : this.add(input - weekday, 'd');
1972}
1973function getSetISODayOfWeek(input) {
1974if (!this.isValid()) {
1975return input != null ? this : NaN;
1976}
1977// behaves the same as moment#day except
1978// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
vendor: 4,288 bytes, lines 1979-2148
1979// as a setter, sunday should belong to the previous week.
1980if (input != null) {
1981var weekday = parseIsoWeekday(input, this.localeData());
1982return this.day(this.day() % 7 ? weekday : weekday - 7);
1983} else {
1984return this.day() || 7;
1985}
1986}
1987function weekdaysRegex(isStrict) {
1988if (this._weekdaysParseExact) {
1989if (!hasOwnProp(this, '_weekdaysRegex')) {
1990computeWeekdaysParse.call(this);
1991}
1992if (isStrict) {
1993return this._weekdaysStrictRegex;
1994} else {
1995return this._weekdaysRegex;
1996}
1997} else {
1998if (!hasOwnProp(this, '_weekdaysRegex')) {
1999this._weekdaysRegex = defaultWeekdaysRegex;
2000}
2001return this._weekdaysStrictRegex && isStrict
2002? this._weekdaysStrictRegex
2003: this._weekdaysRegex;
2004}
2005}
2006function weekdaysShortRegex(isStrict) {
2007if (this._weekdaysParseExact) {
2008if (!hasOwnProp(this, '_weekdaysRegex')) {
2009computeWeekdaysParse.call(this);
2010}
2011if (isStrict) {
2012return this._weekdaysShortStrictRegex;
2013} else {
2014return this._weekdaysShortRegex;
2015}
2016} else {
2017if (!hasOwnProp(this, '_weekdaysShortRegex')) {
2018this._weekdaysShortRegex = defaultWeekdaysShortRegex;
2019}
2020return this._weekdaysShortStrictRegex && isStrict
2021? this._weekdaysShortStrictRegex
2022: this._weekdaysShortRegex;
2023}
2024}
2025function weekdaysMinRegex(isStrict) {
2026if (this._weekdaysParseExact) {
2027if (!hasOwnProp(this, '_weekdaysRegex')) {
2028computeWeekdaysParse.call(this);
2029}
2030if (isStrict) {
2031return this._weekdaysMinStrictRegex;
2032} else {
2033return this._weekdaysMinRegex;
2034}
2035} else {
2036if (!hasOwnProp(this, '_weekdaysMinRegex')) {
2037this._weekdaysMinRegex = defaultWeekdaysMinRegex;
2038}
2039return this._weekdaysMinStrictRegex && isStrict
2040? this._weekdaysMinStrictRegex
2041: this._weekdaysMinRegex;
2042}
2043}
2044function computeWeekdaysParse() {
2045function cmpLenRev(a, b) {
2046return b.length - a.length;
2047}
2048var minPieces = [],
2049shortPieces = [],
2050longPieces = [],
2051mixedPieces = [],
2052i,
2053mom,
2054minp,
2055shortp,
2056longp;
2057for (i = 0; i < 7; i++) {
2058// make the regex if we don't have it already
2059mom = createUTC([2000, 1]).day(i);
2060minp = regexEscape(this.weekdaysMin(mom, ''));
2061shortp = regexEscape(this.weekdaysShort(mom, ''));
2062longp = regexEscape(this.weekdays(mom, ''));
2063minPieces.push(minp);
2064shortPieces.push(shortp);
2065longPieces.push(longp);
2066mixedPieces.push(minp);
2067mixedPieces.push(shortp);
2068mixedPieces.push(longp);
2069}
2070// Sorting makes sure if one weekday (or abbr) is a prefix of another it
2071// will match the longer piece.
2072minPieces.sort(cmpLenRev);
2073shortPieces.sort(cmpLenRev);
2074longPieces.sort(cmpLenRev);
2075mixedPieces.sort(cmpLenRev);
2076this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
2077this._weekdaysShortRegex = this._weekdaysRegex;
2078this._weekdaysMinRegex = this._weekdaysRegex;
2079this._weekdaysStrictRegex = new RegExp(
2080'^(' + longPieces.join('|') + ')',
2081'i'
2082);
2083this._weekdaysShortStrictRegex = new RegExp(
2084'^(' + shortPieces.join('|') + ')',
2085'i'
2086);
2087this._weekdaysMinStrictRegex = new RegExp(
2088'^(' + minPieces.join('|') + ')',
2089'i'
2090);
2091}
2092// FORMATTING
2093function hFormat() {
2094return this.hours() % 12 || 12;
2095}
2096function kFormat() {
2097return this.hours() || 24;
2098}
2099addFormatToken('H', ['HH', 2], 0, 'hour');
2100addFormatToken('h', ['hh', 2], 0, hFormat);
2101addFormatToken('k', ['kk', 2], 0, kFormat);
2102addFormatToken('hmm', 0, 0, function () {
2103return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
2104});
2105addFormatToken('hmmss', 0, 0, function () {
2106return (
2107'' +
2108hFormat.apply(this) +
2109zeroFill(this.minutes(), 2) +
2110zeroFill(this.seconds(), 2)
2111);
2112});
2113addFormatToken('Hmm', 0, 0, function () {
2114return '' + this.hours() + zeroFill(this.minutes(), 2);
2115});
2116addFormatToken('Hmmss', 0, 0, function () {
2117return (
2118'' +
2119this.hours() +
2120zeroFill(this.minutes(), 2) +
2121zeroFill(this.seconds(), 2)
2122);
2123});
2124function meridiem(token, lowercase) {
2125addFormatToken(token, 0, 0, function () {
2126return this.localeData().meridiem(
2127this.hours(),
2128this.minutes(),
2129lowercase
2130);
2131});
2132}
2133meridiem('a', true);
2134meridiem('A', false);
2135// PARSING
2136function matchMeridiem(isStrict, locale) {
2137return locale._meridiemParse;
2138}
2139addRegexToken('a', matchMeridiem);
2140addRegexToken('A', matchMeridiem);
2141addRegexToken('H', match1to2, match1to2HasZero);
2142addRegexToken('h', match1to2, match1to2NoLeadingZero);
2143addRegexToken('k', match1to2, match1to2NoLeadingZero);
2144addRegexToken('HH', match1to2, match2);
2145addRegexToken('hh', match1to2, match2);
2146addRegexToken('kk', match1to2, match2);
2147addRegexToken('hmm', match3to4);
2148addRegexToken('hmmss', match5to6);
vendor: 4,782 bytes, lines 2149-2307
2149addRegexToken('Hmm', match3to4);
2150addRegexToken('Hmmss', match5to6);
2151addParseToken(['H', 'HH'], HOUR);
2152addParseToken(['k', 'kk'], function (input, array, config) {
2153var kInput = toInt(input);
2154array[HOUR] = kInput === 24 ? 0 : kInput;
2155});
2156addParseToken(['a', 'A'], function (input, array, config) {
2157config._isPm = config._locale.isPM(input);
2158config._meridiem = input;
2159});
2160addParseToken(['h', 'hh'], function (input, array, config) {
2161array[HOUR] = toInt(input);
2162getParsingFlags(config).bigHour = true;
2163});
2164addParseToken('hmm', function (input, array, config) {
2165var pos = input.length - 2;
2166array[HOUR] = toInt(input.substr(0, pos));
2167array[MINUTE] = toInt(input.substr(pos));
2168getParsingFlags(config).bigHour = true;
2169});
2170addParseToken('hmmss', function (input, array, config) {
2171var pos1 = input.length - 4,
2172pos2 = input.length - 2;
2173array[HOUR] = toInt(input.substr(0, pos1));
2174array[MINUTE] = toInt(input.substr(pos1, 2));
2175array[SECOND] = toInt(input.substr(pos2));
2176getParsingFlags(config).bigHour = true;
2177});
2178addParseToken('Hmm', function (input, array, config) {
2179var pos = input.length - 2;
2180array[HOUR] = toInt(input.substr(0, pos));
2181array[MINUTE] = toInt(input.substr(pos));
2182});
2183addParseToken('Hmmss', function (input, array, config) {
2184var pos1 = input.length - 4,
2185pos2 = input.length - 2;
2186array[HOUR] = toInt(input.substr(0, pos1));
2187array[MINUTE] = toInt(input.substr(pos1, 2));
2188array[SECOND] = toInt(input.substr(pos2));
2189});
2190// LOCALES
2191function localeIsPM(input) {
2192// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
2193// Using charAt should be more compatible.
2194return (input + '').toLowerCase().charAt(0) === 'p';
2195}
2196var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i,
2197// Setting the hour should keep the time, because the user explicitly
2198// specified which hour they want. So trying to maintain the same hour (in
2199// a new timezone) makes sense. Adding/subtracting hours does not follow
2200// this rule.
2201getSetHour = makeGetSet('Hours', true);
2202function localeMeridiem(hours, minutes, isLower) {
2203if (hours > 11) {
2204return isLower ? 'pm' : 'PM';
2205} else {
2206return isLower ? 'am' : 'AM';
2207}
2208}
2209var baseConfig = {
2210calendar: defaultCalendar,
2211longDateFormat: defaultLongDateFormat,
2212invalidDate: defaultInvalidDate,
2213ordinal: defaultOrdinal,
2214dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
2215relativeTime: defaultRelativeTime,
2216months: defaultLocaleMonths,
2217monthsShort: defaultLocaleMonthsShort,
2218week: defaultLocaleWeek,
2219weekdays: defaultLocaleWeekdays,
2220weekdaysMin: defaultLocaleWeekdaysMin,
2221weekdaysShort: defaultLocaleWeekdaysShort,
2222meridiemParse: defaultLocaleMeridiemParse,
2223};
2224// internal storage for locale config files
2225var locales = {},
2226localeFamilies = {},
2227globalLocale;
2228function commonPrefix(arr1, arr2) {
2229var i,
2230minl = Math.min(arr1.length, arr2.length);
2231for (i = 0; i < minl; i += 1) {
2232if (arr1[i] !== arr2[i]) {
2233return i;
2234}
2235}
2236return minl;
2237}
2238function normalizeLocale(key) {
2239return key ? key.toLowerCase().replace('_', '-') : key;
2240}
2241// pick the locale from the array
2242// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
2243// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
2244function chooseLocale(names) {
2245var i = 0,
2246j,
2247next,
2248locale,
2249split;
2250while (i < names.length) {
2251split = normalizeLocale(names[i]).split('-');
2252j = split.length;
2253next = normalizeLocale(names[i + 1]);
2254next = next ? next.split('-') : null;
2255while (j > 0) {
2256locale = loadLocale(split.slice(0, j).join('-'));
2257if (locale) {
2258return locale;
2259}
2260if (
2261next &&
2262next.length >= j &&
2263commonPrefix(split, next) >= j - 1
2264) {
2265//the next array item is better than a shallower substring of this one
2266break;
2267}
2268j--;
2269}
2270i++;
2271}
2272return globalLocale;
2273}
2274function isLocaleNameSane(name) {
2275// Prevent names that look like filesystem paths, i.e contain '/' or '\'
2276// Ensure name is available and function returns boolean
2277return !!(name && name.match('^[^/\\\\]*$'));
2278}
2279function loadLocale(name) {
2280var oldLocale = null,
2281aliasedRequire;
2282// TODO: Find a better way to register and load all the locales in Node
2283if (
2284locales[name] === undefined &&
2285typeof module !== 'undefined' &&
2286module &&
2287module.exports &&
2288isLocaleNameSane(name)
2289) {
2290try {
2291oldLocale = globalLocale._abbr;
2292aliasedRequire = require;
2293aliasedRequire('./locale/' + name);
2294getSetGlobalLocale(oldLocale);
2295} catch (e) {
2296// mark as not found to avoid repeating expensive file require call causing high CPU
2297// when trying to find en-US, en_US, en-us for every format call
2298locales[name] = null; // null means not found
2299}
2300}
2301return locales[name];
2302}
2303// This function will load locale and then set the global locale.  If
2304// no arguments are passed in, it will simply return the current global
2305// locale key.
2306function getSetGlobalLocale(key, values) {
2307var data;
vendor: 47,831 bytes, lines 2308-4218
2308if (key) {
2309if (isUndefined(values)) {
2310data = getLocale(key);
2311} else {
2312data = defineLocale(key, values);
2313}
2314if (data) {
2315// moment.duration._locale = moment._locale = data;
2316globalLocale = data;
2317} else {
2318if (typeof console !== 'undefined' && console.warn) {
2319//warn user if arguments are passed but the locale could not be set
2320console.warn(
2321'Locale ' + key + ' not found. Did you forget to load it?'
2322);
2323}
2324}
2325}
2326return globalLocale._abbr;
2327}
2328function defineLocale(name, config) {
2329if (config !== null) {
2330var locale,
2331parentConfig = baseConfig;
2332config.abbr = name;
2333if (locales[name] != null) {
2334deprecateSimple(
2335'defineLocaleOverride',
2336'use moment.updateLocale(localeName, config) to change ' +
2337'an existing locale. moment.defineLocale(localeName, ' +
2338'config) should only be used for creating a new locale ' +
2339'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'
2340);
2341parentConfig = locales[name]._config;
2342} else if (config.parentLocale != null) {
2343if (locales[config.parentLocale] != null) {
2344parentConfig = locales[config.parentLocale]._config;
2345} else {
2346locale = loadLocale(config.parentLocale);
2347if (locale != null) {
2348parentConfig = locale._config;
2349} else {
2350if (!localeFamilies[config.parentLocale]) {
2351localeFamilies[config.parentLocale] = [];
2352}
2353localeFamilies[config.parentLocale].push({
2354name: name,
2355config: config,
2356});
2357return null;
2358}
2359}
2360}
2361locales[name] = new Locale(mergeConfigs(parentConfig, config));
2362if (localeFamilies[name]) {
2363localeFamilies[name].forEach(function (x) {
2364defineLocale(x.name, x.config);
2365});
2366}
2367// backwards compat for now: also set the locale
2368// make sure we set the locale AFTER all child locales have been
2369// created, so we won't end up with the child locale set.
2370getSetGlobalLocale(name);
2371return locales[name];
2372} else {
2373// useful for testing
2374delete locales[name];
2375return null;
2376}
2377}
2378function updateLocale(name, config) {
2379if (config != null) {
2380var locale,
2381tmpLocale,
2382parentConfig = baseConfig;
2383if (locales[name] != null && locales[name].parentLocale != null) {
2384// Update existing child locale in-place to avoid memory-leaks
2385locales[name].set(mergeConfigs(locales[name]._config, config));
2386} else {
2387// MERGE
2388tmpLocale = loadLocale(name);
2389if (tmpLocale != null) {
2390parentConfig = tmpLocale._config;
2391}
2392config = mergeConfigs(parentConfig, config);
2393if (tmpLocale == null) {
2394// updateLocale is called for creating a new locale
2395// Set abbr so it will have a name (getters return
2396// undefined otherwise).
2397config.abbr = name;
2398}
2399locale = new Locale(config);
2400locale.parentLocale = locales[name];
2401locales[name] = locale;
2402}
2403// backwards compat for now: also set the locale
2404getSetGlobalLocale(name);
2405} else {
2406// pass null for config to unupdate, useful for tests
2407if (locales[name] != null) {
2408if (locales[name].parentLocale != null) {
2409locales[name] = locales[name].parentLocale;
2410if (name === getSetGlobalLocale()) {
2411getSetGlobalLocale(name);
2412}
2413} else if (locales[name] != null) {
2414delete locales[name];
2415}
2416}
2417}
2418return locales[name];
2419}
2420// returns locale data
2421function getLocale(key) {
2422var locale;
2423if (key && key._locale && key._locale._abbr) {
2424key = key._locale._abbr;
2425}
2426if (!key) {
2427return globalLocale;
2428}
2429if (!isArray(key)) {
2430//short-circuit everything else
2431locale = loadLocale(key);
2432if (locale) {
2433return locale;
2434}
2435key = [key];
2436}
2437return chooseLocale(key);
2438}
2439function listLocales() {
2440return keys(locales);
2441}
2442function checkOverflow(m) {
2443var overflow,
2444a = m._a;
2445if (a && getParsingFlags(m).overflow === -2) {
2446overflow =
2447a[MONTH] < 0 || a[MONTH] > 11
2448? MONTH
2449: a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])
2450? DATE
2451: a[HOUR] < 0 ||
2452a[HOUR] > 24 ||
2453(a[HOUR] === 24 &&
2454(a[MINUTE] !== 0 ||
2455a[SECOND] !== 0 ||
2456a[MILLISECOND] !== 0))
2457? HOUR
2458: a[MINUTE] < 0 || a[MINUTE] > 59
2459? MINUTE
2460: a[SECOND] < 0 || a[SECOND] > 59
2461? SECOND
2462: a[MILLISECOND] < 0 || a[MILLISECOND] > 999
2463? MILLISECOND
2464: -1;
2465if (
2466getParsingFlags(m)._overflowDayOfYear &&
2467(overflow < YEAR || overflow > DATE)
2468) {
2469overflow = DATE;
2470}
2471if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
2472overflow = WEEK;
2473}
2474if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
2475overflow = WEEKDAY;
2476}
2477getParsingFlags(m).overflow = overflow;
2478}
2479return m;
2480}
2481// iso 8601 regex
2482// 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)
2483var extendedIsoRegex =
2484/^\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)?)?$/,
2485basicIsoRegex =
2486/^\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)?)?$/,
2487tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
2488isoDates = [
2489['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
2490['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
2491['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
2492['GGGG-[W]WW', /\d{4}-W\d\d/, false],
2493['YYYY-DDD', /\d{4}-\d{3}/],
2494['YYYY-MM', /\d{4}-\d\d/, false],
2495['YYYYYYMMDD', /[+-]\d{10}/],
2496['YYYYMMDD', /\d{8}/],
2497['GGGG[W]WWE', /\d{4}W\d{3}/],
2498['GGGG[W]WW', /\d{4}W\d{2}/, false],
2499['YYYYDDD', /\d{7}/],
2500['YYYYMM', /\d{6}/, false],
2501['YYYY', /\d{4}/, false],
2502],
2503// iso time formats and regexes
2504isoTimes = [
2505['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
2506['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
2507['HH:mm:ss', /\d\d:\d\d:\d\d/],
2508['HH:mm', /\d\d:\d\d/],
2509['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
2510['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
2511['HHmmss', /\d\d\d\d\d\d/],
2512['HHmm', /\d\d\d\d/],
2513['HH', /\d\d/],
2514],
2515aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
2516// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
2517rfc2822 =
2518/^(?:(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}))$/,
2519obsOffsets = {
2520UT: 0,
2521GMT: 0,
2522EDT: -4 * 60,
2523EST: -5 * 60,
2524CDT: -5 * 60,
2525CST: -6 * 60,
2526MDT: -6 * 60,
2527MST: -7 * 60,
2528PDT: -7 * 60,
2529PST: -8 * 60,
2530};
2531// date from iso format
2532function configFromISO(config) {
2533var i,
2534l,
2535string = config._i,
2536match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
2537allowTime,
2538dateFormat,
2539timeFormat,
2540tzFormat,
2541isoDatesLen = isoDates.length,
2542isoTimesLen = isoTimes.length;
2543if (match) {
2544getParsingFlags(config).iso = true;
2545for (i = 0, l = isoDatesLen; i < l; i++) {
2546if (isoDates[i][1].exec(match[1])) {
2547dateFormat = isoDates[i][0];
2548allowTime = isoDates[i][2] !== false;
2549break;
2550}
2551}
2552if (dateFormat == null) {
2553config._isValid = false;
2554return;
2555}
2556if (match[3]) {
2557for (i = 0, l = isoTimesLen; i < l; i++) {
2558if (isoTimes[i][1].exec(match[3])) {
2559// match[2] should be 'T' or space
2560timeFormat = (match[2] || ' ') + isoTimes[i][0];
2561break;
2562}
2563}
2564if (timeFormat == null) {
2565config._isValid = false;
2566return;
2567}
2568}
2569if (!allowTime && timeFormat != null) {
2570config._isValid = false;
2571return;
2572}
2573if (match[4]) {
2574if (tzRegex.exec(match[4])) {
2575tzFormat = 'Z';
2576} else {
2577config._isValid = false;
2578return;
2579}
2580}
2581config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
2582configFromStringAndFormat(config);
2583} else {
2584config._isValid = false;
2585}
2586}
2587function extractFromRFC2822Strings(
2588yearStr,
2589monthStr,
2590dayStr,
2591hourStr,
2592minuteStr,
2593secondStr
2594) {
2595var result = [
2596untruncateYear(yearStr),
2597defaultLocaleMonthsShort.indexOf(monthStr),
2598parseInt(dayStr, 10),
2599parseInt(hourStr, 10),
2600parseInt(minuteStr, 10),
2601];
2602if (secondStr) {
2603result.push(parseInt(secondStr, 10));
2604}
2605return result;
2606}
2607function untruncateYear(yearStr) {
2608var year = parseInt(yearStr, 10);
2609if (year <= 49) {
2610return 2000 + year;
2611} else if (year <= 999) {
2612return 1900 + year;
2613}
2614return year;
2615}
2616function preprocessRFC2822(s) {
2617// Remove comments and folding whitespace and replace multiple-spaces with a single space
2618return s
2619.replace(/\([^()]*\)|[\n\t]/g, ' ')
2620.replace(/(\s\s+)/g, ' ')
2621.replace(/^\s\s*/, '')
2622.replace(/\s\s*$/, '');
2623}
2624function checkWeekday(weekdayStr, parsedInput, config) {
2625if (weekdayStr) {
2626// TODO: Replace the vanilla JS Date object with an independent day-of-week check.
2627var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
2628weekdayActual = new Date(
2629parsedInput[0],
2630parsedInput[1],
2631parsedInput[2]
2632).getDay();
2633if (weekdayProvided !== weekdayActual) {
2634getParsingFlags(config).weekdayMismatch = true;
2635config._isValid = false;
2636return false;
2637}
2638}
2639return true;
2640}
2641function calculateOffset(obsOffset, militaryOffset, numOffset) {
2642if (obsOffset) {
2643return obsOffsets[obsOffset];
2644} else if (militaryOffset) {
2645// the only allowed military tz is Z
2646return 0;
2647} else {
2648var hm = parseInt(numOffset, 10),
2649m = hm % 100,
2650h = (hm - m) / 100;
2651return h * 60 + m;
2652}
2653}
2654// date and time from ref 2822 format
2655function configFromRFC2822(config) {
2656var match = rfc2822.exec(preprocessRFC2822(config._i)),
2657parsedArray;
2658if (match) {
2659parsedArray = extractFromRFC2822Strings(
2660match[4],
2661match[3],
2662match[2],
2663match[5],
2664match[6],
2665match[7]
2666);
2667if (!checkWeekday(match[1], parsedArray, config)) {
2668return;
2669}
2670config._a = parsedArray;
2671config._tzm = calculateOffset(match[8], match[9], match[10]);
2672config._d = createUTCDate.apply(null, config._a);
2673config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
2674getParsingFlags(config).rfc2822 = true;
2675} else {
2676config._isValid = false;
2677}
2678}
2679// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
2680function configFromString(config) {
2681var matched = aspNetJsonRegex.exec(config._i);
2682if (matched !== null) {
2683config._d = new Date(+matched[1]);
2684return;
2685}
2686configFromISO(config);
2687if (config._isValid === false) {
2688delete config._isValid;
2689} else {
2690return;
2691}
2692configFromRFC2822(config);
2693if (config._isValid === false) {
2694delete config._isValid;
2695} else {
2696return;
2697}
2698if (config._strict) {
2699config._isValid = false;
2700} else {
2701// Final attempt, use Input Fallback
2702hooks.createFromInputFallback(config);
2703}
2704}
2705hooks.createFromInputFallback = deprecate(
2706'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
2707'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
2708'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',
2709function (config) {
2710config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
2711}
2712);
2713// Pick the first defined of two or three arguments.
2714function defaults(a, b, c) {
2715if (a != null) {
2716return a;
2717}
2718if (b != null) {
2719return b;
2720}
2721return c;
2722}
2723function currentDateArray(config) {
2724// hooks is actually the exported moment object
2725var nowValue = new Date(hooks.now());
2726if (config._useUTC) {
2727return [
2728nowValue.getUTCFullYear(),
2729nowValue.getUTCMonth(),
2730nowValue.getUTCDate(),
2731];
2732}
2733return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
2734}
2735// convert an array to a date.
2736// the array should mirror the parameters below
2737// note: all values past the year are optional and will default to the lowest possible value.
2738// [year, month, day , hour, minute, second, millisecond]
2739function configFromArray(config) {
2740var i,
2741date,
2742input = [],
2743currentDate,
2744expectedWeekday,
2745yearToUse;
2746if (config._d) {
2747return;
2748}
2749currentDate = currentDateArray(config);
2750//compute day of the year from weeks and weekdays
2751if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
2752dayOfYearFromWeekInfo(config);
2753}
2754//if the day of the year is set, figure out what it is
2755if (config._dayOfYear != null) {
2756yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
2757if (
2758config._dayOfYear > daysInYear(yearToUse) ||
2759config._dayOfYear === 0
2760) {
2761getParsingFlags(config)._overflowDayOfYear = true;
2762}
2763date = createUTCDate(yearToUse, 0, config._dayOfYear);
2764config._a[MONTH] = date.getUTCMonth();
2765config._a[DATE] = date.getUTCDate();
2766}
2767// Default to current date.
2768// * if no year, month, day of month are given, default to today
2769// * if day of month is given, default month and year
2770// * if month is given, default only year
2771// * if year is given, don't default anything
2772for (i = 0; i < 3 && config._a[i] == null; ++i) {
2773config._a[i] = input[i] = currentDate[i];
2774}
2775// Zero out whatever was not defaulted, including time
2776for (; i < 7; i++) {
2777config._a[i] = input[i] =
2778config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];
2779}
2780// Check for 24:00:00.000
2781if (
2782config._a[HOUR] === 24 &&
2783config._a[MINUTE] === 0 &&
2784config._a[SECOND] === 0 &&
2785config._a[MILLISECOND] === 0
2786) {
2787config._nextDay = true;
2788config._a[HOUR] = 0;
2789}
2790config._d = (config._useUTC ? createUTCDate : createDate).apply(
2791null,
2792input
2793);
2794expectedWeekday = config._useUTC
2795? config._d.getUTCDay()
2796: config._d.getDay();
2797// Apply timezone offset from input. The actual utcOffset can be changed
2798// with parseZone.
2799if (config._tzm != null) {
2800config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
2801}
2802if (config._nextDay) {
2803config._a[HOUR] = 24;
2804}
2805// check for mismatching day of week
2806if (
2807config._w &&
2808typeof config._w.d !== 'undefined' &&
2809config._w.d !== expectedWeekday
2810) {
2811getParsingFlags(config).weekdayMismatch = true;
2812}
2813}
2814function dayOfYearFromWeekInfo(config) {
2815var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;
2816w = config._w;
2817if (w.GG != null || w.W != null || w.E != null) {
2818dow = 1;
2819doy = 4;
2820// TODO: We need to take the current isoWeekYear, but that depends on
2821// how we interpret now (local, utc, fixed offset). So create
2822// a now version of current config (take local/utc/offset flags, and
2823// create now).
2824weekYear = defaults(
2825w.GG,
2826config._a[YEAR],
2827weekOfYear(createLocal(), 1, 4).year
2828);
2829week = defaults(w.W, 1);
2830weekday = defaults(w.E, 1);
2831if (weekday < 1 || weekday > 7) {
2832weekdayOverflow = true;
2833}
2834} else {
2835dow = config._locale._week.dow;
2836doy = config._locale._week.doy;
2837curWeek = weekOfYear(createLocal(), dow, doy);
2838weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
2839// Default to current week.
2840week = defaults(w.w, curWeek.week);
2841if (w.d != null) {
2842// weekday -- low day numbers are considered next week
2843weekday = w.d;
2844if (weekday < 0 || weekday > 6) {
2845weekdayOverflow = true;
2846}
2847} else if (w.e != null) {
2848// local weekday -- counting starts from beginning of week
2849weekday = w.e + dow;
2850if (w.e < 0 || w.e > 6) {
2851weekdayOverflow = true;
2852}
2853} else {
2854// default to beginning of week
2855weekday = dow;
2856}
2857}
2858if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
2859getParsingFlags(config)._overflowWeeks = true;
2860} else if (weekdayOverflow != null) {
2861getParsingFlags(config)._overflowWeekday = true;
2862} else {
2863temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
2864config._a[YEAR] = temp.year;
2865config._dayOfYear = temp.dayOfYear;
2866}
2867}
2868// constant that refers to the ISO standard
2869hooks.ISO_8601 = function () {};
2870// constant that refers to the RFC 2822 form
2871hooks.RFC_2822 = function () {};
2872// date from string and format string
2873function configFromStringAndFormat(config) {
2874// TODO: Move this to another part of the creation flow to prevent circular deps
2875if (config._f === hooks.ISO_8601) {
2876configFromISO(config);
2877return;
2878}
2879if (config._f === hooks.RFC_2822) {
2880configFromRFC2822(config);
2881return;
2882}
2883config._a = [];
2884getParsingFlags(config).empty = true;
2885// This array is used to make a Date, either with `new Date` or `Date.UTC`
2886var string = '' + config._i,
2887i,
2888parsedInput,
2889tokens,
2890token,
2891skipped,
2892stringLength = string.length,
2893totalParsedInputLength = 0,
2894era,
2895tokenLen;
2896tokens =
2897expandFormat(config._f, config._locale).match(formattingTokens) || [];
2898tokenLen = tokens.length;
2899for (i = 0; i < tokenLen; i++) {
2900token = tokens[i];
2901parsedInput = (string.match(getParseRegexForToken(token, config)) ||
2902[])[0];
2903if (parsedInput) {
2904skipped = string.substr(0, string.indexOf(parsedInput));
2905if (skipped.length > 0) {
2906getParsingFlags(config).unusedInput.push(skipped);
2907}
2908string = string.slice(
2909string.indexOf(parsedInput) + parsedInput.length
2910);
2911totalParsedInputLength += parsedInput.length;
2912}
2913// don't parse if it's not a known token
2914if (formatTokenFunctions[token]) {
2915if (parsedInput) {
2916getParsingFlags(config).empty = false;
2917} else {
2918getParsingFlags(config).unusedTokens.push(token);
2919}
2920addTimeToArrayFromToken(token, parsedInput, config);
2921} else if (config._strict && !parsedInput) {
2922getParsingFlags(config).unusedTokens.push(token);
2923}
2924}
2925// add remaining unparsed input length to the string
2926getParsingFlags(config).charsLeftOver =
2927stringLength - totalParsedInputLength;
2928if (string.length > 0) {
2929getParsingFlags(config).unusedInput.push(string);
2930}
2931// clear _12h flag if hour is <= 12
2932if (
2933config._a[HOUR] <= 12 &&
2934getParsingFlags(config).bigHour === true &&
2935config._a[HOUR] > 0
2936) {
2937getParsingFlags(config).bigHour = undefined;
2938}
2939getParsingFlags(config).parsedDateParts = config._a.slice(0);
2940getParsingFlags(config).meridiem = config._meridiem;
2941// handle meridiem
2942config._a[HOUR] = meridiemFixWrap(
2943config._locale,
2944config._a[HOUR],
2945config._meridiem
2946);
2947// handle era
2948era = getParsingFlags(config).era;
2949if (era !== null) {
2950config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
2951}
2952configFromArray(config);
2953checkOverflow(config);
2954}
2955function meridiemFixWrap(locale, hour, meridiem) {
2956var isPm;
2957if (meridiem == null) {
2958// nothing to do
2959return hour;
2960}
2961if (locale.meridiemHour != null) {
2962return locale.meridiemHour(hour, meridiem);
2963} else if (locale.isPM != null) {
2964// Fallback
2965isPm = locale.isPM(meridiem);
2966if (isPm && hour < 12) {
2967hour += 12;
2968}
2969if (!isPm && hour === 12) {
2970hour = 0;
2971}
2972return hour;
2973} else {
2974// this is not supposed to happen
2975return hour;
2976}
2977}
2978// date from string and array of format strings
2979function configFromStringAndArray(config) {
2980var tempConfig,
2981bestMoment,
2982scoreToBeat,
2983i,
2984currentScore,
2985validFormatFound,
2986bestFormatIsValid = false,
2987configfLen = config._f.length;
2988if (configfLen === 0) {
2989getParsingFlags(config).invalidFormat = true;
2990config._d = new Date(NaN);
2991return;
2992}
2993for (i = 0; i < configfLen; i++) {
2994currentScore = 0;
2995validFormatFound = false;
2996tempConfig = copyConfig({}, config);
2997if (config._useUTC != null) {
2998tempConfig._useUTC = config._useUTC;
2999}
3000tempConfig._f = config._f[i];
3001configFromStringAndFormat(tempConfig);
3002if (isValid(tempConfig)) {
3003validFormatFound = true;
3004}
3005// if there is any input that was not parsed add a penalty for that format
3006currentScore += getParsingFlags(tempConfig).charsLeftOver;
3007//or tokens
3008currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
3009getParsingFlags(tempConfig).score = currentScore;
3010if (!bestFormatIsValid) {
3011if (
3012scoreToBeat == null ||
3013currentScore < scoreToBeat ||
3014validFormatFound
3015) {
3016scoreToBeat = currentScore;
3017bestMoment = tempConfig;
3018if (validFormatFound) {
3019bestFormatIsValid = true;
3020}
3021}
3022} else {
3023if (currentScore < scoreToBeat) {
3024scoreToBeat = currentScore;
3025bestMoment = tempConfig;
3026}
3027}
3028}
3029extend(config, bestMoment || tempConfig);
3030}
3031function configFromObject(config) {
3032if (config._d) {
3033return;
3034}
3035var i = normalizeObjectUnits(config._i),
3036dayOrDate = i.day === undefined ? i.date : i.day;
3037config._a = map(
3038[i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],
3039function (obj) {
3040return obj && parseInt(obj, 10);
3041}
3042);
3043configFromArray(config);
3044}
3045function createFromConfig(config) {
3046var res = new Moment(checkOverflow(prepareConfig(config)));
3047if (res._nextDay) {
3048// Adding is smart enough around DST
3049res.add(1, 'd');
3050res._nextDay = undefined;
3051}
3052return res;
3053}
3054function prepareConfig(config) {
3055var input = config._i,
3056format = config._f;
3057config._locale = config._locale || getLocale(config._l);
3058if (input === null || (format === undefined && input === '')) {
3059return createInvalid({ nullInput: true });
3060}
3061if (typeof input === 'string') {
3062config._i = input = config._locale.preparse(input);
3063}
3064if (isMoment(input)) {
3065return new Moment(checkOverflow(input));
3066} else if (isDate(input)) {
3067config._d = input;
3068} else if (isArray(format)) {
3069configFromStringAndArray(config);
3070} else if (format) {
3071configFromStringAndFormat(config);
3072} else {
3073configFromInput(config);
3074}
3075if (!isValid(config)) {
3076config._d = null;
3077}
3078return config;
3079}
3080function configFromInput(config) {
3081var input = config._i;
3082if (isUndefined(input)) {
3083config._d = new Date(hooks.now());
3084} else if (isDate(input)) {
3085config._d = new Date(input.valueOf());
3086} else if (typeof input === 'string') {
3087configFromString(config);
3088} else if (isArray(input)) {
3089config._a = map(input.slice(0), function (obj) {
3090return parseInt(obj, 10);
3091});
3092configFromArray(config);
3093} else if (isObject(input)) {
3094configFromObject(config);
3095} else if (isNumber(input)) {
3096// from milliseconds
3097config._d = new Date(input);
3098} else {
3099hooks.createFromInputFallback(config);
3100}
3101}
3102function createLocalOrUTC(input, format, locale, strict, isUTC) {
3103var c = {};
3104if (format === true || format === false) {
3105strict = format;
3106format = undefined;
3107}
3108if (locale === true || locale === false) {
3109strict = locale;
3110locale = undefined;
3111}
3112if (
3113(isObject(input) && isObjectEmpty(input)) ||
3114(isArray(input) && input.length === 0)
3115) {
3116input = undefined;
3117}
3118// object construction must be done this way.
3119// https://github.com/moment/moment/issues/1423
3120c._isAMomentObject = true;
3121c._useUTC = c._isUTC = isUTC;
3122c._l = locale;
3123c._i = input;
3124c._f = format;
3125c._strict = strict;
3126return createFromConfig(c);
3127}
3128function createLocal(input, format, locale, strict) {
3129return createLocalOrUTC(input, format, locale, strict, false);
3130}
3131var prototypeMin = deprecate(
3132'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',
3133function () {
3134var other = createLocal.apply(null, arguments);
3135if (this.isValid() && other.isValid()) {
3136return other < this ? this : other;
3137} else {
3138return createInvalid();
3139}
3140}
3141),
3142prototypeMax = deprecate(
3143'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',
3144function () {
3145var other = createLocal.apply(null, arguments);
3146if (this.isValid() && other.isValid()) {
3147return other > this ? this : other;
3148} else {
3149return createInvalid();
3150}
3151}
3152);
3153// Pick a moment m from moments so that m[fn](other) is true for all
3154// other. This relies on the function fn to be transitive.
3155//
3156// moments should either be an array of moment objects or an array, whose
3157// first element is an array of moment objects.
3158function pickBy(fn, moments) {
3159var res, i;
3160if (moments.length === 1 && isArray(moments[0])) {
3161moments = moments[0];
3162}
3163if (!moments.length) {
3164return createLocal();
3165}
3166res = moments[0];
3167for (i = 1; i < moments.length; ++i) {
3168if (!moments[i].isValid() || moments[i][fn](res)) {
3169res = moments[i];
3170}
3171}
3172return res;
3173}
3174// TODO: Use [].sort instead?
3175function min() {
3176var args = [].slice.call(arguments, 0);
3177return pickBy('isBefore', args);
3178}
3179function max() {
3180var args = [].slice.call(arguments, 0);
3181return pickBy('isAfter', args);
3182}
3183var now = function () {
3184return Date.now ? Date.now() : +new Date();
3185};
3186var ordering = [
3187'year',
3188'quarter',
3189'month',
3190'week',
3191'day',
3192'hour',
3193'minute',
3194'second',
3195'millisecond',
3196];
3197function isDurationValid(m) {
3198var key,
3199unitHasDecimal = false,
3200i,
3201orderLen = ordering.length;
3202for (key in m) {
3203if (
3204hasOwnProp(m, key) &&
3205!(
3206indexOf.call(ordering, key) !== -1 &&
3207(m[key] == null || !isNaN(m[key]))
3208)
3209) {
3210return false;
3211}
3212}
3213for (i = 0; i < orderLen; ++i) {
3214if (m[ordering[i]]) {
3215if (unitHasDecimal) {
3216return false; // only allow non-integers for smallest unit
3217}
3218if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
3219unitHasDecimal = true;
3220}
3221}
3222}
3223return true;
3224}
3225function isValid$1() {
3226return this._isValid;
3227}
3228function createInvalid$1() {
3229return createDuration(NaN);
3230}
3231function Duration(duration) {
3232var normalizedInput = normalizeObjectUnits(duration),
3233years = normalizedInput.year || 0,
3234quarters = normalizedInput.quarter || 0,
3235months = normalizedInput.month || 0,
3236weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
3237days = normalizedInput.day || 0,
3238hours = normalizedInput.hour || 0,
3239minutes = normalizedInput.minute || 0,
3240seconds = normalizedInput.second || 0,
3241milliseconds = normalizedInput.millisecond || 0;
3242this._isValid = isDurationValid(normalizedInput);
3243// representation for dateAddRemove
3244this._milliseconds =
3245+milliseconds +
3246seconds * 1e3 + // 1000
3247minutes * 6e4 + // 1000 * 60
3248hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
3249// Because of dateAddRemove treats 24 hours as different from a
3250// day when working around DST, we need to store them separately
3251this._days = +days + weeks * 7;
3252// It is impossible to translate months into days without knowing
3253// which months you are are talking about, so we have to store
3254// it separately.
3255this._months = +months + quarters * 3 + years * 12;
3256this._data = {};
3257this._locale = getLocale();
3258this._bubble();
3259}
3260function isDuration(obj) {
3261return obj instanceof Duration;
3262}
3263function absRound(number) {
3264if (number < 0) {
3265return Math.round(-1 * number) * -1;
3266} else {
3267return Math.round(number);
3268}
3269}
3270// compare two arrays, return the number of differences
3271function compareArrays(array1, array2, dontConvert) {
3272var len = Math.min(array1.length, array2.length),
3273lengthDiff = Math.abs(array1.length - array2.length),
3274diffs = 0,
3275i;
3276for (i = 0; i < len; i++) {
3277if (
3278(dontConvert && array1[i] !== array2[i]) ||
3279(!dontConvert && toInt(array1[i]) !== toInt(array2[i]))
3280) {
3281diffs++;
3282}
3283}
3284return diffs + lengthDiff;
3285}
3286// FORMATTING
3287function offset(token, separator) {
3288addFormatToken(token, 0, 0, function () {
3289var offset = this.utcOffset(),
3290sign = '+';
3291if (offset < 0) {
3292offset = -offset;
3293sign = '-';
3294}
3295return (
3296sign +
3297zeroFill(~~(offset / 60), 2) +
3298separator +
3299zeroFill(~~offset % 60, 2)
3300);
3301});
3302}
3303offset('Z', ':');
3304offset('ZZ', '');
3305// PARSING
3306addRegexToken('Z', matchShortOffset);
3307addRegexToken('ZZ', matchShortOffset);
3308addParseToken(['Z', 'ZZ'], function (input, array, config) {
3309config._useUTC = true;
3310config._tzm = offsetFromString(matchShortOffset, input);
3311});
3312// HELPERS
3313// timezone chunker
3314// '+10:00' > ['10',  '00']
3315// '-1530'  > ['-15', '30']
3316var chunkOffset = /([\+\-]|\d\d)/gi;
3317function offsetFromString(matcher, string) {
3318var matches = (string || '').match(matcher),
3319chunk,
3320parts,
3321minutes;
3322if (matches === null) {
3323return null;
3324}
3325chunk = matches[matches.length - 1] || [];
3326parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
3327minutes = +(parts[1] * 60) + toInt(parts[2]);
3328return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;
3329}
3330// Return a moment from input, that is local/utc/zone equivalent to model.
3331function cloneWithOffset(input, model) {
3332var res, diff;
3333if (model._isUTC) {
3334res = model.clone();
3335diff =
3336(isMoment(input) || isDate(input)
3337? input.valueOf()
3338: createLocal(input).valueOf()) - res.valueOf();
3339// Use low-level api, because this fn is low-level api.
3340res._d.setTime(res._d.valueOf() + diff);
3341hooks.updateOffset(res, false);
3342return res;
3343} else {
3344return createLocal(input).local();
3345}
3346}
3347function getDateOffset(m) {
3348// On Firefox.24 Date#getTimezoneOffset returns a floating point.
3349// https://github.com/moment/moment/pull/1871
3350return -Math.round(m._d.getTimezoneOffset());
3351}
3352// HOOKS
3353// This function will be called whenever a moment is mutated.
3354// It is intended to keep the offset in sync with the timezone.
3355hooks.updateOffset = function () {};
3356// MOMENTS
3357// keepLocalTime = true means only change the timezone, without
3358// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
3359// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
3360// +0200, so we adjust the time as needed, to be valid.
3361//
3362// Keeping the time actually adds/subtracts (one hour)
3363// from the actual represented time. That is why we call updateOffset
3364// a second time. In case it wants us to change the offset again
3365// _changeInProgress == true case, then we have to adjust, because
3366// there is no such time in the given timezone.
3367function getSetOffset(input, keepLocalTime, keepMinutes) {
3368var offset = this._offset || 0,
3369localAdjust;
3370if (!this.isValid()) {
3371return input != null ? this : NaN;
3372}
3373if (input != null) {
3374if (typeof input === 'string') {
3375input = offsetFromString(matchShortOffset, input);
3376if (input === null) {
3377return this;
3378}
3379} else if (Math.abs(input) < 16 && !keepMinutes) {
3380input = input * 60;
3381}
3382if (!this._isUTC && keepLocalTime) {
3383localAdjust = getDateOffset(this);
3384}
3385this._offset = input;
3386this._isUTC = true;
3387if (localAdjust != null) {
3388this.add(localAdjust, 'm');
3389}
3390if (offset !== input) {
3391if (!keepLocalTime || this._changeInProgress) {
3392addSubtract(
3393this,
3394createDuration(input - offset, 'm'),
33951,
3396false
3397);
3398} else if (!this._changeInProgress) {
3399this._changeInProgress = true;
3400hooks.updateOffset(this, true);
3401this._changeInProgress = null;
3402}
3403}
3404return this;
3405} else {
3406return this._isUTC ? offset : getDateOffset(this);
3407}
3408}
3409function getSetZone(input, keepLocalTime) {
3410if (input != null) {
3411if (typeof input !== 'string') {
3412input = -input;
3413}
3414this.utcOffset(input, keepLocalTime);
3415return this;
3416} else {
3417return -this.utcOffset();
3418}
3419}
3420function setOffsetToUTC(keepLocalTime) {
3421return this.utcOffset(0, keepLocalTime);
3422}
3423function setOffsetToLocal(keepLocalTime) {
3424if (this._isUTC) {
3425this.utcOffset(0, keepLocalTime);
3426this._isUTC = false;
3427if (keepLocalTime) {
3428this.subtract(getDateOffset(this), 'm');
3429}
3430}
3431return this;
3432}
3433function setOffsetToParsedOffset() {
3434if (this._tzm != null) {
3435this.utcOffset(this._tzm, false, true);
3436} else if (typeof this._i === 'string') {
3437var tZone = offsetFromString(matchOffset, this._i);
3438if (tZone != null) {
3439this.utcOffset(tZone);
3440} else {
3441this.utcOffset(0, true);
3442}
3443}
3444return this;
3445}
3446function hasAlignedHourOffset(input) {
3447if (!this.isValid()) {
3448return false;
3449}
3450input = input ? createLocal(input).utcOffset() : 0;
3451return (this.utcOffset() - input) % 60 === 0;
3452}
3453function isDaylightSavingTime() {
3454return (
3455this.utcOffset() > this.clone().month(0).utcOffset() ||
3456this.utcOffset() > this.clone().month(5).utcOffset()
3457);
3458}
3459function isDaylightSavingTimeShifted() {
3460if (!isUndefined(this._isDSTShifted)) {
3461return this._isDSTShifted;
3462}
3463var c = {},
3464other;
3465copyConfig(c, this);
3466c = prepareConfig(c);
3467if (c._a) {
3468other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
3469this._isDSTShifted =
3470this.isValid() && compareArrays(c._a, other.toArray()) > 0;
3471} else {
3472this._isDSTShifted = false;
3473}
3474return this._isDSTShifted;
3475}
3476function isLocal() {
3477return this.isValid() ? !this._isUTC : false;
3478}
3479function isUtcOffset() {
3480return this.isValid() ? this._isUTC : false;
3481}
3482function isUtc() {
3483return this.isValid() ? this._isUTC && this._offset === 0 : false;
3484}
3485// ASP.NET json date format regex
3486var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
3487// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
3488// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
3489// and further modified to allow for strings containing both week and day
3490isoRegex =
3491/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
3492function createDuration(input, key) {
3493var duration = input,
3494// matching against regexp is expensive, do it on demand
3495match = null,
3496sign,
3497ret,
3498diffRes;
3499if (isDuration(input)) {
3500duration = {
3501ms: input._milliseconds,
3502d: input._days,
3503M: input._months,
3504};
3505} else if (isNumber(input) || !isNaN(+input)) {
3506duration = {};
3507if (key) {
3508duration[key] = +input;
3509} else {
3510duration.milliseconds = +input;
3511}
3512} else if ((match = aspNetRegex.exec(input))) {
3513sign = match[1] === '-' ? -1 : 1;
3514duration = {
3515y: 0,
3516d: toInt(match[DATE]) * sign,
3517h: toInt(match[HOUR]) * sign,
3518m: toInt(match[MINUTE]) * sign,
3519s: toInt(match[SECOND]) * sign,
3520ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match
3521};
3522} else if ((match = isoRegex.exec(input))) {
3523sign = match[1] === '-' ? -1 : 1;
3524duration = {
3525y: parseIso(match[2], sign),
3526M: parseIso(match[3], sign),
3527w: parseIso(match[4], sign),
3528d: parseIso(match[5], sign),
3529h: parseIso(match[6], sign),
3530m: parseIso(match[7], sign),
3531s: parseIso(match[8], sign),
3532};
3533} else if (duration == null) {
3534// checks for null or undefined
3535duration = {};
3536} else if (
3537typeof duration === 'object' &&
3538('from' in duration || 'to' in duration)
3539) {
3540diffRes = momentsDifference(
3541createLocal(duration.from),
3542createLocal(duration.to)
3543);
3544duration = {};
3545duration.ms = diffRes.milliseconds;
3546duration.M = diffRes.months;
3547}
3548ret = new Duration(duration);
3549if (isDuration(input) && hasOwnProp(input, '_locale')) {
3550ret._locale = input._locale;
3551}
3552if (isDuration(input) && hasOwnProp(input, '_isValid')) {
3553ret._isValid = input._isValid;
3554}
3555return ret;
3556}
3557createDuration.fn = Duration.prototype;
3558createDuration.invalid = createInvalid$1;
3559function parseIso(inp, sign) {
3560// We'd normally use ~~inp for this, but unfortunately it also
3561// converts floats to ints.
3562// inp may be undefined, so careful calling replace on it.
3563var res = inp && parseFloat(inp.replace(',', '.'));
3564// apply sign while we're at it
3565return (isNaN(res) ? 0 : res) * sign;
3566}
3567function positiveMomentsDifference(base, other) {
3568var res = {};
3569res.months =
3570other.month() - base.month() + (other.year() - base.year()) * 12;
3571if (base.clone().add(res.months, 'M').isAfter(other)) {
3572--res.months;
3573}
3574res.milliseconds = +other - +base.clone().add(res.months, 'M');
3575return res;
3576}
3577function momentsDifference(base, other) {
3578var res;
3579if (!(base.isValid() && other.isValid())) {
3580return { milliseconds: 0, months: 0 };
3581}
3582other = cloneWithOffset(other, base);
3583if (base.isBefore(other)) {
3584res = positiveMomentsDifference(base, other);
3585} else {
3586res = positiveMomentsDifference(other, base);
3587res.milliseconds = -res.milliseconds;
3588res.months = -res.months;
3589}
3590return res;
3591}
3592// TODO: remove 'name' arg after deprecation is removed
3593function createAdder(direction, name) {
3594return function (val, period) {
3595var dur, tmp;
3596//invert the arguments, but complain about it
3597if (period !== null && !isNaN(+period)) {
3598deprecateSimple(
3599name,
3600'moment().' +
3601name +
3602'(period, number) is deprecated. Please use moment().' +
3603name +
3604'(number, period). ' +
3605'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'
3606);
3607tmp = val;
3608val = period;
3609period = tmp;
3610}
3611dur = createDuration(val, period);
3612addSubtract(this, dur, direction);
3613return this;
3614};
3615}
3616function addSubtract(mom, duration, isAdding, updateOffset) {
3617var milliseconds = duration._milliseconds,
3618days = absRound(duration._days),
3619months = absRound(duration._months);
3620if (!mom.isValid()) {
3621// No op
3622return;
3623}
3624updateOffset = updateOffset == null ? true : updateOffset;
3625if (months) {
3626setMonth(mom, get(mom, 'Month') + months * isAdding);
3627}
3628if (days) {
3629set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
3630}
3631if (milliseconds) {
3632mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
3633}
3634if (updateOffset) {
3635hooks.updateOffset(mom, days || months);
3636}
3637}
3638var add = createAdder(1, 'add'),
3639subtract = createAdder(-1, 'subtract');
3640function isString(input) {
3641return typeof input === 'string' || input instanceof String;
3642}
3643// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
3644function isMomentInput(input) {
3645return (
3646isMoment(input) ||
3647isDate(input) ||
3648isString(input) ||
3649isNumber(input) ||
3650isNumberOrStringArray(input) ||
3651isMomentInputObject(input) ||
3652input === null ||
3653input === undefined
3654);
3655}
3656function isMomentInputObject(input) {
3657var objectTest = isObject(input) && !isObjectEmpty(input),
3658propertyTest = false,
3659properties = [
3660'years',
3661'year',
3662'y',
3663'months',
3664'month',
3665'M',
3666'days',
3667'day',
3668'd',
3669'dates',
3670'date',
3671'D',
3672'hours',
3673'hour',
3674'h',
3675'minutes',
3676'minute',
3677'm',
3678'seconds',
3679'second',
3680's',
3681'milliseconds',
3682'millisecond',
3683'ms',
3684],
3685i,
3686property,
3687propertyLen = properties.length;
3688for (i = 0; i < propertyLen; i += 1) {
3689property = properties[i];
3690propertyTest = propertyTest || hasOwnProp(input, property);
3691}
3692return objectTest && propertyTest;
3693}
3694function isNumberOrStringArray(input) {
3695var arrayTest = isArray(input),
3696dataTypeTest = false;
3697if (arrayTest) {
3698dataTypeTest =
3699input.filter(function (item) {
3700return !isNumber(item) && isString(input);
3701}).length === 0;
3702}
3703return arrayTest && dataTypeTest;
3704}
3705function isCalendarSpec(input) {
3706var objectTest = isObject(input) && !isObjectEmpty(input),
3707propertyTest = false,
3708properties = [
3709'sameDay',
3710'nextDay',
3711'lastDay',
3712'nextWeek',
3713'lastWeek',
3714'sameElse',
3715],
3716i,
3717property;
3718for (i = 0; i < properties.length; i += 1) {
3719property = properties[i];
3720propertyTest = propertyTest || hasOwnProp(input, property);
3721}
3722return objectTest && propertyTest;
3723}
3724function getCalendarFormat(myMoment, now) {
3725var diff = myMoment.diff(now, 'days', true);
3726return diff < -6
3727? 'sameElse'
3728: diff < -1
3729? 'lastWeek'
3730: diff < 0
3731? 'lastDay'
3732: diff < 1
3733? 'sameDay'
3734: diff < 2
3735? 'nextDay'
3736: diff < 7
3737? 'nextWeek'
3738: 'sameElse';
3739}
3740function calendar$1(time, formats) {
3741// Support for single parameter, formats only overload to the calendar function
3742if (arguments.length === 1) {
3743if (!arguments[0]) {
3744time = undefined;
3745formats = undefined;
3746} else if (isMomentInput(arguments[0])) {
3747time = arguments[0];
3748formats = undefined;
3749} else if (isCalendarSpec(arguments[0])) {
3750formats = arguments[0];
3751time = undefined;
3752}
3753}
3754// We want to compare the start of today, vs this.
3755// Getting start-of-today depends on whether we're local/utc/offset or not.
3756var now = time || createLocal(),
3757sod = cloneWithOffset(now, this).startOf('day'),
3758format = hooks.calendarFormat(this, sod) || 'sameElse',
3759output =
3760formats &&
3761(isFunction(formats[format])
3762? formats[format].call(this, now)
3763: formats[format]);
3764return this.format(
3765output || this.localeData().calendar(format, this, createLocal(now))
3766);
3767}
3768function clone() {
3769return new Moment(this);
3770}
3771function isAfter(input, units) {
3772var localInput = isMoment(input) ? input : createLocal(input);
3773if (!(this.isValid() && localInput.isValid())) {
3774return false;
3775}
3776units = normalizeUnits(units) || 'millisecond';
3777if (units === 'millisecond') {
3778return this.valueOf() > localInput.valueOf();
3779} else {
3780return localInput.valueOf() < this.clone().startOf(units).valueOf();
3781}
3782}
3783function isBefore(input, units) {
3784var localInput = isMoment(input) ? input : createLocal(input);
3785if (!(this.isValid() && localInput.isValid())) {
3786return false;
3787}
3788units = normalizeUnits(units) || 'millisecond';
3789if (units === 'millisecond') {
3790return this.valueOf() < localInput.valueOf();
3791} else {
3792return this.clone().endOf(units).valueOf() < localInput.valueOf();
3793}
3794}
3795function isBetween(from, to, units, inclusivity) {
3796var localFrom = isMoment(from) ? from : createLocal(from),
3797localTo = isMoment(to) ? to : createLocal(to);
3798if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
3799return false;
3800}
3801inclusivity = inclusivity || '()';
3802return (
3803(inclusivity[0] === '('
3804? this.isAfter(localFrom, units)
3805: !this.isBefore(localFrom, units)) &&
3806(inclusivity[1] === ')'
3807? this.isBefore(localTo, units)
3808: !this.isAfter(localTo, units))
3809);
3810}
3811function isSame(input, units) {
3812var localInput = isMoment(input) ? input : createLocal(input),
3813inputMs;
3814if (!(this.isValid() && localInput.isValid())) {
3815return false;
3816}
3817units = normalizeUnits(units) || 'millisecond';
3818if (units === 'millisecond') {
3819return this.valueOf() === localInput.valueOf();
3820} else {
3821inputMs = localInput.valueOf();
3822return (
3823this.clone().startOf(units).valueOf() <= inputMs &&
3824inputMs <= this.clone().endOf(units).valueOf()
3825);
3826}
3827}
3828function isSameOrAfter(input, units) {
3829return this.isSame(input, units) || this.isAfter(input, units);
3830}
3831function isSameOrBefore(input, units) {
3832return this.isSame(input, units) || this.isBefore(input, units);
3833}
3834function diff(input, units, asFloat) {
3835var that, zoneDelta, output;
3836if (!this.isValid()) {
3837return NaN;
3838}
3839that = cloneWithOffset(input, this);
3840if (!that.isValid()) {
3841return NaN;
3842}
3843zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
3844units = normalizeUnits(units);
3845switch (units) {
3846case 'year':
3847output = monthDiff(this, that) / 12;
3848break;
3849case 'month':
3850output = monthDiff(this, that);
3851break;
3852case 'quarter':
3853output = monthDiff(this, that) / 3;
3854break;
3855case 'second':
3856output = (this - that) / 1e3;
3857break; // 1000
3858case 'minute':
3859output = (this - that) / 6e4;
3860break; // 1000 * 60
3861case 'hour':
3862output = (this - that) / 36e5;
3863break; // 1000 * 60 * 60
3864case 'day':
3865output = (this - that - zoneDelta) / 864e5;
3866break; // 1000 * 60 * 60 * 24, negate dst
3867case 'week':
3868output = (this - that - zoneDelta) / 6048e5;
3869break; // 1000 * 60 * 60 * 24 * 7, negate dst
3870default:
3871output = this - that;
3872}
3873return asFloat ? output : absFloor(output);
3874}
3875function monthDiff(a, b) {
3876if (a.date() < b.date()) {
3877// end-of-month calculations work correct when the start month has more
3878// days than the end month.
3879return -monthDiff(b, a);
3880}
3881// difference in months
3882var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),
3883// b is in (anchor - 1 month, anchor + 1 month)
3884anchor = a.clone().add(wholeMonthDiff, 'months'),
3885anchor2,
3886adjust;
3887if (b - anchor < 0) {
3888anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
3889// linear across the month
3890adjust = (b - anchor) / (anchor - anchor2);
3891} else {
3892anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
3893// linear across the month
3894adjust = (b - anchor) / (anchor2 - anchor);
3895}
3896//check for negative zero, return zero if negative zero
3897return -(wholeMonthDiff + adjust) || 0;
3898}
3899hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
3900hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
3901function toString() {
3902return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
3903}
3904function toISOString(keepOffset) {
3905if (!this.isValid()) {
3906return null;
3907}
3908var utc = keepOffset !== true,
3909m = utc ? this.clone().utc() : this;
3910if (m.year() < 0 || m.year() > 9999) {
3911return formatMoment(
3912m,
3913utc
3914? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'
3915: 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'
3916);
3917}
3918if (isFunction(Date.prototype.toISOString)) {
3919// native implementation is ~50x faster, use it when we can
3920if (utc) {
3921return this.toDate().toISOString();
3922} else {
3923return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)
3924.toISOString()
3925.replace('Z', formatMoment(m, 'Z'));
3926}
3927}
3928return formatMoment(
3929m,
3930utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'
3931);
3932}
3933/**
3934* Return a human readable representation of a moment that can
3935* also be evaluated to get a new moment which is the same
3936*
3937* @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
3938*/
3939function inspect() {
3940if (!this.isValid()) {
3941return 'moment.invalid(/* ' + this._i + ' */)';
3942}
3943var func = 'moment',
3944zone = '',
3945prefix,
3946year,
3947datetime,
3948suffix;
3949if (!this.isLocal()) {
3950func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
3951zone = 'Z';
3952}
3953prefix = '[' + func + '("]';
3954year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';
3955datetime = '-MM-DD[T]HH:mm:ss.SSS';
3956suffix = zone + '[")]';
3957return this.format(prefix + year + datetime + suffix);
3958}
3959function format(inputString) {
3960if (!inputString) {
3961inputString = this.isUtc()
3962? hooks.defaultFormatUtc
3963: hooks.defaultFormat;
3964}
3965var output = formatMoment(this, inputString);
3966return this.localeData().postformat(output);
3967}
3968function from(time, withoutSuffix) {
3969if (
3970this.isValid() &&
3971((isMoment(time) && time.isValid()) || createLocal(time).isValid())
3972) {
3973return createDuration({ to: this, from: time })
3974.locale(this.locale())
3975.humanize(!withoutSuffix);
3976} else {
3977return this.localeData().invalidDate();
3978}
3979}
3980function fromNow(withoutSuffix) {
3981return this.from(createLocal(), withoutSuffix);
3982}
3983function to(time, withoutSuffix) {
3984if (
3985this.isValid() &&
3986((isMoment(time) && time.isValid()) || createLocal(time).isValid())
3987) {
3988return createDuration({ from: this, to: time })
3989.locale(this.locale())
3990.humanize(!withoutSuffix);
3991} else {
3992return this.localeData().invalidDate();
3993}
3994}
3995function toNow(withoutSuffix) {
3996return this.to(createLocal(), withoutSuffix);
3997}
3998// If passed a locale key, it will set the locale for this
3999// instance.  Otherwise, it will return the locale configuration
4000// variables for this instance.
4001function locale(key) {
4002var newLocaleData;
4003if (key === undefined) {
4004return this._locale._abbr;
4005} else {
4006newLocaleData = getLocale(key);
4007if (newLocaleData != null) {
4008this._locale = newLocaleData;
4009}
4010return this;
4011}
4012}
4013var lang = deprecate(
4014'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
4015function (key) {
4016if (key === undefined) {
4017return this.localeData();
4018} else {
4019return this.locale(key);
4020}
4021}
4022);
4023function localeData() {
4024return this._locale;
4025}
4026var MS_PER_SECOND = 1000,
4027MS_PER_MINUTE = 60 * MS_PER_SECOND,
4028MS_PER_HOUR = 60 * MS_PER_MINUTE,
4029MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
4030// actual modulo - handles negative numbers (for dates before 1970):
4031function mod$1(dividend, divisor) {
4032return ((dividend % divisor) + divisor) % divisor;
4033}
4034function localStartOfDate(y, m, d) {
4035// the date constructor remaps years 0-99 to 1900-1999
4036if (y < 100 && y >= 0) {
4037// preserve leap years using a full 400 year cycle, then reset
4038return new Date(y + 400, m, d) - MS_PER_400_YEARS;
4039} else {
4040return new Date(y, m, d).valueOf();
4041}
4042}
4043function utcStartOfDate(y, m, d) {
4044// Date.UTC remaps years 0-99 to 1900-1999
4045if (y < 100 && y >= 0) {
4046// preserve leap years using a full 400 year cycle, then reset
4047return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
4048} else {
4049return Date.UTC(y, m, d);
4050}
4051}
4052function startOf(units) {
4053var time, startOfDate;
4054units = normalizeUnits(units);
4055if (units === undefined || units === 'millisecond' || !this.isValid()) {
4056return this;
4057}
4058startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
4059switch (units) {
4060case 'year':
4061time = startOfDate(this.year(), 0, 1);
4062break;
4063case 'quarter':
4064time = startOfDate(
4065this.year(),
4066this.month() - (this.month() % 3),
40671
4068);
4069break;
4070case 'month':
4071time = startOfDate(this.year(), this.month(), 1);
4072break;
4073case 'week':
4074time = startOfDate(
4075this.year(),
4076this.month(),
4077this.date() - this.weekday()
4078);
4079break;
4080case 'isoWeek':
4081time = startOfDate(
4082this.year(),
4083this.month(),
4084this.date() - (this.isoWeekday() - 1)
4085);
4086break;
4087case 'day':
4088case 'date':
4089time = startOfDate(this.year(), this.month(), this.date());
4090break;
4091case 'hour':
4092time = this._d.valueOf();
4093time -= mod$1(
4094time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
4095MS_PER_HOUR
4096);
4097break;
4098case 'minute':
4099time = this._d.valueOf();
4100time -= mod$1(time, MS_PER_MINUTE);
4101break;
4102case 'second':
4103time = this._d.valueOf();
4104time -= mod$1(time, MS_PER_SECOND);
4105break;
4106}
4107this._d.setTime(time);
4108hooks.updateOffset(this, true);
4109return this;
4110}
4111function endOf(units) {
4112var time, startOfDate;
4113units = normalizeUnits(units);
4114if (units === undefined || units === 'millisecond' || !this.isValid()) {
4115return this;
4116}
4117startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
4118switch (units) {
4119case 'year':
4120time = startOfDate(this.year() + 1, 0, 1) - 1;
4121break;
4122case 'quarter':
4123time =
4124startOfDate(
4125this.year(),
4126this.month() - (this.month() % 3) + 3,
41271
4128) - 1;
4129break;
4130case 'month':
4131time = startOfDate(this.year(), this.month() + 1, 1) - 1;
4132break;
4133case 'week':
4134time =
4135startOfDate(
4136this.year(),
4137this.month(),
4138this.date() - this.weekday() + 7
4139) - 1;
4140break;
4141case 'isoWeek':
4142time =
4143startOfDate(
4144this.year(),
4145this.month(),
4146this.date() - (this.isoWeekday() - 1) + 7
4147) - 1;
4148break;
4149case 'day':
4150case 'date':
4151time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
4152break;
4153case 'hour':
4154time = this._d.valueOf();
4155time +=
4156MS_PER_HOUR -
4157mod$1(
4158time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
4159MS_PER_HOUR
4160) -
41611;
4162break;
4163case 'minute':
4164time = this._d.valueOf();
4165time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
4166break;
4167case 'second':
4168time = this._d.valueOf();
4169time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
4170break;
4171}
4172this._d.setTime(time);
4173hooks.updateOffset(this, true);
4174return this;
4175}
4176function valueOf() {
4177return this._d.valueOf() - (this._offset || 0) * 60000;
4178}
4179function unix() {
4180return Math.floor(this.valueOf() / 1000);
4181}
4182function toDate() {
4183return new Date(this.valueOf());
4184}
4185function toArray() {
4186var m = this;
4187return [
4188m.year(),
4189m.month(),
4190m.date(),
4191m.hour(),
4192m.minute(),
4193m.second(),
4194m.millisecond(),
4195];
4196}
4197function toObject() {
4198var m = this;
4199return {
4200years: m.year(),
4201months: m.month(),
4202date: m.date(),
4203hours: m.hours(),
4204minutes: m.minutes(),
4205seconds: m.seconds(),
4206milliseconds: m.milliseconds(),
4207};
4208}
4209function toJSON() {
4210// new Date(NaN).toJSON() === null
4211return this.isValid() ? this.toISOString() : null;
4212}
4213function isValid$2() {
4214return isValid(this);
4215}
4216function parsingFlags() {
4217return extend({}, getParsingFlags(this));
4218}
vendor: 13,145 bytes, lines 4219-4723
4219function invalidAt() {
4220return getParsingFlags(this).overflow;
4221}
4222function creationData() {
4223return {
4224input: this._i,
4225format: this._f,
4226locale: this._locale,
4227isUTC: this._isUTC,
4228strict: this._strict,
4229};
4230}
4231addFormatToken('N', 0, 0, 'eraAbbr');
4232addFormatToken('NN', 0, 0, 'eraAbbr');
4233addFormatToken('NNN', 0, 0, 'eraAbbr');
4234addFormatToken('NNNN', 0, 0, 'eraName');
4235addFormatToken('NNNNN', 0, 0, 'eraNarrow');
4236addFormatToken('y', ['y', 1], 'yo', 'eraYear');
4237addFormatToken('y', ['yy', 2], 0, 'eraYear');
4238addFormatToken('y', ['yyy', 3], 0, 'eraYear');
4239addFormatToken('y', ['yyyy', 4], 0, 'eraYear');
4240addRegexToken('N', matchEraAbbr);
4241addRegexToken('NN', matchEraAbbr);
4242addRegexToken('NNN', matchEraAbbr);
4243addRegexToken('NNNN', matchEraName);
4244addRegexToken('NNNNN', matchEraNarrow);
4245addParseToken(
4246['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
4247function (input, array, config, token) {
4248var era = config._locale.erasParse(input, token, config._strict);
4249if (era) {
4250getParsingFlags(config).era = era;
4251} else {
4252getParsingFlags(config).invalidEra = input;
4253}
4254}
4255);
4256addRegexToken('y', matchUnsigned);
4257addRegexToken('yy', matchUnsigned);
4258addRegexToken('yyy', matchUnsigned);
4259addRegexToken('yyyy', matchUnsigned);
4260addRegexToken('yo', matchEraYearOrdinal);
4261addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
4262addParseToken(['yo'], function (input, array, config, token) {
4263var match;
4264if (config._locale._eraYearOrdinalRegex) {
4265match = input.match(config._locale._eraYearOrdinalRegex);
4266}
4267if (config._locale.eraYearOrdinalParse) {
4268array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
4269} else {
4270array[YEAR] = parseInt(input, 10);
4271}
4272});
4273function localeEras(m, format) {
4274var i,
4275l,
4276date,
4277eras = this._eras || getLocale('en')._eras;
4278for (i = 0, l = eras.length; i < l; ++i) {
4279switch (typeof eras[i].since) {
4280case 'string':
4281// truncate time
4282date = hooks(eras[i].since).startOf('day');
4283eras[i].since = date.valueOf();
4284break;
4285}
4286switch (typeof eras[i].until) {
4287case 'undefined':
4288eras[i].until = +Infinity;
4289break;
4290case 'string':
4291// truncate time
4292date = hooks(eras[i].until).startOf('day').valueOf();
4293eras[i].until = date.valueOf();
4294break;
4295}
4296}
4297return eras;
4298}
4299function localeErasParse(eraName, format, strict) {
4300var i,
4301l,
4302eras = this.eras(),
4303name,
4304abbr,
4305narrow;
4306eraName = eraName.toUpperCase();
4307for (i = 0, l = eras.length; i < l; ++i) {
4308name = eras[i].name.toUpperCase();
4309abbr = eras[i].abbr.toUpperCase();
4310narrow = eras[i].narrow.toUpperCase();
4311if (strict) {
4312switch (format) {
4313case 'N':
4314case 'NN':
4315case 'NNN':
4316if (abbr === eraName) {
4317return eras[i];
4318}
4319break;
4320case 'NNNN':
4321if (name === eraName) {
4322return eras[i];
4323}
4324break;
4325case 'NNNNN':
4326if (narrow === eraName) {
4327return eras[i];
4328}
4329break;
4330}
4331} else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
4332return eras[i];
4333}
4334}
4335}
4336function localeErasConvertYear(era, year) {
4337var dir = era.since <= era.until ? +1 : -1;
4338if (year === undefined) {
4339return hooks(era.since).year();
4340} else {
4341return hooks(era.since).year() + (year - era.offset) * dir;
4342}
4343}
4344function getEraName() {
4345var i,
4346l,
4347val,
4348eras = this.localeData().eras();
4349for (i = 0, l = eras.length; i < l; ++i) {
4350// truncate time
4351val = this.clone().startOf('day').valueOf();
4352if (eras[i].since <= val && val <= eras[i].until) {
4353return eras[i].name;
4354}
4355if (eras[i].until <= val && val <= eras[i].since) {
4356return eras[i].name;
4357}
4358}
4359return '';
4360}
4361function getEraNarrow() {
4362var i,
4363l,
4364val,
4365eras = this.localeData().eras();
4366for (i = 0, l = eras.length; i < l; ++i) {
4367// truncate time
4368val = this.clone().startOf('day').valueOf();
4369if (eras[i].since <= val && val <= eras[i].until) {
4370return eras[i].narrow;
4371}
4372if (eras[i].until <= val && val <= eras[i].since) {
4373return eras[i].narrow;
4374}
4375}
4376return '';
4377}
4378function getEraAbbr() {
4379var i,
4380l,
4381val,
4382eras = this.localeData().eras();
4383for (i = 0, l = eras.length; i < l; ++i) {
4384// truncate time
4385val = this.clone().startOf('day').valueOf();
4386if (eras[i].since <= val && val <= eras[i].until) {
4387return eras[i].abbr;
4388}
4389if (eras[i].until <= val && val <= eras[i].since) {
4390return eras[i].abbr;
4391}
4392}
4393return '';
4394}
4395function getEraYear() {
4396var i,
4397l,
4398dir,
4399val,
4400eras = this.localeData().eras();
4401for (i = 0, l = eras.length; i < l; ++i) {
4402dir = eras[i].since <= eras[i].until ? +1 : -1;
4403// truncate time
4404val = this.clone().startOf('day').valueOf();
4405if (
4406(eras[i].since <= val && val <= eras[i].until) ||
4407(eras[i].until <= val && val <= eras[i].since)
4408) {
4409return (
4410(this.year() - hooks(eras[i].since).year()) * dir +
4411eras[i].offset
4412);
4413}
4414}
4415return this.year();
4416}
4417function erasNameRegex(isStrict) {
4418if (!hasOwnProp(this, '_erasNameRegex')) {
4419computeErasParse.call(this);
4420}
4421return isStrict ? this._erasNameRegex : this._erasRegex;
4422}
4423function erasAbbrRegex(isStrict) {
4424if (!hasOwnProp(this, '_erasAbbrRegex')) {
4425computeErasParse.call(this);
4426}
4427return isStrict ? this._erasAbbrRegex : this._erasRegex;
4428}
4429function erasNarrowRegex(isStrict) {
4430if (!hasOwnProp(this, '_erasNarrowRegex')) {
4431computeErasParse.call(this);
4432}
4433return isStrict ? this._erasNarrowRegex : this._erasRegex;
4434}
4435function matchEraAbbr(isStrict, locale) {
4436return locale.erasAbbrRegex(isStrict);
4437}
4438function matchEraName(isStrict, locale) {
4439return locale.erasNameRegex(isStrict);
4440}
4441function matchEraNarrow(isStrict, locale) {
4442return locale.erasNarrowRegex(isStrict);
4443}
4444function matchEraYearOrdinal(isStrict, locale) {
4445return locale._eraYearOrdinalRegex || matchUnsigned;
4446}
4447function computeErasParse() {
4448var abbrPieces = [],
4449namePieces = [],
4450narrowPieces = [],
4451mixedPieces = [],
4452i,
4453l,
4454erasName,
4455erasAbbr,
4456erasNarrow,
4457eras = this.eras();
4458for (i = 0, l = eras.length; i < l; ++i) {
4459erasName = regexEscape(eras[i].name);
4460erasAbbr = regexEscape(eras[i].abbr);
4461erasNarrow = regexEscape(eras[i].narrow);
4462namePieces.push(erasName);
4463abbrPieces.push(erasAbbr);
4464narrowPieces.push(erasNarrow);
4465mixedPieces.push(erasName);
4466mixedPieces.push(erasAbbr);
4467mixedPieces.push(erasNarrow);
4468}
4469this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
4470this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');
4471this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');
4472this._erasNarrowRegex = new RegExp(
4473'^(' + narrowPieces.join('|') + ')',
4474'i'
4475);
4476}
4477// FORMATTING
4478addFormatToken(0, ['gg', 2], 0, function () {
4479return this.weekYear() % 100;
4480});
4481addFormatToken(0, ['GG', 2], 0, function () {
4482return this.isoWeekYear() % 100;
4483});
4484function addWeekYearFormatToken(token, getter) {
4485addFormatToken(0, [token, token.length], 0, getter);
4486}
4487addWeekYearFormatToken('gggg', 'weekYear');
4488addWeekYearFormatToken('ggggg', 'weekYear');
4489addWeekYearFormatToken('GGGG', 'isoWeekYear');
4490addWeekYearFormatToken('GGGGG', 'isoWeekYear');
4491// ALIASES
4492// PARSING
4493addRegexToken('G', matchSigned);
4494addRegexToken('g', matchSigned);
4495addRegexToken('GG', match1to2, match2);
4496addRegexToken('gg', match1to2, match2);
4497addRegexToken('GGGG', match1to4, match4);
4498addRegexToken('gggg', match1to4, match4);
4499addRegexToken('GGGGG', match1to6, match6);
4500addRegexToken('ggggg', match1to6, match6);
4501addWeekParseToken(
4502['gggg', 'ggggg', 'GGGG', 'GGGGG'],
4503function (input, week, config, token) {
4504week[token.substr(0, 2)] = toInt(input);
4505}
4506);
4507addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
4508week[token] = hooks.parseTwoDigitYear(input);
4509});
4510// MOMENTS
4511function getSetWeekYear(input) {
4512return getSetWeekYearHelper.call(
4513this,
4514input,
4515this.week(),
4516this.weekday() + this.localeData()._week.dow,
4517this.localeData()._week.dow,
4518this.localeData()._week.doy
4519);
4520}
4521function getSetISOWeekYear(input) {
4522return getSetWeekYearHelper.call(
4523this,
4524input,
4525this.isoWeek(),
4526this.isoWeekday(),
45271,
45284
4529);
4530}
4531function getISOWeeksInYear() {
4532return weeksInYear(this.year(), 1, 4);
4533}
4534function getISOWeeksInISOWeekYear() {
4535return weeksInYear(this.isoWeekYear(), 1, 4);
4536}
4537function getWeeksInYear() {
4538var weekInfo = this.localeData()._week;
4539return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
4540}
4541function getWeeksInWeekYear() {
4542var weekInfo = this.localeData()._week;
4543return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
4544}
4545function getSetWeekYearHelper(input, week, weekday, dow, doy) {
4546var weeksTarget;
4547if (input == null) {
4548return weekOfYear(this, dow, doy).year;
4549} else {
4550weeksTarget = weeksInYear(input, dow, doy);
4551if (week > weeksTarget) {
4552week = weeksTarget;
4553}
4554return setWeekAll.call(this, input, week, weekday, dow, doy);
4555}
4556}
4557function setWeekAll(weekYear, week, weekday, dow, doy) {
4558var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
4559date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
4560this.year(date.getUTCFullYear());
4561this.month(date.getUTCMonth());
4562this.date(date.getUTCDate());
4563return this;
4564}
4565// FORMATTING
4566addFormatToken('Q', 0, 'Qo', 'quarter');
4567// PARSING
4568addRegexToken('Q', match1);
4569addParseToken('Q', function (input, array) {
4570array[MONTH] = (toInt(input) - 1) * 3;
4571});
4572// MOMENTS
4573function getSetQuarter(input) {
4574return input == null
4575? Math.ceil((this.month() + 1) / 3)
4576: this.month((input - 1) * 3 + (this.month() % 3));
4577}
4578// FORMATTING
4579addFormatToken('D', ['DD', 2], 'Do', 'date');
4580// PARSING
4581addRegexToken('D', match1to2, match1to2NoLeadingZero);
4582addRegexToken('DD', match1to2, match2);
4583addRegexToken('Do', function (isStrict, locale) {
4584// TODO: Remove "ordinalParse" fallback in next major release.
4585return isStrict
4586? locale._dayOfMonthOrdinalParse || locale._ordinalParse
4587: locale._dayOfMonthOrdinalParseLenient;
4588});
4589addParseToken(['D', 'DD'], DATE);
4590addParseToken('Do', function (input, array) {
4591array[DATE] = toInt(input.match(match1to2)[0]);
4592});
4593// MOMENTS
4594var getSetDayOfMonth = makeGetSet('Date', true);
4595// FORMATTING
4596addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
4597// PARSING
4598addRegexToken('DDD', match1to3);
4599addRegexToken('DDDD', match3);
4600addParseToken(['DDD', 'DDDD'], function (input, array, config) {
4601config._dayOfYear = toInt(input);
4602});
4603// HELPERS
4604// MOMENTS
4605function getSetDayOfYear(input) {
4606var dayOfYear =
4607Math.round(
4608(this.clone().startOf('day') - this.clone().startOf('year')) / 864e5
4609) + 1;
4610return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
4611}
4612// FORMATTING
4613addFormatToken('m', ['mm', 2], 0, 'minute');
4614// PARSING
4615addRegexToken('m', match1to2, match1to2HasZero);
4616addRegexToken('mm', match1to2, match2);
4617addParseToken(['m', 'mm'], MINUTE);
4618// MOMENTS
4619var getSetMinute = makeGetSet('Minutes', false);
4620// FORMATTING
4621addFormatToken('s', ['ss', 2], 0, 'second');
4622// PARSING
4623addRegexToken('s', match1to2, match1to2HasZero);
4624addRegexToken('ss', match1to2, match2);
4625addParseToken(['s', 'ss'], SECOND);
4626// MOMENTS
4627var getSetSecond = makeGetSet('Seconds', false);
4628// FORMATTING
4629addFormatToken('S', 0, 0, function () {
4630return ~~(this.millisecond() / 100);
4631});
4632addFormatToken(0, ['SS', 2], 0, function () {
4633return ~~(this.millisecond() / 10);
4634});
4635addFormatToken(0, ['SSS', 3], 0, 'millisecond');
4636addFormatToken(0, ['SSSS', 4], 0, function () {
4637return this.millisecond() * 10;
4638});
4639addFormatToken(0, ['SSSSS', 5], 0, function () {
4640return this.millisecond() * 100;
4641});
4642addFormatToken(0, ['SSSSSS', 6], 0, function () {
4643return this.millisecond() * 1000;
4644});
4645addFormatToken(0, ['SSSSSSS', 7], 0, function () {
4646return this.millisecond() * 10000;
4647});
4648addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
4649return this.millisecond() * 100000;
4650});
4651addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
4652return this.millisecond() * 1000000;
4653});
4654// PARSING
4655addRegexToken('S', match1to3, match1);
4656addRegexToken('SS', match1to3, match2);
4657addRegexToken('SSS', match1to3, match3);
4658var token, getSetMillisecond;
4659for (token = 'SSSS'; token.length <= 9; token += 'S') {
4660addRegexToken(token, matchUnsigned);
4661}
4662function parseMs(input, array) {
4663array[MILLISECOND] = toInt(('0.' + input) * 1000);
4664}
4665for (token = 'S'; token.length <= 9; token += 'S') {
4666addParseToken(token, parseMs);
4667}
4668getSetMillisecond = makeGetSet('Milliseconds', false);
4669// FORMATTING
4670addFormatToken('z', 0, 0, 'zoneAbbr');
4671addFormatToken('zz', 0, 0, 'zoneName');
4672// MOMENTS
4673function getZoneAbbr() {
4674return this._isUTC ? 'UTC' : '';
4675}
4676function getZoneName() {
4677return this._isUTC ? 'Coordinated Universal Time' : '';
4678}
4679var proto = Moment.prototype;
4680proto.add = add;
4681proto.calendar = calendar$1;
4682proto.clone = clone;
4683proto.diff = diff;
4684proto.endOf = endOf;
4685proto.format = format;
4686proto.from = from;
4687proto.fromNow = fromNow;
4688proto.to = to;
4689proto.toNow = toNow;
4690proto.get = stringGet;
4691proto.invalidAt = invalidAt;
4692proto.isAfter = isAfter;
4693proto.isBefore = isBefore;
4694proto.isBetween = isBetween;
4695proto.isSame = isSame;
4696proto.isSameOrAfter = isSameOrAfter;
4697proto.isSameOrBefore = isSameOrBefore;
4698proto.isValid = isValid$2;
4699proto.lang = lang;
4700proto.locale = locale;
4701proto.localeData = localeData;
4702proto.max = prototypeMax;
4703proto.min = prototypeMin;
4704proto.parsingFlags = parsingFlags;
4705proto.set = stringSet;
4706proto.startOf = startOf;
4707proto.subtract = subtract;
4708proto.toArray = toArray;
4709proto.toObject = toObject;
4710proto.toDate = toDate;
4711proto.toISOString = toISOString;
4712proto.inspect = inspect;
4713if (typeof Symbol !== 'undefined' && Symbol.for != null) {
4714proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
4715return 'Moment<' + this.format() + '>';
4716};
4717}
4718proto.toJSON = toJSON;
4719proto.toString = toString;
4720proto.unix = unix;
4721proto.valueOf = valueOf;
4722proto.creationData = creationData;
4723proto.eraName = getEraName;
vendor: 4,193 bytes, lines 4724-4862
4724proto.eraNarrow = getEraNarrow;
4725proto.eraAbbr = getEraAbbr;
4726proto.eraYear = getEraYear;
4727proto.year = getSetYear;
4728proto.isLeapYear = getIsLeapYear;
4729proto.weekYear = getSetWeekYear;
4730proto.isoWeekYear = getSetISOWeekYear;
4731proto.quarter = proto.quarters = getSetQuarter;
4732proto.month = getSetMonth;
4733proto.daysInMonth = getDaysInMonth;
4734proto.week = proto.weeks = getSetWeek;
4735proto.isoWeek = proto.isoWeeks = getSetISOWeek;
4736proto.weeksInYear = getWeeksInYear;
4737proto.weeksInWeekYear = getWeeksInWeekYear;
4738proto.isoWeeksInYear = getISOWeeksInYear;
4739proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
4740proto.date = getSetDayOfMonth;
4741proto.day = proto.days = getSetDayOfWeek;
4742proto.weekday = getSetLocaleDayOfWeek;
4743proto.isoWeekday = getSetISODayOfWeek;
4744proto.dayOfYear = getSetDayOfYear;
4745proto.hour = proto.hours = getSetHour;
4746proto.minute = proto.minutes = getSetMinute;
4747proto.second = proto.seconds = getSetSecond;
4748proto.millisecond = proto.milliseconds = getSetMillisecond;
4749proto.utcOffset = getSetOffset;
4750proto.utc = setOffsetToUTC;
4751proto.local = setOffsetToLocal;
4752proto.parseZone = setOffsetToParsedOffset;
4753proto.hasAlignedHourOffset = hasAlignedHourOffset;
4754proto.isDST = isDaylightSavingTime;
4755proto.isLocal = isLocal;
4756proto.isUtcOffset = isUtcOffset;
4757proto.isUtc = isUtc;
4758proto.isUTC = isUtc;
4759proto.zoneAbbr = getZoneAbbr;
4760proto.zoneName = getZoneName;
4761proto.dates = deprecate(
4762'dates accessor is deprecated. Use date instead.',
4763getSetDayOfMonth
4764);
4765proto.months = deprecate(
4766'months accessor is deprecated. Use month instead',
4767getSetMonth
4768);
4769proto.years = deprecate(
4770'years accessor is deprecated. Use year instead',
4771getSetYear
4772);
4773proto.zone = deprecate(
4774'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',
4775getSetZone
4776);
4777proto.isDSTShifted = deprecate(
4778'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',
4779isDaylightSavingTimeShifted
4780);
4781function createUnix(input) {
4782return createLocal(input * 1000);
4783}
4784function createInZone() {
4785return createLocal.apply(null, arguments).parseZone();
4786}
4787function preParsePostFormat(string) {
4788return string;
4789}
4790var proto$1 = Locale.prototype;
4791proto$1.calendar = calendar;
4792proto$1.longDateFormat = longDateFormat;
4793proto$1.invalidDate = invalidDate;
4794proto$1.ordinal = ordinal;
4795proto$1.preparse = preParsePostFormat;
4796proto$1.postformat = preParsePostFormat;
4797proto$1.relativeTime = relativeTime;
4798proto$1.pastFuture = pastFuture;
4799proto$1.set = set;
4800proto$1.eras = localeEras;
4801proto$1.erasParse = localeErasParse;
4802proto$1.erasConvertYear = localeErasConvertYear;
4803proto$1.erasAbbrRegex = erasAbbrRegex;
4804proto$1.erasNameRegex = erasNameRegex;
4805proto$1.erasNarrowRegex = erasNarrowRegex;
4806proto$1.months = localeMonths;
4807proto$1.monthsShort = localeMonthsShort;
4808proto$1.monthsParse = localeMonthsParse;
4809proto$1.monthsRegex = monthsRegex;
4810proto$1.monthsShortRegex = monthsShortRegex;
4811proto$1.week = localeWeek;
4812proto$1.firstDayOfYear = localeFirstDayOfYear;
4813proto$1.firstDayOfWeek = localeFirstDayOfWeek;
4814proto$1.weekdays = localeWeekdays;
4815proto$1.weekdaysMin = localeWeekdaysMin;
4816proto$1.weekdaysShort = localeWeekdaysShort;
4817proto$1.weekdaysParse = localeWeekdaysParse;
4818proto$1.weekdaysRegex = weekdaysRegex;
4819proto$1.weekdaysShortRegex = weekdaysShortRegex;
4820proto$1.weekdaysMinRegex = weekdaysMinRegex;
4821proto$1.isPM = localeIsPM;
4822proto$1.meridiem = localeMeridiem;
4823function get$1(format, index, field, setter) {
4824var locale = getLocale(),
4825utc = createUTC().set(setter, index);
4826return locale[field](utc, format);
4827}
4828function listMonthsImpl(format, index, field) {
4829if (isNumber(format)) {
4830index = format;
4831format = undefined;
4832}
4833format = format || '';
4834if (index != null) {
4835return get$1(format, index, field, 'month');
4836}
4837var i,
4838out = [];
4839for (i = 0; i < 12; i++) {
4840out[i] = get$1(format, i, field, 'month');
4841}
4842return out;
4843}
4844// ()
4845// (5)
4846// (fmt, 5)
4847// (fmt)
4848// (true)
4849// (true, 5)
4850// (true, fmt, 5)
4851// (true, fmt)
4852function listWeekdaysImpl(localeSorted, format, index, field) {
4853if (typeof localeSorted === 'boolean') {
4854if (isNumber(format)) {
4855index = format;
4856format = undefined;
4857}
4858format = format || '';
4859} else {
4860format = localeSorted;
4861index = format;
4862localeSorted = false;
vendor: 6,035 bytes, lines 4863-5106
4863if (isNumber(format)) {
4864index = format;
4865format = undefined;
4866}
4867format = format || '';
4868}
4869var locale = getLocale(),
4870shift = localeSorted ? locale._week.dow : 0,
4871i,
4872out = [];
4873if (index != null) {
4874return get$1(format, (index + shift) % 7, field, 'day');
4875}
4876for (i = 0; i < 7; i++) {
4877out[i] = get$1(format, (i + shift) % 7, field, 'day');
4878}
4879return out;
4880}
4881function listMonths(format, index) {
4882return listMonthsImpl(format, index, 'months');
4883}
4884function listMonthsShort(format, index) {
4885return listMonthsImpl(format, index, 'monthsShort');
4886}
4887function listWeekdays(localeSorted, format, index) {
4888return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
4889}
4890function listWeekdaysShort(localeSorted, format, index) {
4891return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
4892}
4893function listWeekdaysMin(localeSorted, format, index) {
4894return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
4895}
4896getSetGlobalLocale('en', {
4897eras: [
4898{
4899since: '0001-01-01',
4900until: +Infinity,
4901offset: 1,
4902name: 'Anno Domini',
4903narrow: 'AD',
4904abbr: 'AD',
4905},
4906{
4907since: '0000-12-31',
4908until: -Infinity,
4909offset: 1,
4910name: 'Before Christ',
4911narrow: 'BC',
4912abbr: 'BC',
4913},
4914],
4915dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
4916ordinal: function (number) {
4917var b = number % 10,
4918output =
4919toInt((number % 100) / 10) === 1
4920? 'th'
4921: b === 1
4922? 'st'
4923: b === 2
4924? 'nd'
4925: b === 3
4926? 'rd'
4927: 'th';
4928return number + output;
4929},
4930});
4931// Side effect imports
4932hooks.lang = deprecate(
4933'moment.lang is deprecated. Use moment.locale instead.',
4934getSetGlobalLocale
4935);
4936hooks.langData = deprecate(
4937'moment.langData is deprecated. Use moment.localeData instead.',
4938getLocale
4939);
4940var mathAbs = Math.abs;
4941function abs() {
4942var data = this._data;
4943this._milliseconds = mathAbs(this._milliseconds);
4944this._days = mathAbs(this._days);
4945this._months = mathAbs(this._months);
4946data.milliseconds = mathAbs(data.milliseconds);
4947data.seconds = mathAbs(data.seconds);
4948data.minutes = mathAbs(data.minutes);
4949data.hours = mathAbs(data.hours);
4950data.months = mathAbs(data.months);
4951data.years = mathAbs(data.years);
4952return this;
4953}
4954function addSubtract$1(duration, input, value, direction) {
4955var other = createDuration(input, value);
4956duration._milliseconds += direction * other._milliseconds;
4957duration._days += direction * other._days;
4958duration._months += direction * other._months;
4959return duration._bubble();
4960}
4961// supports only 2.0-style add(1, 's') or add(duration)
4962function add$1(input, value) {
4963return addSubtract$1(this, input, value, 1);
4964}
4965// supports only 2.0-style subtract(1, 's') or subtract(duration)
4966function subtract$1(input, value) {
4967return addSubtract$1(this, input, value, -1);
4968}
4969function absCeil(number) {
4970if (number < 0) {
4971return Math.floor(number);
4972} else {
4973return Math.ceil(number);
4974}
4975}
4976function bubble() {
4977var milliseconds = this._milliseconds,
4978days = this._days,
4979months = this._months,
4980data = this._data,
4981seconds,
4982minutes,
4983hours,
4984years,
4985monthsFromDays;
4986// if we have a mix of positive and negative values, bubble down first
4987// check: https://github.com/moment/moment/issues/2166
4988if (
4989!(
4990(milliseconds >= 0 && days >= 0 && months >= 0) ||
4991(milliseconds <= 0 && days <= 0 && months <= 0)
4992)
4993) {
4994milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
4995days = 0;
4996months = 0;
4997}
4998// The following code bubbles up values, see the tests for
4999// examples of what that means.
5000data.milliseconds = milliseconds % 1000;
5001seconds = absFloor(milliseconds / 1000);
5002data.seconds = seconds % 60;
5003minutes = absFloor(seconds / 60);
5004data.minutes = minutes % 60;
5005hours = absFloor(minutes / 60);
5006data.hours = hours % 24;
5007days += absFloor(hours / 24);
5008// convert days to months
5009monthsFromDays = absFloor(daysToMonths(days));
5010months += monthsFromDays;
5011days -= absCeil(monthsToDays(monthsFromDays));
5012// 12 months -> 1 year
5013years = absFloor(months / 12);
5014months %= 12;
5015data.days = days;
5016data.months = months;
5017data.years = years;
5018return this;
5019}
5020function daysToMonths(days) {
5021// 400 years have 146097 days (taking into account leap year rules)
5022// 400 years have 12 months === 4800
5023return (days * 4800) / 146097;
5024}
5025function monthsToDays(months) {
5026// the reverse of daysToMonths
5027return (months * 146097) / 4800;
5028}
5029function as(units) {
5030if (!this.isValid()) {
5031return NaN;
5032}
5033var days,
5034months,
5035milliseconds = this._milliseconds;
5036units = normalizeUnits(units);
5037if (units === 'month' || units === 'quarter' || units === 'year') {
5038days = this._days + milliseconds / 864e5;
5039months = this._months + daysToMonths(days);
5040switch (units) {
5041case 'month':
5042return months;
5043case 'quarter':
5044return months / 3;
5045case 'year':
5046return months / 12;
5047}
5048} else {
5049// handle milliseconds separately because of floating point math errors (issue #1867)
5050days = this._days + Math.round(monthsToDays(this._months));
5051switch (units) {
5052case 'week':
5053return days / 7 + milliseconds / 6048e5;
5054case 'day':
5055return days + milliseconds / 864e5;
5056case 'hour':
5057return days * 24 + milliseconds / 36e5;
5058case 'minute':
5059return days * 1440 + milliseconds / 6e4;
5060case 'second':
5061return days * 86400 + milliseconds / 1000;
5062// Math.floor prevents floating point math errors here
5063case 'millisecond':
5064return Math.floor(days * 864e5) + milliseconds;
5065default:
5066throw new Error('Unknown unit ' + units);
5067}
5068}
5069}
5070function makeAs(alias) {
5071return function () {
5072return this.as(alias);
5073};
5074}
5075var asMilliseconds = makeAs('ms'),
5076asSeconds = makeAs('s'),
5077asMinutes = makeAs('m'),
5078asHours = makeAs('h'),
5079asDays = makeAs('d'),
5080asWeeks = makeAs('w'),
5081asMonths = makeAs('M'),
5082asQuarters = makeAs('Q'),
5083asYears = makeAs('y'),
5084valueOf$1 = asMilliseconds;
5085function clone$1() {
5086return createDuration(this);
5087}
5088function get$2(units) {
5089units = normalizeUnits(units);
5090return this.isValid() ? this[units + 's']() : NaN;
5091}
5092function makeGetter(name) {
5093return function () {
5094return this.isValid() ? this._data[name] : NaN;
5095};
5096}
5097var milliseconds = makeGetter('milliseconds'),
5098seconds = makeGetter('seconds'),
5099minutes = makeGetter('minutes'),
5100hours = makeGetter('hours'),
5101days = makeGetter('days'),
5102months = makeGetter('months'),
5103years = makeGetter('years');
5104function weeks() {
5105return absFloor(this.days() / 7);
5106}
vendor: 5,801 bytes, lines 5107-5308
5107var round = Math.round,
5108thresholds = {
5109ss: 44, // a few seconds to seconds
5110s: 45, // seconds to minute
5111m: 45, // minutes to hour
5112h: 22, // hours to day
5113d: 26, // days to month/week
5114w: null, // weeks to month
5115M: 11, // months to year
5116};
5117// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
5118function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
5119return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
5120}
5121function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
5122var duration = createDuration(posNegDuration).abs(),
5123seconds = round(duration.as('s')),
5124minutes = round(duration.as('m')),
5125hours = round(duration.as('h')),
5126days = round(duration.as('d')),
5127months = round(duration.as('M')),
5128weeks = round(duration.as('w')),
5129years = round(duration.as('y')),
5130a =
5131(seconds <= thresholds.ss && ['s', seconds]) ||
5132(seconds < thresholds.s && ['ss', seconds]) ||
5133(minutes <= 1 && ['m']) ||
5134(minutes < thresholds.m && ['mm', minutes]) ||
5135(hours <= 1 && ['h']) ||
5136(hours < thresholds.h && ['hh', hours]) ||
5137(days <= 1 && ['d']) ||
5138(days < thresholds.d && ['dd', days]);
5139if (thresholds.w != null) {
5140a =
5141a ||
5142(weeks <= 1 && ['w']) ||
5143(weeks < thresholds.w && ['ww', weeks]);
5144}
5145a = a ||
5146(months <= 1 && ['M']) ||
5147(months < thresholds.M && ['MM', months]) ||
5148(years <= 1 && ['y']) || ['yy', years];
5149a[2] = withoutSuffix;
5150a[3] = +posNegDuration > 0;
5151a[4] = locale;
5152return substituteTimeAgo.apply(null, a);
5153}
5154// This function allows you to set the rounding function for relative time strings
5155function getSetRelativeTimeRounding(roundingFunction) {
5156if (roundingFunction === undefined) {
5157return round;
5158}
5159if (typeof roundingFunction === 'function') {
5160round = roundingFunction;
5161return true;
5162}
5163return false;
5164}
5165// This function allows you to set a threshold for relative time strings
5166function getSetRelativeTimeThreshold(threshold, limit) {
5167if (thresholds[threshold] === undefined) {
5168return false;
5169}
5170if (limit === undefined) {
5171return thresholds[threshold];
5172}
5173thresholds[threshold] = limit;
5174if (threshold === 's') {
5175thresholds.ss = limit - 1;
5176}
5177return true;
5178}
5179function humanize(argWithSuffix, argThresholds) {
5180if (!this.isValid()) {
5181return this.localeData().invalidDate();
5182}
5183var withSuffix = false,
5184th = thresholds,
5185locale,
5186output;
5187if (typeof argWithSuffix === 'object') {
5188argThresholds = argWithSuffix;
5189argWithSuffix = false;
5190}
5191if (typeof argWithSuffix === 'boolean') {
5192withSuffix = argWithSuffix;
5193}
5194if (typeof argThresholds === 'object') {
5195th = Object.assign({}, thresholds, argThresholds);
5196if (argThresholds.s != null && argThresholds.ss == null) {
5197th.ss = argThresholds.s - 1;
5198}
5199}
5200locale = this.localeData();
5201output = relativeTime$1(this, !withSuffix, th, locale);
5202if (withSuffix) {
5203output = locale.pastFuture(+this, output);
5204}
5205return locale.postformat(output);
5206}
5207var abs$1 = Math.abs;
5208function sign(x) {
5209return (x > 0) - (x < 0) || +x;
5210}
5211function toISOString$1() {
5212// for ISO strings we do not use the normal bubbling rules:
5213//  * milliseconds bubble up until they become hours
5214//  * days do not bubble at all
5215//  * months bubble up until they become years
5216// This is because there is no context-free conversion between hours and days
5217// (think of clock changes)
5218// and also not between days and months (28-31 days per month)
5219if (!this.isValid()) {
5220return this.localeData().invalidDate();
5221}
5222var seconds = abs$1(this._milliseconds) / 1000,
5223days = abs$1(this._days),
5224months = abs$1(this._months),
5225minutes,
5226hours,
5227years,
5228s,
5229total = this.asSeconds(),
5230totalSign,
5231ymSign,
5232daysSign,
5233hmsSign;
5234if (!total) {
5235// this is the same as C#'s (Noda) and python (isodate)...
5236// but not other JS (goog.date)
5237return 'P0D';
5238}
5239// 3600 seconds -> 60 minutes -> 1 hour
5240minutes = absFloor(seconds / 60);
5241hours = absFloor(minutes / 60);
5242seconds %= 60;
5243minutes %= 60;
5244// 12 months -> 1 year
5245years = absFloor(months / 12);
5246months %= 12;
5247// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
5248s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';
5249totalSign = total < 0 ? '-' : '';
5250ymSign = sign(this._months) !== sign(total) ? '-' : '';
5251daysSign = sign(this._days) !== sign(total) ? '-' : '';
5252hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';
5253return (
5254totalSign +
5255'P' +
5256(years ? ymSign + years + 'Y' : '') +
5257(months ? ymSign + months + 'M' : '') +
5258(days ? daysSign + days + 'D' : '') +
5259(hours || minutes || seconds ? 'T' : '') +
5260(hours ? hmsSign + hours + 'H' : '') +
5261(minutes ? hmsSign + minutes + 'M' : '') +
5262(seconds ? hmsSign + s + 'S' : '')
5263);
5264}
5265var proto$2 = Duration.prototype;
5266proto$2.isValid = isValid$1;
5267proto$2.abs = abs;
5268proto$2.add = add$1;
5269proto$2.subtract = subtract$1;
5270proto$2.as = as;
5271proto$2.asMilliseconds = asMilliseconds;
5272proto$2.asSeconds = asSeconds;
5273proto$2.asMinutes = asMinutes;
5274proto$2.asHours = asHours;
5275proto$2.asDays = asDays;
5276proto$2.asWeeks = asWeeks;
5277proto$2.asMonths = asMonths;
5278proto$2.asQuarters = asQuarters;
5279proto$2.asYears = asYears;
5280proto$2.valueOf = valueOf$1;
5281proto$2._bubble = bubble;
5282proto$2.clone = clone$1;
5283proto$2.get = get$2;
5284proto$2.milliseconds = milliseconds;
5285proto$2.seconds = seconds;
5286proto$2.minutes = minutes;
5287proto$2.hours = hours;
5288proto$2.days = days;
5289proto$2.weeks = weeks;
5290proto$2.months = months;
5291proto$2.years = years;
5292proto$2.humanize = humanize;
5293proto$2.toISOString = toISOString$1;
5294proto$2.toString = toISOString$1;
5295proto$2.toJSON = toISOString$1;
5296proto$2.locale = locale;
5297proto$2.localeData = localeData;
5298proto$2.toIsoString = deprecate(
5299'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',
5300toISOString$1
5301);
5302proto$2.lang = lang;
5303// FORMATTING
5304addFormatToken('X', 0, 0, 'unix');
5305addFormatToken('x', 0, 0, 'valueOf');
5306// PARSING
5307addRegexToken('x', matchSigned);
5308addRegexToken('X', matchTimestamp);
5309addParseToken('X', function (input, array, config) {
5310config._d = new Date(parseFloat(input) * 1000);
5311});
5312addParseToken('x', function (input, array, config) {
5313config._d = new Date(toInt(input));
5314});
5315//! moment.js
5316hooks.version = '2.30.1';
5317setHookCallback(createLocal);
5318hooks.fn = proto;
5319hooks.min = min;
5320hooks.max = max;
5321hooks.now = now;
5322hooks.utc = createUTC;
5323hooks.unix = createUnix;
5324hooks.months = listMonths;
5325hooks.isDate = isDate;
5326hooks.locale = getSetGlobalLocale;
5327hooks.invalid = createInvalid;
5328hooks.duration = createDuration;
5329hooks.isMoment = isMoment;
5330hooks.weekdays = listWeekdays;
5331hooks.parseZone = createInZone;
5332hooks.localeData = getLocale;
5333hooks.isDuration = isDuration;
5334hooks.monthsShort = listMonthsShort;
5335hooks.weekdaysMin = listWeekdaysMin;
5336hooks.defineLocale = defineLocale;
5337hooks.updateLocale = updateLocale;
5338hooks.locales = listLocales;
5339hooks.weekdaysShort = listWeekdaysShort;
5340hooks.normalizeUnits = normalizeUnits;
5341hooks.relativeTimeRounding = getSetRelativeTimeRounding;
5342hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
5343hooks.calendarFormat = getCalendarFormat;
5344hooks.prototype = proto;
5345// currently HTML5 input type only supports 24-hour formats
5346hooks.HTML5_FMT = {
5347DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" />
5348DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" />
5349DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" />
5350DATE: 'YYYY-MM-DD', // <input type="date" />
5351TIME: 'HH:mm', // <input type="time" />
5352TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" />
5353TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" />
5354WEEK: 'GGGG-[W]WW', // <input type="week" />
5355MONTH: 'YYYY-MM', // <input type="month" />
5356};
5357return hooks;
5358})));
5359;
5360//! moment-timezone.js
5361//! version : 0.5.45
5362//! Copyright (c) JS Foundation and other contributors
5363//! license : MIT
5364//! github.com/moment/moment-timezone
5365(function (root, factory) {
5366"use strict";
5367/*global define*/
5368if (typeof module === 'object' && module.exports) {
5369module.exports = factory(require('moment')); // Node
5370} else if (typeof define === 'function' && define.amd) {
5371define(['moment'], factory);                 // AMD
5372} else {
5373factory(root.moment);                        // Browser
5374}
5375}(this, function (moment) {
5376"use strict";
vendor: 16,380 bytes, lines 5377-5973
5377// Resolves es6 module loading issue
5378if (moment.version === undefined && moment.default) {
5379moment = moment.default;
5380}
5381// Do not load moment-timezone a second time.
5382// if (moment.tz !== undefined) {
5383//  logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
5384//  return moment;
5385// }
5386var VERSION = "0.5.45",
5387zones = {},
5388links = {},
5389countries = {},
5390names = {},
5391guesses = {},
5392cachedGuess;
5393if (!moment || typeof moment.version !== 'string') {
5394logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');
5395}
5396var momentVersion = moment.version.split('.'),
5397major = +momentVersion[0],
5398minor = +momentVersion[1];
5399// Moment.js version check
5400if (major < 2 || (major === 2 && minor < 6)) {
5401logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');
5402}
5403/************************************
5404Unpacking
5405************************************/
5406function charCodeToInt(charCode) {
5407if (charCode > 96) {
5408return charCode - 87;
5409} else if (charCode > 64) {
5410return charCode - 29;
5411}
5412return charCode - 48;
5413}
5414function unpackBase60(string) {
5415var i = 0,
5416parts = string.split('.'),
5417whole = parts[0],
5418fractional = parts[1] || '',
5419multiplier = 1,
5420num,
5421out = 0,
5422sign = 1;
5423// handle negative numbers
5424if (string.charCodeAt(0) === 45) {
5425i = 1;
5426sign = -1;
5427}
5428// handle digits before the decimal
5429for (i; i < whole.length; i++) {
5430num = charCodeToInt(whole.charCodeAt(i));
5431out = 60 * out + num;
5432}
5433// handle digits after the decimal
5434for (i = 0; i < fractional.length; i++) {
5435multiplier = multiplier / 60;
5436num = charCodeToInt(fractional.charCodeAt(i));
5437out += num * multiplier;
5438}
5439return out * sign;
5440}
5441function arrayToInt (array) {
5442for (var i = 0; i < array.length; i++) {
5443array[i] = unpackBase60(array[i]);
5444}
5445}
5446function intToUntil (array, length) {
5447for (var i = 0; i < length; i++) {
5448array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds
5449}
5450array[length - 1] = Infinity;
5451}
5452function mapIndices (source, indices) {
5453var out = [], i;
5454for (i = 0; i < indices.length; i++) {
5455out[i] = source[indices[i]];
5456}
5457return out;
5458}
5459function unpack (string) {
5460var data = string.split('|'),
5461offsets = data[2].split(' '),
5462indices = data[3].split(''),
5463untils  = data[4].split(' ');
5464arrayToInt(offsets);
5465arrayToInt(indices);
5466arrayToInt(untils);
5467intToUntil(untils, indices.length);
5468return {
5469name       : data[0],
5470abbrs      : mapIndices(data[1].split(' '), indices),
5471offsets    : mapIndices(offsets, indices),
5472untils     : untils,
5473population : data[5] | 0
5474};
5475}
5476/************************************
5477Zone object
5478************************************/
5479function Zone (packedString) {
5480if (packedString) {
5481this._set(unpack(packedString));
5482}
5483}
5484function closest (num, arr) {
5485var len = arr.length;
5486if (num < arr[0]) {
5487return 0;
5488} else if (len > 1 && arr[len - 1] === Infinity && num >= arr[len - 2]) {
5489return len - 1;
5490} else if (num >= arr[len - 1]) {
5491return -1;
5492}
5493var mid;
5494var lo = 0;
5495var hi = len - 1;
5496while (hi - lo > 1) {
5497mid = Math.floor((lo + hi) / 2);
5498if (arr[mid] <= num) {
5499lo = mid;
5500} else {
5501hi = mid;
5502}
5503}
5504return hi;
5505}
5506Zone.prototype = {
5507_set : function (unpacked) {
5508this.name       = unpacked.name;
5509this.abbrs      = unpacked.abbrs;
5510this.untils     = unpacked.untils;
5511this.offsets    = unpacked.offsets;
5512this.population = unpacked.population;
5513},
5514_index : function (timestamp) {
5515var target = +timestamp,
5516untils = this.untils,
5517i;
5518i = closest(target, untils);
5519if (i >= 0) {
5520return i;
5521}
5522},
5523countries : function () {
5524var zone_name = this.name;
5525return Object.keys(countries).filter(function (country_code) {
5526return countries[country_code].zones.indexOf(zone_name) !== -1;
5527});
5528},
5529parse : function (timestamp) {
5530var target  = +timestamp,
5531offsets = this.offsets,
5532untils  = this.untils,
5533max     = untils.length - 1,
5534offset, offsetNext, offsetPrev, i;
5535for (i = 0; i < max; i++) {
5536offset     = offsets[i];
5537offsetNext = offsets[i + 1];
5538offsetPrev = offsets[i ? i - 1 : i];
5539if (offset < offsetNext && tz.moveAmbiguousForward) {
5540offset = offsetNext;
5541} else if (offset > offsetPrev && tz.moveInvalidForward) {
5542offset = offsetPrev;
5543}
5544if (target < untils[i] - (offset * 60000)) {
5545return offsets[i];
5546}
5547}
5548return offsets[max];
5549},
5550abbr : function (mom) {
5551return this.abbrs[this._index(mom)];
5552},
5553offset : function (mom) {
5554logError("zone.offset has been deprecated in favor of zone.utcOffset");
5555return this.offsets[this._index(mom)];
5556},
5557utcOffset : function (mom) {
5558return this.offsets[this._index(mom)];
5559}
5560};
5561/************************************
5562Country object
5563************************************/
5564function Country (country_name, zone_names) {
5565this.name = country_name;
5566this.zones = zone_names;
5567}
5568/************************************
5569Current Timezone
5570************************************/
5571function OffsetAt(at) {
5572var timeString = at.toTimeString();
5573var abbr = timeString.match(/\([a-z ]+\)/i);
5574if (abbr && abbr[0]) {
5575// 17:56:31 GMT-0600 (CST)
5576// 17:56:31 GMT-0600 (Central Standard Time)
5577abbr = abbr[0].match(/[A-Z]/g);
5578abbr = abbr ? abbr.join('') : undefined;
5579} else {
5580// 17:56:31 CST
5581// 17:56:31 GMT+0800 (台北標準時間)
5582abbr = timeString.match(/[A-Z]{3,5}/g);
5583abbr = abbr ? abbr[0] : undefined;
5584}
5585if (abbr === 'GMT') {
5586abbr = undefined;
5587}
5588this.at = +at;
5589this.abbr = abbr;
5590this.offset = at.getTimezoneOffset();
5591}
5592function ZoneScore(zone) {
5593this.zone = zone;
5594this.offsetScore = 0;
5595this.abbrScore = 0;
5596}
5597ZoneScore.prototype.scoreOffsetAt = function (offsetAt) {
5598this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);
5599if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {
5600this.abbrScore++;
5601}
5602};
5603function findChange(low, high) {
5604var mid, diff;
5605while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {
5606mid = new OffsetAt(new Date(low.at + diff));
5607if (mid.offset === low.offset) {
5608low = mid;
5609} else {
5610high = mid;
5611}
5612}
5613return low;
5614}
5615function userOffsets() {
5616var startYear = new Date().getFullYear() - 2,
5617last = new OffsetAt(new Date(startYear, 0, 1)),
5618lastOffset = last.offset,
5619offsets = [last],
5620change, next, nextOffset, i;
5621for (i = 1; i < 48; i++) {
5622nextOffset = new Date(startYear, i, 1).getTimezoneOffset();
5623if (nextOffset !== lastOffset) {
5624// Create OffsetAt here to avoid unnecessary abbr parsing before checking offsets
5625next = new OffsetAt(new Date(startYear, i, 1));
5626change = findChange(last, next);
5627offsets.push(change);
5628offsets.push(new OffsetAt(new Date(change.at + 6e4)));
5629last = next;
5630lastOffset = nextOffset;
5631}
5632}
5633for (i = 0; i < 4; i++) {
5634offsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));
5635offsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));
5636}
5637return offsets;
5638}
5639function sortZoneScores (a, b) {
5640if (a.offsetScore !== b.offsetScore) {
5641return a.offsetScore - b.offsetScore;
5642}
5643if (a.abbrScore !== b.abbrScore) {
5644return a.abbrScore - b.abbrScore;
5645}
5646if (a.zone.population !== b.zone.population) {
5647return b.zone.population - a.zone.population;
5648}
5649return b.zone.name.localeCompare(a.zone.name);
5650}
5651function addToGuesses (name, offsets) {
5652var i, offset;
5653arrayToInt(offsets);
5654for (i = 0; i < offsets.length; i++) {
5655offset = offsets[i];
5656guesses[offset] = guesses[offset] || {};
5657guesses[offset][name] = true;
5658}
5659}
5660function guessesForUserOffsets (offsets) {
5661var offsetsLength = offsets.length,
5662filteredGuesses = {},
5663out = [],
5664checkedOffsets = {},
5665i, j, offset, guessesOffset;
5666for (i = 0; i < offsetsLength; i++) {
5667offset = offsets[i].offset;
5668if (checkedOffsets.hasOwnProperty(offset)) {
5669continue;
5670}
5671guessesOffset = guesses[offset] || {};
5672for (j in guessesOffset) {
5673if (guessesOffset.hasOwnProperty(j)) {
5674filteredGuesses[j] = true;
5675}
5676}
5677checkedOffsets[offset] = true;
5678}
5679for (i in filteredGuesses) {
5680if (filteredGuesses.hasOwnProperty(i)) {
5681out.push(names[i]);
5682}
5683}
5684return out;
5685}
5686function rebuildGuess () {
5687// use Intl API when available and returning valid time zone
5688try {
5689var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;
5690if (intlName && intlName.length > 3) {
5691var name = names[normalizeName(intlName)];
5692if (name) {
5693return name;
5694}
5695logError("Moment Timezone found " + intlName + " from the Intl api, but did not have that data loaded.");
5696}
5697} catch (e) {
5698// Intl unavailable, fall back to manual guessing.
5699}
5700var offsets = userOffsets(),
5701offsetsLength = offsets.length,
5702guesses = guessesForUserOffsets(offsets),
5703zoneScores = [],
5704zoneScore, i, j;
5705for (i = 0; i < guesses.length; i++) {
5706zoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);
5707for (j = 0; j < offsetsLength; j++) {
5708zoneScore.scoreOffsetAt(offsets[j]);
5709}
5710zoneScores.push(zoneScore);
5711}
5712zoneScores.sort(sortZoneScores);
5713return zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;
5714}
5715function guess (ignoreCache) {
5716if (!cachedGuess || ignoreCache) {
5717cachedGuess = rebuildGuess();
5718}
5719return cachedGuess;
5720}
5721/************************************
5722Global Methods
5723************************************/
5724function normalizeName (name) {
5725return (name || '').toLowerCase().replace(/\//g, '_');
5726}
5727function addZone (packed) {
5728var i, name, split, normalized;
5729if (typeof packed === "string") {
5730packed = [packed];
5731}
5732for (i = 0; i < packed.length; i++) {
5733split = packed[i].split('|');
5734name = split[0];
5735normalized = normalizeName(name);
5736zones[normalized] = packed[i];
5737names[normalized] = name;
5738addToGuesses(normalized, split[2].split(' '));
5739}
5740}
5741function getZone (name, caller) {
5742name = normalizeName(name);
5743var zone = zones[name];
5744var link;
5745if (zone instanceof Zone) {
5746return zone;
5747}
5748if (typeof zone === 'string') {
5749zone = new Zone(zone);
5750zones[name] = zone;
5751return zone;
5752}
5753// Pass getZone to prevent recursion more than 1 level deep
5754if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
5755zone = zones[name] = new Zone();
5756zone._set(link);
5757zone.name = names[name];
5758return zone;
5759}
5760return null;
5761}
5762function getNames () {
5763var i, out = [];
5764for (i in names) {
5765if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
5766out.push(names[i]);
5767}
5768}
5769return out.sort();
5770}
5771function getCountryNames () {
5772return Object.keys(countries);
5773}
5774function addLink (aliases) {
5775var i, alias, normal0, normal1;
5776if (typeof aliases === "string") {
5777aliases = [aliases];
5778}
5779for (i = 0; i < aliases.length; i++) {
5780alias = aliases[i].split('|');
5781normal0 = normalizeName(alias[0]);
5782normal1 = normalizeName(alias[1]);
5783links[normal0] = normal1;
5784names[normal0] = alias[0];
5785links[normal1] = normal0;
5786names[normal1] = alias[1];
5787}
5788}
5789function addCountries (data) {
5790var i, country_code, country_zones, split;
5791if (!data || !data.length) return;
5792for (i = 0; i < data.length; i++) {
5793split = data[i].split('|');
5794country_code = split[0].toUpperCase();
5795country_zones = split[1].split(' ');
5796countries[country_code] = new Country(
5797country_code,
5798country_zones
5799);
5800}
5801}
5802function getCountry (name) {
5803name = name.toUpperCase();
5804return countries[name] || null;
5805}
5806function zonesForCountry(country, with_offset) {
5807country = getCountry(country);
5808if (!country) return null;
5809var zones = country.zones.sort();
5810if (with_offset) {
5811return zones.map(function (zone_name) {
5812var zone = getZone(zone_name);
5813return {
5814name: zone_name,
5815offset: zone.utcOffset(new Date())
5816};
5817});
5818}
5819return zones;
5820}
5821function loadData (data) {
5822addZone(data.zones);
5823addLink(data.links);
5824addCountries(data.countries);
5825tz.dataVersion = data.version;
5826}
5827function zoneExists (name) {
5828if (!zoneExists.didShowError) {
5829zoneExists.didShowError = true;
5830logError("moment.tz.zoneExists('" + name + "') has been deprecated in favor of !moment.tz.zone('" + name + "')");
5831}
5832return !!getZone(name);
5833}
5834function needsOffset (m) {
5835var isUnixTimestamp = (m._f === 'X' || m._f === 'x');
5836return !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);
5837}
5838function logError (message) {
5839if (typeof console !== 'undefined' && typeof console.error === 'function') {
5840console.error(message);
5841}
5842}
5843/************************************
5844moment.tz namespace
5845************************************/
5846function tz (input) {
5847var args = Array.prototype.slice.call(arguments, 0, -1),
5848name = arguments[arguments.length - 1],
5849out  = moment.utc.apply(null, args),
5850zone;
5851if (!moment.isMoment(input) && needsOffset(out) && (zone = getZone(name))) {
5852out.add(zone.parse(out), 'minutes');
5853}
5854out.tz(name);
5855return out;
5856}
5857tz.version      = VERSION;
5858tz.dataVersion  = '';
5859tz._zones       = zones;
5860tz._links       = links;
5861tz._names       = names;
5862tz._countries = countries;
5863tz.add          = addZone;
5864tz.link         = addLink;
5865tz.load         = loadData;
5866tz.zone         = getZone;
5867tz.zoneExists   = zoneExists; // deprecated in 0.1.0
5868tz.guess        = guess;
5869tz.names        = getNames;
5870tz.Zone         = Zone;
5871tz.unpack       = unpack;
5872tz.unpackBase60 = unpackBase60;
5873tz.needsOffset  = needsOffset;
5874tz.moveInvalidForward   = true;
5875tz.moveAmbiguousForward = false;
5876tz.countries    = getCountryNames;
5877tz.zonesForCountry = zonesForCountry;
5878/************************************
5879Interface with Moment.js
5880************************************/
5881var fn = moment.fn;
5882moment.tz = tz;
5883moment.defaultZone = null;
5884moment.updateOffset = function (mom, keepTime) {
5885var zone = moment.defaultZone,
5886offset;
5887if (mom._z === undefined) {
5888if (zone && needsOffset(mom) && !mom._isUTC && mom.isValid()) {
5889mom._d = moment.utc(mom._a)._d;
5890mom.utc().add(zone.parse(mom), 'minutes');
5891}
5892mom._z = zone;
5893}
5894if (mom._z) {
5895offset = mom._z.utcOffset(mom);
5896if (Math.abs(offset) < 16) {
5897offset = offset / 60;
5898}
5899if (mom.utcOffset !== undefined) {
5900var z = mom._z;
5901mom.utcOffset(-offset, keepTime);
5902mom._z = z;
5903} else {
5904mom.zone(offset, keepTime);
5905}
5906}
5907};
5908fn.tz = function (name, keepTime) {
5909if (name) {
5910if (typeof name !== 'string') {
5911throw new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');
5912}
5913this._z = getZone(name);
5914if (this._z) {
5915moment.updateOffset(this, keepTime);
5916} else {
5917logError("Moment Timezone has no data for " + name + ". See http://momentjs.com/timezone/docs/#/data-loading/.");
5918}
5919return this;
5920}
5921if (this._z) { return this._z.name; }
5922};
5923function abbrWrap (old) {
5924return function () {
5925if (this._z) { return this._z.abbr(this); }
5926return old.call(this);
5927};
5928}
5929function resetZoneWrap (old) {
5930return function () {
5931this._z = null;
5932return old.apply(this, arguments);
5933};
5934}
5935function resetZoneWrap2 (old) {
5936return function () {
5937if (arguments.length > 0) this._z = null;
5938return old.apply(this, arguments);
5939};
5940}
5941fn.zoneName  = abbrWrap(fn.zoneName);
5942fn.zoneAbbr  = abbrWrap(fn.zoneAbbr);
5943fn.utc       = resetZoneWrap(fn.utc);
5944fn.local     = resetZoneWrap(fn.local);
5945fn.utcOffset = resetZoneWrap2(fn.utcOffset);
5946moment.tz.setDefault = function(name) {
5947if (major < 2 || (major === 2 && minor < 9)) {
5948logError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');
5949}
5950moment.defaultZone = name ? getZone(name) : null;
5951return moment;
5952};
5953// Cloning a moment should include the _z property.
5954var momentProperties = moment.momentProperties;
5955if (Object.prototype.toString.call(momentProperties) === '[object Array]') {
5956// moment 2.8.1+
5957momentProperties.push('_z');
5958momentProperties.push('_a');
5959} else if (momentProperties) {
5960// moment 2.7.0
5961momentProperties._z = null;
5962}
5963loadData({
5964"version": "2024a",
5965"zones": [
5966"Africa/Abidjan|GMT|0|0||48e5",
5967"Africa/Nairobi|EAT|-30|0||47e5",
5968"Africa/Algiers|WET WEST CET CEST|0 -10 -10 -20|01012320102|3bX0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5",
5969"Africa/Lagos|WAT|-10|0||17e6",
5970"Africa/Bissau|-01 GMT|10 0|01|cap0|39e4",
5971"Africa/Maputo|CAT|-20|0||26e5",
5972"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",
5973"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
597300 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",
5974"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",
5975"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
597500 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",
5976"Africa/Johannesburg|SAST|-20|0||84e5",
5977"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|",
5978"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",
5979"Africa/Monrovia|MMT GMT|I.u 0|01|4SoI.u|11e5",
5980"Africa/Ndjamena|WAT WAST|-10 -20|010|nNb0 Wn0|13e5",
5981"Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|",
5982"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",
5983"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",
5984"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",
5985"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",
5986"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",
5987"America/Puerto_Rico|AST|40|0||24e5",
5988"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",
5989"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|",
5990"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|",
5991"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|",
5992"America/Argentina/Jujuy|-03 -02 -04|30 20 40|010101202101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|",
5993"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|",
5994"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|",
5995"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|",
5996"America/Argentina/Salta|-03 -02 -04|30 20 40|010101012101010|9Rf0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|",
5997"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|",
5998"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|",
5999"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|",
6000"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|",
6001"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",
6002"America/Panama|EST|50|0||15e5",
6003"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",
6004"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",
6005"America/Barbados|AST ADT|40 30|010101010|i7G0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4",
6006"America/Belem|-03 -02|30 20|0101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0|20e5",
6007"America/Belize|CST CDT|60 50|01010|9xG0 qn0 lxB0 mn0|57e3",
6008"America/Boa_Vista|-04 -03|40 30|01010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2",
6009"America/Bogota|-05 -04|50 40|010|Snh0 1PX0|90e5",
6010"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",
6011"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",
6012"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",
6013"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",
6014"America/Caracas|-04 -0430|40 4u|010|1wmv0 kqo0|29e5",
6015"America/Cayenne|-03|30|0||58e3",
6016"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",
6017"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",
6018"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|",
6019"America/Costa_Rica|CST CDT|60 50|010101010|mgS0 Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5",
6020"America/Phoenix|MST|70|0||42e5",
6021"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",
6022"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",
6023"America/Dawson_Creek|PST PDT MST|80 70 70|0101012|Ka0 1cL0 1cN0 1fz0 1cN0 ML0|12e3",
6024"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",
6025"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",
6026"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",
6027"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",
6028"America/Eirunepe|-05 -04|50 40|01010101010|CxF0 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3",
6029"America/El_Salvador|CST CDT|60 50|01010|Gcu0 WL0 1qN0 WL0|11e5",
6030"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",
6031"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",
6032"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|",
6033"America/Fortaleza|-03 -02|30 20|01010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5",
6034"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",
6035"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",
6036"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",
6037"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",
6038"America/Guatemala|CST CDT|60 50|010101010|9tG0 An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5",
6039"America/Guayaquil|-05 -04|50 40|010|TKR0 rz0|27e5",
6040"America/Guyana|-0345 -03 -04|3J 30 40|012|dzfJ Ey0f|80e4",
6041"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",
6042"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",
6043"America/Hermosillo|PST MST MDT|80 70 60|01212121|80 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4",
6044"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|",
6045"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|",
6046"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|",
6047"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|",
6048"America/Indiana/Vevay|EST EDT|50 40|010101010101010101010101010101010101010101010101010101010|K70 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 
60481zb0 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|",
6049"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|",
6050"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|",
6051"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",
6052"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",
6053"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",
6054"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",
6055"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|",
6056"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|",
6057"America/La_Paz|-04|40|0||19e5",
6058"America/Lima|-05 -04|50 40|010101010|CVF0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6",
6059"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 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|15e6",
6060"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",
6061"America/Managua|CST EST CDT|60 50 50|010202010102020|86u0 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5",
6062"America/Manaus|-04 -03|40 30|010101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5",
6063"America/Martinique|AST ADT|40 30|010|oXg0 19X0|39e4",
6064"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",
6065"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",
6066"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",
6067"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",
6068"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",
6069"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",
6070"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",
6071"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",
6072"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",
6073"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",
6074"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",
6075"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",
6076"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",
6077"America/Noronha|-02 -01|20 10|01010101010101010|CxC0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2",
6078"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|",
6079"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|",
6080"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|",
6081"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",
6082"America/Paramaribo|-0330 -03|3u 30|01|zSPu|24e4",
6083"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",
6084"America/Rio_Branco|-05 -04|50 40|010101010|CxF0 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4",
6085"America/Porto_Velho|-04 -03|40 30|0101010|CxE0 Rb0 1tB0 IL0 1Fd0 FX0|37e4",
6086"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|",
6087"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",
6088"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",
6089"America/Recife|-03 -02|30 20|01010101010101010|CxD0 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5",
6090"America/Regina|CST|60|0||19e4",
6091"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",
6092"America/Santarem|-04 -03|40 30|01010101|CxE0 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4",
6093"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",
6094"America/Santo_Domingo|-0430 EST AST|4u 50 40|0101010101212|ksu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5",
6095"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",
6096"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",
6097"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",
6098"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",
6099"America/Swift_Current|MST CST|70 60|01|5E90|16e3",
6100"America/Tegucigalpa|CST CDT|60 50|0101010|Gcu0 WL0 1qN0 WL0 GRd0 AL0|11e5",
6101"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",
6102"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 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1c
6102N0 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",
6103"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",
6104"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",
6105"Antarctica/Casey|+08 +11|-80 -b0|01010101010101010|1ARS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01 14kX 1lf1 14kX 1lf1 13bX|10",
6106"Antarctica/Davis|+07 +05|-70 -50|01010|1ART0 VB0 3Wn0 KN0|70",
6107"Pacific/Port_Moresby|+10|-a0|0||25e4",
6108"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",
6109"Antarctica/Mawson|+06 +05|-60 -50|01|1ARU0|60",
6110"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",
6111"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",
6112"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130",
6113"Asia/Riyadh|+03|-30|0||57e5",
6114"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",
6115"Antarctica/Vostok|+07 -00 +05|-70 0 -50|0102|WCF0 1Nj0 1aTv0|25",
6116"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",
6117"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",
6118"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",
6119"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",
6120"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",
6121"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",
6122"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",
6123"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|",
6124"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",
6125"Asia/Qatar|+04 +03|-40 -30|01|5QI0|96e4",
6126"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",
6127"Asia/Bangkok|+07|-70|0||15e6",
6128"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|",
6129"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",
6130"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",
6131"Asia/Brunei|+08|-80|0||42e4",
6132"Asia/Kolkata|IST|-5u|0||15e6",
6133"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",
6134"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",
6135"Asia/Shanghai|CST CDT|-80 -90|0101010101010|DKG0 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6",
6136"Asia/Colombo|+0530 +0630 +06|-5u -6u -60|0120|14giu 11zu n3cu|22e5",
6137"Asia/Dhaka|+06 +07|-60 -70|010|1A5R0 1i00|16e6",
6138"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",
6139"Asia/Dili|+09 +08|-90 -80|010|fpr0 Xld0|19e4",
6140"Asia/Dubai|+04|-40|0||39e5",
6141"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",
6142"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|",
6143"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
6143N0 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",
6144"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",
6145"Asia/Ho_Chi_Minh|+08 +07|-80 -70|01|dfs0|90e5",
6146"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",
6147"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",
6148"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",
6149"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",
6150"Asia/Jakarta|WIB|-70|0||31e6",
6151"Asia/Jayapura|WIT|-90|0||26e4",
6152"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",
6153"Asia/Kabul|+0430|-4u|0||46e5",
6154"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",
6155"Asia/Karachi|+05 PKT PKST|-50 -50 -60|01212121|2Xv0 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6",
6156"Asia/Urumqi|+06|-60|0||32e5",
6157"Asia/Kathmandu|+0530 +0545|-5u -5J|01|CVuu|12e5",
6158"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",
6159"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",
6160"Asia/Kuala_Lumpur|+0730 +08|-7u -80|01|td40|71e5",
6161"Asia/Macau|CST CDT|-80 -90|01010101010101010|H7u 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4",
6162"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",
6163"Asia/Makassar|WITA|-80|0||15e5",
6164"Asia/Manila|PST PDT|-80 -90|010|k0E0 1db0|24e6",
6165"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",
6166"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",
6167"Asia/Novosibirsk|+07 +08 +06|-70 -80 -60|010101010101010101010201010202020202
616702020202020202020202020202020|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",
6168"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",
6169"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",
6170"Asia/Pontianak|WITA WIB|-80 -70|01|HNs0|23e4",
6171"Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5",
6172"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|",
6173"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",
6174"Asia/Rangoon|+0630|-6u|0||48e5",
6175"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",
6176"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",
6177"Asia/Seoul|KST KDT|-90 -a0|01010|Gf50 11A0 1o00 11A0|23e6",
6178"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",
6179"Asia/Taipei|CST CDT|-80 -90|0101010|akg0 1db0 1cN0 1db0 97B0 AL0|74e5",
6180"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",
6181"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",
6182"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",
6183"Asia/Thimphu|+0530 +06|-5u -60|01|HcGu|79e3",
6184"Asia/Tokyo|JST|-90|0||38e6",
6185"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",
6186"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",
6187"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",
6188"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",
6189"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",
6190"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",
6191"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",
6192"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",
6193"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",
6194"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",
6195"Atlantic/Cape_Verde|-02 -01|20 10|01|elE0|50e4",
6196"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",
6197"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",
6198"Atlantic/South_Georgia|-02|20|0||30",
6199"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",
6200"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",
6201"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",
6202"Australia/Brisbane|AEST AEDT|-a0 -b0|010101010|4r40 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5",
6203"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",
6204"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",
6205"Australia/Darwin|ACST|-9u|0||12e4",
6206"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010|bHRf Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368",
6207"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 
62071cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu|347",
6208"Australia/Lindeman|AEST AEDT|-a0 -b0|0101010101010|4r40 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10",
6209"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",
6210"Australia/Perth|AWST AWDT|-80 -90|0101010101010|bHS0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5",
6211"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",
6212"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",
6213"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|",
6214"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",
6215"Etc/GMT-1|+01|-10|0||",
6216"Pacific/Guadalcanal|+11|-b0|0||11e4",
6217"Pacific/Tarawa|+12|-c0|0||29e3",
6218"Etc/GMT-13|+13|-d0|0||",
6219"Etc/GMT-14|+14|-e0|0||",
6220"Etc/GMT-2|+02|-20|0||",
6221"Indian/Maldives|+05|-50|0||35e4",
6222"Pacific/Palau|+09|-90|0||21e3",
6223"Etc/GMT+1|-01|10|0||",
6224"Pacific/Tahiti|-10|a0|0||18e4",
6225"Pacific/Niue|-11|b0|0||12e2",
6226"Etc/GMT+12|-12|c0|0||",
6227"Etc/GMT+5|-05|50|0||",
6228"Etc/GMT+6|-06|60|0||",
6229"Etc/GMT+7|-07|70|0||",
6230"Etc/GMT+8|-08|80|0||",
6231"Pacific/Gambier|-09|90|0||125",
6232"Etc/UTC|UTC|0|0||",
6233"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",
6234"Europe/Astrakhan|+04 +05 +03|-40 -50 -30|01010101010101010202020202
623402020202020202020202020202020202020|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",
6235"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",
6236"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",
6237"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",
6238"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",
6239"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",
6240"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",
6241"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",
6242"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",
6243"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",
6244"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",
6245"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",
6246"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",
6247"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",
6248"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",
6249"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",
6250"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",
6251"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",
6252"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",
6253"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",
6254"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",
6255"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",
6256"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",
6257"Europe/Saratov|+04 +05 +03|-40 -50 -30|010101010101010202020202
62570202020202020202020202020202020202020|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|",
6258"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",
6259"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",
6260"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",
6261"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",
6262"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",
6263"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",
6264"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",
6265"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",
6266"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",
6267"Pacific/Honolulu|HST|a0|0||37e4",
6268"Indian/Chagos|+05 +06|-50 -60|01|13ij0|30e2",
6269"Indian/Mauritius|+04 +05|-40 -50|01010|v5U0 14L0 12kr0 11z0|15e4",
6270"Pacific/Kwajalein|-12 +12|c0 -c0|01|Vxo0|14e3",
6271"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|",
6272"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",
6273"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",
6274"Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4",
6275"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",
6276"Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1",
6277"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483",
6278"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",
6279"Pacific/Galapagos|-05 -06|50 60|0101|CVF0 gNd0 rz0|25e3",
6280"Pacific/Guam|GST GDT ChST|-a0 -b0 -a0|010101010102|JQ0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4",
6281"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2",
6282"Pacific/Kosrae|+12 +11|-c0 -b0|01|1aAA0|66e2",
6283"Pacific/Marquesas|-0930|9u|0||86e2",
6284"Pacific/Pago_Pago|SST|b0|0||37e2",
6285"Pacific/Nauru|+1130 +12|-bu -c0|01|maCu|10e3",
6286"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",
6287"Pacific/Noumea|+11 +12|-b0 -c0|0101010|jhp0 xX0 1PB0 yn0 HeP0 Ao0|98e3",
6288"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56",
6289"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",
6290"Pacific/Tongatapu|+13 +14|-d0 -e0|010101010|1csd0 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3",
6291"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|"
6292],
6293"links": [
6294"Africa/Abidjan|Africa/Accra",
6295"Africa/Abidjan|Africa/Bamako",
6296"Africa/Abidjan|Africa/Banjul",
6297"Africa/Abidjan|Africa/Conakry",
6298"Africa/Abidjan|Africa/Dakar",
6299"Africa/Abidjan|Africa/Freetown",
6300"Africa/Abidjan|Africa/Lome",
6301"Africa/Abidjan|Africa/Nouakchott",
6302"Africa/Abidjan|Africa/Ouagadougou",
6303"Africa/Abidjan|Africa/Timbuktu",
6304"Africa/Abidjan|Atlantic/Reykjavik",
6305"Africa/Abidjan|Atlantic/St_Helena",
6306"Africa/Abidjan|Etc/GMT",
6307"Africa/Abidjan|Etc/GMT+0",
6308"Africa/Abidjan|Etc/GMT-0",
6309"Africa/Abidjan|Etc/GMT0",
6310"Africa/Abidjan|Etc/Greenwich",
6311"Africa/Abidjan|GMT",
6312"Africa/Abidjan|GMT+0",
6313"Africa/Abidjan|GMT-0",
6314"Africa/Abidjan|GMT0",
6315"Africa/Abidjan|Greenwich",
6316"Africa/Abidjan|Iceland",
6317"Africa/Cairo|Egypt",
6318"Africa/Johannesburg|Africa/Maseru",
6319"Africa/Johannesburg|Africa/Mbabane",
6320"Africa/Lagos|Africa/Bangui",
6321"Africa/Lagos|Africa/Brazzaville",
6322"Africa/Lagos|Africa/Douala",
6323"Africa/Lagos|Africa/Kinshasa",
6324"Africa/Lagos|Africa/Libreville",
6325"Africa/Lagos|Africa/Luanda",
6326"Africa/Lagos|Africa/Malabo",
6327"Africa/Lagos|Africa/Niamey",
6328"Africa/Lagos|Africa/Porto-Novo",
6329"Africa/Maputo|Africa/Blantyre",
6330"Africa/Maputo|Africa/Bujumbura",
6331"Africa/Maputo|Africa/Gaborone",
6332"Africa/Maputo|Africa/Harare",
6333"Africa/Maputo|Africa/Kigali",
6334"Africa/Maputo|Africa/Lubumbashi",
6335"Africa/Maputo|Africa/Lusaka",
6336"Africa/Nairobi|Africa/Addis_Ababa",
6337"Africa/Nairobi|Africa/Asmara",
6338"Africa/Nairobi|Africa/Asmera",
6339"Africa/Nairobi|Africa/Dar_es_Salaam",
6340"Africa/Nairobi|Africa/Djibouti",
6341"Africa/Nairobi|Africa/Kampala",
6342"Africa/Nairobi|Africa/Mogadishu",
6343"Africa/Nairobi|Indian/Antananarivo",
6344"Africa/Nairobi|Indian/Comoro",
6345"Africa/Nairobi|Indian/Mayotte",
6346"Africa/Tripoli|Libya",
6347"America/Adak|America/Atka",
6348"America/Adak|US/Aleutian",
6349"America/Anchorage|US/Alaska",
6350"America/Argentina/Buenos_Aires|America/Buenos_Aires",
6351"America/Argentina/Catamarca|America/Argentina/ComodRivadavia",
6352"America/Argentina/Catamarca|America/Catamarca",
6353"America/Argentina/Cordoba|America/Cordoba",
6354"America/Argentina/Cordoba|America/Rosario",
6355"America/Argentina/Jujuy|America/Jujuy",
6356"America/Argentina/Mendoza|America/Mendoza",
6357"America/Cayenne|Etc/GMT+3",
6358"America/Chicago|CST6CDT",
6359"America/Chicago|US/Central",
6360"America/Denver|America/Shiprock",
6361"America/Denver|MST7MDT",
6362"America/Denver|Navajo",
6363"America/Denver|US/Mountain",
6364"America/Detroit|US/Michigan",
6365"America/Edmonton|America/Yellowknife",
6366"America/Edmonton|Canada/Mountain",
6367"America/Fort_Wayne|America/Indiana/Indianapolis",
6368"America/Fort_Wayne|America/Indianapolis",
6369"America/Fort_Wayne|US/East-Indiana",
6370"America/Godthab|America/Nuuk",
6371"America/Halifax|Canada/Atlantic",
6372"America/Havana|Cuba",
6373"America/Indiana/Knox|America/Knox_IN",
6374"America/Indiana/Knox|US/Indiana-Starke",
6375"America/Iqaluit|America/Pangnirtung",
6376"America/Jamaica|Jamaica",
6377"America/Kentucky/Louisville|America/Louisville",
6378"America/La_Paz|Etc/GMT+4",
6379"America/Los_Angeles|PST8PDT",
6380"America/Los_Angeles|US/Pacific",
6381"America/Manaus|Brazil/West",
6382"America/Mazatlan|Mexico/BajaSur",
6383"America/Mexico_City|Mexico/General",
6384"America/New_York|EST5EDT",
6385"America/New_York|US/Eastern",
6386"America/Noronha|Brazil/DeNoronha",
6387"America/Panama|America/Atikokan",
6388"America/Panama|America/Cayman",
6389"America/Panama|America/Coral_Harbour",
6390"America/Panama|EST",
6391"America/Phoenix|America/Creston",
6392"America/Phoenix|MST",
6393"America/Phoenix|US/Arizona",
6394"America/Puerto_Rico|America/Anguilla",
6395"America/Puerto_Rico|America/Antigua",
6396"America/Puerto_Rico|America/Aruba",
6397"America/Puerto_Rico|America/Blanc-Sablon",
6398"America/Puerto_Rico|America/Curacao",
6399"America/Puerto_Rico|America/Dominica",
6400"America/Puerto_Rico|America/Grenada",
6401"America/Puerto_Rico|America/Guadeloupe",
6402"America/Puerto_Rico|America/Kralendijk",
6403"America/Puerto_Rico|America/Lower_Princes",
6404"America/Puerto_Rico|America/Marigot",
6405"America/Puerto_Rico|America/Montserrat",
6406"America/Puerto_Rico|America/Port_of_Spain",
6407"America/Puerto_Rico|America/St_Barthelemy",
6408"America/Puerto_Rico|America/St_Kitts",
6409"America/Puerto_Rico|America/St_Lucia",
6410"America/Puerto_Rico|America/St_Thomas",
6411"America/Puerto_Rico|America/St_Vincent",
6412"America/Puerto_Rico|America/Tortola",
6413"America/Puerto_Rico|America/Virgin",
6414"America/Regina|Canada/Saskatchewan",
6415"America/Rio_Branco|America/Porto_Acre",
6416"America/Rio_Branco|Brazil/Acre",
6417"America/Santiago|Chile/Continental",
6418"America/Sao_Paulo|Brazil/East",
6419"America/St_Johns|Canada/Newfoundland",
6420"America/Tijuana|America/Ensenada",
6421"America/Tijuana|America/Santa_Isabel",
6422"America/Tijuana|Mexico/BajaNorte",
6423"America/Toronto|America/Montreal",
6424"America/Toronto|America/Nassau",
6425"America/Toronto|America/Nipigon",
6426"America/Toronto|America/Thunder_Bay",
6427"America/Toronto|Canada/Eastern",
6428"America/Vancouver|Canada/Pacific",
6429"America/Whitehorse|Canada/Yukon",
6430"America/Winnipeg|America/Rainy_River",
6431"America/Winnipeg|Canada/Central",
6432"Asia/Ashgabat|Asia/Ashkhabad",
6433"Asia/Bangkok|Asia/Phnom_Penh",
6434"Asia/Bangkok|Asia/Vientiane",
6435"Asia/Bangkok|Etc/GMT-7",
6436"Asia/Bangkok|Indian/Christmas",
6437"Asia/Brunei|Asia/Kuching",
6438"Asia/Brunei|Etc/GMT-8",
6439"Asia/Dhaka|Asia/Dacca",
6440"Asia/Dubai|Asia/Muscat",
6441"Asia/Dubai|Etc/GMT-4",
6442"Asia/Dubai|Indian/Mahe",
6443"Asia/Dubai|Indian/Reunion",
6444"Asia/Ho_Chi_Minh|Asia/Saigon",
6445"Asia/Hong_Kong|Hongkong",
6446"Asia/Jerusalem|Asia/Tel_Aviv",
6447"Asia/Jerusalem|Israel",
6448"Asia/Kathmandu|Asia/Katmandu",
6449"Asia/Kolkata|Asia/Calcutta",
6450"Asia/Kuala_Lumpur|Asia/Singapore",
6451"Asia/Kuala_Lumpur|Singapore",
6452"Asia/Macau|Asia/Macao",
6453"Asia/Makassar|Asia/Ujung_Pandang",
6454"Asia/Nicosia|Europe/Nicosia",
6455"Asia/Qatar|Asia/Bahrain",
6456"Asia/Rangoon|Asia/Yangon",
6457"Asia/Rangoon|Indian/Cocos",
6458"Asia/Riyadh|Antarctica/Syowa",
6459"Asia/Riyadh|Asia/Aden",
6460"Asia/Riyadh|Asia/Kuwait",
6461"Asia/Riyadh|Etc/GMT-3",
6462"Asia/Seoul|ROK",
6463"Asia/Shanghai|Asia/Chongqing",
6464"Asia/Shanghai|Asia/Chungking",
6465"Asia/Shanghai|Asia/Harbin",
6466"Asia/Shanghai|PRC",
6467"Asia/Taipei|ROC",
6468"Asia/Tehran|Iran",
6469"Asia/Thimphu|Asia/Thimbu",
6470"Asia/Tokyo|Japan",
6471"Asia/Ulaanbaatar|Asia/Ulan_Bator",
6472"Asia/Urumqi|Asia/Kashgar",
6473"Asia/Urumqi|Etc/GMT-6",
6474"Atlantic/Faroe|Atlantic/Faeroe",
6475"Atlantic/South_Georgia|Etc/GMT+2",
6476"Australia/Adelaide|Australia/South",
6477"Australia/Brisbane|Australia/Queensland",
6478"Australia/Broken_Hill|Australia/Yancowinna",
6479"Australia/Darwin|Australia/North",
6480"Australia/Hobart|Australia/Currie",
6481"Australia/Hobart|Australia/Tasmania",
6482"Australia/Lord_Howe|Australia/LHI",
6483"Australia/Melbourne|Australia/Victoria",
6484"Australia/Perth|Australia/West",
6485"Australia/Sydney|Australia/ACT",
6486"Australia/Sydney|Australia/Canberra",
6487"Australia/Sydney|Australia/NSW",
6488"Etc/UTC|Etc/UCT",
6489"Etc/UTC|Etc/Universal",
6490"Etc/UTC|Etc/Zulu",
6491"Etc/UTC|UCT",
6492"Etc/UTC|UTC",
6493"Etc/UTC|Universal",
6494"Etc/UTC|Zulu",
6495"Europe/Belgrade|Europe/Ljubljana",
6496"Europe/Belgrade|Europe/Podgorica",
6497"Europe/Belgrade|Europe/Sarajevo",
6498"Europe/Belgrade|Europe/Skopje",
6499"Europe/Belgrade|Europe/Zagreb",
6500"Europe/Berlin|Arctic/Longyearbyen",
6501"Europe/Berlin|Atlantic/Jan_Mayen",
6502"Europe/Berlin|Europe/Copenhagen",
6503"Europe/Berlin|Europe/Oslo",
6504"Europe/Berlin|Europe/Stockholm",
6505"Europe/Brussels|CET",
6506"Europe/Brussels|Europe/Amsterdam",
6507"Europe/Brussels|Europe/Luxembourg",
6508"Europe/Chisinau|Europe/Tiraspol",
6509"Europe/Dublin|Eire",
6510"Europe/Helsinki|Europe/Mariehamn",
6511"Europe/Istanbul|Asia/Istanbul",
6512"Europe/Istanbul|Turkey",
6513"Europe/Kiev|Europe/Kyiv",
6514"Europe/Kiev|Europe/Uzhgorod",
6515"Europe/Kiev|Europe/Zaporozhye",
6516"Europe/Lisbon|Portugal",
6517"Europe/London|Europe/Belfast",
6518"Europe/London|Europe/Guernsey",
6519"Europe/London|Europe/Isle_of_Man",
6520"Europe/London|Europe/Jersey",
6521"Europe/London|GB",
6522"Europe/London|GB-Eire",
6523"Europe/Moscow|W-SU",
6524"Europe/Paris|Europe/Monaco",
6525"Europe/Prague|Europe/Bratislava",
6526"Europe/Rome|Europe/San_Marino",
6527"Europe/Rome|Europe/Vatican",
6528"Europe/Warsaw|Poland",
6529"Europe/Zurich|Europe/Busingen",
6530"Europe/Zurich|Europe/Vaduz",
6531"Indian/Maldives|Etc/GMT-5",
6532"Indian/Maldives|Indian/Kerguelen",
6533"Pacific/Auckland|Antarctica/McMurdo",
6534"Pacific/Auckland|Antarctica/South_Pole",
6535"Pacific/Auckland|NZ",
6536"Pacific/Chatham|NZ-CHAT",
6537"Pacific/Easter|Chile/EasterIsland",
6538"Pacific/Enderbury|Pacific/Kanton",
6539"Pacific/Gambier|Etc/GMT+9",
6540"Pacific/Guadalcanal|Etc/GMT-11",
6541"Pacific/Guadalcanal|Pacific/Pohnpei",
6542"Pacific/Guadalcanal|Pacific/Ponape",
6543"Pacific/Guam|Pacific/Saipan",
6544"Pacific/Honolulu|HST",
6545"Pacific/Honolulu|Pacific/Johnston",
6546"Pacific/Honolulu|US/Hawaii",
6547"Pacific/Kwajalein|Kwajalein",
6548"Pacific/Niue|Etc/GMT+11",
6549"Pacific/Pago_Pago|Pacific/Midway",
6550"Pacific/Pago_Pago|Pacific/Samoa",
6551"Pacific/Pago_Pago|US/Samoa",
6552"Pacific/Palau|Etc/GMT-9",
6553"Pacific/Port_Moresby|Antarctica/DumontDUrville",
6554"Pacific/Port_Moresby|Etc/GMT-10",
6555"Pacific/Port_Moresby|Pacific/Chuuk",
6556"Pacific/Port_Moresby|Pacific/Truk",
6557"Pacific/Port_Moresby|Pacific/Yap",
6558"Pacific/Tahiti|Etc/GMT+10",
6559"Pacific/Tarawa|Etc/GMT-12",
6560"Pacific/Tarawa|Pacific/Funafuti",
6561"Pacific/Tarawa|Pacific/Majuro",
6562"Pacific/Tarawa|Pacific/Wake",
6563"Pacific/Tarawa|Pacific/Wallis"
6564],
6565"countries": [
6566"AD|Europe/Andorra",
6567"AE|Asia/Dubai",
6568"AF|Asia/Kabul",
6569"AG|America/Puerto_Rico America/Antigua",
6570"AI|America/Puerto_Rico America/Anguilla",
6571"AL|Europe/Tirane",
6572"AM|Asia/Yerevan",
6573"AO|Africa/Lagos Africa/Luanda",
6574"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",
6575"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",
6576"AS|Pacific/Pago_Pago",
6577"AT|Europe/Vienna",
6578"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",
6579"AW|America/Puerto_Rico America/Aruba",
6580"AX|Europe/Helsinki Europe/Mariehamn",
6581"AZ|Asia/Baku",
6582"BA|Europe/Belgrade Europe/Sarajevo",
6583"BB|America/Barbados",
6584"BD|Asia/Dhaka",
6585"BE|Europe/Brussels",
6586"BF|Africa/Abidjan Africa/Ouagadougou",
6587"BG|Europe/Sofia",
6588"BH|Asia/Qatar Asia/Bahrain",
6589"BI|Africa/Maputo Africa/Bujumbura",
6590"BJ|Africa/Lagos Africa/Porto-Novo",
6591"BL|America/Puerto_Rico America/St_Barthelemy",
6592"BM|Atlantic/Bermuda",
6593"BN|Asia/Kuching Asia/Brunei",
6594"BO|America/La_Paz",
6595"BQ|America/Puerto_Rico America/Kralendijk",
6596"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",
6597"BS|America/Toronto America/Nassau",
6598"BT|Asia/Thimphu",
6599"BW|Africa/Maputo Africa/Gaborone",
6600"BY|Europe/Minsk",
6601"BZ|America/Belize",
6602"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",
6603"CC|Asia/Yangon Indian/Cocos",
6604"CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi",
6605"CF|Africa/Lagos Africa/Bangui",
6606"CG|Africa/Lagos Africa/Brazzaville",
6607"CH|Europe/Zurich",
6608"CI|Africa/Abidjan",
6609"CK|Pacific/Rarotonga",
6610"CL|America/Santiago America/Punta_Arenas Pacific/Easter",
6611"CM|Africa/Lagos Africa/Douala",
6612"CN|Asia/Shanghai Asia/Urumqi",
6613"CO|America/Bogota",
6614"CR|America/Costa_Rica",
6615"CU|America/Havana",
6616"CV|Atlantic/Cape_Verde",
6617"CW|America/Puerto_Rico America/Curacao",
6618"CX|Asia/Bangkok Indian/Christmas",
6619"CY|Asia/Nicosia Asia/Famagusta",
6620"CZ|Europe/Prague",
6621"DE|Europe/Zurich Europe/Berlin Europe/Busingen",
6622"DJ|Africa/Nairobi Africa/Djibouti",
6623"DK|Europe/Berlin Europe/Copenhagen",
6624"DM|America/Puerto_Rico America/Dominica",
6625"DO|America/Santo_Domingo",
6626"DZ|Africa/Algiers",
6627"EC|America/Guayaquil Pacific/Galapagos",
6628"EE|Europe/Tallinn",
6629"EG|Africa/Cairo",
6630"EH|Africa/El_Aaiun",
6631"ER|Africa/Nairobi Africa/Asmara",
6632"ES|Europe/Madrid Africa/Ceuta Atlantic/Canary",
6633"ET|Africa/Nairobi Africa/Addis_Ababa",
6634"FI|Europe/Helsinki",
6635"FJ|Pacific/Fiji",
6636"FK|Atlantic/Stanley",
6637"FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei",
6638"FO|Atlantic/Faroe",
6639"FR|Europe/Paris",
6640"GA|Africa/Lagos Africa/Libreville",
6641"GB|Europe/London",
6642"GD|America/Puerto_Rico America/Grenada",
6643"GE|Asia/Tbilisi",
6644"GF|America/Cayenne",
6645"GG|Europe/London Europe/Guernsey",
6646"GH|Africa/Abidjan Africa/Accra",
6647"GI|Europe/Gibraltar",
6648"GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule",
6649"GM|Africa/Abidjan Africa/Banjul",
6650"GN|Africa/Abidjan Africa/Conakry",
6651"GP|America/Puerto_Rico America/Guadeloupe",
6652"GQ|Africa/Lagos Africa/Malabo",
6653"GR|Europe/Athens",
6654"GS|Atlantic/South_Georgia",
6655"GT|America/Guatemala",
6656"GU|Pacific/Guam",
6657"GW|Africa/Bissau",
6658"GY|America/Guyana",
6659"HK|Asia/Hong_Kong",
6660"HN|America/Tegucigalpa",
6661"HR|Europe/Belgrade Europe/Zagreb",
6662"HT|America/Port-au-Prince",
6663"HU|Europe/Budapest",
6664"ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura",
6665"IE|Europe/Dublin",
6666"IL|Asia/Jerusalem",
6667"IM|Europe/London Europe/Isle_of_Man",
6668"IN|Asia/Kolkata",
6669"IO|Indian/Chagos",
6670"IQ|Asia/Baghdad",
6671"IR|Asia/Tehran",
6672"IS|Africa/Abidjan Atlantic/Reykjavik",
6673"IT|Europe/Rome",
6674"JE|Europe/London Europe/Jersey",
6675"JM|America/Jamaica",
6676"JO|Asia/Amman",
6677"JP|Asia/Tokyo",
6678"KE|Africa/Nairobi",
6679"KG|Asia/Bishkek",
6680"KH|Asia/Bangkok Asia/Phnom_Penh",
6681"KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati",
6682"KM|Africa/Nairobi Indian/Comoro",
6683"KN|America/Puerto_Rico America/St_Kitts",
6684"KP|Asia/Pyongyang",
6685"KR|Asia/Seoul",
6686"KW|Asia/Riyadh Asia/Kuwait",
6687"KY|America/Panama America/Cayman",
6688"KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral",
6689"LA|Asia/Bangkok Asia/Vientiane",
6690"LB|Asia/Beirut",
6691"LC|America/Puerto_Rico America/St_Lucia",
6692"LI|Europe/Zurich Europe/Vaduz",
6693"LK|Asia/Colombo",
6694"LR|Africa/Monrovia",
6695"LS|Africa/Johannesburg Africa/Maseru",
6696"LT|Europe/Vilnius",
6697"LU|Europe/Brussels Europe/Luxembourg",
6698"LV|Europe/Riga",
6699"LY|Africa/Tripoli",
6700"MA|Africa/Casablanca",
6701"MC|Europe/Paris Europe/Monaco",
6702"MD|Europe/Chisinau",
6703"ME|Europe/Belgrade Europe/Podgorica",
6704"MF|America/Puerto_Rico America/Marigot",
6705"MG|Africa/Nairobi Indian/Antananarivo",
6706"MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro",
6707"MK|Europe/Belgrade Europe/Skopje",
6708"ML|Africa/Abidjan Africa/Bamako",
6709"MM|Asia/Yangon",
6710"MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan",
6711"MO|Asia/Macau",
6712"MP|Pacific/Guam Pacific/Saipan",
6713"MQ|America/Martinique",
6714"MR|Africa/Abidjan Africa/Nouakchott",
6715"MS|America/Puerto_Rico America/Montserrat",
6716"MT|Europe/Malta",
6717"MU|Indian/Mauritius",
6718"MV|Indian/Maldives",
6719"MW|Africa/Maputo Africa/Blantyre",
6720"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",
6721"MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur",
6722"MZ|Africa/Maputo",
6723"NA|Africa/Windhoek",
6724"NC|Pacific/Noumea",
6725"NE|Africa/Lagos Africa/Niamey",
6726"NF|Pacific/Norfolk",
6727"NG|Africa/Lagos",
6728"NI|America/Managua",
6729"NL|Europe/Brussels Europe/Amsterdam",
6730"NO|Europe/Berlin Europe/Oslo",
6731"NP|Asia/Kathmandu",
6732"NR|Pacific/Nauru",
6733"NU|Pacific/Niue",
6734"NZ|Pacific/Auckland Pacific/Chatham",
6735"OM|Asia/Dubai Asia/Muscat",
6736"PA|America/Panama",
6737"PE|America/Lima",
6738"PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier",
6739"PG|Pacific/Port_Moresby Pacific/Bougainville",
6740"PH|Asia/Manila",
6741"PK|Asia/Karachi",
6742"PL|Europe/Warsaw",
6743"PM|America/Miquelon",
6744"PN|Pacific/Pitcairn",
6745"PR|America/Puerto_Rico",
6746"PS|Asia/Gaza Asia/Hebron",
6747"PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores",
6748"PW|Pacific/Palau",
6749"PY|America/Asuncion",
6750"QA|Asia/Qatar",
6751"RE|Asia/Dubai Indian/Reunion",
6752"RO|Europe/Bucharest",
6753"RS|Europe/Belgrade",
6754"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",
6755"RW|Africa/Maputo Africa/Kigali",
6756"SA|Asia/Riyadh",
6757"SB|Pacific/Guadalcanal",
6758"SC|Asia/Dubai Indian/Mahe",
6759"SD|Africa/Khartoum",
6760"SE|Europe/Berlin Europe/Stockholm",
6761"SG|Asia/Singapore",
6762"SH|Africa/Abidjan Atlantic/St_Helena",
6763"SI|Europe/Belgrade Europe/Ljubljana",
6764"SJ|Europe/Berlin Arctic/Longyearbyen",
6765"SK|Europe/Prague Europe/Bratislava",
6766"SL|Africa/Abidjan Africa/Freetown",
6767"SM|Europe/Rome Europe/San_Marino",
6768"SN|Africa/Abidjan Africa/Dakar",
6769"SO|Africa/Nairobi Africa/Mogadishu",
6770"SR|America/Paramaribo",
6771"SS|Africa/Juba",
6772"ST|Africa/Sao_Tome",
6773"SV|America/El_Salvador",
6774"SX|America/Puerto_Rico America/Lower_Princes",
6775"SY|Asia/Damascus",
6776"SZ|Africa/Johannesburg Africa/Mbabane",
6777"TC|America/Grand_Turk",
6778"TD|Africa/Ndjamena",
6779"TF|Asia/Dubai Indian/Maldives Indian/Kerguelen",
6780"TG|Africa/Abidjan Africa/Lome",
6781"TH|Asia/Bangkok",
6782"TJ|Asia/Dushanbe",
6783"TK|Pacific/Fakaofo",
6784"TL|Asia/Dili",
6785"TM|Asia/Ashgabat",
6786"TN|Africa/Tunis",
6787"TO|Pacific/Tongatapu",
6788"TR|Europe/Istanbul",
6789"TT|America/Puerto_Rico America/Port_of_Spain",
6790"TV|Pacific/Tarawa Pacific/Funafuti",
6791"TW|Asia/Taipei",
6792"TZ|Africa/Nairobi Africa/Dar_es_Salaam",
6793"UA|Europe/Simferopol Europe/Kyiv",
6794"UG|Africa/Nairobi Africa/Kampala",
6795"UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake",
6796"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",
6797"UY|America/Montevideo",
6798"UZ|Asia/Samarkand Asia/Tashkent",
6799"VA|Europe/Rome Europe/Vatican",
6800"VC|America/Puerto_Rico America/St_Vincent",
6801"VE|America/Caracas",
6802"VG|America/Puerto_Rico America/Tortola",
6803"VI|America/Puerto_Rico America/St_Thomas",
6804"VN|Asia/Bangkok Asia/Ho_Chi_Minh",
6805"VU|Pacific/Efate",
6806"WF|Pacific/Tarawa Pacific/Wallis",
6807"WS|Pacific/Apia",
6808"YE|Asia/Riyadh Asia/Aden",
6809"YT|Africa/Nairobi Indian/Mayotte",
6810"ZA|Africa/Johannesburg",
6811"ZM|Africa/Maputo Africa/Lusaka",
6812"ZW|Africa/Maputo Africa/Harare"
6813]
6814});
6815return moment;
6816}));;
6817var 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(", ")+"]"}
6817else{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={};
6817JSONRpcClient.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)}
6817delete 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")};;
6818var Prototype={Version:"1.7.2",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";
6818var 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&&regexp.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;
6818return 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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function unescapeHTML(){return this.stripTags().replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/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=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;if(cx.test(json)){json=json.replace(cx,function(a){return"\\u"+("0000"+a.charCo
6818deAt(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+/):[]}(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);
6818if(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()}}
6818function 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)}});
6818Ajax.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).style.display!=="none"}function ax(F,i){F=aZ(F);if(Object.isUndefined(i)){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});
6818function ad(i){i=aZ(i);if(i.parentNode==null||i.parentNode=="undefined"){}else{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="&#160;"+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]}}
6818if(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);while(F=F.parentNode){if(F===i){return true}}return false}function B(F,i){F=aZ(F),i=aZ(i);if(!i.contains){return D(F,i)}return i.contains(F)&&i!==F}function J(F,i){F=aZ(F),i=aZ(i);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]){bp=br.values[i](bq,bs)||bp}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");
6818if(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){i.checked=!!F},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"&&!N){return be(i)}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=(.*)\)/);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}
6818function 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;
6818var 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("currentStyle" in document.documentElement){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
6818play: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}
6818function p(F){F=$(F);if(h(F)||f(F)||o(F)||n(F)){return $(document.body)}var G=(Element.getStyle(F,"display")==="inline");if(!G&&F.offsetParent){return $(F.offsetParent)}while((F=F.parentNode)&&F!==document.body){if(Element.getStyle(F,"position")!=="static"){return n(F)?$(document.body):$(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-top");F-=H.get("margin-left");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(G,K,F){F=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},F||{});K=$(K);G=$(G);var L,M,J,I={};if(F.setLeft||F.setTop){L=Element.viewportOffset(K);M=[0,0];if(Element.getStyle(G,"position")==="absolute"){var H=Element.getOffsetParent(G);if(H!==document.body){M=Element.viewportOffset(H)}}}if(F.setWidth||F.setHeight){J=Element.getLayout(K)}if(F.setLeft){I.left=(L[0]-M[0]+F.offsetLeft)+"px"}if(F.setTop){I.top=(L[1]-M[1]+F.offsetTop)+"px"}if(F.setWidth){I.width=J.get("border-box-width")+"px"}if(F.setHeight){I.height=J.get("border-box-height")+"px"}return Element.setStyle(G,I)}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;
6819/*!
6820* Sizzle CSS Selector Engine v@VERSION
6821* http://sizzlejs.com/
6822*
6823* Copyright 2013 jQuery Foundation, Inc. and other contributors
6824* Released under the MIT license
6825* http://jquery.org/license
6826*
6827* Date: @DATE
6828*/
6829(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}
6829"+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);
6829if(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)}
6829,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||[];
6829if(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(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}}
6829function 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 z=function(X){return false};if(window.attachEvent){if(window.addEventListener){z=function(X){return !(X instanceof window.Event)}}else{z=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 z(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(!z(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)}
6829var 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 A(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=A(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=A(ac);var X=Y[Z];if(!X){return}var ab=X.length,ae;while(ab--){if(X[ab].handler===ad){ae=X[ab];break}}if(!ae){return}var aa=X.indexOf(ae);X.splice(aa,1);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(ab,Z){var Y=A(ab);var X=Y[Z];if(!X){return}delete Y[Z];var aa=X.length;while(aa--){a(ab,Z,X[aa].responder)}}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(l){var k=Event.cache[i].element;if(Object.isUndefined(l.eventName)){return false}if(l.eventName!==h){return false}Event.extend(l,k);j.call(k,l)}}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.Methods.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().str
6829ip();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)}})})();;
6830(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);;
6831(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.apply==="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}}
6831else{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]}
6831else{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("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}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={}}
6831b.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);;
6832String.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)}
6832try{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";
6832c.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}});
6832"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});
6832return 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)}
6832,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)}
6832,_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)};;
6833var 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=" "}
6833if(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)}
6833,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()});;
6834"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);
6834b.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("&amp;","&"):"";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);
6834if(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;
6834b++){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)};;
6835(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);;
6836(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);;
6837/*!
6838* jQuery idleTimer plugin
6839* version 0.9.100511 => JCMS:FIX PATCH
6840* by Paul Irish.
6841*   http://github.com/paulirish/yui-misc/tree/
6842* MIT license
6843* adapted from YUI idle timer by nzakas:
6844*   http://github.com/nzakas/yui-misc/
6845*/
6846(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);;
6847/*!
6848* jQuery Cookie Plugin v1.4.1
6849* https://github.com/carhartl/jquery-cookie
6850*
6851* Copyright 2013 Klaus Hartl
6852* Released under the MIT license
6853*/
6854(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)}}));;
6855!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||""}
6855,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}
6855u.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(
6855p)}).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);;
6856!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);;
6857!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," ");
6857if(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);;
6858!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);;
6859!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);
6859if(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()};;
6860!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);;
6861!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);
6861if(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);;
6862!(function(g){var b=function(){g.fn.popover.Constructor.DEFAULTS.sanitize=false;g(document).on("click","IMG.note",p);g(document).idleTimer(500,{name:"Hover"});g(document).on("Hover.idle",function(t){var s=g(t.timer.target);if(t.timer.activeElement){return}if(s.closest("DIV.popover.tt").exists()){return}if(s.closest(".dropdown-menu").exists()){return}c(s);e(s)});g(document).on("click",".ctxTooltipMenu",function(t){var s=g(t.currentTarget);e(s,true)});g(document).on("click",".ctxTooltipCard",function(t){var s=g(t.currentTarget);c(s,true)});g(document).on("mouseup",n);g(document).on("jalios:refresh",l);g(document).on("jalios:refresh",d)};var d=function(t){var s=g.jalios.Event.match(t,"refresh","after");if(!s){return}g(".tt-member2 .profile-contact-channel").tooltip()};var n=function(t){var s=g(t.target);if(!s.is("BUTTON.close")&&s.closest("DIV.popover.tt").exists()){return}if(s.data("bs.popover")){return}g("DIV.popover.tt").not(".tt-static").removeClass("in").hide()};var l=function(t){var s=g.jalios.Event.match(t,"refresh","before");if(!s){return}g("DIV.popover.tt").not(s.$target).removeClass("in").hide()};var h='<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 p=function(u){var s=g(u.target);var t=s.next("DIV.note").html();s.popover({html:true,template:h,container:"body",placement:"auto",content:t}).popover("show")};var j='<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 c=function(t,A){if(!t){return}if(g("BODY").hasClass("jcms-ttcard-disabled")){return}if(!t.is(".ctxTooltipCard")){var t=t.closest("A.ctxTooltipCard");if(!t.exists()){return}}if(t.prop("tagName")=="A"&&A){return}if(a(t,A)){return}
6862if(t.closest(".noTooltipCard").exists()){return}var z=t.data("bs.popover");var y=t.data("popover-html");var x=z?z.tip():null;g("DIV.popover.tt").not(x).removeClass("in").hide();var v=new Date().getTime();if(y&&m+2000>v){t.popover({trigger:"manual",html:true,container:"body",delay:{show:500,hide:10000},template:j,content:y}).popover("show");return}m=v;var u=t.getJcmsId();var w=t.attr("class").replace("ID_"+u,"").replace("ctxTooltipCard","").replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|");var s="jcore/tooltip/ttCard.jsp?ttId="+encodeURIComponent(u)+"&ttContext="+encodeURIComponent(w);g.ajax({url:s,dataType:"html",cache:true,success:function(B){var C=g("<DIV/>").html(B);let popoverCss=C.find("[data-jalios-ttcard-class]").data("jalios-ttcard-class");C.imagesLoaded(function(){t.popover({trigger:"manual",html:true,container:"body",delay:{show:500,hide:10000},template:j,placement:"auto",content:B});t.popover("show");z=t.data("bs.popover");z.refreshInProgress=true;z.$tip.addClass(popoverCss);t.data("popover-html",y);if(!B){z.refreshInProgress=false;x.hide();return}z.refreshInProgress=false;g.jalios.AjaxRefresh.triggerRefreshEvent(g.jalios.AjaxRefresh.RefreshEventType.AFTER,s,z.$tip);r(t,z)})}})};const r=function(s,u){s.removeAttr("aria-describedby");u&&u.$tip&&u.$tip.attr("aria-hidden","true");const t=g.jalios.a11y.getFocusInformation(u.$tip);t&&t.$focusableElements&&t.$focusableElements.attr("tabindex","-1")};var m=0;var q=function(){var s=g(this);return s.data("popover-html")||j};var k='<div class="popover tt tip no-focus"><div class="arrow"></div><div class="popover-content ajax-refresh-div"></div></div>';var e=function(s,t){if(!s){return}if(!s.is(".ctxTooltipMenu")){return}if(s.prop("tagName")=="A"&&t){return}if(a(s,t)){return}var u=s.offset();if(u.top==0&&u.left==0){return}s.popover({trigger:"manual",html:true,container:"body",delay:{show:1000,hide:5000},template:k,placement:"auto left",content:f});i.call(s[0]);s.popover("show")};var f=function(){var s=g(this);return s.data("popover-html")||k};var i=function(){var x=g(this);var v=x.data("popover-html");var w=x.data("bs.popover");var z=x.data("bs.popover").tip();if(w.refreshInProgress==true){return v}g("DIV.popover.tt").not(z).removeClass("in").hide();var t=new Date().getTime();if(v&&m+2000>t){return o(x,z,v)}m=t;var s=x.attr("data-jalios-longdesc")||x.attr("data-jalios-tt-url");if(!s){s=x.attr("longDesc")}if(s){s+=(s.indexOf("?")>0?"&":"?")+"d="+new Date().getTime();x.refresh({url:s,target:z.find(".popover-content"),nohistory:true,noscroll:true,callback:function(A,B){if(!B){w.refreshInProgress=false;z.hide();return}w.refreshInProgress=true;o(x,z,B,true);w.show();w.refreshInProgress=false}})}else{if(x.attr("title")){var y='<p class="tip-content">'+x.attr("title")+"</p>";x.removeAttr("title");o(x,z,y);return y}else{if(x.attr("data-original-title")){var y='<p class="tip-content">'+x.attr("data-original-title")+"</p>";x.removeAttr("data-original-title");o(x,z,y);return y}else{if(v){o(x,z,v);return v}else{var u=x.nextAll(".ctxTooltip");if(!u.exists()){u=x.parent().nextAll(".ctxTooltip")}o(x,z,u.first().html());w.show()}}}}return"..."};var o=function(u,v,s,t){if(!s){v.hide();return}if(!t){v.find(".popover-content").html(s)}u.data("popover-html",s);return s};var a=function(t,u){if(!t.data("bs.popover")){return false}var v=t.data("bs.popover").$tip;if(v.hasClass("in")){if(u){v.removeClass("in").hide()}return true}var s=new Date().getTime();if(m+10000<s){return false}g("DIV.popover.tt").removeClass("in").hide();t.popover("show");return true};g(document).ready(function(s){b()})})(window.jQuery);;
6863!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";
6863d.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;if(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};;
6864!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);;
6865!function ($) {
6866let isCtrlKeyPressed = false;
6867const CTRL_KEY = 17;
6868const LEFT_CLICK = 1;
6869const MIDDLE_CLICK = 2;
6870const callback = function(event) {
6871// Listening on "click" and "mouseup"
6872// If "click" event, continue
6873// If "mouseup" event, only continue if it is a middleclick (which == 2)
6874// Else, return now.
6875let isMiddleClick = event.which === MIDDLE_CLICK;
6876const isFocusedClick = $.jalios.a11y.isFocusedClick(event);
6877if (event.type === "mouseup" && !isMiddleClick) {
6878return;
6879}
6880if (!isFocusedClick && !isMiddleClick) {
6881return;
6882}
6883const $elm = $(event.currentTarget);
6884const $target = $(event.target);
6885// Prevent link inside a clickable container to be handled by clickable event
6886if($target.data("jalios-action") && $target.data("jalios-action") != "clickable"){
6887return;
6888}
6889if ($target.is("A") || $target.is(":input")) {
6890return true;
6891}
6892event.stopPropagation();
6893event.stopImmediatePropagation();
6894event.preventDefault();
6895let url = null;
6896const $links = $("A", $elm);
6897const dataUrl = $elm.data("jalios-url");
6898if (dataUrl) {
6899url = dataUrl;
6900} else if ($links.exists()) { // fallback to the first link found
6901url = $links.first().prop("href");
6902}
6903if (url) {
6904const options = $elm.data("jalios-options");
6905const eventWhich = event.which === undefined ? 1 : event.which;
6906const isLeftClick = eventWhich === LEFT_CLICK;
6907if(!options || !options.mode || options.mode === 'normal') {
6908// IE do not allow new tab to be opened through javascript
6909// Firefox does allow it, but needs the user to accept Firefox to open popups from the domain
6910let isBrowserHandleNewTab = $("BODY").hasClass("browser-Chrome");
6911isBrowserHandleNewTab |= $("BODY").hasClass("browser-Firefox");
6912if (isLeftClick || isFocusedClick) {
6913if (isBrowserHandleNewTab && (options && options.target === "_blank" || isCtrlKeyPressed)) {
6914// Handle options.target = "_blank"
6915const win = window.open(url, '_blank');
6916} else {
6917document.location.href = url.startsWith("http") ? url : document.getElementsByTagName('base')[0].href + url;
6918}
6919} else if (isBrowserHandleNewTab && eventWhich === MIDDLE_CLICK) {
6920event.preventDefault();
6921const win = parent.window.open(url, '_blank');
6922}
6923} else if(options.mode === 'modal') {
6924if (isLeftClick || isFocusedClick) {
6925$.jalios.ui.Modal.openFromUrl(url, options);
6926}
6927} else if(options.mode === 'ajax') {
6928if (isLeftClick || isFocusedClick) {
6929// If there is no ajax options defined (just the mode option defined), add the url in o
6929ptions
6930if($.jalios.Common.size(options) === 1) {
6931options.url = url;
6932}
6933$elm.refresh(options);
6934}
6935}
6936}
6937};
6938var onKeyDown = function(event) {
6939if (event.which === CTRL_KEY) {
6940isCtrlKeyPressed = true;
6941}
6942};
6943var register = function() {
6944$(document).on("mouseup click keydown", ".clickable[data-jalios-url], [data-jalios-action='clickable']", callback);
6945$(document).keydown(onKeyDown);
6946$(document).keyup( function() {
6947isCtrlKeyPressed = false;
6948});
6949};
6950// Plugin initialization on DOM ready
6951$(document).ready(function($) {
6952register();
6953});
6954}(window.jQuery);;
6955+function(b){function a(){var e=document.createElement("bootstrap");var d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in d){if(e.style[c]!==undefined){return{end:d[c]}}}return false}b.fn.emulateTransitionEnd=function(e){var d=false;var c=this;b(this).one("bsTransitionEnd",function(){d=true});var f=function(){if(!d){b(c).trigger(b.support.transition.end)}};setTimeout(f,e);return this};b(function(){b.support.transition=a();if(!b.support.transition){return}b.event.special.bsTransitionEnd={bindType:b.support.transition.end,delegateType:b.support.transition.end,handle:function(c){if(b(c.target).is(this)){return c.handleObj.handler.apply(this,arguments)}}}})}(jQuery);;
6956+function(e){var d='[data-dismiss="alert"]';var b=function(f){e(f).on("click",d,this.close)};b.VERSION="3.4.1";b.TRANSITION_DURATION=150;b.prototype.close=function(j){var i=e(this);var g=i.attr("data-target");if(!g){g=i.attr("href");g=g&&g.replace(/.*(?=#[^\s]*$)/,"")}g=g==="#"?[]:g;var h=e(document).find(g);if(j){j.preventDefault()}if(!h.length){h=i.closest(".alert")}h.trigger(j=e.Event("close.bs.alert"));if(j.isDefaultPrevented()){return}h.removeClass("in");function f(){h.detach().trigger("closed.bs.alert").remove()}e.support.transition&&h.hasClass("fade")?h.one("bsTransitionEnd",f).emulateTransitionEnd(b.TRANSITION_DURATION):f()};function c(f){return this.each(function(){var h=e(this);var g=h.data("bs.alert");if(!g){h.data("bs.alert",(g=new b(this)))}if(typeof f=="string"){g[f].call(h)}})}var a=e.fn.alert;e.fn.alert=c;e.fn.alert.Constructor=b;e.fn.alert.noConflict=function(){e.fn.alert=a;return this};e(document).on("click.bs.alert.data-api",d,b.prototype.close)}(jQuery);;
6957+function(d){var b=function(f,e){this.options=e;this.$body=d(document.body);this.$element=d(f);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=false;this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom";if(this.options.remote){this.$element.find(".modal-content").load(this.options.remote,d.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}};b.VERSION="3.4.1";b.TRANSITION_DURATION=300;b.BACKDROP_TRANSITION_DURATION=150;b.DEFAULTS={backdrop:true,keyboard:true,show:true};b.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)};b.prototype.show=function(h){var f=this;var g=d.Event("show.bs.modal",{relatedTarget:h});this.$element.trigger(g);if(this.isShown||g.isDefaultPrevented()){return}this.isShown=true;this.checkScrollbar();this.setScrollbar();this.$body.addClass("modal-open");this.escape();this.resize();this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',d.proxy(this.hide,this));this.$dialog.on("mousedown.dismiss.bs.modal",function(){f.$element.one("mouseup.dismiss.bs.modal",function(i){if(d(i.target).is(f.$element)){f.ignoreBackdropClick=true}})});this.backdrop(function(){var j=d.support.transition&&f.$element.hasClass("fade");if(!f.$element.parent().length){f.$element.appendTo(f.$body)}f.$element.show().scrollTop(0);f.adjustDialog();if(j){f.$element[0].offsetWidth}f.$element.addClass("in");f.enforceFocus();var i=d.Event("shown.bs.modal",{relatedTarget:h});j?f.$dialog.one("bsTransitionEnd",function(){f.$element.trigger("focus").trigger(i)}).emulateTransitionEnd(b.TRANSITION_DURATION):f.$element.trigger("focus").trigger(i)})};b.prototype.hide=function(f){if(f){f.preventDefault()}f=d.Event("hide.bs.modal");this.$element.trigger(f);if(!this.isShown||f.isDefaultPrevented()){return}this.isShown=false;this.escape();this.resize();d(document).off("focusin.bs.modal");
6957this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal");this.$dialog.off("mousedown.dismiss.bs.modal");d.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",d.proxy(this.hideModal,this)).emulateTransitionEnd(b.TRANSITION_DURATION):this.hideModal()};b.prototype.enforceFocus=function(){d(document).off("focusin.bs.modal").on("focusin.bs.modal",d.proxy(function(f){if(document!==f.target&&this.$element[0]!==f.target&&!this.$element.has(f.target).length){this.$element.trigger("focus")}},this))};b.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on("keydown.dismiss.bs.modal",d.proxy(function(f){f.which==27&&this.hide()},this))}else{if(!this.isShown){this.$element.off("keydown.dismiss.bs.modal")}}};b.prototype.resize=function(){if(this.isShown){d(window).on("resize.bs.modal",d.proxy(this.handleUpdate,this))}else{d(window).off("resize.bs.modal")}};b.prototype.hideModal=function(){var e=this;this.$element.hide();this.backdrop(function(){e.$body.removeClass("modal-open");e.resetAdjustments();e.resetScrollbar();e.$element.trigger("hidden.bs.modal")})};b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};b.prototype.backdrop=function(i){var h=this;var f=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=d.support.transition&&f;this.$backdrop=d(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body);this.$element.on("click.dismiss.bs.modal",d.proxy(function(j){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false;return}if(j.target!==j.currentTarget){return}this.options.backdrop=="static"?this.$element[0].focus():this.hide()},this));if(e){this.$backdrop[0].offsetWidth}this.$backdrop.addClass("in");if(!i){return}e?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(b.BACKDROP_TRANSITION_DURATION):i()}else{if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){h.removeBackdrop();i&&i()};d.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(b.BACKDROP_TRANSITION_DURATION):g()}else{if(i){i()}}}};b.prototype.handleUpdate=function(){this.adjustDialog()};b.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})};b.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};b.prototype.checkScrollbar=function(){var f=window.innerWidth;if(!f){var e=document.documentElement.getBoundingClientRect();f=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<f;this.scrollbarWidth=this.measureScrollbar()};b.prototype.setScrollbar=function(){var e=parseInt((this.$body.css("padding-right")||0),10);this.originalBodyPad=document.body.style.paddingRight||"";var f=this.scrollbarWidth;if(this.bodyIsOverflowing){this.$body.css("padding-right",e+f);d(this.fixedContent).each(function(h,i){var g=i.style.paddingRight;var j=d(i).css("padding-right");d(i).data("padding-right",g).css("padding-right",parseFloat(j)+f+"px")})}};b.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad);d(this.fixedContent).each(function(e,f){var g=d(f).data("padding-right");d(f).removeData("padding-right");f.style.paddingRight=g?g:""})};b.prototype.measureScrollbar=function(){var f=document.createElement("div");f.className="modal-scrollbar-measure";this.$body.append(f);var e=f.offsetWidth-f.clientWidth;this.$body[0].removeChild(f);return e};function c(e,f){return this.each(function(){var i=d(this);var h=i.data("bs.modal");var g=d.extend({},b.DEFAULTS,i.data(),typeof e=="object"&&e);if(!h){i.data("bs.modal",(h=new b(this,g)))}if(typeof e=="string"){h[e](f)}else{if(g.show){h.show(f)}}})}var a=d.fn.modal;d.fn.modal=c;d.fn.modal.Constructor=b;d.fn.modal.noConflict=function(){d.fn.modal=a;return this};d(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(k){var j=d(this);var g=j.attr("href");var i=j.attr("data-target")||(g&&g.replace(/.*(?=#[^\s]+$)/,""));var f=d(document).find(i);var h=f.data("bs.modal")?"toggle":d.extend({remote:!/#/.test(g)&&g},f.data(),j.data());if(j.is("a")){k.preventDefault()}f.one("show.bs.modal",function(e){if(e.isDefaultPrevented()){return}f.one("hidden.bs.modal",function(){j.is(":visible")&&j.trigger("focus")})});c.call(f,h,this)})}(jQuery);;
6958!(function(h){var e=".dropdown-backdrop";var b='[data-toggle="dropdown"]';var a=function(i){h(i).on("click.bs.dropdown",this.toggle)};a.VERSION="3.4.1";function f(m,j){var k=h.fn.dropdown.getParent(m,j);if(k&&k.exists()){return k}var i=m.attr("data-target");if(!i){i=m.attr("href");i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")}var l=i!=="#"?h(document).find(i):null;return l&&l.length?l:m.parent()}
6958function d(i){if(!h.fn.dropdown.clearMenus(i)){return}if(i&&i.which===3){return}h(e).remove();h(b).each(function(){var l=h(this);var k=f(l);var j={relatedTarget:this};if(!k.hasClass("open")){return}if(i&&i.type=="click"&&/input|textarea/i.test(i.target.tagName)&&h.contains(k[0],i.target)){return}k.trigger((i=h.Event("hide.bs.dropdown",j)));if(i.isDefaultPrevented()){return}l.attr("aria-expanded","false");k.removeClass("open").trigger(h.Event("hidden.bs.dropdown",j))})}a.prototype.toggle=function(m){var l=h(this);if(l.is(".disabled, :disabled")){return}var k=f(l);var j=k.hasClass("open");d(m);if(!j){if("ontouchstart" in document.documentElement&&!k.closest(".navbar-nav").length){h(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(h(this)).on("click",d)}var i={relatedTarget:this};k.trigger((m=h.Event("show.bs.dropdown",i)));if(m.isDefaultPrevented()){return}l.trigger("focus").attr("aria-expanded","true");k.toggleClass("open").trigger(h.Event("shown.bs.dropdown",i))}return false};a.prototype.keydown=function(m){if(!/(38|40|27|32)/.test(m.which)||/input|textarea/i.test(m.target.tagName)){return}if(m.which===32&&h(m.currentTarget).data("toggle")!=="dropdown"&&h(m.target.tagName).is(":button, A[data-jalios-action]")){return}var l=h(this);m.preventDefault();m.stopPropagation();if(l.is(".disabled, :disabled")){return}var k=f(l);var j=k.hasClass("open");if((!j&&m.which!=27)||(j&&m.which==27)){if(m.which==27){k.find(b).trigger("focus")}return l.trigger("click")}var n=k.find(".dropdown-menu li:not(.disabled):visible a, .dropdown-menu li:not(.disabled):visible button");if(!n.length){return}var i=n.index(m.target);if(m.which==38&&i>0){i--}if(m.which==40&&i<n.length-1){i++}if(!~i){i=0}n.eq(i).trigger("focus")};function g(i){return this.each(function(){var k=h(this);var j=k.data("bs.dropdown");if(!j){k.data("bs.dropdown",(j=new a(this)))}if(typeof i=="string"){j[i].call(k)}})}var c=h.fn.dropdown;h.fn.dropdown=g;h.fn.dropdown.Constructor=a;h.fn.dropdown.getParent=function(j,i){return false};h.fn.dropdown.clearMenus=function(i){};h.fn.dropdown.noConflict=function(){h.fn.dropdown=c;return this};h(document).on("click.bs.dropdown.data-api",d).on("click.bs.dropdown.data-api",".dropdown form",function(i){i.stopPropagation()}).on("click.bs.dropdown.data-api",b,a.prototype.toggle).on("keydown.bs.dropdown.data-api",b,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)})(jQuery);;
6959+function(d){var b=function(f){this.element=d(f)};b.VERSION="3.4.1";b.TRANSITION_DURATION=150;b.prototype.show=function(){var l=this.element;var h=l.closest("ul:not(.dropdown-menu)");var g=l.data("target");if(!g){g=l.attr("href");g=g&&g.replace(/.*(?=#[^\s]*$)/,"")}if(l.parent("li").hasClass("active")){return}var j=h.find(".active:last a");var k=d.Event("hide.bs.tab",{relatedTarget:l[0]});var i=d.Event("show.bs.tab",{relatedTarget:j[0]});j.trigger(k);l.trigger(i);if(i.isDefaultPrevented()||k.isDefaultPrevented()){return}var f=d(document).find(g);this.activate(l.closest("li"),h);this.activate(f,f.parent(),function(){j.trigger({type:"hidden.bs.tab",relatedTarget:l[0]});l.trigger({type:"shown.bs.tab",relatedTarget:j[0]})})};b.prototype.activate=function(h,g,k){var f=g.find("> .active");var j=k&&d.support.transition&&(f.length&&f.hasClass("fade")||!!g.find("> .fade").length);function i(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",false);h.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",true);if(j){h[0].offsetWidth;h.addClass("in")}else{h.removeClass("fade")}if(h.parent(".dropdown-menu").length){h.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",true)}k&&k()}f.length&&j?f.one("bsTransitionEnd",i).emulateTransitionEnd(b.TRANSITION_DURATION):i();f.removeClass("in")};function c(f){return this.each(function(){var h=d(this);var g=h.data("bs.tab");if(!g){h.data("bs.tab",(g=new b(this)))}if(typeof f=="string"){g[f]()}})}var a=d.fn.tab;d.fn.tab=c;d.fn.tab.Constructor=b;d.fn.tab.noConflict=function(){d.fn.tab=a;return this};var e=function(f){f.preventDefault();c.call(d(this),"show")};d(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery);;
6960+function(c){var h=["sanitize","whiteList","sanitizeFn"];var j=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"];var l=/^aria-[\w-]*$/i;var d={"*":["class","dir","id","lang","role",l],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:[]};var e=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;var f=/^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 b(m,o){var r=m.nodeName.toLowerCase();if(c.inArray(r,o)!==-1){if(c.inArray(r,j)!==-1){return Boolean(m.nodeValue.match(e)||m.nodeValue.match(f))}return true}var p=c(o).filter(function(s,t){return t instanceof RegExp});for(var q=0,n=p.length;q<n;q++){if(r.match(p[q])){return true}}return false}function g(y,u,z){if(y.length===0){return y}if(z&&typeof z==="function"){return z(y)}if(!document.implementation||!document.implementation.createHTMLDocument){return y}var x=document.implementation.createHTMLDocument("sanitization");x.body.innerHTML=y;var v=c.map(u,function(B,A){return A});var n=c(x.body).find("*");for(var s=0,t=n.length;s<t;s++){var o=n[s];var m=o.nodeName.toLowerCase();if(c.inArray(m,v)===-1){o.parentNode.removeChild(o);continue}var p=c.map(o.attributes,function(A){return A});var w=[].concat(u["*"]||[],u[m]||[]);for(var r=0,q=p.length;r<q;r++){if(!b(p[r],w)){o.removeAttribute(p[r].nodeName)}}}return x.body.innerHTML}var i=function(n,m){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,m)};i.VERSION="3.4.1";i.TRANSITION_DURATION=150;i.DEFAULTS={animation:true,placement:"top",selector:false,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:false,container:false,viewport:{selector:"body",padding:0},sanitize:true,sanitizeFn:null,whiteList:d};i.prototype.init=function(s,q,o){this.enabled=true;this.type=s;this.$element=c(q);this.options=this.getOptions(o);this.$viewport=this.options.viewport&&c(document).find(c.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport));this.inState={click:false,hover:false,focus:false};if(this.$element[0] instanceof document.constructor&&!this.options.selector){throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!")}var r=this.options.trigger.split(" ");for(var p=r.length;p--;){var n=r[p];if(n=="click"){this.$element.on("click."+this.type,this.options.selector,c.proxy(this.toggle,this))}else{if(n!="manual"){var t=n=="hover"?"mouseenter":"focusin";var m=n=="hover"?"mouseleave":"focusout";this.$element.on(t+"."+this.type,this.options.selector,c.proxy(this.enter,this));this.$element.on(m+"."+this.type,this.options.selector,c.proxy(this.leave,this))}}}this.options.selector?(this._options=c.extend({},this.options,{trigger:"manual",selector:""})):this.fixTitle()};i.prototype.getDefaults=function(){return i.DEFAULTS};i.prototype.getOptions=function(m){var n=this.$element.data();for(var o in n){if(n.hasOwnProperty(o)&&c.inArray(o,h)!==-1){delete n[o]}}m=c.extend({},this.getDefaults(),n,m);if(m.delay&&typeof m.delay=="number"){m.delay={show:m.delay,hide:m.delay}}if(m.sanitize){m.template=g(m.template,m.whiteList,m.sanitizeFn)}return m};i.prototype.getDelegateOptions=function(){var m={};var n=this.getDefaults();this._options&&c.each(this._options,function(o,p){if(n[o]!=p){m[o]=p}});return m};i.prototype.enter=function(n){var m=n instanceof this.constructor?n:c(n.currentTarget).data("bs."+this.type);if(!m){m=new this.constructor(n.currentTarget,this.getDelegateOptions());c(n.currentTarget).data("bs."+this.type,m)}if(n instanceof c.Event){m.inState[n.type=="focusin"?"focus":"hover"]=true}if(m.tip().hasClass("in")||m.hoverState=="in"){m.hoverState="in";return}clearTimeout(m.timeout);m.hoverState="in";if(!m.options.delay||!m.options.delay.show){return m.show()}m.timeout=setTimeout(function(){if(m.hoverState=="in"){m.show()}},m.options.delay.show)};i.prototype.isInStateTrue=function(){for(var m in this.inState){if(this.inState[m]){return true}}return false};i.prototype.leave=function(n){var m=n instanceof this.constructor?n:c(n.currentTarget).data("bs."+this.type);if(!m){m=new this.constructor(n.currentTarget,this.getDelegateOptions());c(n.currentTarget).data("bs."+this.type,m)}if(n instanceof c.Event){m.inState[n.type=="focusout"?"focus":"hover"]=false}if(m.isInStateTrue()){return}clearTimeout(m.timeout);m.hoverState="out";if(!m.options.delay||!m.options.delay.hide){return m.hide()}m.timeout=setTimeout(function(){if(m.hoverState=="out"){m.hide()}},m.options.delay.hide)};i.prototype.show=function(){var v=c.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(v);var w=c.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(v.isDefaultPrevented()||!w){return}var u=this;var s=this.tip();var o=this.getUID(this.type);this.setContent();s.attr("id",o);this.$element.attr("aria-describedby",o);if(this.options.animation){s.addClass("fade")}var r=typeof this.options.placement=="function"?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement;var z=/\s?auto?\s?/i;var A=z.test(r);if(A){r=r.replace(z,"")||"top"}s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this);this.options.container?s.appendTo(c(document).find(this.options.container)):s.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var x=this.getPosition();var m=s[0].offsetWidth;var t=s[0].offsetHeight;if(A){var q=r;var y=this.getPosition(this.$viewport);r=r=="bottom"&&x.bottom+t>y.bottom?"top":r=="top"&&x.top-t<y.top?"bottom":r=="right"&&x.right+m>y.width?"left":r=="left"&&x.left-m<y.left?"right":r;s.removeClass(q).addClass(r)}var p=this.getCalculatedOffset(r,x,m,t);this.applyPlacement(p,r);var n=function(){var B=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;if(B=="out"){u.leave(u)}};c.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n()}};i.prototype.applyPlacement=function(r,s){var t=this.tip();var o=t[0].offsetWidth;var y=t[0].offsetHeight;var n=parseInt(t.css("margin-top"),10);var q=parseInt(t.css("margin-left"),10);if(isNaN(n)){n=0}if(isNaN(q)){q=0}r.top+=n;r.left+=q;c.offset.setOffset(t[0],c.extend({using:function(z){t.css({top:Math.round(z.top),left
6960:Math.round(z.left)})}},r),0);t.addClass("in");var m=t[0].offsetWidth;var u=t[0].offsetHeight;if(s=="top"&&u!=y){r.top=r.top+y-u}var x=this.getViewportAdjustedDelta(s,r,m,u);if(x.left){r.left+=x.left}else{r.top+=x.top}var v=/top|bottom/.test(s);var p=v?x.left*2-o+m:x.top*2-y+u;var w=v?"offsetWidth":"offsetHeight";t.offset(r);this.replaceArrow(p,t[0][w],v)};i.prototype.replaceArrow=function(o,m,n){this.arrow().css(n?"left":"top",50*(1-o/m)+"%").css(n?"top":"left","")};i.prototype.setContent=function(){var n=this.tip();var m=this.getTitle();if(this.options.html){if(this.options.sanitize){m=g(m,this.options.whiteList,this.options.sanitizeFn)}n.find(".tooltip-inner").html(m)}else{n.find(".tooltip-inner").text(m)}n.removeClass("fade in top bottom left right")};i.prototype.hide=function(q){var n=this;var p=c(this.$tip);var o=c.Event("hide.bs."+this.type);function m(){if(n.hoverState!="in"){p.detach()}if(n.$element){n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type)}q&&q()}this.$element.trigger(o);if(o.isDefaultPrevented()){return}p.removeClass("in");c.support.transition&&p.hasClass("fade")?p.one("bsTransitionEnd",m).emulateTransitionEnd(i.TRANSITION_DURATION):m();this.hoverState=null;return this};i.prototype.fixTitle=function(){var m=this.$element;if(m.attr("title")||typeof m.attr("data-original-title")!="string"){m.attr("data-original-title",m.attr("title")||"").attr("title","")}};i.prototype.hasContent=function(){return this.getTitle()};i.prototype.getPosition=function(o){o=o||this.$element;var q=o[0];var n=q.tagName=="BODY";var p=q.getBoundingClientRect();if(p.width==null){p=c.extend({},p,{width:p.right-p.left,height:p.bottom-p.top})}var s=window.SVGElement&&q instanceof window.SVGElement;var t=n?{top:0,left:0}:(s?null:o.offset());var m={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:o.scrollTop()};var r=n?{width:c(window).width(),height:c(window).height()}:null;return c.extend({},p,m,r,t)};i.prototype.getCalculatedOffset=function(m,p,n,o){return m=="bottom"?{top:p.top+p.height,left:p.left+p.width/2-n/2}:m=="top"?{top:p.top-o,left:p.left+p.width/2-n/2}:m=="left"?{top:p.top+p.height/2-o/2,left:p.left-n}:{top:p.top+p.height/2-o/2,left:p.left+p.width}};i.prototype.getViewportAdjustedDelta=function(p,s,m,r){var u={top:0,left:0};if(!this.$viewport){return u}var o=this.options.viewport&&this.options.viewport.padding||0;var t=this.getPosition(this.$viewport);if(/right|left/.test(p)){var v=s.top-o-t.scroll;var q=s.top+o-t.scroll+r;if(v<t.top){u.top=t.top-v}else{if(q>t.top+t.height){u.top=t.top+t.height-q}}}else{var w=s.left-o;var n=s.left+o+m;if(w<t.left){u.left=t.left-w}else{if(n>t.right){u.left=t.left+t.width-n}}}return u};i.prototype.getTitle=function(){var p;var m=this.$element;var n=this.options;p=m.attr("data-original-title")||(typeof n.title=="function"?n.title.call(m[0]):n.title);return p};i.prototype.getUID=function(m){do{m+=~~(Math.random()*1000000)}while(document.getElementById(m));return m};i.prototype.tip=function(){if(!this.$tip){this.$tip=c(this.options.template);if(this.$tip.length!=1){throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")}}return this.$tip};i.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow"))};i.prototype.enable=function(){this.enabled=true};i.prototype.disable=function(){this.enabled=false};i.prototype.toggleEnabled=function(){this.enabled=!this.enabled};i.prototype.toggle=function(n){var m=this;if(n){m=c(n.currentTarget).data("bs."+this.type);if(!m){m=new this.constructor(n.currentTarget,this.getDelegateOptions());c(n.currentTarget).data("bs."+this.type,m)}}if(n){m.inState.click=!m.inState.click;if(m.isInStateTrue()){m.enter(m)}else{m.leave(m)}}else{m.tip().hasClass("in")?m.leave(m):m.enter(m)}};i.prototype.destroy=function(){var m=this;clearTimeout(this.timeout);this.hide(function(){m.$element.off("."+m.type).removeData("bs."+m.type);if(m.$tip){m.$tip.detach()}m.$tip=null;m.$arrow=null;m.$viewport=null;m.$element=null})};i.prototype.sanitizeHtml=function(m){return g(m,this.options.whiteList,this.options.sanitizeFn)};function k(m){return this.each(function(){var p=c(this);var o=p.data("bs.tooltip");var n=typeof m=="object"&&m;if(!o&&/destroy|hide/.test(m)){return}if(!o){p.data("bs.tooltip",(o=new i(this,n)))}if(typeof m=="string"){o[m]()}})}var a=c.fn.tooltip;c.fn.tooltip=k;c.fn.tooltip.Constructor=i;c.fn.tooltip.noConflict=function(){c.fn.tooltip=a;return this}}(jQuery);;
6961+function(d){var c=function(f,e){this.init("popover",f,e)};if(!d.fn.tooltip){throw new Error("Popover requires tooltip.js")}c.VERSION="3.4.1";c.DEFAULTS=d.extend({},d.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'});c.prototype=d.extend({},d.fn.tooltip.Constructor.prototype);c.prototype.constructor=c;c.prototype.getDefaults=function(){return c.DEFAULTS};c.prototype.setContent=function(){var g=this.tip();var f=this.getTitle();var e=this.getContent();if(this.options.html){var h=typeof e;if(this.options.sanitize){f=this.sanitizeHtml(f);
6961if(h==="string"){e=this.sanitizeHtml(e)}}g.find(".popover-title").html(f);g.find(".popover-content").children().detach().end()[h==="string"?"html":"append"](e)}else{g.find(".popover-title").text(f);g.find(".popover-content").children().detach().end().text(e)}g.removeClass("fade top bottom left right in");if(!g.find(".popover-title").html()){g.find(".popover-title").hide()}};c.prototype.hasContent=function(){return this.getTitle()||this.getContent()};c.prototype.getContent=function(){var e=this.$element;var f=this.options;return e.attr("data-content")||(typeof f.content=="function"?f.content.call(e[0]):f.content)};c.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find(".arrow"))};function b(e){return this.each(function(){var h=d(this);var g=h.data("bs.popover");var f=typeof e=="object"&&e;if(!g&&/destroy|hide/.test(e)){return}if(!g){h.data("bs.popover",(g=new c(this,f)))}if(typeof e=="string"){g[e]()}})}var a=d.fn.popover;d.fn.popover=b;d.fn.popover.Constructor=c;d.fn.popover.noConflict=function(){d.fn.popover=a;return this}}(jQuery);;
6962+function(d){var b=function(f,e){this.$element=d(f);this.options=d.extend({},b.DEFAULTS,e);this.isLoading=false};b.VERSION="3.4.1";b.DEFAULTS={loadingText:"loading..."};b.prototype.setState=function(g){var i="disabled";var e=this.$element;var h=e.is("input")?"val":"html";var f=e.data();g+="Text";if(f.resetText==null){e.data("resetText",e[h]())}setTimeout(d.proxy(function(){e[h](f[g]==null?this.options[g]:f[g]);if(g=="loadingText"){this.isLoading=true;e.addClass(i).attr(i,i).prop(i,true)}else{if(this.isLoading){this.isLoading=false;e.removeClass(i).removeAttr(i).prop(i,false)}}},this),0)};b.prototype.toggle=function(){var f=true;var e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var g=this.$element.find("input");if(g.prop("type")=="radio"){if(g.prop("checked")){f=false}e.find(".active").removeClass("active");this.$element.addClass("active")}else{if(g.prop("type")=="checkbox"){if((g.prop("checked"))!==this.$element.hasClass("active")){f=false}this.$element.toggleClass("active")}}g.prop("checked",this.$element.hasClass("active"));if(f){g.trigger("change")}}else{this.$element.attr("aria-pressed",!this.$element.hasClass("active"));this.$element.toggleClass("active")}};function c(e){return this.each(function(){var h=d(this);var g=h.data("bs.button");var f=typeof e=="object"&&e;if(!g){h.data("bs.button",(g=new b(this,f)))}if(e=="toggle"){g.toggle()}else{if(e){g.setState(e)}}})}var a=d.fn.button;d.fn.button=c;d.fn.button.Constructor=b;d.fn.button.noConflict=function(){d.fn.button=a;return this};d(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(g){var f=d(g.target).closest(".btn");c.call(f,"toggle");if(!(d(g.target).is('input[type="radio"], input[type="checkbox"]'))){g.preventDefault();if(f.is("input,button")){f.trigger("focus")}else{f.find("input:visible,button:visible").first().trigger("focus")}}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(f){d(f.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(f.type))})}(jQuery);;
6963+function(d){var e=function(g,f){this.$element=d(g);this.options=d.extend({},e.DEFAULTS,f);this.$trigger=d('[data-toggle="collapse"][href="#'+g.id+'"],[data-toggle="collapse"][data-target="#'+g.id+'"]');this.transitioning=null;if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)}if(this.options.toggle){this.toggle()}};e.VERSION="3.4.1";e.TRANSITION_DURATION=350;e.DEFAULTS={toggle:true};e.prototype.dimension=function(){var f=this.$element.hasClass("width");return f?"width":"height"};e.prototype.show=function(){if(this.transitioning||this.$element.hasClass("in")){return}var h;var j=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(j&&j.length){h=j.data("bs.collapse");if(h&&h.transitioning){return}}var g=d.Event("show.bs.collapse");this.$element.trigger(g);if(g.isDefaultPrevented()){return}if(j&&j.length){b.call(j,"hide");h||j.data("bs.collapse",null)}var k=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[k](0).attr("aria-expanded",true);this.$trigger.removeClass("collapsed").attr("aria-expanded",true);this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("collapse in")[k]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")};if(!d.support.transition){return f.call(this)}
6963var i=d.camelCase(["scroll",k].join("-"));this.$element.one("bsTransitionEnd",d.proxy(f,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[k](this.$element[0][i])};e.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass("in")){return}var g=d.Event("hide.bs.collapse");this.$element.trigger(g);if(g.isDefaultPrevented()){return}var h=this.dimension();this.$element[h](this.$element[h]())[0].offsetHeight;this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",false);this.$trigger.addClass("collapsed").attr("aria-expanded",false);this.transitioning=1;var f=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!d.support.transition){return f.call(this)}this.$element[h](0).one("bsTransitionEnd",d.proxy(f,this)).emulateTransitionEnd(e.TRANSITION_DURATION)};e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};e.prototype.getParent=function(){return d(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(d.proxy(function(h,g){var f=d(g);this.addAriaAndCollapsedClass(c(f),f)},this)).end()};e.prototype.addAriaAndCollapsedClass=function(g,f){var h=g.hasClass("in");g.attr("aria-expanded",h);f.toggleClass("collapsed",!h).attr("aria-expanded",h)};function c(f){var g;var h=f.attr("data-target")||(g=f.attr("href"))&&g.replace(/.*(?=#[^\s]+$)/,"");return d(document).find(h)}function b(f){return this.each(function(){var i=d(this);var h=i.data("bs.collapse");var g=d.extend({},e.DEFAULTS,i.data(),typeof f=="object"&&f);if(!h&&g.toggle&&/show|hide/.test(f)){g.toggle=false}if(!h){i.data("bs.collapse",(h=new e(this,g)))}if(typeof f=="string"){h[f]()}})}var a=d.fn.collapse;d.fn.collapse=b;d.fn.collapse.Constructor=e;d.fn.collapse.noConflict=function(){d.fn.collapse=a;return this};d(document).on("click.bs.collapse.data-api, keydown.bs.collapse.data-api",'[data-toggle="collapse"]',function(j){if(!d.jalios.a11y.isFocusedClick(j)){return}var i=d(this);if(!i.attr("data-target")){j.preventDefault()}var f=c(i);var h=f.data("bs.collapse");var g=h?"toggle":i.data();b.call(f,g)})}(jQuery);;
6964!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));
6964if(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);;
6965(function(a){var b=function(d,c){this.$element=a(d);this.$note=a('<div class="notif"></div>');this.options=a.extend(true,{},a.fn.notify.defaults,c);this._link=null;if(this.options.transition){if(this.options.transition==="fade"){this.$note.addClass("in").addClass(this.options.transition)}else{this.$note.addClass(this.options.transition)}}else{this.$note.addClass("fade").addClass("in")}if(this.options.type){this.$note.addClass("alert-"+this.options.type)}else{this.$note.addClass("alert-success")}if(this.options.message){if(typeof this.options.message==="string"){this.$note.html(this.options.message)}else{if(typeof this.options.message==="object"){if(this.options.message.html){this.$note.html(this.options.message.html)}else{if(this.options.message.text){this.$note.text(this.options.message.text)}}}}}if(this.options.closable){this._link=a('<a class="close pull-right">&times;</a>'),a(this._link).on("click",a.proxy(b.onClose,this)),this.$note.prepend(this._link)}if(this.options.icon){this.$note.prepend('<i class="icon-'+this.options.icon+'"></i> ')}return this};b.onClose=function(){this.options.onClose();a(this.$note).remove();this.options.onClosed()};b.prototype.show=function(){if(this.options.fadeOut.enabled){this.$note.delay(this.options.fadeOut.delay||3000).fadeOut("slow",a.proxy(b.onClose,this))}this.$element.append(this.$note);this.$note.alert()};b.prototype.hide=function(){if(this.options.fadeOut.enabled){this.$note.delay(this.options.fadeOut.delay||3000).fadeOut("slow",a.proxy(b.onClose,this))}else{b.onClose.call(this)}};a.fn.notify=function(c){return new b(this,c)};a.fn.notify.defaults={type:"success",closable:true,transition:"fade",icon:false,fadeOut:{enabled:true,delay:3000},message:null,onClose:function(){},onClosed:function(){}}})(window.jQuery);;
6966!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))))}
6966if(typeof d=="string"){f[d]()}})};c.fn.tabdrop.defaults={text:'<i class="icon-align-justify"></i>'};c.fn.tabdrop.Constructor=a}(window.jQuery);;
6967/*! version : 4.14.30
6968=========================================================
6969bootstrap-datetimejs
6970https://github.com/Eonasdan/bootstrap-datetimepicker
6971Copyright (c) 2015 Jonathan Peterson
6972=========================================================
6973*/
6974(function(a){if(typeof define==="function"&&define.amd){define(["jquery","moment"],a)}else{if(typeof exports==="object"){a(require("jquery"),require("moment"))}else{if(typeof jQuery==="undefined"){throw"bootstrap-datetimepicker requires jQuery to be loaded first"}if(typeof moment==="undefined"){throw"bootstrap-datetimepicker requires Moment.js to be loaded first"}a(jQuery,moment)}}}(function(b,c){if(!c){throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first")}var a=function(u,A){var o={},aj=c().startOf("d"),ae=aj.clone(),Q=true,j,ak=false,L=false,h,S=0,w,ao,r,ab=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],al=["days","months","years","decades"],s=["top","bottom","auto"],i=["left","right","auto"],an=["default","top","bottom"],B={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},ah={},af=function(ar){if(typeof ar!=="string"||ar.length>1){throw new TypeError("isEnabled expects a single character string parameter")}switch(ar){case"y":return w.indexOf("Y")!==-1;case"M":return w.indexOf("M")!==-1;case"d":return w.toLowerCase().indexOf("d")!==-1;case"h":case"H":return w.toLowerCase().indexOf("h")!==-1;case"m":return w.indexOf("m")!==-1;case"s":return w.indexOf("s")!==-1;default:return false}},E=function(){return(af("h")||af("m")||af("s"))},K=function(){return(af("y")||af("M")||af("d"))},l=function(){var at=b("<thead>").append(b("<tr>").append(b("<th>").addClass("prev").attr("data-action","previous").append(b("<span>").addClass(A.icons.previous))).append(b("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",(A.calendarWeeks?"6":"5"))).append(b("<th>").addClass("next").attr("data-action","next").append(b("<span>").addClass(A.icons.next)))),ar=b("<tbody>").append(b("<tr>").append(b("<td>").attr("colspan",(A.calendarWeeks?"8":"7"))));return[b("<div>").addClass("datepicker-days").append(b("<table>").addClass("table-condensed").append(at).append(b("<tbody>"))),b("<div>").addClass("datepicker-months").append(b("<table>").addClass("table-condensed").append(at.clone()).append(ar.clone())),b("<div>").addClass("datepicker-years").append(b("<table>").addClass("table-condensed").append(at.clone()).append(ar.clone())),b("<div>").addClass("datepicker-decades").append(b("<table>").addClass("table-condensed").append(at.clone()).append(ar.clone()))]},O=function(){var ar=b("<tr>"),at=b("<tr>"),au=b("<tr>");if(af("h")){ar.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Increment Hour"}).addClass("btn").attr("data-action","incrementHours").append(b("<span>").addClass(A.icons.up))));at.append(b("<td>").append(b("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:"Pick Hour"}).attr("data-action","showHours")));au.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Hour"}).addClass("btn").attr("data-action","decrementHours").append(b("<span>").addClass(A.icons.down))))}if(af("m")){if(af("h")){ar.append(b("<td>").addClass("separator"));at.append(b("<td>").addClass("separator").html(":"));au.append(b("<td>").addClass("separator"))}ar.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Increment Minute"}).addClass("btn").attr("data-action","incrementMinutes").append(b("<span>").addClass(A.icons.up))));at.append(b("<td>").append(b("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:"Pick Minute"}).attr("data-action","showMinutes")));au.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Minute"}).addClass("btn").attr("data-action","decrementMinutes").append(b("<span>").addClass(A.icons.down))))}if(af("s")){if(af("m")){ar.append(b("<td>").addClass("separator"));at.append(b("<td>").addClass("separator").html(":"));au.append(b("<td>").addClass("separator"))}ar.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Increment Second"}).addClass("btn").attr("data-action","incrementSeconds").append(b("<span>").addClass(A.icons.up))));
6974at.append(b("<td>").append(b("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:"Pick Second"}).attr("data-action","showSeconds")));au.append(b("<td>").append(b("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Second"}).addClass("btn").attr("data-action","decrementSeconds").append(b("<span>").addClass(A.icons.down))))}if(!h){ar.append(b("<td>").addClass("separator"));at.append(b("<td>").append(b("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:"Toggle Period"})));au.append(b("<td>").addClass("separator"))}return b("<div>").addClass("timepicker-picker").append(b("<table>").addClass("table-condensed").append([ar,at,au]))},P=function(){var at=b("<div>").addClass("timepicker-hours").append(b("<table>").addClass("table-condensed")),ar=b("<div>").addClass("timepicker-minutes").append(b("<table>").addClass("table-condensed")),av=b("<div>").addClass("timepicker-seconds").append(b("<table>").addClass("table-condensed")),au=[O()];if(af("h")){au.push(at)}if(af("m")){au.push(ar)}if(af("s")){au.push(av)}return au},aa=function(){var ar=[];if(A.showTodayButton){ar.push(b("<td>").append(b("<a>").attr({"data-action":"today",title:"Go to today"}).append(b("<span>").addClass(A.icons.today))))}if(!A.sideBySide&&K()&&E()){ar.push(b("<td>").append(b("<a>").attr({"data-action":"togglePicker",title:"Select Time"}).append(b("<span>").addClass(A.icons.time))))}if(A.showClear){ar.push(b("<td>").append(b("<a>").attr({"data-action":"clear",title:"Clear selection"}).append(b("<span>").addClass(A.icons.clear))))}if(A.showClose){ar.push(b("<td>").append(b("<a>").attr({"data-action":"close",title:"Close the picker"}).append(b("<span>").addClass(A.icons.close))))}return b("<table>").addClass("table-condensed").append(b("<tbody>").append(b("<tr>").append(ar)))},aq=function(){var au=b("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),ar=b("<div>").addClass("datepicker").append(l()),at=b("<div>").addClass("timepicker").append(P()),aw=b("<ul>").addClass("list-unstyled"),av=b("<li>").addClass("picker-switch"+(A.collapse?" accordion-toggle":"")).append(aa());if(A.inline){au.removeClass("dropdown-menu")}if(h){au.addClass("usetwentyfour")}if(af("s")&&!h){au.addClass("wider")}if(A.sideBySide&&K()&&E()){au.addClass("timepicker-sbs");au.append(b("<div>").addClass("row").append(ar.addClass("col-sm-6")).append(at.addClass("col-sm-6")));au.append(av);return au}if(A.toolbarPlacement==="top"){aw.append(av)}if(K()){aw.append(b("<li>").addClass((A.collapse&&E()?"collapse in":"")).append(ar))}if(A.toolbarPlacement==="default"){aw.append(av)}if(E()){aw.append(b("<li>").addClass((A.collapse&&K()?"collapse":"")).append(at))}if(A.toolbarPlacement==="bottom"){aw.append(av)}return au.append(aw)},d=function(){var ar,at={};if(u.is("input")||A.inline){ar=u.data()}else{ar=u.find("input").data()}if(ar.dateOptions&&ar.dateOptions instanceof Object){at=b.extend(true,at,ar.dateOptions)}b.each(A,function(av){var au="date"+av.charAt(0).toUpperCase()+av.slice(1);if(ar[au]!==undefined){at[av]=ar[au]}});return at},m=function(){var ar=(ak||u).position(),aw=(ak||u).offset(),au=A.widgetPositioning.vertical,at=A.widgetPositioning.horizontal,av;if(A.widgetParent){av=A.widgetParent.append(L)}else{if(u.is("input")){av=u.after(L).parent()}else{if(A.inline){av=u.append(L);return}else{av=u;u.children().first().after(L)}}}if(au==="auto"){if(aw.top+L.height()*1.5>=b(window).height()+b(window).scrollTop()&&L.height()+u.outerHeight()<aw.top){au="top"}else{au="bottom"}}if(at==="auto"){if(av.width()<aw.left+L.outerWidth()/2&&aw.left+L.outerWidth()>b(window).width()){at="right"}else{at="left"}}if(au==="top"){L.addClass("top").removeClass("bottom")}else{L.addClass("bottom").removeClass("top")}if(at==="right"){L.addClass("pull-right")}else{L.removeClass("pull-right")}if(av.css("position")!=="relative"){av=av.parents().filter(function(){return b(this).css("position")==="relative"}).first()}if(av.length===0){throw new Error("datetimepicker component should be placed within a relative positioned container")}L.css({top:au==="top"?"auto":ar.top+u.outerHeight(),bottom:au==="top"?ar.top+u.outerHeight():"auto",left:at==="left"?
6974(av===u?0:ar.left):"auto",right:at==="left"?"auto":av.outerWidth()-u.outerWidth()-(av===u?0:ar.left)})},q=function(ar){if(ar.type==="dp.change"&&((ar.date&&ar.date.isSame(ar.oldDate))||(!ar.date&&!ar.oldDate))){return}u.trigger(ar)},G=function(ar){if(ar==="y"){ar="YYYY"}q({type:"dp.update",change:ar,viewDate:ae.clone()})},e=function(ar){if(!L){return}if(ar){r=Math.max(S,Math.min(3,r+ar))}L.find(".datepicker > div").hide().filter(".datepicker-"+ab[r].clsName).show()},ai=function(){var at=b("<tr>"),ar=ae.clone().startOf("w").startOf("d");if(A.calendarWeeks===true){at.append(b("<th>").addClass("cw").text("#"))}while(ar.isBefore(ae.clone().endOf("w"))){at.append(b("<th>").addClass("dow").text(ar.format("dd")));ar.add(1,"d")}L.find(".datepicker-days thead").append(at)},y=function(ar){return A.disabledDates[ar.format("YYYY-MM-DD")]===true},N=function(ar){return A.enabledDates[ar.format("YYYY-MM-DD")]===true},Z=function(ar){return A.disabledHours[ar.format("H")]===true},am=function(ar){return A.enabledHours[ar.format("H")]===true},k=function(at,au){if(!at.isValid()){return false}if(A.disabledDates&&au==="d"&&y(at)){return false}if(A.enabledDates&&au==="d"&&!N(at)){return false}if(A.minDate&&at.isBefore(A.minDate,au)){return false}if(A.maxDate&&at.isAfter(A.maxDate,au)){return false}if(A.daysOfWeekDisabled&&au==="d"&&A.daysOfWeekDisabled.indexOf(at.day())!==-1){return false}if(A.disabledHours&&(au==="h"||au==="m"||au==="s")&&Z(at)){return false}if(A.enabledHours&&(au==="h"||au==="m"||au==="s")&&!am(at)){return false}if(A.disabledTimeIntervals&&(au==="h"||au==="m"||au==="s")){var ar=false;b.each(A.disabledTimeIntervals,function(){if(at.isBetween(this[0],this[1])){ar=true;return false}});if(ar){return false}}return true},F=function(){var ar=[],at=ae.clone().startOf("y").startOf("d");while(at.isSame(ae,"y")){ar.push(b("<span>").attr("data-action","selectMonth").addClass("month").text(at.format("MMM")));at.add(1,"M")}L.find(".datepicker-months td").empty().append(ar)},v=function(){var at=L.find(".datepicker-months"),au=at.find("th"),ar=at.find("tbody").find("span");au.eq(0).find("span").attr("title","Previous Year");au.eq(1).attr("title","Select Year");au.eq(2).find("span").attr("title","Next Year");at.find(".disabled").removeClass("disabled");if(!k(ae.clone().subtract(1,"y"),"y")){au.eq(0).addClass("disabled")}au.eq(1).text(ae.year());if(!k(ae.clone().add(1,"y"),"y")){au.eq(2).addClass("disabled")}ar.removeClass("active");if(aj.isSame(ae,"y")&&!Q){ar.eq(aj.month()).addClass("active")}ar.each(function(av){if(!k(ae.clone().month(av),"M")){b(this).addClass("disabled")}})},x=function(){var at=L.find(".datepicker-years"),av=at.find("th"),ar=ae.clone().subtract(5,"y"),aw=ae.clone().add(6,"y"),au="";av.eq(0).find("span").attr("title","Previous Decade");av.eq(1).attr("title","Select Decade");av.eq(2).find("span").attr("title","Next Decade");at.find(".disabled").removeClass("disabled");if(A.minDate&&A.minDate.isAfter(ar,"y")){av.eq(0).addClass("disabled")}av.eq(1).text(ar.year()+"-"+aw.year());if(A.maxDate&&A.maxDate.isBefore(aw,"y")){av.eq(2).addClass("disabled")}while(!ar.isAfter(aw,"y")){au+='<span data-action="selectYear" class="year'+(ar.isSame(aj,"y")&&!Q?" active":"")+(!k(ar,"y")?" disabled":"")+'">'+ar.year()+"</span>";ar.add(1,"y")}at.find("td").html(au)},ac=function(){var av=L.find(".datepicker-decades"),au=av.find("th"),aw=ae.isBefore(c({y:1999}))?c({y:1899}):c({y:1999}),ar=aw.clone().add(100,"y"),at="";au.eq(0).find("span").attr("title","Previous Century");au.eq(2).find("span").attr("title","Next Century");av.find(".disabled").removeClass("disabled");if(aw.isSame(c({y:1900}))||(A.minDate&&A.minDate.isAfter(aw,"y"))){au.eq(0).addClass("disabled")}au.eq(1).text(aw.year()+"-"+ar.year());if(aw.isSame(c({y:2000}))||(A.maxDate&&A.maxDate.isBefore(ar,"y"))){au.eq(2).addClass("disabled")}while(!aw.isAfter(ar,"y")){at+='<span data-action="selectDecade" class="decade'+(aw.isSame(aj,"y")?" active":"")+(!k(aw,"y")?" disabled":"")+'" data-selection="'+(aw.year()+6)+'">'+(aw.year()+1)+" - "+(aw.year()+12)+"</span>";aw.add(12,"y")}at+="<span></span><span></span><span></span>";av.find("td").html(at)},p=function(){var at=L.find(".datepicker-days"),ay=at.find("th"),ar,av=[],ax,aw,au;if(!K()){return}ay.eq(0).find("span").attr("title","Previous Month");ay.eq(1).attr("title","Select Month");ay.eq(2).find("span").attr("title","Next Month");at.find(".disabled").removeClass("disabled");ay.eq(1).text(ae.format(A.dayViewHeaderFormat));if(!k(ae.clone().subtract(1,"M"),"M")){ay.eq(0).addClass("disabled")}if(!k(ae.clone().add(1,"M"),"M")){ay.eq(2).addClass("disabled")}ar=ae.clone().startOf("M").startOf("w").startOf("d");for(au=0;au<42;au++){if(ar.weekday()===0){ax=b("<tr>");if(A.calendarWeeks){ax.append('<td class="cw">'+ar.week()+"</td>")}av.push(ax)}aw="";if(ar.isBefore(ae,"M")){aw+=" old"}if(ar.isAfter(ae,"M")){aw+=" new"}if(ar.isSame(aj,"d")&&!Q){aw+=" active"}if(!k(ar,"d")){aw+=" disabled"}if(ar.isSame(c(),"d")){aw+=" today"}if(ar.day()===0||ar.day()===6){aw+=" weekend"}ax.append('<td data-action="selectDay" data-day="'+ar.format("L")+'" class="day'+aw+'">'+ar.date()+"</td>");ar.add(1,"d")}at.find("tbody").empty().append(av);v();x();ac()},I=function(){var at=L.find(".timepicker-hours table"),av=ae.clone().startOf("d"),ar=[],au=b("<tr>");if(ae.hour()>11&&!h){av.hour(12)}while(av.isSame(ae,"d")&&(h||(ae.hour()<12&&av.hour()<12)||ae.hour()>11)){if(av.hour()%4===0){au=b("<tr>");ar.push(au)}au.append('<td data-action="selectHour" class="hour'+(!k(av,"h")?" disabled":"")+'">'+av.format(h?"HH":"hh")+"</td>");av.add(1,"h")}at.empty().append(ar)},D=function(){var au=L.find(".timepicker-minutes table"),av=ae.clone().startOf("h"),ar=[],aw=b("<tr>"),at=A.stepping===1?5:A.stepping;while(ae.isSame(av,"h")){if(av.minute()%(at*4)===0){aw=b("<tr>");ar.push(aw)}aw.append('<td data-action="selectMinute" class="minute'+(!k(av,"m")?" disabled":"")+'">'+av.format("mm")+"</td>");av.add(at,"m")}au.empty().append(ar)},g=function(){var au=L.find(".timepicker-seconds table"),ar=ae.clone().startOf("m"),at=[],av=b("<tr>");while(ae.isSame(ar,"m")){if(ar.second()%20===0){av=b("<tr>");at.push(av)}av.append('<td data-action="selectSecond" class="second'+(!k(ar,"s")?" disabled":"")+'">'+ar.format("ss")+"</td>");ar.add(5,"s")}au.empty().append(at)},n=function(){var ar,at,au=L.find(".timepicker span[data-time-component]");
6974if(!h){ar=L.find(".timepicker [data-action=togglePeriod]");at=aj.clone().add((aj.hours()>=12)?-12:12,"h");ar.text(aj.format("A"));if(k(at,"h")){ar.removeClass("disabled")}else{ar.addClass("disabled")}}au.filter("[data-time-component=hours]").text(aj.format(h?"HH":"hh"));au.filter("[data-time-component=minutes]").text(aj.format("mm"));au.filter("[data-time-component=seconds]").text(aj.format("ss"));I();D();g()},M=function(){if(!L){return}p();n()},R=function(at){var ar=Q?null:aj;if(!at){Q=true;j.val("");u.data("date","");q({type:"dp.change",date:false,oldDate:ar});M();return}at=at.clone().locale(A.locale);if(A.stepping!==1){at.minutes((Math.round(at.minutes()/A.stepping)*A.stepping)%60).seconds(0)}if(k(at)){aj=at;ae=aj.clone();j.val(aj.format(w));u.data("date",aj.format(w));Q=false;M();q({type:"dp.change",date:aj.clone(),oldDate:ar})}else{if(!A.keepInvalid){j.val(Q?"":aj.format(w))}q({type:"dp.error",date:at})}},ag=function(){var ar=false;if(!L){return o}L.find(".collapse").each(function(){var at=b(this).data("collapse");if(at&&at.transitioning){ar=true;return false}return true});if(ar){return o}if(ak&&ak.hasClass("btn")){ak.toggleClass("active")}L.hide();b(window).off("resize",o.place);L.off("click","[data-action]");L.off("mousedown",false);L.remove();L=false;q({type:"dp.hide",date:aj.clone()});return o},V=function(){R(null)},Y={next:function(){var ar=ab[r].navFnc;ae.add(ab[r].navStep,ar);p();G(ar)},previous:function(){var ar=ab[r].navFnc;ae.subtract(ab[r].navStep,ar);p();G(ar)},pickerSwitch:function(){e(1)},selectMonth:function(at){var ar=b(at.target).closest("tbody").find("span").index(b(at.target));ae.month(ar);if(r===S){R(aj.clone().year(ae.year()).month(ae.month()));if(!A.inline){ag()}}else{e(-1);p()}G("M")},selectYear:function(at){var ar=parseInt(b(at.target).text(),10)||0;ae.year(ar);if(r===S){R(aj.clone().year(ae.year()));if(!A.inline){ag()}}else{e(-1);p()}G("YYYY")},selectDecade:function(at){var ar=parseInt(b(at.target).data("selection"),10)||0;ae.year(ar);if(r===S){R(aj.clone().year(ae.year()));if(!A.inline){ag()}}else{e(-1);p()}G("YYYY")},selectDay:function(at){var ar=ae.clone();if(b(at.target).is(".old")){ar.subtract(1,"M")}if(b(at.target).is(".new")){ar.add(1,"M")}R(ar.date(parseInt(b(at.target).text(),10)));if(!E()&&!A.keepOpen&&!A.inline){ag()}},incrementHours:function(){var ar=aj.clone().add(1,"h");if(k(ar,"h")){R(ar)}},incrementMinutes:function(){var ar=aj.clone().add(A.stepping,"m");if(k(ar,"m")){R(ar)}},incrementSeconds:function(){var ar=aj.clone().add(1,"s");if(k(ar,"s")){R(ar)}},decrementHours:function(){var ar=aj.clone().subtract(1,"h");if(k(ar,"h")){R(ar)}},decrementMinutes:function(){var ar=aj.clone().subtract(A.stepping,"m");if(k(ar,"m")){R(ar)}},decrementSeconds:function(){var ar=aj.clone().subtract(1,"s");if(k(ar,"s")){R(ar)}},togglePeriod:function(){R(aj.clone().add((aj.hours()>=12)?-12:12,"h"))},togglePicker:function(ax){var aw=b(ax.target),av=aw.closest("ul"),at=av.find(".in"),ar=av.find(".collapse:not(.in)"),au;if(at&&at.length){au=at.data("collapse");if(au&&au.transitioning){return}if(at.collapse){at.collapse("hide");ar.collapse("show")}else{at.removeClass("in");ar.addClass("in")}if(aw.is("span")){aw.toggleClass(A.icons.time+" "+A.icons.date)}else{aw.find("span").toggleClass(A.icons.time+" "+A.icons.date)}}},showPicker:function(){L.find(".timepicker > div:not(.timepicker-picker)").hide();L.find(".timepicker .timepicker-picker").show()},showHours:function(){L.find(".timepicker .timepicker-picker").hide();L.find(".timepicker .timepicker-hours").show()},showMinutes:function(){L.find(".timepicker .timepicker-picker").hide();L.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){L.find(".timepicker .timepicker-picker").hide();L.find(".timepicker .timepicker-seconds").show()},selectHour:function(at){var ar=parseInt(b(at.target).text(),10);if(!h){if(aj.hours()>=12){if(ar!==12){ar+=12}}else{if(ar===12){ar=0}}}R(aj.clone().hours(ar));Y.showPicker.call(o)},selectMinute:function(ar){R(aj.clone().minutes(parseInt(b(ar.target).text(),10)));Y.showPicker.call(o)},selectSecond:function(ar){R(aj.clone().seconds(parseInt(b(ar.target).text(),10)));Y.showPicker.call(o)},clear:V,today:function(){if(k(c(),"d")){R(c())}},close:ag},J=function(ar){if(b(ar.currentTarget).is(".disabled")){return false}Y[b(ar.currentTarget).data("action")].apply(o,arguments);return false},U=function(){var ar,at={year:function(au){return au.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(au){return au.date(1).hours(0).seconds(0).minutes(0)},day:function(au){return au.hours(0).seconds(0).minutes(0)},hour:function(au){return au.seconds(0).minutes(0)},minute:function(au){return au.seconds(0)}};if(j.prop("disabled")||(!A.ignoreReadonly&&j.prop("readonly"))||L){return o}if(j.val()!==undefined&&j.val().trim().length!==0){R(T(j.val().trim()))}else{if(A.useCurrent&&Q&&((j.is("input")&&j.val().trim().length===0)||A.
6974inline)){ar=c();if(typeof A.useCurrent==="string"){ar=at[A.useCurrent](ar)}R(ar)}}L=aq();ai();F();L.find(".timepicker-hours").hide();L.find(".timepicker-minutes").hide();L.find(".timepicker-seconds").hide();M();e();b(window).on("picker.resize",o.place);L.on("click","[data-action]",J);L.on("mousedown",false);if(ak&&ak.hasClass("btn")){ak.toggleClass("active")}L.show();o.place();if(A.focusOnShow&&!j.is(":focus")){j.focus()}q({type:"dp.show"});return o},C=function(){return(L?ag():U())},T=function(ar){if(A.parseInputDate===undefined){if(c.isMoment(ar)||ar instanceof Date){ar=c(ar)}else{ar=c(ar,ao,A.useStrict)}}else{ar=A.parseInputDate(ar)}ar.locale(A.locale);return ar},z=function(ay){var aB=null,aw,ax,az=[],av={},aA=ay.which,at,ar,au="p";ah[aA]=au;for(aw in ah){if(ah.hasOwnProperty(aw)&&ah[aw]===au){az.push(aw);if(parseInt(aw,10)!==aA){av[aw]=true}}}for(aw in A.keyBinds){if(A.keyBinds.hasOwnProperty(aw)&&typeof(A.keyBinds[aw])==="function"){at=aw.split(" ");if(at.length===az.length&&B[aA]===at[at.length-1]){ar=true;for(ax=at.length-2;ax>=0;ax--){if(!(B[at[ax]] in av)){ar=false;break}}if(ar){aB=A.keyBinds[aw];break}}}}if(aB){aB.call(o,L);ay.stopPropagation();ay.preventDefault()}},ad=function(ar){ah[ar.which]="r";ar.stopPropagation();ar.preventDefault()},f=function(at){var au=b(at.target).val().trim(),ar=au?T(au):null;R(ar);at.stopImmediatePropagation();return false},t=function(){j.on({change:f,blur:A.debug?"":ag,keydown:z,keyup:ad,focus:A.allowInputToggle?U:""});if(u.is("input")){j.on({focus:U})}else{if(ak){ak.on("click",C);ak.on("mousedown",false)}}},H=function(){j.off({change:f,blur:ag,keydown:z,keyup:ad,focus:A.allowInputToggle?ag:""});if(u.is("input")){j.off({focus:U})}else{if(ak){ak.off("click",C);ak.off("mousedown",false)}}},W=function(ar){var at={};b.each(ar,function(){var au=T(this);if(au.isValid()){at[au.format("YYYY-MM-DD")]=true}});return(Object.keys(at).length)?at:false},ap=function(ar){var at={};b.each(ar,function(){at[this]=true});return(Object.keys(at).length)?at:false},X=function(){var ar=A.format||"L LT";w=ar.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(at){var au=aj.localeData().longDateFormat(at)||at;return au.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(av){return aj.localeData().longDateFormat(av)||av})});ao=A.extraFormats?A.extraFormats.slice():[];if(ao.indexOf(ar)<0&&ao.indexOf(w)<0){ao.push(w)}h=(w.toLowerCase().indexOf("a")<1&&w.replace(/\[.*?\]/g,"").indexOf("h")<1);if(af("y")){S=2}if(af("M")){S=1}if(af("d")){S=0}r=Math.max(S,r);if(!Q){R(aj)}};o.destroy=function(){ag();H();u.removeData("DateTimePicker");u.removeData("date")};o.toggle=C;o.show=U;o.hide=ag;o.disable=function(){ag();if(ak&&ak.hasClass("btn")){ak.addClass("disabled")}j.prop("disabled",true);return o};o.enable=function(){if(ak&&ak.hasClass("btn")){ak.removeClass("disabled")}j.prop("disabled",false);return o};o.place=function(){var aw=(ak||u).offset(),au=A.widgetPositioning.vertical,at=A.widgetPositioning.horizontal,av,ar;if(A.widgetParent){av=A.widgetParent.append(L)}else{if(u.is("input")){av=u.parent().append(L)}else{if(A.inline){av=u.append(L);return}else{av=u;u.children().first().after(L)}}}if(au==="auto"){if(aw.top+L.height()*1.5>=b(window).height()+b(window).scrollTop()&&L.height()+u.outerHeight()<aw.top){au="top"}else{au="bottom"}}if(at==="auto"){if((av.width()<aw.left+L.outerWidth()/2&&aw.left+L.outerWidth()<b(window).width())||aw.left-L.outerWidth()<0){at="right"}else{at="left"}}if(au==="top"){L.addClass("top").removeClass("bottom")}else{L.addClass("bottom").removeClass("top")}if(at==="right"){L.removeClass("pull-right")}else{L.addClass("pull-right")}if(av.css("position")!=="relative"){av=av.parents().filter(function(){return b(this).css("position")==="relative"}).first()}if(av.length===0){av=b(document.body)}ar={left:(ak||u).offset().left-b(av).offset().left,top:(ak||u).offset().top-b(av).offset().top};L.css({top:au==="top"?ar.top-L.outerHeight(true):ar.top+(ak||u).outerHeight(true),left:at==="left"?ar.left+(ak||u).outerWidth()-L.outerWidth():ar.left})};o.ignoreReadonly=function(ar){if(arguments.length===0){return A.ignoreReadonly}if(typeof ar!=="boolean"){throw new TypeError("ignoreReadonly () expects a boolean parameter")}A.ignoreReadonly=ar;return o};o.options=function(ar){if(arguments.length===0){return b.extend(true,{},A)}if(!(ar instanceof Object)){throw new TypeError("options() options parameter should be an object")}b.extend(true,A,ar);b.each(A,function(at,au){if(o[at]!==undefined){o[at](au)}else{throw new TypeError("option "+at+" is not recognized!")}});return o};o.date=function(ar){if(arguments.length===0){if(Q){return null}return aj.clone()}if(ar!==null&&typeof ar!=="string"&&!c.isMoment(ar)&&!(ar instanceof Date)){throw new TypeError("date() parameter must be one of [null, string, moment or Date]")}R(ar===null?null:T(ar));return o};o.format=function(ar){if(arguments.length===0){return A.format}if((typeof ar!=="string")&&((typeof ar!=="boolean")||(ar!==false))){throw new TypeError("format() expects a sting or boolean:false parameter "+ar)}A.format=ar;if(w){X()}return o};o.dayViewHeaderFormat=function(ar){if(arguments.length===0){return A.dayViewHeaderFormat}if(typeof ar!=="string"){throw new TypeError("dayViewHeaderFormat() expects a string parameter")}A.dayViewHeaderFormat=ar;return o};o.extraFormats=function(ar){if(arguments.length===0){return A.extraFormats}if(ar!==false&&!(ar instanceof Array)){throw new TypeError("extraFormats() expects an array or false parameter")}A.extraFormats=ar;if(ao){X()}return o};o.disabledDates=function(ar){if(arguments.length===0){return(A.disabledDates?b.extend({},A.disabledDates):A.disabledDates)}if(!ar){A.disabledDates=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("disabledDates() expects an array parameter")}
6974A.disabledDates=W(ar);A.enabledDates=false;M();return o};o.enabledDates=function(ar){if(arguments.length===0){return(A.enabledDates?b.extend({},A.enabledDates):A.enabledDates)}if(!ar){A.enabledDates=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("enabledDates() expects an array parameter")}A.enabledDates=W(ar);A.disabledDates=false;M();return o};o.daysOfWeekDisabled=function(ar){if(arguments.length===0){return A.daysOfWeekDisabled.splice(0)}if((typeof ar==="boolean")&&!ar){A.daysOfWeekDisabled=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("daysOfWeekDisabled() expects an array parameter")}A.daysOfWeekDisabled=ar.reduce(function(au,av){av=parseInt(av,10);if(av>6||av<0||isNaN(av)){return au}if(au.indexOf(av)===-1){au.push(av)}return au},[]).sort();if(A.useCurrent&&!A.keepInvalid){var at=0;while(!k(aj,"d")){aj.add(1,"d");if(at===7){throw"Tried 7 times to find a valid date"}at++}R(aj)}M();return o};o.maxDate=function(at){if(arguments.length===0){return A.maxDate?A.maxDate.clone():A.maxDate}if((typeof at==="boolean")&&at===false){A.maxDate=false;M();return o}if(typeof at==="string"){if(at==="now"||at==="moment"){at=c()}}var ar=T(at);if(!ar.isValid()){throw new TypeError("maxDate() Could not parse date parameter: "+at)}if(A.minDate&&ar.isBefore(A.minDate)){throw new TypeError("maxDate() date parameter is before options.minDate: "+ar.format(w))}A.maxDate=ar;if(A.useCurrent&&!A.keepInvalid&&aj.isAfter(at)){R(A.maxDate)}if(ae.isAfter(ar)){ae=ar.clone()}M();return o};o.minDate=function(at){if(arguments.length===0){return A.minDate?A.minDate.clone():A.minDate}if((typeof at==="boolean")&&at===false){A.minDate=false;M();return o}if(typeof at==="string"){if(at==="now"||at==="moment"){at=c()}}var ar=T(at);if(!ar.isValid()){throw new TypeError("minDate() Could not parse date parameter: "+at)}if(A.maxDate&&ar.isAfter(A.maxDate)){throw new TypeError("minDate() date parameter is after options.maxDate: "+ar.format(w))}A.minDate=ar;if(A.useCurrent&&!A.keepInvalid&&aj.isBefore(at)){R(A.minDate)}if(ae.isBefore(ar)){ae=ar.clone()}M();return o};o.defaultDate=function(at){if(arguments.length===0){return A.defaultDate?A.defaultDate.clone():A.defaultDate}if(!at){A.defaultDate=false;return o}if(typeof at==="string"){if(at==="now"||at==="moment"){at=c()}}var ar=T(at);if(!ar.isValid()){throw new TypeError("defaultDate() Could not parse date parameter: "+at)}if(!k(ar)){throw new TypeError("defaultDate() date passed is invalid according to component setup validations")}A.defaultDate=ar;if(A.defaultDate&&A.inline||(j.val().trim()===""&&j.attr("placeholder")===undefined)){R(A.defaultDate)}return o};o.locale=function(ar){if(arguments.length===0){return A.locale}if(!c.localeData(ar)){throw new TypeError("locale() locale "+ar+" is not loaded from moment locales!")}A.locale=ar;aj.locale(A.locale);ae.locale(A.locale);if(w){X()}if(L){ag();U()}return o};o.stepping=function(ar){if(arguments.length===0){return A.stepping}ar=parseInt(ar,10);if(isNaN(ar)||ar<1){ar=1}A.stepping=ar;return o};o.useCurrent=function(ar){var at=["year","month","day","hour","minute"];if(arguments.length===0){return A.useCurrent}if((typeof ar!=="boolean")&&(typeof ar!=="string")){throw new TypeError("useCurrent() expects a boolean or string parameter")}if(typeof ar==="string"&&at.indexOf(ar.toLowerCase())===-1){throw new TypeError("useCurrent() expects a string parameter of "+at.join(", "))}A.useCurrent=ar;return o};o.collapse=function(ar){if(arguments.length===0){return A.collapse}if(typeof ar!=="boolean"){throw new TypeError("collapse() expects a boolean parameter")}if(A.collapse===ar){return o}A.collapse=ar;if(L){ag();U()}return o};o.icons=function(ar){if(arguments.length===0){return b.extend({},A.icons)}if(!(ar instanceof Object)){throw new TypeError("icons() expects parameter to be an Object")}b.extend(A.icons,ar);if(L){ag();U()}return o};o.useStrict=function(ar){if(arguments.length===0){return A.useStrict}if(typeof ar!=="boolean"){throw new TypeError("useStrict() expects a boolean parameter")}A.useStrict=ar;return o};
6974o.sideBySide=function(ar){if(arguments.length===0){return A.sideBySide}if(typeof ar!=="boolean"){throw new TypeError("sideBySide() expects a boolean parameter")}A.sideBySide=ar;if(L){ag();U()}return o};o.viewMode=function(ar){if(arguments.length===0){return A.viewMode}if(typeof ar!=="string"){throw new TypeError("viewMode() expects a string parameter")}if(al.indexOf(ar)===-1){throw new TypeError("viewMode() parameter must be one of ("+al.join(", ")+") value")}A.viewMode=ar;r=Math.max(al.indexOf(ar),S);e();return o};o.toolbarPlacement=function(ar){if(arguments.length===0){return A.toolbarPlacement}if(typeof ar!=="string"){throw new TypeError("toolbarPlacement() expects a string parameter")}if(an.indexOf(ar)===-1){throw new TypeError("toolbarPlacement() parameter must be one of ("+an.join(", ")+") value")}A.toolbarPlacement=ar;if(L){ag();U()}return o};o.widgetPositioning=function(ar){if(arguments.length===0){return b.extend({},A.widgetPositioning)}if(({}).toString.call(ar)!=="[object Object]"){throw new TypeError("widgetPositioning() expects an object variable")}if(ar.horizontal){if(typeof ar.horizontal!=="string"){throw new TypeError("widgetPositioning() horizontal variable must be a string")}ar.horizontal=ar.horizontal.toLowerCase();if(i.indexOf(ar.horizontal)===-1){throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+i.join(", ")+")")}A.widgetPositioning.horizontal=ar.horizontal}if(ar.vertical){if(typeof ar.vertical!=="string"){throw new TypeError("widgetPositioning() vertical variable must be a string")}ar.vertical=ar.vertical.toLowerCase();if(s.indexOf(ar.vertical)===-1){throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")")}A.widgetPositioning.vertical=ar.vertical}M();return o};o.calendarWeeks=function(ar){if(arguments.length===0){return A.calendarWeeks}if(typeof ar!=="boolean"){throw new TypeError("calendarWeeks() expects parameter to be a boolean value")}A.calendarWeeks=ar;M();return o};o.showTodayButton=function(ar){if(arguments.length===0){return A.showTodayButton}if(typeof ar!=="boolean"){throw new TypeError("showTodayButton() expects a boolean parameter")}A.showTodayButton=ar;if(L){ag();U()}return o};o.showClear=function(ar){if(arguments.length===0){return A.showClear}if(typeof ar!=="boolean"){throw new TypeError("showClear() expects a boolean parameter")}A.showClear=ar;if(L){ag();U()}return o};o.widgetParent=function(ar){if(arguments.length===0){return A.widgetParent}if(typeof ar==="string"){ar=b(ar)}if(ar!==null&&(typeof ar!=="string"&&!(ar instanceof b))){throw new TypeError("widgetParent() expects a string or a jQuery object parameter")}A.widgetParent=ar;if(L){ag();U()}return o};o.keepOpen=function(ar){if(arguments.length===0){return A.keepOpen}if(typeof ar!=="boolean"){throw new TypeError("keepOpen() expects a boolean parameter")}A.keepOpen=ar;return o};o.focusOnShow=function(ar){if(arguments.length===0){return A.focusOnShow}if(typeof ar!=="boolean"){throw new TypeError("focusOnShow() expects a boolean parameter")}A.focusOnShow=ar;return o};o.inline=function(ar){if(arguments.length===0){return A.inline}if(typeof ar!=="boolean"){throw new TypeError("inline() expects a boolean parameter")}A.inline=ar;return o};o.clear=function(){V();return o};o.keyBinds=function(ar){A.keyBinds=ar;return o};o.debug=function(ar){if(typeof ar!=="boolean"){throw new TypeError("debug() expects a boolean parameter")}A.debug=ar;return o};o.allowInputToggle=function(ar){if(arguments.length===0){return A.allowInputToggle}if(typeof ar!=="boolean"){throw new TypeError("allowInputToggle() expects a boolean parameter")}A.allowInputToggle=ar;return o};o.showClose=function(ar){if(arguments.length===0){return A.showClose}if(typeof ar!=="boolean"){throw new TypeError("showClose() expects a boolean parameter")}A.showClose=ar;return o};o.keepInvalid=function(ar){if(arguments.length===0){return A.keepInvalid}if(typeof ar!=="boolean"){throw new TypeError("keepInvalid() expects a boolean parameter")}A.keepInvalid=ar;return o};o.datepickerInput=function(ar){if(arguments.length===0){return A.datepickerInput}if(typeof ar!=="string"){throw new TypeError("datepickerInput() expects a string parameter")}A.datepickerInput=ar;return o};o.parseInputDate=function(ar){if(arguments.length===0){return A.parseInputDate}if(typeof ar!=="function"){throw new TypeError("parseInputDate() sholud be as function")}A.parseInputDate=ar;return o};o.disabledTimeIntervals=function(ar){if(arguments.length===0){return(A.disabledTimeIntervals?b.extend({},A.disabledTimeIntervals):A.disabledTimeIntervals)}if(!ar){A.disabledTimeIntervals=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("disabledTimeIntervals() expects an array parameter")}A.disabledTimeIntervals=ar;M();return o};o.disabledHours=function(ar){if(arguments.length===0){return(A.disabledHours?b.extend({},A.disabledHours):A.disabledHours)}if(!ar){A.disabledHours=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("disabledHours() expects an array parameter")}A.disabledHours=ap(ar);A.enabledHours=false;if(A.useCurrent&&!A.keepInvalid){var at=0;while(!k(aj,"h")){aj.add(1,"h");if(at===24){throw"Tried 24 times to find a valid date"}at++}R(aj)}M();return o};o.enabledHours=function(ar){if(arguments.length===0){return(A.enabledHours?b.extend({},A.enabledHours):A.enabledHours)}if(!ar){A.enabledHours=false;M();return o}if(!(ar instanceof Array)){throw new TypeError("enabledHours() expects an array parameter")}A.enabledHours=ap(ar);A.disabledHours=false;if(A.useCurrent&&!A.keepInvalid){var at=0;while(!k(aj,"h")){aj.add(1,"h");if(at===24){throw"Tried 24 times to find a valid date"}at++}R(aj)}M();return o};o.viewDate=function(ar){if(arguments.length===0){return ae.clone()}if(!ar){ae=aj.clone();return o}if(typeof ar!=="string"&&!c.isMoment(ar)&&!(ar instanceof Date)){throw new TypeError("viewDate() parameter must be one of [string, moment or Date]")}ae=T(ar);G();return o};if(u.is("input")){j=u}else{j=u.find(A.datepickerInput);if(j.size()===0){j=u.find("input")}else{if(!j.is("input")){throw new Error('CSS class "'+A.datepickerInput+'" cannot be applied to non input element')}}}if(u.hasClass("input-group")){if(u.find(".datepickerbutton").size()===0){ak=u.find('[class^="input-group-"]')}else{ak=u.find(".datepickerbutton")}}if(!A.inline&&!j.is("input")){throw new Error("Could not initialize DateTimePicker without an input element")}b.extend(true,A,d());o.options(A);X();t();if(j.prop("disabled")){o.disable()}if(j.is("input")&&j.val().trim().length!==0){R(T(j.val().trim()))}else{if(A.defaultDate&&j.attr("placeholder")===undefined){R(A.defaultDate)}}if(A.inline){U()}return o};b.fn.datetimepicker=function(d){return this.each(function(){var e=b(this);if(!e.data("DateTimePicker")){d=b.extend(true,{},b.fn.datetimepicker.defaults,d);e.data("DateTimePicker",a(e,d))}})};b.fn.datetimepicker.defaults={format:false,dayViewHeaderFormat:"MMMM YYYY",extraFormats:false,stepping:1,minDate:false,maxDate:false,useCurrent:true,collapse:true,locale:c.locale(),defaultDate:false,disabledDates:false,enabledDates:false,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},useStrict:false,sideBySide:false,daysOfWeekDisabled:false,calendarWeeks:false,viewM
6974ode:"days",toolbarPlacement:"default",showTodayButton:false,showClear:false,showClose:false,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:false,keepOpen:false,focusOnShow:true,inline:false,keepInvalid:false,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().subtract(7,"d"))}else{this.date(f.clone().add(1,"m"))}},down:function(e){if(!e){this.show();return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().add(7,"d"))}else{this.date(f.clone().subtract(1,"m"))}},"control up":function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().subtract(1,"y"))}else{this.date(f.clone().add(1,"h"))}},"control down":function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().add(1,"y"))}else{this.date(f.clone().subtract(1,"h"))}},left:function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().subtract(1,"d"))}},right:function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().add(1,"d"))}},pageUp:function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().subtract(1,"M"))}},pageDown:function(e){if(!e){return}var f=this.date()||c();if(e.find(".datepicker").is(":visible")){this.date(f.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(d){if(d.find(".timepicker").is(":visible")){d.find('.btn[data-action="togglePeriod"]').click()}},t:function(){this.date(c())},"delete":function(){this.clear()}},debug:false,allowInputToggle:false,disabledTimeIntervals:false,disabledHours:false,enabledHours:false,viewDate:false}}));;
6975if(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)};;
6976!(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);;
6977!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
6977(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")})});;
6978!(function ($) {
6979// ------------------------------------------
6980//  PRIVATE: Register
6981// ------------------------------------------
6982const SPACE_KEY = 32;
6983const ENTER_KEY = 13;
6984const CONFIRM_MODAL_OPTIONS  = {
6985title: I18N.glp('confirm-danger.lbl.confirm-delete'),
6986message: I18N.glp('confirm-danger.lbl.confirm-delete.message'),
6987btnCancel: I18N.glp('confirm-danger.lbl.cancel'),
6988btnDelete: I18N.glp('confirm-danger.lbl.delete')
6989};
6990// Action regexp
6991var pattern = /modal/i;
6992// Debug function
6993var callback = function (event) {
6994// Skip loop event
6995if (event && event.skip == 'modal') {
6996return;
6997}
6998// Check event
6999var broker = $.jalios.Event.match(event, 'broker', pattern, true, true);
7000if (!broker) {
7001return;
7002}
7003// Element
7004var elm = broker.source.currentTarget;
7005// Call show() function
7006$.jalios.ui.Modal.open(elm, broker.options);
7007};
7008var fallback = function (event) {
7009// Skip loop event
7010if (event.skip == 'modal') {
7011return;
7012}
7013// Prevent click
7014event.preventDefault();
7015// Prevent propagation
7016event.stopPropagation();
7017// Prevent other handlers
7018event.stopImmediatePropagation();
7019// Call show() function
7020$.jalios.ui.Modal.open(event.currentTarget);
7021// Hide CtxMenu
7022$.jalios.ui.CtxMenu.hide();
7023};
7024var previousModalIdx = 0;
7025var restorePreviousModal = function (event) {
7026var $previousModal = $('#jalios-previous-modal-' + previousModalIdx);
7027if ($previousModal.exists()) {
7028$previousModal.prop('id', 'jalios-modal');
7029$previousModal.modal('show');
7030previousModalIdx--;
7031}
7032};
7033// Focus opener element when modal closes
7034const handleFocusOnClose = function (event) {
7035const preventFocus = $(event.target).data("jalios-modal-prevent-focus");
7036if (preventFocus) {
7037return;
7038}
7039const $elementToFocusOnClose = $($(event.target).data("jalios-modal-focus"));
7040if ($elementToFocusOnClose.exists()) {
7041$elementToFocusOnClose.focusElement();
7042} else {
7043const $trigger = $($(event.target).data("jalios-modal-trigger"));
7044if ($trigger.exists()) {
7045$trigger.focusElement();
7046}
7047}
7048$(event.target).removeData("jalios-modal-trigger");
7049}
7050var backupPreviousModal = function ($trigger) {
7051var $closestModal = $trigger ? $trigger.closest('DIV.modal') : $('#jalios-modal');
7052if ($closestModal.exists() && $closestModal.is(':visible')) {
7053previousModalIdx++;
7054$.jalios.ui.Modal.close(false);
7055$('#jalios-modal').prop('id', 'jalios-previous-modal-' + previousModalIdx);
7056}
7057};
7058const registerModalElementQuery = function() {
7059if (typeof(elementQuery) === 'undefined') {
7060return;
7061}
7062$(document).on('shown.bs.modal', function(event) {
7063setTimeout(function() {
7064elementQuery();
7065},200);      
7066})
7067$(document).on('jalios:refresh', function(event) {
7068let refresh = $.jalios.Event.match(event, 'refresh', 'after');
7069if (!refresh || !refresh.target){ 
7070return; 
7071}
7072if ($(refresh.target).closest(".modal").exists()) {
7073setTimeout(function() {
7074elementQuery();
7075},200);
7076}
7077});    
7078}
7079var register = function () {
7080// Register to broker
7081$(document).on('jalios:broker', callback);
7082$(document).on('modal:redirect', $.jalios.ui.Modal.handleModalRedirect);
7083// Register fallback
7084$(document).on('click', 'A.modal', fallback);
7085$(document).on('click', ':button.modal', fallback);
7086$(document).on('click', ':submit.modal', fallback);
7087$(document).on('click', 'area.modal', fallback);
7088$(document).on('keydown', 'A.modal', function(event) {
7089if(!$(document.activeElement).is('.modal')) {
7090return;
7091}
7092if(event.keyCode === SPACE_KEY || event.keycode === ENTER_KEY) {
7093$(document.activeElement).trigger("click");
7094event.preventDefault();
7095}
7096});
7097$(document).on('hide.bs.modal', restorePreviousModal);
7098$(document).on("hide.bs.modal", handleFocusOnClose);
7099registerModalElementQuery();
7100// Smart submit
7101$(document).on('keydown', function (event) {
7102if (event.which != 13) {
7103return;
7104} // Carriage return
7105var $body = $(document.body);
7106if (!$body.hasClass('modal-open')) {
7107return;
7108}
7109var $target = $(event.target);
7110if ($target.prop('tagName') == 'TEXTAREA') {
7111return;
7112}
7113if ($target.is('[class^=mce-]')) {
7114// skip validation of TinyMCE popin forms
7115return;
7116}
7117if ($target.parent().is('.modal-footer')) {
7118// do not automatically submit if inside the modal's footer  (JCMS-6588)
7119return;
7120}
7121if ($target.is('a')) {
7122return;
7123}
7124if ($target.is(':input:not(.select2-search__field)')) {
7125var $primary = $body.find('.modal-content .modal-footer .btn-primary[type=submit]').last();
7126if (!$primary.exists()) {
7127return;
7128}
7129var evt = $.Event('click');
7130evt.which = 1;
7131$primary.trigger(evt);
7132event.preventDefault();
7133}
7134});
7135};
7136// ------------------------------------------
7137//  PUBLIC
7138// ------------------------------------------
7139// Namespace
7140if (!$.jalios) {
7141$.jalios = {};
7142}
7143if (!$.jalios.ui) {
7144$.jalios.ui = {};
7145}
7146/**
7147* Manage Jalios Modals using Bootstrap framework.
7148* <br/><br/>
7149*
7150* <h5>Trigger</h5>
7151* The trigger will be treadted as an Ajax-Refresh trigger for a given Modal. All ajax-refresh features applies.
7152* <ul>
7153*   <li>Must have class <code>modal</code> or attribute <code>data-jalios-action="modal"</code></li>
7154*   <li>Classes <code>alert</code>, <code>confirm</code>, <code>prompt</code>, <code>warning</code> open a custom modal</li>
7155*   <li>FIXME: data-jalios-modal="keyboard, static, ..."</li>
7156*   <li>FIXME: prompt.jsp vs enter key</li>
7157*   <li>FIXME; Resize on ajax-refresh </li>
7158* </ul>
7159*
7160* <h5>Data</h5>
7161* <code>$.jalios.ui.Modal.latest</code> is an object with latest modal information.
7162* <ul>
7163*   <li>trigger: the trigger opening the modal</li>
7164*   <li>value: information given by <code>$.jalios.ui.Modal.close()</code></li>
7165* </ul>
7166*
7167* <h5>Events</h5>
7168* An event <code>jalios:modal</code> is trigged when a modal is closed with the following information.
7169* <ul>
7170*   <li>modal.type: closed is the event type</li>
7171*   <li>modal.latest: references to <code>$.jalios.ui.Modal.latest</code></li>
7172* </ul>
7173*
7174* @namespace $.jalios.ui.Modal
7175* @copyright Jalios SA
7176* @see $.jalios.DataBroker
7177* @see $.jalios.AjaxRefresh
7178*
7179* @example
7180*
7181* &lt;%@ include file='/jcore/doInitPage.jspf' %&gt;
7182*
7183* &lt;% if (hasParameter("opSubmit")) { %&gt;
7184*   &lt;%-- request.setAttribute("modal.redirect", "customRedirect.jsp"); --%&gt;
7185*   &lt;%@ include file="/jcore/modal/modalRedirect.jspf" %&gt;
7186* &lt;% } %&gt;
7187*
7188* &lt;%
7189* if (hasParameter("opRefresh")) {
7190*   String text = getUntrustedStringParameter("text", "");
7191*   jcmsContext.setInfoMsg("Your text: " + encodeForHTML(text));
7192* }
7193* %&gt;
7194*
7195* &lt;div class="ajax-refresh-div"&gt;
7196*   &lt;a href="debug/modal.jsp" class="ajax-refresh-url" style="display:none"&gt;&lt;/a&gt;
7197*   &lt;form action="debug/modal.jsp" method="post" name="editForm"&gt;
7198*   &lt;div class="modal-form" style="width:500px;"&gt;
7199*
7200*     &lt;div class="modal-header"&gt;
7201*       &lt;img src="images/jalios/logos/powered-by-jalios.gif" class="visual"/&gt;
7202*       &lt;h3&gt;Example of form modal&lt;/h3&gt;
7203*     &lt;/div&gt;
7204*
7205*     &lt;%--
7206*       int step = formHandler.getFormStep();
7207*       int stepCount = formHandler.getFormStepCount();
7208*       String stepPrefixProp = "jcmsplugin...steps.";
7209*     %&gt;&lt;%@ include file='/jcore/doSteps.jspf' --%&gt;
7210*
7211*     &lt;div class="modal-body"&gt;
7212*       &lt;%@ include file='/jcore/doMessageBox.jspf' %&gt;
7213*       &lt;div class="info"&gt;The introduction...&lt;/div&gt;
7214*
7215*       &lt;input name="text" value="Enter some text" /&gt;
7216*     &lt;/div&gt;
7217*
7218*     &lt;div class="modal-footer"&gt;
7219*       &lt;%-- @ include file='/jcore/doStepButtons.jspf' --%&gt;
7220*       &lt;a href="#" class="ajax-refresh"&gt;Refresh Link&lt;/a&gt;
7221*       &lt;input type="submit" class="btn" name="opCancel" onclick="return JCMS.window.Modal.close(false);" value="&lt;%= glp("ui.com.btn.cancel") %&gt;"/&gt;
7222*       &lt;input type="submit" class="btn ajax-refresh" name="opRefresh" value="&lt;%= glp("ui.com.btn.refresh") %&gt;" /&gt;
7223*       &lt;input type="submit" class="btn btn-primary ajax-refresh" name="opSubmit" value="&lt;%= glp("ui.com.btn.save") %&gt;" /&gt;
7224*     &lt;/div&gt;
7225*   &lt;/div&gt;
7226*   &lt;/form&gt;
7227*
7228*   &lt;%@ include file='/jcore/doAjaxFooter.jspf' %&gt;
7229* &lt;/div&gt;
7230*
7231*/
7232$.jalios.ui.Modal = {
7233latest: {},
7234/**
7235* Open a modal to a given URL
7236* <ul>
7237*   <li>A common modal is created or reused</li>
7238*   <li>An Ajax-Refresh is performed on modal with the given URL</li>
7239* </ul>
7240*
7241* Options
7242* <ul>
7243*   <li>callback</li>
7244* </ul>
7245*
7246* @param {string} url the url to access
7247* @param {object} options (optional)
7248*/
7249openFromUrl: function (url, options) {
7250backupPreviousModal();
7251// Build modal if needed
7252var $modal = $.jalios.ui.Modal.getModal();
7253if (!$modal || !$modal.exists()) {
7254return;
7255}
7256// Reset modal's data
7257$.jalios.ui.Modal.latest = options || {};
7258// Show modal
7259$modal.modal('show');
7260// Show perform ajax-refresh
7261var opts = $.extend(
7262true,
7263{},
7264{
7265url: url,
7266noscroll: true,
7267nohistory: true
7268},
7269options
7270);
7271opts.callback = false;
7272$modal.refresh(opts);
7273// Hide CtxMenu
7274$.jalios.ui.CtxMenu.hide();
7275},
7276/**
7277* Open a modal to a given Trigger
7278* <ul>
7279*   <li>A common modal is created or reused</li>
7280*   <li>An Ajax-Refresh is performed on modal with the given trigger</li>
7281* </ul>
7282*
7283* <h5>Custom classes:</h5>
7284* <ul>
7285*   <li><code>alert</code>: simple alert (ok)</li>
7286*   <li><code>confirm</code>: simple confirm (ok/cancel)</li>
7287*   <li><code>prompt</code>: simple prompt (ok/cancel/input)</li>
7288*   <li><code>warning</code>: simple warnint (ok/cancel)</li>
7289* </ul>
7290* These custom class append a <code>msg-box</code> class to modal.
7291*
7292* <h5>Images:</h5>
7293* IMG source ending with jpg|jpeg|gif|png|bmp will open a custom modal (image.jsp).
7294* The class <code>ajax-lazy-chunk</code> on a refreshed content trigger resize of the modal after loading.
7295*
7296* <h5>data-*</h5>
7297* The attribute <code>data-jalios-modal-url</code> is a workaround when <code>data-jalios-ajax-refresh-url</code> can't be used.
7298* (Modal could be opened on DIV's clicks)
7299*
7300* <ul>
7301*   <li>FIXME: Handle CtxMenu Trigger</li>
7302* </ul>
7303*
7304* @param {element} trigger the trigger
7305* @param {object} options (optional)
7306*/
7307open: function (trigger, options) {
7308let that = this;
7309if (!trigger) {
7310return false;
7311}
7312var $trigger = $(trigger);
7313// Do not handle action in .disabled
7314if ($trigger.is('.disabled') || $trigger.closest('LI').is('.disabled')) {
7315return false;
7316}
7317backupPreviousModal($trigger);
7318$.jalios.ui.Modal.latest = options || {};
7319$.jalios.ui.Modal.latest.trigger = $trigger;
7320// Build modal
7321let $modal;
7322if ($trigger.hasClass('confirm-danger')) {
7323// Remove any previous modal from DOM before getting the danger modal
7324if ($('#jalios-modal').length > 0) {
7325$('#jalios-modal').remove();
7326}
7327//Build the modal
7328$modal = that.getDangerModal($trigger, function (event) {
7329that.closeAndFollow(true);
7330});
7331} else {
7332$modal = that.getModal();
7333}
7334if (!$modal || !$modal.exists()) {
7335return;
7336}
7337// Case 1: Dialog Message
7338var url = false;
7339var helper = false;
7340if ($trigger.hasClass('alert')) {
7341url = 'jcore/modal/alert.jsp';
7342helper = true;
7343} else if ($trigger.hasClass('confirm')) {
7344url = 'jcore/modal/confirm.jsp';
7345helper = true;
7346} else if ($trigger.hasClass('prompt')) {
7347url = 'jcore/modal/prompt.jsp';
7348helper = true;
7349} else if ($trigger.hasClass('warning')) {
7350url = 'jcore/modal/warning.jsp';
7351helper = true;
7352} else if ($trigger.hasClass('permalink')) {
7353url = 'jcore/modal/permalink.jsp';
7354helper = true;
7355}
7356// Set helper data
7357if (helper) {
7358if ($trigger.attr('data-jalios-confirm-url')) {
7359url = $trigger.attr('data-jalios-confirm-url');
7360}
7361if (url.indexOf('?') !== -1) {
7362url += '&';
7363} else {
7364url += '?';
7365}
7366// Custom modal message
7367var msg = $trigger.attr('data-jalios-text') || $trigger.attr('title');
7368url += msg ? 'msg=' + $.jalios.Http.encode(msg) + '&' : '';
7369$modal.addClass('modal-msg');
7370// Custom title (currently only for prompt modal)
7371const title = $trigger.data('jalios-modal-title');
7372title && (url += 'title='+$.jalios.Http.encode(title)+'&');
7373var def = $trigger.attr('data-jalios-modal-default');
7374if (!def && $trigger.hasClass('permalink')) {
7375def = $trigger[0].href;
7376}
7377url += def ? '&defValue=' + $.jalios.Http.encode(def) + '&' : '';
7378}
7379// Case 2: Modal images
7380var href = $trigger.get(0).href; // fix bug DEVJCMS-5 : DO NOT use $elm.attr('href')
7381if (href && href.match(new RegExp('(jpg|jpeg|gif|png|bmp)([?][^?]+)*$', 'img'))) {
7382url = 'jcore/modal/image.jsp?url=' + $.jalios.Http.encode(href);
7383// In Iframe, display image in a popup
7384// FIXME if Util.isInIFrame() Popup.popupWindow(tag.href, tag.readAttribute('title') || tag.href, 640, 480);
7385}
7386// Case 3: Handle data-jalios-modal-url hack when data-jalios-ajax-refresh-url is not available
7387var href = $trigger.attr('data-jalios-modal-url');
7388if (href) {
7389url = href;
7390}
7391// Case 4: Url has been forced and override value
7392if (options && options.url) {
7393url = options.url;
7394}
7395// Show modal
7396$modal.modal('show');
7397$modal.data("jalios-modal-trigger", trigger);
7398// Show perform ajax-refresh
7399var opts = $.extend(
7400true,
7401{},
7402{
7403target: '#jalios-modal',
7404url: url,
7405noscroll: true,
7406nohistory: true,
7407waiting: $trigger.hasClass('modal-waiting')
7408},
7409options
7410);
7411opts.callback = false;
7412$trigger.refresh(opts);
7413// Hide CtxMenu
7414$.jalios.ui.CtxMenu.hide();
7415},
7416/**
7417* Open a prompt dialog with given message and call the callback with the given value.
7418*
7419* @param {string} msg the message to display
7420* @param {string} callback the callback to call (optional)
7421* @param {string} defvalue the default value to fill prompt (optional)
7422* @param {string} title to display (can be null)
7423*/
7424prompt: function (msg, callback, defvalue, title) {
7425// Build URL
7426var url = 'jcore/modal/prompt.jsp?msg=' + $.jalios.Http.encode(msg);
7427// Append default value to url
7428if (defvalue) {
7429url += '&defValue=' + defvalue;
7430}
7431// Custom title 
7432title && (url += '&title='+$.jalios.Http.encode(title));
7433// Open a modal to the given URL
7434$.jalios.ui.Modal.openFromUrl(url, {
7435callback: callback,
7436value: defvalue
7437});
7438return false;
7439},
7440/**
7441* Open a confirm dialog with given message and call the callback with the given value.
7442*
7443* @param {string} msg the message to display
7444* @param {string} callback the callback to call (optional)
7445* @param {boolean} reverse the condition (optional)
7446*/
7447confirm: function (msg, callback, reverse) {
7448// Build URL
7449var url = 'jcore/modal/confirm.jsp';
7450let message;
7451if (typeof msg === 'string') {
7452message = msg;
7453} else if ($(msg).exists()) {
7454// if first param is not a string but an element
7455let $trigger = $(msg);
7456message = $trigger.attr('data-jalios-text') || $trigger.attr('title');
7457url = $trigger.attr('data-jalios-confirm-url') || url;
7458}
7459if (url.indexOf('?') !== -1) {
7460url += '&';
7461} else {
7462url += '?';
7463}
7464// Custom modal message
7465url += message ? 'msg=' + $.jalios.Http.encode(message) : '';
7466// Open a modal to the given URL
7467$.jalios.ui.Modal.openFromUrl(url, {
7468params: {
7469modalConfirm: true
7470},
7471callback: function (value) {
7472if (value && !reverse) {
7473callback(value);
7474}
7475if (!value && reverse) {
7476callback(value);
7477}
7478}
7479});
7480return false;
7481},
7482/**
7483* Open an alert dialog with given message and call the callback with the given value.
7484*
7485* @param {string} msg the message to display
7486* @param {string} callback the callback to call (optional)
7487*/
7488alert: function (msg, callback) {
7489// Build URL
7490var url = 'jcore/modal/alert.jsp?msg=' + $.jalios.Http.encode(msg);
7491var opts = {};
7492if (callback) {
7493opts['callback'] = function (value) {
7494callback(value);
7495};
7496}
7497// Open a modal to the given URL
7498$.jalios.ui.Modal.openFromUrl(url, opts);
7499return false;
7500},
7501confirmDangerModalWithOptions: function(callback, options = CONFIRM_MODAL_OPTIONS){
7502// todo options or data
7503const $confirmDangerModal = this.getDangerModalWithOptions(callback, options)
7504// Show the modal
7505$confirmDangerModal.modal({ keyboard: true, backdrop: 'static' });
7506},
7507confirmDanger: function (trigger, callback) {
7508// Create the modal
7509let $confirmDangerModal = this.getDangerModal($(trigger), callback);
7510// Show the modal
7511$confirmDangerModal.modal({ keyboard: true, backdrop: 'static' });
7512},
7513confirmInModal: function (trigger, callback) {
7514const $trigger = $(trigger);
7515const $modalFooter = $trigger.closest('DIV.modal .modal-content .modal-footer');
7516const $modalSteps = $trigger.closest('DIV.modal').find('.modal-steps');
7517const $modalContent = $trigger.closest('DIV.modal .modal-content');
7518var $modalDialog = $trigger.closest('DIV.modal .modal-dialog');
7519var text = $trigger.attr('data-jalios-text') || $trigger.attr('title') || I18N.glp('msg.js.confirm');
7520var confirmText = $trigger.attr('data-jalios-text-confirm') || I18N.glp('com.lbl.ok');
7521var html =
7522'<div class="modal-footer modal-confirm">' +
7523'<div class="flex">' +
7524'<div class="confirm-message">' +
7525text +
7526'</div>' +
7527'<div class="confirm-buttons">' +
7528'<button class="btn btn-danger btn-confirm">' +
7529confirmText +
7530'</button>' +
7531'<button class="btn btn-default btn-cancel-confirm">' +
7532I18N.glp('com.lbl.cancel') +
7533'</button>' +
7534'</div>' +
7535'</div>' +
7536'</div>';
7537var $html = $(html).hide();
7538$html
7539.appendTo($modalContent)
7540.delay(100)
7541.queue(function (next) {
7542$trigger.closest('DIV.modal .modal-content').find('.modal-body').hide();
7543$modalFooter.hide();
7544$modalSteps.hide();
7545$(this).fadeIn();
7546//$modalDialog.addClass('modal-confirm-danger');
7547next();
7548});
7549// OK - Cancel
7550$html.find('.btn-cancel-confirm, .btn-danger').on('click', function (event) {
7551event.preventDefault();
7552var $target = $(event.target);
7553var $w = $target.closest('.modal-confirm');
7554var $that = $(this);
7555let showingModalFooter = false;
7556if ($target.hasClass('btn-confirm')) {
7557$('.modal-footer', $w).hide();
7558$('.modal-body', $w).show();
7559var source = document.getElementById('jalios-loading-wave').innerHTML;
7560var template = Handlebars.compile(source);
7561$('.modal-body',$w).addClass('text-center').html(template());
7562} else if ($target.hasClass('btn-cancel-confirm')) {
7563$trigger.closest('DIV.modal .modal-content').find('.modal-body').show(0);
7564// The double confirm cancel button has a dismiss="modal"
7565// In case of trash, we may want to select a previous option
7566// So we prevent the modal to be closed
7567event.preventDefault();
7568event.stopPropagation();
7569$modalDialog.removeClass('modal-confirm-danger');
7570showingModalFooter = true;
7571$w.remove();
7572$modalFooter.fadeIn(0);
7573} 
7574$w.removeClass('in')
7575.queue(function (next) {
7576callback($that.hasClass('btn-danger'));
7577next();
7578});
7579});
7580},
7581/**
7582* Close the current modal and store in <code>$.jalios.ui.Modal.latest.value</code> the given value.
7583*
7584* @param value the value to store.
7585*
7586* @example
7587* <button onClick="$.jalios.ui.Modal.close(true)" />
7588*/
7589close: function (value) {
7590$.jalios.ui.Modal.latest.value = value;
7591$('#jalios-modal').modal('hide');
7592return false;
7593},
7594/**
7595* Close the current modal and reload the page.
7596* @param {string} url to use for reload (optional)
7597*/
7598closeAndReload: function (url) {
7599$.jalios.ui.Modal.close();
7600if (url) {
7601$.jalios.Browser.redirect(url);
7602} else {
7603$.jalios.Browser.reload();
7604}
7605return false;
7606},
7607/**
7608* Hides current visible modal
7609*/
7610hideCurrentModal: function() {
7611$("#jalios-modal.fade.in").data("bs.modal").hide();
7612},
7613/**
7614* Triggers an event when modalRedirect.jspf is called in a modal submit
7615* @param {string} redirectUrl the redirect url (Can be empty, if so, browser will be reloaded instead of redirecting user)
7616* @param {boolean} backgroundProcess to define wether a background process is running or not
7617*/
7618triggerModalRedirectEvent: function (redirectUrl, backgroundProcess) {
7619const event = $.Event('modal:redirect');
7620event.modal = {};
7621event.modal.redirectUrl = redirectUrl;
7622event.modal.backgroundProcess = backgroundProcess;
7623event.modal.latest = $.jalios.ui.Modal.latest;
7624if ($(event.modal.latest.brokerTrigger).exists()) {
7625$(event.modal.latest.brokerTrigger).trigger(event);
7626} else if ($(event.modal.latest.trigger).exists()) {
7627$(event.modal.latest.trigger).trigger(event);
7628} else {
7629$(document).trigger(event);
7630}
7631},
7632/**
7633* Display a toastr message and close modal
7634* @param {string} message the message to display in a toastr
7635* @param {toastType} toastLevel the type of toast to display (info by default)
7636* @param {string} toastUrl (optional) an url which will be followed if user click on toastr
7637*/
7638displayMessageAndCloseModal: function (message, toastLevel = $.jalios.toastr.Level.INFO, toastrUrl) {
7639const toastrOptions = {};
7640if (toastrUrl) {
7641toastrOptions.onclick = function(){
7642window.location.href = toastrUrl;
7643}
7644}
7645$.jalios.toastr.displayMessage(message, toastLevel, toastrOptions);
7646$.jalios.ui.Modal.hideCurrentModal();
7647},
7648/**
7649* Default handler for modal redirect event
7650* @param {object} event the redirect modal event
7651*/
7652handleModalRedirect: function (event) {
7653if (event.modal.backgroundProcess) {
7654return;
7655}
7656if (event.modal.redirectUrl) {
7657$.jalios.Browser.redirect(event.modal.redirectUrl, false, false);
7658} else {
7659jQuery.jalios.Browser.reload();
7660}
7661},
7662/**
7663* Close the current modal and trigger an ajax-refresh on the wrapper.
7664* Should use closeAndFollow() that will trigger a click on trigger (with skip modal and call to next actions (like ajax-refresh)
7665*/
7666closeAndRefresh: function () {
7667$.jalios.ui.Modal.close();
7668$.jalios.AjaxRefresh.refreshTarget($.jalios.ui.Modal.latest.trigger);
7669return false;
7670},
7671/**
7672* Close the current modal and follow link/button event.
7673* <ul>
7674*   <li>Link are called with parameter value=...</li>
7675*   <li>Input/Button 'submit' are submited with their name and input hidden value</li>
7676*   <li>Form are submited with their name and input hidden value</li>
7677* </ul>
7678*
7679* @param {string} value the value to set (optional)
7680*/
7681closeAndFollow: function (value) {
7682$.jalios.ui.Modal.close(value);
7683// Do not follow if it is an ajax-refresh confirm (kludge)
7684if ($.jalios.ui.Modal.latest.callback) {
7685return false;
7686}
7687$.jalios.DOM.follow($.jalios.ui.Modal.latest.trigger, 'modal', 'value', value);
7688return false;
7689},
7690/**
7691* Returns the Common Modal
7692* @return modal
7693*/
7694getModal: function () {
7695var $modal = $('#jalios-modal');
7696if ($modal.exists()) {
7697// Do not open a modal when already open
7698if ($modal.data('bs.modal').isShown) {
7699$.console.warn('[Modal]', 'Cannot open a Modal when a modal is already opened');
7700return;
7701}
7702// Hide elements before refresh
7703$modal.children().hide().remove('A.ajax-refresh-url');
7704// Clean modal (used as targer)
7705$modal
7706.prop('class', 'modal fade ajax-refresh-div')
7707.css('width', '')
7708.css('marginLeft', '')
7709.removeAttr('data-jalios-ajax-refresh-url');
7710return $modal;
7711}
7712// hide fade
7713$modal = $(
7714'<div id="jalios-modal" class="modal fade ajax-refresh-div" aria-modal="true" role="dialog"></div>'
7715).appendTo('BODY');
7716$modal.modal({ keyboard: true, backdrop: 'static' });
7717$modal.on('hidden.bs.modal', function (event) {
7718// Fire to the callback
7719if ($.jalios.ui.Modal.latest.callback) {
7720$.jalios.ui.Modal.latest.callback($.jalios.ui.Modal.latest.value);
7721}
7722});
7723$modal.on('click', '.modal-steps .clickable-step', function (event) {
7724$.jalios.ui.Modal.goToStep(event, $(this));
7725});
7726return $modal;
7727},
7728getDangerModalWithOptions: function(callback, options){
7729try{
7730const newOptions = {...CONFIRM_MODAL_OPTIONS, ...options};
7731return this.buildDangerModal(callback, newOptions)
7732} catch (err) {
7733$.console.error(err);
7734return undefined;
7735}
7736},
7737buildDangerModal: function(callback, options){
7738try{
7739const that = this;
7740let $confirmDangerModal = $('#confirm-danger-modal');
7741let confirmModalHtml = $(
7742Handlebars.compile(
7743$(
7744'<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>'
7745).html()
7746)(options)
7747);
7748if ($confirmDangerModal.length === 0) {
7749$('body').append(confirmModalHtml);
7750$confirmDangerModal = $('#confirm-danger-modal');
7751// Destroy modal from DOM when hidden
7752$confirmDangerModal.on('hidden.bs.modal', function (event) {
7753$confirmDangerModal.remove();
7754});
7755$confirmDangerModal.find('.btn-danger').on('click', function (event) {
7756that.confirmInModal(event.target, function (confirmed) {
7757if (confirmed) {
7758callback(true);
7759$confirmDangerModal.modal('hide');
7760}
7761});
7762});
7763}
7764return $confirmDangerModal;
7765} catch (err) {
7766$.console.error(err);
7767return undefined;
7768}
7769},
7770/**
7771* Build a danger modal
7772* @param {*} $trigger the element that trigger the modal and contains the data options
7773* @param {*} callback
7774*/
7775getDangerModal: function ($trigger, callback) {
7776try {
7777// Handle Custom options
7778const options = {
7779title: $trigger.data('jalios-confirm-title') || CONFIRM_MODAL_OPTIONS.title,
7780message: $trigger.data('jalios-confirm-message') || CONFIRM_MODAL_OPTIONS.message,
7781btnCancel: $trigger.data('jalios-cancel-button-label') || CONFIRM_MODAL_OPTIONS.btnCancel,
7782btnDelete: $trigger.data('jalios-delete-button-label')|| CONFIRM_MODAL_OPTIONS.btnDelete,
7783};
7784return this.buildDangerModal(callback, options);
7785} catch (err) {
7786$.console.error(err);
7787return undefined;
7788}
7789},
7790fixWidth: function (context) {
7791var $modal = $(context || '.modal');
7792var $this = $modal.children('div, form').first();
7793var width = $this.width() || $modal.width();
7794// Handle iFrame case
7795var $iframe = $this.find('IFRAME');
7796if ($iframe.exists()) {
7797try {
7798width = $iframe[0].contentWindow.document.body.offsetWidth;
7799} catch (ex) {
7800$iframe = false;
7801$.console.warn("[modal] Can't read iFrame properties", ex);
7802}
7803}
7804// Set margin and width
7805var margin = width / 2;
7806var winW = $(window).width();
7807if (winW / 2 < margin) {
7808margin = 0;
7809}
7810var $modal = $this.closest('.modal').css('marginLeft', -margin + 'px');
7811if ($iframe && $iframe.exists()) {
7812$modal.css('width', width + 18 + 'px');
7813}
7814},
7815goToStep: function (event, elm) {
7816event.stopImmediatePropagation();
7817// Get the selected step
7818var selectedStep = parseInt(elm.data('step'));
7819// Get the formStep input
7820var form = $(elm.closest('form'));
7821var $formStep = $(form.find('input[name=formStep]'));
7822// Get the current step
7823var currentStep = parseInt($formStep.val());
7824// Compute the targetStep and the button to click
7825var targetStep;
7826var button;
7827if (selectedStep > currentStep) {
7828targetStep = selectedStep - 1;
7829button = $(form.find('button[name=opNext]'));
7830} else {
7831targetStep = selectedStep + 1;
7832button = $(form.find('button[name=opPrevious]'));
7833}
7834// Set the formStep and click on the button
7835$formStep.val(targetStep);
7836button.trigger('click');
7837}
7838};
7839// Plugin initialization on DOM ready
7840$(document).ready(function ($) {
7841register();
7842});
7843})(window.jQuery);
7844// ------------------------------------------
7845//  DEPRECATED
7846// ------------------------------------------
7847var deprecatedModal = function (fctn) {
7848jQuery.console.warn('[Deprecated] ' + fctn + ': JCMS requires the new Modal framework');
7849jQuery.console.stacktrace();
7850};
7851JCMS = window.JCMS || {};
7852JCMS.window = JCMS.window || {};
7853JCMS.window.Modal = JCMS.window.Modal || {};
7854JCMS.window.Modal.close = jQuery.jalios.ui.Modal.close;
7855JCMS.window.Modal.relocate = function () {
7856deprecatedModal('Modal.relocate');
7857};
7858JCMS.window.Modal.showJSP = function (jsp, callback, params) {
7859deprecatedModal('Modal.showJSP');
7860if (typeof params == 'object') {
7861jsp += '?' + jQuery.param(params, true);
7862}
7863jQuery.jalios.ui.Modal.openFromUrl(jsp, { callback: callback });
7864};
7865JCMS.window.Modal.confirm = function (msg, func, usage) {
7866deprecatedModal('Modal.confirm');
7867jQuery.jalios.ui.Modal.confirm(msg, func);
7868};
7869//
7870// This function prompts the given message and provide a text input.
7871// Then, if the user confirms (OK button), it execute a javascript
7872// function.
7873//
7874// @param msg the message to prompt.
7875// @param func the function to execute.
7876// @param defvalue the default value of the text input.
7877// @deprecated use isntead jQuery.jalios.ui.Modal
7878//
7879function promptJSAction(msg, func, defvalue) {
7880deprecatedModal('promptJSAction');
7881jQuery.jalios.ui.Modal.prompt(msg, func, defvalue);
7882}
7883//
7884// This function prompts the given message and provide a text input.
7885// Then, if the user confirms (OK button), it redirect on the given
7886// URL with the input value bound to the given parameter.
7887//
7888// @param msg the message to prompt.
7889// @param url the url to redirect on.
7890// @param param the name of the parameter used to provide the input value
7891// @param defvalue the default value of the text input.
7892// @deprecated use isntead jQuery.jalios.ui.Modal
7893//
7894function promptAction(msg, url, param, defvalue) {
7895deprecatedModal('promptAction');
7896jQuery.jalios.ui.Modal.prompt(
7897msg,
7898function (value) {
7899if (value === false) {
7900return;
7901}
7902jQuery.jalios.Browser.redirect(jQuery.jalios.Http.getUrlWithUpdatedParam(url, param, value));
7903},
7904defvalue
7905);
7906}
7907//
7908// This function prompts the given message and execute given function if the user confirms (OK button)
7909// @param msg the message to prompt.
7910// @param func the function to run.
7911// @deprecated use isntead jQuery.jalios.ui.Modal
7912//
7913function confirmJSAction(msg, func) {
7914deprecatedModal('confirmJSAction');
7915jQuery.jalios.ui.Modal.confirm(msg, func);
7916}
7917//
7918// This function prompts the given message and redirect on the given URL if the user confirms (OK button)
7919// @param msg the message to prompt.
7920// @param url the url to redirect on.
7921// @deprecated use isntead jQuery.jalios.ui.Modal
7922//
7923function confirmAction(msg, url) {
7924deprecatedModal('confirmAction');
7925jQuery.jalios.ui.Modal.confirm(msg, function () {
7926jQuery.jalios.Browser.redirect(url);
7927});
7928return false;
7929}
7930//
7931// This function prompts the given message and redirect on the given URL if the user does not confirm (Cancel button)
7932// @param msg the message to prompt.
7933// @param url the url to redirect on.
7934// @deprecated use isntead JCMS.window.Modal
7935//
7936function confirmNoAction(msg, url) {
7937deprecatedModal('confirmNoAction');
7938jQuery.jalios.ui.Modal.confirm(
7939msg,
7940function () {
7941jQuery.jalios.Browser.redirect(url);
7942},
7943true
7944);
7945}
7946;
7947!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();
7947f.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);;
7948!(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");
7948g.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};
7948toastr.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||{};
7948JCMS.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})};;
7949!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()};;
7950!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}
7950,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()}
7950var 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);;
7951!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();
7951var 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);;
7952!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
7952se,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);;
7953var CtxMenuManager=CtxMenuManager||{};!function(f){var k=function(){f(document).on("jalios:broker",l);f(document).on("click",".ctxmenu",g);f(document).on("contextmenu",".ctxmenu-right",g);f(document).on("click","UL.dropdown-menu LI.disabled A",function(n){n.preventDefault()});f(document).on("jalios:refresh",function(o){var n=f.jalios.Event.match(o,"refresh","before");if(n){h()}});f(document).on("hide.bs.dropdown",function(n){n.preventDefault();f(n.target).removeClass("open")})};var i=/ctxmenu(-right)*/i;var l=function(o){var n=f.jalios.Event.match(o,"broker",i,true,true);if(!n){return}var p=n.source.currentTarget;j(p,n.options)};var g=function(n){n.preventDefault();n.stopImmediatePropagation();j(n.currentTarget)};var j=function(p,o){if(!p){return false}var n=f(p);
7953f(document.body).addClass("contextual-menu-displayed");n.addClass("ctxTrigger");n.parent().addClass("ctxTriggerParent");CtxMenuManager.latestElement=n.identify().attr("id");f.jalios.ui.CtxMenu.$latest=n;n.dropdown("toggle");n.off("click")};var h=function(){var n=f.jalios.ui.CtxMenu.$latest;if(n){f.jalios.ui.CtxMenu.hide();n.removeClass("ctxTrigger");n.parent().removeClass("ctxTriggerParent")}f(document.body).removeClass("contextual-menu-displayed");return false};var d=function(p,n){var r=p.data("ctxmenu.hint");if(r){p.removeClass(r)}var o=n;for(var q=0;q<10;q++){var r=o.matchClass(/hints-([\w-]+)/,1);if(!r||r.length<=0){o=o.parent();continue}r=r[0];p.addClass(r);p.data("ctxmenu.hint",r);return p}return p};var c=function(t){if(!t.html()){if(f.jalios.ui.CtxMenu.$latest){f.jalios.ui.CtxMenu.$latest.dropdown("toggle")}return}t.find("LI.disabled A[onclick]").each(function(){f(this).removeAttr("onclick")});var o=f(window);var w=o.width();var y=o.scrollLeft();var s=o.height();var u=o.scrollTop();t.addClass("open");var n=t.bounds();var r=(n.left+n.width)-(w+y);var p=(n.right+n.width)-(w+y);if(p>0){t.addClass("dropdown-menu-right");var q=r>0?n.left-r:n.left;if(q<0){q=0}t.css("left",q+"px")}else{t.css("left",n.left+12+"px");t.removeClass("dropdown-menu-right")}t.attr("aria-hidden","false");var x=t.attr("id");if(x&&x!==""){f("."+x).attr("aria-expanded","true")}var v=n.top;if(n.bottom>s+u){v=n.top-(n.bottom-s-u)-10;t.css("top",v+"px")}if(v<40){t.css("top",40+"px")}};f.fn.dropdown.clearMenus=function(r){var n=r&&f(r.target);if(n&&!n.hasClass("dropdown-backdrop")&&(n.hasClass("dropdown-clear")||n.closest(".dropdown-clear").length>0)){var o={relatedTarget:this};n.closest(".dropdown-clear").removeClass("open");n.closest(".dropdown-menu").trigger(r=f.Event("hide.bs.dropdown",o));if(!r.isDefaultPrevented()){n.closest(".dropdown-menu").trigger("hidden.bs.dropdown",o)}return false}var q=true;if(n&&n.closest("[data-toggle=dropdown]").length===0&&!n.hasClass("dropdown-backdrop")&&!n.hasClass("dropdown-clear")&&!n.closest(".dropdown-clear").length>0&&(n.data("dropdown-keep-open")||n.closest(".keep-open").length>0)){q=false}var p=true;f(".dropdown, .dropdown-menu").each(function(){var u=f(this);if(!q){if(n.closest(".dropdown-menu").exists()&&u[0]===n.closest(".dropdown-menu")[0]){return true}if(n.closest(".dropdown").exists()&&u[0]===n.closest(".dropdown")[0]){return true}}if(!u.hasClass("open")&&!u.parent().hasClass("open")){p=false;return}u.removeClass("open");u.parent().removeClass("open");f(".dropdown-backdrop").remove();const t=u.find("[aria-expanded='true']");if(t.length>0){t.attr("aria-expanded","false")}var s={relatedTarget:this};u.trigger(r=f.Event("hide.bs.dropdown",s));if(!r.isDefaultPrevented()){u.trigger("hidden.bs.dropdown",s)}});return p};f.fn.dropdown.getParent=function(n,p){if(!n||!n.exists()||!n.attr("class")){return h()}o=e(n,p);if(o&&o.exists()){return d(o,n)}var o=m(n,p);if(o&&o.exists()){return d(o,n)}return false};var e=function(o,p,t){if(p){return false}var q=o.attr("class");if(!q){return false}if(o.hasClass("mceButton")){return false}var s=o.bounds();var n="#"+q.trim().replace(/\S+[%\/]+\S+/g,"").trim().split(/\s+/).join(", #");var r=f(n);if(!r.exists()){return false}if(!r.hasClass("dropdown-menu")){r.addClass("dropdown-menu");r.css("display","");if(o.data("ctx-menu-as-sibling")){o.parent().css("position","relative");o.parent().append(r)}else{r.appendTo(document.body)}}if(!o.data("ctx-menu-as-sibling")){r.css("top",s.bottom+"px").css("left",s.left+"px")}else{r.css("top",o.outerHeight()+"px").css("left",0)}if(!t){r.addClass("open");c(r);r.removeClass("open")}return r};var a=false;var m=function(n,p){if(!(n.hasClass("ctxmenu")||n.hasClass("ctxmenu-right")||n.attr("data-jalios-action")=="ctxmenu")||n.attr("data-jalios-action")=="ctxmenu-right"){return false}if(p){return f("UL#ctxAjaxMenu")}if(a&&n.is(a)){return f("UL#ctxAjaxMenu")}a=n;var o=f("UL#ctxAjaxMenu");if(!o.exists()){o=f('<ul id="ctxAjaxMenu" class="dropdown-menu" role="menu" data-jalios-ajax-refresh-url="jcore/ctxmenu/ctxmenu.jsp"></ul>').appendTo(f(document.body))}f("#ctxAjaxMenu").html('<li style="padding-left:10px;">'+f.jalios.I18N.glp("info.msg.loading")+"</li>");var r={ctxId:n.getJcmsId(),classes:n.attr("class")};var s=n.closest(".TreeCat");if(s.exists()){r.context=s.attr("id")}
7953n.refresh({target:"#ctxAjaxMenu",params:r,noscroll:true,nohistory:true,waiting:false,callback:c});var q=n.bounds();o.css("top",q.bottom+"px").css("left",q.left+"px");return o};var b=f.fn.closest;f.fn.closest=function(q,p){var n=f.proxy(b,this)(q,p);if(n.exists()){return n}var r=f.jalios.ui.CtxMenu.$latest;if(!r){return n}if(f("#ctxAjaxMenu").is(this)||f("#ctxAjaxMenu").find(this).exists()){return f.proxy(b,r)(q,p)}var o=e(r,false,true);if(o&&o.find(this).exists()){return f.proxy(b,r)(q,p)}return n};if(!f.jalios){f.jalios={}}if(!f.jalios.ui){f.jalios.ui={}}f.jalios.ui.CtxMenu={show:j,hide:f.fn.dropdown.clearMenus};f(document).ready(function(n){k()})}(window.jQuery);CtxMenuManager.hideAllCtxtMenus=function(){jQuery.fn.dropdown.clearMenus()};;
7954!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);;
7955!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}
7955if(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");
7955var 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);;
7956!(function ($) {
7957// Action regexp
7958var pattern1 = /(chooser):([\w-]+)/i;
7959var pattern2 = /(widget):([\w-]+)/i;
7960var chooserConfiguration = {
7961acl: {
7962path: $.jalios.Http.buildUrl('work/chooser/aclChooser.jsp'),
7963name: 'ACL'
7964},
7965category: {
7966path: $.jalios.Http.buildUrl('work/categoryChooser.jsp?cids={value}'),
7967name: 'Category'
7968},
7969country: {
7970path: $.jalios.Http.buildUrl('work/chooser/countryChooser.jsp'),
7971name: 'Country'
7972},
7973dbrecord: {
7974path: $.jalios.Http.buildUrl('work/dbrecordChooser.jsp'),
7975name: 'DBRecord'
7976},
7977document: {
7978path: $.jalios.Http.buildUrl('work/docChooser.jsp', { nbElt: '1' }),
7979name: 'Document'
7980},
7981group: {
7982path: $.jalios.Http.buildUrl('work/chooser/groupChooser.jsp'),
7983name: 'Group'
7984},
7985image: {
7986path: $.jalios.Http.buildUrl('work/mediaBrowser.jsp', { selectMode: 'true', medias: 'image' }), // use plural "medias" to restrict list
7987name: 'Image',
7988ref: 'mediabrowser'
7989},
7990language: {
7991path: $.jalios.Http.buildUrl('work/langChooser.jsp'),
7992name: 'Language'
7993},
7994media: {
7995path: $.jalios.Http.buildUrl('work/mediaBrowser.jsp', { selectMode: 'true' }),
7996name: 'Media',
7997ref: 'mediabrowser'
7998},
7999member: {
8000path: $.jalios.Http.buildUrl('work/chooser/memberChooser.jsp'),
8001name: 'Member'
8002},
8003publication: {
8004path: $.jalios.Http.buildUrl('work/pubChooser.jsp'),
8005name: 'Publication'
8006},
8007query: {
8008path: $.jalios.Http.buildUrl('work/queryChooser.jsp', { qs: '{value}' }),
8009name: 'Query'
8010},
8011workspace: {
8012path: $.jalios.Http.buildUrl('work/workspace/workspaceChooser.jsp'),
8013name: 'Workspace'
8014},
8015unifiedinsert: {
8016path: 'work/unifiedinsert/unifiedinsert.jsp?',
8017name: 'UnifiedInsert'
8018}
8019};
8020// ------------------------------------------
8021// PRIVATE
8022// ------------------------------------------
8023var register = function () {
8024// Register to broker
8025$(document).on('jalios:broker', brokerCallback);
8026// Fix duration chooser
8027$(document).on('keyup', '.duration_user', function (event) {
8028var $e = $(event.currentTarget);
8029updateDuration($e, 1000);
8030});
8031$(document).on('change', '.duration_unit', function (event) {
8032var $e = $(event.currentTarget);
8033updateDuration($e, 1000);
8034});
8035$(document).on('change', '.jalios-country', function (event) {
8036var $e = $(event.currentTarget);
8037$e.prev('INPUT.jalios-country-display')
8038.removeClass(event.previousValue + '-flag')
8039.addClass(event.currentVal + '-flag');
8040});
8041$(document).on('change', '.control-date', function (event) {
8042var $e = $(event.currentTarget);
8043updateDateHiddenInput($e);
8044var options = { event: 'change' };
8045$e.trigger(jQuery.Event('jalios.date.change', options));
8046});
8047$(document).on('focusout', ':input[data-jalios-event="datechange"]', function (ev) {
8048var $this = $(this);
8049var value = $this.val();
8050if (value) {
8051var $elm = $this.closest('.datepicker-wrapper');
8052var lang = jQuery.jalios.I18N.glp('lang.datepicker');
8053var showTime = $elm.closest('.widget').hasClass('jalios-date-time');
8054var date = stringToDate(value, showTime, lang);
8055if (date) {
8056var oldDate = stringToDate($elm.data('date'), showTime, lang);
8057if (!oldDate || oldDate.getTime() !== date.getTime()) {
8058setTimeout(function () {
8059var options = {
8060date: moment(date), // date the picker changed to. Type: moment object (clone)
8061event: 'focusout'
8062};
8063$this.trigger(jQuery.Event('datechange', options));
8064}, 100);
8065}
8066}
8067}
8068});
8069$(document).on('change', '.form-control-value.jalios-workspace', function (event) {
8070var $e = $(event.currentTarget);
8071var $widget = $e.closest('.widget');
8072if (!$widget || !$widget.exists()) {
8073return;
8074}
8075var $wkChooser = $widget.find('.triggerWsChangeRefresh');
8076if (!$wkChooser || !$wkChooser.exists()) {
8077return;
8078}
8079var $input = $widget.find('.workspaceChangeEvent');
8080if (!$input || !$input.exists()) {
8081return;
8082}
8083$input.val(true);
8084$e.refresh();
8085});
8086};
8087// ------------------------------------------
8088// WIDGET
8089// ------------------------------------------
8090var brokerCallback = function (event) {
8091var broker = $.jalios.Event.match(event, 'broker');
8092if (!broker) {
8093return;
8094}
8095// No pattern
8096var regex1 = broker.type.match(pattern1);
8097var regex2 = broker.type.match(pattern2);
8098if (!(regex1 || regex2)) {
8099return;
8100}
8101// No action
8102var regex = regex1 ? broker.type.match(pattern1) : broker.type.match(pattern2);
8103var swtch = regex[1];
8104var attr = regex[2];
8105if (!swtch || !attr) {
8106return;
8107}
8108// Element
8109var $elm = $(broker.source.currentTarget);
8110// Handle dropdown menus and dropdown submenus
8111var $parent = $elm.closest('.input-group-btn').find('.dropdown-menu');
8112while ($parent.exists() && $parent.hasClass('dropdown-menu')) {
8113$parent = $parent.parent();
8114if ($parent.hasClass('dropdown-submenu')) {
8115$parent = $parent.parent();
8116}
8117}
8118if (!$parent.exists()) {
8119$parent = $elm.parent();
8120}
8121var $chooser = $parent.prevAll('INPUT.form-control-value');
8122if (!$chooser.exists()) {
8123$chooser = $parent.prevAll('INPUT.form-control.control-file');
8124} // Simple file
8125if (!$chooser.exists()) {
8126$chooser = $elm.closest('.control-file.plupload');
8127} // Plupload file
8128var options = broker.options;
8129// Action
8130if (chooserConfiguration[attr]) {
8131openElementDataChooser($chooser, attr, options, $elm);
8132} else if (attr == 'color') {
8133try {
8134if (!$elm.is('INPUT')) {
8135let $spectrumInput = $elm.closest('.input-group').find('.spectrum');
8136$spectrumInput.spectrum('show');
8137}
8138} catch (err) {
8139$.console.log(err);
8140}
8141} else if (attr == 'duration') {
8142// FIXME
8143} else if (attr == 'date') {
8144if (!$chooser.exists() && $elm.is('INPUT')) {
8145$chooser = $elm;
8146}
8147openDateChooser($elm, $chooser);
8148} else if (attr == 'clear') {
8149$.jalios.ui.Widget.clear($chooser);
8150// Clear color
8151try {
8152if (!$elm.is('INPUT')) {
8153let $spectrumInput = $elm.closest('.input-group').find('.spectrum');
8154if ($spectrumInput.length) {
8155$spectrumInput.spectrum('set', '');
8156$spectrumInput.trigger('change', { currentVal: '' });
8157}
8158}
8159} catch (err) {
8160$.console.log(err);
8161}
8162// Clear country flag
8163if ($chooser.hasClass('jalios-country') && !$chooser.val()) {
8164var $countryDisplay = $chooser.prev('.control-country');
8165var match = $countryDisplay[0].className.match(/\w*-flag/g);
8166if (match) {
8167for (var i = 0; i < match.length; i++) {
8168$countryDisplay.removeClass(match[i]);
8169}
8170$countryDisplay.addClass('-flag');
8171}
8172}
8173if ($chooser.data('jalios-event') === 'datechange') {
8174var options = {
8175event: 'clear'
8176};
8177$chooser.trigger(jQuery.Event('datechange', options));
8178}
8179// Clear filedocument chooser to display back the input file
8180if ($chooser.hasClass('jalios-publication')) {
8181var $widget = $.jalios.ui.Widget.getWidget($chooser);
8182// Check if the chooser is in a widget because when we remove one of choosers, the chooser is removed from the widget. So it is useless to try to display the input file.
8183// If there is only one chooser it is not removed from the widget, so we try to display the input file.
8184if ($widget.exists()) {
8185var $item = $chooser.closest('.jalios-input-group');
8186var $fileInput = $item.find('.jalios-publication-filebrowser');
8187if ($fileInput.exists()) {
8188// Do not enable if the field is disabled
8189$fileInput.prop('disabled', $widget.hasClass('disabled'));
8190$fileInput.attr('disabled', null);
8191// Show file input
8192$fileInput.removeClass('hide');
8193// Hide and disable publication input
8194$item.find('INPUT.form-control-display').addClass('hide').prop('disabled', true);
8195// Hide and disable publication input
8196$item.find('INPUT.form-control-value').addClass('hide').prop('disabled', true);
8197}
8198}
8199}
8200} else if ($elm.attr('data-jalios-chooser')) {
8201options.customId = attr;
8202openElementDataChooser($chooser, $elm.attr('data-jalios-chooser'), options, $elm);
8203}
8204};
8205var openElementDataChooser = function ($chooser, chooserName, customParams, $elm) {
8206var callback = function (id, title, media, url) {
8207var $parent = $chooser.parent();
8208var $input = $parent.find('INPUT.form-control-display');
8209if ($input.exists()) {
8210var previousIdValue = $chooser.val();
8211$chooser.val(id || '').trigger(jQuery.Event('change', { previousValue: previousIdValue, currentVal: id }));
8212var previousTitleValue = $input.val();
8213$input
8214.val(title || '')
8215.trigger(jQuery.Event('change', { previousValue: previousTitleValue, currentVal: title }));
8216} else {
8217var previousValue = $chooser.val();
8218$chooser.val(url || '').trigger(jQuery.Event('change', { previousValue: previousValue, currentVal: url }));
8219}
8220// Handle publication chooser with input file
8221var $fileInput = $parent.find('.jalios-publication-filebrowser');
8222if ($fileInput.exists()) {
8223// Hide file input
8224$fileInput.addClass('hide');
8225// Disable file input
8226if ($fileInput.is(':input')) {
8227// classic file input
8228$fileInput.prop('disabled', true);
8229} else {
8230// plupload
8231$fileInput.find('INPUT[type="file"]').prop('disabled', true);
8232}
8233// Display publication input
8234$input.removeClass('hide');
8235// Enable publication/chooser inputs
8236$input.prop('disabled', false);
8237$chooser.prop('disabled', false);
8238}
8239// Handle publication chooser with dropdown menu: if there is an id, display the dropdown and hide the clear button
8240if ($chooser.hasClass('jalios-publication') && id) {
8241var isKeyword = $.jalios.ui.Widget.Keyword.isInKeyword($chooser);
8242// Do not display the dropdown menu if it's a publication keyword
8243if (!isKeyword) {
8244var $inputGroupBtn = $parent.find('.input-group-btn');
8245var $dropdown = $inputGroupBtn.find('.dropdown-toggle');
8246if ($dropdown.exists()) {
8247$.fn.dropdown.clearMenus();
8248var $dropdownMenu = $inputGroupBtn.find('.dropdown-menu');
8249$dropdownMenu.find('.edit-item').removeClass('hide'); // Show the edit item
8250$dropdownMenu.find('.add-item').addClass('hide'); // Hide the add item
8251// $dropdown.removeClass('hide'); // Display the dropdown
8252// $parent.find('.input-group-btn .btn-remove').addClass('hide') // Hide the clear button
8253}
8254}
8255}
8256var $widget = $chooser.closest('.widget');
8257if ($widget.exists() && $widget.hasClass('keyword')) {
8258// Add new empty input for keyword field
8259JCMS.form.Widget.add($input[0]);
8260}
8261};
8262var options = {
8263currentValue: $chooser.val(),
8264params: customParams,
8265popup: {}
8266};
8267if ($elm.data('jalios-chooser-popup-width')) {
8268options.popup.width = $elm.data('jalios-chooser-popup-width');
8269}
8270if ($elm.data('jalios-chooser-popup-height')) {
8271options.popup.height = $elm.data('jalios-chooser-popup-height');
8272}
8273// Automatically retrieve the workspace from the "ws" input IF :
8274// - Workspace is not specifically defined,
8275// - and the chooser is in a publication editing form (eg. edit a generated type), a modal or any other form with ws input
8276// - and chooser is not a group chooser (cf JCMS-7176)
8277// - and chooser is not a member chooser (cf JCMS-6904)
8278var $editPubForm = $chooser.closest('.edit-pub,#jalios-modal,form');
8279if (!options.params.ws && !options.params.workspaceFilter && $editPubForm.exists() && chooserName !== 'group' && cho
8279oserName !== 'member') {
8280var $wsInput = $editPubForm.find(':input[name="ws"]');
8281if ($wsInput.exists()) {
8282options.params.ws = $wsInput.val();
8283}
8284}
8285// However, for chooser:edit action, never replace the workspace of the content being edited
8286if (options.params.customId === 'edit') {
8287delete options.params.ws;
8288}
8289$.jalios.ui.Widget.Chooser.openDataChooser(chooserName, callback, options);
8290};
8291// See also:
8292// https://eonasdan.github.io/bootstrap-datetimepicker/
8293var openDateChooser = function ($trigger, $chooser) {
8294var $elm = $trigger.closest('.datepicker-wrapper');
8295if (!$elm.data('DateTimePicker')) {
8296var lang = jQuery.jalios.I18N.glp('lang.datepicker');
8297var showTime = $elm.closest('.widget').hasClass('jalios-date-time');
8298$elm
8299.datetimepicker({
8300locale: lang, // document.documentElement.getAttribute('xml:lang'),
8301format: getDateFormat(!showTime),
8302calendarWeeks: true,
8303stepping: 1,
8304/* allowInputToggle: true, */
8305widgetParent: $(document.body),
8306// debug: true,
8307keyBinds: {
8308"left": null,
8309"right": null,
8310"delete": null
8311},
8312icons: {
8313"time": 'glyphicons-clock',
8314"date": 'glyphicons-calendar',
8315"up": 'glyphicons-chevron-up',
8316"down": 'glyphicons-chevron-down',
8317"previous": 'glyphicons-chevron-left',
8318"next": 'glyphicons-chevron-right',
8319"today": 'glyphicons-screenshot',
8320"clear": 'glyphicons-trash'
8321}
8322})
8323.on('dp.change', function (ev) {
8324var options = {
8325date: ev.date, // date the picker changed to. Type: moment object (clone)
8326oldDate: ev.oldDate, // previous date. Type: moment object (clone) or false in the event of a null
8327event: 'change'
8328};
8329updateDateHiddenInput($elm);
8330$chooser.trigger(jQuery.Event('jalios.date.change', options));
8331})
8332.on('dp.hide', function (ev) {
8333var options = {
8334date: ev.date, // date the picker changed to. Type: moment object (clone)
8335event: 'hide'
8336};
8337updateDateHiddenInput($elm);
8338if (ev.date) {
8339$chooser.trigger(jQuery.Event('datechange', options));
8340}
8341});
8342}
8343$elm.data('DateTimePicker').show();
8344};
8345// ------------------------------------------
8346// DATA
8347// ------------------------------------------
8348$.jalios.ui.Widget.Chooser = {
8349/**
8350* Open a Data chooser of the specified type, or a custom chooser if the specified type does not match any known chooser.
8351*
8352* @param chooserTypeOrCustomPath a chooser type from one of the following values : 'acl', 'category', 'country', 'dbrecord', 'document', 'group', 'image', 'media', 'member', 'publication', 'query', 'workspace' or a custom path to be opened in the chooser
8353* @param options an options object that may specify the following property 'currentValue' : for any current value being select 'params' : an optional array or object that will be serialized in the choose URL if specified
8354* @param callback a callback function invoked when chooser is closed with a value
8355*/
8356openDataChooser: function (chooserTypeOrCustomPath, callback, options) {
8357var options = options || {};
8358options.currentValue = options.currentValue || '';
8359options.params = options.params || {};
8360var callback = callback || function (args) { };
8361var chsrId, chsrUrl, chsrName;
8362if (chooserConfiguration[chooserTypeOrCustomPath]) {
8363chsrId = chooserConfiguration[chooserTypeOrCustomPath]['ref'] || chooserTypeOrCustomPath;
8364chsrUrl = chooserConfiguration[chooserTypeOrCustomPath].path;
8365chsrName = chooserConfiguration[chooserTypeOrCustomPath].name;
8366} else {
8367chsrId = options.params.customId || 'custom';
8368chsrUrl = chooserTypeOrCustomPath;
8369chsrName = 'Custom';
8370}
8371// Replace {value} in chooser path with the current chooser value if any
8372chsrUrl = chsrUrl.replace(new RegExp(encodeURIComponent('{value}')), encodeURIComponent(options.currentValue));
8373// Merge the parameters retrieved from the options
8374chsrUrl = $.jalios.Http.buildUrl(chsrUrl, options.params);
8375// Add context path to complete the URL
8376chsrUrl = $.jalios.Http.getContextPath() + '/' + chsrUrl;
8377// Fallback on default popup width & height
8378options = $.extend(
8379true,
8380{
8381popup: {
8382width: 1080,
8383height: 600
8384}
8385},
8386options
8387);
8388// Compute chooser dimension
8389var chsrWidth = options.popup.width;
8390var chsrHeight = options.popup.height;
8391// Open Chooser
8392$.jalios.Browser.popupWindow(chsrUrl, chsrName, chsrWidth, chsrHeight, false, true, true, false, false, callback);
8393}
8394};
8395// ------------------------------------------
8396// DATE
8397// ------------------------------------------
8398/**
8399* For date field, update hidden input used on server side when
8400* timezone is enabled.
8401*
8402* If timezone is enabled, 2 input will be used for date picker :
8403* - the display input, in the user timezone
8404* - the hidden input, in the server timezone
8405*
8406* This method uses moment-timezone to update the hidden
8407* input from the new date selected in the display input
8408*
8409* @param elm any DOM element inside a date field wrapper
8410* @since jcms-10.0.1 / JCMS-4865 ++ jcms-10.0.3 / JCMS-7514
8411*/
8412const updateDateHiddenInput = function (elm) {
8413const $elm = $(elm).closest('.datepicker-wrapper').addBack('.datepicker-wrapper');
8414const $userInput = $elm.find('.form-control-display');
8415if (!$userInput.exists()) {
8416return;
8417}
8418const $widgetElm = $elm.closest('.widget');
8419const showTime = $widgetElm.hasClass('jalios-date-time');
8420const inputUserTimeZone = $userInput.data('timezone');
8421const userSelectedDateStr = $userInput.val();
8422const serverSideVal = dateToServerString({date: userSelectedDateStr, showTime: showTime, dateTZ: inputUserTimeZone});
8423const $hiddenInput = $elm.find('.form-control-value');
8424$hiddenInput.val(serverSideVal);
8425};
8426/**
8427* Parse the string value of date input to a Date object.
8428*
8429* @param str the date to parse
8430* @param showTime true if the str contains date & time, false if str contains only the date
8431* @return a Date object or null if date could not be parsed
8432*/
8433var stringToDate = function (str, showTime, lang) {
8434var date;
8435if (str) {
8436var d = moment(str, getDateFormat(!showTime), lang || I18N['lang.datepicker'], true);
8437if (d.isValid()) {
8438date = d.toDate();
8439}
8440}
8441return date;
8442};
8443/**
8444* Retrieve a string representation of the specified Date object.
8445*
8446* @param str the date to parse
8447* @param showTime true if the resulting str must contains date & time, false if str must constains only the date
8448* @return a string representation of the date or null if date could not be parsed
8449*/
8450var dateToString = function (date, showTime, lang) {
8451var dateString;
8452if (date) {
8453dateString = moment(date)
8454.locale(lang || I18N['lang.datepicker'])
8455.format(getDateFormat(!showTime));
8456}
8457return dateString;
8458};
8459/**
8460* Format a date into a string representation suitable to be sent to the server.
8461* 
8462* Examples (when JPlatform property 'js.date.use-iso-8601' is true) : 
8463* 
8464*   jQuery.jalios.ui.Widget.Date.dateToServerString({date:'12/31/1999 23:59', showTime: true}); // with an English user in America/Los_Angeles timezone
8465*   '2000-01-01T07:59:00.000Z'
8466* 
8467*   jQuery.jalios.ui.Widget.Date.dateToServerString({date:'12/31/1999', showTime: false}); // with an English user in Australia/Sydney timezone
8468*   '1999-12-30T13:00:00.000Z'
8469* 
8470*   jQuery.jalios.ui.Widget.Date.dateToServerString({date:'12/31/1999 23:59', showTime: true, dateTZ: "America/New_York"}); // if using a date picker allowing custom timezone
8471*   '2000-01-01T04:59:00.000Z'
8472* 
8473*   jQuery.jalios.ui.Widget.Date.dateToServerString({date: moment.tz("2014-06-01 12:00", "America/New_York")});
8474*   '2014-06-01T16:00:00.000Z'
8475* 
8476*   jQuery.jalios.ui.Widget.Date.dateToServerString({date: new Date("December 31, 1999 23:59:42")})
8477*   '1999-12-31T22:59:42.000Z'
8478* 
8479* @param {string|Moment|Date} date - The date to format, which can be :
8480*  a string (formatted using the JPlatform current user date I18N format, in the user timezone, as retrieved in date picker field value), 
8481*  a Moment Date, 
8482*  a javascript Date object in UTC/GMT
8483* @param {boolean} [showTime=false] - When passing string date, whether to include the time part in the formatted string (true = date + time, false = date only).
8484* @param {zoneId} [dateTZ=null] - When passing string date, optional timezone of the string date (not used for Moment or Date object)
8485* @since JCMS-11516
8486*/
8487const dateToServerString = function ({date, showTime, dateTZ}){
8488let userZonedDate;
8489if (moment.isMoment(date)) { // Moment date from API such as fullcalendar/timeline JS
8490userZonedDate = date;
8491} else if (typeof date === 'string') { // string from JPlatform datepicker (formated using I18N in userTimezone)
8492const userTimeZone = dateTZ || JPlatformContext.userZoneId;
8493userZonedDate = moment.tz(date, getDateFormat(!showTime), userTimeZone);
8494} else if (date instanceof Date) { // date UTC/GMT ?
8495userZonedDate = moment(date); 
8496} else {
8497// NOT SUPPORTED
8498throw new Error("Unsupported date parameter " + date);
8499}
8500if (userZonedDate.isValid()) {
8501// "real" value sent to server
8502// - Either with ISO format if enabled (requires global support accross all code/plugin)
8503if (JSON.parse(jQuery.jalios.Properties.get('date.use-iso-8601') || false)) {
8504return userZonedDate.toISOString();
8505}
8506// - Or else using legacy date or date/time using localized format in user lang and converted in server's default timezone
8507const serverTimeZone = JPlatformContext.serverZoneId; 
8508const serverZonedDate = userZonedDate.clone().tz(serverTimeZone);
8509const serverZoneDateStr = serverZonedDate.format(getDateFormat(!showTime));
8510return serverZoneDateStr;
8511}
8512}
8513/**
8514* Retrieve the date string format used in date input.
8515*
8516* @param dateOnly true if the date format should contains only the date, false if the str must also contains the time
8517* @return a date format
8518*/
8519var getDateFormat = function (dateOnly) {
8520return I18N.glp(dateOnly ? 'datechooser.js.date-format' : 'datechooser.js.date-time-format');
8521};
8522/**
8523* Update the Date field convert the long to date
8524*
8525* @param $trigger the trigger of the update
8526*/
8527var updateDate = function ($e) {
8528var time = $e.closest('.widget').hasClass('jalios-date-time');
8529var val = $e.val();
8530if (!val) {
8531return;
8532}
8533var lg = parseInt(val);
8534var date = new Date(lg);
8535$e.val(dateToString(date, time));
8536};
8537/**
8538* Update the Duration field of Duration Chooser
8539*
8540* @param $trigger the trigger of the update
8541*/
8542var updateDuration = function ($trigger, resolution) {
8543var $wrapper = $.jalios.ui.Widget.getWrapper($trigger);
8544var $duration = $wrapper.find('INPUT.duration');
8545var $time = $wrapper.find('INPUT.duration_user');
8546var $unit = $wrapper.find('SELECT.duration_unit');
8547if (!$time.exists()) {
8548return;
8549}
8550$time.val($time.val().replace(/[^0-9\.]/, ''));
8551var value = $time.val() ? parseInt(Math.round($time.val())) * parseInt($unit.val()) : '';
8552$duration.val(value);
8553};
8554$.jalios.ui.Widget.Date = {
8555stringToDate: stringToDate,
8556dateToString: dateToString,
8557getDateFormat: getDateFormat,
8558updateDuration: updateDuration,
8559updateDate: updateDate,
8560openDateChooser: openDateChooser,
8561dateToServerString: dateToServerString
8562};
8563// ------------------------------------------
8564// REGISTER
8565// ------------------------------------------
8566// Plugin initialization on DOM ready
8567$(document).ready(function ($) {
8568register();
8569});
8570})(window.jQuery);
8571;
8572!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);;
8573!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+'"/>')}
8573else{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={}}
8573c.jalios.ui.TreeView={upgrade:i,refresh:g,refreshNode:j};c(document).ready(function(k){h()})}(window.jQuery);;
8574!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);;
8575!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);;
8576!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);;
8577(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);;
8578!(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)");
8578if(!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);;
8579(function(b){var c=b.fn.modal.Constructor.prototype.hide;b.fn.modal.Constructor.prototype.hide=function(){c.apply(this,arguments);b(document).off("keydown.bs.modal")};var a=b.fn.modal.Constructor.prototype.enforceFocus;b.fn.modal.Constructor.prototype.enforceFocus=function(){var d=this.$element.find(".modal-content");this.$element.show();var e=d.find(":tabbable"),f=b(e[e.length-1]),g=b(e[0]);f.on("keydown.bs.modal",b.proxy(function(h){if(h.keyCode===9&&!(h.shiftKey|h.ctrlKey|h.metaKey|h.altKey)){h.preventDefault();g.focus()}},this));g.on("keydown.bs.modal",b.proxy(function(h){if(h.keyCode===9&&h.shiftKey){h.preventDefault();f.focus()}},this));a.apply(this,arguments)}})(jQuery);;
8580(function(e){var b=e(".nav-tabs:not(.is-navigation), .nav-pills:not(.is-navigation)"),c=b.children("li"),a=b.find('[data-toggle="tab"], [data-toggle="pill"]');if(a.exists()){b.attr("role","tablist");c.attr("role","presentation");a.attr("role","tab")}a.each(function(h){let tabTargetSelector=e(this).attr("href")?e(this).attr("href"):e(this).data("target");let tabTarget=tabTargetSelector.substring(tabTargetSelector.indexOf("#"));var g=e(tabTarget),i=e(this),f=i.attr("id")||e.jalios.a11y.uniqueId("ui-tab");i.attr("id",f);let tabAriaControls=i.attr("href")?i.attr("href").substr(1):e(i).data("target").substr(1);if(i.parent().hasClass("active")){i.attr({tabIndex:"0","aria-selected":"true","aria-controls":tabAriaControls});g.attr({role:"tabpanel",tabIndex:"0","aria-hidden":"false","aria-labelledby":f})}else{i.attr({tabIndex:"-1","aria-selected":"false","aria-controls":tabAriaControls});g.attr({role:"tabpanel",tabIndex:"-1","aria-hidden":"true","aria-labelledby":f})}});e.fn.tab.Constructor.prototype.keydown=function(l){var j=e(this),m,i=j.closest("ul[role=tablist] "),h,g=l.which||l.keyCode;j=e(this);if(!/(37|38|39|40)/.test(g)){return}m=i.find("[role=tab]:visible");h=m.index(m.filter(":focus"));if(g==38||g==37){h--}if(g==39||g==40){h++}if(h<0){h=m.length-1}if(h==m.length){h=0}var f=m.eq(h);if(f.attr("role")==="tab"){f.tab("show").focus()}l.preventDefault();l.stopPropagation()};e(document).on("keydown.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',e.fn.tab.Constructor.prototype.keydown);var d=e.fn.tab.Constructor.prototype.activate;e.fn.tab.Constructor.prototype.activate=function(h,g,i){var f=g.find("> .active");f.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"-1","aria-selected":false});f.filter(".tab-pane").attr({"aria-hidden":true,tabIndex:"-1"});d.apply(this,arguments);h.addClass("active");h.find("[data-toggle=tab], [data-toggle=pill]").attr({tabIndex:"0","aria-selected":true});h.filter(".tab-pane").attr({"aria-hidden":false,tabIndex:"0"})}})(jQuery);;
8581(function(c){var b=c('[data-toggle="collapse"]');b.each(function(f){var h=c(this),e=(h.attr("data-target"))?c(h.attr("data-target")):c(h.attr("href")),g=h.attr("data-parent"),d=g&&c(g),i=h.attr("id")||c.jalios.a11y.uniqueId("ui-collapse");h.attr("id",i);if(d){h.attr({role:"tab","aria-selected":"false","aria-expanded":"false"});c(d).find("div:not(.collapse,.panel-body), h4").attr("role","presentation");d.attr({role:"tablist","aria-multiselectable":"true"});if(e.hasClass("in")){h.attr({"aria-controls":e.attr("id"),"aria-selected":"true","aria-expanded":"true",tabindex:"0"});e.attr({role:"tabpanel",tabindex:"0","aria-labelledby":i,"aria-hidden":"false"})}else{h.attr({"aria-controls":e.attr("id"),tabindex:"-1"});e.attr({role:"tabpanel",tabindex:"-1","aria-labelledby":i,"aria-hidden":"true"})}}});var a=c.fn.collapse.Constructor.prototype.toggle;c.fn.collapse.Constructor.prototype.toggle=function(){var h=this.$parent&&this.$parent.find('[aria-expanded="true"]'),f;if(h){var e=h.attr("data-target")||(f=h.attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,""),j=c(e),i=this.$element,g=this.$parent,d;if(this.$parent){d=this.$parent.find('[data-toggle=collapse][href="#'+this.$element.attr("id")+'"]')}a.apply(this,arguments);if(c.support.transition){this.$element.one(c.support.transition.end,function(){h.attr({"aria-selected":"false","aria-expanded":"false",tabIndex:"-1"});j.attr({"aria-hidden":"true",tabIndex:"-1"});d.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:"0"});if(i.hasClass("in")){i.attr({"aria-hidden":"false",tabIndex:"0"})}else{d.attr({"aria-selected":"false","aria-expanded":"false"});i.attr({"aria-hidden":"true",tabIndex:"-1"})}})}}else{a.apply(this,arguments)}};c.fn.collapse.Constructor.prototype.keydown=function(i){var h=c(this),j,d=h.closest("div[role=tablist] "),g,f=i.which||i.keyCode;h=c(this);if(!/(32|37|38|39|40)/.test(f)){return}if(f==32){h.click()}j=d.find("[role=tab]");g=j.index(j.filter(":focus"));if(f==38||f==37){g--}if(f==39||f==40){g++}if(g<0){g=j.length-1}if(g==j.length){g=0}j.eq(g).focus();i.preventDefault();i.stopPropagation()};c(document).on("keydown.collapse.data-api",'[data-toggle="collapse"]',c.fn.collapse.Constructor.prototype.keydown)})(jQuery);;
vendor: 17,437 bytes, lines 8582-8583
8582/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */
8583var 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={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},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||"-")}}();
8583;
8584(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));;
8585!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);;
8586!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:">
8586= 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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},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 8586
8586,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'))}
8586function 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 8586
8586,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,327 bytes, line 8586
8586EQUALS: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,480 bytes, line 8586
8586}},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 8586
8586j,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 8586
8586,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
8586alBlock=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 8586
8586,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 8586
8586)},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 8586
8586,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))}
8586,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"]}])});;
8587(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
8587asing,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">&times;</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,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}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)}}));;
8588!(function ($) {
8589/* global toastr */
8590if (!$.jalios) {
8591$.jalios = {};
8592}
8593if (!$.jalios.toastr) {
8594$.jalios.toastr = {};
8595}
8596/**
8597* Enum for position toast options.
8598* @readonly
8599* @enum {string}
8600*/
8601const Position = {
8602TOP_RIGHT: "toast-top-right",
8603BOTTOM_RIGHT: "toast-bottom-right",
8604BOTTOM_LEFT: "toast-bottom-left",
8605TOP_LEFT: "toast-top-left",
8606TOP_FULL_WIDTH: "toast-top-full-width",
8607BOTTOM_FULL_WIDTH: "toast-bottom-full-width",
8608TOP_CENTER: "toast-top-center",
8609BOTTOM_CENTER: "toast-bottom-center"
8610};
8611/**
8612* Enum for toast level.
8613* @readonly
8614* @enum {string}
8615*/
8616const Level = {
8617SUCCESS: "success",
8618INFO: "info",
8619WARNING: "warning",
8620ERROR: "error"
8621};
8622const defaultOptions = {
8623positionClass: Position.TOP_CENTER
8624};
8625$.jalios.toastr = {
8626Level,
8627Position,
8628/**
8629* Displays a message using Toastr.
8630* @param {string} message - The message to be displayed.
8631* @param {Level} level - The toast level.
8632* @param {object} [options=defaultOptions] - Additional options for the toast.
8633* @throws {Error}
8633 Throws an error if the specified level is not valid.
8634*/
8635displayMessage(message, level = Level.INFO, options = defaultOptions) {
8636const mergedOptions = $.extend({}, defaultOptions, options);
8637const validTypes = Object.values(Level).join(", ");
8638if (typeof toastr[level] !== "function") {
8639throw new Error(`toastr.${level} is not a function, valid function are: ${validTypes}`);
8640}
8641toastr[level](message, null, mergedOptions);
8642},
8643remove() {
8644toastr.remove();
8645},
8646subscribe(callback) {
8647toastr.subscribe(callback);
8648},
8649clear() {
8650toastr.clear();
8651},
8652getContainer(options, create) {
8653return toastr.getContainer(options, create);
8654}
8655};
8656})(window.jQuery);
8657;
8658!function(f){var d=false;var a=function(){if(d){return}d=true;var j=false;var h=function(k){j=true;if(!this.dataset||!this.dataset.jtranslate){return}k.preventDefault();var l=JSON.parse(decodeURIComponent(this.dataset.jtranslate));l.translateButton=f(this);f.plugin.JTranslatePlugin.ui.translateElements("translate",l);j=false};var i=function(k){if(j){return}if(!this.dataset||!this.dataset.jtranslate){return}k.preventDefault();var l=JSON.parse(decodeURIComponent(this.dataset.jtranslate));l.showOriginalButton=f(this);f.plugin.JTranslatePlugin.ui.showOriginalText(l)};if(f.jalios.smartPhone){let translateOriginalToggleActionCallback=function(k){let $this=f(this);if($this.is(".jtranslate-translation-processed")){i.apply(this,[k]);$this.removeClass("jtranslate-translation-processed");$this.attr("title",$this.attr("jtranslate-original-title"))}else{h.apply(this,[k]);$this.addClass("jtranslate-translation-processed");$this.attr("jtranslate-original-title",$this.attr("title"));f.plugin.JTranslatePlugin.ui.setTranslationActionTitle($this,f.plugin.JTranslatePlugin.ui.glp("jcmsplugin.jtranslate.ui.showOriginalText"))}};f(document).on("vclick",".jtranslate-translate-action",translateOriginalToggleActionCallback);f(document).on("vclick",".jtranslate-show-original-action",i)}else{f(document).on("click",".jtranslate-translate-action",h);f(document).on("click",".jtranslate-show-original-action",i)}};var c=function(){a()};var e=function(j,i){if(!f.plugin.JTranslatePlugin.acl.canAccess){return}var h=j||{};if(!h){return}if(h.text&&h.text.length<=0){return}if(h.sourceLang&&h.targetLang&&h.sourceLang===h.targetLang){return}f.ajax({async:true,cache:false,timeout:0,contentType:"application/json;charset=UTF-8",url:"rest/plugins/jtranslate",type:"post",dataType:"json",data:h,headers:{"Content-Length":h.length},success:function(k){i.onSuccess(k)},error:function(k){i.onError(k)}})};if(!f.plugin){f.plugin={}}if(!f.plugin.JTranslatePlugin){f.plugin.JTranslatePlugin={}}f.plugin.JTranslatePlugin.internal={};f.plugin.JTranslatePlugin.service={callJTranslate:function(h){e({text:h.text,sourceLang:h.sourceLang||"auto",targetLang:h.targetLang,api:h.api,action:"translate",minWordCount:h.minWordCount,volatility:h.volatility||""},{onSuccess:h.onSuccess,onError:h.onError})},callJTranslateDetectLanguage:function(h){e({text:h.text,api:h.api,action:"detectLanguage"},{onSuccess:h.onSuccess,onError:h.onError})},callJTranslateLanguageSupport:function(h){e({action:"getSupportedLanguages"},{onSuccess:h.onSuccess,onError:h.onError})},callJTranslateTranslatable:function(h){e({action:"isTranslatable",text:h.text,minWordCount:h.minWordCount},{onSuccess:h.onSuccess,onError:h.onError})}};f.plugin.JTranslatePlugin.util={arrayInsertItem:function(i,j,h){if(f.plugin.JTranslatePlugin.util.isDefined(h)){i.splice(h,0,j)}else{i.push(j)}return i},arrayRemoveItem:function(i,j,h){var h=i.indexOf(j);if(h>-1){i.splice(h,1)}return i},isDefined:function(h){return typeof h!=="undefined"},defaultParam:function(h,i){return typeof h!=="undefined"?h:i},arrayNoDuplicates:function(h){var j=[];var i=[];h.forEach(function(l){var k=JSON.stringify(l);if(!f.plugin.JTranslatePlugin.util.arrayIncludes(j,k)){j.push(k);i.push(l)}});return i},arrayIncludes:function(r,l,m){if(r==null){throw new TypeError('"array" est nul ou non défini')}var p=Object(r);var h=p.length>>>0;if(h===0){return false}var q=m|0;var j=Math.max(q>=0?q:h-Math.abs(q),0);function i(k,n){return k===n||(typeof k==="number"&&typeof n==="number"&&isNaN(k)&&isNaN(n))}while(j<h){if(i(p[j],l)){return true}j++}return false}};f.plugin.JTranslatePlugin.translatePage=function(){f.plugin.JTranslatePlugin.ui.translateElements("translatable",f.plugin.JTranslatePlugin.ui.vars.translatableScanQueue)};f.plugin.JTranslatePlugin.testQuery=function(h){if(h){h.debug=true;f.plugin.JTranslatePlugin.ui.translateElements("translatable",h)}};f.plugin.JTranslatePlugin.acl={canAccess:true};if(!f.jalios.smartPhone){f(document).ready(function(){c()})}var b=function(){c()};var g=function(){b()};if(f.jalios.smartPhone){f(document).on("pageinit",function(){g()})}}(window.jQuery);;
8659!function(a){if(!a.plugin){a.plugin={}}if(!a.plugin.JTranslatePlugin){a.plugin.JTranslatePlugin={}}a.plugin.JTranslatePlugin.ui={vars:{TRANSLATION_QUERIES_MIN_DELAY:2*1000,TRANSLATION_TEMPLATE:null,executeTranslationLaterTimeout:null,translatableScanQueue:[],showOriginal:false},translatableText:function(d){var b=[];d.translatableSelector.each(function(e,f){b.push(f)});var c=a.map(b,function(e){return a(e).html()});return c},doTranslatable:function(d,c){var e=function(f,g){if(g){f.removeClass("jtranslate-invisible")}else{f.addClass("jtranslate-invisible")}a(document).trigger("jtranslate.doTranslatable.applyVisibility",[f,g])};var b=function(g,j,i,f,h){g.each(function(k){var l=a(this);var m=a.plugin.JTranslatePlugin.ui.checkVisible(j,k+h);i(l,m,k+h,f)})};d.onSuccess=function(g){var j=a.plugin.JTranslatePlugin.ui.getSelectors(c);if(j.actionSelector.length==1&&j.translatableSelector.length>1){e(j.actionSelector.first(),g.translatable)}else{var i=0;var f=false;var h=a("meta[name=smartphone-logged]");if(!(h==null)&&h.attr("content")==="true"){f=true}if(j.actionSelector.length<j.translatableSelector.length&&f){i=j.translatableSelector.length-j.actionSelector.length}b(j.actionSelector,g.translatables,function(n,o,m,l){e(n,o);a.plugin.JTranslatePlugin.ui.setTranslationActionTitle(n,a.plugin.JTranslatePlugin.ui.translationActionTooltip(l,m))},g,i)}j.actionSelector.each(function(l){var m=a(this);var n=m.find(".jtranslate-translate-action").addBack(".jtranslate-translate-action");n.attr("data-jtranslate",JSON.stringify(c))});var k=a.plugin.JTranslatePlugin.ui.getPubContainer(j).find(".jtranslate-show-original-action");k.attr("data-jtranslate",JSON.stringify(c))};d.onError=function(g){var f=a.plugin.JTranslatePlugin.ui.getSelectors(c);b(f.actionSelector,false,function(h,i){h.addClass("jtranslate-invisible")})};a.plugin.JTranslatePlugin.service.callJTranslateTranslatable(d)},setTranslationActionTitle:function(b,d){var c=b.find(".jtranslate-translate-action").addBack(".jtranslate-translate-action").attr("title",d).find(".jtranslate-icon").attr("title",d)},doTranslate:function(d,c){var b=a.plugin.JTranslatePlugin.ui.getSelectors(c);d.text=a.plugin.JTranslatePlugin.ui.translatableText(b);d.onSuccess=function(e){var f=a.plugin.JTranslatePlugin.ui.getSelectors(c);if(e.error&&e.error.length>0){var g=a.extend({},d);g.actionSelector=f.actionSelector.first();g.blockSelector=f.blockSelector.first();g.translatableSelector=f.translatableSelector.first();a.plugin.JTranslatePlugin.ui.showError(g,e.error)}else{f.translatableSelector.each(function(h,i){var j=a.plugin.JTranslatePlugin.ui.checkVisible(e.translatables,h);if(j){var k=a.extend({},d);k.actionSelector=f.actionSelector;k.blockSelector=a(f.blockSelector.get(h));k.translatableSelector=a(i);k.index=h;a.plugin.JTranslatePlugin.ui.showResult(k,e)}})}};d.onError=function(e){a.plugin.JTranslatePlugin.ui.showError(d,"Query to translation service failed.")};a.plugin.JTranslatePlugin.service.callJTranslate(d)},checkVisible:function(d,b){var c=false;if(d.constructor===Array){if(b>=0&&b<d.length){c=d[b]}}else{c=d}return c},translateElements:function(c,e){if(!e){return}if(a.isArray(e)){var h=a.plugin.JTranslatePlugin.util.arrayNoDuplicates(a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue);a.console.log("translateElements() - "+h.length+" in queue.");h.forEach(function(m){a.plugin.JTranslatePlugin.ui.translateElements("translatable",m);a.plugin.JTranslatePlugin.util.arrayRemoveItem(a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue,m);var l=a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue.indexOf(m);if(l>=0){a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue=a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue.slice(l,1)}})}if((!e.action&&!e.actionSelector)||(!e.translatable&&!e.translatableSelector)){return}var j=a.plugin.JTranslatePlugin.ui.getSelectors(e);var i=function(l){if(l){if(!j||!((j.actionSelector.length==1||j.actionSelector.length===j.blockSelector.length)&&j.blockSelector.length===j.translatableSelector.length)){a.console.log("JTranslate [Warn] - selectors matches count are different")}}var m=["red","green","blue","orange","pink","gray","black"];
8659Object.keys(j).forEach(function(p,o){var n=j[p];n.addClass("jtranslate-selector-"+p);if(l){n.css("border","2px dashed "+m[o%m.length]);n.css("margin",(1+o)+"px")}})};i(e.debug);e.type=e.type||"selector";if(e.type==="selector"){var d={};d.text=a.plugin.JTranslatePlugin.ui.translatableText(j);d.minWordCount=e.minWordCount;var f=function(){if(c==="translatable"){a.plugin.JTranslatePlugin.ui.doTranslatable(d,e)}else{if(c==="translate"){a.plugin.JTranslatePlugin.ui.doTranslate(d,e)}else{a.console.log("Unknown command : "+c)}}};var b=a.plugin.JTranslatePlugin.ui.getPubContainer(j);var k=b.find(".jtranslate-show-original-action");var g=a.plugin.JTranslatePlugin.ui.getBlockContainer(j);a.plugin.JTranslatePlugin.ui.insertTranslationTextArea(g,j).then(function(){f()})}else{a.console.log("Unknown type : "+e.type)}},getTranslationTemplate:function(){var c=a.Deferred();var d={later:function(f){f()}};c.promise(d);a.when(c).done(function(f){return f});if(!a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_TEMPLATE){var b=a("meta[name=smartphone-logged]");if(!(b==null)&&b.attr("content")==="false"){return c}var e=a.ajax({url:"plugins/JTranslatePlugin/jsp/translationContentTemplate.jsp",type:"get",async:true},function(f){}).done(function(f){a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_TEMPLATE=f}).fail(function(f){a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_TEMPLATE=null}).always(function(f){c.resolve(a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_TEMPLATE)})}else{c.resolve(a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_TEMPLATE)}return c},checkTranslatableContent:function(c){var b=true;b=!c.jscondition||c.jscondition.trim().length===0||a(c.jscondition).length>0;if(b){a.plugin.JTranslatePlugin.ui.vars.translatableScanQueue.push(a.extend({type:"selector"},c))}},insertTranslationTextArea:function(h,b){var e=a.Deferred();var g={later:function(i){i()}};e.promise(g);if(!h||h.length===0){e.reject()}var f=h.parent();var d=f.find(".jtranslate-comment-translation");if(d.length!==f.length){var c=[];h.each(function(i,j){var k=a.plugin.JTranslatePlugin.ui.getTranslationTemplate().then(function(l){if(a(j).parent().find(".jtranslate-comment-translation").length===0){a(l).insertAfter(a(j))}});c.push(k)});a.when.apply(null,c).done(function(){e.resolve()})}else{e.resolve()}return e},fadeIn:function(c,b,d){d=d||1200;if(b){d=50}c.fadeIn(d,"linear")},fadeOut:function(c,b,d){d=d||1200;if(b){d=50}c.fadeOut(d,"linear")},getPubContainer:function(c){var b=c.blockSelector;if(!b||b.length===0){if(c.translatableSelector){b=c.translatableSelector.parent()}}return b},toggleActivity:function(b){var c=b.closest(".activity").find(".activity-toggler");if(c.is(".activity-body-item.hide")){c.toggleClass("hide")}},renderTranslationTemplate:function(f,d,c){var b=a.plugin.JTranslatePlugin.ui.getSelectors(f);var e=a.plugin.JTranslatePlugin.ui.getPubContainer(f);Object.keys(c).forEach(function(h){var g=e.find(".jtranslate-translation").find(".jtranslate-"+h);var i=c[h];g.html(i)})},showResult:function(d,e){var i=a.plugin.JTranslatePlugin.ui.getSelectors(d);var c=a.plugin.JTranslatePlugin.ui.getPubContainer(d);var g=a.plugin.JTranslatePlugin.ui.getBlockContainer(i);var k=c.find(".jtranslate-translation");var f=c.find(".jtranslate-error-message");var h=c.find(".jtranslate-comment-header");var b="";if(e.translation&&d.index!==undefined&&e.translations.length>d.index){b=e.translations[d.index]}if(!k){a.console.error("JTranslate - Translation Block Not Found");return}a.plugin.JTranslatePlugin.ui.fadeOut(a(g),true);a.plugin.JTranslatePlugin.ui.fadeOut(a(f),true);a.plugin.JTranslatePlugin.ui.fadeIn(a(k));if(e.error&&e.error.length>0){a.plugin.JTranslatePlugin.ui.showError(d,e.error)}else{if(b){var j={about:a.plugin.JTranslatePlugin.ui.translationQueryInfo(e,d.index),"translation-result":b};a.plugin.JTranslatePlugin.ui.renderTranslationTemplate(d,e,j);a.plugin.JTranslatePlugin.ui.fadeIn(a(k));if(a.plugin.JTranslatePlugin.ui.vars.showOriginal===false){a.plugin.JTranslatePlugin.ui.fadeOut(a(g))}h.addClass("jtranslate-invisible");a.plugin.JTranslatePlugin.ui.toggleActivity(c)}}},showError:function(d,e){if(!d||!e||e.trim().length==0){a.console.log("An error occured: "+e);return}if(d.ignoreErrors){return}if(!a.jalios.smartPhone.Toastr.show(e)){var c=d.blockSelector;var b=c.find(".jtranslate-error-message");if(d.ignoreErrors){a.plugin.JTranslatePlugin.ui.fadeOut(a(b))}if(b){a.plugin.JTranslatePlugin.ui.fadeIn(a(b),false,3000);a(b).html(e)}}},getBlockContainer:function(c){var b=c.translatableSelector;return b},showOriginalText:function(f){var c=a.plugin.JTranslatePlugin.ui.getSelectors(f);var e=a.plugin.JTranslatePlugin.ui.getPubContainer(c);var d=e.find(".jtranslate-translation");var b=e.find(".jtranslate-comment-header");var g=a.plugin.JTranslatePlugin.ui.getBlockContainer(c);g=e.find(g);a.plugin.JTranslatePlugin.ui.fadeOut(a(d),true);a.plugin.JTranslatePlugin.ui.fadeIn(a(g));b.removeClass("jtranslate-invisible");a.plugin.JTranslatePlugin.ui.toggleActivity(e)},getSelectors:function(e,g){var b=e.showOriginalButton||e.translateButton;var h=e.showOriginalButton;var c=e.actionSelector||a.plugin.JTranslatePlugin.ui.getSelector(e.action,{"this":b||a()});var i=e.translatableSelector||a.plugin.JTranslatePlugin.ui.getSelector(e.translatable,{"this":b||c||a(),action:c});var f=e.blockSelector||a.plugin.JTranslatePlugin.ui.getSelector(e.block,{"this":b||c||a(),action:c,translatable:h||i});var d={actionSelector:c,blockSelector:f,translatableSelector:i};if(g){return d[g]}else{return d}},getSelector:function(g,c){var f=a();var e=/\$([\w]*)(\(([^\$]*\)*)\))?/gi;var b;do{b=e.exec(g);if(b){var d=b[1];var h=b[3];if(d==="this"){f=a(c["this"])}else{if(d==="translatable"){f=c[d]}else{if(d==="block"){f=c[d]}else{if(d==="action"){f=c[d]}else{if(d===""){f=a(h)}else{f=f[d](h)}}}}}}}while(b);if(!f){f=a()}return f},glp:function(c){var b=function(k,j){var f=k;var g=/\{\s*(\d+)\s*\}/gm;var e;while((e=g.exec(k))!==null){if(e.index===g.lastIndex){g.lastIndex++}if(e&&e.length>=2){var h=e[0];var l=e[1];var i=parseInt(l)+1;if(i>=0&&i<j.length){f=f.replace(h,j[i])}}}return f};var d="";if(a.jalios.I18N){d=a.jalios.I18N.glp.apply(this,arguments)}else{if(jaliosSettings&&jaliosSettings.jtranslate){d=jaliosSettings.jtranslate.properties[c]||jaliosSettings.jtranslate.properties["js."+c];d=b(d,arguments)}else{d=c}}return d},getNativeName:function(c,g,f){var e=a.plugin.JTranslatePlugin.ui.glp("jtranslate.plugin.unknownLanguage");if(!g||g==="auto"){var b;if(!f){b=c.detectedLanguages[0]}else{if(f>=0&&f<c.detectedLanguages.length){b=c.detectedLanguages[f]}}if(b){g=b[0]?b[0].code:"auto"}}var d=c.queryLanguages.find(function(h){return h.code===g});if(d){e=d.name}else{if(b){e=b[0]?b[0].name:e}}return e},translationQueryInfo:function(c,d){if(!d){d=0}var b=c.translationService;if(d>=0&&d<c.translationServices.length){b=c.translationServices[d].name}else{if(c.translationServices.length>0){b=c.translationServices[0].name}}return a.plugin.JTranslatePlugin.ui.glp("jtranslate.plugin.queryInfo",a.plugin.JTranslatePlugin.ui.getNativeName(c,c.sourceLang,d),a.plugin.JTranslatePlugin.ui.getNativeName(c,c.targetLang,d),b)},translationActionTooltip:function(b,c){return a.plugin.JTranslatePlugin.ui.glp("jtranslate.plugin.translationActionTooltip",a.plugin.JTranslatePlugin.ui.getNativeName(b,b.sourceLang,c),a.plugin.JTranslatePlugin.ui.getNativeName(b,b.targetLang,c))},translateLaterField:function(){var c=function(f,e){if(!f||f.length==0){return}var d=e?"error":"info";a.jalios.smartPhone.Toastr.show(f)};var b=function(){var f=a.plugin.JTranslatePlugin.ui.getTranslationFormData();var h="";a.plugin.JTranslatePlugin.ui.setTranslationField(h);if(f.targetLang&&f.sourceText){f.sourceText=f.sourceText.replace(/\n/g,"");f.sourceText=f.sourceText.replace(/\<br\>/g,"");
8659var d=function(j,i){if(!i){i=""}c(i,true)};var g=function(i){if(i.error){d(null,i.error);return}if(a.plugin.JTranslatePlugin.ui.checkInputInTargetLanguage(i)){return}h=h.replace(/\<br\>[\s]*/g,"\n");h=i.translation;a.plugin.JTranslatePlugin.ui.setTranslationField(h);c(a.plugin.JTranslatePlugin.ui.translationQueryInfo(i))};var e={type:"text",text:f.sourceText,api:f.translationService,volatility:4,sourceLang:f.sourceLang,targetLang:f.targetLang,onSuccess:g,onError:d};a.plugin.JTranslatePlugin.service.callJTranslate(e)}};a.plugin.JTranslatePlugin.ui.executeLater(b)},executeLater:function(b){if(a.plugin.JTranslatePlugin.ui.vars.executeTranslationLaterTimeout!=null){clearTimeout(a.plugin.JTranslatePlugin.ui.vars.executeTranslationLaterTimeout)}a.plugin.JTranslatePlugin.ui.vars.executeTranslationLaterTimeout=setTimeout(b,a.plugin.JTranslatePlugin.ui.vars.TRANSLATION_QUERIES_MIN_DELAY)},translateBroker:function(c){if(a.jalios.Event){var b=a.jalios.Event.match(c,"broker",/field-updated-(.*?)/i,true);if(b){var d=a.plugin.JTranslatePlugin.ui.getTranslationFormData();a(".app-jtranslateapp-options-refresh").refresh({params:a.extend({},d)});a.plugin.JTranslatePlugin.ui.translateLaterField()}}},getTranslationFormData:function(){var b={};var c=["sourceLang","targetLang","translationService"];c.forEach(function(e){var d=a(document.forms.translateOptionsForm).find("select[name="+e+"]").val();b[e]=d});b.sourceText=a(document.forms.translateForm).find("textarea[name=sourceText]").val();return b},translationField:function(b){return a(document.forms.translateForm).find("textarea[name=translation]")},setTranslationField:function(b){return a.plugin.JTranslatePlugin.ui.translationField().val(b)},getTranslationField:function(){return a.plugin.JTranslatePlugin.ui.translationField().val()},copyToClipboard:function(h){var f=a(a.parseHTML(h)).filter(".wysiwyg:first");if(f.length){h=f.text()}var c=a("<textarea></textarea>").css("position","absolute").css("left","-9999px").html(h);a(document.body).append(c);var e=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):false;if(navigator.userAgent.match(/ipad|ipod|iphone/i)){var d=c.get(0);d.contenteditable=true;var b=document.createRange();b.selectNodeContents(d);var g=window.getSelection();g.removeAllRanges();g.addRange(b);d.setSelectionRange(0,h.length+1)}else{c.select()}document.execCommand("copy");c.remove();if(e){document.getSelection().removeAllRanges();document.getSelection().addRange(e)}},checkInputInTargetLanguage:function(b){var c=false;b.detectedLanguages[0].forEach(function(d){if(d.code===b.targetLang){c=true}});return c},showToastr:function(e,c,d){var b=window.toastr!==undefined;if(b){toastr.remove();if(c===undefined){c="info"}if(d===undefined){d=""}toastr[c](e,d,{positionClass:"toast-top-center"})}return b},cleanUI:function(){if(jQuery(".ui-popup").length){jQuery(".ui-popup").popup("close")}}};a.plugin.JTranslatePlugin.ui.getTranslationTemplate().then(function(b){})}(window.jQuery);;
8660;
8661/**
8662* lightgallery | 2.7.2 | September 20th 2023
8663* http://www.lightgalleryjs.com/
8664* Copyright (c) 2020 Sachin Neravath;
8665* @license GPLv3
8666*/
8667!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lightGallery=e()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};var e="lgAfterAppendSlide",i="lgInit",s="lgHasVideo",n="lgContainerResize",o="lgUpdateSlides",r="lgAfterAppendSubHtml",l="lgBeforeOpen",a="lgAfterOpen",d="lgSlideItemLoad",g="lgBeforeSlide",h="lgAfterSlide",c="lgPosterClick",u="lgDragStart",m="lgDragMove",p="lgDragEnd",f="lgBeforeNextSlide",y="lgBeforePrevSlide",v="lgBeforeClose",b="lgAfterClose",I={mode:"lg-slide",easing:"ease",speed:400,licenseKey:"0000-0000-000-0000",height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:300,container:"",startAnimationDuration:400,zoomFromOrigin:!0,hideBarsDelay:0,showBarsAfter:1e4,slideDelay:0,supportLegacyBrowser:!0,allowMediaOverlap:!1,videoMaxSize:"1280-720",loadYouTubePoster:!0,defaultCaptionHeight:0,ariaLabelledby:"",ariaDescribedby:"",resetScrollPosition:!0,hideScrollbar:!1,closable:!0,swipeToClose:!0,closeOnTap:!0,showCloseIcon:!0,showMaximizeIcon:!1,loop:!0,escKey:!0,keyPress:!0,trapFocus:!0,controls:!0,slideEndAnimation:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:2,numberOfSlideItemsInDom:10,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:0,iframeWidth:"100%",iframeHeight:"100%",iframeMaxWidth:"100%",iframeMaxHeight:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],extraProps:[],exThumbImage:"",isMobile:void 0,mobileSettings:{controls:!1,showCloseIcon:!1,download:!1},plugins:[],strings:{closeGallery:"Close gallery",toggleMaximize:"Toggle maximize",previousSlide:"Previous slide",nextSlide:"Next slide",download:"Download",playVideo:"Play video",mediaLoadingFailed:"Oops... Failed to load content..."}};var C=function(){function t(t){return this.cssVenderPrefixes=["TransitionDuration","TransitionTimingFunction","Transform","Transition"],this.selector=this._getSelector(t),this.firstElement=this._getFirstEl(),this}return t.generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))},t.prototype._getSelector=function(t,e){return void 0===e&&(e=document),"string"!=typeof t?t:(e=e||document,"#"===t.substring(0,1)?e.querySelector(t):e.querySelectorAll(t))},t.prototype._each=function(t){return this.selector?(void 0!==this.selector.length?[].forEach.call(this.selector,t):t(this.selector,0),this):this}
vendor: 12,690 bytes, line 8667
8667,t.prototype._setCssVendorPrefix=function(t,e,i){var s=e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()}));-1!==this.cssVenderPrefixes.indexOf(s)?(t.style[s.charAt(0).toLowerCase()+s.slice(1)]=i,t.style["webkit"+s]=i,t.style["moz"+s]=i,t.style["ms"+s]=i,t.style["o"+s]=i):t.style[s]=i},t.prototype._getFirstEl=function(){return this.selector&&void 0!==this.selector.length?this.selector[0]:this.selector},t.prototype.isEventMatched=function(t,e){var i=e.split(".");return t.split(".").filter((function(t){return t})).every((function(t){return-1!==i.indexOf(t)}))},t.prototype.attr=function(t,e){return void 0===e?this.firstElement?this.firstElement.getAttribute(t):"":(this._each((function(i){i.setAttribute(t,e)})),this)},t.prototype.find=function(t){return x(this._getSelector(t,this.selector))},t.prototype.first=function(){return this.selector&&void 0!==this.selector.length?x(this.selector[0]):x(this.selector)},t.prototype.eq=function(t){return x(this.selector[t])},t.prototype.parent=function(){return x(this.selector.parentElement)},t.prototype.get=function(){return this._getFirstEl()},t.prototype.removeAttr=function(t){var e=t.split(" ");return this._each((function(t){e.forEach((function(e){return t.removeAttribute(e)}))})),this},t.prototype.wrap=function(t){if(!this.firstElement)return this;var e=document.createElement("div");return e.className=t,this.firstElement.parentNode.insertBefore(e,this.firstElement),this.firstElement.parentNode.removeChild(this.firstElement),e.appendChild(this.firstElement),this},t.prototype.addClass=function(t){return void 0===t&&(t=""),this._each((function(e){t.split(" ").forEach((function(t){t&&e.classList.add(t)}))})),this},t.prototype.removeClass=function(t){return this._each((function(e){t.split(" ").forEach((function(t){t&&e.classList.remove(t)}))})),this},t.prototype.hasClass=function(t){return!!this.firstElement&&this.firstElement.classList.contains(t)},t.prototype.hasAttribute=function(t){return!!this.firstElement&&this.firstElement.hasAttribute(t)},t.prototype.toggleClass=function(t){return this.firstElement?(this.hasClass(t)?this.removeClass(t):this.addClass(t),this):this},t.prototype.css=function(t,e){var i=this;return this._each((function(s){i._setCssVendorPrefix(s,t,e)})),this},t.prototype.on=function(e,i){var s=this;return this.selector?(e.split(" ").forEach((function(e){Array.isArray(t.eventListeners[e])||(t.eventListeners[e]=[]),t.eventListeners[e].push(i),s.selector.addEventListener(e.split(".")[0],i)})),this):this},t.prototype.once=function(t,e){var i=this;return this.on(t,(function(){i.off(t),e(t)})),this},t.prototype.off=function(e){var i=this;return this.selector?(Object.keys(t.eventListeners).forEach((function(s){i.isEventMatched(e,s)&&(t.eventListeners[s].forEach((function(t){i.selector.removeEventListener(s.split(".")[0],t)})),t.eventListeners[s]=[])})),this):this},t.prototype.trigger=function(t,e){if(!this.firstElement)return this;var i=new CustomEvent(t.split(".")[0],{detail:e||null});return this.firstElement.dispatchEvent(i),this},t.prototype.load=function(t){var e=this;return fetch(t).then((function(t){return t.text()})).then((function(t){e.selector.innerHTML=t})),this},t.prototype.html=function(t){return void 0===t?this.firstElement?this.firstElement.innerHTML:"":(this._each((function(e){e.innerHTML=t})),this)},t.prototype.append=function(t){return this._each((function(e){"string"==typeof t?e.insertAdjacentHTML("beforeend",t):e.appendChild(t)})),this},t.prototype.prepend=function(t){return this._each((function(e){e.insertAdjacentHTML("afterbegin",t)})),this},t.prototype.remove=function(){return this._each((function(t){t.parentNode.removeChild(t)})),this},t.prototype.empty=function(){return this._each((function(t){t.innerHTML=""})),this},t.prototype.scrollTop=function(t){return void 0!==t?(document.body.scrollTop=t,document.documentElement.scrollTop=t,this):window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},t.prototype.scrollLeft=function(t){return void 0!==t?(document.body.scrollLeft=t,document.documentElement.scrollLeft=t,this):window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},t.prototype.offset=function(){if(!this.firstElement)return{left:0,top:0};var t=this.firstElement.getBoundingClientRect(),e=x("body").style().marginLeft;return{left:t.left-parseFloat(e)+this.scrollLeft(),top:t.top+this.scrollTop()}},t.prototype.style=function(){return this.firstElement?this.firstElement.currentStyle||window.getComputedStyle(this.firstElement):{}},t.prototype.width=function(){var t=this.style();return this.firstElement.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)},t.prototype.height=function(){var t=this.style();return this.firstElement.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)},t.eventListeners={},t}();function x(t){return function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),new C(t)}var w=["src","sources","subHtml","subHtmlUrl","html","video","poster","slideName","responsive","srcset","sizes","iframe","downloadUrl","download","width","facebookShareUrl","tweetText","iframeTitle","twitterShareUrl","pinterestShareUrl","pinterestText","fbHtml","disqusIdentifier","disqusUrl"];function S(t){return"href"===t?"src":t=(t=(t=t.replace("data-","")).charAt(0).toLowerCase()+t.slice(1)).replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))}var T=function(t,e,i,s){void 0===i&&(i=0);var n=x(t).attr("data-lg-size")||s;if(n){var o=n.split(",");if(o[1])for(var r=window.innerWidth,l=0;l<o.length;l++){var a=o[l];if(parseInt(a.split("-")[2],10)>r){n=a;break}l===o.length-1&&(n=a)}var d=n.split("-"),g=parseInt(d[0],10),h=parseInt(d[1],10),c=e.width(),u=e.height()-i,m=Math.min(c,g),p=Math.min(u,h),f=Math.min(m/g,p/h);return{width:g*f,height:h*f}}},E=function(t,e,i,s,n){if(n){var o=x(t).find("img").first();if(o.get()){var r=e.get().getBoundingClientRect(),l=r.width,a=e.height()-(i+s),d=o.width(),g=o.height(),h=o.style(),c=(l-d)/2-o.offset().left+(parseFloat(h.paddingLeft)||0)+(parseFloat(h.borderLeft)||0)+x(window).scrollLeft()+r.left,u=(a-g)/2-o.offset().top+(parseFloat(h.paddingTop)||0)+(parseFloat(h.borderTop)||0)+x(window).scrollTop()+i;return"translate3d("+(c*=-1)+"px, "+(u*=-1)+"px, 0) scale3d("+d/n.width+", "+g/n.height+", 1)"}}},O=function(t,e,i,s,n,o){return'<div class="lg-video-cont lg-has-iframe" style="width:'+t+"; max-width:"+i+"; height: "+e+"; max-height:"+s+'">\n                    <iframe class="lg-object" frameborder="0" '+(o?'title="'+o+'"':"")+' src="'+n+'"  allowfullscreen="true"></iframe>\n                </div>'},D=function(t,e,i,s,n,o){var r="<img "+i+" "+(s?'srcset="'+s+'"':"")+"  "+(n?'sizes="'+n+'"':"")+' class="lg-object lg-image" data-index="'+t+'" src="'+e+'" />',l="";o&&(l=("string"==typeof o?JSON.parse(o):o).map((function(t){var e="";return Object.keys(t).forEach((function(i){e+=" "+i+'="'+t[i]+'"'})),"<source "+e+"></source>"})));return""+l+r},L=function(t){for(var e=[],i=[],s="",n=0;n<t.length;n++){var o=t[n].split(" ");""===o[0]&&o.splice(0,1),i.push(o[0]),e.push(o[1])}for(var r=window.innerWidth,l=0;l<e.length;l++)if(parseInt(e[l],10)>r){s=i[l];break}return s},z=function(t){return!!t&&(!!t.complete&&0!==t.naturalWidth)},M=function(t,e,i,s,n){return'<div class="lg-video-cont '+(n&&n.youtube?"lg-has-youtube":n&&n.vimeo?"lg-has-vimeo":"lg-has-html5")+'" style="'+i+'">\n                <div class="lg-video-play-button">\n                <svg\n                    viewBox="0 0 20 20"\n                    preserveAspectRatio="xMidYMid"\n                    focusable="false"\n                    aria-labelledby="'+s+'"\n                    role="img"\n                    class="lg-video-play-icon"\n                >\n                    <title>'+s+'</title>\n                    <polygon class="lg-video-play-icon-inner" points="1,0 20,10 1,20"></polygon>\n                </svg>\n                <svg class="lg-video-play-icon-bg" viewBox="0 0 50 50" focusable="false">\n                    <circle cx="50%" cy="50%" r="20"></circle></svg>\n                <svg class="lg-video-play-icon-circle" viewBox="0 0 50 50" focusable="false">\n                    <circle cx="50%" cy="50%" r="20"></circle>\n                </svg>\n            </div>\n            '+(e||"")+'\n            <img class="lg-object lg-video-poster" src="'+t+'" />\n        </div>'},G=function(t){var e=t.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');return[].filter.call(e,(function(t){var e=window.getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}))},k=function(t,e,i,s){var n=[],o=function(){for(var t=0,e=0,i=arguments.length;e<i;e++)t+=arguments[e].length;var s=Array(t),n=0;for(e=0;e<i;e++)for(var o=arguments[e],r=0,l=o.length;r<l;r++,n++)s[n]=o[r];return s}(w,e);return[].forEach.call(t,(function(t){for(var e={},r=0;r<t.attributes.length;r++){var l=t.attributes[r];if(l.specified){var a=S(l.name),d="";o.indexOf(a)>-1&&(d=a),d&&(e[d]=l.value)}}var g=x(t),h=g.find("img").first().attr("alt"),c=g.attr("title"),u=s?g.attr(s):g.find("img").first().attr("src");e.thumb=u,i&&!e.subHtml&&(e.subHtml=c||h||""),e.alt=h||c||"",n.push(e)})),n},A=function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},P=function(t,e,i){if(!t)return e?{html5:!0}:void console.error("lightGallery :- data-src is not provided on slide item "+(i+1)+". Please make sure the selector property is properly configured. More info - https://www.lightgalleryjs.com/demos/html-markup/");var s=t.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)([\&|?][\S]*)*/i),n=t.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)(.*)?/i),o=t.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/([0-9a-z\-_]+)(.*)/);return s?{youtube:s}:n?{vimeo:n}:o?{wistia:o}:void 0},B=0,F=function(){function w(t,e){if(this.lgOpened=!1,this.index=0,this.plugins=[],this.lGalleryOn=!1,this.lgBusy=!1,this.currentItemsInDom=[],this.prevScrollTop=0,this.bodyPaddingRight=0,this.isDummyImageRemoved=!1,this.dragOrSwipeEnabled=!1,this.mediaContainerPosition={top:0,bottom:0},!t)return this;if(B++,this.lgId=B,this.el=t,this.LGel=x(t),this.generateSettings(e),this.buildModules(),this.settings.dynamic&&void 0!==this.settings.dynamicEl&&!Array.isArray(this.settings.dynamicEl))throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.galleryItems=this.getItems(),this.normalizeSettings(),this.init(),this.validateLicense(),this}return w.prototype.generateSettings=function(e){if(this.settings=t(t({},I),e),this.settings.isMobile&&"function"==typeof this.settings.isMobile?this.settings.isMobile():A()){var i=t(t({},this.settings.mobileSettings),this.settings.mobileSettings);this.settings=t(t({},this.settings),i)}},w.prototype.normalizeSettings=function(){this.settings.slideEndAnimation&&(this.settings.hideControlOnEnd=!1),this.settings.closable||(this.settings.swipeToClose=!1),this.zoomFromOrigin=this.settings.zoomFromOrigin,this.settings.dynamic&&(this.zoomFromOrigin=!1),this.settings.container||(this.settings.container=document.body),this.settings.preload=Math.min(this.settings.preload,this.galleryItems.length)},w.prototype.init=function(){var t=this;this.addSlideVideoInfo(this.galleryItems),this.buildStructure(),this.LGel.trigger(i,{instance:this}),this.settings.keyPress&&this.keyPress(),setTimeout((function(){t.enableDrag(),t.enableSwipe(),t.triggerPosterClick()}),50),this.arrow(),this.settings.mousewheel&&this.mousewheel(),this.settings.dynamic||this.openGalleryOnItemClick()},w.prototype.openGalleryOnItemClick=function(){for(var t=this,e=function(e){var s=i.items[e],n=x(s),o=C.generateUUID();n.attr("data-lg-id",o).on("click.lgcustom-item-"+o,(function(i){i.preventDefault();var n=t.settings.index||e;t.openGallery(n,s)}))},i=this,s=0;s<this.items.length;s++)e(s)},w.prototype.buildModules=function(){var t=this;this.settings.plugins.forEach((function(e){t.plugins.push(new e(t,x))}))},w.prototype.validateLicense=function(){this.settings.licenseKey?"0000-0000-000-0000"===this.settings.licenseKey&&console.warn("lightGallery: "+this.settings.licenseKey+" license key is not val
8667id for production use"):console.error("Please provide a valid license key")},w.prototype.getSlideItem=function(t){return x(this.getSlideItemId(t))},w.prototype.getSlideItemId=function(t){return"#lg-item-"+this.lgId+"-"+t},w.prototype.getIdName=function(t){return t+"-"+this.lgId},w.prototype.getElementById=function(t){return x("#"+this.getIdName(t))},w.prototype.manageSingleSlideClassName=function(){this.galleryItems.length<2?this.outer.addClass("lg-single-item"):this.outer.removeClass("lg-single-item")},w.prototype.buildStructure=function(){var t=this;if(!(this.$container&&this.$container.get())){var e="",i="";this.settings.controls&&(e='<button type="button" id="'+this.getIdName("lg-prev")+'" aria-label="'+this.settings.strings.previousSlide+'" class="lg-prev lg-icon"> '+this.settings.prevHtml+' </button>\n                <button type="button" id="'+this.getIdName("lg-next")+'" aria-label="'+this.settings.strings.nextSlide+'" class="lg-next lg-icon"> '+this.settings.nextHtml+" </button>"),".lg-item"!==this.settings.appendSubHtmlTo&&(i='<div class="lg-sub-html" role="status" aria-live="polite"></div>');var s="";this.settings.allowMediaOverlap&&(s+="lg-media-overlap ");var n=this.settings.ariaLabelledby?'aria-labelledby="'+this.settings.ariaLabelledby+'"':"",o=this.settings.ariaDescribedby?'aria-describedby="'+this.settings.ariaDescribedby+'"':"",r="lg-container "+this.settings.addClass+" "+(document.body!==this.settings.container?"lg-inline":""),l=this.settings.closable&&this.settings.showCloseIcon?'<button type="button" aria-label="'+this.settings.strings.closeGallery+'" id="'+this.getIdName("lg-close")+'" class="lg-close lg-icon"></button>':"",a=this.settings.showMaximizeIcon?'<button type="button" aria-label="'+this.settings.strings.toggleMaximize+'" id="'+this.getIdName("lg-maximize")+'" class="lg-maximize lg-icon"></button>':"",d='\n        <div class="'+r+'" id="'+this.getIdName("lg-container")+'" tabindex="-1" aria-modal="true" '+n+" "+o+' role="dialog"\n        >\n            <div id="'+this.getIdName("lg-backdrop")+'" class="lg-backdrop"></div>\n\n            <div id="'+this.getIdName("lg-outer")+'" class="lg-outer lg-use-css3 lg-css3 lg-hide-items '+s+' ">\n\n              <div id="'+this.getIdName("lg-content")+'" class="lg-content">\n                <div id="'+this.getIdName("lg-inner")+'" class="lg-inner">\n                </div>\n                '+e+'\n              </div>\n                <div id="'+this.getIdName("lg-toolbar")+'" class="lg-toolbar lg-group">\n                    '+a+"\n                    "+l+"\n                    </div>\n                    "+(".lg-outer"===this.settings.appendSubHtmlTo?i:"")+'\n                <div id="'+this.getIdName("lg-components")+'" class="lg-components">\n                    '+(".lg-sub-html"===this.settings.appendSubHtmlTo?i:"")+"\n                </div>\n            </div>\n        </div>\n        ";x(this.settings.container).append(d),document.body!==this.settings.container&&x(this.settings.container).css("position","relative"),this.outer=this.getElementById("lg-outer"),this.$lgComponents=this.getElementById("lg-components"),this.$backdrop=this.getElementById("lg-backdrop"),this.$container=this.getElementById("lg-container"),this.$inner=this.getElementById("lg-inner"),this.$content=this.getElementById("lg-content"),this.$toolbar=this.getElementById("lg-toolbar"),this.$backdrop.css("transition-duration",this.settings.backdropDuration+"ms");var g=this.settings.mode+" ";this.manageSingleSlideClassName(),this.settings.enableDrag&&(g+="lg-grab "),this.outer.addClass(g),this.$inner.css("transition-timing-function",this.settings.easing),this.$inner.css("transition-duration",this.settings.speed+"ms"),this.settings.download&&this.$toolbar.append('<a id="'+this.getIdName("lg-download")+'" target="_blank" rel="noopener" aria-label="'+this.settings.strings.download+'" download class="lg-download lg-icon"></a>'),this.counter(),x(window).on("resize.lg.global"+this.lgId+" orientationchange.lg.global"+this.lgId,(function(){t.refreshOnResize()})),this.hideBars(),this.manageCloseGallery(),this.toggleMaximize(),this.initModules()}},w.prototype.refreshOnResize=function(){if(this.lgOpened){var t=this.galleryItems[this.index].__slideVideoInfo;this.mediaContainerPosition=this.getMediaContainerPosition();var e=this.mediaContainerPosition,i=e.top,s=e.bottom;if(this.currentImageSize=T(this.items[this.index],this.outer,i+s,t&&this.settings.videoMaxSize),t&&this.resizeVideoSlide(this.index,this.currentImageSize),this.zoomFromOrigin&&!this.isDummyImageRemoved){var o=this.getDummyImgStyles(this.currentImageSize);this.outer.find(".lg-current .lg-dummy-img").first().attr("style",o)}this.LGel.trigger(n)}},w.prototype.resizeVideoSlide=function(t,e){var i=this.getVideoContStyle(e);
vendor: 14,145 bytes, line 8667
8667this.getSlideItem(t).find(".lg-video-cont").attr("style",i)},w.prototype.updateSlides=function(t,e){if(this.index>t.length-1&&(this.index=t.length-1),1===t.length&&(this.index=0),t.length){var i=this.galleryItems[e].src;this.galleryItems=t,this.updateControls(),this.$inner.empty(),this.currentItemsInDom=[];var s=0;this.galleryItems.some((function(t,e){return t.src===i&&(s=e,!0)})),this.currentItemsInDom=this.organizeSlideItems(s,-1),this.loadContent(s,!0),this.getSlideItem(s).addClass("lg-current"),this.index=s,this.updateCurrentCounter(s),this.LGel.trigger(o)}else this.closeGallery()},w.prototype.getItems=function(){if(this.items=[],this.settings.dynamic)return this.settings.dynamicEl||[];if("this"===this.settings.selector)this.items.push(this.el);else if(this.settings.selector)if("string"==typeof this.settings.selector)if(this.settings.selectWithin){var t=x(this.settings.selectWithin);this.items=t.find(this.settings.selector).get()}else this.items=this.el.querySelectorAll(this.settings.selector);else this.items=this.settings.selector;else this.items=this.el.children;return k(this.items,this.settings.extraProps,this.settings.getCaptionFromTitleOrAlt,this.settings.exThumbImage)},w.prototype.shouldHideScrollbar=function(){return this.settings.hideScrollbar&&document.body===this.settings.container},w.prototype.hideScrollbar=function(){if(this.shouldHideScrollbar()){this.bodyPaddingRight=parseFloat(x("body").style().paddingRight);var t=document.documentElement.getBoundingClientRect(),e=window.innerWidth-t.width;x(document.body).css("padding-right",e+this.bodyPaddingRight+"px"),x(document.body).addClass("lg-overlay-open")}},w.prototype.resetScrollBar=function(){this.shouldHideScrollbar()&&(x(document.body).css("padding-right",this.bodyPaddingRight+"px"),x(document.body).removeClass("lg-overlay-open"))},w.prototype.openGallery=function(t,e){var i=this;if(void 0===t&&(t=this.settings.index),!this.lgOpened){this.lgOpened=!0,this.outer.removeClass("lg-hide-items"),this.hideScrollbar(),this.$container.addClass("lg-show");var s=this.getItemsToBeInsertedToDom(t,t);this.currentItemsInDom=s;var n="";s.forEach((function(t){n=n+'<div id="'+t+'" class="lg-item"></div>'})),this.$inner.append(n),this.addHtml(t);var o="";this.mediaContainerPosition=this.getMediaContainerPosition();var r=this.mediaContainerPosition,d=r.top,g=r.bottom;this.settings.allowMediaOverlap||this.setMediaContainerPosition(d,g);var h=this.galleryItems[t].__slideVideoInfo;this.zoomFromOrigin&&e&&(this.currentImageSize=T(e,this.outer,d+g,h&&this.settings.videoMaxSize),o=E(e,this.outer,d,g,this.currentImageSize)),this.zoomFromOrigin&&o||(this.outer.addClass(this.settings.startClass),this.getSlideItem(t).removeClass("lg-complete"));var c=this.settings.zoomFromOrigin?100:this.settings.backdropDuration;setTimeout((function(){i.outer.addClass("lg-components-open")}),c),this.index=t,this.LGel.trigger(l),this.getSlideItem(t).addClass("lg-current"),this.lGalleryOn=!1,this.prevScrollTop=x(window).scrollTop(),setTimeout((function(){if(i.zoomFromOrigin&&o){var e=i.getSlideItem(t);e.css("transform",o),setTimeout((function(){e.addClass("lg-start-progress lg-start-end-progress").css("transition-duration",i.settings.startAnimationDuration+"ms"),i.outer.addClass("lg-zoom-from-image")})),setTimeout((function(){e.css("transform","translate3d(0, 0, 0)")}),100)}setTimeout((function(){i.$backdrop.addClass("in"),i.$container.addClass("lg-show-in")}),10),setTimeout((function(){i.settings.trapFocus&&document.body===i.settings.container&&i.trapFocus()}),i.settings.backdropDuration+50),i.zoomFromOrigin&&o||setTimeout((function(){i.outer.addClass("lg-visible")}),i.settings.backdropDuration),i.slide(t,!1,!1,!1),i.LGel.trigger(a)})),document.body===this.settings.container&&x("html").addClass("lg-on")}},w.prototype.getMediaContainerPosition=function(){if(this.settings.allowMediaOverlap)return{top:0,bottom:0};var t=this.$toolbar.get().clientHeight||0,e=this.outer.find(".lg-components .lg-sub-html").get(),i=this.settings.defaultCaptionHeight||e&&e.clientHeight||0,s=this.outer.find(".lg-thumb-outer").get();return{top:t,bottom:(s?s.clientHeight:0)+i}},w.prototype.setMediaContainerPosition=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.$content.css("top",t+"px").css("bottom",e+"px")},w.prototype.hideBars=function(){var t=this;setTimeout((function(){t.outer.removeClass("lg-hide-items"),t.settings.hideBarsDelay>0&&(t.outer.on("mousemove.lg click.lg touchstart.lg",(function(){t.outer.removeClass("lg-hide-items"),clearTimeout(t.hideBarTimeout),t.hideBarTimeout=setTimeout((function(){t.outer.addClass("lg-hide-items")}),t.settings.hideBarsDelay)})),t.outer.trigger("mousemove.lg"))}),this.settings.showBarsAfter)},w.prototype.initPictureFill=function(t){if(this.settings.supportLegacyBrowser)try{picturefill({elements:[t.get()]})}catch(t){console.warn("lightGallery :- If you want srcset or picture tag to be supported for older browser please include picturefil javascript library in your document.")}},w.prototype.counter=function(){if(this.settings.counter){var t='<div class="lg-counter" role="status" aria-live="polite">\n                <span id="'+this.getIdName("lg-counter-current")+'" class="lg-counter-current">'+(this.index+1)+' </span> /\n                <span id="'+this.getIdName("lg-counter-all")+'" class="lg-counter-all">'+this.galleryItems.length+" </span></div>";this.outer.find(this.settings.appendCounterTo).append(t)}},w.prototype.addHtml=function(t){var e,i;if(this.galleryItems[t].subHtmlUrl?i=this.galleryItems[t].subHtmlUrl:e=this.galleryItems[t].subHtml,!i)if(e){var s=e.substring(0,1);"."!==s&&"#"!==s||(e=this.settings.subHtmlSelectorRelative&&!this.settings.dynamic?x(this.items).eq(t).find(e).first().html():x(e).first().html())}else e="";if(".lg-item"!==this.settings.appendSubHtmlTo)i?this.outer.find(".lg-sub-html").load(i):this.outer.find(".lg-sub-html").html(e);else{var n=x(this.getSlideItemId(t));i?n.load(i):n.append('<div class="lg-sub-html">'+e+"</div>")}null!=e&&(""===e?this.outer.find(this.settings.appendSubHtmlTo).addClass("lg-empty-html"):this.outer.find(this.settings.appendSubHtmlTo).removeClass("lg-empty-html")),this.LGel.trigger(r,{index:t})},w.prototype.preload=function(t){for(var e=1;e<=this.settings.preload&&!(e>=this.galleryItems.length-t);e++)this.loadContent(t+e,!1);for(var i=1;i<=this.settings.preload&&!(t-i<0);i++)this.loadContent(t-i,!1)},w.prototype.getDummyImgStyles=function(t){return t?"width:"+t.width+"px;\n                margin-left: -"+t.width/2+"px;\n                margin-top: -"+t.height/2+"px;\n                height:"+t.height+"px":""},w.prototype.getVideoContStyle=function(t){return t?"width:"+t.width+"px;\n                height:"+t.height+"px":""},w.prototype.getDummyImageContent=function(t,e,i){var s;if(this.settings.dynamic||(s=x(this.items).eq(e)),s){var n=void 0;if(!(n=this.settings.exThumbImage?s.attr(this.settings.exThumbImage):s.find("img").first().attr("src")))return"";var o="<img "+i+' style="'+this.getDummyImgStyles(this.currentImageSize)+'" class="lg-dummy-img" src="'+n+'" />';return t.addClass("lg-first-slide"),this.outer.addClass("lg-first-slide-loading"),o}return""},w.prototype.setImgMarkup=function(t,e,i){var s=this.galleryItems[i],n=s.alt,o=s.srcset,r=s.sizes,l=s.sources,a=n?'alt="'+n+'"':"",d='<picture class="lg-img-wrap"> '+(this.isFirstSlideWithZoomAnimation()?this.getDummyImageContent(e,i,a):D(i,t,a,o,r,l))+"</picture>";e.prepend(d)},w.prototype.onSlideObjectLoad=function(t,e,i,s){var n=t.find(".lg-object").first();z(n.get())||e?i():(n.on("load.lg error.lg",(function(){i&&i()})),n.on("error.lg",(function(){s&&s()})))},w.prototype.onLgObjectLoad=function(t,e,i,s,n,o){var r=this;this.onSlideObjectLoad(t,o,(function(){r.triggerSlideItemLoad(t,e,i,s,n)}),(function(){t.addClass("lg-complete lg-complete_"),t.html('<span class="lg-error-msg">'+r.settings.strings.mediaLoadingFailed+"</span>")}))},w.prototype.triggerSlideItemLoad=function(t,e,i,s,n){var o=this,r=this.galleryItems[e],l=n&&"video"===this.getSlideType(r)&&!r.poster?s:0;setTimeout((function(){t.addClass("lg-complete lg-complete_"),o.LGel.trigger(d,{index:e,delay:i||0,isFirstSlide:n})}),l)},w.prototype.isFirstSlideWithZoomAnimation=function(){return!(this.lGalleryOn||!this.zoomFromOrigin||!this.currentImageSize)},w.prototype.addSlideVideoInfo=function(t){var e=this;t.forEach((function(t,i){t.__slideVideoInfo=P(t.src,!!t.video,i),t.__slideVideoInfo&&e.settings.loadYouTubePoster&&!t.poster&&t.__slideVideoInfo.youtube&&(t.poster="//img.youtube.com/vi/"+t.__slideVideoInfo.youtube[1]+"/maxresdefault.jpg")}))},w.prototype.loadContent=function(t,i){var n=this,o=this.galleryItems[t],r=x(this.getSlideItemId(t)),l=o.poster,a=o.srcset,d=o.sizes,g=o.sources,h=o.src,c=o.video,u=c&&"string"==typeof c?JSON.parse(c):c;if(o.responsive){var m=o.responsive.split(",");h=L(m)||h}var p=o.__slideVideoInfo,f="",y=!!o.iframe,v=!this.lGalleryOn,b=0;if(v&&(b=this.zoomFromOrigin&&this.currentImageSize?this.settings.startAnimationDuration+10:this.settings.backdropDuration+10),!r.hasClass("lg-loaded")){if(p){var I=this.mediaContainerPosition,C=I.top,w=I.bottom,S=T(this.items[t],this.outer,C+w,p&&this.settings.videoMaxSize);f=this.getVideoContStyle(S)}if(y){var E=O(this.settings.iframeWidth,this.settings.iframeHeight,this.settings.iframeMaxWidth,this.settings.iframeMaxHeight,h,o.iframeTitle);r.prepend(E)}else if(l){var z="";v&&this.zoomFromOrigin&&this.currentImageSize&&(z=this.getDummyImageContent(r,t,""));E=M(l,z||"",f,this.settings.strings.playVideo,p);r.prepend(E)}else if(p){E='<div class="lg-video-cont " style="'+f+'"></div>';r.prepend(E)}else if(this.setImgMarkup(h,r,t),a||g){var G=r.find(".lg-object");this.initPictureFill(G)}(l||p)&&this.LGel.trigger(s,{index:t,src:h,html5Video:u,hasPoster:!!l}),this.LGel.trigger(e,{index:t}),this.lGalleryOn&&".lg-item"===this.settings.appendSubHtmlTo&&this.addHtml(t)}var k=0;b&&!x(document.body).hasClass("lg-from-hash")&&(k=b),this.isFirstSlideWithZoomAnimation()&&(setTimeout((function(){r.removeClass("lg-start-end-progress lg-start-progress").removeAttr("style")}),this.settings.startAnimationDuration+100),r.hasClass("lg-loaded")||setTimeout((function(){if("image"===n.getSlideType(o)){var e=o.alt,i=e?'alt="'+e+'"':"";if(r.find(".lg-img-wrap").append(D(t,h,i,a,d,o.sources)),a||g){var s=r.find(".lg-object");n.initPictureFill(s)}}("image"===n.getSlideType(o)||"video"===n.getSlideType(o)&&l)&&(n.onLgObjectLoad(r,t,b,k,!0,!1),n.onSlideObjectLoad(r,!(!p||!p.html5||l),(function(){n.loadContentOnFirstSlideLoad(t,r,k)}),(function(){n.loadContentOnFirstSlideLoad(t,r,k)})))}),this.settings.startAnimationDuration+100)),r.addClass("lg-loaded"),this.isFirstSlideWithZoomAnimation()&&("video"!==this.getSlideType(o)||l)||this.onLgObjectLoad(r,t,b,k,v,!(!p||!p.html5||l)),this.zoomFromOrigin&&this.currentImageSize||!r.hasClass("lg-complete_")||this.lGalleryOn||setTimeout((function(){r.addClass("lg-complete")}),this.settings.backdropDuration),this.lGalleryOn=!0,!0===i&&(r.hasClass("lg-complete_")?this.preload(t):r.find(".lg-object").first().on("load.lg error.lg",(function(){n.preload(t)})))},w.prototype.loadContentOnFirstSlideLoad=function(t,e,i){var s=this;setTimeout((function(){e.find(".lg-dummy-img").remove(),e.removeClass("lg-first-slide"),s.outer.removeClass("lg-first-slide-loading"),s.isDummyImageRemoved=!0,s.preload(t)}),i+300)},w.prototype.getItemsToBeInsertedToDom=function(t,e,i){var s=this;void 0===i&&(i=0);var n=[],o=Math.max(i,3);o=Math.min(o,this.galleryItems.length);var r="lg-item-"+this.lgId+"-"+e;if(this.galleryItems.length<=3)return this.galleryItems.forEach((function(t,e){n.push("lg-item-"+s.lgId+"-"+e)})),n;if(t<(this.galleryItems.length-1)/2){for(var l=t;l>t-o/2&&l>=0;l--)n.push("lg-item-"+this.lgId+"-"+l);var a=n.length;for(l=0;l<o-a;l++)n.push("lg-item-"+this.lgId+"-"+(t+l+1))}else{for(l=t;l<=this.galleryItems.length-1&&l<t+o/2;l++)n.push("lg-item-"+this.lgId+"-"+l);for(a=n.length,l=0;l<o-a;l++)n.push("lg-item-"+this.lgId+"-"+(t-l-1))}return this.settings.loop&&(t===this.galleryItems.length-1?n.push("lg-item-"+this.lgId+"-0"):0===t&&n.push("lg-item-"+this.lgId+"-"+(this.galleryItems.length-1))),-1===n.indexOf(r)&&n.push("lg-item-"+this.lgId+"-"+e),n},w.prototype.organizeSlideItems=function(t,e){var i=this,s=this.getItemsToBeInsertedToDom(t,e,this.settings.numberOfSlideItemsInDom);return s.forEach((function(t){-1===i.currentItemsInDom.indexOf(t)&&i.$inner.append('<div id="'+t+'" class="lg-item"></div>')})),this.currentItemsInDom.forEach((function(t){-1===s.indexOf(t)&&x("#"+t).remove()})),s},w.prototype.getPreviousSlideIndex=function(){var t=0;try{var e=this.outer.find(".lg-current").first().attr("id");t=parseInt(e.split("-")[3])||0}catch(e){t=0}return t},w.prototype.setDownloadValue=function(t){if(this.settings.download){var e=this.galleryItems[t];if(!1===e.downloadUrl||"false"===e.downloadUrl)this.outer.addClass("lg-hide-download");else{var i=this.getElementById("lg-download");this.outer.removeClass("lg-hide-download"),i.attr("href",e.downloadUrl||e.src),e.download&&i.attr("download",e.download)}}},w.prototype.makeSlideAnimation=function(t,e,i){var s=this;this.lGalleryOn&&i.addClass("lg-slide-progress"),setTimeout((function(){s.outer.addClass("lg-no-trans"),s.outer.find(".lg-item").removeClass("lg-prev-slide lg-next-slide"),"prev"===t?(e.addClass("lg-prev-slide"),i.addClass("lg-next-slide")):(e.addClass("lg-next-slide"),i.addClass("lg-prev-slide")),setTimeout((function(){s.outer.find(".lg-item").removeClass("lg-current"),e.addClass("lg-current"),s.outer.removeClass("lg-no-trans")}),50)}),this.lGalleryOn?this.settings.slideDelay:0)},w.prototype.slide=function(t,e,i,s){var n=this,o=this.getPreviousSlideIndex();if(this.currentItemsInDom=this.organizeSlideItems(t,o),!this.lGalleryOn||o!==t){var r=this.galleryItems.length;if(!this.lgBusy){this.settings.counter&&this.updateCurrentCounter(t);var l=this.getSlideItem(t),a=this.getSlideItem(o),d=this.galleryItems[t],c=d.__slideVideoInfo;if(this.outer.attr("data-lg-slide-type",this.getSlideType(d)),this.setDownloadValue(t),c){var u=this.mediaContainerPosition,m=u.top,p=u.bottom,f=T
vendor: 8,173 bytes, line 8667
8667(this.items[t],this.outer,m+p,c&&this.settings.videoMaxSize);this.resizeVideoSlide(t,f)}if(this.LGel.trigger(g,{prevIndex:o,index:t,fromTouch:!!e,fromThumb:!!i}),this.lgBusy=!0,clearTimeout(this.hideBarTimeout),this.arrowDisable(t),s||(t<o?s="prev":t>o&&(s="next")),e){this.outer.find(".lg-item").removeClass("lg-prev-slide lg-current lg-next-slide");var y=void 0,v=void 0;r>2?(y=t-1,v=t+1,(0===t&&o===r-1||t===r-1&&0===o)&&(v=0,y=r-1)):(y=0,v=1),"prev"===s?this.getSlideItem(v).addClass("lg-next-slide"):this.getSlideItem(y).addClass("lg-prev-slide"),l.addClass("lg-current")}else this.makeSlideAnimation(s,l,a);this.lGalleryOn?setTimeout((function(){n.loadContent(t,!0),".lg-item"!==n.settings.appendSubHtmlTo&&n.addHtml(t)}),this.settings.speed+50+(e?0:this.settings.slideDelay)):this.loadContent(t,!0),setTimeout((function(){n.lgBusy=!1,a.removeClass("lg-slide-progress"),n.LGel.trigger(h,{prevIndex:o,index:t,fromTouch:e,fromThumb:i})}),(this.lGalleryOn?this.settings.speed+100:100)+(e?0:this.settings.slideDelay))}this.index=t}},w.prototype.updateCurrentCounter=function(t){this.getElementById("lg-counter-current").html(t+1+"")},w.prototype.updateCounterTotal=function(){this.getElementById("lg-counter-all").html(this.galleryItems.length+"")},w.prototype.getSlideType=function(t){return t.__slideVideoInfo?"video":t.iframe?"iframe":"image"},w.prototype.touchMove=function(t,e,i){var s=e.pageX-t.pageX,n=e.pageY-t.pageY,o=!1;if(this.swipeDirection?o=!0:Math.abs(s)>15?(this.swipeDirection="horizontal",o=!0):Math.abs(n)>15&&(this.swipeDirection="vertical",o=!0),o){var r=this.getSlideItem(this.index);if("horizontal"===this.swipeDirection){null==i||i.preventDefault(),this.outer.addClass("lg-dragging"),this.setTranslate(r,s,0);var l=r.get().offsetWidth,a=15*l/100-Math.abs(10*s/100);this.setTranslate(this.outer.find(".lg-prev-slide").first(),-l+s-a,0),this.setTranslate(this.outer.find(".lg-next-slide").first(),l+s+a,0)}else if("vertical"===this.swipeDirection&&this.settings.swipeToClose){null==i||i.preventDefault(),this.$container.addClass("lg-dragging-vertical");var d=1-Math.abs(n)/window.innerHeight;this.$backdrop.css("opacity",d);var g=1-Math.abs(n)/(2*window.innerWidth);this.setTranslate(r,0,n,g,g),Math.abs(n)>100&&this.outer.addClass("lg-hide-items").removeClass("lg-components-open")}}},w.prototype.touchEnd=function(t,e,i){var s,n=this;"lg-slide"!==this.settings.mode&&this.outer.addClass("lg-slide"),setTimeout((function(){n.$container.removeClass("lg-dragging-vertical"),n.outer.removeClass("lg-dragging lg-hide-items").addClass("lg-components-open");var o=!0;if("horizontal"===n.swipeDirection){s=t.pageX-e.pageX;var r=Math.abs(t.pageX-e.pageX);s<0&&r>n.settings.swipeThreshold?(n.goToNextSlide(!0),o=!1):s>0&&r>n.settings.swipeThreshold&&(n.goToPrevSlide(!0),o=!1)}else if("vertical"===n.swipeDirection){if(s=Math.abs(t.pageY-e.pageY),n.settings.closable&&n.settings.swipeToClose&&s>100)return void n.closeGallery();n.$backdrop.css("opacity",1)}if(n.outer.find(".lg-item").removeAttr("style"),o&&Math.abs(t.pageX-e.pageX)<5){var l=x(i.target);n.isPosterElement(l)&&n.LGel.trigger(c)}n.swipeDirection=void 0})),setTimeout((function(){n.outer.hasClass("lg-dragging")||"lg-slide"===n.settings.mode||n.outer.removeClass("lg-slide")}),this.settings.speed+100)},w.prototype.enableSwipe=function(){var t=this,e={},i={},s=!1,n=!1;this.settings.enableSwipe&&(this.$inner.on("touchstart.lg",(function(i){t.dragOrSwipeEnabled=!0;var s=t.getSlideItem(t.index);!x(i.target).hasClass("lg-item")&&!s.get().contains(i.target)||t.outer.hasClass("lg-zoomed")||t.lgBusy||1!==i.touches.length||(n=!0,t.touchAction="swipe",t.manageSwipeClass(),e={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY})})),this.$inner.on("touchmove.lg",(function(o){n&&"swipe"===t.touchAction&&1===o.touches.length&&(i={pageX:o.touches[0].pageX,pageY:o.touches[0].pageY},t.touchMove(e,i,o),s=!0)})),this.$inner.on("touchend.lg",(function(o){if("swipe"===t.touchAction){if(s)s=!1,t.touchEnd(i,e,o);else if(n){var r=x(o.target);t.isPosterElement(r)&&t.LGel.trigger(c)}t.touchAction=void 0,n=!1}})))},w.prototype.enableDrag=function(){var t=this,e={},i={},s=!1,n=!1;this.settings.enableDrag&&(this.outer.on("mousedown.lg",(function(i){t.dragOrSwipeEnabled=!0;var n=t.getSlideItem(t.index);(x(i.target).hasClass("lg-item")||n.get().contains(i.target))&&(t.outer.hasClass("lg-zoomed")||t.lgBusy||(i.preventDefault(),t.lgBusy||(t.manageSwipeClass(),e={pageX:i.pageX,pageY:i.pageY},s=!0,t.outer.get().scrollLeft+=1,t.outer.get().scrollLeft-=1,t.outer.removeClass("lg-grab").addClass("lg-grabbing"),t.LGel.trigger(u))))})),x(window).on("mousemove.lg.global"+this.lgId,(function(o){s&&t.lgOpened&&(n=!0,i={pageX:o.pageX,pageY:o.pageY},t.touchMove(e,i),t.LGel.trigger(m))})),x(window).on("mouseup.lg.global"+this.lgId,(function(o){if(t.lgOpened){var r=x(o.target);n?(n=!1,t.touchEnd(i,e,o),t.LGel.trigger(p)):t.isPosterElement(r)&&t.LGel.trigger(c),s&&(s=!1,t.outer.removeClass("lg-grabbing").addClass("lg-grab"))}})))},w.prototype.triggerPosterClick=function(){var t=this;this.$inner.on("click.lg",(function(e){!t.dragOrSwipeEnabled&&t.isPosterElement(x(e.target))&&t.LGel.trigger(c)}))},w.prototype.manageSwipeClass=function(){var t=this.index+1,e=this.index-1;this.settings.loop&&this.galleryItems.length>2&&(0===this.index?e=this.galleryItems.length-1:this.index===this.galleryItems.length-1&&(t=0)),this.outer.find(".lg-item").removeClass("lg-next-slide lg-prev-slide"),e>-1&&this.getSlideItem(e).addClass("lg-prev-slide"),this.getSlideItem(t).addClass("lg-next-slide")},w.prototype.goToNextSlide=function(t){var e=this,i=this.settings.loop;t&&this.galleryItems.length<3&&(i=!1),this.lgBusy||(this.index+1<this.galleryItems.length?(this.index++,this.LGel.trigger(f,{index:this.index}),this.slide(this.index,!!t,!1,"next")):i?(this.index=0,this.LGel.trigger(f,{index:this.index}),this.slide(this.index,!!t,!1,"next")):this.settings.slideEndAnimation&&!t&&(this.outer.addClass("lg-right-end"),setTimeout((function(){e.outer.removeClass("lg-right-end")}),400)))},w.prototype.goToPrevSlide=function(t){var e=this,i=this.settings.loop;t&&this.galleryItems.length<3&&(i=!1),this.lgBusy||(this.index>0?(this.index--,this.LGel.trigger(y,{index:this.index,fromTouch:t}),this.slide(this.index,!!t,!1,"prev")):i?(this.index=this.galleryItems.length-1,this.LGel.trigger(y,{index:this.index,fromTouch:t}),this.slide(this.index,!!t,!1,"prev")):this.settings.slideEndAnimation&&!t&&(this.outer.addClass("lg-left-end"),setTimeout((function(){e.outer.removeClass("lg-left-end")}),400)))},w.prototype.keyPress=function(){var t=this;x(window).on("keydown.lg.global"+this.lgId,(function(e){t.lgOpened&&!0===t.settings.escKey&&27===e.keyCode&&(e.preventDefault(),t.settings.allowMediaOverlap&&t.outer.hasClass("lg-can-toggle")&&t.outer.hasClass("lg-components-open")?t.outer.removeClass("lg-components-open"):t.closeGallery()),t.lgOpened&&t.galleryItems.length>1&&(37===e.keyCode&&(e.preventDefault(),t.goToPrevSlide()),39===e.keyCode&&(e.preventDefault(),t.goToNextSlide()))}))},w.prototype.arrow=function(){var t=this;this.getElementById("lg-prev").on("click.lg",(function(){t.goToPrevSlide()})),this.getElementById("lg-next").on("click.lg",(function(){t.goToNextSlide()}))},w.prototype.arrowDisable=function(t){if(!this.settings.loop&&this.settings.hideControlOnEnd){var e=this.getElementById("lg-prev"),i=this.getElementById("lg-next");t+1===this.galleryItems.length?i.attr("disabled","disabled").addClass("disabled"):i.removeAttr("disabled").removeClass("disabled"),0===t?e.attr("disabled","disabled").addClass("disabled"):e.removeAttr("disabled").removeClass("disabled")}},w.prototype.setTranslate=function(t,e,i,s,n){void 0===s&&(s=1),void 0===n&&(n=1),t.css("transform","translate3d("+e+"px, "+i+"px, 0px) scale3d("+s+", "+n+", 1)")},w.prototype.mousewheel=function(){var t=this,e=0;this.outer.on("wheel.lg",(function(i){if(i.deltaY&&!(t.galleryItems.length<2)){i.preventDefault();var s=(new Date).getTime();s-e<1e3||(e=s,i.deltaY>0?t.goToNextSlide():i.deltaY<0&&t.goToPrevSlide())}}))},w.prototype.isSlideElement=function(t){return t.hasClass("lg-outer")||t.hasClass("lg-item")||t.hasClass("lg-img-wrap")
vendor: 3,566 bytes, line 8667
8667},w.prototype.isPosterElement=function(t){var e=this.getSlideItem(this.index).find(".lg-video-play-button").get();return t.hasClass("lg-video-poster")||t.hasClass("lg-video-play-button")||e&&e.contains(t.get())},w.prototype.toggleMaximize=function(){var t=this;this.getElementById("lg-maximize").on("click.lg",(function(){t.$container.toggleClass("lg-inline"),t.refreshOnResize()}))},w.prototype.invalidateItems=function(){for(var t=0;t<this.items.length;t++){var e=x(this.items[t]);e.off("click.lgcustom-item-"+e.attr("data-lg-id"))}},w.prototype.trapFocus=function(){var t=this;this.$container.get().focus({preventScroll:!0}),x(window).on("keydown.lg.global"+this.lgId,(function(e){if(t.lgOpened&&("Tab"===e.key||9===e.keyCode)){var i=G(t.$container.get()),s=i[0],n=i[i.length-1];e.shiftKey?document.activeElement===s&&(n.focus(),e.preventDefault()):document.activeElement===n&&(s.focus(),e.preventDefault())}}))},w.prototype.manageCloseGallery=function(){var t=this;if(this.settings.closable){var e=!1;this.getElementById("lg-close").on("click.lg",(function(){t.closeGallery()})),this.settings.closeOnTap&&(this.outer.on("mousedown.lg",(function(i){var s=x(i.target);e=!!t.isSlideElement(s)})),this.outer.on("mousemove.lg",(function(){e=!1})),this.outer.on("mouseup.lg",(function(i){var s=x(i.target);t.isSlideElement(s)&&e&&(t.outer.hasClass("lg-dragging")||t.closeGallery())})))}},w.prototype.closeGallery=function(t){var e=this;if(!this.lgOpened||!this.settings.closable&&!t)return 0;this.LGel.trigger(v),this.settings.resetScrollPosition&&!this.settings.hideScrollbar&&x(window).scrollTop(this.prevScrollTop);var i,s=this.items[this.index];if(this.zoomFromOrigin&&s){var n=this.mediaContainerPosition,o=n.top,r=n.bottom,l=this.galleryItems[this.index],a=l.__slideVideoInfo,d=l.poster,g=T(s,this.outer,o+r,a&&d&&this.settings.videoMaxSize);i=E(s,this.outer,o,r,g)}this.zoomFromOrigin&&i?(this.outer.addClass("lg-closing lg-zoom-from-image"),this.getSlideItem(this.index).addClass("lg-start-end-progress").css("transition-duration",this.settings.startAnimationDuration+"ms").css("transform",i)):(this.outer.addClass("lg-hide-items"),this.outer.removeClass("lg-zoom-from-image")),this.destroyModules(),this.lGalleryOn=!1,this.isDummyImageRemoved=!1,this.zoomFromOrigin=this.settings.zoomFromOrigin,clearTimeout(this.hideBarTimeout),this.hideBarTimeout=!1,x("html").removeClass("lg-on"),this.outer.removeClass("lg-visible lg-components-open"),this.$backdrop.removeClass("in").css("opacity",0);var h=this.zoomFromOrigin&&i?Math.max(this.settings.startAnimationDuration,this.settings.backdropDuration):this.settings.backdropDuration;return this.$container.removeClass("lg-show-in"),setTimeout((function(){e.zoomFromOrigin&&i&&e.outer.removeClass("lg-zoom-from-image"),e.$container.removeClass("lg-show"),e.resetScrollBar(),e.$backdrop.removeAttr("style").css("transition-duration",e.settings.backdropDuration+"ms"),e.outer.removeClass("lg-closing "+e.settings.startClass),e.getSlideItem(e.index).removeClass("lg-start-end-progress"),e.$inner.empty(),e.lgOpened&&e.LGel.trigger(b,{instance:e}),e.$container.get()&&e.$container.get().blur(),e.lgOpened=!1}),h+100),h+100},w.prototype.initModules=function(){this.plugins.forEach((function(t){try{t.init()}catch(t){console.warn("lightGallery:- make sure lightGallery module is properly initiated")}}))},w.prototype.destroyModules=function(t){this.plugins.forEach((function(e){try{t?e.destroy():e.closeGallery&&e.closeGallery()}catch(t){console.warn("lightGallery:- make sure lightGallery module is properly destroyed")}}
vendor: 4,130 bytes, lines 8667-8675
8667))},w.prototype.refresh=function(t){this.settings.dynamic||this.invalidateItems(),this.galleryItems=t||this.getItems(),this.updateControls(),this.openGalleryOnItemClick(),this.LGel.trigger(o)},w.prototype.updateControls=function(){this.addSlideVideoInfo(this.galleryItems),this.updateCounterTotal(),this.manageSingleSlideClassName()},w.prototype.destroyGallery=function(){this.destroyModules(!0),this.settings.dynamic||this.invalidateItems(),x(window).off(".lg.global"+this.lgId),this.LGel.off(".lg"),this.$container.remove()},w.prototype.destroy=function(){var t=this.closeGallery(!0);return t?setTimeout(this.destroyGallery.bind(this),t):this.destroyGallery(),t},w}();return function(t,e){return new F(t,e)}}));
8668;
8669/**
8670* lightgallery | 2.7.2 | September 20th 2023
8671* http://www.lightgalleryjs.com/
8672* Copyright (c) 2020 Sachin Neravath;
8673* @license GPLv3
8674*/
8675!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(t="undefined"!=typeof globalThis?globalThis:t||self).lgAutoplay=o()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var o,e=1,s=arguments.length;e<s;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t}).apply(this,arguments)},o="lgSlideItemLoad",e="lgBeforeSlide",s="lgAfterSlide",r="lgDragStart",i="lgDragEnd",a="lgAutoplay",l="lgAutoplayStart",n="lgAutoplayStop",u={autoplay:!0,slideShowAutoplay:!1,slideShowInterval:5e3,progressBar:!0,forceSlideShowAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar",autoplayPluginStrings:{toggleAutoplay:"Toggle Autoplay"}};return function(){function p(o){return this.core=o,this.settings=t(t({},u),this.core.settings),this}return p.prototype.init=function(){var t=this;this.settings.autoplay&&(this.interval=!1,this.fromAuto=!0,this.pausedOnTouchDrag=!1,this.pausedOnSlideChange=!1,this.settings.autoplayControls&&this.controls(),this.settings.progressBar&&this.core.outer.append('<div class="lg-progress-bar"><div class="lg-progress"></div></div>'),this.settings.slideShowAutoplay&&this.core.LGel.once(o+".autoplay",(function(){t.startAutoPlay()})),this.core.LGel.on(r+".autoplay touchstart.lg.autoplay",(function(){t.interval&&(t.stopAutoPlay(),t.pausedOnTouchDrag=!0)})),this.core.LGel.on(i+".autoplay touchend.lg.autoplay",(function(){!t.interval&&t.pausedOnTouchDrag&&(t.startAutoPlay(),t.pausedOnTouchDrag=!1)})),this.core.LGel.on(e+".autoplay",(function(){t.showProgressBar(),!t.fromAuto&&t.interval?(t.stopAutoPlay(),t.pausedOnSlideChange=!0):t.pausedOnSlideChange=!1,t.fromAuto=!1})),this.core.LGel.on(s+".autoplay",(function(){t.pausedOnSlideChange&&!t.interval&&t.settings.forceSlideShowAutoplay&&(t.startAutoPlay(),t.pausedOnSlideChange=!1)})),this.showProgressBar())},p.prototype.showProgressBar=function(){var t=this;if(this.settings.progressBar&&this.fromAuto){var o=this.core.outer.find(".lg-progress-bar"),e=this.core.outer.find(".lg-progress");this.interval&&(e.removeAttr("style"),o.removeClass("lg-start"),setTimeout((function(){e.css("transition","width "+(t.core.settings.speed+t.settings.slideShowInterval)+"ms ease 0s"),o.addClass("lg-start")}),20))}},p.prototype.controls=function(){var t=this,o='<button aria-label="'+this.settings.autoplayPluginStrings.toggleAutoplay+'" type="button" class="lg-autoplay-button lg-icon"></button>';this.core.outer.find(this.settings.appendAutoplayControlsTo).append(o),this.core.outer.find(".lg-autoplay-button").first().on("click.lg.autoplay",(function(){t.core.outer.hasClass("lg-show-autoplay")?t.stopAutoPlay():t.interval||t.startAutoPlay()}))},p.prototype.startAutoPlay=function(){var t=this;this.core.outer.find(".lg-progress").css("transition","width "+(this.core.settings.speed+this.settings.slideShowInterval)+"ms ease 0s"),this.core.outer.addClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").addClass("lg-start"),this.core.LGel.trigger(l,{index:this.core.index}),this.interval=setInterval((function(){t.core.index+1<t.core.galleryItems.length?t.core.index++:t.core.index=0,t.core.LGel.trigger(a,{index:t.core.
vendor: 12,481 bytes, lines 8675-8699
8675index}),t.fromAuto=!0,t.core.slide(t.core.index,!1,!1,"next")}),this.core.settings.speed+this.settings.slideShowInterval)},p.prototype.stopAutoPlay=function(){this.interval&&(this.core.LGel.trigger(n,{index:this.core.index}),this.core.outer.find(".lg-progress").removeAttr("style"),this.core.outer.removeClass("lg-show-autoplay"),this.core.outer.find(".lg-progress-bar").removeClass("lg-start")),clearInterval(this.interval),this.interval=!1},p.prototype.closeGallery=function(){this.stopAutoPlay()},p.prototype.destroy=function(){this.settings.autoplay&&this.core.outer.find(".lg-progress-bar").remove(),this.core.LGel.off(".lg.autoplay"),this.core.LGel.off(".autoplay")},p}()}));
8676;
8677/**
8678* lightgallery | 2.7.2 | September 20th 2023
8679* http://www.lightgalleryjs.com/
8680* Copyright (c) 2020 Sachin Neravath;
8681* @license GPLv3
8682*/
8683!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).lgVideo=o()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var o,i=1,t=arguments.length;i<t;i++)for(var s in o=arguments[i])Object.prototype.hasOwnProperty.call(o,s)&&(e[s]=o[s]);return e}).apply(this,arguments)},o={autoplayFirstVideo:!0,youTubePlayerParams:!1,vimeoPlayerParams:!1,wistiaPlayerParams:!1,gotoNextSlideOnVideoEnd:!0,autoplayVideoOnSlide:!1,videojs:!1,videojsTheme:"",videojsOptions:{}},i="lgHasVideo",t="lgSlideItemLoad",s="lgBeforeSlide",n="lgAfterSlide",l="lgPosterClick",r=function(e){return Object.keys(e).map((function(o){return encodeURIComponent(o)+"="+encodeURIComponent(e[o])})).join("&")},d=function(o,i){if(!o.youtube)return"";var t=o.youtube[2]?o.youtube[2].slice(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,o){var i=o.map(decodeURIComponent),t=i[0],s=i[1];return e[t]=s,e}),{}):"",s=i||{},n=e(e(e({},{wmode:"opaque",autoplay:0,mute:1,enablejsapi:1}),s),t);return"?"+r(n)};return function(){function a(i){return this.core=i,this.settings=e(e({},o),this.core.settings),this}return a.prototype.init=function(){var e=this;this.core.LGel.on(i+".video",this.onHasVideo.bind(this)),this.core.LGel.on(l+".video",(function(){var o=e.core.getSlideItem(e.core.index);e.loadVideoOnPosterClick(o)})),this.core.LGel.on(t+".video",this.onSlideItemLoad.bind(this)),this.core.LGel.on(s+".video",this.onBeforeSlide.bind(this)),this.core.LGel.on(n+".video",this.onAfterSlide.bind(this))},a.prototype.onSlideItemLoad=function(e){var o=this,i=e.detail,t=i.isFirstSlide,s=i.index;this.settings.autoplayFirstVideo&&t&&s===this.core.index&&setTimeout((function(){o.loadAndPlayVideo(s)}),200),!t&&this.settings.autoplayVideoOnSlide&&s===this.core.index&&this.loadAndPlayVideo(s)},a.prototype.onHasVideo=function(e){var o=e.detail,i=o.index,t=o.src,s=o.html5Video;o.hasPoster||(this.appendVideos(this.core.getSlideItem(i),{src:t,addClass:"lg-object",index:i,html5Video:s}),this.gotoNextSlideOnVideoEnd(t,i))},a.prototype.onBeforeSlide=function(e){if(this.core.lGalleryOn){var o=e.detail.prevIndex;this.pauseVideo(o)}},a.prototype.onAfterSlide=function(e){var o=this,i=e.detail,t=i.index,s=i.prevIndex,n=this.core.getSlideItem(t);this.settings.autoplayVideoOnSlide&&t!==s&&n.hasClass("lg-complete")&&setTimeout((function(){o.loadAndPlayVideo(t)}),100)},a.prototype.loadAndPlayVideo=function(e){var o=this.core.getSlideItem(e);this.core.galleryItems[e].poster?this.loadVideoOnPosterClick(o,!0):this.playVideo(e)},a.prototype.playVideo=function(e){this.controlVideo(e,"play")},a.prototype.pauseVideo=function(e){this.controlVideo(e,"pause")},a.prototype.getVideoHtml=function(e,o,i,t){var s="",n=this.core.galleryItems[i].__slideVideoInfo||{},l=this.core.galleryItems[i],a=l.title||l.alt;a=a?'title="'+a+'"':"";var c='allowtransparency="true"\n            frameborder="0"\n            scrolling="no"\n            allowfullscreen\n            mozallowfullscreen\n            webkitallowfullscreen\n            oallowfullscreen\n            msallowfullscreen';if(n.youtube){var u="lg-youtube"+i,f=d(n,this.settings.youTubePlayerParams);s='<iframe allow="autoplay" id='+u+' class="lg-video-object lg-youtube '+o+'" '+a+' src="'+(e.includes("youtube-nocookie.com")?"//www.youtube-nocookie.com/":"//www.youtube.com/")+"embed/"+(n.youtube[1]+f)+'" '+c+"></iframe>"}else if(n.vimeo){u="lg-vimeo"+i;var h=function(e,o){if(!o||!o.vimeo)return"";var i=o.vimeo[2]||"",t=e&&0!==Object.keys(e).length?"&"+r(e):"",s=((o.vimeo[0].split("/").pop()||"").split("?")[0]||"").split("#")[0],n=o.vimeo[1]!==s;return n&&(i=i.replace("/"+s,"")),"?autoplay=0&muted=1"+(n?"&h="+s:"")+t+("?"==i[0]?"&"+i.slice(1):i||"")}(this.settings.vimeoPlayerParams,n);s='<iframe allow="autoplay" id='+u+' class="lg-video-object lg-vimeo '+o+'" '+a+' src="//player.vimeo.com/video/'+(n.vimeo[1]+h)+'" '+c+"></iframe>"}else if(n.wistia){var p="lg-wistia"+i;h=(h=r(this.settings.wistiaPlayerParams))?"?"+h:"",s='<iframe allow="autoplay" id="'+p+'" src="//fast.wistia.net/embed/iframe/'+(n.wistia[4]+h)+'" '+a+' class="wistia_embed lg-video-object lg-wistia '+o+'" name="wistia_embed" '+c+"></iframe>"}else if(n.html5){for(var y="",g=0;g<t.source.length;g++)y+='<source src="'+t.source[g].src+'" type="'+t.source[g].type+'">';if(t.tracks){var v=function(e){var o="",i=t.tracks[e];Object.keys(i||{}).forEach((function(e){o+=e+'="'+i[e]+'" '})),y+="<track "+o+">"};for(g=0;g<t.tracks.length;g++)v(g)}var m="",w=t.attributes||{};Object.keys(w||{}).forEach((function(e){m+=e+'="'+w[e]+'" '})),s='<video class="lg-video-object lg-html5 '+(this.settings.videojs&&this.settings.videojsTheme?this.settings.videojsTheme+" ":"")+" "+(this.settings.videojs?" video-js":"")+'" '+m+">\n                "+y+"\n                Your browser does not support HTML5 video.\n            </video>"}return s},a.prototype.appendVideos=function(e,o){var i,t=this.getVideoHtml(o.src,o.addClass,o.index,o.html5Video);e.find(".lg-video-cont").append(t);var s=e.find(".lg-video-object").first();if(o.html5Video&&s.on("mousedown.lg.video",(function(e){e.stopPropagation()})),this.settings.videojs&&(null===(i=this.core.galleryItems[o.index].__slideVideoInfo)||void 0===i?void 0:i.html5))try{return videojs(s.get(),this.settings.videojsOptions)}catch(e){console.error("lightGallery:- Make sure you have included videojs")}},a.prototype.gotoNextSlideOnVideoEnd=function(e,o){var i=this,t=this.core.getSlideItem(o).find(".lg-video-object").first(),s=this.core.galleryItems[o].__slideVideoInfo||{};if(this.settings.gotoNextSlideOnVideoEnd)if(s.html5)t.on("ended",(function(){i.core.goToNextSlide()}));else if(s.vimeo)try{new Vimeo.Player(t.get()).on("ended",(function(){i.core.goToNextSlide()}))}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(s.wistia)try{window._wq=window._wq||[],window._wq.push({id:t.attr("id"),onReady:function(e){e.bind("end",(function(){i.core.goToNextSlide()}))}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},a.prototype.controlVideo=function(e,o){var i=this.core.getSlideItem(e).find(".lg-video-object").first(),t=this.core.galleryItems[e].__slideVideoInfo||{};if(i.get())if(t.youtube)try{i.get().contentWindow.postMessage('{"event":"command","func":"'+o+'Video","args":""}',"*")}catch(e){console.error("lightGallery:- "+e)}else if(t.vimeo)try{new Vimeo.Player(i.get())[o]()}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(t.html5)if(this.settings.videojs)try{videojs(i.get())[o]()}catch(e){console.error("lightGallery:- Make sure you have included videojs")}else i.get()[o]();else if(t.wistia)try{window._wq=window._wq||[],window._wq.push({id:i.attr("id"),onReady:function(e){e[o]()}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},a.prototype.loadVideoOnPosterClick=function(e,o){var i=this;if(e.hasClass("lg-video-loaded"))o&&this.playVideo(this.core.index);else if(e.hasClass("lg-has-video"))this.playVideo(this.core.index);else{e.addClass("lg-has-video");var t=void 0,s=this.core.galleryItems[this.core.index].src,n=this.core.galleryItems[this.core.index].video;n&&(t="string"==typeof n?JSON.parse(n):n);var l=this.appendVideos(e,{src:s,addClass:"",index:this.core.index,html5Video:t});this.gotoNextSlideOnVideoEnd(s,this.core.index);var r=e.find(".lg-object").first().get();e.find(".lg-video-cont").first().append(r),e.addClass("lg-video-loading"),l&&l.ready((function(){l.on("loadedmetadata",(function(){i.onVideoLoadAfterPosterClick(e,i.core.index)}))})),e.find(".lg-video-object").first().on("load.lg error.lg loadedmetadata.lg",(function(){setTimeout((function(){i.onVideoLoadAfterPosterClick(e,i.core.index)}),50)}))}},a.prototype.onVideoLoadAfterPosterClick=function(e,o){e.addClass("lg-video-loaded"),this.playVideo(o)},a.prototype.destroy=function(){this.core.LGel.off(".lg.video"),this.core.LGel.off(".video")},a}()}));
8684;
8685/**
8686* lightgallery | 2.7.2 | September 20th 2023
8687* http://www.lightgalleryjs.com/
8688* Copyright (c) 2020 Sachin Neravath;
8689* @license GPLv3
8690*/
8691!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?module.exports=l():"function"==typeof define&&define.amd?define(l):(e="undefined"!=typeof globalThis?globalThis:e||self).lgFullscreen=l()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var l,n=1,t=arguments.length;n<t;n++)for(var c in l=arguments[n])Object.prototype.hasOwnProperty.call(l,c)&&(e[c]=l[c]);return e}).apply(this,arguments)},l={fullScreen:!0,fullscreenPluginStrings:{toggleFullscreen:"Toggle Fullscreen"}};return function(){function n(n,t){return this.core=n,this.$LG=t,this.settings=e(e({},l),this.core.settings),this}return n.prototype.init=function(){var e="";if(this.settings.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button type="button" aria-label="'+this.settings.fullscreenPluginStrings.toggleFullscreen+'" class="lg-fullscreen lg-icon"></button>',this.core.$toolbar.append(e),this.fullScreen()}},n.prototype.isFullScreen=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},n.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},n.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},n.prototype.fullScreen=function(){var e=this;this.$LG(document).on("fullscreenchange.lg.global"+this.core.lgId+" \n            webkitfullscreenchange.lg.global"+this.core.lgId+" \n            mozfullscreenchange.lg.global"+this.core.lgId+" \n            MSFullscreenChange.lg.global"+this.core.lgId,(function(){e.core.lgOpened&&e.core.outer.toggleClass("lg-fullscreen-on")})),this.core.outer.find(".lg-fullscreen").first().on("click.lg",(function(){e.isFullScreen()?e.exitFullscreen():e.requestFullscreen()}))},n.prototype.closeGallery=function(){this.isFullScreen()&&this.exitFullscreen()},n.prototype.destroy=function(){this.$LG(document).off("fullscreenchange.lg.global"+this.core.lgId+" \n            webkitfullscreenchange.lg.global"+this.core.lgId+" \n            mozfullscreenchange.lg.global"+this.core.lgId+" \n            MSFullscreenChange.lg.global"+this.core.lgId)},n}()}));
8692;
8693/**
8694* lightgallery | 2.7.2 | September 20th 2023
8695* http://www.lightgalleryjs.com/
8696* Copyright (c) 2020 Sachin Neravath;
8697* @license GPLv3
8698*/
8699!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lgThumbnail=e()}(this,(function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var h in e=arguments[i])Object.prototype.hasOwnProperty.call(e,h)&&(t[h]=e[h]);return t}).apply(this,arguments)},e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",alignThumbnails:"middle",thumbWidth:100,thumbHe
vendor: 6,418 bytes, line 8699
8699ight:"80px",thumbMargin:5,appendThumbnailsTo:".lg-components",toggleThumb:!1,enableThumbDrag:!0,enableThumbSwipe:!0,thumbnailSwipeThreshold:10,loadYouTubeThumbnail:!0,youTubeThumbSize:1,thumbnailPluginStrings:{toggleThumbnails:"Toggle thumbnails"}},i="lgContainerResize",s="lgUpdateSlides",h="lgBeforeOpen",n="lgBeforeSlide";return function(){function o(t,e){return this.thumbOuterWidth=0,this.thumbTotalWidth=0,this.translateX=0,this.thumbClickable=!1,this.core=t,this.$LG=e,this}return o.prototype.init=function(){this.settings=t(t({},e),this.core.settings),this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.galleryItems.length*(this.settings.thumbWidth+this.settings.thumbMargin),this.translateX=0,this.setAnimateThumbStyles(),this.core.settings.allowMediaOverlap||(this.settings.toggleThumb=!1),this.settings.thumbnail&&(this.build(),this.settings.animateThumb?(this.settings.enableThumbDrag&&this.enableThumbDrag(),this.settings.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toggleThumbBar(),this.thumbKeyPress())},o.prototype.build=function(){var t=this;this.setThumbMarkup(),this.manageActiveClassOnSlideChange(),this.$lgThumb.first().on("click.lg touchend.lg",(function(e){var i=t.$LG(e.target);i.hasAttribute("data-lg-item-id")&&setTimeout((function(){if(t.thumbClickable&&!t.core.lgBusy){var e=parseInt(i.attr("data-lg-item-id"));t.core.slide(e,!1,!0,!1)}}),50)})),this.core.LGel.on(n+".thumb",(function(e){var i=e.detail.index;t.animateThumb(i)})),this.core.LGel.on(h+".thumb",(function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth})),this.core.LGel.on(s+".thumb",(function(){t.rebuildThumbnails()})),this.core.LGel.on(i+".thumb",(function(){t.core.lgOpened&&setTimeout((function(){t.thumbOuterWidth=t.core.outer.get().offsetWidth,t.animateThumb(t.core.index),t.thumbOuterWidth=t.core.outer.get().offsetWidth}),50)}))},o.prototype.setThumbMarkup=function(){var t="lg-thumb-outer ";this.settings.alignThumbnails&&(t+="lg-thumb-align-"+this.settings.alignThumbnails);var e='<div class="'+t+'">\n        <div class="lg-thumb lg-group">\n        </div>\n        </div>';this.core.outer.addClass("lg-has-thumb"),".lg-components"===this.settings.appendThumbnailsTo?this.core.$lgComponents.append(e):this.core.outer.append(e),this.$thumbOuter=this.core.outer.find(".lg-thumb-outer").first(),this.$lgThumb=this.core.outer.find(".lg-thumb").first(),this.settings.animateThumb&&this.core.outer.find(".lg-thumb").css("transition-duration",this.core.settings.speed+"ms").css("width",this.thumbTotalWidth+"px").css("position","relative"),this.setThumbItemHtml(this.core.galleryItems)},o.prototype.enableThumbDrag=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0},i=!1;this.$thumbOuter.addClass("lg-grab"),this.core.outer.find(".lg-thumb").first().on("mousedown.lg.thumb",(function(s){t.thumbTotalWidth>t.thumbOuterWidth&&(s.preventDefault(),e.cords.startX=s.pageX,e.startTime=new Date,t.thumbClickable=!1,i=!0,t.core.outer.get().scrollLeft+=1,t.core.outer.get().scrollLeft-=1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))})),this.$LG(window).on("mousemove.lg.thumb.global"+this.core.lgId,(function(s){t.core.lgOpened&&i&&(e.cords.endX=s.pageX,e=t.onThumbTouchMove(e))})),this.$LG(window).on("mouseup.lg.thumb.global"+this.core.lgId,(function(){t.core.lgOpened&&(e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0,i&&(i=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab")))}))},o.prototype.enableThumbSwipe=function(){var t=this,e={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0};this.$lgThumb.on("touchstart.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.startX=i.targetTouches[0].pageX,t.thumbClickable=!1,e.startTime=new Date)})),this.$lgThumb.on("touchmove.lg",(function(i){t.thumbTotalWidth>t.thumbOuterWidth&&(i.preventDefault(),e.cords.endX=i.targetTouches[0].pageX,e=t.onThumbTouchMove(e))})),this.$lgThumb.on("touchend.lg",(function(){e.isMoved?e=t.onThumbTouchEnd(e):t.thumbClickable=!0}))},o.prototype.rebuildThumbnails=function(){var t=this;this.$thumbOuter.addClass("lg-rebuilding-thumbnails"),setTimeout((function(){t.thumbTotalWidth=t.core.galleryItems.length*(t.settings.thumbWidth+t.settings.thumbMargin),t.$lgThumb.css("width",t.thumbTotalWidth+"px"),t.$lgThumb.empty(),t.setThumbItemHtml(t.core.galleryItems),t.animateThumb(t.core.index)}),50),setTimeout((function(){t.$thumbOuter.removeClass("lg-rebuilding-thumbnails")}),200)},o.prototype.setTranslate=function(t){this.$lgThumb.css("transform","translate3d(-"+t+"px, 0px, 0px)")},o.prototype.getPossibleTransformX=function(t){return t>this.thumbTotalWidth-this.thumbOuterWidth&&(t=this.thumbTotalWidth-this.thumbOuterWidth),t<0&&(t=0),t},o.prototype.animateThumb=function(t){if(this.$lgThumb.css("transition-duration",this.core.settings.speed+"ms"),this.settings.animateThumb){var e=0;switch(this.settings.currentPagerPosition){case"left":e=0;break;case"middle":e=this.thumbOuterWidth/2-this.settings.thumbWidth/2;break;case"right":e=this.thumbOuterWidth-this.settings.thumbWidth}this.translateX=(this.settings.thumbWidth+this.settings.thumbMargin)*t-1-e,this.translateX>this.thumbTotalWidth-this.thumbOuterWidth&&(this.translateX=this.thumbTotalWidth-this.thumbOuterWidth),this.translateX<0&&(this.translateX=0),this.setTranslate(this.translateX)}},o.prototype.onThumbTouchMove=function(t){return t.newTranslateX=this.translateX,t.isMoved=!0,t.touchMoveTime=(new Date).valueOf(),t.newTranslateX-=t.cords.endX-t.cords.startX,t.newTranslateX=this.getPossibleTransformX(t.newTranslateX),this.setTranslate(t.newTranslateX),this.$thumbOuter.addClass("lg-dragging"),t},o.prototype.onThumbTouchEnd=function(t){t.isMoved=!1,t.endTime=new Date,this.$thumbOuter.removeClass("lg-dragging");var e=t.endTime.valueOf()-t.startTime.valueOf(),i=t.cords.endX-t.cords.startX,s=Math.abs(i)/e;return s>.15&&t.endTime.valueOf()-t.touchMoveTime<30?((s+=1)>2&&(s+=1),s+=s*(Math.abs(i)/this.thumbOuterWidth),this.$lgThumb.css("transition-duration",Math.min(s-1,2)+"settings"),i*=s,this.translateX=this.getPossibleTransformX(this.translateX-i),this.setTranslate(this.translateX)):this.translateX=t.newTranslateX,Math.abs(t.cords.endX-t.cords.startX)<this.settings.thumbnailSwipeThreshold&&(this.thumbClickable=!0),t}
8699,o.prototype.getThumbHtml=function(t,e,i){var s,h=this.core.galleryItems[e].__slideVideoInfo||{};s=h.youtube&&this.settings.loadYouTubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+this.settings.youTubeThumbSize+".jpg":t;var n=i?'alt="'+i+'"':"";return'<div data-lg-item-id="'+e+'" class="lg-thumb-item '+(e===this.core.index?" active":"")+'"\n        style="width:'+this.settings.thumbWidth+"px; height: "+this.settings.thumbHeight+";\n            margin-right: "+this.settings.thumbMargin+'px;">\n            <img '+n+' data-lg-item-id="'+e+'" src="'+s+'" />\n        </div>'},o.prototype.getThumbItemHtml=function(t){for(var e="",i=0;i<t.length;i++)e+=this.getThumbHtml(t[i].thumb,i,t[i].alt);return e},o.prototype.setThumbItemHtml=function(t){var e=this.getThumbItemHtml(t);this.$lgThumb.html(e)},o.prototype.setAnimateThumbStyles=function(){this.settings.animateThumb&&this.core.outer.addClass("lg-animate-thumb")},o.prototype.manageActiveClassOnSlideChange=function(){var t=this;this.core.LGel.on(n+".thumb",(function(e){var i=t.core.outer.find(".lg-thumb-item"),s=e.detail.index;i.removeClass("active"),i.eq(s).addClass("active")}))},o.prototype.toggleThumbBar=function(){var t=this;this.settings.toggleThumb&&(this.core.outer.addClass("lg-can-toggle"),this.core.$toolbar.append('<button type="button" aria-label="'+this.settings.thumbnailPluginStrings.toggleThumbnails+'" class="lg-toggle-thumb lg-icon"></button>'),this.core.outer.find(".lg-toggle-thumb").first().on("click.lg",(function(){t.core.outer.toggleClass("lg-components-open")})))},o.prototype.thumbKeyPress=function(){var t=this;this.$LG(window).on("keydown.lg.thumb.global"+this.core.lgId,(function(e){t.core.lgOpened&&t.settings.toggleThumb&&(38===e.keyCode?(e.preventDefault(),t.core.outer.addClass("lg-components-open")):40===e.keyCode&&(e.preventDefault(),t.core.outer.removeClass("lg-components-open")))}))},o.prototype.destroy=function(){this.settings.thumbnail&&(this.$LG(window).off(".lg.thumb.global"+this.core.lgId),this.core.LGel.off(".lg.thumb"),this.core.LGel.off(".thumb"),this.$thumbOuter.remove(),this.core.outer.removeClass("lg-has-thumb"))},o}()}));
8700;
8701/**
8702* lightgallery | 2.7.2 | September 20th 2023
8703* http://www.lightgalleryjs.com/
8704* Copyright (c) 2020 Sachin Neravath;
8705* @license GPLv3
8706*/
8707!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).lgZoom=t()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++)for(var s in t=arguments[o])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},t={scale:1,zoom:!0,infiniteZoom:!0,actualSize:!0,showZoomInOutIcons:!1,actualSizeIcons:{zoomIn:"lg-zoom-in",zoomOut:"lg-zoom-out"},enableZoomAfter:300,zoomPluginStrings:{zoomIn:"Zoom in",zoomOut:"Zoom out",viewActualSize:"View actual size"}},o="lgContainerResize",i="lgBeforeOpen",s="lgAfterOpen",a="lgSlideItemLoad",n="lgAfterSlide",r="lgRotateLeft",l="lgRotateRight",g="lgFlipHorizontal",c="lgFlipVertical";return function(){function h(o,i){return this.core=o,this.$LG=i,this.settings=e(e({},t),this.core.settings),this}return h.prototype.buildTemplates=function(){var e=this.settings.showZoomInOutIcons?'<button id="'+this.core.getIdName("lg-zoom-in")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomIn+'" class="lg-zoom-in lg-icon"></button><button id="'+this.core.getIdName("lg-zoom-out")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomIn+'" class="lg-zoom-out lg-icon"></button>':"";this.settings.actualSize&&(e+='<button id="'+this.core.getIdName("lg-actual-size")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.viewActualSize+'" class="'+this.settings.actualSizeIcons.zoomIn+' lg-icon"></button>'),this.core.outer.addClass("lg-use-transition-for-zoom"),this.core.$toolbar.first().append(e)},h.prototype.enableZoom=function(e){var t=this,o=this.settings.enableZoomAfter+e.detail.delay;this.$LG("body").first().hasClass("lg-from-hash")&&e.detail.delay?o=0:this.$LG("body").first().removeClass("lg-from-hash"),this.zoomableTimeout=setTimeout((function(){t.isImageSlide(t.core.index)&&(t.core.getSlideItem(e.detail.index).addClass("lg-zoomable"),e.detail.index===t.core.
vendor: 13,123 bytes, line 8707
8707index&&t.setZoomEssentials())}),o+30)},h.prototype.enableZoomOnSlideItemLoad=function(){this.core.LGel.on(a+".zoom",this.enableZoom.bind(this))},h.prototype.getDragCords=function(e){return{x:e.pageX,y:e.pageY}},h.prototype.getSwipeCords=function(e){return{x:e.touches[0].pageX,y:e.touches[0].pageY}},h.prototype.getDragAllowedAxises=function(e,t){var o=this.core.getSlideItem(this.core.index).find(".lg-image").first().get(),i=0,s=0,a=o.getBoundingClientRect();e?(i=o.offsetHeight*e,s=o.offsetWidth*e):t?(i=a.height+t*a.height,s=a.width+t*a.width):(i=a.height,s=a.width);var n=i>this.containerRect.height;return{allowX:s>this.containerRect.width,allowY:n}},h.prototype.setZoomEssentials=function(){this.containerRect=this.core.$content.get().getBoundingClientRect()},h.prototype.zoomImage=function(e,t,o,i){if(!(Math.abs(t)<=0)){var s,a,n=this.containerRect.width/2+this.containerRect.left,r=this.containerRect.height/2+this.containerRect.top+this.scrollTop;1===e&&(this.positionChanged=!1);var l=this.getDragAllowedAxises(0,t),g=l.allowY,c=l.allowX;this.positionChanged&&(s=this.left/(this.scale-t),a=this.top/(this.scale-t),this.pageX=n-s,this.pageY=r-a,this.positionChanged=!1);var h,m,u=this.getPossibleSwipeDragCords(t),d=n-this.pageX,f=r-this.pageY;if(e-t>1){var p=(e-t)/Math.abs(t);h=(d=(t<0?-d:d)+this.left*(p+(t<0?-1:1)))/p,m=(f=(t<0?-f:f)+this.top*(p+(t<0?-1:1)))/p}else{h=d*(p=(e-t)*t),m=f*p}o&&(c?this.isBeyondPossibleLeft(h,u.minX)?h=u.minX:this.isBeyondPossibleRight(h,u.maxX)&&(h=u.maxX):e>1&&(h<u.minX?h=u.minX:h>u.maxX&&(h=u.maxX)),g?this.isBeyondPossibleTop(m,u.minY)?m=u.minY:this.isBeyondPossibleBottom(m,u.maxY)&&(m=u.maxY):e>1&&(m<u.minY?m=u.minY:m>u.maxY&&(m=u.maxY))),this.setZoomStyles({x:h,y:m,scale:e}),this.left=h,this.top=m,i&&this.setZoomImageSize()}},h.prototype.resetImageTranslate=function(e){if(this.isImageSlide(e)){var t=this.core.getSlideItem(e).find(".lg-image").first();this.imageReset=!1,t.removeClass("reset-transition reset-transition-y reset-transition-x"),this.core.outer.removeClass("lg-actual-size"),t.css("width","auto").css("height","auto"),setTimeout((function(){t.removeClass("no-transition")}),10)}},h.prototype.setZoomImageSize=function(){var e=this,t=this.core.getSlideItem(this.core.index).find(".lg-image").first();setTimeout((function(){var o=e.getCurrentImageActualSizeScale();e.scale>=o&&(t.addClass("no-transition"),e.imageReset=!0)}),500),setTimeout((function(){var o=e.getCurrentImageActualSizeScale();if(e.scale>=o){var i=e.getDragAllowedAxises(e.scale);t.css("width",t.get().naturalWidth+"px").css("height",t.get().naturalHeight+"px"),e.core.outer.addClass("lg-actual-size"),i.allowX&&i.allowY?t.addClass("reset-transition"):i.allowX&&!i.allowY?t.addClass("reset-transition-x"):!i.allowX&&i.allowY&&t.addClass("reset-transition-y")}}),550)},h.prototype.setZoomStyles=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),o=this.core.getSlideItem(this.core.index).find(".lg-image").first(),i=this.core.outer.find(".lg-current .lg-dummy-img").first();this.scale=e.scale,o.css("transform","scale3d("+e.scale+", "+e.scale+", 1)"),i.css("transform","scale3d("+e.scale+", "+e.scale+", 1)");var s="translate3d("+e.x+"px, "+e.y+"px, 0)";t.css("transform",s)},h.prototype.setActualSize=function(e,t){var o=this;if(!this.zoomInProgress){this.zoomInProgress=!0;var i=this.core.galleryItems[this.core.index];this.resetImageTranslate(e),setTimeout((function(){if(i.src&&!o.core.outer.hasClass("lg-first-slide-loading")){var e=o.getCurrentImageActualSizeScale(),s=o.scale;o.core.outer.hasClass("lg-zoomed")?o.scale=1:o.scale=o.getScale(e),o.setPageCords(t),o.beginZoom(o.scale),o.zoomImage(o.scale,o.scale-s,!0,!0)}}),50),setTimeout((function(){o.core.outer.removeClass("lg-grabbing").addClass("lg-grab")}),60),setTimeout((function(){o.zoomInProgress=!1}),610)}},h.prototype.getNaturalWidth=function(e){var t=this.core.getSlideItem(e).find(".lg-image").first(),o=this.core.galleryItems[e].width;return o?parseFloat(o):t.get().naturalWidth},h.prototype.getActualSizeScale=function(e,t){return e>=t?e/t||2:1},h.prototype.getCurrentImageActualSizeScale=function(){var e=this.core.getSlideItem(this.core.index).find(".lg-image").first().get().offsetWidth,t=this.getNaturalWidth(this.core.index)||e;return this.getActualSizeScale(t,e)},h.prototype.getPageCords=function(e){var t={};if(e)t.x=e.pageX||e.touches[0].pageX,t.y=e.pageY||e.touches[0].pageY;else{var o=this.core.$content.get().getBoundingClientRect();t.x=o.width/2+o.left,t.y=o.height/2+this.scrollTop+o.top}return t},h.prototype.setPageCords=function(e){var t=this.getPageCords(e);this.pageX=t.x,this.pageY=t.y},h.prototype.manageActualPixelClassNames=function(){this.core.getElementById("lg-actual-size").removeClass(this.settings.actualSizeIcons.zoomIn).addClass(this.settings.actualSizeIcons.zoomOut)},h.prototype.beginZoom=function(e){return this.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e>1?(this.core.outer.addClass("lg-zoomed"),this.manageActualPixelClassNames()):this.resetZoom(),e>1},h.prototype.getScale=function(e){var t=this.getCurrentImageActualSizeScale();return e<1?e=1:e>t&&(e=t),e},h.prototype.init=function(){var e=this;if(this.settings.zoom){this.buildTemplates(),this.enableZoomOnSlideItemLoad();var t=null;this.core.outer.on("dblclick.lg",(function(t){e.$LG(t.target).hasClass("lg-image")&&e.setActualSize(e.core.index,t)})),this.core.outer.on("touchstart.lg",(function(o){var i=e.$LG(o.target);1===o.touches.length&&i.hasClass("lg-image")&&(t?(clearTimeout(t),t=null,o.preventDefault(),e.setActualSize(e.core.index,o)):t=setTimeout((function(){t=null}),300))})),this.core.LGel.on(o+".zoom "+l+".zoom "+r+".zoom "+g+".zoom "+c+".zoom",(function(){if(e.core.lgOpened&&e.isImageSlide(e.core.index)&&!e.core.touchAction){var t=e.core.getSlideItem(e.core.index).find(".lg-img-wrap").first();e.top=0,e.left=0,e.setZoomEssentials(),e.setZoomSwipeStyles(t,{x:0,y:0}),e.positionChanged=!0}})),this.$LG(window).on("scroll.lg.zoom.global"+this.core.lgId,(function(){e.core.lgOpened&&(e.scrollTop=e.$LG(window).scrollTop())})),this.core.getElementById("lg-zoom-out").on("click.lg",(function(){if(e.isImageSlide(e.core.index)){var t=0;e.imageReset&&(e.resetImageTranslate(e.core.index),t=50),setTimeout((function(){var t=e.scale-e.settings.scale;t<1&&(t=1),e.beginZoom(t),e.zoomImage(t,-e.settings.scale,!0,!e.settings.infiniteZoom)}),t)}})),this.core.getElementById("lg-zoom-in").on("click.lg",(function(){e.zoomIn()})),this.core.getElementById("lg-actual-size").on("click.lg",(function(){e.setActualSize(e.core.index)})),this.core.LGel.on(i+".zoom",(function(){e.core.outer.find(".lg-item").removeClass("lg-zoomable")})),this.core.LGel.on(s+".zoom",(function(){e.scrollTop=e.$LG(window).scrollTop(),e.pageX=e.core.outer.width()/2,e.pageY=e.core.outer.height()/2+e.scrollTop,e.scale=1})),this.core.LGel.on(n+".zoom",(function(t){var o=t.detail.prevIndex;e.scale=1,e.positionChanged=!1,e.zoomInProgress=!1,e.resetZoom(o),e.resetImageTranslate(o),e.isImageSlide(e.core.index)&&e.setZoomEssentials()})),this.zoomDrag(),this.pinchZoom(),this.zoomSwipe(),this.zoomableTimeout=!1,this.positionChanged=!1,this.zoomInProgress=!1}},h.prototype.zoomIn=function(){if(this.isImageSlide(this.core.index)){var e=this.scale+this.settings.scale;this.settings.infiniteZoom||(e=this.getScale(e)),this.beginZoom(e),this.zoomImage(e,Math.min(this.settings.scale,e-this.scale),!0,!this.settings.infiniteZoom)}},h.prototype.resetZoom=function(e){this.core.outer.removeClass("lg-zoomed lg-zoom-drag-transition");var t=this.core.getElementById("lg-actual-size"),o=this.core.getSlideItem(void 0!==e?e:this.core.index);t.removeClass(this.settings.actualSizeIcons.zoomOut).addClass(this.settings.actualSizeIcons.zoomIn),o.find(".lg-img-wrap").first().removeAttr("style"),o.find(".lg-image").first().removeAttr("style"),this.scale=1,this.left=0,this.top=0,this.setPageCords()},h.prototype.getTouchDistance=function(e){return Math.sqrt((e.touches[0].pageX-e.touches[1].pageX)*(e.touches[0].pageX-e.touches[1].pageX)+(e.touches[0].pageY-e.touches[1].pageY)*(e.touches[0].pageY-e.touches[1].pageY))},h.prototype.pinchZoom=function(){var e=this,t=0,o=!1,i=1,s=0,a=this.core.getSlideItem(this.core.index);this.core.outer.on("touchstart.lg",(function(o){if(a=e.core.getSlideItem(e.core.index),e.isImageSlide(e.core.index)&&2===o.touches.length){if(o.preventDefault(),e.core.outer.hasClass("lg-first-slide-loading"))return;i=e.scale||1,e.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e.setPageCords(o),e.resetImageTranslate(e.core.index),e.core.touchAction="pinch",t=e.getTouchDistance(o)}})),this.core.$inner.on("touchmove.lg",(function(n){if(2===n.touches.length&&"pinch"===e.core.touchAction&&(e.$LG(n.target).hasClass("lg-item")||a.get().contains(n.target))){n.preventDefault();var r=e.getTouchDistance(n),l=t-r;if(!o&&Math.abs(l)>5&&(o=!0),o){s=e.scale;var g=Math.max(1,i+.02*-l);e.scale=Math.round(100*(g+Number.EPSILON))/100;var c=e.scale-s;e.zoomImage(e.scale,Math.round(100*(c+Number.EPSILON))/100,!1,!1)}}})),this.core.$inner.on("touchend.lg",(function(i){if("pinch"===e.core.touchAction&&(e.$LG(i.target).hasClass("lg-item")||a.get().contains(i.target))){if(o=!1,t=0,e.scale<=1)e.resetZoom();else{var s=e.getCurrentImageActualSizeScale();if(e.scale>=s){var n=s-e.scale;0===n&&(n=.01),e.zoomImage(s,n,!1,!0)}e.manageActualPixelClassNames(),e.core.outer.addClass("lg-zoomed")}e.core.touchAction=void 0}}))},h.prototype.touchendZoom=function(e,t,o,i,s){var a=t.x-e.x,n=t.y-e.y,r=Math.abs(a)/s+1,l=Math.abs(n)/s+1;r>2&&(r+=1),l>2&&(l+=1),a*=r,n*=l;var g=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),c={};c.x=this.left+a,c.y=this.top+n;var h=this.getPossibleSwipeDragCords();(Math.abs(a)>15||Math.abs(n)>15)&&(i&&(this.isBeyondPossibleTop(c.y,h.minY)?c.y=h.minY:this.isBeyondPossibleBottom(c.y,h.maxY)&&(c.y=h.maxY)),o&&(this.isBeyondPossibleLeft(c.x,h.minX)?c.x=h.minX:this.isBeyondPossibleRight(c.x,h.maxX)&&(c.x=h.maxX)),i?this.top=c.y:c.y=this.top,o?this.left=c.x:c.x=this.left,this.setZoomSwipeStyles(g,c),this.positionChanged=!0)},h.prototype.getZoomSwipeCords=function(e,t,o,i,s){var a={};if(i){if(a.y=this.top+(t.y-e.y),this.isBeyondPossibleTop(a.y,s.minY)){var n=s.minY-a.y;a.y=s.minY-n/6}else if(this.isBeyondPossibleBottom(a.y,s.maxY)){var r=a.y-s.maxY;a.y=s.maxY+r/6}}else a.y=this.top;if(o){if(a.x=this.left+(t.x-e.x),this.isBeyondPossibleLeft(a.x,s.minX)){var l=s.minX-a.x;a.x=s.minX-l/6}else if(this.isBeyondPossibleRight(a.x,s.maxX)){var g=a.x-s.maxX;a.x=s.maxX+g/6}}else a.x=this.left;return a},h.prototype.isBeyondPossibleLeft=function(e,t){return e>=t},h.prototype.isBeyondPossibleRight=function(e,t){return e<=t},h.prototype.isBeyondPossibleTop=function(e,t){return e>=t},h.prototype.isBeyondPossibleBottom=function(e,t){return e<=t},h.prototype.isImageSlide=function(e){var t=this.core.galleryItems[e];return"image"===this.core.getSlideType(t)},h.prototype.getPossibleSwipeDragCords=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-image").first(),o=this.core.mediaContainerPosition.bottom,i=t.get().getBoundingClientRect(),s=i.height,a=i.width;return e&&(s+=e*s,a+=e*a),{minY:(s-this.containerRect.height)/2,maxY:(this.containerRect.height-s)/2+o,minX:(a-this.containerRect.width)/2,maxX:(this.containerRect.width-a)/2}},h.prototype.setZoomSwipeStyles=function(e,t){e.css("transform","translate3d("+t.x+"px, "+t.y+"px, 0)")},h.prototype.zoomSwipe=function(){var e,t,o=this,i={},s={},a=!1,n=!1,r=!1,l=new Date,g=(new Date,this.core.getSlideItem(this.core.index));this.core.$inner.on("touchstart.lg",(function(s){if(o.isImageSlide(o.core.index)&&(g=o.core.getSlideItem(o.core.index),(o.$LG(s.target).hasClass("lg-item")||g.get().contains(s.target))&&1===s.touches.length&&o.core.outer.hasClass("lg-zoomed"))){s.preventDefault(),l=new Date,o.core.touchAction="zoomSwipe",t=o.core.getSlideItem(o.core.index).find(".lg-img-wrap").first();var a=o.getDragAllowedAxises(0);r=a.allowY,((n=a.allowX)||r)&&(i=o.getSwipeCords(s)),e=o.getPossibleSwipeDragCords(),o.core.outer.addClass("lg-zoom-dragging lg-zoom-drag-transition")}})),this.core.$inner.on("touchmove.lg",(function(l){if(1===l.touches.length&&"zoomSwipe"===o.core.touchAction&&(o.$LG(l.target).hasClass("lg-item")||g.get().contains(l.target))){l.preventDefault(),o.core.touchAction="zoomSwipe",s=o.getSwipeCords(l);var c=o.getZoomSwipeCords(i,s,n,r,e);(Math.abs(s.x-i.x)>15||Math.abs(s.y-i.y)>15)&&(a=!0,o.setZoomSwipeStyles(t,c))}})),this.core.$inner.on("touchend.lg",(function(e){if("zoomSwipe"===o.core.touchAction&&(o.$LG(e.target).hasClass("lg-item")||g.get().contains(e.target))){if(e.preventDefault(),o.core.touchAction=void 0,o.core.outer.removeClass("lg-zoom-dragging"),!a)return;a=!1;var t=(new Date).valueOf()-l.valueOf();o.touchendZoom(i,s,n,r,t)}}))},h.prototype.zoomDrag=function(){var e,t,o,i,s=this,a={},n={},r=!1,l=!1,g=!1,c=!1;this.core.outer.on("mousedown.lg.zoom",(function(t){if(s.isImageSlide(s.core.index)){var n=s.core.getSlideItem(s.core.index);if(s.$LG(t.target).hasClass("lg-item")||n.get().contains(t.target)){e=ne
8707w Date,i=s.core.getSlideItem(s.core.index).find(".lg-img-wrap").first();var l=s.getDragAllowedAxises(0);c=l.allowY,g=l.allowX,s.core.outer.hasClass("lg-zoomed")&&s.$LG(t.target).hasClass("lg-object")&&(g||c)&&(t.preventDefault(),a=s.getDragCords(t),o=s.getPossibleSwipeDragCords(),r=!0,s.core.outer.removeClass("lg-grab").addClass("lg-grabbing lg-zoom-drag-transition lg-zoom-dragging"))}}})),this.$LG(window).on("mousemove.lg.zoom.global"+this.core.lgId,(function(e){if(r){l=!0,n=s.getDragCords(e);var t=s.getZoomSwipeCords(a,n,g,c,o);s.setZoomSwipeStyles(i,t)}})),this.$LG(window).on("mouseup.lg.zoom.global"+this.core.lgId,(function(o){if(r){if(t=new Date,r=!1,s.core.outer.removeClass("lg-zoom-dragging"),l&&(a.x!==n.x||a.y!==n.y)){n=s.getDragCords(o);var i=t.valueOf()-e.valueOf();s.touchendZoom(a,n,g,c,i)}l=!1}s.core.outer.removeClass("lg-grabbing").addClass("lg-grab")}))},h.prototype.closeGallery=function(){this.resetZoom(),this.zoomInProgress=!1},h.prototype.destroy=function(){this.$LG(window).off(".lg.zoom.global"+this.core.lgId),this.core.LGel.off(".lg.zoom"),this.core.LGel.off(".zoom"),clearTimeout(this.zoomableTimeout),this.zoomableTimeout=!1},h}()}));
8708;
8709/*!
8710* lightgallery | 2.4.0 | January 29th 2022
8711* http://www.lightgalleryjs.com/
8712* Copyright (c) 2020 Sachin Neravath;
8713* @license GPLv3
8714*/
8715(function (global, factory) {
8716typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
8717typeof define === 'function' && define.amd ? define(factory) :
8718(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.lgJPlatformLightbox = factory());
8719}(this, (function () {
8720'use strict';
8721/*! *****************************************************************************
8722Copyright (c) Microsoft Corporation.
8723Permission to use, copy, modify, and/or distribute this software for any
8724purpose with or without fee is hereby granted.
8725THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8726REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
8727AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
8728INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
8729LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
8730OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8731PERFORMANCE OF THIS SOFTWARE.
8732***************************************************************************** */
8733/**
8734* List of lightGallery events
8735* All events should be documented here
8736* Below interfaces are used to build the website documentations
8737* */
8738var lGEvents = {
8739afterAppendSlide: 'lgAfterAppendSlide',
8740init: 'lgInit',
8741hasVideo: 'lgHasVideo',
8742containerResize: 'lgContainerResize',
8743updateSlides: 'lgUpdateSlides',
8744afterAppendSubHtml: 'lgAfterAppendSubHtml',
8745beforeOpen: 'lgBeforeOpen',
8746afterOpen: 'lgAfterOpen',
8747slideItemLoad: 'lgSlideItemLoad',
8748beforeSlide: 'lgBeforeSlide',
8749afterSlide: 'lgAfterSlide',
8750posterClick: 'lgPosterClick',
8751dragStart: 'lgDragStart',
8752dragMove: 'lgDragMove',
8753dragEnd: 'lgDragEnd',
8754beforeNextSlide: 'lgBeforeNextSlide',
8755beforePrevSlide: 'lgBeforePrevSlide',
8756beforeClose: 'lgBeforeClose',
8757afterClose: 'lgAfterClose',
8758rotateLeft: 'lgRotateLeft',
8759rotateRight: 'lgRotateRight',
8760flipHorizontal: 'lgFlipHorizontal',
8761flipVertical: 'lgFlipVertical',
8762autoplay: 'lgAutoplay',
8763autoplayStart: 'lgAutoplayStart',
8764autoplayStop: 'lgAutoplayStop'
8765};
8766var __assign = function () {
8767__assign = Object.assign || function __assign(t) {
8768for (var s, i = 1, n = arguments.length; i < n; i++) {
8769s = arguments[i];
8770for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8771}
8772return t;
8773};
8774return __assign.apply(this, arguments);
8775};
8776var jplatformLightboxSettings = {
8777};
8778var JPlatformLightbox = /** @class */ (function () {
8779function JPlatformLightbox(instance, $LG) {
8780// get lightGallery core plugin instance
8781this.core = instance;
8782this.$LG = $LG;
8783// extend module default settings with lightGallery core settings
8784this.settings = __assign(__assign({}, jplatformLightboxSettings), this.core.settings);
8785return this;
8786}
8787JPlatformLightbox.prototype.init = function () {
8788var _this_ = this;
8789this.core.LGel.on(lGEvents.afterOpen, function (event) {
8790// Add target blank on access pub item
8791jQuery(_this_.core.$toolbar.firstElement).find(".lg-access-pub").attr("target","_blank")
8792});
8793this.core.LGel.on(lGEvents.beforeSlide, function (event) {
8794jQuery(".lg-dropdown").remove();
8795var options = _this_.core.galleryItems[event.detail.index];
8796if (!options.lightboxOptions || !options.lightboxOptions.dataId) {
8797return;
8798}
8799let dropdownMenu = Handlebars.compile(jQuery('#jalios-lightbox-jplatform-menu').html());
8800const dropdownMenuHtml = dropdownMenu({
8801id: options.lightboxOptions.dataId
8802})
8803jQuery(dropdownMenuHtml).insertAfter(jQuery(_this_.core.$toolbar.firstElement).find(".lg-close"))
8804jQuery.ajax({
8805url: "jcore/lightbox/lightboxActions.jsp",
8806method: "post",
8807data: {
8808docId: options.lightboxOptions.dataId
8809}
8810}).done(function(html) {
8811jQuery(".lg-dropdown .dropdown-menu").html(html);
8812// Enable dropzone if there's a drop link
8813const $uploadNewVersionLink = jQuery("[data-jalios-lightbox-action=uploadNewVersion]");
8814$uploadNewVersionLink.dropzone({
8815url: "jcore/document/handleDocumentAction.jsp",
8816paramName: "filename",
8817previewsContainer: false,
8818clickable: true,
8819acceptedFiles: $uploadNewVersionLink.data("jalios-mime-type"),
8820autoQueue: true,
8821params: {
8822id: options.lightboxOptions.dataId,
8823opUpload: true,
8824},
8825init: function () {
8826this.on("addedfile", function (file) {
8827const $currentLightboxImage = jQuery(".lg-current .lg-image");
8828if ($currentLightboxImage.exists()) {
8829jQuery(".lg-current .lg-img-wrap").displayLoading();
8830}
8831}),
8832this.on("success", function (event) {
8833const newImagePath = JSON.parse(event.xhr.response).data.newImagePath;
8834let absoluteUrl = JcmsJsContext.getBaseUrl() + newImagePath;
8835// Invalidate cache for original image
8836jQuery.ajax({
8837url: absoluteUrl,
8838type: 'GET',
8839headers: {
8840'Cache-Control': 'no-cache'
8841}
8842}).done(function (infos) {
8843jQuery('img[data-jalios-data-id=' + options.lightboxOptions.dataId + ']').each(function (idx, element) {
8844setTimeout(() => {
8845element.src = newImagePath;
8846}, 300);
8847});
8848const $currentLightboxImage = jQuery(".lg-current .lg-image");
8849//Replace image in DOM for lightbox
8850if ($currentLightboxImage.exists()) {
8851setTimeout(() => {
8852$currentLightboxImage[0].src = newImagePath;
8853jQuery(".lg-current .ajax-loading-component").remove()
8854}, 300);
8855}
8856});
8857});
8858}
8859});
8860});
8861});
8862};
8863JPlatformLightbox.prototype.destroy = function () {
8864};
8865return JPlatformLightbox;
8866}());
8867return JPlatformLightbox;
8868})));;
8869/*
8870* jalios-lightbox initializes lightbox on images
8871*
8872* Uses the https://www.lightgalleryjs.com/ plugin
8873* @since jcms-9.0.3
8874*
8875* @example
8876*
8877* Import :
8878*   WebAssetsUtils.addWebAssets(jcmsContext, "jalios-lightbox");
8879* Add on img tag : DataAttribute dataAttribute = LightboxUtils.getImageDataAttribute(fileDoc, userLang, userLocale, loggedMember);
8880* Add the "lightbox-img" class on a link with an img tag in it :
8881*
8882* <a class="lightbox-img" <%= dataAttribute %> href="pathToFullImg.jpg"><img src="pathToThumb.jpg"/></a>
8883*
8884* Or for a complete gallery, add a wrapper div with the "lightbox-img-gallery" class :
8885*
8886* <div class="lightbox-img-gallery">
8887*   <a class="lightbox-img" href="pathToFullImg.jpg"><img src="pathToThumb.jpg"/></a>
8888*   <a class="lightbox-img" href="pathToFullImg2.jpg"><img src="pathToThumb2.jpg"/></a>
8889* </div>
8890*/
8891!(function ($) {
8892// Constants
8893// ===============
8894let DEFAULT_LG_OPTIONS = {
8895licenseKey: JCMS_Properties['lightbox.light-gallery.licence-key'],
8896dynamic: true,
8897actualSize: false,
8898download: false,
8899showZoomInOutIcons: true,
8900infiniteZoom: true,
8901autoplayVideoOnSlide: true
8902};
8903// Private methods
8904// ===============
8905/*
8906* Relaunch setup after ajax refresh
8907*/
8908var handleAjaxRefreshInit = function (event) {
8909var refresh = $.jalios.Event.match(event, 'refresh', 'after');
8910if (!refresh) {
8911return;
8912}
8913initializeLightboxes();
8914};
8915const handleLightGalleryAfterOpen = function (e) {
8916let gallery = $(e.currentTarget).data('lightGallery');
8917if (gallery.galleryItems.length <= 1) {
8918$(gallery.$container.firstElement).find('.lg-counter').addClass('hide');
8919}
8920};
8921const initializeSingleImageLightbox = function () {
8922$('.lightbox-img:not(.lightbox-initialized)').filter(function(idx, element) {
8923return !$(element).closest(".lightbox-disabled").exists();
8924}).each(function (idx, link) {
8925let $link = $(link);
8926if ($link.closest('.lightbox-img-gallery').exists()) {
8927return;
8928}
8929let $image = $link.find('img');
8930$image.addClass('lightbox-initialized');
8931$link.on('click', function (event) {
8932initGalleryOnImage($image);
8933event.preventDefault();
8934let gallery = $(event.currentTarget).find('img').data('lightGallery');
8935gallery.openGallery();
8936});
8937});
8938};
8939/*
8940* Common actions performed on lightbox and bind of event when a lightbox is opened
8941*/
8942const handleLightboxOpening = function ($container) {
8943let container = $($container)[0];
8944addButtonTitles(container);
8945container.addEventListener('lgAfterOpen', handleLightGalleryAfterOpen, false);
8946};
8947const addButtonTitles = function (container) {
8948container.addEventListener('lgInit', (event) => {
8949const pluginInstance = event.detail.instance;
8950// Note attr and find are not jQuery methods
8951// These are utility methods provided by lightGallery
8952const $toolbar = pluginInstance.$toolbar;
8953//TODO : remove if pr is accepted : https://github.com/sachinchoolur/lightGallery/issues/1246
8954$toolbar.find('.lg-close').attr('title', $.jalios.I18N.glp('lightbox.close'));
8955$toolbar.find('.lg-download').attr('title', $.jalios.I18N.glp('lightbox.download'));
8956$toolbar.find('.lg-zoom-in').attr('title', $.jalios.I18N.glp('lightbox.zoom-in'));
8957$toolbar.find('.lg-zoom-out').attr('title', $.jalios.I18N.glp('lightbox.zoom-out'));
8958$toolbar.find('.lg-fullscreen').attr('title', $.jalios.I18N.glp('lightbox.fullscreen'));
8959});
8960};
8961const getSubHtml = function (lightboxOptions) {
8962if (!lightboxOptions) {
8963return '';
8964}
8965let html = '';
8966if (lightboxOptions.title) {
8967html += '<h4>' + lightboxOptions.title + '</h4>';
8968}
8969if (lightboxOptions.abstract) {
8970let text =
8971lightboxOptions.abstract.length < 50
8972? lightboxOptions.abstract
8973: lightboxOptions.abstract.substring(0, 100) + '...';
8974html += '<p>' + text + '</p>';
8975}
8976return html;
8977};
8978/**
8979* Load additionals plugins that might be added to the element which will launch lightbox
8980* @function
8981*/
8982const loadAdditionalPluginsFromDataAttributes = function ($element, extendedConfig) {
8983$element = $($element);
8984if ($element.data('jaliosLightboxPlugins')) {
8985let extendedPluginNamesArray = $element.data('jaliosLightboxPlugins').split(' ');
8986if (extendedPluginNamesArray) {
8987let extendedPlugins = [];
8988for (const pluginName of extendedPluginNamesArray) {
8989extendedPlugins.push(globalThis[pluginName]);
8990}
8991extendedConfig.plugins = [...extendedConfig.plugins, ...extendedPlugins];
8992}
8993}
8994};
8995// Initialization methods (Gallery / Wysiwyg / Unique image)
8996// ===============
8997const pushImage = function (lightboxOptions, $image, $link) {
8998return {
8999src: lightboxOptions && lightboxOptions.thumb ? lightboxOptions.thumb : $link ? $link.attr('href') : $image.attr("src"),
9000thumb: $image.attr('src'),
9001subHtml: getSubHtml(lightboxOptions),
9002downloadUrl: lightboxOptions ? lightboxOptions.downloadUrl : null,
9003lightboxOptions: lightboxOptions
9004};
9005};
9006const pushImageData = function (lightboxOptions) {
9007if (lightboxOptions.type.startsWith("video")) {
9008return {
9009video: {
9010source: [
9011{
9012src: lightboxOptions.downloadUrl,
9013type: lightboxOptions.type,
9014},
9015],
9016attributes: { preload: false, controls: true }
9017},
9018thumb: lightboxOptions.thumb,
9019subHtml: getSubHtml(lightboxOptions),
9020downloadUrl: lightboxOptions.downloadUrl,
9021lightboxOptions: lightboxOptions,
9022__slideVideoInfo: {
9023}
9024}
9025}
9026return {
9027src: lightboxOptions.thumb,
9028thumb: lightboxOptions.thumb,
9029subHtml: getSubHtml(lightboxOptions),
9030downloadUrl: lightboxOptions.downloadUrl,
9031lightboxOptions: lightboxOptions
9032};
9033};
9034const initializeLightbox = function ($element, config, lightboxOptions) {
9035$element = $($element);
9036handleLightboxOpening($element);
9037loadAdditionalPluginsFromDataAttributes($element, config);
9038let gallery = lightGallery($element[0], config);
9039if (lightboxOptions) {
9040gallery.lightboxOptions = lightboxOptions;
9041}
9042$element.addClass('lightbox-initialized');
9043$element.data('lightGallery', gallery);
9044return gallery;
9045};
9046const initializeWysiwygLightbox = function () {
9047$('.wysiwyg:not(.lightbox-initialized), .wiki:not(.lightbox-initialized)').filter(function(idx, element) {
9048return !$(element).closest(".lightbox-disabled").exists();
9049}).each(async (_idx, wysiwygWrapper) => {
9050let filteredImages = [];
9051let $images = $(wysiwygWrapper).find('img');
9052if ($images.length === 0) {
9053return false;
9054}
9055let $filteredImages = $images
9056.filter(function (idxImage, image) {
9057return !$(image).hasClass('wysiwyg-lightbox') && !$(image).closest('A').exists() && !$(image).closest('.mejs-responsive-wrapper').exists();
9058})
9059.each(function (idx, element) {
9060let $img = $(element);
9061$img.addClass('wysiwyg-lightbox');
9062$img.wrap("<picture class='wysiwyg-lightbox-wrapper'></picture>");
9063let picture = $img.closest('picture');
9064//picture.css("width", element.width).css("height", element.height);
9065$img.attr('data-lg-size', $img[0].width + '-' + $img[0].height);
9066$img.on('click', function (event) {
9067event.preventDefault();
9068$(event.currentTarget)
9069.closest('.wysiwyg, .wiki')
9070.data('lightGallery')
9071.openGallery(idx, $img.closest('picture')[0]);
9072});
9073let lightboxOptions = $img.data('jalios-lightbox-options');
9074filteredImages.push(pushImage(lightboxOptions, $img));
9075});
9076if ($filteredImages.length <= 0) {
9077return false;
9078}
9079let extendedConfig = $.extend({}, DEFAULT_LG_OPTIONS, {
9080dynamicEl: filteredImages,
9081enableDrag: false,
9082dynamic: true,
9083addClass: 'wysiwyg-container',
9084showCloseIcon: true,
9085controls: false,
9086enableSwipe: false
9087});
9088let gallery = initializeLightbox(wysiwygWrapper, extendedConfig);
9089// On scroll on window, hide the light gallery (Since we do not remove the scroll on light
9090// galleries opened from a wysiwyg to apply the same style as medium)
9091wysiwygWrapper.addEventListener(
9092'lgBeforeOpen',
9093function (event) {
9094$('html').addClass('lg-on-wysiwyg');
9095document.addEventListener(
9096'scroll',
9097function (event) {
9098gallery.closeGallery();
9099},
9100{
9101once: true
9102}
9103);
9104},
9105false
9106);
9107wysiwygWrapper.addEventListener(
9108'lgAfterClose',
9109function (event) {
9110$('html').removeClass('lg-on-wysiwyg');
9111},
9112false
9113);
9114});
9115};
9116const initializeDataLightbox = function() {
9117$('.lightbox-img-data:not(.lightbox-initialized)').filter(function(idx, element) {
9118return !$(element).closest(".lightbox-disabled").exists();
9119}).each(function (idx, galleryWrapper) {
9120let $galleryWrapper = $(galleryWrapper);
9121let dynamicElements = [];
9122$galleryWrapper.find('[data-jalios-lightbox-options]').each(function (idx, link) {
9123let lightboxOptions = $(link).data('jalios-lightbox-options');
9124dynamicElements.push(pushImageData(lightboxOptions));
9125$(link).on('click', function (event) {
9126event.preventDefault();
9127gallery.openGallery(idx);
9128});
9129});
9130let extendedConfig = $.extend({}, DEFAULT_LG_OPTIONS, {
9131dynamicEl: dynamicElements
9132});
9133let gallery = initializeLightbox($galleryWrapper, extendedConfig);
9134return gallery;
9135});
9136}
9137const initializeGalleryLightbox = function () {
9138$('.lightbox-img-gallery:not(.lightbox-initialized)').filter(function(idx, element) {
9139return !$(element).closest(".lightbox-disabled").exists();
9140}).each(function (idx, galleryWrapper) {
9141let $galleryWrapper = $(galleryWrapper);
9142let dynamicElements = [];
9143$galleryWrapper.find('.lightbox-img').each(function (idx, link) {
9144let $link = $(link);
9145let $image = $link.find('img');
9146let lightboxOptions = $image.data('jalios-lightbox-options');
9147dynamicElements.push(pushImage(lightboxOptions, $image, $link));
9148$link.on('click', function (event) {
9149event.preventDefault();
9150gallery.openGallery(idx);
9151});
9152});
9153let extendedConfig = $.extend({}, DEFAULT_LG_OPTIONS, {
9154dynamicEl: dynamicElements
9155});
9156let gallery = initializeLightbox($galleryWrapper, extendedConfig);
9157$galleryWrapper.data("light-gallery", gallery);
9158return gallery;
9159});
9160};
9161const initGalleryOnImage = function (image) {
9162let $image = $(image);
9163if ($image.data('lightGallery')) {
9164return $image.data('lightGallery');
9165}
9166let lightboxOptions = $image.data('jalios-lightbox-options');
9167let extendedConfig = $.extend({}, DEFAULT_LG_OPTIONS, {
9168dynamicEl: [pushImage(lightboxOptions, $image)],
9169enableDrag: false
9170});
9171let gallery = initializeLightbox($image, extendedConfig, lightboxOptions);
9172return gallery;
9173};
9174// Public API
9175// ===============
9176$.jalios.Lightbox = {
9177launchLightbox: function (image, thumb) {
9178let $image = $(image);
9179let gallery = initGalleryOnImage($image);
9180gallery.openGallery();
9181},
9182updateTitle: function(id, title) {
9183// Pub chooser cards
9184$(".card-media-pub-chooser[data-jalios-data-id=" + id + "] H2").text(title);
9185// Lightbox
9186$(".lg-show-in H4").text(title);
9187},
9188};
9189$.jalios.Lightbox.getGallery = function (element) {
9190if (!element) {
9191return undefined;
9192}
9193return $(element).data('lightGallery');
9194};
9195$.jalios.Lightbox.initGalleryOnImage = function ($element) {
9196return initGalleryOnImage($element);
9197};
9198$.jalios.Lightbox.initializeDataLightbox = initializeDataLightbox;
9199// Initialization
9200// ===============
9201/*
9202* Initializes all lightbox images and galleries
9203*/
9204var initializeLightboxes = function () {
9205if (typeof lightGallery == 'function') {
9206initializeSingleImageLightbox();
9207initializeGalleryLightbox();
9208initializeWysiwygLightbox();
9209initializeDataLightbox();
9210}
9211};
9212var register = function () {
9213$(document).on('jalios:refresh', handleAjaxRefreshInit);
9214$(document).on('jalios:imageEditor', function (event) {
9215initializeLightboxes();
9216});
9217initializeLightboxes();
9218};
9219// Plugin initialization on DOM ready
9220$(document).ready(function ($) {
9221if (typeof lightGallery !== 'function') {
9222return;
9223}
9224// If lib is available, load plugins (This need to be performed on dom ready since libraries might not be available when declaring the global DEFAULT_LG_OPTIONS)
9225DEFAULT_LG_OPTIONS = $.extend({}, DEFAULT_LG_OPTIONS, {
9226plugins: [lgZoom,  lgVideo, lgFullscreen, lgJPlatformLightbox]
9227});
9228register();
9229});
9230})(window.jQuery);
9231;
9232(function webpackUniversalModuleDefinition(root, factory) {
9233if(typeof exports === 'object' && typeof module === 'object')
9234module.exports = factory();
9235else if(typeof define === 'function' && define.amd)
9236define([], factory);
9237else {
9238var a = factory();
9239for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9240}
9241})(self, function() {
9242return /******/ (function() { // webpackBootstrap
9243/******/ 	var __webpack_modules__ = ({
9244/***/ 3099:
9245/***/ (function(module) {
9246module.exports = function (it) {
9247if (typeof it != 'function') {
9248throw TypeError(String(it) + ' is not a function');
9249} return it;
9250};
9251/***/ }),
9252/***/ 6077:
9253/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9254var isObject = __webpack_require__(111);
9255module.exports = function (it) {
9256if (!isObject(it) && it !== null) {
9257throw TypeError("Can't set " + String(it) + ' as a prototype');
9258} return it;
9259};
9260/***/ }),
9261/***/ 1223:
9262/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9263var wellKnownSymbol = __webpack_require__(5112);
9264var create = __webpack_require__(30);
9265var definePropertyModule = __webpack_require__(3070);
9266var UNSCOPABLES = wellKnownSymbol('unscopables');
9267var ArrayPrototype = Array.prototype;
9268// Array.prototype[@@unscopables]
9269// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
9270if (ArrayPrototype[UNSCOPABLES] == undefined) {
9271definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
9272configurable: true,
9273value: create(null)
9274}
9274);
9275}
9276// add a key to Array.prototype[@@unscopables]
9277module.exports = function (key) {
9278ArrayPrototype[UNSCOPABLES][key] = true;
9279};
9280/***/ }),
9281/***/ 1530:
9282/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9283"use strict";
9284var charAt = __webpack_require__(8710).charAt;
9285// `AdvanceStringIndex` abstract operation
9286// https://tc39.es/ecma262/#sec-advancestringindex
9287module.exports = function (S, index, unicode) {
9288return index + (unicode ? charAt(S, index).length : 1);
9289};
9290/***/ }),
9291/***/ 5787:
9292/***/ (function(module) {
9293module.exports = function (it, Constructor, name) {
9294if (!(it instanceof Constructor)) {
9295throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
9296} return it;
9297};
9298/***/ }),
9299/***/ 9670:
9300/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9301var isObject = __webpack_require__(111);
9302module.exports = function (it) {
9303if (!isObject(it)) {
9304throw TypeError(String(it) + ' is not an object');
9305} return it;
9306};
9307/***/ }),
9308/***/ 4019:
9309/***/ (function(module) {
9310module.exports = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined';
9311/***/ }),
9312/***/ 260:
9313/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9314"use strict";
9315var NATIVE_ARRAY_BUFFER = __webpack_require__(4019);
9316var DESCRIPTORS = __webpack_require__(9781);
9317var global = __webpack_require__(7854);
9318var isObject = __webpack_require__(111);
9319var has = __webpack_require__(6656);
9320var classof = __webpack_require__(648);
9321var createNonEnumerableProperty = __webpack_require__(8880);
9322var redefine = __webpack_require__(1320);
9323var defineProperty = __webpack_require__(3070).f;
9324var getPrototypeOf = __webpack_require__(9518);
9325var setPrototypeOf = __webpack_require__(7674);
9326var wellKnownSymbol = __webpack_require__(5112);
9327var uid = __webpack_require__(9711);
9328var Int8Array = global.Int8Array;
9329var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
9330var Uint8ClampedArray = global.Uint8ClampedArray;
9331var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
9332var TypedArray = Int8Array && getPrototypeOf(Int8Array);
9333var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
9334var ObjectPrototype = Object.prototype;
9335var isPrototypeOf = ObjectPrototype.isPrototypeOf;
9336var TO_STRING_TAG = wellKnownSymbol('toStringTag');
9337var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
9338// Fixing native typed arrays in Opera Presto crashes the browser, see #595
9339var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';
9340var TYPED_ARRAY_TAG_REQIRED = false;
9341var NAME;
9342var TypedArrayConstructorsList = {
9343Int8Array: 1,
9344Uint8Array: 1,
9345Uint8ClampedArray: 1,
9346Int16Array: 2,
9347Uint16Array: 2,
9348Int32Array: 4,
9349Uint32Array: 4,
9350Float32Array: 4,
9351Float64Array: 8
9352};
9353var BigIntArrayConstructorsList = {
9354BigInt64Array: 8,
9355BigUint64Array: 8
9356};
9357var isView = function isView(it) {
9358if (!isObject(it)) return false;
9359var klass = classof(it);
9360return klass === 'DataView'
9361|| has(TypedArrayConstructorsList, klass)
9362|| has(BigIntArrayConstructorsList, klass);
9363};
9364var isTypedArray = function (it) {
9365if (!isObject(it)) return false;
9366var klass = classof(it);
9367return has(TypedArrayConstructorsList, klass)
9368|| has(BigIntArrayConstructorsList, klass);
9369};
9370var aTypedArray = function (it) {
9371if (isTypedArray(it)) return it;
9372throw TypeError('Target is not a typed array');
9373};
9374var aTypedArrayConstructor = function (C) {
9375if (setPrototypeOf) {
9376if (isPrototypeOf.call(TypedArray, C)) return C;
9377} else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME)) {
9378var TypedArrayConstructor = global[ARRAY];
9379if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {
9380return C;
9381}
9382} throw TypeError('Target is not a typed array constructor');
9383};
9384var exportTypedArrayMethod = function (KEY, property, forced) {
9385if (!DESCRIPTORS) return;
9386if (forced) for (var ARRAY in TypedArrayConstructorsList) {
9387var TypedArrayConstructor = global[ARRAY];
9388if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) {
9389delete TypedArrayConstructor.prototype[KEY];
9390}
9391}
9392if (!TypedArrayPrototype[KEY] || forced) {
9393redefine(TypedArrayPrototype, KEY, forced ? property
9394: NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property);
9395}
9396};
9397var exportTypedArrayStaticMethod = function (KEY, property, forced) {
9398var ARRAY, TypedArrayConstructor;
9399if (!DESCRIPTORS) return;
9400if (setPrototypeOf) {
9401if (forced) for (ARRAY in TypedArrayConstructorsList) {
vendor: 4,092 bytes, lines 9402-9504
9402TypedArrayConstructor = global[ARRAY];
9403if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) {
9404delete TypedArrayConstructor[KEY];
9405}
9406}
9407if (!TypedArray[KEY] || forced) {
9408// V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
9409try {
9410return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array[KEY] || property);
9411} catch (error) { /* empty */ }
9412} else return;
9413}
9414for (ARRAY in TypedArrayConstructorsList) {
9415TypedArrayConstructor = global[ARRAY];
9416if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
9417redefine(TypedArrayConstructor, KEY, property);
9418}
9419}
9420};
9421for (NAME in TypedArrayConstructorsList) {
9422if (!global[NAME]) NATIVE_ARRAY_BUFFER_VIEWS = false;
9423}
9424// WebKit bug - typed arrays constructors prototype is Object.prototype
9425if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) {
9426// eslint-disable-next-line no-shadow -- safe
9427TypedArray = function TypedArray() {
9428throw TypeError('Incorrect invocation');
9429};
9430if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
9431if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);
9432}
9433}
9434if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
9435TypedArrayPrototype = TypedArray.prototype;
9436if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
9437if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);
9438}
9439}
9440// WebKit bug - one more object in Uint8ClampedArray prototype chain
9441if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
9442setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
9443}
9444if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) {
9445TYPED_ARRAY_TAG_REQIRED = true;
9446defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {
9447return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
9448} });
9449for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
9450createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
9451}
9452}
9453module.exports = {
9454NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
9455TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG,
9456aTypedArray: aTypedArray,
9457aTypedArrayConstructor: aTypedArrayConstructor,
9458exportTypedArrayMethod: exportTypedArrayMethod,
9459exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
9460isView: isView,
9461isTypedArray: isTypedArray,
9462TypedArray: TypedArray,
9463TypedArrayPrototype: TypedArrayPrototype
9464};
9465/***/ }),
9466/***/ 3331:
9467/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9468"use strict";
9469var global = __webpack_require__(7854);
9470var DESCRIPTORS = __webpack_require__(9781);
9471var NATIVE_ARRAY_BUFFER = __webpack_require__(4019);
9472var createNonEnumerableProperty = __webpack_require__(8880);
9473var redefineAll = __webpack_require__(2248);
9474var fails = __webpack_require__(7293);
9475var anInstance = __webpack_require__(5787);
9476var toInteger = __webpack_require__(9958);
9477var toLength = __webpack_require__(7466);
9478var toIndex = __webpack_require__(7067);
9479var IEEE754 = __webpack_require__(1179);
9480var getPrototypeOf = __webpack_require__(9518);
9481var setPrototypeOf = __webpack_require__(7674);
9482var getOwnPropertyNames = __webpack_require__(8006).f;
9483var defineProperty = __webpack_require__(3070).f;
9484var arrayFill = __webpack_require__(1285);
9485var setToStringTag = __webpack_require__(8003);
9486var InternalStateModule = __webpack_require__(9909);
9487var getInternalState = InternalStateModule.get;
9488var setInternalState = InternalStateModule.set;
9489var ARRAY_BUFFER = 'ArrayBuffer';
9490var DATA_VIEW = 'DataView';
9491var PROTOTYPE = 'prototype';
9492var WRONG_LENGTH = 'Wrong length';
9493var WRONG_INDEX = 'Wrong index';
9494var NativeArrayBuffer = global[ARRAY_BUFFER];
9495var $ArrayBuffer = NativeArrayBuffer;
9496var $DataView = global[DATA_VIEW];
9497var $DataViewPrototype = $DataView && $DataView[PROTOTYPE];
9498var ObjectPrototype = Object.prototype;
9499var RangeError = global.RangeError;
9500var packIEEE754 = IEEE754.pack;
9501var unpackIEEE754 = IEEE754.unpack;
9502var packInt8 = function (number) {
9503return [number & 0xFF];
9504};
9505var packInt16 = function (number) {
9506return [number & 0xFF, number >> 8 & 0xFF];
9507};
9508var packInt32 = function (number) {
9509return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];
9510};
9511var unpackInt32 = function (buffer) {
9512return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];
9513};
9514var packFloat32 = function (number) {
9515return packIEEE754(number, 23, 4);
9516};
9517var packFloat64 = function (number) {
9518return packIEEE754(number, 52, 8);
9519};
9520var addGetter = function (Constructor, key) {
9521defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } });
9522};
9523var get = function (view, count, index, isLittleEndian) {
9524var intIndex = toIndex(index);
9525var store = getInternalState(view);
9526if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);
9527var bytes = getInternalState(store.buffer).bytes;
9528var start = intIndex + store.byteOffset;
9529var pack = bytes.slice(start, start + count);
9530return isLittleEndian ? pack : pack.reverse();
9531};
9532var set = function (view, count, index, conversion, value, isLittleEndian) {
9533var intIndex = toIndex(index);
9534var store = getInternalState(view);
9535if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);
9536var bytes = getInternalState(store.buffer).bytes;
9537var start = intIndex + store.byteOffset;
9538var pack = conversion(+value);
9539for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
9540};
9541if (!NATIVE_ARRAY_BUFFER) {
9542$ArrayBuffer = function ArrayBuffer(length) {
9543anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
9544var byteLength = toIndex(length);
9545setInternalState(this, {
9546bytes: arrayFill.call(new Array(byteLength), 0),
9547byteLength: byteLength
9548});
9549if (!DESCRIPTORS) this.byteLength = byteLength;
9550};
9551$DataView = function DataView(buffer, byteOffset, byteLength) {
9552anInstance(this, $DataView, DATA_VIEW);
9553anInstance(buffer, $ArrayBuffer, DATA_VIEW);
9554var bufferLength = getInternalState(buffer).byteLength;
9555var offset = toInteger(byteOffset);
9556if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');
9557byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
9558if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
9559setInternalState(this, {
9560buffer: buffer,
9561byteLength: byteLength,
9562byteOffset: offset
9563});
9564if (!DESCRIPTORS) {
9565this.buffer = buffer;
9566this.byteLength = byteLength;
9567this.byteOffset = offset;
9568}
9569};
9570if (DESCRIPTORS) {
9571addGetter($ArrayBuffer, 'byteLength');
9572addGetter($DataView, 'buffer');
9573addGetter($DataView, 'byteLength');
9574addGetter($DataView, 'byteOffset');
9575}
9576redefineAll($DataView[PROTOTYPE], {
9577getInt8: function getInt8(byteOffset) {
9578return get(this, 1, byteOffset)[0] << 24 >> 24;
9579},
9580getUint8: function getUint8(byteOffset) {
9581return get(this, 1, byteOffset)[0];
9582},
9583getInt16: function getInt16(byteOffset /* , littleEndian */) {
9584var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);
9585return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
9586},
9587getUint16: function getUint16(byteOffset /* , littleEndian */) {
9588var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);
9589return bytes[1] << 8 | bytes[0];
9590},
9591getInt32: function getInt32(byteOffset /* , littleEndian */) {
9592return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));
9593},
9594getUint32: function getUint32(byteOffset /* , littleEndian */) {
9595return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;
9596},
9597getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
9598return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);
9599},
9600getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
9601return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);
9602},
9603setInt8: function setInt8(byteOffset, value) {
9604set(this, 1, byteOffset, packInt8, value);
9605},
9606setUint8: function setUint8(byteOffset, value) {
9607set(this, 1, byteOffset, packInt8, value);
9608},
9609setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
9610set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);
9611},
9612setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
9613set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);
9614},
9615setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
9616set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);
9617},
9618setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
9619set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);
9620},
9621setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
9622set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);
9623},
9624setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
9625set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);
9626}
9627});
9628} else {
9629/* eslint-disable no-new -- required for testing */
9630if (!fails(function () {
9631NativeArrayBuffer(1);
9632}) || !fails(function () {
9633new NativeArrayBuffer(-1);
9634}) || fails(function () {
9635new NativeArrayBuffer();
9636new NativeArrayBuffer(1.5);
9637new NativeArrayBuffer(NaN);
9638return NativeArrayBuffer.name != ARRAY_BUFFER;
9639})) {
9640/* eslint-enable no-new -- required for testing */
9641$ArrayBuffer = function ArrayBuffer(length) {
9642anInstance(this, $ArrayBuffer);
9643return new NativeArrayBuffer(toIndex(length));
9644};
9645var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer[PROTOTYPE];
9646for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {
9647if (!((key = keys[j++]) in $ArrayBuffer)) {
9648createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);
9649}
9650}
9651ArrayBufferPrototype.constructor = $ArrayBuffer;
9652}
9653// WebKit bug - the same parent prototype for typed arrays and data view
9654if (setPrototypeOf && getPrototypeOf($DataViewPrototype) !== ObjectPrototype) {
9655setPrototypeOf($DataViewPrototype, ObjectPrototype);
9656}
9657// iOS Safari 7.x bug
9658var testView = new $DataView(new $ArrayBuffer(2));
9659var nativeSetInt8 = $DataViewPrototype.setInt8;
9660testView.setInt8(0, 2147483648);
9661testView.setInt8(1, 2147483649);
9662if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, {
9663setInt8: function setInt8(byteOffset, value) {
9664nativeSetInt8.call(this, byteOffset, value << 24 >> 24);
9665},
9666setUint8: function setUint8(byteOffset, value) {
9667nativeSetInt8.call(this, byteOffset, value << 24 >> 24);
9668}
9669}, { unsafe: true });
9670}
9671setToStringTag($ArrayBuffer, ARRAY_BUFFER);
9672setToStringTag($DataView, DATA_VIEW);
9673module.exports = {
9674ArrayBuffer: $ArrayBuffer,
9675DataView: $DataView
9676};
9677/***/ }),
9678/***/ 1048:
9679/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9680"use strict";
9681var toObject = __webpack_require__(7908);
9682var toAbsoluteIndex = __webpack_require__(1400);
9683var toLength = __webpack_require__(7466);
9684var min = Math.min;
9685// `Array.prototype.copyWithin` method implementation
9686// https://tc39.es/ecma262/#sec-array.prototype.copywithin
9687module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
9688var O = toObject(this);
9689var len = toLength(O.length);
9690var to = toAbsoluteIndex(target, len);
9691var from = toAbsoluteIndex(start, len);
9692var end = arguments.length > 2 ? arguments[2] : undefined;
9693var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
9694var inc = 1;
9695if (from < to && to < from + count) {
9696inc = -1;
9697from += count - 1;
9698to += count - 1;
9699}
9700while (count-- > 0) {
9701if (from in O) O[to] = O[from];
9702else delete O[to];
9703to += inc;
9704from += inc;
9705} return O;
9706};
9707/***/ }),
9708/***/ 1285:
9709/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9710"use strict";
9711var toObject = __webpack_require__(7908);
9712var toAbsoluteIndex = __webpack_require__(1400);
9713var toLength = __webpack_require__(7466);
9714// `Array.prototype.fill` method implementation
9715// https://tc39.es/ecma262/#sec-array.prototype.fill
9716module.exports = function fill(value /* , start = 0, end = @length */) {
9717var O = toObject(this);
9718var length = toLength(O.length);
9719var argumentsLength = arguments.length;
9720var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
9721var end = argumentsLength > 2 ? arguments[2] : undefined;
9722var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
9723while (endPos > index) O[index++] = value;
9724return O;
9725};
9726/***/ }),
9727/***/ 8533:
9728/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9729"use strict";
9730var $forEach = __webpack_require__(2092).forEach;
9731var arrayMethodIsStrict = __webpack_require__(9341);
9732var STRICT_METHOD = arrayMethodIsStrict('forEach');
9733// `Array.prototype.forEach` method implementation
9734// https://tc39.es/ecma262/#sec-array.prototype.foreach
9735module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
9736return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
9737} : [].forEach;
9738/***/ }),
9739/***/ 8457:
9740/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9741"use strict";
9742var bind = __webpack_require__(9974);
9743var toObject = __webpack_require__(7908);
9744var callWithSafeIterationClosing = __webpack_require__(3411);
9745var isArrayIteratorMethod = __webpack_require__(7659);
9746var toLength = __webpack_require__(7466);
9747var createProperty = __webpack_require__(6135);
9748var getIteratorMethod = __webpack_require__(1246);
9749// `Array.from` method implementation
9750// https://tc39.es/ecma262/#sec-array.from
9751module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
9752var O = toObject(arrayLike);
9753var C = typeof this == 'function' ? this : Array;
9754var argumentsLength = arguments.length;
9755var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
9756var mapping = mapfn !== undefined;
9757var iteratorMethod = getIteratorMethod(O);
9758var index = 0;
9759var length, result, step, iterator, next, value;
9760if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
9761// if the target is not iterable or it's an array with the default iterator - use a simple case
9762if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
9763iterator = iteratorMethod.call(O);
9764next = iterator.next;
9765result = new C();
9766for (;!(step = next.call(iterator)).done; index++) {
9767value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
9768createProperty(result, index, value);
9769}
9770} else {
9771length = toLength(O.length);
9772result = new C(length);
9773for (;length > index; index++) {
9774value = mapping ? mapfn(O[index], index) : O[index];
9775createProperty(result, index, value);
9776}
9777}
9778result.length = index;
9779return result;
9780};
9781/***/ }),
9782/***/ 1318:
9783/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9784var toIndexedObject = __webpack_require__(5656);
9785var toLength = __webpack_require__(7466);
9786var toAbsoluteIndex = __webpack_require__(1400);
9787// `Array.prototype.{ indexOf, includes }` methods implementation
9788var createMethod = function (IS_INCLUDES) {
9789return function ($this, el, fromIndex) {
9790var O = toIndexedObject($this);
9791var length = toLength(O.length);
9792var index = toAbsoluteIndex(fromIndex, length);
9793var value;
9794// Array#includes uses SameValueZero equality algorithm
9795// eslint-disable-next-line no-self-compare -- NaN check
vendor: 5,735 bytes, lines 9796-9949
9796if (IS_INCLUDES && el != el) while (length > index) {
9797value = O[index++];
9798// eslint-disable-next-line no-self-compare -- NaN check
9799if (value != value) return true;
9800// Array#indexOf ignores holes, Array#includes - not
9801} else for (;length > index; index++) {
9802if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
9803} return !IS_INCLUDES && -1;
9804};
9805};
9806module.exports = {
9807// `Array.prototype.includes` method
9808// https://tc39.es/ecma262/#sec-array.prototype.includes
9809includes: createMethod(true),
9810// `Array.prototype.indexOf` method
9811// https://tc39.es/ecma262/#sec-array.prototype.indexof
9812indexOf: createMethod(false)
9813};
9814/***/ }),
9815/***/ 2092:
9816/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9817var bind = __webpack_require__(9974);
9818var IndexedObject = __webpack_require__(8361);
9819var toObject = __webpack_require__(7908);
9820var toLength = __webpack_require__(7466);
9821var arraySpeciesCreate = __webpack_require__(5417);
9822var push = [].push;
9823// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
9824var createMethod = function (TYPE) {
9825var IS_MAP = TYPE == 1;
9826var IS_FILTER = TYPE == 2;
9827var IS_SOME = TYPE == 3;
9828var IS_EVERY = TYPE == 4;
9829var IS_FIND_INDEX = TYPE == 6;
9830var IS_FILTER_OUT = TYPE == 7;
9831var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
9832return function ($this, callbackfn, that, specificCreate) {
9833var O = toObject($this);
9834var self = IndexedObject(O);
9835var boundFunction = bind(callbackfn, that, 3);
9836var length = toLength(self.length);
9837var index = 0;
9838var create = specificCreate || arraySpeciesCreate;
9839var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
9840var value, result;
9841for (;length > index; index++) if (NO_HOLES || index in self) {
9842value = self[index];
9843result = boundFunction(value, index, O);
9844if (TYPE) {
9845if (IS_MAP) target[index] = result; // map
9846else if (result) switch (TYPE) {
9847case 3: return true;              // some
9848case 5: return value;             // find
9849case 6: return index;             // findIndex
9850case 2: push.call(target, value); // filter
9851} else switch (TYPE) {
9852case 4: return false;             // every
9853case 7: push.call(target, value); // filterOut
9854}
9855}
9856}
9857return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
9858};
9859};
9860module.exports = {
9861// `Array.prototype.forEach` method
9862// https://tc39.es/ecma262/#sec-array.prototype.foreach
9863forEach: createMethod(0),
9864// `Array.prototype.map` method
9865// https://tc39.es/ecma262/#sec-array.prototype.map
9866map: createMethod(1),
9867// `Array.prototype.filter` method
9868// https://tc39.es/ecma262/#sec-array.prototype.filter
9869filter: createMethod(2),
9870// `Array.prototype.some` method
9871// https://tc39.es/ecma262/#sec-array.prototype.some
9872some: createMethod(3),
9873// `Array.prototype.every` method
9874// https://tc39.es/ecma262/#sec-array.prototype.every
9875every: createMethod(4),
9876// `Array.prototype.find` method
9877// https://tc39.es/ecma262/#sec-array.prototype.find
9878find: createMethod(5),
9879// `Array.prototype.findIndex` method
9880// https://tc39.es/ecma262/#sec-array.prototype.findIndex
9881findIndex: createMethod(6),
9882// `Array.prototype.filterOut` method
9883// https://github.com/tc39/proposal-array-filtering
9884filterOut: createMethod(7)
9885};
9886/***/ }),
9887/***/ 6583:
9888/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9889"use strict";
9890var toIndexedObject = __webpack_require__(5656);
9891var toInteger = __webpack_require__(9958);
9892var toLength = __webpack_require__(7466);
9893var arrayMethodIsStrict = __webpack_require__(9341);
9894var min = Math.min;
9895var nativeLastIndexOf = [].lastIndexOf;
9896var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;
9897var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');
9898var FORCED = NEGATIVE_ZERO || !STRICT_METHOD;
9899// `Array.prototype.lastIndexOf` method implementation
9900// https://tc39.es/ecma262/#sec-array.prototype.lastindexof
9901module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
9902// convert -0 to +0
9903if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0;
9904var O = toIndexedObject(this);
9905var length = toLength(O.length);
9906var index = length - 1;
9907if (arguments.length > 1) index = min(index, toInteger(arguments[1]));
9908if (index < 0) index = length + index;
9909for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
9910return -1;
9911} : nativeLastIndexOf;
9912/***/ }),
9913/***/ 1194:
9914/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9915var fails = __webpack_require__(7293);
9916var wellKnownSymbol = __webpack_require__(5112);
9917var V8_VERSION = __webpack_require__(7392);
9918var SPECIES = wellKnownSymbol('species');
9919module.exports = function (METHOD_NAME) {
9920// We can't use this feature detection in V8 since it causes
9921// deoptimization and serious performance degradation
9922// https://github.com/zloirock/core-js/issues/677
9923return V8_VERSION >= 51 || !fails(function () {
9924var array = [];
9925var constructor = array.constructor = {};
9926constructor[SPECIES] = function () {
9927return { foo: 1 };
9928};
9929return array[METHOD_NAME](Boolean).foo !== 1;
9930});
9931};
9932/***/ }),
9933/***/ 9341:
9934/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9935"use strict";
9936var fails = __webpack_require__(7293);
9937module.exports = function (METHOD_NAME, argument) {
9938var method = [][METHOD_NAME];
9939return !!method && fails(function () {
9940// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
9941method.call(null, argument || function () { throw 1; }, 1);
9942});
9943};
9944/***/ }),
9945/***/ 3671:
9946/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9947var aFunction = __webpack_require__(3099);
9948var toObject = __webpack_require__(7908);
9949var IndexedObject = __webpack_require__(8361);
vendor: 4,978 bytes, lines 9950-10108
9950var toLength = __webpack_require__(7466);
9951// `Array.prototype.{ reduce, reduceRight }` methods implementation
9952var createMethod = function (IS_RIGHT) {
9953return function (that, callbackfn, argumentsLength, memo) {
9954aFunction(callbackfn);
9955var O = toObject(that);
9956var self = IndexedObject(O);
9957var length = toLength(O.length);
9958var index = IS_RIGHT ? length - 1 : 0;
9959var i = IS_RIGHT ? -1 : 1;
9960if (argumentsLength < 2) while (true) {
9961if (index in self) {
9962memo = self[index];
9963index += i;
9964break;
9965}
9966index += i;
9967if (IS_RIGHT ? index < 0 : length <= index) {
9968throw TypeError('Reduce of empty array with no initial value');
9969}
9970}
9971for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
9972memo = callbackfn(memo, self[index], index, O);
9973}
9974return memo;
9975};
9976};
9977module.exports = {
9978// `Array.prototype.reduce` method
9979// https://tc39.es/ecma262/#sec-array.prototype.reduce
9980left: createMethod(false),
9981// `Array.prototype.reduceRight` method
9982// https://tc39.es/ecma262/#sec-array.prototype.reduceright
9983right: createMethod(true)
9984};
9985/***/ }),
9986/***/ 5417:
9987/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
9988var isObject = __webpack_require__(111);
9989var isArray = __webpack_require__(3157);
9990var wellKnownSymbol = __webpack_require__(5112);
9991var SPECIES = wellKnownSymbol('species');
9992// `ArraySpeciesCreate` abstract operation
9993// https://tc39.es/ecma262/#sec-arrayspeciescreate
9994module.exports = function (originalArray, length) {
9995var C;
9996if (isArray(originalArray)) {
9997C = originalArray.constructor;
9998// cross-realm fallback
9999if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
10000else if (isObject(C)) {
10001C = C[SPECIES];
10002if (C === null) C = undefined;
10003}
10004} return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
10005};
10006/***/ }),
10007/***/ 3411:
10008/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10009var anObject = __webpack_require__(9670);
10010var iteratorClose = __webpack_require__(9212);
10011// call something on iterator step with safe closing on error
10012module.exports = function (iterator, fn, value, ENTRIES) {
10013try {
10014return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
10015// 7.4.6 IteratorClose(iterator, completion)
10016} catch (error) {
10017iteratorClose(iterator);
10018throw error;
10019}
10020};
10021/***/ }),
10022/***/ 7072:
10023/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10024var wellKnownSymbol = __webpack_require__(5112);
10025var ITERATOR = wellKnownSymbol('iterator');
10026var SAFE_CLOSING = false;
10027try {
10028var called = 0;
10029var iteratorWithReturn = {
10030next: function () {
10031return { done: !!called++ };
10032},
10033'return': function () {
10034SAFE_CLOSING = true;
10035}
10036};
10037iteratorWithReturn[ITERATOR] = function () {
10038return this;
10039};
10040// eslint-disable-next-line no-throw-literal -- required for testing
10041Array.from(iteratorWithReturn, function () { throw 2; });
10042} catch (error) { /* empty */ }
10043module.exports = function (exec, SKIP_CLOSING) {
10044if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
10045var ITERATION_SUPPORT = false;
10046try {
10047var object = {};
10048object[ITERATOR] = function () {
10049return {
10050next: function () {
10051return { done: ITERATION_SUPPORT = true };
10052}
10053};
10054};
10055exec(object);
10056} catch (error) { /* empty */ }
10057return ITERATION_SUPPORT;
10058};
10059/***/ }),
10060/***/ 4326:
10061/***/ (function(module) {
10062var toString = {}.toString;
10063module.exports = function (it) {
10064return toString.call(it).slice(8, -1);
10065};
10066/***/ }),
10067/***/ 648:
10068/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10069var TO_STRING_TAG_SUPPORT = __webpack_require__(1694);
10070var classofRaw = __webpack_require__(4326);
10071var wellKnownSymbol = __webpack_require__(5112);
10072var TO_STRING_TAG = wellKnownSymbol('toStringTag');
10073// ES3 wrong here
10074var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
10075// fallback for IE11 Script Access Denied error
10076var tryGet = function (it, key) {
10077try {
10078return it[key];
10079} catch (error) { /* empty */ }
10080};
10081// getting tag from ES6+ `Object.prototype.toString`
10082module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
10083var O, tag, result;
10084return it === undefined ? 'Undefined' : it === null ? 'Null'
10085// @@toStringTag case
10086: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
10087// builtinTag case
10088: CORRECT_ARGUMENTS ? classofRaw(O)
10089// ES3 arguments fallback
10090: (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
10091};
10092/***/ }),
10093/***/ 9920:
10094/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10095var has = __webpack_require__(6656);
10096var ownKeys = __webpack_require__(3887);
10097var getOwnPropertyDescriptorModule = __webpack_require__(1236);
10098var definePropertyModule = __webpack_require__(3070);
10099module.exports = function (target, source) {
10100var keys = ownKeys(source);
10101var defineProperty = definePropertyModule.f;
10102var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
10103for (var i = 0; i < keys.length; i++) {
10104var key = keys[i];
10105if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
10106}
10107};
10108/***/ }),
vendor: 9,454 bytes, lines 10109-10366
10109/***/ 8544:
10110/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10111var fails = __webpack_require__(7293);
10112module.exports = !fails(function () {
10113function F() { /* empty */ }
10114F.prototype.constructor = null;
10115return Object.getPrototypeOf(new F()) !== F.prototype;
10116});
10117/***/ }),
10118/***/ 4994:
10119/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10120"use strict";
10121var IteratorPrototype = __webpack_require__(3383).IteratorPrototype;
10122var create = __webpack_require__(30);
10123var createPropertyDescriptor = __webpack_require__(9114);
10124var setToStringTag = __webpack_require__(8003);
10125var Iterators = __webpack_require__(7497);
10126var returnThis = function () { return this; };
10127module.exports = function (IteratorConstructor, NAME, next) {
10128var TO_STRING_TAG = NAME + ' Iterator';
10129IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
10130setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
10131Iterators[TO_STRING_TAG] = returnThis;
10132return IteratorConstructor;
10133};
10134/***/ }),
10135/***/ 8880:
10136/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10137var DESCRIPTORS = __webpack_require__(9781);
10138var definePropertyModule = __webpack_require__(3070);
10139var createPropertyDescriptor = __webpack_require__(9114);
10140module.exports = DESCRIPTORS ? function (object, key, value) {
10141return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
10142} : function (object, key, value) {
10143object[key] = value;
10144return object;
10145};
10146/***/ }),
10147/***/ 9114:
10148/***/ (function(module) {
10149module.exports = function (bitmap, value) {
10150return {
10151enumerable: !(bitmap & 1),
10152configurable: !(bitmap & 2),
10153writable: !(bitmap & 4),
10154value: value
10155};
10156};
10157/***/ }),
10158/***/ 6135:
10159/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10160"use strict";
10161var toPrimitive = __webpack_require__(7593);
10162var definePropertyModule = __webpack_require__(3070);
10163var createPropertyDescriptor = __webpack_require__(9114);
10164module.exports = function (object, key, value) {
10165var propertyKey = toPrimitive(key);
10166if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
10167else object[propertyKey] = value;
10168};
10169/***/ }),
10170/***/ 654:
10171/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10172"use strict";
10173var $ = __webpack_require__(2109);
10174var createIteratorConstructor = __webpack_require__(4994);
10175var getPrototypeOf = __webpack_require__(9518);
10176var setPrototypeOf = __webpack_require__(7674);
10177var setToStringTag = __webpack_require__(8003);
10178var createNonEnumerableProperty = __webpack_require__(8880);
10179var redefine = __webpack_require__(1320);
10180var wellKnownSymbol = __webpack_require__(5112);
10181var IS_PURE = __webpack_require__(1913);
10182var Iterators = __webpack_require__(7497);
10183var IteratorsCore = __webpack_require__(3383);
10184var IteratorPrototype = IteratorsCore.IteratorPrototype;
10185var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
10186var ITERATOR = wellKnownSymbol('iterator');
10187var KEYS = 'keys';
10188var VALUES = 'values';
10189var ENTRIES = 'entries';
10190var returnThis = function () { return this; };
10191module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
10192createIteratorConstructor(IteratorConstructor, NAME, next);
10193var getIterationMethod = function (KIND) {
10194if (KIND === DEFAULT && defaultIterator) return defaultIterator;
10195if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
10196switch (KIND) {
10197case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
10198case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
10199case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
10200} return function () { return new IteratorConstructor(this); };
10201};
10202var TO_STRING_TAG = NAME + ' Iterator';
10203var INCORRECT_VALUES_NAME = false;
10204var IterablePrototype = Iterable.prototype;
10205var nativeIterator = IterablePrototype[ITERATOR]
10206|| IterablePrototype['@@iterator']
10207|| DEFAULT && IterablePrototype[DEFAULT];
10208var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
10209var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
10210var CurrentIteratorPrototype, methods, KEY;
10211// fix native
10212if (anyNativeIterator) {
10213CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
10214if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
10215if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
10216if (setPrototypeOf) {
10217setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
10218} else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
10219createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
10220}
10221}
10222// Set @@toStringTag to native iterators
10223setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
10224if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
10225}
10226}
10227// fix Array#{values, @@iterator}.name in V8 / FF
10228if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
10229INCORRECT_VALUES_NAME = true;
10230defaultIterator = function values() { return nativeIterator.call(this); };
10231}
10232// define iterator
10233if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
10234createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
10235}
10236Iterators[NAME] = defaultIterator;
10237// export additional methods
10238if (DEFAULT) {
10239methods = {
10240values: getIterationMethod(VALUES),
10241keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
10242entries: getIterationMethod(ENTRIES)
10243};
10244if (FORCED) for (KEY in methods) {
10245if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
10246redefine(IterablePrototype, KEY, methods[KEY]);
10247}
10248} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
10249}
10250return methods;
10251};
10252/***/ }),
10253/***/ 9781:
10254/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10255var fails = __webpack_require__(7293);
10256// Detect IE8's incomplete defineProperty implementation
10257module.exports = !fails(function () {
10258return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
10259});
10260/***/ }),
10261/***/ 317:
10262/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10263var global = __webpack_require__(7854);
10264var isObject = __webpack_require__(111);
10265var document = global.document;
10266// typeof document.createElement is 'object' in old IE
10267var EXISTS = isObject(document) && isObject(document.createElement);
10268module.exports = function (it) {
10269return EXISTS ? document.createElement(it) : {};
10270};
10271/***/ }),
10272/***/ 8324:
10273/***/ (function(module) {
10274// iterable DOM collections
10275// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
10276module.exports = {
10277CSSRuleList: 0,
10278CSSStyleDeclaration: 0,
10279CSSValueList: 0,
10280ClientRectList: 0,
10281DOMRectList: 0,
10282DOMStringList: 0,
10283DOMTokenList: 1,
10284DataTransferItemList: 0,
10285FileList: 0,
10286HTMLAllCollection: 0,
10287HTMLCollection: 0,
10288HTMLFormElement: 0,
10289HTMLSelectElement: 0,
10290MediaList: 0,
10291MimeTypeArray: 0,
10292NamedNodeMap: 0,
10293NodeList: 1,
10294PaintRequestList: 0,
10295Plugin: 0,
10296PluginArray: 0,
10297SVGLengthList: 0,
10298SVGNumberList: 0,
10299SVGPathSegList: 0,
10300SVGPointList: 0,
10301SVGStringList: 0,
10302SVGTransformList: 0,
10303SourceBufferList: 0,
10304StyleSheetList: 0,
10305TextTrackCueList: 0,
10306TextTrackList: 0,
10307TouchList: 0
10308};
10309/***/ }),
10310/***/ 8113:
10311/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10312var getBuiltIn = __webpack_require__(5005);
10313module.exports = getBuiltIn('navigator', 'userAgent') || '';
10314/***/ }),
10315/***/ 7392:
10316/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10317var global = __webpack_require__(7854);
10318var userAgent = __webpack_require__(8113);
10319var process = global.process;
10320var versions = process && process.versions;
10321var v8 = versions && versions.v8;
10322var match, version;
10323if (v8) {
10324match = v8.split('.');
10325version = match[0] + match[1];
10326} else if (userAgent) {
10327match = userAgent.match(/Edge\/(\d+)/);
10328if (!match || match[1] >= 74) {
10329match = userAgent.match(/Chrome\/(\d+)/);
10330if (match) version = match[1];
10331}
10332}
10333module.exports = version && +version;
10334/***/ }),
10335/***/ 748:
10336/***/ (function(module) {
10337// IE8- don't enum bug keys
10338module.exports = [
10339'constructor',
10340'hasOwnProperty',
10341'isPrototypeOf',
10342'propertyIsEnumerable',
10343'toLocaleString',
10344'toString',
10345'valueOf'
10346];
10347/***/ }),
10348/***/ 2109:
10349/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10350var global = __webpack_require__(7854);
10351var getOwnPropertyDescriptor = __webpack_require__(1236).f;
10352var createNonEnumerableProperty = __webpack_require__(8880);
10353var redefine = __webpack_require__(1320);
10354var setGlobal = __webpack_require__(3505);
10355var copyConstructorProperties = __webpack_require__(9920);
10356var isForced = __webpack_require__(4705);
10357/*
10358options.target      - name of the target object
10359options.global      - target is the global object
10360options.stat        - export as static methods of target
10361options.proto       - export as prototype methods of target
10362options.real        - real prototype method for the `pure` version
10363options.forced      - export even if the native feature is available
10364options.bind        - bind methods to the target, required for the `pure` version
10365options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version
10366options.unsafe      - use the simple assignment of property instead of delete + defineProperty
vendor: 1,536 bytes, lines 10367-10416
10367options.sham        - add a flag to not completely full polyfills
10368options.enumerable  - export as enumerable property
10369options.noTargetGet - prevent calling a getter on target
10370*/
10371module.exports = function (options, source) {
10372var TARGET = options.target;
10373var GLOBAL = options.global;
10374var STATIC = options.stat;
10375var FORCED, target, key, targetProperty, sourceProperty, descriptor;
10376if (GLOBAL) {
10377target = global;
10378} else if (STATIC) {
10379target = global[TARGET] || setGlobal(TARGET, {});
10380} else {
10381target = (global[TARGET] || {}).prototype;
10382}
10383if (target) for (key in source) {
10384sourceProperty = source[key];
10385if (options.noTargetGet) {
10386descriptor = getOwnPropertyDescriptor(target, key);
10387targetProperty = descriptor && descriptor.value;
10388} else targetProperty = target[key];
10389FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
10390// contained in target
10391if (!FORCED && targetProperty !== undefined) {
10392if (typeof sourceProperty === typeof targetProperty) continue;
10393copyConstructorProperties(sourceProperty, targetProperty);
10394}
10395// add a flag to not completely full polyfills
10396if (options.sham || (targetProperty && targetProperty.sham)) {
10397createNonEnumerableProperty(sourceProperty, 'sham', true);
10398}
10399// extend global
10400redefine(target, key, sourceProperty, options);
10401}
10402};
10403/***/ }),
10404/***/ 7293:
10405/***/ (function(module) {
10406module.exports = function (exec) {
10407try {
10408return !!exec();
10409} catch (error) {
10410return true;
10411}
10412};
10413/***/ }),
10414/***/ 7007:
10415/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10416"use strict";
vendor: 4,392 bytes, lines 10417-10531
10417// TODO: Remove from `core-js@4` since it's moved to entry points
10418__webpack_require__(4916);
10419var redefine = __webpack_require__(1320);
10420var fails = __webpack_require__(7293);
10421var wellKnownSymbol = __webpack_require__(5112);
10422var regexpExec = __webpack_require__(2261);
10423var createNonEnumerableProperty = __webpack_require__(8880);
10424var SPECIES = wellKnownSymbol('species');
10425var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
10426// #replace needs built-in support for named groups.
10427// #match works fine because it just return the exec results, even if it has
10428// a "grops" property.
10429var re = /./;
10430re.exec = function () {
10431var result = [];
10432result.groups = { a: '7' };
10433return result;
10434};
10435return ''.replace(re, '$<a>') !== '7';
10436});
10437// IE <= 11 replaces $0 with the whole match, as if it was $&
10438// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
10439var REPLACE_KEEPS_$0 = (function () {
10440return 'a'.replace(/./, '$0') === '$0';
10441})();
10442var REPLACE = wellKnownSymbol('replace');
10443// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
10444var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
10445if (/./[REPLACE]) {
10446return /./[REPLACE]('a', '$0') === '';
10447}
10448return false;
10449})();
10450// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
10451// Weex JS has frozen built-in prototypes, so use try / catch wrapper
10452var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
10453// eslint-disable-next-line regexp/no-empty-group -- required for testing
10454var re = /(?:)/;
10455var originalExec = re.exec;
10456re.exec = function () { return originalExec.apply(this, arguments); };
10457var result = 'ab'.split(re);
10458return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
10459});
10460module.exports = function (KEY, length, exec, sham) {
10461var SYMBOL = wellKnownSymbol(KEY);
10462var DELEGATES_TO_SYMBOL = !fails(function () {
10463// String methods call symbol-named RegEp methods
10464var O = {};
10465O[SYMBOL] = function () { return 7; };
10466return ''[KEY](O) != 7;
10467});
10468var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
10469// Symbol-named RegExp methods call .exec
10470var execCalled = false;
10471var re = /a/;
10472if (KEY === 'split') {
10473// We can't use real regex here since it causes deoptimization
10474// and serious performance degradation in V8
10475// https://github.com/zloirock/core-js/issues/306
10476re = {};
10477// RegExp[@@split] doesn't call the regex's exec method, but first creates
10478// a new one. We need to return the patched regex when creating the new one.
10479re.constructor = {};
10480re.constructor[SPECIES] = function () { return re; };
10481re.flags = '';
10482re[SYMBOL] = /./[SYMBOL];
10483}
10484re.exec = function () { execCalled = true; return null; };
10485re[SYMBOL]('');
10486return !execCalled;
10487});
10488if (
10489!DELEGATES_TO_SYMBOL ||
10490!DELEGATES_TO_EXEC ||
10491(KEY === 'replace' && !(
10492REPLACE_SUPPORTS_NAMED_GROUPS &&
10493REPLACE_KEEPS_$0 &&
10494!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
10495)) ||
10496(KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
10497) {
10498var nativeRegExpMethod = /./[SYMBOL];
10499var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
10500if (regexp.exec === regexpExec) {
10501if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
10502// The native String method already delegates to @@method (this
10503// polyfilled function), leasing to infinite recursion.
10504// We avoid it by directly calling the native @@method method.
10505return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
10506}
10507return { done: true, value: nativeMethod.call(str, regexp, arg2) };
10508}
10509return { done: false };
10510}, {
10511REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
10512REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
10513});
10514var stringMethod = methods[0];
10515var regexMethod = methods[1];
10516redefine(String.prototype, KEY, stringMethod);
10517redefine(RegExp.prototype, SYMBOL, length == 2
10518// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
10519// 21.2.5.11 RegExp.prototype[@@split](string, limit)
10520? function (string, arg) { return regexMethod.call(string, this, arg); }
10521// 21.2.5.6 RegExp.prototype[@@match](string)
10522// 21.2.5.9 RegExp.prototype[@@search](string)
10523: function (string) { return regexMethod.call(string, this); }
10524);
10525}
10526if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
10527};
10528/***/ }),
10529/***/ 9974:
10530/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10531var aFunction = __webpack_require__(3099);
10532// optional / simple context binding
10533module.exports = function (fn, that, length) {
10534aFunction(fn);
10535if (that === undefined) return fn;
10536switch (length) {
10537case 0: return function () {
10538return fn.call(that);
10539};
10540case 1: return function (a) {
10541return fn.call(that, a);
10542};
10543case 2: return function (a, b) {
10544return fn.call(that, a, b);
10545};
10546case 3: return function (a, b, c) {
10547return fn.call(that, a, b, c);
10548};
10549}
10550return function (/* ...args */) {
10551return fn.apply(that, arguments);
10552};
10553};
10554/***/ }),
10555/***/ 5005:
10556/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10557var path = __webpack_require__(857);
10558var global = __webpack_require__(7854);
10559var aFunction = function (variable) {
10560return typeof variable == 'function' ? variable : undefined;
10561};
10562module.exports = function (namespace, method) {
10563return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
10564: path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
10565};
10566/***/ }),
10567/***/ 1246:
10568/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10569var classof = __webpack_require__(648);
10570var Iterators = __webpack_require__(7497);
10571var wellKnownSymbol = __webpack_require__(5112);
10572var ITERATOR = wellKnownSymbol('iterator');
10573module.exports = function (it) {
10574if (it != undefined) return it[ITERATOR]
10575|| it['@@iterator']
10576|| Iterators[classof(it)];
10577};
10578/***/ }),
10579/***/ 8554:
10580/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10581var anObject = __webpack_require__(9670);
10582var getIteratorMethod = __webpack_require__(1246);
10583module.exports = function (it) {
10584var iteratorMethod = getIteratorMethod(it);
10585if (typeof iteratorMethod != 'function') {
10586throw TypeError(String(it) + ' is not iterable');
10587} return anObject(iteratorMethod.call(it));
10588};
10589/***/ }),
10590/***/ 647:
10591/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10592var toObject = __webpack_require__(7908);
10593var floor = Math.floor;
10594var replace = ''.replace;
10595var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
10596var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
10597// https://tc39.es/ecma262/#sec-getsubstitution
10598module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
10599var tailPos = position + matched.length;
10600var m = captures.length;
10601var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
10602if (namedCaptures !== undefined) {
10603namedCaptures = toObject(namedCaptures);
10604symbols = SUBSTITUTION_SYMBOLS;
10605}
10606return replace.call(replacement, symbols, function (match, ch) {
10607var capture;
10608switch (ch.charAt(0)) {
10609case '$': return '$';
10610case '&': return matched;
10611case '`': return str.slice(0, position);
10612case "'": return str.slice(tailPos);
10613case '<':
10614capture = namedCaptures[ch.slice(1, -1)];
10615break;
10616default: // \d\d?
10617var n = +ch;
10618if (n === 0) return match;
10619if (n > m) {
10620var f = floor(n / 10);
10621if (f === 0) return match;
10622if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
10623return match;
10624}
10625capture = captures[n - 1];
10626}
10627return capture === undefined ? '' : capture;
10628});
10629};
10630/***/ }),
10631/***/ 7854:
10632/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10633var check = function (it) {
10634return it && it.Math == Math && it;
10635};
10636// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
10637module.exports =
10638/* global globalThis -- safe */
10639check(typeof globalThis == 'object' && globalThis) ||
10640check(typeof window == 'object' && window) ||
10641check(typeof self == 'object' && self) ||
10642check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
10643// eslint-disable-next-line no-new-func -- fallback
10644(function () { return this; })() || Function('return this')();
10645/***/ }),
10646/***/ 6656:
10647/***/ (function(module) {
10648var hasOwnProperty = {}.hasOwnProperty;
10649module.exports = function (it, key) {
10650return hasOwnProperty.call(it, key);
10651};
10652/***/ }),
10653/***/ 3501:
10654/***/ (function(module) {
10655module.exports = {};
10656/***/ }),
10657/***/ 490:
10658/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10659var getBuiltIn = __webpack_require__(5005);
10660module.exports = getBuiltIn('document', 'documentElement');
10661/***/ }),
10662/***/ 4664:
10663/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10664var DESCRIPTORS = __webpack_require__(9781);
10665var fails = __webpack_require__(7293);
10666var createElement = __webpack_require__(317);
10667// Thank's IE8 for his funny defineProperty
10668module.exports = !DESCRIPTORS && !fails(function () {
10669return Object.defineProperty(createElement('div'), 'a', {
10670get: function () { return 7; }
10671}).a != 7;
10672});
10673/***/ }),
10674/***/ 1179:
10675/***/ (function(module) {
10676// IEEE754 conversions based on https://github.com/feross/ieee754
10677var abs = Math.abs;
10678var pow = Math.pow;
10679var floor = Math.floor;
10680var log = Math.log;
10681var LN2 = Math.LN2;
10682var pack = function (number, mantissaLength, bytes) {
10683var buffer = new Array(bytes);
10684var exponentLength = bytes * 8 - mantissaLength - 1;
10685var eMax = (1 << exponentLength) - 1;
10686var eBias = eMax >> 1;
10687var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
10688var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
10689var index = 0;
10690var exponent, mantissa, c;
10691number = abs(number);
10692// eslint-disable-next-line no-self-compare -- NaN check
10693if (number != number || number === Infinity) {
10694// eslint-disable-next-line no-self-compare -- NaN check
10695mantissa = number != number ? 1 : 0;
10696exponent = eMax;
10697} else {
10698exponent = floor(log(number) / LN2);
10699if (number * (c = pow(2, -exponent)) < 1) {
10700exponent--;
10701c *= 2;
10702}
10703if (exponent + eBias >= 1) {
10704number += rt / c;
10705} else {
10706number += rt * pow(2, 1 - eBias);
10707}
10708if (number * c >= 2) {
10709exponent++;
10710c /= 2;
10711}
10712if (exponent + eBias >= eMax) {
10713mantissa = 0;
10714exponent = eMax;
10715} else if (exponent + eBias >= 1) {
10716mantissa = (number * c - 1) * pow(2, mantissaLength);
10717exponent = exponent + eBias;
10718} else {
10719mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
10720exponent = 0;
10721}
10722}
10723for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8);
10724exponent = exponent << mantissaLength | mantissa;
10725exponentLength += mantissaLength;
10726for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8);
10727buffer[--index] |= sign * 128;
10728return buffer;
10729};
10730var unpack = function (buffer, mantissaLength) {
10731var bytes = buffer.length;
10732var exponentLength = bytes * 8 - mantissaLength - 1;
10733var eMax = (1 << exponentLength) - 1;
10734var eBias = eMax >> 1;
10735var nBits = exponentLength - 7;
10736var index = bytes - 1;
10737var sign = buffer[index--];
10738var exponent = sign & 127;
10739var mantissa;
10740sign >>= 7;
10741for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8);
10742mantissa = exponent & (1 << -nBits) - 1;
10743exponent >>= -nBits;
10744nBits += mantissaLength;
10745for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8);
10746if (exponent === 0) {
10747exponent = 1 - eBias;
10748} else if (exponent === eMax) {
10749return mantissa ? NaN : sign ? -Infinity : Infinity;
10750} else {
10751mantissa = mantissa + pow(2, mantissaLength);
10752exponent = exponent - eBias;
10753} return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
10754};
10755module.exports = {
10756pack: pack,
10757unpack: unpack
10758};
10759/***/ }),
10760/***/ 8361:
10761/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10762var fails = __webpack_require__(7293);
10763var classof = __webpack_require__(4326);
10764var split = ''.split;
10765// fallback for non-array-like ES3 and non-enumerable old V8 strings
10766module.exports = fails(function () {
10767// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
10768// eslint-disable-next-line no-prototype-builtins -- safe
10769return !Object('z').propertyIsEnumerable(0);
10770}) ? function (it) {
10771return classof(it) == 'String' ? split.call(it, '') : Object(it);
10772} : Object;
10773/***/ }),
10774/***/ 9587:
10775/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10776var isObject = __webpack_require__(111);
10777var setPrototypeOf = __webpack_require__(7674);
10778// makes subclassing work correct for wrapped built-ins
10779module.exports = function ($this, dummy, Wrapper) {
10780var NewTarget, NewTargetPrototype;
10781if (
10782// it can work only with native `setPrototypeOf`
10783setPrototypeOf &&
10784// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
10785typeof (NewTarget = dummy.constructor) == 'function' &&
10786NewTarget !== Wrapper &&
10787isObject(NewTargetPrototype = NewTarget.prototype) &&
10788NewTargetPrototype !== Wrapper.prototype
10789) setPrototypeOf($this, NewTargetPrototype);
10790return $this;
10791};
10792/***/ }),
10793/***/ 2788:
10794/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10795var store = __webpack_require__(5465);
10796var functionToString = Function.toString;
10797// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
10798if (typeof store.inspectSource != 'function') {
10799store.inspectSource = function (it) {
10800return functionToString.call(it);
10801};
10802}
10803module.exports = store.inspectSource;
10804/***/ }),
10805/***/ 9909:
10806/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10807var NATIVE_WEAK_MAP = __webpack_require__(8536);
10808var global = __webpack_require__(7854);
10809var isObject = __webpack_require__(111);
10810var createNonEnumerableProperty = __webpack_require__(8880);
10811var objectHas = __webpack_require__(6656);
10812var shared = __webpack_require__(5465);
10813var sharedKey = __webpack_require__(6200);
10814var hiddenKeys = __webpack_require__(3501);
10815var WeakMap = global.WeakMap;
10816var set, get, has;
10817var enforce = function (it) {
10818return has(it) ? get(it) : set(it, {});
10819};
10820var getterFor = function (TYPE) {
10821return function (it) {
10822var state;
10823if (!isObject(it) || (state = get(it)).type !== TYPE) {
10824throw TypeError('Incompatible receiver, ' + TYPE + ' required');
10825} return state;
10826};
10827};
10828if (NATIVE_WEAK_MAP) {
10829var store = shared.state || (shared.state = new WeakMap());
10830var wmget = store.get;
10831var wmhas = store.has;
10832var wmset = store.set;
10833set = function (it, metadata) {
10834metadata.facade = it;
10835wmset.call(store, it, metadata);
10836return metadata;
10837};
10838get = function (it) {
10839return wmget.call(store, it) || {};
10840};
10841has = function (it) {
10842return wmhas.call(store, it);
10843};
10844} else {
10845var STATE = sharedKey('state');
10846hiddenKeys[STATE] = true;
10847set = function (it, metadata) {
10848metadata.facade = it;
10849createNonEnumerableProperty(it, STATE, metadata);
10850return metadata;
10851};
10852get = function (it) {
10853return objectHas(it, STATE) ? it[STATE] : {};
10854};
10855has = function (it) {
10856return objectHas(it, STATE);
10857};
10858}
10859module.exports = {
10860set: set,
10861get: get,
10862has: has,
10863enforce: enforce,
10864getterFor: getterFor
10865};
10866/***/ }),
10867/***/ 7659:
10868/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10869var wellKnownSymbol = __webpack_require__(5112);
10870var Iterators = __webpack_require__(7497);
vendor: 4,412 bytes, lines 10871-10995
10871var ITERATOR = wellKnownSymbol('iterator');
10872var ArrayPrototype = Array.prototype;
10873// check on default Array iterator
10874module.exports = function (it) {
10875return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
10876};
10877/***/ }),
10878/***/ 3157:
10879/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10880var classof = __webpack_require__(4326);
10881// `IsArray` abstract operation
10882// https://tc39.es/ecma262/#sec-isarray
10883module.exports = Array.isArray || function isArray(arg) {
10884return classof(arg) == 'Array';
10885};
10886/***/ }),
10887/***/ 4705:
10888/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10889var fails = __webpack_require__(7293);
10890var replacement = /#|\.prototype\./;
10891var isForced = function (feature, detection) {
10892var value = data[normalize(feature)];
10893return value == POLYFILL ? true
10894: value == NATIVE ? false
10895: typeof detection == 'function' ? fails(detection)
10896: !!detection;
10897};
10898var normalize = isForced.normalize = function (string) {
10899return String(string).replace(replacement, '.').toLowerCase();
10900};
10901var data = isForced.data = {};
10902var NATIVE = isForced.NATIVE = 'N';
10903var POLYFILL = isForced.POLYFILL = 'P';
10904module.exports = isForced;
10905/***/ }),
10906/***/ 111:
10907/***/ (function(module) {
10908module.exports = function (it) {
10909return typeof it === 'object' ? it !== null : typeof it === 'function';
10910};
10911/***/ }),
10912/***/ 1913:
10913/***/ (function(module) {
10914module.exports = false;
10915/***/ }),
10916/***/ 7850:
10917/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10918var isObject = __webpack_require__(111);
10919var classof = __webpack_require__(4326);
10920var wellKnownSymbol = __webpack_require__(5112);
10921var MATCH = wellKnownSymbol('match');
10922// `IsRegExp` abstract operation
10923// https://tc39.es/ecma262/#sec-isregexp
10924module.exports = function (it) {
10925var isRegExp;
10926return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
10927};
10928/***/ }),
10929/***/ 9212:
10930/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10931var anObject = __webpack_require__(9670);
10932module.exports = function (iterator) {
10933var returnMethod = iterator['return'];
10934if (returnMethod !== undefined) {
10935return anObject(returnMethod.call(iterator)).value;
10936}
10937};
10938/***/ }),
10939/***/ 3383:
10940/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10941"use strict";
10942var fails = __webpack_require__(7293);
10943var getPrototypeOf = __webpack_require__(9518);
10944var createNonEnumerableProperty = __webpack_require__(8880);
10945var has = __webpack_require__(6656);
10946var wellKnownSymbol = __webpack_require__(5112);
10947var IS_PURE = __webpack_require__(1913);
10948var ITERATOR = wellKnownSymbol('iterator');
10949var BUGGY_SAFARI_ITERATORS = false;
10950var returnThis = function () { return this; };
10951// `%IteratorPrototype%` object
10952// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
10953var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
10954if ([].keys) {
10955arrayIterator = [].keys();
10956// Safari 8 has buggy iterators w/o `next`
10957if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
10958else {
10959PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
10960if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
10961}
10962}
10963var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {
10964var test = {};
10965// FF44- legacy iterators case
10966return IteratorPrototype[ITERATOR].call(test) !== test;
10967});
10968if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
10969// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
10970if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) {
10971createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
10972}
10973module.exports = {
10974IteratorPrototype: IteratorPrototype,
10975BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
10976};
10977/***/ }),
10978/***/ 7497:
10979/***/ (function(module) {
10980module.exports = {};
10981/***/ }),
10982/***/ 133:
10983/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10984var fails = __webpack_require__(7293);
10985module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
10986// Chrome 38 Symbol has incorrect toString conversion
10987/* global Symbol -- required for testing */
10988return !String(Symbol());
10989});
10990/***/ }),
10991/***/ 590:
10992/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10993var fails = __webpack_require__(7293);
10994var wellKnownSymbol = __webpack_require__(5112);
10995var IS_PURE = __webpack_require__(1913);
vendor: 4,315 bytes, lines 10996-11112
10996var ITERATOR = wellKnownSymbol('iterator');
10997module.exports = !fails(function () {
10998var url = new URL('b?a=1&b=2&c=3', 'http://a');
10999var searchParams = url.searchParams;
11000var result = '';
11001url.pathname = 'c%20d';
11002searchParams.forEach(function (value, key) {
11003searchParams['delete']('b');
11004result += key + value;
11005});
11006return (IS_PURE && !url.toJSON)
11007|| !searchParams.sort
11008|| url.href !== 'http://a/c%20d?a=1&c=3'
11009|| searchParams.get('c') !== '3'
11010|| String(new URLSearchParams('?a=1')) !== 'a=1'
11011|| !searchParams[ITERATOR]
11012// throws in Edge
11013|| new URL('https://a@b').username !== 'a'
11014|| new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
11015// not punycoded in Edge
11016|| new URL('http://тест').host !== 'xn--e1aybc'
11017// not escaped in Chrome 62-
11018|| new URL('http://a#б').hash !== '#%D0%B1'
11019// fails in Chrome 66-
11020|| result !== 'a1c3'
11021// throws in Safari
11022|| new URL('http://x', undefined).host !== 'x';
11023});
11024/***/ }),
11025/***/ 8536:
11026/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11027var global = __webpack_require__(7854);
11028var inspectSource = __webpack_require__(2788);
11029var WeakMap = global.WeakMap;
11030module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
11031/***/ }),
11032/***/ 1574:
11033/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11034"use strict";
11035var DESCRIPTORS = __webpack_require__(9781);
11036var fails = __webpack_require__(7293);
11037var objectKeys = __webpack_require__(1956);
11038var getOwnPropertySymbolsModule = __webpack_require__(5181);
11039var propertyIsEnumerableModule = __webpack_require__(5296);
11040var toObject = __webpack_require__(7908);
11041var IndexedObject = __webpack_require__(8361);
11042var nativeAssign = Object.assign;
11043var defineProperty = Object.defineProperty;
11044// `Object.assign` method
11045// https://tc39.es/ecma262/#sec-object.assign
11046module.exports = !nativeAssign || fails(function () {
11047// should have correct order of operations (Edge bug)
11048if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
11049enumerable: true,
11050get: function () {
11051defineProperty(this, 'b', {
11052value: 3,
11053enumerable: false
11054});
11055}
11056}), { b: 2 })).b !== 1) return true;
11057// should work with symbols and should have deterministic property order (V8 bug)
11058var A = {};
11059var B = {};
11060/* global Symbol -- required for testing */
11061var symbol = Symbol();
11062var alphabet = 'abcdefghijklmnopqrst';
11063A[symbol] = 7;
11064alphabet.split('').forEach(function (chr) { B[chr] = chr; });
11065return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
11066}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
11067var T = toObject(target);
11068var argumentsLength = arguments.length;
11069var index = 1;
11070var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
11071var propertyIsEnumerable = propertyIsEnumerableModule.f;
11072while (argumentsLength > index) {
11073var S = IndexedObject(arguments[index++]);
11074var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
11075var length = keys.length;
11076var j = 0;
11077var key;
11078while (length > j) {
11079key = keys[j++];
11080if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
11081}
11082} return T;
11083} : nativeAssign;
11084/***/ }),
11085/***/ 30:
11086/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11087var anObject = __webpack_require__(9670);
11088var defineProperties = __webpack_require__(6048);
11089var enumBugKeys = __webpack_require__(748);
11090var hiddenKeys = __webpack_require__(3501);
11091var html = __webpack_require__(490);
11092var documentCreateElement = __webpack_require__(317);
11093var sharedKey = __webpack_require__(6200);
11094var GT = '>';
11095var LT = '<';
11096var PROTOTYPE = 'prototype';
11097var SCRIPT = 'script';
11098var IE_PROTO = sharedKey('IE_PROTO');
11099var EmptyConstructor = function () { /* empty */ };
11100var scriptTag = function (content) {
11101return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
11102};
11103// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
11104var NullProtoObjectViaActiveX = function (activeXDocument) {
11105activeXDocument.write(scriptTag(''));
11106activeXDocument.close();
11107var temp = activeXDocument.parentWindow.Object;
11108activeXDocument = null; // avoid memory leak
11109return temp;
11110};
11111// Create object with fake `null` prototype: use iframe Object with cleared prototype
11112var NullProtoObjectViaIFrame = function () {
vendor: 9,936 bytes, lines 11113-11366
11113// Thrash, waste and sodomy: IE GC bug
11114var iframe = documentCreateElement('iframe');
11115var JS = 'java' + SCRIPT + ':';
11116var iframeDocument;
11117iframe.style.display = 'none';
11118html.appendChild(iframe);
11119// https://github.com/zloirock/core-js/issues/475
11120iframe.src = String(JS);
11121iframeDocument = iframe.contentWindow.document;
11122iframeDocument.open();
11123iframeDocument.write(scriptTag('document.F=Object'));
11124iframeDocument.close();
11125return iframeDocument.F;
11126};
11127// Check for document.domain and active x support
11128// No need to use active x approach when document.domain is not set
11129// see https://github.com/es-shims/es5-shim/issues/150
11130// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
11131// avoid IE GC bug
11132var activeXDocument;
11133var NullProtoObject = function () {
11134try {
11135/* global ActiveXObject -- old IE */
11136activeXDocument = document.domain && new ActiveXObject('htmlfile');
11137} catch (error) { /* ignore */ }
11138NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
11139var length = enumBugKeys.length;
11140while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
11141return NullProtoObject();
11142};
11143hiddenKeys[IE_PROTO] = true;
11144// `Object.create` method
11145// https://tc39.es/ecma262/#sec-object.create
11146module.exports = Object.create || function create(O, Properties) {
11147var result;
11148if (O !== null) {
11149EmptyConstructor[PROTOTYPE] = anObject(O);
11150result = new EmptyConstructor();
11151EmptyConstructor[PROTOTYPE] = null;
11152// add "__proto__" for Object.getPrototypeOf polyfill
11153result[IE_PROTO] = O;
11154} else result = NullProtoObject();
11155return Properties === undefined ? result : defineProperties(result, Properties);
11156};
11157/***/ }),
11158/***/ 6048:
11159/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11160var DESCRIPTORS = __webpack_require__(9781);
11161var definePropertyModule = __webpack_require__(3070);
11162var anObject = __webpack_require__(9670);
11163var objectKeys = __webpack_require__(1956);
11164// `Object.defineProperties` method
11165// https://tc39.es/ecma262/#sec-object.defineproperties
11166module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
11167anObject(O);
11168var keys = objectKeys(Properties);
11169var length = keys.length;
11170var index = 0;
11171var key;
11172while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
11173return O;
11174};
11175/***/ }),
11176/***/ 3070:
11177/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
11178var DESCRIPTORS = __webpack_require__(9781);
11179var IE8_DOM_DEFINE = __webpack_require__(4664);
11180var anObject = __webpack_require__(9670);
11181var toPrimitive = __webpack_require__(7593);
11182var nativeDefineProperty = Object.defineProperty;
11183// `Object.defineProperty` method
11184// https://tc39.es/ecma262/#sec-object.defineproperty
11185exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
11186anObject(O);
11187P = toPrimitive(P, true);
11188anObject(Attributes);
11189if (IE8_DOM_DEFINE) try {
11190return nativeDefineProperty(O, P, Attributes);
11191} catch (error) { /* empty */ }
11192if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
11193if ('value' in Attributes) O[P] = Attributes.value;
11194return O;
11195};
11196/***/ }),
11197/***/ 1236:
11198/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
11199var DESCRIPTORS = __webpack_require__(9781);
11200var propertyIsEnumerableModule = __webpack_require__(5296);
11201var createPropertyDescriptor = __webpack_require__(9114);
11202var toIndexedObject = __webpack_require__(5656);
11203var toPrimitive = __webpack_require__(7593);
11204var has = __webpack_require__(6656);
11205var IE8_DOM_DEFINE = __webpack_require__(4664);
11206var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
11207// `Object.getOwnPropertyDescriptor` method
11208// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
11209exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
11210O = toIndexedObject(O);
11211P = toPrimitive(P, true);
11212if (IE8_DOM_DEFINE) try {
11213return nativeGetOwnPropertyDescriptor(O, P);
11214} catch (error) { /* empty */ }
11215if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
11216};
11217/***/ }),
11218/***/ 8006:
11219/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
11220var internalObjectKeys = __webpack_require__(6324);
11221var enumBugKeys = __webpack_require__(748);
11222var hiddenKeys = enumBugKeys.concat('length', 'prototype');
11223// `Object.getOwnPropertyNames` method
11224// https://tc39.es/ecma262/#sec-object.getownpropertynames
11225exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
11226return internalObjectKeys(O, hiddenKeys);
11227};
11228/***/ }),
11229/***/ 5181:
11230/***/ (function(__unused_webpack_module, exports) {
11231exports.f = Object.getOwnPropertySymbols;
11232/***/ }),
11233/***/ 9518:
11234/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11235var has = __webpack_require__(6656);
11236var toObject = __webpack_require__(7908);
11237var sharedKey = __webpack_require__(6200);
11238var CORRECT_PROTOTYPE_GETTER = __webpack_require__(8544);
11239var IE_PROTO = sharedKey('IE_PROTO');
11240var ObjectPrototype = Object.prototype;
11241// `Object.getPrototypeOf` method
11242// https://tc39.es/ecma262/#sec-object.getprototypeof
11243module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
11244O = toObject(O);
11245if (has(O, IE_PROTO)) return O[IE_PROTO];
11246if (typeof O.constructor == 'function' && O instanceof O.constructor) {
11247return O.constructor.prototype;
11248} return O instanceof Object ? ObjectPrototype : null;
11249};
11250/***/ }),
11251/***/ 6324:
11252/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11253var has = __webpack_require__(6656);
11254var toIndexedObject = __webpack_require__(5656);
11255var indexOf = __webpack_require__(1318).indexOf;
11256var hiddenKeys = __webpack_require__(3501);
11257module.exports = function (object, names) {
11258var O = toIndexedObject(object);
11259var i = 0;
11260var result = [];
11261var key;
11262for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
11263// Don't enum bug & hidden keys
11264while (names.length > i) if (has(O, key = names[i++])) {
11265~indexOf(result, key) || result.push(key);
11266}
11267return result;
11268};
11269/***/ }),
11270/***/ 1956:
11271/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11272var internalObjectKeys = __webpack_require__(6324);
11273var enumBugKeys = __webpack_require__(748);
11274// `Object.keys` method
11275// https://tc39.es/ecma262/#sec-object.keys
11276module.exports = Object.keys || function keys(O) {
11277return internalObjectKeys(O, enumBugKeys);
11278};
11279/***/ }),
11280/***/ 5296:
11281/***/ (function(__unused_webpack_module, exports) {
11282"use strict";
11283var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
11284var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
11285// Nashorn ~ JDK8 bug
11286var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
11287// `Object.prototype.propertyIsEnumerable` method implementation
11288// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
11289exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
11290var descriptor = getOwnPropertyDescriptor(this, V);
11291return !!descriptor && descriptor.enumerable;
11292} : nativePropertyIsEnumerable;
11293/***/ }),
11294/***/ 7674:
11295/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11296/* eslint-disable no-proto -- safe */
11297var anObject = __webpack_require__(9670);
11298var aPossiblePrototype = __webpack_require__(6077);
11299// `Object.setPrototypeOf` method
11300// https://tc39.es/ecma262/#sec-object.setprototypeof
11301// Works with __proto__ only. Old v8 can't work with null proto objects.
11302module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
11303var CORRECT_SETTER = false;
11304var test = {};
11305var setter;
11306try {
11307setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
11308setter.call(test, []);
11309CORRECT_SETTER = test instanceof Array;
11310} catch (error) { /* empty */ }
11311return function setPrototypeOf(O, proto) {
11312anObject(O);
11313aPossiblePrototype(proto);
11314if (CORRECT_SETTER) setter.call(O, proto);
11315else O.__proto__ = proto;
11316return O;
11317};
11318}() : undefined);
11319/***/ }),
11320/***/ 288:
11321/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11322"use strict";
11323var TO_STRING_TAG_SUPPORT = __webpack_require__(1694);
11324var classof = __webpack_require__(648);
11325// `Object.prototype.toString` method implementation
11326// https://tc39.es/ecma262/#sec-object.prototype.tostring
11327module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
11328return '[object ' + classof(this) + ']';
11329};
11330/***/ }),
11331/***/ 3887:
11332/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11333var getBuiltIn = __webpack_require__(5005);
11334var getOwnPropertyNamesModule = __webpack_require__(8006);
11335var getOwnPropertySymbolsModule = __webpack_require__(5181);
11336var anObject = __webpack_require__(9670);
11337// all object keys, includes non-enumerable and symbols
11338module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
11339var keys = getOwnPropertyNamesModule.f(anObject(it));
11340var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
11341return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
11342};
11343/***/ }),
11344/***/ 857:
11345/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11346var global = __webpack_require__(7854);
11347module.exports = global;
11348/***/ }),
11349/***/ 2248:
11350/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11351var redefine = __webpack_require__(1320);
11352module.exports = function (target, src, options) {
11353for (var key in src) redefine(target, key, src[key], options);
11354return target;
11355};
11356/***/ }),
11357/***/ 1320:
11358/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11359var global = __webpack_require__(7854);
11360var createNonEnumerableProperty = __webpack_require__(8880);
11361var has = __webpack_require__(6656);
11362var setGlobal = __webpack_require__(3505);
11363var inspectSource = __webpack_require__(2788);
11364var InternalStateModule = __webpack_require__(9909);
11365var getInternalState = InternalStateModule.get;
11366var enforceInternalState = InternalStateModule.enforce;
vendor: 7,235 bytes, lines 11367-11582
11367var TEMPLATE = String(String).split('String');
11368(module.exports = function (O, key, value, options) {
11369var unsafe = options ? !!options.unsafe : false;
11370var simple = options ? !!options.enumerable : false;
11371var noTargetGet = options ? !!options.noTargetGet : false;
11372var state;
11373if (typeof value == 'function') {
11374if (typeof key == 'string' && !has(value, 'name')) {
11375createNonEnumerableProperty(value, 'name', key);
11376}
11377state = enforceInternalState(value);
11378if (!state.source) {
11379state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
11380}
11381}
11382if (O === global) {
11383if (simple) O[key] = value;
11384else setGlobal(key, value);
11385return;
11386} else if (!unsafe) {
11387delete O[key];
11388} else if (!noTargetGet && O[key]) {
11389simple = true;
11390}
11391if (simple) O[key] = value;
11392else createNonEnumerableProperty(O, key, value);
11393// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
11394})(Function.prototype, 'toString', function toString() {
11395return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
11396});
11397/***/ }),
11398/***/ 7651:
11399/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11400var classof = __webpack_require__(4326);
11401var regexpExec = __webpack_require__(2261);
11402// `RegExpExec` abstract operation
11403// https://tc39.es/ecma262/#sec-regexpexec
11404module.exports = function (R, S) {
11405var exec = R.exec;
11406if (typeof exec === 'function') {
11407var result = exec.call(R, S);
11408if (typeof result !== 'object') {
11409throw TypeError('RegExp exec method returned something other than an Object or null');
11410}
11411return result;
11412}
11413if (classof(R) !== 'RegExp') {
11414throw TypeError('RegExp#exec called on incompatible receiver');
11415}
11416return regexpExec.call(R, S);
11417};
11418/***/ }),
11419/***/ 2261:
11420/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11421"use strict";
11422var regexpFlags = __webpack_require__(7066);
11423var stickyHelpers = __webpack_require__(2999);
11424var nativeExec = RegExp.prototype.exec;
11425// This always refers to the native implementation, because the
11426// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
11427// which loads this file before patching the method.
11428var nativeReplace = String.prototype.replace;
11429var patchedExec = nativeExec;
11430var UPDATES_LAST_INDEX_WRONG = (function () {
11431var re1 = /a/;
11432var re2 = /b*/g;
11433nativeExec.call(re1, 'a');
11434nativeExec.call(re2, 'a');
11435return re1.lastIndex !== 0 || re2.lastIndex !== 0;
11436})();
11437var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
11438// nonparticipating capturing group, copied from es5-shim's String#split patch.
11439// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
11440var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
11441var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
11442if (PATCH) {
11443patchedExec = function exec(str) {
11444var re = this;
11445var lastIndex, reCopy, match, i;
11446var sticky = UNSUPPORTED_Y && re.sticky;
11447var flags = regexpFlags.call(re);
11448var source = re.source;
11449var charsAdded = 0;
11450var strCopy = str;
11451if (sticky) {
11452flags = flags.replace('y', '');
11453if (flags.indexOf('g') === -1) {
11454flags += 'g';
11455}
11456strCopy = String(str).slice(re.lastIndex);
11457// Support anchored sticky behavior.
11458if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
11459source = '(?: ' + source + ')';
11460strCopy = ' ' + strCopy;
11461charsAdded++;
11462}
11463// ^(? + rx + ) is needed, in combination with some str slicing, to
11464// simulate the 'y' flag.
11465reCopy = new RegExp('^(?:' + source + ')', flags);
11466}
11467if (NPCG_INCLUDED) {
11468reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
11469}
11470if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
11471match = nativeExec.call(sticky ? reCopy : re, strCopy);
11472if (sticky) {
11473if (match) {
11474match.input = match.input.slice(charsAdded);
11475match[0] = match[0].slice(charsAdded);
11476match.index = re.lastIndex;
11477re.lastIndex += match[0].length;
11478} else re.lastIndex = 0;
11479} else if (UPDATES_LAST_INDEX_WRONG && match) {
11480re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
11481}
11482if (NPCG_INCLUDED && match && match.length > 1) {
11483// Fix browsers whose `exec` methods don't consistently return `undefined`
11484// for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
11485nativeReplace.call(match[0], reCopy, function () {
11486for (i = 1; i < arguments.length - 2; i++) {
11487if (arguments[i] === undefined) match[i] = undefined;
11488}
11489});
11490}
11491return match;
11492};
11493}
11494module.exports = patchedExec;
11495/***/ }),
11496/***/ 7066:
11497/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11498"use strict";
11499var anObject = __webpack_require__(9670);
11500// `RegExp.prototype.flags` getter implementation
11501// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
11502module.exports = function () {
11503var that = anObject(this);
11504var result = '';
11505if (that.global) result += 'g';
11506if (that.ignoreCase) result += 'i';
11507if (that.multiline) result += 'm';
11508if (that.dotAll) result += 's';
11509if (that.unicode) result += 'u';
11510if (that.sticky) result += 'y';
11511return result;
11512};
11513/***/ }),
11514/***/ 2999:
11515/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
11516"use strict";
11517var fails = __webpack_require__(7293);
11518// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
11519// so we use an intermediate function.
11520function RE(s, f) {
11521return RegExp(s, f);
11522}
11523exports.UNSUPPORTED_Y = fails(function () {
11524// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
11525var re = RE('a', 'y');
11526re.lastIndex = 2;
11527return re.exec('abcd') != null;
11528});
11529exports.BROKEN_CARET = fails(function () {
11530// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
11531var re = RE('^r', 'gy');
11532re.lastIndex = 2;
11533return re.exec('str') != null;
11534});
11535/***/ }),
11536/***/ 4488:
11537/***/ (function(module) {
11538// `RequireObjectCoercible` abstract operation
11539// https://tc39.es/ecma262/#sec-requireobjectcoercible
11540module.exports = function (it) {
11541if (it == undefined) throw TypeError("Can't call method on " + it);
11542return it;
11543};
11544/***/ }),
11545/***/ 3505:
11546/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11547var global = __webpack_require__(7854);
11548var createNonEnumerableProperty = __webpack_require__(8880);
11549module.exports = function (key, value) {
11550try {
11551createNonEnumerableProperty(global, key, value);
11552} catch (error) {
11553global[key] = value;
11554} return value;
11555};
11556/***/ }),
11557/***/ 6340:
11558/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11559"use strict";
11560var getBuiltIn = __webpack_require__(5005);
11561var definePropertyModule = __webpack_require__(3070);
11562var wellKnownSymbol = __webpack_require__(5112);
11563var DESCRIPTORS = __webpack_require__(9781);
11564var SPECIES = wellKnownSymbol('species');
11565module.exports = function (CONSTRUCTOR_NAME) {
11566var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
11567var defineProperty = definePropertyModule.f;
11568if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
11569defineProperty(Constructor, SPECIES, {
11570configurable: true,
11571get: function () { return this; }
11572});
11573}
11574};
11575/***/ }),
11576/***/ 8003:
11577/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11578var defineProperty = __webpack_require__(3070).f;
11579var has = __webpack_require__(6656);
11580var wellKnownSymbol = __webpack_require__(5112);
11581var TO_STRING_TAG = wellKnownSymbol('toStringTag');
11582module.exports = function (it, TAG, STATIC) {
vendor: 2,896 bytes, lines 11583-11661
11583if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
11584defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
11585}
11586};
11587/***/ }),
11588/***/ 6200:
11589/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11590var shared = __webpack_require__(2309);
11591var uid = __webpack_require__(9711);
11592var keys = shared('keys');
11593module.exports = function (key) {
11594return keys[key] || (keys[key] = uid(key));
11595};
11596/***/ }),
11597/***/ 5465:
11598/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11599var global = __webpack_require__(7854);
11600var setGlobal = __webpack_require__(3505);
11601var SHARED = '__core-js_shared__';
11602var store = global[SHARED] || setGlobal(SHARED, {});
11603module.exports = store;
11604/***/ }),
11605/***/ 2309:
11606/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11607var IS_PURE = __webpack_require__(1913);
11608var store = __webpack_require__(5465);
11609(module.exports = function (key, value) {
11610return store[key] || (store[key] = value !== undefined ? value : {});
11611})('versions', []).push({
11612version: '3.9.0',
11613mode: IS_PURE ? 'pure' : 'global',
11614copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
11615});
11616/***/ }),
11617/***/ 6707:
11618/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11619var anObject = __webpack_require__(9670);
11620var aFunction = __webpack_require__(3099);
11621var wellKnownSymbol = __webpack_require__(5112);
11622var SPECIES = wellKnownSymbol('species');
11623// `SpeciesConstructor` abstract operation
11624// https://tc39.es/ecma262/#sec-speciesconstructor
11625module.exports = function (O, defaultConstructor) {
11626var C = anObject(O).constructor;
11627var S;
11628return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
11629};
11630/***/ }),
11631/***/ 8710:
11632/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11633var toInteger = __webpack_require__(9958);
11634var requireObjectCoercible = __webpack_require__(4488);
11635// `String.prototype.{ codePointAt, at }` methods implementation
11636var createMethod = function (CONVERT_TO_STRING) {
11637return function ($this, pos) {
11638var S = String(requireObjectCoercible($this));
11639var position = toInteger(pos);
11640var size = S.length;
11641var first, second;
11642if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
11643first = S.charCodeAt(position);
11644return first < 0xD800 || first > 0xDBFF || position + 1 === size
11645|| (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
11646? CONVERT_TO_STRING ? S.charAt(position) : first
11647: CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
11648};
11649};
11650module.exports = {
11651// `String.prototype.codePointAt` method
11652// https://tc39.es/ecma262/#sec-string.prototype.codepointat
11653codeAt: createMethod(false),
11654// `String.prototype.at` method
11655// https://github.com/mathiasbynens/String.prototype.at
11656charAt: createMethod(true)
11657};
11658/***/ }),
11659/***/ 3197:
11660/***/ (function(module) {
11661"use strict";
11662// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
11663var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
11664var base = 36;
11665var tMin = 1;
11666var tMax = 26;
11667var skew = 38;
11668var damp = 700;
11669var initialBias = 72;
11670var initialN = 128; // 0x80
11671var delimiter = '-'; // '\x2D'
11672var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
11673var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
11674var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
11675var baseMinusTMin = base - tMin;
11676var floor = Math.floor;
11677var stringFromCharCode = String.fromCharCode;
11678/**
11679* Creates an array containing the numeric code points of each Unicode
11680* character in the string. While JavaScript uses UCS-2 internally,
11681* this function will convert a pair of surrogate halves (each of which
11682* UCS-2 exposes as separate characters) into a single code point,
11683* matching UTF-16.
11684*/
11685var ucs2decode = function (string) {
11686var output = [];
11687var counter = 0;
11688var length = string.length;
11689while (counter < length) {
11690var value = string.charCodeAt(counter++);
11691if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
11692// It's a high surrogate, and there is a next character.
11693var extra = string.charCodeAt(counter++);
11694if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.
11695output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
11696} else {
11697// It's an unmatched surrogate; only append this code unit, in case the
11698// next code unit is the high surrogate of a surrogate pair.
11699output.push(value);
11700counter--;
11701}
11702} else {
11703output.push(value);
11704}
11705}
11706return output;
11707};
11708/**
11709* Converts a digit/integer into a basic code point.
11710*/
11711var digitToBasic = function (digit) {
11712//  0..25 map to ASCII a..z or A..Z
11713// 26..35 map to ASCII 0..9
11714return digit + 22 + 75 * (digit < 26);
11715};
11716/**
11717* Bias adaptation function as per section 3.4 of RFC 3492.
11718* https://tools.ietf.org/html/rfc3492#section-3.4
11719*/
11720var adapt = function (delta, numPoints, firstTime) {
11721var k = 0;
11722delta = firstTime ? floor(delta / damp) : delta >> 1;
11723delta += floor(delta / numPoints);
11724for (; delta > baseMinusTMin * tMax >> 1; k += base) {
11725delta = floor(delta / baseMinusTMin);
11726}
11727return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
11728};
11729/**
11730* Converts a string of Unicode symbols (e.g. a domain name label) to a
11731* Punycode string of ASCII-only symbols.
11732*/
11733// eslint-disable-next-line max-statements -- TODO
11734var encode = function (input) {
11735var output = [];
11736// Convert the input in UCS-2 to an array of Unicode code points.
11737input = ucs2decode(input);
11738// Cache the length.
11739var inputLength = input.length;
11740// Initialize the state.
11741var n = initialN;
11742var delta = 0;
11743var bias = initialBias;
11744var i, currentValue;
11745// Handle the basic code points.
11746for (i = 0; i < input.length; i++) {
11747currentValue = input[i];
11748if (currentValue < 0x80) {
11749output.push(stringFromCharCode(currentValue));
11750}
11751}
11752var basicLength = output.length; // number of basic code points.
11753var handledCPCount = basicLength; // number of code points that have been handled;
11754// Finish the basic string with a delimiter unless it's empty.
11755if (basicLength) {
11756output.push(delimiter);
11757}
11758// Main encoding loop:
11759while (handledCPCount < inputLength) {
11760// All non-basic code points < n have been handled already. Find the next larger one:
11761var m = maxInt;
11762for (i = 0; i < input.length; i++) {
11763currentValue = input[i];
11764if (currentValue >= n && currentValue < m) {
11765m = currentValue;
11766}
11767}
11768// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
11769var handledCPCountPlusOne = handledCPCount + 1;
11770if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
11771throw RangeError(OVERFLOW_ERROR);
11772}
11773delta += (m - n) * handledCPCountPlusOne;
11774n = m;
11775for (i = 0; i < input.length; i++) {
11776currentValue = input[i];
11777if (currentValue < n && ++delta > maxInt) {
11778throw RangeError(OVERFLOW_ERROR);
11779}
11780if (currentValue == n) {
11781// Represent delta as a generalized variable-length integer.
11782var q = delta;
11783for (var k = base; /* no condition */; k += base) {
11784var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
11785if (q < t) break;
11786var qMinusT = q - t;
11787var baseMinusT = base - t;
11788output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
11789q = floor(qMinusT / baseMinusT);
11790}
11791output.push(stringFromCharCode(digitToBasic(q)));
11792bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
11793delta = 0;
11794++handledCPCount;
11795}
11796}
11797++delta;
11798++n;
11799}
11800return output.join('');
11801};
11802module.exports = function (input) {
11803var encoded = [];
11804var labels = input.toLowerCase().replace(regexSeparators, '\u002E').split('.');
11805var i, label;
11806for (i = 0; i < labels.length; i++) {
11807label = labels[i];
11808encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label);
11809}
11810return encoded.join('.');
11811};
11812/***/ }),
11813/***/ 6091:
11814/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11815var fails = __webpack_require__(7293);
11816var whitespaces = __webpack_require__(1361);
11817var non = '\u200B\u0085\u180E';
11818// check that a method works with the correct list
11819// of whitespaces and has a correct name
11820module.exports = function (METHOD_NAME) {
11821return fails(function () {
11822return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
11823});
11824};
11825/***/ }),
11826/***/ 3111:
11827/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11828var requireObjectCoercible = __webpack_require__(4488);
11829var whitespaces = __webpack_require__(1361);
11830var whitespace = '[' + whitespaces + ']';
11831var ltrim = RegExp('^' + whitespace + whitespace + '*');
11832var rtrim = RegExp(whitespace + whitespace + '*$');
11833// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
11834var createMethod = function (TYPE) {
11835return function ($this) {
11836var string = String(requireObjectCoercible($this));
11837if (TYPE & 1) string = string.replace(ltrim, '');
11838if (TYPE & 2) string = string.replace(rtrim, '');
11839return string;
11840};
11841};
11842module.exports = {
11843// `String.prototype.{ trimLeft, trimStart }` methods
11844// https://tc39.es/ecma262/#sec-string.prototype.trimstart
11845start: createMethod(1),
11846// `String.prototype.{ trimRight, trimEnd }` methods
11847// https://tc39.es/ecma262/#sec-string.prototype.trimend
11848end: createMethod(2),
11849// `String.prototype.trim` method
11850// https://tc39.es/ecma262/#sec-string.prototype.trim
11851trim: createMethod(3)
11852};
11853/***/ }),
11854/***/ 1400:
11855/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11856var toInteger = __webpack_require__(9958);
11857var max = Math.max;
11858var min = Math.min;
11859// Helper for a popular repeating case of the spec:
11860// Let integer be ? ToInteger(index).
11861// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
11862module.exports = function (index, length) {
11863var integer = toInteger(index);
11864return integer < 0 ? max(integer + length, 0) : min(integer, length);
11865};
11866/***/ }),
11867/***/ 7067:
11868/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11869var toInteger = __webpack_require__(9958);
11870var toLength = __webpack_require__(7466);
11871// `ToIndex` abstract operation
11872// https://tc39.es/ecma262/#sec-toindex
11873module.exports = function (it) {
11874if (it === undefined) return 0;
11875var number = toInteger(it);
11876var length = toLength(number);
11877if (number !== length) throw RangeError('Wrong length or index');
11878return length;
11879};
11880/***/ }),
11881/***/ 5656:
11882/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11883// toObject with fallback for non-array-like ES3 strings
11884var IndexedObject = __webpack_require__(8361);
11885var requireObjectCoercible = __webpack_require__(4488);
11886module.exports = function (it) {
11887return IndexedObject(requireObjectCoercible(it));
11888};
11889/***/ }),
11890/***/ 9958:
11891/***/ (function(module) {
11892var ceil = Math.ceil;
11893var floor = Math.floor;
11894// `ToInteger` abstract operation
11895// https://tc39.es/ecma262/#sec-tointeger
11896module.exports = function (argument) {
11897return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
11898};
11899/***/ }),
11900/***/ 7466:
11901/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11902var toInteger = __webpack_require__(9958);
11903var min = Math.min;
11904// `ToLength` abstract operation
11905// https://tc39.es/ecma262/#sec-tolength
11906module.exports = function (argument) {
11907return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
11908};
11909/***/ }),
11910/***/ 7908:
11911/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11912var requireObjectCoercible = __webpack_require__(4488);
11913// `ToObject` abstract operation
11914// https://tc39.es/ecma262/#sec-toobject
11915module.exports = function (argument) {
11916return Object(requireObjectCoercible(argument));
11917};
11918/***/ }),
11919/***/ 4590:
11920/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11921var toPositiveInteger = __webpack_require__(3002);
11922module.exports = function (it, BYTES) {
11923var offset = toPositiveInteger(it);
11924if (offset % BYTES) throw RangeError('Wrong offset');
11925return offset;
11926};
11927/***/ }),
11928/***/ 3002:
11929/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11930var toInteger = __webpack_require__(9958);
11931module.exports = function (it) {
11932var result = toInteger(it);
11933if (result < 0) throw RangeError("The argument can't be less than 0");
11934return result;
11935};
11936/***/ }),
11937/***/ 7593:
11938/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11939var isObject = __webpack_require__(111);
11940// `ToPrimitive` abstract operation
11941// https://tc39.es/ecma262/#sec-toprimitive
11942// instead of the ES6 spec version, we didn't implement @@toPrimitive case
11943// and the second argument - flag - preferred type is a string
11944module.exports = function (input, PREFERRED_STRING) {
11945if (!isObject(input)) return input;
11946var fn, val;
11947if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
11948if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
11949if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
11950throw TypeError("Can't convert object to primitive value");
11951};
11952/***/ }),
11953/***/ 1694:
11954/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11955var wellKnownSymbol = __webpack_require__(5112);
11956var TO_STRING_TAG = wellKnownSymbol('toStringTag');
11957var test = {};
11958test[TO_STRING_TAG] = 'z';
11959module.exports = String(test) === '[object z]';
11960/***/ }),
11961/***/ 9843:
11962/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
11963"use strict";
11964var $ = __webpack_require__(2109);
11965var global = __webpack_require__(7854);
11966var DESCRIPTORS = __webpack_require__(9781);
11967var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(3832);
11968var ArrayBufferViewCore = __webpack_require__(260);
11969var ArrayBufferModule = __webpack_require__(3331);
11970var anInstance = __webpack_require__(5787);
11971var createPropertyDescriptor = __webpack_require__(9114);
11972var createNonEnumerableProperty = __webpack_require__(8880);
vendor: 9,412 bytes, lines 11973-12209
11973var toLength = __webpack_require__(7466);
11974var toIndex = __webpack_require__(7067);
11975var toOffset = __webpack_require__(4590);
11976var toPrimitive = __webpack_require__(7593);
11977var has = __webpack_require__(6656);
11978var classof = __webpack_require__(648);
11979var isObject = __webpack_require__(111);
11980var create = __webpack_require__(30);
11981var setPrototypeOf = __webpack_require__(7674);
11982var getOwnPropertyNames = __webpack_require__(8006).f;
11983var typedArrayFrom = __webpack_require__(7321);
11984var forEach = __webpack_require__(2092).forEach;
11985var setSpecies = __webpack_require__(6340);
11986var definePropertyModule = __webpack_require__(3070);
11987var getOwnPropertyDescriptorModule = __webpack_require__(1236);
11988var InternalStateModule = __webpack_require__(9909);
11989var inheritIfRequired = __webpack_require__(9587);
11990var getInternalState = InternalStateModule.get;
11991var setInternalState = InternalStateModule.set;
11992var nativeDefineProperty = definePropertyModule.f;
11993var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
11994var round = Math.round;
11995var RangeError = global.RangeError;
11996var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
11997var DataView = ArrayBufferModule.DataView;
11998var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
11999var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;
12000var TypedArray = ArrayBufferViewCore.TypedArray;
12001var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;
12002var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
12003var isTypedArray = ArrayBufferViewCore.isTypedArray;
12004var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
12005var WRONG_LENGTH = 'Wrong length';
12006var fromList = function (C, list) {
12007var index = 0;
12008var length = list.length;
12009var result = new (aTypedArrayConstructor(C))(length);
12010while (length > index) result[index] = list[index++];
12011return result;
12012};
12013var addGetter = function (it, key) {
12014nativeDefineProperty(it, key, { get: function () {
12015return getInternalState(this)[key];
12016} });
12017};
12018var isArrayBuffer = function (it) {
12019var klass;
12020return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';
12021};
12022var isTypedArrayIndex = function (target, key) {
12023return isTypedArray(target)
12024&& typeof key != 'symbol'
12025&& key in target
12026&& String(+key) == String(key);
12027};
12028var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {
12029return isTypedArrayIndex(target, key = toPrimitive(key, true))
12030? createPropertyDescriptor(2, target[key])
12031: nativeGetOwnPropertyDescriptor(target, key);
12032};
12033var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
12034if (isTypedArrayIndex(target, key = toPrimitive(key, true))
12035&& isObject(descriptor)
12036&& has(descriptor, 'value')
12037&& !has(descriptor, 'get')
12038&& !has(descriptor, 'set')
12039// TODO: add validation descriptor w/o calling accessors
12040&& !descriptor.configurable
12041&& (!has(descriptor, 'writable') || descriptor.writable)
12042&& (!has(descriptor, 'enumerable') || descriptor.enumerable)
12043) {
12044target[key] = descriptor.value;
12045return target;
12046} return nativeDefineProperty(target, key, descriptor);
12047};
12048if (DESCRIPTORS) {
12049if (!NATIVE_ARRAY_BUFFER_VIEWS) {
12050getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;
12051definePropertyModule.f = wrappedDefineProperty;
12052addGetter(TypedArrayPrototype, 'buffer');
12053addGetter(TypedArrayPrototype, 'byteOffset');
12054addGetter(TypedArrayPrototype, 'byteLength');
12055addGetter(TypedArrayPrototype, 'length');
12056}
12057$({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
12058getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
12059defineProperty: wrappedDefineProperty
12060});
12061module.exports = function (TYPE, wrapper, CLAMPED) {
12062var BYTES = TYPE.match(/\d+$/)[0] / 8;
12063var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
12064var GETTER = 'get' + TYPE;
12065var SETTER = 'set' + TYPE;
12066var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];
12067var TypedArrayConstructor = NativeTypedArrayConstructor;
12068var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
12069var exported = {};
12070var getter = function (that, index) {
12071var data = getInternalState(that);
12072return data.view[GETTER](index * BYTES + data.byteOffset, true);
12073};
12074var setter = function (that, index, value) {
12075var data = getInternalState(that);
12076if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;
12077data.view[SETTER](index * BYTES + data.byteOffset, value, true);
12078};
12079var addElement = function (that, index) {
12080nativeDefineProperty(that, index, {
12081get: function () {
12082return getter(this, index);
12083},
12084set: function (value) {
12085return setter(this, index, value);
12086},
12087enumerable: true
12088});
12089};
12090if (!NATIVE_ARRAY_BUFFER_VIEWS) {
12091TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
12092anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME);
12093var index = 0;
12094var byteOffset = 0;
12095var buffer, byteLength, length;
12096if (!isObject(data)) {
12097length = toIndex(data);
12098byteLength = length * BYTES;
12099buffer = new ArrayBuffer(byteLength);
12100} else if (isArrayBuffer(data)) {
12101buffer = data;
12102byteOffset = toOffset(offset, BYTES);
12103var $len = data.byteLength;
12104if ($length === undefined) {
12105if ($len % BYTES) throw RangeError(WRONG_LENGTH);
12106byteLength = $len - byteOffset;
12107if (byteLength < 0) throw RangeError(WRONG_LENGTH);
12108} else {
12109byteLength = toLength($length) * BYTES;
12110if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);
12111}
12112length = byteLength / BYTES;
12113} else if (isTypedArray(data)) {
12114return fromList(TypedArrayConstructor, data);
12115} else {
12116return typedArrayFrom.call(TypedArrayConstructor, data);
12117}
12118setInternalState(that, {
12119buffer: buffer,
12120byteOffset: byteOffset,
12121byteLength: byteLength,
12122length: length,
12123view: new DataView(buffer)
12124});
12125while (index < length) addElement(that, index++);
12126});
12127if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
12128TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);
12129} else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {
12130TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
12131anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME);
12132return inheritIfRequired(function () {
12133if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));
12134if (isArrayBuffer(data)) return $length !== undefined
12135? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)
12136: typedArrayOffset !== undefined
12137? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))
12138: new NativeTypedArrayConstructor(data);
12139if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
12140return typedArrayFrom.call(TypedArrayConstructor, data);
12141}(), dummy, TypedArrayConstructor);
12142});
12143if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
12144forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {
12145if (!(key in TypedArrayConstructor)) {
12146createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
12147}
12148});
12149TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;
12150}
12151if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {
12152createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);
12153}
12154if (TYPED_ARRAY_TAG) {
12155createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
12156}
12157exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
12158$({
12159global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS
12160}, exported);
12161if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
12162createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
12163}
12164if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {
12165createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
12166}
12167setSpecies(CONSTRUCTOR_NAME);
12168};
12169} else module.exports = function () { /* empty */ };
12170/***/ }),
12171/***/ 3832:
12172/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12173/* eslint-disable no-new -- required for testing */
12174var global = __webpack_require__(7854);
12175var fails = __webpack_require__(7293);
12176var checkCorrectnessOfIteration = __webpack_require__(7072);
12177var NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(260).NATIVE_ARRAY_BUFFER_VIEWS;
12178var ArrayBuffer = global.ArrayBuffer;
12179var Int8Array = global.Int8Array;
12180module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {
12181Int8Array(1);
12182}) || !fails(function () {
12183new Int8Array(-1);
12184}) || !checkCorrectnessOfIteration(function (iterable) {
12185new Int8Array();
12186new Int8Array(null);
12187new Int8Array(1.5);
12188new Int8Array(iterable);
12189}, true) || fails(function () {
12190// Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
12191return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;
12192});
12193/***/ }),
12194/***/ 3074:
12195/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12196var aTypedArrayConstructor = __webpack_require__(260).aTypedArrayConstructor;
12197var speciesConstructor = __webpack_require__(6707);
12198module.exports = function (instance, list) {
12199var C = speciesConstructor(instance, instance.constructor);
12200var index = 0;
12201var length = list.length;
12202var result = new (aTypedArrayConstructor(C))(length);
12203while (length > index) result[index] = list[index++];
12204return result;
12205};
12206/***/ }),
12207/***/ 7321:
12208/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12209var toObject = __webpack_require__(7908);
12210var toLength = __webpack_require__(7466);
12211var getIteratorMethod = __webpack_require__(1246);
12212var isArrayIteratorMethod = __webpack_require__(7659);
12213var bind = __webpack_require__(9974);
12214var aTypedArrayConstructor = __webpack_require__(260).aTypedArrayConstructor;
12215module.exports = function from(source /* , mapfn, thisArg */) {
12216var O = toObject(source);
12217var argumentsLength = arguments.length;
12218var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
12219var mapping = mapfn !== undefined;
12220var iteratorMethod = getIteratorMethod(O);
12221var i, length, result, step, iterator, next;
12222if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) {
12223iterator = iteratorMethod.call(O);
12224next = iterator.next;
12225O = [];
12226while (!(step = next.call(iterator)).done) {
12227O.push(step.value);
12228}
12229}
12230if (mapping && argumentsLength > 2) {
12231mapfn = bind(mapfn, arguments[2], 2);
12232}
12233length = toLength(O.length);
12234result = new (aTypedArrayConstructor(this))(length);
12235for (i = 0; length > i; i++) {
12236result[i] = mapping ? mapfn(O[i], i) : O[i];
12237}
12238return result;
12239};
12240/***/ }),
12241/***/ 9711:
12242/***/ (function(module) {
12243var id = 0;
12244var postfix = Math.random();
12245module.exports = function (key) {
12246return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
12247};
12248/***/ }),
12249/***/ 3307:
12250/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12251var NATIVE_SYMBOL = __webpack_require__(133);
12252module.exports = NATIVE_SYMBOL
12253/* global Symbol -- safe */
12254&& !Symbol.sham
12255&& typeof Symbol.iterator == 'symbol';
12256/***/ }),
12257/***/ 5112:
12258/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12259var global = __webpack_require__(7854);
12260var shared = __webpack_require__(2309);
12261var has = __webpack_require__(6656);
12262var uid = __webpack_require__(9711);
12263var NATIVE_SYMBOL = __webpack_require__(133);
12264var USE_SYMBOL_AS_UID = __webpack_require__(3307);
12265var WellKnownSymbolsStore = shared('wks');
12266var Symbol = global.Symbol;
12267var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
12268module.exports = function (name) {
12269if (!has(WellKnownSymbolsStore, name)) {
12270if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
12271else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
12272} return WellKnownSymbolsStore[name];
12273};
12274/***/ }),
12275/***/ 1361:
12276/***/ (function(module) {
12277// a string of all valid unicode whitespaces
12278module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
12279'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
12280/***/ }),
12281/***/ 8264:
12282/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12283"use strict";
12284var $ = __webpack_require__(2109);
12285var global = __webpack_require__(7854);
12286var arrayBufferModule = __webpack_require__(3331);
12287var setSpecies = __webpack_require__(6340);
12288var ARRAY_BUFFER = 'ArrayBuffer';
12289var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];
12290var NativeArrayBuffer = global[ARRAY_BUFFER];
12291// `ArrayBuffer` constructor
12292// https://tc39.es/ecma262/#sec-arraybuffer-constructor
12293$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {
12294ArrayBuffer: ArrayBuffer
12295});
12296setSpecies(ARRAY_BUFFER);
12297/***/ }),
12298/***/ 2222:
12299/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12300"use strict";
12301var $ = __webpack_require__(2109);
12302var fails = __webpack_require__(7293);
12303var isArray = __webpack_require__(3157);
12304var isObject = __webpack_require__(111);
12305var toObject = __webpack_require__(7908);
12306var toLength = __webpack_require__(7466);
12307var createProperty = __webpack_require__(6135);
12308var arraySpeciesCreate = __webpack_require__(5417);
12309var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
12310var wellKnownSymbol = __webpack_require__(5112);
12311var V8_VERSION = __webpack_require__(7392);
12312var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
12313var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
12314var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
12315// We can't use this feature detection in V8 since it causes
12316// deoptimization and serious performance degradation
12317// https://github.com/zloirock/core-js/issues/679
12318var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
12319var array = [];
12320array[IS_CONCAT_SPREADABLE] = false;
vendor: 5,758 bytes, lines 12321-12466
12321return array.concat()[0] !== array;
12322});
12323var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
12324var isConcatSpreadable = function (O) {
12325if (!isObject(O)) return false;
12326var spreadable = O[IS_CONCAT_SPREADABLE];
12327return spreadable !== undefined ? !!spreadable : isArray(O);
12328};
12329var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
12330// `Array.prototype.concat` method
12331// https://tc39.es/ecma262/#sec-array.prototype.concat
12332// with adding support of @@isConcatSpreadable and @@species
12333$({ target: 'Array', proto: true, forced: FORCED }, {
12334// eslint-disable-next-line no-unused-vars -- required for `.length`
12335concat: function concat(arg) {
12336var O = toObject(this);
12337var A = arraySpeciesCreate(O, 0);
12338var n = 0;
12339var i, k, length, len, E;
12340for (i = -1, length = arguments.length; i < length; i++) {
12341E = i === -1 ? O : arguments[i];
12342if (isConcatSpreadable(E)) {
12343len = toLength(E.length);
12344if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
12345for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
12346} else {
12347if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
12348createProperty(A, n++, E);
12349}
12350}
12351A.length = n;
12352return A;
12353}
12354});
12355/***/ }),
12356/***/ 7327:
12357/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12358"use strict";
12359var $ = __webpack_require__(2109);
12360var $filter = __webpack_require__(2092).filter;
12361var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
12362var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
12363// `Array.prototype.filter` method
12364// https://tc39.es/ecma262/#sec-array.prototype.filter
12365// with adding support of @@species
12366$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
12367filter: function filter(callbackfn /* , thisArg */) {
12368return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
12369}
12370});
12371/***/ }),
12372/***/ 2772:
12373/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12374"use strict";
12375var $ = __webpack_require__(2109);
12376var $indexOf = __webpack_require__(1318).indexOf;
12377var arrayMethodIsStrict = __webpack_require__(9341);
12378var nativeIndexOf = [].indexOf;
12379var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
12380var STRICT_METHOD = arrayMethodIsStrict('indexOf');
12381// `Array.prototype.indexOf` method
12382// https://tc39.es/ecma262/#sec-array.prototype.indexof
12383$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
12384indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
12385return NEGATIVE_ZERO
12386// convert -0 to +0
12387? nativeIndexOf.apply(this, arguments) || 0
12388: $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
12389}
12390});
12391/***/ }),
12392/***/ 6992:
12393/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
12394"use strict";
12395var toIndexedObject = __webpack_require__(5656);
12396var addToUnscopables = __webpack_require__(1223);
12397var Iterators = __webpack_require__(7497);
12398var InternalStateModule = __webpack_require__(9909);
12399var defineIterator = __webpack_require__(654);
12400var ARRAY_ITERATOR = 'Array Iterator';
12401var setInternalState = InternalStateModule.set;
12402var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
12403// `Array.prototype.entries` method
12404// https://tc39.es/ecma262/#sec-array.prototype.entries
12405// `Array.prototype.keys` method
12406// https://tc39.es/ecma262/#sec-array.prototype.keys
12407// `Array.prototype.values` method
12408// https://tc39.es/ecma262/#sec-array.prototype.values
12409// `Array.prototype[@@iterator]` method
12410// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
12411// `CreateArrayIterator` internal method
12412// https://tc39.es/ecma262/#sec-createarrayiterator
12413module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
12414setInternalState(this, {
12415type: ARRAY_ITERATOR,
12416target: toIndexedObject(iterated), // target
12417index: 0,                          // next index
12418kind: kind                         // kind
12419});
12420// `%ArrayIteratorPrototype%.next` method
12421// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
12422}, function () {
12423var state = getInternalState(this);
12424var target = state.target;
12425var kind = state.kind;
12426var index = state.index++;
12427if (!target || index >= target.length) {
12428state.target = undefined;
12429return { value: undefined, done: true };
12430}
12431if (kind == 'keys') return { value: index, done: false };
12432if (kind == 'values') return { value: target[index], done: false };
12433return { value: [index, target[index]], done: false };
12434}, 'values');
12435// argumentsList[@@iterator] is %ArrayProto_values%
12436// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
12437// https://tc39.es/ecma262/#sec-createmappedargumentsobject
12438Iterators.Arguments = Iterators.Array;
12439// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
12440addToUnscopables('keys');
12441addToUnscopables('values');
12442addToUnscopables('entries');
12443/***/ }),
12444/***/ 1249:
12445/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12446"use strict";
12447var $ = __webpack_require__(2109);
12448var $map = __webpack_require__(2092).map;
12449var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
12450var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
12451// `Array.prototype.map` method
12452// https://tc39.es/ecma262/#sec-array.prototype.map
12453// with adding support of @@species
12454$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
12455map: function map(callbackfn /* , thisArg */) {
12456return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
12457}
12458});
12459/***/ }),
12460/***/ 7042:
12461/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12462"use strict";
12463var $ = __webpack_require__(2109);
12464var isObject = __webpack_require__(111);
12465var isArray = __webpack_require__(3157);
12466var toAbsoluteIndex = __webpack_require__(1400);
12467var toLength = __webpack_require__(7466);
12468var toIndexedObject = __webpack_require__(5656);
12469var createProperty = __webpack_require__(6135);
12470var wellKnownSymbol = __webpack_require__(5112);
12471var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
12472var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
12473var SPECIES = wellKnownSymbol('species');
12474var nativeSlice = [].slice;
12475var max = Math.max;
12476// `Array.prototype.slice` method
12477// https://tc39.es/ecma262/#sec-array.prototype.slice
12478// fallback for not array-like ES3 strings and DOM objects
12479$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
12480slice: function slice(start, end) {
12481var O = toIndexedObject(this);
12482var length = toLength(O.length);
12483var k = toAbsoluteIndex(start, length);
12484var fin = toAbsoluteIndex(end === undefined ? length : end, length);
12485// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
12486var Constructor, result, n;
12487if (isArray(O)) {
12488Constructor = O.constructor;
12489// cross-realm fallback
12490if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
12491Constructor = undefined;
12492} else if (isObject(Constructor)) {
12493Constructor = Constructor[SPECIES];
12494if (Constructor === null) Constructor = undefined;
12495}
12496if (Constructor === Array || Constructor === undefined) {
12497return nativeSlice.call(O, k, fin);
12498}
12499}
12500result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
12501for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
12502result.length = n;
12503return result;
12504}
12505});
12506/***/ }),
12507/***/ 561:
12508/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12509"use strict";
12510var $ = __webpack_require__(2109);
12511var toAbsoluteIndex = __webpack_require__(1400);
12512var toInteger = __webpack_require__(9958);
12513var toLength = __webpack_require__(7466);
12514var toObject = __webpack_require__(7908);
12515var arraySpeciesCreate = __webpack_require__(5417);
12516var createProperty = __webpack_require__(6135);
12517var arrayMethodHasSpeciesSupport = __webpack_require__(1194);
12518var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
12519var max = Math.max;
12520var min = Math.min;
12521var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
12522var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
12523// `Array.prototype.splice` method
12524// https://tc39.es/ecma262/#sec-array.prototype.splice
12525// with adding support of @@species
12526$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
12527splice: function splice(start, deleteCount /* , ...items */) {
12528var O = toObject(this);
12529var len = toLength(O.length);
12530var actualStart = toAbsoluteIndex(start, len);
12531var argumentsLength = arguments.length;
12532var insertCount, actualDeleteCount, A, k, from, to;
12533if (argumentsLength === 0) {
12534insertCount = actualDeleteCount = 0;
12535} else if (argumentsLength === 1) {
12536insertCount = 0;
12537actualDeleteCount = len - actualStart;
12538} else {
12539insertCount = argumentsLength - 2;
12540actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
12541}
12542if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
12543throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
12544}
12545A = arraySpeciesCreate(O, actualDeleteCount);
12546for (k = 0; k < actualDeleteCount; k++) {
12547from = actualStart + k;
12548if (from in O) createProperty(A, k, O[from]);
12549}
12550A.length = actualDeleteCount;
12551if (insertCount < actualDeleteCount) {
12552for (k = actualStart; k < len - actualDeleteCount; k++) {
12553from = k + actualDeleteCount;
12554to = k + insertCount;
12555if (from in O) O[to] = O[from];
12556else delete O[to];
12557}
12558for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
12559} else if (insertCount > actualDeleteCount) {
12560for (k = len - actualDeleteCount; k > actualStart; k--) {
12561from = k + actualDeleteCount - 1;
12562to = k + insertCount - 1;
12563if (from in O) O[to] = O[from];
12564else delete O[to];
12565}
12566}
12567for (k = 0; k < insertCount; k++) {
12568O[k + actualStart] = arguments[k + 2];
12569}
12570O.length = len - actualDeleteCount + insertCount;
12571return A;
12572}
12573});
12574/***/ }),
12575/***/ 8309:
12576/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12577var DESCRIPTORS = __webpack_require__(9781);
12578var defineProperty = __webpack_require__(3070).f;
12579var FunctionPrototype = Function.prototype;
12580var FunctionPrototypeToString = FunctionPrototype.toString;
12581var nameRE = /^\s*function ([^ (]*)/;
12582var NAME = 'name';
vendor: 4,182 bytes, lines 12583-12695
12583// Function instances `.name` property
12584// https://tc39.es/ecma262/#sec-function-instances-name
12585if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
12586defineProperty(FunctionPrototype, NAME, {
12587configurable: true,
12588get: function () {
12589try {
12590return FunctionPrototypeToString.call(this).match(nameRE)[1];
12591} catch (error) {
12592return '';
12593}
12594}
12595});
12596}
12597/***/ }),
12598/***/ 489:
12599/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12600var $ = __webpack_require__(2109);
12601var fails = __webpack_require__(7293);
12602var toObject = __webpack_require__(7908);
12603var nativeGetPrototypeOf = __webpack_require__(9518);
12604var CORRECT_PROTOTYPE_GETTER = __webpack_require__(8544);
12605var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
12606// `Object.getPrototypeOf` method
12607// https://tc39.es/ecma262/#sec-object.getprototypeof
12608$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
12609getPrototypeOf: function getPrototypeOf(it) {
12610return nativeGetPrototypeOf(toObject(it));
12611}
12612});
12613/***/ }),
12614/***/ 1539:
12615/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12616var TO_STRING_TAG_SUPPORT = __webpack_require__(1694);
12617var redefine = __webpack_require__(1320);
12618var toString = __webpack_require__(288);
12619// `Object.prototype.toString` method
12620// https://tc39.es/ecma262/#sec-object.prototype.tostring
12621if (!TO_STRING_TAG_SUPPORT) {
12622redefine(Object.prototype, 'toString', toString, { unsafe: true });
12623}
12624/***/ }),
12625/***/ 4916:
12626/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12627"use strict";
12628var $ = __webpack_require__(2109);
12629var exec = __webpack_require__(2261);
12630// `RegExp.prototype.exec` method
12631// https://tc39.es/ecma262/#sec-regexp.prototype.exec
12632$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
12633exec: exec
12634});
12635/***/ }),
12636/***/ 9714:
12637/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12638"use strict";
12639var redefine = __webpack_require__(1320);
12640var anObject = __webpack_require__(9670);
12641var fails = __webpack_require__(7293);
12642var flags = __webpack_require__(7066);
12643var TO_STRING = 'toString';
12644var RegExpPrototype = RegExp.prototype;
12645var nativeToString = RegExpPrototype[TO_STRING];
12646var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
12647// FF44- RegExp#toString has a wrong name
12648var INCORRECT_NAME = nativeToString.name != TO_STRING;
12649// `RegExp.prototype.toString` method
12650// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
12651if (NOT_GENERIC || INCORRECT_NAME) {
12652redefine(RegExp.prototype, TO_STRING, function toString() {
12653var R = anObject(this);
12654var p = String(R.source);
12655var rf = R.flags;
12656var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);
12657return '/' + p + '/' + f;
12658}, { unsafe: true });
12659}
12660/***/ }),
12661/***/ 8783:
12662/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12663"use strict";
12664var charAt = __webpack_require__(8710).charAt;
12665var InternalStateModule = __webpack_require__(9909);
12666var defineIterator = __webpack_require__(654);
12667var STRING_ITERATOR = 'String Iterator';
12668var setInternalState = InternalStateModule.set;
12669var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
12670// `String.prototype[@@iterator]` method
12671// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
12672defineIterator(String, 'String', function (iterated) {
12673setInternalState(this, {
12674type: STRING_ITERATOR,
12675string: String(iterated),
12676index: 0
12677});
12678// `%StringIteratorPrototype%.next` method
12679// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
12680}, function next() {
12681var state = getInternalState(this);
12682var string = state.string;
12683var index = state.index;
12684var point;
12685if (index >= string.length) return { value: undefined, done: true };
12686point = charAt(string, index);
12687state.index += point.length;
12688return { value: point, done: false };
12689});
12690/***/ }),
12691/***/ 4723:
12692/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12693"use strict";
12694var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007);
12695var anObject = __webpack_require__(9670);
vendor: 4,257 bytes, lines 12696-12807
12696var toLength = __webpack_require__(7466);
12697var requireObjectCoercible = __webpack_require__(4488);
12698var advanceStringIndex = __webpack_require__(1530);
12699var regExpExec = __webpack_require__(7651);
12700// @@match logic
12701fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {
12702return [
12703// `String.prototype.match` method
12704// https://tc39.es/ecma262/#sec-string.prototype.match
12705function match(regexp) {
12706var O = requireObjectCoercible(this);
12707var matcher = regexp == undefined ? undefined : regexp[MATCH];
12708return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
12709},
12710// `RegExp.prototype[@@match]` method
12711// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
12712function (regexp) {
12713var res = maybeCallNative(nativeMatch, regexp, this);
12714if (res.done) return res.value;
12715var rx = anObject(regexp);
12716var S = String(this);
12717if (!rx.global) return regExpExec(rx, S);
12718var fullUnicode = rx.unicode;
12719rx.lastIndex = 0;
12720var A = [];
12721var n = 0;
12722var result;
12723while ((result = regExpExec(rx, S)) !== null) {
12724var matchStr = String(result[0]);
12725A[n] = matchStr;
12726if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
12727n++;
12728}
12729return n === 0 ? null : A;
12730}
12731];
12732});
12733/***/ }),
12734/***/ 5306:
12735/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12736"use strict";
12737var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007);
12738var anObject = __webpack_require__(9670);
12739var toLength = __webpack_require__(7466);
12740var toInteger = __webpack_require__(9958);
12741var requireObjectCoercible = __webpack_require__(4488);
12742var advanceStringIndex = __webpack_require__(1530);
12743var getSubstitution = __webpack_require__(647);
12744var regExpExec = __webpack_require__(7651);
12745var max = Math.max;
12746var min = Math.min;
12747var maybeToString = function (it) {
12748return it === undefined ? it : String(it);
12749};
12750// @@replace logic
12751fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
12752var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
12753var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
12754var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
12755return [
12756// `String.prototype.replace` method
12757// https://tc39.es/ecma262/#sec-string.prototype.replace
12758function replace(searchValue, replaceValue) {
12759var O = requireObjectCoercible(this);
12760var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
12761return replacer !== undefined
12762? replacer.call(searchValue, O, replaceValue)
12763: nativeReplace.call(String(O), searchValue, replaceValue);
12764},
12765// `RegExp.prototype[@@replace]` method
12766// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
12767function (regexp, replaceValue) {
12768if (
12769(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
12770(typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
12771) {
12772var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
12773if (res.done) return res.value;
12774}
12775var rx = anObject(regexp);
12776var S = String(this);
12777var functionalReplace = typeof replaceValue === 'function';
12778if (!functionalReplace) replaceValue = String(replaceValue);
12779var global = rx.global;
12780if (global) {
12781var fullUnicode = rx.unicode;
12782rx.lastIndex = 0;
12783}
12784var results = [];
12785while (true) {
12786var result = regExpExec(rx, S);
12787if (result === null) break;
12788results.push(result);
12789if (!global) break;
12790var matchStr = String(result[0]);
12791if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
12792}
12793var accumulatedResult = '';
12794var nextSourcePosition = 0;
12795for (var i = 0; i < results.length; i++) {
12796result = results[i];
12797var matched = String(result[0]);
12798var position = max(min(toInteger(result.index), S.length), 0);
12799var captures = [];
12800// NOTE: This is equivalent to
12801//   captures = result.slice(1).map(maybeToString)
12802// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
12803// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
12804// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
12805for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
12806var namedCaptures = result.groups;
12807if (functionalReplace) {
vendor: 5,169 bytes, lines 12808-12940
12808var replacerArgs = [matched].concat(captures, position, S);
12809if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
12810var replacement = String(replaceValue.apply(undefined, replacerArgs));
12811} else {
12812replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
12813}
12814if (position >= nextSourcePosition) {
12815accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
12816nextSourcePosition = position + matched.length;
12817}
12818}
12819return accumulatedResult + S.slice(nextSourcePosition);
12820}
12821];
12822});
12823/***/ }),
12824/***/ 3123:
12825/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12826"use strict";
12827var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007);
12828var isRegExp = __webpack_require__(7850);
12829var anObject = __webpack_require__(9670);
12830var requireObjectCoercible = __webpack_require__(4488);
12831var speciesConstructor = __webpack_require__(6707);
12832var advanceStringIndex = __webpack_require__(1530);
12833var toLength = __webpack_require__(7466);
12834var callRegExpExec = __webpack_require__(7651);
12835var regexpExec = __webpack_require__(2261);
12836var fails = __webpack_require__(7293);
12837var arrayPush = [].push;
12838var min = Math.min;
12839var MAX_UINT32 = 0xFFFFFFFF;
12840// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
12841var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
12842// @@split logic
12843fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
12844var internalSplit;
12845if (
12846'abbc'.split(/(b)*/)[1] == 'c' ||
12847// eslint-disable-next-line regexp/no-empty-group -- required for testing
12848'test'.split(/(?:)/, -1).length != 4 ||
12849'ab'.split(/(?:ab)*/).length != 2 ||
12850'.'.split(/(.?)(.?)/).length != 4 ||
12851// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
12852'.'.split(/()()/).length > 1 ||
12853''.split(/.?/).length
12854) {
12855// based on es5-shim implementation, need to rework it
12856internalSplit = function (separator, limit) {
12857var string = String(requireObjectCoercible(this));
12858var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
12859if (lim === 0) return [];
12860if (separator === undefined) return [string];
12861// If `separator` is not a regex, use native split
12862if (!isRegExp(separator)) {
12863return nativeSplit.call(string, separator, lim);
12864}
12865var output = [];
12866var flags = (separator.ignoreCase ? 'i' : '') +
12867(separator.multiline ? 'm' : '') +
12868(separator.unicode ? 'u' : '') +
12869(separator.sticky ? 'y' : '');
12870var lastLastIndex = 0;
12871// Make `global` and avoid `lastIndex` issues by working with a copy
12872var separatorCopy = new RegExp(separator.source, flags + 'g');
12873var match, lastIndex, lastLength;
12874while (match = regexpExec.call(separatorCopy, string)) {
12875lastIndex = separatorCopy.lastIndex;
12876if (lastIndex > lastLastIndex) {
12877output.push(string.slice(lastLastIndex, match.index));
12878if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
12879lastLength = match[0].length;
12880lastLastIndex = lastIndex;
12881if (output.length >= lim) break;
12882}
12883if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
12884}
12885if (lastLastIndex === string.length) {
12886if (lastLength || !separatorCopy.test('')) output.push('');
12887} else output.push(string.slice(lastLastIndex));
12888return output.length > lim ? output.slice(0, lim) : output;
12889};
12890// Chakra, V8
12891} else if ('0'.split(undefined, 0).length) {
12892internalSplit = function (separator, limit) {
12893return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
12894};
12895} else internalSplit = nativeSplit;
12896return [
12897// `String.prototype.split` method
12898// https://tc39.es/ecma262/#sec-string.prototype.split
12899function split(separator, limit) {
12900var O = requireObjectCoercible(this);
12901var splitter = separator == undefined ? undefined : separator[SPLIT];
12902return splitter !== undefined
12903? splitter.call(separator, O, limit)
12904: internalSplit.call(String(O), separator, limit);
12905},
12906// `RegExp.prototype[@@split]` method
12907// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
12908//
12909// NOTE: This cannot be properly polyfilled in engines that don't support
12910// the 'y' flag.
12911function (regexp, limit) {
12912var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
12913if (res.done) return res.value;
12914var rx = anObject(regexp);
12915var S = String(this);
12916var C = speciesConstructor(rx, RegExp);
12917var unicodeMatching = rx.unicode;
12918var flags = (rx.ignoreCase ? 'i' : '') +
12919(rx.multiline ? 'm' : '') +
12920(rx.unicode ? 'u' : '') +
12921(SUPPORTS_Y ? 'y' : 'g');
12922// ^(? + rx + ) is needed, in combination with some S slicing, to
12923// simulate the 'y' flag.
12924var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
12925var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
12926if (lim === 0) return [];
12927if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
12928var p = 0;
12929var q = 0;
12930var A = [];
12931while (q < S.length) {
12932splitter.lastIndex = SUPPORTS_Y ? q : 0;
12933var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
12934var e;
12935if (
12936z === null ||
12937(e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
12938) {
12939q = advanceStringIndex(S, q, unicodeMatching);
12940} else {
12941A.push(S.slice(p, q));
12942if (A.length === lim) return A;
12943for (var i = 1; i <= z.length - 1; i++) {
12944A.push(z[i]);
12945if (A.length === lim) return A;
12946}
12947q = p = e;
12948}
12949}
12950A.push(S.slice(p));
12951return A;
12952}
12953];
12954}, !SUPPORTS_Y);
12955/***/ }),
12956/***/ 3210:
12957/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12958"use strict";
12959var $ = __webpack_require__(2109);
12960var $trim = __webpack_require__(3111).trim;
12961var forcedStringTrimMethod = __webpack_require__(6091);
12962// `String.prototype.trim` method
12963// https://tc39.es/ecma262/#sec-string.prototype.trim
12964$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
12965trim: function trim() {
12966return $trim(this);
12967}
12968});
12969/***/ }),
12970/***/ 2990:
12971/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12972"use strict";
12973var ArrayBufferViewCore = __webpack_require__(260);
12974var $copyWithin = __webpack_require__(1048);
12975var aTypedArray = ArrayBufferViewCore.aTypedArray;
12976var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
12977// `%TypedArray%.prototype.copyWithin` method
12978// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin
12979exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {
12980return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
12981});
12982/***/ }),
12983/***/ 8927:
12984/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12985"use strict";
12986var ArrayBufferViewCore = __webpack_require__(260);
12987var $every = __webpack_require__(2092).every;
12988var aTypedArray = ArrayBufferViewCore.aTypedArray;
12989var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
12990// `%TypedArray%.prototype.every` method
12991// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every
12992exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
12993return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
12994});
12995/***/ }),
12996/***/ 3105:
12997/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
12998"use strict";
12999var ArrayBufferViewCore = __webpack_require__(260);
13000var $fill = __webpack_require__(1285);
13001var aTypedArray = ArrayBufferViewCore.aTypedArray;
13002var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13003// `%TypedArray%.prototype.fill` method
13004// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill
13005// eslint-disable-next-line no-unused-vars -- required for `.length`
13006exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
13007return $fill.apply(aTypedArray(this), arguments);
13008});
13009/***/ }),
13010/***/ 5035:
13011/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13012"use strict";
13013var ArrayBufferViewCore = __webpack_require__(260);
13014var $filter = __webpack_require__(2092).filter;
13015var fromSpeciesAndList = __webpack_require__(3074);
13016var aTypedArray = ArrayBufferViewCore.aTypedArray;
13017var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13018// `%TypedArray%.prototype.filter` method
13019// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter
13020exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {
13021var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
13022return fromSpeciesAndList(this, list);
13023});
13024/***/ }),
13025/***/ 7174:
13026/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13027"use strict";
13028var ArrayBufferViewCore = __webpack_require__(260);
13029var $findIndex = __webpack_require__(2092).findIndex;
13030var aTypedArray = ArrayBufferViewCore.aTypedArray;
13031var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13032// `%TypedArray%.prototype.findIndex` method
13033// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex
13034exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {
13035return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
13036});
13037/***/ }),
13038/***/ 4345:
13039/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13040"use strict";
13041var ArrayBufferViewCore = __webpack_require__(260);
13042var $find = __webpack_require__(2092).find;
13043var aTypedArray = ArrayBufferViewCore.aTypedArray;
13044var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13045// `%TypedArray%.prototype.find` method
13046// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find
13047exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
13048return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
13049});
13050/***/ }),
13051/***/ 2846:
13052/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13053"use strict";
13054var ArrayBufferViewCore = __webpack_require__(260);
13055var $forEach = __webpack_require__(2092).forEach;
13056var aTypedArray = ArrayBufferViewCore.aTypedArray;
13057var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13058// `%TypedArray%.prototype.forEach` method
13059// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach
13060exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
13061$forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
13062});
13063/***/ }),
13064/***/ 4731:
13065/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13066"use strict";
13067var ArrayBufferViewCore = __webpack_require__(260);
13068var $includes = __webpack_require__(1318).includes;
13069var aTypedArray = ArrayBufferViewCore.aTypedArray;
13070var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13071// `%TypedArray%.prototype.includes` method
13072// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes
13073exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {
13074return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
13075});
13076/***/ }),
13077/***/ 7209:
13078/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13079"use strict";
13080var ArrayBufferViewCore = __webpack_require__(260);
13081var $indexOf = __webpack_require__(1318).indexOf;
13082var aTypedArray = ArrayBufferViewCore.aTypedArray;
13083var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13084// `%TypedArray%.prototype.indexOf` method
13085// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof
13086exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {
13087return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
13088});
13089/***/ }),
13090/***/ 6319:
13091/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13092"use strict";
13093var global = __webpack_require__(7854);
13094var ArrayBufferViewCore = __webpack_require__(260);
13095var ArrayIterators = __webpack_require__(6992);
13096var wellKnownSymbol = __webpack_require__(5112);
13097var ITERATOR = wellKnownSymbol('iterator');
13098var Uint8Array = global.Uint8Array;
13099var arrayValues = ArrayIterators.values;
13100var arrayKeys = ArrayIterators.keys;
13101var arrayEntries = ArrayIterators.entries;
13102var aTypedArray = ArrayBufferViewCore.aTypedArray;
13103var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13104var nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR];
13105var CORRECT_ITER_NAME = !!nativeTypedArrayIterator
13106&& (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined);
13107var typedArrayValues = function values() {
13108return arrayValues.call(aTypedArray(this));
13109};
13110// `%TypedArray%.prototype.entries` method
13111// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries
13112exportTypedArrayMethod('entries', function entries() {
13113return arrayEntries.call(aTypedArray(this));
13114});
13115// `%TypedArray%.prototype.keys` method
13116// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys
13117exportTypedArrayMethod('keys', function keys() {
13118return arrayKeys.call(aTypedArray(this));
13119});
13120// `%TypedArray%.prototype.values` method
13121// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values
13122exportTypedArrayMethod('values', typedArrayValues, !CORRECT_ITER_NAME);
13123// `%TypedArray%.prototype[@@iterator]` method
13124// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator
13125exportTypedArrayMethod(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME);
13126/***/ }),
13127/***/ 8867:
13128/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13129"use strict";
13130var ArrayBufferViewCore = __webpack_require__(260);
13131var aTypedArray = ArrayBufferViewCore.aTypedArray;
13132var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13133var $join = [].join;
13134// `%TypedArray%.prototype.join` method
13135// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join
13136// eslint-disable-next-line no-unused-vars -- required for `.length`
13137exportTypedArrayMethod('join', function join(separator) {
13138return $join.apply(aTypedArray(this), arguments);
13139});
13140/***/ }),
13141/***/ 7789:
13142/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13143"use strict";
13144var ArrayBufferViewCore = __webpack_require__(260);
13145var $lastIndexOf = __webpack_require__(6583);
13146var aTypedArray = ArrayBufferViewCore.aTypedArray;
13147var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13148// `%TypedArray%.prototype.lastIndexOf` method
13149// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof
13150// eslint-disable-next-line no-unused-vars -- required for `.length`
13151exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
13152return $lastIndexOf.apply(aTypedArray(this), arguments);
13153});
13154/***/ }),
13155/***/ 3739:
13156/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13157"use strict";
13158var ArrayBufferViewCore = __webpack_require__(260);
13159var $map = __webpack_require__(2092).map;
13160var speciesConstructor = __webpack_require__(6707);
13161var aTypedArray = ArrayBufferViewCore.aTypedArray;
13162var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
13163var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13164// `%TypedArray%.prototype.map` method
13165// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map
13166exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
13167return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {
13168return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length);
13169});
13170});
13171/***/ }),
13172/***/ 4483:
13173/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13174"use strict";
13175var ArrayBufferViewCore = __webpack_require__(260);
13176var $reduceRight = __webpack_require__(3671).right;
13177var aTypedArray = ArrayBufferViewCore.aTypedArray;
13178var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13179// `%TypedArray%.prototype.reduceRicht` method
13180// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright
13181exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
13182return $reduceRight(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
13183});
13184/***/ }),
13185/***/ 9368:
13186/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13187"use strict";
13188var ArrayBufferViewCore = __webpack_require__(260);
13189var $reduce = __webpack_require__(3671).left;
13190var aTypedArray = ArrayBufferViewCore.aTypedArray;
13191var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13192// `%TypedArray%.prototype.reduce` method
13193// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce
13194exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {
13195return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
13196});
13197/***/ }),
13198/***/ 2056:
13199/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13200"use strict";
13201var ArrayBufferViewCore = __webpack_require__(260);
13202var aTypedArray = ArrayBufferViewCore.aTypedArray;
13203var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13204var floor = Math.floor;
13205// `%TypedArray%.prototype.reverse` method
13206// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse
13207exportTypedArrayMethod('reverse', function reverse() {
13208var that = this;
13209var length = aTypedArray(that).length;
13210var middle = floor(length / 2);
13211var index = 0;
13212var value;
13213while (index < middle) {
13214value = that[index];
13215that[index++] = that[--length];
13216that[length] = value;
13217} return that;
13218});
13219/***/ }),
13220/***/ 3462:
13221/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13222"use strict";
13223var ArrayBufferViewCore = __webpack_require__(260);
13224var toLength = __webpack_require__(7466);
13225var toOffset = __webpack_require__(4590);
13226var toObject = __webpack_require__(7908);
13227var fails = __webpack_require__(7293);
13228var aTypedArray = ArrayBufferViewCore.aTypedArray;
13229var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13230var FORCED = fails(function () {
13231/* global Int8Array -- safe */
13232new Int8Array(1).set({});
13233});
13234// `%TypedArray%.prototype.set` method
13235// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set
13236exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
13237aTypedArray(this);
13238var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
13239var length = this.length;
13240var src = toObject(arrayLike);
13241var len = toLength(src.length);
13242var index = 0;
13243if (len + offset > length) throw RangeError('Wrong length');
13244while (index < len) this[offset + index] = src[index++];
13245}, FORCED);
13246/***/ }),
13247/***/ 678:
13248/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13249"use strict";
13250var ArrayBufferViewCore = __webpack_require__(260);
13251var speciesConstructor = __webpack_require__(6707);
13252var fails = __webpack_require__(7293);
13253var aTypedArray = ArrayBufferViewCore.aTypedArray;
13254var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
13255var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13256var $slice = [].slice;
13257var FORCED = fails(function () {
13258/* global Int8Array -- safe */
13259new Int8Array(1).slice();
13260});
13261// `%TypedArray%.prototype.slice` method
13262// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice
13263exportTypedArrayMethod('slice', function slice(start, end) {
13264var list = $slice.call(aTypedArray(this), start, end);
13265var C = speciesConstructor(this, this.constructor);
13266var index = 0;
13267var length = list.length;
13268var result = new (aTypedArrayConstructor(C))(length);
13269while (length > index) result[index] = list[index++];
13270return result;
13271}, FORCED);
13272/***/ }),
13273/***/ 7462:
13274/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13275"use strict";
13276var ArrayBufferViewCore = __webpack_require__(260);
13277var $some = __webpack_require__(2092).some;
13278var aTypedArray = ArrayBufferViewCore.aTypedArray;
13279var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13280// `%TypedArray%.prototype.some` method
13281// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some
13282exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {
13283return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
13284});
13285/***/ }),
13286/***/ 3824:
13287/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13288"use strict";
13289var ArrayBufferViewCore = __webpack_require__(260);
13290var aTypedArray = ArrayBufferViewCore.aTypedArray;
13291var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13292var $sort = [].sort;
13293// `%TypedArray%.prototype.sort` method
13294// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
13295exportTypedArrayMethod('sort', function sort(comparefn) {
13296return $sort.call(aTypedArray(this), comparefn);
13297});
13298/***/ }),
13299/***/ 5021:
13300/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13301"use strict";
13302var ArrayBufferViewCore = __webpack_require__(260);
13303var toLength = __webpack_require__(7466);
13304var toAbsoluteIndex = __webpack_require__(1400);
13305var speciesConstructor = __webpack_require__(6707);
13306var aTypedArray = ArrayBufferViewCore.aTypedArray;
13307var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13308// `%TypedArray%.prototype.subarray` method
13309// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
13310exportTypedArrayMethod('subarray', function subarray(begin, end) {
13311var O = aTypedArray(this);
13312var length = O.length;
13313var beginIndex = toAbsoluteIndex(begin, length);
13314return new (speciesConstructor(O, O.constructor))(
13315O.buffer,
13316O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,
13317toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)
13318);
13319});
13320/***/ }),
13321/***/ 2974:
13322/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13323"use strict";
13324var global = __webpack_require__(7854);
13325var ArrayBufferViewCore = __webpack_require__(260);
13326var fails = __webpack_require__(7293);
13327var Int8Array = global.Int8Array;
13328var aTypedArray = ArrayBufferViewCore.aTypedArray;
13329var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
13330var $toLocaleString = [].toLocaleString;
13331var $slice = [].slice;
13332// iOS Safari 6.x fails here
13333var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
13334$toLocaleString.call(new Int8Array(1));
13335});
13336var FORCED = fails(function () {
13337return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();
13338}) || !fails(function () {
13339Int8Array.prototype.toLocaleString.call([1, 2]);
13340});
13341// `%TypedArray%.prototype.toLocaleString` method
13342// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring
13343exportTypedArrayMethod('toLocaleString', function toLocaleString() {
13344return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments);
13345}, FORCED);
13346/***/ }),
13347/***/ 5016:
13348/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13349"use strict";
13350var exportTypedArrayMethod = __webpack_require__(260).exportTypedArrayMethod;
13351var fails = __webpack_require__(7293);
13352var global = __webpack_require__(7854);
13353var Uint8Array = global.Uint8Array;
13354var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};
13355var arrayToString = [].toString;
13356var arrayJoin = [].join;
13357if (fails(function () { arrayToString.call({}); })) {
13358arrayToString = function toString() {
13359return arrayJoin.call(this);
13360};
13361}
13362var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;
13363// `%TypedArray%.prototype.toString` method
13364// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
13365exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
13366/***/ }),
13367/***/ 2472:
13368/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13369var createTypedArrayConstructor = __webpack_require__(9843);
13370// `Uint8Array` constructor
13371// https://tc39.es/ecma262/#sec-typedarray-objects
13372createTypedArrayConstructor('Uint8', function (init) {
13373return function Uint8Array(data, byteOffset, length) {
13374return init(this, data, byteOffset, length);
13375};
13376});
13377/***/ }),
13378/***/ 4747:
13379/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13380var global = __webpack_require__(7854);
13381var DOMIterables = __webpack_require__(8324);
13382var forEach = __webpack_require__(8533);
13383var createNonEnumerableProperty = __webpack_require__(8880);
13384for (var COLLECTION_NAME in DOMIterables) {
13385var Collection = global[COLLECTION_NAME];
13386var CollectionPrototype = Collection && Collection.prototype;
13387// some Chrome versions have non-configurable methods on DOMTokenList
13388if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
13389createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
13390} catch (error) {
13391CollectionPrototype.forEach = forEach;
13392}
13393}
13394/***/ }),
13395/***/ 3948:
13396/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13397var global = __webpack_require__(7854);
13398var DOMIterables = __webpack_require__(8324);
13399var ArrayIteratorMethods = __webpack_require__(6992);
13400var createNonEnumerableProperty = __webpack_require__(8880);
13401var wellKnownSymbol = __webpack_require__(5112);
13402var ITERATOR = wellKnownSymbol('iterator');
13403var TO_STRING_TAG = wellKnownSymbol('toStringTag');
13404var ArrayValues = ArrayIteratorMethods.values;
13405for (var COLLECTION_NAME in DOMIterables) {
13406var Collection = global[COLLECTION_NAME];
13407var CollectionPrototype = Collection && Collection.prototype;
13408if (CollectionPrototype) {
13409// some Chrome versions have non-configurable methods on DOMTokenList
13410if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
13411createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
13412} catch (error) {
13413CollectionPrototype[ITERATOR] = ArrayValues;
13414}
13415if (!CollectionPrototype[TO_STRING_TAG]) {
13416createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
13417}
13418if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
13419// some Chrome versions have non-configurable methods on DOMTokenList
13420if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
13421createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
13422} catch (error) {
13423CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
13424}
13425}
13426}
13427}
13428/***/ }),
13429/***/ 1637:
13430/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
13431"use strict";
13432// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
13433__webpack_require__(6992);
13434var $ = __webpack_require__(2109);
13435var getBuiltIn = __webpack_require__(5005);
13436var USE_NATIVE_URL = __webpack_require__(590);
13437var redefine = __webpack_require__(1320);
13438var redefineAll = __webpack_require__(2248);
13439var setToStringTag = __webpack_require__(8003);
13440var createIteratorConstructor = __webpack_require__(4994);
13441var InternalStateModule = __webpack_require__(9909);
13442var anInstance = __webpack_require__(5787);
13443var hasOwn = __webpack_require__(6656);
13444var bind = __webpack_require__(9974);
13445var classof = __webpack_require__(648);
13446var anObject = __webpack_require__(9670);
13447var isObject = __webpack_require__(111);
13448var create = __webpack_require__(30);
13449var createPropertyDescriptor = __webpack_require__(9114);
13450var getIterator = __webpack_require__(8554);
13451var getIteratorMethod = __webpack_require__(1246);
13452var wellKnownSymbol = __webpack_require__(5112);
13453var $fetch = getBuiltIn('fetch');
13454var Headers = getBuiltIn('Headers');
13455var ITERATOR = wellKnownSymbol('iterator');
13456var URL_SEARCH_PARAMS = 'URLSearchParams';
13457var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
13458var setInternalState = InternalStateModule.set;
13459var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);
13460var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);
13461var plus = /\+/g;
13462var sequences = Array(4);
13463var percentSequence = function (bytes) {
13464return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '}
13464)', 'gi'));
13465};
13466var percentDecode = function (sequence) {
13467try {
13468return decodeURIComponent(sequence);
13469} catch (error) {
13470return sequence;
13471}
13472};
13473var deserialize = function (it) {
13474var result = it.replace(plus, ' ');
13475var bytes = 4;
13476try {
13477return decodeURIComponent(result);
13478} catch (error) {
13479while (bytes) {
13480result = result.replace(percentSequence(bytes--), percentDecode);
13481}
13482return result;
13483}
13484};
13485var find = /[!'()~]|%20/g;
13486var replace = {
13487'!': '%21',
13488"'": '%27',
13489'(': '%28',
13490')': '%29',
13491'~': '%7E',
13492'%20': '+'
13493};
13494var replacer = function (match) {
13495return replace[match];
13496};
13497var serialize = function (it) {
13498return encodeURIComponent(it).replace(find, replacer);
13499};
13500var parseSearchParams = function (result, query) {
13501if (query) {
13502var attributes = query.split('&');
13503var index = 0;
13504var attribute, entry;
13505while (index < attributes.length) {
13506attribute = attributes[index++];
13507if (attribute.length) {
13508entry = attribute.split('=');
13509result.push({
13510key: deserialize(entry.shift()),
13511value: deserialize(entry.join('='))
13512});
13513}
13514}
13515}
13516};
13517var updateSearchParams = function (query) {
13518this.entries.length = 0;
13519parseSearchParams(this.entries, query);
13520};
13521var validateArgumentsLength = function (passed, required) {
13522if (passed < required) throw TypeError('Not enough arguments');
13523};
13524var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
13525setInternalState(this, {
13526type: URL_SEARCH_PARAMS_ITERATOR,
13527iterator: getIterator(getInternalParamsState(params).entries),
13528kind: kind
13529});
13530}, 'Iterator', function next() {
13531var state = getInternalIteratorState(this);
13532var kind = state.kind;
13533var step = state.iterator.next();
13534var entry = step.value;
13535if (!step.done) {
13536step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];
13537} return step;
13538});
13539// `URLSearchParams` constructor
13540// https://url.spec.whatwg.org/#interface-urlsearchparams
13541var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
13542anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS);
13543var init = arguments.length > 0 ? arguments[0] : undefined;
13544var that = this;
13545var entries = [];
13546var iteratorMethod, iterator, next, step, entryIterator, entryNext, first, second, key;
13547setInternalState(that, {
13548type: URL_SEARCH_PARAMS,
13549entries: entries,
13550updateURL: function () { /* empty */ },
13551updateSearchParams: updateSearchParams
13552});
13553if (init !== undefined) {
13554if (isObject(init)) {
13555iteratorMethod = getIteratorMethod(init);
13556if (typeof iteratorMethod === 'function') {
13557iterator = iteratorMethod.call(init);
13558next = iterator.next;
13559while (!(step = next.call(iterator)).done) {
13560entryIterator = getIterator(anObject(step.value));
13561entryNext = entryIterator.next;
13562if (
13563(first = entryNext.call(entryIterator)).done ||
13564(second = entryNext.call(entryIterator)).done ||
13565!entryNext.call(entryIterator).done
13566) throw TypeError('Expected sequence with length 2');
13567entries.push({ key: first.value + '', value: second.value + '' });
13568}
13569} else for (key in init) if (hasOwn(init, key)) entries.push({ key: key, value: init[key] + '' });
13570} else {
13571parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + '');
13572}
13573}
13574};
13575var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
13576redefineAll(URLSearchParamsPrototype, {
13577// `URLSearchParams.prototype.append` method
13578// https://url.spec.whatwg.org/#dom-urlsearchparams-append
13579append: function append(name, value) {
13580validateArgumentsLength(arguments.length, 2);
13581var state = getInternalParamsState(this);
13582state.entries.push({ key: name + '', value: value + '' });
13583state.updateURL();
13584},
13585// `URLSearchParams.prototype.delete` method
13586// https://url.spec.whatwg.org/#dom-urlsearchparams-delete
13587'delete': function (name) {
13588validateArgumentsLength(arguments.length, 1);
13589var state = getInternalParamsState(this);
13590var entries = state.entries;
13591var key = name + '';
13592var index = 0;
13593while (index < entries.length) {
13594if (entries[index].key === key) entries.splice(index, 1);
13595else index++;
13596}
13597state.updateURL();
13598},
13599// `URLSearchParams.prototype.get` method
13600// https://url.spec.whatwg.org/#dom-urlsearchparams-get
13601get: function get(name) {
13602validateArgumentsLength(arguments.length, 1);
13603var entries = getInternalParamsState(this).entries;
13604var key = name + '';
13605var index = 0;
13606for (; index < entries.length; index++) {
13607if (entries[index].key === key) return entries[index].value;
13608}
13609return null;
13610},
13611// `URLSearchParams.prototype.getAll` method
13612// https://url.spec.whatwg.org/#dom-urlsearchparams-getall
13613getAll: function getAll(name) {
13614validateArgumentsLength(arguments.length, 1);
13615var entries = getInternalParamsState(this).entries;
13616var key = name + '';
13617var result = [];
13618var index = 0;
13619for (; index < entries.length; index++) {
13620if (entries[index].key === key) result.push(entries[index].value);
13621}
13622return result;
13623},
13624// `URLSearchParams.prototype.has` method
13625// https://url.spec.whatwg.org/#dom-urlsearchparams-has
13626has: function has(name) {
13627validateArgumentsLength(arguments.length, 1);
13628var entries = getInternalParamsState(this).entries;
13629var key = name + '';
13630var index = 0;
13631while (index < entries.length) {
13632if (entries[index++].key === key) return true;
13633}
13634return false;
13635},
13636// `URLSearchParams.prototype.set` method
13637// https://url.spec.whatwg.org/#dom-urlsearchparams-set
13638set: function set(name, value) {
13639validateArgumentsLength(arguments.length, 1);
13640var state = getInternalParamsState(this);
13641var entries = state.entries;
13642var found = false;
13643var key = name + '';
13644var val = value + '';
13645var index = 0;
13646var entry;
13647for (; index < entries.length; index++) {
13648entry = entries[index];
13649if (entry.key === key) {
13650if (found) entries.splice(index--, 1);
13651else {
13652found = true;
13653entry.value = val;
13654}
13655}
13656}
13657if (!found) entries.push({ key: key, value: val });
13658state.updateURL();
13659},
13660// `URLSearchParams.prototype.sort` method
13661// https://url.spec.whatwg.org/#dom-urlsearchparams-sort
13662sort: function sort() {
13663var state = getInternalParamsState(this);
13664var entries = state.entries;
13665// Array#sort is not stable in some engines
13666var slice = entries.slice();
13667var entry, entriesIndex, sliceIndex;
13668entries.length = 0;
13669for (sliceIndex = 0; sliceIndex < slice.length; sliceIndex++) {
13670entry = slice[sliceIndex];
13671for (entriesIndex = 0; entriesIndex < sliceIndex; entriesIndex++) {
13672if (entries[entriesIndex].key > entry.key) {
13673entries.splice(entriesIndex, 0, entry);
13674break;
13675}
13676}
13677if (entriesIndex === sliceIndex) entries.push(entry);
13678}
13679state.updateURL();
13680},
13681// `URLSearchParams.prototype.forEach` method
13682forEach: function forEach(callback /* , thisArg */) {
13683var entries = getInternalParamsState(this).entries;
13684var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined, 3);
13685var index = 0;
13686var entry;
13687while (index < entries.length) {
13688entry = entries[index++];
13689boundFunction(entry.value, entry.key, this);
13690}
13691},
13692// `URLSearchParams.prototype.keys` method
13693keys: function keys() {
13694return new URLSearchParamsIterator(this, 'keys');
13695},
13696// `URLSearchParams.prototype.values` method
13697values: function values() {
13698return new URLSearchParamsIterator(this, 'values');
13699},
13700// `URLSearchParams.prototype.entries` method
13701entries: function entries() {
13702return new URLSearchParamsIterator(this, 'entries');
13703}
13704}, { enumerable: true });
13705// `URLSearchParams.prototype[@@iterator]` method
13706redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries);
13707// `URLSearchParams.prototype.toString` method
13708// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
13709redefine(URLSearchParamsPrototype, 'toString', function toString() {
13710var entries = getInternalParamsState(this).entries;
13711var result = [];
13712var index = 0;
13713var entry;
13714while (index < entries.length) {
13715entry = entries[index++];
13716result.push(serialize(entry.key) + '=' + serialize(entry.value));
13717} return result.join('&');
13718}, { enumerable: true });
13719setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
13720$({ global: true, forced: !USE_NATIVE_URL }, {
13721URLSearchParams: URLSearchParamsConstructor
13722});
13723// Wrap `fetch` for correct work with polyfilled `URLSearchParams`
13724// https://github.com/zloirock/core-js/issues/674
13725if (!USE_NATIVE_URL && typeof $fetch == 'function' && typeof Headers == 'function') {
13726$({ global: true, enumerable: true, forced: true }, {
13727fetch: function fetch(input /* , init */) {
13728var args = [input];
13729var init, body, headers;
13730if (arguments.length > 1) {
13731init = arguments[1];
13732if (isObject(init)) {
13733body = init.body;
13734if (classof(body) === URL_SEARCH_PARAMS) {
13735headers = init.headers ? new Headers(init.headers) : new Headers();
13736if (!headers.has('content-type')) {
13737headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
13738}
13739init = create(init, {
13740body: createPropertyDescriptor(0, String(body)),
13741headers: createPropertyDescriptor(0, headers)
13742});
13743}
13744}
13745args.push(init);
13746} return $fetch.apply(this, args);
13747}
13748});
13749}
13750module.exports = {
13751URLSearchParams: URLSearchParamsConstructor,
13752getState: getInternalParamsState
13753};
13754/***/ }),
13755/***/ 285:
13756/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
13757"use strict";
13758// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
13759__webpack_require__(8783);
13760var $ = __webpack_require__(2109);
13761var DESCRIPTORS = __webpack_require__(9781);
13762var USE_NATIVE_URL = __webpack_require__(590);
13763var global = __webpack_require__(7854);
13764var defineProperties = __webpack_require__(6048);
13765var redefine = __webpack_require__(1320);
13766var anInstance = __webpack_require__(5787);
13767var has = __webpack_require__(6656);
13768var assign = __webpack_require__(1574);
13769var arrayFrom = __webpack_require__(8457);
13770var codeAt = __webpack_require__(8710).codeAt;
13771var toASCII = __webpack_require__(3197);
13772var setToStringTag = __webpack_require__(8003);
13773var URLSearchParamsModule = __webpack_require__(1637);
13774var InternalStateModule = __webpack_require__(9909);
13775var NativeURL = global.URL;
13776var URLSearchParams = URLSearchParamsModule.URLSearchParams;
13777var getInternalSearchParamsState = URLSearchParamsModule.getState;
13778var setInternalState = InternalStateModule.set;
13779var getInternalURLState = InternalStateModule.getterFor('URL');
13780var floor = Math.floor;
13781var pow = Math.pow;
13782var INVALID_AUTHORITY = 'Invalid authority';
13783var INVALID_SCHEME = 'Invalid scheme';
13784var INVALID_HOST = 'Invalid host';
13785var INVALID_PORT = 'Invalid port';
13786var ALPHA = /[A-Za-z]/;
13787var ALPHANUMERIC = /[\d+-.A-Za-z]/;
13788var DIGIT = /\d/;
13789var HEX_START = /^(0x|0X)/;
13790var OCT = /^[0-7]+$/;
13791var DEC = /^\d+$/;
13792var HEX = /^[\dA-Fa-f]+$/;
13793/* eslint-disable no-control-regex -- safe */
13794var FORBIDDEN_HOST_CODE_POINT = /[\u0000\t\u000A\u000D #%/:?@[\\]]/;
13795var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\u0000\t\u000A\u000D #/:?@[\\]]/;
13796var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;
13797var TAB_AND_NEW_LINE = /[\t\u000A\u000D]/g;
13798/* eslint-enable no-control-regex -- safe */
13799var EOF;
13800var parseHost = function (url, input) {
13801var result, codePoints, index;
13802if (input.charAt(0) == '[') {
13803if (input.charAt(input.length - 1) != ']') return INVALID_HOST;
13804result = parseIPv6(input.slice(1, -1));
13805if (!result) return INVALID_HOST;
13806url.host = result;
13807// opaque host
13808} else if (!isSpecial(url)) {
13809if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST;
13810result = '';
13811codePoints = arrayFrom(input);
13812for (index = 0; index < codePoints.length; index++) {
13813result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
13814}
13815url.host = result;
13816} else {
13817input = toASCII(input);
13818if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST;
13819result = parseIPv4(input);
13820if (result === null) return INVALID_HOST;
13821url.host = result;
13822}
13823};
13824var parseIPv4 = function (input) {
13825var parts = input.split('.');
13826var partsLength, numbers, index, part, radix, number, ipv4;
13827if (parts.length && parts[parts.length - 1] == '') {
13828parts.pop();
13829}
13830partsLength = parts.length;
13831if (partsLength > 4) return input;
13832numbers = [];
13833for (index = 0; index < partsLength; index++) {
13834part = parts[index];
13835if (part == '') return input;
13836radix = 10;
13837if (part.length > 1 && part.charAt(0) == '0') {
13838radix = HEX_START.test(part) ? 16 : 8;
13839part = part.slice(radix == 8 ? 1 : 2);
13840}
13841if (part === '') {
13842number = 0;
13843} else {
13844if (!(radix == 10 ? DEC : radix == 8 ? OCT : HEX).test(part)) return input;
13845number = parseInt(part, radix);
13846}
13847numbers.push(number);
13848}
13849for (index = 0; index < partsLength; index++) {
13850number = numbers[index];
13851if (index == partsLength - 1) {
13852if (number >= pow(256, 5 - partsLength)) return null;
13853} else if (number > 255) return null;
13854}
13855ipv4 = numbers.pop();
13856for (index = 0; index < numbers.length; index++) {
13857ipv4 += numbers[index] * pow(256, 3 - index);
13858}
13859return ipv4;
13860};
13861// eslint-disable-next-line max-statements -- TODO
13862var parseIPv6 = function (input) {
13863var address = [0, 0, 0, 0, 0, 0, 0, 0];
13864var pieceIndex = 0;
13865var compress = null;
13866var pointer = 0;
13867var value, length, numbersSeen, ipv4Piece, number, swaps, swap;
13868var char = function () {
13869return input.charAt(pointer);
13870};
13871if (char() == ':') {
13872if (input.charAt(1) != ':') return;
13873pointer += 2;
13874pieceIndex++;
13875compress = pieceIndex;
13876}
13877while (char()) {
13878if (pieceIndex == 8) return;
13879if (char() == ':') {
13880if (compress !== null) return;
13881pointer++;
13882pieceIndex++;
13883compress = pieceIndex;
13884continue;
13885}
13886value = length = 0;
13887while (length < 4 && HEX.test(char())) {
13888value = value * 16 + parseInt(char(), 16);
13889pointer++;
13890length++;
13891}
13892if (char() == '.') {
13893if (length == 0) return;
13894pointer -= length;
13895if (pieceIndex > 6) return;
13896numbersSeen = 0;
13897while (char()) {
13898ipv4Piece = null;
13899if (numbersSeen > 0) {
13900if (char() == '.' && numbersSeen < 4) pointer++;
13901else return;
13902}
13903if (!DIGIT.test(char())) return;
13904while (DIGIT.test(char())) {
13905number = parseInt(char(), 10);
13906if (ipv4Piece === null) ipv4Piece = number;
13907else if (ipv4Piece == 0) return;
13908else ipv4Piece = ipv4Piece * 10 + number;
13909if (ipv4Piece >
13909 255) return;
13910pointer++;
13911}
13912address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
13913numbersSeen++;
13914if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;
13915}
13916if (numbersSeen != 4) return;
13917break;
13918} else if (char() == ':') {
13919pointer++;
13920if (!char()) return;
13921} else if (char()) return;
13922address[pieceIndex++] = value;
13923}
13924if (compress !== null) {
13925swaps = pieceIndex - compress;
13926pieceIndex = 7;
13927while (pieceIndex != 0 && swaps > 0) {
13928swap = address[pieceIndex];
13929address[pieceIndex--] = address[compress + swaps - 1];
13930address[compress + --swaps] = swap;
13931}
13932} else if (pieceIndex != 8) return;
13933return address;
13934};
13935var findLongestZeroSequence = function (ipv6) {
13936var maxIndex = null;
13937var maxLength = 1;
13938var currStart = null;
13939var currLength = 0;
13940var index = 0;
13941for (; index < 8; index++) {
13942if (ipv6[index] !== 0) {
13943if (currLength > maxLength) {
13944maxIndex = currStart;
13945maxLength = currLength;
13946}
13947currStart = null;
13948currLength = 0;
13949} else {
13950if (currStart === null) currStart = index;
13951++currLength;
13952}
13953}
13954if (currLength > maxLength) {
13955maxIndex = currStart;
13956maxLength = currLength;
13957}
13958return maxIndex;
13959};
13960var serializeHost = function (host) {
13961var result, index, compress, ignore0;
13962// ipv4
13963if (typeof host == 'number') {
13964result = [];
13965for (index = 0; index < 4; index++) {
13966result.unshift(host % 256);
13967host = floor(host / 256);
13968} return result.join('.');
13969// ipv6
13970} else if (typeof host == 'object') {
13971result = '';
13972compress = findLongestZeroSequence(host);
13973for (index = 0; index < 8; index++) {
13974if (ignore0 && host[index] === 0) continue;
13975if (ignore0) ignore0 = false;
13976if (compress === index) {
13977result += index ? ':' : '::';
13978ignore0 = true;
13979} else {
13980result += host[index].toString(16);
13981if (index < 7) result += ':';
13982}
13983}
13984return '[' + result + ']';
13985} return host;
13986};
13987var C0ControlPercentEncodeSet = {};
13988var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
13989' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
13990});
13991var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
13992'#': 1, '?': 1, '{': 1, '}': 1
13993});
13994var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
13995'/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
13996});
13997var percentEncode = function (char, set) {
13998var code = codeAt(char, 0);
13999return code > 0x20 && code < 0x7F && !has(set, char) ? char : encodeURIComponent(char);
14000};
14001var specialSchemes = {
14002ftp: 21,
14003file: null,
14004http: 80,
14005https: 443,
14006ws: 80,
14007wss: 443
14008};
14009var isSpecial = function (url) {
14010return has(specialSchemes, url.scheme);
14011};
14012var includesCredentials = function (url) {
14013return url.username != '' || url.password != '';
14014};
14015var cannotHaveUsernamePasswordPort = function (url) {
14016return !url.host || url.cannotBeABaseURL || url.scheme == 'file';
14017};
14018var isWindowsDriveLetter = function (string, normalized) {
14019var second;
14020return string.length == 2 && ALPHA.test(string.charAt(0))
14021&& ((second = string.charAt(1)) == ':' || (!normalized && second == '|'));
14022};
14023var startsWithWindowsDriveLetter = function (string) {
14024var third;
14025return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && (
14026string.length == 2 ||
14027((third = string.charAt(2)) === '/' || third === '\\' || third === '?' || third === '#')
14028);
14029};
14030var shortenURLsPath = function (url) {
14031var path = url.path;
14032var pathSize = path.length;
14033if (pathSize && (url.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {
14034path.pop();
14035}
14036};
14037var isSingleDot = function (segment) {
14038return segment === '.' || segment.toLowerCase() === '%2e';
14039};
14040var isDoubleDot = function (segment) {
14041segment = segment.toLowerCase();
14042return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
14043};
14044// States:
14045var SCHEME_START = {};
14046var SCHEME = {};
14047var NO_SCHEME = {};
14048var SPECIAL_RELATIVE_OR_AUTHORITY = {};
14049var PATH_OR_AUTHORITY = {};
14050var RELATIVE = {};
14051var RELATIVE_SLASH = {};
14052var SPECIAL_AUTHORITY_SLASHES = {};
14053var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
14054var AUTHORITY = {};
14055var HOST = {};
14056var HOSTNAME = {};
14057var PORT = {};
14058var FILE = {};
14059var FILE_SLASH = {};
14060var FILE_HOST = {};
14061var PATH_START = {};
14062var PATH = {};
14063var CANNOT_BE_A_BASE_URL_PATH = {};
14064var QUERY = {};
14065var FRAGMENT = {};
14066// eslint-disable-next-line max-statements -- TODO
14067var parseURL = function (url, input, stateOverride, base) {
14068var state = stateOverride || SCHEME_START;
14069var pointer = 0;
14070var buffer = '';
14071var seenAt = false;
14072var seenBracket = false;
14073var seenPasswordToken = false;
14074var codePoints, char, bufferCodePoints, failure;
14075if (!stateOverride) {
14076url.scheme = '';
14077url.username = '';
14078url.password = '';
14079url.host = null;
14080url.port = null;
14081url.path = [];
14082url.query = null;
14083url.fragment = null;
14084url.cannotBeABaseURL = false;
14085input = input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');
14086}
14087input = input.replace(TAB_AND_NEW_LINE, '');
14088codePoints = arrayFrom(input);
14089while (pointer <= codePoints.length) {
14090char = codePoints[pointer];
14091switch (state) {
14092case SCHEME_START:
14093if (char && ALPHA.test(char)) {
14094buffer += char.toLowerCase();
14095state = SCHEME;
14096} else if (!stateOverride) {
14097state = NO_SCHEME;
14098continue;
14099} else return INVALID_SCHEME;
14100break;
14101case SCHEME:
14102if (char && (ALPHANUMERIC.test(char) || char == '+' || char == '-' || char == '.')) {
14103buffer += char.toLowerCase();
14104} else if (char == ':') {
14105if (stateOverride && (
14106(isSpecial(url) != has(specialSchemes, buffer)) ||
14107(buffer == 'file' && (includesCredentials(url) || url.port !== null)) ||
14108(url.scheme == 'file' && !url.host)
14109)) return;
14110url.scheme = buffer;
14111if (stateOverride) {
14112if (isSpecial(url) && specialSchemes[url.scheme] == url.port) url.port = null;
14113return;
14114}
14115buffer = '';
14116if (url.scheme == 'file') {
14117state = FILE;
14118} else if (isSpecial(url) && base && base.scheme == url.scheme) {
14119state = SPECIAL_RELATIVE_OR_AUTHORITY;
14120} else if (isSpecial(url)) {
14121state = SPECIAL_AUTHORITY_SLASHES;
14122} else if (codePoints[pointer + 1] == '/') {
14123state = PATH_OR_AUTHORITY;
14124pointer++;
14125} else {
14126url.cannotBeABaseURL = true;
14127url.path.push('');
14128state = CANNOT_BE_A_BASE_URL_PATH;
14129}
14130} else if (!stateOverride) {
14131buffer = '';
14132state = NO_SCHEME;
14133pointer = 0;
14134continue;
14135} else return INVALID_SCHEME;
14136break;
14137case NO_SCHEME:
14138if (!base || (base.cannotBeABaseURL && char != '#')) return INVALID_SCHEME;
14139if (base.cannotBeABaseURL && char == '#') {
14140url.scheme = base.scheme;
14141url.path = base.path.slice();
14142url.query = base.query;
14143url.fragment = '';
14144url.cannotBeABaseURL = true;
14145state = FRAGMENT;
14146break;
14147}
14148state = base.scheme == 'file' ? FILE : RELATIVE;
14149continue;
14150case SPECIAL_RELATIVE_OR_AUTHORITY:
14151if (char == '/' && codePoints[pointer + 1] == '/') {
14152state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
14153pointer++;
14154} else {
14155state = RELATIVE;
14156continue;
14157} break;
14158case PATH_OR_AUTHORITY:
14159if (char == '/') {
14160state = AUTHORITY;
14161break;
14162} else {
14163state = PATH;
14164continue;
14165}
14166case RELATIVE:
14167url.scheme = base.scheme;
14168if (char == EOF) {
14169url.username = base.username;
14170url.password = base.password;
14171url.host = base.host;
14172url.port = base.port;
14173url.path = base.path.slice();
14174url.query = base.query;
14175} else if (char == '/' || (char == '\\' && isSpecial(url))) {
14176state = RELATIVE_SLASH;
14177} else if (char == '?') {
14178url.username = base.username;
14179url.password = base.password;
14180url.host = base.host;
14181url.port = base.port;
14182url.path = base.path.slice();
14183url.query = '';
14184state = QUERY;
14185} else if (char == '#') {
14186url.username = base.username;
14187url.password = base.password;
14188url.host = base.host;
14189url.port = base.port;
14190url.path = base.path.slice();
14191url.query = base.query;
14192url.fragment = '';
14193state = FRAGMENT;
14194} else {
14195url.username = base.username;
14196url.password = base.password;
14197url.host = base.host;
14198url.port = base.port;
14199url.path = base.path.slice();
14200url.path.pop();
14201state = PATH;
14202continue;
14203} break;
14204case RELATIVE_SLASH:
14205if (isSpecial(url) && (char == '/' || char == '\\')) {
14206state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
14207} else if (char == '/') {
14208state = AUTHORITY;
14209} else {
14210url.username = base.username;
14211url.password = base.password;
14212url.host = base.host;
14213url.port = base.port;
14214state = PATH;
14215continue;
14216} break;
14217case SPECIAL_AUTHORITY_SLASHES:
14218state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
14219if (char != '/' || buffer.charAt(pointer + 1) != '/') continue;
14220pointer++;
14221break;
14222case SPECIAL_AUTHORITY_IGNORE_SLASHES:
14223if (char != '/' && char != '\\') {
14224state = AUTHORITY;
14225continue;
14226} break;
14227case AUTHORITY:
14228if (char == '@') {
14229if (seenAt) buffer = '%40' + buffer;
14230seenAt = true;
14231bufferCodePoints = arrayFrom(buffer);
14232for (var i = 0; i < bufferCodePoints.length; i++) {
14233var codePoint = bufferCodePoints[i];
14234if (codePoint == ':' && !seenPasswordToken) {
14235seenPasswordToken = true;
14236continue;
14237}
14238var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
14239if (seenPasswordToken) url.password += encodedCodePoints;
14240else url.username += encodedCodePoints;
14241}
14242buffer = '';
14243} else if (
14244char == EOF || char == '/' || char == '?' || char == '#' ||
14245(char == '\\' && isSpecial(url))
14246) {
14247if (seenAt && buffer == '') return INVALID_AUTHORITY;
14248pointer -= arrayFrom(buffer).length + 1;
14249buffer = '';
14250state = HOST;
14251} else buffer += char;
14252break;
14253case HOST:
14254case HOSTNAME:
14255if (stateOverride && url.scheme == 'file') {
14256state = FILE_HOST;
14257continue;
14258} else if (char == ':' && !seenBracket) {
14259if (buffer == '') return INVALID_HOST;
14260failure = parseHost(url, buffer);
14261if (failure) return failure;
14262buffer = '';
14263state = PORT;
14264if (stateOverride == HOSTNAME) return;
14265} else if (
14266char == EOF || char == '/' || char == '?' || char == '#' ||
14267(char == '\\' && isSpecial(url))
14268) {
14269if (isSpecial(url) && buffer == '') return INVALID_HOST;
14270if (stateOverride && buffer == '' && (includesCredentials(url) || url.port !== null)) return;
14271failure = parseHost(url, buffer);
14272if (failure) return failure;
14273buffer = '';
14274state = PATH_START;
14275if (stateOverride) return;
14276continue;
14277} else {
14278if (char == '[') seenBracket = true;
14279else if (char == ']') seenBracket = false;
14280buffer += char;
14281} break;
14282case PORT:
14283if (DIGIT.test(char)) {
14284buffer += char;
14285} else if (
14286char == EOF || char == '/' || char == '?' || char == '#' ||
14287(char == '\\' && isSpecial(url)) ||
14288stateOverride
14289) {
14290if (buffer != '') {
14291var port = parseInt(buffer, 10);
14292if (port > 0xFFFF) return INVALID_PORT;
14293url.port = (isSpecial(url) && port === specialSchemes[url.scheme]) ? null : port;
14294buffer = '';
14295}
14296if (stateOverride) return;
14297state = PATH_START;
14298continue;
14299} else return INVALID_PORT;
14300break;
14301case FILE:
14302url.scheme = 'file';
14303if (char == '/' || char == '\\') state = FILE_SLASH;
14304else if (base && base.scheme == 'file') {
14305if (char == EOF) {
14306url.host = base.host;
14307url.path = base.path.slice();
14308url.query = base.query;
14309} else if (char == '?') {
14310url.host = base.host;
14311url.path = base.path.slice();
14312url.query = '';
14313state = QUERY;
14314} else if (char == '#') {
14315url.host = base.host;
14316url.path = base.path.slice();
14317url.query = base.query;
14318url.fragment = '';
14319state = FRAGMENT;
14320} else {
14321if (!startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {
14322url.host = base.host;
14323url.path = base.path.slice();
14324shortenURLsPath(url);
14325}
14326state = PATH;
14327continue;
14328}
14329} else {
14330state = PATH;
14331continue;
14332} break;
14333case FILE_SLASH:
14334if (char == '/' || char == '\\') {
14335state = FILE_HOST;
14336break;
14337}
14338if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {
14339if (isWindowsDriveLetter(base.path[0], true)) url.path.push(base.path[0]);
14340else url.host = base.host;
14341}
14342state = PATH;
14343continue;
14344case FILE_HOST:
14345if (char == EOF || char == '/' || char == '\\' || char == '?' || char == '#') {
14346if (!stateOverride && isWindowsDriveLetter(buffer)) {
14347state = PATH;
14348} else if (buffer == '') {
14349url.host = '';
14350if (stateOverride) return;
14351state = PATH_START;
14352} else {
14353failure = parseHost(url, buffer);
14354if (failure) return failure;
14355if (url.host == 'localhost') url.host = '';
14356if (stateOverride) return;
14357buffer = '';
14358state = PATH_START;
14359} continue;
14360} else buffer += char;
14361break;
14362case PATH_START:
14363if (isSpecial(url)) {
14364state = PATH;
14365if (char != '/' && char != '\\') continue;
14366} else if (!stateOverride && char == '?') {
14367url.query = '';
14368state = QUERY;
14369} else if (!stateOverride && char == '#') {
14370url.fragment = '';
14371state = FRAGMENT;
14372} else if (char != EOF) {
14373state = PATH;
14374if (char != '/') continue;
14375} break;
14376case PATH:
14377if (
14378char == EOF || char == '/' ||
14379(char == '\\' && isSpecial(url)) ||
14380(!stateOverride && (char == '?' || char == '#'))
14381) {
14382if (isDoubleDot(buffer)) {
14383shortenURLsPath(url);
14384if (char != '/' && !(char == '\\' && isSpecial(url))) {
14385url.path.push('');
14386}
14387} else if (isSingleDot(buffer)) {
14388if (char != '/' && !(char == '\\' && isSpecial(url))) {
14389url.path.push('');
14390}
14391} else {
14392if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
14393if (url.host) url.host = '';
14394buffer = buffer.charAt(0) + ':'; // normalize windows drive letter
14395}
14396url.path.push(buffer);
14397}
14398buffer = '';
14399if (url.scheme == 'file' && (char == EOF || char == '?' || char == '#')) {
14400while (url.path.length > 1 && url.path[0] === '') {
14401url.path.shift();
14402}
14403}
14404if (char == '?') {
14405url.query = '';
14406state = QUERY;
14407} else if (char == '#') {
14408url.fragment = '';
14409state = FRAGMENT;
14410}
14411} else {
14412buffer += percentEncode(char, pathPercentEncodeSet);
14413} break;
14414case CANNOT_BE_A_BASE_URL_PATH:
14415if (char == '?') {
14416url.query = '';
14417state = QUERY;
14418} else if (char == '#') {
14419url.fragment = '';
14420state = FRAGMENT;
14421} else if (char != EOF) {
14422url.path[0] += percentEncode(char, C0ControlPercentEncodeSet);
14423} break;
14424case QUERY:
14425if (!stateOverride && char == '#') {
14426url.fragment = '';
14427state = FRAGMENT;
14428} else if (char != EOF) {
14429if (char == "'" && isSpecial(url)) url.query += '%27';
14430else if (char == '#') url.query += '%23';
14431else url.query += percentEncode(char, C0ControlPercentEncodeSet);
14432} break;
14433case FRAGMENT:
14434if (char != EOF) url.fragment += percentEncode(char, fragmentPercentEncodeSet);
14435break;
14436}
14437pointer++;
14438}
14439};
14440// `URL` constructor
14441// https://url.spec.whatwg.org/#url-class
14442var URLConstructor = function URL(url /* , base */) {
14443var that = anInstance(this, URLConstructor, 'URL');
14444var base = arguments.length > 1 ? arguments[1] : undefined;
14445var urlString = String(url);
14446var state = setInternalState(that, { type: 'URL' });
14447var baseState, failure;
14448if (base !== undefined) {
14449if (base instanceof URLConstructor) baseState = getInternalURLState(base);
14450else {
14451failure = parseURL(baseState = {}, String(base));
14452if (failure) throw TypeError(failure);
14453}
14454}
14455failure = parseURL(state, urlString, null, baseState);
14456if (failure) throw TypeError(failure);
14457var searchParams = state.searchParams = new URLSearchParams();
14458var searchParamsState = getInternalSearchParamsState(searchParams);
14459searchParamsState.updateSearchParams(state.query);
14460searchParamsState.updateURL = function () {
14461state.query = String(searchParams) || null;
14462};
14463if (!DESCRIPTORS) {
14464that.href = serializeURL.call(that);
14465that.origin = getOrigin.call(that);
14466that.protocol = getProtocol.call(that);
14467that.username = getUsername.call(that);
14468that.password = getPassword.call(that);
14469that.host = getHost.call(that);
14470that.hostname = getHostname.call(that);
14471that.port = getPort.call(that);
14472that.pathname = getPathname.call(that);
14473that.search = getSearch.call(that);
14474that.searchParams = getSearchParams.call(that);
14475that.hash = getHash.call(that);
14476}
14477};
14478var URLPrototype = URLConstructor.prototype;
14479var serializeURL = function () {
14480var url = getInternalURLState(this);
14481var scheme = url.scheme;
14482var username = url.username;
14483var password = url.password;
14484var host = url.host;
14485var port = url.port;
14486var path = url.path;
14487var query = url.query;
14488var fragment = url.fragment;
14489var output = scheme + ':';
14490if (host !== null) {
14491output += '//';
14492if (includesCredentials(url)) {
14493output += username + (password ? ':' + password : '') + '@';
14494}
14495output += serializeHost(host);
14496if (port !== null) output += ':' + port;
14497} else if (scheme == 'file') output += '//';
14498output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';
14499if (query !== null) output += '?' + query;
14500if (fragment !== null) output += '#' + fragment;
14501return output;
14502};
14503var getOrigin = function () {
14504var url = getInternalURLState(this);
14505var scheme = url.scheme;
14506var port = url.port;
14507if (scheme == 'blob') try {
14508return new URL(scheme.path[0]).origin;
14509} catch (error) {
14510return 'null';
14511}
14512if (scheme == 'file' || !isSpecial(url)) return 'null';
14513return scheme + '://' + serializeHost(url.host) + (port !== null ? ':' + port : '');
14514};
14515var getProtocol = function () {
14516return getInternalURLState(this).scheme + ':';
14517};
14518var getUsername = function () {
14519return getInternalURLState(this).username;
14520};
14521var getPassword = function () {
14522return getInternalURLState(this).password;
14523};
14524var getHost = function () {
14525var url = getInternalURLState(this);
14526var host = url.host;
14527var port = url.port;
14528return host === null ? ''
14529: port === null ? serializeHost(host)
14530: serializeHost(host) + ':' + port;
14531};
14532var getHostname = function () {
14533var host = getInternalURLState(this).host;
14534return host === null ? '' : serializeHost(host);
14535};
14536var getPort = function () {
14537var port = getInternalURLState(this).port;
14538return port === null ? '' : String(port);
14539};
14540var getPathname = function () {
14541var url = getInternalURLState(this);
14542var path = url.path;
14543return url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';
14544};
14545var getSearch = function () {
14546var query = getInternalURLState(this).query;
14547return query ? '?' + query : '';
14548};
14549var getSearchParams = function () {
14550return getInternalURLState(this).searchParams;
14551};
14552var getHash = function () {
14553var fragment = getInternalURLState(this).fragment;
14554return fragment ? '#' + fragment : '';
14555};
14556var accessorDescriptor = function (getter, setter) {
14557return { get: getter, set: setter, configurable: true, enumerable: true };
14558};
14559if (DESCRIPTORS) {
14560defineProperties(URLPrototype, {
14561// `URL.prototype.href` accessors pair
14562// https://url.spec.whatwg.org/#dom-url-href
14563href: accessorDescriptor(serializeURL, function (href) {
14564var url = getInternalURLState(this);
14565var urlString = String(href);
14566var failure = parseURL(url, urlString);
14567if (failure) throw TypeError(failure);
14568getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);
14569}),
14570// `URL.prototype.origin` getter
14571// https://url.spec.whatwg.org/#dom-url-origin
14572origin: accessorDescriptor(getOrigin),
14573// `URL.prototype.protocol` accessors pair
14574// https://url.spec.whatwg.org/#dom-url-protocol
14575protocol: accessorDescriptor(getProtocol, function (protocol) {
14576var url = getInternalURLState(this);
14577parseURL(url, String(protocol) + ':', SCHEME_START);
14578}),
14579// `URL.prototype.username` accessors pair
14580// https://url.spec.whatwg.org/#dom-url-username
14581username: accessorDescriptor(getUsername, function (username) {
14582var url = getInternalURLState(this);
14583var codePoints = arrayFrom(String(username));
14584if (cannotHaveUsernamePasswordPort(url)) return;
14585url.username = '';
14586for (var i = 0; i < codePoints.length; i++) {
14587url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
14588}
14589}),
14590// `URL.prototype.password` accessors pair
14591// https://url.spec.whatwg.org/#dom-url-password
14592password: accessorDescriptor(getPassword, function (password) {
14593var url = getInternalURLState(this);
14594var codePoints = arrayFrom(String(password));
14595if (cannotHaveUsernamePasswordPort(url)) return;
14596url.password = '';
14597for (var i = 0; i < codePoints.length; i++) {
14598url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
14599}
14600}),
14601// `URL.prototype.host` accessors pair
14602// https://url.spec.whatwg.org/#dom-url-host
14603host: accessorDescriptor(getHost, function (host) {
14604var url = getInternalURLState(this);
14605if (url.cannotBeABaseURL) return;
14606parseURL(url, String(host), HOST);
14607}),
14608// `URL.prototype.hostname` accessors pair
14609// https://url.spec.whatwg.org/#dom-url-hostname
14610hostname: accessorDescriptor(getHostname, function (hostname) {
14611var url = getInternalURLState(this);
14612if (url.cannotBeABaseURL) return;
14613parseURL(url, String(hostname), HOSTNAME);
14614}),
14615// `URL.prototype.port` accessors pair
14616// https://url.spec.whatwg.org/#dom-url-port
14617port: accessorDescriptor(getPort, function (port) {
14618var url = getInternalURLState(this);
14619if (cannotHaveUsernamePasswordPort(url)) return;
14620port = String(port);
14621if (port == '') url.port = null;
14622else parseURL(url, port, PORT);
14623}),
14624// `URL.prototype.pathname` accessors pair
14625// https://url.spec.whatwg.org/#dom-url-pathname
14626pathname: accessorDescriptor(getPathname, function (pathname) {
14627var url = getInternalURLState(this);
14628if (url.cannotBeABaseURL) return;
14629url.path = [];
14630parseURL(url, pathname + '', PATH_START);
14631}),
14632// `URL.prototype.search` accessors pair
14633// https://url.spec.whatwg.org/#dom-url-search
14634search: accessorDescriptor(getSearch, function (search) {
14635var url = getInternalURLState(this);
14636search = String(search);
14637if (search == '') {
14638url.query = null;
14639} else {
14640if ('?' == search.charAt(0)) search = search.slice(1);
14641url.query = '';
14642parseURL(url, search, QUERY);
14643}
14644getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);
14645}),
14646// `URL.prototype.searchParams` getter
14647// https://url.spec.whatwg.org/#dom-url-searchparams
14648searchParams: accessorDescriptor(getSearchParams),
14649// `URL.prototype.hash` accessors pair
14650// https://url.spec.whatwg.org/#dom-url-hash
14651hash: accessorDescriptor(getHash, function (hash) {
14652var url = getInternalURLState(this);
14653hash = String(hash);
14654if (hash == '') {
14655url.fragment = null;
14656return;
14657}
14658if ('#' == hash.charAt(0)) hash = hash.slice(1);
14659url.fragment = '';
14660parseURL(url, hash, FRAGMENT);
14661})
14662});
14663}
14664// `URL.prototype.toJSON` method
14665// https://url.spec.whatwg.org/#dom-url-tojson
14666redefine(URLPrototype, 'toJSON', function toJSON() {
14667return serializeURL.call(this);
14668}, { enumerable: true });
14669// `URL.prototype.toString` method
14670// https://url.spec.whatwg.org/#URL-stringification-behavior
14671redefine(URLPrototype, 'toString', function toString() {
14672return serializeURL.call(this);
14673}, { enumerable: true });
14674if (NativeURL) {
14675var nativeCreateObjectURL = NativeURL.createObjectURL;
14676var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
14677// `URL.createObjectURL` method
14678// https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
14679// eslint-disable-next-line no-unused-vars -- required for `.length`
14680if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) {
14681return nativeCreateObjectURL.apply(NativeURL, arguments);
14682});
14683// `URL.revokeObjectURL` method
14684// https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
14685// eslint-disable-next-line no-unused-vars -- required for `.length`
14686if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) {
14687return nativeRevokeObjectURL.apply(NativeURL, arguments);
14688});
14689}
14690setToStringTag(URLConstructor, 'URL');
14691$({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
14692URL: URLConstructor
14693});
14694/***/ })
14695/******/ 	});
14696/************************************************************************/
14697/******/ 	// The module cache
14698/******/ 	var __webpack_module_cache__ = {};
14699/******/ 	
14700/******/ 	// The require function
14701/******/ 	function __webpack_require__(moduleId) {
14702/******/ 		// Check if module is in cache
14703/******/ 		if(__webpack_module_cache__[moduleId]) {
14704/******/ 			return __webpack_module_cache__[moduleId].exports;
14705/******/ 		}
14706/******/ 		// Create a new module (and put it into the cache)
14707/******/ 		var module = __webpack_module_cache__[moduleId] = {
14708/******/ 			// no module.id needed
14709/******/ 			// no module.loaded needed
14710/******/ 			exports: {}
14711/******/ 		};
14712/******/ 	
14713/******/ 		// Execute the module function
14714/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
14715/******/ 	
14716/******/ 		// Return the exports of the module
14717/******/ 		return module.exports;
14718/******/ 	}
14719/******/ 	
14720/************************************************************************/
14721/******/ 	/* webpack/runtime/define property getters */
14722/******/ 	!function() {
14723/******/ 		// define getter functions for harmony exports
14724/******/ 		__webpack_require__.d = function(exports, definition) {
14725/******/ 			for(var key in definition) {
14726/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
14727/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14728/******/ 				}
14729/******/ 			}
14730/******/ 		};
14731/******/ 	}();
14732/******/ 	
14733/******/ 	/* webpack/runtime/global */
14734/******/ 	!function() {
14735/******/ 		__webpack_require__.g = (function() {
14736/******/ 			if (typeof globalThis === 'object') return globalThis;
14737/******/ 			try {
14738/******/ 				return this || new Function('return this')();
14739/******/ 			} catch (e) {
14740/******/ 				if (typeof window === 'object') return window;
14741/******/ 			}
14742/******/ 		})();
14743/******/ 	}();
14744/******/ 	
14745/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
14746/******/ 	!function() {
14747/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
14748/******/ 	}();
14749/******/ 	
14750/******/ 	/* webpack/runtime/make namespace object */
14751/******/ 	!function() {
14752/******/ 		// define __esModule on exports
14753/******/ 		__webpack_require__.r = function(exports) {
14754/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
14755/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
14756/******/ 			}
14757/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
14758/******/ 		};
14759/******/ 	}();
14760/******/ 	
14761/************************************************************************/
14762var __webpack_exports__ = {};
14763// This entry need to be wrapped in an IIFE because it need to be in strict mode.
14764!function() {
14765"use strict";
14766// ESM COMPAT FLAG
14767__webpack_require__.r(__webpack_exports__);
14768// EXPORTS
14769__webpack_require__.d(__webpack_exports__, {
14770"Dropzone": function() { return /* reexport */ Dropzone; },
14771"default": function() { return /* binding */ dropzone_dist; }
14772});
14773// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
14774var es_array_concat = __webpack_require__(2222);
14775// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
14776var es_array_filter = __webpack_require__(7327);
14777// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
14778var es_array_index_of = __webpack_require__(2772);
14779// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
14780var es_array_iterator = __webpack_require__(6992);
14781// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
14782var es_array_map = __webpack_require__(1249);
14783// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
14784var es_array_slice = __webpack_require__(7042);
14785// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
14786var es_array_splice = __webpack_require__(561);
14787// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.constructor.js
14788var es_array_buffer_constructor = __webpack_require__(8264);
14789// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
14790var es_function_name = __webpack_require__(8309);
14791// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
14792var es_object_get_prototype_of = __webpack_require__(489);
14793// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
14794var es_object_to_string = __webpack_require__(1539);
14795// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
14796var es_regexp_exec = __webpack_require__(4916);
14797// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
14798var es_regexp_to_string = __webpack_require__(9714);
14799// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
14800var es_string_iterator = __webpack_require__(8783);
14801// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
14802var es_string_match = __webpack_require__(4723);
14803// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
14804var es_string_replace = __webpack_require__(5306);
14805// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
14806var es_string_split = __webpack_require__(3123);
14807// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
14808var es_string_trim = __webpack_require__(3210);
14809// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.uint8-array.js
14810var es_typed_array_uint8_array = __webpack_require__(2472);
14811// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.copy-within.js
14812var es_typed_array_copy_within = __webpack_require__(2990);
14813// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.every.js
14814var es_typed_array_every = __webpack_require__(8927);
14815// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.fill.js
14816var es_typed_array_fill = __webpack_require__(3105);
14817// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.filter.js
14818var es_typed_array_filter = __webpack_require__(5035);
14819// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.find.js
14820var es_typed_array_find = __webpack_require__(4345);
14821// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.find-index.js
14822var es_typed_array_find_index = __webpack_require__(7174);
14823// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.for-each.js
14824var es_typed_array_for_each = __webpack_require__(2846);
14825// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.includes.js
14826var es_typed_array_includes = __webpack_require__(4731);
14827// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.index-of.js
14828var es_typed_array_index_of = __webpack_require__(7209);
14829// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.iterator.js
14830var es_typed_array_iterator = __webpack_require__(6319);
14831// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.join.js
14832var es_typed_array_join = __webpack_require__(8867);
14833// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.last-index-of.js
14834var es_typed_array_last_index_of = __webpack_require__(7789);
14835// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.map.js
14836var es_typed_array_map = __webpack_require__(3739);
14837// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.reduce.js
14838var es_typed_array_reduce = __webpack_require__(9368);
14839// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.reduce-right.js
14840var es_typed_array_reduce_right = __webpack_require__(4483);
14841// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.reverse.js
14842var es_typed_array_reverse = __webpack_require__(2056);
14843// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.set.js
14844var es_typed_array_set = __webpack_require__(3462);
14845// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.slice.js
14846var es_typed_array_slice = __webpack_require__(678);
14847// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.some.js
14848var es_typed_array_some = __webpack_require__(7462);
14849// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.sort.js
14850var es_typed_array_sort = __webpack_require__(3824);
14851// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.subarray.js
14852var es_typed_array_subarray = __webpack_require__(5021);
14853// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-locale-string.js
14854var es_typed_array_to_locale_string = __webpack_require__(2974);
14855// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-string.js
14856var es_typed_array_to_string = __webpack_require__(5016);
14857// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
14858var web_dom_collections_for_each = __webpack_require__(4747);
14859// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
14860var web_dom_collections_iterator = __webpack_require__(3948);
14861// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.js
14862var web_url = __webpack_require__(285);
14863;// CONCATENATED MODULE: ./src/emitter.js
14864function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
14865function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14866function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
14867function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14868function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
14869function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
14870// The Emitter class provides the ability to call `.on()` on Dropzone to listen
14871// to events.
14872// It is strongly based on component's emitter class, and I removed the
14873// functionality because of the dependency hell with different frameworks.
14874var Emitter = /*#__PURE__*/function () {
14875function Emitter() {
14876_classCallCheck(this, Emitter);
14877}
14878_createClass(Emitter, [{
14879key: "on",
14880value: // Add an event listener for given event
14881function on(event, fn) {
14882this._callbacks = this._callbacks || {}; // Create namespace for this event
14883if (!this._callbacks[event]) {
14884this._callbacks[event] = [];
14885}
14886this._callbacks[event].push(fn);
14887return this;
14888}
14889}, {
14890key: "emit",
14891value: function emit(event) {
14892this._callbacks = this._callbacks || {};
14893var callbacks = this._callbacks[event];
14894for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
14895args[_key - 1] = arguments[_key];
14896}
14897if (callbacks) {
14898var _iterator = _createForOfIteratorHelper(callbacks, true),
14899_step;
14900try {
14901for (_iterator.s();
14901 !(_step = _iterator.n()).done;) {
14902var callback = _step.value;
14903callback.apply(this, args);
14904}
14905} catch (err) {
14906_iterator.e(err);
14907} finally {
14908_iterator.f();
14909}
14910} // trigger a corresponding DOM event
14911if (this.element) {
14912this.element.dispatchEvent(this.makeEvent("dropzone:" + event, {
14913args: args
14914}));
14915}
14916return this;
14917}
14918}, {
14919key: "makeEvent",
14920value: function makeEvent(eventName, detail) {
14921var params = {
14922bubbles: true,
14923cancelable: true,
14924detail: detail
14925};
14926if (typeof window.CustomEvent === "function") {
14927return new CustomEvent(eventName, params);
14928} else {
14929// IE 11 support
14930// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
14931var evt = document.createEvent("CustomEvent");
14932evt.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail);
14933return evt;
14934}
14935} // Remove event listener for given event. If fn is not provided, all event
14936// listeners for that event will be removed. If neither is provided, all
14937// event listeners will be removed.
14938}, {
14939key: "off",
14940value: function off(event, fn) {
14941if (!this._callbacks || arguments.length === 0) {
14942this._callbacks = {};
14943return this;
14944} // specific event
14945var callbacks = this._callbacks[event];
14946if (!callbacks) {
14947return this;
14948} // remove all handlers
14949if (arguments.length === 1) {
14950delete this._callbacks[event];
14951return this;
14952} // remove specific handler
14953for (var i = 0; i < callbacks.length; i++) {
14954var callback = callbacks[i];
14955if (callback === fn) {
14956callbacks.splice(i, 1);
14957break;
14958}
14959}
14960return this;
14961}
14962}]);
14963return Emitter;
14964}();
14965;// CONCATENATED MODULE: ./src/preview-template.html
14966// Module
14967var code = "<div class=\"dz-preview dz-file-preview\"> <div class=\"dz-image\"><img data-dz-thumbnail/></div> <div class=\"dz-details\"> <div class=\"dz-size\"><span data-dz-size></span></div> <div class=\"dz-filename\"><span data-dz-name></span></div> </div> <div class=\"dz-progress\"> <span class=\"dz-upload\" data-dz-uploadprogress></span> </div> <div class=\"dz-error-message\"><span data-dz-errormessage></span></div> <div class=\"dz-success-mark\"> <svg width=\"54px\" height=\"54px\" viewBox=\"0 0 54 54\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"> <title>Check</title> <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"> <path d=\"M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z\" stroke-opacity=\"0.198794158\" stroke=\"#747474\" fill-opacity=\"0.816519475\" fill=\"#FFFFFF\"></path> </g> </svg> </div> <div class=\"dz-error-mark\"> <svg width=\"54px\" height=\"54px\" viewBox=\"0 0 54 54\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"> <title>Error</title> <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"> <g stroke=\"#747474\" stroke-opacity=\"0.198794158\" fill=\"#FFFFFF\" fill-opacity=\"0.816519475\"> <path d=\"M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z\"></path> </g> </g> </svg> </div> </div> ";
14968// Exports
14969/* harmony default export */ var preview_template = (code);
14970;// CONCATENATED MODULE: ./src/options.js
14971function options_createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = options_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
14972function options_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return options_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return options_arrayLikeToArray(o, minLen); }
14973function options_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
14974var defaultOptions = {
14975/**
14976* Has to be specified on elements other than form (or when the form
14977* doesn't have an `action` attribute). You can also
14978* provide a function that will be called with `files` and
14979* must return the url (since `v3.12.0`)
14980*/
14981url: null,
14982/**
14983* Can be changed to `"put"` if necessary. You can also provide a function
14984* that will be called with `files` and must return the method (since `v3.12.0`).
14985*/
14986method: "post",
14987/**
14988* Will be set on the XHRequest.
14989*/
14990withCredentials: false,
14991/**
14992* The timeout for the XHR requests in milliseconds (since `v4.4.0`).
14993* If set to null or 0, no timeout is going to be set.
14994*/
14995timeout: null,
14996/**
14997* How many file uploads to process in parallel (See the
14998* Enqueuing file uploads documentation section for more info)
14999*/
15000parallelUploads: 2,
15001/**
15002* Whether to send multiple files in one request. If
15003* this it set to true, then the fallback file input element will
15004* have the `multiple` attribute as well. This option will
15005* also trigger additional events (like `processingmultiple`). See the events
15006* documentation section for more information.
15007*/
15008uploadMultiple: false,
15009/**
15010* Whether you want files to be uploaded in chunks to your server. This can't be
15011* used in combination with `uploadMultiple`.
15012*
15013* See [chunksUploaded](#config-chunksUploaded) for the callback to finalise an upload.
15014*/
15015chunking: false,
15016/**
15017* If `chunking` is enabled, this defines whether **every** file should be chunked,
15018* even if the file size is below chunkSize. This means, that the additional chunk
15019* form data will be submitted and the `chunksUploaded` callback will be invoked.
15020*/
15021forceChunking: false,
15022/**
15023* If `chunking` is `true`, then this defines the chunk size in bytes.
15024*/
15025chunkSize: 2000000,
15026/**
15027* If `true`, the individual chunks of a file are being uploaded simultaneously.
15028*/
15029parallelChunkUploads: false,
15030/**
15031* Whether a chunk should be retried if it fails.
15032*/
15033retryChunks: false,
15034/**
15035* If `retryChunks` is true, how many times should it be retried.
15036*/
15037retryChunksLimit: 3,
15038/**
15039* The maximum filesize (in bytes) that is allowed to be uploaded.
15040*/
15041maxFilesize: 256,
15042/**
15043* The name of the file param that gets transferred.
15044* **NOTE**: If you have the option  `uploadMultiple` set to `true`, then
15045* Dropzone will append `[]` to the name.
15046*/
15047paramName: "file",
15048/**
15049* Whether thumbnails for images should be generated
15050*/
15051createImageThumbnails: true,
15052/**
15053* In MB. When the filename exceeds this limit, the thumbnail will not be generated.
15054*/
15055maxThumbnailFilesize: 10,
15056/**
15057* If `null`, the ratio of the image will be used to calculate it.
15058*/
15059thumbnailWidth: 120,
15060/**
15061* The same as `thumbnailWidth`. If both are null, images will not be resized.
15062*/
15063thumbnailHeight: 120,
15064/**
15065* How the images should be scaled down in case both, `thumbnailWidth` and `thumbnailHeight` are provided.
15066* Can be either `contain` or `crop`.
15067*/
15068thumbnailMethod: "crop",
15069/**
15070* If set, images will be resized to these dimensions before being **uploaded**.
15071* If only one, `resizeWidth` **or** `resizeHeight` is provided, the original aspect
15072* ratio of the file will be preserved.
15073*
15074* The `options.transformFile` function uses these options, so if the `transformFile` function
15075* is overridden, these options don't do anything.
15076*/
15077resizeWidth: null,
15078/**
15079* See `resizeWidth`.
15080*/
15081resizeHeight: null,
15082/**
15083* The mime type of the resized image (before it gets uploaded to the server).
15084* If `null` the original mime type will be used. To force jpeg, for example, use `image/jpeg`.
15085* See `resizeWidth` for more information.
15086*/
15087resizeMimeType: null,
15088/**
15089* The quality of the resized images. See `resizeWidth`.
15090*/
15091resizeQuality: 0.8,
15092/**
15093* How the images should be scaled down in case both, `resizeWidth` and `resizeHeight` are provided.
15094* Can be either `contain` or `crop`.
15095*/
15096resizeMethod: "contain",
15097/**
15098* The base that is used to calculate the **displayed** filesize. You can
15099* change this to 1024 if you would rather display kibibytes, mebibytes,
15100* etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`
15101* not `1 kilobyte`. You can change this to `1024` if you don't care about
15102* validity.
15103*/
15104filesizeBase: 1000,
15105/**
15106* If not `null` defines how many files this Dropzone handles. If it exceeds,
15107* the event `maxfilesexceeded` will be called. The dropzone element gets the
15108* class `dz-max-files-reached` accordingly so you can provide visual
15109* feedback.
15110*/
15111maxFiles: null,
15112/**
15113* An optional object to send additional headers to the server. Eg:
15114* `{ "My-Awesome-Header": "header value" }`
15115*/
15116headers: null,
15117/**
15118* If `true`, the dropzone element itself will be clickable, if `false`
15119* nothing will be clickable.
15120*
15121* You can also pass an HTML element, a CSS selector (for multiple elements)
15122* or an array of those. In that case, all of those elements will trigger an
15123* upload when clicked.
15124*/
15125clickable: true,
15126/**
15127* Whether hidden files in directories should be ignored.
15128*/
15129ignoreHiddenFiles: true,
15130/**
15131* The default implementation of `accept` checks the file's mime type or
15132* extension against this list. This is a comma separated list of mime
15133* types or file extensions.
15134*
15135* Eg.: `image/*,application/pdf,.psd`
15136*
15137* If the Dropzone is `clickable` this option will also be used as
15138* [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)
15139* parameter on the hidden file input as well.
15140*/
15141acceptedFiles: null,
15142/**
15143* **Deprecated!**
15144* Use acceptedFiles instead.
15145*/
15146acceptedMimeTypes: null,
15147/**
15148* If false, files will be added to the queue but the queue will not be
15149* processed automatically.
15150* This can be useful if you need some additional user input before sending
15151* files (or if you want want all files sent at once).
15152* If you're ready to send the file simply call `myDropzone.processQueue()`.
15153*
15154* See the [enqueuing file uploads](#enqueuing-file-uploads) documentation
15155* section for more information.
15156*/
15157autoProcessQueue: true,
15158/**
15159* If false, files added to the dropzone will not be queued by default.
15160* You'll have to call `enqueueFile(file)` manually.
15161*/
15162autoQueue: true,
15163/**
15164* If `true`, this will add a link to every file preview to remove or cancel (if
15165* already uploading) the file. The `dictCancelUpload`, `dictCancelUploadConfirmation`
15166* and `dictRemoveFile` options are used for the wording.
15167*/
15168addRemoveLinks: false,
15169/**
15170* Defines where to display the file previews – if `null` the
15171* Dropzone element itself is used. Can be a plain `HTMLElement` or a CSS
15172* selector. The element should have the `dropzone-previews` class so
15173* the previews are displayed properly.
15174*/
15175previewsContainer: null,
15176/**
15177* Set this to `true` if you don't want previews to be shown.
15178*/
15179disablePreviews: false,
15180/**
15181* This is the element the hidden input field (which is used when clicking on the
15182* dropzone to trigger file selection) will be appended to. This might
15183* be important in case you use frameworks to switch the content of your page.
15184*
15185* Can be a selector string, or an element directly.
15186*/
15187hiddenInputContainer: "body",
15188/**
15189* If null, no capture type will be specified
15190* If camera, mobile devices will skip the file selection and choose camera
15191* If microphone, mobile devices will skip the file selection and choose the microphone
15192* If camcorder, mobile devices will skip the file selection and choose the camera in video mode
15193* On apple devices multiple must be set to false.  AcceptedFiles may need to
15194* be set to an appropriate mime type (e.g. "image/*", "audio/*", or "video/*").
15195*/
15196capture: null,
15197/**
15198* **Deprecated**. Use `renameFile` instead.
15199*/
15200renameFilename: null,
15201/**
15202* A function that is invoked before the file is uploaded to the server and renames the file.
15203* This function gets the `File` as argument and can use the `file.name`. The actual name of the
15204* file that gets used during the upload can be accessed through `file.upload.filename`.
15205*/
15206renameFile: null,
15207/**
15208* If `true` the fallback will be forced. This is very useful to test your server
15209* implementations first and make sure that everything works as
15210* expected without dropzone if you experience problems, and to test
15211* how your fallbacks will look.
15212*/
15213forceFallback: false,
15214/**
15215* The text used before any files are dropped.
15216*/
15217dictDefaultMessage: "Drop files here to upload",
15218/**
15219* The text that replaces the default message text it the browser is not supported.
15220*/
15221dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.",
15222/**
15223* The text that will be added before the fallback form.
15224* If you provide a  fallback element yourself, or if this option is `null` this will
15225* be ignored.
15226*/
15227dictFallbackText: "Please use the fallback form below to upload your files like in the olden days.",
15228/**
15229* If the filesize is too big.
15230* `{{filesize}}` and `{{maxFilesize}}` will be replaced with the respective configuration values.
15231*/
15232dictFileTooBig: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
15233/**
15234* If the file doesn't match the file type.
15235*/
15236dictInvalidFileType: "You can't upload files of this type.",
15237/**
15238* If the server response was invalid.
15239* `{{statusCode}}` will be replaced with the servers status code.
15240*/
15241dictResponseError: "Server responded with {{statusCode}} code.",
15242/**
15243* If `addRemoveLinks` is true, the text to be used for the cancel upload link.
15244*/
15245dictCancelUpload: "Cancel upload",
15246/**
15247* The text that is displayed if an upload was manually canceled
15248*/
15249dictUploadCanceled: "Upload canceled.",
15250/**
15251* If `addRemoveLinks` is true, the text to be used for confirmation when cancelling upload.
15252*/
15253dictCancelUploadConfirmation: "Are you sure you want to cancel this upload?",
15254/**
15255* If `addRemoveLinks` is true, the text to be used to remove a file.
15256*/
15257dictRemoveFile: "Remove file",
15258/**
15259* If this is not null, then the user will be prompted before removing a file.
15260*/
15261dictRemoveFileConfirmation: null,
15262/**
15263* Displayed if `maxFiles` is st and exceeded.
15264* The string `{{maxFiles}}` will be replaced by the configuration value.
15265*/
15266dictMaxFilesExceeded: "You can not upload any more files.",
15267/**
15268* Allows you to translate the different units. Starting with `tb` for terabytes and going down to
15269* `b` for bytes.
15270*/
15271dictFileSizeUnits: {
15272tb: "TB",
15273gb: "GB",
15274mb: "MB",
15275kb: "KB",
15276b: "b"
15277},
15278/**
15279* Called when dropzone initialized
15280* You can add event listeners here
15281*/
15282init: function init() {},
15283/**
15284* Can be an **object** of additional parameters to transfer to the server, **or** a `Function`
15285* that gets invoked with the `files`, `xhr` and, if it's a chunked upload, `chunk` arguments. In case
15286* of a function, this needs to return a map.
15287*
15288* The default implementation does nothing for normal uploads, but adds relevant information for
15289* chunked uploads.
15290*
15291* This is the same as adding hidden input fields in the form element.
15292*/
15293params: function params(files, xhr, chunk) {
15294if (chunk) {
15295return {
15296dzuuid: chunk.file.upload.uuid,
15297dzchunkindex: chunk.index,
15298dztotalfilesize: chunk.file.size,
15299dzchunksize: this.options.chunkSize,
15300dztotalchunkcount: chunk.file.upload.totalChunkCount,
15301dzchunkbyteoffset: chunk.index * this.options.chunkSize
15302};
15303}
15304},
15305/**
15306* A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)
15307* and a `done` function as parameters.
15308*
15309* If the done function is invoked without arguments, the file is "accepted" and will
15310* be processed. If you pass an error message, the file is rejected, and the error
15311* message will be displayed.
15312* This function will not be called if the file is too big or doesn't match the mime types.
15313*/
15314accept: function accept(file, done) {
15315return done();
15316},
15317/**
15318* The callback that will be invoked when all chunks have been uploaded for a file.
15319* It gets the file for which the chunks have been uploaded as the first parameter,
15320* and the `done` function as second. `done()` needs to be invoked when everything
15321* needed to finish the upload process is done.
15322*/
15323chunksUploaded: function chunksUploaded(file, done) {
15324done();
15325},
15326/**
15327* Gets called when the browser is not supported.
15328* The default implementation shows the fallback input field and adds
15329* a text.
15330*/
15331fallback: function fallback() {
15332// This code should pass in IE7... :(
15333var messageElement;
15334this.element.className = "".concat(this.element.className, " dz-browser-not-supported");
15335var _iterator = options_createForOfIteratorHelper(this.element.getElementsByTagName("div"), true),
15336_step;
15337try {
15338for (_iterator.s(); !(_step = _iterator.n()).done;) {
15339var child = _step.value;
15340if (/(^| )dz-message($| )/.test(child.className)) {
15341messageElement = child;
15342child.className = "dz-message"; // Removes the 'dz-default' class
15343break;
15344}
15345}
15346} catch (err) {
15347_iterator.e(err);
15348} finally {
15349_iterator.f();
15350}
15351if (!messageElement) {
15352messageElement = Dropzone.createElement('<div class="dz-message"><span></span></div>');
15353this.element.appendChild(messageElement);
15354}
15355var span = messageElement.getElementsByTagName("span")[0];
15356if (span) {
15357if (span.textContent != null) {
15358span.textContent = this.options.dictFallbackMessage;
15359} else if (span.innerText != null) {
15360span.innerText = this.options.dictFallbackMessage;
15361}
15362}
15363return this.element.appendChild(this.getFallbackForm());
15364},
15365/**
15366* Gets called to calculate the thumbnail dimensions.
15367*
15368* It gets `file`, `width` and `height` (both may be `null`) as parameters and must return an object c
15368ontaining:
15369*
15370*  - `srcWidth` & `srcHeight` (required)
15371*  - `trgWidth` & `trgHeight` (required)
15372*  - `srcX` & `srcY` (optional, default `0`)
15373*  - `trgX` & `trgY` (optional, default `0`)
15374*
15375* Those values are going to be used by `ctx.drawImage()`.
15376*/
15377resize: function resize(file, width, height, resizeMethod) {
15378var info = {
15379srcX: 0,
15380srcY: 0,
15381srcWidth: file.width,
15382srcHeight: file.height
15383};
15384var srcRatio = file.width / file.height; // Automatically calculate dimensions if not specified
15385if (width == null && height == null) {
15386width = info.srcWidth;
15387height = info.srcHeight;
15388} else if (width == null) {
15389width = height * srcRatio;
15390} else if (height == null) {
15391height = width / srcRatio;
15392} // Make sure images aren't upscaled
15393width = Math.min(width, info.srcWidth);
15394height = Math.min(height, info.srcHeight);
15395var trgRatio = width / height;
15396if (info.srcWidth > width || info.srcHeight > height) {
15397// Image is bigger and needs rescaling
15398if (resizeMethod === "crop") {
15399if (srcRatio > trgRatio) {
15400info.srcHeight = file.height;
15401info.srcWidth = info.srcHeight * trgRatio;
15402} else {
15403info.srcWidth = file.width;
15404info.srcHeight = info.srcWidth / trgRatio;
15405}
15406} else if (resizeMethod === "contain") {
15407// Method 'contain'
15408if (srcRatio > trgRatio) {
15409height = width / srcRatio;
15410} else {
15411width = height * srcRatio;
15412}
15413} else {
15414throw new Error("Unknown resizeMethod '".concat(resizeMethod, "'"));
15415}
15416}
15417info.srcX = (file.width - info.srcWidth) / 2;
15418info.srcY = (file.height - info.srcHeight) / 2;
15419info.trgWidth = width;
15420info.trgHeight = height;
15421return info;
15422},
15423/**
15424* Can be used to transform the file (for example, resize an image if necessary).
15425*
15426* The default implementation uses `resizeWidth` and `resizeHeight` (if provided) and resizes
15427* images according to those dimensions.
15428*
15429* Gets the `file` as the first parameter, and a `done()` function as the second, that needs
15430* to be invoked with the file when the transformation is done.
15431*/
15432transformFile: function transformFile(file, done) {
15433if ((this.options.resizeWidth || this.options.resizeHeight) && file.type.match(/image.*/)) {
15434return this.resizeImage(file, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, done);
15435} else {
15436return done(file);
15437}
15438},
15439/**
15440* A string that contains the template used for each dropped
15441* file. Change it to fulfill your needs but make sure to properly
15442* provide all elements.
15443*
15444* If you want to use an actual HTML element instead of providing a String
15445* as a config option, you could create a div with the id `tpl`,
15446* put the template inside it and provide the element like this:
15447*
15448*     document
15449*       .querySelector('#tpl')
15450*       .innerHTML
15451*
15452*/
15453previewTemplate: preview_template,
15454/*
15455Those functions register themselves to the events on init and handle all
15456the user interface specific stuff. Overwriting them won't break the upload
15457but can break the way it's displayed.
15458You can overwrite them if you don't like the default behavior. If you just
15459want to add an additional event handler, register it on the dropzone object
15460and don't overwrite those options.
15461*/
15462// Those are self explanatory and simply concern the DragnDrop.
15463drop: function drop(e) {
15464return this.element.classList.remove("dz-drag-hover");
15465},
15466dragstart: function dragstart(e) {},
15467dragend: function dragend(e) {
15468return this.element.classList.remove("dz-drag-hover");
15469},
15470dragenter: function dragenter(e) {
15471return this.element.classList.add("dz-drag-hover");
15472},
15473dragover: function dragover(e) {
15474return this.element.classList.add("dz-drag-hover");
15475},
15476dragleave: function dragleave(e) {
15477return this.element.classList.remove("dz-drag-hover");
15478},
15479paste: function paste(e) {},
15480// Called whenever there are no files left in the dropzone anymore, and the
15481// dropzone should be displayed as if in the initial state.
15482reset: function reset() {
15483return this.element.classList.remove("dz-started");
15484},
15485// Called when a file is added to the queue
15486// Receives `file`
15487addedfile: function addedfile(file) {
15488var _this = this;
15489if (this.element === this.previewsContainer) {
15490this.element.classList.add("dz-started");
15491}
15492if (this.previewsContainer && !this.options.disablePreviews) {
15493file.previewElement = Dropzone.createElement(this.options.previewTemplate.trim());
15494file.previewTemplate = file.previewElement; // Backwards compatibility
15495this.previewsContainer.appendChild(file.previewElement);
15496var _iterator2 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-name]"), true),
15497_step2;
15498try {
15499for (_iterator2.s();
15499 !(_step2 = _iterator2.n()).done;) {
15500var node = _step2.value;
15501node.textContent = file.name;
15502}
15503} catch (err) {
15504_iterator2.e(err);
15505} finally {
15506_iterator2.f();
15507}
15508var _iterator3 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-size]"), true),
15509_step3;
15510try {
15511for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
15512node = _step3.value;
15513node.innerHTML = this.filesize(file.size);
15514}
15515} catch (err) {
15516_iterator3.e(err);
15517} finally {
15518_iterator3.f();
15519}
15520if (this.options.addRemoveLinks) {
15521file._removeLink = Dropzone.createElement("<a class=\"dz-remove\" href=\"javascript:undefined;\" data-dz-remove>".concat(this.options.dictRemoveFile, "</a>"));
15522file.previewElement.appendChild(file._removeLink);
15523}
15524var removeFileEvent = function removeFileEvent(e) {
15525e.preventDefault();
15526e.stopPropagation();
15527if (file.status === Dropzone.UPLOADING) {
15528return Dropzone.confirm(_this.options.dictCancelUploadConfirmation, function () {
15529return _this.removeFile(file);
15530});
15531} else {
15532if (_this.options.dictRemoveFileConfirmation) {
15533return Dropzone.confirm(_this.options.dictRemoveFileConfirmation, function () {
15534return _this.removeFile(file);
15535});
15536} else {
15537return _this.removeFile(file);
15538}
15539}
15540};
15541var _iterator4 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-remove]"), true),
15542_step4;
15543try {
15544for (_iterator4.s();
15544 !(_step4 = _iterator4.n()).done;) {
15545var removeLink = _step4.value;
15546removeLink.addEventListener("click", removeFileEvent);
15547}
15548} catch (err) {
15549_iterator4.e(err);
15550} finally {
15551_iterator4.f();
15552}
15553}
15554},
15555// Called whenever a file is removed.
15556removedfile: function removedfile(file) {
15557if (file.previewElement != null && file.previewElement.parentNode != null) {
15558file.previewElement.parentNode.removeChild(file.previewElement);
15559}
15560return this._updateMaxFilesReachedClass();
15561},
15562// Called when a thumbnail has been generated
15563// Receives `file` and `dataUrl`
15564thumbnail: function thumbnail(file, dataUrl) {
15565if (file.previewElement) {
15566file.previewElement.classList.remove("dz-file-preview");
15567var _iterator5 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-thumbnail]"), true),
15568_step5;
15569try {
15570for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
15571var thumbnailElement = _step5.value;
15572thumbnailElement.alt = file.name;
15573thumbnailElement.src = dataUrl;
15574}
15575} catch (err) {
15576_iterator5.e(err);
15577} finally {
15578_iterator5.f();
15579}
15580return setTimeout(function () {
15581return file.previewElement.classList.add("dz-image-preview");
15582}, 1);
15583}
15584},
15585// Called whenever an error occurs
15586// Receives `file` and `message`
15587error: function error(file, message) {
15588if (file.previewElement) {
15589file.previewElement.classList.add("dz-error");
15590if (typeof message !== "string" && message.error) {
15591message = message.error;
15592}
15593var _iterator6 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-errormessage]"), true),
15594_step6;
15595try {
15596for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
15597var node = _step6.value;
15598node.textContent = message;
15599}
15600} catch (err) {
15601_iterator6.e(err);
15602} finally {
15603_iterator6.f();
15604}
15605}
15606},
15607errormultiple: function errormultiple() {},
15608// Called when a file gets processed. Since there is a cue, not all added
15609// files are processed immediately.
15610// Receives `file`
15611processing: function processing(file) {
15612if (file.previewElement) {
15613file.previewElement.classList.add("dz-processing");
15614if (file._removeLink) {
15615return file._removeLink.innerHTML = this.options.dictCancelUpload;
15616}
15617}
15618},
15619processingmultiple: function processingmultiple() {},
15620// Called whenever the upload progress gets updated.
15621// Receives `file`, `progress` (percentage 0-100) and `bytesSent`.
15622// To get the total number of bytes of the file, use `file.size`
15623uploadprogress: function uploadprogress(file, progress, bytesSent) {
15624if (file.previewElement) {
15625var _iterator7 = options_createForOfIteratorHelper(file.previewElement.querySelectorAll("[data-dz-uploadprogress]"), true),
15626_step7;
15627try {
15628for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
15629var node = _step7.value;
15630node.nodeName === "PROGRESS" ? node.value = progress : node.style.width = "".concat(progress, "%");
15631}
15632} catch (err) {
15633_iterator7.e(err);
15634} finally {
15635_iterator7.f();
15636}
15637}
15638},
15639// Called whenever the total upload progress gets updated.
15640// Called with totalUploadProgress (0-100), totalBytes and totalBytesSent
15641totaluploadprogress: function totaluploadprogress() {},
15642// Called just before the file is sent. Gets the `xhr` object as second
15643// parameter, so you can modify it (for example to add a CSRF token) and a
15644// `formData` object to add additional information.
15645sending: function sending() {},
15646sendingmultiple: function sendingmultiple() {},
15647// When the complete upload is finished and successful
15648// Receives `file`
15649success: function success(file) {
15650if (file.previewElement) {
15651return file.previewElement.classList.add("dz-success");
15652}
15653},
15654successmultiple: function successmultiple() {},
15655// When the upload is canceled.
15656canceled: function canceled(file) {
15657return this.emit("error", file, this.options.dictUploadCanceled);
15658},
15659canceledmultiple: function canceledmultiple() {},
15660// When the upload is finished, either with success or an error.
15661// Receives `file`
15662complete: function complete(file) {
15663if (file._removeLink) {
15664file._removeLink.innerHTML = this.options.dictRemoveFile;
15665}
15666if (file.previewElement) {
15667return file.previewElement.classList.add("dz-complete");
15668}
15669},
15670completemultiple: function completemultiple() {},
15671maxfilesexceeded: function maxfilesexceeded() {},
15672maxfilesreached: function maxfilesreached() {},
15673queuecomplete: function queuecomplete() {},
15674addedfiles: function addedfiles() {}
15675};
15676/* harmony default export */ var src_options = (defaultOptions);
15677;// CONCATENATED MODULE: ./src/dropzone.js
15678function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
15679function dropzone_createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = dropzone_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
15680function dropzone_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return dropzone_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return dropzone_arrayLikeToArray(o, minLen); }
15681function dropzone_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
15682function dropzone_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15683function dropzone_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15684function dropzone_createClass(Constructor, protoProps, staticProps) { if (protoProps) dropzone_defineProperties(Constructor.prototype, protoProps); if (staticProps) dropzone_defineProperties(Constructor, staticProps); return Constructor; }
15685function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
15685onstructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
15686function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
15687function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
15688function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
15689function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
15690function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
15691function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
15692var Dropzone = /*#__PURE__*/function (_Emitter) {
15693_inherits(Dropzone, _Emitter);
15694var _super = _createSuper(Dropzone);
15695function Dropzone(el, options) {
15696var _this;
15697dropzone_classCallCheck(this, Dropzone);
15698_this = _super.call(this);
15699var fallback, left;
15700_this.element = el; // For backwards compatibility since the version was in the prototype previously
15701_this.version = Dropzone.version;
15702_this.clickableElements = [];
15703_this.listeners = [];
15704_this.files = []; // All files
15705if (typeof _this.element === "string") {
15706_this.element = document.querySelector(_this.element);
15707} // Not checking if instance of HTMLElement or Element since IE9 is extremely weird.
15708if (!_this.element || _this.element.nodeType == null) {
15709throw new Error("Invalid dropzone element.");
15710}
15711if (_this.element.dropzone) {
15712throw new Error("Dropzone already attached.");
15713} // Now add this dropzone to the instances.
15714Dropzone.instances.push(_assertThisInitialized(_this)); // Put the dropzone inside the element itself.
15715_this.element.dropzone = _assertThisInitialized(_this);
15716var elementOptions = (left = Dropzone.optionsForElement(_this.element)) != null ? left : {};
15717_this.options = Dropzone.extend({}, src_options, elementOptions, options != null ? options : {});
15718_this.options.previewTemplate = _this.options.previewTemplate.replace(/\n*/g, ""); // If the browser failed, just call the fallback and leave
15719if (_this.options.forceFallback || !Dropzone.isBrowserSupported()) {
15720return _possibleConstructorReturn(_this, _this.options.fallback.call(_assertThisInitialized(_this)));
15721} // @options.url = @element.getAttribute "action" unless @options.url?
15722if (_this.options.url == null) {
15723_this.options.url = _this.element.getAttribute("action");
15724}
15725if (!_this.options.url) {
15726throw new Error("No URL provided.");
15727}
15728if (_this.options.acceptedFiles && _this.options.acceptedMimeTypes) {
15729throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");
15730}
15731if (_this.options.uploadMultiple && _this.options.chunking) {
15732throw new Error("You cannot set both: uploadMultiple and chunking.");
15733} // Backwards compatibility
15734if (_this.options.acceptedMimeTypes) {
15735_this.options.acceptedFiles = _this.options.acceptedMimeTypes;
15736delete _this.options.acceptedMimeTypes;
15737} // Backwards compatibility
15738if (_this.options.renameFilename != null) {
15739_this.options.renameFile = function (file) {
15740return _this.options.renameFilename.call(_assertThisInitialized(_this), file.name, file);
15741};
15742}
15743if (typeof _this.options.method === "string") {
15744_this.options.method = _this.options.method.toUpperCase();
15745}
15746if ((fallback = _this.getExistingFallback()) && fallback.parentNode) {
15747// Remove the fallback
15748fallback.parentNode.removeChild(fallback);
15749} // Display previews in the previewsContainer element or the Dropzone element unless explicitly set to false
15750if (_this.options.previewsContainer !== false) {
15751if (_this.options.previewsContainer) {
15752_this.previewsContainer = Dropzone.getElement(_this.options.previewsContainer, "previewsContainer");
15753} else {
15754_this.previewsContainer = _this.element;
15755}
15756}
15757if (_this.options.clickable) {
15758if (_this.options.clickable === true) {
15759_this.clickableElements = [_this.element];
15760} else {
15761_this.clickableElements = Dropzone.getElements(_this.options.clickable, "clickable");
15762}
15763}
15764_this.init();
15765return _this;
15766} // Returns all files that have been accepted
15767dropzone_createClass(Dropzone, [{
15768key: "getAcceptedFiles",
15769value: function getAcceptedFiles() {
15770return this.files.filter(function (file) {
15771return file.accepted;
15772}).map(function (file) {
15773return file;
15774});
15775} // Returns all files that have been rejected
15776// Not sure when that's going to be useful, but added for completeness.
15777}, {
15778key: "getRejectedFiles",
15779value: function getRejectedFiles() {
15780return this.files.filter(function (file) {
15781return !file.accepted;
15782}).map(function (file) {
15783return file;
15784});
15785}
15786}, {
15787key: "getFilesWithStatus",
15788value: function getFilesWithStatus(status) {
15789return this.files.filter(function (file) {
15790return file.status === status;
15791}).map(function (file) {
15792return file;
15793});
15794} // Returns all files that are in the queue
15795}, {
15796key: "getQueuedFiles",
15797value: function getQueuedFiles() {
15798return this.getFilesWithStatus(Dropzone.QUEUED);
15799}
15800}, {
15801key: "getUploadingFiles",
15802value: function getUploadingFiles() {
15803return this.getFilesWithStatus(Dropzone.UPLOADING);
15804}
15805}, {
15806key: "getAddedFiles",
15807value: function getAddedFiles() {
15808return this.getFilesWithStatus(Dropzone.ADDED);
15809} // Files that are either queued or uploading
15810}, {
15811key: "getActiveFiles",
15812value: function getActiveFiles() {
15813return this.files.filter(function (file) {
15814return file.status === Dropzone.UPLOADING || file.status === Dropzone.QUEUED;
15815}).map(function (file) {
15816return file;
15817});
15818} // The function that gets called when Dropzone is initialized. You
15819// can (and should) setup event listeners inside this function.
15820}, {
15821key: "init",
15822value: function init() {
15823var _this2 = this;
15824// In case it isn't set already
15825if (this.element.tagName === "form") {
15826this.element.setAttribute("enctype", "multipart/form-data");
15827}
15828if (this.element.classList.contains("dropzone") && !this.element.querySelector(".dz-message")) {
15829this.element.appendChild(Dropzone.createElement("<div class=\"dz-default dz-message\"><button class=\"dz-button\" type=\"button\">".concat(this.options.dictDefaultMessage, "</button></div>")));
15830}
15831if (this.clickableElements.length) {
15832var setupHiddenFileInput = function setupHiddenFileInput() {
15833if (_this2.hiddenFileInput) {
15834_this2.hiddenFileInput.parentNode.removeChild(_this2.hiddenFileInput);
15835}
15836_this2.hiddenFileInput = document.createElement("input");
15837_this2.hiddenFileInput.setAttribute("type", "file");
15838if (_this2.options.maxFiles === null || _this2.options.maxFiles > 1) {
15839_this2.hiddenFileInput.setAttribute("multiple", "multiple");
15840}
15841_this2.hiddenFileInput.className = "dz-hidden-input";
15842if (_this2.options.acceptedFiles !== null) {
15843_this2.hiddenFileInput.setAttribute("accept", _this2.options.acceptedFiles);
15844}
15845if (_this2.options.capture !== null) {
15846_this2.hiddenFileInput.setAttribute("capture", _this2.options.capture);
15847} // Making sure that no one can "tab" into this field.
15848_this2.hiddenFileInput.setAttribute("tabindex", "-1"); // Not setting `display="none"` because some browsers don't accept clicks
15849// on elements that aren't displayed.
15850_this2.hiddenFileInput.style.visibility = "hidden";
15851_this2.hiddenFileInput.style.position = "absolute";
15852_this2.hiddenFileInput.style.top = "0";
15853_this2.hiddenFileInput.style.left = "0";
15854_this2.hiddenFileInput.style.height = "0";
15855_this2.hiddenFileInput.style.width = "0";
15856Dropzone.getElement(_this2.options.hiddenInputContainer, "hiddenInputContainer").appendChild(_this2.hiddenFileInput);
15857_this2.hiddenFileInput.addEventListener("change", function () {
15858var files = _this2.hiddenFileInput.files;
15859if (files.length) {
15860var _iterator = dropzone_createForOfIteratorHelper(files, true),
15861_step;
15862try {
15863for (_iterator.s(); !(_step = _iterator.n()).done;) {
15864var file = _step.value;
15865_this2.addFile(file);
15866}
15867} catch (err) {
15868_iterator.e(err);
15869} finally {
15870_iterator.f();
15871}
15872}
15873_this2.emit("addedfiles", files);
15874setupHiddenFileInput();
15875});
15876};
15877setupHiddenFileInput();
15878}
15879this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all event listeners on the Dropzone object itself.
15880// They're not in @setupEventListeners() because they shouldn't be removed
15881// again when the dropzone gets disabled.
15882var _iterator2 = dropzone_createForOfIteratorHelper(this.events, true),
15883_step2;
15884try {
15885for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
15886var eventName = _step2.value;
15887this.on(eventName, this.options[eventName]);
15888}
15889} catch (err) {
15890_iterator2.e(err);
15891} finally {
15892_iterator2.f();
15893}
15894this.on("uploadprogress", function () {
15895return _this2.updateTotalUploadProgress();
15896});
15897this.on("removedfile", function () {
15898return _this2.updateTotalUploadProgress();
15899});
15900this.on("canceled", function (file) {
15901return _this2.emit("complete", file);
15902}); // Emit a `queuecomplete` event if all files finished uploading.
15903this.on("complete", function (file) {
15904if (_this2.getAddedFiles().length === 0 && _this2.getUploadingFiles().length === 0 && _this2.getQueuedFiles().length === 0) {
15905// This needs to be deferred so that `queuecomplete` really triggers after `complete`
15906return setTimeout(function () {
15907return _this2.emit("queuecomplete");
15908}, 0);
15909}
15910});
15911var containsFiles = function containsFiles(e) {
15912if (e.dataTransfer.types) {
15913// Because e.dataTransfer.types is an Object in
15914// IE, we need to iterate like this instead of
15915// using e.dataTransfer.types.some()
15916for (var i = 0; i < e.dataTransfer.types.length; i++) {
15917if (e.dataTransfer.types[i] === "Files") return true;
15918}
15919}
15920return false;
15921};
15922var noPropagation = function noPropagation(e) {
15923// If there are no files, we don't want to stop
15924// propagation so we don't interfere with other
15925// drag and drop behaviour.
15926if (!containsFiles(e)) return;
15927e.stopPropagation();
15928if (e.preventDefault) {
15929return e.preventDefault();
15930} else {
15931return e.returnValue = false;
15932}
15933}; // Create the listeners
15934this.listeners = [{
15935element: this.element,
15936events: {
15937dragstart: function dragstart(e) {
15938return _this2.emit("dragstart", e);
15939},
15940dragenter: function dragenter(e) {
15941noPropagation(e);
15942return _this2.emit("dragenter", e);
15943},
15944dragover: function dragover(e) {
15945// Makes it possible to drag files from chrome's download bar
15946// http://stackoverflow.com/questions/19526430/drag-and-drop-file-uploads-from-chrome-downloads-bar
15947// Try is required to prevent bug in Internet Explorer 11 (SCRIPT65535 exception)
15948var efct;
15949try {
15950efct = e.dataTransfer.effectAllowed;
15951} catch (error) {}
15952e.dataTransfer.dropEffect = "move" === efct || "linkMove" === efct ? "move" : "copy";
15953noPropagation(e);
15954return _this2.emit("dragover", e);
15955},
15956dragleave: function dragleave(e) {
15957return _this2.emit("dragleave", e);
15958},
15959drop: function drop(e) {
15960noPropagation(e);
15961return _this2.drop(e);
15962},
15963dragend: function dragend(e) {
15964return _this2.emit("dragend", e);
15965}
15966} // This is disabled right now, because the browsers don't implement it properly.
15967// "paste": (e) =>
15968//   noPropagation e
15969//   @paste e
15970}];
15971this.clickableElements.forEach(function (clickableElement) {
15972return _this2.listeners.push({
15973element: clickableElement,
15974events: {
15975click: function click(evt) {
15976// Only the actual dropzone or the message element should trigger file selection
15977if (clickableElement !== _this2.element || evt.target === _this2.element || Dropzone.elementInside(evt.target, _this2.element.querySelector(".dz-message"))) {
15978_this2.hiddenFileInput.click(); // Forward the click
15979}
15980return true;
15981}
15982}
15983});
15984});
15985this.enable();
15986return this.options.init.call(this);
15987} // Not fully tested yet
15988}, {
15989key: "destroy",
15990value: function destroy() {
15991this.disable();
15992this.removeAllFiles(true);
15993if (this.hiddenFileInput != null ? this.hiddenFileInput.parentNode : undefined) {
15994this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput);
15995this.hiddenFileInput = null;
15996}
15997delete this.element.dropzone;
15998return Dropzone.instances.splice(Dropzone.instances.indexOf(this), 1);
15999}
16000}, {
16001key: "updateTotalUploadProgress",
16002value: function updateTotalUploadProgress() {
16003var totalUploadProgress;
16004var totalBytesSent = 0;
16005var totalBytes = 0;
16006var activeFiles = this.getActiveFiles();
16007if (activeFiles.length) {
16008var _iterator3 = dropzone_createForOfIteratorHelper(this.getActiveFiles(), true),
16009_step3;
16010try {
16011for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
16012var file = _step3.value;
16013totalBytesSent += file.upload.bytesSent;
16014totalBytes += file.upload.total;
16015}
16016} catch (err) {
16017_iterator3.e(err);
16018} finally {
16019_iterator3.f();
16020}
16021totalUploadProgress = 100 * totalBytesSent / totalBytes;
16022} else {
16023totalUploadProgress = 100;
16024}
16025return this.emit("totaluploadprogress", totalUploadProgress, totalBytes, totalBytesSent);
16026} // @options.paramName can be a function taking one parameter rather than a string.
16027// A parameter name for a file is obtained simply by calling this with an index number.
16028}, {
16029key: "_getParamName",
16030value: function _getParamName(n) {
16031if (typeof this.options.paramName === "function") {
16032return this.options.paramName(n);
16033} else {
16034return "".concat(this.options.paramName).concat(this.options.uploadMultiple ? "[".concat(n, "]") : "");
16035}
16036} // If @options.renameFile is a function,
16037// the function will be used to rename the file.name before appending it to the formData
16038}, {
16039key: "_renameFile",
16040value: function _renameFile(file) {
16041if (typeof this.options.renameFile !== "function") {
16042return file.name;
16043}
16044return this.options.renameFile(file);
16045} // Returns a form that can be used as fallback if the browser does not support DragnDrop
16046//
16047// If the dropzone is already a form, only the input field and button are returned. Otherwise a complete form element is provided.
16048// This code has to pass in IE7 :(
16049}, {
16050key: "getFallbackForm",
16051value: function getFallbackForm() {
16052var existingFallback, form;
16053if (existingFallback = this.getExistingFallback()) {
16054return existingFallback;
16055}
16056var fieldsString = '<div class="dz-fallback">';
16057if (this.options.dictFallbackText) {
16058fieldsString += "<p>".concat(this.options.dictFallbackText, "</p>");
16059}
16060fieldsString += "<input type=\"file\" name=\"".concat(this._getParamName(0), "\" ").concat(this.options.uploadMultiple ? 'multiple="multiple"' : undefined, " /><input type=\"submit\" value=\"Upload!\"></div>");
16061var fields = Dropzone.createElement(fieldsString);
16062if (this.element.tagName !== "FORM") {
16063form = Dropzone.createElement("<form action=\"".concat(this.options.url, "\" enctype=\"multipart/form-data\" method=\"").concat(this.options.method, "\"></form>"));
16064form.appendChild(fields);
16065} else {
16066// Make sure that the enctype and method attributes are set properly
16067this.element.setAttribute("enctype", "multipart/form-data");
16068this.element.setAttribute("method", this.options.method);
16069}
16070return form != null ? form : fields;
16071} // Returns the fallback elements if they exist already
16072//
16073// This code has to pass in IE7 :(
16074}, {
16075key: "getExistingFallback",
16076value: function getExistingFallback() {
16077var getFallback = function getFallback(elements) {
16078var _iterator4 = dropzone_createForOfIteratorHelper(elements, true),
16079_step4;
16080try {
16081for (_iterator4.s();
vendor: 2,769 bytes, lines 16081-16175
16081 !(_step4 = _iterator4.n()).done;) {
16082var el = _step4.value;
16083if (/(^| )fallback($| )/.test(el.className)) {
16084return el;
16085}
16086}
16087} catch (err) {
16088_iterator4.e(err);
16089} finally {
16090_iterator4.f();
16091}
16092};
16093for (var _i = 0, _arr = ["div", "form"]; _i < _arr.length; _i++) {
16094var tagName = _arr[_i];
16095var fallback;
16096if (fallback = getFallback(this.element.getElementsByTagName(tagName))) {
16097return fallback;
16098}
16099}
16100} // Activates all listeners stored in @listeners
16101}, {
16102key: "setupEventListeners",
16103value: function setupEventListeners() {
16104return this.listeners.map(function (elementListeners) {
16105return function () {
16106var result = [];
16107for (var event in elementListeners.events) {
16108var listener = elementListeners.events[event];
16109result.push(elementListeners.element.addEventListener(event, listener, false));
16110}
16111return result;
16112}();
16113});
16114} // Deactivates all listeners stored in @listeners
16115}, {
16116key: "removeEventListeners",
16117value: function removeEventListeners() {
16118return this.listeners.map(function (elementListeners) {
16119return function () {
16120var result = [];
16121for (var event in elementListeners.events) {
16122var listener = elementListeners.events[event];
16123result.push(elementListeners.element.removeEventListener(event, listener, false));
16124}
16125return result;
16126}();
16127});
16128} // Removes all event listeners and cancels all files in the queue or being processed.
16129}, {
16130key: "disable",
16131value: function disable() {
16132var _this3 = this;
16133this.clickableElements.forEach(function (element) {
16134return element.classList.remove("dz-clickable");
16135});
16136this.removeEventListeners();
16137this.disabled = true;
16138return this.files.map(function (file) {
16139return _this3.cancelUpload(file);
16140});
16141}
16142}, {
16143key: "enable",
16144value: function enable() {
16145delete this.disabled;
16146this.clickableElements.forEach(function (element) {
16147return element.classList.add("dz-clickable");
16148});
16149return this.setupEventListeners();
16150} // Returns a nicely formatted filesize
16151}, {
16152key: "filesize",
16153value: function filesize(size) {
16154var selectedSize = 0;
16155var selectedUnit = "b";
16156if (size > 0) {
16157var units = ["tb", "gb", "mb", "kb", "b"];
16158for (var i = 0; i < units.length; i++) {
16159var unit = units[i];
16160var cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10;
16161if (size >= cutoff) {
16162selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i);
16163selectedUnit = unit;
16164break;
16165}
16166}
16167selectedSize = Math.round(10 * selectedSize) / 10; // Cutting of digits
16168}
16169return "<strong>".concat(selectedSize, "</strong> ").concat(this.options.dictFileSizeUnits[selectedUnit]);
16170} // Adds or removes the `dz-max-files-reached` class from the form.
16171}, {
16172key: "_updateMaxFilesReachedClass",
16173value: function _updateMaxFilesReachedClass() {
16174if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) {
16175if (this.getAcceptedFiles().length === this.options.maxFiles) {
16176this.emit("maxfilesreached", this.files);
16177}
16178return this.element.classList.add("dz-max-files-reached");
16179} else {
16180return this.element.classList.remove("dz-max-files-reached");
16181}
16182}
16183}, {
16184key: "drop",
16185value: function drop(e) {
16186if (!e.dataTransfer) {
16187return;
16188}
16189this.emit("drop", e); // Convert the FileList to an Array
16190// This is necessary for IE11
16191var files = [];
16192for (var i = 0; i < e.dataTransfer.files.length; i++) {
16193files[i] = e.dataTransfer.files[i];
16194} // Even if it's a folder, files.length will contain the folders.
16195if (files.length) {
16196var items = e.dataTransfer.items;
16197if (items && items.length && items[0].webkitGetAsEntry != null) {
16198// The browser supports dropping of folders, so handle items instead of files
16199this._addFilesFromItems(items);
16200} else {
16201this.handleFiles(files);
16202}
16203}
16204this.emit("addedfiles", files);
16205}
16206}, {
16207key: "paste",
16208value: function paste(e) {
16209if (__guard__(e != null ? e.clipboardData : undefined, function (x) {
16210return x.items;
16211}) == null) {
16212return;
16213}
16214this.emit("paste", e);
16215var items = e.clipboardData.items;
16216if (items.length) {
16217return this._addFilesFromItems(items);
16218}
16219}
16220}, {
16221key: "handleFiles",
16222value: function handleFiles(files) {
16223var _iterator5 = dropzone_createForOfIteratorHelper(files, true),
16224_step5;
16225try {
16226for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
16227var file = _step5.value;
16228this.addFile(file);
16229}
16230} catch (err) {
16231_iterator5.e(err);
16232} finally {
16233_iterator5.f();
16234}
16235} // When a folder is dropped (or files are pasted), items must be handled
16236// instead of files.
16237}, {
16238key: "_addFilesFromItems",
16239value: function _addFilesFromItems(items) {
16240var _this4 = this;
16241return function () {
16242var result = [];
16243var _iterator6 = dropzone_createForOfIteratorHelper(items, true),
16244_step6;
16245try {
16246for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
16247var item = _step6.value;
16248var entry;
16249if (item.webkitGetAsEntry != null && (entry = item.webkitGetAsEntry())) {
16250if (entry.isFile) {
16251result.push(_this4.addFile(item.getAsFile()));
16252} else if (entry.isDirectory) {
16253// Append all files from that directory to files
16254result.push(_this4._addFilesFromDirectory(entry, entry.name));
16255} else {
16256result.push(undefined);
16257}
16258} else if (item.getAsFile != null) {
16259if (item.kind == null || item.kind === "file") {
16260result.push(_this4.addFile(item.getAsFile()));
16261} else {
16262result.push(undefined);
16263}
16264} else {
16265result.push(undefined);
16266}
16267}
16268} catch (err) {
16269_iterator6.e(err);
16270} finally {
16271_iterator6.f();
16272}
16273return result;
16274}();
16275} // Goes through the directory, and adds each file it finds recursively
16276}, {
16277key: "_addFilesFromDirectory",
16278value: function _addFilesFromDirectory(directory, path) {
16279var _this5 = this;
16280var dirReader = directory.createReader();
16281var errorHandler = function errorHandler(error) {
16282return __guardMethod__(console, "log", function (o) {
16283return o.log(error);
16284});
16285};
16286var readEntries = function readEntries() {
16287return dirReader.readEntries(function (entries) {
16288if (entries.length > 0) {
16289var _iterator7 = dropzone_createForOfIteratorHelper(entries, true),
16290_step7;
16291try {
16292for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
16293var entry = _step7.value;
16294if (entry.isFile) {
16295entry.file(function (file) {
16296if (_this5.options.ignoreHiddenFiles && file.name.substring(0, 1) === ".") {
16297return;
16298}
16299file.fullPath = "".concat(path, "/").concat(file.name);
16300return _this5.addFile(file);
16301});
16302} else if (entry.isDirectory) {
16303_this5._addFilesFromDirectory(entry, "".concat(path, "/").concat(entry.name));
16304}
16305} // Recursively call readEntries() again, since browser only handle
16306// the first 100 entries.
16307// See: https://developer.mozilla.org/en-US/docs/Web/API/DirectoryReader#readEntries
16308} catch (err) {
16309_iterator7.e(err);
16310} finally {
16311_iterator7.f();
16312}
16313readEntries();
16314}
16315return null;
16316}, errorHandler);
16317};
16318return readEntries();
16319} // If `done()` is called without argument the file is accepted
16320// If you call it with an error message, the file is rejected
16321// (This allows for asynchronous validation)
16322//
16323// This function checks the filesize, and if the file.type passes the
16324// `acceptedFiles` check.
16325}, {
16326key: "accept",
16327value: function accept(file, done) {
16328if (this.options.maxFilesize && file.size > this.options.maxFilesize * 1024 * 1024) {
16329done(this.options.dictFileTooBig.replace("{{filesize}}", Math.round(file.size / 1024 / 10.24) / 100).replace("{{maxFilesize}}", this.options.maxFilesize));
16330} else if (!Dropzone.isValidFile(file, this.options.acceptedFiles)) {
16331done(this.options.dictInvalidFileType);
16332} else if (this.options.maxFiles != null && this.getAcceptedFiles().length >= this.options.maxFiles) {
16333done(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}", this.options.maxFiles));
16334this.emit("maxfilesexceeded", file);
16335} else {
16336this.options.accept.call(this, file, done);
16337}
16338}
16339}, {
16340key: "addFile",
16341value: function addFile(file) {
16342var _this6 = this;
16343file.upload = {
16344uuid: Dropzone.uuidv4(),
16345progress: 0,
16346// Setting the total upload size to file.size for the beginning
16347// It's actual different than the size to be transmitted.
16348total: file.size,
16349bytesSent: 0,
16350filename: this._renameFile(file) // Not setting chunking information here, because the acutal data — and
16351// thus the chunks — might change if `options.transformFile` is set
16352// and does something to the data.
16353};
16354this.files.push(file);
16355file.status = Dropzone.ADDED;
16356this.emit("addedfile", file);
16357this._enqueueThumbnail(file);
16358this.accept(file, function (error) {
16359if (error) {
16360file.accepted = false;
16361_this6._errorProcessing([file], error); // Will set the file.status
16362} else {
16363file.accepted = true;
16364if (_this6.options.autoQueue) {
16365_this6.enqueueFile(file);
16366} // Will set .accepted = true
16367}
16368_this6._updateMaxFilesReachedClass();
16369});
16370} // Wrapper for enqueueFile
16371}, {
16372key: "enqueueFiles",
16373value: function enqueueFiles(files) {
16374var _iterator8 = dropzone_createForOfIteratorHelper(files, true),
16375_step8;
16376try {
16377for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
16378var file = _step8.value;
16379this.enqueueFile(file);
16380}
16381} catch (err) {
16382_iterator8.e(err);
16383} finally {
16384_iterator8.f();
16385}
16386return null;
16387}
16388}, {
16389key: "enqueueFile",
16390value: function enqueueFile(file) {
16391var _this7 = this;
16392if (file.status === Dropzone.ADDED && file.accepted === true) {
16393file.status = Dropzone.QUEUED;
16394if (this.options.autoProcessQueue) {
16395return setTimeout(function () {
16396return _this7.processQueue();
16397}, 0); // Deferring the call
16398}
16399} else {
16400throw new Error("This file can't be queued because it has already been processed or was rejected.");
16401}
16402}
16403}, {
16404key: "_enqueueThumbnail",
16405value: function _enqueueThumbnail(file) {
16406var _this8 = this;
16407if (this.options.createImageThumbnails && file.type.match(/image.*/) && file.size <= this.options.maxThumbnailFilesize * 1024 * 1024) {
16408this._thumbnailQueue.push(file);
16409return setTimeout(function () {
16410return _this8._processThumbnailQueue();
16411}, 0); // Deferring the call
16412}
16413}
16414}, {
16415key: "_processThumbnailQueue",
16416value: function _processThumbnailQueue() {
16417var _this9 = this;
16418if (this._processingThumbnail || this._thumbnailQueue.length === 0) {
16419return;
16420}
16421this._processingThumbnail = true;
16422var file = this._thumbnailQueue.shift();
16423return this.createThumbnail(file, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, true, function (dataUrl) {
16424_this9.emit("thumbnail", file, dataUrl);
16425_this9._processingThumbnail = false;
16426return _this9._processThumbnailQueue();
16427});
16428} // Can be called by the user to remove a file
16429}, {
16430key: "removeFile",
16431value: function removeFile(file) {
16432if (file.status === Dropzone.UPLOADING) {
16433this.cancelUpload(file);
16434}
16435this.files = without(this.files, file);
16436this.emit("removedfile", file);
16437if (this.files.length === 0) {
16438return this.emit("reset");
16439}
16440} // Removes all files that aren't currently processed from the list
16441}, {
16442key: "removeAllFiles",
16443value: function removeAllFiles(cancelIfNecessary) {
16444// Create a copy of files since removeFile() changes the @files array.
16445if (cancelIfNecessary == null) {
16446cancelIfNecessary = false;
16447}
16448var _iterator9 = dropzone_createForOfIteratorHelper(this.files.slice(), true),
16449_step9;
16450try {
16451for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
16452var file = _step9.value;
16453if (file.status !== Dropzone.UPLOADING || cancelIfNecessary) {
16454this.removeFile(file);
16455}
16456}
16457} catch (err) {
16458_iterator9.e(err);
16459} finally {
16460_iterator9.f();
16461}
16462return null;
16463} // Resizes an image before it gets sent to the server. This function is the default behavior of
16464// `options.transformFile` if `resizeWidth` or `resizeHeight` are set. The callback is invoked with
16465// the resized blob.
16466}, {
16467key: "resizeImage",
16468value: function resizeImage(file, width, height, resizeMethod, callback) {
16469var _this10 = this;
16470return this.createThumbnail(file, width, height, resizeMethod, true, function (dataUrl, canvas) {
16471if (canvas == null) {
16472// The image has not been resized
16473return callback(file);
16474} else {
16475var resizeMimeType = _this10.options.resizeMimeType;
16476if (resizeMimeType == null) {
16477resizeMimeType = file.type;
16478}
16479var resizedDataURL = canvas.toDataURL(resizeMimeType, _this10.options.resizeQuality);
16480if (resizeMimeType === "image/jpeg" || resizeMimeType === "image/jpg") {
16481// Now add the original EXIF information
16482resizedDataURL = ExifRestore.restore(file.dataURL, resizedDataURL);
16483}
16484return callback(Dropzone.dataURItoBlob(resizedDataURL));
16485}
16486});
16487}
16488}, {
16489key: "createThumbnail",
16490value: function createThumbnail(file, width, height, resizeMethod, fixOrientation, callback) {
16491var _this11 = this;
16492var fileReader = new FileReader();
16493fileReader.onload = function () {
16494file.dataURL = fileReader.result; // Don't bother creating a thumbnail for SVG images since they're vector
16495if (file.type === "image/svg+xml") {
16496if (callback != null) {
16497callback(fileReader.result);
16498}
16499return;
16500}
16501_this11.createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback);
16502};
16503fileReader.readAsDataURL(file);
16504} // `mockFile` needs to have these attributes:
16505//
16506//     { name: 'name', size: 12345, imageUrl: '' }
16507//
16508// `callback` will be invoked when the image has been downloaded and displayed.
16509// `crossOrigin` will be added to the `img` tag when accessing the file.
16510}, {
16511key: "displayExistingFile",
16512value: function displayExistingFile(mockFile, imageUrl, callback, crossOrigin) {
16513var _this12 = this;
16514var resizeThumbnail = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
16515this.emit("addedfile", mockFile);
16516this.emit("complete", mockFile);
16517if (!resizeThumbnail) {
16518this.emit("thumbnail", mockFile, imageUrl);
16519if (callback) callback();
16520} else {
16521var onDone = function onDone(thumbnail) {
16522_this12.emit("thumbnail", mockFile, thumbnail);
16523if (callback) callback();
16524};
16525mockFile.dataURL = imageUrl;
16526this.createThumbnailFromUrl(mockFile, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, this.options.fixOrientation, onDone, crossOrigin);
16527}
16528}
16529}, {
16530key: "createThumbnailFromUrl",
16531value: function createThumbnailFromUrl(file, width, height, resizeMethod, fixOrientation, callback, crossOrigin) {
16532var _this13 = this;
16533// Not using `new Image` here because of a bug in latest Chrome versions.
16534// See https://github.com/enyo/dropzone/pull/226
16535var img = document.createElement("img");
16536if (crossOrigin) {
16537img.crossOrigin = crossOrigin;
16538} // fixOrientation is not needed anymore with browsers handling imageOrientation
16539fixOrientation = getComputedStyle(document.body)["imageOrientation"] == "from-image" ? false : fixOrientation;
16540img.onload = function () {
16541var loadExif = function loadExif(callback) {
16542return callback(1);
16543};
16544if (typeof EXIF !== "undefined" && EXIF !== null && fixOrientation) {
16545loadExif = function loadExif(callback) {
16546return EXIF.getData(img, function () {
16547return callback(EXIF.getTag(this, "Orientation"));
16548});
16549};
16550}
16551return loadExif(function (orientation) {
16552file.width = img.width;
16553file.height = img.height;
16554var resizeInfo = _this13.options.resize.call(_this13, file, width, height, resizeMethod);
16555var canvas = document.createElement("canvas");
16556var ctx = canvas.getContext("2d");
16557canvas.width = resizeInfo.trgWidth;
16558canvas.height = resizeInfo.trgHeight;
16559if (orientation > 4) {
16560canvas.width = resizeInfo.trgHeight;
16561canvas.height = resizeInfo.trgWidth;
16562}
16563switch (orientation) {
16564case 2:
16565// horizontal flip
16566ctx.translate(canvas.width, 0);
16567ctx.scale(-1, 1);
16568break;
16569case 3:
16570// 180° rotate left
16571ctx.translate(canvas.width, canvas.height);
16572ctx.rotate(Math.PI);
16573break;
16574case 4:
16575// vertical flip
16576ctx.translate(0, canvas.height);
16577ctx.scale(1, -1);
16578break;
16579case 5:
16580// vertical flip + 90 rotate right
16581ctx.rotate(0.5 * Math.PI);
16582ctx.scale(1, -1);
16583break;
16584case 6:
16585// 90° rotate right
16586ctx.rotate(0.5 * Math.PI);
16587ctx.translate(0, -canvas.width);
16588break;
16589case 7:
16590// horizontal flip + 90 rotate right
16591ctx.rotate(0.5 * Math.PI);
16592ctx.translate(canvas.height, -canvas.width);
16593ctx.scale(-1, 1);
16594break;
16595case 8:
16596// 90° rotate left
16597ctx.rotate(-0.5 * Math.PI);
16598ctx.translate(-canvas.height, 0);
16599break;
16600} // This is a bugfix for iOS' scaling bug.
16601drawImageIOSFix(ctx, img, resizeInfo.srcX != null ? resizeInfo.srcX : 0, resizeInfo.srcY != null ? resizeInfo.srcY : 0, resizeInfo.srcWidth, resizeInfo.srcHeight, resizeInfo.trgX != null ? resizeInfo.trgX : 0, resizeInfo.trgY != null ? resizeInfo.trgY : 0, resizeInfo.trgWidth, resizeInfo.trgHeight);
16602var thumbnail = canvas.toDataURL("image/png");
16603if (callback != null) {
16604return callback(thumbnail, canvas);
16605}
16606});
16607};
16608if (callback != null) {
16609img.onerror = callback;
16610}
16611return img.src = file.dataURL;
16612} // Goes through the queue and processes files if there aren't too many already.
16613}, {
16614key: "processQueue",
16615value: function processQueue() {
16616var parallelUploads = this.options.parallelUploads;
16617var processingLength = this.getUploadingFiles().length;
16618var i = processingLength; // There are already at least as many files uploading than should be
16619if (processingLength >= parallelUploads) {
16620return;
16621}
16622var queuedFiles = this.getQueuedFiles();
16623if (!(queuedFiles.length > 0)) {
16624return;
16625}
16626if (this.options.uploadMultiple) {
16627// The files should be uploaded in one request
16628return this.processFiles(queuedFiles.slice(0, parallelUploads - processingLength));
16629} else {
16630while (i < parallelUploads) {
16631if (!queuedFiles.length) {
16632return;
16633} // Nothing left to process
16634this.processFile(queuedFiles.shift());
16635i++;
16636}
16637}
16638} // Wrapper for `processFiles`
16639}, {
16640key: "processFile",
16641value: function processFile(file) {
16642return this.processFiles([file]);
16643} // Loads the file, then calls finishedLoading()
16644}, {
16645key: "processFiles",
16646value: function processFiles(files) {
16647var _iterator10 = dropzone_createForOfIteratorHelper(files, true),
16648_step10;
16649try {
16650for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
16651var file = _step10.value;
16652file.processing = true; // Backwards compatibility
16653file.status = Dropzone.UPLOADING;
16654this.emit("processing", file);
16655}
16656} catch (err) {
16657_iterator10.e(err);
16658} finally {
16659_iterator10.f();
16660}
16661if (this.options.uploadMultiple) {
16662this.emit("processingmultiple", files);
16663}
16664return this.uploadFiles(files);
16665}
16666}, {
16667key: "_getFilesWithXhr",
16668value: function _getFilesWithXhr(xhr) {
16669var files;
16670return files = this.files.filter(function (file) {
16671return file.xhr === xhr;
16672}).map(function (file) {
16673return file;
16674});
16675} // Cancels the file upload and sets the status to CANCELED
16676// **if** the file is actually being uploaded.
16677// If it's still in the queue, the file is being removed from it and the status
16678// set to CANCELED.
16679}, {
16680key: "cancelUpload",
16681value: function cancelUpload(file) {
16682if (file.status === Dropzone.UPLOADING) {
16683var groupedFiles = this._getFilesWithXhr(file.xhr);
16684var _iterator11 = dropzone_createForOfIteratorHelper(groupedFiles, true),
16685_step11;
16686try {
16687for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
16688var groupedFile = _step11.value;
16689groupedFile.status = Dropzone.CANCELED;
16690}
16691} catch (err) {
16692_iterator11.e(err);
16693} finally {
16694_iterator11.f();
16695}
16696if (typeof file.xhr !== "undefined") {
16697file.xhr.abort();
16698}
16699var _iterator12 = dropzone_createForOfIteratorHelper(groupedFiles, true),
16700_step12;
16701try {
16702for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
16703var _groupedFile = _step12.value;
16704this.emit("canceled", _groupedFile);
16705}
16706} catch (err) {
16707_iterator12.e(err);
16708} finally {
16709_iterator12.f();
16710}
16711if (this.options.uploadMultiple) {
16712this.emit("canceledmultiple", groupedFiles);
16713}
16714} else if (file.status === Dropzone.ADDED || file.status === Dropzone.QUEUED) {
16715file.status = Dropzone.CANCELED;
16716this.emit("canceled", file);
16717if (this.options.uploadMultiple) {
16718this.emit("canceledmultiple", [file]);
16719}
16720}
16721if (this.options.autoProcessQueue) {
16722return this.processQueue();
16723}
16724}
16725}, {
16726key: "resolveOption",
16727value: function resolveOption(option) {
16728if (typeof option === "function") {
16729for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
16730args[_key - 1] = arguments[_key];
16731}
16732return option.apply(this, args);
16733}
16734return option;
16735}
16736}, {
16737key: "uploadFile",
16738value: function uploadFile(file) {
16739return this.uploadFiles([file]);
16740}
16741}, {
16742key: "uploadFiles",
16743value: function uploadFiles(files) {
16744var _this14 = this;
16745this._transformFiles(files, function (transformedFiles) {
16746if (_this14.options.chunking) {
16747// Chunking is not allowed to be used with `uploadMultiple` so we know
16748// that there is only __one__file.
16749var transformedFile = transformedFiles[0];
16750files[0].upload.chunked = _this14.options.chunking && (_this14.options.forceChunking || transformedFile.size > _this14.options.chunkSize);
16751files[0].upload.totalChunkCount = Math.ceil(transformedFile.size / _this14.options.chunkSize);
16752}
16753if (files[0].upload.chunked) {
16754// This file should be sent in chunks!
16755// If the chunking option is set, we **know** that there can only be **one** file, since
16756// uploadMultiple is not allowed with this option.
16757var file = files[0];
16758var _transformedFile = transformedFiles[0];
16759var startedChunkCount = 0;
16760file.upload.chunks = [];
16761var handleNextChunk = function handleNextChunk() {
16762var chunkIndex = 0; // Find the next item in file.upload.chunks that is not defined yet.
16763while (file.upload.chunks[chunkIndex] !== undefined) {
16764chunkIndex++;
16765} // This means, that all chunks have already been started.
16766if (chunkIndex >= file.upload.totalChunkCount) return;
16767startedChunkCount++;
16768var start = chunkIndex * _this14.options.chunkSize;
16769var end = Math.min(start + _this14.options.chunkSize, _transformedFile.size);
16770var dataBlock = {
16771name: _this14._getParamName(0),
16772data: _transformedFile.webkitSlice ? _transformedFile.webkitSlice(start, end) : _transformedFile.slice(start, end),
16773filename: file.upload.filename,
16774chunkIndex: chunkIndex
16775};
16776file.upload.chunks[chunkIndex] = {
16777file: file,
16778index: chunkIndex,
16779dataBlock: dataBlock,
16780// In case we want to retry.
16781status: Dropzone.UPLOADING,
16782progress: 0,
16783retries: 0 // The number of times this block has been retried.
16784};
16785_this14._uploadData(files, [dataBlock]);
16786};
16787file.upload.finishedChunkUpload = function (chunk, response) {
16788var allFinished = true;
16789chunk.status = Dropzone.SUCCESS; // Clear the data from the chunk
16790chunk.dataBlock = null; // Leaving this reference to xhr intact here will cause memory leaks in some browsers
16791chunk.xhr = null;
16792for (var i = 0; i < file.upload.totalChunkCount; i++) {
16793if (file.upload.chunks[i] === undefined) {
16794return handleNextChunk();
16795}
16796if (file.upload.chunks[i].status !== Dropzone.SUCCESS) {
16797allFinished = false;
16798}
16799}
16800if (allFinished) {
16801_this14.options.chunksUploaded(file, function () {
16802_this14._finished(files, response, null);
16803});
16804}
16805};
16806if (_this14.options.parallelChunkUploads) {
16807for (var i = 0; i < file.upload.totalChunkCount; i++) {
16808handleNextChunk();
16809}
16810} else {
16811handleNextChunk();
16812}
16813} else {
16814var dataBlocks = [];
16815for (var _i2 = 0; _i2 < files.length; _i2++) {
16816dataBlocks[_i2] = {
16817name: _this14._getParamName(_i2),
16818data: transformedFiles[_i2],
16819filename: files[_i2].upload.filename
16820};
16821}
16822_this14._uploadData(files, dataBlocks);
16823}
16824});
16825} /// Returns the right chunk for given file and xhr
16826}, {
16827key: "_getChunk",
16828value: function _getChunk(file, xhr) {
16829for (var i = 0; i < file.upload.totalChunkCount; i++) {
16830if (file.upload.chunks[i] !== undefined && file.upload.chunks[i].xhr === xhr) {
16831return file.upload.chunks[i];
16832}
16833}
16834} // This function actually uploads the file(s) to the server.
16835// If dataBlocks contains the actual data to upload (meaning, that this could either be transformed
16836// files, or individual chunks for chunked upload).
16837}, {
16838key: "_uploadData",
16839value: function _uploadData(files, dataBlocks) {
16840var _this15 = this;
16841var xhr = new XMLHttpRequest(); // Put the xhr object in the file objects to be able to reference it later.
16842var _iterator13 = dropzone_createForOfIteratorHelper(files, true),
16843_step13;
16844try {
16845for (_iterator13.s();
16845 !(_step13 = _iterator13.n()).done;) {
16846var file = _step13.value;
16847file.xhr = xhr;
16848}
16849} catch (err) {
16850_iterator13.e(err);
16851} finally {
16852_iterator13.f();
16853}
16854if (files[0].upload.chunked) {
16855// Put the xhr object in the right chunk object, so it can be associated later, and found with _getChunk
16856files[0].upload.chunks[dataBlocks[0].chunkIndex].xhr = xhr;
16857}
16858var method = this.resolveOption(this.options.method, files);
16859var url = this.resolveOption(this.options.url, files);
16860xhr.open(method, url, true); // Setting the timeout after open because of IE11 issue: https://gitlab.com/meno/dropzone/issues/8
16861var timeout = this.resolveOption(this.options.timeout, files);
16862if (timeout) xhr.timeout = this.resolveOption(this.options.timeout, files); // Has to be after `.open()`. See https://github.com/enyo/dropzone/issues/179
16863xhr.withCredentials = !!this.options.withCredentials;
16864xhr.onload = function (e) {
16865_this15._finishedUploading(files, xhr, e);
16866};
16867xhr.ontimeout = function () {
16868_this15._handleUploadError(files, xhr, "Request timedout after ".concat(_this15.options.timeout / 1000, " seconds"));
16869};
16870xhr.onerror = function () {
16871_this15._handleUploadError(files, xhr);
16872}; // Some browsers do not have the .upload property
16873var progressObj = xhr.upload != null ? xhr.upload : xhr;
16874progressObj.onprogress = function (e) {
16875return _this15._updateFilesUploadProgress(files, xhr, e);
16876};
16877var headers = {
16878Accept: "application/json",
16879"Cache-Control": "no-cache",
16880"X-Requested-With": "XMLHttpRequest"
16881};
16882if (this.options.headers) {
16883Dropzone.extend(headers, this.options.headers);
16884}
16885for (var headerName in headers) {
16886var headerValue = headers[headerName];
16887if (headerValue) {
16888xhr.setRequestHeader(headerName, headerValue);
16889}
16890}
16891var formData = new FormData(); // Adding all @options parameters
16892if (this.options.params) {
16893var additionalParams = this.options.params;
16894if (typeof additionalParams === "function") {
16895additionalParams = additionalParams.call(this, files, xhr, files[0].upload.chunked ? this._getChunk(files[0], xhr) : null);
16896}
16897for (var key in additionalParams) {
16898var value = additionalParams[key];
16899if (Array.isArray(value)) {
16900// The additional parameter contains an array,
16901// so lets iterate over it to attach each value
16902// individually.
16903for (var i = 0; i < value.length; i++) {
16904formData.append(key, value[i]);
16905}
16906} else {
16907formData.append(key, value);
16908}
16909}
16910} // Let the user add additional data if necessary
16911var _iterator14 = dropzone_createForOfIteratorHelper(files, true),
16912_step14;
16913try {
16914for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
16915var _file = _step14.value;
16916this.emit("sending", _file, xhr, formData);
16917}
16918} catch (err) {
16919_iterator14.e(err);
16920} finally {
16921_iterator14.f();
16922}
16923if (this.options.uploadMultiple) {
16924this.emit("sendingmultiple", files, xhr, formData);
16925}
16926this._addFormElementData(formData); // Finally add the files
16927// Has to be last because some servers (eg: S3) expect the file to be the last parameter
16928for (var _i3 = 0; _i3 < dataBlocks.length; _i3++) {
16929var dataBlock = dataBlocks[_i3];
16930formData.append(dataBlock.name, dataBlock.data, dataBlock.filename);
16931}
16932this.submitRequest(xhr, formData, files);
16933} // Transforms all files with this.options.transformFile and invokes done with the transformed files when done.
16934}, {
16935key: "_transformFiles",
16936value: function _transformFiles(files, done) {
16937var _this16 = this;
16938var transformedFiles = []; // Clumsy way of handling asynchronous calls, until I get to add a proper Future library.
16939var doneCounter = 0;
16940var _loop = function _loop(i) {
16941_this16.options.transformFile.call(_this16, files[i], function (transformedFile) {
16942transformedFiles[i] = transformedFile;
16943if (++doneCounter === files.length) {
16944done(transformedFiles);
16945}
16946});
16947};
16948for (var i = 0; i < files.length; i++) {
16949_loop(i);
16950}
16951} // Takes care of adding other input elements of the form to the AJAX request
16952}, {
16953key: "_addFormElementData",
16954value: function _addFormElementData(formData) {
16955// Take care of other input elements
16956if (this.element.tagName === "FORM") {
16957var _iterator15 = dropzone_createForOfIteratorHelper(this.element.querySelectorAll("input, textarea, select, button"), true),
16958_step15;
16959try {
16960for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
16961var input = _step15.value;
16962var inputName = input.getAttribute("name");
16963var inputType = input.getAttribute("type");
16964if (inputType) inputType = inputType.toLowerCase(); // If the input doesn't have a name, we can't use it.
16965if (typeof inputName === "undefined" || inputName === null) continue;
16966if (input.tagName === "SELECT" && input.hasAttribute("multiple")) {
16967// Possibly multiple values
16968var _iterator16 = dropzone_createForOfIteratorHelper(input.options, true),
16969_step16;
16970try {
16971for (_iterator16.s(); !(_step16 = _iterator16.n()).done;) {
16972var option = _step16.value;
16973if (option.selected) {
16974formData.append(inputName, option.value);
16975}
16976}
16977} catch (err) {
16978_iterator16.e(err);
16979} finally {
16980_iterator16.f();
16981}
16982} else if (!inputType || inputType !== "checkbox" && inputType !== "radio" || input.checked) {
16983formData.append(inputName, input.value);
16984}
16985}
16986} catch (err) {
16987_iterator15.e(err);
16988} finally {
16989_iterator15.f();
16990}
16991}
16992} // Invoked when there is new progress information about given files.
16993// If e is not provided, it is assumed that the upload is finished.
16994}, {
16995key: "_updateFilesUploadProgress",
16996value: function _updateFilesUploadProgress(files, xhr, e) {
16997if (!files[0].upload.chunked) {
16998// Handle file uploads without chunking
16999var _iterator17 = dropzone_createForOfIteratorHelper(files, true),
17000_step17;
17001try {
17002for (_iterator17.s(); !(_step17 = _iterator17.n()).done;) {
17003var file = _step17.value;
17004if (file.upload.total && file.upload.bytesSent && file.upload.bytesSent == file.upload.total) {
17005// If both, the `total` and `bytesSent` have already been set, and
17006// they are equal (meaning progress is at 100%), we can skip this
17007// file, since an upload progress shouldn't go down.
17008continue;
17009}
17010if (e) {
17011file.upload.progress = 100 * e.loaded / e.total;
17012file.upload.total = e.total;
17013file.upload.bytesSent = e.loaded;
17014} else {
17015// No event, so we're at 100%
17016file.upload.progress = 100;
17017file.upload.bytesSent = file.upload.total;
17018}
17019this.emit("uploadprogress", file, file.upload.progress, file.upload.bytesSent);
17020}
17021} catch (err) {
17022_iterator17.e(err);
17023} finally {
17024_iterator17.f();
17025}
17026} else {
17027// Handle chunked file uploads
17028// Chunked upload is not compatible with uploading multiple files in one
17029// request, so we know there's only one file.
17030var _file2 = files[0]; // Since this is a chunked upload, we need to update the appropriate chunk
17031// progress.
17032var chunk = this._getChunk(_file2, xhr);
17033if (e) {
17034chunk.progress = 100 * e.loaded / e.total;
17035chunk.total = e.total;
17036chunk.bytesSent = e.loaded;
17037} else {
17038// No event, so we're at 100%
17039chunk.progress = 100;
17040chunk.bytesSent = chunk.total;
17041} // Now tally the *file* upload progress from its individual chunks
17042_file2.upload.progress = 0;
17043_file2.upload.total = 0;
17044_file2.upload.bytesSent = 0;
17045for (var i = 0; i < _file2.upload.totalChunkCount; i++) {
17046if (_file2.upload.chunks[i] && typeof _file2.upload.chunks[i].progress !== "undefined") {
17047_file2.upload.progress += _file2.upload.chunks[i].progress;
17048_file2.upload.total += _file2.upload.chunks[i].total;
17049_file2.upload.bytesSent += _file2.upload.chunks[i].bytesSent;
17050}
17051} // Since the process is a percentage, we need to divide by the amount of
17052// chunks we've used.
17053_file2.upload.progress = _file2.upload.progress / _file2.upload.totalChunkCount;
17054this.emit("uploadprogress", _file2, _file2.upload.progress, _file2.upload.bytesSent);
17055}
17056}
17057}, {
17058key: "_finishedUploading",
17059value: function _finishedUploading(files, xhr, e) {
17060var response;
17061if (files[0].status === Dropzone.CANCELED) {
17062return;
17063}
17064if (xhr.readyState !== 4) {
17065return;
17066}
17067if (xhr.responseType !== "arraybuffer" && xhr.responseType !== "blob") {
17068response = xhr.responseText;
17069if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("application/json")) {
17070try {
17071response = JSON.parse(response);
17072} catch (error) {
17073e = error;
17074response = "Invalid JSON response from server.";
17075}
17076}
17077}
17078this._updateFilesUploadProgress(files, xhr);
17079if (!(200 <= xhr.status && xhr.status < 300)) {
17080this._handleUploadError(files, xhr, response);
17081} else {
17082if (files[0].upload.chunked) {
17083files[0].upload.finishedChunkUpload(this._getChunk(files[0], xhr), response);
17084} else {
17085this._finished(files, response, e);
17086}
17087}
17088}
17089}, {
17090key: "_handleUploadError",
17091value: function _handleUploadError(files, xhr, response) {
17092if (files[0].status === Dropzone.CANCELED) {
17093return;
17094}
17095if (files[0].upload.chunked && this.options.retryChunks) {
17096var chunk = this._getChunk(files[0], xhr);
17097if (chunk.retries++ < this.options.retryChunksLimit) {
17098this._uploadData(files, [chunk.dataBlock]);
17099return;
17100} else {
17101console.warn("Retried this chunk too often. Giving up.");
17102}
17103}
17104this._errorProcessing(files, response || this.options.dictResponseError.replace("{{statusCode}}", xhr.status), xhr);
17105}
17106}, {
17107key: "submitRequest",
17108value: function submitRequest(xhr, formData, files) {
17109if (xhr.readyState != 1) {
17110console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");
17111return;
17112}
17113xhr.send(formData);
17114} // Called internally when processing is finished.
17115// Individual callbacks have to be called in the appropriate sections.
17116}, {
17117key: "_finished",
17118value: function _finished(files, responseText, e) {
17119var _iterator18 = dropzone_createForOfIteratorHelper(files, true),
17120_step18;
17121try {
17122for (_iterator18.s(); !(_step18 = _iterator18.n()).done;) {
17123var file = _step18.value;
17124file.status = Dropzone.SUCCESS;
17125this.emit("success", file, responseText, e);
17126this.emit("complete", file);
17127}
17128} catch (err) {
17129_iterator18.e(err);
17130} finally {
17131_iterator18.f();
17132}
17133if (this.options.uploadMultiple) {
17134this.emit("successmultiple", files, responseText, e);
17135this.emit("completemultiple", files);
17136}
17137if (this.options.autoProcessQueue) {
17138return this.processQueue();
17139}
17140} // Called internally when processing is finished.
17141// Individual callbacks have to be called in the appropriate sections.
17142}, {
17143key: "_errorProcessing",
17144value: function _errorProcessing(files, message, xhr) {
17145var _iterator19 = dropzone_createForOfIteratorHelper(files, true),
17146_step19;
17147try {
17148for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {
17149var file = _step19.value;
17150file.status = Dropzone.ERROR;
17151this.emit("error", file, message, xhr);
17152this.emit("complete", file);
17153}
17154} catch (err) {
17155_iterator19.e(err);
17156} finally {
17157_iterator19.f();
17158}
17159if (this.options.uploadMultiple) {
17160this.emit("errormultiple", files, message, xhr);
17161this.emit("completemultiple", files);
17162}
17163if (this.options.autoProcessQueue) {
17164return this.processQueue();
17165}
17166}
17167}], [{
17168key: "initClass",
17169value: function initClass() {
17170// Exposing the emitter class, mainly for tests
17171this.prototype.Emitter = Emitter;
17172/*
17173This is a list of all available events you can register on a dropzone object.
17174You can register an event handler like this:
17175dropzone.on("dragEnter", function() { });
17176*/
17177this.prototype.events = ["drop", "dragstart", "dragend", "dragenter", "dragover", "dragleave", "addedfile", "addedfiles", "removedfile", "thumbnail", "error", "errormultiple", "processing", "processingmultiple", "uploadprogress", "totaluploadprogress", "sending", "sendingmultiple", "success", "successmultiple", "canceled", "canceledmultiple", "complete", "completemultiple", "reset", "maxfilesexceeded", "maxfilesreached", "queuecomplete"];
17178this.prototype._thumbnailQueue = [];
17179this.prototype._processingThumbnail = false;
17180} // global utility
17181}, {
17182key: "extend",
17183value: function extend(target) {
17184for (var _len2 = arguments.length, objects = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
17185objects[_key2 - 1] = arguments[_key2];
17186}
17187for (var _i4 = 0, _objects = objects; _i4 < _objects.length; _i4++) {
17188var object = _objects[_i4];
17189for (var key in object) {
17190var val = object[key];
17191target[key] = val;
17192}
17193}
17194return target;
17195}
17196}, {
17197key: "uuidv4",
17198value: function uuidv4() {
17199return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
17200var r = Math.random() * 16 | 0,
17201v = c === "x" ? r : r & 0x3 | 0x8;
17202return v.toString(16);
17203});
17204}
17205}]);
17206return Dropzone;
17207}(Emitter);
17208Dropzone.initClass();
17209Dropzone.version = "5.9.3"; // This is a map of options for your different dropzones. Add configurations
17210// to this object for your different dropzone elemens.
17211//
17212// Example:
17213//
17214//     Dropzone.options.myDropzoneElementId = { maxFilesize: 1 };
17215//
17216// To disable autoDiscover for a specific element, you can set `false` as an option:
17217//
17218//     Dropzone.options.myDisabledElementId = false;
17219//
17220// And in html:
17221//
17222//     <form action="/upload" id="my-dropzone-element-id" class="dropzone"></form>
17223Dropzone.options = {}; // Returns the options for an element or undefined if none available.
17224Dropzone.optionsForElement = function (element) {
17225// Get the `Dropzone.options.elementId` for this element if it exists
17226if (element.getAttribute("id")) {
17227return Dropzone.options[camelize(element.getAttribute("id"))];
17228} else {
17229return undefined;
17230}
17231}; // Holds a list of all dropzone instances
17232Dropzone.instances = []; // Returns the dropzone for given element if any
17233Dropzone.forElement = function (element) {
17234if (typeof element === "string") {
17235element = document.querySelector(element);
17236}
17237if ((element != null ? element.dropzone : undefined) == null) {
17238throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");
17239}
17240return element.dropzone;
17241}; // Set to false if you don't want Dropzone to automatically find and attach to .dropzone elements.
17242Dropzone.autoDiscover = true; // Looks for all .dropzone elements and creates a dropzone for them
17243Dropzone.discover = function () {
17244var dropzones;
17245if (document.querySelectorAll) {
17246dropzones = document.querySelectorAll(".dropzone");
17247} else {
17248dropzones = []; // IE :(
17249var checkElements = function checkElements(elements) {
17250return function () {
17251var result = [];
17252var _iterator20 = dropzone_createForOfIteratorHelper(elements, true),
17253_step20;
17254try {
17255for (_iterator20.s();
17255 !(_step20 = _iterator20.n()).done;) {
17256var el = _step20.value;
17257if (/(^| )dropzone($| )/.test(el.className)) {
17258result.push(dropzones.push(el));
17259} else {
17260result.push(undefined);
17261}
17262}
17263} catch (err) {
17264_iterator20.e(err);
17265} finally {
17266_iterator20.f();
17267}
17268return result;
17269}();
17270};
17271checkElements(document.getElementsByTagName("div"));
17272checkElements(document.getElementsByTagName("form"));
17273}
17274return function () {
17275var result = [];
17276var _iterator21 = dropzone_createForOfIteratorHelper(dropzones, true),
17277_step21;
17278try {
17279for (_iterator21.s(); !(_step21 = _iterator21.n()).done;) {
17280var dropzone = _step21.value;
17281// Create a dropzone unless auto discover has been disabled for specific element
17282if (Dropzone.optionsForElement(dropzone) !== false) {
17283result.push(new Dropzone(dropzone));
17284} else {
17285result.push(undefined);
17286}
17287}
17288} catch (err) {
17289_iterator21.e(err);
17290} finally {
17291_iterator21.f();
17292}
17293return result;
17294}();
17295}; // Some browsers support drag and drog functionality, but not correctly.
17296//
17297// So I created a blocklist of userAgents. Yes, yes. Browser sniffing, I know.
17298// But what to do when browsers *theoretically* support an API, but crash
17299// when using it.
17300//
17301// This is a list of regular expressions tested against navigator.userAgent
17302//
17303// ** It should only be used on browser that *do* support the API, but
17304// incorrectly **
17305Dropzone.blockedBrowsers = [// The mac os and windows phone version of opera 12 seems to have a problem with the File drag'n'drop API.
17306/opera.*(Macintosh|Windows Phone).*version\/12/i]; // Checks if the browser is supported
17307Dropzone.isBrowserSupported = function () {
17308var capableBrowser = true;
17309if (window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector) {
17310if (!("classList" in document.createElement("a"))) {
17311capableBrowser = false;
17312} else {
17313if (Dropzone.blacklistedBrowsers !== undefined) {
17314// Since this has been renamed, this makes sure we don't break older
17315// configuration.
17316Dropzone.blockedBrowsers = Dropzone.blacklistedBrowsers;
17317} // The browser supports the API, but may be blocked.
17318var _iterator22 = dropzone_createForOfIteratorHelper(Dropzone.blockedBrowsers, true),
17319_step22;
17320try {
17321for (_iterator22.s();
17321 !(_step22 = _iterator22.n()).done;) {
17322var regex = _step22.value;
17323if (regex.test(navigator.userAgent)) {
17324capableBrowser = false;
17325continue;
17326}
17327}
17328} catch (err) {
17329_iterator22.e(err);
17330} finally {
17331_iterator22.f();
17332}
17333}
17334} else {
17335capableBrowser = false;
17336}
17337return capableBrowser;
17338};
17339Dropzone.dataURItoBlob = function (dataURI) {
17340// convert base64 to raw binary data held in a string
17341// doesn't handle URLEncoded DataURIs - see SO answer #6850276 for code that does this
17342var byteString = atob(dataURI.split(",")[1]); // separate out the mime component
17343var mimeString = dataURI.split(",")[0].split(":")[1].split(";")[0]; // write the bytes of the string to an ArrayBuffer
17344var ab = new ArrayBuffer(byteString.length);
17345var ia = new Uint8Array(ab);
17346for (var i = 0, end = byteString.length, asc = 0 <= end; asc ? i <= end : i >= end; asc ? i++ : i--) {
17347ia[i] = byteString.charCodeAt(i);
17348} // write the ArrayBuffer to a blob
17349return new Blob([ab], {
17350type: mimeString
17351});
17352}; // Returns an array without the rejected item
17353var without = function without(list, rejectedItem) {
17354return list.filter(function (item) {
17355return item !== rejectedItem;
17356}).map(function (item) {
17357return item;
17358});
17359}; // abc-def_ghi -> abcDefGhi
17360var camelize = function camelize(str) {
17361return str.replace(/[\-_](\w)/g, function (match) {
17362return match.charAt(1).toUpperCase();
17363});
17364}; // Creates an element from string
17365Dropzone.createElement = function (string) {
17366var div = document.createElement("div");
17367div.innerHTML = string;
17368return div.childNodes[0];
17369}; // Tests if given element is inside (or simply is) the container
17370Dropzone.elementInside = function (element, container) {
17371if (element === container) {
17372return true;
17373} // Coffeescript doesn't support do/while loops
17374while (element = element.parentNode) {
17375if (element === container) {
17376return true;
17377}
17378}
17379return false;
17380};
17381Dropzone.getElement = function (el, name) {
17382var element;
17383if (typeof el === "string") {
17384element = document.querySelector(el);
17385} else if (el.nodeType != null) {
17386element = el;
17387}
17388if (element == null) {
17389throw new Error("Invalid `".concat(name, "` option provided. Please provide a CSS selector or a plain HTML element."));
17390}
17391return element;
17392};
17393Dropzone.getElements = function (els, name) {
17394var el, elements;
17395if (els instanceof Array) {
17396elements = [];
17397try {
17398var _iterator23 = dropzone_createForOfIteratorHelper(els, true),
17399_step23;
17400try {
17401for (_iterator23.s(); !(_step23 = _iterator23.n()).done;) {
17402el = _step23.value;
17403elements.push(this.getElement(el, name));
17404}
17405} catch (err) {
17406_iterator23.e(err);
17407} finally {
17408_iterator23.f();
17409}
17410} catch (e) {
17411elements = null;
17412}
17413} else if (typeof els === "string") {
17414elements = [];
17415var _iterator24 = dropzone_createForOfIteratorHelper(document.querySelectorAll(els), true),
17416_step24;
17417try {
17418for (_iterator24.s(); !(_step24 = _iterator24.n()).done;) {
17419el = _step24.value;
17420elements.push(el);
17421}
17422} catch (err) {
17423_iterator24.e(err);
17424} finally {
17425_iterator24.f();
17426}
17427} else if (els.nodeType != null) {
17428elements = [els];
17429}
17430if (elements == null || !elements.length) {
17431throw new Error("Invalid `".concat(name, "` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));
17432}
17433return elements;
17434}; // Asks the user the question and calls accepted or rejected accordingly
17435//
17436// The default implementation just uses `window.confirm` and then calls the
17437// appropriate callback.
17438Dropzone.confirm = function (question, accepted, rejected) {
17439if (window.confirm(question)) {
17440return accepted();
17441} else if (rejected != null) {
17442return rejected();
17443}
17444}; // Validates the mime type like this:
17445//
17446// https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept
17447Dropzone.isValidFile = function (file, acceptedFiles) {
17448if (!acceptedFiles) {
17449return true;
17450} // If there are no accepted mime types, it's OK
17451acceptedFiles = acceptedFiles.split(",");
17452var mimeType = file.type;
17453var baseMimeType = mimeType.replace(/\/.*$/, "");
17454var _iterator25 = dropzone_createForOfIteratorHelper(acceptedFiles, true),
17455_step25;
17456try {
17457for (_iterator25.s(); !(_step25 = _iterator25.n()).done;) {
17458var validType = _step25.value;
17459validType = validType.trim();
17460if (validType.charAt(0) === ".") {
17461if (file.name.toLowerCase().indexOf(validType.toLowerCase(), file.name.length - validType.length) !== -1) {
17462return true;
17463}
17464} else if (/\/\*$/.test(validType)) {
17465// This is something like a image/* mime type
17466if (baseMimeType === validType.replace(/\/.*$/, "")) {
17467return true;
17468}
17469} else {
17470if (mimeType === validType) {
17471return true;
17472}
17473}
17474}
17475} catch (err) {
17476_iterator25.e(err);
17477} finally {
17478_iterator25.f();
17479}
17480return false;
17481}; // Augment jQuery
17482if (typeof jQuery !== "undefined" && jQuery !== null) {
17483jQuery.fn.dropzone = function (options) {
17484return this.each(function () {
17485return new Dropzone(this, options);
17486});
17487};
17488} // Dropzone file status codes
17489Dropzone.ADDED = "added";
17490Dropzone.QUEUED = "queued"; // For backwards compatibility. Now, if a file is accepted, it's either queued
17491// or uploading.
17492Dropzone.ACCEPTED = Dropzone.QUEUED;
17493Dropzone.UPLOADING = "uploading";
17494Dropzone.PROCESSING = Dropzone.UPLOADING; // alias
17495Dropzone.CANCELED = "canceled";
17496Dropzone.ERROR = "error";
17497Dropzone.SUCCESS = "success";
17498/*
17499Bugfix for iOS 6 and 7
17500Source: http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios
17501based on the work of https://github.com/stomita/ios-imagefile-megapixel
17502*/
17503// Detecting vertical squash in loaded image.
17504// Fixes a bug which squash image vertically while drawing into canvas for some images.
17505// This is a bug in iOS6 devices. This function from https://github.com/stomita/ios-imagefile-megapixel
17506var detectVerticalSquash = function detectVerticalSquash(img) {
17507var iw = img.naturalWidth;
17508var ih = img.naturalHeight;
17509var canvas = document.createElement("canvas");
17510canvas.width = 1;
17511canvas.height = ih;
17512var ctx = canvas.getContext("2d");
17513ctx.drawImage(img, 0, 0);
17514var _ctx$getImageData = ctx.getImageData(1, 0, 1, ih),
17515data = _ctx$getImageData.data; // search image edge pixel position in case it is squashed vertically.
17516var sy = 0;
17517var ey = ih;
17518var py = ih;
17519while (py > sy) {
17520var alpha = data[(py - 1) * 4 + 3];
17521if (alpha === 0) {
17522ey = py;
17523} else {
17524sy = py;
17525}
17526py = ey + sy >> 1;
17527}
17528var ratio = py / ih;
17529if (ratio === 0) {
17530return 1;
17531} else {
17532return ratio;
17533}
17534}; // A replacement for context.drawImage
17535// (args are for source and destination).
17536var drawImageIOSFix = function drawImageIOSFix(ctx, img, sx, sy, sw, sh, dx, dy, dw, dh) {
17537var vertSquashRatio = detectVerticalSquash(img);
17538return ctx.drawImage(img, sx, sy, sw, sh, dx, dy, dw, dh / vertSquashRatio);
17539}; // Based on MinifyJpeg
17540// Source: http://www.perry.cz/files/ExifRestorer.js
17541// http://elicon.blog57.fc2.com/blog-entry-206.html
17542var ExifRestore = /*#__PURE__*/function () {
17543function ExifRestore() {
17544dropzone_classCallCheck(this, ExifRestore);
17545}
17546dropzone_createClass(ExifRestore, null, [{
17547key: "initClass",
17548value: function initClass() {
17549this.KEY_STR = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
17550}
17551}, {
17552key: "encode64",
17553value: function encode64(input) {
17554var output = "";
17555var chr1 = undefined;
17556var chr2 = undefined;
17557var chr3 = "";
17558var enc1 = undefined;
17559var enc2 = undefined;
17560var enc3 = undefined;
17561var enc4 = "";
17562var i = 0;
17563while (true) {
17564chr1 = input[i++];
17565chr2 = input[i++];
17566chr3 = input[i++];
17567enc1 = chr1 >> 2;
17568enc2 = (chr1 & 3) << 4 | chr2 >> 4;
17569enc3 = (chr2 & 15) << 2 | chr3 >> 6;
17570enc4 = chr3 & 63;
17571if (isNaN(chr2)) {
17572enc3 = enc4 = 64;
17573} else if (isNaN(chr3)) {
17574enc4 = 64;
17575}
17576output = output + this.KEY_STR.charAt(enc1) + this.KEY_STR.charAt(enc2) + this.KEY_STR.charAt(enc3) + this.KEY_STR.charAt(enc4);
17577chr1 = chr2 = chr3 = "";
17578enc1 = enc2 = enc3 = enc4 = "";
17579if (!(i < input.length)) {
17580break;
17581}
17582}
17583return output;
17584}
17585}, {
17586key: "restore",
17587value: function restore(origFileBase64, resizedFileBase64) {
17588if (!origFileBase64.match("data:image/jpeg;base64,")) {
17589return resizedFileBase64;
17590}
17591var rawImage = this.decode64(origFileBase64.replace("data:image/jpeg;base64,", ""));
17592var segments = this.slice2Segments(rawImage);
17593var image = this.exifManipulation(resizedFileBase64, segments);
17594return "data:image/jpeg;base64,".concat(this.encode64(image));
17595}
17596}, {
17597key: "exifManipulation",
17598value: function exifManipulation(resizedFileBase64, segments) {
17599var exifArray = this.getExifArray(segments);
17600var newImageArray = this.insertExif(resizedFileBase64, exifArray);
17601var aBuffer = new Uint8Array(newImageArray);
17602return aBuffer;
17603}
17604}, {
17605key: "getExifArray",
17606value: function getExifArray(segments) {
17607var seg = undefined;
17608var x = 0;
17609while (x < segments.length) {
17610seg = segments[x];
17611if (seg[0] === 255 & seg[1] === 225) {
17612return seg;
17613}
17614x++;
17615}
17616return [];
17617}
17618}, {
17619key: "insertExif",
17620value: function insertExif(resizedFileBase64, exifArray) {
17621var imageData = resizedFileBase64.replace("data:image/jpeg;base64,", "");
17622var buf = this.decode64(imageData);
17623var separatePoint = buf.indexOf(255, 3);
17624var mae = buf.slice(0, separatePoint);
17625var ato = buf.slice(separatePoint);
17626var array = mae;
17627array = array.concat(exifArray);
17628array = array.concat(ato);
17629return array;
17630}
17631}, {
17632key: "slice2Segments",
17633value: function slice2Segments(rawImageArray) {
17634var head = 0;
17635var segments = [];
17636while (true) {
17637var length;
17638if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 218) {
17639break;
17640}
17641if (rawImageArray[head] === 255 & rawImageArray[head + 1] === 216) {
17642head += 2;
17643} else {
17644length = rawImageArray[head + 2] * 256 + rawImageArray[head + 3];
17645var endPoint = head + length + 2;
17646var seg = rawImageArray.slice(head, endPoint);
17647segments.push(seg);
17648head = endPoint;
17649}
17650if (head > rawImageArray.length) {
17651break;
17652}
17653}
17654return segments;
17655}
17656}, {
17657key: "decode64",
17658value: function decode64(input) {
17659var output = "";
17660var chr1 = undefined;
17661var chr2 = undefined;
17662var chr3 = "";
17663var enc1 = undefined;
17664var enc2 = undefined;
17665var enc3 = undefined;
17666var enc4 = "";
17667var i = 0;
17668var buf = []; // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
17669var base64test = /[^A-Za-z0-9\+\/\=]/g;
17670if (base64test.exec(input)) {
17671console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding.");
17672}
17673input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
17674while (true) {
17675enc1 = this.KEY_STR.indexOf(input.charAt(i++));
17676enc2 = this.KEY_STR.indexOf(input.charAt(i++));
17677enc3 = this.KEY_STR.indexOf(input.charAt(i++));
17678enc4 = this.KEY_STR.indexOf(input.charAt(i++));
17679chr1 = enc1 << 2 | enc2 >> 4;
17680chr2 = (enc2 & 15) << 4 | enc3 >> 2;
17681chr3 = (enc3 & 3) << 6 | enc4;
17682buf.push(chr1);
17683if (enc3 !== 64) {
17684buf.push(chr2);
17685}
17686if (enc4 !== 64) {
17687buf.push(chr3);
17688}
17689chr1 = chr2 = chr3 = "";
17690enc1 = enc2 = enc3 = enc4 = "";
17691if (!(i < input.length)) {
17692break;
17693}
17694}
17695return buf;
17696}
17697}]);
17698return ExifRestore;
17699}();
17700ExifRestore.initClass();
17701/*
17702* contentloaded.js
17703*
17704* Author: Diego Perini (diego.perini at gmail.com)
17705* Summary: cross-browser wrapper for DOMContentLoaded
17706* Updated: 20101020
17707* License: MIT
17708* Version: 1.2
17709*
17710* URL:
17711* http://javascript.nwbox.com/ContentLoaded/
17712* http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE
17713*/
17714// @win window reference
17715// @fn function reference
17716var contentLoaded = function contentLoaded(win, fn) {
17717var done = false;
17718var top = true;
17719var doc = win.document;
17720var root = doc.documentElement;
17721var add = doc.addEventListener ? "addEventListener" : "attachEvent";
17722var rem = doc.addEventListener ? "removeEventListener" : "detachEvent";
17723var pre = doc.addEventListener ? "" : "on";
17724var init = function init(e) {
17725if (e.type === "readystatechange" && doc.readyState !== "complete") {
17726return;
17727}
17728(e.type === "load" ? win : doc)[rem](pre + e.type, init, false);
17729if (!done && (done = true)) {
17730return fn.call(win, e.type || e);
17731}
17732};
17733var poll = function poll() {
17734try {
17735root.doScroll("left");
17736} catch (e) {
17737setTimeout(poll, 50);
17738return;
17739}
17740return init("poll");
17741};
17742if (doc.readyState !== "complete") {
17743if (doc.createEventObject && root.doScroll) {
17744try {
17745top = !win.frameElement;
17746} catch (error) {}
17747if (top) {
17748poll();
17749}
17750}
17751doc[add](pre + "DOMContentLoaded", init, false);
17752doc[add](pre + "readystatechange", init, false);
17753return win[add](pre + "load", init, false);
17754}
17755}; // As a single function to be able to write tests.
17756Dropzone._autoDiscoverFunction = function () {
17757if (Dropzone.autoDiscover) {
17758return Dropzone.discover();
17759}
17760};
17761contentLoaded(window, Dropzone._autoDiscoverFunction);
17762function __guard__(value, transform) {
17763return typeof value !== "undefined" && value !== null ? transform(value) : undefined;
17764}
17765function __guardMethod__(obj, methodName, transform) {
17766if (typeof obj !== "undefined" && obj !== null && typeof obj[methodName] === "function") {
17767return transform(obj, methodName);
17768} else {
17769return undefined;
17770}
17771}
17772;// CONCATENATED MODULE: ./tool/dropzone.dist.js
17773/// Make Dropzone a global variable.
17774window.Dropzone = Dropzone;
17775/* harmony default export */ var dropzone_dist = (Dropzone);
17776}();
17777/******/ 	return __webpack_exports__;
17778/******/ })()
17779;
17780});;
17781!(function ($) {
17782const ACTION_URL = 'front/imageEditor/imageEditorActionHandler.jsp';
17783const LIB_URL = 'frontlib/filerobot-image-editor/build/4.x/filerobot-image-editor.min.js';
17784const LIB_TRANSLATIONS_URL = 'js/jalios/core/components/imageEditor/jalios-image-editor-translations.jsp';
17785let imageEditorLoaded = false;
17786let activeImageEditor;
17787const DEFAULT_CONFIG = {
17788language: document.documentElement.lang,
17789annotationsCommon: {
17790fill: '#ff0000'
17791},
17792savingPixelRatio: 2,
17793useBackendTranslations: false
17794};
17795const triggerImageEditorEvent = function (eventType, data) {
17796var event = $.Event('jalios:imageEditor');
17797event.imageEditor = {};
17798event.imageEditor.type = eventType;
17799event.imageEditor.editor = activeImageEditor;
17800event.imageEditor.data = data;
17801$(document).trigger(event);
17802return event;
17803};
17804const handleComplete = function (url, dataId) {
17805let absoluteUrl = JcmsJsContext.getBaseUrl() + url;
17806// Invalidate cache for original image
17807$.ajax({
17808url: absoluteUrl,
17809type: 'GET',
17810headers: {
17811'Cache-Control': 'no-cache'
17812}
17813}).done(function (infos) {
17814$('img[data-jalios-data-id=' + activeImageEditor.editorContext.dataId + ']').each(function (idx, element) {
17815// Replace image reference in the image element data to handle the case where image could be edited multiple times on same page
17816let lightboxOptions = $(element).data("jalios-lightbox-options");
17817if (lightboxOptions) {
17818if (lightboxOptions.imageEditorOption) {
17819lightboxOptions.imageEditorOption.filePath = url;
17820}
17821}
17822//Replace image in DOM
17823setTimeout(() => {
17824element.src = url;
17825}, 500);
17826if (!$(element).closest('.wysiwyg').exists()) {
17827$(element).css('max-height', $(element).outerHeight()).css('max-width', $(element).outerWidth());
17828}
17829$(element).css('height', 'initial').css('width', 'initial');
17830$(element).removeClass('lightbox-initialized');
17831// Reset lightbox
17832if (lightboxOptions && lightboxOptions.thumb) {
17833lightboxOptions.thumb = url;
17834// Update element data for lightbox / image editor
17835$(element).data('jalios-lightbox-options', lightboxOptions);
17836let gallery = $.jalios.Lightbox.getGallery(element);
17837if (gallery) {
17838// Remove backdrop
17839$(gallery.$backdrop.selector).closest(".lg-container.lg-show-in").removeClass("lg-show-in").removeClass("lg-show");
17840// Destroy gallery
17841gallery && gallery.destroy();
17842}
17843// Remove initialized lightGallery plugin
17844$(element).removeData('lightGallery');
17845}
17846});
17847const $currentLightboxImage = $(".lg-current .lg-image");
17848//Replace image in DOM for lightbox
17849if ($currentLightboxImage.exists()) {
17850setTimeout(() => {
17851$currentLightboxImage[0].src = url;
17852}, 500);
17853}
17854// Also replace all elements that might target the old url (Usually, link or button that triggers the image editor)
17855$("[data-jalios-image-editor-context]").each(function (idx, element) {
17856let imageEditorContext = $(element).data("jalios-image-editor-context");
17857if (imageEditorContext.dataId === dataId) {
17858imageEditorContext.filePath = url;
17859$(element).data("jalios-image-editor-context", imageEditorContext);
17860}
17861}
17861);
17862});
17863};
17864const closeImageEditor = function () {
17865showLightBox();
17866$('#image-editor-wrapper').remove();
17867activeImageEditor.terminate();
17868};
17869const getImageEditorWrapperDiv = function () {
17870if ($('#image-editor-wrapper').exists()) {
17871return $('#image-editor-wrapper');
17872}
17873let div = jQuery('<div>', {
17874id: 'image-editor-wrapper',
17875class: 'image-editor-wrapper'
17876}).appendTo('body');
17877return $(div);
17878};
17879const getImageEditorBackdrop = function () {
17880if ($(".image-editor-inline").exists()) {
17881return;
17882}
17883if (!$('#image-editor-backdrop').exists()) {
17884jQuery('<div>', {
17885id: 'image-editor-backdrop',
17886class: 'image-editor-backdrop'
17887}).appendTo('body');
17888$('#image-editor-backdrop').on('click', function (_event) {
17889closeImageEditor();
17890});
17891}
17892return {
17893show: function () {
17894$('#image-editor-backdrop').show();
17895},
17896hide: function () {
17897$('#image-editor-backdrop').hide();
17898}
17899};
17900};
17901const saveImage = function (imageData, imageDesignState, editorContext) {
17902triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.BEFORE_COMPLETE);
17903imageData.imageCanvas.toBlob((blob) => {
17904const file = new File([blob], editorContext.filePath.split(/[\\\/]/).pop());
17905var formData = new FormData();
17906formData.append('filename', file);
17907formData.append('id', activeImageEditor.editorContext.dataId);
17908formData.append('opUpload', 'true');
17909formData.append('removeFile', 'true');
17910triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.SAVE, {
17911file: file
17912});
17913$.ajax({
17914type: 'POST',
17915url: ACTION_URL,
17916data: formData,
17917processData: false,
17918contentType: false
17919})
17920.done(function (infos) {
17921handleComplete(infos.data.filename, infos.data.dataId);
17922triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.AFTER_IMAGE_REFRESHED, {
17923file: file
17924});
17925closeImageEditor();
17926})
17927.fail(function (_infos) {
17928triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.ERROR);
17929});
17930});
17931return false;
17932};
17933const hideLightBox = function () {
17934if ($('.lg-container.lg-show-in').length > 0) {
17935$('.lg-container.lg-show-in').removeClass("lg-show");
17936}
17937getImageEditorBackdrop().show();
17938};
17939const showLightBox = function () {
17940if ($('.lg-container.lg-show-in').length > 0) {
17941$('.lg-container.lg-show-in').addClass("lg-show");
17942}
17943getImageEditorBackdrop().hide();
17944};
17945const getImageType = function (filename) {
17946let extension = filename.substring(filename.lastIndexOf('.') + 1, filename.length) || filename;
17947switch (extension) {
17948case 'jpg':
17949case 'jpeg':
17950return "jpg";
17951case 'webp':
17952return 'webp';
17953case 'png':
17954return "png";
17955default:
17956return "jpg";
17957};
17958}
17959$.jalios.ImageEditor = {
17960EditorEventType: {
17961OPEN: 'open',
17962ERROR: 'error',
17963BEFORE_COMPLETE: 'before',
17964SAVE: 'save',
17965AFTER_IMAGE_REFRESHED: 'after',
17966CLOSE: 'closed'
17967},
17968launchImageEditor: function (editorContext, config) {
17969try {
17970let callback = function () {
17971imageEditorLoaded = true;
17972let extendedConfig = $.extend({}, DEFAULT_CONFIG, config);
17973extendedConfig = $.extend({}, extendedConfig, {
17974translations: Object.fromEntries(FILE_ROBOT_IMAGE_EDITOR_TRANSLATIONS),
17975defaultSavedImageName: editorContext.filePath.split(/[\\\/]/).pop(),
17976defaultSavedImageType: getImageType(editorContext.filePath)
17977});
17978extendedConfig = $.extend({}, extendedConfig, {
17979tabsIds: [
17980window.FilerobotImageEditor.TABS.ADJUST,
17981window.FilerobotImageEditor.TABS.FINETUNE,
17982window.FilerobotImageEditor.TABS.ANNOTATE,
17983window.FilerobotImageEditor.TABS.RESIZE
17984], // or ['Adjust', 'Annotate', 'Watermark']
17985defaultTabId: window.FilerobotImageEditor.TABS.RESIZE, // or 'Annotate'
17986defaultToolId: window.FilerobotImageEditor.TOOLS.TEXT, // or 'Text'
17987source: editorContext.filePath
17988});
17989if (editorContext.options) {
17990extendedConfig = $.extend({}, extendedConfig, editorContext.options);
17991}
17992// Use timeout since in some cases, file editor js is not loaded yet through getScript
17993setTimeout(() => {
17994let editorContainer = editorContext.container
17995? jQuery(editorContext.container)[0]
17996: getImageEditorWrapperDiv()[0];
17997activeImageEditor = new window.FilerobotImageEditor(editorContainer, extendedConfig);
17998activeImageEditor.editorContext = editorContext;
17999activeImageEditor.render({
18000onBeforeSave: function (_imageFileInfo) {
18001if (_imageFileInfo) {
18002_imageFileInfo.quality = 0.80;
18003}
18004return false;
18005},
18006onSave: function (imageData, imageDesignState) {
18007saveImage(imageData, imageDesignState, editorContext);
18008},
18009onClose: function (closingReason) {
18010triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.CLOSE, {
18011closingReason: closingReason
18012});
18013closeImageEditor();
18014}
18015});
18016}, 0);
18017};
18018if (imageEditorLoaded) {
18019callback();
18020} else {
18021loadScripts([
18022LIB_TRANSLATIONS_URL,
18023LIB_URL
18024]).then(callback);
18025}
18026hideLightBox();
18027triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.OPEN);
18028} catch (err) {
18029$.console.log(err);
18030triggerImageEditorEvent($.jalios.ImageEditor.EditorEventType.ERROR);
18031}
18032}
18033};
18034function loadScripts(urls, path) {
18035return new Promise(function (resolve) {
18036urls.forEach(function (src, i) {
18037let script = document.createElement('script');
18038script.type = 'text/javascript';
18039script.src = (path || "") + src;
18040script.async = false;
18041// If last script, bind the callback event to resolve
18042if (i == urls.length - 1) {
18043// Multiple binding for browser compatibility
18044script.onreadystatechange = resolve;
18045script.onload = resolve;
18046}
18047// Fire the loading
18048document.body.appendChild(script);
18049});
18050});
18051}
18052$(document).ready(function () {
18053$(document).on('click', '.js-image-editor', function (event) {
18054event.preventDefault();
18055let editorContext = $(event.currentTarget).data('jalios-image-editor-context');
18056$.jalios.ImageEditor.launchImageEditor(editorContext);
18057});
18058});
18059})(window.jQuery);;
18060!function(a){a.plugin.JTranslatePlugin.acl.canAccess=false;a(document).on("wysiwyg:ready",function(c){var b=c.editor;var d=a(b.getElement());a(".mce-tinymce .mce-jtranslate-btn").remove()})}(window.jQuery);;

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.