static.smart-ui.plugins.eruda.eruda.js Maven / Gradle / Ivy
/*! eruda v2.1.0 https://eruda.liriliri.io/ */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.eruda=e():t.eruda=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/assets/",e(e.s=35)}([function(t,e,n){"use strict";(function(t,i,r){n.d(e,"_6",function(){return u}),n.d(e,"_3",function(){return l}),n.d(e,"Y",function(){return c}),n.d(e,"_13",function(){return f}),n.d(e,"_4",function(){return b}),n.d(e,"k",function(){return y}),n.d(e,"_30",function(){return $}),n.d(e,"_5",function(){return C}),n.d(e,"v",function(){return R}),n.d(e,"y",function(){return N}),n.d(e,"z",function(){return M}),n.d(e,"A",function(){return z}),n.d(e,"B",function(){return I}),n.d(e,"D",function(){return B}),n.d(e,"F",function(){return H}),n.d(e,"_36",function(){return U}),n.d(e,"H",function(){return W}),n.d(e,"K",function(){return K}),n.d(e,"_20",function(){return X}),n.d(e,"R",function(){return Z}),n.d(e,"I",function(){return tt}),n.d(e,"X",function(){return nt}),n.d(e,"x",function(){return rt}),n.d(e,"_2",function(){return ut}),n.d(e,"o",function(){return lt}),n.d(e,"O",function(){return ct}),n.d(e,"L",function(){return _t}),n.d(e,"_23",function(){return ht}),n.d(e,"M",function(){return pt}),n.d(e,"N",function(){return dt}),n.d(e,"P",function(){return ft}),n.d(e,"Q",function(){return gt}),n.d(e,"S",function(){return mt}),n.d(e,"T",function(){return yt}),n.d(e,"U",function(){return xt}),n.d(e,"_29",function(){return Ot}),n.d(e,"V",function(){return $t}),n.d(e,"W",function(){return Et}),n.d(e,"Z",function(){return jt}),n.d(e,"_0",function(){return At}),n.d(e,"_1",function(){return Tt}),n.d(e,"_8",function(){return Ct}),n.d(e,"_9",function(){return Pt}),n.d(e,"q",function(){return Lt}),n.d(e,"E",function(){return zt}),n.d(e,"w",function(){return It}),n.d(e,"_35",function(){return Bt}),n.d(e,"j",function(){return Ht}),n.d(e,"t",function(){return Ut}),n.d(e,"J",function(){return Wt}),n.d(e,"C",function(){return Gt}),n.d(e,"l",function(){return qt}),n.d(e,"p",function(){return Vt}),n.d(e,"_10",function(){return Kt}),n.d(e,"r",function(){return Yt}),n.d(e,"_26",function(){return Jt}),n.d(e,"b",function(){return Qt}),n.d(e,"f",function(){return te}),n.d(e,"g",function(){return _e}),n.d(e,"n",function(){return de}),n.d(e,"m",function(){return ge}),n.d(e,"a",function(){return be}),n.d(e,"_21",function(){return we}),n.d(e,"_28",function(){return ke}),n.d(e,"_11",function(){return Oe}),n.d(e,"_27",function(){return $e}),n.d(e,"u",function(){return Ee}),n.d(e,"_12",function(){return je}),n.d(e,"_14",function(){return Ae}),n.d(e,"c",function(){return Ce}),n.d(e,"e",function(){return Pe}),n.d(e,"_15",function(){return De}),n.d(e,"_16",function(){return Le}),n.d(e,"_17",function(){return Ne}),n.d(e,"_18",function(){return Me}),n.d(e,"_19",function(){return Fe}),n.d(e,"_31",function(){return Ie}),n.d(e,"_7",function(){return He}),n.d(e,"h",function(){return We}),n.d(e,"G",function(){return Ge}),n.d(e,"i",function(){return qe}),n.d(e,"_22",function(){return Ve}),n.d(e,"_32",function(){return Ke}),n.d(e,"d",function(){return Xe}),n.d(e,"_24",function(){return Je}),n.d(e,"_25",function(){return Qe}),n.d(e,"_33",function(){return Ze}),n.d(e,"_34",function(){return tn}),n.d(e,"_37",function(){return en}),n.d(e,"_38",function(){return nn}),n.d(e,"_39",function(){return rn});var a=n(16),o=n.n(a),s={},u=s.last=function(t){return function(t){var e=t?t.length:0;if(e)return t[e-1]}}(),l=s.isUndef=function(t){return function(t){return void 0===t}}(),c=s.isObj=function(t){return function(t){var e=o()(t);return!!t&&("function"===e||"object"===e)}}(),_=s.has=function(t){var e=Object.prototype.hasOwnProperty;return function(t,n){return e.call(t,n)}}(),h=s.slice=function(t){return function(t,e,n){var i=t.length;e=null==e?0:e<0?Math.max(i+e,0):Math.min(e,i),n=null==n?i:n<0?Math.max(i+n,0):Math.min(n,i);for(var r=[];e0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}}(),m=s.splitCase=function(t){var e=/([A-Z])/g,n=/[_.\- ]+/g,i=/(^-)|(-$)/g;return function(t){return t=t.replace(e,"-$1").toLowerCase().replace(n,"-").replace(i,""),t.split("-")}}(),v=s.camelCase=function(t){function e(t,e){this[e]=t.replace(/\w/,function(t){return t.toUpperCase()})}return function(t){var n=m(t),i=n[0];return n.shift(),n.forEach(e,n),i+=n.join("")}}(),b=s.kebabCase=function(t){return function(t){return m(t).join("-")}}(),y=s.chunk=function(t){return function(t,e){var n=[];e=e||1;for(var i=0,r=Math.ceil(t.length/e);in?n:t}}(),x=s.idxOf=function(t){return function(t,e,n){return Array.prototype.indexOf.call(t,e,n)}}(),k=s.create=function(t){t=function(t){function n(){}return c(t)?e?e(t):(n.prototype=t,new n):{}};var e=Object.create;return t}({}),O=s.inherits=function(t){return function(t,e){t.prototype=k(e.prototype)}}(),$=s.toStr=function(t){return function(t){return null==t?"":t.toString()}}(),E=s.debounce=function(t){return function(t,e,n){var i;return function(){var r=this,a=arguments,o=function(){i=null,t.apply(r,a)};n||clearTimeout(i),n&&i||(i=setTimeout(o,e))}}}(),j=s.ucs2=function(t){return{encode:function(t){return String.fromCodePoint.apply(String,t)},decode:function(t){for(var e=[],n=0,i=t.length;n=55296&&r<=56319&&n>6*e)+n);e>0;){i+=h(128|63&t>>6*(e-1)),e--}return i}function n(t){for(;;){if(a>=o&&l){if(t)return i();throw new Error("Invalid byte index")}if(a===o)return!1;var e=r[a];if(a++,l){if(e_){if(t)return a--,i();throw new Error("Invalid continuation byte")}if(c=128,_=191,s=s<<6|63&e,++u===l){var n=s;return s=0,l=0,u=0,n}}else{if(0==(128&e))return e;if(192==(224&e))l=1,s=31&e;else if(224==(240&e))224===e&&(c=160),237===e&&(_=159),l=2,s=15&e;else{if(240!=(248&e)){if(t)return i();throw new Error("Invalid UTF-8 detected")}240===e&&(c=144),244===e&&(_=143),l=3,s=7&e}}}}function i(){var t=a-u-1;return a=t+1,s=0,l=0,u=0,c=128,_=191,r[t]}t={encode:function(t){for(var n=j.decode(t),i="",r=0,a=n.length;r-1}return t=t||(d?navigator.userAgent:""),t=t.toLowerCase(),e("windows phone")?"windows phone":e("win")?"windows":e("android")?"android":e("ipad")||e("iphone")||e("ipod")?"ios":e("mac")?"os x":e("linux")?"linux":"unknown"}}(),D=s.restArgs=function(t){return function(t,e){return e=null==e?t.length-1:+e,function(){var n,i=Math.max(arguments.length-e,0),r=new Array(i);for(n=0;n=0&&t.indexOf(e,n)===n}}()),M=s.escape=function(t){function e(t){return n[t]}t=function(t){return r.test(t)?t.replace(a,e):t};var n=t.map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},i="(?:"+C(n).join("|")+")",r=new RegExp(i),a=new RegExp(i,"g");return t}({}),F=s.escapeJsStr=function(t){t=function(t){return $(t).replace(e,function(t){switch(t){case'"':case"'":case"\\":return"\\"+t;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var e=/["'\\\n\r\u2028\u2029]/g;return t}({}),z=s.escapeJsonStr=function(t){return function(t){return F(t).replace(/\\'/g,"'").replace(/\t/g,"\\t")}}(),I=s.escapeRegExp=function(t){return function(t){return t.replace(/\W/g,"\\$&")}}(),B=s.fileSize=function(t){t=function(t){if(t<=0)return"0";var n=Math.floor(Math.log(t)/Math.log(1024));return+(t/Math.pow(2,10*n)).toFixed(2)+e[n]};var e=["","K","M","G","T"];return t}({}),H=s.fullUrl=function(t){var e=document.createElement("a");return function(t){return e.href=t,e.protocol+"//"+e.host+e.pathname+e.search+e.hash}}(),U=s.upperFirst=function(t){return function(t){return t.length<1?t:t[0].toUpperCase()+t.slice(1)}}(),W=s.getObjType=function(t){return function(t){return t.constructor&&t.constructor.name?t.constructor.name:U({}.toString.call(t).replace(/(\[object )|]/g,""))}}(),G=s.identity=function(t){return function(t){return t}}(),q=s.objToStr=function(t){var e=Object.prototype.toString;return function(t){return e.call(t)}}(),V=s.isArgs=function(t){return function(t){return"[object Arguments]"===q(t)}}(),K=s.isArr=function(t){return Array.isArray||function(t){return"[object Array]"===q(t)}}(),Y=s.castPath=function(t){t=function(t,i){if(K(t))return t;if(i&&_(i,t))return[t];var r=[];return t.replace(e,function(t,e,i,a){r.push(i?a.replace(n,"$1"):e||t)}),r};var e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g;return t}({}),X=s.safeGet=function(t){return function(t,e){e=Y(e,t);var n;for(n=e.shift();!l(n);){if(null==(t=t[n]))return;n=e.shift()}return t}}(),J=s.flatten=function(t){function e(t,n){for(var i,r=t.length,a=-1;r--;)i=t[++a],K(i)?e(i,n):n.push(i);return n}return function(t){return e(t,[])}}(),Q=s.isDate=function(t){return function(t){return"[object Date]"===q(t)}}(),Z=s.isFn=function(t){return function(t){var e=q(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e}}(),tt=s.getProto=function(t){var e=Object.getPrototypeOf,n={}.constructor;return function(t){if(!c(t))return null;if(e)return e(t);var i=t.__proto__;return i||null===i?i:Z(t.constructor)?t.constructor.prototype:t instanceof n?n.prototype:null}}(),et=s.isMiniProgram=function(t){return"undefined"!=typeof wx&&Z(wx.openLocation)}(),nt=s.isNum=function(t){return function(t){return"[object Number]"===q(t)}}(),it=s.isArrLike=function(t){var e=Math.pow(2,53)-1;return function(t){if(!t)return!1;var n=t.length;return nt(n)&&n>=0&&n<=e&&!Z(t)}}(),rt=s.each=function(t){return function(t,e,n){e=L(e,n);var i,r;if(it(t))for(i=0,r=t.length;i-1:(it(t)||(t=st(t)),x(t,e)>=0)}}(),ct=s.isEmpty=function(t){return function(t){return null==t||(it(t)&&(K(t)||ut(t)||V(t))?0===t.length:0===C(t).length)}}(),_t=s.isBool=function(t){return function(t){return!0===t||!1===t}}(),ht=s.startWith=function(t){return function(t,e){return 0===t.indexOf(e)}}(),pt=s.isCrossOrig=function(t){var e=window.location.origin;return function(t){return!ht(t,e)}}(),dt=s.isEl=function(t){return function(t){return!(!t||1!==t.nodeType)}}(),ft=s.isErr=function(t){return function(t){return"[object Error]"===q(t)}}(),gt=s.isErudaEl=function(t){return function(t){var e=t.parentNode;if(!e)return!1;for(;e;)if((e=e.parentNode)&&"eruda"===e.id)return!0;return!1}}(),mt=s.isHidden=function(t){function e(t,e){return t.righte.right||t.bottome.bottom}var n=T.getComputedStyle,i=T.document;return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.display,o=void 0===a||a,s=r.visibility,u=void 0!==s&&s,l=r.opacity,c=void 0!==l&&l,_=r.size,h=void 0!==_&&_,p=r.viewport,d=void 0!==p&&p,f=r.overflow,g=void 0!==f&&f;if(o)return null===t.offsetParent;var m=n(t);if(u&&"hidden"===m.visibility)return!0;if(c){if("0"===m.opacity)return!0;for(var v=t;v=v.parentElement;){if("0"===n(v).opacity)return!0}}var b=t.getBoundingClientRect();if(h&&(0===b.width||0===b.height))return!0;if(d){return e(b,{top:0,left:0,right:i.documentElement.clientWidth,bottom:i.documentElement.clientHeight})}if(g)for(var y=t;y=y.parentElement;){var w=n(y),x=w.overflow;if("scroll"===x||"hidden"===x){var k=y.getBoundingClientRect();if(e(b,k))return!0}}return!1}}(),vt=s.isMatch=function(t){return function(t,e){var n=C(e),i=n.length;if(null==t)return!i;t=Object(t);for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:t.defComparator,i=0,r=e.length;i0)return!1;return!0},t.defComparator=function(t,e){return te?1:0},t}({}),Ct=s.loadJs=function(t){return function(t,e){var n=document.createElement("script");n.src=t,n.onload=function(){var t=n.readyState&&"complete"!=n.readyState&&"loaded"!=n.readyState;e&&e(!t)},document.body.appendChild(n)}}(),Pt=s.lowerCase=function(t){return function(t){return $(t).toLocaleLowerCase()}}(),Rt=s.repeat=function(t){return function(t,e){var n="";if(e<1)return"";for(;e>0;)1&e&&(n+=t),e>>=1,t+=t;return n}}(),Dt=s.lpad=function(t){return function(t,e,n){t=$(t);var i=t.length;return n=n||" ",i0?"-":"+")+e(100*Math.floor(Math.abs(y)/60)+Math.abs(y)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10]};return s.replace(n,function(t){return t in w?w[t]:t.slice(1,t.length-1)})};var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Dt($(t),e,"0")},n=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,r=/\d/,a=/[^-+\dA-Z]/g;return t.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},t.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},t}({}),Nt=s.ltrim=function(t){var e=/^\s+/;return function(t,n){if(null==n)return t.replace(e,"");for(var i,r,a=0,o=t.length,s=n.length,u=!0;u&&a=o?"":t.substr(a,o)}}(),Mt=s.matcher=function(t){return function(t){return t=ot({},t),function(e){return vt(e,t)}}}(),Ft=s.safeCb=function(t){return function(t,e,n){return null==t?G:Z(t)?L(t,e,n):c(t)?Mt(t):function(t){return function(e){return null==e?void 0:e[t]}}}}(),zt=s.filter=function(t){return function(t,e,n){var i=[];return e=Ft(e,n),rt(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i}}(),It=s.difference=function(t){return D(function(t,e){return e=J(e),zt(t,function(t){return!lt(e,t)})})}(),Bt=s.unique=function(t){function e(t,e){return t===e}return function(t,n){return n=n||e,zt(t,function(t,e,i){for(var r=i.length;++e1&&void 0!==arguments[1]?arguments[1]:{},r=i.prototype,a=void 0===r||r,o=i.unenumerable,s=void 0!==o&&o,u=i.symbol,l=void 0!==u&&u,c=[];if((s||l)&&e){var _=C;s&&e&&(_=e);do{c=c.concat(_(t)),l&&n&&(c=c.concat(n(t)))}while(a&&(t=tt(t))&&t!==Object.prototype);c=Bt(c)}else if(a)for(var h in t)c.push(h);else c=C(t);return c}}(),Ut=s.defaults=function(t){return at(Ht,!0)}(),Wt=s.highlight=function(t){t=function(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"js",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ut(a,e),i=i.replace(//g,">"),r=n[r];var o=0,s=[];rt(r,function(e){e.language&&(i=i.replace(e.re,function(n,i){return s[o++]=t(i,e.language,a),n.replace(i,"___subtmpl"+(o-1)+"___")}))}),rt(r,function(t,e){n[t.language]||(i=i.replace(t.re,"___"+e+"___$1___end"+e+"___"))});var u=[];return i=i.replace(/___(?!subtmpl)\w+?___/g,function(t){var e="end"===t.substr(3,3),n=(e?t.substr(6):t.substr(3)).replace(/_/g,""),i=u.length>0?u[u.length-1]:null;return!e&&(null==i||n==i||null!=i&&r[i]&&void 0!=r[i].embed&&r[i].embed.indexOf(n)>-1)?(u.push(n),t):e&&n==i?(u.pop(),t):""}),rt(r,function(t,e){i=i.replace(new RegExp("___end"+e+"___","g"),"").replace(new RegExp("___"+e+"___","g"),'')}),rt(r,function(t){t.language&&(i=i.replace(/___subtmpl\d+___/g,function(t){var e=parseInt(t.replace(/___subtmpl(\d+)___/,"$1"),10);return s[e]}))}),i};var e={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},n={};return n.js={comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}},n.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:n.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},n.css={comment:n.js.comment,string:n.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},t}({}),Gt=s.extend=function(t){return at(Ht)}(),qt=s.clone=function(t){return function(t){return c(t)?K(t)?t.slice():Gt({},t):t}}(),Vt=s.copy=function(t){return function(t,e){e=e||f;var n=document.createElement("textarea"),i=document.body;Gt(n.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),n.value=t,i.appendChild(n),n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,t.length);try{document.execCommand("copy"),e()}catch(t){e(t)}finally{i.removeChild(n)}}}(),Kt=s.map=function(t){return function(t,e,n){e=Ft(e,n);for(var i=!it(t)&&C(t),r=(i||t).length,a=Array(r),o=0;o1?e:this;for(var n=this._items,i=this.size-1,r=0;i>=0;i--,r++)t.call(e,n[i],r,this)},toArr:function(){return p(this._items)}})}(),he=s.delegate=function(t){function e(){return!0}function n(){return!1}function i(e){var n,i=this.events[e.type],a=r.call(this,e,i);e=new t.Event(e);for(var o,s,u=0;(s=a[u++])&&!e.isPropagationStopped();)for(e.curTarget=s.el,o=0;(n=s.handlers[o++])&&!e.isImmediatePropagationStopped();)!1===n.handler.apply(s.el,[e])&&(e.preventDefault(),e.stopPropagation())}function r(t,e){var n,i,r,a,o=t.target,s=[],u=e.delegateCount;if(o.nodeType)for(;o!==this;o=o.parentNode||this){for(i=[],a=0;a=0&&t=e[n[s]]){o=n[s];break}return+(a/e[o]).toFixed(2)+o};var e={ms:1,s:1e3};e.m=60*e.s,e.h=60*e.m,e.d=24*e.h,e.y=365.25*e.d;var n=["y","d","h","m","s"],i=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;return t}({}),$e=s.toInt=function(t){return function(t){return t?(t=ke(t))-t%1:0===t?t:0}}(),Ee=s.detectBrowser=function(t){function e(t,e){var n=t.indexOf(e);if(n>-1)return $e(t.substring(n+e.length,t.indexOf(".",n)))}t=function(t){t=t||(d?navigator.userAgent:""),t=t.toLowerCase();var a=e(t,"msie ");if(a)return{version:a,name:"ie"};if(i.test(t))return{version:11,name:"ie"};for(var o=0,s=r.length;owindow.innerHeight?"landscape":"portrait"}},Ce.mixin(t),window.addEventListener("orientationchange",function(){setTimeout(function(){t.emit("change",t.get())},200)},!1),t}({}),Le=s.perfNow=function(t){var e,n=T.performance,i=T.process;if(n&&n.now)t=function(){return n.now()};else if(i&&i.hrtime){var r=function(){var t=i.hrtime();return 1e9*t[0]+t[1]};e=r()-1e9*i.uptime(),t=function(){return(r()-e)/1e6}}else e=Ae(),t=function(){return Ae()-e};return t}({}),Ne=s.pxToNum=function(t){return function(t){return ke(t.replace("px",""))}}(),Me=s.raf=function(t){var e,n,i=0;if(d){e=window.requestAnimationFrame,n=window.cancelAnimationFrame;for(var r=["ms","moz","webkit","o"],a=0,o=r.length;a=0;c--){var _=o[c];if(""!==_){if(u=""===u?_:_+"."+u,n="/",e({domain:u,path:n})||e({domain:u}))return;for(var h=0;h=0;)for(s=!1,i=-1,r=t.charAt(a);++i=0?t.substring(0,a+1):""}}(),Ie=s.trim=function(t){var e=/^\s+|\s+$/g;return function(t,n){return null==n?t.replace(e,""):Nt(ze(t,n),n)}}(),Be=s.extractUrls=function(t){t=function(t){var n=Jt(t.match(e));return Bt(Kt(n,function(t){return Ie(t)}))};var e=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;return t}({}),He=s.linkify=function(t){function e(t){return''+t+""}return function(t,n){n=n||e;var i=Be(t);return rt(i,function(e){t=t.replace(new RegExp(I(e),"g"),n)}),t}}(),Ue=s.query=function(t){t={parse:function(t){var n={};return t=Ie(t).replace(e,""),rt(t.split("&"),function(t){var e=t.split("="),i=e.shift(),r=e.length>0?e.join("="):null;i=decodeURIComponent(i),r=decodeURIComponent(r),l(n[i])?n[i]=r:K(n[i])?n[i].push(r):n[i]=[n[i],r]}),n},stringify:function(e,n){return zt(Kt(e,function(e,i){return c(e)&&ct(e)?"":K(e)?t.stringify(e,i):(n?encodeURIComponent(n):encodeURIComponent(i))+"="+encodeURIComponent(e)}),function(t){return t.length>0}).join("&")}};var e=/^(\?|#|&)/g;return t}({}),We=s.Url=function(t){t=Qt({className:"Url",initialize:function(e){!e&&d&&(e=window.location.href),Gt(this,t.parse(e||""))},setQuery:function(t,e){var n=this.query;return c(t)?rt(t,function(t,e){n[e]=t}):n[t]=e,this},rmQuery:function(t){var e=this.query;return K(t)||(t=Jt(t)),rt(t,function(t){delete e[t]}),this},toString:function(){return t.stringify(this)}},{parse:function(t){var r={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},a=Ie(t),o=!1,s=a.match(e);if(s&&(s=s[0],r.protocol=s.toLowerCase(),a=a.substr(s.length)),s&&(o="//"===a.substr(0,2))&&(a=a.slice(2),r.slashes=!0),o){for(var u=a,l=-1,c=0,_=i.length;c<_;c++){var h=a.indexOf(i[c]);-1!==h&&(-1===l||h-1&&(u=a.slice(0,l),a=a.slice(l));var p=u.lastIndexOf("@");-1!==p&&(r.auth=decodeURIComponent(u.slice(0,p)),u=u.slice(p+1)),r.hostname=u;var d=u.match(n);d&&(d=d[0],":"!==d&&(r.port=d.substr(1)),r.hostname=u.substr(0,u.length-d.length))}var f=a.indexOf("#");-1!==f&&(r.hash=a.substr(f),a=a.slice(0,f));var g=a.indexOf("?");return-1!==g&&(r.query=Ue.parse(a.substr(g+1)),a=a.slice(0,g)),r.pathname=a||"/",r},stringify:function(t){var e=t.protocol+(t.slashes?"//":"")+(t.auth?encodeURIComponent(t.auth)+"@":"")+t.hostname+(t.port?":"+t.port:"")+t.pathname;return ct(t.query)||(e+="?"+Ue.stringify(t.query)),t.hash&&(e+=t.hash),e}});var e=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=["/","?","#"];return t}({}),Ge=s.getFileName=function(t){return function(t){var e=u(t.split("/"));return e.indexOf("?")>-1&&(e=Ie(e.split("?")[0])),""===e&&(t=new We(t),e=t.hostname),e}}(),qe=s.ajax=function(t){function e(t,e,n,i){return Z(e)&&(i=n,n=e,e={}),{url:t,data:e,success:n,dataType:i}}return t=function(e){Ut(e,t.setting);var n,i=e.type,r=e.url,a=e.data,o=e.dataType,s=e.success,u=e.error,l=e.timeout,_=e.complete,h=e.xhr();return h.onreadystatechange=function(){if(4===h.readyState){clearTimeout(n);var t,e=h.status;if(e>=200&&e<300||304===e){t=h.responseText,"xml"===o&&(t=h.responseXML);try{"json"===o&&(t=JSON.parse(t))}catch(t){}s(t,h)}else u(h);_(h)}},"GET"===i?(a=Ue.stringify(a),r+=r.indexOf("?")>-1?"&"+a:"?"+a):"application/x-www-form-urlencoded"===e.contentType?c(a)&&(a=Ue.stringify(a)):"application/json"===e.contentType&&c(a)&&(a=JSON.stringify(a)),h.open(i,r,!0),h.setRequestHeader("Content-Type",e.contentType),l>0&&(n=setTimeout(function(){h.onreadystatechange=f,h.abort(),u(h,"timeout"),_(h)},l)),h.send("GET"===i?null:a),h},t.setting={type:"GET",success:f,error:f,complete:f,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},t.get=function(){return t(e.apply(null,arguments))},t.post=function(){var n=e.apply(null,arguments);return n.type="POST",t(n)},t}({}),Ve=s.sortKeys=function(t){t=function(t){function n(t){var e=o.indexOf(t);if(e>-1)return s[e];var i;if(K(t)){i=[],o.push(t),s.push(i);for(var u=0,l=t.length;u1&&void 0!==arguments[1]?arguments[1]:{};Ut(i,e);var r=i.deep,a=i.comparator,o=[],s=[];return n(t)};var e={deep:!1,comparator:St.defComparator};return t}({}),Ke=s.type=function(t){t=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null===t)return n?"null":"Null";if(void 0===t)return n?"undefined":"Undefined";if(xt(t))return n?"nan":"NaN";var i=q(t).match(e);return i?n?i[1].toLowerCase():i[1]:""};var e=/^\[object\s+(.*?)]$/;return t}({}),Ye=s.stringify=function(t){function e(){var t=[],e=[];return function(n,i){if(t.length>0){var r=t.indexOf(this);r>-1?(t.splice(r+1),e.splice(r,1/0,n)):(t.push(this),e.push(n));var a=t.indexOf(i);a>-1&&(i=t[0]===i?"[Circular ~]":"[Circular ~."+e.slice(0,a).join(".")+"]")}else t.push(i);return Tt(i)||Z(i)?i="["+U(Ke(i))+" "+$(i)+"]":l(i)&&(i=null),i}}return function(t,n){return JSON.stringify(t,e(),n)}}(),Xe=s.LocalStore=function(t){var e=we("local");return Re.extend({initialize:function(t,n){this._name=t,n=n||{};var i=e.getItem(t);try{i=JSON.parse(i)}catch(t){i={}}c(i)||(i={}),n=Ut(i,n),this.callSuper(Re,"initialize",[n])},save:function(t){if(ct(t))return e.removeItem(this._name);e.setItem(this._name,Ye(t))}})}(),Je=s.stringifyAll=function(t){function e(e,i,r,a){var o=[];return rt(i,function(e){var i,s=Object.getOwnPropertyDescriptor(r,e),u=s&&s.get,l=s&&s.set;if(!a.accessGetter&&u)i="(...)";else try{if(i=r[e],lt(a.ignore,i))return;At(i)&&i.catch(function(){})}catch(t){i=t.message}o.push("".concat(n(e),":").concat(t(i,a))),u&&o.push("".concat(n("get "+$(e)),":").concat(t(s.get,a))),l&&o.push("".concat(n("set "+$(e)),":").concat(t(s.set,a)))}),'"'.concat(e,'":{')+o.join(",")+"}"}function n(t){return'"'.concat(r(t),'"')}function i(t){return'"'.concat(r($(t)),'"')}function r(t){return F(t).replace(/\\'/g,"'").replace(/\t/g,"\\t")}t=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=r.self,u=r.startTime,l=void 0===u?Ae():u,c=r.timeout,_=void 0===c?0:c,h=r.depth,p=void 0===h?0:h,d=r.curDepth,f=void 0===d?1:d,g=r.visitor,m=void 0===g?new a:g,v=r.unenumerable,b=void 0!==v&&v,y=r.symbol,w=void 0!==y&&y,x=r.accessGetter,k=void 0!==x&&x,O=r.ignore,E=void 0===O?[]:O,j="",A={visitor:m,unenumerable:b,symbol:w,accessGetter:k,depth:p,curDepth:f+1,timeout:_,startTime:l,ignore:E},T=Ke(n,!1);if("String"===T)j=i(n);else if("Number"===T)j=$(n),N(j,"Infinity")&&(j='{"value":"'.concat(j,'","type":"Number"}'));else if("NaN"===T)j='{"value":"NaN","type":"Number"}';else if("Boolean"===T)j=n?"true":"false";else if("Null"===T)j="null";else if("Undefined"===T)j='{"type":"Undefined"}';else if("Symbol"===T){var S="Symbol";try{S=$(n)}catch(t){}j='{"value":'.concat(i(S),',"type":"Symbol"}')}else{if(_&&Ae()-l>_)return i("Timeout");if(p&&f>p)return i("{...}");j="{";var P,R=[],D=m.get(n);if(D?(P=D.id,R.push('"reference":'.concat(P))):(P=m.set(n),R.push('"id":'.concat(P))),R.push('"type":"'.concat(T,'"')),N(T,"Function")?R.push('"value":'.concat(i(Ot(n)))):"RegExp"===T&&R.push('"value":'.concat(i(n))),!D){var L=C(n);if(L.length&&R.push(e("enumerable",L,s||n,A)),b){var M=It(Ht(n,{prototype:!1,unenumerable:!0}),L);M.length&&R.push(e("unenumerable",M,s||n,A))}if(w){var F=zt(Ht(n,{prototype:!1,symbol:!0}),function(t){return"symbol"===o()(t)});F.length&&R.push(e("symbol",F,s||n,A))}var z=tt(n);if(z&&!lt(E,z)){var I='"proto":'.concat(t(z,Gt(A,{self:s||n})));R.push(I)}}j+=R.join(",")+"}"}return j};var a=Qt({initialize:function(){this.id=0,this.visited=[]},set:function(t){var e=this.visited,n=this.id,i={id:n,val:t};return e.push(i),this.id++,n},get:function(t){for(var e=this.visited,n=0,i=e.length;n-1&&n.splice(e,1)},rmAllListeners:function(){n=[]}},d?(window.addEventListener("error",function(t){e(t.error)}),window.addEventListener("unhandledrejection",function(t){e(t.reason)})):(i.on("uncaughtException",e),i.on("unhandledRejection",e)),t}({}),tn=s.uniqId=function(t){var e=0;return function(t){var n=++e+"";return t?t+n:n}}(),en=s.viewportScale=function(t){return function(){var t=xe("viewport");if(!t)return 1;t=Kt(t.split(","),function(t){return Ie(t)});var e=.25,n=5,i=1;rt(t,function(t){t=t.split("=");var r=t[0];t=t[1],"initial-scale"===r&&(i=+t),"maximum-scale"===r&&(n=+t),"minimum-scale"===r&&(e=+t)});var r=w(i,e,n);return xt(r)?1:r}}(),nn=s.wrap=function(t){return function(t,e){return Te(e,t)}}(),rn=s.xpath=function(t){return function(t){for(var e=[],n=document.evaluate(t,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),i=0;i0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;if(t<1)return e.inverse(this);var n=1*t+0,i=0,r="";do{var a={index:i,count:t,start:0,step:1,first:0===i,last:i>=n-1},o=[i,a];r+=e.fn(this,{data:a,blockParams:o}),i+=a.step}while(i":">",'"':""","'":"'","`":"`","=":"="},h=/[&<>"'`=]/g,p=/[&<>"'`=]/,d=Object.prototype.toString;e.toString=d;var f=function(t){return"function"==typeof t};f(/x/)&&(e.isFunction=f=function(t){return"function"==typeof t&&"[object Function]"===d.call(t)}),e.isFunction=f;var g=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===d.call(t)};e.isArray=g},function(t,e,n){"use strict";n.d(e,"a",function(){return v});var i=n(2),r=n.n(i),a=n(3),o=n.n(a),s=n(7),u=n.n(s),l=n(5),c=n.n(l),_=n(12),h=n.n(_),p=n(8),d=n.n(p),f=n(9),g=n(0),m=n(4),v=function(t){function e(){var t;return r()(this,e),t=u()(this,c()(e).call(this)),t._style=Object(m.a)(n(48)),t.name="settings",t._switchTpl=n(49),t._selectTpl=n(65),t._rangeTpl=n(66),t._colorTpl=n(67),t._settings=[],t}return d()(e,t),o()(e,[{key:"init",value:function(t){h()(c()(e.prototype),"init",this).call(this,t),this._bindEvent()}},{key:"remove",value:function(t,e){var n=this;return Object(g._2)(t)?this._$el.find(".eruda-text").each(function(){var e=Object(g.a)(this);e.text()===t&&e.remove()}):this._settings=Object(g.E)(this._settings,function(i){return i.config!==t||i.key!==e||(n._$el.find("#"+i.id).remove(),!1)}),this._cleanSeparator(),this}},{key:"destroy",value:function(){h()(c()(e.prototype),"destroy",this).call(this),m.a.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._$el.html("")}},{key:"switch",value:function(t,e,n){var i=this._genId("settings");return this._settings.push({config:t,key:e,id:i}),this._$el.append(this._switchTpl({desc:n,key:e,id:i,val:t.get(e)})),this}},{key:"color",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:["#2196f3","#707d8b","#f44336","#009688","#ffc107"],r=this._genId("settings");return this._settings.push({config:t,key:e,id:r}),this._$el.append(this._colorTpl({desc:n,colors:i,id:r,val:t.get(e)})),this}},{key:"select",value:function(t,e,n,i){var r=this._genId("settings");return this._settings.push({config:t,key:e,id:r}),this._$el.append(this._selectTpl({desc:n,selections:i,id:r,val:t.get(e)})),this}},{key:"range",value:function(t,e,n,i){var r=i.min,a=void 0===r?0:r,o=i.max,s=void 0===o?1:o,u=i.step,l=void 0===u?.1:u,c=this._genId("settings");this._settings.push({config:t,key:e,min:a,max:s,step:l,id:c});var _=t.get(e);return this._$el.append(this._rangeTpl({desc:n,min:a,max:s,step:l,val:_,progress:b(_,a,s),id:c})),this}},{key:"separator",value:function(){return this._$el.append(''),this}},{key:"text",value:function(t){return this._$el.append(''.concat(t,"")),this}},{key:"_cleanSeparator",value:function(){function t(t){return"eruda-separator"===t.getAttribute("class")}for(var e=Object(g.l)(this._$el.get(0).children),n=0,i=e.length;nn&&(n=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new f(w.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},p.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new d(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(E.BlockStatement);var n=new v(t,this._options);return this._tokens=n.tokenize(),t},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&g.lineBreak.test(t||"")&&(e=t.match(g.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return this._output.get_code(e)},p.prototype.handle_token=function(t,e){t.type===w.START_EXPR?this.handle_start_expr(t):t.type===w.END_EXPR?this.handle_end_expr(t):t.type===w.START_BLOCK?this.handle_start_block(t):t.type===w.END_BLOCK?this.handle_end_block(t):t.type===w.WORD?this.handle_word(t):t.type===w.RESERVED?this.handle_word(t):t.type===w.SEMICOLON?this.handle_semicolon(t):t.type===w.STRING?this.handle_string(t):t.type===w.EQUALS?this.handle_equals(t):t.type===w.OPERATOR?this.handle_operator(t):t.type===w.COMMA?this.handle_comma(t):t.type===w.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===w.COMMENT?this.handle_comment(t,e):t.type===w.DOT?this.handle_dot(t):t.type===w.EOF?this.handle_eof(t):(t.type,w.UNKNOWN,this.handle_unknown(t,e))},p.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,i=this._options.keep_array_indentation&&l(this._flags.mode);if(t.comments_before)for(var r=t.comments_before.next();r;)this.handle_whitespace_and_comments(r,e),this.handle_token(r,e),r=t.comments_before.next();if(i)for(var a=0;a0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},p.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},p.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===E.Statement&&s(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},p.prototype.start_of_object_property=function(){return this._flags.parent.mode===E.ObjectLiteral&&this._flags.mode===E.Statement&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||o(this._flags.last_token,["get","set"]))},p.prototype.start_of_statement=function(t){var e=!1;return e=e||o(this._flags.last_token,["var","let","const"])&&t.type===w.WORD,e=e||a(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===E.ObjectLiteral&&this._flags.mode===E.Statement)&&o(this._flags.last_token,j)&&!t.newlines,e=e||a(this._flags.last_token,"else")&&!(a(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===w.END_EXPR&&(this._previous_flags.mode===E.ForInitializer||this._previous_flags.mode===E.Conditional),e=e||this._flags.last_token.type===w.WORD&&this._flags.mode===E.BlockStatement&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==w.WORD&&t.type!==w.RESERVED,!!(e=e||this._flags.mode===E.ObjectLiteral&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||o(this._flags.last_token,["get","set"])))&&(this.set_mode(E.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,o(t,["do","for","if","while"])),!0)},p.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=E.Expression;if("["===t.text){if(this._flags.last_token.type===w.WORD||")"===this._flags.last_token.text)return o(this._flags.last_token,b)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=E.ArrayLiteral,l(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),i(this._flags.last_token.type,[w.START_EXPR,w.END_EXPR,w.WORD,w.OPERATOR])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===w.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=E.ForInitializer):i(this._flags.last_token.text,["if","while"])?(this._output.space_before_token=this._options.space_before_conditional,e=E.Conditional):i(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(i(this._flags.last_token.text,b)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===w.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var r=this._tokens.peek(-4);o(n,["async","function"])||"*"===n.text&&o(r,["async","function"])?this._output.space_before_token=!0:this._flags.mode===E.ObjectLiteral&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==r.text&&","!==r.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===w.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(i(this._last_last_text,["function","yield"])||this._flags.mode===E.ObjectLiteral&&i(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===w.START_BLOCK?this.print_newline():this._flags.last_token.type!==w.END_EXPR&&this._flags.last_token.type!==w.START_EXPR&&this._flags.last_token.type!==w.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==w.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},p.prototype.handle_end_expr=function(t){for(;this._flags.mode===E.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&l(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==w.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),s(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===E.Conditional&&(this._previous_flags.mode=E.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},p.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===w.END_EXPR?(this.set_mode(E.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(E.BlockStatement):n&&(i(n.text,[":",","])&&i(e.type,[w.STRING,w.WORD,w.RESERVED])||i(e.text,["get","set","..."])&&i(n.type,[w.WORD,w.RESERVED]))?i(this._last_last_text,["class","interface"])?this.set_mode(E.BlockStatement):this.set_mode(E.ObjectLiteral):this._flags.last_token.type===w.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(E.BlockStatement):i(this._flags.last_token.type,[w.EQUALS,w.START_EXPR,w.COMMA,w.OPERATOR])||o(this._flags.last_token,["return","throw","import","default"])?this.set_mode(E.ObjectLiteral):this.set_mode(E.BlockStatement);var r=!e.comments_before&&"}"===e.text,a=r&&"function"===this._flags.last_word&&this._flags.last_token.type===w.END_EXPR;if(this._options.brace_preserve_inline){var s=0,u=null;this._flags.inline_frame=!0;do{if(s+=1,u=this._tokens.peek(s-1),u.newlines){this._flags.inline_frame=!1;break}}while(u.type!==w.EOF&&(u.type!==w.END_BLOCK||u.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==w.OPERATOR&&(a||this._flags.last_token.type===w.EQUALS||o(this._flags.last_token,x)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!l(this._previous_flags.mode)||this._flags.last_token.type!==w.START_EXPR&&this._flags.last_token.type!==w.COMMA||((this._flags.last_token.type===w.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==w.OPERATOR&&this._flags.last_token.type!==w.START_EXPR&&(this._flags.last_token.type!==w.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),r||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},p.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===E.Statement;)this.restore_mode();var e=this._flags.last_token.type===w.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(l(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},p.prototype.handle_word=function(t){if(t.type===w.RESERVED)if(i(t.text,["set","get"])&&this._flags.mode!==E.ObjectLiteral)t.type=w.WORD;else if("import"===t.text&&"("===this._tokens.peek().text)t.type=w.WORD;else if(i(t.text,["as","from"])&&!this._flags.import_block)t.type=w.WORD;else if(this._flags.mode===E.ObjectLiteral){var e=this._tokens.peek();":"===e.text&&(t.type=w.WORD)}if(this.start_of_statement(t)?o(this._flags.last_token,["var","let","const"])&&t.type===w.WORD&&(this._flags.declaration_statement=!0):!t.newlines||c(this._flags.mode)||this._flags.last_token.type===w.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===w.EQUALS||!this._options.preserve_newlines&&o(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(a(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&a(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===E.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&o(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==w.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==w.COMMA&&this._flags.last_token.type!==w.START_EXPR&&this._flags.last_token.type!==w.EQUALS&&this._flags.last_token.type!==w.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),a(t,"function"))return(i(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!i(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==w.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD?o(this._flags.last_token,["get","set","new","export"])||o(this._flags.last_token,j)?this._output.space_before_token=!0:a(this._flags.last_token,"default")&&"export"===this._last_last_text?this._output.space_before_token=!0:"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===w.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!c(this._flags.mode)&&!l(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var n="NONE";if(this._flags.last_token.type===w.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":o(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===w.SEMICOLON&&this._flags.mode===E.BlockStatement?n="NEWLINE":this._flags.last_token.type===w.SEMICOLON&&c(this._flags.mode)?n="SPACE":this._flags.last_token.type===w.STRING?n="NEWLINE":this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD||"*"===this._flags.last_token.text&&(i(this._last_last_text,["function","yield"])||this._flags.mode===E.ObjectLiteral&&i(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===w.START_BLOCK?n=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===w.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),o(t,b)&&")"!==this._flags.last_token.text&&(n=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),o(t,["else","catch","finally"]))if((this._flags.last_token.type!==w.END_BLOCK||this._previous_flags.mode!==E.BlockStatement||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var r=this._output.current_line;"}"!==r.last()&&this.print_newline(),this._output.space_before_token=!0}else"NEWLINE"===n?o(this._flags.last_token,x)?this._output.space_before_token=!0:"declare"===this._flags.last_token.text&&o(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==w.END_EXPR?this._flags.last_token.type===w.START_EXPR&&o(t,["var","let","const"])||":"===this._flags.last_token.text||(a(t,"if")&&a(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):o(t,b)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&l(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===n&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==w.WORD&&t.previous.type!==w.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===w.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&a(t,"from")&&(this._flags.import_block=!1))},p.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!(this._flags.mode!==E.Statement||this._flags.if_block&&a(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},p.prototype.handle_string=function(t){this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):this.print_newline()),this.print_token(t)},p.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},p.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(c(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===E.ObjectLiteral||this._flags.mode===E.Statement&&this._flags.parent.mode===E.ObjectLiteral?(this._flags.mode===E.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},p.prototype.handle_operator=function(t){var e="*"===t.text&&(o(this._flags.last_token,["function","yield"])||i(this._flags.last_token.type,[w.START_BLOCK,w.COMMA,w.END_BLOCK,w.SEMICOLON])),n=i(t.text,["-","+"])&&(i(this._flags.last_token.type,[w.START_BLOCK,w.START_EXPR,w.EQUALS,w.OPERATOR])||i(this._flags.last_token.text,b)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var r=!e;this.handle_whitespace_and_comments(t,r)}if(o(this._flags.last_token,x))return this._output.space_before_token=!0,void this.print_token(t);if("*"===t.text&&this._flags.last_token.type===w.DOT)return void this.print_token(t);if("::"===t.text)return void this.print_token(t);if(this._flags.last_token.type===w.OPERATOR&&i(this._options.operator_position,$)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==w.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var a=!0,s=!0,u=!1;if(":"===t.text?0===this._flags.ternary_depth?a=!1:(this._flags.ternary_depth-=1,u=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&i(t.text,y)){var l=":"===t.text,_=l&&u,h=l&&!u;switch(this._options.operator_position){case O.before_newline:return this._output.space_before_token=!h,this.print_token(t),l&&!_||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case O.after_newline:return this._output.space_before_token=!0,!l||_?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case O.preserve_newline:return h||this.allow_wrap_or_preserved_newline(t),a=!(this._output.just_added_newline()||h),this._output.space_before_token=a,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),a=!1;var p=this._tokens.peek();s=p&&i(p.type,[w.WORD,w.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),a=this._flags.last_token.type===w.START_BLOCK,s=!1):(i(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==w.COMMA&&this._flags.last_token.type!==w.START_EXPR||this.allow_wrap_or_preserved_newline(t),a=!1,s=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&c(this._flags.mode)&&(a=!0),this._flags.last_token.type===w.RESERVED?a=!0:this._flags.last_token.type===w.END_EXPR?a=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===w.OPERATOR&&(a=i(t.text,["--","-","++","+"])&&i(this._flags.last_token.text,["--","-","++","+"]),i(t.text,["+","-"])&&i(this._flags.last_token.text,["--","++"])&&(s=!0)),(this._flags.mode!==E.BlockStatement||this._flags.inline_frame)&&this._flags.mode!==E.Statement||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||a,this.print_token(t),this._output.space_before_token=s},p.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):g.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},p.prototype.print_block_commment=function(t,e){var n,i=u(t.text),a=!1,o=!1,s=t.whitespace_before,l=s.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(i=i.slice(1),a=_(i,"*"),o=h(i,s),a&&(this._flags.alignment=1),n=0;n0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e]},r.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";function i(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=i},function(t,e,n){"use strict";var i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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-\\u0c33\\u0c35-\\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-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\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-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\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",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",a="(?:\\\\u[0-9a-fA-F]{4}|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+i+"])";e.identifier=new RegExp(a+"(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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-\\u0c33\\u0c35-\\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-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\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-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\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\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f])*","g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|[\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a"+i+r+"])+");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){"use strict";function i(t){r.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var i=0;i126&&n<=255&&0===r[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+r[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}var a=n(8).InputScanner,o=n(9).Tokenizer,s=n(9).TOKEN,u=n(13).Directives,l=n(4),c=n(12).Pattern,_=n(14).TemplatablePattern,h={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:s.START,RAW:s.RAW,EOF:s.EOF},p=new u(/\/\*/,/\*\//),d=/0[xX][0123456789abcdefABCDEF]*|0[oO][01234567]*|0[bB][01]*|\d+n|(?:\.\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?/,f=/[0-9]/,g=/[^\d\.]/,m=">>> === !== << && >= ** != == <= >> || < / - + > : & % ? ^ | *".split(" "),v=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ++ %= &= *= |= = ! ? > < : / ^ - + * & % ~ |";v=v.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),v=v.replace(/ /g,"|");var b,y=new RegExp(v),w="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),x=w.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),k=new RegExp("^(?:"+x.join("|")+")$"),O=function(t,e){o.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new c(this._input),i=new _(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(l.identifier).matching(l.identifierMatch),number:n.matching(d),punct:n.matching(y),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(//),include:n.starting_with(/#include/).until_after(l.lineBreak),shebang:n.starting_with(/#!/).until_after(l.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};O.prototype=new o,O.prototype._is_comment=function(t){return t.type===h.COMMENT||t.type===h.BLOCK_COMMENT||t.type===h.UNKNOWN},O.prototype._is_opening=function(t){return t.type===h.START_BLOCK||t.type===h.START_EXPR},O.prototype._is_closing=function(t,e){return(t.type===h.END_BLOCK||t.type===h.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},O.prototype._reset=function(){b=!1},O.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(h.EOF,""):(n=n||this._read_non_javascript(i),n=n||this._read_string(i),n=n||this._read_word(t),n=n||this._read_singles(i),n=n||this._read_comment(i),n=n||this._read_regexp(i,t),n=n||this._read_xml(i,t),n=n||this._read_punctuation(),n=n||this._create_token(h.UNKNOWN,this._input.next()))},O.prototype._read_word=function(t){var e;return""!==(e=this.__patterns.identifier.read())?(e=e.replace(l.allLineBreaks,"\n"),t.type!==h.DOT&&(t.type!==h.RESERVED||"set"!==t.text&&"get"!==t.text)&&k.test(e)?"in"===e||"of"===e?this._create_token(h.OPERATOR,e):this._create_token(h.RESERVED,e):this._create_token(h.WORD,e)):(e=this.__patterns.number.read(),""!==e?this._create_token(h.WORD,e):void 0)},O.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(h.START_EXPR,t):")"===t||"]"===t?e=this._create_token(h.END_EXPR,t):"{"===t?e=this._create_token(h.START_BLOCK,t):"}"===t?e=this._create_token(h.END_BLOCK,t):";"===t?e=this._create_token(h.SEMICOLON,t):"."===t&&g.test(this._input.peek(1))?e=this._create_token(h.DOT,t):","===t&&(e=this._create_token(h.COMMA,t)),e&&this._input.next(),e},O.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(h.EQUALS,t):this._create_token(h.OPERATOR,t)},O.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read()))return this._create_token(h.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read())return this._create_token(h.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(f)){do{t=this._input.next(),n+=t}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(l.newline);)e+=this._input.next();return b=!0,this._create_token(h.COMMENT,e)}}else if(b&&"-"===t&&(e=this.__patterns.html_comment_end.read()))return b=!1,this._create_token(h.COMMENT,e);return null},O.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=p.get_directives(n);i&&"start"===i.ignore&&(n+=p.readIgnored(this._input)),n=n.replace(l.allLineBreaks,"\n"),e=this._create_token(h.BLOCK_COMMENT,n),e.directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(h.COMMENT,n))}return e},O.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=r(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(l.allLineBreaks,"\n"),this._create_token(h.STRING,e)}return null},O.prototype._allow_regexp_or_xml=function(t){return t.type===h.RESERVED&&i(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===h.END_EXPR&&")"===t.text&&t.opened.previous.type===h.RESERVED&&i(t.opened.previous.text,["if","while","for"])||i(t.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},O.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){for(var n=this._input.next(),i=!1,r=!1;this._input.hasNext()&&(i||r||this._input.peek()!==t)&&!this._input.testChar(l.newline);)n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?r=!0:"]"===this._input.peek()&&(r=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(l.identifier)),this._create_token(h.STRING,n)}return null},O.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",i=this.__patterns.xml.read_match();if(i){for(var r=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),a=0===r.indexOf("{"),o=0;i;){var s=!!i[1],u=i[2];if(!(!!i[i.length-1]||"![CDATA["===u.slice(0,8))&&(u===r||a&&u.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(s?--o:++o),n+=i[0],o<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(l.allLineBreaks,"\n"),this._create_token(h.STRING,n)}}return null},O.prototype._read_string_recursive=function(t,e,n){var i,r;"'"===t?r=this.__patterns.single_quote:'"'===t?r=this.__patterns.double_quote:"`"===t?r=this.__patterns.template_text:"}"===t&&(r=this.__patterns.template_expression);for(var a=r.read(),o="";this._input.hasNext();){if((o=this._input.next())===t||!e&&l.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?(i=this._input.peek(),"x"===i||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),o+=r.read(),a+=o}return a},t.exports.Tokenizer=O,t.exports.TOKEN=h,t.exports.positionable_operators=m.slice(),t.exports.line_starters=w.slice()},function(t,e,n){"use strict";function i(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}var r=RegExp.prototype.hasOwnProperty("sticky");i.prototype.restart=function(){this.__position=0},i.prototype.back=function(){this.__position>0&&(this.__position-=1)},i.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=i},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};u.prototype.tokenize=function(){this._input.restart(),this.__tokens=new a,this._reset();for(var t,e=new r(s.START,""),n=null,i=[],o=new a;e.type!==s.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},u.prototype._is_comment=function(t){return!1},u.prototype._is_opening=function(t){return!1},u.prototype._is_closing=function(t,e){return!1},u.prototype._create_token=function(t,e){return new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=u,t.exports.TOKEN=s},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position=0&&t/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}var r=n(12).Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1};i.prototype=new r,i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){this.__set_templated_pattern()},i.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},i.prototype.read_options=function(t){var e=this._create();for(var n in a)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},i.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},i.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},i.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},i.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=i}]),a=n;i=[],void 0!==(r=function(){return{js_beautify:a}}.apply(e,i))&&(t.exports=r)}()},function(t,e,n){var i,r;!function(){var n=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(i,r,function(e){return t[e]}.bind(null,r));return i},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=15)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e]},r.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},,,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n={};t=a(t);var i;for(i in t)i!==e&&(n[i]=t[i]);if(e&&t[e])for(i in t[e])n[i]=t[e][i];return n}function a(t){var e,n={};for(e in t){n[e.replace(/-/g,"_")]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t];return void 0===n?!!e:!!n},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(t){return-1===e.indexOf(t)})},t.exports.Options=i,t.exports.normalizeOpts=a,t.exports.mergeOpts=r},,function(t,e,n){"use strict";function i(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}var r=RegExp.prototype.hasOwnProperty("sticky");i.prototype.restart=function(){this.__position=0},i.prototype.back=function(){this.__position>0&&(this.__position-=1)},i.prototype.hasNext=function(){return this.__position=0&&t=0&&e=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=i},,,,,function(t,e,n){"use strict";function i(t,e){t="string"==typeof t?t:t.source,e="string"==typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},,function(t,e,n){"use strict";function i(t,e){return new r(t,e).beautify()}var r=n(16).Beautifier,a=n(17).Options;t.exports=i,t.exports.defaultOptions=function(){return new a}},function(t,e,n){"use strict";function i(t,e){this._source_text=t||"",this._options=new r(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}var r=n(17).Options,a=n(2).Output,o=n(8).InputScanner,s=n(13).Directives,u=new s(/\/\*/,/\*\//),l=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,_=/\s/,h=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;i.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},i.prototype.eatWhitespace=function(t){for(var e=_.test(this._input.peek()),n=!0;_.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return e},i.prototype.foundNestedPseudoClass=function(){for(var t=0,e=1,n=this._input.peek(e);n;){if("{"===n)return!0;if("("===n)t+=1;else if(")"===n){if(0===t)return!1;t-=1}else if(";"===n||"}"===n)return!1;e++,n=this._input.peek(e)}return!1},i.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},i.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},i.prototype.indent=function(){this._indentLevel++},i.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},i.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&l.test(t||"")&&(e=t.match(l)[0])),t=t.replace(c,"\n");var n=t.match(/^[\t ]*/)[0];this._output=new a(this._options,n),this._input=new o(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,r,s,f=0,g=!1,m=!1,v=!1,b=!1,y=!1,w=this._ch;;){if(i=this._input.read(h),r=""!==i,s=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,!this._ch)break;if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var x=this._input.read(p),k=u.get_directives(x);k&&"start"===k.ignore&&(x+=u.readIgnored(this._input)),this.print_string(x),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(r),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var O=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);O.match(/[ :]$/)&&(O=this.eatString(": ").replace(/\s$/,""),this.print_string(O),this._output.space_before_token=!0),O=O.replace(/\s$/,""),"extend"===O?b=!0:"import"===O&&(y=!0),O in this.NESTED_AT_RULE?(this._nestedLevel+=1,O in this.CONDITIONAL_GROUP_RULE&&(v=!0)):g||0!==f||-1===O.indexOf(":")||(m=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(r),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(m&&(m=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),v?(v=!1,g=this._indentLevel>this._nestedLevel):g=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&g&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===s&&this._output.trim(!0),y=!1,b=!1,m&&(this.outdent(),m=!1),this.print_string(this._ch),g=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!g&&!v||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||b||0!==f?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),m||(m=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(r),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===f?(m&&(this.outdent(),m=!1),b=!1,y=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),f++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),f&&(f--,this.outdent()))):(this.preserveSingleSpace(r),this.print_string(this._ch),this.eatWhitespace(),f++,this.indent()):")"===this._ch?(f&&(f--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||m||0!==f||y?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||m||0!==f?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(r),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),_.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(r),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&_.test(this._ch)&&(this._ch=""))}return this._output.get_code(e)},t.exports.Beautifier=i},function(t,e,n){"use strict";function i(t){r.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e}var r=n(6).Options;i.prototype=new r,t.exports.Options=i}]),a=n;i=[],void 0!==(r=function(){return{css_beautify:a}}.apply(e,i))&&(t.exports=r)}()},function(t,e){function n(e,i){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,i)}t.exports=n},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function a(t){if(_===clearTimeout)return clearTimeout(t);if((_===i||!_)&&clearTimeout)return _=clearTimeout,clearTimeout(t);try{return _(t)}catch(e){try{return _.call(null,t)}catch(e){return _.call(this,t)}}}function o(){f&&p&&(f=!1,p.length?d=p.concat(d):g=-1,d.length&&s())}function s(){if(!f){var t=r(o);f=!0;for(var e=d.length;e;){for(p=d,d=[];++g1)for(var n=1;n= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};e.REVISION_CHANGES=p;r.prototype={constructor:r,logger:_.default,log:_.default.log,registerHelper:function(t,e){if("[object Object]"===a.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple helpers");a.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===a.toString.call(t))a.extend(this.partials,t);else{if(void 0===e)throw new s.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===a.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple decorators");a.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){h.resetLoggedProperties()}};var d=_.default.log;e.log=d,e.createFrame=a.createFrame,e.logger=_.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){s.default(t),l.default(t),_.default(t),p.default(t),f.default(t),m.default(t),b.default(t)}function a(t,e,n){t.helpers[e]&&(t.hooks[e]=t.helpers[e],n||delete t.helpers[e])}e.__esModule=!0,e.registerDefaultHelpers=r,e.moveHelperToHooks=a;var o=n(51),s=i(o),u=n(52),l=i(u),c=n(53),_=i(c),h=n(54),p=i(h),d=n(55),f=i(d),g=n(56),m=i(g),v=n(57),b=i(v)},function(t,e,n){"use strict";e.__esModule=!0;var i=n(10),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=i.indexOf(r.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=r.lookupLevel(t),"undefined"!=typeof console&&r.lookupLevel(r.level)<=t){var e=r.methodMap[t];console[e]||(e="log");for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a100&&(e=r(o))}t[n]=e;var s=[];Object(O.x)(["enumerable","unenumerable","symbol"],function(t){if(e[t])for(var n in e[t])s.push(e[t][n])}),e.proto&&s.push(e.proto);for(var u=0,l=s.length;u0?" \u2026 "+a:"")+"]",i.id=Object(O._34)("json"),i.jsonSplitArr=!0,n[e]=i});var i={};return i.enumerable=n,i.id=t.id,i.type=t.type,t.unenumerable&&(i.unenumerable=t.unenumerable),t.symbol&&(i.symbol=t.symbol),t.proto&&(i.proto=t.proto),i}function a(t,e,n){var i=[],r={};return Object(O.x)(t.enumerable,function(t,e){var n=Object(O._28)(e);Object(O.U)(n)?r[e]=t:i[n]=t}),i.enumerable=r,i.type=n,i.id=e,t.unenumerable&&(i.unenumerable=t.unenumerable),t.symbol&&(i.symbol=t.symbol),t.proto&&(i.proto=t.proto),i}function o(t,e){t=Object(O._30)(t),e=Object(O._30)(e);var n=Object(O._28)(t),i=Object(O._28)(e);if(!Object(O.U)(n)&&!Object(O.U)(i))return n>i?1:na?a:r,u=0;ua?1:re?1:t500&&(t=t.slice(0,500)+"..."),"\u0192 "+Object(O._31)(c(t).replace("function",""))}n.d(e,"a",function(){return j}),n.d(e,"b",function(){return A}),e.d=o,e.c=_;var h=n(16),p=n.n(h),d=n(2),f=n.n(d),g=n(3),m=n.n(g),v=n(7),b=n.n(v),y=n(5),w=n.n(y),x=n(8),k=n.n(x),O=n(0),$=n(4),E=!1,j=function(t){function e(t,r){var a;return f()(this,e),a=b()(this,w()(e).call(this)),E||(Object($.a)(n(31)),E=!0),a._data={id:Object(O._34)("json"),enumerable:{0:t}},a._$el=r,a._map={},i(a._map,a._data),a._appendTpl(),a._bindEvent(),a}return k()(e,t),m()(e,[{key:"_jsonToHtml",value:function(t,e){var n=this,i="";return Object(O.x)(["enumerable","unenumerable","symbol"],function(r){if(t[r]){var a=Object(O._5)(t[r]);a.sort(o);for(var s=0,u=a.length;s').concat(A(t)," : ")}var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=p()(e);if(null===e)return"".concat(i(t),'null ');if(Object(O.X)(e)||Object(O.L)(e))return"".concat(i(t),'').concat(A(e)," ");if("RegExp"===e.type&&(a="regexp"),"Number"===e.type&&(a="number"),"Number"===e.type||"RegExp"===e.type)return"".concat(i(t),'').concat(A(e.value)," ");if("Undefined"===e.type||"Symbol"===e.type)return"".concat(i(t),'').concat(Object(O._9)(e.type)," ");if("(...)"===e)return"".concat(i(t),'').concat(e," ");if(Object(O.Y)(e)){var o=e.id,s=e.reference,u=l(e)||Object(O._36)(a),c="').concat(i(t),'').concat(r?"":u,'");return r&&(c+=this._jsonToHtml(this._map[o])),c+'
'}return"".concat(i(t),'"').concat(A(e),'" ')}},{key:"_appendTpl",value:function(){var t=this._map[this._data.id];this._$el.html(this._jsonToHtml(t,!0))}},{key:"_bindEvent",value:function(){var t=this._map,e=this;this._$el.on("click","li",function(n){var i=Object(O.a)(this),r=i.data("object-id"),a=Object(O.a)(this).find("span").eq(0);if(!i.data("first-level")&&(r&&(i.find("ul").html(e._jsonToHtml(t[r],!1)),i.rmAttr("data-object-id")),n.stopImmediatePropagation(),a.hasClass("eruda-expanded"))){var o=i.find("ul").eq(0);a.hasClass("eruda-collapsed")?(a.rmClass("eruda-collapsed"),o.show()):(a.addClass("eruda-collapsed"),o.hide()),e.emit("change")}})}}]),e}(O.c),A=function(t){return Object(O.z)(Object(O._30)(t)).replace(/\n/g,"\u21b5").replace(/\f|\r|\t/g,"")},T=/function(.*?)\((.*?)\)/},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._container ._json{$ox:auto;$wos:touch;$cu:default;$fs:12px;$lh:1.2;$mh:100%;$c:var(--primary)}._container ._json,._container ._json ul{list-style:none!important}._container ._json ul{$p:0!important;$pl:15px!important;$m:0!important}._container ._json li{$po:relative;$ws:nowrap;$lh:16px;$mh:16px}._container ._json>li>._key{$d:none}._container ._json>li{$p:10px 0}._container ._json ._array ._object ._key{$d:inline}._container ._json ._null{$c:var(--operator-color)}._container ._json ._regexp,._container ._json ._string{$c:var(--string-color)}._container ._json ._number{$c:var(--number-color)}._container ._json ._boolean{$c:var(--keyword-color)}._container ._json ._special{$c:var(--operator-color)}._container ._json ._key,._container ._json ._key-lighter{$c:var(--var-color)}._container ._json ._key-lighter{opacity:.6}._container ._json ._expanded:before{$co:'';$w:0;$h:0;$bo:4px solid transparent;$po:absolute;$btc:var(--foreground);$l:-12px;$t:6px}._container ._json ._collapsed:before{$co:'';$blc:var(--foreground);$btc:transparent;$l:-10px;$t:4px}._container ._json li ._collapsed~._close:before{$c:#999}._container ._json ._hidden~ul{$d:none}._container ._json span{$po:static!important}",""])},function(t,e,n){"use strict";function i(t,e){if(e)return"Function"===e?Object(m.c)(Object(g._29)(t)):"Array"===e?"Array(".concat(t.length,")"):e}n.d(e,"a",function(){return y});var r=n(16),a=n.n(r),o=n(2),s=n.n(o),u=n(3),l=n.n(u),c=n(7),_=n.n(c),h=n(5),p=n.n(h),d=n(8),f=n.n(d),g=n(0),m=n(30),v=n(4),b=!1,y=function(t){function e(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.showUnenumerable,u=void 0!==o&&o,l=a.showGetterVal,c=void 0!==l&&l;return s()(this,e),r=_()(this,p()(e).call(this)),b||(Object(v.a)(n(31)),b=!0),r._data=[t],r._$el=i,r._visitor=new w,r._map={},r._showUnenumerable=u,r._showGetterVal=c,r._appendTpl(),r._bindEvent(),r}return f()(e,t),l()(e,[{key:"_objToHtml",value:function(t,e){var n=this,i=this._visitor,r=t,o=!1,s=i.get(t);s&&s.self&&(r=s.self);var u="",l=["enumerable"],c=Object(g._5)(t),_=[],h=[],p=[],d={};if(this._showUnenumerable&&!e&&(l.push("unenumerable"),l.push("symbol"),_=Object(g.w)(Object(g.j)(t,{prototype:!1,unenumerable:!0}),c),h=Object(g.E)(Object(g.j)(t,{prototype:!1,symbol:!0}),function(t){return"symbol"===a()(t)})),Object(g.K)(t)&&t.length>100){l.unshift("virtual"),o=!0;var f=0,v={};Object(g.x)(Object(g.k)(t,100),function(t){var e=Object.create(null),n=f,i="["+n;Object(g.x)(t,function(t){e[f]=t,v[f]=!0,f++});var r=f-1;i+=(r-n>0?" \u2026 "+r:"")+"]",d[i]=e}),p=Object(g._5)(d),c=Object(g.E)(g._5,function(t){return!v[t]})}Object(g.x)(l,function(i){var a=[];a="symbol"===i?h:"unenumerable"===i?_:"virtual"===i?p:c,o||a.sort(m.d);for(var s=0,l=a.length;s').concat(Object(m.b)(t),": ")}var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=this._visitor,l=a()(n),c=Object(g._32)(n,!1);if("virtual"===r&&(c=t),null===n)return"".concat(o(t),'null ');if(Object(g.X)(n)||Object(g.L)(n))return"".concat(o(t),'').concat(Object(m.b)(n)," ");if("RegExp"===c&&(l="regexp"),"Number"===c&&(l="number"),"Number"===c||"RegExp"===c)return"".concat(o(t),'').concat(Object(m.b)(n.value)," ");if("Undefined"===c||"Symbol"===c)return"".concat(o(t),'').concat(Object(g._9)(c)," ");if("(...)"===n)return"".concat(o(t),'').concat(n," ");if(Object(g.Y)(n)){var _,h=u.get(n);if(h)_=h.id;else{var p={};"proto"===r&&(p.self=e),_=u.set(n,p),this._map[_]=n}var d=i(n,c)||Object(g._36)(l),f="').concat(o(t),'').concat(s?"":d,'");return s&&(f+=this._objToHtml(n)),f+'
'}return"".concat(o(t),'"').concat(Object(m.b)(n),'" ')}},{key:"_appendTpl",value:function(){this._$el.html(this._objToHtml(this._data,!0))}},{key:"_bindEvent",value:function(){var t=this._map,e=this;this._$el.on("click","li",function(n){var i=Object(g.a)(this),r=i.data("object-id"),a=Object(g.a)(this).find("span").eq(0);if(!i.data("first-level")&&(r&&(i.find("ul").html(e._objToHtml(t[r],!1)),i.rmAttr("data-object-id")),n.stopImmediatePropagation(),a.hasClass("eruda-expanded"))){var o=i.find("ul").eq(0);a.hasClass("eruda-collapsed")?(a.rmClass("eruda-collapsed"),o.show()):(a.addClass("eruda-collapsed"),o.hide()),e.emit("change")}})}}]),e}(g.c),w=function(){function t(){s()(this,t),this.id=0,this.visited=[]}return l()(t,[{key:"set",value:function(t,e){var n=this.visited,i=this.id,r={id:i,val:t};return Object(g.C)(r,e),n.push(r),this.id++,i}},{key:"get",value:function(t){for(var e=this.visited,n=0,i=e.length;n0&&void 0!==arguments[0]?arguments[0]:{},e=t.container,n=t.tool,i=t.autoScale,r=void 0===i||i,a=t.useShadowDom,o=void 0===a||a;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(e,o),this._initStyle(),this._initDevTools(),this._initEntryBtn(),this._initSettings(),this._initTools(n),this._registerListener(),r&&this._autoScale())},_isInit:!1,version:"2.1.0",util:m.s,Tool:a.a,Console:o.a,Elements:u.a,Network:s.a,Sources:h.a,Resources:c.a,Info:_.a,Snippets:l.a,Settings:p.a,get:function(t){if(this._checkInit()){if("entryBtn"===t)return this._entryBtn;var e=this._devTools;return t?e.get(t):e}},add:function(t){if(this._checkInit())return Object(m.R)(t)&&(t=t(this)),this._devTools.add(t),this},remove:function(t){return this._devTools.remove(t),this},show:function(t){if(this._checkInit()){var e=this._devTools;return t?e.showTool(t):e.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),this._$el.remove(),v.a.clear(),this._isInit=!1},scale:function(t){return Object(m.X)(t)?(this._scale=t,d.a.emit(d.a.SCALE,t),this):this._scale},position:function(t){var e=this._entryBtn;return Object(m.Y)(t)?(e.setPos(t),this):e.getPos()},_autoScale:function(){Object(m.T)()&&this.scale(1/Object(m._37)())},_registerListener:function(){var t=this;this._addListener=function(){return t.add.apply(t,arguments)},this._showListener=function(){return t.show.apply(t,arguments)},d.a.on(d.a.ADD,this._addListener),d.a.on(d.a.SHOW,this._showListener),d.a.on(d.a.SCALE,v.a.setScale)},_unregisterListener:function(){d.a.off(d.a.ADD,this._addListener),d.a.off(d.a.SHOW,this._showListener),d.a.off(d.a.SCALE,v.a.setScale)},_checkInit:function(){return this._isInit||f.a.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(t,e){t||(t=document.createElement("div"),document.documentElement.appendChild(t),t.style.all="initial");var i;e&&(t.attachShadow?i=t.attachShadow({mode:"open"}):t.createShadowRoot&&(i=t.createShadowRoot()),i&&(v.a.container=document.head,Object(v.a)(n(34)),t=document.createElement("div"),i.appendChild(t),this._shadowRoot=i)),Object.assign(t,{id:"eruda",className:"eruda-container",contentEditable:!1}),"ios"===Object(m.u)().name&&t.setAttribute("ontouchstart",""),this._$el=Object(m.a)(t)},_initDevTools:function(){this._devTools=new r.a(this._$el)},_initStyle:function(){var t=this._$el;this._shadowRoot?(v.a.container=this._shadowRoot,Object(v.a)(":host { all: initial }")):(t.append('')),v.a.container=t.find(".".concat("eruda-style-container")).get(0)),Object(v.a)(n(125)+n(126)+n(34))},_initEntryBtn:function(){var t=this;this._entryBtn=new i.a(this._$el),this._entryBtn.on("click",function(){return t._devTools.toggle()})},_initSettings:function(){var t=this._devTools,e=new p.a;t.add(e),this._entryBtn.initCfg(e),t.initCfg(e)},_initTools:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["console","elements","network","resources","sources","info","snippets"];e=Object(m._26)(e);var n=this._devTools;e.forEach(function(e){var i=t[Object(m._36)(e)];try{i&&n.add(new i)}catch(t){Object(m._12)(function(){f.a.error("Something wrong when initializing tool ".concat(e,":"),t.message)})}}),n.showTool(e[0]||"settings")}},Object(g.a)(m.s)},function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i=n(2),r=n.n(i),a=n(3),o=n.n(a),s=n(7),u=n.n(s),l=n(5),c=n.n(l),_=n(8),h=n.n(_),p=n(38),d=n.n(p),f=n(17),g=n(11),m=n(0),v=n(4),b=function(t){function e(t){var i;return r()(this,e),i=u()(this,c()(e).call(this)),i._style=Object(v.a)(n(68)),i._$container=t,i._appendTpl(),i._makeDraggable(),i._bindEvent(),i._registerListener(),i}return h()(e,t),o()(e,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(t){this._isOutOfRange(t)&&(t=this._getDefPos()),this._$el.css({left:t.x,top:t.y}),this.config.set("pos",t)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){v.a.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(t){t=t||this.config.get("pos");var e=this._getDefPos();return t.x>e.x+10||t.x<0||t.y<0||t.y>e.y+10}},{key:"_registerListener",value:function(){var t=this;this._scaleListener=function(){return Object(m._12)(function(){t._isOutOfRange()&&t._resetPos()})},f.a.on(f.a.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){f.a.off(f.a.SCALE,this._scaleListener)}},{key:"_appendTpl",value:function(){var t=this._$container;t.append(n(69)()),this._$el=t.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(t){var e=this.config,n=e.get("pos"),i=this._getDefPos();e.get("rememberPos")&&!t||(n=i),this.setPos(n)}},{key:"_bindEvent",value:function(){var t=this,e=this._draggabilly,n=this._$el;e.on("staticClick",function(){return t.emit("click")}).on("dragStart",function(){return n.addClass("eruda-active")}),e.on("dragEnd",function(){var e=t.config;e.get("rememberPos")&&e.set("pos",{x:Object(m._17)(t._$el.css("left")),y:Object(m._17)(t._$el.css("top"))}),n.rmClass("eruda-active")}),m._15.on("change",function(){return t._resetPos(!0)}),window.addEventListener("resize",function(){return t._resetPos()})}},{key:"_makeDraggable",value:function(){this._draggabilly=new d.a(this._$el.get(0),{containment:!0})}},{key:"initCfg",value:function(t){var e=this.config=g.a.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});t.separator().switch(e,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var t=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-t,y:window.innerHeight-t}}}]),e}(m.c)},function(t,e,n){var i,r;!function(a,o){i=[n(39),n(40)],void 0!==(r=function(t,e){return o(a,t,e)}.apply(e,i))&&(t.exports=r)}(window,function(t,e,n){"use strict";function i(t,e){for(var n in e)t[n]=e[n];return t}function r(){}function a(t,e){this.element="string"==typeof t?document.querySelector(t):t,s&&(this.$element=s(this.element)),this.options=i({},this.constructor.defaults),this.option(e),this._create()}function o(t,e,n){return n=n||"round",e?Math[n](t/e)*e:t}var s=t.jQuery,u=a.prototype=Object.create(n.prototype);a.defaults={},u.option=function(t){i(this.options,t)};var l={relative:!0,absolute:!0,fixed:!0};return u._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition=i({},this.position);var t=getComputedStyle(this.element);l[t.position]||(this.element.style.position="relative"),this.on("pointerDown",this.onPointerDown),this.on("pointerMove",this.onPointerMove),this.on("pointerUp",this.onPointerUp),this.enable(),this.setHandles()},u.setHandles=function(){this.handles=this.options.handle?this.element.querySelectorAll(this.options.handle):[this.element],this.bindHandles()},u.dispatchEvent=function(t,e,n){var i=[e].concat(n);this.emitEvent(t,i),this.dispatchJQueryEvent(t,e,n)},u.dispatchJQueryEvent=function(e,n,i){var r=t.jQuery;if(r&&this.$element){var a=r.Event(n);a.type=e,this.$element.trigger(a,i)}},u._getPosition=function(){var t=getComputedStyle(this.element),e=this._getPositionCoord(t.left,"width"),n=this._getPositionCoord(t.top,"height");this.position.x=isNaN(e)?0:e,this.position.y=isNaN(n)?0:n,this._addTransformPosition(t)},u._getPositionCoord=function(t,n){if(-1!=t.indexOf("%")){var i=e(this.element.parentNode);return i?parseFloat(t)/100*i[n]:0}return parseInt(t,10)},u._addTransformPosition=function(t){var e=t.transform;if(0===e.indexOf("matrix")){var n=e.split(","),i=0===e.indexOf("matrix3d")?12:4,r=parseInt(n[i],10),a=parseInt(n[i+1],10);this.position.x+=r,this.position.y+=a}},u.onPointerDown=function(t,e){this.element.classList.add("is-pointer-down"),this.dispatchJQueryEvent("pointerDown",t,[e])},u.dragStart=function(t,e){this.isEnabled&&(this._getPosition(),this.measureContainment(),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this.element.classList.add("is-dragging"),this.dispatchEvent("dragStart",t,[e]),this.animate())},u.measureContainment=function(){var t=this.getContainer();if(t){var n=e(this.element),i=e(t),r=this.element.getBoundingClientRect(),a=t.getBoundingClientRect(),o=i.borderLeftWidth+i.borderRightWidth,s=i.borderTopWidth+i.borderBottomWidth,u=this.relativeStartPosition={x:r.left-(a.left+i.borderLeftWidth),y:r.top-(a.top+i.borderTopWidth)};this.containSize={width:i.width-o-u.x-n.width,height:i.height-s-u.y-n.height}}},u.getContainer=function(){var t=this.options.containment;if(t){return t instanceof HTMLElement?t:"string"==typeof t?document.querySelector(t):this.element.parentNode}},u.onPointerMove=function(t,e,n){this.dispatchJQueryEvent("pointerMove",t,[e,n])},u.dragMove=function(t,e,n){if(this.isEnabled){var i=n.x,r=n.y,a=this.options.grid,s=a&&a[0],u=a&&a[1];i=o(i,s),r=o(r,u),i=this.containDrag("x",i,s),r=this.containDrag("y",r,u),i="y"==this.options.axis?0:i,r="x"==this.options.axis?0:r,this.position.x=this.startPosition.x+i,this.position.y=this.startPosition.y+r,this.dragPoint.x=i,this.dragPoint.y=r,this.dispatchEvent("dragMove",t,[e,n])}},u.containDrag=function(t,e,n){if(!this.options.containment)return e;var i="x"==t?"width":"height",r=this.relativeStartPosition[t],a=o(-r,n,"ceil"),s=this.containSize[i];return s=o(s,n,"floor"),Math.max(a,Math.min(s,e))},u.onPointerUp=function(t,e){this.element.classList.remove("is-pointer-down"),this.dispatchJQueryEvent("pointerUp",t,[e])},u.dragEnd=function(t,e){this.isEnabled&&(this.element.style.transform="",this.setLeftTop(),this.element.classList.remove("is-dragging"),this.dispatchEvent("dragEnd",t,[e]))},u.animate=function(){if(this.isDragging){this.positionDrag();var t=this;requestAnimationFrame(function(){t.animate()})}},u.setLeftTop=function(){this.element.style.left=this.position.x+"px",this.element.style.top=this.position.y+"px"},u.positionDrag=function(){this.element.style.transform="translate3d( "+this.dragPoint.x+"px, "+this.dragPoint.y+"px, 0)"},u.staticClick=function(t,e){this.dispatchEvent("staticClick",t,[e])},u.setPosition=function(t,e){this.position.x=t,this.position.y=e,this.setLeftTop()},u.enable=function(){this.isEnabled=!0},u.disable=function(){this.isEnabled=!1,this.isDragging&&this.dragEnd()},u.destroy=function(){this.disable(),this.element.style.transform="",this.element.style.left="",this.element.style.top="",this.element.style.position="",this.unbindHandles(),this.$element&&this.$element.removeData("draggabilly")},u._init=r,s&&s.bridget&&s.bridget("draggabilly",a),a})},function(t,e,n){var i,r;!function(a,o){i=o,void 0!==(r="function"==typeof i?i.call(e,n,e,t):i)&&(t.exports=r)}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e3||Math.abs(t.y)>3},i.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},i._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},i._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},i.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},i._dragMove=function(t,e,n){this.isDragging&&this.dragMove(t,e,n)},i.dragMove=function(t,e,n){t.preventDefault(),this.emitEvent("dragMove",[t,e,n])},i._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},i.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},i.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},i._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},i.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},n.getPointerPoint=e.getPointerPoint,n})},function(t,e,n){var i,r;!function(a,o){i=[n(42)],void 0!==(r=function(t){return o(a,t)}.apply(e,i))&&(t.exports=r)}(window,function(t,e){"use strict";function n(){}function i(){}var r=i.prototype=Object.create(e.prototype);r.bindStartEvent=function(t){this._bindStartEvent(t,!0)},r.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},r._bindStartEvent=function(e,n){n=void 0===n||n;var i=n?"addEventListener":"removeEventListener",r="mousedown";t.PointerEvent?r="pointerdown":"ontouchstart"in t&&(r="touchstart"),e[i](r,this)},r.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.getTouch=function(t){for(var e=0;e=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(44),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(15))},function(t,e,n){(function(t,e){!function(t,n){"use strict";function i(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n= 4.3.0"],main:function(t,e,n,i,r){var a,o=t.lambda,s=t.escapeExpression,u=null!=e?e:t.nullContext||{},l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' "+s(o(null!=e?l(e,"desc"):e,e))+" "},useData:!0})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function a(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l.default,t.Exception=_.default,t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=f,t.template=function(e){return f.template(e,t)},t}e.__esModule=!0;var o=n(25),s=r(o),u=n(61),l=i(u),c=n(13),_=i(c),h=n(10),p=r(h),d=n(62),f=r(d),g=n(64),m=i(g),v=a();v.create=a,m.default(v),v.default=v,e.default=v,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var i=n(10);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,n){var r=n.inverse,a=n.fn;if(!0===e)return a(this);if(!1===e||null==e)return r(this);if(i.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):r(this);if(n.data&&n.ids){var o=i.createFrame(n.data);o.contextPath=i.appendContextPath(n.data.contextPath,n.name),n={data:o}}return a(e,n)})},t.exports=e.default},function(t,e,n){"use strict";(function(i){e.__esModule=!0;var r=n(10),a=n(13),o=function(t){return t&&t.__esModule?t:{default:t}}(a);e.default=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){c&&(c.key=e,c.index=n,c.first=0===n,c.last=!!i,_&&(c.contextPath=_+e)),l+=a(t[e],{data:c,blockParams:r.blockParams([t[e],e],[_+e,null])})}if(!e)throw new o.default("Must pass iterator to #each");var a=e.fn,s=e.inverse,u=0,l="",c=void 0,_=void 0;if(e.data&&e.ids&&(_=r.appendContextPath(e.data.contextPath,e.ids[0])+"."),r.isFunction(t)&&(t=t.call(this)),e.data&&(c=r.createFrame(e.data)),t&&"object"==typeof t)if(r.isArray(t))for(var h=t.length;u=m.LAST_COMPATIBLE_COMPILER_REVISION&&e<=m.COMPILER_REVISION)){if(e"+t.escapeExpression(t.lambda(e,e))+" "},compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=t.lambda,s=t.escapeExpression,u=null!=e?e:t.nullContext||{},l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' "+s(o(null!=e?l(e,"desc"):e,e))+" "+s(o(null!=e?l(e,"val"):e,e))+' '+(null!=(a=l(n,"each").call(u,null!=e?l(e,"selections"):e,{name:"each",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?a:"")+"
"},useData:!0})},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=t.lambda,s=t.escapeExpression,u=null!=e?e:t.nullContext||{},l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' "+s(o(null!=e?l(e,"desc"):e,e))+" "+s(o(null!=e?l(e,"val"):e,e))+"'},useData:!0})},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({1:function(t,e,n,i,r){return' '},compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=t.lambda,s=t.escapeExpression,u=null!=e?e:t.nullContext||{},l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' "+s(o(null!=e?l(e,"desc"):e,e))+" '+(null!=(a=l(n,"each").call(u,null!=e?l(e,"colors"):e,{name:"each",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?a:"")+"
"},useData:!0})},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._container ._entry-btn{$w:40px;$h:40px;$d:-webkit-box;$d:flex;$b:#000;opacity:.3;$bra:10px;$po:relative;$z:1000;-webkit-transition:opacity .3s;$tr:opacity .3s;$c:#fff;$fs:25px;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}._container ._entry-btn._active,._container ._entry-btn:active{opacity:.8}",""])},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return""},useData:!0})},function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i=n(2),r=n.n(i),a=n(3),o=n.n(a),s=n(7),u=n.n(s),l=n(5),c=n.n(l),_=n(8),h=n.n(_),p=n(71),d=n(18),f=n(9),g=n(11),m=n(0),v=n(4),b=function(t){function e(t){var i;return r()(this,e),i=u()(this,c()(e).call(this)),i._style=Object(v.a)(n(73)),i.$container=t,i._isShow=!1,i._opacity=1,i._tools={},i._isResizing=!1,i._resizeTimer=null,i._resizeStartY=0,i._resizeStartSize=0,i._appendTpl(),i._initNavBar(),i._bindEvent(),i}return h()(e,t),o()(e,[{key:"show",value:function(){var t=this;return this._isShow=!0,this._$el.show(),this._navBar.resetBottomBar(),setTimeout(function(){t._$el.css("opacity",t._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var t=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return t._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(t){if(!(t instanceof f.a)){var e=new f.a,n=e.init,i=e.show,r=e.hide,a=e.destroy;Object(m.t)(t,{init:n,show:i,hide:r,destroy:a})}var o=t.name;return o?(o=o.toLowerCase(),this._tools[o]?d.a.warn("Tool ".concat(o," already exists")):(this._$tools.prepend('')),t.init(this._$tools.find(".eruda-".concat(o,".eruda-tool")),this),t.active=!1,this._tools[o]=t,this._navBar.add(o),this)):d.a.error("You must specify a name for a tool")}},{key:"remove",value:function(t){var e=this._tools;if(!e[t])return d.a.warn("Tool ".concat(t," doesn't exist"));this._navBar.remove(t);var n=e[t];if(delete e[t],n.active){var i=Object(m._5)(e);i.length>0&&this.showTool(e[Object(m._6)(i)].name)}return n.destroy(),this}},{key:"removeAll",value:function(){var t=this;return Object(m.x)(this._tools,function(e){return t.remove(e.name)}),this}},{key:"get",value:function(t){var e=this._tools[t];if(e)return e}},{key:"showTool",value:function(t){if(this._curTool===t)return this;this._curTool=t;var e=this._tools,n=e[t];if(n){var i={};return Object(m.x)(e,function(t){t.active&&(i=t,t.active=!1,t.hide())}),n.active=!0,n.show(),this._navBar.activateTool(t),this.emit("showTool",t,i),this}}},{key:"initCfg",value:function(t){var e=this,n=this.config=g.a.createCfg("dev-tools",{transparency:1,displaySize:80,theme:"Light"});this._setTransparency(n.get("transparency")),this._setDisplaySize(n.get("displaySize")),v.a.setTheme(n.get("theme")),n.on("change",function(t,n){switch(t){case"transparency":return e._setTransparency(n);case"displaySize":return e._setDisplaySize(n);case"theme":return v.a.setTheme(n)}}),t.separator().select(n,"theme","Theme",Object(m._5)(v.a.getThemes())).range(n,"transparency","Transparency",{min:.2,max:1,step:.01}).range(n,"displaySize","Display Size",{min:40,max:100,step:1}).separator()}},{key:"destroy",value:function(){v.a.remove(this._style),this.removeAll(),this._navBar.destroy(),this._$el.remove()}},{key:"_setTransparency",value:function(t){Object(m.X)(t)&&(this._opacity=t,this._isShow&&this._$el.css({opacity:t}))}},{key:"_setDisplaySize",value:function(t){Object(m.X)(t)&&this._$el.css({height:t+"%"})}},{key:"_appendTpl",value:function(){var t=this.$container;t.append(n(74)()),this._$el=t.find(".eruda-dev-tools"),this._$tools=this._$el.find(".eruda-tools")}},{key:"_initNavBar",value:function(){var t=this;this._navBar=new p.a(this._$el.find(".eruda-nav-bar-container")),this._navBar.on("showTool",function(e){return t.showTool(e)})}},{key:"_bindEvent",value:function(){var t=this,e=this._$el.find(".eruda-nav-bar"),n=function(n){n=n.origEvent,t._resizeTimer=setTimeout(function(){n.preventDefault(),n.stopPropagation(),t._isResizing=!0,t._resizeStartSize=t.config.get("displaySize"),t._resizeStartY=o(n),e.css("filter","brightness(1.2)")},1e3)},i=Object(m._25)(function(e){return t.config.set("displaySize",e)},50),r=function(e){if(!t._isResizing)return clearTimeout(t._resizeTimer);e.preventDefault(),e.stopPropagation(),e=e.origEvent;var n=Math.round((t._resizeStartY-o(e))/window.innerHeight*100),r=t._resizeStartSize+n;r<40?r=40:r>100&&(r=100),i(r)},a=function(){clearTimeout(t._resizeTimer),t._isResizing=!1,e.css("filter","brightness(1)")},o=function(t){return t.clientY?t.clientY:t.touches?t.touches[0].clientY:0};e.on("contextmenu",function(t){return t.preventDefault()});var s=Object(m.a)(document.documentElement);Object(m.T)()?(e.on("touchstart",n).on("touchmove",r),s.on("touchend",a)):(e.on("mousedown",n),s.on("mousemove",r),s.on("mouseup",a))}}]),e}(m.c)},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n(2),r=n.n(i),a=n(3),o=n.n(a),s=n(7),u=n.n(s),l=n(5),c=n.n(l),_=n(8),h=n.n(_),p=n(0),d=n(4),f=function(t){function e(t){var i;return r()(this,e),i=u()(this,c()(e).call(this)),i._style=Object(d.a)(n(72)),i._$el=t.find(".eruda-nav-bar"),i._$bottomBar=t.find(".eruda-bottom-bar"),i._len=0,i._bindEvent(),i}return h()(e,t),o()(e,[{key:"add",value:function(t){var e=this._$el;this._len++;var n=e.find(".eruda-nav-bar-item").last(),i=' ");n.length>0&&"settings"===n.text()?n.before(i):e.append(i),this.resetBottomBar()}},{key:"remove",value:function(t){this._len--,this._$el.find(".eruda-nav-bar-item").each(function(){var e=Object(p.a)(this);e.text().toLowerCase()===t.toLowerCase()&&e.remove()}),this.resetBottomBar()}},{key:"activateTool",value:function(t){var e=this;this._$el.find(".eruda-nav-bar-item").each(function(){var n=Object(p.a)(this);n.text()===t?(n.addClass("eruda-active"),e.resetBottomBar(),e._scrollItemToView()):n.rmClass("eruda-active")})}},{key:"destroy",value:function(){d.a.remove(this._style),this._$el.remove()}},{key:"_scrollItemToView",value:function(){var t,e=this._$el,n=e.find(".eruda-active").get(0),i=e.get(0),r=n.offsetLeft,a=n.offsetWidth,o=i.offsetWidth,s=i.scrollLeft;ro+s&&(t=r+a-o),Object(p.X)(t)&&(i.scrollLeft=t)}},{key:"resetBottomBar",value:function(){var t=this._$bottomBar,e=this._$el,n=e.find(".eruda-active").get(0);n&&t.css({width:n.offsetWidth,left:n.offsetLeft-e.get(0).scrollLeft})}},{key:"_bindEvent",value:function(){var t=this,e=this;this._$el.on("click",".eruda-nav-bar-item",function(){e.emit("showTool",Object(p.a)(this).text())}).on("scroll",function(){return t.resetBottomBar()})}}]),e}(p.c)},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._container ._nav-bar-container{$po:absolute;$w:100%;$h:40px;$l:0;$t:0;$z:100}._container ._nav-bar-container ._nav-bar{$ox:auto;$wos:touch;$bt:1px solid var(--border);$bb:1px solid var(--border);$w:100%;$h:100%;$b:var(--darker-background);$fs:0;$ws:nowrap}._container ._nav-bar-container ._nav-bar-item{$cu:pointer;$d:inline-block;$h:38px;$lh:38px;$p:0 10px;$c:var(--foreground);$fs:12px;$ta:center;$tt:capitalize;-webkit-transition:all .3s;$tr:all .3s}._container ._nav-bar-container ._nav-bar-item:active{$b:var(--highlight);$c:var(--select-foreground)}._container ._nav-bar-container ._nav-bar-item._active{$b:var(--highlight);$c:var(--select-foreground)}._container ._nav-bar-container ._bottom-bar{-webkit-transition:left .3s,width .3s;$tr:left .3s,width .3s;$h:1px;$b:var(--accent);$po:absolute;bottom:0;$l:0}",""])},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._dev-tools{$po:absolute;$w:100%;$h:100%;$l:0;bottom:0;$b:var(--background);$z:500;$d:none;$pt:40px!important;opacity:0;-webkit-transition:opacity .3s,height .3s;$tr:opacity .3s,height .3s}._dev-tools ._tools{$o:auto;$wos:touch;$h:100%;$w:100%;$po:relative}._dev-tools ._tools ._tool{$po:absolute;$w:100%;$h:100%;$l:0;$t:0;$o:hidden;$d:none}",""])},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return""},useData:!0})},function(t,e,n){"use strict";n.d(e,"a",function(){return $});var i=n(2),r=n.n(i),a=n(3),o=n.n(a),s=n(7),u=n.n(s),l=n(14),c=n.n(l),_=n(5),h=n.n(_),p=n(12),d=n.n(p),f=n(8),g=n.n(f),m=n(29),v=n.n(m),b=n(76),y=n(9),w=n(0),x=n(4),k=n(17),O=n(11);w._33.start();var $=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.name,a=void 0===i?"console":i;return r()(this,e),t=u()(this,h()(e).call(this)),v()(c()(t),"_handleShow",function(){Object(w.S)(t._$el.get(0))||t._logger.renderViewport()}),v()(c()(t),"_handleErr",function(e){t._logger.error(e)}),w.c.mixin(c()(t)),t.name=a,t._scale=1,t._registerListener(),t}return g()(e,t),o()(e,[{key:"init",value:function(t,n){d()(h()(e.prototype),"init",this).call(this,t),this._container=n,this._appendTpl(),this._initLogger(),this._exposeLogger(),this._initCfg(),this._bindEvent()}},{key:"show",value:function(){d()(h()(e.prototype),"show",this).call(this),this._handleShow()}},{key:"overrideConsole",value:function(){var t=this,e=this._origConsole={},n=window.console;return E.forEach(function(i){var r=e[i]=w._13;n[i]&&(r=e[i]=n[i].bind(n)),n[i]=function(){t[i].apply(t,arguments),r.apply(void 0,arguments)}}),this}},{key:"setGlobal",value:function(t,e){this._logger.setGlobal(t,e)}},{key:"restoreConsole",value:function(){var t=this;return this._origConsole?(E.forEach(function(e){return window.console[e]=t._origConsole[e]}),delete this._origConsole,this):this}},{key:"catchGlobalErr",value:function(){return w._33.addListener(this._handleErr),this}},{key:"ignoreGlobalErr",value:function(){return w._33.rmListener(this._handleErr),this}},{key:"destroy",value:function(){this._logger.destroy(),d()(h()(e.prototype),"destroy",this).call(this),this._container.off("show",this._handleShow),this._style&&x.a.remove(this._style),this.ignoreGlobalErr(),this.restoreConsole(),this._unregisterListener(),this._rmCfg()}},{key:"_enableJsExecution",value:function(t){var e=this._$el,n=e.find(".eruda-console-container"),i=e.find(".eruda-js-input");t?(i.show(),n.rmClass("eruda-js-input-hidden")):(i.hide(),n.addClass("eruda-js-input-hidden"))}},{key:"_registerListener",value:function(){var t=this;this._scaleListener=function(e){return t._scale=e},k.a.on(k.a.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){k.a.off(k.a.SCALE,this._scaleListener)}},{key:"_appendTpl",value:function(){var t=this._$el;this._style=Object(x.a)(n(86)),t.append(n(87)());var e=t.find(".eruda-js-input"),i=e.find("textarea"),r=e.find(".eruda-buttons");Object.assign(this,{_$control:t.find(".eruda-control"),_$logs:t.find(".eruda-logs-container"),_$inputContainer:e,_$input:i,_$inputBtns:r,_$searchKeyword:t.find(".eruda-search-keyword")})}},{key:"_initLogger",value:function(){var t=this._$control.find(".eruda-filter");(this._logger=new b.a(this._$logs)).on("filter",function(e){return t.each(function(){var t=Object(w.a)(this);t[t.data("filter")===e?"addClass":"rmClass"]("eruda-active")})})}},{key:"_exposeLogger",value:function(){var t=this,e=this._logger;["filter","html"].concat(E).forEach(function(n){return t[n]=function(){for(var i=arguments.length,r=new Array(i),a=0;at&&(this._logs=e.slice(e.length-t),this.render())}},{key:"displayUnenumerable",value:function(t){f.a.showUnenumerable=t}},{key:"displayGetterVal",value:function(t){f.a.showGetterVal=t}},{key:"lazyEvaluation",value:function(t){f.a.lazyEvaluation=t}},{key:"viewLogInSources",value:function(t){f.a.showSrcInSources=t}},{key:"destroy",value:function(){this._style&&m.a.remove(this._style)}},{key:"filter",value:function(t){return this._filter=t,this.emit("filter",t),this.render()}},{key:"count",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=this._count;return Object(g._3)(e[t])?e[t]=1:e[t]++,this.info("".concat(t,": ").concat(e[t]))}},{key:"countReset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return this._count[t]=0,this}},{key:"assert",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:"default";return this._timer[t]?this.insert("warn",["Timer '".concat(t,"' already exists")]):(this._timer[t]=Object(g._16)(),this)}},{key:"timeLog",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=this._timer[t];return e?this.info("".concat(t,": ").concat(Object(g._16)()-e,"ms")):this.insert("warn",["Timer '".concat(t,"' does not exist")])}},{key:"timeEnd",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return this.timeLog(t),delete this._timer[t],this}},{key:"clear",value:function(){return this.silentClear(),this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"silentClear",value:function(){return this._logs=[],this._displayLogs=[],this._lastLog={},this._count={},this._timer={},this._groupStack=new g.g,this._asyncList=[],this._asyncTimer&&(clearTimeout(this._asyncTimer),this._asyncTimer=null),this.render()}},{key:"info",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&(a.group=r.peek()),Object(g.C)(a,{id:++v,displayHeader:this._displayHeader}),"group"===a.type||"groupCollapsed"===a.type){var o={id:Object(g._34)("group"),collapsed:!1,parent:r.peek(),indentLevel:r.size+1};"groupCollapsed"===a.type&&(o.collapsed=!0),a.targetGroup=o,r.push(o)}var s=new f.a(a);s.on("updateSize",function(){n._isAtBottom=!1,n.renderViewport()});var u=this._lastLog;if(Object(g.o)(["html","group","groupCollapsed"],s.type)||u.type!==s.type||s.src||s.args||u.text()!==s.text()?(i.push(s),this._lastLog=s):(u.addCount(),s.time&&u.updateTime(s.time),s=u,this._detachLog(u)),"infinite"!==this._maxNum&&i.length>this._maxNum){var l=i[0];this._detachLog(l),i.shift()}return this._attachLog(s),this.emit("insert",s),this}},{key:"toggleGroup",value:function(t){t.targetGroup.collapsed?this._openGroup(t):this._collapseGroup(t)}},{key:"_updateTopSpace",value:function(t){this._topSpaceHeight=t,this._topSpace.style.height=t+"px"}},{key:"_updateBottomSpace",value:function(t){this._bottomSpaceHeight=t,this._bottomSpace.style.height=t+"px"}},{key:"_updateLogSize",value:function(t){var e=this._fakeEl;if(!Object(g.S)(this._fakeEl))return t.isAttached()?void t.updateSize():(e.appendChild(t.el),t.updateSize(),void(e.children>100&&(e.innerHTML="")))}},{key:"_detachLog",value:function(t){var e=this._displayLogs,n=e.indexOf(t);n>-1&&(e.splice(n,1),this.renderViewport())}},{key:"_attachLog",value:function(t){if(this._filterLog(t)&&!t.collapsed){var e=this._displayLogs;if(0===e.length)return e.push(t),void this.renderViewport();var n=Object(g._6)(e);if(t.id>n.id)return e.push(t),void this.renderViewport();for(var i,r,a=0,o=e.length-1;a<=o;){if(r=a+Math.floor((o-a)/2),i=e[r],i.id===t.id)return;i.id0&&void 0!==arguments[0]?arguments[0]:20,n=this._asyncList;this._asyncTimer||(this._asyncTimer=setTimeout(function(){t._asyncTimer=null;var e,i,a=!1,o=n.length;o<1e3?(i=200,e=400):o<5e3?(i=500,e=800):o<1e4?(i=800,e=1e3):o<25e3?(i=1e3,e=1200):o<5e4?(i=1500,e=1500):(i=2e3,e=2500),i>o&&(i=o,a=!0);for(var s=0;sscrollTo+i||t.renderViewport(!1)})}},{key:"_renderViewport",value:function(){var t=this._container;if(!Object(g.S)(t)){var e=t.scrollTop,n=t.offsetWidth,i=t.offsetHeight,r=e,a=e+i,o=this._displayLogs;r-=1e3,a+=1e3;var s=0,u=0,l=0;this._el.innerHTML="";for(var c=o.length,_=this._fakeEl,h=document.createDocumentFragment(),p=[],d=0;d0){_.appendChild(h);for(var v=0,b=p.length;va?u+=O:l+O>r?y.appendChild(k):l20&&(a=a.slice(0,20)),Object(M.O)(a)?s(t):(n+="(index) ",a.forEach(function(t){return n+="".concat(t===B?"Value":Object(M._30)(t)," ")}),n+=" ",Object(M.x)(e,function(t,e){n+="".concat(e," "),a.forEach(function(e){Object(M.Y)(t)?n+=e===B?" ":"".concat(r(t[e])," "):Object(M.Z)(t)&&(n+=e===B?"".concat(r(t)," "):" ")}),n+=" "}),n+="
",n+='')):s(t)}function r(t){return Object(M.Y)(t)?t="{\u2026}":Object(M.Z)(t)?I(t):Object(M._30)(t)}function a(t){var e=t.stack?t.stack.split("\n"):[],n="".concat(t.message||e[0],"
");return e=e.filter(function(t){return!U.test(t)}).map(function(t){return Object(M.z)(t)}),n+''.concat(e.slice(1).join("
"),"").replace(H,function(t){return'').concat(t,"")})}function o(t){var e=F.a.getCurTheme();return Object(M.J)(D()(t,{indent_size:2}),"js",{keyword:"color:".concat(e.keywordColor),number:"color:".concat(e.numberColor),operator:"color:".concat(e.operatorColor),comment:"color:".concat(e.commentColor),string:"color:".concat(e.stringColor)})}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.htmlForEl,i=void 0===n||n,r=Object(M._2)(t[0])&&1!==t.length;r&&(t=u(t));for(var a=0,o=t.length;a
'.concat(o(t.toString()),"")}function h(t){return'
'.concat(Object(M.J)(D.a.html(t.outerHTML,{unformatted:[],indent_size:2}),"html"),"")}function p(){for(var t=new Error,e="",n=t.stack?t.stack.split("\n"):"",i=0,r=n.length;i
"+(null!=(a=l(n,"repeat").call(o,null!=(a=null!=e?l(e,"group"):e)?l(a,"indentLevel"):a,{name:"repeat",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?a:"")+"
"},2:function(t,e,n,i,r){var a;return" "},4:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" "+u(s(null!=e?l(e,"time"):e,e))+""+u(s(null!=e?l(e,"from"):e,e))+"
"},compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(a=s(n,"if").call(o,null!=e?s(e,"displayHeader"):e,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?a:"")+"
"+(null!=(a=s(n,"repeat").call(o,null!=(a=null!=e?s(e,"group"):e)?s(a,"indentLevel"):a,{name:"repeat",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?a:"")+" "+(null!=(a=s(n,"if").call(o,null!=e?s(e,"icon"):e,{name:"if",hash:{},fn:t.program(4,r,0),inverse:t.noop,data:r}))?a:"")+"
"},useData:!0})},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._console-container ._logs-container{$oy:auto;$wos:touch;$h:100%;$po:relative;$wc:scroll-position}._console-container ._fake-logs{$po:absolute;$l:0;$t:0;$pe:none;$v:hidden;$w:100%}._console-container ._fake-logs *{$o:hidden;$c:#000;$po:static}._console-container ._logs{$fs:14px;$pt:1px}._console-container ._log-container{$bsi:content-box}._console-container ._header{$ws:nowrap;$d:-webkit-box;$d:flex;$fs:12px;$c:var(--link-color);$bt:1px solid transparent;$bb:1px solid var(--border)}._console-container ._header ._time-container{$ox:auto;$wos:touch;$p:3px 10px}._console-container ._nesting-level{$w:14px;$fsh:0;$mt:-1px;$mb:-1px;$po:relative;$br:1px solid var(--border)}._console-container ._nesting-level._group-closed::before{$co:''}._console-container ._nesting-level::before{$bb:1px solid var(--border);$po:absolute;$t:0;$l:0;$ml:100%;$w:5px;$h:100%;$bsi:border-box}._console-container ._log-item{$po:relative;$d:-webkit-box;$d:flex;$bt:1px solid transparent;$bb:1px solid var(--border);$mt:-1px;$mh:24px;$c:var(--foreground)}._console-container ._log-item:after{$co:'';$d:block;$cl:both}._console-container ._log-item a{$c:var(--link-color)!important}._console-container ._log-item ._icon-container{$pt:2px;$m:0 -6px 0 10px}._console-container ._log-item ._icon-container ._icon{$lh:20px;$fs:12px;$c:var(--foreground);$po:relative}._console-container ._log-item ._icon-container ._icon-caret-down,._console-container ._log-item ._icon-container ._icon-caret-right{$l:-2px}._console-container ._log-item ._icon-container ._icon-error{$c:#ef3842}._console-container ._log-item ._icon-container ._icon-warn{$t:-1px;$c:#e8a400}._console-container ._log-item ._count{$b:var(--text-color);$p:2px 4px;$c:#000;$bra:10px;$fs:12px;$f:left;$m:2px -6px 0 10px}._console-container ._log-item ._log-content-wrapper{-webkit-box-flex:1;$fl:1;$o:hidden}._console-container ._log-item ._log-content{$p:3px 0;$m:0 10px;$ox:auto;$wos:touch;$ws:pre-wrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;$us:text}._console-container ._log-item ._log-content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;$us:text}._console-container ._log-item._html table,._console-container ._log-item._table table{$w:100%;$bc:collapse;$o:hidden;$c:var(--foreground)}._console-container ._log-item._html table th,._console-container ._log-item._table table th{$b:var(--darker-background)}._console-container ._log-item._html table td,._console-container ._log-item._html table th,._console-container ._log-item._table table td,._console-container ._log-item._table table th{$bo:1px solid var(--border);$p:3px 10px}._console-container ._log-item._html table tr:nth-child(even),._console-container ._log-item._table table tr:nth-child(even){$b:var(--contrast)}._console-container ._log-item._error{$z:50;$b:var(--console-error-background);$c:var(--console-error-foreground);$bt:1px solid var(--console-error-border);$bb:1px solid var(--console-error-border)}._console-container ._log-item._error ._stack{$pl:1.2em;$ws:nowrap}._console-container ._log-item._error ._count{$b:var(--console-error-foreground)}._console-container ._log-item._debug{$z:20}._console-container ._log-item._input{border-bottom-color:transparent}._console-container ._log-item._warn{$z:40;$c:var(--console-warn-foreground);$b:var(--console-warn-background);$bt:1px solid var(--console-warn-border);$bb:1px solid var(--console-warn-border)}._console-container ._log-item._warn ._count{$b:#e8a400}._console-container ._log-item._info{$z:30}._console-container ._log-item._group,._console-container ._log-item._groupCollapsed{$fw:700}",""])},function(t,e,n){e=t.exports=n(6)(!1),e.push([t.i,"._container ._console-container{$pt:40px;$pb:24px}._console-container{$w:100%;$h:100%}._console-container._js-input-hidden{$pb:0}._console-container ._control{$po:absolute;$w:100%;$h:40px;$l:0;$t:0;$cu:default;$fs:0;$p:10px 10px 10px 35px;$b:var(--darker-background);$c:var(--primary);$lh:20px;$bb:1px solid var(--border)}._console-container ._control ._icon-clear,._console-container ._control ._icon-search{$d:inline-block;$p:10px;$fs:16px;$po:absolute;$t:1px;$cu:pointer;-webkit-transition:color .3s;$tr:color .3s}._console-container ._control ._icon-clear:active,._console-container ._control ._icon-search:active{$c:var(--accent)}._console-container ._control ._icon-clear{padding-right:0;$l:0}._console-container ._control ._icon-search{right:0}._console-container ._control ._filter{$cu:pointer;$fs:12px;$h:20px;$d:inline-block;$m:0 2px;$p:0 4px;$lh:20px;-webkit-transition:background .3s,color .3s;$tr:background .3s,color .3s}._console-container ._control ._filter._active{$b:var(--highlight);$c:var(--select-foreground)}._console-container ._control ._search-keyword{$po:absolute;$lh:20px;max-width:80px;$o:hidden;right:40px;$fs:14px;text-overflow:ellipsis}._console-container ._js-input{$pe:none;$po:absolute;$z:100;$l:0;bottom:0;$w:100%;$bt:1px solid var(--border);$h:24px}._console-container ._js-input ._icon-arrow-right{$lh:23px;$c:var(--accent);$po:absolute;$l:10px;$t:0;$z:10}._console-container ._js-input._active{$h:100%;$pt:40px;$pb:40px;$bt:none}._console-container ._js-input._active ._icon-arrow-right{$d:none}._console-container ._js-input ._buttons{$d:none;$po:absolute;$l:0;bottom:0;$w:100%;$h:40px;$c:var(--primary);$b:var(--darker-background);$fs:12px;$bt:1px solid var(--border)}._console-container ._js-input ._buttons ._button{$pe:all;$cu:pointer;$w:50%;$d:inline-block;$ta:center;$br:1px solid var(--border);$h:40px;$lh:40px;-webkit-transition:background .3s,color .3s;$tr:background .3s,color .3s}._console-container ._js-input ._buttons ._button:last-child{$br:none}._console-container ._js-input ._buttons ._button:active{$c:var(--select-foreground);$b:var(--highlight)}._console-container ._js-input textarea{$pe:all;$p:3px 10px;$ou:0;$bo:none;$fs:14px;$w:100%;$h:100%;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;$us:text;resize:none;$c:var(--primary);$b:var(--background)}",""])},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return""+(null!=(a=t.lambda(null!=e?s(e,"msg"):e,e))?a:"")+"
All Error Warning Info
Cancel
Execute
Request
"+t.escapeExpression(t.lambda(null!=e?o(e,"data"):e,e))+""},3:function(t,e,n,i,r){var a,o=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" "+(null!=(a=o(n,"each").call(null!=e?e:t.nullContext||{},null!=e?o(e,"reqHeaders"):e,{name:"each",hash:{},fn:t.program(4,r,0),inverse:t.noop,data:r}))?a:"")+" "},4:function(t,e,n,i,r){var a,o=t.lambda,s=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"
"+t.escapeExpression(t.lambda(null!=e?o(e,"resTxt"):e,e))+""},compiler:[8,">= 4.3.0"],main:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"
"+t.escapeExpression(t.lambda(null!=e?s(e,"url"):e,e))+"
"+(null!=(a=s(n,"if").call(o,null!=e?s(e,"data"):e,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?a:"")+" Request Headers
Response Headers
Back to the List
"},useData:!0})},function(t,e,n){var i=n(1);t.exports=(i.default||i).template({1:function(t,e,n,i,r){var a,o=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" "+(null!=(a=o(n,"each").call(null!=e?e:t.nullContext||{},null!=e?o(e,"requests"):e,{name:"each",hash:{},fn:t.program(2,r,0),inverse:t.noop,data:r}))?a:"")+" "},2:function(t,e,n,i,r){var a,o=null!=e?e:t.nullContext||{},s=t.lambda,u=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'