diff --git a/dist/bs-customizer.min.js b/dist/bs-customizer.min.js index 6bc2605..e3b6693 100644 --- a/dist/bs-customizer.min.js +++ b/dist/bs-customizer.min.js @@ -1,4 +1,4 @@ -!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=34)}([function(Kt,Yt,e){var Qt; +!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=40)}([function(Xt,Kt,e){var Jt; /*! * jQuery JavaScript Library v3.3.1 * https://jquery.com/ @@ -25,7 +25,7 @@ * * Date: 2018-01-20T17:24Z */ -!function(e,t){"use strict";"object"==typeof Kt&&"object"==typeof Kt.exports?Kt.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(S,e){"use strict";var t=[],C=S.document,r=Object.getPrototypeOf,a=t.slice,g=t.concat,u=t.push,o=t.indexOf,n={},i=n.toString,m=n.hasOwnProperty,s=m.toString,c=s.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},l={type:!0,src:!0,noModule:!0};function x(e,t,n){var r,o=(t=t||C).createElement("script");if(o.text=e,n)for(r in l)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var f="3.3.1",E=function(e,t){return new E.fn.init(e,t)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+R+")"+R+"*"),$=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),z=new RegExp(B),X=new RegExp("^"+H+"$"),V={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){T()},oe=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{O.apply(t=L.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){j.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,n,r){var o,i,s,a,u,c,l,f=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:y)!==S&&T(t),t=t||S,C)){if(11!==d&&(u=G.exec(e)))if(o=u[1]){if(9===d){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(f&&(s=f.getElementById(o))&&v(t,s)&&s.id===o)return n.push(s),n}else{if(u[2])return O.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&p.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(o)),n}if(p.qsa&&!D[e+" "]&&(!m||!m.test(e))){if(1!==d)f=t,l=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,ne):t.setAttribute("id",a=E),i=(c=h(e)).length;i--;)c[i]="#"+a+" "+ve(c[i]);l=c.join(","),f=J.test(e)&&ge(t.parentNode)||t}if(l)try{return O.apply(n,f.querySelectorAll(l)),n}catch(e){}finally{a===E&&t.removeAttribute("id")}}}return g(e.replace(F,"$1"),t,n,r)}function se(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ae(e){return e[E]=!0,e}function ue(e){var t=S.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function de(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function pe(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&&oe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function he(s){return ae(function(i){return i=+i,ae(function(e,t){for(var n,r=s([],e.length,i),o=r.length;o--;)e[n=r[o]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=ie.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:y;return r!==S&&9===r.nodeType&&r.documentElement&&(s=(S=r).documentElement,C=!o(S),y!==S&&(n=S.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",re,!1):n.attachEvent&&n.attachEvent("onunload",re)),p.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ue(function(e){return e.appendChild(S.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=Q.test(S.getElementsByClassName),p.getById=ue(function(e){return s.appendChild(e).id=E,!S.getElementsByName||!S.getElementsByName(E).length}),p.getById?(x.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(Z,ee);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),x.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"!==e)return i;for(;n=i[o++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},a=[],m=[],(p.qsa=Q.test(S.querySelectorAll))&&(ue(function(e){s.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=S.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=Q.test(l=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){p.disconnectedMatch=l.call(e,"*"),l.call(e,"[s!='']:x"),a.push("!=",B)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=Q.test(s.compareDocumentPosition),v=t||Q.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===S||e.ownerDocument===y&&v(y,e)?-1:t===S||t.ownerDocument===y&&v(y,t)?1:u?q(u,e)-q(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],a=[t];if(!o||!i)return e===S?-1:t===S?1:o?-1:i?1:u?q(u,e)-q(u,t):0;if(o===i)return le(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?le(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0}),S},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==S&&T(e),t=t.replace($,"='$1']"),p.matchesSelector&&C&&!D[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=l.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||ie.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]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=h(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(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,o){return function(e){var t=ie.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===o:"!="===r?t!==o:"^="===r?o&&0===t.indexOf(o):"*="===r?o&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,n,r){return y(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||j,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.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 E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),N.test(r[1])&&E.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=C.getElementById(r[2]))&&(this[0]=o,this.length=1),this}).prototype=E.fn,j=E(C);var L=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]+)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,de={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function pe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?E.merge([e],n):n}function he(e,t){for(var n=0,r=e.length;nx",v.noCloneChecked=!!ge.cloneNode(!0).lastChild.defaultValue;var be=C.documentElement,xe=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ce(){return!1}function Ee(){try{return C.activeElement}catch(e){}}function ke(e,t,n,r,o,i){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===i&&(s=o,(o=function(e){return E().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),e.each(function(){E.event.add(this,t,o,r,n)})}E.event={global:{},add:function(t,e,n,r,o){var i,s,a,u,c,l,f,d,p,h,g,m=Q.get(t);if(m)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&E.find.matchesSelector(be,o),n.guid||(n.guid=E.guid++),(u=m.events)||(u=m.events={}),(s=m.handle)||(s=m.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)p=g=(a=Te.exec(e[c])||[])[1],h=(a[2]||"").split(".").sort(),p&&(f=E.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=E.event.special[p]||{},l=E.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&E.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),E.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,s,a,u,c,l,f,d,p,h,g,m=Q.hasData(e)&&Q.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(p=g=(a=Te.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),p){for(f=E.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=d.length;i--;)l=d[i],!o&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));s&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||E.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)E.event.remove(e,p+t[c],n,r,!0);E.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=E.event.fix(e),u=new Array(arguments.length),c=(Q.get(this,"events")||{})[a.type]||[],l=E.event.special[a.type]||{};for(u[0]=a,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,_e=/\s*$/g;function je(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var n,r,o,i,s,a,u,c;if(1===t.nodeType){if(Q.hasData(e)&&(i=Q.access(e),s=Q.set(t,i),c=i.events))for(o in delete s.handle,s.events={},c)for(n=0,r=c[o].length;n")},clone:function(e,t,n){var r,o,i,s,a,u,c,l=e.cloneNode(!0),f=E.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=pe(l),r=0,o=(i=pe(e)).length;r").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){r.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){o&&o()}}});var Ut,$t=[],zt=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||E.expando+"_"+wt++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,i,s=!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(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(zt,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||E.error(r+" was not called"),i[0]},e.dataTypes[0]="json",o=S[r],S[r]=function(){i=arguments},n.always(function(){void 0===o?E(S).removeProp(r):S[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,$t.push(r)),i&&y(o)&&o(i[0]),i=o=void 0}),"script"}),v.createHTMLDocument=((Ut=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),i=!n&&[],(o=N.exec(e))?[t.createElement(o[1])]:(o=ye([e],t,i),i&&i.length&&E(i).remove(),E.merge([],o.childNodes)));var r,o,i},E.fn.load=function(e,t,n){var r,o,i,s=this,a=e.indexOf(" ");return-1").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,o,i,s,a,u,c=E.css(e,"position"),l=E(e),f={};"static"===c&&(e.style.position="relative"),a=l.offset(),i=E.css(e,"top"),u=E.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<(i+u).indexOf("auto")?(s=(r=l.position()).top,r.left):(s=parseFloat(i)||0,parseFloat(u)||0),y(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):l.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.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],o={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),o.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-E.css(r,"marginTop",!0),left:t.left-o.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||be})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var i="pageYOffset"===o;E.fn[t]=function(e){return U(this,function(e,t,n){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[o]:e[t];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Fe(v.pixelPosition,function(e,t){if(t)return t=Me(e,n),He.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(s,a){E.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,i){E.fn[i]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),o=r||(!0===e||!0===t?"margin":"border");return U(this,function(e,t,n){var r;return b(e)?0===i.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?E.css(e,t,o):E.style(e,t,n,o)},a,n?e:void 0,n)}})}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0+~]|"+q+")"+q+"*"),U=new RegExp("="+q+"*([^\\]'\"]*?)"+q+"*\\]","g"),W=new RegExp(I),Y=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+q+"?|("+q+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){x()},ie=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{O.apply(t=N.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){F.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,n,r){var i,o,a,s,u,c,f,l=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&((t?t.ownerDocument||t:y)!==E&&x(t),t=t||E,A)){if(11!==p&&(u=G.exec(e)))if(i=u[1]){if(9===p){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(l&&(a=l.getElementById(i))&&m(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return O.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&h.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(i)),n}if(h.qsa&&!C[e+" "]&&(!g||!g.test(e))){if(1!==p)l=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(te,ne):t.setAttribute("id",s=k),o=(c=d(e)).length;o--;)c[o]="#"+s+" "+me(c[o]);f=c.join(","),l=Q.test(e)&&ve(t.parentNode)||t}if(f)try{return O.apply(n,l.querySelectorAll(f)),n}catch(e){}finally{s===k&&t.removeAttribute("id")}}}return v(e.replace($,"$1"),t,n,r)}function ae(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function se(e){return e[k]=!0,e}function ue(e){var t=E.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pe(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function he(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&&ie(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function de(a){return se(function(o){return o=+o,se(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=oe.support={},i=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=oe.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:y;return r!==E&&9===r.nodeType&&r.documentElement&&(a=(E=r).documentElement,A=!i(E),y!==E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",re,!1):n.attachEvent&&n.attachEvent("onunload",re)),h.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ue(function(e){return e.appendChild(E.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=J.test(E.getElementsByClassName),h.getById=ue(function(e){return a.appendChild(e).id=k,!E.getElementsByName||!E.getElementsByName(k).length}),h.getById?(b.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(Z,ee);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&A)return t.getElementsByClassName(e)},s=[],g=[],(h.qsa=J.test(E.querySelectorAll))&&(ue(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+q+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+q+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=E.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+q+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=J.test(f=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ue(function(e){h.disconnectedMatch=f.call(e,"*"),f.call(e,"[s!='']:x"),s.push("!=",I)}),g=g.length&&new RegExp(g.join("|")),s=s.length&&new RegExp(s.join("|")),t=J.test(a.compareDocumentPosition),m=t||J.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===E||e.ownerDocument===y&&m(y,e)?-1:t===E||t.ownerDocument===y&&m(y,t)?1:u?j(u,e)-j(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===E?-1:t===E?1:i?-1:o?1:u?j(u,e)-j(u,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]===y?-1:s[r]===y?1:0}),E},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==E&&x(e),t=t.replace(U,"='$1']"),h.matchesSelector&&A&&!C[t+" "]&&(!s||!s.test(t))&&(!g||!g.test(t)))try{var n=f.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||oe.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]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=d(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(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+q+")"+e+"("+q+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=oe.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(e,n,r){return y(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||F,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.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 k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:A,!0)),S.test(r[1])&&k.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=A.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=k.fn,F=k(A);var N=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]+)/i,le=/^$|^module$|\/(?:java|ecma)script/i,pe={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function he(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?k.merge([e],n):n}function de(e,t){for(var n=0,r=e.length;nx",m.noCloneChecked=!!ve.cloneNode(!0).lastChild.defaultValue;var _e=A.documentElement,be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Ae(){return!1}function ke(){try{return A.activeElement}catch(e){}}function De(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)De(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=Ae;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,c,f,l,p,h,d,v,g=J.get(t);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(_e,i),n.guid||(n.guid=k.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(q)||[""]).length;c--;)h=v=(s=xe.exec(e[c])||[])[1],d=(s[2]||"").split(".").sort(),h&&(l=k.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=k.event.special[h]||{},f=k.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=u[h])||((p=u[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,d,a)||t.addEventListener&&t.addEventListener(h,a)),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),k.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,f,l,p,h,d,v,g=J.hasData(e)&&J.get(e);if(g&&(u=g.events)){for(c=(t=(t||"").match(q)||[""]).length;c--;)if(h=v=(s=xe.exec(t[c])||[])[1],d=(s[2]||"").split(".").sort(),h){for(l=k.event.special[h]||{},p=u[h=(r?l.delegateType:l.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)f=p[o],!i&&v!==f.origType||n&&n.guid!==f.guid||s&&!s.test(f.namespace)||r&&r!==f.selector&&("**"!==r||!f.selector)||(p.splice(o,1),f.selector&&p.delegateCount--,l.remove&&l.remove.call(e,f));a&&!p.length&&(l.teardown&&!1!==l.teardown.call(e,d,g.handle)||k.removeEvent(e,h,g.handle),delete u[h])}else for(h in u)k.event.remove(e,h+t[c],n,r,!0);k.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),c=(J.get(this,"events")||{})[s.type]||[],f=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Te=/\s*$/g;function Fe(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,c,f=e.cloneNode(!0),l=k.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=he(f),r=0,i=(o=he(e)).length;r").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)}),A.head.appendChild(r[0])},abort:function(){i&&i()}}});var zt,Ut=[],Wt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||k.expando+"_"+wt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Wt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Wt,"$1"+r):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=E[r],E[r]=function(){o=arguments},n.always(function(){void 0===i?k(E).removeProp(r):E[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Ut.push(r)),o&&y(i)&&i(o[0]),o=i=void 0}),"script"}),m.createHTMLDocument=((zt=A.implementation.createHTMLDocument("").body).innerHTML="
",2===zt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=A.implementation.createHTMLDocument("")).createElement("base")).href=A.location.href,t.head.appendChild(r)):t=A),o=!n&&[],(i=S.exec(e))?[t.createElement(i[1])]:(i=ye([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c=k.css(e,"position"),f=k(e),l={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=k.css(e,"top"),u=k.css(e,"left"),i=("absolute"===c||"fixed"===c)&&-1<(o+u).indexOf("auto")?(a=(r=f.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(u)||0),y(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(l.top=t.top-s.top+a),null!=t.left&&(l.left=t.left-s.left+i),"using"in t?t.using.call(e,l):f.css(l)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.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"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||_e})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return z(this,function(e,t,n){var r;if(_(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)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=$e(m.pixelPosition,function(e,t){if(t)return t=Le(e,n),Me.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return z(this,function(e,t,n){var r;return _(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?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.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){k.fn[n]=function(e,t){return 0 SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},clone:function(e){var t=this._clone(e);return this.variables&&(t.variables=this.variables.clone()),this.functions&&(t.functions=this.functions.clone()),this.enclosed&&(t.enclosed=this.enclosed.slice()),t}},pe),Ae=r("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return(n=Zt(n)).transform(new en(function(e){if(e instanceof fe&&"$ORIG"==e.value)return oe.splice(t)}))}},Ee),ke=r("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(r){return r._visit(this,function(){this.name&&this.name._walk(r);for(var e=this.argnames,t=0,n=e.length;t!?|~^")),Ot=/^0x[0-9a-f]+$/i,Nt=/^0[0-7]+$/,jt=X(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),Rt=X(e("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),qt=X(e("\n\r\u2028\u2029")),Mt=X(e("[{(,;:")),Pt=X(e("[]{}(),;:")),s={letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};function It(e){return 97<=e&&e<=122||65<=e&&e<=90||170<=e&&s.letter.test(String.fromCharCode(e))}function M(e){return"string"==typeof e&&(e=e.charCodeAt(0)),55296<=e&&e<=56319}function P(e){return"string"==typeof e&&(e=e.charCodeAt(0)),56320<=e&&e<=57343}function Lt(e){return 48<=e&&e<=57}function l(e){return!y(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function $t(e){return 36==e||95==e||It(e)}function Ht(e){var t,n,r,i=e.charCodeAt(0);return $t(i)||Lt(i)||8204==i||8205==i||(r=e,s.non_spacing_mark.test(r)||s.space_combining_mark.test(r))||(n=e,s.connector_punctuation.test(n))||(t=i,s.digit.test(String.fromCharCode(t)))}function zt(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function Ut(e,t,n,r,i){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}function Wt(e,t,n,r,i){throw new Ut(e,t,n,r,i)}function Yt(e,t,n){return e.type==t&&(null==n||e.value==n)}((Ut.prototype=Object.create(Error.prototype)).constructor=Ut).prototype.name="SyntaxError",t(Ut);var Vt={};var Xt=X(["typeof","void","delete","--","++","!","~","-","+"]),Kt=X(["--","++"]),Jt=X(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Gt=function(e,t){for(var n=0;n","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Qt=X(["atom","num","string","regexp","name"]);function Zt(e,l){l=U(l,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null},!0);var p={input:"string"==typeof e?function(i,o,a,s){var u={text:i,filename:o,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]};function c(){return u.text.charAt(u.pos)}function f(e,t){var n=u.text.charAt(u.pos++);if(e&&!n)throw Vt;return qt(n)?(u.newline_before=u.newline_before||!t,++u.line,u.col=0,t||"\r"!=n||"\n"!=c()||(++u.pos,n="\n")):++u.col,n}function l(e){for(;0\/\t\n\f\r ])/gi,"<\\/$1$2")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),n}var h,d,v=!1,g=!1,m=0,y=!1,_=!1,b=-1,w="",x=s.source_map&&[],E=x?function(){x.forEach(function(t){try{s.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,t.name||"name"!=t.token.type?t.name:t.token.value)}catch(e){se.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.token.file,line:t.token.line,col:t.token.col,cline:t.line,ccol:t.col,name:t.name||""})}}),x=[]}:q,A=s.max_line_len?function(){if(a>s.max_line_len){if(m){var e=l.slice(0,m),t=l.slice(m);if(x){var n=t.length-a;x.forEach(function(e){e.line++,e.col+=n})}l=e+"\n"+t,c++,f++,a=t.length}a>s.max_line_len&&se.warn("Output exceeds {max_line_len} characters",s)}m&&(m=0,E())}:q,k=X("( [ + * / - , .");function D(e){var t=(e=String(e)).charAt(0);y&&t&&(y=!1,"\n"!=t&&(D("\n"),T())),_&&t&&(_=!1,/[\s;})]/.test(t)||C()),b=-1;var n=w.charAt(w.length-1);if(g&&(g=!1,(":"==n&&"}"==t||(!t||";}".indexOf(t)<0)&&";"!=n)&&(s.semicolons||k(t)?(l+=";",a++,f++):(A(),l+="\n",f++,c++,a=0,/^\s+$/.test(e)&&(g=!0)),s.beautify||(v=!1))),!s.beautify&&s.preserve_line&&R[R.length-1])for(var r=R[R.length-1].start.line;c>1);return r+=r,1&n&&(r+=t),r}(" ",s.indent_start+i-t*s.indent_level)))}:q,r=s.beautify?function(e,t){!0===e&&(e=O());var n=i;i=e;var r=t();return i=n,r}:function(e,t){return t()},S=s.beautify?function(){if(b<0)return D("\n");"\n"!=l[b]&&(l=l.slice(0,b)+"\n"+l.slice(b),f++,c++),b++}:s.max_line_len?function(){A(),m=l.length}:q,B=s.beautify?function(){D(";")}:function(){g=!0};function F(){g=!1,D(";")}function O(){return i+s.indent_level}function N(){return m&&A(),l}function j(){var e=l.lastIndexOf("\n");return/^ *$/.test(l.slice(e+1))}var R=[];return{get:N,toString:N,indent:T,indentation:function(){return i},current_width:function(){return a-i},should_break:function(){return s.width&&this.current_width()>=s.width},has_parens:function(){return"("==l.slice(-1)},newline:S,print:D,space:C,comma:function(){D(","),C()},colon:function(){D(":"),C()},last:function(){return w},semicolon:B,force_semicolon:F,to_utf8:p,print_name:function(e){var t;D((t=(t=e).toString(),t=p(t,!0)))},print_string:function(e,t,n){var r=o(e,t);!0===n&&-1===r.indexOf("\\")&&(I.test(l)||F(),F()),D(r)},encode_string:o,next_indent:O,with_indent:r,with_block:function(e){var t;return D("{"),S(),r(O(),function(){t=e()}),T(),D("}"),t},with_parens:function(e){D("(");var t=e();return D(")"),t},with_square:function(e){D("[");var t=e();return D("]"),t},add_mapping:x?function(e,t){h=e,d=t}:q,option:function(e){return s[e]},prepend_comments:e?q:function(e){var r=this,t=e.start;if(t&&(!t.comments_before||t.comments_before._dumped!==r)){var i=t.comments_before;if(i||(i=t.comments_before=[]),i._dumped=r,e instanceof Se&&e.value){var o=new Tt(function(e){var t=o.parent();if(!(t instanceof Se||t instanceof et&&t.left===e||"Call"==t.TYPE&&t.expression===e||t instanceof tt&&t.condition===e||t instanceof Ke&&t.expression===e||t instanceof Ve&&t.expressions[0]===e||t instanceof Je&&t.expression===e||t instanceof Ze))return!0;var n=e.start.comments_before;n&&n._dumped!==r&&(n._dumped=r,i=i.concat(n))});o.push(e),e.value.walk(o)}if(0==f){0i&&(b=i)}}},line:function(){return c},col:function(){return a},pos:function(){return f},push_node:function(e){R.push(e)},pop_node:function(){return R.pop()},parent:function(e){return R[R.length-2-(e||0)]}}}function nn(e,t){if(!(this instanceof nn))return new nn(e,t);en.call(this,this.before,this.after),this.options=U(e,{arguments:!t,booleans:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!1,hoist_props:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_funcs:!t,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),typeofs:!t,unsafe:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!t,warnings:!1},!0);var n=this.options.global_defs;if("object"==typeof n)for(var r in n)/^@/.test(r)&&K(n,r)&&(n[r.slice(1)]=Zt(n[r],{expression:!0}));!0===this.options.inline&&(this.options.inline=3);var i=this.options.pure_funcs;this.pure_funcs="function"==typeof i?i:i?function(e){return i.indexOf(e.expression.print_to_string())<0}:V;var o=this.options.top_retain;o instanceof RegExp?this.top_retain=function(e){return o.test(e.name)}:"function"==typeof o?this.top_retain=o:o&&("string"==typeof o&&(o=o.split(/,/)),this.top_retain=function(e){return 0<=o.indexOf(e.name)});var a=this.options.toplevel;this.toplevel="string"==typeof a?{funcs:/funcs/.test(a),vars:/vars/.test(a)}:{funcs:a,vars:a};var s=this.options.sequences;this.sequences_limit=1==s?800:0|s,this.warnings_produced={}}function b(e,t){e.walk(new Tt(function(e){return e instanceof Ve?b(e.tail_node(),t):e instanceof mt?t(e.value):e instanceof tt&&(b(e.consequent,t),b(e.alternative,t)),!0}))}!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}var o=!1,a=null,s=null;function n(e,t){Array.isArray(e)?e.forEach(function(e){n(e,t)}):e.DEFMETHOD("needs_parens",t)}function r(e,n,r,t){var i=e.length-1;o=t,e.forEach(function(e,t){!0!==o||e instanceof fe||e instanceof de||e instanceof le&&e.body instanceof mt||(o=!1),e instanceof de||(r.indent(),e.print(r),t==i&&n||(r.newline(),n&&r.newline())),!0===o&&e instanceof le&&e.body instanceof mt&&(o=!1)}),o=!1}function i(e,t){t.print("{"),t.with_indent(t.next_indent(),function(){t.append_comments(e,!0)}),t.print("}")}function u(e,t,n){0"==n[0]&&e.left instanceof Ze&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Qe&&"!"==e.right.operator&&e.right.expression instanceof Qe&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(tt,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(rt,function(t,r){r.with_square(function(){var e=t.elements,n=e.length;0t.assignments))&&ae(t.orig,function(e){return!(e instanceof lt||e instanceof pt)}))}function l(e,t){if(!((t=p(t))instanceof se)){var n;if(e instanceof rt){var r=e.elements;if("length"==t)return P(r.length,e);"number"==typeof t&&t in r&&(n=r[t])}else if(e instanceof it){t=""+t;for(var i=e.properties,o=i.length;0<=--o;){if(!(i[o]instanceof at))return;n||i[o].key!==t||(n=i[o].value)}}return n instanceof dt&&n.fixed_value()||n}}e(se,q);var n=new Tt(function(e){if(e instanceof st){var t=e.definition();t&&(e instanceof dt&&t.references.push(e),t.fixed=!1)}});e(De,function(e,t,n){return s(e),a(e,n,this),t(),u(e),!0}),e(nt,function(e){var t=this;if(t.left instanceof dt){var n=t.left.definition(),r=n.fixed;if((r||"="==t.operator)&&o(e,n,t.right))return n.references.push(t.left),n.assignments++,"="!=t.operator&&(n.chained=!0),n.fixed="="==t.operator?function(){return t.right}:function(){return G(et,t,{operator:t.operator.slice(0,-1),left:r instanceof se?r:r(),right:t.right})},c(e,n,!1),t.right.walk(e),c(e,n,!0),!0}}),e(et,function(e){if(te(this.operator))return this.left.walk(e),s(e),this.right.walk(e),u(e),!0}),e(Pe,function(e){return s(e),this.expression.walk(e),u(e),s(e),j(this,e),u(e),!0}),e(tt,function(e){return this.condition.walk(e),s(e),this.consequent.walk(e),u(e),s(e),this.alternative.walk(e),u(e),!0}),e(Me,function(e,t){return s(e),t(),u(e),!0}),e(Te,function(e,t,n){this.inlined=!1;var r=e.safe_ids;return e.safe_ids=Object.create(null),a(e,n,this),t(),e.safe_ids=r,!0}),e(ye,function(e){var t=e.in_loop;return e.in_loop=this,s(e),this.body.walk(e),this.condition.walk(e),u(e),e.in_loop=t,!0}),e(be,function(e){this.init&&this.init.walk(e);var t=e.in_loop;return(e.in_loop=this).condition&&(s(e),this.condition.walk(e),u(e)),s(e),this.body.walk(e),u(e),this.step&&(s(e),this.step.walk(e),u(e)),e.in_loop=t,!0}),e(we,function(e){this.init.walk(n),this.object.walk(e);var t=e.in_loop;return e.in_loop=this,s(e),this.body.walk(e),u(e),e.in_loop=t,!0}),e(Ce,function(r,e,t){var i,o=this;return o.inlined=!1,s(r),a(r,t,o),!o.name&&(i=r.parent())instanceof We&&i.expression===o&&o.argnames.forEach(function(e,t){var n=e.definition();o.uses_arguments||void 0!==n.fixed?n.fixed=!1:(n.fixed=function(){return i.args[t]||G(xt,i)},r.loop_ids[n.id]=r.in_loop,c(r,n,!0))}),e(),u(r),!0}),e(je,function(e){return this.condition.walk(e),s(e),this.body.walk(e),u(e),this.alternative&&(s(e),this.alternative.walk(e),u(e)),!0}),e(ve,function(e){return s(e),this.body.walk(e),u(e),!0}),e(ht,function(){this.definition().fixed=!1}),e(dt,function(e,t,n){var r,i,o,a,s=this.definition();s.references.push(this),1==s.references.length&&!s.fixed&&s.orig[0]instanceof lt&&(e.loop_ids[s.id]=e.in_loop),void 0!==s.fixed&&f(e,s)&&"m"!=s.single_use?s.fixed&&((r=this.fixed_value())instanceof ke&&U(e,s)?s.recursive_refs++:r&&(o=e,a=s,n.option("unused")&&!a.scope.uses_eval&&!a.scope.uses_with&&a.references.length-a.recursive_refs==1&&o.loop_ids[a.id]===o.in_loop)?s.single_use=r instanceof ke||s.scope===this.scope&&r.is_constant_expression():s.single_use=!1,function e(t,n,r,i,o){var a=t.parent(i);if(ne(n,a)||!o&&a instanceof We&&a.expression===n&&(!(r instanceof Ce)||!(a instanceof Ye)&&r.contains_this()))return!0;if(a instanceof rt)return e(t,a,a,i+1);if(a instanceof at&&n===a.value){var s=t.parent(i+1);return e(t,s,s,i+2)}return a instanceof Xe&&a.expression===n?!o&&e(t,a,l(r,a.property),i+1):void 0}(e,this,r,0,!!(i=r)&&(i.is_constant()||i instanceof ke||i instanceof vt))&&(s.single_use?s.single_use="m":s.fixed=!1)):s.fixed=!1,function e(t,n,r,i,o,a,s){var u=t.parent(a);if(!o||!o.is_constant()){if(u instanceof nt&&"="==u.operator&&i===u.right||u instanceof We&&i!==u.expression||u instanceof Se&&i===u.value&&i.scope!==n.scope||u instanceof Ue&&i===u.value)return!(1s)&&(n.escaped=s));if(u instanceof rt||u instanceof et&&te(u.operator)||u instanceof tt&&i!==u.condition||u instanceof Ve&&i===u.tail_node())e(t,n,r,u,u,a+1,s);else if(u instanceof at&&i===u.value){var c=t.parent(a+1);e(t,n,r,c,c,a+2,s)}else if(u instanceof Xe&&i===u.expression&&(e(t,n,r,u,o=l(o,u.property),a+1,s+1),o))return;0==a&&(n.direct_access=!0)}}(e,s,this.scope,this,r,0,1)}),e(Ae,function(e,t,n){this.globals.each(function(e){r(n,e)}),a(e,n,this)}),e(Ie,function(e){return s(e),j(this,e),u(e),this.bcatch&&(s(e),this.bcatch.walk(e),u(e)),this.bfinally&&this.bfinally.walk(e),!0}),e(Ge,function(e,t){var n=this;if(("++"==n.operator||"--"==n.operator)&&n.expression instanceof dt){var r=n.expression.definition(),i=r.fixed;if(i&&o(e,r,!0))return r.references.push(n.expression),r.assignments++,r.chained=!0,r.fixed=function(){return G(et,n,{operator:n.operator.slice(0,-1),left:G(Qe,n,{operator:"+",expression:i instanceof se?i:i()}),right:G(yt,n,{value:1})})},c(e,r,!0),!0}}),e(Ue,function(e,t){var n=this,r=n.name.definition();if(n.value){if(o(e,r,n.value))return r.fixed=function(){return n.value},e.loop_ids[r.id]=e.in_loop,c(e,r,!1),t(),c(e,r,!0),!0;r.fixed=!1}}),e(_e,function(e){var t=e.in_loop;return e.in_loop=this,s(e),this.condition.walk(e),this.body.walk(e),u(e),e.in_loop=t,!0})}(function(e,t){e.DEFMETHOD("reduce_vars",t)}),Ae.DEFMETHOD("reset_opt_flags",function(n){var r=n.option("reduce_vars"),i=new Tt(function(e,t){if(e._squeezed=!1,e._optimized=!1,r)return e.reduce_vars(i,t,n)});i.safe_ids=Object.create(null),i.in_loop=null,i.loop_ids=Object.create(null),this.walk(i)}),st.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof se?e:e()}),dt.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof pt});var t=X("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");dt.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&t(this.name)});var n,r,i,a,s,H=X("Infinity NaN undefined");function ee(e){return e instanceof At||e instanceof wt||e instanceof xt}function u(e,c){var Y,V,X;!function(){var e=c.self(),t=0;do{if(e instanceof Le||e instanceof $e)t++;else if(e instanceof ge)Y=!0;else{if(e instanceof Ee){X=e;break}e instanceof Ie&&(V=!0)}}while(e=c.parent(t++))}();for(var K,t=10;K=!1,i(e),c.option("dead_code")&&o(e,c),c.option("if_return")&&r(e,c),0C)C=!1;else{for(D=!1,u=0,k=A,B=o;!D&&B=e.sequences_limit&&u();var s=a.body;0=",">"],(r=function(e,t){e.DEFMETHOD("is_boolean",t)})(se,ie),r(Qe,function(){return re(this.operator,i)}),r(et,function(){return re(this.operator,a)||te(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),r(tt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),r(nt,function(){return"="==this.operator&&this.right.is_boolean()}),r(Ve,function(){return this.tail_node().is_boolean()}),r(Ct,V),r(Dt,V),function(e){e(se,ie),e(yt,V);var t=X("+ - ~ ++ --");e(Ge,function(){return t(this.operator)});var n=X("- * / % & | ^ << >> >>>");e(et,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(nt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ve,function(e){return this.tail_node().is_number(e)}),e(tt,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),(s=function(e,t){e.DEFMETHOD("is_string",t)})(se,ie),s(mt,V),s(Qe,function(){return"typeof"==this.operator}),s(et,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),s(nt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),s(Ve,function(e){return this.tail_node().is_string(e)}),s(tt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)});var c,te=X("&& ||"),f=X("delete ++ --");function ne(e,t){return t instanceof Ge&&f(t.operator)?t.expression:t instanceof nt&&t.left===e?e:void 0}function x(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function z(e,t,n){return(N(e)?function(e,t){return x(G(le,e,{body:e}),G(le,t,{body:t})).body}:x)(t,n)}function h(e){for(var t in e)e[t]=X(e[t])}c=function(e,t){e.DEFMETHOD("_find_defs",t)},se.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){for(var n,r=this,i=0;n=r,(r=e.parent(i++))instanceof Xe&&r.expression===n;);if(!ne(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),c(se,q),c(Ke,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),c(dt,function(e,t){if(this.global()){var n,r=e.option("global_defs");if(r&&K(r,n=this.name+t)){var i=function t(e,n){if(e instanceof se)return G(e.CTOR,n,e);if(Array.isArray(e))return G(rt,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var i in e)K(e,i)&&r.push(G(at,n,{key:i,value:t(e[i],n)}));return G(it,n,{properties:r})}return P(e,n)}(r[n],this),o=e.find_parent(Ae);return i.walk(new Tt(function(e){e instanceof dt&&(e.scope=o,e.thedef=o.def_global(e))})),i}}});var d=["constructor","toString","valueOf"],v={Array:["indexOf","join","lastIndexOf","slice"].concat(d),Boolean:d,Function:d,Number:["toExponential","toFixed","toPrecision"].concat(d),Object:d,RegExp:["test"].concat(d),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(d)};h(v);var g={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]};h(g),function(e){se.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=[],n=this._eval(e,t,1);return t.forEach(function(e){delete e._eval}),!n||n instanceof RegExp?n:"function"==typeof n||"object"==typeof n?this:n});var t=X("! ~ - + void");se.DEFMETHOD("is_constant",function(){return this instanceof gt?!(this instanceof _t):this instanceof Qe&&this.expression instanceof gt&&t(this.operator)}),e(ue,function(){throw new Error(B("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(ke,T),e(se,T),e(gt,function(){return this.getValue()}),e(Ce,function(e){if(e.option("unsafe")){var t=function(){};return t.node=this,t.toString=function(){return"function(){}"},t}return this}),e(rt,function(e,t,n){if(e.option("unsafe")){for(var r=[],i=0,o=this.elements.length;i>":i=r>>o;break;case">>>":i=r>>>o;break;case"==":i=r==o;break;case"===":i=r===o;break;case"!=":i=r!=o;break;case"!==":i=r!==o;break;case"<":i=r":i=o=":i=o<=r;break;default:return this}return isNaN(i)&&e.find_parent(xe)?this:i}),e(tt,function(e,t,n){var r=this.condition._eval(e,t,n);if(r===this.condition)return this;var i=r?this.consequent:this.alternative,o=i._eval(e,t,n);return o===i?this:o}),e(dt,function(e,t,n){var r,i=this.fixed_value();if(!i)return this;if(0<=t.indexOf(i))r=i._eval();else{if(this._eval=T,r=i._eval(e,t,n),delete this._eval,r===i)return this;i._eval=function(){return r},t.push(i)}if(r&&"object"==typeof r){var o=this.definition().escaped;if(o&&o=":return n.operator="<",n;case">":return n.operator="<=",n}switch(r){case"==":return n.operator="!=",n;case"!=":return n.operator="==",n;case"===":return n.operator="!==",n;case"!==":return n.operator="===",n;case"&&":return n.operator="||",n.left=n.left.negate(e,t),n.right=n.right.negate(e),i(this,n,t);case"||":return n.operator="&&",n.left=n.left.negate(e,t),n.right=n.right.negate(e),i(this,n,t)}return o(this)})}(function(e,n){e.DEFMETHOD("negate",function(e,t){return n.call(this,e,t)})});var m=X("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");function E(e){return e&&e.aborts()}We.DEFMETHOD("is_expr_pure",function(e){if(e.option("unsafe")){var t=this.expression;if($(t)&&m(t.name))return!0;if(t instanceof Ke&&$(t.expression)&&(g[t.expression.name]||ie)(t.property))return!0}return this.pure||!e.pure_funcs(this)}),se.DEFMETHOD("is_call_pure",ie),Ke.DEFMETHOD("is_call_pure",function(e){if(e.option("unsafe")){var t=this.expression,n=ie;return t instanceof rt?n=v.Array:t.is_boolean()?n=v.Boolean:t.is_number(e)?n=v.Number:t instanceof _t?n=v.RegExp:t.is_string(e)?n=v.String:this.may_throw_on_access(e)||(n=v.Object),n(this.property)}}),function(e){function t(e,t){for(var n=e.length;0<=--n;)if(e[n].has_side_effects(t))return!0;return!1}e(se,V),e(de,ie),e(gt,ie),e(vt,ie),e(pe,function(e){return t(this.body,e)}),e(We,function(e){return!(this.is_expr_pure(e)||this.expression.is_call_pure(e)&&!this.expression.has_side_effects(e))||t(this.args,e)}),e(Re,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Pe,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ie,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(je,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(ve,function(e){return this.body.has_side_effects(e)}),e(le,function(e){return this.body.has_side_effects(e)}),e(ke,ie),e(et,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(nt,V),e(tt,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Ge,function(e){return f(this.operator)||this.expression.has_side_effects(e)}),e(dt,function(e){return!this.is_declared(e)}),e(ut,ie),e(it,function(e){return t(this.properties,e)}),e(ot,function(e){return this.value.has_side_effects(e)}),e(rt,function(e){return t(this.elements,e)}),e(Ke,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(Je,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ve,function(e){return t(this.expressions,e)}),e(He,function(e){return t(this.definitions,e)}),e(Ue,function(e){return this.value})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e,t){for(var n=e.length;0<=--n;)if(e[n].may_throw(t))return!0;return!1}e(se,V),e(gt,ie),e(de,ie),e(ke,ie),e(ut,ie),e(vt,ie),e(rt,function(e){return t(this.elements,e)}),e(nt,function(e){return!!this.right.may_throw(e)||!(!e.has_directive("use strict")&&"="==this.operator&&this.left instanceof dt)&&this.left.may_throw(e)}),e(et,function(e){return this.left.may_throw(e)||this.right.may_throw(e)}),e(pe,function(e){return t(this.body,e)}),e(We,function(e){return!!t(this.args,e)||!this.is_expr_pure(e)&&(!!this.expression.may_throw(e)||!(this.expression instanceof ke)||t(this.expression.body,e))}),e(Pe,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(tt,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}),e(He,function(e){return t(this.definitions,e)}),e(Ke,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)}),e(je,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}),e(ve,function(e){return this.body.may_throw(e)}),e(it,function(e){return t(this.properties,e)}),e(ot,function(e){return this.value.may_throw(e)}),e(Be,function(e){return this.value&&this.value.may_throw(e)}),e(Ve,function(e){return t(this.expressions,e)}),e(le,function(e){return this.body.may_throw(e)}),e(Je,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)}),e(Re,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(dt,function(e){return!this.is_declared(e)}),e(Ie,function(e){return this.bcatch?this.bcatch.may_throw(e):t(this.body,e)||this.bfinally&&this.bfinally.may_throw(e)}),e(Ge,function(e){return!("typeof"==this.operator&&this.expression instanceof dt)&&this.expression.may_throw(e)}),e(Ue,function(e){return!!this.value&&this.value.may_throw(e)})}(function(e,t){e.DEFMETHOD("may_throw",t)}),function(e){function t(e){for(var t=e.length;0<=--t;)if(!e[t].is_constant_expression())return!1;return!0}e(se,ie),e(gt,V),e(ke,function(r){var i=this,o=!0;return i.walk(new Tt(function(e){if(!o)return!0;if(e instanceof dt){if(i.inlined)return!(o=!1);var t=e.definition();if(re(t,i.enclosed)&&!i.variables.has(t.name)){if(r){var n=r.find_variable(e);if(t.undeclared?!n:n===t)return o="f",!0}o=!1}return!0}})),o}),e(Ge,function(){return this.expression.is_constant_expression()}),e(et,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(rt,function(){return t(this.elements)}),e(it,function(){return t(this.properties)}),e(ot,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return 0t.eliminated)){if(_.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",y(e.name)),e.value){var r=G(dt,e.name,e.name);t.references.push(r);var i=G(nt,e,{operator:"=",left:r,right:e.value});k[t.id]===e&&(k[t.id]=i),v.push(i.transform(T))}return F(n,e),void t.eliminated++}}e.value?(0=p.argnames.length;if(u||p.argnames[o].__unused){if(h=s.args[o].drop_side_effect_free(i))s.args[n++]=h;else if(!u){s.args[n++]=G(yt,s.args[o],{value:0});continue}}else s.args[n++]=s.args[o];r=n}s.args.length=r}if(i.option("unsafe"))if($(e))switch(e.name){case"Array":if(1!=s.args.length)return G(rt,s,{elements:s.args}).optimize(i);break;case"Object":if(0==s.args.length)return G(it,s,{properties:[]});break;case"String":if(0==s.args.length)return G(mt,s,{value:""});if(s.args.length<=1)return G(et,s,{left:s.args[0],operator:"+",right:G(mt,s,{value:""})}).optimize(i);break;case"Number":if(0==s.args.length)return G(yt,s,{value:0});if(1==s.args.length)return G(Qe,s,{expression:s.args[0],operator:"+"}).optimize(i);case"Boolean":if(0==s.args.length)return G(Dt,s);if(1==s.args.length)return G(Qe,s,{expression:G(Qe,s,{expression:s.args[0],operator:"!"}),operator:"!"}).optimize(i);break;case"RegExp":var c=[];if(ae(s.args,function(e){var t=e.evaluate(i);return c.unshift(t),e!==t}))try{return z(i,s,G(_t,s,{value:RegExp.apply(RegExp,c)}))}catch(e){i.warn("Error converting {expr} [{file}:{line},{col}]",{expr:s.print_to_string(),file:s.start.file,line:s.start.line,col:s.start.col})}}else if(e instanceof Ke)switch(e.property){case"toString":if(0==s.args.length&&!e.expression.may_throw_on_access(i))return G(et,s,{left:G(mt,s,{value:""}),operator:"+",right:e.expression}).optimize(i);break;case"join":var f;if(!(e.expression instanceof rt)||0=n;)t.push(s.args[r]);for(r=n;0<=--r;){var i=p.argnames[r],o=s.args[r];if(i.__unused||B.var_names()[i.name])o&&t.push(o);else{var a=G(ct,i,i);i.definition().orig.push(a),!o&&F&&(o=G(xt,s)),q(e,t,a,o)}}e.reverse(),t.reverse()}(A,k),function(e,t){for(var n=t.length,r=0,i=p.body.length;r=Gt[n.operator]||e()),n=n.lift_sequences(t),t.option("comparisons"))switch(n.operator){case"===":case"!==":var i=!0;(n.left.is_string(t)&&n.right.is_string(t)||n.left.is_number(t)&&n.right.is_number(t)||n.left.is_boolean()&&n.right.is_boolean()||n.left.equivalent_to(n.right))&&(n.operator=n.operator.substr(0,2));case"==":case"!=":if(!i&&y(n.left,t))n.left=G(bt,n.left);else if(t.option("typeofs")&&n.left instanceof mt&&"undefined"==n.left.value&&n.right instanceof Qe&&"typeof"==n.right.operator){var o=n.right.expression;(o instanceof dt?!o.is_declared(t):o instanceof Xe&&t.option("ie8"))||(n.right=o,n.left=G(xt,n.left).optimize(t),2==n.operator.length&&(n.operator+="="))}else if(n.left instanceof dt&&n.right instanceof dt&&n.left.definition()===n.right.definition()&&((u=n.left.fixed_value())instanceof rt||u instanceof ke||u instanceof it))return G("="==n.operator[0]?Ct:Dt,n);break;case"&&":case"||":var a=n.left;if(a.operator==n.operator&&(a=a.right),a instanceof et&&a.operator==("&&"==n.operator?"!==":"===")&&n.right instanceof et&&a.operator==n.right.operator&&(y(a.left,t)&&n.right.left instanceof bt||a.left instanceof bt&&y(n.right.left,t))&&!a.right.has_side_effects(t)&&a.right.equivalent_to(n.right.right)){var s=G(et,n,{operator:a.operator.slice(0,-1),left:G(bt,n),right:a.right});return a!==n.left&&(s=G(et,n,{operator:n.operator,left:n.left.left,right:s})),s}}var u;if(t.option("booleans")&&"+"==n.operator&&t.in_boolean_context()){var c=n.left.evaluate(t),f=n.right.evaluate(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",n.start),M(n,[n.right,G(Ct,n)]).optimize(t);if(f&&"string"==typeof f)return t.warn("+ in boolean context always true [{file}:{line},{col}]",n.start),M(n,[n.left,G(Ct,n)]).optimize(t)}if(t.option("comparisons")&&n.is_boolean()){if(!(t.parent()instanceof et)||t.parent()instanceof nt){var l=G(Qe,n,{operator:"!",expression:n.negate(t,N(t))});n=z(t,n,l)}switch(n.operator){case">":e("<");break;case">=":e("<=")}}if("+"==n.operator){if(n.right instanceof mt&&""==n.right.getValue()&&n.left.is_string(t))return n.left;if(n.left instanceof mt&&""==n.left.getValue()&&n.right.is_string(t))return n.right;if(n.left instanceof et&&"+"==n.left.operator&&n.left.left instanceof mt&&""==n.left.left.getValue()&&n.right.is_string(t))return n.left=n.left.right,n.transform(t)}if(t.option("evaluate")){switch(n.operator){case"&&":if(!(c=m(n.left)))return t.warn("Condition left of && always false [{file}:{line},{col}]",n.start),Q(t.parent(),t.self(),n.left).optimize(t);if(!(c instanceof se))return t.warn("Condition left of && always true [{file}:{line},{col}]",n.start),M(n,[n.left,n.right]).optimize(t);if(f=n.right.evaluate(t)){if(!(f instanceof se)&&("&&"==(p=t.parent()).operator&&p.left===t.self()||t.option("booleans")&&t.in_boolean_context()))return t.warn("Dropping side-effect-free && [{file}:{line},{col}]",n.start),n.left.optimize(t)}else{if(t.option("booleans")&&t.in_boolean_context())return t.warn("Boolean && always false [{file}:{line},{col}]",n.start),M(n,[n.left,G(Dt,n)]).optimize(t);n.falsy=!0}if("||"==n.left.operator&&!(h=n.left.right.evaluate(t)))return G(tt,n,{condition:n.left.left,consequent:n.right,alternative:n.left.right}).optimize(t);break;case"||":var p,h;if(!(c=m(n.left)))return t.warn("Condition left of || always false [{file}:{line},{col}]",n.start),M(n,[n.left,n.right]).optimize(t);if(!(c instanceof se))return t.warn("Condition left of || always true [{file}:{line},{col}]",n.start),Q(t.parent(),t.self(),n.left).optimize(t);if(f=n.right.evaluate(t)){if(!(f instanceof se)){if(t.option("booleans")&&t.in_boolean_context())return t.warn("Boolean || always true [{file}:{line},{col}]",n.start),M(n,[n.left,G(Ct,n)]).optimize(t);n.truthy=!0}}else if("||"==(p=t.parent()).operator&&p.left===t.self()||t.option("booleans")&&t.in_boolean_context())return t.warn("Dropping side-effect-free || [{file}:{line},{col}]",n.start),n.left.optimize(t);if("&&"==n.left.operator&&(h=n.left.right.evaluate(t))&&!(h instanceof se))return G(tt,n,{condition:n.left.left,consequent:n.left.right,alternative:n.right}).optimize(t)}var d=!0;switch(n.operator){case"+":if(n.left instanceof gt&&n.right instanceof et&&"+"==n.right.operator&&n.right.left instanceof gt&&n.right.is_string(t)&&(n=G(et,n,{operator:"+",left:G(mt,n.left,{value:""+n.left.getValue()+n.right.left.getValue(),start:n.left.start,end:n.right.left.end}),right:n.right.right})),n.right instanceof gt&&n.left instanceof et&&"+"==n.left.operator&&n.left.right instanceof gt&&n.left.is_string(t)&&(n=G(et,n,{operator:"+",left:n.left.left,right:G(mt,n.right,{value:""+n.left.right.getValue()+n.right.getValue(),start:n.left.right.start,end:n.right.end})})),n.left instanceof et&&"+"==n.left.operator&&n.left.is_string(t)&&n.left.right instanceof gt&&n.right instanceof et&&"+"==n.right.operator&&n.right.left instanceof gt&&n.right.is_string(t)&&(n=G(et,n,{operator:"+",left:G(et,n.left,{operator:"+",left:n.left.left,right:G(mt,n.left.right,{value:""+n.left.right.getValue()+n.right.left.getValue(),start:n.left.right.start,end:n.right.left.end})}),right:n.right.right})),n.right instanceof Qe&&"-"==n.right.operator&&n.left.is_number(t)){n=G(et,n,{operator:"-",left:n.left,right:n.right.expression});break}if(n.left instanceof Qe&&"-"==n.left.operator&&r()&&n.right.is_number(t)){n=G(et,n,{operator:"-",left:n.right,right:n.left.expression});break}case"*":d=t.option("unsafe_math");case"&":case"|":case"^":if(n.left.is_number(t)&&n.right.is_number(t)&&r()&&!(n.left instanceof et&&n.left.operator!=n.operator&&Gt[n.left.operator]>=Gt[n.operator])){var v=G(et,n,{operator:n.operator,left:n.right,right:n.left});n=n.right instanceof gt&&!(n.left instanceof gt)?z(t,v,n):z(t,n,v)}d&&n.is_number(t)&&(n.right instanceof et&&n.right.operator==n.operator&&(n=G(et,n,{operator:n.operator,left:G(et,n.left,{operator:n.operator,left:n.left,right:n.right.left,start:n.left.start,end:n.right.left.end}),right:n.right.right})),n.right instanceof gt&&n.left instanceof et&&n.left.operator==n.operator&&(n.left.left instanceof gt?n=G(et,n,{operator:n.operator,left:G(et,n.left,{operator:n.operator,left:n.left.left,right:n.right,start:n.left.left.start,end:n.right.end}),right:n.left.right}):n.left.right instanceof gt&&(n=G(et,n,{operator:n.operator,left:G(et,n.left,{operator:n.operator,left:n.left.right,right:n.right,start:n.left.right.start,end:n.right.end}),right:n.left.left}))),n.left instanceof et&&n.left.operator==n.operator&&n.left.right instanceof gt&&n.right instanceof et&&n.right.operator==n.operator&&n.right.left instanceof gt&&(n=G(et,n,{operator:n.operator,left:G(et,n.left,{operator:n.operator,left:G(et,n.left.left,{operator:n.operator,left:n.left.right,right:n.right.left,start:n.left.right.start,end:n.right.left.end}),right:n.left.left}),right:n.right.right})))}}if(n.right instanceof et&&n.right.operator==n.operator&&(te(n.operator)||"+"==n.operator&&(n.right.left.is_string(t)||n.left.is_string(t)&&n.right.right.is_string(t))))return n.left=G(et,n.left,{operator:n.operator,left:n.left,right:n.right.left}),n.right=n.right.right,n.transform(t);var g=n.evaluate(t);return g!==n?(g=P(g,n).optimize(t),z(t,g,n)):n;function m(e){return!!e.truthy||!e.falsy&&(!!e.is_truthy()||e.evaluate(t))}}),e(dt,function(e,t){var n,r=e.resolve_defines(t);if(r)return r.optimize(t);if(!t.option("ie8")&&$(e)&&(!e.scope.uses_with||!t.find_parent(xe)))switch(e.name){case"undefined":return G(xt,e).optimize(t);case"NaN":return G(wt,e).optimize(t);case"Infinity":return G(At,e).optimize(t)}if(t.option("reduce_vars")&&ne(e,t.parent())!==e){var i=e.definition(),o=e.fixed_value(),a=i.single_use;if(a&&o instanceof ke)if(i.scope===e.scope||t.option("reduce_funcs")&&1!=i.escaped&&!o.inlined){if(U(t,i))a=!1;else if((i.scope!==e.scope||i.orig[0]instanceof ft)&&"f"==(a=o.is_constant_expression(e.scope)))for(var s=e.scope;(s instanceof Te||s instanceof Ce)&&(s.inlined=!0),s=s.parent_scope;);}else a=!1;if(a&&o){var u;if(o instanceof Te&&(o._squeezed=!0,o=G(Ce,o,o)),0>","<<",">>>","|","^","&"],C=["*","|","^","&"];e(nt,function(a,s){var e;if(s.option("dead_code")&&a.left instanceof dt&&(e=a.left.definition()).scope===s.find_parent(ke)){var t,n=0,r=a;do{if(t=r,(r=s.parent(n++))instanceof Se){if(i(n,r))break;if(W(e.scope,[e]))break;return"="==a.operator?a.right:(e.fixed=!1,G(et,a,{operator:a.operator.slice(0,-1),left:a.left,right:a.right}).optimize(s))}}while(r instanceof et&&r.right===t||r instanceof Ve&&r.tail_node()===t)}return"="==(a=a.lift_sequences(s)).operator&&a.left instanceof dt&&a.right instanceof et&&(a.right.left instanceof dt&&a.right.left.name==a.left.name&&re(a.right.operator,D)?(a.operator=a.right.operator+"=",a.right=a.right.right):a.right.right instanceof dt&&a.right.right.name==a.left.name&&re(a.right.operator,C)&&!a.right.left.has_side_effects(s)&&(a.operator=a.right.operator+"=",a.right=a.right.left)),a;function i(e,t){var n=a.right;a.right=G(bt,n);var r=t.may_throw(s);a.right=n;for(var i,o=a.left.definition().scope;(i=s.parent(e++))!==o;)if(i instanceof Ie){if(i.bfinally)return!0;if(r&&i.bcatch)return!0}}}),e(tt,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof Ve){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),M(e,n)}var r=e.condition.is_truthy()||e.condition.tail_node().evaluate(t);if(!r)return t.warn("Condition always false [{file}:{line},{col}]",e.start),M(e,[e.condition,e.alternative]).optimize(t);if(!(r instanceof se))return t.warn("Condition always true [{file}:{line},{col}]",e.start),M(e,[e.condition,e.consequent]).optimize(t);var i=r.negate(t,N(t));z(t,r,i)===i&&(e=G(tt,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var o,a=e.condition,s=e.consequent,u=e.alternative;if(a instanceof dt&&s instanceof dt&&a.definition()===s.definition())return G(et,e,{operator:"||",left:a,right:u});if(s instanceof nt&&u instanceof nt&&s.operator==u.operator&&s.left.equivalent_to(u.left)&&(!e.condition.has_side_effects(t)||"="==s.operator&&!s.left.has_side_effects(t)))return G(nt,e,{operator:s.operator,left:s.left,right:G(tt,e,{condition:e.condition,consequent:s.right,alternative:u.right})});if(s instanceof We&&u.TYPE===s.TYPE&&0u;)(d=c[p].drop_side_effect_free(t))&&(l.unshift(d),f&&d.has_side_effects(t)&&(f=!1));var h=c[u];for(h=h instanceof Et?G(xt,h):h,f||l.unshift(h);0<=--p;){var d;(d=c[p].drop_side_effect_free(t))?l.unshift(d):u--}return f?(l.push(h),M(e,l).optimize(t)):G(Je,e,{expression:G(rt,r,{elements:l}),property:G(yt,i,{value:u})})}}if(t.option("arguments")&&r instanceof dt&&"arguments"==r.name&&1==r.definition().orig.length&&(n=r.scope)instanceof ke&&i instanceof yt){u=i.getValue();var v=n.argnames[u];if(!v&&!t.option("keep_fargs"))for(;u>=n.argnames.length;)v=G(ft,n,{name:n.make_var_name("argument_"+n.argnames.length),scope:n}),n.argnames.push(v),n.enclosed.push(n.def_variable(v));if(v){var g=G(dt,e,v);return g.reference({}),g}}var m=e.evaluate(t);return m!==e?z(t,m=P(m,e).optimize(t),e):e}),ke.DEFMETHOD("contains_this",function(){var t,n=this;return n.walk(new Tt(function(e){return!!t||(e instanceof vt?t=!0:e!==n&&e instanceof Ee||void 0)})),t}),Xe.DEFMETHOD("flatten_object",function(e,t){if(t.option("properties")){var n=this.expression;if(n instanceof it)for(var r=n.properties,i=r.length;0<=--i;){var o=r[i];if(""+o.key==e){if(!ae(r,function(e){return e instanceof at}))break;var a=o.value;if(a instanceof Ce&&!(t.parent()instanceof Ye)&&a.contains_this())break;return G(Je,this,{expression:G(rt,n,{elements:r.map(function(e){return e.value})}),property:G(yt,this,{value:i})})}}}}),e(Ke,function(e,t){"arguments"!=e.property&&"caller"!=e.property||t.warn("Function.protoype.{prop} not supported [{file}:{line},{col}]",{prop:e.property,file:e.start.file,line:e.start.line,col:e.start.col});var n=e.resolve_defines(t);if(n)return n.optimize(t);if(ne(e,t.parent()))return e;if(t.option("unsafe_proto")&&e.expression instanceof Ke&&"prototype"==e.expression.property){var r=e.expression.expression;if($(r))switch(r.name){case"Array":e.expression=G(rt,e.expression,{elements:[]});break;case"Function":e.expression=G(Ce,e.expression,{argnames:[],body:[]});break;case"Number":e.expression=G(yt,e.expression,{value:0});break;case"Object":e.expression=G(it,e.expression,{properties:[]});break;case"RegExp":e.expression=G(_t,e.expression,{value:/t/});break;case"String":e.expression=G(mt,e.expression,{value:""})}}var i=e.flatten_object(e.property,t);if(i)return i.optimize(t);var o=e.evaluate(t);return o!==e?z(t,o=P(o,e).optimize(t),e):e}),e(Be,function(e,t){return e.value&&y(e.value,t)&&(e.value=null),e}),e(Ue,function(e,t){var n=t.option("global_defs");return n&&K(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){var t=function(e){for(var t=!0,n=0;n|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],i=t[3];switch(o+=",\n"+i+": ",a+=",\n"+n+": ",r){case"@":o+="M."+n+".map(from_moz)",a+="M."+i+".map(to_moz)";break;case">":o+="from_moz(M."+n+")",a+="to_moz(M."+i+")";break;case"=":o+="M."+n,a+="M."+i;break;case"%":o+="from_moz(M."+n+").body",a+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),o+="\n})\n}",a+="\n}\n}",o=new Function("U2","my_start_token","my_end_token","from_moz","return("+o+")")(d,s,u,c),a=new Function("to_moz","to_moz_block","to_moz_scope","return("+a+")")(l,p,h),r[e]=o,f(t,a)}r.UpdateExpression=r.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Qe:Ze)({start:s(e),end:u(e),operator:e.operator,expression:c(e.argument)})},e("EmptyStatement",de),e("BlockStatement",he,"body@body"),e("IfStatement",je,"test>condition, consequent>body, alternate>alternative"),e("LabeledStatement",ve,"label>label, body>body"),e("BreakStatement",Oe,"label>label"),e("ContinueStatement",Ne,"label>label"),e("WithStatement",xe,"object>expression, body>body"),e("SwitchStatement",Re,"discriminant>expression, cases@body"),e("ReturnStatement",Be,"argument>value"),e("ThrowStatement",J,"argument>value"),e("WhileStatement",_e,"test>condition, body>body"),e("DoWhileStatement",ye,"test>condition, body>body"),e("ForStatement",be,"init>init, test>condition, update>step, body>body"),e("ForInStatement",we,"left>init, right>object, body>body"),e("DebuggerStatement",ce),e("VariableDeclarator",Ue,"id>name, init>value"),e("CatchClause",Le,"param>argname, body%body"),e("ThisExpression",vt),e("BinaryExpression",et,"operator=operator, left>left, right>right"),e("LogicalExpression",et,"operator=operator, left>left, right>right"),e("AssignmentExpression",nt,"operator=operator, left>left, right>right"),e("ConditionalExpression",tt,"test>condition, consequent>consequent, alternate>alternative"),e("NewExpression",Ye,"callee>expression, arguments@args"),e("CallExpression",We,"callee>expression, arguments@args"),f(Ae,function(e){return h("Program",e)}),f(Te,function(e){return{type:"FunctionDeclaration",id:l(e.name),params:e.argnames.map(l),body:h("BlockStatement",e)}}),f(Ce,function(e){return{type:"FunctionExpression",id:l(e.name),params:e.argnames.map(l),body:h("BlockStatement",e)}}),f(fe,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),f(le,function(e){return{type:"ExpressionStatement",expression:l(e.body)}}),f(qe,function(e){return{type:"SwitchCase",test:l(e.expression),consequent:e.body.map(l)}}),f(Ie,function(e){return{type:"TryStatement",block:p(e),handler:l(e.bcatch),guardedHandlers:[],finalizer:l(e.bfinally)}}),f(Le,function(e){return{type:"CatchClause",param:l(e.argname),guard:null,body:p(e)}}),f(He,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(l)}}),f(Ve,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(l)}}),f(Xe,function(e){var t=e instanceof Je;return{type:"MemberExpression",object:l(e.expression),computed:t,property:t?l(e.property):{type:"Identifier",name:e.property}}}),f(Ge,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Qe,argument:l(e.expression)}}),f(et,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:l(e.left),operator:e.operator,right:l(e.right)}}),f(rt,function(e){return{type:"ArrayExpression",elements:e.elements.map(l)}}),f(it,function(e){return{type:"ObjectExpression",properties:e.properties.map(l)}}),f(ot,function(e){var t,n={type:"Literal",value:e.key instanceof Z?e.key.name:e.key};return e instanceof at?t="init":e instanceof Q?t="get":e instanceof G&&(t="set"),{type:"Property",kind:t,key:n,value:l(e.value)}}),f(st,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),f(_t,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),f(gt,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),f(m,function(e){return{type:"Identifier",name:String(e.value)}}),kt.DEFMETHOD("to_mozilla_ast",gt.prototype.to_mozilla_ast),bt.DEFMETHOD("to_mozilla_ast",gt.prototype.to_mozilla_ast),Et.DEFMETHOD("to_mozilla_ast",function(){return null}),pe.DEFMETHOD("to_mozilla_ast",he.prototype.to_mozilla_ast),ke.DEFMETHOD("to_mozilla_ast",Ce.prototype.to_mozilla_ast);var o=null;function c(e){o.push(e);var t=null!=e?r[e.type](e):null;return o.pop(),t}function f(e,r){e.DEFMETHOD("to_mozilla_ast",function(){return e=r(this),t=this.start,n=this.end,null!=t.pos&&null!=n.endpos&&(e.range=[t.pos,n.endpos]),t.line&&(e.loc={start:{line:t.line,column:t.col},end:n.endline?{line:n.endline,column:n.endcol}:null},t.file&&(e.loc.source=t.file)),e;var e,t,n})}function l(e){return null!=e?e.to_mozilla_ast():null}function p(e){return{type:"BlockStatement",body:e.body.map(l)}}function h(e,t){var n=t.body.map(l);return t.body[0]instanceof le&&t.body[0].body instanceof mt&&n.unshift(l(new de(t.body[0]))),{type:e,body:n}}se.from_mozilla_ast=function(e){var t=o;o=[];var n=c(e);return o=t,n}}();var h="undefined"==typeof atob?function(e){return new u(e,"base64").toString()}:atob,w="undefined"==typeof btoa?function(e){return new u(e).toString("base64")}:btoa;function x(t,n,e){n[t]&&e.forEach(function(e){n[e]&&("object"!=typeof n[e]&&(n[e]={}),t in n[e]||(n[e][t]=n[t]))})}function E(e){e&&("props"in e?e.props instanceof O||(e.props=O.fromObject(e.props)):e.props=new O)}function A(e){return{props:e.props.toObject()}}d.Dictionary=O,d.TreeWalker=Tt,d.TreeTransformer=en,d.minify=function(e,t){var n,r,i=se.warn_function;try{var o,a=(t=U(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},nameCache:null,output:{},parse:{},rename:void 0,sourceMap:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0)).timings&&{start:Date.now()};void 0===t.rename&&(t.rename=t.compress&&t.mangle),x("ie8",t,["compress","mangle","output"]),x("keep_fnames",t,["compress","mangle"]),x("toplevel",t,["compress","mangle"]),x("warnings",t,["compress"]),t.mangle&&(t.mangle=U(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0),t.mangle.properties&&("object"!=typeof t.mangle.properties&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(o=t.mangle.properties.reserved,Array.isArray(o)||(o=[]),t.mangle.properties.reserved=o),!t.nameCache||"cache"in t.mangle.properties||(t.mangle.properties.cache=t.nameCache.props||{})),E(t.mangle.cache),E(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=U(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var s,u=[];if(t.warnings&&!se.warn_function&&(se.warn_function=function(e){u.push(e)}),a&&(a.parse=Date.now()),e instanceof Ae)s=e;else{for(var c in"string"==typeof e&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null,e)if(K(e,c)&&(t.parse.filename=c,t.parse.toplevel=Zt(e[c],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(1 * @license MIT */ -e.exports=function(e){return null!=e&&(n(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))||!!e._isBuffer);var t}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(21),s=n(22);function a(e){this.defaults=e,this.interceptors={request:new i,response:new i}}a.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(n){a.prototype[n]=function(e,t){return this.request(o.merge(t||{},{method:n,url:e}))}}),o.forEach(["post","put","patch"],function(r){a.prototype[r]=function(e,t,n){return this.request(o.merge(n||{},{method:r,url:e,data:t}))}}),e.exports=a},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f>8-i%1*8)){if(255<(n=r.charCodeAt(i+=.75)))throw new a;t=t<<8|n}return o}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?{write:function(e,t,n,r,o,i){var s=[];s.push(e+"="+encodeURIComponent(t)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(1);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=o},function(e,t,n){"use strict";var r=n(1),o=n(23),i=n(7),s=n(3),a=n(24),u=n(25);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(t){return c(t),t.baseURL&&!a(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(8);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},e.exports=o},function(e,t,n){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}},function(e,t,n){e.exports=function(e,s){"use strict";function i(e,t){for(var n=0;ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right\n \n\n'),f=function(t){s.text("Building your custom Bootstrap..."),i.one("shown.bs.modal",function(){var e;!(e=function(){t()})||(!0,setTimeout(function(){!1,e()},0))}).modal("show")},d=function(){i.one("hidden.bs.modal",function(){s.text("")}).modal("hide")},p=(n(32),"https://unpkg.com/bootstrap/js/dist/"),h=!!new Blob,g=!0;a()(function(){a()(document.body).append(l),i=a()(".".concat(c)),s=a()("#loadingStatus");var e=a()("#btnSubmit"),t=a()("#alertBrowser"),r=a()("form"),n=a()(".require-popper"),o=a()("#checkboxPopper");if(!h)return r.remove(),void t.removeClass("d-none");o.on("click",function(){g=this.checked}),n.on("click",function(){this.checked?g&&(o[0].checked=!0):0===[].slice.call(document.querySelectorAll(".require-popper")).filter(function(e){return e.checked}).length&&(o[0].checked=!1)}),e.on("click",function(){var n=r.serializeArray();0!==n.length&&f(function(){var t=[u.a.get("".concat(p,"util.js"))],e=function(e){var t=[].concat(e);if(-1!==t.indexOf("popover")&&-1===t.indexOf("tooltip")){var n=t.indexOf("popover");t.splice(n,0,"tooltip")}var r=t.indexOf("popover"),o=t.indexOf("tooltip");return-1!==r&&-1!==o&&r>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new s;t=t<<8|n}return i}},function(e,t,n){"use strict";var s=n(1);e.exports=s.isStandardBrowserEnv()?{write:function(e,t,n,r,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),s.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),s.isString(r)&&a.push("path="+r),s.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(1);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(25),o=n(7),a=n(3),s=n(26),u=n(27);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return c(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(8);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i(function(e){t=e}),cancel:t}},e.exports=i},function(e,t,n){"use strict";e.exports=function(t){return function(e){return t.apply(null,e)}}},function(e,P,t){"use strict";(function(e){ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +var r=t(31),o=t(32),a=t(33);function n(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(n()=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return R(e).length;t=(""+t).toLowerCase(),r=!0}}function d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s/=a=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var f=-1;for(o=n;o>>10&1023|55296),f=56320|1023&f),r.push(f),i+=l}return function(e){var t=e.length;if(t<=w)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return E(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",t=P.INSPECT_MAX_BYTES;return 0t&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(i<=r&&n<=t)return 0;if(i<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),f=0;fthis.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o,a,s,u,c,f,l,p,h,d=!1;;)switch(r){case"hex":return m(this,e,t,n);case"utf8":case"utf-8":return p=t,h=n,M(R(e,(l=this).length-p),l,p,h);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return y(this,e,t,n);case"base64":return u=this,c=t,f=n,M(q(e),u,c,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a=t,s=n,M(function(e,t){for(var n,r,i,o=[],a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,(o=this).length-a),o,a,s);default:if(d)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var w=4096;function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ie.length)throw new RangeError("Index out of range")}function T(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function S(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,i){return i||B(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function O(e,t,n,r,i){return i||B(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):r>>8):T(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):S(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;0<=--o&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):T(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):S(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return O(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return O(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),0=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){return r.toByteArray(function(e){var t;if((e=(t=e,t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,t(9))},function(e,t,n){"use strict";t.byteLength=function(e){var t=h(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=h(e),r=n[0],i=n[1],o=new p((c=r,f=i,3*(c+f)/4-f)),a=0,s=0>16&255,o[a++]=t>>8&255,o[a++]=255&t;var c,f;2===i&&(t=l[e.charCodeAt(u)]<<2|l[e.charCodeAt(u+1)]>>4,o[a++]=255&t);1===i&&(t=l[e.charCodeAt(u)]<<10|l[e.charCodeAt(u+1)]<<4|l[e.charCodeAt(u+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;o>2]+s[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return i.join("")};for(var s=[],l=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i>18&63]+s[i>>12&63]+s[i>>6&63]+s[63&i]);return o.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,f=-7,l=n?i-1:0,p=n?-1:1,h=e[t+l];for(l+=p,o=h&(1<<-f)-1,h>>=-f,f+=s;0>=-f,f+=r;0>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),2<=(t+=1<=a+l?p/u:p*Math.pow(2,1-l))*u&&(a++,u/=2),f<=a+l?(s=0,a=f):1<=a+l?(s=(t*u-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));8<=i;e[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right\n \n\n'),v=function(t){u.text("Building your custom Bootstrap..."),s.one("shown.bs.modal",function(){var e;!(e=function(){t()})||(!0,setTimeout(function(){!1,e()},0))}).modal("show")},g=function(){s.one("hidden.bs.modal",function(){u.text("")}).modal("hide")},m=(n(38),"https://unpkg.com/bootstrap/js/dist/"),y=!!new Blob,_=!0,b="bootstrap.custom.js";c()(function(){c()(document.body).append(d),s=c()(".".concat(h)),u=c()("#loadingStatus");var e=c()("#btnSubmit"),t=c()("#alertBrowser"),r=c()("form"),n=c()(".require-popper"),i=c()("#checkboxPopper"),o=c()("#chkMinify"),a=[].slice.call(document.querySelectorAll(".require-popper"));if(!y)return r.remove(),void t.removeClass("d-none");i.on("click",function(){_=this.checked}),n.on("click",function(){this.checked?_&&(i[0].checked=!0):0===a.filter(function(e){return e.checked}).length&&(i[0].checked=!1)}),e.on("click",function(){var n=r.serializeArray();if(0!==n.length){var a=o[0].checked;v(function(){var t=[f.a.get("".concat(m,"util.js"))],e=function(e){var t=[].concat(e);if(-1!==t.indexOf("popover")&&-1===t.indexOf("tooltip")){var n=t.indexOf("popover");t.splice(n,0,"tooltip")}var r=t.indexOf("popover"),i=t.indexOf("tooltip");return-1!==r&&-1!==i&&rOptions
- +
+ +
+
+ + +
+
diff --git a/index.html b/index.html index dfb7710..c620fbe 100644 --- a/index.html +++ b/index.html @@ -129,6 +129,15 @@

Options

+ +
+
+ + +
+
diff --git a/package-lock.json b/package-lock.json index 4855d8a..c50ac5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6946,6 +6946,11 @@ } } }, + "uglifyjs-browser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uglifyjs-browser/-/uglifyjs-browser-3.0.0.tgz", + "integrity": "sha1-ypdRKahU53/hNX8awEd/bFBsyN8=" + }, "uglifyjs-webpack-plugin": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-2.0.1.tgz", diff --git a/package.json b/package.json index 266aaab..fcb2653 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "axios": "^0.18.0", "bootstrap": "^4.1.3", "boxicons": "^1.7.1", - "jquery": "^3.3.1" + "jquery": "^3.3.1", + "uglifyjs-browser": "^3.0.0" } } diff --git a/src/file-util.js b/src/file-util.js index d2087ed..0d30054 100644 --- a/src/file-util.js +++ b/src/file-util.js @@ -1,9 +1,31 @@ -const createFileContent = (listOfFiles) => { +import uglify from 'uglifyjs-browser' + +const uglifyConfig = { + compress: { + typeofs: false, + }, + mangle: true, + output: { + comments: /^!/, + }, +} + +const createFileContent = (listOfFiles, minify) => { let content = '' listOfFiles.forEach((file) => { content += file.data - }) + }) + + if (minify) { + const minifyResult = uglify.minify(content, uglifyConfig) + + if (minifyResult.error) { + throw new Error('Unable to minify') + } + + content = minifyResult.code + } return content } diff --git a/src/index.js b/src/index.js index 767fb44..b7817e6 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ import { createModal, showModal, hideModal } from './dialog-loader' import 'bootstrap/dist/css/bootstrap.css' const bsCDN = 'https://unpkg.com/bootstrap/js/dist/' -const popperCDN = 'https://unpkg.com/popper.js/dist/umd/popper.min.js' +const popperCDN = 'https://unpkg.com/popper.js/dist/umd/popper.js' const supportedBrowser = !!new Blob let chooseToImportPopper = true @@ -20,7 +20,9 @@ $(() => { const $alertBrowser = $('#alertBrowser') const $form = $('form') const $checkBoxRequirePopper = $('.require-popper') - const $checkboxPopper = $('#checkboxPopper') + const $checkboxPopper = $('#checkboxPopper') + const $chkMinify = $('#chkMinify') + const popperCheckboxList = [].slice.call(document.querySelectorAll('.require-popper')) if (!supportedBrowser) { $form.remove() @@ -34,7 +36,7 @@ $(() => { $checkBoxRequirePopper.on('click', function () { if (!this.checked) { - const stillCheckedList = [].slice.call(document.querySelectorAll('.require-popper')) + const stillCheckedList = popperCheckboxList .filter((chk) => chk.checked) if (stillCheckedList.length === 0) { @@ -49,8 +51,9 @@ $(() => { const formData = $form.serializeArray() if (formData.length === 0) { return - } + } + const minify = $chkMinify[0].checked showModal(() => { const listOfRequest = [ axios.get(`${bsCDN}util.js`) @@ -70,11 +73,15 @@ $(() => { axios.get(`${bsCDN}${value}.js`) ) }) + + if (minify) { + fileName = 'bootstrap.custom.min.js' + } axios.all(listOfRequest) .then((listOfFiles) => { hideModal() - downloadFile(fileName, createFileContent(listOfFiles)) + downloadFile(fileName, createFileContent(listOfFiles, minify)) }) .catch(() => { hideModal()